OSDN Git Service

PR libfortran/21185
[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 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-maintainer-mode  enable make rules and dependencies not useful
1005                           (and sometimes confusing) to the casual installer
1006   --enable-multilib       build many library versions (default)
1007   --disable-dependency-tracking  speeds up one-time build
1008   --enable-dependency-tracking   do not reject slow dependency extractors
1009   --enable-shared[=PKGS]
1010                           build shared libraries [default=yes]
1011   --enable-static[=PKGS]
1012                           build static libraries [default=yes]
1013   --enable-fast-install[=PKGS]
1014                           optimize for fast installation [default=yes]
1015   --disable-libtool-lock  avoid locking (might break parallel builds)
1016   --disable-largefile     omit support for large files
1017
1018 Optional Packages:
1019   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1020   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1021   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1022   --with-pic              try to use only PIC/non-PIC objects [default=use
1023                           both]
1024   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1025
1026 Some influential environment variables:
1027   CC          C compiler command
1028   CFLAGS      C compiler flags
1029   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1030               nonstandard directory <lib dir>
1031   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1032               headers in a nonstandard directory <include dir>
1033   CPP         C preprocessor
1034   FC          Fortran compiler command
1035   FCFLAGS     Fortran compiler flags
1036
1037 Use these variables to override the choices made by `configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1039
1040 _ACEOF
1041 fi
1042
1043 if test "$ac_init_help" = "recursive"; then
1044   # If there are subdirs, report their specific --help.
1045   ac_popdir=`pwd`
1046   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047     test -d $ac_dir || continue
1048     ac_builddir=.
1049
1050 if test "$ac_dir" != .; then
1051   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1052   # A "../" for each directory in $ac_dir_suffix.
1053   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1054 else
1055   ac_dir_suffix= ac_top_builddir=
1056 fi
1057
1058 case $srcdir in
1059   .)  # No --srcdir option.  We are building in place.
1060     ac_srcdir=.
1061     if test -z "$ac_top_builddir"; then
1062        ac_top_srcdir=.
1063     else
1064        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1065     fi ;;
1066   [\\/]* | ?:[\\/]* )  # Absolute path.
1067     ac_srcdir=$srcdir$ac_dir_suffix;
1068     ac_top_srcdir=$srcdir ;;
1069   *) # Relative path.
1070     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1072 esac
1073
1074 # Do not use `cd foo && pwd` to compute absolute paths, because
1075 # the directories may not exist.
1076 case `pwd` in
1077 .) ac_abs_builddir="$ac_dir";;
1078 *)
1079   case "$ac_dir" in
1080   .) ac_abs_builddir=`pwd`;;
1081   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1083   esac;;
1084 esac
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1087 *)
1088   case ${ac_top_builddir}. in
1089   .) ac_abs_top_builddir=$ac_abs_builddir;;
1090   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1092   esac;;
1093 esac
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1096 *)
1097   case $ac_srcdir in
1098   .) ac_abs_srcdir=$ac_abs_builddir;;
1099   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1101   esac;;
1102 esac
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1105 *)
1106   case $ac_top_srcdir in
1107   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1110   esac;;
1111 esac
1112
1113     cd $ac_dir
1114     # Check for guested configure; otherwise get Cygnus style configure.
1115     if test -f $ac_srcdir/configure.gnu; then
1116       echo
1117       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1118     elif test -f $ac_srcdir/configure; then
1119       echo
1120       $SHELL $ac_srcdir/configure  --help=recursive
1121     elif test -f $ac_srcdir/configure.ac ||
1122            test -f $ac_srcdir/configure.in; then
1123       echo
1124       $ac_configure --help
1125     else
1126       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1127     fi
1128     cd $ac_popdir
1129   done
1130 fi
1131
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1134   cat <<\_ACEOF
1135 GNU Fortran Runtime Library configure 0.3
1136 generated by GNU Autoconf 2.59
1137
1138 Copyright (C) 2003 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1141 _ACEOF
1142   exit 0
1143 fi
1144 exec 5>config.log
1145 cat >&5 <<_ACEOF
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1148
1149 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1150 generated by GNU Autoconf 2.59.  Invocation command line was
1151
1152   $ $0 $@
1153
1154 _ACEOF
1155 {
1156 cat <<_ASUNAME
1157 ## --------- ##
1158 ## Platform. ##
1159 ## --------- ##
1160
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1169
1170 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1171 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1174 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1175 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1176 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1177
1178 _ASUNAME
1179
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 for as_dir in $PATH
1182 do
1183   IFS=$as_save_IFS
1184   test -z "$as_dir" && as_dir=.
1185   echo "PATH: $as_dir"
1186 done
1187
1188 } >&5
1189
1190 cat >&5 <<_ACEOF
1191
1192
1193 ## ----------- ##
1194 ## Core tests. ##
1195 ## ----------- ##
1196
1197 _ACEOF
1198
1199
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_configure_args=
1206 ac_configure_args0=
1207 ac_configure_args1=
1208 ac_sep=
1209 ac_must_keep_next=false
1210 for ac_pass in 1 2
1211 do
1212   for ac_arg
1213   do
1214     case $ac_arg in
1215     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217     | -silent | --silent | --silen | --sile | --sil)
1218       continue ;;
1219     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221     esac
1222     case $ac_pass in
1223     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224     2)
1225       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226       if test $ac_must_keep_next = true; then
1227         ac_must_keep_next=false # Got value, back to normal.
1228       else
1229         case $ac_arg in
1230           *=* | --config-cache | -C | -disable-* | --disable-* \
1231           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233           | -with-* | --with-* | -without-* | --without-* | --x)
1234             case "$ac_configure_args0 " in
1235               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236             esac
1237             ;;
1238           -* ) ac_must_keep_next=true ;;
1239         esac
1240       fi
1241       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242       # Get rid of the leading space.
1243       ac_sep=" "
1244       ;;
1245     esac
1246   done
1247 done
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log.  We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257   # Save into config.log some information that might help in debugging.
1258   {
1259     echo
1260
1261     cat <<\_ASBOX
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1265 _ASBOX
1266     echo
1267     # The following way of writing the cache mishandles newlines in values,
1268 {
1269   (set) 2>&1 |
1270     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271     *ac_space=\ *)
1272       sed -n \
1273         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275       ;;
1276     *)
1277       sed -n \
1278         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279       ;;
1280     esac;
1281 }
1282     echo
1283
1284     cat <<\_ASBOX
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1288 _ASBOX
1289     echo
1290     for ac_var in $ac_subst_vars
1291     do
1292       eval ac_val=$`echo $ac_var`
1293       echo "$ac_var='"'"'$ac_val'"'"'"
1294     done | sort
1295     echo
1296
1297     if test -n "$ac_subst_files"; then
1298       cat <<\_ASBOX
1299 ## ------------- ##
1300 ## Output files. ##
1301 ## ------------- ##
1302 _ASBOX
1303       echo
1304       for ac_var in $ac_subst_files
1305       do
1306         eval ac_val=$`echo $ac_var`
1307         echo "$ac_var='"'"'$ac_val'"'"'"
1308       done | sort
1309       echo
1310     fi
1311
1312     if test -s confdefs.h; then
1313       cat <<\_ASBOX
1314 ## ----------- ##
1315 ## confdefs.h. ##
1316 ## ----------- ##
1317 _ASBOX
1318       echo
1319       sed "/^$/d" confdefs.h | sort
1320       echo
1321     fi
1322     test "$ac_signal" != 0 &&
1323       echo "$as_me: caught signal $ac_signal"
1324     echo "$as_me: exit $exit_status"
1325   } >&5
1326   rm -f core *.core &&
1327   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328     exit $exit_status
1329      ' 0
1330 for ac_signal in 1 2 13 15; do
1331   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 done
1333 ac_signal=0
1334
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 echo >confdefs.h
1339
1340 # Predefined preprocessor variables.
1341
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 _ACEOF
1345
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 _ACEOF
1365
1366
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370   if test "x$prefix" != xNONE; then
1371     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372   else
1373     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374   fi
1375 fi
1376 for ac_site_file in $CONFIG_SITE; do
1377   if test -r "$ac_site_file"; then
1378     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380     sed 's/^/| /' "$ac_site_file" >&5
1381     . "$ac_site_file"
1382   fi
1383 done
1384
1385 if test -r "$cache_file"; then
1386   # Some versions of bash will fail to source /dev/null (special
1387   # files actually), so we avoid doing that.
1388   if test -f "$cache_file"; then
1389     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1391     case $cache_file in
1392       [\\/]* | ?:[\\/]* ) . $cache_file;;
1393       *)                      . ./$cache_file;;
1394     esac
1395   fi
1396 else
1397   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1399   >$cache_file
1400 fi
1401
1402 # Check that the precious variables saved in the cache have kept the same
1403 # value.
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408   eval ac_new_set=\$ac_env_${ac_var}_set
1409   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410   eval ac_new_val="\$ac_env_${ac_var}_value"
1411   case $ac_old_set,$ac_new_set in
1412     set,)
1413       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415       ac_cache_corrupted=: ;;
1416     ,set)
1417       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419       ac_cache_corrupted=: ;;
1420     ,);;
1421     *)
1422       if test "x$ac_old_val" != "x$ac_new_val"; then
1423         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1426 echo "$as_me:   former value:  $ac_old_val" >&2;}
1427         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1428 echo "$as_me:   current value: $ac_new_val" >&2;}
1429         ac_cache_corrupted=:
1430       fi;;
1431   esac
1432   # Pass precious variables to config.status.
1433   if test "$ac_new_set" = set; then
1434     case $ac_new_val in
1435     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437     *) ac_arg=$ac_var=$ac_new_val ;;
1438     esac
1439     case " $ac_configure_args " in
1440       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1441       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442     esac
1443   fi
1444 done
1445 if $ac_cache_corrupted; then
1446   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450    { (exit 1); exit 1; }; }
1451 fi
1452
1453 ac_ext=c
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458
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           ac_config_headers="$ac_config_headers config.h"
1486
1487 ac_aux_dir=
1488 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1489   if test -f $ac_dir/install-sh; then
1490     ac_aux_dir=$ac_dir
1491     ac_install_sh="$ac_aux_dir/install-sh -c"
1492     break
1493   elif test -f $ac_dir/install.sh; then
1494     ac_aux_dir=$ac_dir
1495     ac_install_sh="$ac_aux_dir/install.sh -c"
1496     break
1497   elif test -f $ac_dir/shtool; then
1498     ac_aux_dir=$ac_dir
1499     ac_install_sh="$ac_aux_dir/shtool install -c"
1500     break
1501   fi
1502 done
1503 if test -z "$ac_aux_dir"; then
1504   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506    { (exit 1); exit 1; }; }
1507 fi
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1511
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4 >/dev/null 2>&1 ||
1514   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516    { (exit 1); exit 1; }; }
1517
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521   echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523   ac_cv_build_alias=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525   ac_cv_build_alias=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529    { (exit 1); exit 1; }; }
1530 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1531   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533    { (exit 1); exit 1; }; }
1534
1535 fi
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1538 build=$ac_cv_build
1539 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1542
1543
1544  case ${build_alias} in
1545   "") build_noncanonical=${build} ;;
1546   *) build_noncanonical=${build_alias} ;;
1547 esac
1548
1549  case ${host_alias} in
1550   "") host_noncanonical=${build_noncanonical} ;;
1551   *) host_noncanonical=${host_alias} ;;
1552 esac
1553
1554  case ${target_alias} in
1555   "") target_noncanonical=${host_noncanonical} ;;
1556   *) target_noncanonical=${target_alias} ;;
1557 esac
1558
1559
1560 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1561 # have matching libraries, they should use host libraries: Makefile.tpl
1562 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1563 # However, they still use the build modules, because the corresponding
1564 # host modules (e.g. bison) are only built for the host when bootstrap
1565 # finishes. So:
1566 # - build_subdir is where we find build modules, and never changes.
1567 # - build_libsubdir is where we find build libraries, and can be overridden.
1568
1569 # Prefix 'build-' so this never conflicts with target_subdir.
1570 build_subdir="build-${build_noncanonical}"
1571
1572 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1573 if test "${with_build_libsubdir+set}" = set; then
1574   withval="$with_build_libsubdir"
1575   build_libsubdir="$withval"
1576 else
1577   build_libsubdir="$build_subdir"
1578 fi;
1579 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1580 if ( test $srcdir = . && test -d gcc ) \
1581    || test -d $srcdir/../host-${host_noncanonical}; then
1582   host_subdir="host-${host_noncanonical}"
1583 else
1584   host_subdir=.
1585 fi
1586 # No prefix.
1587 target_subdir=${target_noncanonical}
1588
1589
1590 # -------
1591 # Options
1592 # -------
1593
1594 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1595 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1596 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1597 if test "${enable_version_specific_runtime_libs+set}" = set; then
1598   enableval="$enable_version_specific_runtime_libs"
1599   case "$enableval" in
1600  yes) version_specific_libs=yes ;;
1601  no)  version_specific_libs=no ;;
1602  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1603 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1604    { (exit 1); exit 1; }; };;
1605  esac
1606 else
1607   version_specific_libs=no
1608 fi;
1609 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1610 echo "${ECHO_T}$version_specific_libs" >&6
1611
1612
1613 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1614 #
1615 # You will slowly go insane if you do not grok the following fact:  when
1616 # building this library, the top-level /target/ becomes the library's /host/.
1617 #
1618 # configure then causes --target to default to --host, exactly like any
1619 # other package using autoconf.  Therefore, 'target' and 'host' will
1620 # always be the same.  This makes sense both for native and cross compilers
1621 # just think about it for a little while.  :-)
1622 #
1623 # Also, if this library is being configured as part of a cross compiler, the
1624 # top-level configure script will pass the "real" host as $with_cross_host.
1625 #
1626 # Do not delete or change the following two lines.  For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 echo "$as_me:$LINENO: checking host system type" >&5
1629 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1630 if test "${ac_cv_host+set}" = set; then
1631   echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633   ac_cv_host_alias=$host_alias
1634 test -z "$ac_cv_host_alias" &&
1635   ac_cv_host_alias=$ac_cv_build_alias
1636 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1637   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1639    { (exit 1); exit 1; }; }
1640
1641 fi
1642 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1643 echo "${ECHO_T}$ac_cv_host" >&6
1644 host=$ac_cv_host
1645 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648
1649
1650 echo "$as_me:$LINENO: checking target system type" >&5
1651 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1652 if test "${ac_cv_target+set}" = set; then
1653   echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655   ac_cv_target_alias=$target_alias
1656 test "x$ac_cv_target_alias" = "x" &&
1657   ac_cv_target_alias=$ac_cv_host_alias
1658 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1659   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1660 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1661    { (exit 1); exit 1; }; }
1662
1663 fi
1664 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1665 echo "${ECHO_T}$ac_cv_target" >&6
1666 target=$ac_cv_target
1667 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1668 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1669 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1670
1671
1672 # The aliases save the names the user supplied, while $host etc.
1673 # will get canonicalized.
1674 test -n "$target_alias" &&
1675   test "$program_prefix$program_suffix$program_transform_name" = \
1676     NONENONEs,x,x, &&
1677   program_prefix=${target_alias}-
1678 target_alias=${target_alias-$host_alias}
1679
1680 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1681 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1682 #  1.9.6:  minimum required version
1683 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1684 #              of other PACKAGE_* variables will, however, and there's nothing
1685 #              we can do about that; they come from AC_INIT).
1686 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1687 #            file in the top srcdir, etc, etc), so stop complaining.
1688 #  -Wall:  turns on all automake warnings...
1689 #  -Wno-portability:  ...except this one, since GNU make is required.
1690 am__api_version="1.9"
1691 # Find a good install program.  We prefer a C program (faster),
1692 # so one script is as good as another.  But avoid the broken or
1693 # incompatible versions:
1694 # SysV /etc/install, /usr/sbin/install
1695 # SunOS /usr/etc/install
1696 # IRIX /sbin/install
1697 # AIX /bin/install
1698 # AmigaOS /C/install, which installs bootblocks on floppy discs
1699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1702 # OS/2's system install, which has a completely different semantic
1703 # ./install, which can be erroneously created by make from ./install.sh.
1704 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1705 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1706 if test -z "$INSTALL"; then
1707 if test "${ac_cv_path_install+set}" = set; then
1708   echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1712 do
1713   IFS=$as_save_IFS
1714   test -z "$as_dir" && as_dir=.
1715   # Account for people who put trailing slashes in PATH elements.
1716 case $as_dir/ in
1717   ./ | .// | /cC/* | \
1718   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1719   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1720   /usr/ucb/* ) ;;
1721   *)
1722     # OSF1 and SCO ODT 3.0 have their own names for install.
1723     # Don't use installbsd from OSF since it installs stuff as root
1724     # by default.
1725     for ac_prog in ginstall scoinst install; do
1726       for ac_exec_ext in '' $ac_executable_extensions; do
1727         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1728           if test $ac_prog = install &&
1729             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730             # AIX install.  It has an incompatible calling convention.
1731             :
1732           elif test $ac_prog = install &&
1733             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734             # program-specific install script used by HP pwplus--don't use.
1735             :
1736           else
1737             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738             break 3
1739           fi
1740         fi
1741       done
1742     done
1743     ;;
1744 esac
1745 done
1746
1747
1748 fi
1749   if test "${ac_cv_path_install+set}" = set; then
1750     INSTALL=$ac_cv_path_install
1751   else
1752     # As a last resort, use the slow shell script.  We don't cache a
1753     # path for INSTALL within a source directory, because that will
1754     # break other packages using the cache if that directory is
1755     # removed, or if the path is relative.
1756     INSTALL=$ac_install_sh
1757   fi
1758 fi
1759 echo "$as_me:$LINENO: result: $INSTALL" >&5
1760 echo "${ECHO_T}$INSTALL" >&6
1761
1762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1763 # It thinks the first close brace ends the variable substitution.
1764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1765
1766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1767
1768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1769
1770 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1771 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1772 # Just in case
1773 sleep 1
1774 echo timestamp > conftest.file
1775 # Do `set' in a subshell so we don't clobber the current shell's
1776 # arguments.  Must try -L first in case configure is actually a
1777 # symlink; some systems play weird games with the mod time of symlinks
1778 # (eg FreeBSD returns the mod time of the symlink's containing
1779 # directory).
1780 if (
1781    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1782    if test "$*" = "X"; then
1783       # -L didn't work.
1784       set X `ls -t $srcdir/configure conftest.file`
1785    fi
1786    rm -f conftest.file
1787    if test "$*" != "X $srcdir/configure conftest.file" \
1788       && test "$*" != "X conftest.file $srcdir/configure"; then
1789
1790       # If neither matched, then we have a broken ls.  This can happen
1791       # if, for instance, CONFIG_SHELL is bash and it inherits a
1792       # broken ls alias from the environment.  This has actually
1793       # happened.  Such a system could not be considered "sane".
1794       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1795 alias in your environment" >&5
1796 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1797 alias in your environment" >&2;}
1798    { (exit 1); exit 1; }; }
1799    fi
1800
1801    test "$2" = conftest.file
1802    )
1803 then
1804    # Ok.
1805    :
1806 else
1807    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1808 Check your system clock" >&5
1809 echo "$as_me: error: newly created file is older than distributed files!
1810 Check your system clock" >&2;}
1811    { (exit 1); exit 1; }; }
1812 fi
1813 echo "$as_me:$LINENO: result: yes" >&5
1814 echo "${ECHO_T}yes" >&6
1815 test "$program_prefix" != NONE &&
1816   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1817 # Use a double $ so make ignores it.
1818 test "$program_suffix" != NONE &&
1819   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1820 # Double any \ or $.  echo might interpret backslashes.
1821 # By default was `s,x,x', remove it if useless.
1822 cat <<\_ACEOF >conftest.sed
1823 s/[\\$]/&&/g;s/;s,x,x,$//
1824 _ACEOF
1825 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1826 rm conftest.sed
1827
1828 # expand $ac_aux_dir to an absolute path
1829 am_aux_dir=`cd $ac_aux_dir && pwd`
1830
1831 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1832 # Use eval to expand $SHELL
1833 if eval "$MISSING --run true"; then
1834   am_missing_run="$MISSING --run "
1835 else
1836   am_missing_run=
1837   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1838 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1839 fi
1840
1841 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1842   # We used to keeping the `.' as first argument, in order to
1843   # allow $(mkdir_p) to be used without argument.  As in
1844   #   $(mkdir_p) $(somedir)
1845   # where $(somedir) is conditionally defined.  However this is wrong
1846   # for two reasons:
1847   #  1. if the package is installed by a user who cannot write `.'
1848   #     make install will fail,
1849   #  2. the above comment should most certainly read
1850   #     $(mkdir_p) $(DESTDIR)$(somedir)
1851   #     so it does not work when $(somedir) is undefined and
1852   #     $(DESTDIR) is not.
1853   #  To support the latter case, we have to write
1854   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1855   #  so the `.' trick is pointless.
1856   mkdir_p='mkdir -p --'
1857 else
1858   # On NextStep and OpenStep, the `mkdir' command does not
1859   # recognize any option.  It will interpret all options as
1860   # directories to create, and then abort because `.' already
1861   # exists.
1862   for d in ./-p ./--version;
1863   do
1864     test -d $d && rmdir $d
1865   done
1866   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1867   if test -f "$ac_aux_dir/mkinstalldirs"; then
1868     mkdir_p='$(mkinstalldirs)'
1869   else
1870     mkdir_p='$(install_sh) -d'
1871   fi
1872 fi
1873
1874 for ac_prog in gawk mawk nawk awk
1875 do
1876   # Extract the first word of "$ac_prog", so it can be a program name with args.
1877 set dummy $ac_prog; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_AWK+set}" = set; then
1881   echo $ECHO_N "(cached) $ECHO_C" >&6
1882 else
1883   if test -n "$AWK"; then
1884   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1888 do
1889   IFS=$as_save_IFS
1890   test -z "$as_dir" && as_dir=.
1891   for ac_exec_ext in '' $ac_executable_extensions; do
1892   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893     ac_cv_prog_AWK="$ac_prog"
1894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895     break 2
1896   fi
1897 done
1898 done
1899
1900 fi
1901 fi
1902 AWK=$ac_cv_prog_AWK
1903 if test -n "$AWK"; then
1904   echo "$as_me:$LINENO: result: $AWK" >&5
1905 echo "${ECHO_T}$AWK" >&6
1906 else
1907   echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1909 fi
1910
1911   test -n "$AWK" && break
1912 done
1913
1914 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1915 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1916 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1917 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1918   echo $ECHO_N "(cached) $ECHO_C" >&6
1919 else
1920   cat >conftest.make <<\_ACEOF
1921 all:
1922         @echo 'ac_maketemp="$(MAKE)"'
1923 _ACEOF
1924 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1925 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1926 if test -n "$ac_maketemp"; then
1927   eval ac_cv_prog_make_${ac_make}_set=yes
1928 else
1929   eval ac_cv_prog_make_${ac_make}_set=no
1930 fi
1931 rm -f conftest.make
1932 fi
1933 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1934   echo "$as_me:$LINENO: result: yes" >&5
1935 echo "${ECHO_T}yes" >&6
1936   SET_MAKE=
1937 else
1938   echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1940   SET_MAKE="MAKE=${MAKE-make}"
1941 fi
1942
1943 rm -rf .tst 2>/dev/null
1944 mkdir .tst 2>/dev/null
1945 if test -d .tst; then
1946   am__leading_dot=.
1947 else
1948   am__leading_dot=_
1949 fi
1950 rmdir .tst 2>/dev/null
1951
1952 # test to see if srcdir already configured
1953 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1954    test -f $srcdir/config.status; then
1955   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1956 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1957    { (exit 1); exit 1; }; }
1958 fi
1959
1960 # test whether we have cygpath
1961 if test -z "$CYGPATH_W"; then
1962   if (cygpath --version) >/dev/null 2>/dev/null; then
1963     CYGPATH_W='cygpath -w'
1964   else
1965     CYGPATH_W=echo
1966   fi
1967 fi
1968
1969
1970 # Define the identity of the package.
1971  PACKAGE='libgfortran'
1972  VERSION='0.3'
1973
1974
1975 # Some tools Automake needs.
1976
1977 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1978
1979
1980 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1981
1982
1983 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1984
1985
1986 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1987
1988
1989 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1990
1991 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1992
1993 # Installed binaries are usually stripped using `strip' when the user
1994 # run `make install-strip'.  However `strip' might not be the right
1995 # tool to use in cross-compilation environments, therefore Automake
1996 # will honor the `STRIP' environment variable to overrule this program.
1997 if test "$cross_compiling" != no; then
1998   if test -n "$ac_tool_prefix"; then
1999   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}strip; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_STRIP+set}" = set; then
2004   echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006   if test -n "$STRIP"; then
2007   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012   IFS=$as_save_IFS
2013   test -z "$as_dir" && as_dir=.
2014   for ac_exec_ext in '' $ac_executable_extensions; do
2015   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2017     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018     break 2
2019   fi
2020 done
2021 done
2022
2023 fi
2024 fi
2025 STRIP=$ac_cv_prog_STRIP
2026 if test -n "$STRIP"; then
2027   echo "$as_me:$LINENO: result: $STRIP" >&5
2028 echo "${ECHO_T}$STRIP" >&6
2029 else
2030   echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2032 fi
2033
2034 fi
2035 if test -z "$ac_cv_prog_STRIP"; then
2036   ac_ct_STRIP=$STRIP
2037   # Extract the first word of "strip", so it can be a program name with args.
2038 set dummy strip; ac_word=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2042   echo $ECHO_N "(cached) $ECHO_C" >&6
2043 else
2044   if test -n "$ac_ct_STRIP"; then
2045   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2046 else
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050   IFS=$as_save_IFS
2051   test -z "$as_dir" && as_dir=.
2052   for ac_exec_ext in '' $ac_executable_extensions; do
2053   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054     ac_cv_prog_ac_ct_STRIP="strip"
2055     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056     break 2
2057   fi
2058 done
2059 done
2060
2061   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2062 fi
2063 fi
2064 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2065 if test -n "$ac_ct_STRIP"; then
2066   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2067 echo "${ECHO_T}$ac_ct_STRIP" >&6
2068 else
2069   echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073   STRIP=$ac_ct_STRIP
2074 else
2075   STRIP="$ac_cv_prog_STRIP"
2076 fi
2077
2078 fi
2079 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2080
2081 # We need awk for the "check" target.  The system "awk" is bad on
2082 # some platforms.
2083 # Always define AMTAR for backward compatibility.
2084
2085 AMTAR=${AMTAR-"${am_missing_run}tar"}
2086
2087 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2088
2089
2090
2091
2092
2093
2094 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2095 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2096     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2097 if test "${enable_maintainer_mode+set}" = set; then
2098   enableval="$enable_maintainer_mode"
2099   USE_MAINTAINER_MODE=$enableval
2100 else
2101   USE_MAINTAINER_MODE=no
2102 fi;
2103   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2104 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2105
2106
2107 if test $USE_MAINTAINER_MODE = yes; then
2108   MAINTAINER_MODE_TRUE=
2109   MAINTAINER_MODE_FALSE='#'
2110 else
2111   MAINTAINER_MODE_TRUE='#'
2112   MAINTAINER_MODE_FALSE=
2113 fi
2114
2115   MAINT=$MAINTAINER_MODE_TRUE
2116
2117
2118 # Default to --enable-multilib
2119 # Check whether --enable-multilib or --disable-multilib was given.
2120 if test "${enable_multilib+set}" = set; then
2121   enableval="$enable_multilib"
2122   case "$enableval" in
2123   yes) multilib=yes ;;
2124   no)  multilib=no ;;
2125   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2126 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2127    { (exit 1); exit 1; }; } ;;
2128  esac
2129 else
2130   multilib=yes
2131 fi;
2132
2133 # We may get other options which we leave undocumented:
2134 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2135 # See config-ml.in if you want the gory details.
2136
2137 if test "$srcdir" = "."; then
2138   if test "$with_target_subdir" != "."; then
2139     multi_basedir="$srcdir/$with_multisrctop../.."
2140   else
2141     multi_basedir="$srcdir/$with_multisrctop.."
2142   fi
2143 else
2144   multi_basedir="$srcdir/.."
2145 fi
2146
2147
2148 # Even if the default multilib is not a cross compilation,
2149 # it may be that some of the other multilibs are.
2150 if test $cross_compiling = no && test $multilib = yes \
2151    && test "x${with_multisubdir}" != x ; then
2152    cross_compiling=maybe
2153 fi
2154
2155           ac_config_commands="$ac_config_commands default-1"
2156
2157
2158 # Handy for debugging:
2159 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2160
2161 # Are we being configured with some form of cross compiler?
2162 # NB: We don't actually need to know this just now, but when, say, a test
2163 #     suite is included, we'll have to know.
2164 if test "$build" != "$host"; then
2165   LIBGFOR_IS_NATIVE=false
2166
2167 else
2168   LIBGFOR_IS_NATIVE=true
2169 fi
2170
2171 # Calculate toolexeclibdir
2172 # Also toolexecdir, though it's only used in toolexeclibdir
2173 case ${version_specific_libs} in
2174   yes)
2175     # Need the gcc compiler version to know where to install libraries
2176     # and header files if --enable-version-specific-runtime-libs option
2177     # is selected.
2178     toolexecdir='$(libdir)/gcc/$(target_alias)'
2179     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2180     ;;
2181   no)
2182     if test -n "$with_cross_host" &&
2183        test x"$with_cross_host" != x"no"; then
2184       # Install a library built with a cross compiler in tooldir, not libdir.
2185       toolexecdir='$(exec_prefix)/$(target_alias)'
2186       toolexeclibdir='$(toolexecdir)/lib'
2187     else
2188       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2189       toolexeclibdir='$(libdir)'
2190     fi
2191     multi_os_directory=`$CC -print-multi-os-directory`
2192     case $multi_os_directory in
2193       .) ;; # Avoid trailing /.
2194       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2195     esac
2196     ;;
2197 esac
2198
2199
2200
2201 # Check the compiler.
2202 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2203 # We must force CC to /not/ be precious variables; otherwise
2204 # the wrong, non-multilib-adjusted value will be used in multilibs.
2205 # As a side effect, we have to subst CFLAGS ourselves.
2206
2207
2208
2209 ac_ext=c
2210 ac_cpp='$CPP $CPPFLAGS'
2211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2216 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220   echo $ECHO_N "(cached) $ECHO_C" >&6
2221 else
2222   if test -n "$CC"; then
2223   ac_cv_prog_CC="$CC" # Let the user override the test.
2224 else
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2227 do
2228   IFS=$as_save_IFS
2229   test -z "$as_dir" && as_dir=.
2230   for ac_exec_ext in '' $ac_executable_extensions; do
2231   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2233     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234     break 2
2235   fi
2236 done
2237 done
2238
2239 fi
2240 fi
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243   echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246   echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2248 fi
2249
2250 fi
2251 if test -z "$ac_cv_prog_CC"; then
2252   ac_ct_CC=$CC
2253   # Extract the first word of "gcc", so it can be a program name with args.
2254 set dummy gcc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258   echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260   if test -n "$ac_ct_CC"; then
2261   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 else
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 for as_dir in $PATH
2265 do
2266   IFS=$as_save_IFS
2267   test -z "$as_dir" && as_dir=.
2268   for ac_exec_ext in '' $ac_executable_extensions; do
2269   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270     ac_cv_prog_ac_ct_CC="gcc"
2271     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272     break 2
2273   fi
2274 done
2275 done
2276
2277 fi
2278 fi
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 echo "${ECHO_T}$ac_ct_CC" >&6
2283 else
2284   echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2286 fi
2287
2288   CC=$ac_ct_CC
2289 else
2290   CC="$ac_cv_prog_CC"
2291 fi
2292
2293 if test -z "$CC"; then
2294   if test -n "$ac_tool_prefix"; then
2295   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300   echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else
2302   if test -n "$CC"; then
2303   ac_cv_prog_CC="$CC" # Let the user override the test.
2304 else
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2307 do
2308   IFS=$as_save_IFS
2309   test -z "$as_dir" && as_dir=.
2310   for ac_exec_ext in '' $ac_executable_extensions; do
2311   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312     ac_cv_prog_CC="${ac_tool_prefix}cc"
2313     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314     break 2
2315   fi
2316 done
2317 done
2318
2319 fi
2320 fi
2321 CC=$ac_cv_prog_CC
2322 if test -n "$CC"; then
2323   echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2325 else
2326   echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2328 fi
2329
2330 fi
2331 if test -z "$ac_cv_prog_CC"; then
2332   ac_ct_CC=$CC
2333   # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338   echo $ECHO_N "(cached) $ECHO_C" >&6
2339 else
2340   if test -n "$ac_ct_CC"; then
2341   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2342 else
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH
2345 do
2346   IFS=$as_save_IFS
2347   test -z "$as_dir" && as_dir=.
2348   for ac_exec_ext in '' $ac_executable_extensions; do
2349   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350     ac_cv_prog_ac_ct_CC="cc"
2351     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352     break 2
2353   fi
2354 done
2355 done
2356
2357 fi
2358 fi
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6
2363 else
2364   echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2366 fi
2367
2368   CC=$ac_ct_CC
2369 else
2370   CC="$ac_cv_prog_CC"
2371 fi
2372
2373 fi
2374 if test -z "$CC"; then
2375   # Extract the first word of "cc", so it can be a program name with args.
2376 set dummy cc; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380   echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382   if test -n "$CC"; then
2383   ac_cv_prog_CC="$CC" # Let the user override the test.
2384 else
2385   ac_prog_rejected=no
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH
2388 do
2389   IFS=$as_save_IFS
2390   test -z "$as_dir" && as_dir=.
2391   for ac_exec_ext in '' $ac_executable_extensions; do
2392   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2394        ac_prog_rejected=yes
2395        continue
2396      fi
2397     ac_cv_prog_CC="cc"
2398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399     break 2
2400   fi
2401 done
2402 done
2403
2404 if test $ac_prog_rejected = yes; then
2405   # We found a bogon in the path, so make sure we never use it.
2406   set dummy $ac_cv_prog_CC
2407   shift
2408   if test $# != 0; then
2409     # We chose a different compiler from the bogus one.
2410     # However, it has the same basename, so the bogon will be chosen
2411     # first if we set CC to just the basename; use the full file name.
2412     shift
2413     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2414   fi
2415 fi
2416 fi
2417 fi
2418 CC=$ac_cv_prog_CC
2419 if test -n "$CC"; then
2420   echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2422 else
2423   echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2425 fi
2426
2427 fi
2428 if test -z "$CC"; then
2429   if test -n "$ac_tool_prefix"; then
2430   for ac_prog in cl
2431   do
2432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437   echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439   if test -n "$CC"; then
2440   ac_cv_prog_CC="$CC" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445   IFS=$as_save_IFS
2446   test -z "$as_dir" && as_dir=.
2447   for ac_exec_ext in '' $ac_executable_extensions; do
2448   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451     break 2
2452   fi
2453 done
2454 done
2455
2456 fi
2457 fi
2458 CC=$ac_cv_prog_CC
2459 if test -n "$CC"; then
2460   echo "$as_me:$LINENO: result: $CC" >&5
2461 echo "${ECHO_T}$CC" >&6
2462 else
2463   echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2465 fi
2466
2467     test -n "$CC" && break
2468   done
2469 fi
2470 if test -z "$CC"; then
2471   ac_ct_CC=$CC
2472   for ac_prog in cl
2473 do
2474   # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479   echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481   if test -n "$ac_ct_CC"; then
2482   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2486 do
2487   IFS=$as_save_IFS
2488   test -z "$as_dir" && as_dir=.
2489   for ac_exec_ext in '' $ac_executable_extensions; do
2490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491     ac_cv_prog_ac_ct_CC="$ac_prog"
2492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493     break 2
2494   fi
2495 done
2496 done
2497
2498 fi
2499 fi
2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6
2504 else
2505   echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2507 fi
2508
2509   test -n "$ac_ct_CC" && break
2510 done
2511
2512   CC=$ac_ct_CC
2513 fi
2514
2515 fi
2516
2517
2518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&2;}
2522    { (exit 1); exit 1; }; }
2523
2524 # Provide some information about the compiler.
2525 echo "$as_me:$LINENO:" \
2526      "checking for C compiler version" >&5
2527 ac_compiler=`set X $ac_compile; echo $2`
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2529   (eval $ac_compiler --version </dev/null >&5) 2>&5
2530   ac_status=$?
2531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532   (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2534   (eval $ac_compiler -v </dev/null >&5) 2>&5
2535   ac_status=$?
2536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537   (exit $ac_status); }
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2539   (eval $ac_compiler -V </dev/null >&5) 2>&5
2540   ac_status=$?
2541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542   (exit $ac_status); }
2543
2544 cat >conftest.$ac_ext <<_ACEOF
2545 /* confdefs.h.  */
2546 _ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h.  */
2550
2551 int
2552 main ()
2553 {
2554
2555   ;
2556   return 0;
2557 }
2558 _ACEOF
2559 # FIXME: Cleanup?
2560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2561   (eval $ac_link) 2>&5
2562   ac_status=$?
2563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564   (exit $ac_status); }; then
2565   gcc_no_link=no
2566 else
2567   gcc_no_link=yes
2568 fi
2569
2570 if test x$gcc_no_link = xyes; then
2571   # Setting cross_compile will disable run tests; it will
2572   # also disable AC_CHECK_FILE but that's generally
2573   # correct if we can't link.
2574   cross_compiling=yes
2575   EXEEXT=
2576 else
2577   cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h.  */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h.  */
2583
2584 int
2585 main ()
2586 {
2587
2588   ;
2589   return 0;
2590 }
2591 _ACEOF
2592 ac_clean_files_save=$ac_clean_files
2593 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2594 # Try to create an executable without -o first, disregard a.out.
2595 # It will help us diagnose broken compilers, and finding out an intuition
2596 # of exeext.
2597 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2598 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2599 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2601   (eval $ac_link_default) 2>&5
2602   ac_status=$?
2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604   (exit $ac_status); }; then
2605   # Find the output, starting from the most likely.  This scheme is
2606 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2607 # resort.
2608
2609 # Be careful to initialize this variable, since it used to be cached.
2610 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2611 ac_cv_exeext=
2612 # b.out is created by i960 compilers.
2613 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2614 do
2615   test -f "$ac_file" || continue
2616   case $ac_file in
2617     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2618         ;;
2619     conftest.$ac_ext )
2620         # This is the source file.
2621         ;;
2622     [ab].out )
2623         # We found the default executable, but exeext='' is most
2624         # certainly right.
2625         break;;
2626     *.* )
2627         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2628         # FIXME: I believe we export ac_cv_exeext for Libtool,
2629         # but it would be cool to find out if it's true.  Does anybody
2630         # maintain Libtool? --akim.
2631         export ac_cv_exeext
2632         break;;
2633     * )
2634         break;;
2635   esac
2636 done
2637 else
2638   echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2640
2641 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: C compiler cannot create executables
2644 See \`config.log' for more details." >&2;}
2645    { (exit 77); exit 77; }; }
2646 fi
2647
2648 ac_exeext=$ac_cv_exeext
2649 echo "$as_me:$LINENO: result: $ac_file" >&5
2650 echo "${ECHO_T}$ac_file" >&6
2651
2652 # Check the compiler produces executables we can run.  If not, either
2653 # the compiler is broken, or we cross compile.
2654 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2655 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2656 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2657 # If not cross compiling, check that we can run a simple program.
2658 if test "$cross_compiling" != yes; then
2659   if { ac_try='./$ac_file'
2660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661   (eval $ac_try) 2>&5
2662   ac_status=$?
2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664   (exit $ac_status); }; }; then
2665     cross_compiling=no
2666   else
2667     if test "$cross_compiling" = maybe; then
2668         cross_compiling=yes
2669     else
2670         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2671 If you meant to cross compile, use \`--host'.
2672 See \`config.log' for more details." >&5
2673 echo "$as_me: error: cannot run C compiled programs.
2674 If you meant to cross compile, use \`--host'.
2675 See \`config.log' for more details." >&2;}
2676    { (exit 1); exit 1; }; }
2677     fi
2678   fi
2679 fi
2680 echo "$as_me:$LINENO: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2682
2683 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2684 ac_clean_files=$ac_clean_files_save
2685 # Check the compiler produces executables we can run.  If not, either
2686 # the compiler is broken, or we cross compile.
2687 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2688 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2689 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2690 echo "${ECHO_T}$cross_compiling" >&6
2691
2692 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2693 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2695   (eval $ac_link) 2>&5
2696   ac_status=$?
2697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698   (exit $ac_status); }; then
2699   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2700 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2701 # work properly (i.e., refer to `conftest.exe'), while it won't with
2702 # `rm'.
2703 for ac_file in conftest.exe conftest conftest.*; do
2704   test -f "$ac_file" || continue
2705   case $ac_file in
2706     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2707     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708           export ac_cv_exeext
2709           break;;
2710     * ) break;;
2711   esac
2712 done
2713 else
2714   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." >&2;}
2718    { (exit 1); exit 1; }; }
2719 fi
2720
2721 rm -f conftest$ac_cv_exeext
2722 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2723 echo "${ECHO_T}$ac_cv_exeext" >&6
2724
2725 rm -f conftest.$ac_ext
2726 EXEEXT=$ac_cv_exeext
2727 ac_exeext=$EXEEXT
2728 fi
2729 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2730 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2731 if test "${ac_cv_objext+set}" = set; then
2732   echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734   cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h.  */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h.  */
2740
2741 int
2742 main ()
2743 {
2744
2745   ;
2746   return 0;
2747 }
2748 _ACEOF
2749 rm -f conftest.o conftest.obj
2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751   (eval $ac_compile) 2>&5
2752   ac_status=$?
2753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754   (exit $ac_status); }; then
2755   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2756   case $ac_file in
2757     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2758     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2759        break;;
2760   esac
2761 done
2762 else
2763   echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2765
2766 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2767 See \`config.log' for more details." >&5
2768 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." >&2;}
2770    { (exit 1); exit 1; }; }
2771 fi
2772
2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2774 fi
2775 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2776 echo "${ECHO_T}$ac_cv_objext" >&6
2777 OBJEXT=$ac_cv_objext
2778 ac_objext=$OBJEXT
2779 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2782   echo $ECHO_N "(cached) $ECHO_C" >&6
2783 else
2784   cat >conftest.$ac_ext <<_ACEOF
2785 /* confdefs.h.  */
2786 _ACEOF
2787 cat confdefs.h >>conftest.$ac_ext
2788 cat >>conftest.$ac_ext <<_ACEOF
2789 /* end confdefs.h.  */
2790
2791 int
2792 main ()
2793 {
2794 #ifndef __GNUC__
2795        choke me
2796 #endif
2797
2798   ;
2799   return 0;
2800 }
2801 _ACEOF
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804   (eval $ac_compile) 2>conftest.er1
2805   ac_status=$?
2806   grep -v '^ *+' conftest.er1 >conftest.err
2807   rm -f conftest.er1
2808   cat conftest.err >&5
2809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810   (exit $ac_status); } &&
2811          { ac_try='test -z "$ac_c_werror_flag"
2812                          || test ! -s conftest.err'
2813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814   (eval $ac_try) 2>&5
2815   ac_status=$?
2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817   (exit $ac_status); }; } &&
2818          { ac_try='test -s conftest.$ac_objext'
2819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820   (eval $ac_try) 2>&5
2821   ac_status=$?
2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823   (exit $ac_status); }; }; then
2824   ac_compiler_gnu=yes
2825 else
2826   echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2828
2829 ac_compiler_gnu=no
2830 fi
2831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2833
2834 fi
2835 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2837 GCC=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS
2840 CFLAGS="-g"
2841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cc_g+set}" = set; then
2844   echo $ECHO_N "(cached) $ECHO_C" >&6
2845 else
2846   cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h.  */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h.  */
2852
2853 int
2854 main ()
2855 {
2856
2857   ;
2858   return 0;
2859 }
2860 _ACEOF
2861 rm -f conftest.$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863   (eval $ac_compile) 2>conftest.er1
2864   ac_status=$?
2865   grep -v '^ *+' conftest.er1 >conftest.err
2866   rm -f conftest.er1
2867   cat conftest.err >&5
2868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869   (exit $ac_status); } &&
2870          { ac_try='test -z "$ac_c_werror_flag"
2871                          || test ! -s conftest.err'
2872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873   (eval $ac_try) 2>&5
2874   ac_status=$?
2875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876   (exit $ac_status); }; } &&
2877          { ac_try='test -s conftest.$ac_objext'
2878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879   (eval $ac_try) 2>&5
2880   ac_status=$?
2881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882   (exit $ac_status); }; }; then
2883   ac_cv_prog_cc_g=yes
2884 else
2885   echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2887
2888 ac_cv_prog_cc_g=no
2889 fi
2890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2891 fi
2892 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2893 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2894 if test "$ac_test_CFLAGS" = set; then
2895   CFLAGS=$ac_save_CFLAGS
2896 elif test $ac_cv_prog_cc_g = yes; then
2897   if test "$GCC" = yes; then
2898     CFLAGS="-g -O2"
2899   else
2900     CFLAGS="-g"
2901   fi
2902 else
2903   if test "$GCC" = yes; then
2904     CFLAGS="-O2"
2905   else
2906     CFLAGS=
2907   fi
2908 fi
2909 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2910 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2911 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2912   echo $ECHO_N "(cached) $ECHO_C" >&6
2913 else
2914   ac_cv_prog_cc_stdc=no
2915 ac_save_CC=$CC
2916 cat >conftest.$ac_ext <<_ACEOF
2917 /* confdefs.h.  */
2918 _ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h.  */
2922 #include <stdarg.h>
2923 #include <stdio.h>
2924 #include <sys/types.h>
2925 #include <sys/stat.h>
2926 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2927 struct buf { int x; };
2928 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2929 static char *e (p, i)
2930      char **p;
2931      int i;
2932 {
2933   return p[i];
2934 }
2935 static char *f (char * (*g) (char **, int), char **p, ...)
2936 {
2937   char *s;
2938   va_list v;
2939   va_start (v,p);
2940   s = g (p, va_arg (v,int));
2941   va_end (v);
2942   return s;
2943 }
2944
2945 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2946    function prototypes and stuff, but not '\xHH' hex character constants.
2947    These don't provoke an error unfortunately, instead are silently treated
2948    as 'x'.  The following induces an error, until -std1 is added to get
2949    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2950    array size at least.  It's necessary to write '\x00'==0 to get something
2951    that's true only with -std1.  */
2952 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2953
2954 int test (int i, double x);
2955 struct s1 {int (*f) (int a);};
2956 struct s2 {int (*f) (double a);};
2957 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2958 int argc;
2959 char **argv;
2960 int
2961 main ()
2962 {
2963 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2964   ;
2965   return 0;
2966 }
2967 _ACEOF
2968 # Don't try gcc -ansi; that turns off useful extensions and
2969 # breaks some systems' header files.
2970 # AIX                   -qlanglvl=ansi
2971 # Ultrix and OSF/1      -std1
2972 # HP-UX 10.20 and later -Ae
2973 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2974 # SVR4                  -Xc -D__EXTENSIONS__
2975 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2976 do
2977   CC="$ac_save_CC $ac_arg"
2978   rm -f conftest.$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980   (eval $ac_compile) 2>conftest.er1
2981   ac_status=$?
2982   grep -v '^ *+' conftest.er1 >conftest.err
2983   rm -f conftest.er1
2984   cat conftest.err >&5
2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986   (exit $ac_status); } &&
2987          { ac_try='test -z "$ac_c_werror_flag"
2988                          || test ! -s conftest.err'
2989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990   (eval $ac_try) 2>&5
2991   ac_status=$?
2992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993   (exit $ac_status); }; } &&
2994          { ac_try='test -s conftest.$ac_objext'
2995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996   (eval $ac_try) 2>&5
2997   ac_status=$?
2998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999   (exit $ac_status); }; }; then
3000   ac_cv_prog_cc_stdc=$ac_arg
3001 break
3002 else
3003   echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3005
3006 fi
3007 rm -f conftest.err conftest.$ac_objext
3008 done
3009 rm -f conftest.$ac_ext conftest.$ac_objext
3010 CC=$ac_save_CC
3011
3012 fi
3013
3014 case "x$ac_cv_prog_cc_stdc" in
3015   x|xno)
3016     echo "$as_me:$LINENO: result: none needed" >&5
3017 echo "${ECHO_T}none needed" >&6 ;;
3018   *)
3019     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3020 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3021     CC="$CC $ac_cv_prog_cc_stdc" ;;
3022 esac
3023
3024 # Some people use a C++ compiler to compile C.  Since we use `exit',
3025 # in C++ we need to declare it.  In case someone uses the same compiler
3026 # for both compiling C and C++ we need to have the C++ compiler decide
3027 # the declaration of exit, since it's the most demanding environment.
3028 cat >conftest.$ac_ext <<_ACEOF
3029 #ifndef __cplusplus
3030   choke me
3031 #endif
3032 _ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3035   (eval $ac_compile) 2>conftest.er1
3036   ac_status=$?
3037   grep -v '^ *+' conftest.er1 >conftest.err
3038   rm -f conftest.er1
3039   cat conftest.err >&5
3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041   (exit $ac_status); } &&
3042          { ac_try='test -z "$ac_c_werror_flag"
3043                          || test ! -s conftest.err'
3044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045   (eval $ac_try) 2>&5
3046   ac_status=$?
3047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048   (exit $ac_status); }; } &&
3049          { ac_try='test -s conftest.$ac_objext'
3050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051   (eval $ac_try) 2>&5
3052   ac_status=$?
3053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054   (exit $ac_status); }; }; then
3055   for ac_declaration in \
3056    '' \
3057    'extern "C" void std::exit (int) throw (); using std::exit;' \
3058    'extern "C" void std::exit (int); using std::exit;' \
3059    'extern "C" void exit (int) throw ();' \
3060    'extern "C" void exit (int);' \
3061    'void exit (int);'
3062 do
3063   cat >conftest.$ac_ext <<_ACEOF
3064 /* confdefs.h.  */
3065 _ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h.  */
3069 $ac_declaration
3070 #include <stdlib.h>
3071 int
3072 main ()
3073 {
3074 exit (42);
3075   ;
3076   return 0;
3077 }
3078 _ACEOF
3079 rm -f conftest.$ac_objext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3081   (eval $ac_compile) 2>conftest.er1
3082   ac_status=$?
3083   grep -v '^ *+' conftest.er1 >conftest.err
3084   rm -f conftest.er1
3085   cat conftest.err >&5
3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087   (exit $ac_status); } &&
3088          { ac_try='test -z "$ac_c_werror_flag"
3089                          || test ! -s conftest.err'
3090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091   (eval $ac_try) 2>&5
3092   ac_status=$?
3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094   (exit $ac_status); }; } &&
3095          { ac_try='test -s conftest.$ac_objext'
3096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097   (eval $ac_try) 2>&5
3098   ac_status=$?
3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100   (exit $ac_status); }; }; then
3101   :
3102 else
3103   echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3105
3106 continue
3107 fi
3108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3109   cat >conftest.$ac_ext <<_ACEOF
3110 /* confdefs.h.  */
3111 _ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h.  */
3115 $ac_declaration
3116 int
3117 main ()
3118 {
3119 exit (42);
3120   ;
3121   return 0;
3122 }
3123 _ACEOF
3124 rm -f conftest.$ac_objext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3126   (eval $ac_compile) 2>conftest.er1
3127   ac_status=$?
3128   grep -v '^ *+' conftest.er1 >conftest.err
3129   rm -f conftest.er1
3130   cat conftest.err >&5
3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132   (exit $ac_status); } &&
3133          { ac_try='test -z "$ac_c_werror_flag"
3134                          || test ! -s conftest.err'
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); }; } &&
3140          { ac_try='test -s conftest.$ac_objext'
3141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142   (eval $ac_try) 2>&5
3143   ac_status=$?
3144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145   (exit $ac_status); }; }; then
3146   break
3147 else
3148   echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3150
3151 fi
3152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3153 done
3154 rm -f conftest*
3155 if test -n "$ac_declaration"; then
3156   echo '#ifdef __cplusplus' >>confdefs.h
3157   echo $ac_declaration      >>confdefs.h
3158   echo '#endif'             >>confdefs.h
3159 fi
3160
3161 else
3162   echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3164
3165 fi
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3167 ac_ext=c
3168 ac_cpp='$CPP $CPPFLAGS'
3169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172 DEPDIR="${am__leading_dot}deps"
3173
3174           ac_config_commands="$ac_config_commands depfiles"
3175
3176
3177 am_make=${MAKE-make}
3178 cat > confinc << 'END'
3179 am__doit:
3180         @echo done
3181 .PHONY: am__doit
3182 END
3183 # If we don't find an include directive, just comment out the code.
3184 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3185 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3186 am__include="#"
3187 am__quote=
3188 _am_result=none
3189 # First try GNU make style include.
3190 echo "include confinc" > confmf
3191 # We grep out `Entering directory' and `Leaving directory'
3192 # messages which can occur if `w' ends up in MAKEFLAGS.
3193 # In particular we don't look at `^make:' because GNU make might
3194 # be invoked under some other name (usually "gmake"), in which
3195 # case it prints its new name instead of `make'.
3196 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3197    am__include=include
3198    am__quote=
3199    _am_result=GNU
3200 fi
3201 # Now try BSD make style include.
3202 if test "$am__include" = "#"; then
3203    echo '.include "confinc"' > confmf
3204    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3205       am__include=.include
3206       am__quote="\""
3207       _am_result=BSD
3208    fi
3209 fi
3210
3211
3212 echo "$as_me:$LINENO: result: $_am_result" >&5
3213 echo "${ECHO_T}$_am_result" >&6
3214 rm -f confinc confmf
3215
3216 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3217 if test "${enable_dependency_tracking+set}" = set; then
3218   enableval="$enable_dependency_tracking"
3219
3220 fi;
3221 if test "x$enable_dependency_tracking" != xno; then
3222   am_depcomp="$ac_aux_dir/depcomp"
3223   AMDEPBACKSLASH='\'
3224 fi
3225
3226
3227 if test "x$enable_dependency_tracking" != xno; then
3228   AMDEP_TRUE=
3229   AMDEP_FALSE='#'
3230 else
3231   AMDEP_TRUE='#'
3232   AMDEP_FALSE=
3233 fi
3234
3235
3236
3237
3238 depcc="$CC"   am_compiler_list=
3239
3240 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3241 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3242 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3243   echo $ECHO_N "(cached) $ECHO_C" >&6
3244 else
3245   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3246   # We make a subdir and do the tests there.  Otherwise we can end up
3247   # making bogus files that we don't know about and never remove.  For
3248   # instance it was reported that on HP-UX the gcc test will end up
3249   # making a dummy file named `D' -- because `-MD' means `put the output
3250   # in D'.
3251   mkdir conftest.dir
3252   # Copy depcomp to subdir because otherwise we won't find it if we're
3253   # using a relative directory.
3254   cp "$am_depcomp" conftest.dir
3255   cd conftest.dir
3256   # We will build objects and dependencies in a subdirectory because
3257   # it helps to detect inapplicable dependency modes.  For instance
3258   # both Tru64's cc and ICC support -MD to output dependencies as a
3259   # side effect of compilation, but ICC will put the dependencies in
3260   # the current directory while Tru64 will put them in the object
3261   # directory.
3262   mkdir sub
3263
3264   am_cv_CC_dependencies_compiler_type=none
3265   if test "$am_compiler_list" = ""; then
3266      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3267   fi
3268   for depmode in $am_compiler_list; do
3269     # Setup a source with many dependencies, because some compilers
3270     # like to wrap large dependency lists on column 80 (with \), and
3271     # we should not choose a depcomp mode which is confused by this.
3272     #
3273     # We need to recreate these files for each test, as the compiler may
3274     # overwrite some of them when testing with obscure command lines.
3275     # This happens at least with the AIX C compiler.
3276     : > sub/conftest.c
3277     for i in 1 2 3 4 5 6; do
3278       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3279       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3280       # Solaris 8's {/usr,}/bin/sh.
3281       touch sub/conftst$i.h
3282     done
3283     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3284
3285     case $depmode in
3286     nosideeffect)
3287       # after this tag, mechanisms are not by side-effect, so they'll
3288       # only be used when explicitly requested
3289       if test "x$enable_dependency_tracking" = xyes; then
3290         continue
3291       else
3292         break
3293       fi
3294       ;;
3295     none) break ;;
3296     esac
3297     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3298     # mode.  It turns out that the SunPro C++ compiler does not properly
3299     # handle `-M -o', and we need to detect this.
3300     if depmode=$depmode \
3301        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3302        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3303        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3304          >/dev/null 2>conftest.err &&
3305        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3306        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3307        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3308       # icc doesn't choke on unknown options, it will just issue warnings
3309       # or remarks (even with -Werror).  So we grep stderr for any message
3310       # that says an option was ignored or not supported.
3311       # When given -MP, icc 7.0 and 7.1 complain thusly:
3312       #   icc: Command line warning: ignoring option '-M'; no argument required
3313       # The diagnosis changed in icc 8.0:
3314       #   icc: Command line remark: option '-MP' not supported
3315       if (grep 'ignoring option' conftest.err ||
3316           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3317         am_cv_CC_dependencies_compiler_type=$depmode
3318         break
3319       fi
3320     fi
3321   done
3322
3323   cd ..
3324   rm -rf conftest.dir
3325 else
3326   am_cv_CC_dependencies_compiler_type=none
3327 fi
3328
3329 fi
3330 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3332 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3333
3334
3335
3336 if
3337   test "x$enable_dependency_tracking" != xno \
3338   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3339   am__fastdepCC_TRUE=
3340   am__fastdepCC_FALSE='#'
3341 else
3342   am__fastdepCC_TRUE='#'
3343   am__fastdepCC_FALSE=
3344 fi
3345
3346
3347
3348
3349 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3350 if test "x$GCC" = "xyes"; then
3351   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3352   ## We like to use C99 routines when available.  This makes sure that
3353   ## __STDC_VERSION__ is set such that libc includes make them available.
3354   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3355   ## Compile the following tests with the same system header contents
3356   ## that we'll encounter when compiling our own source files.
3357   CFLAGS="-std=gnu99 $CFLAGS"
3358 fi
3359
3360
3361
3362
3363 # Check for symbol versioning (copied from libssp).
3364 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3365 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3366 cat > conftest.map <<EOF
3367 FOO_1.0 {
3368   global: *foo*; bar; local: *;
3369 };
3370 EOF
3371 save_LDFLAGS="$LDFLAGS"
3372 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3373
3374 if test x$gcc_no_link = xyes; then
3375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3377    { (exit 1); exit 1; }; }
3378 fi
3379 cat >conftest.$ac_ext <<_ACEOF
3380 /* confdefs.h.  */
3381 _ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h.  */
3385 int foo;
3386 int
3387 main ()
3388 {
3389
3390   ;
3391   return 0;
3392 }
3393 _ACEOF
3394 rm -f conftest.$ac_objext conftest$ac_exeext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3396   (eval $ac_link) 2>conftest.er1
3397   ac_status=$?
3398   grep -v '^ *+' conftest.er1 >conftest.err
3399   rm -f conftest.er1
3400   cat conftest.err >&5
3401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402   (exit $ac_status); } &&
3403          { ac_try='test -z "$ac_c_werror_flag"
3404                          || test ! -s conftest.err'
3405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406   (eval $ac_try) 2>&5
3407   ac_status=$?
3408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409   (exit $ac_status); }; } &&
3410          { ac_try='test -s conftest$ac_exeext'
3411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412   (eval $ac_try) 2>&5
3413   ac_status=$?
3414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415   (exit $ac_status); }; }; then
3416   gfortran_use_symver=yes
3417 else
3418   echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.$ac_ext >&5
3420
3421 gfortran_use_symver=no
3422 fi
3423 rm -f conftest.err conftest.$ac_objext \
3424       conftest$ac_exeext conftest.$ac_ext
3425 LDFLAGS="$save_LDFLAGS"
3426 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3427 echo "${ECHO_T}$gfortran_use_symver" >&6
3428
3429
3430 if test "x$gfortran_use_symver" = xyes; then
3431   LIBGFOR_USE_SYMVER_TRUE=
3432   LIBGFOR_USE_SYMVER_FALSE='#'
3433 else
3434   LIBGFOR_USE_SYMVER_TRUE='#'
3435   LIBGFOR_USE_SYMVER_FALSE=
3436 fi
3437
3438
3439 # Find other programs we need.
3440 if test -n "$ac_tool_prefix"; then
3441   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3442 set dummy ${ac_tool_prefix}as; ac_word=$2
3443 echo "$as_me:$LINENO: checking for $ac_word" >&5
3444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3445 if test "${ac_cv_prog_AS+set}" = set; then
3446   echo $ECHO_N "(cached) $ECHO_C" >&6
3447 else
3448   if test -n "$AS"; then
3449   ac_cv_prog_AS="$AS" # Let the user override the test.
3450 else
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 for as_dir in $PATH
3453 do
3454   IFS=$as_save_IFS
3455   test -z "$as_dir" && as_dir=.
3456   for ac_exec_ext in '' $ac_executable_extensions; do
3457   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458     ac_cv_prog_AS="${ac_tool_prefix}as"
3459     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3460     break 2
3461   fi
3462 done
3463 done
3464
3465 fi
3466 fi
3467 AS=$ac_cv_prog_AS
3468 if test -n "$AS"; then
3469   echo "$as_me:$LINENO: result: $AS" >&5
3470 echo "${ECHO_T}$AS" >&6
3471 else
3472   echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 fi
3475
3476 fi
3477 if test -z "$ac_cv_prog_AS"; then
3478   ac_ct_AS=$AS
3479   # Extract the first word of "as", so it can be a program name with args.
3480 set dummy as; ac_word=$2
3481 echo "$as_me:$LINENO: checking for $ac_word" >&5
3482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3483 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3484   echo $ECHO_N "(cached) $ECHO_C" >&6
3485 else
3486   if test -n "$ac_ct_AS"; then
3487   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3488 else
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 for as_dir in $PATH
3491 do
3492   IFS=$as_save_IFS
3493   test -z "$as_dir" && as_dir=.
3494   for ac_exec_ext in '' $ac_executable_extensions; do
3495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3496     ac_cv_prog_ac_ct_AS="as"
3497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3498     break 2
3499   fi
3500 done
3501 done
3502
3503 fi
3504 fi
3505 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3506 if test -n "$ac_ct_AS"; then
3507   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3508 echo "${ECHO_T}$ac_ct_AS" >&6
3509 else
3510   echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3512 fi
3513
3514   AS=$ac_ct_AS
3515 else
3516   AS="$ac_cv_prog_AS"
3517 fi
3518
3519 if test -n "$ac_tool_prefix"; then
3520   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3521 set dummy ${ac_tool_prefix}ar; ac_word=$2
3522 echo "$as_me:$LINENO: checking for $ac_word" >&5
3523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3524 if test "${ac_cv_prog_AR+set}" = set; then
3525   echo $ECHO_N "(cached) $ECHO_C" >&6
3526 else
3527   if test -n "$AR"; then
3528   ac_cv_prog_AR="$AR" # Let the user override the test.
3529 else
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 for as_dir in $PATH
3532 do
3533   IFS=$as_save_IFS
3534   test -z "$as_dir" && as_dir=.
3535   for ac_exec_ext in '' $ac_executable_extensions; do
3536   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3537     ac_cv_prog_AR="${ac_tool_prefix}ar"
3538     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3539     break 2
3540   fi
3541 done
3542 done
3543
3544 fi
3545 fi
3546 AR=$ac_cv_prog_AR
3547 if test -n "$AR"; then
3548   echo "$as_me:$LINENO: result: $AR" >&5
3549 echo "${ECHO_T}$AR" >&6
3550 else
3551   echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3553 fi
3554
3555 fi
3556 if test -z "$ac_cv_prog_AR"; then
3557   ac_ct_AR=$AR
3558   # Extract the first word of "ar", so it can be a program name with args.
3559 set dummy ar; ac_word=$2
3560 echo "$as_me:$LINENO: checking for $ac_word" >&5
3561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3562 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3563   echo $ECHO_N "(cached) $ECHO_C" >&6
3564 else
3565   if test -n "$ac_ct_AR"; then
3566   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3567 else
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3570 do
3571   IFS=$as_save_IFS
3572   test -z "$as_dir" && as_dir=.
3573   for ac_exec_ext in '' $ac_executable_extensions; do
3574   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575     ac_cv_prog_ac_ct_AR="ar"
3576     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3577     break 2
3578   fi
3579 done
3580 done
3581
3582 fi
3583 fi
3584 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3585 if test -n "$ac_ct_AR"; then
3586   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3587 echo "${ECHO_T}$ac_ct_AR" >&6
3588 else
3589   echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3591 fi
3592
3593   AR=$ac_ct_AR
3594 else
3595   AR="$ac_cv_prog_AR"
3596 fi
3597
3598 if test -n "$ac_tool_prefix"; then
3599   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3600 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3601 echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3603 if test "${ac_cv_prog_RANLIB+set}" = set; then
3604   echo $ECHO_N "(cached) $ECHO_C" >&6
3605 else
3606   if test -n "$RANLIB"; then
3607   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3611 do
3612   IFS=$as_save_IFS
3613   test -z "$as_dir" && as_dir=.
3614   for ac_exec_ext in '' $ac_executable_extensions; do
3615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3618     break 2
3619   fi
3620 done
3621 done
3622
3623 fi
3624 fi
3625 RANLIB=$ac_cv_prog_RANLIB
3626 if test -n "$RANLIB"; then
3627   echo "$as_me:$LINENO: result: $RANLIB" >&5
3628 echo "${ECHO_T}$RANLIB" >&6
3629 else
3630   echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 fi
3633
3634 fi
3635 if test -z "$ac_cv_prog_RANLIB"; then
3636   ac_ct_RANLIB=$RANLIB
3637   # Extract the first word of "ranlib", so it can be a program name with args.
3638 set dummy ranlib; ac_word=$2
3639 echo "$as_me:$LINENO: checking for $ac_word" >&5
3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3642   echo $ECHO_N "(cached) $ECHO_C" >&6
3643 else
3644   if test -n "$ac_ct_RANLIB"; then
3645   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3649 do
3650   IFS=$as_save_IFS
3651   test -z "$as_dir" && as_dir=.
3652   for ac_exec_ext in '' $ac_executable_extensions; do
3653   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654     ac_cv_prog_ac_ct_RANLIB="ranlib"
3655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3656     break 2
3657   fi
3658 done
3659 done
3660
3661   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3662 fi
3663 fi
3664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3665 if test -n "$ac_ct_RANLIB"; then
3666   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3668 else
3669   echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 fi
3672
3673   RANLIB=$ac_ct_RANLIB
3674 else
3675   RANLIB="$ac_cv_prog_RANLIB"
3676 fi
3677
3678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3680 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3682   echo $ECHO_N "(cached) $ECHO_C" >&6
3683 else
3684   cat >conftest.make <<\_ACEOF
3685 all:
3686         @echo 'ac_maketemp="$(MAKE)"'
3687 _ACEOF
3688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3690 if test -n "$ac_maketemp"; then
3691   eval ac_cv_prog_make_${ac_make}_set=yes
3692 else
3693   eval ac_cv_prog_make_${ac_make}_set=no
3694 fi
3695 rm -f conftest.make
3696 fi
3697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3698   echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3700   SET_MAKE=
3701 else
3702   echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704   SET_MAKE="MAKE=${MAKE-make}"
3705 fi
3706
3707 # Find a good install program.  We prefer a C program (faster),
3708 # so one script is as good as another.  But avoid the broken or
3709 # incompatible versions:
3710 # SysV /etc/install, /usr/sbin/install
3711 # SunOS /usr/etc/install
3712 # IRIX /sbin/install
3713 # AIX /bin/install
3714 # AmigaOS /C/install, which installs bootblocks on floppy discs
3715 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3716 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3717 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3718 # OS/2's system install, which has a completely different semantic
3719 # ./install, which can be erroneously created by make from ./install.sh.
3720 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3721 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3722 if test -z "$INSTALL"; then
3723 if test "${ac_cv_path_install+set}" = set; then
3724   echo $ECHO_N "(cached) $ECHO_C" >&6
3725 else
3726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727 for as_dir in $PATH
3728 do
3729   IFS=$as_save_IFS
3730   test -z "$as_dir" && as_dir=.
3731   # Account for people who put trailing slashes in PATH elements.
3732 case $as_dir/ in
3733   ./ | .// | /cC/* | \
3734   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3735   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3736   /usr/ucb/* ) ;;
3737   *)
3738     # OSF1 and SCO ODT 3.0 have their own names for install.
3739     # Don't use installbsd from OSF since it installs stuff as root
3740     # by default.
3741     for ac_prog in ginstall scoinst install; do
3742       for ac_exec_ext in '' $ac_executable_extensions; do
3743         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3744           if test $ac_prog = install &&
3745             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3746             # AIX install.  It has an incompatible calling convention.
3747             :
3748           elif test $ac_prog = install &&
3749             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3750             # program-specific install script used by HP pwplus--don't use.
3751             :
3752           else
3753             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3754             break 3
3755           fi
3756         fi
3757       done
3758     done
3759     ;;
3760 esac
3761 done
3762
3763
3764 fi
3765   if test "${ac_cv_path_install+set}" = set; then
3766     INSTALL=$ac_cv_path_install
3767   else
3768     # As a last resort, use the slow shell script.  We don't cache a
3769     # path for INSTALL within a source directory, because that will
3770     # break other packages using the cache if that directory is
3771     # removed, or if the path is relative.
3772     INSTALL=$ac_install_sh
3773   fi
3774 fi
3775 echo "$as_me:$LINENO: result: $INSTALL" >&5
3776 echo "${ECHO_T}$INSTALL" >&6
3777
3778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3779 # It thinks the first close brace ends the variable substitution.
3780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3781
3782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3783
3784 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3785
3786
3787 # Configure libtool
3788 #AC_MSG_NOTICE([====== Starting libtool configuration])
3789 enable_dlopen=yes
3790
3791
3792
3793
3794
3795 macro_version='2.1a'
3796 macro_revision='1.2435'
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809 ltmain="$ac_aux_dir/ltmain.sh"
3810
3811 # Set options
3812
3813
3814 enable_win32_dll=no
3815
3816
3817 # Check whether --enable-shared or --disable-shared was given.
3818 if test "${enable_shared+set}" = set; then
3819   enableval="$enable_shared"
3820   p=${PACKAGE-default}
3821     case $enableval in
3822     yes) enable_shared=yes ;;
3823     no) enable_shared=no ;;
3824     *)
3825       enable_shared=no
3826       # Look at the argument we got.  We use all the common list separators.
3827       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3828       for pkg in $enableval; do
3829         IFS="$lt_save_ifs"
3830         if test "X$pkg" = "X$p"; then
3831           enable_shared=yes
3832         fi
3833       done
3834       IFS="$lt_save_ifs"
3835       ;;
3836     esac
3837 else
3838   enable_shared=yes
3839 fi;
3840
3841
3842
3843
3844
3845
3846
3847
3848 # Check whether --enable-static or --disable-static was given.
3849 if test "${enable_static+set}" = set; then
3850   enableval="$enable_static"
3851   p=${PACKAGE-default}
3852     case $enableval in
3853     yes) enable_static=yes ;;
3854     no) enable_static=no ;;
3855     *)
3856      enable_static=no
3857       # Look at the argument we got.  We use all the common list separators.
3858       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3859       for pkg in $enableval; do
3860         IFS="$lt_save_ifs"
3861         if test "X$pkg" = "X$p"; then
3862           enable_static=yes
3863         fi
3864       done
3865       IFS="$lt_save_ifs"
3866       ;;
3867     esac
3868 else
3869   enable_static=yes
3870 fi;
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880 # Check whether --with-pic or --without-pic was given.
3881 if test "${with_pic+set}" = set; then
3882   withval="$with_pic"
3883   pic_mode="$withval"
3884 else
3885   pic_mode=default
3886 fi;
3887
3888 test -z "$pic_mode" && pic_mode=default
3889
3890
3891
3892
3893
3894
3895
3896 # Check whether --enable-fast-install or --disable-fast-install was given.
3897 if test "${enable_fast_install+set}" = set; then
3898   enableval="$enable_fast_install"
3899   p=${PACKAGE-default}
3900     case $enableval in
3901     yes) enable_fast_install=yes ;;
3902     no) enable_fast_install=no ;;
3903     *)
3904       enable_fast_install=no
3905       # Look at the argument we got.  We use all the common list separators.
3906       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3907       for pkg in $enableval; do
3908         IFS="$lt_save_ifs"
3909         if test "X$pkg" = "X$p"; then
3910           enable_fast_install=yes
3911         fi
3912       done
3913       IFS="$lt_save_ifs"
3914       ;;
3915     esac
3916 else
3917   enable_fast_install=yes
3918 fi;
3919
3920
3921
3922
3923
3924
3925
3926
3927 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3928 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3929 if test "${lt_cv_path_SED+set}" = set; then
3930   echo $ECHO_N "(cached) $ECHO_C" >&6
3931 else
3932   # Loop through the user's path and test for sed and gsed.
3933 # Then use that list of sed's as ones to test for truncation.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3936 do
3937   IFS=$as_save_IFS
3938   test -z "$as_dir" && as_dir=.
3939   for lt_ac_prog in sed gsed; do
3940     for ac_exec_ext in '' $ac_executable_extensions; do
3941       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3942         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3943       fi
3944     done
3945   done
3946 done
3947 IFS=$as_save_IFS
3948 lt_ac_max=0
3949 lt_ac_count=0
3950 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3951 # along with /bin/sed that truncates output.
3952 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3953   test ! -f $lt_ac_sed && continue
3954   cat /dev/null > conftest.in
3955   lt_ac_count=0
3956   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3957   # Check for GNU sed and select it if it is found.
3958   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3959     lt_cv_path_SED=$lt_ac_sed
3960     break
3961   fi
3962   while true; do
3963     cat conftest.in conftest.in >conftest.tmp
3964     mv conftest.tmp conftest.in
3965     cp conftest.in conftest.nl
3966     echo >>conftest.nl
3967     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3968     cmp -s conftest.out conftest.nl || break
3969     # 10000 chars as input seems more than enough
3970     test $lt_ac_count -gt 10 && break
3971     lt_ac_count=`expr $lt_ac_count + 1`
3972     if test $lt_ac_count -gt $lt_ac_max; then
3973       lt_ac_max=$lt_ac_count
3974       lt_cv_path_SED=$lt_ac_sed
3975     fi
3976   done
3977 done
3978
3979 fi
3980
3981 SED=$lt_cv_path_SED
3982
3983 echo "$as_me:$LINENO: result: $SED" >&5
3984 echo "${ECHO_T}$SED" >&6
3985
3986 test -z "$SED" && SED=sed
3987 Xsed="$SED -e 1s/^X//"
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999 echo "$as_me:$LINENO: checking for egrep" >&5
4000 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4001 if test "${ac_cv_prog_egrep+set}" = set; then
4002   echo $ECHO_N "(cached) $ECHO_C" >&6
4003 else
4004   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4005     then ac_cv_prog_egrep='grep -E'
4006     else ac_cv_prog_egrep='egrep'
4007     fi
4008 fi
4009 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4010 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4011  EGREP=$ac_cv_prog_egrep
4012
4013
4014 echo "$as_me:$LINENO: checking for fgrep" >&5
4015 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4016 if test "${ac_cv_prog_fgrep+set}" = set; then
4017   echo $ECHO_N "(cached) $ECHO_C" >&6
4018 else
4019   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4020     then ac_cv_prog_fgrep='grep -F'
4021     else ac_cv_prog_fgrep='fgrep'
4022     fi
4023 fi
4024 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4025 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4026  FGREP=$ac_cv_prog_fgrep
4027
4028
4029 test -z "$GREP" && GREP=grep
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4050 if test "${with_gnu_ld+set}" = set; then
4051   withval="$with_gnu_ld"
4052   test "$withval" = no || with_gnu_ld=yes
4053 else
4054   with_gnu_ld=no
4055 fi;
4056 ac_prog=ld
4057 if test "$GCC" = yes; then
4058   # Check if gcc -print-prog-name=ld gives a path.
4059   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4060 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4061   case $host in
4062   *-*-mingw*)
4063     # gcc leaves a trailing carriage return which upsets mingw
4064     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4065   *)
4066     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4067   esac
4068   case $ac_prog in
4069     # Accept absolute paths.
4070     [\\/]* | ?:[\\/]*)
4071       re_direlt='/[^/][^/]*/\.\./'
4072       # Canonicalize the pathname of ld
4073       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4074       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4075         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4076       done
4077       test -z "$LD" && LD="$ac_prog"
4078       ;;
4079   "")
4080     # If it fails, then pretend we aren't using GCC.
4081     ac_prog=ld
4082     ;;
4083   *)
4084     # If it is relative, then search for the first ld in PATH.
4085     with_gnu_ld=unknown
4086     ;;
4087   esac
4088 elif test "$with_gnu_ld" = yes; then
4089   echo "$as_me:$LINENO: checking for GNU ld" >&5
4090 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4091 else
4092   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4093 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4094 fi
4095 if test "${lt_cv_path_LD+set}" = set; then
4096   echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098   if test -z "$LD"; then
4099   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4100   for ac_dir in $PATH; do
4101     IFS="$lt_save_ifs"
4102     test -z "$ac_dir" && ac_dir=.
4103     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4104       lt_cv_path_LD="$ac_dir/$ac_prog"
4105       # Check to see if the program is GNU ld.  I'd rather use --version,
4106       # but apparently some variants of GNU ld only accept -v.
4107       # Break only if it was the GNU/non-GNU ld that we prefer.
4108       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4109       *GNU* | *'with BFD'*)
4110         test "$with_gnu_ld" != no && break
4111         ;;
4112       *)
4113         test "$with_gnu_ld" != yes && break
4114         ;;
4115       esac
4116     fi
4117   done
4118   IFS="$lt_save_ifs"
4119 else
4120   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4121 fi
4122 fi
4123
4124 LD="$lt_cv_path_LD"
4125 if test -n "$LD"; then
4126   echo "$as_me:$LINENO: result: $LD" >&5
4127 echo "${ECHO_T}$LD" >&6
4128 else
4129   echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4133 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4134    { (exit 1); exit 1; }; }
4135 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4136 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4137 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4138   echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4141 case `$LD -v 2>&1 </dev/null` in
4142 *GNU* | *'with BFD'*)
4143   lt_cv_prog_gnu_ld=yes
4144   ;;
4145 *)
4146   lt_cv_prog_gnu_ld=no
4147   ;;
4148 esac
4149 fi
4150 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4151 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4152 with_gnu_ld=$lt_cv_prog_gnu_ld
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4164 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4165 if test "${lt_cv_path_NM+set}" = set; then
4166   echo $ECHO_N "(cached) $ECHO_C" >&6
4167 else
4168   if test -n "$NM"; then
4169   # Let the user override the test.
4170   lt_cv_path_NM="$NM"
4171 else
4172   lt_nm_to_check="${ac_tool_prefix}nm"
4173   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4174     lt_nm_to_check="$lt_nm_to_check nm"
4175   fi
4176   for lt_tmp_nm in $lt_nm_to_check; do
4177     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4178     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4179       IFS="$lt_save_ifs"
4180       test -z "$ac_dir" && ac_dir=.
4181       tmp_nm="$ac_dir/$lt_tmp_nm"
4182       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4183         # Check to see if the nm accepts a BSD-compat flag.
4184         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4185         #   nm: unknown option "B" ignored
4186         # Tru64's nm complains that /dev/null is an invalid object file
4187         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4188         */dev/null* | *'Invalid file or object type'*)
4189           lt_cv_path_NM="$tmp_nm -B"
4190           break
4191           ;;
4192         *)
4193           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4194           */dev/null*)
4195             lt_cv_path_NM="$tmp_nm -p"
4196             break
4197             ;;
4198           *)
4199             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4200             continue # so that we can try to find one that supports BSD flags
4201             ;;
4202           esac
4203           ;;
4204         esac
4205       fi
4206     done
4207     IFS="$lt_save_ifs"
4208   done
4209   : ${lt_cv_path_NM=no}
4210 fi
4211 fi
4212 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4213 echo "${ECHO_T}$lt_cv_path_NM" >&6
4214 if test "$lt_cv_path_NM" != "no"; then
4215   NM="$lt_cv_path_NM"
4216 else
4217   # Didn't find any BSD compatible name lister, look for dumpbin.
4218   if test -n "$ac_tool_prefix"; then
4219   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4220   do
4221     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223 echo "$as_me:$LINENO: checking for $ac_word" >&5
4224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4225 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4226   echo $ECHO_N "(cached) $ECHO_C" >&6
4227 else
4228   if test -n "$DUMPBIN"; then
4229   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234   IFS=$as_save_IFS
4235   test -z "$as_dir" && as_dir=.
4236   for ac_exec_ext in '' $ac_executable_extensions; do
4237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4240     break 2
4241   fi
4242 done
4243 done
4244
4245 fi
4246 fi
4247 DUMPBIN=$ac_cv_prog_DUMPBIN
4248 if test -n "$DUMPBIN"; then
4249   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4250 echo "${ECHO_T}$DUMPBIN" >&6
4251 else
4252   echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256     test -n "$DUMPBIN" && break
4257   done
4258 fi
4259 if test -z "$DUMPBIN"; then
4260   ac_ct_DUMPBIN=$DUMPBIN
4261   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4262 do
4263   # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy $ac_prog; ac_word=$2
4265 echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4267 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4268   echo $ECHO_N "(cached) $ECHO_C" >&6
4269 else
4270   if test -n "$ac_ct_DUMPBIN"; then
4271   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4272 else
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4275 do
4276   IFS=$as_save_IFS
4277   test -z "$as_dir" && as_dir=.
4278   for ac_exec_ext in '' $ac_executable_extensions; do
4279   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4281     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4282     break 2
4283   fi
4284 done
4285 done
4286
4287 fi
4288 fi
4289 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4290 if test -n "$ac_ct_DUMPBIN"; then
4291   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4292 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4293 else
4294   echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4296 fi
4297
4298   test -n "$ac_ct_DUMPBIN" && break
4299 done
4300 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4301
4302   DUMPBIN=$ac_ct_DUMPBIN
4303 fi
4304
4305
4306   if test "$DUMPBIN" != ":"; then
4307     NM="$DUMPBIN"
4308   fi
4309 fi
4310 test -z "$NM" && NM=nm
4311
4312
4313
4314
4315
4316
4317 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4318 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4319 if test "${lt_cv_nm_interface+set}" = set; then
4320   echo $ECHO_N "(cached) $ECHO_C" >&6
4321 else
4322   lt_cv_nm_interface="BSD nm"
4323   echo "int some_variable = 0;" > conftest.$ac_ext
4324   (eval echo "\"\$as_me:4324: $ac_compile\"" >&5)
4325   (eval "$ac_compile" 2>conftest.err)
4326   cat conftest.err >&5
4327   (eval echo "\"\$as_me:4327: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4328   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4329   cat conftest.err >&5
4330   (eval echo "\"\$as_me:4330: output\"" >&5)
4331   cat conftest.out >&5
4332   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4333     lt_cv_nm_interface="MS dumpbin"
4334   fi
4335   rm -f conftest*
4336 fi
4337 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4338 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4339
4340 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4341 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4342 LN_S=$as_ln_s
4343 if test "$LN_S" = "ln -s"; then
4344   echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4346 else
4347   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4348 echo "${ECHO_T}no, using $LN_S" >&6
4349 fi
4350
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355   echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4357     i=0
4358   teststring="ABCD"
4359
4360   case $build_os in
4361   msdosdjgpp*)
4362     # On DJGPP, this test can blow up pretty badly due to problems in libc
4363     # (any single argument exceeding 2000 bytes causes a buffer overrun
4364     # during glob expansion).  Even if it were fixed, the result of this
4365     # check would be larger than it should be.
4366     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4367     ;;
4368
4369   gnu*)
4370     # Under GNU Hurd, this test is not required because there is
4371     # no limit to the length of command line arguments.
4372     # Libtool will interpret -1 as no limit whatsoever
4373     lt_cv_sys_max_cmd_len=-1;
4374     ;;
4375
4376   cygwin* | mingw*)
4377     # On Win9x/ME, this test blows up -- it succeeds, but takes
4378     # about 5 minutes as the teststring grows exponentially.
4379     # Worse, since 9x/ME are not pre-emptively multitasking,
4380     # you end up with a "frozen" computer, even though with patience
4381     # the test eventually succeeds (with a max line length of 256k).
4382     # Instead, let's just punt: use the minimum linelength reported by
4383     # all of the supported platforms: 8192 (on NT/2K/XP).
4384     lt_cv_sys_max_cmd_len=8192;
4385     ;;
4386
4387   amigaos*)
4388     # On AmigaOS with pdksh, this test takes hours, literally.
4389     # So we just punt and use a minimum line length of 8192.
4390     lt_cv_sys_max_cmd_len=8192;
4391     ;;
4392
4393   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4394     # This has been around since 386BSD, at least.  Likely further.
4395     if test -x /sbin/sysctl; then
4396       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4397     elif test -x /usr/sbin/sysctl; then
4398       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4399     else
4400       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4401     fi
4402     # And add a safety zone
4403     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4404     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4405     ;;
4406
4407   interix*)
4408     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4409     lt_cv_sys_max_cmd_len=196608
4410     ;;
4411
4412   osf*)
4413     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4414     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4415     # nice to cause kernel panics so lets avoid the loop below.
4416     # First set a reasonable default.
4417     lt_cv_sys_max_cmd_len=16384
4418     #
4419     if test -x /sbin/sysconfig; then
4420       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4421         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4422       esac
4423     fi
4424     ;;
4425   sco3.2v5*)
4426     lt_cv_sys_max_cmd_len=102400
4427     ;;
4428   sysv5* | sco5v6* | sysv4.2uw2*)
4429     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4430     if test -n "$kargmax"; then
4431       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4432     else
4433       lt_cv_sys_max_cmd_len=32768
4434     fi
4435     ;;
4436   *)
4437     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4438     if test -n $lt_cv_sys_max_cmd_len; then
4439       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4440       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4441     else
4442       # Make teststring a little bigger before we do anything with it.
4443       # a 1K string should be a reasonable start.
4444       for i in 1 2 3 4 5 6 7 8 ; do
4445         teststring=$teststring$teststring
4446       done
4447       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4448       # If test is not a shell built-in, we'll probably end up computing a
4449       # maximum length that is only half of the actual maximum length, but
4450       # we can't tell.
4451       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4452                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4453               test $i != 17 # 1/2 MB should be enough
4454       do
4455         i=`expr $i + 1`
4456         teststring=$teststring$teststring
4457       done
4458       # Only check the string length outside the loop.
4459       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4460       teststring=
4461       # Add a significant safety factor because C++ compilers can tack on
4462       # massive amounts of additional arguments before passing them to the
4463       # linker.  It appears as though 1/2 is a usable value.
4464       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4465     fi
4466     ;;
4467   esac
4468
4469 fi
4470
4471 if test -n $lt_cv_sys_max_cmd_len ; then
4472   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4473 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4474 else
4475   echo "$as_me:$LINENO: result: none" >&5
4476 echo "${ECHO_T}none" >&6
4477 fi
4478 max_cmd_len=$lt_cv_sys_max_cmd_len
4479
4480
4481
4482
4483
4484
4485
4486 : ${CP="cp -f"}
4487 : ${MV="mv -f"}
4488 : ${RM="rm -f"}
4489
4490 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4491 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4492 # Try some XSI features
4493 xsi_shell=no
4494 ( _lt_dummy="a/b/c"
4495   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4496       = c,a/b,, ) >/dev/null 2>&1 \
4497   && xsi_shell=yes
4498 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4499 echo "${ECHO_T}$xsi_shell" >&6
4500
4501
4502 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4503 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4504 lt_shell_append=no
4505 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4506     >/dev/null 2>&1 \
4507   && lt_shell_append=yes
4508 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4509 echo "${ECHO_T}$lt_shell_append" >&6
4510
4511
4512 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4513   lt_unset=unset
4514 else
4515   lt_unset=false
4516 fi
4517
4518
4519
4520
4521
4522 # test EBCDIC or ASCII
4523 case `echo X|tr X '\101'` in
4524  A) # ASCII based system
4525     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4526   lt_SP2NL='tr \040 \012'
4527   lt_NL2SP='tr \015\012 \040\040'
4528   ;;
4529  *) # EBCDIC based system
4530   lt_SP2NL='tr \100 \n'
4531   lt_NL2SP='tr \r\n \100\100'
4532   ;;
4533 esac
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4544 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4545 if test "${lt_cv_ld_reload_flag+set}" = set; then
4546   echo $ECHO_N "(cached) $ECHO_C" >&6
4547 else
4548   lt_cv_ld_reload_flag='-r'
4549 fi
4550 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4551 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4552 reload_flag=$lt_cv_ld_reload_flag
4553 case $reload_flag in
4554 "" | " "*) ;;
4555 *) reload_flag=" $reload_flag" ;;
4556 esac
4557 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4558 case $host_os in
4559   darwin*)
4560     if test "$GCC" = yes; then
4561       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4562     else
4563       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4564     fi
4565     ;;
4566 esac
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4578 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4579 if test "${lt_cv_deplibs_check_method+set}" = set; then
4580   echo $ECHO_N "(cached) $ECHO_C" >&6
4581 else
4582   lt_cv_file_magic_cmd='$MAGIC_CMD'
4583 lt_cv_file_magic_test_file=
4584 lt_cv_deplibs_check_method='unknown'
4585 # Need to set the preceding variable on all platforms that support
4586 # interlibrary dependencies.
4587 # 'none' -- dependencies not supported.
4588 # `unknown' -- same as none, but documents that we really don't know.
4589 # 'pass_all' -- all dependencies passed with no checks.
4590 # 'test_compile' -- check by making test program.
4591 # 'file_magic [[regex]]' -- check by looking for files in library path
4592 # which responds to the $file_magic_cmd with a given extended regex.
4593 # If you have `file' or equivalent on your system and you're not sure
4594 # whether `pass_all' will *always* work, you probably want this one.
4595
4596 case $host_os in
4597 aix4* | aix5*)
4598   lt_cv_deplibs_check_method=pass_all
4599   ;;
4600
4601 beos*)
4602   lt_cv_deplibs_check_method=pass_all
4603   ;;
4604
4605 bsdi[45]*)
4606   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4607   lt_cv_file_magic_cmd='/usr/bin/file -L'
4608   lt_cv_file_magic_test_file=/shlib/libc.so
4609   ;;
4610
4611 cygwin*)
4612   # func_win32_libid is a shell function defined in ltmain.sh
4613   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4614   lt_cv_file_magic_cmd='func_win32_libid'
4615   ;;
4616
4617 mingw* | pw32*)
4618   # Base MSYS/MinGW do not provide the 'file' command needed by
4619   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4620   # unless we find 'file', for example because we are cross-compiling.
4621   if ( file / ) >/dev/null 2>&1; then
4622     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4623     lt_cv_file_magic_cmd='func_win32_libid'
4624   else
4625     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4626     lt_cv_file_magic_cmd='$OBJDUMP -f'
4627   fi
4628   ;;
4629
4630 darwin* | rhapsody*)
4631   lt_cv_deplibs_check_method=pass_all
4632   ;;
4633
4634 freebsd* | dragonfly*)
4635   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4636     case $host_cpu in
4637     i*86 )
4638       # Not sure whether the presence of OpenBSD here was a mistake.
4639       # Let's accept both of them until this is cleared up.
4640       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4641       lt_cv_file_magic_cmd=/usr/bin/file
4642       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4643       ;;
4644     esac
4645   else
4646     lt_cv_deplibs_check_method=pass_all
4647   fi
4648   ;;
4649
4650 gnu*)
4651   lt_cv_deplibs_check_method=pass_all
4652   ;;
4653
4654 hpux10.20* | hpux11*)
4655   lt_cv_file_magic_cmd=/usr/bin/file
4656   case $host_cpu in
4657   ia64*)
4658     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4659     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4660     ;;
4661   hppa*64*)
4662     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]'
4663     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4664     ;;
4665   *)
4666     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4667     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4668     ;;
4669   esac
4670   ;;
4671
4672 interix[3-9]*)
4673   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4674   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4675   ;;
4676
4677 irix5* | irix6* | nonstopux*)
4678   case $LD in
4679   *-32|*"-32 ") libmagic=32-bit;;
4680   *-n32|*"-n32 ") libmagic=N32;;
4681   *-64|*"-64 ") libmagic=64-bit;;
4682   *) libmagic=never-match;;
4683   esac
4684   lt_cv_deplibs_check_method=pass_all
4685   ;;
4686
4687 # This must be Linux ELF.
4688 linux* | k*bsd*-gnu)
4689   lt_cv_deplibs_check_method=pass_all
4690   ;;
4691
4692 netbsd*)
4693   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4694     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4695   else
4696     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4697   fi
4698   ;;
4699
4700 newos6*)
4701   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4702   lt_cv_file_magic_cmd=/usr/bin/file
4703   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4704   ;;
4705
4706 *nto* | *qnx*)
4707   lt_cv_deplibs_check_method=pass_all
4708   ;;
4709
4710 openbsd*)
4711   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4712     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4713   else
4714     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4715   fi
4716   ;;
4717
4718 osf3* | osf4* | osf5*)
4719   lt_cv_deplibs_check_method=pass_all
4720   ;;
4721
4722 rdos*)
4723   lt_cv_deplibs_check_method=pass_all
4724   ;;
4725
4726 solaris*)
4727   lt_cv_deplibs_check_method=pass_all
4728   ;;
4729
4730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4731   lt_cv_deplibs_check_method=pass_all
4732   ;;
4733
4734 sysv4 | sysv4.3*)
4735   case $host_vendor in
4736   motorola)
4737     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]'
4738     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4739     ;;
4740   ncr)
4741     lt_cv_deplibs_check_method=pass_all
4742     ;;
4743   sequent)
4744     lt_cv_file_magic_cmd='/bin/file'
4745     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4746     ;;
4747   sni)
4748     lt_cv_file_magic_cmd='/bin/file'
4749     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4750     lt_cv_file_magic_test_file=/lib/libc.so
4751     ;;
4752   siemens)
4753     lt_cv_deplibs_check_method=pass_all
4754     ;;
4755   pc)
4756     lt_cv_deplibs_check_method=pass_all
4757     ;;
4758   esac
4759   ;;
4760
4761 tpf*)
4762   lt_cv_deplibs_check_method=pass_all
4763   ;;
4764 esac
4765
4766 fi
4767 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4768 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4769 file_magic_cmd=$lt_cv_file_magic_cmd
4770 deplibs_check_method=$lt_cv_deplibs_check_method
4771 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784 if test -n "$ac_tool_prefix"; then
4785   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4786 set dummy ${ac_tool_prefix}ar; ac_word=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_AR+set}" = set; then
4790   echo $ECHO_N "(cached) $ECHO_C" >&6
4791 else
4792   if test -n "$AR"; then
4793   ac_cv_prog_AR="$AR" # Let the user override the test.
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4797 do
4798   IFS=$as_save_IFS
4799   test -z "$as_dir" && as_dir=.
4800   for ac_exec_ext in '' $ac_executable_extensions; do
4801   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802     ac_cv_prog_AR="${ac_tool_prefix}ar"
4803     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4804     break 2
4805   fi
4806 done
4807 done
4808
4809 fi
4810 fi
4811 AR=$ac_cv_prog_AR
4812 if test -n "$AR"; then
4813   echo "$as_me:$LINENO: result: $AR" >&5
4814 echo "${ECHO_T}$AR" >&6
4815 else
4816   echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820 fi
4821 if test -z "$ac_cv_prog_AR"; then
4822   ac_ct_AR=$AR
4823   # Extract the first word of "ar", so it can be a program name with args.
4824 set dummy ar; ac_word=$2
4825 echo "$as_me:$LINENO: checking for $ac_word" >&5
4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4828   echo $ECHO_N "(cached) $ECHO_C" >&6
4829 else
4830   if test -n "$ac_ct_AR"; then
4831   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4835 do
4836   IFS=$as_save_IFS
4837   test -z "$as_dir" && as_dir=.
4838   for ac_exec_ext in '' $ac_executable_extensions; do
4839   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840     ac_cv_prog_ac_ct_AR="ar"
4841     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842     break 2
4843   fi
4844 done
4845 done
4846
4847   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4848 fi
4849 fi
4850 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4851 if test -n "$ac_ct_AR"; then
4852   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4853 echo "${ECHO_T}$ac_ct_AR" >&6
4854 else
4855   echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4857 fi
4858
4859   AR=$ac_ct_AR
4860 else
4861   AR="$ac_cv_prog_AR"
4862 fi
4863
4864 test -z "$AR" && AR=ar
4865 test -z "$AR_FLAGS" && AR_FLAGS=cru
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877 if test -n "$ac_tool_prefix"; then
4878   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4879 set dummy ${ac_tool_prefix}strip; ac_word=$2
4880 echo "$as_me:$LINENO: checking for $ac_word" >&5
4881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4882 if test "${ac_cv_prog_STRIP+set}" = set; then
4883   echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885   if test -n "$STRIP"; then
4886   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4887 else
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 for as_dir in $PATH
4890 do
4891   IFS=$as_save_IFS
4892   test -z "$as_dir" && as_dir=.
4893   for ac_exec_ext in '' $ac_executable_extensions; do
4894   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4896     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897     break 2
4898   fi
4899 done
4900 done
4901
4902 fi
4903 fi
4904 STRIP=$ac_cv_prog_STRIP
4905 if test -n "$STRIP"; then
4906   echo "$as_me:$LINENO: result: $STRIP" >&5
4907 echo "${ECHO_T}$STRIP" >&6
4908 else
4909   echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4911 fi
4912
4913 fi
4914 if test -z "$ac_cv_prog_STRIP"; then
4915   ac_ct_STRIP=$STRIP
4916   # Extract the first word of "strip", so it can be a program name with args.
4917 set dummy strip; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4921   echo $ECHO_N "(cached) $ECHO_C" >&6
4922 else
4923   if test -n "$ac_ct_STRIP"; then
4924   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4928 do
4929   IFS=$as_save_IFS
4930   test -z "$as_dir" && as_dir=.
4931   for ac_exec_ext in '' $ac_executable_extensions; do
4932   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933     ac_cv_prog_ac_ct_STRIP="strip"
4934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4935     break 2
4936   fi
4937 done
4938 done
4939
4940   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4941 fi
4942 fi
4943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4944 if test -n "$ac_ct_STRIP"; then
4945   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4946 echo "${ECHO_T}$ac_ct_STRIP" >&6
4947 else
4948   echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4950 fi
4951
4952   STRIP=$ac_ct_STRIP
4953 else
4954   STRIP="$ac_cv_prog_STRIP"
4955 fi
4956
4957 test -z "$STRIP" && STRIP=:
4958
4959
4960
4961
4962
4963
4964 if test -n "$ac_tool_prefix"; then
4965   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4966 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4967 echo "$as_me:$LINENO: checking for $ac_word" >&5
4968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4969 if test "${ac_cv_prog_RANLIB+set}" = set; then
4970   echo $ECHO_N "(cached) $ECHO_C" >&6
4971 else
4972   if test -n "$RANLIB"; then
4973   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4974 else
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH
4977 do
4978   IFS=$as_save_IFS
4979   test -z "$as_dir" && as_dir=.
4980   for ac_exec_ext in '' $ac_executable_extensions; do
4981   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4983     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4984     break 2
4985   fi
4986 done
4987 done
4988
4989 fi
4990 fi
4991 RANLIB=$ac_cv_prog_RANLIB
4992 if test -n "$RANLIB"; then
4993   echo "$as_me:$LINENO: result: $RANLIB" >&5
4994 echo "${ECHO_T}$RANLIB" >&6
4995 else
4996   echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6
4998 fi
4999
5000 fi
5001 if test -z "$ac_cv_prog_RANLIB"; then
5002   ac_ct_RANLIB=$RANLIB
5003   # Extract the first word of "ranlib", so it can be a program name with args.
5004 set dummy ranlib; ac_word=$2
5005 echo "$as_me:$LINENO: checking for $ac_word" >&5
5006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5007 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5008   echo $ECHO_N "(cached) $ECHO_C" >&6
5009 else
5010   if test -n "$ac_ct_RANLIB"; then
5011   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5012 else
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 for as_dir in $PATH
5015 do
5016   IFS=$as_save_IFS
5017   test -z "$as_dir" && as_dir=.
5018   for ac_exec_ext in '' $ac_executable_extensions; do
5019   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020     ac_cv_prog_ac_ct_RANLIB="ranlib"
5021     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5022     break 2
5023   fi
5024 done
5025 done
5026
5027   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5028 fi
5029 fi
5030 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5031 if test -n "$ac_ct_RANLIB"; then
5032   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5033 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5034 else
5035   echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5037 fi
5038
5039   RANLIB=$ac_ct_RANLIB
5040 else
5041   RANLIB="$ac_cv_prog_RANLIB"
5042 fi
5043
5044 test -z "$RANLIB" && RANLIB=:
5045
5046
5047
5048
5049
5050
5051 # Determine commands to create old-style static archives.
5052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5053 old_postinstall_cmds='chmod 644 $oldlib'
5054 old_postuninstall_cmds=
5055
5056 if test -n "$RANLIB"; then
5057   case $host_os in
5058   openbsd*)
5059     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5060     ;;
5061   *)
5062     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5063     ;;
5064   esac
5065   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5066 fi
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101 # If no C compiler was specified, use CC.
5102 LTCC=${LTCC-"$CC"}
5103
5104 # If no C compiler flags were specified, use CFLAGS.
5105 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5106
5107 # Allow CC to be a program name with arguments.
5108 compiler=$CC
5109
5110
5111 # Check for command to grab the raw symbol name followed by C symbol from nm.
5112 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5113 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5114 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5115   echo $ECHO_N "(cached) $ECHO_C" >&6
5116 else
5117
5118 # These are sane defaults that work on at least a few old systems.
5119 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5120
5121 # Character class describing NM global symbol codes.
5122 symcode='[BCDEGRST]'
5123
5124 # Regexp to match symbols that can be accessed directly from C.
5125 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5126
5127 # Define system-specific variables.
5128 case $host_os in
5129 aix*)
5130   symcode='[BCDT]'
5131   ;;
5132 cygwin* | mingw* | pw32*)
5133   symcode='[ABCDGISTW]'
5134   ;;
5135 hpux*)
5136   if test "$host_cpu" = ia64; then
5137     symcode='[ABCDEGRST]'
5138   fi
5139   ;;
5140 irix* | nonstopux*)
5141   symcode='[BCDEGRST]'
5142   ;;
5143 osf*)
5144   symcode='[BCDEGQRST]'
5145   ;;
5146 solaris*)
5147   symcode='[BDRT]'
5148   ;;
5149 sco3.2v5*)
5150   symcode='[DT]'
5151   ;;
5152 sysv4.2uw2*)
5153   symcode='[DT]'
5154   ;;
5155 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5156   symcode='[ABDT]'
5157   ;;
5158 sysv4)
5159   symcode='[DFNSTU]'
5160   ;;
5161 esac
5162
5163 # If we're using GNU nm, then use its standard symbol codes.
5164 case `$NM -V 2>&1` in
5165 *GNU* | *'with BFD'*)
5166   symcode='[ABCDGIRSTW]' ;;
5167 esac
5168
5169 # Transform an extracted symbol line into a proper C declaration.
5170 # Some systems (esp. on ia64) link data and code symbols differently,
5171 # so use this general approach.
5172 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5173
5174 # Transform an extracted symbol line into symbol name and symbol address
5175 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5176
5177 # Handle CRLF in mingw tool chain
5178 opt_cr=
5179 case $build_os in
5180 mingw*)
5181   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5182   ;;
5183 esac
5184
5185 # Try without a prefix underscore, then with it.
5186 for ac_symprfx in "" "_"; do
5187
5188   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5189   symxfrm="\\1 $ac_symprfx\\2 \\2"
5190
5191   # Write the raw and C identifiers.
5192   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5193     # Fake it for dumpbin and say T for any non-static function
5194     # and D for any global variable.
5195     # Also find C++ and __fastcall symbols from MSVC++,
5196     # which start with @ or ?.
5197     lt_cv_sys_global_symbol_pipe="$AWK '"\
5198 "     {last_section=section; section=\$ 3};"\
5199 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5200 "     \$ 0!~/External *\|/{next};"\
5201 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5202 "     {if(hide[section]) next};"\
5203 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5204 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5205 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5206 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5207 "     ' prfx=^$ac_symprfx"
5208   else
5209     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5210   fi
5211
5212   # Check to see that the pipe works correctly.
5213   pipe_works=no
5214
5215   rm -f conftest*
5216   cat > conftest.$ac_ext <<_LT_EOF
5217 #ifdef __cplusplus
5218 extern "C" {
5219 #endif
5220 char nm_test_var;
5221 void nm_test_func(void);
5222 void nm_test_func(void){}
5223 #ifdef __cplusplus
5224 }
5225 #endif
5226 int main(){nm_test_var='a';nm_test_func();return(0);}
5227 _LT_EOF
5228
5229   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230   (eval $ac_compile) 2>&5
5231   ac_status=$?
5232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233   (exit $ac_status); }; then
5234     # Now try to grab the symbols.
5235     nlist=conftest.nm
5236     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5237   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5238   ac_status=$?
5239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240   (exit $ac_status); } && test -s "$nlist"; then
5241       # Try sorting and uniquifying the output.
5242       if sort "$nlist" | uniq > "$nlist"T; then
5243         mv -f "$nlist"T "$nlist"
5244       else
5245         rm -f "$nlist"T
5246       fi
5247
5248       # Make sure that we snagged all the symbols we need.
5249       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5250         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5251           cat <<_LT_EOF > conftest.$ac_ext
5252 #ifdef __cplusplus
5253 extern "C" {
5254 #endif
5255
5256 _LT_EOF
5257           # Now generate the symbol file.
5258           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5259
5260           cat <<_LT_EOF >> conftest.$ac_ext
5261
5262 /* The mapping between symbol names and symbols.  */
5263 const struct {
5264   const char *name;
5265   void       *address;
5266 }
5267 lt__PROGRAM__LTX_preloaded_symbols[] =
5268 {
5269   { "@PROGRAM@", (void *) 0 },
5270 _LT_EOF
5271           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5272           cat <<\_LT_EOF >> conftest.$ac_ext
5273   {0, (void *) 0}
5274 };
5275
5276 /* This works around a problem in FreeBSD linker */
5277 #ifdef FREEBSD_WORKAROUND
5278 static const void *lt_preloaded_setup() {
5279   return lt__PROGRAM__LTX_preloaded_symbols;
5280 }
5281 #endif
5282
5283 #ifdef __cplusplus
5284 }
5285 #endif
5286 _LT_EOF
5287           # Now try linking the two files.
5288           mv conftest.$ac_objext conftstm.$ac_objext
5289           lt_save_LIBS="$LIBS"
5290           lt_save_CFLAGS="$CFLAGS"
5291           LIBS="conftstm.$ac_objext"
5292           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5293           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5294   (eval $ac_link) 2>&5
5295   ac_status=$?
5296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5298             pipe_works=yes
5299           fi
5300           LIBS="$lt_save_LIBS"
5301           CFLAGS="$lt_save_CFLAGS"
5302         else
5303           echo "cannot find nm_test_func in $nlist" >&5
5304         fi
5305       else
5306         echo "cannot find nm_test_var in $nlist" >&5
5307       fi
5308     else
5309       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5310     fi
5311   else
5312     echo "$progname: failed program was:" >&5
5313     cat conftest.$ac_ext >&5
5314   fi
5315   rm -f conftest* conftst*
5316
5317   # Do not use the global_symbol_pipe unless it works.
5318   if test "$pipe_works" = yes; then
5319     break
5320   else
5321     lt_cv_sys_global_symbol_pipe=
5322   fi
5323 done
5324
5325 fi
5326
5327 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5328   lt_cv_sys_global_symbol_to_cdecl=
5329 fi
5330 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5331   echo "$as_me:$LINENO: result: failed" >&5
5332 echo "${ECHO_T}failed" >&6
5333 else
5334   echo "$as_me:$LINENO: result: ok" >&5
5335 echo "${ECHO_T}ok" >&6
5336 fi
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5355 if test "${enable_libtool_lock+set}" = set; then
5356   enableval="$enable_libtool_lock"
5357
5358 fi;
5359 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5360
5361 # Some flags need to be propagated to the compiler or linker for good
5362 # libtool support.
5363 case $host in
5364 ia64-*-hpux*)
5365   # Find out which ABI we are using.
5366   echo 'int i;' > conftest.$ac_ext
5367   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5368   (eval $ac_compile) 2>&5
5369   ac_status=$?
5370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371   (exit $ac_status); }; then
5372     case `/usr/bin/file conftest.$ac_objext` in
5373       *ELF-32*)
5374         HPUX_IA64_MODE="32"
5375         ;;
5376       *ELF-64*)
5377         HPUX_IA64_MODE="64"
5378         ;;
5379     esac
5380   fi
5381   rm -rf conftest*
5382   ;;
5383 *-*-irix6*)
5384   # Find out which ABI we are using.
5385   echo '#line 5385 "configure"' > conftest.$ac_ext
5386   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5387   (eval $ac_compile) 2>&5
5388   ac_status=$?
5389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390   (exit $ac_status); }; then
5391     if test "$lt_cv_prog_gnu_ld" = yes; then
5392       case `/usr/bin/file conftest.$ac_objext` in
5393         *32-bit*)
5394           LD="${LD-ld} -melf32bsmip"
5395           ;;
5396         *N32*)
5397           LD="${LD-ld} -melf32bmipn32"
5398           ;;
5399         *64-bit*)
5400           LD="${LD-ld} -melf64bmip"
5401         ;;
5402       esac
5403     else
5404       case `/usr/bin/file conftest.$ac_objext` in
5405         *32-bit*)
5406           LD="${LD-ld} -32"
5407           ;;
5408         *N32*)
5409           LD="${LD-ld} -n32"
5410           ;;
5411         *64-bit*)
5412           LD="${LD-ld} -64"
5413           ;;
5414       esac
5415     fi
5416   fi
5417   rm -rf conftest*
5418   ;;
5419
5420 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5421 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5422   # Find out which ABI we are using.
5423   echo 'int i;' > conftest.$ac_ext
5424   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5425   (eval $ac_compile) 2>&5
5426   ac_status=$?
5427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428   (exit $ac_status); }; then
5429     case `/usr/bin/file conftest.o` in
5430       *32-bit*)
5431         case $host in
5432           x86_64-*kfreebsd*-gnu)
5433             LD="${LD-ld} -m elf_i386_fbsd"
5434             ;;
5435           x86_64-*linux*)
5436             LD="${LD-ld} -m elf_i386"
5437             ;;
5438           ppc64-*linux*|powerpc64-*linux*)
5439             LD="${LD-ld} -m elf32ppclinux"
5440             ;;
5441           s390x-*linux*)
5442             LD="${LD-ld} -m elf_s390"
5443             ;;
5444           sparc64-*linux*)
5445             LD="${LD-ld} -m elf32_sparc"
5446             ;;
5447         esac
5448         ;;
5449       *64-bit*)
5450         case $host in
5451           x86_64-*kfreebsd*-gnu)
5452             LD="${LD-ld} -m elf_x86_64_fbsd"
5453             ;;
5454           x86_64-*linux*)
5455             LD="${LD-ld} -m elf_x86_64"
5456             ;;
5457           ppc*-*linux*|powerpc*-*linux*)
5458             LD="${LD-ld} -m elf64ppc"
5459             ;;
5460           s390*-*linux*|s390*-*tpf*)
5461             LD="${LD-ld} -m elf64_s390"
5462             ;;
5463           sparc*-*linux*)
5464             LD="${LD-ld} -m elf64_sparc"
5465             ;;
5466         esac
5467         ;;
5468     esac
5469   fi
5470   rm -rf conftest*
5471   ;;
5472
5473 *-*-sco3.2v5*)
5474   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5475   SAVE_CFLAGS="$CFLAGS"
5476   CFLAGS="$CFLAGS -belf"
5477   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5478 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5479 if test "${lt_cv_cc_needs_belf+set}" = set; then
5480   echo $ECHO_N "(cached) $ECHO_C" >&6
5481 else
5482   ac_ext=c
5483 ac_cpp='$CPP $CPPFLAGS'
5484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5487
5488      if test x$gcc_no_link = xyes; then
5489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5491    { (exit 1); exit 1; }; }
5492 fi
5493 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h.  */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h.  */
5499
5500 int
5501 main ()
5502 {
5503
5504   ;
5505   return 0;
5506 }
5507 _ACEOF
5508 rm -f conftest.$ac_objext conftest$ac_exeext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5510   (eval $ac_link) 2>conftest.er1
5511   ac_status=$?
5512   grep -v '^ *+' conftest.er1 >conftest.err
5513   rm -f conftest.er1
5514   cat conftest.err >&5
5515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516   (exit $ac_status); } &&
5517          { ac_try='test -z "$ac_c_werror_flag"
5518                          || test ! -s conftest.err'
5519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520   (eval $ac_try) 2>&5
5521   ac_status=$?
5522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523   (exit $ac_status); }; } &&
5524          { ac_try='test -s conftest$ac_exeext'
5525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526   (eval $ac_try) 2>&5
5527   ac_status=$?
5528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529   (exit $ac_status); }; }; then
5530   lt_cv_cc_needs_belf=yes
5531 else
5532   echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5534
5535 lt_cv_cc_needs_belf=no
5536 fi
5537 rm -f conftest.err conftest.$ac_objext \
5538       conftest$ac_exeext conftest.$ac_ext
5539      ac_ext=c
5540 ac_cpp='$CPP $CPPFLAGS'
5541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5544
5545 fi
5546 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5547 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5548   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5549     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5550     CFLAGS="$SAVE_CFLAGS"
5551   fi
5552   ;;
5553 sparc*-*solaris*)
5554   # Find out which ABI we are using.
5555   echo 'int i;' > conftest.$ac_ext
5556   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557   (eval $ac_compile) 2>&5
5558   ac_status=$?
5559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560   (exit $ac_status); }; then
5561     case `/usr/bin/file conftest.o` in
5562     *64-bit*)
5563       case $lt_cv_prog_gnu_ld in
5564       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5565       *)    LD="${LD-ld} -64" ;;
5566       esac
5567       ;;
5568     esac
5569   fi
5570   rm -rf conftest*
5571   ;;
5572 esac
5573
5574 need_locks="$enable_libtool_lock"
5575
5576 ac_ext=c
5577 ac_cpp='$CPP $CPPFLAGS'
5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5581 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5582 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5583 # On Suns, sometimes $CPP names a directory.
5584 if test -n "$CPP" && test -d "$CPP"; then
5585   CPP=
5586 fi
5587 if test -z "$CPP"; then
5588   if test "${ac_cv_prog_CPP+set}" = set; then
5589   echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591       # Double quotes because CPP needs to be expanded
5592     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5593     do
5594       ac_preproc_ok=false
5595 for ac_c_preproc_warn_flag in '' yes
5596 do
5597   # Use a header file that comes with gcc, so configuring glibc
5598   # with a fresh cross-compiler works.
5599   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5600   # <limits.h> exists even on freestanding compilers.
5601   # On the NeXT, cc -E runs the code through the compiler's parser,
5602   # not just through cpp. "Syntax error" is here to catch this case.
5603   cat >conftest.$ac_ext <<_ACEOF
5604 /* confdefs.h.  */
5605 _ACEOF
5606 cat confdefs.h >>conftest.$ac_ext
5607 cat >>conftest.$ac_ext <<_ACEOF
5608 /* end confdefs.h.  */
5609 #ifdef __STDC__
5610 # include <limits.h>
5611 #else
5612 # include <assert.h>
5613 #endif
5614                      Syntax error
5615 _ACEOF
5616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5617   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5618   ac_status=$?
5619   grep -v '^ *+' conftest.er1 >conftest.err
5620   rm -f conftest.er1
5621   cat conftest.err >&5
5622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623   (exit $ac_status); } >/dev/null; then
5624   if test -s conftest.err; then
5625     ac_cpp_err=$ac_c_preproc_warn_flag
5626     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5627   else
5628     ac_cpp_err=
5629   fi
5630 else
5631   ac_cpp_err=yes
5632 fi
5633 if test -z "$ac_cpp_err"; then
5634   :
5635 else
5636   echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5638
5639   # Broken: fails on valid input.
5640 continue
5641 fi
5642 rm -f conftest.err conftest.$ac_ext
5643
5644   # OK, works on sane cases.  Now check whether non-existent headers
5645   # can be detected and how.
5646   cat >conftest.$ac_ext <<_ACEOF
5647 /* confdefs.h.  */
5648 _ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h.  */
5652 #include <ac_nonexistent.h>
5653 _ACEOF
5654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5655   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5656   ac_status=$?
5657   grep -v '^ *+' conftest.er1 >conftest.err
5658   rm -f conftest.er1
5659   cat conftest.err >&5
5660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661   (exit $ac_status); } >/dev/null; then
5662   if test -s conftest.err; then
5663     ac_cpp_err=$ac_c_preproc_warn_flag
5664     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5665   else
5666     ac_cpp_err=
5667   fi
5668 else
5669   ac_cpp_err=yes
5670 fi
5671 if test -z "$ac_cpp_err"; then
5672   # Broken: success on invalid input.
5673 continue
5674 else
5675   echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5677
5678   # Passes both tests.
5679 ac_preproc_ok=:
5680 break
5681 fi
5682 rm -f conftest.err conftest.$ac_ext
5683
5684 done
5685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5686 rm -f conftest.err conftest.$ac_ext
5687 if $ac_preproc_ok; then
5688   break
5689 fi
5690
5691     done
5692     ac_cv_prog_CPP=$CPP
5693
5694 fi
5695   CPP=$ac_cv_prog_CPP
5696 else
5697   ac_cv_prog_CPP=$CPP
5698 fi
5699 echo "$as_me:$LINENO: result: $CPP" >&5
5700 echo "${ECHO_T}$CPP" >&6
5701 ac_preproc_ok=false
5702 for ac_c_preproc_warn_flag in '' yes
5703 do
5704   # Use a header file that comes with gcc, so configuring glibc
5705   # with a fresh cross-compiler works.
5706   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707   # <limits.h> exists even on freestanding compilers.
5708   # On the NeXT, cc -E runs the code through the compiler's parser,
5709   # not just through cpp. "Syntax error" is here to catch this case.
5710   cat >conftest.$ac_ext <<_ACEOF
5711 /* confdefs.h.  */
5712 _ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h.  */
5716 #ifdef __STDC__
5717 # include <limits.h>
5718 #else
5719 # include <assert.h>
5720 #endif
5721                      Syntax error
5722 _ACEOF
5723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5724   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5725   ac_status=$?
5726   grep -v '^ *+' conftest.er1 >conftest.err
5727   rm -f conftest.er1
5728   cat conftest.err >&5
5729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730   (exit $ac_status); } >/dev/null; then
5731   if test -s conftest.err; then
5732     ac_cpp_err=$ac_c_preproc_warn_flag
5733     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5734   else
5735     ac_cpp_err=
5736   fi
5737 else
5738   ac_cpp_err=yes
5739 fi
5740 if test -z "$ac_cpp_err"; then
5741   :
5742 else
5743   echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.$ac_ext >&5
5745
5746   # Broken: fails on valid input.
5747 continue
5748 fi
5749 rm -f conftest.err conftest.$ac_ext
5750
5751   # OK, works on sane cases.  Now check whether non-existent headers
5752   # can be detected and how.
5753   cat >conftest.$ac_ext <<_ACEOF
5754 /* confdefs.h.  */
5755 _ACEOF
5756 cat confdefs.h >>conftest.$ac_ext
5757 cat >>conftest.$ac_ext <<_ACEOF
5758 /* end confdefs.h.  */
5759 #include <ac_nonexistent.h>
5760 _ACEOF
5761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5763   ac_status=$?
5764   grep -v '^ *+' conftest.er1 >conftest.err
5765   rm -f conftest.er1
5766   cat conftest.err >&5
5767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768   (exit $ac_status); } >/dev/null; then
5769   if test -s conftest.err; then
5770     ac_cpp_err=$ac_c_preproc_warn_flag
5771     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5772   else
5773     ac_cpp_err=
5774   fi
5775 else
5776   ac_cpp_err=yes
5777 fi
5778 if test -z "$ac_cpp_err"; then
5779   # Broken: success on invalid input.
5780 continue
5781 else
5782   echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5784
5785   # Passes both tests.
5786 ac_preproc_ok=:
5787 break
5788 fi
5789 rm -f conftest.err conftest.$ac_ext
5790
5791 done
5792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5793 rm -f conftest.err conftest.$ac_ext
5794 if $ac_preproc_ok; then
5795   :
5796 else
5797   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5798 See \`config.log' for more details." >&5
5799 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5800 See \`config.log' for more details." >&2;}
5801    { (exit 1); exit 1; }; }
5802 fi
5803
5804 ac_ext=c
5805 ac_cpp='$CPP $CPPFLAGS'
5806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5809
5810
5811 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5813 if test "${ac_cv_header_stdc+set}" = set; then
5814   echo $ECHO_N "(cached) $ECHO_C" >&6
5815 else
5816   cat >conftest.$ac_ext <<_ACEOF
5817 /* confdefs.h.  */
5818 _ACEOF
5819 cat confdefs.h >>conftest.$ac_ext
5820 cat >>conftest.$ac_ext <<_ACEOF
5821 /* end confdefs.h.  */
5822 #include <stdlib.h>
5823 #include <stdarg.h>
5824 #include <string.h>
5825 #include <float.h>
5826
5827 int
5828 main ()
5829 {
5830
5831   ;
5832   return 0;
5833 }
5834 _ACEOF
5835 rm -f conftest.$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837   (eval $ac_compile) 2>conftest.er1
5838   ac_status=$?
5839   grep -v '^ *+' conftest.er1 >conftest.err
5840   rm -f conftest.er1
5841   cat conftest.err >&5
5842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843   (exit $ac_status); } &&
5844          { ac_try='test -z "$ac_c_werror_flag"
5845                          || test ! -s conftest.err'
5846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847   (eval $ac_try) 2>&5
5848   ac_status=$?
5849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850   (exit $ac_status); }; } &&
5851          { ac_try='test -s conftest.$ac_objext'
5852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853   (eval $ac_try) 2>&5
5854   ac_status=$?
5855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856   (exit $ac_status); }; }; then
5857   ac_cv_header_stdc=yes
5858 else
5859   echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5861
5862 ac_cv_header_stdc=no
5863 fi
5864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5865
5866 if test $ac_cv_header_stdc = yes; then
5867   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5868   cat >conftest.$ac_ext <<_ACEOF
5869 /* confdefs.h.  */
5870 _ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h.  */
5874 #include <string.h>
5875
5876 _ACEOF
5877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5878   $EGREP "memchr" >/dev/null 2>&1; then
5879   :
5880 else
5881   ac_cv_header_stdc=no
5882 fi
5883 rm -f conftest*
5884
5885 fi
5886
5887 if test $ac_cv_header_stdc = yes; then
5888   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5889   cat >conftest.$ac_ext <<_ACEOF
5890 /* confdefs.h.  */
5891 _ACEOF
5892 cat confdefs.h >>conftest.$ac_ext
5893 cat >>conftest.$ac_ext <<_ACEOF
5894 /* end confdefs.h.  */
5895 #include <stdlib.h>
5896
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899   $EGREP "free" >/dev/null 2>&1; then
5900   :
5901 else
5902   ac_cv_header_stdc=no
5903 fi
5904 rm -f conftest*
5905
5906 fi
5907
5908 if test $ac_cv_header_stdc = yes; then
5909   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5910   if test "$cross_compiling" = yes; then
5911   :
5912 else
5913   cat >conftest.$ac_ext <<_ACEOF
5914 /* confdefs.h.  */
5915 _ACEOF
5916 cat confdefs.h >>conftest.$ac_ext
5917 cat >>conftest.$ac_ext <<_ACEOF
5918 /* end confdefs.h.  */
5919 #include <ctype.h>
5920 #if ((' ' & 0x0FF) == 0x020)
5921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5923 #else
5924 # define ISLOWER(c) \
5925                    (('a' <= (c) && (c) <= 'i') \
5926                      || ('j' <= (c) && (c) <= 'r') \
5927                      || ('s' <= (c) && (c) <= 'z'))
5928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5929 #endif
5930
5931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5932 int
5933 main ()
5934 {
5935   int i;
5936   for (i = 0; i < 256; i++)
5937     if (XOR (islower (i), ISLOWER (i))
5938         || toupper (i) != TOUPPER (i))
5939       exit(2);
5940   exit (0);
5941 }
5942 _ACEOF
5943 rm -f conftest$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945   (eval $ac_link) 2>&5
5946   ac_status=$?
5947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950   (eval $ac_try) 2>&5
5951   ac_status=$?
5952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953   (exit $ac_status); }; }; then
5954   :
5955 else
5956   echo "$as_me: program exited with status $ac_status" >&5
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.$ac_ext >&5
5959
5960 ( exit $ac_status )
5961 ac_cv_header_stdc=no
5962 fi
5963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5964 fi
5965 fi
5966 fi
5967 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5968 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5969 if test $ac_cv_header_stdc = yes; then
5970
5971 cat >>confdefs.h <<\_ACEOF
5972 #define STDC_HEADERS 1
5973 _ACEOF
5974
5975 fi
5976
5977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5988                   inttypes.h stdint.h unistd.h
5989 do
5990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994   echo $ECHO_N "(cached) $ECHO_C" >&6
5995 else
5996   cat >conftest.$ac_ext <<_ACEOF
5997 /* confdefs.h.  */
5998 _ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h.  */
6002 $ac_includes_default
6003
6004 #include <$ac_header>
6005 _ACEOF
6006 rm -f conftest.$ac_objext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6008   (eval $ac_compile) 2>conftest.er1
6009   ac_status=$?
6010   grep -v '^ *+' conftest.er1 >conftest.err
6011   rm -f conftest.er1
6012   cat conftest.err >&5
6013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014   (exit $ac_status); } &&
6015          { ac_try='test -z "$ac_c_werror_flag"
6016                          || test ! -s conftest.err'
6017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018   (eval $ac_try) 2>&5
6019   ac_status=$?
6020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021   (exit $ac_status); }; } &&
6022          { ac_try='test -s conftest.$ac_objext'
6023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024   (eval $ac_try) 2>&5
6025   ac_status=$?
6026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027   (exit $ac_status); }; }; then
6028   eval "$as_ac_Header=yes"
6029 else
6030   echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6032
6033 eval "$as_ac_Header=no"
6034 fi
6035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6036 fi
6037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6040   cat >>confdefs.h <<_ACEOF
6041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6042 _ACEOF
6043
6044 fi
6045
6046 done
6047
6048
6049
6050 for ac_header in dlfcn.h
6051 do
6052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6053 echo "$as_me:$LINENO: checking for $ac_header" >&5
6054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6056   echo $ECHO_N "(cached) $ECHO_C" >&6
6057 else
6058   cat >conftest.$ac_ext <<_ACEOF
6059 /* confdefs.h.  */
6060 _ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h.  */
6064 $ac_includes_default
6065
6066 #include <$ac_header>
6067 _ACEOF
6068 rm -f conftest.$ac_objext
6069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6070   (eval $ac_compile) 2>conftest.er1
6071   ac_status=$?
6072   grep -v '^ *+' conftest.er1 >conftest.err
6073   rm -f conftest.er1
6074   cat conftest.err >&5
6075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076   (exit $ac_status); } &&
6077          { ac_try='test -z "$ac_c_werror_flag"
6078                          || test ! -s conftest.err'
6079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080   (eval $ac_try) 2>&5
6081   ac_status=$?
6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083   (exit $ac_status); }; } &&
6084          { ac_try='test -s conftest.$ac_objext'
6085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086   (eval $ac_try) 2>&5
6087   ac_status=$?
6088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089   (exit $ac_status); }; }; then
6090   eval "$as_ac_Header=yes"
6091 else
6092   echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.$ac_ext >&5
6094
6095 eval "$as_ac_Header=no"
6096 fi
6097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6098 fi
6099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6102   cat >>confdefs.h <<_ACEOF
6103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6104 _ACEOF
6105
6106 fi
6107
6108 done
6109
6110
6111
6112 # This can be used to rebuild libtool when needed
6113 LIBTOOL_DEPS="$ltmain"
6114
6115 # Always use our own libtool.
6116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142 test -z "$LN_S" && LN_S="ln -s"
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157 if test -n "${ZSH_VERSION+set}" ; then
6158    setopt NO_GLOB_SUBST
6159 fi
6160
6161 echo "$as_me:$LINENO: checking for objdir" >&5
6162 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6163 if test "${lt_cv_objdir+set}" = set; then
6164   echo $ECHO_N "(cached) $ECHO_C" >&6
6165 else
6166   rm -f .libs 2>/dev/null
6167 mkdir .libs 2>/dev/null
6168 if test -d .libs; then
6169   lt_cv_objdir=.libs
6170 else
6171   # MS-DOS does not allow filenames that begin with a dot.
6172   lt_cv_objdir=_libs
6173 fi
6174 rmdir .libs 2>/dev/null
6175 fi
6176 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6177 echo "${ECHO_T}$lt_cv_objdir" >&6
6178 objdir=$lt_cv_objdir
6179
6180
6181
6182
6183
6184 cat >>confdefs.h <<_ACEOF
6185 #define LT_OBJDIR "$lt_cv_objdir/"
6186 _ACEOF
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204 case $host_os in
6205 aix3*)
6206   # AIX sometimes has problems with the GCC collect2 program.  For some
6207   # reason, if we set the COLLECT_NAMES environment variable, the problems
6208   # vanish in a puff of smoke.
6209   if test "X${COLLECT_NAMES+set}" != Xset; then
6210     COLLECT_NAMES=
6211     export COLLECT_NAMES
6212   fi
6213   ;;
6214 esac
6215
6216 # Sed substitution that helps us do robust quoting.  It backslashifies
6217 # metacharacters that are still active within double-quoted strings.
6218 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6219
6220 # Same as above, but do not quote variable references.
6221 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6222
6223 # Sed substitution to delay expansion of an escaped shell variable in a
6224 # double_quote_subst'ed string.
6225 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6226
6227 # Sed substitution to delay expansion of an escaped single quote.
6228 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6229
6230 # Sed substitution to avoid accidental globbing in evaled expressions
6231 no_glob_subst='s/\*/\\\*/g'
6232
6233 # Global variables:
6234 ofile=libtool
6235 can_build_shared=yes
6236
6237 # All known linkers require a `.a' archive for static linking (except MSVC,
6238 # which needs '.lib').
6239 libext=a
6240
6241 with_gnu_ld="$lt_cv_prog_gnu_ld"
6242
6243 old_CC="$CC"
6244 old_CFLAGS="$CFLAGS"
6245
6246 # Set sane defaults for various variables
6247 test -z "$CC" && CC=cc
6248 test -z "$LTCC" && LTCC=$CC
6249 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6250 test -z "$LD" && LD=ld
6251 test -z "$ac_objext" && ac_objext=o
6252
6253 for cc_temp in $compiler""; do
6254   case $cc_temp in
6255     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6256     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6257     \-*) ;;
6258     *) break;;
6259   esac
6260 done
6261 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6262
6263
6264 # Only perform the check for file, if the check method requires it
6265 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6266 case $deplibs_check_method in
6267 file_magic*)
6268   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6269     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6270 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6271 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6272   echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274   case $MAGIC_CMD in
6275 [\\/*] |  ?:[\\/]*)
6276   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6277   ;;
6278 *)
6279   lt_save_MAGIC_CMD="$MAGIC_CMD"
6280   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6281   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6282   for ac_dir in $ac_dummy; do
6283     IFS="$lt_save_ifs"
6284     test -z "$ac_dir" && ac_dir=.
6285     if test -f $ac_dir/${ac_tool_prefix}file; then
6286       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6287       if test -n "$file_magic_test_file"; then
6288         case $deplibs_check_method in
6289         "file_magic "*)
6290           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6291           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6292           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6293             $EGREP "$file_magic_regex" > /dev/null; then
6294             :
6295           else
6296             cat <<_LT_EOF 1>&2
6297
6298 *** Warning: the command libtool uses to detect shared libraries,
6299 *** $file_magic_cmd, produces output that libtool cannot recognize.
6300 *** The result is that libtool may fail to recognize shared libraries
6301 *** as such.  This will affect the creation of libtool libraries that
6302 *** depend on shared libraries, but programs linked with such libtool
6303 *** libraries will work regardless of this problem.  Nevertheless, you
6304 *** may want to report the problem to your system manager and/or to
6305 *** bug-libtool@gnu.org
6306
6307 _LT_EOF
6308           fi ;;
6309         esac
6310       fi
6311       break
6312     fi
6313   done
6314   IFS="$lt_save_ifs"
6315   MAGIC_CMD="$lt_save_MAGIC_CMD"
6316   ;;
6317 esac
6318 fi
6319
6320 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6321 if test -n "$MAGIC_CMD"; then
6322   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6323 echo "${ECHO_T}$MAGIC_CMD" >&6
6324 else
6325   echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6327 fi
6328
6329
6330
6331
6332
6333 if test -z "$lt_cv_path_MAGIC_CMD"; then
6334   if test -n "$ac_tool_prefix"; then
6335     echo "$as_me:$LINENO: checking for file" >&5
6336 echo $ECHO_N "checking for file... $ECHO_C" >&6
6337 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6338   echo $ECHO_N "(cached) $ECHO_C" >&6
6339 else
6340   case $MAGIC_CMD in
6341 [\\/*] |  ?:[\\/]*)
6342   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6343   ;;
6344 *)
6345   lt_save_MAGIC_CMD="$MAGIC_CMD"
6346   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6347   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6348   for ac_dir in $ac_dummy; do
6349     IFS="$lt_save_ifs"
6350     test -z "$ac_dir" && ac_dir=.
6351     if test -f $ac_dir/file; then
6352       lt_cv_path_MAGIC_CMD="$ac_dir/file"
6353       if test -n "$file_magic_test_file"; then
6354         case $deplibs_check_method in
6355         "file_magic "*)
6356           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6357           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6358           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6359             $EGREP "$file_magic_regex" > /dev/null; then
6360             :
6361           else
6362             cat <<_LT_EOF 1>&2
6363
6364 *** Warning: the command libtool uses to detect shared libraries,
6365 *** $file_magic_cmd, produces output that libtool cannot recognize.
6366 *** The result is that libtool may fail to recognize shared libraries
6367 *** as such.  This will affect the creation of libtool libraries that
6368 *** depend on shared libraries, but programs linked with such libtool
6369 *** libraries will work regardless of this problem.  Nevertheless, you
6370 *** may want to report the problem to your system manager and/or to
6371 *** bug-libtool@gnu.org
6372
6373 _LT_EOF
6374           fi ;;
6375         esac
6376       fi
6377       break
6378     fi
6379   done
6380   IFS="$lt_save_ifs"
6381   MAGIC_CMD="$lt_save_MAGIC_CMD"
6382   ;;
6383 esac
6384 fi
6385
6386 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6387 if test -n "$MAGIC_CMD"; then
6388   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6389 echo "${ECHO_T}$MAGIC_CMD" >&6
6390 else
6391   echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6393 fi
6394
6395
6396   else
6397     MAGIC_CMD=:
6398   fi
6399 fi
6400
6401   fi
6402   ;;
6403 esac
6404
6405 # Use C for the default configuration in the libtool script
6406
6407 lt_save_CC="$CC"
6408 ac_ext=c
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6413
6414
6415 # Source file extension for C test sources.
6416 ac_ext=c
6417
6418 # Object file extension for compiled C test sources.
6419 objext=o
6420 objext=$objext
6421
6422 # Code to be used in simple compile tests
6423 lt_simple_compile_test_code="int some_variable = 0;"
6424
6425 # Code to be used in simple link tests
6426 lt_simple_link_test_code='int main(){return(0);}'
6427
6428
6429
6430
6431
6432
6433
6434 # If no C compiler was specified, use CC.
6435 LTCC=${LTCC-"$CC"}
6436
6437 # If no C compiler flags were specified, use CFLAGS.
6438 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6439
6440 # Allow CC to be a program name with arguments.
6441 compiler=$CC
6442
6443 # Save the default compiler, since it gets overwritten when the other
6444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6445 compiler_DEFAULT=$CC
6446
6447 # save warnings/boilerplate of simple test code
6448 ac_outfile=conftest.$ac_objext
6449 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6451 _lt_compiler_boilerplate=`cat conftest.err`
6452 $RM conftest*
6453
6454 ac_outfile=conftest.$ac_objext
6455 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6457 _lt_linker_boilerplate=`cat conftest.err`
6458 $RM conftest*
6459
6460
6461 ## CAVEAT EMPTOR:
6462 ## There is no encapsulation within the following macros, do not change
6463 ## the running order or otherwise move them around unless you know exactly
6464 ## what you are doing...
6465 if test -n "$compiler"; then
6466
6467 lt_prog_compiler_no_builtin_flag=
6468
6469 if test "$GCC" = yes; then
6470   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6471
6472   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6473 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6475   echo $ECHO_N "(cached) $ECHO_C" >&6
6476 else
6477   lt_cv_prog_compiler_rtti_exceptions=no
6478    ac_outfile=conftest.$ac_objext
6479    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6480    lt_compiler_flag="-fno-rtti -fno-exceptions"
6481    # Insert the option either (1) after the last *FLAGS variable, or
6482    # (2) before a word containing "conftest.", or (3) at the end.
6483    # Note that $ac_compile itself does not contain backslashes and begins
6484    # with a dollar sign (not a hyphen), so the echo should work correctly.
6485    # The option is referenced via a variable to avoid confusing sed.
6486    lt_compile=`echo "$ac_compile" | $SED \
6487    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6488    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6489    -e 's:$: $lt_compiler_flag:'`
6490    (eval echo "\"\$as_me:6490: $lt_compile\"" >&5)
6491    (eval "$lt_compile" 2>conftest.err)
6492    ac_status=$?
6493    cat conftest.err >&5
6494    echo "$as_me:6494: \$? = $ac_status" >&5
6495    if (exit $ac_status) && test -s "$ac_outfile"; then
6496      # The compiler can only warn and ignore the option if not recognized
6497      # So say no if there are warnings other than the usual output.
6498      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6499      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6500      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6501        lt_cv_prog_compiler_rtti_exceptions=yes
6502      fi
6503    fi
6504    $RM conftest*
6505
6506 fi
6507 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6508 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6509
6510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6511     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6512 else
6513     :
6514 fi
6515
6516 fi
6517
6518
6519
6520
6521
6522
6523   lt_prog_compiler_wl=
6524 lt_prog_compiler_pic=
6525 lt_prog_compiler_static=
6526
6527 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6528 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6529
6530   if test "$GCC" = yes; then
6531     lt_prog_compiler_wl='-Wl,'
6532     lt_prog_compiler_static='-static'
6533
6534     case $host_os in
6535       aix*)
6536       # All AIX code is PIC.
6537       if test "$host_cpu" = ia64; then
6538         # AIX 5 now supports IA64 processor
6539         lt_prog_compiler_static='-Bstatic'
6540       fi
6541       ;;
6542
6543     amigaos*)
6544       if test "$host_cpu" = m68k; then
6545         # FIXME: we need at least 68020 code to build shared libraries, but
6546         # adding the `-m68020' flag to GCC prevents building anything better,
6547         # like `-m68040'.
6548         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6549       fi
6550       ;;
6551
6552     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6553       # PIC is the default for these OSes.
6554       ;;
6555
6556     mingw* | cygwin* | pw32* | os2*)
6557       # This hack is so that the source file can tell whether it is being
6558       # built for inclusion in a dll (and should export symbols for example).
6559       # Although the cygwin gcc ignores -fPIC, still need this for old-style
6560       # (--disable-auto-import) libraries
6561       lt_prog_compiler_pic='-DDLL_EXPORT'
6562       ;;
6563
6564     darwin* | rhapsody*)
6565       # PIC is the default on this platform
6566       # Common symbols not allowed in MH_DYLIB files
6567       lt_prog_compiler_pic='-fno-common'
6568       ;;
6569
6570     hpux*)
6571       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6572       # not for PA HP-UX.
6573       case $host_cpu in
6574       hppa*64*|ia64*)
6575         # +Z the default
6576         ;;
6577       *)
6578         lt_prog_compiler_pic='-fPIC'
6579         ;;
6580       esac
6581       ;;
6582
6583     interix[3-9]*)
6584       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6585       # Instead, we relocate shared libraries at runtime.
6586       ;;
6587
6588     msdosdjgpp*)
6589       # Just because we use GCC doesn't mean we suddenly get shared libraries
6590       # on systems that don't support them.
6591       lt_prog_compiler_can_build_shared=no
6592       enable_shared=no
6593       ;;
6594
6595     *nto* | *qnx*)
6596       # QNX uses GNU C++, but need to define -shared option too, otherwise
6597       # it will coredump.
6598       lt_prog_compiler_pic='-fPIC -shared'
6599       ;;
6600
6601     sysv4*MP*)
6602       if test -d /usr/nec; then
6603         lt_prog_compiler_pic=-Kconform_pic
6604       fi
6605       ;;
6606
6607     *)
6608       lt_prog_compiler_pic='-fPIC'
6609       ;;
6610     esac
6611   else
6612     # PORTME Check for flag to pass linker flags through the system compiler.
6613     case $host_os in
6614     aix*)
6615       lt_prog_compiler_wl='-Wl,'
6616       if test "$host_cpu" = ia64; then
6617         # AIX 5 now supports IA64 processor
6618         lt_prog_compiler_static='-Bstatic'
6619       else
6620         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6621       fi
6622       ;;
6623     darwin*)
6624       # PIC is the default on this platform
6625       # Common symbols not allowed in MH_DYLIB files
6626       case $cc_basename in
6627       xlc*)
6628         lt_prog_compiler_pic='-qnocommon'
6629         lt_prog_compiler_wl='-Wl,'
6630         ;;
6631       esac
6632       ;;
6633
6634     mingw* | cygwin* | pw32* | os2*)
6635       # This hack is so that the source file can tell whether it is being
6636       # built for inclusion in a dll (and should export symbols for example).
6637       lt_prog_compiler_pic='-DDLL_EXPORT'
6638       ;;
6639
6640     hpux9* | hpux10* | hpux11*)
6641       lt_prog_compiler_wl='-Wl,'
6642       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6643       # not for PA HP-UX.
6644       case $host_cpu in
6645       hppa*64*|ia64*)
6646         # +Z the default
6647         ;;
6648       *)
6649         lt_prog_compiler_pic='+Z'
6650         ;;
6651       esac
6652       # Is there a better lt_prog_compiler_static that works with the bundled CC?
6653       lt_prog_compiler_static='${wl}-a ${wl}archive'
6654       ;;
6655
6656     irix5* | irix6* | nonstopux*)
6657       lt_prog_compiler_wl='-Wl,'
6658       # PIC (with -KPIC) is the default.
6659       lt_prog_compiler_static='-non_shared'
6660       ;;
6661
6662     linux* | k*bsd*-gnu)
6663       case $cc_basename in
6664       icc* | ecc*)
6665         lt_prog_compiler_wl='-Wl,'
6666         lt_prog_compiler_pic='-KPIC'
6667         lt_prog_compiler_static='-static'
6668         ;;
6669       pgcc* | pgf77* | pgf90* | pgf95*)
6670         # Portland Group compilers (*not* the Pentium gcc compiler,
6671         # which looks to be a dead project)
6672         lt_prog_compiler_wl='-Wl,'
6673         lt_prog_compiler_pic='-fpic'
6674         lt_prog_compiler_static='-Bstatic'
6675         ;;
6676       ccc*)
6677         lt_prog_compiler_wl='-Wl,'
6678         # All Alpha code is PIC.
6679         lt_prog_compiler_static='-non_shared'
6680         ;;
6681       *)
6682         case `$CC -V 2>&1 | sed 5q` in
6683         *Sun\ C*)
6684           # Sun C 5.9
6685           lt_prog_compiler_pic='-KPIC'
6686           lt_prog_compiler_static='-Bstatic'
6687           lt_prog_compiler_wl='-Wl,'
6688           ;;
6689         *Sun\ F*)
6690           # Sun Fortran 8.3 passes all unrecognized flags to the linker
6691           lt_prog_compiler_pic='-KPIC'
6692           lt_prog_compiler_static='-Bstatic'
6693           lt_prog_compiler_wl=''
6694           ;;
6695         esac
6696         ;;
6697       esac
6698       ;;
6699
6700     newsos6)
6701       lt_prog_compiler_pic='-KPIC'
6702       lt_prog_compiler_static='-Bstatic'
6703       ;;
6704
6705     *nto* | *qnx*)
6706       # QNX uses GNU C++, but need to define -shared option too, otherwise
6707       # it will coredump.
6708       lt_prog_compiler_pic='-fPIC -shared'
6709       ;;
6710
6711     osf3* | osf4* | osf5*)
6712       lt_prog_compiler_wl='-Wl,'
6713       # All OSF/1 code is PIC.
6714       lt_prog_compiler_static='-non_shared'
6715       ;;
6716
6717     rdos*)
6718       lt_prog_compiler_static='-non_shared'
6719       ;;
6720
6721     solaris*)
6722       lt_prog_compiler_pic='-KPIC'
6723       lt_prog_compiler_static='-Bstatic'
6724       case $cc_basename in
6725       f77* | f90* | f95*)
6726         lt_prog_compiler_wl='-Qoption ld ';;
6727       *)
6728         lt_prog_compiler_wl='-Wl,';;
6729       esac
6730       ;;
6731
6732     sunos4*)
6733       lt_prog_compiler_wl='-Qoption ld '
6734       lt_prog_compiler_pic='-PIC'
6735       lt_prog_compiler_static='-Bstatic'
6736       ;;
6737
6738     sysv4 | sysv4.2uw2* | sysv4.3*)
6739       lt_prog_compiler_wl='-Wl,'
6740       lt_prog_compiler_pic='-KPIC'
6741       lt_prog_compiler_static='-Bstatic'
6742       ;;
6743
6744     sysv4*MP*)
6745       if test -d /usr/nec ;then
6746         lt_prog_compiler_pic='-Kconform_pic'
6747         lt_prog_compiler_static='-Bstatic'
6748       fi
6749       ;;
6750
6751     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6752       lt_prog_compiler_wl='-Wl,'
6753       lt_prog_compiler_pic='-KPIC'
6754       lt_prog_compiler_static='-Bstatic'
6755       ;;
6756
6757     unicos*)
6758       lt_prog_compiler_wl='-Wl,'
6759       lt_prog_compiler_can_build_shared=no
6760       ;;
6761
6762     uts4*)
6763       lt_prog_compiler_pic='-pic'
6764       lt_prog_compiler_static='-Bstatic'
6765       ;;
6766
6767     *)
6768       lt_prog_compiler_can_build_shared=no
6769       ;;
6770     esac
6771   fi
6772
6773 case $host_os in
6774   # For platforms which do not support PIC, -DPIC is meaningless:
6775   *djgpp*)
6776     lt_prog_compiler_pic=
6777     ;;
6778   *)
6779     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6780     ;;
6781 esac
6782 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6783 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6784
6785
6786
6787
6788
6789
6790 #
6791 # Check to make sure the PIC flag actually works.
6792 #
6793 if test -n "$lt_prog_compiler_pic"; then
6794   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6795 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6796 if test "${lt_prog_compiler_pic_works+set}" = set; then
6797   echo $ECHO_N "(cached) $ECHO_C" >&6
6798 else
6799   lt_prog_compiler_pic_works=no
6800    ac_outfile=conftest.$ac_objext
6801    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6802    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6803    # Insert the option either (1) after the last *FLAGS variable, or
6804    # (2) before a word containing "conftest.", or (3) at the end.
6805    # Note that $ac_compile itself does not contain backslashes and begins
6806    # with a dollar sign (not a hyphen), so the echo should work correctly.
6807    # The option is referenced via a variable to avoid confusing sed.
6808    lt_compile=`echo "$ac_compile" | $SED \
6809    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6810    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6811    -e 's:$: $lt_compiler_flag:'`
6812    (eval echo "\"\$as_me:6812: $lt_compile\"" >&5)
6813    (eval "$lt_compile" 2>conftest.err)
6814    ac_status=$?
6815    cat conftest.err >&5
6816    echo "$as_me:6816: \$? = $ac_status" >&5
6817    if (exit $ac_status) && test -s "$ac_outfile"; then
6818      # The compiler can only warn and ignore the option if not recognized
6819      # So say no if there are warnings other than the usual output.
6820      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6821      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6822      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6823        lt_prog_compiler_pic_works=yes
6824      fi
6825    fi
6826    $RM conftest*
6827
6828 fi
6829 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6830 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6831
6832 if test x"$lt_prog_compiler_pic_works" = xyes; then
6833     case $lt_prog_compiler_pic in
6834      "" | " "*) ;;
6835      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6836      esac
6837 else
6838     lt_prog_compiler_pic=
6839      lt_prog_compiler_can_build_shared=no
6840 fi
6841
6842 fi
6843
6844
6845
6846
6847
6848
6849 #
6850 # Check to make sure the static flag actually works.
6851 #
6852 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6853 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6854 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6855 if test "${lt_prog_compiler_static_works+set}" = set; then
6856   echo $ECHO_N "(cached) $ECHO_C" >&6
6857 else
6858   lt_prog_compiler_static_works=no
6859    save_LDFLAGS="$LDFLAGS"
6860    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6861    echo "$lt_simple_link_test_code" > conftest.$ac_ext
6862    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6863      # The linker can only warn and ignore the option if not recognized
6864      # So say no if there are warnings
6865      if test -s conftest.err; then
6866        # Append any errors to the config.log.
6867        cat conftest.err 1>&5
6868        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6869        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6870        if diff conftest.exp conftest.er2 >/dev/null; then
6871          lt_prog_compiler_static_works=yes
6872        fi
6873      else
6874        lt_prog_compiler_static_works=yes
6875      fi
6876    fi
6877    $RM conftest*
6878    LDFLAGS="$save_LDFLAGS"
6879
6880 fi
6881 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6882 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6883
6884 if test x"$lt_prog_compiler_static_works" = xyes; then
6885     :
6886 else
6887     lt_prog_compiler_static=
6888 fi
6889
6890
6891
6892
6893
6894
6895
6896   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6897 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6898 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6899   echo $ECHO_N "(cached) $ECHO_C" >&6
6900 else
6901   lt_cv_prog_compiler_c_o=no
6902    $RM -r conftest 2>/dev/null
6903    mkdir conftest
6904    cd conftest
6905    mkdir out
6906    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6907
6908    lt_compiler_flag="-o out/conftest2.$ac_objext"
6909    # Insert the option either (1) after the last *FLAGS variable, or
6910    # (2) before a word containing "conftest.", or (3) at the end.
6911    # Note that $ac_compile itself does not contain backslashes and begins
6912    # with a dollar sign (not a hyphen), so the echo should work correctly.
6913    lt_compile=`echo "$ac_compile" | $SED \
6914    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6915    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6916    -e 's:$: $lt_compiler_flag:'`
6917    (eval echo "\"\$as_me:6917: $lt_compile\"" >&5)
6918    (eval "$lt_compile" 2>out/conftest.err)
6919    ac_status=$?
6920    cat out/conftest.err >&5
6921    echo "$as_me:6921: \$? = $ac_status" >&5
6922    if (exit $ac_status) && test -s out/conftest2.$ac_objext
6923    then
6924      # The compiler can only warn and ignore the option if not recognized
6925      # So say no if there are warnings
6926      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6927      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6928      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6929        lt_cv_prog_compiler_c_o=yes
6930      fi
6931    fi
6932    chmod u+w . 2>&5
6933    $RM conftest*
6934    # SGI C++ compiler will create directory out/ii_files/ for
6935    # template instantiation
6936    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6937    $RM out/* && rmdir out
6938    cd ..
6939    $RM -r conftest
6940    $RM conftest*
6941
6942 fi
6943 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6944 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6945
6946
6947
6948
6949
6950
6951   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6952 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6953 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6954   echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956   lt_cv_prog_compiler_c_o=no
6957    $RM -r conftest 2>/dev/null
6958    mkdir conftest
6959    cd conftest
6960    mkdir out
6961    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6962
6963    lt_compiler_flag="-o out/conftest2.$ac_objext"
6964    # Insert the option either (1) after the last *FLAGS variable, or
6965    # (2) before a word containing "conftest.", or (3) at the end.
6966    # Note that $ac_compile itself does not contain backslashes and begins
6967    # with a dollar sign (not a hyphen), so the echo should work correctly.
6968    lt_compile=`echo "$ac_compile" | $SED \
6969    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6970    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6971    -e 's:$: $lt_compiler_flag:'`
6972    (eval echo "\"\$as_me:6972: $lt_compile\"" >&5)
6973    (eval "$lt_compile" 2>out/conftest.err)
6974    ac_status=$?
6975    cat out/conftest.err >&5
6976    echo "$as_me:6976: \$? = $ac_status" >&5
6977    if (exit $ac_status) && test -s out/conftest2.$ac_objext
6978    then
6979      # The compiler can only warn and ignore the option if not recognized
6980      # So say no if there are warnings
6981      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6982      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6983      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6984        lt_cv_prog_compiler_c_o=yes
6985      fi
6986    fi
6987    chmod u+w . 2>&5
6988    $RM conftest*
6989    # SGI C++ compiler will create directory out/ii_files/ for
6990    # template instantiation
6991    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6992    $RM out/* && rmdir out
6993    cd ..
6994    $RM -r conftest
6995    $RM conftest*
6996
6997 fi
6998 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6999 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7000
7001
7002
7003
7004 hard_links="nottested"
7005 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7006   # do not overwrite the value of need_locks provided by the user
7007   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7008 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7009   hard_links=yes
7010   $RM conftest*
7011   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7012   touch conftest.a
7013   ln conftest.a conftest.b 2>&5 || hard_links=no
7014   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7015   echo "$as_me:$LINENO: result: $hard_links" >&5
7016 echo "${ECHO_T}$hard_links" >&6
7017   if test "$hard_links" = no; then
7018     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7019 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7020     need_locks=warn
7021   fi
7022 else
7023   need_locks=no
7024 fi
7025
7026
7027
7028
7029
7030
7031   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7032 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7033
7034   runpath_var=
7035   allow_undefined_flag=
7036   always_export_symbols=no
7037   archive_cmds=
7038   archive_expsym_cmds=
7039   compiler_needs_object=no
7040   enable_shared_with_static_runtimes=no
7041   export_dynamic_flag_spec=
7042   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7043   hardcode_automatic=no
7044   hardcode_direct=no
7045   hardcode_direct_absolute=no
7046   hardcode_libdir_flag_spec=
7047   hardcode_libdir_flag_spec_ld=
7048   hardcode_libdir_separator=
7049   hardcode_minus_L=no
7050   hardcode_shlibpath_var=unsupported
7051   inherit_rpath=no
7052   link_all_deplibs=unknown
7053   module_cmds=
7054   module_expsym_cmds=
7055   old_archive_from_new_cmds=
7056   old_archive_from_expsyms_cmds=
7057   thread_safe_flag_spec=
7058   whole_archive_flag_spec=
7059   # include_expsyms should be a list of space-separated symbols to be *always*
7060   # included in the symbol list
7061   include_expsyms=
7062   # exclude_expsyms can be an extended regexp of symbols to exclude
7063   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7064   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7065   # as well as any symbol that contains `d'.
7066   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7067   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7068   # platforms (ab)use it in PIC code, but their linkers get confused if
7069   # the symbol is explicitly referenced.  Since portable code cannot
7070   # rely on this symbol name, it's probably fine to never include it in
7071   # preloaded symbol tables.
7072   extract_expsyms_cmds=
7073
7074   case $host_os in
7075   cygwin* | mingw* | pw32*)
7076     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7077     # When not using gcc, we currently assume that we are using
7078     # Microsoft Visual C++.
7079     if test "$GCC" != yes; then
7080       with_gnu_ld=no
7081     fi
7082     ;;
7083   interix*)
7084     # we just hope/assume this is gcc and not c89 (= MSVC++)
7085     with_gnu_ld=yes
7086     ;;
7087   openbsd*)
7088     with_gnu_ld=no
7089     ;;
7090   esac
7091
7092   ld_shlibs=yes
7093   if test "$with_gnu_ld" = yes; then
7094     # If archive_cmds runs LD, not CC, wlarc should be empty
7095     wlarc='${wl}'
7096
7097     # Set some defaults for GNU ld with shared library support. These
7098     # are reset later if shared libraries are not supported. Putting them
7099     # here allows them to be overridden if necessary.
7100     runpath_var=LD_RUN_PATH
7101     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7102     export_dynamic_flag_spec='${wl}--export-dynamic'
7103     # ancient GNU ld didn't support --whole-archive et. al.
7104     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7105       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7106     else
7107       whole_archive_flag_spec=
7108     fi
7109     supports_anon_versioning=no
7110     case `$LD -v 2>&1` in
7111       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7112       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7113       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7114       *\ 2.11.*) ;; # other 2.11 versions
7115       *) supports_anon_versioning=yes ;;
7116     esac
7117
7118     # See if GNU ld supports shared libraries.
7119     case $host_os in
7120     aix3* | aix4* | aix5*)
7121       # On AIX/PPC, the GNU linker is very broken
7122       if test "$host_cpu" != ia64; then
7123         ld_shlibs=no
7124         cat <<_LT_EOF 1>&2
7125
7126 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7127 *** to be unable to reliably create shared libraries on AIX.
7128 *** Therefore, libtool is disabling shared libraries support.  If you
7129 *** really care for shared libraries, you may want to modify your PATH
7130 *** so that a non-GNU linker is found, and then restart.
7131
7132 _LT_EOF
7133       fi
7134       ;;
7135
7136     amigaos*)
7137       if test "$host_cpu" = m68k; then
7138         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)'
7139         hardcode_libdir_flag_spec='-L$libdir'
7140         hardcode_minus_L=yes
7141       fi
7142
7143       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7144       # that the semantics of dynamic libraries on AmigaOS, at least up
7145       # to version 4, is to share data among multiple programs linked
7146       # with the same dynamic library.  Since this doesn't match the
7147       # behavior of shared libraries on other platforms, we can't use
7148       # them.
7149       ld_shlibs=no
7150       ;;
7151
7152     beos*)
7153       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7154         allow_undefined_flag=unsupported
7155         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7156         # support --undefined.  This deserves some investigation.  FIXME
7157         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7158       else
7159         ld_shlibs=no
7160       fi
7161       ;;
7162
7163     cygwin* | mingw* | pw32*)
7164       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7165       # as there is no search path for DLLs.
7166       hardcode_libdir_flag_spec='-L$libdir'
7167       allow_undefined_flag=unsupported
7168       always_export_symbols=no
7169       enable_shared_with_static_runtimes=yes
7170       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7171
7172       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7173         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7174         # If the export-symbols file already is a .def file (1st line
7175         # is EXPORTS), use it as is; otherwise, prepend...
7176         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7177           cp $export_symbols $output_objdir/$soname.def;
7178         else
7179           echo EXPORTS > $output_objdir/$soname.def;
7180           cat $export_symbols >> $output_objdir/$soname.def;
7181         fi~
7182         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7183       else
7184         ld_shlibs=no
7185       fi
7186       ;;
7187
7188     interix[3-9]*)
7189       hardcode_direct=no
7190       hardcode_shlibpath_var=no
7191       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7192       export_dynamic_flag_spec='${wl}-E'
7193       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7194       # Instead, shared libraries are loaded at an image base (0x10000000 by
7195       # default) and relocated if they conflict, which is a slow very memory
7196       # consuming and fragmenting process.  To avoid this, we pick a random,
7197       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7198       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7199       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7200       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'
7201       ;;
7202
7203     gnu* | linux* | tpf* | k*bsd*-gnu)
7204       tmp_diet=no
7205       if test "$host_os" = linux-dietlibc; then
7206         case $cc_basename in
7207           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7208         esac
7209       fi
7210       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7211          && test "$tmp_diet" = no
7212       then
7213         tmp_addflag=
7214         case $cc_basename,$host_cpu in
7215         pgcc*)                          # Portland Group C compiler
7216           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'
7217           tmp_addflag=' $pic_flag'
7218           ;;
7219         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7220           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'
7221           tmp_addflag=' $pic_flag -Mnomain' ;;
7222         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7223           tmp_addflag=' -i_dynamic' ;;
7224         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7225           tmp_addflag=' -i_dynamic -nofor_main' ;;
7226         ifc* | ifort*)                  # Intel Fortran compiler
7227           tmp_addflag=' -nofor_main' ;;
7228         esac
7229         case `$CC -V 2>&1 | sed 5q` in
7230         *Sun\ C*)                       # Sun C 5.9
7231           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'
7232           compiler_needs_object=yes
7233           tmp_sharedflag='-G' ;;
7234         *Sun\ F*)                       # Sun Fortran 8.3
7235           tmp_sharedflag='-G' ;;
7236         *)
7237           tmp_sharedflag='-shared' ;;
7238         esac
7239         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7240
7241         if test "x$supports_anon_versioning" = xyes; then
7242           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7243             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7244             echo "local: *; };" >> $output_objdir/$libname.ver~
7245             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7246         fi
7247       else
7248         ld_shlibs=no
7249       fi
7250       ;;
7251
7252     netbsd*)
7253       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7254         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7255         wlarc=
7256       else
7257         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7258         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7259       fi
7260       ;;
7261
7262     solaris*)
7263       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7264         ld_shlibs=no
7265         cat <<_LT_EOF 1>&2
7266
7267 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7268 *** create shared libraries on Solaris systems.  Therefore, libtool
7269 *** is disabling shared libraries support.  We urge you to upgrade GNU
7270 *** binutils to release 2.9.1 or newer.  Another option is to modify
7271 *** your PATH or compiler configuration so that the native linker is
7272 *** used, and then restart.
7273
7274 _LT_EOF
7275       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7276         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7277         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7278       else
7279         ld_shlibs=no
7280       fi
7281       ;;
7282
7283     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7284       case `$LD -v 2>&1` in
7285         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7286         ld_shlibs=no
7287         cat <<_LT_EOF 1>&2
7288
7289 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7290 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7291 *** is disabling shared libraries support.  We urge you to upgrade GNU
7292 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7293 *** your PATH or compiler configuration so that the native linker is
7294 *** used, and then restart.
7295
7296 _LT_EOF
7297         ;;
7298         *)
7299           # For security reasons, it is highly recommended that you always
7300           # use absolute paths for naming shared libraries, and exclude the
7301           # DT_RUNPATH tag from executables and libraries.  But doing so
7302           # requires that you compile everything twice, which is a pain.
7303           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7304             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7305             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7306             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7307           else
7308             ld_shlibs=no
7309           fi
7310         ;;
7311       esac
7312       ;;
7313
7314     sunos4*)
7315       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7316       wlarc=
7317       hardcode_direct=yes
7318       hardcode_shlibpath_var=no
7319       ;;
7320
7321     *)
7322       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7323         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7324         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7325       else
7326         ld_shlibs=no
7327       fi
7328       ;;
7329     esac
7330
7331     if test "$ld_shlibs" = no; then
7332       runpath_var=
7333       hardcode_libdir_flag_spec=
7334       export_dynamic_flag_spec=
7335       whole_archive_flag_spec=
7336     fi
7337   else
7338     # PORTME fill in a description of your system's linker (not GNU ld)
7339     case $host_os in
7340     aix3*)
7341       allow_undefined_flag=unsupported
7342       always_export_symbols=yes
7343       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'
7344       # Note: this linker hardcodes the directories in LIBPATH if there
7345       # are no directories specified by -L.
7346       hardcode_minus_L=yes
7347       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7348         # Neither direct hardcoding nor static linking is supported with a
7349         # broken collect2.
7350         hardcode_direct=unsupported
7351       fi
7352       ;;
7353
7354     aix4* | aix5*)
7355       if test "$host_cpu" = ia64; then
7356         # On IA64, the linker does run time linking by default, so we don't
7357         # have to do anything special.
7358         aix_use_runtimelinking=no
7359         exp_sym_flag='-Bexport'
7360         no_entry_flag=""
7361       else
7362         # If we're using GNU nm, then we don't want the "-C" option.
7363         # -C means demangle to AIX nm, but means don't demangle with GNU nm
7364         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7365           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'
7366         else
7367           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'
7368         fi
7369         aix_use_runtimelinking=no
7370
7371         # Test if we are trying to use run time linking or normal
7372         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7373         # need to do runtime linking.
7374         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7375           for ld_flag in $LDFLAGS; do
7376           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7377             aix_use_runtimelinking=yes
7378             break
7379           fi
7380           done
7381           ;;
7382         esac
7383
7384         exp_sym_flag='-bexport'
7385         no_entry_flag='-bnoentry'
7386       fi
7387
7388       # When large executables or shared objects are built, AIX ld can
7389       # have problems creating the table of contents.  If linking a library
7390       # or program results in "error TOC overflow" add -mminimal-toc to
7391       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7392       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7393
7394       archive_cmds=''
7395       hardcode_direct=yes
7396       hardcode_direct_absolute=yes
7397       hardcode_libdir_separator=':'
7398       link_all_deplibs=yes
7399       file_list_spec='${wl}-f,'
7400
7401       if test "$GCC" = yes; then
7402         case $host_os in aix4.[012]|aix4.[012].*)
7403         # We only want to do this on AIX 4.2 and lower, the check
7404         # below for broken collect2 doesn't work under 4.3+
7405           collect2name=`${CC} -print-prog-name=collect2`
7406           if test -f "$collect2name" &&
7407            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7408           then
7409           # We have reworked collect2
7410           :
7411           else
7412           # We have old collect2
7413           hardcode_direct=unsupported
7414           # It fails to find uninstalled libraries when the uninstalled
7415           # path is not listed in the libpath.  Setting hardcode_minus_L
7416           # to unsupported forces relinking
7417           hardcode_minus_L=yes
7418           hardcode_libdir_flag_spec='-L$libdir'
7419           hardcode_libdir_separator=
7420           fi
7421           ;;
7422         esac
7423         shared_flag='-shared'
7424         if test "$aix_use_runtimelinking" = yes; then
7425           shared_flag="$shared_flag "'${wl}-G'
7426         fi
7427       else
7428         # not using gcc
7429         if test "$host_cpu" = ia64; then
7430         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7431         # chokes on -Wl,-G. The following line is correct:
7432           shared_flag='-G'
7433         else
7434           if test "$aix_use_runtimelinking" = yes; then
7435             shared_flag='${wl}-G'
7436           else
7437             shared_flag='${wl}-bM:SRE'
7438           fi
7439         fi
7440       fi
7441
7442       # It seems that -bexpall does not export symbols beginning with
7443       # underscore (_), so it is better to generate a list of symbols to export.
7444       always_export_symbols=yes
7445       if test "$aix_use_runtimelinking" = yes; then
7446         # Warning - without using the other runtime loading flags (-brtl),
7447         # -berok will link without error, but may produce a broken library.
7448         allow_undefined_flag='-berok'
7449         # Determine the default libpath from the value encoded in an
7450         # empty executable.
7451         if test x$gcc_no_link = xyes; then
7452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7454    { (exit 1); exit 1; }; }
7455 fi
7456 cat >conftest.$ac_ext <<_ACEOF
7457 /* confdefs.h.  */
7458 _ACEOF
7459 cat confdefs.h >>conftest.$ac_ext
7460 cat >>conftest.$ac_ext <<_ACEOF
7461 /* end confdefs.h.  */
7462
7463 int
7464 main ()
7465 {
7466
7467   ;
7468   return 0;
7469 }
7470 _ACEOF
7471 rm -f conftest.$ac_objext conftest$ac_exeext
7472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7473   (eval $ac_link) 2>conftest.er1
7474   ac_status=$?
7475   grep -v '^ *+' conftest.er1 >conftest.err
7476   rm -f conftest.er1
7477   cat conftest.err >&5
7478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479   (exit $ac_status); } &&
7480          { ac_try='test -z "$ac_c_werror_flag"
7481                          || test ! -s conftest.err'
7482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483   (eval $ac_try) 2>&5
7484   ac_status=$?
7485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486   (exit $ac_status); }; } &&
7487          { ac_try='test -s conftest$ac_exeext'
7488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489   (eval $ac_try) 2>&5
7490   ac_status=$?
7491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492   (exit $ac_status); }; }; then
7493
7494 lt_aix_libpath_sed='
7495     /Import File Strings/,/^$/ {
7496         /^0/ {
7497             s/^0  *\(.*\)$/\1/
7498             p
7499         }
7500     }'
7501 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7502 # Check for a 64-bit object if we didn't find anything.
7503 if test -z "$aix_libpath"; then
7504   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7505 fi
7506 else
7507   echo "$as_me: failed program was:" >&5
7508 sed 's/^/| /' conftest.$ac_ext >&5
7509
7510 fi
7511 rm -f conftest.err conftest.$ac_objext \
7512       conftest$ac_exeext conftest.$ac_ext
7513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7514
7515         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7516         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"
7517       else
7518         if test "$host_cpu" = ia64; then
7519           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7520           allow_undefined_flag="-z nodefs"
7521           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"
7522         else
7523          # Determine the default libpath from the value encoded in an
7524          # empty executable.
7525          if test x$gcc_no_link = xyes; then
7526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7528    { (exit 1); exit 1; }; }
7529 fi
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h.  */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h.  */
7536
7537 int
7538 main ()
7539 {
7540
7541   ;
7542   return 0;
7543 }
7544 _ACEOF
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7547   (eval $ac_link) 2>conftest.er1
7548   ac_status=$?
7549   grep -v '^ *+' conftest.er1 >conftest.err
7550   rm -f conftest.er1
7551   cat conftest.err >&5
7552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553   (exit $ac_status); } &&
7554          { ac_try='test -z "$ac_c_werror_flag"
7555                          || test ! -s conftest.err'
7556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557   (eval $ac_try) 2>&5
7558   ac_status=$?
7559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560   (exit $ac_status); }; } &&
7561          { ac_try='test -s conftest$ac_exeext'
7562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563   (eval $ac_try) 2>&5
7564   ac_status=$?
7565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566   (exit $ac_status); }; }; then
7567
7568 lt_aix_libpath_sed='
7569     /Import File Strings/,/^$/ {
7570         /^0/ {
7571             s/^0  *\(.*\)$/\1/
7572             p
7573         }
7574     }'
7575 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7576 # Check for a 64-bit object if we didn't find anything.
7577 if test -z "$aix_libpath"; then
7578   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7579 fi
7580 else
7581   echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7583
7584 fi
7585 rm -f conftest.err conftest.$ac_objext \
7586       conftest$ac_exeext conftest.$ac_ext
7587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7588
7589          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7590           # Warning - without using the other run time loading flags,
7591           # -berok will link without error, but may produce a broken library.
7592           no_undefined_flag=' ${wl}-bernotok'
7593           allow_undefined_flag=' ${wl}-berok'
7594           # Exported symbols can be pulled into shared objects from archives
7595           whole_archive_flag_spec='$convenience'
7596           archive_cmds_need_lc=yes
7597           # This is similar to how AIX traditionally builds its shared libraries.
7598           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'
7599         fi
7600       fi
7601       ;;
7602
7603     amigaos*)
7604       if test "$host_cpu" = m68k; then
7605         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)'
7606         hardcode_libdir_flag_spec='-L$libdir'
7607         hardcode_minus_L=yes
7608       fi
7609       # see comment about different semantics on the GNU ld section
7610       ld_shlibs=no
7611       ;;
7612
7613     bsdi[45]*)
7614       export_dynamic_flag_spec=-rdynamic
7615       ;;
7616
7617     cygwin* | mingw* | pw32*)
7618       # When not using gcc, we currently assume that we are using
7619       # Microsoft Visual C++.
7620       # hardcode_libdir_flag_spec is actually meaningless, as there is
7621       # no search path for DLLs.
7622       hardcode_libdir_flag_spec=' '
7623       allow_undefined_flag=unsupported
7624       # Tell ltmain to make .lib files, not .a files.
7625       libext=lib
7626       # Tell ltmain to make .dll files, not .so files.
7627       shrext_cmds=".dll"
7628       # FIXME: Setting linknames here is a bad hack.
7629       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7630       # The linker will automatically build a .lib file if we build a DLL.
7631       old_archive_from_new_cmds='true'
7632       # FIXME: Should let the user specify the lib program.
7633       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7634       fix_srcfile_path='`cygpath -w "$srcfile"`'
7635       enable_shared_with_static_runtimes=yes
7636       ;;
7637
7638     darwin* | rhapsody*)
7639       case $host_os in
7640       rhapsody* | darwin1.[012])
7641         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7642         ;;
7643       *) # Darwin 1.3 on
7644         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7645         10.[012])
7646           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7647           ;;
7648         10.*)
7649           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7650           ;;
7651         esac
7652         ;;
7653       esac
7654       archive_cmds_need_lc=no
7655       hardcode_direct=no
7656       hardcode_automatic=yes
7657       hardcode_shlibpath_var=unsupported
7658       whole_archive_flag_spec=''
7659       link_all_deplibs=yes
7660       if test "$GCC" = yes ; then
7661         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7662   echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else
7664   lt_cv_apple_cc_single_mod=no
7665         if test -z "${LT_MULTI_MODULE}"; then
7666           # By default we will add the -single_module flag. You can override
7667           # by either setting the environment variable LT_MULTI_MODULE
7668           # non-empty at configure time, or by adding -multi-module to the
7669           # link flags.
7670           echo "int foo(void){return 1;}" > conftest.c
7671           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7672               -dynamiclib ${wl}-single_module conftest.c
7673           if test -f libconftest.dylib; then
7674               lt_cv_apple_cc_single_mod=yes
7675               rm libconftest.dylib
7676           fi
7677           rm conftest.$ac_ext
7678         fi
7679 fi
7680
7681         output_verbose_link_cmd=echo
7682         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7683           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7684           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}'
7685         else
7686           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7687           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}'
7688         fi
7689         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7690         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}'
7691       else
7692         case $cc_basename in
7693         xlc*)
7694           output_verbose_link_cmd=echo
7695           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7696           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7697           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7698           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}'
7699           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}'
7700           ;;
7701         *)
7702           ld_shlibs=no
7703           ;;
7704         esac
7705       fi
7706       ;;
7707
7708     dgux*)
7709       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7710       hardcode_libdir_flag_spec='-L$libdir'
7711       hardcode_shlibpath_var=no
7712       ;;
7713
7714     freebsd1*)
7715       ld_shlibs=no
7716       ;;
7717
7718     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7719     # support.  Future versions do this automatically, but an explicit c++rt0.o
7720     # does not break anything, and helps significantly (at the cost of a little
7721     # extra space).
7722     freebsd2.2*)
7723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7724       hardcode_libdir_flag_spec='-R$libdir'
7725       hardcode_direct=yes
7726       hardcode_shlibpath_var=no
7727       ;;
7728
7729     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7730     freebsd2*)
7731       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7732       hardcode_direct=yes
7733       hardcode_minus_L=yes
7734       hardcode_shlibpath_var=no
7735       ;;
7736
7737     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7738     freebsd* | dragonfly*)
7739       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7740       hardcode_libdir_flag_spec='-R$libdir'
7741       hardcode_direct=yes
7742       hardcode_shlibpath_var=no
7743       ;;
7744
7745     hpux9*)
7746       if test "$GCC" = yes; then
7747         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'
7748       else
7749         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'
7750       fi
7751       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7752       hardcode_libdir_separator=:
7753       hardcode_direct=yes
7754
7755       # hardcode_minus_L: Not really in the search PATH,
7756       # but as the default location of the library.
7757       hardcode_minus_L=yes
7758       export_dynamic_flag_spec='${wl}-E'
7759       ;;
7760
7761     hpux10*)
7762       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7763         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7764       else
7765         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7766       fi
7767       if test "$with_gnu_ld" = no; then
7768         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7769         hardcode_libdir_flag_spec_ld='+b $libdir'
7770         hardcode_libdir_separator=:
7771         hardcode_direct=yes
7772         hardcode_direct_absolute=yes
7773         export_dynamic_flag_spec='${wl}-E'
7774         # hardcode_minus_L: Not really in the search PATH,
7775         # but as the default location of the library.
7776         hardcode_minus_L=yes
7777       fi
7778       ;;
7779
7780     hpux11*)
7781       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7782         case $host_cpu in
7783         hppa*64*)
7784           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7785           ;;
7786         ia64*)
7787           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7788           ;;
7789         *)
7790           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7791           ;;
7792         esac
7793       else
7794         case $host_cpu in
7795         hppa*64*)
7796           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7797           ;;
7798         ia64*)
7799           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7800           ;;
7801         *)
7802           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7803           ;;
7804         esac
7805       fi
7806       if test "$with_gnu_ld" = no; then
7807         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7808         hardcode_libdir_separator=:
7809
7810         case $host_cpu in
7811         hppa*64*|ia64*)
7812           hardcode_direct=no
7813           hardcode_shlibpath_var=no
7814           ;;
7815         *)
7816           hardcode_direct=yes
7817           hardcode_direct_absolute=yes
7818           export_dynamic_flag_spec='${wl}-E'
7819
7820           # hardcode_minus_L: Not really in the search PATH,
7821           # but as the default location of the library.
7822           hardcode_minus_L=yes
7823           ;;
7824         esac
7825       fi
7826       ;;
7827
7828     irix5* | irix6* | nonstopux*)
7829       if test "$GCC" = yes; then
7830         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'
7831         # Try to use the -exported_symbol ld option, if it does not
7832         # work, assume that -exports_file does not work either and
7833         # implicitly export all symbols.
7834         save_LDFLAGS="$LDFLAGS"
7835         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7836         if test x$gcc_no_link = xyes; then
7837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7839    { (exit 1); exit 1; }; }
7840 fi
7841 cat >conftest.$ac_ext <<_ACEOF
7842 int foo(void) {}
7843 _ACEOF
7844 rm -f conftest.$ac_objext conftest$ac_exeext
7845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7846   (eval $ac_link) 2>conftest.er1
7847   ac_status=$?
7848   grep -v '^ *+' conftest.er1 >conftest.err
7849   rm -f conftest.er1
7850   cat conftest.err >&5
7851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852   (exit $ac_status); } &&
7853          { ac_try='test -z "$ac_c_werror_flag"
7854                          || test ! -s conftest.err'
7855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7856   (eval $ac_try) 2>&5
7857   ac_status=$?
7858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859   (exit $ac_status); }; } &&
7860          { ac_try='test -s conftest$ac_exeext'
7861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862   (eval $ac_try) 2>&5
7863   ac_status=$?
7864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865   (exit $ac_status); }; }; then
7866   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'
7867
7868 else
7869   echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.$ac_ext >&5
7871
7872 fi
7873 rm -f conftest.err conftest.$ac_objext \
7874       conftest$ac_exeext conftest.$ac_ext
7875         LDFLAGS="$save_LDFLAGS"
7876       else
7877         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'
7878         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'
7879       fi
7880       archive_cmds_need_lc='no'
7881       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7882       hardcode_libdir_separator=:
7883       inherit_rpath=yes
7884       link_all_deplibs=yes
7885       ;;
7886
7887     netbsd*)
7888       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7889         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7890       else
7891         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7892       fi
7893       hardcode_libdir_flag_spec='-R$libdir'
7894       hardcode_direct=yes
7895       hardcode_shlibpath_var=no
7896       ;;
7897
7898     newsos6)
7899       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7900       hardcode_direct=yes
7901       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7902       hardcode_libdir_separator=:
7903       hardcode_shlibpath_var=no
7904       ;;
7905
7906     *nto* | *qnx*)
7907       ;;
7908
7909     openbsd*)
7910       hardcode_direct=yes
7911       hardcode_shlibpath_var=no
7912       hardcode_direct_absolute=yes
7913       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7914         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7915         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7916         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7917         export_dynamic_flag_spec='${wl}-E'
7918       else
7919         case $host_os in
7920         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7921           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7922           hardcode_libdir_flag_spec='-R$libdir'
7923           ;;
7924         *)
7925           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7926           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7927           ;;
7928         esac
7929       fi
7930       ;;
7931
7932     os2*)
7933       hardcode_libdir_flag_spec='-L$libdir'
7934       hardcode_minus_L=yes
7935       allow_undefined_flag=unsupported
7936       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'
7937       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7938       ;;
7939
7940     osf3*)
7941       if test "$GCC" = yes; then
7942         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7943         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'
7944       else
7945         allow_undefined_flag=' -expect_unresolved \*'
7946         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'
7947       fi
7948       archive_cmds_need_lc='no'
7949       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7950       hardcode_libdir_separator=:
7951       ;;
7952
7953     osf4* | osf5*)      # as osf3* with the addition of -msym flag
7954       if test "$GCC" = yes; then
7955         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7956         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'
7957         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7958       else
7959         allow_undefined_flag=' -expect_unresolved \*'
7960         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'
7961         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~
7962         $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'
7963
7964         # Both c and cxx compiler support -rpath directly
7965         hardcode_libdir_flag_spec='-rpath $libdir'
7966       fi
7967       archive_cmds_need_lc='no'
7968       hardcode_libdir_separator=:
7969       ;;
7970
7971     solaris*)
7972       no_undefined_flag=' -z defs'
7973       if test "$GCC" = yes; then
7974         wlarc='${wl}'
7975         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7976         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7977           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7978       else
7979         case `$CC -V 2>&1` in
7980         *"Compilers 5.0"*)
7981           wlarc=''
7982           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7983           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7984           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7985           ;;
7986         *)
7987           wlarc='${wl}'
7988           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7989           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7990           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7991           ;;
7992         esac
7993       fi
7994       hardcode_libdir_flag_spec='-R$libdir'
7995       hardcode_shlibpath_var=no
7996       case $host_os in
7997       solaris2.[0-5] | solaris2.[0-5].*) ;;
7998       *)
7999         # The compiler driver will combine and reorder linker options,
8000         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8001         # but is careful enough not to reorder.
8002         # Supported since Solaris 2.6 (maybe 2.5.1?)
8003         if test "$GCC" = yes; then
8004           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8005         else
8006           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8007         fi
8008         ;;
8009       esac
8010       link_all_deplibs=yes
8011       ;;
8012
8013     sunos4*)
8014       if test "x$host_vendor" = xsequent; then
8015         # Use $CC to link under sequent, because it throws in some extra .o
8016         # files that make .init and .fini sections work.
8017         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8018       else
8019         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8020       fi
8021       hardcode_libdir_flag_spec='-L$libdir'
8022       hardcode_direct=yes
8023       hardcode_minus_L=yes
8024       hardcode_shlibpath_var=no
8025       ;;
8026
8027     sysv4)
8028       case $host_vendor in
8029         sni)
8030           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8031           hardcode_direct=yes # is this really true???
8032         ;;
8033         siemens)
8034           ## LD is ld it makes a PLAMLIB
8035           ## CC just makes a GrossModule.
8036           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8037           reload_cmds='$CC -r -o $output$reload_objs'
8038           hardcode_direct=no
8039         ;;
8040         motorola)
8041           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8042           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8043         ;;
8044       esac
8045       runpath_var='LD_RUN_PATH'
8046       hardcode_shlibpath_var=no
8047       ;;
8048
8049     sysv4.3*)
8050       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8051       hardcode_shlibpath_var=no
8052       export_dynamic_flag_spec='-Bexport'
8053       ;;
8054
8055     sysv4*MP*)
8056       if test -d /usr/nec; then
8057         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8058         hardcode_shlibpath_var=no
8059         runpath_var=LD_RUN_PATH
8060         hardcode_runpath_var=yes
8061         ld_shlibs=yes
8062       fi
8063       ;;
8064
8065     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8066       no_undefined_flag='${wl}-z,text'
8067       archive_cmds_need_lc=no
8068       hardcode_shlibpath_var=no
8069       runpath_var='LD_RUN_PATH'
8070
8071       if test "$GCC" = yes; then
8072         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8073         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8074       else
8075         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8076         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8077       fi
8078       ;;
8079
8080     sysv5* | sco3.2v5* | sco5v6*)
8081       # Note: We can NOT use -z defs as we might desire, because we do not
8082       # link with -lc, and that would cause any symbols used from libc to
8083       # always be unresolved, which means just about no library would
8084       # ever link correctly.  If we're not using GNU ld we use -z text
8085       # though, which does catch some bad symbols but isn't as heavy-handed
8086       # as -z defs.
8087       no_undefined_flag='${wl}-z,text'
8088       allow_undefined_flag='${wl}-z,nodefs'
8089       archive_cmds_need_lc=no
8090       hardcode_shlibpath_var=no
8091       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8092       hardcode_libdir_separator=':'
8093       link_all_deplibs=yes
8094       export_dynamic_flag_spec='${wl}-Bexport'
8095       runpath_var='LD_RUN_PATH'
8096
8097       if test "$GCC" = yes; then
8098         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8099         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8100       else
8101         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8102         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8103       fi
8104       ;;
8105
8106     uts4*)
8107       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8108       hardcode_libdir_flag_spec='-L$libdir'
8109       hardcode_shlibpath_var=no
8110       ;;
8111
8112     *)
8113       ld_shlibs=no
8114       ;;
8115     esac
8116
8117     if test x$host_vendor = xsni; then
8118       case $host in
8119       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8120         export_dynamic_flag_spec='${wl}-Blargedynsym'
8121         ;;
8122       esac
8123     fi
8124   fi
8125
8126 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8127 echo "${ECHO_T}$ld_shlibs" >&6
8128 test "$ld_shlibs" = no && can_build_shared=no
8129
8130 with_gnu_ld=$with_gnu_ld
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146 #
8147 # Do we need to explicitly link libc?
8148 #
8149 case "x$archive_cmds_need_lc" in
8150 x|xyes)
8151   # Assume -lc should be added
8152   archive_cmds_need_lc=yes
8153
8154   if test "$enable_shared" = yes && test "$GCC" = yes; then
8155     case $archive_cmds in
8156     *'~'*)
8157       # FIXME: we may have to deal with multi-command sequences.
8158       ;;
8159     '$CC '*)
8160       # Test whether the compiler implicitly links with -lc since on some
8161       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8162       # to ld, don't add -lc before -lgcc.
8163       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8164 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8165       $RM conftest*
8166       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8167
8168       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8169   (eval $ac_compile) 2>&5
8170   ac_status=$?
8171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172   (exit $ac_status); } 2>conftest.err; then
8173         soname=conftest
8174         lib=conftest
8175         libobjs=conftest.$ac_objext
8176         deplibs=
8177         wl=$lt_prog_compiler_wl
8178         pic_flag=$lt_prog_compiler_pic
8179         compiler_flags=-v
8180         linker_flags=-v
8181         verstring=
8182         output_objdir=.
8183         libname=conftest
8184         lt_save_allow_undefined_flag=$allow_undefined_flag
8185         allow_undefined_flag=
8186         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8187   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8188   ac_status=$?
8189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190   (exit $ac_status); }
8191         then
8192           archive_cmds_need_lc=no
8193         else
8194           archive_cmds_need_lc=yes
8195         fi
8196         allow_undefined_flag=$lt_save_allow_undefined_flag
8197       else
8198         cat conftest.err 1>&5
8199       fi
8200       $RM conftest*
8201       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8202 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8203       ;;
8204     esac
8205   fi
8206   ;;
8207 esac
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
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   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8366 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8367 withGCC=$GCC
8368 if test "$withGCC" = yes; then
8369   case $host_os in
8370     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8371     *) lt_awk_arg="/^libraries:/" ;;
8372   esac
8373   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8374   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8375     # if the path contains ";" then we assume it to be the separator
8376     # otherwise default to the standard path separator (i.e. ":") - it is
8377     # assumed that no part of a normal pathname contains ";" but that should
8378     # okay in the real world where ";" in dirpaths is itself problematic.
8379     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8380   else
8381     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8382   fi
8383   # Ok, now we have the path, separated by spaces, we can step through it
8384   # and add multilib dir if necessary.
8385   lt_tmp_lt_search_path_spec=
8386   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8387   for lt_sys_path in $lt_search_path_spec; do
8388     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8389       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8390     else
8391       test -d "$lt_sys_path" && \
8392         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8393     fi
8394   done
8395   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8396 BEGIN {RS=" "; FS="/|\n";} {
8397   lt_foo="";
8398   lt_count=0;
8399   for (lt_i = NF; lt_i > 0; lt_i--) {
8400     if ($lt_i != "" && $lt_i != ".") {
8401       if ($lt_i == "..") {
8402         lt_count++;
8403       } else {
8404         if (lt_count == 0) {
8405           lt_foo="/" $lt_i lt_foo;
8406         } else {
8407           lt_count--;
8408         }
8409       }
8410     }
8411   }
8412   if (lt_foo != "") { lt_freq[lt_foo]++; }
8413   if (lt_freq[lt_foo] == 1) { print lt_foo; }
8414 }'`
8415   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8416 else
8417   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8418 fi
8419 library_names_spec=
8420 libname_spec='lib$name'
8421 soname_spec=
8422 shrext_cmds=".so"
8423 postinstall_cmds=
8424 postuninstall_cmds=
8425 finish_cmds=
8426 finish_eval=
8427 shlibpath_var=
8428 shlibpath_overrides_runpath=unknown
8429 version_type=none
8430 dynamic_linker="$host_os ld.so"
8431 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8432 need_lib_prefix=unknown
8433 hardcode_into_libs=no
8434
8435 # when you set need_version to no, make sure it does not cause -set_version
8436 # flags to be left without arguments
8437 need_version=unknown
8438
8439 case $host_os in
8440 aix3*)
8441   version_type=linux
8442   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8443   shlibpath_var=LIBPATH
8444
8445   # AIX 3 has no versioning support, so we append a major version to the name.
8446   soname_spec='${libname}${release}${shared_ext}$major'
8447   ;;
8448
8449 aix4* | aix5*)
8450   version_type=linux
8451   need_lib_prefix=no
8452   need_version=no
8453   hardcode_into_libs=yes
8454   if test "$host_cpu" = ia64; then
8455     # AIX 5 supports IA64
8456     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8457     shlibpath_var=LD_LIBRARY_PATH
8458   else
8459     # With GCC up to 2.95.x, collect2 would create an import file
8460     # for dependence libraries.  The import file would start with
8461     # the line `#! .'.  This would cause the generated library to
8462     # depend on `.', always an invalid library.  This was fixed in
8463     # development snapshots of GCC prior to 3.0.
8464     case $host_os in
8465       aix4 | aix4.[01] | aix4.[01].*)
8466       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8467            echo ' yes '
8468            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8469         :
8470       else
8471         can_build_shared=no
8472       fi
8473       ;;
8474     esac
8475     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8476     # soname into executable. Probably we can add versioning support to
8477     # collect2, so additional links can be useful in future.
8478     if test "$aix_use_runtimelinking" = yes; then
8479       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8480       # instead of lib<name>.a to let people know that these are not
8481       # typical AIX shared libraries.
8482       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8483     else
8484       # We preserve .a as extension for shared libraries through AIX4.2
8485       # and later when we are not doing run time linking.
8486       library_names_spec='${libname}${release}.a $libname.a'
8487       soname_spec='${libname}${release}${shared_ext}$major'
8488     fi
8489     shlibpath_var=LIBPATH
8490   fi
8491   ;;
8492
8493 amigaos*)
8494   if test "$host_cpu" = m68k; then
8495     library_names_spec='$libname.ixlibrary $libname.a'
8496     # Create ${libname}_ixlibrary.a entries in /sys/libs.
8497     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'
8498   else
8499     dynamic_linker=no
8500   fi
8501   ;;
8502
8503 beos*)
8504   library_names_spec='${libname}${shared_ext}'
8505   dynamic_linker="$host_os ld.so"
8506   shlibpath_var=LIBRARY_PATH
8507   ;;
8508
8509 bsdi[45]*)
8510   version_type=linux
8511   need_version=no
8512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8513   soname_spec='${libname}${release}${shared_ext}$major'
8514   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8515   shlibpath_var=LD_LIBRARY_PATH
8516   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8517   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8518   # the default ld.so.conf also contains /usr/contrib/lib and
8519   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8520   # libtool to hard-code these into programs
8521   ;;
8522
8523 cygwin* | mingw* | pw32*)
8524   version_type=windows
8525   shrext_cmds=".dll"
8526   need_version=no
8527   need_lib_prefix=no
8528
8529   case $withGCC,$host_os in
8530   yes,cygwin* | yes,mingw* | yes,pw32*)
8531     library_names_spec='$libname.dll.a'
8532     # DLL is installed to $(libdir)/../bin by postinstall_cmds
8533     postinstall_cmds='base_file=`basename \${file}`~
8534       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8535       dldir=$destdir/`dirname \$dlpath`~
8536       test -d \$dldir || mkdir -p \$dldir~
8537       $install_prog $dir/$dlname \$dldir/$dlname~
8538       chmod a+x \$dldir/$dlname~
8539       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8540         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8541       fi'
8542     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8543       dlpath=$dir/\$dldll~
8544        $RM \$dlpath'
8545     shlibpath_overrides_runpath=yes
8546
8547     case $host_os in
8548     cygwin*)
8549       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8550       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8551       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8552       ;;
8553     mingw*)
8554       # MinGW DLLs use traditional 'lib' prefix
8555       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8556       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8557       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8558         # It is most probably a Windows format PATH printed by
8559         # mingw gcc, but we are running on Cygwin. Gcc prints its search
8560         # path with ; separators, and with drive letters. We can handle the
8561         # drive letters (cygwin fileutils understands them), so leave them,
8562         # especially as we might pass files found there to a mingw objdump,
8563         # which wouldn't understand a cygwinified path. Ahh.
8564         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8565       else
8566         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8567       fi
8568       ;;
8569     pw32*)
8570       # pw32 DLLs use 'pw' prefix rather than 'lib'
8571       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8572       ;;
8573     esac
8574     ;;
8575
8576   *)
8577     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8578     ;;
8579   esac
8580   dynamic_linker='Win32 ld.exe'
8581   # FIXME: first we should search . and the directory the executable is in
8582   shlibpath_var=PATH
8583   ;;
8584
8585 darwin* | rhapsody*)
8586   dynamic_linker="$host_os dyld"
8587   version_type=darwin
8588   need_lib_prefix=no
8589   need_version=no
8590   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8591   soname_spec='${libname}${release}${major}$shared_ext'
8592   shlibpath_overrides_runpath=yes
8593   shlibpath_var=DYLD_LIBRARY_PATH
8594   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8595
8596   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8597   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8598   ;;
8599
8600 dgux*)
8601   version_type=linux
8602   need_lib_prefix=no
8603   need_version=no
8604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8605   soname_spec='${libname}${release}${shared_ext}$major'
8606   shlibpath_var=LD_LIBRARY_PATH
8607   ;;
8608
8609 freebsd1*)
8610   dynamic_linker=no
8611   ;;
8612
8613 freebsd* | dragonfly*)
8614   # DragonFly does not have aout.  When/if they implement a new
8615   # versioning mechanism, adjust this.
8616   if test -x /usr/bin/objformat; then
8617     objformat=`/usr/bin/objformat`
8618   else
8619     case $host_os in
8620     freebsd[123]*) objformat=aout ;;
8621     *) objformat=elf ;;
8622     esac
8623   fi
8624   version_type=freebsd-$objformat
8625   case $version_type in
8626     freebsd-elf*)
8627       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8628       need_version=no
8629       need_lib_prefix=no
8630       ;;
8631     freebsd-*)
8632       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8633       need_version=yes
8634       ;;
8635   esac
8636   shlibpath_var=LD_LIBRARY_PATH
8637   case $host_os in
8638   freebsd2*)
8639     shlibpath_overrides_runpath=yes
8640     ;;
8641   freebsd3.[01]* | freebsdelf3.[01]*)
8642     shlibpath_overrides_runpath=yes
8643     hardcode_into_libs=yes
8644     ;;
8645   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8646   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8647     shlibpath_overrides_runpath=no
8648     hardcode_into_libs=yes
8649     ;;
8650   *) # from 4.6 on, and DragonFly
8651     shlibpath_overrides_runpath=yes
8652     hardcode_into_libs=yes
8653     ;;
8654   esac
8655   ;;
8656
8657 gnu*)
8658   version_type=linux
8659   need_lib_prefix=no
8660   need_version=no
8661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8662   soname_spec='${libname}${release}${shared_ext}$major'
8663   shlibpath_var=LD_LIBRARY_PATH
8664   hardcode_into_libs=yes
8665   ;;
8666
8667 hpux9* | hpux10* | hpux11*)
8668   # Give a soname corresponding to the major version so that dld.sl refuses to
8669   # link against other versions.
8670   version_type=sunos
8671   need_lib_prefix=no
8672   need_version=no
8673   case $host_cpu in
8674   ia64*)
8675     shrext_cmds='.so'
8676     hardcode_into_libs=yes
8677     dynamic_linker="$host_os dld.so"
8678     shlibpath_var=LD_LIBRARY_PATH
8679     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8680     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8681     soname_spec='${libname}${release}${shared_ext}$major'
8682     if test "X$HPUX_IA64_MODE" = X32; then
8683       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8684     else
8685       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8686     fi
8687     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8688     ;;
8689   hppa*64*)
8690     shrext_cmds='.sl'
8691     hardcode_into_libs=yes
8692     dynamic_linker="$host_os dld.sl"
8693     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8694     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8695     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8696     soname_spec='${libname}${release}${shared_ext}$major'
8697     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8698     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8699     ;;
8700   *)
8701     shrext_cmds='.sl'
8702     dynamic_linker="$host_os dld.sl"
8703     shlibpath_var=SHLIB_PATH
8704     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8705     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8706     soname_spec='${libname}${release}${shared_ext}$major'
8707     ;;
8708   esac
8709   # HP-UX runs *really* slowly unless shared libraries are mode 555.
8710   postinstall_cmds='chmod 555 $lib'
8711   ;;
8712
8713 interix[3-9]*)
8714   version_type=linux
8715   need_lib_prefix=no
8716   need_version=no
8717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8718   soname_spec='${libname}${release}${shared_ext}$major'
8719   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8720   shlibpath_var=LD_LIBRARY_PATH
8721   shlibpath_overrides_runpath=no
8722   hardcode_into_libs=yes
8723   ;;
8724
8725 irix5* | irix6* | nonstopux*)
8726   case $host_os in
8727     nonstopux*) version_type=nonstopux ;;
8728     *)
8729         if test "$lt_cv_prog_gnu_ld" = yes; then
8730                 version_type=linux
8731         else
8732                 version_type=irix
8733         fi ;;
8734   esac
8735   need_lib_prefix=no
8736   need_version=no
8737   soname_spec='${libname}${release}${shared_ext}$major'
8738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8739   case $host_os in
8740   irix5* | nonstopux*)
8741     libsuff= shlibsuff=
8742     ;;
8743   *)
8744     case $LD in # libtool.m4 will add one of these switches to LD
8745     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8746       libsuff= shlibsuff= libmagic=32-bit;;
8747     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8748       libsuff=32 shlibsuff=N32 libmagic=N32;;
8749     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8750       libsuff=64 shlibsuff=64 libmagic=64-bit;;
8751     *) libsuff= shlibsuff= libmagic=never-match;;
8752     esac
8753     ;;
8754   esac
8755   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8756   shlibpath_overrides_runpath=no
8757   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8758   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8759   hardcode_into_libs=yes
8760   ;;
8761
8762 # No shared lib support for Linux oldld, aout, or coff.
8763 linux*oldld* | linux*aout* | linux*coff*)
8764   dynamic_linker=no
8765   ;;
8766
8767 # This must be Linux ELF.
8768 linux* | k*bsd*-gnu)
8769   version_type=linux
8770   need_lib_prefix=no
8771   need_version=no
8772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8773   soname_spec='${libname}${release}${shared_ext}$major'
8774   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8775   shlibpath_var=LD_LIBRARY_PATH
8776   shlibpath_overrides_runpath=no
8777   # Some binutils ld are patched to set DT_RUNPATH
8778   save_LDFLAGS=$LDFLAGS
8779   save_libdir=$libdir
8780   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8781        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8782   if test x$gcc_no_link = xyes; then
8783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8785    { (exit 1); exit 1; }; }
8786 fi
8787 cat >conftest.$ac_ext <<_ACEOF
8788 /* confdefs.h.  */
8789 _ACEOF
8790 cat confdefs.h >>conftest.$ac_ext
8791 cat >>conftest.$ac_ext <<_ACEOF
8792 /* end confdefs.h.  */
8793
8794 int
8795 main ()
8796 {
8797
8798   ;
8799   return 0;
8800 }
8801 _ACEOF
8802 rm -f conftest.$ac_objext conftest$ac_exeext
8803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8804   (eval $ac_link) 2>conftest.er1
8805   ac_status=$?
8806   grep -v '^ *+' conftest.er1 >conftest.err
8807   rm -f conftest.er1
8808   cat conftest.err >&5
8809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810   (exit $ac_status); } &&
8811          { ac_try='test -z "$ac_c_werror_flag"
8812                          || test ! -s conftest.err'
8813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814   (eval $ac_try) 2>&5
8815   ac_status=$?
8816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817   (exit $ac_status); }; } &&
8818          { ac_try='test -s conftest$ac_exeext'
8819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820   (eval $ac_try) 2>&5
8821   ac_status=$?
8822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823   (exit $ac_status); }; }; then
8824   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8825   shlibpath_overrides_runpath=yes
8826 fi
8827
8828 else
8829   echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8831
8832 fi
8833 rm -f conftest.err conftest.$ac_objext \
8834       conftest$ac_exeext conftest.$ac_ext
8835   LDFLAGS=$save_LDFLAGS
8836   libdir=$save_libdir
8837
8838   # This implies no fast_install, which is unacceptable.
8839   # Some rework will be needed to allow for fast_install
8840   # before this can be enabled.
8841   hardcode_into_libs=yes
8842
8843   # Append ld.so.conf contents to the search path
8844   if test -f /etc/ld.so.conf; then
8845     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' ' '`
8846     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8847   fi
8848
8849   # We used to test for /lib/ld.so.1 and disable shared libraries on
8850   # powerpc, because MkLinux only supported shared libraries with the
8851   # GNU dynamic linker.  Since this was broken with cross compilers,
8852   # most powerpc-linux boxes support dynamic linking these days and
8853   # people can always --disable-shared, the test was removed, and we
8854   # assume the GNU/Linux dynamic linker is in use.
8855   dynamic_linker='GNU/Linux ld.so'
8856   ;;
8857
8858 netbsd*)
8859   version_type=sunos
8860   need_lib_prefix=no
8861   need_version=no
8862   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8863     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8864     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8865     dynamic_linker='NetBSD (a.out) ld.so'
8866   else
8867     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8868     soname_spec='${libname}${release}${shared_ext}$major'
8869     dynamic_linker='NetBSD ld.elf_so'
8870   fi
8871   shlibpath_var=LD_LIBRARY_PATH
8872   shlibpath_overrides_runpath=yes
8873   hardcode_into_libs=yes
8874   ;;
8875
8876 newsos6)
8877   version_type=linux
8878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8879   shlibpath_var=LD_LIBRARY_PATH
8880   shlibpath_overrides_runpath=yes
8881   ;;
8882
8883 *nto* | *qnx*)
8884   version_type=qnx
8885   need_lib_prefix=no
8886   need_version=no
8887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8888   soname_spec='${libname}${release}${shared_ext}$major'
8889   shlibpath_var=LD_LIBRARY_PATH
8890   shlibpath_overrides_runpath=no
8891   hardcode_into_libs=yes
8892   dynamic_linker='ldqnx.so'
8893   ;;
8894
8895 openbsd*)
8896   version_type=sunos
8897   sys_lib_dlsearch_path_spec="/usr/lib"
8898   need_lib_prefix=no
8899   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8900   case $host_os in
8901     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
8902     *)                          need_version=no  ;;
8903   esac
8904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8905   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8906   shlibpath_var=LD_LIBRARY_PATH
8907   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8908     case $host_os in
8909       openbsd2.[89] | openbsd2.[89].*)
8910         shlibpath_overrides_runpath=no
8911         ;;
8912       *)
8913         shlibpath_overrides_runpath=yes
8914         ;;
8915       esac
8916   else
8917     shlibpath_overrides_runpath=yes
8918   fi
8919   ;;
8920
8921 os2*)
8922   libname_spec='$name'
8923   shrext_cmds=".dll"
8924   need_lib_prefix=no
8925   library_names_spec='$libname${shared_ext} $libname.a'
8926   dynamic_linker='OS/2 ld.exe'
8927   shlibpath_var=LIBPATH
8928   ;;
8929
8930 osf3* | osf4* | osf5*)
8931   version_type=osf
8932   need_lib_prefix=no
8933   need_version=no
8934   soname_spec='${libname}${release}${shared_ext}$major'
8935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8936   shlibpath_var=LD_LIBRARY_PATH
8937   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8938   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8939   ;;
8940
8941 rdos*)
8942   dynamic_linker=no
8943   ;;
8944
8945 solaris*)
8946   version_type=linux
8947   need_lib_prefix=no
8948   need_version=no
8949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8950   soname_spec='${libname}${release}${shared_ext}$major'
8951   shlibpath_var=LD_LIBRARY_PATH
8952   shlibpath_overrides_runpath=yes
8953   hardcode_into_libs=yes
8954   # ldd complains unless libraries are executable
8955   postinstall_cmds='chmod +x $lib'
8956   ;;
8957
8958 sunos4*)
8959   version_type=sunos
8960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8961   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8962   shlibpath_var=LD_LIBRARY_PATH
8963   shlibpath_overrides_runpath=yes
8964   if test "$with_gnu_ld" = yes; then
8965     need_lib_prefix=no
8966   fi
8967   need_version=yes
8968   ;;
8969
8970 sysv4 | sysv4.3*)
8971   version_type=linux
8972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8973   soname_spec='${libname}${release}${shared_ext}$major'
8974   shlibpath_var=LD_LIBRARY_PATH
8975   case $host_vendor in
8976     sni)
8977       shlibpath_overrides_runpath=no
8978       need_lib_prefix=no
8979       runpath_var=LD_RUN_PATH
8980       ;;
8981     siemens)
8982       need_lib_prefix=no
8983       ;;
8984     motorola)
8985       need_lib_prefix=no
8986       need_version=no
8987       shlibpath_overrides_runpath=no
8988       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8989       ;;
8990   esac
8991   ;;
8992
8993 sysv4*MP*)
8994   if test -d /usr/nec ;then
8995     version_type=linux
8996     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8997     soname_spec='$libname${shared_ext}.$major'
8998     shlibpath_var=LD_LIBRARY_PATH
8999   fi
9000   ;;
9001
9002 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9003   version_type=freebsd-elf
9004   need_lib_prefix=no
9005   need_version=no
9006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9007   soname_spec='${libname}${release}${shared_ext}$major'
9008   shlibpath_var=LD_LIBRARY_PATH
9009   shlibpath_overrides_runpath=yes
9010   hardcode_into_libs=yes
9011   if test "$with_gnu_ld" = yes; then
9012     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9013   else
9014     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9015     case $host_os in
9016       sco3.2v5*)
9017         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9018         ;;
9019     esac
9020   fi
9021   sys_lib_dlsearch_path_spec='/usr/lib'
9022   ;;
9023
9024 tpf*)
9025   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9026   version_type=linux
9027   need_lib_prefix=no
9028   need_version=no
9029   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9030   shlibpath_var=LD_LIBRARY_PATH
9031   shlibpath_overrides_runpath=no
9032   hardcode_into_libs=yes
9033   ;;
9034
9035 uts4*)
9036   version_type=linux
9037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9038   soname_spec='${libname}${release}${shared_ext}$major'
9039   shlibpath_var=LD_LIBRARY_PATH
9040   ;;
9041
9042 *)
9043   dynamic_linker=no
9044   ;;
9045 esac
9046 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9047 echo "${ECHO_T}$dynamic_linker" >&6
9048 test "$dynamic_linker" = no && can_build_shared=no
9049
9050 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9051 if test "$GCC" = yes; then
9052   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9053 fi
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
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   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9142 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9143 hardcode_action=
9144 if test -n "$hardcode_libdir_flag_spec" ||
9145    test -n "$runpath_var" ||
9146    test "X$hardcode_automatic" = "Xyes" ; then
9147
9148   # We can hardcode non-existent directories.
9149   if test "$hardcode_direct" != no &&
9150      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9151      # have to relink, otherwise we might link with an installed library
9152      # when we should be linking with a yet-to-be-installed one
9153      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9154      test "$hardcode_minus_L" != no; then
9155     # Linking always hardcodes the temporary library directory.
9156     hardcode_action=relink
9157   else
9158     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9159     hardcode_action=immediate
9160   fi
9161 else
9162   # We cannot hardcode anything, or else we can only hardcode existing
9163   # directories.
9164   hardcode_action=unsupported
9165 fi
9166 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9167 echo "${ECHO_T}$hardcode_action" >&6
9168
9169 if test "$hardcode_action" = relink ||
9170    test "$inherit_rpath" = yes; then
9171   # Fast installation is not supported
9172   enable_fast_install=no
9173 elif test "$shlibpath_overrides_runpath" = yes ||
9174      test "$enable_shared" = no; then
9175   # Fast installation is not necessary
9176   enable_fast_install=needless
9177 fi
9178
9179
9180
9181
9182
9183
9184   if test "x$enable_dlopen" != xyes; then
9185   enable_dlopen=unknown
9186   enable_dlopen_self=unknown
9187   enable_dlopen_self_static=unknown
9188 else
9189   lt_cv_dlopen=no
9190   lt_cv_dlopen_libs=
9191
9192   case $host_os in
9193   beos*)
9194     lt_cv_dlopen="load_add_on"
9195     lt_cv_dlopen_libs=
9196     lt_cv_dlopen_self=yes
9197     ;;
9198
9199   mingw* | pw32*)
9200     lt_cv_dlopen="LoadLibrary"
9201     lt_cv_dlopen_libs=
9202     ;;
9203
9204   cygwin*)
9205     lt_cv_dlopen="dlopen"
9206     lt_cv_dlopen_libs=
9207     ;;
9208
9209   darwin*)
9210   # if libdl is installed we need to link against it
9211     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9212 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9213 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9214   echo $ECHO_N "(cached) $ECHO_C" >&6
9215 else
9216   ac_check_lib_save_LIBS=$LIBS
9217 LIBS="-ldl  $LIBS"
9218 if test x$gcc_no_link = xyes; then
9219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221    { (exit 1); exit 1; }; }
9222 fi
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h.  */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h.  */
9229
9230 /* Override any gcc2 internal prototype to avoid an error.  */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 /* We use char because int might match the return type of a gcc2
9235    builtin and then its argument prototype would still apply.  */
9236 char dlopen ();
9237 int
9238 main ()
9239 {
9240 dlopen ();
9241   ;
9242   return 0;
9243 }
9244 _ACEOF
9245 rm -f conftest.$ac_objext conftest$ac_exeext
9246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9247   (eval $ac_link) 2>conftest.er1
9248   ac_status=$?
9249   grep -v '^ *+' conftest.er1 >conftest.err
9250   rm -f conftest.er1
9251   cat conftest.err >&5
9252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253   (exit $ac_status); } &&
9254          { ac_try='test -z "$ac_c_werror_flag"
9255                          || test ! -s conftest.err'
9256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257   (eval $ac_try) 2>&5
9258   ac_status=$?
9259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260   (exit $ac_status); }; } &&
9261          { ac_try='test -s conftest$ac_exeext'
9262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263   (eval $ac_try) 2>&5
9264   ac_status=$?
9265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266   (exit $ac_status); }; }; then
9267   ac_cv_lib_dl_dlopen=yes
9268 else
9269   echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.$ac_ext >&5
9271
9272 ac_cv_lib_dl_dlopen=no
9273 fi
9274 rm -f conftest.err conftest.$ac_objext \
9275       conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9277 fi
9278 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9279 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9280 if test $ac_cv_lib_dl_dlopen = yes; then
9281   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9282 else
9283
9284     lt_cv_dlopen="dyld"
9285     lt_cv_dlopen_libs=
9286     lt_cv_dlopen_self=yes
9287
9288 fi
9289
9290     ;;
9291
9292   *)
9293     echo "$as_me:$LINENO: checking for shl_load" >&5
9294 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9295 if test "${ac_cv_func_shl_load+set}" = set; then
9296   echo $ECHO_N "(cached) $ECHO_C" >&6
9297 else
9298   if test x$gcc_no_link = xyes; then
9299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9301    { (exit 1); exit 1; }; }
9302 fi
9303 cat >conftest.$ac_ext <<_ACEOF
9304 /* confdefs.h.  */
9305 _ACEOF
9306 cat confdefs.h >>conftest.$ac_ext
9307 cat >>conftest.$ac_ext <<_ACEOF
9308 /* end confdefs.h.  */
9309 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9311 #define shl_load innocuous_shl_load
9312
9313 /* System header to define __stub macros and hopefully few prototypes,
9314     which can conflict with char shl_load (); below.
9315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9316     <limits.h> exists even on freestanding compilers.  */
9317
9318 #ifdef __STDC__
9319 # include <limits.h>
9320 #else
9321 # include <assert.h>
9322 #endif
9323
9324 #undef shl_load
9325
9326 /* Override any gcc2 internal prototype to avoid an error.  */
9327 #ifdef __cplusplus
9328 extern "C"
9329 {
9330 #endif
9331 /* We use char because int might match the return type of a gcc2
9332    builtin and then its argument prototype would still apply.  */
9333 char shl_load ();
9334 /* The GNU C library defines this for functions which it implements
9335     to always fail with ENOSYS.  Some functions are actually named
9336     something starting with __ and the normal name is an alias.  */
9337 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9338 choke me
9339 #else
9340 char (*f) () = shl_load;
9341 #endif
9342 #ifdef __cplusplus
9343 }
9344 #endif
9345
9346 int
9347 main ()
9348 {
9349 return f != shl_load;
9350   ;
9351   return 0;
9352 }
9353 _ACEOF
9354 rm -f conftest.$ac_objext conftest$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356   (eval $ac_link) 2>conftest.er1
9357   ac_status=$?
9358   grep -v '^ *+' conftest.er1 >conftest.err
9359   rm -f conftest.er1
9360   cat conftest.err >&5
9361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362   (exit $ac_status); } &&
9363          { ac_try='test -z "$ac_c_werror_flag"
9364                          || test ! -s conftest.err'
9365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366   (eval $ac_try) 2>&5
9367   ac_status=$?
9368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369   (exit $ac_status); }; } &&
9370          { ac_try='test -s conftest$ac_exeext'
9371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372   (eval $ac_try) 2>&5
9373   ac_status=$?
9374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375   (exit $ac_status); }; }; then
9376   ac_cv_func_shl_load=yes
9377 else
9378   echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9380
9381 ac_cv_func_shl_load=no
9382 fi
9383 rm -f conftest.err conftest.$ac_objext \
9384       conftest$ac_exeext conftest.$ac_ext
9385 fi
9386 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9387 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9388 if test $ac_cv_func_shl_load = yes; then
9389   lt_cv_dlopen="shl_load"
9390 else
9391   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9392 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9394   echo $ECHO_N "(cached) $ECHO_C" >&6
9395 else
9396   ac_check_lib_save_LIBS=$LIBS
9397 LIBS="-ldld  $LIBS"
9398 if test x$gcc_no_link = xyes; then
9399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9401    { (exit 1); exit 1; }; }
9402 fi
9403 cat >conftest.$ac_ext <<_ACEOF
9404 /* confdefs.h.  */
9405 _ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h.  */
9409
9410 /* Override any gcc2 internal prototype to avoid an error.  */
9411 #ifdef __cplusplus
9412 extern "C"
9413 #endif
9414 /* We use char because int might match the return type of a gcc2
9415    builtin and then its argument prototype would still apply.  */
9416 char shl_load ();
9417 int
9418 main ()
9419 {
9420 shl_load ();
9421   ;
9422   return 0;
9423 }
9424 _ACEOF
9425 rm -f conftest.$ac_objext conftest$ac_exeext
9426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9427   (eval $ac_link) 2>conftest.er1
9428   ac_status=$?
9429   grep -v '^ *+' conftest.er1 >conftest.err
9430   rm -f conftest.er1
9431   cat conftest.err >&5
9432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433   (exit $ac_status); } &&
9434          { ac_try='test -z "$ac_c_werror_flag"
9435                          || test ! -s conftest.err'
9436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437   (eval $ac_try) 2>&5
9438   ac_status=$?
9439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440   (exit $ac_status); }; } &&
9441          { ac_try='test -s conftest$ac_exeext'
9442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443   (eval $ac_try) 2>&5
9444   ac_status=$?
9445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446   (exit $ac_status); }; }; then
9447   ac_cv_lib_dld_shl_load=yes
9448 else
9449   echo "$as_me: failed program was:" >&5
9450 sed 's/^/| /' conftest.$ac_ext >&5
9451
9452 ac_cv_lib_dld_shl_load=no
9453 fi
9454 rm -f conftest.err conftest.$ac_objext \
9455       conftest$ac_exeext conftest.$ac_ext
9456 LIBS=$ac_check_lib_save_LIBS
9457 fi
9458 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9459 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9460 if test $ac_cv_lib_dld_shl_load = yes; then
9461   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9462 else
9463   echo "$as_me:$LINENO: checking for dlopen" >&5
9464 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9465 if test "${ac_cv_func_dlopen+set}" = set; then
9466   echo $ECHO_N "(cached) $ECHO_C" >&6
9467 else
9468   if test x$gcc_no_link = xyes; then
9469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9471    { (exit 1); exit 1; }; }
9472 fi
9473 cat >conftest.$ac_ext <<_ACEOF
9474 /* confdefs.h.  */
9475 _ACEOF
9476 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF
9478 /* end confdefs.h.  */
9479 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9481 #define dlopen innocuous_dlopen
9482
9483 /* System header to define __stub macros and hopefully few prototypes,
9484     which can conflict with char dlopen (); below.
9485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9486     <limits.h> exists even on freestanding compilers.  */
9487
9488 #ifdef __STDC__
9489 # include <limits.h>
9490 #else
9491 # include <assert.h>
9492 #endif
9493
9494 #undef dlopen
9495
9496 /* Override any gcc2 internal prototype to avoid an error.  */
9497 #ifdef __cplusplus
9498 extern "C"
9499 {
9500 #endif
9501 /* We use char because int might match the return type of a gcc2
9502    builtin and then its argument prototype would still apply.  */
9503 char dlopen ();
9504 /* The GNU C library defines this for functions which it implements
9505     to always fail with ENOSYS.  Some functions are actually named
9506     something starting with __ and the normal name is an alias.  */
9507 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9508 choke me
9509 #else
9510 char (*f) () = dlopen;
9511 #endif
9512 #ifdef __cplusplus
9513 }
9514 #endif
9515
9516 int
9517 main ()
9518 {
9519 return f != dlopen;
9520   ;
9521   return 0;
9522 }
9523 _ACEOF
9524 rm -f conftest.$ac_objext conftest$ac_exeext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9526   (eval $ac_link) 2>conftest.er1
9527   ac_status=$?
9528   grep -v '^ *+' conftest.er1 >conftest.err
9529   rm -f conftest.er1
9530   cat conftest.err >&5
9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532   (exit $ac_status); } &&
9533          { ac_try='test -z "$ac_c_werror_flag"
9534                          || test ! -s conftest.err'
9535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536   (eval $ac_try) 2>&5
9537   ac_status=$?
9538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539   (exit $ac_status); }; } &&
9540          { ac_try='test -s conftest$ac_exeext'
9541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542   (eval $ac_try) 2>&5
9543   ac_status=$?
9544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545   (exit $ac_status); }; }; then
9546   ac_cv_func_dlopen=yes
9547 else
9548   echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9550
9551 ac_cv_func_dlopen=no
9552 fi
9553 rm -f conftest.err conftest.$ac_objext \
9554       conftest$ac_exeext conftest.$ac_ext
9555 fi
9556 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9557 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9558 if test $ac_cv_func_dlopen = yes; then
9559   lt_cv_dlopen="dlopen"
9560 else
9561   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9562 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9563 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9564   echo $ECHO_N "(cached) $ECHO_C" >&6
9565 else
9566   ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-ldl  $LIBS"
9568 if test x$gcc_no_link = xyes; then
9569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9571    { (exit 1); exit 1; }; }
9572 fi
9573 cat >conftest.$ac_ext <<_ACEOF
9574 /* confdefs.h.  */
9575 _ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h.  */
9579
9580 /* Override any gcc2 internal prototype to avoid an error.  */
9581 #ifdef __cplusplus
9582 extern "C"
9583 #endif
9584 /* We use char because int might match the return type of a gcc2
9585    builtin and then its argument prototype would still apply.  */
9586 char dlopen ();
9587 int
9588 main ()
9589 {
9590 dlopen ();
9591   ;
9592   return 0;
9593 }
9594 _ACEOF
9595 rm -f conftest.$ac_objext conftest$ac_exeext
9596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9597   (eval $ac_link) 2>conftest.er1
9598   ac_status=$?
9599   grep -v '^ *+' conftest.er1 >conftest.err
9600   rm -f conftest.er1
9601   cat conftest.err >&5
9602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603   (exit $ac_status); } &&
9604          { ac_try='test -z "$ac_c_werror_flag"
9605                          || test ! -s conftest.err'
9606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607   (eval $ac_try) 2>&5
9608   ac_status=$?
9609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610   (exit $ac_status); }; } &&
9611          { ac_try='test -s conftest$ac_exeext'
9612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613   (eval $ac_try) 2>&5
9614   ac_status=$?
9615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616   (exit $ac_status); }; }; then
9617   ac_cv_lib_dl_dlopen=yes
9618 else
9619   echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9621
9622 ac_cv_lib_dl_dlopen=no
9623 fi
9624 rm -f conftest.err conftest.$ac_objext \
9625       conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9627 fi
9628 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9629 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9630 if test $ac_cv_lib_dl_dlopen = yes; then
9631   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9632 else
9633   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9634 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9635 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9636   echo $ECHO_N "(cached) $ECHO_C" >&6
9637 else
9638   ac_check_lib_save_LIBS=$LIBS
9639 LIBS="-lsvld  $LIBS"
9640 if test x$gcc_no_link = xyes; then
9641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9643    { (exit 1); exit 1; }; }
9644 fi
9645 cat >conftest.$ac_ext <<_ACEOF
9646 /* confdefs.h.  */
9647 _ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h.  */
9651
9652 /* Override any gcc2 internal prototype to avoid an error.  */
9653 #ifdef __cplusplus
9654 extern "C"
9655 #endif
9656 /* We use char because int might match the return type of a gcc2
9657    builtin and then its argument prototype would still apply.  */
9658 char dlopen ();
9659 int
9660 main ()
9661 {
9662 dlopen ();
9663   ;
9664   return 0;
9665 }
9666 _ACEOF
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9669   (eval $ac_link) 2>conftest.er1
9670   ac_status=$?
9671   grep -v '^ *+' conftest.er1 >conftest.err
9672   rm -f conftest.er1
9673   cat conftest.err >&5
9674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675   (exit $ac_status); } &&
9676          { ac_try='test -z "$ac_c_werror_flag"
9677                          || test ! -s conftest.err'
9678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679   (eval $ac_try) 2>&5
9680   ac_status=$?
9681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682   (exit $ac_status); }; } &&
9683          { ac_try='test -s conftest$ac_exeext'
9684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685   (eval $ac_try) 2>&5
9686   ac_status=$?
9687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688   (exit $ac_status); }; }; then
9689   ac_cv_lib_svld_dlopen=yes
9690 else
9691   echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9693
9694 ac_cv_lib_svld_dlopen=no
9695 fi
9696 rm -f conftest.err conftest.$ac_objext \
9697       conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9699 fi
9700 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9701 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9702 if test $ac_cv_lib_svld_dlopen = yes; then
9703   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9704 else
9705   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9706 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9707 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9708   echo $ECHO_N "(cached) $ECHO_C" >&6
9709 else
9710   ac_check_lib_save_LIBS=$LIBS
9711 LIBS="-ldld  $LIBS"
9712 if test x$gcc_no_link = xyes; then
9713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9715    { (exit 1); exit 1; }; }
9716 fi
9717 cat >conftest.$ac_ext <<_ACEOF
9718 /* confdefs.h.  */
9719 _ACEOF
9720 cat confdefs.h >>conftest.$ac_ext
9721 cat >>conftest.$ac_ext <<_ACEOF
9722 /* end confdefs.h.  */
9723
9724 /* Override any gcc2 internal prototype to avoid an error.  */
9725 #ifdef __cplusplus
9726 extern "C"
9727 #endif
9728 /* We use char because int might match the return type of a gcc2
9729    builtin and then its argument prototype would still apply.  */
9730 char dld_link ();
9731 int
9732 main ()
9733 {
9734 dld_link ();
9735   ;
9736   return 0;
9737 }
9738 _ACEOF
9739 rm -f conftest.$ac_objext conftest$ac_exeext
9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9741   (eval $ac_link) 2>conftest.er1
9742   ac_status=$?
9743   grep -v '^ *+' conftest.er1 >conftest.err
9744   rm -f conftest.er1
9745   cat conftest.err >&5
9746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747   (exit $ac_status); } &&
9748          { ac_try='test -z "$ac_c_werror_flag"
9749                          || test ! -s conftest.err'
9750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9751   (eval $ac_try) 2>&5
9752   ac_status=$?
9753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754   (exit $ac_status); }; } &&
9755          { ac_try='test -s conftest$ac_exeext'
9756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757   (eval $ac_try) 2>&5
9758   ac_status=$?
9759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760   (exit $ac_status); }; }; then
9761   ac_cv_lib_dld_dld_link=yes
9762 else
9763   echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9765
9766 ac_cv_lib_dld_dld_link=no
9767 fi
9768 rm -f conftest.err conftest.$ac_objext \
9769       conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9771 fi
9772 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9773 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9774 if test $ac_cv_lib_dld_dld_link = yes; then
9775   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9776 fi
9777
9778
9779 fi
9780
9781
9782 fi
9783
9784
9785 fi
9786
9787
9788 fi
9789
9790
9791 fi
9792
9793     ;;
9794   esac
9795
9796   if test "x$lt_cv_dlopen" != xno; then
9797     enable_dlopen=yes
9798   else
9799     enable_dlopen=no
9800   fi
9801
9802   case $lt_cv_dlopen in
9803   dlopen)
9804     save_CPPFLAGS="$CPPFLAGS"
9805     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9806
9807     save_LDFLAGS="$LDFLAGS"
9808     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9809
9810     save_LIBS="$LIBS"
9811     LIBS="$lt_cv_dlopen_libs $LIBS"
9812
9813     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9814 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9815 if test "${lt_cv_dlopen_self+set}" = set; then
9816   echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818           if test "$cross_compiling" = yes; then :
9819   lt_cv_dlopen_self=cross
9820 else
9821   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9822   lt_status=$lt_dlunknown
9823   cat > conftest.$ac_ext <<_LT_EOF
9824 #line 9824 "configure"
9825 #include "confdefs.h"
9826
9827 #if HAVE_DLFCN_H
9828 #include <dlfcn.h>
9829 #endif
9830
9831 #include <stdio.h>
9832
9833 #ifdef RTLD_GLOBAL
9834 #  define LT_DLGLOBAL           RTLD_GLOBAL
9835 #else
9836 #  ifdef DL_GLOBAL
9837 #    define LT_DLGLOBAL         DL_GLOBAL
9838 #  else
9839 #    define LT_DLGLOBAL         0
9840 #  endif
9841 #endif
9842
9843 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9844    find out it does not work in some platform. */
9845 #ifndef LT_DLLAZY_OR_NOW
9846 #  ifdef RTLD_LAZY
9847 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9848 #  else
9849 #    ifdef DL_LAZY
9850 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9851 #    else
9852 #      ifdef RTLD_NOW
9853 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9854 #      else
9855 #        ifdef DL_NOW
9856 #          define LT_DLLAZY_OR_NOW      DL_NOW
9857 #        else
9858 #          define LT_DLLAZY_OR_NOW      0
9859 #        endif
9860 #      endif
9861 #    endif
9862 #  endif
9863 #endif
9864
9865 #ifdef __cplusplus
9866 extern "C" void exit (int);
9867 #endif
9868
9869 void fnord() { int i=42;}
9870 int main ()
9871 {
9872   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9873   int status = $lt_dlunknown;
9874
9875   if (self)
9876     {
9877       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9878       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9879       /* dlclose (self); */
9880     }
9881   else
9882     puts (dlerror ());
9883
9884     exit (status);
9885 }
9886 _LT_EOF
9887   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9888   (eval $ac_link) 2>&5
9889   ac_status=$?
9890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9892     (./conftest; exit; ) >&5 2>/dev/null
9893     lt_status=$?
9894     case x$lt_status in
9895       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9896       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9897       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9898     esac
9899   else :
9900     # compilation failed
9901     lt_cv_dlopen_self=no
9902   fi
9903 fi
9904 rm -fr conftest*
9905
9906
9907 fi
9908 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9909 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9910
9911     if test "x$lt_cv_dlopen_self" = xyes; then
9912       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9913       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9914 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9915 if test "${lt_cv_dlopen_self_static+set}" = set; then
9916   echo $ECHO_N "(cached) $ECHO_C" >&6
9917 else
9918           if test "$cross_compiling" = yes; then :
9919   lt_cv_dlopen_self_static=cross
9920 else
9921   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9922   lt_status=$lt_dlunknown
9923   cat > conftest.$ac_ext <<_LT_EOF
9924 #line 9924 "configure"
9925 #include "confdefs.h"
9926
9927 #if HAVE_DLFCN_H
9928 #include <dlfcn.h>
9929 #endif
9930
9931 #include <stdio.h>
9932
9933 #ifdef RTLD_GLOBAL
9934 #  define LT_DLGLOBAL           RTLD_GLOBAL
9935 #else
9936 #  ifdef DL_GLOBAL
9937 #    define LT_DLGLOBAL         DL_GLOBAL
9938 #  else
9939 #    define LT_DLGLOBAL         0
9940 #  endif
9941 #endif
9942
9943 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9944    find out it does not work in some platform. */
9945 #ifndef LT_DLLAZY_OR_NOW
9946 #  ifdef RTLD_LAZY
9947 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9948 #  else
9949 #    ifdef DL_LAZY
9950 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9951 #    else
9952 #      ifdef RTLD_NOW
9953 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9954 #      else
9955 #        ifdef DL_NOW
9956 #          define LT_DLLAZY_OR_NOW      DL_NOW
9957 #        else
9958 #          define LT_DLLAZY_OR_NOW      0
9959 #        endif
9960 #      endif
9961 #    endif
9962 #  endif
9963 #endif
9964
9965 #ifdef __cplusplus
9966 extern "C" void exit (int);
9967 #endif
9968
9969 void fnord() { int i=42;}
9970 int main ()
9971 {
9972   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9973   int status = $lt_dlunknown;
9974
9975   if (self)
9976     {
9977       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9978       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9979       /* dlclose (self); */
9980     }
9981   else
9982     puts (dlerror ());
9983
9984     exit (status);
9985 }
9986 _LT_EOF
9987   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9988   (eval $ac_link) 2>&5
9989   ac_status=$?
9990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9992     (./conftest; exit; ) >&5 2>/dev/null
9993     lt_status=$?
9994     case x$lt_status in
9995       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9996       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9997       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9998     esac
9999   else :
10000     # compilation failed
10001     lt_cv_dlopen_self_static=no
10002   fi
10003 fi
10004 rm -fr conftest*
10005
10006
10007 fi
10008 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10009 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10010     fi
10011
10012     CPPFLAGS="$save_CPPFLAGS"
10013     LDFLAGS="$save_LDFLAGS"
10014     LIBS="$save_LIBS"
10015     ;;
10016   esac
10017
10018   case $lt_cv_dlopen_self in
10019   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10020   *) enable_dlopen_self=unknown ;;
10021   esac
10022
10023   case $lt_cv_dlopen_self_static in
10024   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10025   *) enable_dlopen_self_static=unknown ;;
10026   esac
10027 fi
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045 striplib=
10046 old_striplib=
10047 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10048 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10049 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10050   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10051   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10052   echo "$as_me:$LINENO: result: yes" >&5
10053 echo "${ECHO_T}yes" >&6
10054 else
10055 # FIXME - insert some real tests, host_os isn't really good enough
10056   case $host_os in
10057   darwin*)
10058     if test -n "$STRIP" ; then
10059       striplib="$STRIP -x"
10060       old_striplib="$STRIP -S"
10061       echo "$as_me:$LINENO: result: yes" >&5
10062 echo "${ECHO_T}yes" >&6
10063     else
10064       echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10066     fi
10067     ;;
10068   *)
10069     echo "$as_me:$LINENO: result: no" >&5
10070 echo "${ECHO_T}no" >&6
10071     ;;
10072   esac
10073 fi
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086   # Report which library types will actually be built
10087   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10088 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10089   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10090 echo "${ECHO_T}$can_build_shared" >&6
10091
10092   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10093 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10094   test "$can_build_shared" = "no" && enable_shared=no
10095
10096   # On AIX, shared libraries and static libraries use the same namespace, and
10097   # are all built from PIC.
10098   case $host_os in
10099   aix3*)
10100     test "$enable_shared" = yes && enable_static=no
10101     if test -n "$RANLIB"; then
10102       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10103       postinstall_cmds='$RANLIB $lib'
10104     fi
10105     ;;
10106
10107   aix4* | aix5*)
10108     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10109       test "$enable_shared" = yes && enable_static=no
10110     fi
10111     ;;
10112   esac
10113   echo "$as_me:$LINENO: result: $enable_shared" >&5
10114 echo "${ECHO_T}$enable_shared" >&6
10115
10116   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10117 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10118   # Make sure either enable_shared or enable_static is yes.
10119   test "$enable_shared" = yes || enable_static=yes
10120   echo "$as_me:$LINENO: result: $enable_static" >&5
10121 echo "${ECHO_T}$enable_static" >&6
10122
10123
10124
10125
10126 fi
10127 ac_ext=c
10128 ac_cpp='$CPP $CPPFLAGS'
10129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10132
10133 CC="$lt_save_CC"
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147                   ac_config_commands="$ac_config_commands libtool"
10148
10149
10150
10151
10152 # Only expand once:
10153
10154
10155
10156
10157 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10158
10159 # We need gfortran to compile parts of the library
10160 #AC_PROG_FC(gfortran)
10161 FC="$GFORTRAN"
10162 ac_ext=${FC_SRCEXT-f}
10163 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10164 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10166 if test -n "$ac_tool_prefix"; then
10167   for ac_prog in gfortran
10168   do
10169     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10171 echo "$as_me:$LINENO: checking for $ac_word" >&5
10172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10173 if test "${ac_cv_prog_FC+set}" = set; then
10174   echo $ECHO_N "(cached) $ECHO_C" >&6
10175 else
10176   if test -n "$FC"; then
10177   ac_cv_prog_FC="$FC" # Let the user override the test.
10178 else
10179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10180 for as_dir in $PATH
10181 do
10182   IFS=$as_save_IFS
10183   test -z "$as_dir" && as_dir=.
10184   for ac_exec_ext in '' $ac_executable_extensions; do
10185   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10186     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10187     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10188     break 2
10189   fi
10190 done
10191 done
10192
10193 fi
10194 fi
10195 FC=$ac_cv_prog_FC
10196 if test -n "$FC"; then
10197   echo "$as_me:$LINENO: result: $FC" >&5
10198 echo "${ECHO_T}$FC" >&6
10199 else
10200   echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10202 fi
10203
10204     test -n "$FC" && break
10205   done
10206 fi
10207 if test -z "$FC"; then
10208   ac_ct_FC=$FC
10209   for ac_prog in gfortran
10210 do
10211   # Extract the first word of "$ac_prog", so it can be a program name with args.
10212 set dummy $ac_prog; ac_word=$2
10213 echo "$as_me:$LINENO: checking for $ac_word" >&5
10214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10215 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10216   echo $ECHO_N "(cached) $ECHO_C" >&6
10217 else
10218   if test -n "$ac_ct_FC"; then
10219   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10220 else
10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222 for as_dir in $PATH
10223 do
10224   IFS=$as_save_IFS
10225   test -z "$as_dir" && as_dir=.
10226   for ac_exec_ext in '' $ac_executable_extensions; do
10227   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228     ac_cv_prog_ac_ct_FC="$ac_prog"
10229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10230     break 2
10231   fi
10232 done
10233 done
10234
10235 fi
10236 fi
10237 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10238 if test -n "$ac_ct_FC"; then
10239   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10240 echo "${ECHO_T}$ac_ct_FC" >&6
10241 else
10242   echo "$as_me:$LINENO: result: no" >&5
10243 echo "${ECHO_T}no" >&6
10244 fi
10245
10246   test -n "$ac_ct_FC" && break
10247 done
10248
10249   FC=$ac_ct_FC
10250 fi
10251
10252
10253 # Provide some information about the compiler.
10254 echo "$as_me:10254:" \
10255      "checking for Fortran compiler version" >&5
10256 ac_compiler=`set X $ac_compile; echo $2`
10257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10258   (eval $ac_compiler --version </dev/null >&5) 2>&5
10259   ac_status=$?
10260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261   (exit $ac_status); }
10262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10263   (eval $ac_compiler -v </dev/null >&5) 2>&5
10264   ac_status=$?
10265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266   (exit $ac_status); }
10267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10268   (eval $ac_compiler -V </dev/null >&5) 2>&5
10269   ac_status=$?
10270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271   (exit $ac_status); }
10272 rm -f a.out
10273
10274 # If we don't use `.F' as extension, the preprocessor is not run on the
10275 # input file.  (Note that this only needs to work for GNU compilers.)
10276 ac_save_ext=$ac_ext
10277 ac_ext=F
10278 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10279 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10280 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10281   echo $ECHO_N "(cached) $ECHO_C" >&6
10282 else
10283   cat >conftest.$ac_ext <<_ACEOF
10284       program main
10285 #ifndef __GNUC__
10286        choke me
10287 #endif
10288
10289       end
10290 _ACEOF
10291 rm -f conftest.$ac_objext
10292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10293   (eval $ac_compile) 2>conftest.er1
10294   ac_status=$?
10295   grep -v '^ *+' conftest.er1 >conftest.err
10296   rm -f conftest.er1
10297   cat conftest.err >&5
10298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299   (exit $ac_status); } &&
10300          { ac_try='test -z "$ac_fc_werror_flag"
10301                          || test ! -s conftest.err'
10302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303   (eval $ac_try) 2>&5
10304   ac_status=$?
10305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306   (exit $ac_status); }; } &&
10307          { ac_try='test -s conftest.$ac_objext'
10308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309   (eval $ac_try) 2>&5
10310   ac_status=$?
10311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312   (exit $ac_status); }; }; then
10313   ac_compiler_gnu=yes
10314 else
10315   echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.$ac_ext >&5
10317
10318 ac_compiler_gnu=no
10319 fi
10320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10321 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10322
10323 fi
10324 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10325 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10326 ac_ext=$ac_save_ext
10327 ac_test_FFLAGS=${FCFLAGS+set}
10328 ac_save_FFLAGS=$FCFLAGS
10329 FCFLAGS=
10330 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10331 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10332 if test "${ac_cv_prog_fc_g+set}" = set; then
10333   echo $ECHO_N "(cached) $ECHO_C" >&6
10334 else
10335   FCFLAGS=-g
10336 cat >conftest.$ac_ext <<_ACEOF
10337       program main
10338
10339       end
10340 _ACEOF
10341 rm -f conftest.$ac_objext
10342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10343   (eval $ac_compile) 2>conftest.er1
10344   ac_status=$?
10345   grep -v '^ *+' conftest.er1 >conftest.err
10346   rm -f conftest.er1
10347   cat conftest.err >&5
10348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349   (exit $ac_status); } &&
10350          { ac_try='test -z "$ac_fc_werror_flag"
10351                          || test ! -s conftest.err'
10352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353   (eval $ac_try) 2>&5
10354   ac_status=$?
10355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356   (exit $ac_status); }; } &&
10357          { ac_try='test -s conftest.$ac_objext'
10358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359   (eval $ac_try) 2>&5
10360   ac_status=$?
10361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362   (exit $ac_status); }; }; then
10363   ac_cv_prog_fc_g=yes
10364 else
10365   echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10367
10368 ac_cv_prog_fc_g=no
10369 fi
10370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10371
10372 fi
10373 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10374 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10375 if test "$ac_test_FFLAGS" = set; then
10376   FCFLAGS=$ac_save_FFLAGS
10377 elif test $ac_cv_prog_fc_g = yes; then
10378   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10379     FCFLAGS="-g -O2"
10380   else
10381     FCFLAGS="-g"
10382   fi
10383 else
10384   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10385     FCFLAGS="-O2"
10386   else
10387     FCFLAGS=
10388   fi
10389 fi
10390
10391 ac_ext=c
10392 ac_cpp='$CPP $CPPFLAGS'
10393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10396
10397
10398 ac_ext=${FC_SRCEXT-f}
10399 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10400 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10401 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10402 if test -n "$ac_tool_prefix"; then
10403   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10404   do
10405     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_prog_FC+set}" = set; then
10410   echo $ECHO_N "(cached) $ECHO_C" >&6
10411 else
10412   if test -n "$FC"; then
10413   ac_cv_prog_FC="$FC" # Let the user override the test.
10414 else
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10417 do
10418   IFS=$as_save_IFS
10419   test -z "$as_dir" && as_dir=.
10420   for ac_exec_ext in '' $ac_executable_extensions; do
10421   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10422     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10423     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10424     break 2
10425   fi
10426 done
10427 done
10428
10429 fi
10430 fi
10431 FC=$ac_cv_prog_FC
10432 if test -n "$FC"; then
10433   echo "$as_me:$LINENO: result: $FC" >&5
10434 echo "${ECHO_T}$FC" >&6
10435 else
10436   echo "$as_me:$LINENO: result: no" >&5
10437 echo "${ECHO_T}no" >&6
10438 fi
10439
10440     test -n "$FC" && break
10441   done
10442 fi
10443 if test -z "$FC"; then
10444   ac_ct_FC=$FC
10445   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10446 do
10447   # Extract the first word of "$ac_prog", so it can be a program name with args.
10448 set dummy $ac_prog; ac_word=$2
10449 echo "$as_me:$LINENO: checking for $ac_word" >&5
10450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10451 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10452   echo $ECHO_N "(cached) $ECHO_C" >&6
10453 else
10454   if test -n "$ac_ct_FC"; then
10455   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10456 else
10457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10458 for as_dir in $PATH
10459 do
10460   IFS=$as_save_IFS
10461   test -z "$as_dir" && as_dir=.
10462   for ac_exec_ext in '' $ac_executable_extensions; do
10463   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10464     ac_cv_prog_ac_ct_FC="$ac_prog"
10465     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10466     break 2
10467   fi
10468 done
10469 done
10470
10471 fi
10472 fi
10473 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10474 if test -n "$ac_ct_FC"; then
10475   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10476 echo "${ECHO_T}$ac_ct_FC" >&6
10477 else
10478   echo "$as_me:$LINENO: result: no" >&5
10479 echo "${ECHO_T}no" >&6
10480 fi
10481
10482   test -n "$ac_ct_FC" && break
10483 done
10484
10485   FC=$ac_ct_FC
10486 fi
10487
10488
10489 # Provide some information about the compiler.
10490 echo "$as_me:10490:" \
10491      "checking for Fortran compiler version" >&5
10492 ac_compiler=`set X $ac_compile; echo $2`
10493 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10494   (eval $ac_compiler --version </dev/null >&5) 2>&5
10495   ac_status=$?
10496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497   (exit $ac_status); }
10498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10499   (eval $ac_compiler -v </dev/null >&5) 2>&5
10500   ac_status=$?
10501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502   (exit $ac_status); }
10503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10504   (eval $ac_compiler -V </dev/null >&5) 2>&5
10505   ac_status=$?
10506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507   (exit $ac_status); }
10508 rm -f a.out
10509
10510 # If we don't use `.F' as extension, the preprocessor is not run on the
10511 # input file.  (Note that this only needs to work for GNU compilers.)
10512 ac_save_ext=$ac_ext
10513 ac_ext=F
10514 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10515 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10516 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10517   echo $ECHO_N "(cached) $ECHO_C" >&6
10518 else
10519   cat >conftest.$ac_ext <<_ACEOF
10520       program main
10521 #ifndef __GNUC__
10522        choke me
10523 #endif
10524
10525       end
10526 _ACEOF
10527 rm -f conftest.$ac_objext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10529   (eval $ac_compile) 2>conftest.er1
10530   ac_status=$?
10531   grep -v '^ *+' conftest.er1 >conftest.err
10532   rm -f conftest.er1
10533   cat conftest.err >&5
10534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535   (exit $ac_status); } &&
10536          { ac_try='test -z "$ac_fc_werror_flag"
10537                          || test ! -s conftest.err'
10538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539   (eval $ac_try) 2>&5
10540   ac_status=$?
10541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542   (exit $ac_status); }; } &&
10543          { ac_try='test -s conftest.$ac_objext'
10544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545   (eval $ac_try) 2>&5
10546   ac_status=$?
10547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548   (exit $ac_status); }; }; then
10549   ac_compiler_gnu=yes
10550 else
10551   echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10553
10554 ac_compiler_gnu=no
10555 fi
10556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10557 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10558
10559 fi
10560 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10561 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10562 ac_ext=$ac_save_ext
10563 ac_test_FFLAGS=${FCFLAGS+set}
10564 ac_save_FFLAGS=$FCFLAGS
10565 FCFLAGS=
10566 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10567 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10568 if test "${ac_cv_prog_fc_g+set}" = set; then
10569   echo $ECHO_N "(cached) $ECHO_C" >&6
10570 else
10571   FCFLAGS=-g
10572 cat >conftest.$ac_ext <<_ACEOF
10573       program main
10574
10575       end
10576 _ACEOF
10577 rm -f conftest.$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579   (eval $ac_compile) 2>conftest.er1
10580   ac_status=$?
10581   grep -v '^ *+' conftest.er1 >conftest.err
10582   rm -f conftest.er1
10583   cat conftest.err >&5
10584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585   (exit $ac_status); } &&
10586          { ac_try='test -z "$ac_fc_werror_flag"
10587                          || test ! -s conftest.err'
10588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589   (eval $ac_try) 2>&5
10590   ac_status=$?
10591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592   (exit $ac_status); }; } &&
10593          { ac_try='test -s conftest.$ac_objext'
10594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595   (eval $ac_try) 2>&5
10596   ac_status=$?
10597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598   (exit $ac_status); }; }; then
10599   ac_cv_prog_fc_g=yes
10600 else
10601   echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10603
10604 ac_cv_prog_fc_g=no
10605 fi
10606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10607
10608 fi
10609 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10610 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10611 if test "$ac_test_FFLAGS" = set; then
10612   FCFLAGS=$ac_save_FFLAGS
10613 elif test $ac_cv_prog_fc_g = yes; then
10614   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10615     FCFLAGS="-g -O2"
10616   else
10617     FCFLAGS="-g"
10618   fi
10619 else
10620   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10621     FCFLAGS="-O2"
10622   else
10623     FCFLAGS=
10624   fi
10625 fi
10626
10627 ac_ext=c
10628 ac_cpp='$CPP $CPPFLAGS'
10629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10632
10633 if test -z "$FC" || test "X$FC" = "Xno"; then
10634   _lt_disable_FC=yes
10635 fi
10636
10637
10638
10639       ac_ext=${FC_SRCEXT-f}
10640 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10641 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10643
10644
10645 archive_cmds_need_lc_FC=no
10646 allow_undefined_flag_FC=
10647 always_export_symbols_FC=no
10648 archive_expsym_cmds_FC=
10649 export_dynamic_flag_spec_FC=
10650 hardcode_direct_FC=no
10651 hardcode_direct_absolute_FC=no
10652 hardcode_libdir_flag_spec_FC=
10653 hardcode_libdir_flag_spec_ld_FC=
10654 hardcode_libdir_separator_FC=
10655 hardcode_minus_L_FC=no
10656 hardcode_automatic_FC=no
10657 inherit_rpath_FC=no
10658 module_cmds_FC=
10659 module_expsym_cmds_FC=
10660 link_all_deplibs_FC=unknown
10661 old_archive_cmds_FC=$old_archive_cmds
10662 no_undefined_flag_FC=
10663 whole_archive_flag_spec_FC=
10664 enable_shared_with_static_runtimes_FC=no
10665
10666 # Source file extension for fc test sources.
10667 ac_ext=${ac_fc_srcext-f}
10668
10669 # Object file extension for compiled fc test sources.
10670 objext=o
10671 objext_FC=$objext
10672
10673 # No sense in running all these tests if we already determined that
10674 # the FC compiler isn't working.  Some variables (like enable_shared)
10675 # are currently assumed to apply to all compilers on this platform,
10676 # and will be corrupted by setting them based on a non-working compiler.
10677 if test "$_lt_disable_FC" != yes; then
10678   # Code to be used in simple compile tests
10679   lt_simple_compile_test_code="\
10680       subroutine t
10681       return
10682       end
10683 "
10684
10685   # Code to be used in simple link tests
10686   lt_simple_link_test_code="\
10687       program t
10688       end
10689 "
10690
10691   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10692
10693
10694
10695
10696
10697
10698 # If no C compiler was specified, use CC.
10699 LTCC=${LTCC-"$CC"}
10700
10701 # If no C compiler flags were specified, use CFLAGS.
10702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10703
10704 # Allow CC to be a program name with arguments.
10705 compiler=$CC
10706
10707
10708   # save warnings/boilerplate of simple test code
10709   ac_outfile=conftest.$ac_objext
10710 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10711 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10712 _lt_compiler_boilerplate=`cat conftest.err`
10713 $RM conftest*
10714
10715   ac_outfile=conftest.$ac_objext
10716 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10717 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10718 _lt_linker_boilerplate=`cat conftest.err`
10719 $RM conftest*
10720
10721
10722   # Allow CC to be a program name with arguments.
10723   lt_save_CC="$CC"
10724   CC=${FC-"f95"}
10725   compiler=$CC
10726   compiler_FC=$CC
10727   for cc_temp in $compiler""; do
10728   case $cc_temp in
10729     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10730     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10731     \-*) ;;
10732     *) break;;
10733   esac
10734 done
10735 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10736
10737
10738   if test -n "$compiler"; then
10739     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10740 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10741     echo "$as_me:$LINENO: result: $can_build_shared" >&5
10742 echo "${ECHO_T}$can_build_shared" >&6
10743
10744     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10745 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10746     test "$can_build_shared" = "no" && enable_shared=no
10747
10748     # On AIX, shared libraries and static libraries use the same namespace, and
10749     # are all built from PIC.
10750     case $host_os in
10751       aix3*)
10752         test "$enable_shared" = yes && enable_static=no
10753         if test -n "$RANLIB"; then
10754           archive_cmds="$archive_cmds~\$RANLIB \$lib"
10755           postinstall_cmds='$RANLIB $lib'
10756         fi
10757         ;;
10758       aix4* | aix5*)
10759         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10760           test "$enable_shared" = yes && enable_static=no
10761         fi
10762         ;;
10763     esac
10764     echo "$as_me:$LINENO: result: $enable_shared" >&5
10765 echo "${ECHO_T}$enable_shared" >&6
10766
10767     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10768 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10769     # Make sure either enable_shared or enable_static is yes.
10770     test "$enable_shared" = yes || enable_static=yes
10771     echo "$as_me:$LINENO: result: $enable_static" >&5
10772 echo "${ECHO_T}$enable_static" >&6
10773
10774     GCC_FC="$ac_cv_fc_compiler_gnu"
10775     LD_FC="$LD"
10776
10777     ## CAVEAT EMPTOR:
10778     ## There is no encapsulation within the following macros, do not change
10779     ## the running order or otherwise move them around unless you know exactly
10780     ## what you are doing...
10781     # Dependencies to place before and after the object being linked:
10782 predep_objects_FC=
10783 postdep_objects_FC=
10784 predeps_FC=
10785 postdeps_FC=
10786 compiler_lib_search_path_FC=
10787
10788 cat > conftest.$ac_ext <<_LT_EOF
10789       subroutine foo
10790       implicit none
10791       integer a
10792       a=0
10793       return
10794       end
10795 _LT_EOF
10796
10797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10798   (eval $ac_compile) 2>&5
10799   ac_status=$?
10800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801   (exit $ac_status); }; then
10802   # Parse the compiler output and extract the necessary
10803   # objects, libraries and library flags.
10804
10805   # Sentinel used to keep track of whether or not we are before
10806   # the conftest object file.
10807   pre_test_object_deps_done=no
10808
10809   # The `*' in the case matches for architectures that use `case' in
10810   # $output_verbose_cmd can trigger glob expansion during the loop
10811   # eval without this substitution.
10812   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10813
10814   for p in `eval $output_verbose_link_cmd`; do
10815     case $p in
10816
10817     -L* | -R* | -l*)
10818        # Some compilers place space between "-{L,R}" and the path.
10819        # Remove the space.
10820        if test $p = "-L" ||
10821           test $p = "-R"; then
10822          prev=$p
10823          continue
10824        else
10825          prev=
10826        fi
10827
10828        if test "$pre_test_object_deps_done" = no; then
10829          case $p in
10830          -L* | -R*)
10831            # Internal compiler library paths should come after those
10832            # provided the user.  The postdeps already come after the
10833            # user supplied libs so there is no need to process them.
10834            if test -z "$compiler_lib_search_path_FC"; then
10835              compiler_lib_search_path_FC="${prev}${p}"
10836            else
10837              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10838            fi
10839            ;;
10840          # The "-l" case would never come before the object being
10841          # linked, so don't bother handling this case.
10842          esac
10843        else
10844          if test -z "$postdeps_FC"; then
10845            postdeps_FC="${prev}${p}"
10846          else
10847            postdeps_FC="${postdeps_FC} ${prev}${p}"
10848          fi
10849        fi
10850        ;;
10851
10852     *.$objext)
10853        # This assumes that the test object file only shows up
10854        # once in the compiler output.
10855        if test "$p" = "conftest.$objext"; then
10856          pre_test_object_deps_done=yes
10857          continue
10858        fi
10859
10860        if test "$pre_test_object_deps_done" = no; then
10861          if test -z "$predep_objects_FC"; then
10862            predep_objects_FC="$p"
10863          else
10864            predep_objects_FC="$predep_objects_FC $p"
10865          fi
10866        else
10867          if test -z "$postdep_objects_FC"; then
10868            postdep_objects_FC="$p"
10869          else
10870            postdep_objects_FC="$postdep_objects_FC $p"
10871          fi
10872        fi
10873        ;;
10874
10875     *) ;; # Ignore the rest.
10876
10877     esac
10878   done
10879
10880   # Clean up.
10881   rm -f a.out a.exe
10882 else
10883   echo "libtool.m4: error: problem compiling FC test program"
10884 fi
10885
10886 $RM -f confest.$objext
10887
10888 # PORTME: override above test on systems where it is broken
10889
10890
10891 case " $postdeps_FC " in
10892 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10893 esac
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920     lt_prog_compiler_wl_FC=
10921 lt_prog_compiler_pic_FC=
10922 lt_prog_compiler_static_FC=
10923
10924 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10925 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10926
10927   if test "$GCC" = yes; then
10928     lt_prog_compiler_wl_FC='-Wl,'
10929     lt_prog_compiler_static_FC='-static'
10930
10931     case $host_os in
10932       aix*)
10933       # All AIX code is PIC.
10934       if test "$host_cpu" = ia64; then
10935         # AIX 5 now supports IA64 processor
10936         lt_prog_compiler_static_FC='-Bstatic'
10937       fi
10938       ;;
10939
10940     amigaos*)
10941       if test "$host_cpu" = m68k; then
10942         # FIXME: we need at least 68020 code to build shared libraries, but
10943         # adding the `-m68020' flag to GCC prevents building anything better,
10944         # like `-m68040'.
10945         lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10946       fi
10947       ;;
10948
10949     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10950       # PIC is the default for these OSes.
10951       ;;
10952
10953     mingw* | cygwin* | pw32* | os2*)
10954       # This hack is so that the source file can tell whether it is being
10955       # built for inclusion in a dll (and should export symbols for example).
10956       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10957       # (--disable-auto-import) libraries
10958       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
10959       ;;
10960
10961     darwin* | rhapsody*)
10962       # PIC is the default on this platform
10963       # Common symbols not allowed in MH_DYLIB files
10964       lt_prog_compiler_pic_FC='-fno-common'
10965       ;;
10966
10967     hpux*)
10968       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10969       # not for PA HP-UX.
10970       case $host_cpu in
10971       hppa*64*|ia64*)
10972         # +Z the default
10973         ;;
10974       *)
10975         lt_prog_compiler_pic_FC='-fPIC'
10976         ;;
10977       esac
10978       ;;
10979
10980     interix[3-9]*)
10981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10982       # Instead, we relocate shared libraries at runtime.
10983       ;;
10984
10985     msdosdjgpp*)
10986       # Just because we use GCC doesn't mean we suddenly get shared libraries
10987       # on systems that don't support them.
10988       lt_prog_compiler_can_build_shared_FC=no
10989       enable_shared=no
10990       ;;
10991
10992     *nto* | *qnx*)
10993       # QNX uses GNU C++, but need to define -shared option too, otherwise
10994       # it will coredump.
10995       lt_prog_compiler_pic_FC='-fPIC -shared'
10996       ;;
10997
10998     sysv4*MP*)
10999       if test -d /usr/nec; then
11000         lt_prog_compiler_pic_FC=-Kconform_pic
11001       fi
11002       ;;
11003
11004     *)
11005       lt_prog_compiler_pic_FC='-fPIC'
11006       ;;
11007     esac
11008   else
11009     # PORTME Check for flag to pass linker flags through the system compiler.
11010     case $host_os in
11011     aix*)
11012       lt_prog_compiler_wl_FC='-Wl,'
11013       if test "$host_cpu" = ia64; then
11014         # AIX 5 now supports IA64 processor
11015         lt_prog_compiler_static_FC='-Bstatic'
11016       else
11017         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11018       fi
11019       ;;
11020     darwin*)
11021       # PIC is the default on this platform
11022       # Common symbols not allowed in MH_DYLIB files
11023       case $cc_basename in
11024       xlc*)
11025         lt_prog_compiler_pic_FC='-qnocommon'
11026         lt_prog_compiler_wl_FC='-Wl,'
11027         ;;
11028       esac
11029       ;;
11030
11031     mingw* | cygwin* | pw32* | os2*)
11032       # This hack is so that the source file can tell whether it is being
11033       # built for inclusion in a dll (and should export symbols for example).
11034       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11035       ;;
11036
11037     hpux9* | hpux10* | hpux11*)
11038       lt_prog_compiler_wl_FC='-Wl,'
11039       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11040       # not for PA HP-UX.
11041       case $host_cpu in
11042       hppa*64*|ia64*)
11043         # +Z the default
11044         ;;
11045       *)
11046         lt_prog_compiler_pic_FC='+Z'
11047         ;;
11048       esac
11049       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11050       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11051       ;;
11052
11053     irix5* | irix6* | nonstopux*)
11054       lt_prog_compiler_wl_FC='-Wl,'
11055       # PIC (with -KPIC) is the default.
11056       lt_prog_compiler_static_FC='-non_shared'
11057       ;;
11058
11059     linux* | k*bsd*-gnu)
11060       case $cc_basename in
11061       icc* | ecc*)
11062         lt_prog_compiler_wl_FC='-Wl,'
11063         lt_prog_compiler_pic_FC='-KPIC'
11064         lt_prog_compiler_static_FC='-static'
11065         ;;
11066       pgcc* | pgf77* | pgf90* | pgf95*)
11067         # Portland Group compilers (*not* the Pentium gcc compiler,
11068         # which looks to be a dead project)
11069         lt_prog_compiler_wl_FC='-Wl,'
11070         lt_prog_compiler_pic_FC='-fpic'
11071         lt_prog_compiler_static_FC='-Bstatic'
11072         ;;
11073       ccc*)
11074         lt_prog_compiler_wl_FC='-Wl,'
11075         # All Alpha code is PIC.
11076         lt_prog_compiler_static_FC='-non_shared'
11077         ;;
11078       *)
11079         case `$CC -V 2>&1 | sed 5q` in
11080         *Sun\ C*)
11081           # Sun C 5.9
11082           lt_prog_compiler_pic_FC='-KPIC'
11083           lt_prog_compiler_static_FC='-Bstatic'
11084           lt_prog_compiler_wl_FC='-Wl,'
11085           ;;
11086         *Sun\ F*)
11087           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11088           lt_prog_compiler_pic_FC='-KPIC'
11089           lt_prog_compiler_static_FC='-Bstatic'
11090           lt_prog_compiler_wl_FC=''
11091           ;;
11092         esac
11093         ;;
11094       esac
11095       ;;
11096
11097     newsos6)
11098       lt_prog_compiler_pic_FC='-KPIC'
11099       lt_prog_compiler_static_FC='-Bstatic'
11100       ;;
11101
11102     *nto* | *qnx*)
11103       # QNX uses GNU C++, but need to define -shared option too, otherwise
11104       # it will coredump.
11105       lt_prog_compiler_pic_FC='-fPIC -shared'
11106       ;;
11107
11108     osf3* | osf4* | osf5*)
11109       lt_prog_compiler_wl_FC='-Wl,'
11110       # All OSF/1 code is PIC.
11111       lt_prog_compiler_static_FC='-non_shared'
11112       ;;
11113
11114     rdos*)
11115       lt_prog_compiler_static_FC='-non_shared'
11116       ;;
11117
11118     solaris*)
11119       lt_prog_compiler_pic_FC='-KPIC'
11120       lt_prog_compiler_static_FC='-Bstatic'
11121       case $cc_basename in
11122       f77* | f90* | f95*)
11123         lt_prog_compiler_wl_FC='-Qoption ld ';;
11124       *)
11125         lt_prog_compiler_wl_FC='-Wl,';;
11126       esac
11127       ;;
11128
11129     sunos4*)
11130       lt_prog_compiler_wl_FC='-Qoption ld '
11131       lt_prog_compiler_pic_FC='-PIC'
11132       lt_prog_compiler_static_FC='-Bstatic'
11133       ;;
11134
11135     sysv4 | sysv4.2uw2* | sysv4.3*)
11136       lt_prog_compiler_wl_FC='-Wl,'
11137       lt_prog_compiler_pic_FC='-KPIC'
11138       lt_prog_compiler_static_FC='-Bstatic'
11139       ;;
11140
11141     sysv4*MP*)
11142       if test -d /usr/nec ;then
11143         lt_prog_compiler_pic_FC='-Kconform_pic'
11144         lt_prog_compiler_static_FC='-Bstatic'
11145       fi
11146       ;;
11147
11148     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11149       lt_prog_compiler_wl_FC='-Wl,'
11150       lt_prog_compiler_pic_FC='-KPIC'
11151       lt_prog_compiler_static_FC='-Bstatic'
11152       ;;
11153
11154     unicos*)
11155       lt_prog_compiler_wl_FC='-Wl,'
11156       lt_prog_compiler_can_build_shared_FC=no
11157       ;;
11158
11159     uts4*)
11160       lt_prog_compiler_pic_FC='-pic'
11161       lt_prog_compiler_static_FC='-Bstatic'
11162       ;;
11163
11164     *)
11165       lt_prog_compiler_can_build_shared_FC=no
11166       ;;
11167     esac
11168   fi
11169
11170 case $host_os in
11171   # For platforms which do not support PIC, -DPIC is meaningless:
11172   *djgpp*)
11173     lt_prog_compiler_pic_FC=
11174     ;;
11175   *)
11176     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11177     ;;
11178 esac
11179 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11180 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11181
11182
11183
11184 #
11185 # Check to make sure the PIC flag actually works.
11186 #
11187 if test -n "$lt_prog_compiler_pic_FC"; then
11188   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11189 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11190 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11191   echo $ECHO_N "(cached) $ECHO_C" >&6
11192 else
11193   lt_prog_compiler_pic_works_FC=no
11194    ac_outfile=conftest.$ac_objext
11195    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11196    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11197    # Insert the option either (1) after the last *FLAGS variable, or
11198    # (2) before a word containing "conftest.", or (3) at the end.
11199    # Note that $ac_compile itself does not contain backslashes and begins
11200    # with a dollar sign (not a hyphen), so the echo should work correctly.
11201    # The option is referenced via a variable to avoid confusing sed.
11202    lt_compile=`echo "$ac_compile" | $SED \
11203    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11204    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11205    -e 's:$: $lt_compiler_flag:'`
11206    (eval echo "\"\$as_me:11206: $lt_compile\"" >&5)
11207    (eval "$lt_compile" 2>conftest.err)
11208    ac_status=$?
11209    cat conftest.err >&5
11210    echo "$as_me:11210: \$? = $ac_status" >&5
11211    if (exit $ac_status) && test -s "$ac_outfile"; then
11212      # The compiler can only warn and ignore the option if not recognized
11213      # So say no if there are warnings other than the usual output.
11214      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11215      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11216      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11217        lt_prog_compiler_pic_works_FC=yes
11218      fi
11219    fi
11220    $RM conftest*
11221
11222 fi
11223 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11224 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11225
11226 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11227     case $lt_prog_compiler_pic_FC in
11228      "" | " "*) ;;
11229      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11230      esac
11231 else
11232     lt_prog_compiler_pic_FC=
11233      lt_prog_compiler_can_build_shared_FC=no
11234 fi
11235
11236 fi
11237
11238
11239
11240 #
11241 # Check to make sure the static flag actually works.
11242 #
11243 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11244 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11245 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11246 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11247   echo $ECHO_N "(cached) $ECHO_C" >&6
11248 else
11249   lt_prog_compiler_static_works_FC=no
11250    save_LDFLAGS="$LDFLAGS"
11251    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11252    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11253    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11254      # The linker can only warn and ignore the option if not recognized
11255      # So say no if there are warnings
11256      if test -s conftest.err; then
11257        # Append any errors to the config.log.
11258        cat conftest.err 1>&5
11259        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11260        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11261        if diff conftest.exp conftest.er2 >/dev/null; then
11262          lt_prog_compiler_static_works_FC=yes
11263        fi
11264      else
11265        lt_prog_compiler_static_works_FC=yes
11266      fi
11267    fi
11268    $RM conftest*
11269    LDFLAGS="$save_LDFLAGS"
11270
11271 fi
11272 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11273 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11274
11275 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11276     :
11277 else
11278     lt_prog_compiler_static_FC=
11279 fi
11280
11281
11282
11283
11284     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11285 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11286 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11287   echo $ECHO_N "(cached) $ECHO_C" >&6
11288 else
11289   lt_cv_prog_compiler_c_o_FC=no
11290    $RM -r conftest 2>/dev/null
11291    mkdir conftest
11292    cd conftest
11293    mkdir out
11294    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11295
11296    lt_compiler_flag="-o out/conftest2.$ac_objext"
11297    # Insert the option either (1) after the last *FLAGS variable, or
11298    # (2) before a word containing "conftest.", or (3) at the end.
11299    # Note that $ac_compile itself does not contain backslashes and begins
11300    # with a dollar sign (not a hyphen), so the echo should work correctly.
11301    lt_compile=`echo "$ac_compile" | $SED \
11302    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11303    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11304    -e 's:$: $lt_compiler_flag:'`
11305    (eval echo "\"\$as_me:11305: $lt_compile\"" >&5)
11306    (eval "$lt_compile" 2>out/conftest.err)
11307    ac_status=$?
11308    cat out/conftest.err >&5
11309    echo "$as_me:11309: \$? = $ac_status" >&5
11310    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11311    then
11312      # The compiler can only warn and ignore the option if not recognized
11313      # So say no if there are warnings
11314      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11315      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11316      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11317        lt_cv_prog_compiler_c_o_FC=yes
11318      fi
11319    fi
11320    chmod u+w . 2>&5
11321    $RM conftest*
11322    # SGI C++ compiler will create directory out/ii_files/ for
11323    # template instantiation
11324    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11325    $RM out/* && rmdir out
11326    cd ..
11327    $RM -r conftest
11328    $RM conftest*
11329
11330 fi
11331 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11332 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11333
11334
11335
11336     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11337 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11338 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11339   echo $ECHO_N "(cached) $ECHO_C" >&6
11340 else
11341   lt_cv_prog_compiler_c_o_FC=no
11342    $RM -r conftest 2>/dev/null
11343    mkdir conftest
11344    cd conftest
11345    mkdir out
11346    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11347
11348    lt_compiler_flag="-o out/conftest2.$ac_objext"
11349    # Insert the option either (1) after the last *FLAGS variable, or
11350    # (2) before a word containing "conftest.", or (3) at the end.
11351    # Note that $ac_compile itself does not contain backslashes and begins
11352    # with a dollar sign (not a hyphen), so the echo should work correctly.
11353    lt_compile=`echo "$ac_compile" | $SED \
11354    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11355    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11356    -e 's:$: $lt_compiler_flag:'`
11357    (eval echo "\"\$as_me:11357: $lt_compile\"" >&5)
11358    (eval "$lt_compile" 2>out/conftest.err)
11359    ac_status=$?
11360    cat out/conftest.err >&5
11361    echo "$as_me:11361: \$? = $ac_status" >&5
11362    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11363    then
11364      # The compiler can only warn and ignore the option if not recognized
11365      # So say no if there are warnings
11366      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11367      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11368      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11369        lt_cv_prog_compiler_c_o_FC=yes
11370      fi
11371    fi
11372    chmod u+w . 2>&5
11373    $RM conftest*
11374    # SGI C++ compiler will create directory out/ii_files/ for
11375    # template instantiation
11376    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11377    $RM out/* && rmdir out
11378    cd ..
11379    $RM -r conftest
11380    $RM conftest*
11381
11382 fi
11383 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11384 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11385
11386
11387
11388
11389 hard_links="nottested"
11390 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11391   # do not overwrite the value of need_locks provided by the user
11392   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11393 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11394   hard_links=yes
11395   $RM conftest*
11396   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11397   touch conftest.a
11398   ln conftest.a conftest.b 2>&5 || hard_links=no
11399   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11400   echo "$as_me:$LINENO: result: $hard_links" >&5
11401 echo "${ECHO_T}$hard_links" >&6
11402   if test "$hard_links" = no; then
11403     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11404 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11405     need_locks=warn
11406   fi
11407 else
11408   need_locks=no
11409 fi
11410
11411
11412
11413     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11414 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11415
11416   runpath_var=
11417   allow_undefined_flag_FC=
11418   always_export_symbols_FC=no
11419   archive_cmds_FC=
11420   archive_expsym_cmds_FC=
11421   compiler_needs_object_FC=no
11422   enable_shared_with_static_runtimes_FC=no
11423   export_dynamic_flag_spec_FC=
11424   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11425   hardcode_automatic_FC=no
11426   hardcode_direct_FC=no
11427   hardcode_direct_absolute_FC=no
11428   hardcode_libdir_flag_spec_FC=
11429   hardcode_libdir_flag_spec_ld_FC=
11430   hardcode_libdir_separator_FC=
11431   hardcode_minus_L_FC=no
11432   hardcode_shlibpath_var_FC=unsupported
11433   inherit_rpath_FC=no
11434   link_all_deplibs_FC=unknown
11435   module_cmds_FC=
11436   module_expsym_cmds_FC=
11437   old_archive_from_new_cmds_FC=
11438   old_archive_from_expsyms_cmds_FC=
11439   thread_safe_flag_spec_FC=
11440   whole_archive_flag_spec_FC=
11441   # include_expsyms should be a list of space-separated symbols to be *always*
11442   # included in the symbol list
11443   include_expsyms_FC=
11444   # exclude_expsyms can be an extended regexp of symbols to exclude
11445   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11446   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11447   # as well as any symbol that contains `d'.
11448   exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11449   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11450   # platforms (ab)use it in PIC code, but their linkers get confused if
11451   # the symbol is explicitly referenced.  Since portable code cannot
11452   # rely on this symbol name, it's probably fine to never include it in
11453   # preloaded symbol tables.
11454   extract_expsyms_cmds=
11455
11456   case $host_os in
11457   cygwin* | mingw* | pw32*)
11458     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11459     # When not using gcc, we currently assume that we are using
11460     # Microsoft Visual C++.
11461     if test "$GCC" != yes; then
11462       with_gnu_ld=no
11463     fi
11464     ;;
11465   interix*)
11466     # we just hope/assume this is gcc and not c89 (= MSVC++)
11467     with_gnu_ld=yes
11468     ;;
11469   openbsd*)
11470     with_gnu_ld=no
11471     ;;
11472   esac
11473
11474   ld_shlibs_FC=yes
11475   if test "$with_gnu_ld" = yes; then
11476     # If archive_cmds runs LD, not CC, wlarc should be empty
11477     wlarc='${wl}'
11478
11479     # Set some defaults for GNU ld with shared library support. These
11480     # are reset later if shared libraries are not supported. Putting them
11481     # here allows them to be overridden if necessary.
11482     runpath_var=LD_RUN_PATH
11483     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11484     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11485     # ancient GNU ld didn't support --whole-archive et. al.
11486     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11487       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11488     else
11489       whole_archive_flag_spec_FC=
11490     fi
11491     supports_anon_versioning=no
11492     case `$LD -v 2>&1` in
11493       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11494       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11495       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11496       *\ 2.11.*) ;; # other 2.11 versions
11497       *) supports_anon_versioning=yes ;;
11498     esac
11499
11500     # See if GNU ld supports shared libraries.
11501     case $host_os in
11502     aix3* | aix4* | aix5*)
11503       # On AIX/PPC, the GNU linker is very broken
11504       if test "$host_cpu" != ia64; then
11505         ld_shlibs_FC=no
11506         cat <<_LT_EOF 1>&2
11507
11508 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11509 *** to be unable to reliably create shared libraries on AIX.
11510 *** Therefore, libtool is disabling shared libraries support.  If you
11511 *** really care for shared libraries, you may want to modify your PATH
11512 *** so that a non-GNU linker is found, and then restart.
11513
11514 _LT_EOF
11515       fi
11516       ;;
11517
11518     amigaos*)
11519       if test "$host_cpu" = m68k; then
11520         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)'
11521         hardcode_libdir_flag_spec_FC='-L$libdir'
11522         hardcode_minus_L_FC=yes
11523       fi
11524
11525       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11526       # that the semantics of dynamic libraries on AmigaOS, at least up
11527       # to version 4, is to share data among multiple programs linked
11528       # with the same dynamic library.  Since this doesn't match the
11529       # behavior of shared libraries on other platforms, we can't use
11530       # them.
11531       ld_shlibs_FC=no
11532       ;;
11533
11534     beos*)
11535       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11536         allow_undefined_flag_FC=unsupported
11537         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11538         # support --undefined.  This deserves some investigation.  FIXME
11539         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11540       else
11541         ld_shlibs_FC=no
11542       fi
11543       ;;
11544
11545     cygwin* | mingw* | pw32*)
11546       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11547       # as there is no search path for DLLs.
11548       hardcode_libdir_flag_spec_FC='-L$libdir'
11549       allow_undefined_flag_FC=unsupported
11550       always_export_symbols_FC=no
11551       enable_shared_with_static_runtimes_FC=yes
11552       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11553
11554       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11555         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11556         # If the export-symbols file already is a .def file (1st line
11557         # is EXPORTS), use it as is; otherwise, prepend...
11558         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11559           cp $export_symbols $output_objdir/$soname.def;
11560         else
11561           echo EXPORTS > $output_objdir/$soname.def;
11562           cat $export_symbols >> $output_objdir/$soname.def;
11563         fi~
11564         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11565       else
11566         ld_shlibs_FC=no
11567       fi
11568       ;;
11569
11570     interix[3-9]*)
11571       hardcode_direct_FC=no
11572       hardcode_shlibpath_var_FC=no
11573       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11574       export_dynamic_flag_spec_FC='${wl}-E'
11575       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11576       # Instead, shared libraries are loaded at an image base (0x10000000 by
11577       # default) and relocated if they conflict, which is a slow very memory
11578       # consuming and fragmenting process.  To avoid this, we pick a random,
11579       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11580       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11581       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'
11582       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'
11583       ;;
11584
11585     gnu* | linux* | tpf* | k*bsd*-gnu)
11586       tmp_diet=no
11587       if test "$host_os" = linux-dietlibc; then
11588         case $cc_basename in
11589           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11590         esac
11591       fi
11592       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11593          && test "$tmp_diet" = no
11594       then
11595         tmp_addflag=
11596         case $cc_basename,$host_cpu in
11597         pgcc*)                          # Portland Group C compiler
11598           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'
11599           tmp_addflag=' $pic_flag'
11600           ;;
11601         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11602           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'
11603           tmp_addflag=' $pic_flag -Mnomain' ;;
11604         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11605           tmp_addflag=' -i_dynamic' ;;
11606         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11607           tmp_addflag=' -i_dynamic -nofor_main' ;;
11608         ifc* | ifort*)                  # Intel Fortran compiler
11609           tmp_addflag=' -nofor_main' ;;
11610         esac
11611         case `$CC -V 2>&1 | sed 5q` in
11612         *Sun\ C*)                       # Sun C 5.9
11613           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'
11614           compiler_needs_object_FC=yes
11615           tmp_sharedflag='-G' ;;
11616         *Sun\ F*)                       # Sun Fortran 8.3
11617           tmp_sharedflag='-G' ;;
11618         *)
11619           tmp_sharedflag='-shared' ;;
11620         esac
11621         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11622
11623         if test "x$supports_anon_versioning" = xyes; then
11624           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11625             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11626             echo "local: *; };" >> $output_objdir/$libname.ver~
11627             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11628         fi
11629       else
11630         ld_shlibs_FC=no
11631       fi
11632       ;;
11633
11634     netbsd*)
11635       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11636         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11637         wlarc=
11638       else
11639         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11640         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11641       fi
11642       ;;
11643
11644     solaris*)
11645       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11646         ld_shlibs_FC=no
11647         cat <<_LT_EOF 1>&2
11648
11649 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11650 *** create shared libraries on Solaris systems.  Therefore, libtool
11651 *** is disabling shared libraries support.  We urge you to upgrade GNU
11652 *** binutils to release 2.9.1 or newer.  Another option is to modify
11653 *** your PATH or compiler configuration so that the native linker is
11654 *** used, and then restart.
11655
11656 _LT_EOF
11657       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11658         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11659         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11660       else
11661         ld_shlibs_FC=no
11662       fi
11663       ;;
11664
11665     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11666       case `$LD -v 2>&1` in
11667         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11668         ld_shlibs_FC=no
11669         cat <<_LT_EOF 1>&2
11670
11671 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11672 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11673 *** is disabling shared libraries support.  We urge you to upgrade GNU
11674 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11675 *** your PATH or compiler configuration so that the native linker is
11676 *** used, and then restart.
11677
11678 _LT_EOF
11679         ;;
11680         *)
11681           # For security reasons, it is highly recommended that you always
11682           # use absolute paths for naming shared libraries, and exclude the
11683           # DT_RUNPATH tag from executables and libraries.  But doing so
11684           # requires that you compile everything twice, which is a pain.
11685           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11686             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11687             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11688             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11689           else
11690             ld_shlibs_FC=no
11691           fi
11692         ;;
11693       esac
11694       ;;
11695
11696     sunos4*)
11697       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11698       wlarc=
11699       hardcode_direct_FC=yes
11700       hardcode_shlibpath_var_FC=no
11701       ;;
11702
11703     *)
11704       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11705         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11706         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11707       else
11708         ld_shlibs_FC=no
11709       fi
11710       ;;
11711     esac
11712
11713     if test "$ld_shlibs_FC" = no; then
11714       runpath_var=
11715       hardcode_libdir_flag_spec_FC=
11716       export_dynamic_flag_spec_FC=
11717       whole_archive_flag_spec_FC=
11718     fi
11719   else
11720     # PORTME fill in a description of your system's linker (not GNU ld)
11721     case $host_os in
11722     aix3*)
11723       allow_undefined_flag_FC=unsupported
11724       always_export_symbols_FC=yes
11725       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'
11726       # Note: this linker hardcodes the directories in LIBPATH if there
11727       # are no directories specified by -L.
11728       hardcode_minus_L_FC=yes
11729       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11730         # Neither direct hardcoding nor static linking is supported with a
11731         # broken collect2.
11732         hardcode_direct_FC=unsupported
11733       fi
11734       ;;
11735
11736     aix4* | aix5*)
11737       if test "$host_cpu" = ia64; then
11738         # On IA64, the linker does run time linking by default, so we don't
11739         # have to do anything special.
11740         aix_use_runtimelinking=no
11741         exp_sym_flag='-Bexport'
11742         no_entry_flag=""
11743       else
11744         # If we're using GNU nm, then we don't want the "-C" option.
11745         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11746         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11747           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'
11748         else
11749           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'
11750         fi
11751         aix_use_runtimelinking=no
11752
11753         # Test if we are trying to use run time linking or normal
11754         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11755         # need to do runtime linking.
11756         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11757           for ld_flag in $LDFLAGS; do
11758           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11759             aix_use_runtimelinking=yes
11760             break
11761           fi
11762           done
11763           ;;
11764         esac
11765
11766         exp_sym_flag='-bexport'
11767         no_entry_flag='-bnoentry'
11768       fi
11769
11770       # When large executables or shared objects are built, AIX ld can
11771       # have problems creating the table of contents.  If linking a library
11772       # or program results in "error TOC overflow" add -mminimal-toc to
11773       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11774       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11775
11776       archive_cmds_FC=''
11777       hardcode_direct_FC=yes
11778       hardcode_direct_absolute_FC=yes
11779       hardcode_libdir_separator_FC=':'
11780       link_all_deplibs_FC=yes
11781       file_list_spec_FC='${wl}-f,'
11782
11783       if test "$GCC" = yes; then
11784         case $host_os in aix4.[012]|aix4.[012].*)
11785         # We only want to do this on AIX 4.2 and lower, the check
11786         # below for broken collect2 doesn't work under 4.3+
11787           collect2name=`${CC} -print-prog-name=collect2`
11788           if test -f "$collect2name" &&
11789            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11790           then
11791           # We have reworked collect2
11792           :
11793           else
11794           # We have old collect2
11795           hardcode_direct_FC=unsupported
11796           # It fails to find uninstalled libraries when the uninstalled
11797           # path is not listed in the libpath.  Setting hardcode_minus_L
11798           # to unsupported forces relinking
11799           hardcode_minus_L_FC=yes
11800           hardcode_libdir_flag_spec_FC='-L$libdir'
11801           hardcode_libdir_separator_FC=
11802           fi
11803           ;;
11804         esac
11805         shared_flag='-shared'
11806         if test "$aix_use_runtimelinking" = yes; then
11807           shared_flag="$shared_flag "'${wl}-G'
11808         fi
11809       else
11810         # not using gcc
11811         if test "$host_cpu" = ia64; then
11812         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11813         # chokes on -Wl,-G. The following line is correct:
11814           shared_flag='-G'
11815         else
11816           if test "$aix_use_runtimelinking" = yes; then
11817             shared_flag='${wl}-G'
11818           else
11819             shared_flag='${wl}-bM:SRE'
11820           fi
11821         fi
11822       fi
11823
11824       # It seems that -bexpall does not export symbols beginning with
11825       # underscore (_), so it is better to generate a list of symbols to export.
11826       always_export_symbols_FC=yes
11827       if test "$aix_use_runtimelinking" = yes; then
11828         # Warning - without using the other runtime loading flags (-brtl),
11829         # -berok will link without error, but may produce a broken library.
11830         allow_undefined_flag_FC='-berok'
11831         # Determine the default libpath from the value encoded in an
11832         # empty executable.
11833         if test x$gcc_no_link = xyes; then
11834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11836    { (exit 1); exit 1; }; }
11837 fi
11838 cat >conftest.$ac_ext <<_ACEOF
11839       program main
11840
11841       end
11842 _ACEOF
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845   (eval $ac_link) 2>conftest.er1
11846   ac_status=$?
11847   grep -v '^ *+' conftest.er1 >conftest.err
11848   rm -f conftest.er1
11849   cat conftest.err >&5
11850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851   (exit $ac_status); } &&
11852          { ac_try='test -z "$ac_fc_werror_flag"
11853                          || test ! -s conftest.err'
11854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855   (eval $ac_try) 2>&5
11856   ac_status=$?
11857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858   (exit $ac_status); }; } &&
11859          { ac_try='test -s conftest$ac_exeext'
11860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861   (eval $ac_try) 2>&5
11862   ac_status=$?
11863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864   (exit $ac_status); }; }; then
11865
11866 lt_aix_libpath_sed='
11867     /Import File Strings/,/^$/ {
11868         /^0/ {
11869             s/^0  *\(.*\)$/\1/
11870             p
11871         }
11872     }'
11873 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11874 # Check for a 64-bit object if we didn't find anything.
11875 if test -z "$aix_libpath"; then
11876   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11877 fi
11878 else
11879   echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11881
11882 fi
11883 rm -f conftest.err conftest.$ac_objext \
11884       conftest$ac_exeext conftest.$ac_ext
11885 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11886
11887         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11888         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"
11889       else
11890         if test "$host_cpu" = ia64; then
11891           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11892           allow_undefined_flag_FC="-z nodefs"
11893           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"
11894         else
11895          # Determine the default libpath from the value encoded in an
11896          # empty executable.
11897          if test x$gcc_no_link = xyes; then
11898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11900    { (exit 1); exit 1; }; }
11901 fi
11902 cat >conftest.$ac_ext <<_ACEOF
11903       program main
11904
11905       end
11906 _ACEOF
11907 rm -f conftest.$ac_objext conftest$ac_exeext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11909   (eval $ac_link) 2>conftest.er1
11910   ac_status=$?
11911   grep -v '^ *+' conftest.er1 >conftest.err
11912   rm -f conftest.er1
11913   cat conftest.err >&5
11914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915   (exit $ac_status); } &&
11916          { ac_try='test -z "$ac_fc_werror_flag"
11917                          || test ! -s conftest.err'
11918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919   (eval $ac_try) 2>&5
11920   ac_status=$?
11921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922   (exit $ac_status); }; } &&
11923          { ac_try='test -s conftest$ac_exeext'
11924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925   (eval $ac_try) 2>&5
11926   ac_status=$?
11927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928   (exit $ac_status); }; }; then
11929
11930 lt_aix_libpath_sed='
11931     /Import File Strings/,/^$/ {
11932         /^0/ {
11933             s/^0  *\(.*\)$/\1/
11934             p
11935         }
11936     }'
11937 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11938 # Check for a 64-bit object if we didn't find anything.
11939 if test -z "$aix_libpath"; then
11940   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11941 fi
11942 else
11943   echo "$as_me: failed program was:" >&5
11944 sed 's/^/| /' conftest.$ac_ext >&5
11945
11946 fi
11947 rm -f conftest.err conftest.$ac_objext \
11948       conftest$ac_exeext conftest.$ac_ext
11949 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11950
11951          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11952           # Warning - without using the other run time loading flags,
11953           # -berok will link without error, but may produce a broken library.
11954           no_undefined_flag_FC=' ${wl}-bernotok'
11955           allow_undefined_flag_FC=' ${wl}-berok'
11956           # Exported symbols can be pulled into shared objects from archives
11957           whole_archive_flag_spec_FC='$convenience'
11958           archive_cmds_need_lc_FC=yes
11959           # This is similar to how AIX traditionally builds its shared libraries.
11960           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'
11961         fi
11962       fi
11963       ;;
11964
11965     amigaos*)
11966       if test "$host_cpu" = m68k; then
11967         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)'
11968         hardcode_libdir_flag_spec_FC='-L$libdir'
11969         hardcode_minus_L_FC=yes
11970       fi
11971       # see comment about different semantics on the GNU ld section
11972       ld_shlibs_FC=no
11973       ;;
11974
11975     bsdi[45]*)
11976       export_dynamic_flag_spec_FC=-rdynamic
11977       ;;
11978
11979     cygwin* | mingw* | pw32*)
11980       # When not using gcc, we currently assume that we are using
11981       # Microsoft Visual C++.
11982       # hardcode_libdir_flag_spec is actually meaningless, as there is
11983       # no search path for DLLs.
11984       hardcode_libdir_flag_spec_FC=' '
11985       allow_undefined_flag_FC=unsupported
11986       # Tell ltmain to make .lib files, not .a files.
11987       libext=lib
11988       # Tell ltmain to make .dll files, not .so files.
11989       shrext_cmds=".dll"
11990       # FIXME: Setting linknames here is a bad hack.
11991       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11992       # The linker will automatically build a .lib file if we build a DLL.
11993       old_archive_from_new_cmds_FC='true'
11994       # FIXME: Should let the user specify the lib program.
11995       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
11996       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
11997       enable_shared_with_static_runtimes_FC=yes
11998       ;;
11999
12000     darwin* | rhapsody*)
12001       case $host_os in
12002       rhapsody* | darwin1.[012])
12003         allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12004         ;;
12005       *) # Darwin 1.3 on
12006         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12007         10.[012])
12008           allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12009           ;;
12010         10.*)
12011           allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12012           ;;
12013         esac
12014         ;;
12015       esac
12016       archive_cmds_need_lc_FC=no
12017       hardcode_direct_FC=no
12018       hardcode_automatic_FC=yes
12019       hardcode_shlibpath_var_FC=unsupported
12020       whole_archive_flag_spec_FC=''
12021       link_all_deplibs_FC=yes
12022       if test "$GCC" = yes ; then
12023         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12024   echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026   lt_cv_apple_cc_single_mod=no
12027         if test -z "${LT_MULTI_MODULE}"; then
12028           # By default we will add the -single_module flag. You can override
12029           # by either setting the environment variable LT_MULTI_MODULE
12030           # non-empty at configure time, or by adding -multi-module to the
12031           # link flags.
12032           echo "int foo(void){return 1;}" > conftest.c
12033           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12034               -dynamiclib ${wl}-single_module conftest.c
12035           if test -f libconftest.dylib; then
12036               lt_cv_apple_cc_single_mod=yes
12037               rm libconftest.dylib
12038           fi
12039           rm conftest.$ac_ext
12040         fi
12041 fi
12042
12043         output_verbose_link_cmd=echo
12044         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12045           archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12046           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}'
12047         else
12048           archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12049           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}'
12050         fi
12051         module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12052         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}'
12053       else
12054         case $cc_basename in
12055         xlc*)
12056           output_verbose_link_cmd=echo
12057           archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12058           module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12059           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12060           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}'
12061           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}'
12062           ;;
12063         *)
12064           ld_shlibs_FC=no
12065           ;;
12066         esac
12067       fi
12068       ;;
12069
12070     dgux*)
12071       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12072       hardcode_libdir_flag_spec_FC='-L$libdir'
12073       hardcode_shlibpath_var_FC=no
12074       ;;
12075
12076     freebsd1*)
12077       ld_shlibs_FC=no
12078       ;;
12079
12080     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12081     # support.  Future versions do this automatically, but an explicit c++rt0.o
12082     # does not break anything, and helps significantly (at the cost of a little
12083     # extra space).
12084     freebsd2.2*)
12085       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12086       hardcode_libdir_flag_spec_FC='-R$libdir'
12087       hardcode_direct_FC=yes
12088       hardcode_shlibpath_var_FC=no
12089       ;;
12090
12091     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12092     freebsd2*)
12093       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12094       hardcode_direct_FC=yes
12095       hardcode_minus_L_FC=yes
12096       hardcode_shlibpath_var_FC=no
12097       ;;
12098
12099     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12100     freebsd* | dragonfly*)
12101       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12102       hardcode_libdir_flag_spec_FC='-R$libdir'
12103       hardcode_direct_FC=yes
12104       hardcode_shlibpath_var_FC=no
12105       ;;
12106
12107     hpux9*)
12108       if test "$GCC" = yes; then
12109         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'
12110       else
12111         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'
12112       fi
12113       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12114       hardcode_libdir_separator_FC=:
12115       hardcode_direct_FC=yes
12116
12117       # hardcode_minus_L: Not really in the search PATH,
12118       # but as the default location of the library.
12119       hardcode_minus_L_FC=yes
12120       export_dynamic_flag_spec_FC='${wl}-E'
12121       ;;
12122
12123     hpux10*)
12124       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12125         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12126       else
12127         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12128       fi
12129       if test "$with_gnu_ld" = no; then
12130         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12131         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12132         hardcode_libdir_separator_FC=:
12133         hardcode_direct_FC=yes
12134         hardcode_direct_absolute_FC=yes
12135         export_dynamic_flag_spec_FC='${wl}-E'
12136         # hardcode_minus_L: Not really in the search PATH,
12137         # but as the default location of the library.
12138         hardcode_minus_L_FC=yes
12139       fi
12140       ;;
12141
12142     hpux11*)
12143       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12144         case $host_cpu in
12145         hppa*64*)
12146           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12147           ;;
12148         ia64*)
12149           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12150           ;;
12151         *)
12152           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12153           ;;
12154         esac
12155       else
12156         case $host_cpu in
12157         hppa*64*)
12158           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12159           ;;
12160         ia64*)
12161           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12162           ;;
12163         *)
12164           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12165           ;;
12166         esac
12167       fi
12168       if test "$with_gnu_ld" = no; then
12169         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12170         hardcode_libdir_separator_FC=:
12171
12172         case $host_cpu in
12173         hppa*64*|ia64*)
12174           hardcode_direct_FC=no
12175           hardcode_shlibpath_var_FC=no
12176           ;;
12177         *)
12178           hardcode_direct_FC=yes
12179           hardcode_direct_absolute_FC=yes
12180           export_dynamic_flag_spec_FC='${wl}-E'
12181
12182           # hardcode_minus_L: Not really in the search PATH,
12183           # but as the default location of the library.
12184           hardcode_minus_L_FC=yes
12185           ;;
12186         esac
12187       fi
12188       ;;
12189
12190     irix5* | irix6* | nonstopux*)
12191       if test "$GCC" = yes; then
12192         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'
12193         # Try to use the -exported_symbol ld option, if it does not
12194         # work, assume that -exports_file does not work either and
12195         # implicitly export all symbols.
12196         save_LDFLAGS="$LDFLAGS"
12197         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12198         if test x$gcc_no_link = xyes; then
12199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12201    { (exit 1); exit 1; }; }
12202 fi
12203 cat >conftest.$ac_ext <<_ACEOF
12204 int foo(void) {}
12205 _ACEOF
12206 rm -f conftest.$ac_objext conftest$ac_exeext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12208   (eval $ac_link) 2>conftest.er1
12209   ac_status=$?
12210   grep -v '^ *+' conftest.er1 >conftest.err
12211   rm -f conftest.er1
12212   cat conftest.err >&5
12213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214   (exit $ac_status); } &&
12215          { ac_try='test -z "$ac_fc_werror_flag"
12216                          || test ! -s conftest.err'
12217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218   (eval $ac_try) 2>&5
12219   ac_status=$?
12220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221   (exit $ac_status); }; } &&
12222          { ac_try='test -s conftest$ac_exeext'
12223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224   (eval $ac_try) 2>&5
12225   ac_status=$?
12226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227   (exit $ac_status); }; }; then
12228   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'
12229
12230 else
12231   echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.$ac_ext >&5
12233
12234 fi
12235 rm -f conftest.err conftest.$ac_objext \
12236       conftest$ac_exeext conftest.$ac_ext
12237         LDFLAGS="$save_LDFLAGS"
12238       else
12239         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'
12240         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'
12241       fi
12242       archive_cmds_need_lc_FC='no'
12243       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12244       hardcode_libdir_separator_FC=:
12245       inherit_rpath_FC=yes
12246       link_all_deplibs_FC=yes
12247       ;;
12248
12249     netbsd*)
12250       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12251         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12252       else
12253         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12254       fi
12255       hardcode_libdir_flag_spec_FC='-R$libdir'
12256       hardcode_direct_FC=yes
12257       hardcode_shlibpath_var_FC=no
12258       ;;
12259
12260     newsos6)
12261       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12262       hardcode_direct_FC=yes
12263       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12264       hardcode_libdir_separator_FC=:
12265       hardcode_shlibpath_var_FC=no
12266       ;;
12267
12268     *nto* | *qnx*)
12269       ;;
12270
12271     openbsd*)
12272       hardcode_direct_FC=yes
12273       hardcode_shlibpath_var_FC=no
12274       hardcode_direct_absolute_FC=yes
12275       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12276         archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12277         archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12278         hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12279         export_dynamic_flag_spec_FC='${wl}-E'
12280       else
12281         case $host_os in
12282         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12283           archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12284           hardcode_libdir_flag_spec_FC='-R$libdir'
12285           ;;
12286         *)
12287           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12288           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12289           ;;
12290         esac
12291       fi
12292       ;;
12293
12294     os2*)
12295       hardcode_libdir_flag_spec_FC='-L$libdir'
12296       hardcode_minus_L_FC=yes
12297       allow_undefined_flag_FC=unsupported
12298       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'
12299       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12300       ;;
12301
12302     osf3*)
12303       if test "$GCC" = yes; then
12304         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12305         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'
12306       else
12307         allow_undefined_flag_FC=' -expect_unresolved \*'
12308         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'
12309       fi
12310       archive_cmds_need_lc_FC='no'
12311       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12312       hardcode_libdir_separator_FC=:
12313       ;;
12314
12315     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12316       if test "$GCC" = yes; then
12317         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12318         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'
12319         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12320       else
12321         allow_undefined_flag_FC=' -expect_unresolved \*'
12322         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'
12323         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~
12324         $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'
12325
12326         # Both c and cxx compiler support -rpath directly
12327         hardcode_libdir_flag_spec_FC='-rpath $libdir'
12328       fi
12329       archive_cmds_need_lc_FC='no'
12330       hardcode_libdir_separator_FC=:
12331       ;;
12332
12333     solaris*)
12334       no_undefined_flag_FC=' -z defs'
12335       if test "$GCC" = yes; then
12336         wlarc='${wl}'
12337         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12338         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12339           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12340       else
12341         case `$CC -V 2>&1` in
12342         *"Compilers 5.0"*)
12343           wlarc=''
12344           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12345           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12346           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12347           ;;
12348         *)
12349           wlarc='${wl}'
12350           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12351           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12352           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12353           ;;
12354         esac
12355       fi
12356       hardcode_libdir_flag_spec_FC='-R$libdir'
12357       hardcode_shlibpath_var_FC=no
12358       case $host_os in
12359       solaris2.[0-5] | solaris2.[0-5].*) ;;
12360       *)
12361         # The compiler driver will combine and reorder linker options,
12362         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12363         # but is careful enough not to reorder.
12364         # Supported since Solaris 2.6 (maybe 2.5.1?)
12365         if test "$GCC" = yes; then
12366           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12367         else
12368           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12369         fi
12370         ;;
12371       esac
12372       link_all_deplibs_FC=yes
12373       ;;
12374
12375     sunos4*)
12376       if test "x$host_vendor" = xsequent; then
12377         # Use $CC to link under sequent, because it throws in some extra .o
12378         # files that make .init and .fini sections work.
12379         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12380       else
12381         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12382       fi
12383       hardcode_libdir_flag_spec_FC='-L$libdir'
12384       hardcode_direct_FC=yes
12385       hardcode_minus_L_FC=yes
12386       hardcode_shlibpath_var_FC=no
12387       ;;
12388
12389     sysv4)
12390       case $host_vendor in
12391         sni)
12392           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12393           hardcode_direct_FC=yes # is this really true???
12394         ;;
12395         siemens)
12396           ## LD is ld it makes a PLAMLIB
12397           ## CC just makes a GrossModule.
12398           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12399           reload_cmds_FC='$CC -r -o $output$reload_objs'
12400           hardcode_direct_FC=no
12401         ;;
12402         motorola)
12403           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12404           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12405         ;;
12406       esac
12407       runpath_var='LD_RUN_PATH'
12408       hardcode_shlibpath_var_FC=no
12409       ;;
12410
12411     sysv4.3*)
12412       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12413       hardcode_shlibpath_var_FC=no
12414       export_dynamic_flag_spec_FC='-Bexport'
12415       ;;
12416
12417     sysv4*MP*)
12418       if test -d /usr/nec; then
12419         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12420         hardcode_shlibpath_var_FC=no
12421         runpath_var=LD_RUN_PATH
12422         hardcode_runpath_var=yes
12423         ld_shlibs_FC=yes
12424       fi
12425       ;;
12426
12427     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12428       no_undefined_flag_FC='${wl}-z,text'
12429       archive_cmds_need_lc_FC=no
12430       hardcode_shlibpath_var_FC=no
12431       runpath_var='LD_RUN_PATH'
12432
12433       if test "$GCC" = yes; then
12434         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12435         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12436       else
12437         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12438         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12439       fi
12440       ;;
12441
12442     sysv5* | sco3.2v5* | sco5v6*)
12443       # Note: We can NOT use -z defs as we might desire, because we do not
12444       # link with -lc, and that would cause any symbols used from libc to
12445       # always be unresolved, which means just about no library would
12446       # ever link correctly.  If we're not using GNU ld we use -z text
12447       # though, which does catch some bad symbols but isn't as heavy-handed
12448       # as -z defs.
12449       no_undefined_flag_FC='${wl}-z,text'
12450       allow_undefined_flag_FC='${wl}-z,nodefs'
12451       archive_cmds_need_lc_FC=no
12452       hardcode_shlibpath_var_FC=no
12453       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12454       hardcode_libdir_separator_FC=':'
12455       link_all_deplibs_FC=yes
12456       export_dynamic_flag_spec_FC='${wl}-Bexport'
12457       runpath_var='LD_RUN_PATH'
12458
12459       if test "$GCC" = yes; then
12460         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12461         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12462       else
12463         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12464         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12465       fi
12466       ;;
12467
12468     uts4*)
12469       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12470       hardcode_libdir_flag_spec_FC='-L$libdir'
12471       hardcode_shlibpath_var_FC=no
12472       ;;
12473
12474     *)
12475       ld_shlibs_FC=no
12476       ;;
12477     esac
12478
12479     if test x$host_vendor = xsni; then
12480       case $host in
12481       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12482         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12483         ;;
12484       esac
12485     fi
12486   fi
12487
12488 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12489 echo "${ECHO_T}$ld_shlibs_FC" >&6
12490 test "$ld_shlibs_FC" = no && can_build_shared=no
12491
12492 with_gnu_ld_FC=$with_gnu_ld
12493
12494
12495
12496
12497
12498
12499 #
12500 # Do we need to explicitly link libc?
12501 #
12502 case "x$archive_cmds_need_lc_FC" in
12503 x|xyes)
12504   # Assume -lc should be added
12505   archive_cmds_need_lc_FC=yes
12506
12507   if test "$enable_shared" = yes && test "$GCC" = yes; then
12508     case $archive_cmds_FC in
12509     *'~'*)
12510       # FIXME: we may have to deal with multi-command sequences.
12511       ;;
12512     '$CC '*)
12513       # Test whether the compiler implicitly links with -lc since on some
12514       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12515       # to ld, don't add -lc before -lgcc.
12516       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12517 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12518       $RM conftest*
12519       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12520
12521       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522   (eval $ac_compile) 2>&5
12523   ac_status=$?
12524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525   (exit $ac_status); } 2>conftest.err; then
12526         soname=conftest
12527         lib=conftest
12528         libobjs=conftest.$ac_objext
12529         deplibs=
12530         wl=$lt_prog_compiler_wl_FC
12531         pic_flag=$lt_prog_compiler_pic_FC
12532         compiler_flags=-v
12533         linker_flags=-v
12534         verstring=
12535         output_objdir=.
12536         libname=conftest
12537         lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12538         allow_undefined_flag_FC=
12539         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12540   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12541   ac_status=$?
12542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543   (exit $ac_status); }
12544         then
12545           archive_cmds_need_lc_FC=no
12546         else
12547           archive_cmds_need_lc_FC=yes
12548         fi
12549         allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12550       else
12551         cat conftest.err 1>&5
12552       fi
12553       $RM conftest*
12554       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12555 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12556       ;;
12557     esac
12558   fi
12559   ;;
12560 esac
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12626 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12627 withGCC=$ac_cv_fc_compiler_gnu
12628 library_names_spec=
12629 libname_spec='lib$name'
12630 soname_spec=
12631 shrext_cmds=".so"
12632 postinstall_cmds=
12633 postuninstall_cmds=
12634 finish_cmds=
12635 finish_eval=
12636 shlibpath_var=
12637 shlibpath_overrides_runpath=unknown
12638 version_type=none
12639 dynamic_linker="$host_os ld.so"
12640 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12641 need_lib_prefix=unknown
12642 hardcode_into_libs=no
12643
12644 # when you set need_version to no, make sure it does not cause -set_version
12645 # flags to be left without arguments
12646 need_version=unknown
12647
12648 case $host_os in
12649 aix3*)
12650   version_type=linux
12651   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12652   shlibpath_var=LIBPATH
12653
12654   # AIX 3 has no versioning support, so we append a major version to the name.
12655   soname_spec='${libname}${release}${shared_ext}$major'
12656   ;;
12657
12658 aix4* | aix5*)
12659   version_type=linux
12660   need_lib_prefix=no
12661   need_version=no
12662   hardcode_into_libs=yes
12663   if test "$host_cpu" = ia64; then
12664     # AIX 5 supports IA64
12665     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12666     shlibpath_var=LD_LIBRARY_PATH
12667   else
12668     # With GCC up to 2.95.x, collect2 would create an import file
12669     # for dependence libraries.  The import file would start with
12670     # the line `#! .'.  This would cause the generated library to
12671     # depend on `.', always an invalid library.  This was fixed in
12672     # development snapshots of GCC prior to 3.0.
12673     case $host_os in
12674       aix4 | aix4.[01] | aix4.[01].*)
12675       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12676            echo ' yes '
12677            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12678         :
12679       else
12680         can_build_shared=no
12681       fi
12682       ;;
12683     esac
12684     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12685     # soname into executable. Probably we can add versioning support to
12686     # collect2, so additional links can be useful in future.
12687     if test "$aix_use_runtimelinking" = yes; then
12688       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12689       # instead of lib<name>.a to let people know that these are not
12690       # typical AIX shared libraries.
12691       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12692     else
12693       # We preserve .a as extension for shared libraries through AIX4.2
12694       # and later when we are not doing run time linking.
12695       library_names_spec='${libname}${release}.a $libname.a'
12696       soname_spec='${libname}${release}${shared_ext}$major'
12697     fi
12698     shlibpath_var=LIBPATH
12699   fi
12700   ;;
12701
12702 amigaos*)
12703   if test "$host_cpu" = m68k; then
12704     library_names_spec='$libname.ixlibrary $libname.a'
12705     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12706     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'
12707   else
12708     dynamic_linker=no
12709   fi
12710   ;;
12711
12712 beos*)
12713   library_names_spec='${libname}${shared_ext}'
12714   dynamic_linker="$host_os ld.so"
12715   shlibpath_var=LIBRARY_PATH
12716   ;;
12717
12718 bsdi[45]*)
12719   version_type=linux
12720   need_version=no
12721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12722   soname_spec='${libname}${release}${shared_ext}$major'
12723   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12724   shlibpath_var=LD_LIBRARY_PATH
12725   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12726   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12727   # the default ld.so.conf also contains /usr/contrib/lib and
12728   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12729   # libtool to hard-code these into programs
12730   ;;
12731
12732 cygwin* | mingw* | pw32*)
12733   version_type=windows
12734   shrext_cmds=".dll"
12735   need_version=no
12736   need_lib_prefix=no
12737
12738   case $withGCC,$host_os in
12739   yes,cygwin* | yes,mingw* | yes,pw32*)
12740     library_names_spec='$libname.dll.a'
12741     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12742     postinstall_cmds='base_file=`basename \${file}`~
12743       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12744       dldir=$destdir/`dirname \$dlpath`~
12745       test -d \$dldir || mkdir -p \$dldir~
12746       $install_prog $dir/$dlname \$dldir/$dlname~
12747       chmod a+x \$dldir/$dlname~
12748       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12749         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12750       fi'
12751     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12752       dlpath=$dir/\$dldll~
12753        $RM \$dlpath'
12754     shlibpath_overrides_runpath=yes
12755
12756     case $host_os in
12757     cygwin*)
12758       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12759       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12760       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12761       ;;
12762     mingw*)
12763       # MinGW DLLs use traditional 'lib' prefix
12764       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12765       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12766       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12767         # It is most probably a Windows format PATH printed by
12768         # mingw gcc, but we are running on Cygwin. Gcc prints its search
12769         # path with ; separators, and with drive letters. We can handle the
12770         # drive letters (cygwin fileutils understands them), so leave them,
12771         # especially as we might pass files found there to a mingw objdump,
12772         # which wouldn't understand a cygwinified path. Ahh.
12773         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12774       else
12775         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12776       fi
12777       ;;
12778     pw32*)
12779       # pw32 DLLs use 'pw' prefix rather than 'lib'
12780       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12781       ;;
12782     esac
12783     ;;
12784
12785   *)
12786     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12787     ;;
12788   esac
12789   dynamic_linker='Win32 ld.exe'
12790   # FIXME: first we should search . and the directory the executable is in
12791   shlibpath_var=PATH
12792   ;;
12793
12794 darwin* | rhapsody*)
12795   dynamic_linker="$host_os dyld"
12796   version_type=darwin
12797   need_lib_prefix=no
12798   need_version=no
12799   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12800   soname_spec='${libname}${release}${major}$shared_ext'
12801   shlibpath_overrides_runpath=yes
12802   shlibpath_var=DYLD_LIBRARY_PATH
12803   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12804
12805   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12806   ;;
12807
12808 dgux*)
12809   version_type=linux
12810   need_lib_prefix=no
12811   need_version=no
12812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12813   soname_spec='${libname}${release}${shared_ext}$major'
12814   shlibpath_var=LD_LIBRARY_PATH
12815   ;;
12816
12817 freebsd1*)
12818   dynamic_linker=no
12819   ;;
12820
12821 freebsd* | dragonfly*)
12822   # DragonFly does not have aout.  When/if they implement a new
12823   # versioning mechanism, adjust this.
12824   if test -x /usr/bin/objformat; then
12825     objformat=`/usr/bin/objformat`
12826   else
12827     case $host_os in
12828     freebsd[123]*) objformat=aout ;;
12829     *) objformat=elf ;;
12830     esac
12831   fi
12832   version_type=freebsd-$objformat
12833   case $version_type in
12834     freebsd-elf*)
12835       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12836       need_version=no
12837       need_lib_prefix=no
12838       ;;
12839     freebsd-*)
12840       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12841       need_version=yes
12842       ;;
12843   esac
12844   shlibpath_var=LD_LIBRARY_PATH
12845   case $host_os in
12846   freebsd2*)
12847     shlibpath_overrides_runpath=yes
12848     ;;
12849   freebsd3.[01]* | freebsdelf3.[01]*)
12850     shlibpath_overrides_runpath=yes
12851     hardcode_into_libs=yes
12852     ;;
12853   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12854   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12855     shlibpath_overrides_runpath=no
12856     hardcode_into_libs=yes
12857     ;;
12858   *) # from 4.6 on, and DragonFly
12859     shlibpath_overrides_runpath=yes
12860     hardcode_into_libs=yes
12861     ;;
12862   esac
12863   ;;
12864
12865 gnu*)
12866   version_type=linux
12867   need_lib_prefix=no
12868   need_version=no
12869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12870   soname_spec='${libname}${release}${shared_ext}$major'
12871   shlibpath_var=LD_LIBRARY_PATH
12872   hardcode_into_libs=yes
12873   ;;
12874
12875 hpux9* | hpux10* | hpux11*)
12876   # Give a soname corresponding to the major version so that dld.sl refuses to
12877   # link against other versions.
12878   version_type=sunos
12879   need_lib_prefix=no
12880   need_version=no
12881   case $host_cpu in
12882   ia64*)
12883     shrext_cmds='.so'
12884     hardcode_into_libs=yes
12885     dynamic_linker="$host_os dld.so"
12886     shlibpath_var=LD_LIBRARY_PATH
12887     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12888     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12889     soname_spec='${libname}${release}${shared_ext}$major'
12890     if test "X$HPUX_IA64_MODE" = X32; then
12891       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12892     else
12893       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12894     fi
12895     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12896     ;;
12897   hppa*64*)
12898     shrext_cmds='.sl'
12899     hardcode_into_libs=yes
12900     dynamic_linker="$host_os dld.sl"
12901     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12902     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12903     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12904     soname_spec='${libname}${release}${shared_ext}$major'
12905     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12906     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12907     ;;
12908   *)
12909     shrext_cmds='.sl'
12910     dynamic_linker="$host_os dld.sl"
12911     shlibpath_var=SHLIB_PATH
12912     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12914     soname_spec='${libname}${release}${shared_ext}$major'
12915     ;;
12916   esac
12917   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12918   postinstall_cmds='chmod 555 $lib'
12919   ;;
12920
12921 interix[3-9]*)
12922   version_type=linux
12923   need_lib_prefix=no
12924   need_version=no
12925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12926   soname_spec='${libname}${release}${shared_ext}$major'
12927   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12928   shlibpath_var=LD_LIBRARY_PATH
12929   shlibpath_overrides_runpath=no
12930   hardcode_into_libs=yes
12931   ;;
12932
12933 irix5* | irix6* | nonstopux*)
12934   case $host_os in
12935     nonstopux*) version_type=nonstopux ;;
12936     *)
12937         if test "$lt_cv_prog_gnu_ld" = yes; then
12938                 version_type=linux
12939         else
12940                 version_type=irix
12941         fi ;;
12942   esac
12943   need_lib_prefix=no
12944   need_version=no
12945   soname_spec='${libname}${release}${shared_ext}$major'
12946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12947   case $host_os in
12948   irix5* | nonstopux*)
12949     libsuff= shlibsuff=
12950     ;;
12951   *)
12952     case $LD in # libtool.m4 will add one of these switches to LD
12953     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12954       libsuff= shlibsuff= libmagic=32-bit;;
12955     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12956       libsuff=32 shlibsuff=N32 libmagic=N32;;
12957     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12958       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12959     *) libsuff= shlibsuff= libmagic=never-match;;
12960     esac
12961     ;;
12962   esac
12963   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12964   shlibpath_overrides_runpath=no
12965   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12966   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12967   hardcode_into_libs=yes
12968   ;;
12969
12970 # No shared lib support for Linux oldld, aout, or coff.
12971 linux*oldld* | linux*aout* | linux*coff*)
12972   dynamic_linker=no
12973   ;;
12974
12975 # This must be Linux ELF.
12976 linux* | k*bsd*-gnu)
12977   version_type=linux
12978   need_lib_prefix=no
12979   need_version=no
12980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12981   soname_spec='${libname}${release}${shared_ext}$major'
12982   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12983   shlibpath_var=LD_LIBRARY_PATH
12984   shlibpath_overrides_runpath=no
12985   # Some binutils ld are patched to set DT_RUNPATH
12986   save_LDFLAGS=$LDFLAGS
12987   save_libdir=$libdir
12988   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12989        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12990   if test x$gcc_no_link = xyes; then
12991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993    { (exit 1); exit 1; }; }
12994 fi
12995 cat >conftest.$ac_ext <<_ACEOF
12996       program main
12997
12998       end
12999 _ACEOF
13000 rm -f conftest.$ac_objext conftest$ac_exeext
13001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13002   (eval $ac_link) 2>conftest.er1
13003   ac_status=$?
13004   grep -v '^ *+' conftest.er1 >conftest.err
13005   rm -f conftest.er1
13006   cat conftest.err >&5
13007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008   (exit $ac_status); } &&
13009          { ac_try='test -z "$ac_fc_werror_flag"
13010                          || test ! -s conftest.err'
13011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012   (eval $ac_try) 2>&5
13013   ac_status=$?
13014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015   (exit $ac_status); }; } &&
13016          { ac_try='test -s conftest$ac_exeext'
13017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13018   (eval $ac_try) 2>&5
13019   ac_status=$?
13020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021   (exit $ac_status); }; }; then
13022   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13023   shlibpath_overrides_runpath=yes
13024 fi
13025
13026 else
13027   echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13029
13030 fi
13031 rm -f conftest.err conftest.$ac_objext \
13032       conftest$ac_exeext conftest.$ac_ext
13033   LDFLAGS=$save_LDFLAGS
13034   libdir=$save_libdir
13035
13036   # This implies no fast_install, which is unacceptable.
13037   # Some rework will be needed to allow for fast_install
13038   # before this can be enabled.
13039   hardcode_into_libs=yes
13040
13041   # Append ld.so.conf contents to the search path
13042   if test -f /etc/ld.so.conf; then
13043     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' ' '`
13044     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13045   fi
13046
13047   # We used to test for /lib/ld.so.1 and disable shared libraries on
13048   # powerpc, because MkLinux only supported shared libraries with the
13049   # GNU dynamic linker.  Since this was broken with cross compilers,
13050   # most powerpc-linux boxes support dynamic linking these days and
13051   # people can always --disable-shared, the test was removed, and we
13052   # assume the GNU/Linux dynamic linker is in use.
13053   dynamic_linker='GNU/Linux ld.so'
13054   ;;
13055
13056 netbsd*)
13057   version_type=sunos
13058   need_lib_prefix=no
13059   need_version=no
13060   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13061     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13062     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13063     dynamic_linker='NetBSD (a.out) ld.so'
13064   else
13065     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13066     soname_spec='${libname}${release}${shared_ext}$major'
13067     dynamic_linker='NetBSD ld.elf_so'
13068   fi
13069   shlibpath_var=LD_LIBRARY_PATH
13070   shlibpath_overrides_runpath=yes
13071   hardcode_into_libs=yes
13072   ;;
13073
13074 newsos6)
13075   version_type=linux
13076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13077   shlibpath_var=LD_LIBRARY_PATH
13078   shlibpath_overrides_runpath=yes
13079   ;;
13080
13081 *nto* | *qnx*)
13082   version_type=qnx
13083   need_lib_prefix=no
13084   need_version=no
13085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086   soname_spec='${libname}${release}${shared_ext}$major'
13087   shlibpath_var=LD_LIBRARY_PATH
13088   shlibpath_overrides_runpath=no
13089   hardcode_into_libs=yes
13090   dynamic_linker='ldqnx.so'
13091   ;;
13092
13093 openbsd*)
13094   version_type=sunos
13095   sys_lib_dlsearch_path_spec="/usr/lib"
13096   need_lib_prefix=no
13097   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13098   case $host_os in
13099     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13100     *)                          need_version=no  ;;
13101   esac
13102   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13103   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13104   shlibpath_var=LD_LIBRARY_PATH
13105   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13106     case $host_os in
13107       openbsd2.[89] | openbsd2.[89].*)
13108         shlibpath_overrides_runpath=no
13109         ;;
13110       *)
13111         shlibpath_overrides_runpath=yes
13112         ;;
13113       esac
13114   else
13115     shlibpath_overrides_runpath=yes
13116   fi
13117   ;;
13118
13119 os2*)
13120   libname_spec='$name'
13121   shrext_cmds=".dll"
13122   need_lib_prefix=no
13123   library_names_spec='$libname${shared_ext} $libname.a'
13124   dynamic_linker='OS/2 ld.exe'
13125   shlibpath_var=LIBPATH
13126   ;;
13127
13128 osf3* | osf4* | osf5*)
13129   version_type=osf
13130   need_lib_prefix=no
13131   need_version=no
13132   soname_spec='${libname}${release}${shared_ext}$major'
13133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13134   shlibpath_var=LD_LIBRARY_PATH
13135   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13136   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13137   ;;
13138
13139 rdos*)
13140   dynamic_linker=no
13141   ;;
13142
13143 solaris*)
13144   version_type=linux
13145   need_lib_prefix=no
13146   need_version=no
13147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148   soname_spec='${libname}${release}${shared_ext}$major'
13149   shlibpath_var=LD_LIBRARY_PATH
13150   shlibpath_overrides_runpath=yes
13151   hardcode_into_libs=yes
13152   # ldd complains unless libraries are executable
13153   postinstall_cmds='chmod +x $lib'
13154   ;;
13155
13156 sunos4*)
13157   version_type=sunos
13158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13159   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13160   shlibpath_var=LD_LIBRARY_PATH
13161   shlibpath_overrides_runpath=yes
13162   if test "$with_gnu_ld" = yes; then
13163     need_lib_prefix=no
13164   fi
13165   need_version=yes
13166   ;;
13167
13168 sysv4 | sysv4.3*)
13169   version_type=linux
13170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13171   soname_spec='${libname}${release}${shared_ext}$major'
13172   shlibpath_var=LD_LIBRARY_PATH
13173   case $host_vendor in
13174     sni)
13175       shlibpath_overrides_runpath=no
13176       need_lib_prefix=no
13177       runpath_var=LD_RUN_PATH
13178       ;;
13179     siemens)
13180       need_lib_prefix=no
13181       ;;
13182     motorola)
13183       need_lib_prefix=no
13184       need_version=no
13185       shlibpath_overrides_runpath=no
13186       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13187       ;;
13188   esac
13189   ;;
13190
13191 sysv4*MP*)
13192   if test -d /usr/nec ;then
13193     version_type=linux
13194     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13195     soname_spec='$libname${shared_ext}.$major'
13196     shlibpath_var=LD_LIBRARY_PATH
13197   fi
13198   ;;
13199
13200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13201   version_type=freebsd-elf
13202   need_lib_prefix=no
13203   need_version=no
13204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13205   soname_spec='${libname}${release}${shared_ext}$major'
13206   shlibpath_var=LD_LIBRARY_PATH
13207   shlibpath_overrides_runpath=yes
13208   hardcode_into_libs=yes
13209   if test "$with_gnu_ld" = yes; then
13210     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13211   else
13212     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13213     case $host_os in
13214       sco3.2v5*)
13215         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13216         ;;
13217     esac
13218   fi
13219   sys_lib_dlsearch_path_spec='/usr/lib'
13220   ;;
13221
13222 tpf*)
13223   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13224   version_type=linux
13225   need_lib_prefix=no
13226   need_version=no
13227   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228   shlibpath_var=LD_LIBRARY_PATH
13229   shlibpath_overrides_runpath=no
13230   hardcode_into_libs=yes
13231   ;;
13232
13233 uts4*)
13234   version_type=linux
13235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236   soname_spec='${libname}${release}${shared_ext}$major'
13237   shlibpath_var=LD_LIBRARY_PATH
13238   ;;
13239
13240 *)
13241   dynamic_linker=no
13242   ;;
13243 esac
13244 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13245 echo "${ECHO_T}$dynamic_linker" >&6
13246 test "$dynamic_linker" = no && can_build_shared=no
13247
13248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13249 if test "$GCC" = yes; then
13250   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13251 fi
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13289 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13290 hardcode_action_FC=
13291 if test -n "$hardcode_libdir_flag_spec_FC" ||
13292    test -n "$runpath_var_FC" ||
13293    test "X$hardcode_automatic_FC" = "Xyes" ; then
13294
13295   # We can hardcode non-existent directories.
13296   if test "$hardcode_direct_FC" != no &&
13297      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13298      # have to relink, otherwise we might link with an installed library
13299      # when we should be linking with a yet-to-be-installed one
13300      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13301      test "$hardcode_minus_L_FC" != no; then
13302     # Linking always hardcodes the temporary library directory.
13303     hardcode_action_FC=relink
13304   else
13305     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13306     hardcode_action_FC=immediate
13307   fi
13308 else
13309   # We cannot hardcode anything, or else we can only hardcode existing
13310   # directories.
13311   hardcode_action_FC=unsupported
13312 fi
13313 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13314 echo "${ECHO_T}$hardcode_action_FC" >&6
13315
13316 if test "$hardcode_action_FC" = relink ||
13317    test "$inherit_rpath_FC" = yes; then
13318   # Fast installation is not supported
13319   enable_fast_install=no
13320 elif test "$shlibpath_overrides_runpath" = yes ||
13321      test "$enable_shared" = no; then
13322   # Fast installation is not necessary
13323   enable_fast_install=needless
13324 fi
13325
13326
13327
13328
13329
13330
13331
13332   fi # test -n "$compiler"
13333
13334   CC="$lt_save_CC"
13335 fi # test "$_lt_disable_FC" != yes
13336
13337 ac_ext=c
13338 ac_cpp='$CPP $CPPFLAGS'
13339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13342
13343
13344
13345 # extra LD Flags which are required for targets
13346 case "${host}" in
13347   *-darwin*)
13348     # Darwin needs -single_module when linking libgfortran
13349     extra_ldflags_libgfortran=-Wl,-single_module
13350     ;;
13351 esac
13352
13353
13354 # We need a working compiler at that point, otherwise give a clear
13355 # error message and bail out.
13356
13357 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13358 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13359 ac_ext=${FC_SRCEXT-f}
13360 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13361 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13362 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13363
13364 cat >conftest.$ac_ext <<_ACEOF
13365
13366       program foo
13367       real, parameter :: bar = sin (12.34 / 2.5)
13368       end program foo
13369 _ACEOF
13370 rm -f conftest.$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372   (eval $ac_compile) 2>conftest.er1
13373   ac_status=$?
13374   grep -v '^ *+' conftest.er1 >conftest.err
13375   rm -f conftest.er1
13376   cat conftest.err >&5
13377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378   (exit $ac_status); } &&
13379          { ac_try='test -z "$ac_fc_werror_flag"
13380                          || test ! -s conftest.err'
13381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382   (eval $ac_try) 2>&5
13383   ac_status=$?
13384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385   (exit $ac_status); }; } &&
13386          { ac_try='test -s conftest.$ac_objext'
13387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388   (eval $ac_try) 2>&5
13389   ac_status=$?
13390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391   (exit $ac_status); }; }; then
13392   echo "$as_me:$LINENO: result: yes" >&5
13393 echo "${ECHO_T}yes" >&6
13394 else
13395   echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13397
13398 echo "$as_me:$LINENO: result: no" >&5
13399 echo "${ECHO_T}no" >&6
13400      { { 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
13401 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13402    { (exit 1); exit 1; }; }
13403
13404 fi
13405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13406 ac_ext=c
13407 ac_cpp='$CPP $CPPFLAGS'
13408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13411
13412
13413
13414 # Check whether --enable-largefile or --disable-largefile was given.
13415 if test "${enable_largefile+set}" = set; then
13416   enableval="$enable_largefile"
13417
13418 fi;
13419 if test "$enable_largefile" != no; then
13420
13421   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13422 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13423 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13424   echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426   ac_cv_sys_largefile_CC=no
13427      if test "$GCC" != yes; then
13428        ac_save_CC=$CC
13429        while :; do
13430          # IRIX 6.2 and later do not support large files by default,
13431          # so use the C compiler's -n32 option if that helps.
13432          cat >conftest.$ac_ext <<_ACEOF
13433 /* confdefs.h.  */
13434 _ACEOF
13435 cat confdefs.h >>conftest.$ac_ext
13436 cat >>conftest.$ac_ext <<_ACEOF
13437 /* end confdefs.h.  */
13438 #include <sys/types.h>
13439  /* Check that off_t can represent 2**63 - 1 correctly.
13440     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13441     since some C++ compilers masquerading as C compilers
13442     incorrectly reject 9223372036854775807.  */
13443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13444   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13445                        && LARGE_OFF_T % 2147483647 == 1)
13446                       ? 1 : -1];
13447 int
13448 main ()
13449 {
13450
13451   ;
13452   return 0;
13453 }
13454 _ACEOF
13455          rm -f conftest.$ac_objext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457   (eval $ac_compile) 2>conftest.er1
13458   ac_status=$?
13459   grep -v '^ *+' conftest.er1 >conftest.err
13460   rm -f conftest.er1
13461   cat conftest.err >&5
13462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463   (exit $ac_status); } &&
13464          { ac_try='test -z "$ac_c_werror_flag"
13465                          || test ! -s conftest.err'
13466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467   (eval $ac_try) 2>&5
13468   ac_status=$?
13469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470   (exit $ac_status); }; } &&
13471          { ac_try='test -s conftest.$ac_objext'
13472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473   (eval $ac_try) 2>&5
13474   ac_status=$?
13475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476   (exit $ac_status); }; }; then
13477   break
13478 else
13479   echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 fi
13483 rm -f conftest.err conftest.$ac_objext
13484          CC="$CC -n32"
13485          rm -f conftest.$ac_objext
13486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13487   (eval $ac_compile) 2>conftest.er1
13488   ac_status=$?
13489   grep -v '^ *+' conftest.er1 >conftest.err
13490   rm -f conftest.er1
13491   cat conftest.err >&5
13492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493   (exit $ac_status); } &&
13494          { ac_try='test -z "$ac_c_werror_flag"
13495                          || test ! -s conftest.err'
13496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497   (eval $ac_try) 2>&5
13498   ac_status=$?
13499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500   (exit $ac_status); }; } &&
13501          { ac_try='test -s conftest.$ac_objext'
13502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503   (eval $ac_try) 2>&5
13504   ac_status=$?
13505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506   (exit $ac_status); }; }; then
13507   ac_cv_sys_largefile_CC=' -n32'; break
13508 else
13509   echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13511
13512 fi
13513 rm -f conftest.err conftest.$ac_objext
13514          break
13515        done
13516        CC=$ac_save_CC
13517        rm -f conftest.$ac_ext
13518     fi
13519 fi
13520 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13521 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13522   if test "$ac_cv_sys_largefile_CC" != no; then
13523     CC=$CC$ac_cv_sys_largefile_CC
13524   fi
13525
13526   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13527 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13528 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13529   echo $ECHO_N "(cached) $ECHO_C" >&6
13530 else
13531   while :; do
13532   ac_cv_sys_file_offset_bits=no
13533   cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h.  */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h.  */
13539 #include <sys/types.h>
13540  /* Check that off_t can represent 2**63 - 1 correctly.
13541     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13542     since some C++ compilers masquerading as C compilers
13543     incorrectly reject 9223372036854775807.  */
13544 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13545   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13546                        && LARGE_OFF_T % 2147483647 == 1)
13547                       ? 1 : -1];
13548 int
13549 main ()
13550 {
13551
13552   ;
13553   return 0;
13554 }
13555 _ACEOF
13556 rm -f conftest.$ac_objext
13557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13558   (eval $ac_compile) 2>conftest.er1
13559   ac_status=$?
13560   grep -v '^ *+' conftest.er1 >conftest.err
13561   rm -f conftest.er1
13562   cat conftest.err >&5
13563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564   (exit $ac_status); } &&
13565          { ac_try='test -z "$ac_c_werror_flag"
13566                          || test ! -s conftest.err'
13567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568   (eval $ac_try) 2>&5
13569   ac_status=$?
13570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571   (exit $ac_status); }; } &&
13572          { ac_try='test -s conftest.$ac_objext'
13573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574   (eval $ac_try) 2>&5
13575   ac_status=$?
13576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577   (exit $ac_status); }; }; then
13578   break
13579 else
13580   echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.$ac_ext >&5
13582
13583 fi
13584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13585   cat >conftest.$ac_ext <<_ACEOF
13586 /* confdefs.h.  */
13587 _ACEOF
13588 cat confdefs.h >>conftest.$ac_ext
13589 cat >>conftest.$ac_ext <<_ACEOF
13590 /* end confdefs.h.  */
13591 #define _FILE_OFFSET_BITS 64
13592 #include <sys/types.h>
13593  /* Check that off_t can represent 2**63 - 1 correctly.
13594     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13595     since some C++ compilers masquerading as C compilers
13596     incorrectly reject 9223372036854775807.  */
13597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13598   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13599                        && LARGE_OFF_T % 2147483647 == 1)
13600                       ? 1 : -1];
13601 int
13602 main ()
13603 {
13604
13605   ;
13606   return 0;
13607 }
13608 _ACEOF
13609 rm -f conftest.$ac_objext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611   (eval $ac_compile) 2>conftest.er1
13612   ac_status=$?
13613   grep -v '^ *+' conftest.er1 >conftest.err
13614   rm -f conftest.er1
13615   cat conftest.err >&5
13616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617   (exit $ac_status); } &&
13618          { ac_try='test -z "$ac_c_werror_flag"
13619                          || test ! -s conftest.err'
13620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621   (eval $ac_try) 2>&5
13622   ac_status=$?
13623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624   (exit $ac_status); }; } &&
13625          { ac_try='test -s conftest.$ac_objext'
13626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627   (eval $ac_try) 2>&5
13628   ac_status=$?
13629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630   (exit $ac_status); }; }; then
13631   ac_cv_sys_file_offset_bits=64; break
13632 else
13633   echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.$ac_ext >&5
13635
13636 fi
13637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13638   break
13639 done
13640 fi
13641 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13642 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13643 if test "$ac_cv_sys_file_offset_bits" != no; then
13644
13645 cat >>confdefs.h <<_ACEOF
13646 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13647 _ACEOF
13648
13649 fi
13650 rm -f conftest*
13651   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13652 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13653 if test "${ac_cv_sys_large_files+set}" = set; then
13654   echo $ECHO_N "(cached) $ECHO_C" >&6
13655 else
13656   while :; do
13657   ac_cv_sys_large_files=no
13658   cat >conftest.$ac_ext <<_ACEOF
13659 /* confdefs.h.  */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h.  */
13664 #include <sys/types.h>
13665  /* Check that off_t can represent 2**63 - 1 correctly.
13666     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13667     since some C++ compilers masquerading as C compilers
13668     incorrectly reject 9223372036854775807.  */
13669 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13670   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13671                        && LARGE_OFF_T % 2147483647 == 1)
13672                       ? 1 : -1];
13673 int
13674 main ()
13675 {
13676
13677   ;
13678   return 0;
13679 }
13680 _ACEOF
13681 rm -f conftest.$ac_objext
13682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683   (eval $ac_compile) 2>conftest.er1
13684   ac_status=$?
13685   grep -v '^ *+' conftest.er1 >conftest.err
13686   rm -f conftest.er1
13687   cat conftest.err >&5
13688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689   (exit $ac_status); } &&
13690          { ac_try='test -z "$ac_c_werror_flag"
13691                          || test ! -s conftest.err'
13692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693   (eval $ac_try) 2>&5
13694   ac_status=$?
13695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696   (exit $ac_status); }; } &&
13697          { ac_try='test -s conftest.$ac_objext'
13698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699   (eval $ac_try) 2>&5
13700   ac_status=$?
13701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702   (exit $ac_status); }; }; then
13703   break
13704 else
13705   echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.$ac_ext >&5
13707
13708 fi
13709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13710   cat >conftest.$ac_ext <<_ACEOF
13711 /* confdefs.h.  */
13712 _ACEOF
13713 cat confdefs.h >>conftest.$ac_ext
13714 cat >>conftest.$ac_ext <<_ACEOF
13715 /* end confdefs.h.  */
13716 #define _LARGE_FILES 1
13717 #include <sys/types.h>
13718  /* Check that off_t can represent 2**63 - 1 correctly.
13719     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13720     since some C++ compilers masquerading as C compilers
13721     incorrectly reject 9223372036854775807.  */
13722 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13723   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13724                        && LARGE_OFF_T % 2147483647 == 1)
13725                       ? 1 : -1];
13726 int
13727 main ()
13728 {
13729
13730   ;
13731   return 0;
13732 }
13733 _ACEOF
13734 rm -f conftest.$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736   (eval $ac_compile) 2>conftest.er1
13737   ac_status=$?
13738   grep -v '^ *+' conftest.er1 >conftest.err
13739   rm -f conftest.er1
13740   cat conftest.err >&5
13741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742   (exit $ac_status); } &&
13743          { ac_try='test -z "$ac_c_werror_flag"
13744                          || test ! -s conftest.err'
13745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746   (eval $ac_try) 2>&5
13747   ac_status=$?
13748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749   (exit $ac_status); }; } &&
13750          { ac_try='test -s conftest.$ac_objext'
13751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752   (eval $ac_try) 2>&5
13753   ac_status=$?
13754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755   (exit $ac_status); }; }; then
13756   ac_cv_sys_large_files=1; break
13757 else
13758   echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.$ac_ext >&5
13760
13761 fi
13762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13763   break
13764 done
13765 fi
13766 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13767 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13768 if test "$ac_cv_sys_large_files" != no; then
13769
13770 cat >>confdefs.h <<_ACEOF
13771 #define _LARGE_FILES $ac_cv_sys_large_files
13772 _ACEOF
13773
13774 fi
13775 rm -f conftest*
13776 fi
13777
13778 echo "$as_me:$LINENO: checking for off_t" >&5
13779 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13780 if test "${ac_cv_type_off_t+set}" = set; then
13781   echo $ECHO_N "(cached) $ECHO_C" >&6
13782 else
13783   cat >conftest.$ac_ext <<_ACEOF
13784 /* confdefs.h.  */
13785 _ACEOF
13786 cat confdefs.h >>conftest.$ac_ext
13787 cat >>conftest.$ac_ext <<_ACEOF
13788 /* end confdefs.h.  */
13789 $ac_includes_default
13790 int
13791 main ()
13792 {
13793 if ((off_t *) 0)
13794   return 0;
13795 if (sizeof (off_t))
13796   return 0;
13797   ;
13798   return 0;
13799 }
13800 _ACEOF
13801 rm -f conftest.$ac_objext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803   (eval $ac_compile) 2>conftest.er1
13804   ac_status=$?
13805   grep -v '^ *+' conftest.er1 >conftest.err
13806   rm -f conftest.er1
13807   cat conftest.err >&5
13808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809   (exit $ac_status); } &&
13810          { ac_try='test -z "$ac_c_werror_flag"
13811                          || test ! -s conftest.err'
13812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813   (eval $ac_try) 2>&5
13814   ac_status=$?
13815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816   (exit $ac_status); }; } &&
13817          { ac_try='test -s conftest.$ac_objext'
13818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819   (eval $ac_try) 2>&5
13820   ac_status=$?
13821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822   (exit $ac_status); }; }; then
13823   ac_cv_type_off_t=yes
13824 else
13825   echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13827
13828 ac_cv_type_off_t=no
13829 fi
13830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13831 fi
13832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13833 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13834 if test $ac_cv_type_off_t = yes; then
13835   :
13836 else
13837
13838 cat >>confdefs.h <<_ACEOF
13839 #define off_t long
13840 _ACEOF
13841
13842 fi
13843
13844
13845 # check header files
13846 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13847 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13848 if test "${ac_cv_header_stdc+set}" = set; then
13849   echo $ECHO_N "(cached) $ECHO_C" >&6
13850 else
13851   cat >conftest.$ac_ext <<_ACEOF
13852 /* confdefs.h.  */
13853 _ACEOF
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h.  */
13857 #include <stdlib.h>
13858 #include <stdarg.h>
13859 #include <string.h>
13860 #include <float.h>
13861
13862 int
13863 main ()
13864 {
13865
13866   ;
13867   return 0;
13868 }
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872   (eval $ac_compile) 2>conftest.er1
13873   ac_status=$?
13874   grep -v '^ *+' conftest.er1 >conftest.err
13875   rm -f conftest.er1
13876   cat conftest.err >&5
13877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878   (exit $ac_status); } &&
13879          { ac_try='test -z "$ac_c_werror_flag"
13880                          || test ! -s conftest.err'
13881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882   (eval $ac_try) 2>&5
13883   ac_status=$?
13884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885   (exit $ac_status); }; } &&
13886          { ac_try='test -s conftest.$ac_objext'
13887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888   (eval $ac_try) 2>&5
13889   ac_status=$?
13890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891   (exit $ac_status); }; }; then
13892   ac_cv_header_stdc=yes
13893 else
13894   echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13896
13897 ac_cv_header_stdc=no
13898 fi
13899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13900
13901 if test $ac_cv_header_stdc = yes; then
13902   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13903   cat >conftest.$ac_ext <<_ACEOF
13904 /* confdefs.h.  */
13905 _ACEOF
13906 cat confdefs.h >>conftest.$ac_ext
13907 cat >>conftest.$ac_ext <<_ACEOF
13908 /* end confdefs.h.  */
13909 #include <string.h>
13910
13911 _ACEOF
13912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13913   $EGREP "memchr" >/dev/null 2>&1; then
13914   :
13915 else
13916   ac_cv_header_stdc=no
13917 fi
13918 rm -f conftest*
13919
13920 fi
13921
13922 if test $ac_cv_header_stdc = yes; then
13923   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13924   cat >conftest.$ac_ext <<_ACEOF
13925 /* confdefs.h.  */
13926 _ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h.  */
13930 #include <stdlib.h>
13931
13932 _ACEOF
13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13934   $EGREP "free" >/dev/null 2>&1; then
13935   :
13936 else
13937   ac_cv_header_stdc=no
13938 fi
13939 rm -f conftest*
13940
13941 fi
13942
13943 if test $ac_cv_header_stdc = yes; then
13944   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13945   if test "$cross_compiling" = yes; then
13946   :
13947 else
13948   cat >conftest.$ac_ext <<_ACEOF
13949 /* confdefs.h.  */
13950 _ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h.  */
13954 #include <ctype.h>
13955 #if ((' ' & 0x0FF) == 0x020)
13956 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13957 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13958 #else
13959 # define ISLOWER(c) \
13960                    (('a' <= (c) && (c) <= 'i') \
13961                      || ('j' <= (c) && (c) <= 'r') \
13962                      || ('s' <= (c) && (c) <= 'z'))
13963 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13964 #endif
13965
13966 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13967 int
13968 main ()
13969 {
13970   int i;
13971   for (i = 0; i < 256; i++)
13972     if (XOR (islower (i), ISLOWER (i))
13973         || toupper (i) != TOUPPER (i))
13974       exit(2);
13975   exit (0);
13976 }
13977 _ACEOF
13978 rm -f conftest$ac_exeext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13980   (eval $ac_link) 2>&5
13981   ac_status=$?
13982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985   (eval $ac_try) 2>&5
13986   ac_status=$?
13987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988   (exit $ac_status); }; }; then
13989   :
13990 else
13991   echo "$as_me: program exited with status $ac_status" >&5
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13994
13995 ( exit $ac_status )
13996 ac_cv_header_stdc=no
13997 fi
13998 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13999 fi
14000 fi
14001 fi
14002 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14003 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14004 if test $ac_cv_header_stdc = yes; then
14005
14006 cat >>confdefs.h <<\_ACEOF
14007 #define STDC_HEADERS 1
14008 _ACEOF
14009
14010 fi
14011
14012 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14013 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14014 if test "${ac_cv_header_time+set}" = set; then
14015   echo $ECHO_N "(cached) $ECHO_C" >&6
14016 else
14017   cat >conftest.$ac_ext <<_ACEOF
14018 /* confdefs.h.  */
14019 _ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h.  */
14023 #include <sys/types.h>
14024 #include <sys/time.h>
14025 #include <time.h>
14026
14027 int
14028 main ()
14029 {
14030 if ((struct tm *) 0)
14031 return 0;
14032   ;
14033   return 0;
14034 }
14035 _ACEOF
14036 rm -f conftest.$ac_objext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038   (eval $ac_compile) 2>conftest.er1
14039   ac_status=$?
14040   grep -v '^ *+' conftest.er1 >conftest.err
14041   rm -f conftest.er1
14042   cat conftest.err >&5
14043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044   (exit $ac_status); } &&
14045          { ac_try='test -z "$ac_c_werror_flag"
14046                          || test ! -s conftest.err'
14047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048   (eval $ac_try) 2>&5
14049   ac_status=$?
14050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051   (exit $ac_status); }; } &&
14052          { ac_try='test -s conftest.$ac_objext'
14053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054   (eval $ac_try) 2>&5
14055   ac_status=$?
14056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057   (exit $ac_status); }; }; then
14058   ac_cv_header_time=yes
14059 else
14060   echo "$as_me: failed program was:" >&5
14061 sed 's/^/| /' conftest.$ac_ext >&5
14062
14063 ac_cv_header_time=no
14064 fi
14065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14066 fi
14067 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14068 echo "${ECHO_T}$ac_cv_header_time" >&6
14069 if test $ac_cv_header_time = yes; then
14070
14071 cat >>confdefs.h <<\_ACEOF
14072 #define TIME_WITH_SYS_TIME 1
14073 _ACEOF
14074
14075 fi
14076
14077
14078
14079
14080
14081
14082
14083 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14084 do
14085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14087   echo "$as_me:$LINENO: checking for $ac_header" >&5
14088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14090   echo $ECHO_N "(cached) $ECHO_C" >&6
14091 fi
14092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14094 else
14095   # Is the header compilable?
14096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14098 cat >conftest.$ac_ext <<_ACEOF
14099 /* confdefs.h.  */
14100 _ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h.  */
14104 $ac_includes_default
14105 #include <$ac_header>
14106 _ACEOF
14107 rm -f conftest.$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109   (eval $ac_compile) 2>conftest.er1
14110   ac_status=$?
14111   grep -v '^ *+' conftest.er1 >conftest.err
14112   rm -f conftest.er1
14113   cat conftest.err >&5
14114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115   (exit $ac_status); } &&
14116          { ac_try='test -z "$ac_c_werror_flag"
14117                          || test ! -s conftest.err'
14118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119   (eval $ac_try) 2>&5
14120   ac_status=$?
14121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122   (exit $ac_status); }; } &&
14123          { ac_try='test -s conftest.$ac_objext'
14124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125   (eval $ac_try) 2>&5
14126   ac_status=$?
14127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128   (exit $ac_status); }; }; then
14129   ac_header_compiler=yes
14130 else
14131   echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14133
14134 ac_header_compiler=no
14135 fi
14136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14138 echo "${ECHO_T}$ac_header_compiler" >&6
14139
14140 # Is the header present?
14141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14143 cat >conftest.$ac_ext <<_ACEOF
14144 /* confdefs.h.  */
14145 _ACEOF
14146 cat confdefs.h >>conftest.$ac_ext
14147 cat >>conftest.$ac_ext <<_ACEOF
14148 /* end confdefs.h.  */
14149 #include <$ac_header>
14150 _ACEOF
14151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14152   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14153   ac_status=$?
14154   grep -v '^ *+' conftest.er1 >conftest.err
14155   rm -f conftest.er1
14156   cat conftest.err >&5
14157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158   (exit $ac_status); } >/dev/null; then
14159   if test -s conftest.err; then
14160     ac_cpp_err=$ac_c_preproc_warn_flag
14161     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14162   else
14163     ac_cpp_err=
14164   fi
14165 else
14166   ac_cpp_err=yes
14167 fi
14168 if test -z "$ac_cpp_err"; then
14169   ac_header_preproc=yes
14170 else
14171   echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14173
14174   ac_header_preproc=no
14175 fi
14176 rm -f conftest.err conftest.$ac_ext
14177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14178 echo "${ECHO_T}$ac_header_preproc" >&6
14179
14180 # So?  What about this header?
14181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14182   yes:no: )
14183     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14185     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14187     ac_header_preproc=yes
14188     ;;
14189   no:yes:* )
14190     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14192     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14193 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14194     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14196     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14197 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14198     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14200     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14202     (
14203       cat <<\_ASBOX
14204 ## ------------------------------------------------------ ##
14205 ## Report this to the GNU Fortran Runtime Library lists.  ##
14206 ## ------------------------------------------------------ ##
14207 _ASBOX
14208     ) |
14209       sed "s/^/$as_me: WARNING:     /" >&2
14210     ;;
14211 esac
14212 echo "$as_me:$LINENO: checking for $ac_header" >&5
14213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14215   echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217   eval "$as_ac_Header=\$ac_header_preproc"
14218 fi
14219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14221
14222 fi
14223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14224   cat >>confdefs.h <<_ACEOF
14225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14226 _ACEOF
14227
14228 fi
14229
14230 done
14231
14232
14233
14234
14235
14236 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14237 do
14238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240   echo "$as_me:$LINENO: checking for $ac_header" >&5
14241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14243   echo $ECHO_N "(cached) $ECHO_C" >&6
14244 fi
14245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14247 else
14248   # Is the header compilable?
14249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h.  */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h.  */
14257 $ac_includes_default
14258 #include <$ac_header>
14259 _ACEOF
14260 rm -f conftest.$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262   (eval $ac_compile) 2>conftest.er1
14263   ac_status=$?
14264   grep -v '^ *+' conftest.er1 >conftest.err
14265   rm -f conftest.er1
14266   cat conftest.err >&5
14267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268   (exit $ac_status); } &&
14269          { ac_try='test -z "$ac_c_werror_flag"
14270                          || test ! -s conftest.err'
14271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272   (eval $ac_try) 2>&5
14273   ac_status=$?
14274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275   (exit $ac_status); }; } &&
14276          { ac_try='test -s conftest.$ac_objext'
14277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278   (eval $ac_try) 2>&5
14279   ac_status=$?
14280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281   (exit $ac_status); }; }; then
14282   ac_header_compiler=yes
14283 else
14284   echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14286
14287 ac_header_compiler=no
14288 fi
14289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14291 echo "${ECHO_T}$ac_header_compiler" >&6
14292
14293 # Is the header present?
14294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14296 cat >conftest.$ac_ext <<_ACEOF
14297 /* confdefs.h.  */
14298 _ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h.  */
14302 #include <$ac_header>
14303 _ACEOF
14304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14305   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14306   ac_status=$?
14307   grep -v '^ *+' conftest.er1 >conftest.err
14308   rm -f conftest.er1
14309   cat conftest.err >&5
14310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311   (exit $ac_status); } >/dev/null; then
14312   if test -s conftest.err; then
14313     ac_cpp_err=$ac_c_preproc_warn_flag
14314     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14315   else
14316     ac_cpp_err=
14317   fi
14318 else
14319   ac_cpp_err=yes
14320 fi
14321 if test -z "$ac_cpp_err"; then
14322   ac_header_preproc=yes
14323 else
14324   echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14326
14327   ac_header_preproc=no
14328 fi
14329 rm -f conftest.err conftest.$ac_ext
14330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14331 echo "${ECHO_T}$ac_header_preproc" >&6
14332
14333 # So?  What about this header?
14334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14335   yes:no: )
14336     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14338     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14340     ac_header_preproc=yes
14341     ;;
14342   no:yes:* )
14343     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14345     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14346 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14347     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14349     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14350 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14351     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14353     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14355     (
14356       cat <<\_ASBOX
14357 ## ------------------------------------------------------ ##
14358 ## Report this to the GNU Fortran Runtime Library lists.  ##
14359 ## ------------------------------------------------------ ##
14360 _ASBOX
14361     ) |
14362       sed "s/^/$as_me: WARNING:     /" >&2
14363     ;;
14364 esac
14365 echo "$as_me:$LINENO: checking for $ac_header" >&5
14366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14368   echo $ECHO_N "(cached) $ECHO_C" >&6
14369 else
14370   eval "$as_ac_Header=\$ac_header_preproc"
14371 fi
14372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14374
14375 fi
14376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14377   cat >>confdefs.h <<_ACEOF
14378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14379 _ACEOF
14380
14381 fi
14382
14383 done
14384
14385
14386
14387
14388
14389
14390 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14391 do
14392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14394   echo "$as_me:$LINENO: checking for $ac_header" >&5
14395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14397   echo $ECHO_N "(cached) $ECHO_C" >&6
14398 fi
14399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14401 else
14402   # Is the header compilable?
14403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14405 cat >conftest.$ac_ext <<_ACEOF
14406 /* confdefs.h.  */
14407 _ACEOF
14408 cat confdefs.h >>conftest.$ac_ext
14409 cat >>conftest.$ac_ext <<_ACEOF
14410 /* end confdefs.h.  */
14411 $ac_includes_default
14412 #include <$ac_header>
14413 _ACEOF
14414 rm -f conftest.$ac_objext
14415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14416   (eval $ac_compile) 2>conftest.er1
14417   ac_status=$?
14418   grep -v '^ *+' conftest.er1 >conftest.err
14419   rm -f conftest.er1
14420   cat conftest.err >&5
14421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422   (exit $ac_status); } &&
14423          { ac_try='test -z "$ac_c_werror_flag"
14424                          || test ! -s conftest.err'
14425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426   (eval $ac_try) 2>&5
14427   ac_status=$?
14428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429   (exit $ac_status); }; } &&
14430          { ac_try='test -s conftest.$ac_objext'
14431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432   (eval $ac_try) 2>&5
14433   ac_status=$?
14434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435   (exit $ac_status); }; }; then
14436   ac_header_compiler=yes
14437 else
14438   echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14440
14441 ac_header_compiler=no
14442 fi
14443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14445 echo "${ECHO_T}$ac_header_compiler" >&6
14446
14447 # Is the header present?
14448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14450 cat >conftest.$ac_ext <<_ACEOF
14451 /* confdefs.h.  */
14452 _ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h.  */
14456 #include <$ac_header>
14457 _ACEOF
14458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14459   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14460   ac_status=$?
14461   grep -v '^ *+' conftest.er1 >conftest.err
14462   rm -f conftest.er1
14463   cat conftest.err >&5
14464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465   (exit $ac_status); } >/dev/null; then
14466   if test -s conftest.err; then
14467     ac_cpp_err=$ac_c_preproc_warn_flag
14468     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14469   else
14470     ac_cpp_err=
14471   fi
14472 else
14473   ac_cpp_err=yes
14474 fi
14475 if test -z "$ac_cpp_err"; then
14476   ac_header_preproc=yes
14477 else
14478   echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14480
14481   ac_header_preproc=no
14482 fi
14483 rm -f conftest.err conftest.$ac_ext
14484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14485 echo "${ECHO_T}$ac_header_preproc" >&6
14486
14487 # So?  What about this header?
14488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14489   yes:no: )
14490     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14492     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14494     ac_header_preproc=yes
14495     ;;
14496   no:yes:* )
14497     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14499     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14500 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14501     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14503     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14504 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14505     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14507     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14509     (
14510       cat <<\_ASBOX
14511 ## ------------------------------------------------------ ##
14512 ## Report this to the GNU Fortran Runtime Library lists.  ##
14513 ## ------------------------------------------------------ ##
14514 _ASBOX
14515     ) |
14516       sed "s/^/$as_me: WARNING:     /" >&2
14517     ;;
14518 esac
14519 echo "$as_me:$LINENO: checking for $ac_header" >&5
14520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14522   echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524   eval "$as_ac_Header=\$ac_header_preproc"
14525 fi
14526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14528
14529 fi
14530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14531   cat >>confdefs.h <<_ACEOF
14532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14533 _ACEOF
14534
14535 fi
14536
14537 done
14538
14539
14540
14541
14542
14543
14544 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14545 do
14546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14548   echo "$as_me:$LINENO: checking for $ac_header" >&5
14549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14551   echo $ECHO_N "(cached) $ECHO_C" >&6
14552 fi
14553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14555 else
14556   # Is the header compilable?
14557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14559 cat >conftest.$ac_ext <<_ACEOF
14560 /* confdefs.h.  */
14561 _ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h.  */
14565 $ac_includes_default
14566 #include <$ac_header>
14567 _ACEOF
14568 rm -f conftest.$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570   (eval $ac_compile) 2>conftest.er1
14571   ac_status=$?
14572   grep -v '^ *+' conftest.er1 >conftest.err
14573   rm -f conftest.er1
14574   cat conftest.err >&5
14575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576   (exit $ac_status); } &&
14577          { ac_try='test -z "$ac_c_werror_flag"
14578                          || test ! -s conftest.err'
14579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580   (eval $ac_try) 2>&5
14581   ac_status=$?
14582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583   (exit $ac_status); }; } &&
14584          { ac_try='test -s conftest.$ac_objext'
14585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586   (eval $ac_try) 2>&5
14587   ac_status=$?
14588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589   (exit $ac_status); }; }; then
14590   ac_header_compiler=yes
14591 else
14592   echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595 ac_header_compiler=no
14596 fi
14597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14599 echo "${ECHO_T}$ac_header_compiler" >&6
14600
14601 # Is the header present?
14602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14604 cat >conftest.$ac_ext <<_ACEOF
14605 /* confdefs.h.  */
14606 _ACEOF
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h.  */
14610 #include <$ac_header>
14611 _ACEOF
14612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14613   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14614   ac_status=$?
14615   grep -v '^ *+' conftest.er1 >conftest.err
14616   rm -f conftest.er1
14617   cat conftest.err >&5
14618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619   (exit $ac_status); } >/dev/null; then
14620   if test -s conftest.err; then
14621     ac_cpp_err=$ac_c_preproc_warn_flag
14622     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14623   else
14624     ac_cpp_err=
14625   fi
14626 else
14627   ac_cpp_err=yes
14628 fi
14629 if test -z "$ac_cpp_err"; then
14630   ac_header_preproc=yes
14631 else
14632   echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14634
14635   ac_header_preproc=no
14636 fi
14637 rm -f conftest.err conftest.$ac_ext
14638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14639 echo "${ECHO_T}$ac_header_preproc" >&6
14640
14641 # So?  What about this header?
14642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14643   yes:no: )
14644     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14646     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14648     ac_header_preproc=yes
14649     ;;
14650   no:yes:* )
14651     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14653     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14654 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14655     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14657     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14658 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14659     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14661     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14663     (
14664       cat <<\_ASBOX
14665 ## ------------------------------------------------------ ##
14666 ## Report this to the GNU Fortran Runtime Library lists.  ##
14667 ## ------------------------------------------------------ ##
14668 _ASBOX
14669     ) |
14670       sed "s/^/$as_me: WARNING:     /" >&2
14671     ;;
14672 esac
14673 echo "$as_me:$LINENO: checking for $ac_header" >&5
14674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14676   echo $ECHO_N "(cached) $ECHO_C" >&6
14677 else
14678   eval "$as_ac_Header=\$ac_header_preproc"
14679 fi
14680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14682
14683 fi
14684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14685   cat >>confdefs.h <<_ACEOF
14686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14687 _ACEOF
14688
14689 fi
14690
14691 done
14692
14693 if test "${ac_cv_header_complex_h+set}" = set; then
14694   echo "$as_me:$LINENO: checking for complex.h" >&5
14695 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14696 if test "${ac_cv_header_complex_h+set}" = set; then
14697   echo $ECHO_N "(cached) $ECHO_C" >&6
14698 fi
14699 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14700 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14701 else
14702   # Is the header compilable?
14703 echo "$as_me:$LINENO: checking complex.h usability" >&5
14704 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h.  */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h.  */
14711 $ac_includes_default
14712 #include <complex.h>
14713 _ACEOF
14714 rm -f conftest.$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716   (eval $ac_compile) 2>conftest.er1
14717   ac_status=$?
14718   grep -v '^ *+' conftest.er1 >conftest.err
14719   rm -f conftest.er1
14720   cat conftest.err >&5
14721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722   (exit $ac_status); } &&
14723          { ac_try='test -z "$ac_c_werror_flag"
14724                          || test ! -s conftest.err'
14725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726   (eval $ac_try) 2>&5
14727   ac_status=$?
14728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729   (exit $ac_status); }; } &&
14730          { ac_try='test -s conftest.$ac_objext'
14731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732   (eval $ac_try) 2>&5
14733   ac_status=$?
14734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735   (exit $ac_status); }; }; then
14736   ac_header_compiler=yes
14737 else
14738   echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14740
14741 ac_header_compiler=no
14742 fi
14743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14745 echo "${ECHO_T}$ac_header_compiler" >&6
14746
14747 # Is the header present?
14748 echo "$as_me:$LINENO: checking complex.h presence" >&5
14749 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14750 cat >conftest.$ac_ext <<_ACEOF
14751 /* confdefs.h.  */
14752 _ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h.  */
14756 #include <complex.h>
14757 _ACEOF
14758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14759   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14760   ac_status=$?
14761   grep -v '^ *+' conftest.er1 >conftest.err
14762   rm -f conftest.er1
14763   cat conftest.err >&5
14764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765   (exit $ac_status); } >/dev/null; then
14766   if test -s conftest.err; then
14767     ac_cpp_err=$ac_c_preproc_warn_flag
14768     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14769   else
14770     ac_cpp_err=
14771   fi
14772 else
14773   ac_cpp_err=yes
14774 fi
14775 if test -z "$ac_cpp_err"; then
14776   ac_header_preproc=yes
14777 else
14778   echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14780
14781   ac_header_preproc=no
14782 fi
14783 rm -f conftest.err conftest.$ac_ext
14784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14785 echo "${ECHO_T}$ac_header_preproc" >&6
14786
14787 # So?  What about this header?
14788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14789   yes:no: )
14790     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14791 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14792     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14793 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14794     ac_header_preproc=yes
14795     ;;
14796   no:yes:* )
14797     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14798 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14799     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
14800 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
14801     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14802 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14803     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
14804 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14805     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14806 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14807     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14808 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14809     (
14810       cat <<\_ASBOX
14811 ## ------------------------------------------------------ ##
14812 ## Report this to the GNU Fortran Runtime Library lists.  ##
14813 ## ------------------------------------------------------ ##
14814 _ASBOX
14815     ) |
14816       sed "s/^/$as_me: WARNING:     /" >&2
14817     ;;
14818 esac
14819 echo "$as_me:$LINENO: checking for complex.h" >&5
14820 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14821 if test "${ac_cv_header_complex_h+set}" = set; then
14822   echo $ECHO_N "(cached) $ECHO_C" >&6
14823 else
14824   ac_cv_header_complex_h=$ac_header_preproc
14825 fi
14826 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14827 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14828
14829 fi
14830 if test $ac_cv_header_complex_h = yes; then
14831
14832 cat >>confdefs.h <<\_ACEOF
14833 #define HAVE_COMPLEX_H 1
14834 _ACEOF
14835
14836 fi
14837
14838
14839
14840
14841 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
14842
14843 acx_cv_header_stdint=stddef.h
14844 acx_cv_header_stdint_kind="(already complete)"
14845 for i in stdint.h $inttype_headers; do
14846   unset ac_cv_type_uintptr_t
14847   unset ac_cv_type_uintmax_t
14848   unset ac_cv_type_int_least32_t
14849   unset ac_cv_type_int_fast32_t
14850   unset ac_cv_type_uint64_t
14851   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14852   echo "$as_me:$LINENO: checking for uintmax_t" >&5
14853 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14854 if test "${ac_cv_type_uintmax_t+set}" = set; then
14855   echo $ECHO_N "(cached) $ECHO_C" >&6
14856 else
14857   cat >conftest.$ac_ext <<_ACEOF
14858 /* confdefs.h.  */
14859 _ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h.  */
14863 #include <sys/types.h>
14864 #include <$i>
14865
14866 int
14867 main ()
14868 {
14869 if ((uintmax_t *) 0)
14870   return 0;
14871 if (sizeof (uintmax_t))
14872   return 0;
14873   ;
14874   return 0;
14875 }
14876 _ACEOF
14877 rm -f conftest.$ac_objext
14878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14879   (eval $ac_compile) 2>conftest.er1
14880   ac_status=$?
14881   grep -v '^ *+' conftest.er1 >conftest.err
14882   rm -f conftest.er1
14883   cat conftest.err >&5
14884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885   (exit $ac_status); } &&
14886          { ac_try='test -z "$ac_c_werror_flag"
14887                          || test ! -s conftest.err'
14888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889   (eval $ac_try) 2>&5
14890   ac_status=$?
14891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892   (exit $ac_status); }; } &&
14893          { ac_try='test -s conftest.$ac_objext'
14894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895   (eval $ac_try) 2>&5
14896   ac_status=$?
14897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898   (exit $ac_status); }; }; then
14899   ac_cv_type_uintmax_t=yes
14900 else
14901   echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14903
14904 ac_cv_type_uintmax_t=no
14905 fi
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14907 fi
14908 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14909 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14910 if test $ac_cv_type_uintmax_t = yes; then
14911   acx_cv_header_stdint=$i
14912 else
14913   continue
14914 fi
14915
14916   echo "$as_me:$LINENO: checking for uintptr_t" >&5
14917 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14918 if test "${ac_cv_type_uintptr_t+set}" = set; then
14919   echo $ECHO_N "(cached) $ECHO_C" >&6
14920 else
14921   cat >conftest.$ac_ext <<_ACEOF
14922 /* confdefs.h.  */
14923 _ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h.  */
14927 #include <sys/types.h>
14928 #include <$i>
14929
14930 int
14931 main ()
14932 {
14933 if ((uintptr_t *) 0)
14934   return 0;
14935 if (sizeof (uintptr_t))
14936   return 0;
14937   ;
14938   return 0;
14939 }
14940 _ACEOF
14941 rm -f conftest.$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943   (eval $ac_compile) 2>conftest.er1
14944   ac_status=$?
14945   grep -v '^ *+' conftest.er1 >conftest.err
14946   rm -f conftest.er1
14947   cat conftest.err >&5
14948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949   (exit $ac_status); } &&
14950          { ac_try='test -z "$ac_c_werror_flag"
14951                          || test ! -s conftest.err'
14952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953   (eval $ac_try) 2>&5
14954   ac_status=$?
14955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956   (exit $ac_status); }; } &&
14957          { ac_try='test -s conftest.$ac_objext'
14958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959   (eval $ac_try) 2>&5
14960   ac_status=$?
14961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962   (exit $ac_status); }; }; then
14963   ac_cv_type_uintptr_t=yes
14964 else
14965   echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14967
14968 ac_cv_type_uintptr_t=no
14969 fi
14970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14971 fi
14972 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14973 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14974 if test $ac_cv_type_uintptr_t = yes; then
14975   :
14976 else
14977   acx_cv_header_stdint_kind="(mostly complete)"
14978 fi
14979
14980   echo "$as_me:$LINENO: checking for int_least32_t" >&5
14981 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14982 if test "${ac_cv_type_int_least32_t+set}" = set; then
14983   echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985   cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h.  */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h.  */
14991 #include <sys/types.h>
14992 #include <$i>
14993
14994 int
14995 main ()
14996 {
14997 if ((int_least32_t *) 0)
14998   return 0;
14999 if (sizeof (int_least32_t))
15000   return 0;
15001   ;
15002   return 0;
15003 }
15004 _ACEOF
15005 rm -f conftest.$ac_objext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15007   (eval $ac_compile) 2>conftest.er1
15008   ac_status=$?
15009   grep -v '^ *+' conftest.er1 >conftest.err
15010   rm -f conftest.er1
15011   cat conftest.err >&5
15012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013   (exit $ac_status); } &&
15014          { ac_try='test -z "$ac_c_werror_flag"
15015                          || test ! -s conftest.err'
15016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017   (eval $ac_try) 2>&5
15018   ac_status=$?
15019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020   (exit $ac_status); }; } &&
15021          { ac_try='test -s conftest.$ac_objext'
15022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023   (eval $ac_try) 2>&5
15024   ac_status=$?
15025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026   (exit $ac_status); }; }; then
15027   ac_cv_type_int_least32_t=yes
15028 else
15029   echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15031
15032 ac_cv_type_int_least32_t=no
15033 fi
15034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15035 fi
15036 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15037 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15038 if test $ac_cv_type_int_least32_t = yes; then
15039   :
15040 else
15041   acx_cv_header_stdint_kind="(mostly complete)"
15042 fi
15043
15044   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15045 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15046 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15047   echo $ECHO_N "(cached) $ECHO_C" >&6
15048 else
15049   cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h.  */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h.  */
15055 #include <sys/types.h>
15056 #include <$i>
15057
15058 int
15059 main ()
15060 {
15061 if ((int_fast32_t *) 0)
15062   return 0;
15063 if (sizeof (int_fast32_t))
15064   return 0;
15065   ;
15066   return 0;
15067 }
15068 _ACEOF
15069 rm -f conftest.$ac_objext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15071   (eval $ac_compile) 2>conftest.er1
15072   ac_status=$?
15073   grep -v '^ *+' conftest.er1 >conftest.err
15074   rm -f conftest.er1
15075   cat conftest.err >&5
15076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077   (exit $ac_status); } &&
15078          { ac_try='test -z "$ac_c_werror_flag"
15079                          || test ! -s conftest.err'
15080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081   (eval $ac_try) 2>&5
15082   ac_status=$?
15083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084   (exit $ac_status); }; } &&
15085          { ac_try='test -s conftest.$ac_objext'
15086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087   (eval $ac_try) 2>&5
15088   ac_status=$?
15089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090   (exit $ac_status); }; }; then
15091   ac_cv_type_int_fast32_t=yes
15092 else
15093   echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15095
15096 ac_cv_type_int_fast32_t=no
15097 fi
15098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15099 fi
15100 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15101 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15102 if test $ac_cv_type_int_fast32_t = yes; then
15103   :
15104 else
15105   acx_cv_header_stdint_kind="(mostly complete)"
15106 fi
15107
15108   echo "$as_me:$LINENO: checking for uint64_t" >&5
15109 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15110 if test "${ac_cv_type_uint64_t+set}" = set; then
15111   echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113   cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h.  */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h.  */
15119 #include <sys/types.h>
15120 #include <$i>
15121
15122 int
15123 main ()
15124 {
15125 if ((uint64_t *) 0)
15126   return 0;
15127 if (sizeof (uint64_t))
15128   return 0;
15129   ;
15130   return 0;
15131 }
15132 _ACEOF
15133 rm -f conftest.$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135   (eval $ac_compile) 2>conftest.er1
15136   ac_status=$?
15137   grep -v '^ *+' conftest.er1 >conftest.err
15138   rm -f conftest.er1
15139   cat conftest.err >&5
15140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141   (exit $ac_status); } &&
15142          { ac_try='test -z "$ac_c_werror_flag"
15143                          || test ! -s conftest.err'
15144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145   (eval $ac_try) 2>&5
15146   ac_status=$?
15147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148   (exit $ac_status); }; } &&
15149          { ac_try='test -s conftest.$ac_objext'
15150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151   (eval $ac_try) 2>&5
15152   ac_status=$?
15153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154   (exit $ac_status); }; }; then
15155   ac_cv_type_uint64_t=yes
15156 else
15157   echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.$ac_ext >&5
15159
15160 ac_cv_type_uint64_t=no
15161 fi
15162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15163 fi
15164 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15165 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15166 if test $ac_cv_type_uint64_t = yes; then
15167   :
15168 else
15169   acx_cv_header_stdint_kind="(lacks uint64_t)"
15170 fi
15171
15172   break
15173 done
15174 if test "$acx_cv_header_stdint" = stddef.h; then
15175   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15176   for i in stdint.h $inttype_headers; do
15177     unset ac_cv_type_uintptr_t
15178     unset ac_cv_type_uint32_t
15179     unset ac_cv_type_uint64_t
15180     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15181     echo "$as_me:$LINENO: checking for uint32_t" >&5
15182 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15183 if test "${ac_cv_type_uint32_t+set}" = set; then
15184   echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186   cat >conftest.$ac_ext <<_ACEOF
15187 /* confdefs.h.  */
15188 _ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h.  */
15192 #include <sys/types.h>
15193 #include <$i>
15194
15195 int
15196 main ()
15197 {
15198 if ((uint32_t *) 0)
15199   return 0;
15200 if (sizeof (uint32_t))
15201   return 0;
15202   ;
15203   return 0;
15204 }
15205 _ACEOF
15206 rm -f conftest.$ac_objext
15207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15208   (eval $ac_compile) 2>conftest.er1
15209   ac_status=$?
15210   grep -v '^ *+' conftest.er1 >conftest.err
15211   rm -f conftest.er1
15212   cat conftest.err >&5
15213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214   (exit $ac_status); } &&
15215          { ac_try='test -z "$ac_c_werror_flag"
15216                          || test ! -s conftest.err'
15217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218   (eval $ac_try) 2>&5
15219   ac_status=$?
15220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221   (exit $ac_status); }; } &&
15222          { ac_try='test -s conftest.$ac_objext'
15223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224   (eval $ac_try) 2>&5
15225   ac_status=$?
15226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227   (exit $ac_status); }; }; then
15228   ac_cv_type_uint32_t=yes
15229 else
15230   echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.$ac_ext >&5
15232
15233 ac_cv_type_uint32_t=no
15234 fi
15235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15236 fi
15237 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15238 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15239 if test $ac_cv_type_uint32_t = yes; then
15240   acx_cv_header_stdint=$i
15241 else
15242   continue
15243 fi
15244
15245     echo "$as_me:$LINENO: checking for uint64_t" >&5
15246 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15247 if test "${ac_cv_type_uint64_t+set}" = set; then
15248   echo $ECHO_N "(cached) $ECHO_C" >&6
15249 else
15250   cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h.  */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h.  */
15256 #include <sys/types.h>
15257 #include <$i>
15258
15259 int
15260 main ()
15261 {
15262 if ((uint64_t *) 0)
15263   return 0;
15264 if (sizeof (uint64_t))
15265   return 0;
15266   ;
15267   return 0;
15268 }
15269 _ACEOF
15270 rm -f conftest.$ac_objext
15271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15272   (eval $ac_compile) 2>conftest.er1
15273   ac_status=$?
15274   grep -v '^ *+' conftest.er1 >conftest.err
15275   rm -f conftest.er1
15276   cat conftest.err >&5
15277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278   (exit $ac_status); } &&
15279          { ac_try='test -z "$ac_c_werror_flag"
15280                          || test ! -s conftest.err'
15281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282   (eval $ac_try) 2>&5
15283   ac_status=$?
15284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285   (exit $ac_status); }; } &&
15286          { ac_try='test -s conftest.$ac_objext'
15287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288   (eval $ac_try) 2>&5
15289   ac_status=$?
15290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291   (exit $ac_status); }; }; then
15292   ac_cv_type_uint64_t=yes
15293 else
15294   echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15296
15297 ac_cv_type_uint64_t=no
15298 fi
15299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15300 fi
15301 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15302 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15303
15304     echo "$as_me:$LINENO: checking for uintptr_t" >&5
15305 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15306 if test "${ac_cv_type_uintptr_t+set}" = set; then
15307   echo $ECHO_N "(cached) $ECHO_C" >&6
15308 else
15309   cat >conftest.$ac_ext <<_ACEOF
15310 /* confdefs.h.  */
15311 _ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h.  */
15315 #include <sys/types.h>
15316 #include <$i>
15317
15318 int
15319 main ()
15320 {
15321 if ((uintptr_t *) 0)
15322   return 0;
15323 if (sizeof (uintptr_t))
15324   return 0;
15325   ;
15326   return 0;
15327 }
15328 _ACEOF
15329 rm -f conftest.$ac_objext
15330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15331   (eval $ac_compile) 2>conftest.er1
15332   ac_status=$?
15333   grep -v '^ *+' conftest.er1 >conftest.err
15334   rm -f conftest.er1
15335   cat conftest.err >&5
15336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337   (exit $ac_status); } &&
15338          { ac_try='test -z "$ac_c_werror_flag"
15339                          || test ! -s conftest.err'
15340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341   (eval $ac_try) 2>&5
15342   ac_status=$?
15343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344   (exit $ac_status); }; } &&
15345          { ac_try='test -s conftest.$ac_objext'
15346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347   (eval $ac_try) 2>&5
15348   ac_status=$?
15349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350   (exit $ac_status); }; }; then
15351   ac_cv_type_uintptr_t=yes
15352 else
15353   echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15355
15356 ac_cv_type_uintptr_t=no
15357 fi
15358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15359 fi
15360 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15361 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15362
15363     break
15364   done
15365 fi
15366 if test "$acx_cv_header_stdint" = stddef.h; then
15367   acx_cv_header_stdint_kind="(u_intXX_t style)"
15368   for i in sys/types.h $inttype_headers; do
15369     unset ac_cv_type_u_int32_t
15370     unset ac_cv_type_u_int64_t
15371     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15372     echo "$as_me:$LINENO: checking for u_int32_t" >&5
15373 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15374 if test "${ac_cv_type_u_int32_t+set}" = set; then
15375   echo $ECHO_N "(cached) $ECHO_C" >&6
15376 else
15377   cat >conftest.$ac_ext <<_ACEOF
15378 /* confdefs.h.  */
15379 _ACEOF
15380 cat confdefs.h >>conftest.$ac_ext
15381 cat >>conftest.$ac_ext <<_ACEOF
15382 /* end confdefs.h.  */
15383 #include <sys/types.h>
15384 #include <$i>
15385
15386 int
15387 main ()
15388 {
15389 if ((u_int32_t *) 0)
15390   return 0;
15391 if (sizeof (u_int32_t))
15392   return 0;
15393   ;
15394   return 0;
15395 }
15396 _ACEOF
15397 rm -f conftest.$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399   (eval $ac_compile) 2>conftest.er1
15400   ac_status=$?
15401   grep -v '^ *+' conftest.er1 >conftest.err
15402   rm -f conftest.er1
15403   cat conftest.err >&5
15404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405   (exit $ac_status); } &&
15406          { ac_try='test -z "$ac_c_werror_flag"
15407                          || test ! -s conftest.err'
15408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409   (eval $ac_try) 2>&5
15410   ac_status=$?
15411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412   (exit $ac_status); }; } &&
15413          { ac_try='test -s conftest.$ac_objext'
15414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415   (eval $ac_try) 2>&5
15416   ac_status=$?
15417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418   (exit $ac_status); }; }; then
15419   ac_cv_type_u_int32_t=yes
15420 else
15421   echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15423
15424 ac_cv_type_u_int32_t=no
15425 fi
15426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15427 fi
15428 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15429 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15430 if test $ac_cv_type_u_int32_t = yes; then
15431   acx_cv_header_stdint=$i
15432 else
15433   continue
15434 fi
15435
15436     echo "$as_me:$LINENO: checking for u_int64_t" >&5
15437 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15438 if test "${ac_cv_type_u_int64_t+set}" = set; then
15439   echo $ECHO_N "(cached) $ECHO_C" >&6
15440 else
15441   cat >conftest.$ac_ext <<_ACEOF
15442 /* confdefs.h.  */
15443 _ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h.  */
15447 #include <sys/types.h>
15448 #include <$i>
15449
15450 int
15451 main ()
15452 {
15453 if ((u_int64_t *) 0)
15454   return 0;
15455 if (sizeof (u_int64_t))
15456   return 0;
15457   ;
15458   return 0;
15459 }
15460 _ACEOF
15461 rm -f conftest.$ac_objext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15463   (eval $ac_compile) 2>conftest.er1
15464   ac_status=$?
15465   grep -v '^ *+' conftest.er1 >conftest.err
15466   rm -f conftest.er1
15467   cat conftest.err >&5
15468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469   (exit $ac_status); } &&
15470          { ac_try='test -z "$ac_c_werror_flag"
15471                          || test ! -s conftest.err'
15472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15473   (eval $ac_try) 2>&5
15474   ac_status=$?
15475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476   (exit $ac_status); }; } &&
15477          { ac_try='test -s conftest.$ac_objext'
15478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479   (eval $ac_try) 2>&5
15480   ac_status=$?
15481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482   (exit $ac_status); }; }; then
15483   ac_cv_type_u_int64_t=yes
15484 else
15485   echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15487
15488 ac_cv_type_u_int64_t=no
15489 fi
15490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15491 fi
15492 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15493 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15494
15495     break
15496   done
15497 fi
15498 if test "$acx_cv_header_stdint" = stddef.h; then
15499   acx_cv_header_stdint_kind="(using manual detection)"
15500 fi
15501
15502 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15503 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15504 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15505 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15506 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15507
15508 # ----------------- Summarize what we found so far
15509
15510 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15511 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15512
15513 case `$as_basename gstdint.h ||
15514 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15515          Xgstdint.h : 'X\(//\)$' \| \
15516          Xgstdint.h : 'X\(/\)$' \| \
15517          .     : '\(.\)' 2>/dev/null ||
15518 echo X/gstdint.h |
15519     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15520           /^X\/\(\/\/\)$/{ s//\1/; q; }
15521           /^X\/\(\/\).*/{ s//\1/; q; }
15522           s/.*/./; q'` in
15523   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15524 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15525   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15526 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15527   *) ;;
15528 esac
15529
15530 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15531 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15532
15533 # ----------------- done included file, check C basic types --------
15534
15535 # Lacking an uintptr_t?  Test size of void *
15536 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15537   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15538 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15539 if test "${ac_cv_type_void_p+set}" = set; then
15540   echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542   cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h.  */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h.  */
15548 $ac_includes_default
15549 int
15550 main ()
15551 {
15552 if ((void * *) 0)
15553   return 0;
15554 if (sizeof (void *))
15555   return 0;
15556   ;
15557   return 0;
15558 }
15559 _ACEOF
15560 rm -f conftest.$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562   (eval $ac_compile) 2>conftest.er1
15563   ac_status=$?
15564   grep -v '^ *+' conftest.er1 >conftest.err
15565   rm -f conftest.er1
15566   cat conftest.err >&5
15567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568   (exit $ac_status); } &&
15569          { ac_try='test -z "$ac_c_werror_flag"
15570                          || test ! -s conftest.err'
15571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572   (eval $ac_try) 2>&5
15573   ac_status=$?
15574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575   (exit $ac_status); }; } &&
15576          { ac_try='test -s conftest.$ac_objext'
15577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578   (eval $ac_try) 2>&5
15579   ac_status=$?
15580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581   (exit $ac_status); }; }; then
15582   ac_cv_type_void_p=yes
15583 else
15584   echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15586
15587 ac_cv_type_void_p=no
15588 fi
15589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15590 fi
15591 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15592 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15593
15594 echo "$as_me:$LINENO: checking size of void *" >&5
15595 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15596 if test "${ac_cv_sizeof_void_p+set}" = set; then
15597   echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599   if test "$ac_cv_type_void_p" = yes; then
15600   # The cast to unsigned long works around a bug in the HP C Compiler
15601   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15602   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15603   # This bug is HP SR number 8606223364.
15604   if test "$cross_compiling" = yes; then
15605   # Depending upon the size, compute the lo and hi bounds.
15606 cat >conftest.$ac_ext <<_ACEOF
15607 /* confdefs.h.  */
15608 _ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h.  */
15612 $ac_includes_default
15613 int
15614 main ()
15615 {
15616 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15617 test_array [0] = 0
15618
15619   ;
15620   return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625   (eval $ac_compile) 2>conftest.er1
15626   ac_status=$?
15627   grep -v '^ *+' conftest.er1 >conftest.err
15628   rm -f conftest.er1
15629   cat conftest.err >&5
15630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631   (exit $ac_status); } &&
15632          { ac_try='test -z "$ac_c_werror_flag"
15633                          || test ! -s conftest.err'
15634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635   (eval $ac_try) 2>&5
15636   ac_status=$?
15637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638   (exit $ac_status); }; } &&
15639          { ac_try='test -s conftest.$ac_objext'
15640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641   (eval $ac_try) 2>&5
15642   ac_status=$?
15643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644   (exit $ac_status); }; }; then
15645   ac_lo=0 ac_mid=0
15646   while :; do
15647     cat >conftest.$ac_ext <<_ACEOF
15648 /* confdefs.h.  */
15649 _ACEOF
15650 cat confdefs.h >>conftest.$ac_ext
15651 cat >>conftest.$ac_ext <<_ACEOF
15652 /* end confdefs.h.  */
15653 $ac_includes_default
15654 int
15655 main ()
15656 {
15657 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15658 test_array [0] = 0
15659
15660   ;
15661   return 0;
15662 }
15663 _ACEOF
15664 rm -f conftest.$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666   (eval $ac_compile) 2>conftest.er1
15667   ac_status=$?
15668   grep -v '^ *+' conftest.er1 >conftest.err
15669   rm -f conftest.er1
15670   cat conftest.err >&5
15671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672   (exit $ac_status); } &&
15673          { ac_try='test -z "$ac_c_werror_flag"
15674                          || test ! -s conftest.err'
15675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676   (eval $ac_try) 2>&5
15677   ac_status=$?
15678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679   (exit $ac_status); }; } &&
15680          { ac_try='test -s conftest.$ac_objext'
15681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682   (eval $ac_try) 2>&5
15683   ac_status=$?
15684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685   (exit $ac_status); }; }; then
15686   ac_hi=$ac_mid; break
15687 else
15688   echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 ac_lo=`expr $ac_mid + 1`
15692                     if test $ac_lo -le $ac_mid; then
15693                       ac_lo= ac_hi=
15694                       break
15695                     fi
15696                     ac_mid=`expr 2 '*' $ac_mid + 1`
15697 fi
15698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15699   done
15700 else
15701   echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15703
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h.  */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h.  */
15710 $ac_includes_default
15711 int
15712 main ()
15713 {
15714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15715 test_array [0] = 0
15716
15717   ;
15718   return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723   (eval $ac_compile) 2>conftest.er1
15724   ac_status=$?
15725   grep -v '^ *+' conftest.er1 >conftest.err
15726   rm -f conftest.er1
15727   cat conftest.err >&5
15728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729   (exit $ac_status); } &&
15730          { ac_try='test -z "$ac_c_werror_flag"
15731                          || test ! -s conftest.err'
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); }; } &&
15737          { ac_try='test -s conftest.$ac_objext'
15738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739   (eval $ac_try) 2>&5
15740   ac_status=$?
15741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742   (exit $ac_status); }; }; then
15743   ac_hi=-1 ac_mid=-1
15744   while :; do
15745     cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h.  */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h.  */
15751 $ac_includes_default
15752 int
15753 main ()
15754 {
15755 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15756 test_array [0] = 0
15757
15758   ;
15759   return 0;
15760 }
15761 _ACEOF
15762 rm -f conftest.$ac_objext
15763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15764   (eval $ac_compile) 2>conftest.er1
15765   ac_status=$?
15766   grep -v '^ *+' conftest.er1 >conftest.err
15767   rm -f conftest.er1
15768   cat conftest.err >&5
15769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770   (exit $ac_status); } &&
15771          { ac_try='test -z "$ac_c_werror_flag"
15772                          || test ! -s conftest.err'
15773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774   (eval $ac_try) 2>&5
15775   ac_status=$?
15776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777   (exit $ac_status); }; } &&
15778          { ac_try='test -s conftest.$ac_objext'
15779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780   (eval $ac_try) 2>&5
15781   ac_status=$?
15782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783   (exit $ac_status); }; }; then
15784   ac_lo=$ac_mid; break
15785 else
15786   echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15788
15789 ac_hi=`expr '(' $ac_mid ')' - 1`
15790                        if test $ac_mid -le $ac_hi; then
15791                          ac_lo= ac_hi=
15792                          break
15793                        fi
15794                        ac_mid=`expr 2 '*' $ac_mid`
15795 fi
15796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15797   done
15798 else
15799   echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15801
15802 ac_lo= ac_hi=
15803 fi
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15805 fi
15806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15807 # Binary search between lo and hi bounds.
15808 while test "x$ac_lo" != "x$ac_hi"; do
15809   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15810   cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h.  */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h.  */
15816 $ac_includes_default
15817 int
15818 main ()
15819 {
15820 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15821 test_array [0] = 0
15822
15823   ;
15824   return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829   (eval $ac_compile) 2>conftest.er1
15830   ac_status=$?
15831   grep -v '^ *+' conftest.er1 >conftest.err
15832   rm -f conftest.er1
15833   cat conftest.err >&5
15834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835   (exit $ac_status); } &&
15836          { ac_try='test -z "$ac_c_werror_flag"
15837                          || test ! -s conftest.err'
15838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839   (eval $ac_try) 2>&5
15840   ac_status=$?
15841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842   (exit $ac_status); }; } &&
15843          { ac_try='test -s conftest.$ac_objext'
15844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845   (eval $ac_try) 2>&5
15846   ac_status=$?
15847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848   (exit $ac_status); }; }; then
15849   ac_hi=$ac_mid
15850 else
15851   echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 ac_lo=`expr '(' $ac_mid ')' + 1`
15855 fi
15856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15857 done
15858 case $ac_lo in
15859 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15860 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15861 See \`config.log' for more details." >&5
15862 echo "$as_me: error: cannot compute sizeof (void *), 77
15863 See \`config.log' for more details." >&2;}
15864    { (exit 1); exit 1; }; } ;;
15865 esac
15866 else
15867   if test "$cross_compiling" = yes; then
15868   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15869 See \`config.log' for more details." >&5
15870 echo "$as_me: error: cannot run test program while cross compiling
15871 See \`config.log' for more details." >&2;}
15872    { (exit 1); exit 1; }; }
15873 else
15874   cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h.  */
15876 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h.  */
15880 $ac_includes_default
15881 long longval () { return (long) (sizeof (void *)); }
15882 unsigned long ulongval () { return (long) (sizeof (void *)); }
15883 #include <stdio.h>
15884 #include <stdlib.h>
15885 int
15886 main ()
15887 {
15888
15889   FILE *f = fopen ("conftest.val", "w");
15890   if (! f)
15891     exit (1);
15892   if (((long) (sizeof (void *))) < 0)
15893     {
15894       long i = longval ();
15895       if (i != ((long) (sizeof (void *))))
15896         exit (1);
15897       fprintf (f, "%ld\n", i);
15898     }
15899   else
15900     {
15901       unsigned long i = ulongval ();
15902       if (i != ((long) (sizeof (void *))))
15903         exit (1);
15904       fprintf (f, "%lu\n", i);
15905     }
15906   exit (ferror (f) || fclose (f) != 0);
15907
15908   ;
15909   return 0;
15910 }
15911 _ACEOF
15912 rm -f conftest$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914   (eval $ac_link) 2>&5
15915   ac_status=$?
15916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919   (eval $ac_try) 2>&5
15920   ac_status=$?
15921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922   (exit $ac_status); }; }; then
15923   ac_cv_sizeof_void_p=`cat conftest.val`
15924 else
15925   echo "$as_me: program exited with status $ac_status" >&5
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.$ac_ext >&5
15928
15929 ( exit $ac_status )
15930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15931 See \`config.log' for more details." >&5
15932 echo "$as_me: error: cannot compute sizeof (void *), 77
15933 See \`config.log' for more details." >&2;}
15934    { (exit 1); exit 1; }; }
15935 fi
15936 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15937 fi
15938 fi
15939 rm -f conftest.val
15940 else
15941   ac_cv_sizeof_void_p=0
15942 fi
15943 fi
15944 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15945 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15946 cat >>confdefs.h <<_ACEOF
15947 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15948 _ACEOF
15949
15950  ;;
15951 esac
15952
15953 # Lacking an uint64_t?  Test size of long
15954 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15955   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15956 echo $ECHO_N "checking for long... $ECHO_C" >&6
15957 if test "${ac_cv_type_long+set}" = set; then
15958   echo $ECHO_N "(cached) $ECHO_C" >&6
15959 else
15960   cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h.  */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h.  */
15966 $ac_includes_default
15967 int
15968 main ()
15969 {
15970 if ((long *) 0)
15971   return 0;
15972 if (sizeof (long))
15973   return 0;
15974   ;
15975   return 0;
15976 }
15977 _ACEOF
15978 rm -f conftest.$ac_objext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980   (eval $ac_compile) 2>conftest.er1
15981   ac_status=$?
15982   grep -v '^ *+' conftest.er1 >conftest.err
15983   rm -f conftest.er1
15984   cat conftest.err >&5
15985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986   (exit $ac_status); } &&
15987          { ac_try='test -z "$ac_c_werror_flag"
15988                          || test ! -s conftest.err'
15989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15990   (eval $ac_try) 2>&5
15991   ac_status=$?
15992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993   (exit $ac_status); }; } &&
15994          { ac_try='test -s conftest.$ac_objext'
15995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996   (eval $ac_try) 2>&5
15997   ac_status=$?
15998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999   (exit $ac_status); }; }; then
16000   ac_cv_type_long=yes
16001 else
16002   echo "$as_me: failed program was:" >&5
16003 sed 's/^/| /' conftest.$ac_ext >&5
16004
16005 ac_cv_type_long=no
16006 fi
16007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16008 fi
16009 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16010 echo "${ECHO_T}$ac_cv_type_long" >&6
16011
16012 echo "$as_me:$LINENO: checking size of long" >&5
16013 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16014 if test "${ac_cv_sizeof_long+set}" = set; then
16015   echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16017   if test "$ac_cv_type_long" = yes; then
16018   # The cast to unsigned long works around a bug in the HP C Compiler
16019   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16020   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16021   # This bug is HP SR number 8606223364.
16022   if test "$cross_compiling" = yes; then
16023   # Depending upon the size, compute the lo and hi bounds.
16024 cat >conftest.$ac_ext <<_ACEOF
16025 /* confdefs.h.  */
16026 _ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h.  */
16030 $ac_includes_default
16031 int
16032 main ()
16033 {
16034 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16035 test_array [0] = 0
16036
16037   ;
16038   return 0;
16039 }
16040 _ACEOF
16041 rm -f conftest.$ac_objext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16043   (eval $ac_compile) 2>conftest.er1
16044   ac_status=$?
16045   grep -v '^ *+' conftest.er1 >conftest.err
16046   rm -f conftest.er1
16047   cat conftest.err >&5
16048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049   (exit $ac_status); } &&
16050          { ac_try='test -z "$ac_c_werror_flag"
16051                          || test ! -s conftest.err'
16052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053   (eval $ac_try) 2>&5
16054   ac_status=$?
16055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056   (exit $ac_status); }; } &&
16057          { ac_try='test -s conftest.$ac_objext'
16058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059   (eval $ac_try) 2>&5
16060   ac_status=$?
16061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062   (exit $ac_status); }; }; then
16063   ac_lo=0 ac_mid=0
16064   while :; do
16065     cat >conftest.$ac_ext <<_ACEOF
16066 /* confdefs.h.  */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h.  */
16071 $ac_includes_default
16072 int
16073 main ()
16074 {
16075 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16076 test_array [0] = 0
16077
16078   ;
16079   return 0;
16080 }
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084   (eval $ac_compile) 2>conftest.er1
16085   ac_status=$?
16086   grep -v '^ *+' conftest.er1 >conftest.err
16087   rm -f conftest.er1
16088   cat conftest.err >&5
16089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090   (exit $ac_status); } &&
16091          { ac_try='test -z "$ac_c_werror_flag"
16092                          || test ! -s conftest.err'
16093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094   (eval $ac_try) 2>&5
16095   ac_status=$?
16096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097   (exit $ac_status); }; } &&
16098          { ac_try='test -s conftest.$ac_objext'
16099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100   (eval $ac_try) 2>&5
16101   ac_status=$?
16102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103   (exit $ac_status); }; }; then
16104   ac_hi=$ac_mid; break
16105 else
16106   echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16108
16109 ac_lo=`expr $ac_mid + 1`
16110                     if test $ac_lo -le $ac_mid; then
16111                       ac_lo= ac_hi=
16112                       break
16113                     fi
16114                     ac_mid=`expr 2 '*' $ac_mid + 1`
16115 fi
16116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117   done
16118 else
16119   echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16121
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h.  */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h.  */
16128 $ac_includes_default
16129 int
16130 main ()
16131 {
16132 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16133 test_array [0] = 0
16134
16135   ;
16136   return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141   (eval $ac_compile) 2>conftest.er1
16142   ac_status=$?
16143   grep -v '^ *+' conftest.er1 >conftest.err
16144   rm -f conftest.er1
16145   cat conftest.err >&5
16146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147   (exit $ac_status); } &&
16148          { ac_try='test -z "$ac_c_werror_flag"
16149                          || test ! -s conftest.err'
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); }; } &&
16155          { ac_try='test -s conftest.$ac_objext'
16156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157   (eval $ac_try) 2>&5
16158   ac_status=$?
16159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160   (exit $ac_status); }; }; then
16161   ac_hi=-1 ac_mid=-1
16162   while :; do
16163     cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h.  */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h.  */
16169 $ac_includes_default
16170 int
16171 main ()
16172 {
16173 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16174 test_array [0] = 0
16175
16176   ;
16177   return 0;
16178 }
16179 _ACEOF
16180 rm -f conftest.$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182   (eval $ac_compile) 2>conftest.er1
16183   ac_status=$?
16184   grep -v '^ *+' conftest.er1 >conftest.err
16185   rm -f conftest.er1
16186   cat conftest.err >&5
16187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188   (exit $ac_status); } &&
16189          { ac_try='test -z "$ac_c_werror_flag"
16190                          || test ! -s conftest.err'
16191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192   (eval $ac_try) 2>&5
16193   ac_status=$?
16194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195   (exit $ac_status); }; } &&
16196          { ac_try='test -s conftest.$ac_objext'
16197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198   (eval $ac_try) 2>&5
16199   ac_status=$?
16200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201   (exit $ac_status); }; }; then
16202   ac_lo=$ac_mid; break
16203 else
16204   echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.$ac_ext >&5
16206
16207 ac_hi=`expr '(' $ac_mid ')' - 1`
16208                        if test $ac_mid -le $ac_hi; then
16209                          ac_lo= ac_hi=
16210                          break
16211                        fi
16212                        ac_mid=`expr 2 '*' $ac_mid`
16213 fi
16214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16215   done
16216 else
16217   echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.$ac_ext >&5
16219
16220 ac_lo= ac_hi=
16221 fi
16222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16223 fi
16224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16225 # Binary search between lo and hi bounds.
16226 while test "x$ac_lo" != "x$ac_hi"; do
16227   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16228   cat >conftest.$ac_ext <<_ACEOF
16229 /* confdefs.h.  */
16230 _ACEOF
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h.  */
16234 $ac_includes_default
16235 int
16236 main ()
16237 {
16238 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16239 test_array [0] = 0
16240
16241   ;
16242   return 0;
16243 }
16244 _ACEOF
16245 rm -f conftest.$ac_objext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16247   (eval $ac_compile) 2>conftest.er1
16248   ac_status=$?
16249   grep -v '^ *+' conftest.er1 >conftest.err
16250   rm -f conftest.er1
16251   cat conftest.err >&5
16252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253   (exit $ac_status); } &&
16254          { ac_try='test -z "$ac_c_werror_flag"
16255                          || test ! -s conftest.err'
16256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257   (eval $ac_try) 2>&5
16258   ac_status=$?
16259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260   (exit $ac_status); }; } &&
16261          { ac_try='test -s conftest.$ac_objext'
16262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16263   (eval $ac_try) 2>&5
16264   ac_status=$?
16265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266   (exit $ac_status); }; }; then
16267   ac_hi=$ac_mid
16268 else
16269   echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16271
16272 ac_lo=`expr '(' $ac_mid ')' + 1`
16273 fi
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16275 done
16276 case $ac_lo in
16277 ?*) ac_cv_sizeof_long=$ac_lo;;
16278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: cannot compute sizeof (long), 77
16281 See \`config.log' for more details." >&2;}
16282    { (exit 1); exit 1; }; } ;;
16283 esac
16284 else
16285   if test "$cross_compiling" = yes; then
16286   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16287 See \`config.log' for more details." >&5
16288 echo "$as_me: error: cannot run test program while cross compiling
16289 See \`config.log' for more details." >&2;}
16290    { (exit 1); exit 1; }; }
16291 else
16292   cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h.  */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h.  */
16298 $ac_includes_default
16299 long longval () { return (long) (sizeof (long)); }
16300 unsigned long ulongval () { return (long) (sizeof (long)); }
16301 #include <stdio.h>
16302 #include <stdlib.h>
16303 int
16304 main ()
16305 {
16306
16307   FILE *f = fopen ("conftest.val", "w");
16308   if (! f)
16309     exit (1);
16310   if (((long) (sizeof (long))) < 0)
16311     {
16312       long i = longval ();
16313       if (i != ((long) (sizeof (long))))
16314         exit (1);
16315       fprintf (f, "%ld\n", i);
16316     }
16317   else
16318     {
16319       unsigned long i = ulongval ();
16320       if (i != ((long) (sizeof (long))))
16321         exit (1);
16322       fprintf (f, "%lu\n", i);
16323     }
16324   exit (ferror (f) || fclose (f) != 0);
16325
16326   ;
16327   return 0;
16328 }
16329 _ACEOF
16330 rm -f conftest$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332   (eval $ac_link) 2>&5
16333   ac_status=$?
16334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337   (eval $ac_try) 2>&5
16338   ac_status=$?
16339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340   (exit $ac_status); }; }; then
16341   ac_cv_sizeof_long=`cat conftest.val`
16342 else
16343   echo "$as_me: program exited with status $ac_status" >&5
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16346
16347 ( exit $ac_status )
16348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16349 See \`config.log' for more details." >&5
16350 echo "$as_me: error: cannot compute sizeof (long), 77
16351 See \`config.log' for more details." >&2;}
16352    { (exit 1); exit 1; }; }
16353 fi
16354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16355 fi
16356 fi
16357 rm -f conftest.val
16358 else
16359   ac_cv_sizeof_long=0
16360 fi
16361 fi
16362 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16363 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16364 cat >>confdefs.h <<_ACEOF
16365 #define SIZEOF_LONG $ac_cv_sizeof_long
16366 _ACEOF
16367
16368  ;;
16369 esac
16370
16371 if test $acx_cv_header_stdint = stddef.h; then
16372   # Lacking a good header?  Test size of everything and deduce all types.
16373   echo "$as_me:$LINENO: checking for int" >&5
16374 echo $ECHO_N "checking for int... $ECHO_C" >&6
16375 if test "${ac_cv_type_int+set}" = set; then
16376   echo $ECHO_N "(cached) $ECHO_C" >&6
16377 else
16378   cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h.  */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h.  */
16384 $ac_includes_default
16385 int
16386 main ()
16387 {
16388 if ((int *) 0)
16389   return 0;
16390 if (sizeof (int))
16391   return 0;
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 rm -f conftest.$ac_objext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16398   (eval $ac_compile) 2>conftest.er1
16399   ac_status=$?
16400   grep -v '^ *+' conftest.er1 >conftest.err
16401   rm -f conftest.er1
16402   cat conftest.err >&5
16403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404   (exit $ac_status); } &&
16405          { ac_try='test -z "$ac_c_werror_flag"
16406                          || test ! -s conftest.err'
16407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408   (eval $ac_try) 2>&5
16409   ac_status=$?
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); }; } &&
16412          { ac_try='test -s conftest.$ac_objext'
16413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414   (eval $ac_try) 2>&5
16415   ac_status=$?
16416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417   (exit $ac_status); }; }; then
16418   ac_cv_type_int=yes
16419 else
16420   echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_cv_type_int=no
16424 fi
16425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16426 fi
16427 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16428 echo "${ECHO_T}$ac_cv_type_int" >&6
16429
16430 echo "$as_me:$LINENO: checking size of int" >&5
16431 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16432 if test "${ac_cv_sizeof_int+set}" = set; then
16433   echo $ECHO_N "(cached) $ECHO_C" >&6
16434 else
16435   if test "$ac_cv_type_int" = yes; then
16436   # The cast to unsigned long works around a bug in the HP C Compiler
16437   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16438   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16439   # This bug is HP SR number 8606223364.
16440   if test "$cross_compiling" = yes; then
16441   # Depending upon the size, compute the lo and hi bounds.
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h.  */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h.  */
16448 $ac_includes_default
16449 int
16450 main ()
16451 {
16452 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16453 test_array [0] = 0
16454
16455   ;
16456   return 0;
16457 }
16458 _ACEOF
16459 rm -f conftest.$ac_objext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16461   (eval $ac_compile) 2>conftest.er1
16462   ac_status=$?
16463   grep -v '^ *+' conftest.er1 >conftest.err
16464   rm -f conftest.er1
16465   cat conftest.err >&5
16466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467   (exit $ac_status); } &&
16468          { ac_try='test -z "$ac_c_werror_flag"
16469                          || test ! -s conftest.err'
16470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471   (eval $ac_try) 2>&5
16472   ac_status=$?
16473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474   (exit $ac_status); }; } &&
16475          { ac_try='test -s conftest.$ac_objext'
16476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477   (eval $ac_try) 2>&5
16478   ac_status=$?
16479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480   (exit $ac_status); }; }; then
16481   ac_lo=0 ac_mid=0
16482   while :; do
16483     cat >conftest.$ac_ext <<_ACEOF
16484 /* confdefs.h.  */
16485 _ACEOF
16486 cat confdefs.h >>conftest.$ac_ext
16487 cat >>conftest.$ac_ext <<_ACEOF
16488 /* end confdefs.h.  */
16489 $ac_includes_default
16490 int
16491 main ()
16492 {
16493 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16494 test_array [0] = 0
16495
16496   ;
16497   return 0;
16498 }
16499 _ACEOF
16500 rm -f conftest.$ac_objext
16501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16502   (eval $ac_compile) 2>conftest.er1
16503   ac_status=$?
16504   grep -v '^ *+' conftest.er1 >conftest.err
16505   rm -f conftest.er1
16506   cat conftest.err >&5
16507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508   (exit $ac_status); } &&
16509          { ac_try='test -z "$ac_c_werror_flag"
16510                          || test ! -s conftest.err'
16511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512   (eval $ac_try) 2>&5
16513   ac_status=$?
16514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515   (exit $ac_status); }; } &&
16516          { ac_try='test -s conftest.$ac_objext'
16517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518   (eval $ac_try) 2>&5
16519   ac_status=$?
16520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521   (exit $ac_status); }; }; then
16522   ac_hi=$ac_mid; break
16523 else
16524   echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16526
16527 ac_lo=`expr $ac_mid + 1`
16528                     if test $ac_lo -le $ac_mid; then
16529                       ac_lo= ac_hi=
16530                       break
16531                     fi
16532                     ac_mid=`expr 2 '*' $ac_mid + 1`
16533 fi
16534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16535   done
16536 else
16537   echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16539
16540 cat >conftest.$ac_ext <<_ACEOF
16541 /* confdefs.h.  */
16542 _ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h.  */
16546 $ac_includes_default
16547 int
16548 main ()
16549 {
16550 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16551 test_array [0] = 0
16552
16553   ;
16554   return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559   (eval $ac_compile) 2>conftest.er1
16560   ac_status=$?
16561   grep -v '^ *+' conftest.er1 >conftest.err
16562   rm -f conftest.er1
16563   cat conftest.err >&5
16564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565   (exit $ac_status); } &&
16566          { ac_try='test -z "$ac_c_werror_flag"
16567                          || test ! -s conftest.err'
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); }; } &&
16573          { ac_try='test -s conftest.$ac_objext'
16574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16575   (eval $ac_try) 2>&5
16576   ac_status=$?
16577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578   (exit $ac_status); }; }; then
16579   ac_hi=-1 ac_mid=-1
16580   while :; do
16581     cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h.  */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h.  */
16587 $ac_includes_default
16588 int
16589 main ()
16590 {
16591 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16592 test_array [0] = 0
16593
16594   ;
16595   return 0;
16596 }
16597 _ACEOF
16598 rm -f conftest.$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600   (eval $ac_compile) 2>conftest.er1
16601   ac_status=$?
16602   grep -v '^ *+' conftest.er1 >conftest.err
16603   rm -f conftest.er1
16604   cat conftest.err >&5
16605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606   (exit $ac_status); } &&
16607          { ac_try='test -z "$ac_c_werror_flag"
16608                          || test ! -s conftest.err'
16609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610   (eval $ac_try) 2>&5
16611   ac_status=$?
16612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613   (exit $ac_status); }; } &&
16614          { ac_try='test -s conftest.$ac_objext'
16615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616   (eval $ac_try) 2>&5
16617   ac_status=$?
16618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619   (exit $ac_status); }; }; then
16620   ac_lo=$ac_mid; break
16621 else
16622   echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16624
16625 ac_hi=`expr '(' $ac_mid ')' - 1`
16626                        if test $ac_mid -le $ac_hi; then
16627                          ac_lo= ac_hi=
16628                          break
16629                        fi
16630                        ac_mid=`expr 2 '*' $ac_mid`
16631 fi
16632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16633   done
16634 else
16635   echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16637
16638 ac_lo= ac_hi=
16639 fi
16640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 fi
16642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 # Binary search between lo and hi bounds.
16644 while test "x$ac_lo" != "x$ac_hi"; do
16645   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16646   cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h.  */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h.  */
16652 $ac_includes_default
16653 int
16654 main ()
16655 {
16656 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16657 test_array [0] = 0
16658
16659   ;
16660   return 0;
16661 }
16662 _ACEOF
16663 rm -f conftest.$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665   (eval $ac_compile) 2>conftest.er1
16666   ac_status=$?
16667   grep -v '^ *+' conftest.er1 >conftest.err
16668   rm -f conftest.er1
16669   cat conftest.err >&5
16670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671   (exit $ac_status); } &&
16672          { ac_try='test -z "$ac_c_werror_flag"
16673                          || test ! -s conftest.err'
16674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675   (eval $ac_try) 2>&5
16676   ac_status=$?
16677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678   (exit $ac_status); }; } &&
16679          { ac_try='test -s conftest.$ac_objext'
16680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681   (eval $ac_try) 2>&5
16682   ac_status=$?
16683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684   (exit $ac_status); }; }; then
16685   ac_hi=$ac_mid
16686 else
16687   echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16689
16690 ac_lo=`expr '(' $ac_mid ')' + 1`
16691 fi
16692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16693 done
16694 case $ac_lo in
16695 ?*) ac_cv_sizeof_int=$ac_lo;;
16696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16697 See \`config.log' for more details." >&5
16698 echo "$as_me: error: cannot compute sizeof (int), 77
16699 See \`config.log' for more details." >&2;}
16700    { (exit 1); exit 1; }; } ;;
16701 esac
16702 else
16703   if test "$cross_compiling" = yes; then
16704   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16705 See \`config.log' for more details." >&5
16706 echo "$as_me: error: cannot run test program while cross compiling
16707 See \`config.log' for more details." >&2;}
16708    { (exit 1); exit 1; }; }
16709 else
16710   cat >conftest.$ac_ext <<_ACEOF
16711 /* confdefs.h.  */
16712 _ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h.  */
16716 $ac_includes_default
16717 long longval () { return (long) (sizeof (int)); }
16718 unsigned long ulongval () { return (long) (sizeof (int)); }
16719 #include <stdio.h>
16720 #include <stdlib.h>
16721 int
16722 main ()
16723 {
16724
16725   FILE *f = fopen ("conftest.val", "w");
16726   if (! f)
16727     exit (1);
16728   if (((long) (sizeof (int))) < 0)
16729     {
16730       long i = longval ();
16731       if (i != ((long) (sizeof (int))))
16732         exit (1);
16733       fprintf (f, "%ld\n", i);
16734     }
16735   else
16736     {
16737       unsigned long i = ulongval ();
16738       if (i != ((long) (sizeof (int))))
16739         exit (1);
16740       fprintf (f, "%lu\n", i);
16741     }
16742   exit (ferror (f) || fclose (f) != 0);
16743
16744   ;
16745   return 0;
16746 }
16747 _ACEOF
16748 rm -f conftest$ac_exeext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16750   (eval $ac_link) 2>&5
16751   ac_status=$?
16752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755   (eval $ac_try) 2>&5
16756   ac_status=$?
16757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758   (exit $ac_status); }; }; then
16759   ac_cv_sizeof_int=`cat conftest.val`
16760 else
16761   echo "$as_me: program exited with status $ac_status" >&5
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16764
16765 ( exit $ac_status )
16766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16767 See \`config.log' for more details." >&5
16768 echo "$as_me: error: cannot compute sizeof (int), 77
16769 See \`config.log' for more details." >&2;}
16770    { (exit 1); exit 1; }; }
16771 fi
16772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16773 fi
16774 fi
16775 rm -f conftest.val
16776 else
16777   ac_cv_sizeof_int=0
16778 fi
16779 fi
16780 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16781 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16782 cat >>confdefs.h <<_ACEOF
16783 #define SIZEOF_INT $ac_cv_sizeof_int
16784 _ACEOF
16785
16786
16787   echo "$as_me:$LINENO: checking for short" >&5
16788 echo $ECHO_N "checking for short... $ECHO_C" >&6
16789 if test "${ac_cv_type_short+set}" = set; then
16790   echo $ECHO_N "(cached) $ECHO_C" >&6
16791 else
16792   cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h.  */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h.  */
16798 $ac_includes_default
16799 int
16800 main ()
16801 {
16802 if ((short *) 0)
16803   return 0;
16804 if (sizeof (short))
16805   return 0;
16806   ;
16807   return 0;
16808 }
16809 _ACEOF
16810 rm -f conftest.$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812   (eval $ac_compile) 2>conftest.er1
16813   ac_status=$?
16814   grep -v '^ *+' conftest.er1 >conftest.err
16815   rm -f conftest.er1
16816   cat conftest.err >&5
16817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818   (exit $ac_status); } &&
16819          { ac_try='test -z "$ac_c_werror_flag"
16820                          || test ! -s conftest.err'
16821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822   (eval $ac_try) 2>&5
16823   ac_status=$?
16824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825   (exit $ac_status); }; } &&
16826          { ac_try='test -s conftest.$ac_objext'
16827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828   (eval $ac_try) 2>&5
16829   ac_status=$?
16830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831   (exit $ac_status); }; }; then
16832   ac_cv_type_short=yes
16833 else
16834   echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837 ac_cv_type_short=no
16838 fi
16839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16840 fi
16841 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16842 echo "${ECHO_T}$ac_cv_type_short" >&6
16843
16844 echo "$as_me:$LINENO: checking size of short" >&5
16845 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16846 if test "${ac_cv_sizeof_short+set}" = set; then
16847   echo $ECHO_N "(cached) $ECHO_C" >&6
16848 else
16849   if test "$ac_cv_type_short" = yes; then
16850   # The cast to unsigned long works around a bug in the HP C Compiler
16851   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16852   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16853   # This bug is HP SR number 8606223364.
16854   if test "$cross_compiling" = yes; then
16855   # Depending upon the size, compute the lo and hi bounds.
16856 cat >conftest.$ac_ext <<_ACEOF
16857 /* confdefs.h.  */
16858 _ACEOF
16859 cat confdefs.h >>conftest.$ac_ext
16860 cat >>conftest.$ac_ext <<_ACEOF
16861 /* end confdefs.h.  */
16862 $ac_includes_default
16863 int
16864 main ()
16865 {
16866 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16867 test_array [0] = 0
16868
16869   ;
16870   return 0;
16871 }
16872 _ACEOF
16873 rm -f conftest.$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875   (eval $ac_compile) 2>conftest.er1
16876   ac_status=$?
16877   grep -v '^ *+' conftest.er1 >conftest.err
16878   rm -f conftest.er1
16879   cat conftest.err >&5
16880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881   (exit $ac_status); } &&
16882          { ac_try='test -z "$ac_c_werror_flag"
16883                          || test ! -s conftest.err'
16884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885   (eval $ac_try) 2>&5
16886   ac_status=$?
16887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888   (exit $ac_status); }; } &&
16889          { ac_try='test -s conftest.$ac_objext'
16890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891   (eval $ac_try) 2>&5
16892   ac_status=$?
16893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894   (exit $ac_status); }; }; then
16895   ac_lo=0 ac_mid=0
16896   while :; do
16897     cat >conftest.$ac_ext <<_ACEOF
16898 /* confdefs.h.  */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h.  */
16903 $ac_includes_default
16904 int
16905 main ()
16906 {
16907 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16908 test_array [0] = 0
16909
16910   ;
16911   return 0;
16912 }
16913 _ACEOF
16914 rm -f conftest.$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916   (eval $ac_compile) 2>conftest.er1
16917   ac_status=$?
16918   grep -v '^ *+' conftest.er1 >conftest.err
16919   rm -f conftest.er1
16920   cat conftest.err >&5
16921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922   (exit $ac_status); } &&
16923          { ac_try='test -z "$ac_c_werror_flag"
16924                          || test ! -s conftest.err'
16925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926   (eval $ac_try) 2>&5
16927   ac_status=$?
16928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929   (exit $ac_status); }; } &&
16930          { ac_try='test -s conftest.$ac_objext'
16931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932   (eval $ac_try) 2>&5
16933   ac_status=$?
16934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935   (exit $ac_status); }; }; then
16936   ac_hi=$ac_mid; break
16937 else
16938   echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16940
16941 ac_lo=`expr $ac_mid + 1`
16942                     if test $ac_lo -le $ac_mid; then
16943                       ac_lo= ac_hi=
16944                       break
16945                     fi
16946                     ac_mid=`expr 2 '*' $ac_mid + 1`
16947 fi
16948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16949   done
16950 else
16951   echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h.  */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h.  */
16960 $ac_includes_default
16961 int
16962 main ()
16963 {
16964 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16965 test_array [0] = 0
16966
16967   ;
16968   return 0;
16969 }
16970 _ACEOF
16971 rm -f conftest.$ac_objext
16972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16973   (eval $ac_compile) 2>conftest.er1
16974   ac_status=$?
16975   grep -v '^ *+' conftest.er1 >conftest.err
16976   rm -f conftest.er1
16977   cat conftest.err >&5
16978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979   (exit $ac_status); } &&
16980          { ac_try='test -z "$ac_c_werror_flag"
16981                          || test ! -s conftest.err'
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); }; } &&
16987          { ac_try='test -s conftest.$ac_objext'
16988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989   (eval $ac_try) 2>&5
16990   ac_status=$?
16991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992   (exit $ac_status); }; }; then
16993   ac_hi=-1 ac_mid=-1
16994   while :; do
16995     cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h.  */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h.  */
17001 $ac_includes_default
17002 int
17003 main ()
17004 {
17005 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17006 test_array [0] = 0
17007
17008   ;
17009   return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014   (eval $ac_compile) 2>conftest.er1
17015   ac_status=$?
17016   grep -v '^ *+' conftest.er1 >conftest.err
17017   rm -f conftest.er1
17018   cat conftest.err >&5
17019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020   (exit $ac_status); } &&
17021          { ac_try='test -z "$ac_c_werror_flag"
17022                          || test ! -s conftest.err'
17023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024   (eval $ac_try) 2>&5
17025   ac_status=$?
17026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027   (exit $ac_status); }; } &&
17028          { ac_try='test -s conftest.$ac_objext'
17029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030   (eval $ac_try) 2>&5
17031   ac_status=$?
17032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033   (exit $ac_status); }; }; then
17034   ac_lo=$ac_mid; break
17035 else
17036   echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17038
17039 ac_hi=`expr '(' $ac_mid ')' - 1`
17040                        if test $ac_mid -le $ac_hi; then
17041                          ac_lo= ac_hi=
17042                          break
17043                        fi
17044                        ac_mid=`expr 2 '*' $ac_mid`
17045 fi
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047   done
17048 else
17049   echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.$ac_ext >&5
17051
17052 ac_lo= ac_hi=
17053 fi
17054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17055 fi
17056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17057 # Binary search between lo and hi bounds.
17058 while test "x$ac_lo" != "x$ac_hi"; do
17059   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17060   cat >conftest.$ac_ext <<_ACEOF
17061 /* confdefs.h.  */
17062 _ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h.  */
17066 $ac_includes_default
17067 int
17068 main ()
17069 {
17070 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17071 test_array [0] = 0
17072
17073   ;
17074   return 0;
17075 }
17076 _ACEOF
17077 rm -f conftest.$ac_objext
17078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17079   (eval $ac_compile) 2>conftest.er1
17080   ac_status=$?
17081   grep -v '^ *+' conftest.er1 >conftest.err
17082   rm -f conftest.er1
17083   cat conftest.err >&5
17084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085   (exit $ac_status); } &&
17086          { ac_try='test -z "$ac_c_werror_flag"
17087                          || test ! -s conftest.err'
17088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089   (eval $ac_try) 2>&5
17090   ac_status=$?
17091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092   (exit $ac_status); }; } &&
17093          { ac_try='test -s conftest.$ac_objext'
17094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095   (eval $ac_try) 2>&5
17096   ac_status=$?
17097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098   (exit $ac_status); }; }; then
17099   ac_hi=$ac_mid
17100 else
17101   echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17103
17104 ac_lo=`expr '(' $ac_mid ')' + 1`
17105 fi
17106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17107 done
17108 case $ac_lo in
17109 ?*) ac_cv_sizeof_short=$ac_lo;;
17110 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17111 See \`config.log' for more details." >&5
17112 echo "$as_me: error: cannot compute sizeof (short), 77
17113 See \`config.log' for more details." >&2;}
17114    { (exit 1); exit 1; }; } ;;
17115 esac
17116 else
17117   if test "$cross_compiling" = yes; then
17118   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17119 See \`config.log' for more details." >&5
17120 echo "$as_me: error: cannot run test program while cross compiling
17121 See \`config.log' for more details." >&2;}
17122    { (exit 1); exit 1; }; }
17123 else
17124   cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h.  */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h.  */
17130 $ac_includes_default
17131 long longval () { return (long) (sizeof (short)); }
17132 unsigned long ulongval () { return (long) (sizeof (short)); }
17133 #include <stdio.h>
17134 #include <stdlib.h>
17135 int
17136 main ()
17137 {
17138
17139   FILE *f = fopen ("conftest.val", "w");
17140   if (! f)
17141     exit (1);
17142   if (((long) (sizeof (short))) < 0)
17143     {
17144       long i = longval ();
17145       if (i != ((long) (sizeof (short))))
17146         exit (1);
17147       fprintf (f, "%ld\n", i);
17148     }
17149   else
17150     {
17151       unsigned long i = ulongval ();
17152       if (i != ((long) (sizeof (short))))
17153         exit (1);
17154       fprintf (f, "%lu\n", i);
17155     }
17156   exit (ferror (f) || fclose (f) != 0);
17157
17158   ;
17159   return 0;
17160 }
17161 _ACEOF
17162 rm -f conftest$ac_exeext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17164   (eval $ac_link) 2>&5
17165   ac_status=$?
17166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169   (eval $ac_try) 2>&5
17170   ac_status=$?
17171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172   (exit $ac_status); }; }; then
17173   ac_cv_sizeof_short=`cat conftest.val`
17174 else
17175   echo "$as_me: program exited with status $ac_status" >&5
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.$ac_ext >&5
17178
17179 ( exit $ac_status )
17180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17181 See \`config.log' for more details." >&5
17182 echo "$as_me: error: cannot compute sizeof (short), 77
17183 See \`config.log' for more details." >&2;}
17184    { (exit 1); exit 1; }; }
17185 fi
17186 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17187 fi
17188 fi
17189 rm -f conftest.val
17190 else
17191   ac_cv_sizeof_short=0
17192 fi
17193 fi
17194 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17195 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17196 cat >>confdefs.h <<_ACEOF
17197 #define SIZEOF_SHORT $ac_cv_sizeof_short
17198 _ACEOF
17199
17200
17201   echo "$as_me:$LINENO: checking for char" >&5
17202 echo $ECHO_N "checking for char... $ECHO_C" >&6
17203 if test "${ac_cv_type_char+set}" = set; then
17204   echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206   cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h.  */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h.  */
17212 $ac_includes_default
17213 int
17214 main ()
17215 {
17216 if ((char *) 0)
17217   return 0;
17218 if (sizeof (char))
17219   return 0;
17220   ;
17221   return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226   (eval $ac_compile) 2>conftest.er1
17227   ac_status=$?
17228   grep -v '^ *+' conftest.er1 >conftest.err
17229   rm -f conftest.er1
17230   cat conftest.err >&5
17231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232   (exit $ac_status); } &&
17233          { ac_try='test -z "$ac_c_werror_flag"
17234                          || test ! -s conftest.err'
17235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236   (eval $ac_try) 2>&5
17237   ac_status=$?
17238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239   (exit $ac_status); }; } &&
17240          { ac_try='test -s conftest.$ac_objext'
17241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242   (eval $ac_try) 2>&5
17243   ac_status=$?
17244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245   (exit $ac_status); }; }; then
17246   ac_cv_type_char=yes
17247 else
17248   echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17250
17251 ac_cv_type_char=no
17252 fi
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17254 fi
17255 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17256 echo "${ECHO_T}$ac_cv_type_char" >&6
17257
17258 echo "$as_me:$LINENO: checking size of char" >&5
17259 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_char+set}" = set; then
17261   echo $ECHO_N "(cached) $ECHO_C" >&6
17262 else
17263   if test "$ac_cv_type_char" = yes; then
17264   # The cast to unsigned long works around a bug in the HP C Compiler
17265   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267   # This bug is HP SR number 8606223364.
17268   if test "$cross_compiling" = yes; then
17269   # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h.  */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h.  */
17276 $ac_includes_default
17277 int
17278 main ()
17279 {
17280 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17281 test_array [0] = 0
17282
17283   ;
17284   return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289   (eval $ac_compile) 2>conftest.er1
17290   ac_status=$?
17291   grep -v '^ *+' conftest.er1 >conftest.err
17292   rm -f conftest.er1
17293   cat conftest.err >&5
17294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295   (exit $ac_status); } &&
17296          { ac_try='test -z "$ac_c_werror_flag"
17297                          || test ! -s conftest.err'
17298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299   (eval $ac_try) 2>&5
17300   ac_status=$?
17301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302   (exit $ac_status); }; } &&
17303          { ac_try='test -s conftest.$ac_objext'
17304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305   (eval $ac_try) 2>&5
17306   ac_status=$?
17307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308   (exit $ac_status); }; }; then
17309   ac_lo=0 ac_mid=0
17310   while :; do
17311     cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h.  */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h.  */
17317 $ac_includes_default
17318 int
17319 main ()
17320 {
17321 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17322 test_array [0] = 0
17323
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330   (eval $ac_compile) 2>conftest.er1
17331   ac_status=$?
17332   grep -v '^ *+' conftest.er1 >conftest.err
17333   rm -f conftest.er1
17334   cat conftest.err >&5
17335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336   (exit $ac_status); } &&
17337          { ac_try='test -z "$ac_c_werror_flag"
17338                          || test ! -s conftest.err'
17339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340   (eval $ac_try) 2>&5
17341   ac_status=$?
17342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343   (exit $ac_status); }; } &&
17344          { ac_try='test -s conftest.$ac_objext'
17345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346   (eval $ac_try) 2>&5
17347   ac_status=$?
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); }; }; then
17350   ac_hi=$ac_mid; break
17351 else
17352   echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 ac_lo=`expr $ac_mid + 1`
17356                     if test $ac_lo -le $ac_mid; then
17357                       ac_lo= ac_hi=
17358                       break
17359                     fi
17360                     ac_mid=`expr 2 '*' $ac_mid + 1`
17361 fi
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363   done
17364 else
17365   echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17367
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h.  */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h.  */
17374 $ac_includes_default
17375 int
17376 main ()
17377 {
17378 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17379 test_array [0] = 0
17380
17381   ;
17382   return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387   (eval $ac_compile) 2>conftest.er1
17388   ac_status=$?
17389   grep -v '^ *+' conftest.er1 >conftest.err
17390   rm -f conftest.er1
17391   cat conftest.err >&5
17392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393   (exit $ac_status); } &&
17394          { ac_try='test -z "$ac_c_werror_flag"
17395                          || test ! -s conftest.err'
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); }; } &&
17401          { ac_try='test -s conftest.$ac_objext'
17402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403   (eval $ac_try) 2>&5
17404   ac_status=$?
17405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406   (exit $ac_status); }; }; then
17407   ac_hi=-1 ac_mid=-1
17408   while :; do
17409     cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h.  */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h.  */
17415 $ac_includes_default
17416 int
17417 main ()
17418 {
17419 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17420 test_array [0] = 0
17421
17422   ;
17423   return 0;
17424 }
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428   (eval $ac_compile) 2>conftest.er1
17429   ac_status=$?
17430   grep -v '^ *+' conftest.er1 >conftest.err
17431   rm -f conftest.er1
17432   cat conftest.err >&5
17433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434   (exit $ac_status); } &&
17435          { ac_try='test -z "$ac_c_werror_flag"
17436                          || test ! -s conftest.err'
17437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438   (eval $ac_try) 2>&5
17439   ac_status=$?
17440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441   (exit $ac_status); }; } &&
17442          { ac_try='test -s conftest.$ac_objext'
17443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444   (eval $ac_try) 2>&5
17445   ac_status=$?
17446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447   (exit $ac_status); }; }; then
17448   ac_lo=$ac_mid; break
17449 else
17450   echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453 ac_hi=`expr '(' $ac_mid ')' - 1`
17454                        if test $ac_mid -le $ac_hi; then
17455                          ac_lo= ac_hi=
17456                          break
17457                        fi
17458                        ac_mid=`expr 2 '*' $ac_mid`
17459 fi
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461   done
17462 else
17463   echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17465
17466 ac_lo= ac_hi=
17467 fi
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469 fi
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474   cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h.  */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h.  */
17480 $ac_includes_default
17481 int
17482 main ()
17483 {
17484 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17485 test_array [0] = 0
17486
17487   ;
17488   return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493   (eval $ac_compile) 2>conftest.er1
17494   ac_status=$?
17495   grep -v '^ *+' conftest.er1 >conftest.err
17496   rm -f conftest.er1
17497   cat conftest.err >&5
17498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499   (exit $ac_status); } &&
17500          { ac_try='test -z "$ac_c_werror_flag"
17501                          || test ! -s conftest.err'
17502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503   (eval $ac_try) 2>&5
17504   ac_status=$?
17505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506   (exit $ac_status); }; } &&
17507          { ac_try='test -s conftest.$ac_objext'
17508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509   (eval $ac_try) 2>&5
17510   ac_status=$?
17511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512   (exit $ac_status); }; }; then
17513   ac_hi=$ac_mid
17514 else
17515   echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_lo=`expr '(' $ac_mid ')' + 1`
17519 fi
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 done
17522 case $ac_lo in
17523 ?*) ac_cv_sizeof_char=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17525 See \`config.log' for more details." >&5
17526 echo "$as_me: error: cannot compute sizeof (char), 77
17527 See \`config.log' for more details." >&2;}
17528    { (exit 1); exit 1; }; } ;;
17529 esac
17530 else
17531   if test "$cross_compiling" = yes; then
17532   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17533 See \`config.log' for more details." >&5
17534 echo "$as_me: error: cannot run test program while cross compiling
17535 See \`config.log' for more details." >&2;}
17536    { (exit 1); exit 1; }; }
17537 else
17538   cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h.  */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h.  */
17544 $ac_includes_default
17545 long longval () { return (long) (sizeof (char)); }
17546 unsigned long ulongval () { return (long) (sizeof (char)); }
17547 #include <stdio.h>
17548 #include <stdlib.h>
17549 int
17550 main ()
17551 {
17552
17553   FILE *f = fopen ("conftest.val", "w");
17554   if (! f)
17555     exit (1);
17556   if (((long) (sizeof (char))) < 0)
17557     {
17558       long i = longval ();
17559       if (i != ((long) (sizeof (char))))
17560         exit (1);
17561       fprintf (f, "%ld\n", i);
17562     }
17563   else
17564     {
17565       unsigned long i = ulongval ();
17566       if (i != ((long) (sizeof (char))))
17567         exit (1);
17568       fprintf (f, "%lu\n", i);
17569     }
17570   exit (ferror (f) || fclose (f) != 0);
17571
17572   ;
17573   return 0;
17574 }
17575 _ACEOF
17576 rm -f conftest$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578   (eval $ac_link) 2>&5
17579   ac_status=$?
17580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583   (eval $ac_try) 2>&5
17584   ac_status=$?
17585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586   (exit $ac_status); }; }; then
17587   ac_cv_sizeof_char=`cat conftest.val`
17588 else
17589   echo "$as_me: program exited with status $ac_status" >&5
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 ( exit $ac_status )
17594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17595 See \`config.log' for more details." >&5
17596 echo "$as_me: error: cannot compute sizeof (char), 77
17597 See \`config.log' for more details." >&2;}
17598    { (exit 1); exit 1; }; }
17599 fi
17600 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17601 fi
17602 fi
17603 rm -f conftest.val
17604 else
17605   ac_cv_sizeof_char=0
17606 fi
17607 fi
17608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17609 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17610 cat >>confdefs.h <<_ACEOF
17611 #define SIZEOF_CHAR $ac_cv_sizeof_char
17612 _ACEOF
17613
17614
17615
17616   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17617 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17618   case "$ac_cv_sizeof_char" in
17619     1) acx_cv_type_int8_t=char ;;
17620     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17621 echo "$as_me: error: no 8-bit type" >&2;}
17622    { (exit please report a bug); exit please report a bug; }; }
17623   esac
17624   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17625 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17626
17627   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17628 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17629   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17630     2:*) acx_cv_type_int16_t=int ;;
17631     *:2) acx_cv_type_int16_t=short ;;
17632     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17633 echo "$as_me: error: no 16-bit type" >&2;}
17634    { (exit please report a bug); exit please report a bug; }; }
17635   esac
17636   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17637 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17638
17639   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17640 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17641   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17642     4:*) acx_cv_type_int32_t=int ;;
17643     *:4) acx_cv_type_int32_t=long ;;
17644     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17645 echo "$as_me: error: no 32-bit type" >&2;}
17646    { (exit please report a bug); exit please report a bug; }; }
17647   esac
17648   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17649 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17650 fi
17651
17652 # These tests are here to make the output prettier
17653
17654 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17655   case "$ac_cv_sizeof_long" in
17656     8) acx_cv_type_int64_t=long ;;
17657   esac
17658   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17659 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17660   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17661 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17662 fi
17663
17664 # Now we can use the above types
17665
17666 if test "$ac_cv_type_uintptr_t" != yes; then
17667   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17668 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17669   case $ac_cv_sizeof_void_p in
17670     2) acx_cv_type_intptr_t=int16_t ;;
17671     4) acx_cv_type_intptr_t=int32_t ;;
17672     8) acx_cv_type_intptr_t=int64_t ;;
17673     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17674 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17675    { (exit please report a bug); exit please report a bug; }; }
17676   esac
17677   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17678 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17679 fi
17680
17681 # ----------------- done all checks, emit header -------------
17682           ac_config_commands="$ac_config_commands gstdint.h"
17683
17684
17685
17686
17687 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17688 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17689 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17690   echo $ECHO_N "(cached) $ECHO_C" >&6
17691 else
17692   cat >conftest.$ac_ext <<_ACEOF
17693 /* confdefs.h.  */
17694 _ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h.  */
17698 $ac_includes_default
17699 int
17700 main ()
17701 {
17702 static struct stat ac_aggr;
17703 if (ac_aggr.st_blksize)
17704 return 0;
17705   ;
17706   return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest.$ac_objext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711   (eval $ac_compile) 2>conftest.er1
17712   ac_status=$?
17713   grep -v '^ *+' conftest.er1 >conftest.err
17714   rm -f conftest.er1
17715   cat conftest.err >&5
17716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717   (exit $ac_status); } &&
17718          { ac_try='test -z "$ac_c_werror_flag"
17719                          || test ! -s conftest.err'
17720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721   (eval $ac_try) 2>&5
17722   ac_status=$?
17723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724   (exit $ac_status); }; } &&
17725          { ac_try='test -s conftest.$ac_objext'
17726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727   (eval $ac_try) 2>&5
17728   ac_status=$?
17729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730   (exit $ac_status); }; }; then
17731   ac_cv_member_struct_stat_st_blksize=yes
17732 else
17733   echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17735
17736 cat >conftest.$ac_ext <<_ACEOF
17737 /* confdefs.h.  */
17738 _ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h.  */
17742 $ac_includes_default
17743 int
17744 main ()
17745 {
17746 static struct stat ac_aggr;
17747 if (sizeof ac_aggr.st_blksize)
17748 return 0;
17749   ;
17750   return 0;
17751 }
17752 _ACEOF
17753 rm -f conftest.$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755   (eval $ac_compile) 2>conftest.er1
17756   ac_status=$?
17757   grep -v '^ *+' conftest.er1 >conftest.err
17758   rm -f conftest.er1
17759   cat conftest.err >&5
17760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761   (exit $ac_status); } &&
17762          { ac_try='test -z "$ac_c_werror_flag"
17763                          || test ! -s conftest.err'
17764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765   (eval $ac_try) 2>&5
17766   ac_status=$?
17767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768   (exit $ac_status); }; } &&
17769          { ac_try='test -s conftest.$ac_objext'
17770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771   (eval $ac_try) 2>&5
17772   ac_status=$?
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); }; }; then
17775   ac_cv_member_struct_stat_st_blksize=yes
17776 else
17777   echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17779
17780 ac_cv_member_struct_stat_st_blksize=no
17781 fi
17782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17783 fi
17784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17785 fi
17786 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17787 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17788 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17789
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17792 _ACEOF
17793
17794
17795 fi
17796
17797 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17798 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17799 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17800   echo $ECHO_N "(cached) $ECHO_C" >&6
17801 else
17802   cat >conftest.$ac_ext <<_ACEOF
17803 /* confdefs.h.  */
17804 _ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h.  */
17808 $ac_includes_default
17809 int
17810 main ()
17811 {
17812 static struct stat ac_aggr;
17813 if (ac_aggr.st_blocks)
17814 return 0;
17815   ;
17816   return 0;
17817 }
17818 _ACEOF
17819 rm -f conftest.$ac_objext
17820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17821   (eval $ac_compile) 2>conftest.er1
17822   ac_status=$?
17823   grep -v '^ *+' conftest.er1 >conftest.err
17824   rm -f conftest.er1
17825   cat conftest.err >&5
17826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827   (exit $ac_status); } &&
17828          { ac_try='test -z "$ac_c_werror_flag"
17829                          || test ! -s conftest.err'
17830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831   (eval $ac_try) 2>&5
17832   ac_status=$?
17833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834   (exit $ac_status); }; } &&
17835          { ac_try='test -s conftest.$ac_objext'
17836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837   (eval $ac_try) 2>&5
17838   ac_status=$?
17839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840   (exit $ac_status); }; }; then
17841   ac_cv_member_struct_stat_st_blocks=yes
17842 else
17843   echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h.  */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h.  */
17852 $ac_includes_default
17853 int
17854 main ()
17855 {
17856 static struct stat ac_aggr;
17857 if (sizeof ac_aggr.st_blocks)
17858 return 0;
17859   ;
17860   return 0;
17861 }
17862 _ACEOF
17863 rm -f conftest.$ac_objext
17864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17865   (eval $ac_compile) 2>conftest.er1
17866   ac_status=$?
17867   grep -v '^ *+' conftest.er1 >conftest.err
17868   rm -f conftest.er1
17869   cat conftest.err >&5
17870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871   (exit $ac_status); } &&
17872          { ac_try='test -z "$ac_c_werror_flag"
17873                          || test ! -s conftest.err'
17874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875   (eval $ac_try) 2>&5
17876   ac_status=$?
17877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878   (exit $ac_status); }; } &&
17879          { ac_try='test -s conftest.$ac_objext'
17880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881   (eval $ac_try) 2>&5
17882   ac_status=$?
17883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884   (exit $ac_status); }; }; then
17885   ac_cv_member_struct_stat_st_blocks=yes
17886 else
17887   echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17889
17890 ac_cv_member_struct_stat_st_blocks=no
17891 fi
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17893 fi
17894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17895 fi
17896 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17897 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17898 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17899
17900 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17902 _ACEOF
17903
17904
17905 fi
17906
17907 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17908 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17909 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17910   echo $ECHO_N "(cached) $ECHO_C" >&6
17911 else
17912   cat >conftest.$ac_ext <<_ACEOF
17913 /* confdefs.h.  */
17914 _ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h.  */
17918 $ac_includes_default
17919 int
17920 main ()
17921 {
17922 static struct stat ac_aggr;
17923 if (ac_aggr.st_rdev)
17924 return 0;
17925   ;
17926   return 0;
17927 }
17928 _ACEOF
17929 rm -f conftest.$ac_objext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17931   (eval $ac_compile) 2>conftest.er1
17932   ac_status=$?
17933   grep -v '^ *+' conftest.er1 >conftest.err
17934   rm -f conftest.er1
17935   cat conftest.err >&5
17936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937   (exit $ac_status); } &&
17938          { ac_try='test -z "$ac_c_werror_flag"
17939                          || test ! -s conftest.err'
17940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941   (eval $ac_try) 2>&5
17942   ac_status=$?
17943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944   (exit $ac_status); }; } &&
17945          { ac_try='test -s conftest.$ac_objext'
17946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947   (eval $ac_try) 2>&5
17948   ac_status=$?
17949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950   (exit $ac_status); }; }; then
17951   ac_cv_member_struct_stat_st_rdev=yes
17952 else
17953   echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 cat >conftest.$ac_ext <<_ACEOF
17957 /* confdefs.h.  */
17958 _ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h.  */
17962 $ac_includes_default
17963 int
17964 main ()
17965 {
17966 static struct stat ac_aggr;
17967 if (sizeof ac_aggr.st_rdev)
17968 return 0;
17969   ;
17970   return 0;
17971 }
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17975   (eval $ac_compile) 2>conftest.er1
17976   ac_status=$?
17977   grep -v '^ *+' conftest.er1 >conftest.err
17978   rm -f conftest.er1
17979   cat conftest.err >&5
17980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981   (exit $ac_status); } &&
17982          { ac_try='test -z "$ac_c_werror_flag"
17983                          || test ! -s conftest.err'
17984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985   (eval $ac_try) 2>&5
17986   ac_status=$?
17987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988   (exit $ac_status); }; } &&
17989          { ac_try='test -s conftest.$ac_objext'
17990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991   (eval $ac_try) 2>&5
17992   ac_status=$?
17993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994   (exit $ac_status); }; }; then
17995   ac_cv_member_struct_stat_st_rdev=yes
17996 else
17997   echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
17999
18000 ac_cv_member_struct_stat_st_rdev=no
18001 fi
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18003 fi
18004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18005 fi
18006 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18007 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18008 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18009
18010 cat >>confdefs.h <<_ACEOF
18011 #define HAVE_STRUCT_STAT_ST_RDEV 1
18012 _ACEOF
18013
18014
18015 fi
18016
18017
18018 # Check for library functions.
18019
18020
18021
18022
18023
18024
18025
18026
18027 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18028 do
18029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18030 echo "$as_me:$LINENO: checking for $ac_func" >&5
18031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18032 if eval "test \"\${$as_ac_var+set}\" = set"; then
18033   echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18035   if test x$gcc_no_link = xyes; then
18036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18038    { (exit 1); exit 1; }; }
18039 fi
18040 cat >conftest.$ac_ext <<_ACEOF
18041 /* confdefs.h.  */
18042 _ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h.  */
18046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18048 #define $ac_func innocuous_$ac_func
18049
18050 /* System header to define __stub macros and hopefully few prototypes,
18051     which can conflict with char $ac_func (); below.
18052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18053     <limits.h> exists even on freestanding compilers.  */
18054
18055 #ifdef __STDC__
18056 # include <limits.h>
18057 #else
18058 # include <assert.h>
18059 #endif
18060
18061 #undef $ac_func
18062
18063 /* Override any gcc2 internal prototype to avoid an error.  */
18064 #ifdef __cplusplus
18065 extern "C"
18066 {
18067 #endif
18068 /* We use char because int might match the return type of a gcc2
18069    builtin and then its argument prototype would still apply.  */
18070 char $ac_func ();
18071 /* The GNU C library defines this for functions which it implements
18072     to always fail with ENOSYS.  Some functions are actually named
18073     something starting with __ and the normal name is an alias.  */
18074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18075 choke me
18076 #else
18077 char (*f) () = $ac_func;
18078 #endif
18079 #ifdef __cplusplus
18080 }
18081 #endif
18082
18083 int
18084 main ()
18085 {
18086 return f != $ac_func;
18087   ;
18088   return 0;
18089 }
18090 _ACEOF
18091 rm -f conftest.$ac_objext conftest$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093   (eval $ac_link) 2>conftest.er1
18094   ac_status=$?
18095   grep -v '^ *+' conftest.er1 >conftest.err
18096   rm -f conftest.er1
18097   cat conftest.err >&5
18098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099   (exit $ac_status); } &&
18100          { ac_try='test -z "$ac_c_werror_flag"
18101                          || test ! -s conftest.err'
18102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103   (eval $ac_try) 2>&5
18104   ac_status=$?
18105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106   (exit $ac_status); }; } &&
18107          { ac_try='test -s conftest$ac_exeext'
18108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109   (eval $ac_try) 2>&5
18110   ac_status=$?
18111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112   (exit $ac_status); }; }; then
18113   eval "$as_ac_var=yes"
18114 else
18115   echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18117
18118 eval "$as_ac_var=no"
18119 fi
18120 rm -f conftest.err conftest.$ac_objext \
18121       conftest$ac_exeext conftest.$ac_ext
18122 fi
18123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18125 if test `eval echo '${'$as_ac_var'}'` = yes; then
18126   cat >>confdefs.h <<_ACEOF
18127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18128 _ACEOF
18129
18130 fi
18131 done
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18142 do
18143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18144 echo "$as_me:$LINENO: checking for $ac_func" >&5
18145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18146 if eval "test \"\${$as_ac_var+set}\" = set"; then
18147   echo $ECHO_N "(cached) $ECHO_C" >&6
18148 else
18149   if test x$gcc_no_link = xyes; then
18150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18152    { (exit 1); exit 1; }; }
18153 fi
18154 cat >conftest.$ac_ext <<_ACEOF
18155 /* confdefs.h.  */
18156 _ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h.  */
18160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18162 #define $ac_func innocuous_$ac_func
18163
18164 /* System header to define __stub macros and hopefully few prototypes,
18165     which can conflict with char $ac_func (); below.
18166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18167     <limits.h> exists even on freestanding compilers.  */
18168
18169 #ifdef __STDC__
18170 # include <limits.h>
18171 #else
18172 # include <assert.h>
18173 #endif
18174
18175 #undef $ac_func
18176
18177 /* Override any gcc2 internal prototype to avoid an error.  */
18178 #ifdef __cplusplus
18179 extern "C"
18180 {
18181 #endif
18182 /* We use char because int might match the return type of a gcc2
18183    builtin and then its argument prototype would still apply.  */
18184 char $ac_func ();
18185 /* The GNU C library defines this for functions which it implements
18186     to always fail with ENOSYS.  Some functions are actually named
18187     something starting with __ and the normal name is an alias.  */
18188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18189 choke me
18190 #else
18191 char (*f) () = $ac_func;
18192 #endif
18193 #ifdef __cplusplus
18194 }
18195 #endif
18196
18197 int
18198 main ()
18199 {
18200 return f != $ac_func;
18201   ;
18202   return 0;
18203 }
18204 _ACEOF
18205 rm -f conftest.$ac_objext conftest$ac_exeext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18207   (eval $ac_link) 2>conftest.er1
18208   ac_status=$?
18209   grep -v '^ *+' conftest.er1 >conftest.err
18210   rm -f conftest.er1
18211   cat conftest.err >&5
18212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213   (exit $ac_status); } &&
18214          { ac_try='test -z "$ac_c_werror_flag"
18215                          || test ! -s conftest.err'
18216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217   (eval $ac_try) 2>&5
18218   ac_status=$?
18219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220   (exit $ac_status); }; } &&
18221          { ac_try='test -s conftest$ac_exeext'
18222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223   (eval $ac_try) 2>&5
18224   ac_status=$?
18225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226   (exit $ac_status); }; }; then
18227   eval "$as_ac_var=yes"
18228 else
18229   echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18231
18232 eval "$as_ac_var=no"
18233 fi
18234 rm -f conftest.err conftest.$ac_objext \
18235       conftest$ac_exeext conftest.$ac_ext
18236 fi
18237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18239 if test `eval echo '${'$as_ac_var'}'` = yes; then
18240   cat >>confdefs.h <<_ACEOF
18241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18242 _ACEOF
18243
18244 fi
18245 done
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18258 do
18259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18260 echo "$as_me:$LINENO: checking for $ac_func" >&5
18261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18262 if eval "test \"\${$as_ac_var+set}\" = set"; then
18263   echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265   if test x$gcc_no_link = xyes; then
18266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18268    { (exit 1); exit 1; }; }
18269 fi
18270 cat >conftest.$ac_ext <<_ACEOF
18271 /* confdefs.h.  */
18272 _ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h.  */
18276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18278 #define $ac_func innocuous_$ac_func
18279
18280 /* System header to define __stub macros and hopefully few prototypes,
18281     which can conflict with char $ac_func (); below.
18282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18283     <limits.h> exists even on freestanding compilers.  */
18284
18285 #ifdef __STDC__
18286 # include <limits.h>
18287 #else
18288 # include <assert.h>
18289 #endif
18290
18291 #undef $ac_func
18292
18293 /* Override any gcc2 internal prototype to avoid an error.  */
18294 #ifdef __cplusplus
18295 extern "C"
18296 {
18297 #endif
18298 /* We use char because int might match the return type of a gcc2
18299    builtin and then its argument prototype would still apply.  */
18300 char $ac_func ();
18301 /* The GNU C library defines this for functions which it implements
18302     to always fail with ENOSYS.  Some functions are actually named
18303     something starting with __ and the normal name is an alias.  */
18304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18305 choke me
18306 #else
18307 char (*f) () = $ac_func;
18308 #endif
18309 #ifdef __cplusplus
18310 }
18311 #endif
18312
18313 int
18314 main ()
18315 {
18316 return f != $ac_func;
18317   ;
18318   return 0;
18319 }
18320 _ACEOF
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18323   (eval $ac_link) 2>conftest.er1
18324   ac_status=$?
18325   grep -v '^ *+' conftest.er1 >conftest.err
18326   rm -f conftest.er1
18327   cat conftest.err >&5
18328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329   (exit $ac_status); } &&
18330          { ac_try='test -z "$ac_c_werror_flag"
18331                          || test ! -s conftest.err'
18332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333   (eval $ac_try) 2>&5
18334   ac_status=$?
18335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336   (exit $ac_status); }; } &&
18337          { ac_try='test -s conftest$ac_exeext'
18338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339   (eval $ac_try) 2>&5
18340   ac_status=$?
18341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342   (exit $ac_status); }; }; then
18343   eval "$as_ac_var=yes"
18344 else
18345   echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18347
18348 eval "$as_ac_var=no"
18349 fi
18350 rm -f conftest.err conftest.$ac_objext \
18351       conftest$ac_exeext conftest.$ac_ext
18352 fi
18353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18355 if test `eval echo '${'$as_ac_var'}'` = yes; then
18356   cat >>confdefs.h <<_ACEOF
18357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18358 _ACEOF
18359
18360 fi
18361 done
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18373 do
18374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18375 echo "$as_me:$LINENO: checking for $ac_func" >&5
18376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18377 if eval "test \"\${$as_ac_var+set}\" = set"; then
18378   echo $ECHO_N "(cached) $ECHO_C" >&6
18379 else
18380   if test x$gcc_no_link = xyes; then
18381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18383    { (exit 1); exit 1; }; }
18384 fi
18385 cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h.  */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h.  */
18391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18393 #define $ac_func innocuous_$ac_func
18394
18395 /* System header to define __stub macros and hopefully few prototypes,
18396     which can conflict with char $ac_func (); below.
18397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18398     <limits.h> exists even on freestanding compilers.  */
18399
18400 #ifdef __STDC__
18401 # include <limits.h>
18402 #else
18403 # include <assert.h>
18404 #endif
18405
18406 #undef $ac_func
18407
18408 /* Override any gcc2 internal prototype to avoid an error.  */
18409 #ifdef __cplusplus
18410 extern "C"
18411 {
18412 #endif
18413 /* We use char because int might match the return type of a gcc2
18414    builtin and then its argument prototype would still apply.  */
18415 char $ac_func ();
18416 /* The GNU C library defines this for functions which it implements
18417     to always fail with ENOSYS.  Some functions are actually named
18418     something starting with __ and the normal name is an alias.  */
18419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18420 choke me
18421 #else
18422 char (*f) () = $ac_func;
18423 #endif
18424 #ifdef __cplusplus
18425 }
18426 #endif
18427
18428 int
18429 main ()
18430 {
18431 return f != $ac_func;
18432   ;
18433   return 0;
18434 }
18435 _ACEOF
18436 rm -f conftest.$ac_objext conftest$ac_exeext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18438   (eval $ac_link) 2>conftest.er1
18439   ac_status=$?
18440   grep -v '^ *+' conftest.er1 >conftest.err
18441   rm -f conftest.er1
18442   cat conftest.err >&5
18443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444   (exit $ac_status); } &&
18445          { ac_try='test -z "$ac_c_werror_flag"
18446                          || test ! -s conftest.err'
18447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448   (eval $ac_try) 2>&5
18449   ac_status=$?
18450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451   (exit $ac_status); }; } &&
18452          { ac_try='test -s conftest$ac_exeext'
18453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454   (eval $ac_try) 2>&5
18455   ac_status=$?
18456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457   (exit $ac_status); }; }; then
18458   eval "$as_ac_var=yes"
18459 else
18460   echo "$as_me: failed program was:" >&5
18461 sed 's/^/| /' conftest.$ac_ext >&5
18462
18463 eval "$as_ac_var=no"
18464 fi
18465 rm -f conftest.err conftest.$ac_objext \
18466       conftest$ac_exeext conftest.$ac_ext
18467 fi
18468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18470 if test `eval echo '${'$as_ac_var'}'` = yes; then
18471   cat >>confdefs.h <<_ACEOF
18472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18473 _ACEOF
18474
18475 fi
18476 done
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18487 do
18488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18489 echo "$as_me:$LINENO: checking for $ac_func" >&5
18490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18491 if eval "test \"\${$as_ac_var+set}\" = set"; then
18492   echo $ECHO_N "(cached) $ECHO_C" >&6
18493 else
18494   if test x$gcc_no_link = xyes; then
18495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18497    { (exit 1); exit 1; }; }
18498 fi
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h.  */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h.  */
18505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18507 #define $ac_func innocuous_$ac_func
18508
18509 /* System header to define __stub macros and hopefully few prototypes,
18510     which can conflict with char $ac_func (); below.
18511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18512     <limits.h> exists even on freestanding compilers.  */
18513
18514 #ifdef __STDC__
18515 # include <limits.h>
18516 #else
18517 # include <assert.h>
18518 #endif
18519
18520 #undef $ac_func
18521
18522 /* Override any gcc2 internal prototype to avoid an error.  */
18523 #ifdef __cplusplus
18524 extern "C"
18525 {
18526 #endif
18527 /* We use char because int might match the return type of a gcc2
18528    builtin and then its argument prototype would still apply.  */
18529 char $ac_func ();
18530 /* The GNU C library defines this for functions which it implements
18531     to always fail with ENOSYS.  Some functions are actually named
18532     something starting with __ and the normal name is an alias.  */
18533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18534 choke me
18535 #else
18536 char (*f) () = $ac_func;
18537 #endif
18538 #ifdef __cplusplus
18539 }
18540 #endif
18541
18542 int
18543 main ()
18544 {
18545 return f != $ac_func;
18546   ;
18547   return 0;
18548 }
18549 _ACEOF
18550 rm -f conftest.$ac_objext conftest$ac_exeext
18551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18552   (eval $ac_link) 2>conftest.er1
18553   ac_status=$?
18554   grep -v '^ *+' conftest.er1 >conftest.err
18555   rm -f conftest.er1
18556   cat conftest.err >&5
18557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558   (exit $ac_status); } &&
18559          { ac_try='test -z "$ac_c_werror_flag"
18560                          || test ! -s conftest.err'
18561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562   (eval $ac_try) 2>&5
18563   ac_status=$?
18564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565   (exit $ac_status); }; } &&
18566          { ac_try='test -s conftest$ac_exeext'
18567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568   (eval $ac_try) 2>&5
18569   ac_status=$?
18570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571   (exit $ac_status); }; }; then
18572   eval "$as_ac_var=yes"
18573 else
18574   echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.$ac_ext >&5
18576
18577 eval "$as_ac_var=no"
18578 fi
18579 rm -f conftest.err conftest.$ac_objext \
18580       conftest$ac_exeext conftest.$ac_ext
18581 fi
18582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18584 if test `eval echo '${'$as_ac_var'}'` = yes; then
18585   cat >>confdefs.h <<_ACEOF
18586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18587 _ACEOF
18588
18589 fi
18590 done
18591
18592
18593 # Check for glibc backtrace functions
18594
18595
18596 for ac_func in backtrace backtrace_symbols
18597 do
18598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18599 echo "$as_me:$LINENO: checking for $ac_func" >&5
18600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18601 if eval "test \"\${$as_ac_var+set}\" = set"; then
18602   echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604   if test x$gcc_no_link = xyes; then
18605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18607    { (exit 1); exit 1; }; }
18608 fi
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h.  */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h.  */
18615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18617 #define $ac_func innocuous_$ac_func
18618
18619 /* System header to define __stub macros and hopefully few prototypes,
18620     which can conflict with char $ac_func (); below.
18621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18622     <limits.h> exists even on freestanding compilers.  */
18623
18624 #ifdef __STDC__
18625 # include <limits.h>
18626 #else
18627 # include <assert.h>
18628 #endif
18629
18630 #undef $ac_func
18631
18632 /* Override any gcc2 internal prototype to avoid an error.  */
18633 #ifdef __cplusplus
18634 extern "C"
18635 {
18636 #endif
18637 /* We use char because int might match the return type of a gcc2
18638    builtin and then its argument prototype would still apply.  */
18639 char $ac_func ();
18640 /* The GNU C library defines this for functions which it implements
18641     to always fail with ENOSYS.  Some functions are actually named
18642     something starting with __ and the normal name is an alias.  */
18643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18644 choke me
18645 #else
18646 char (*f) () = $ac_func;
18647 #endif
18648 #ifdef __cplusplus
18649 }
18650 #endif
18651
18652 int
18653 main ()
18654 {
18655 return f != $ac_func;
18656   ;
18657   return 0;
18658 }
18659 _ACEOF
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18662   (eval $ac_link) 2>conftest.er1
18663   ac_status=$?
18664   grep -v '^ *+' conftest.er1 >conftest.err
18665   rm -f conftest.er1
18666   cat conftest.err >&5
18667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668   (exit $ac_status); } &&
18669          { ac_try='test -z "$ac_c_werror_flag"
18670                          || test ! -s conftest.err'
18671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672   (eval $ac_try) 2>&5
18673   ac_status=$?
18674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675   (exit $ac_status); }; } &&
18676          { ac_try='test -s conftest$ac_exeext'
18677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678   (eval $ac_try) 2>&5
18679   ac_status=$?
18680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681   (exit $ac_status); }; }; then
18682   eval "$as_ac_var=yes"
18683 else
18684   echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18686
18687 eval "$as_ac_var=no"
18688 fi
18689 rm -f conftest.err conftest.$ac_objext \
18690       conftest$ac_exeext conftest.$ac_ext
18691 fi
18692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18694 if test `eval echo '${'$as_ac_var'}'` = yes; then
18695   cat >>confdefs.h <<_ACEOF
18696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18697 _ACEOF
18698
18699 fi
18700 done
18701
18702
18703 # Check for types
18704 echo "$as_me:$LINENO: checking for intptr_t" >&5
18705 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18706 if test "${ac_cv_type_intptr_t+set}" = set; then
18707   echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18709   cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h.  */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h.  */
18715 $ac_includes_default
18716 int
18717 main ()
18718 {
18719 if ((intptr_t *) 0)
18720   return 0;
18721 if (sizeof (intptr_t))
18722   return 0;
18723   ;
18724   return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729   (eval $ac_compile) 2>conftest.er1
18730   ac_status=$?
18731   grep -v '^ *+' conftest.er1 >conftest.err
18732   rm -f conftest.er1
18733   cat conftest.err >&5
18734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735   (exit $ac_status); } &&
18736          { ac_try='test -z "$ac_c_werror_flag"
18737                          || test ! -s conftest.err'
18738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739   (eval $ac_try) 2>&5
18740   ac_status=$?
18741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742   (exit $ac_status); }; } &&
18743          { ac_try='test -s conftest.$ac_objext'
18744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745   (eval $ac_try) 2>&5
18746   ac_status=$?
18747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748   (exit $ac_status); }; }; then
18749   ac_cv_type_intptr_t=yes
18750 else
18751   echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 ac_cv_type_intptr_t=no
18755 fi
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18757 fi
18758 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18759 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18760 if test $ac_cv_type_intptr_t = yes; then
18761
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_INTPTR_T 1
18764 _ACEOF
18765
18766
18767 fi
18768
18769
18770 # Check libc for getgid, getpid, getuid
18771 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18772 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18773 if test "${ac_cv_lib_c_getgid+set}" = set; then
18774   echo $ECHO_N "(cached) $ECHO_C" >&6
18775 else
18776   ac_check_lib_save_LIBS=$LIBS
18777 LIBS="-lc  $LIBS"
18778 if test x$gcc_no_link = xyes; then
18779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18781    { (exit 1); exit 1; }; }
18782 fi
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h.  */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h.  */
18789
18790 /* Override any gcc2 internal prototype to avoid an error.  */
18791 #ifdef __cplusplus
18792 extern "C"
18793 #endif
18794 /* We use char because int might match the return type of a gcc2
18795    builtin and then its argument prototype would still apply.  */
18796 char getgid ();
18797 int
18798 main ()
18799 {
18800 getgid ();
18801   ;
18802   return 0;
18803 }
18804 _ACEOF
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18807   (eval $ac_link) 2>conftest.er1
18808   ac_status=$?
18809   grep -v '^ *+' conftest.er1 >conftest.err
18810   rm -f conftest.er1
18811   cat conftest.err >&5
18812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813   (exit $ac_status); } &&
18814          { ac_try='test -z "$ac_c_werror_flag"
18815                          || test ! -s conftest.err'
18816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817   (eval $ac_try) 2>&5
18818   ac_status=$?
18819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820   (exit $ac_status); }; } &&
18821          { ac_try='test -s conftest$ac_exeext'
18822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823   (eval $ac_try) 2>&5
18824   ac_status=$?
18825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826   (exit $ac_status); }; }; then
18827   ac_cv_lib_c_getgid=yes
18828 else
18829   echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18831
18832 ac_cv_lib_c_getgid=no
18833 fi
18834 rm -f conftest.err conftest.$ac_objext \
18835       conftest$ac_exeext conftest.$ac_ext
18836 LIBS=$ac_check_lib_save_LIBS
18837 fi
18838 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18839 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18840 if test $ac_cv_lib_c_getgid = yes; then
18841
18842 cat >>confdefs.h <<\_ACEOF
18843 #define HAVE_GETGID 1
18844 _ACEOF
18845
18846 fi
18847
18848 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18849 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18850 if test "${ac_cv_lib_c_getpid+set}" = set; then
18851   echo $ECHO_N "(cached) $ECHO_C" >&6
18852 else
18853   ac_check_lib_save_LIBS=$LIBS
18854 LIBS="-lc  $LIBS"
18855 if test x$gcc_no_link = xyes; then
18856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18858    { (exit 1); exit 1; }; }
18859 fi
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h.  */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h.  */
18866
18867 /* Override any gcc2 internal prototype to avoid an error.  */
18868 #ifdef __cplusplus
18869 extern "C"
18870 #endif
18871 /* We use char because int might match the return type of a gcc2
18872    builtin and then its argument prototype would still apply.  */
18873 char getpid ();
18874 int
18875 main ()
18876 {
18877 getpid ();
18878   ;
18879   return 0;
18880 }
18881 _ACEOF
18882 rm -f conftest.$ac_objext conftest$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18884   (eval $ac_link) 2>conftest.er1
18885   ac_status=$?
18886   grep -v '^ *+' conftest.er1 >conftest.err
18887   rm -f conftest.er1
18888   cat conftest.err >&5
18889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890   (exit $ac_status); } &&
18891          { ac_try='test -z "$ac_c_werror_flag"
18892                          || test ! -s conftest.err'
18893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894   (eval $ac_try) 2>&5
18895   ac_status=$?
18896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897   (exit $ac_status); }; } &&
18898          { ac_try='test -s conftest$ac_exeext'
18899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900   (eval $ac_try) 2>&5
18901   ac_status=$?
18902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903   (exit $ac_status); }; }; then
18904   ac_cv_lib_c_getpid=yes
18905 else
18906   echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18908
18909 ac_cv_lib_c_getpid=no
18910 fi
18911 rm -f conftest.err conftest.$ac_objext \
18912       conftest$ac_exeext conftest.$ac_ext
18913 LIBS=$ac_check_lib_save_LIBS
18914 fi
18915 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18916 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18917 if test $ac_cv_lib_c_getpid = yes; then
18918
18919 cat >>confdefs.h <<\_ACEOF
18920 #define HAVE_GETPID 1
18921 _ACEOF
18922
18923 fi
18924
18925 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18926 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18927 if test "${ac_cv_lib_c_getppid+set}" = set; then
18928   echo $ECHO_N "(cached) $ECHO_C" >&6
18929 else
18930   ac_check_lib_save_LIBS=$LIBS
18931 LIBS="-lc  $LIBS"
18932 if test x$gcc_no_link = xyes; then
18933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18935    { (exit 1); exit 1; }; }
18936 fi
18937 cat >conftest.$ac_ext <<_ACEOF
18938 /* confdefs.h.  */
18939 _ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h.  */
18943
18944 /* Override any gcc2 internal prototype to avoid an error.  */
18945 #ifdef __cplusplus
18946 extern "C"
18947 #endif
18948 /* We use char because int might match the return type of a gcc2
18949    builtin and then its argument prototype would still apply.  */
18950 char getppid ();
18951 int
18952 main ()
18953 {
18954 getppid ();
18955   ;
18956   return 0;
18957 }
18958 _ACEOF
18959 rm -f conftest.$ac_objext conftest$ac_exeext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18961   (eval $ac_link) 2>conftest.er1
18962   ac_status=$?
18963   grep -v '^ *+' conftest.er1 >conftest.err
18964   rm -f conftest.er1
18965   cat conftest.err >&5
18966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967   (exit $ac_status); } &&
18968          { ac_try='test -z "$ac_c_werror_flag"
18969                          || test ! -s conftest.err'
18970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971   (eval $ac_try) 2>&5
18972   ac_status=$?
18973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974   (exit $ac_status); }; } &&
18975          { ac_try='test -s conftest$ac_exeext'
18976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977   (eval $ac_try) 2>&5
18978   ac_status=$?
18979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980   (exit $ac_status); }; }; then
18981   ac_cv_lib_c_getppid=yes
18982 else
18983   echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18985
18986 ac_cv_lib_c_getppid=no
18987 fi
18988 rm -f conftest.err conftest.$ac_objext \
18989       conftest$ac_exeext conftest.$ac_ext
18990 LIBS=$ac_check_lib_save_LIBS
18991 fi
18992 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
18993 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
18994 if test $ac_cv_lib_c_getppid = yes; then
18995
18996 cat >>confdefs.h <<\_ACEOF
18997 #define HAVE_GETPPID 1
18998 _ACEOF
18999
19000 fi
19001
19002 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19003 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19004 if test "${ac_cv_lib_c_getuid+set}" = set; then
19005   echo $ECHO_N "(cached) $ECHO_C" >&6
19006 else
19007   ac_check_lib_save_LIBS=$LIBS
19008 LIBS="-lc  $LIBS"
19009 if test x$gcc_no_link = xyes; then
19010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19012    { (exit 1); exit 1; }; }
19013 fi
19014 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h.  */
19016 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h.  */
19020
19021 /* Override any gcc2 internal prototype to avoid an error.  */
19022 #ifdef __cplusplus
19023 extern "C"
19024 #endif
19025 /* We use char because int might match the return type of a gcc2
19026    builtin and then its argument prototype would still apply.  */
19027 char getuid ();
19028 int
19029 main ()
19030 {
19031 getuid ();
19032   ;
19033   return 0;
19034 }
19035 _ACEOF
19036 rm -f conftest.$ac_objext conftest$ac_exeext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19038   (eval $ac_link) 2>conftest.er1
19039   ac_status=$?
19040   grep -v '^ *+' conftest.er1 >conftest.err
19041   rm -f conftest.er1
19042   cat conftest.err >&5
19043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044   (exit $ac_status); } &&
19045          { ac_try='test -z "$ac_c_werror_flag"
19046                          || test ! -s conftest.err'
19047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048   (eval $ac_try) 2>&5
19049   ac_status=$?
19050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051   (exit $ac_status); }; } &&
19052          { ac_try='test -s conftest$ac_exeext'
19053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054   (eval $ac_try) 2>&5
19055   ac_status=$?
19056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057   (exit $ac_status); }; }; then
19058   ac_cv_lib_c_getuid=yes
19059 else
19060   echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19062
19063 ac_cv_lib_c_getuid=no
19064 fi
19065 rm -f conftest.err conftest.$ac_objext \
19066       conftest$ac_exeext conftest.$ac_ext
19067 LIBS=$ac_check_lib_save_LIBS
19068 fi
19069 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19070 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19071 if test $ac_cv_lib_c_getuid = yes; then
19072
19073 cat >>confdefs.h <<\_ACEOF
19074 #define HAVE_GETUID 1
19075 _ACEOF
19076
19077 fi
19078
19079 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19080 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19081 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19082   echo $ECHO_N "(cached) $ECHO_C" >&6
19083 else
19084   ac_check_lib_save_LIBS=$LIBS
19085 LIBS="-lc  $LIBS"
19086 if test x$gcc_no_link = xyes; then
19087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19089    { (exit 1); exit 1; }; }
19090 fi
19091 cat >conftest.$ac_ext <<_ACEOF
19092 /* confdefs.h.  */
19093 _ACEOF
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h.  */
19097
19098 /* Override any gcc2 internal prototype to avoid an error.  */
19099 #ifdef __cplusplus
19100 extern "C"
19101 #endif
19102 /* We use char because int might match the return type of a gcc2
19103    builtin and then its argument prototype would still apply.  */
19104 char geteuid ();
19105 int
19106 main ()
19107 {
19108 geteuid ();
19109   ;
19110   return 0;
19111 }
19112 _ACEOF
19113 rm -f conftest.$ac_objext conftest$ac_exeext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19115   (eval $ac_link) 2>conftest.er1
19116   ac_status=$?
19117   grep -v '^ *+' conftest.er1 >conftest.err
19118   rm -f conftest.er1
19119   cat conftest.err >&5
19120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121   (exit $ac_status); } &&
19122          { ac_try='test -z "$ac_c_werror_flag"
19123                          || test ! -s conftest.err'
19124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125   (eval $ac_try) 2>&5
19126   ac_status=$?
19127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128   (exit $ac_status); }; } &&
19129          { ac_try='test -s conftest$ac_exeext'
19130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131   (eval $ac_try) 2>&5
19132   ac_status=$?
19133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134   (exit $ac_status); }; }; then
19135   ac_cv_lib_c_geteuid=yes
19136 else
19137   echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19139
19140 ac_cv_lib_c_geteuid=no
19141 fi
19142 rm -f conftest.err conftest.$ac_objext \
19143       conftest$ac_exeext conftest.$ac_ext
19144 LIBS=$ac_check_lib_save_LIBS
19145 fi
19146 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19147 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19148 if test $ac_cv_lib_c_geteuid = yes; then
19149
19150 cat >>confdefs.h <<\_ACEOF
19151 #define HAVE_GETEUID 1
19152 _ACEOF
19153
19154 fi
19155
19156
19157 # Check for C99 (and other IEEE) math functions
19158 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19159 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19160 if test "${ac_cv_lib_m_acosf+set}" = set; then
19161   echo $ECHO_N "(cached) $ECHO_C" >&6
19162 else
19163   ac_check_lib_save_LIBS=$LIBS
19164 LIBS="-lm  $LIBS"
19165 if test x$gcc_no_link = xyes; then
19166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19168    { (exit 1); exit 1; }; }
19169 fi
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h.  */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h.  */
19176
19177 /* Override any gcc2 internal prototype to avoid an error.  */
19178 #ifdef __cplusplus
19179 extern "C"
19180 #endif
19181 /* We use char because int might match the return type of a gcc2
19182    builtin and then its argument prototype would still apply.  */
19183 char acosf ();
19184 int
19185 main ()
19186 {
19187 acosf ();
19188   ;
19189   return 0;
19190 }
19191 _ACEOF
19192 rm -f conftest.$ac_objext conftest$ac_exeext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19194   (eval $ac_link) 2>conftest.er1
19195   ac_status=$?
19196   grep -v '^ *+' conftest.er1 >conftest.err
19197   rm -f conftest.er1
19198   cat conftest.err >&5
19199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200   (exit $ac_status); } &&
19201          { ac_try='test -z "$ac_c_werror_flag"
19202                          || test ! -s conftest.err'
19203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204   (eval $ac_try) 2>&5
19205   ac_status=$?
19206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207   (exit $ac_status); }; } &&
19208          { ac_try='test -s conftest$ac_exeext'
19209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210   (eval $ac_try) 2>&5
19211   ac_status=$?
19212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213   (exit $ac_status); }; }; then
19214   ac_cv_lib_m_acosf=yes
19215 else
19216   echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19218
19219 ac_cv_lib_m_acosf=no
19220 fi
19221 rm -f conftest.err conftest.$ac_objext \
19222       conftest$ac_exeext conftest.$ac_ext
19223 LIBS=$ac_check_lib_save_LIBS
19224 fi
19225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19226 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19227 if test $ac_cv_lib_m_acosf = yes; then
19228
19229 cat >>confdefs.h <<\_ACEOF
19230 #define HAVE_ACOSF 1
19231 _ACEOF
19232
19233 fi
19234
19235 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19236 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19237 if test "${ac_cv_lib_m_acos+set}" = set; then
19238   echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240   ac_check_lib_save_LIBS=$LIBS
19241 LIBS="-lm  $LIBS"
19242 if test x$gcc_no_link = xyes; then
19243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19245    { (exit 1); exit 1; }; }
19246 fi
19247 cat >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h.  */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h.  */
19253
19254 /* Override any gcc2 internal prototype to avoid an error.  */
19255 #ifdef __cplusplus
19256 extern "C"
19257 #endif
19258 /* We use char because int might match the return type of a gcc2
19259    builtin and then its argument prototype would still apply.  */
19260 char acos ();
19261 int
19262 main ()
19263 {
19264 acos ();
19265   ;
19266   return 0;
19267 }
19268 _ACEOF
19269 rm -f conftest.$ac_objext conftest$ac_exeext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19271   (eval $ac_link) 2>conftest.er1
19272   ac_status=$?
19273   grep -v '^ *+' conftest.er1 >conftest.err
19274   rm -f conftest.er1
19275   cat conftest.err >&5
19276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277   (exit $ac_status); } &&
19278          { ac_try='test -z "$ac_c_werror_flag"
19279                          || test ! -s conftest.err'
19280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281   (eval $ac_try) 2>&5
19282   ac_status=$?
19283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284   (exit $ac_status); }; } &&
19285          { ac_try='test -s conftest$ac_exeext'
19286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287   (eval $ac_try) 2>&5
19288   ac_status=$?
19289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290   (exit $ac_status); }; }; then
19291   ac_cv_lib_m_acos=yes
19292 else
19293   echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.$ac_ext >&5
19295
19296 ac_cv_lib_m_acos=no
19297 fi
19298 rm -f conftest.err conftest.$ac_objext \
19299       conftest$ac_exeext conftest.$ac_ext
19300 LIBS=$ac_check_lib_save_LIBS
19301 fi
19302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19303 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19304 if test $ac_cv_lib_m_acos = yes; then
19305
19306 cat >>confdefs.h <<\_ACEOF
19307 #define HAVE_ACOS 1
19308 _ACEOF
19309
19310 fi
19311
19312 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19313 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19314 if test "${ac_cv_lib_m_acosl+set}" = set; then
19315   echo $ECHO_N "(cached) $ECHO_C" >&6
19316 else
19317   ac_check_lib_save_LIBS=$LIBS
19318 LIBS="-lm  $LIBS"
19319 if test x$gcc_no_link = xyes; then
19320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19322    { (exit 1); exit 1; }; }
19323 fi
19324 cat >conftest.$ac_ext <<_ACEOF
19325 /* confdefs.h.  */
19326 _ACEOF
19327 cat confdefs.h >>conftest.$ac_ext
19328 cat >>conftest.$ac_ext <<_ACEOF
19329 /* end confdefs.h.  */
19330
19331 /* Override any gcc2 internal prototype to avoid an error.  */
19332 #ifdef __cplusplus
19333 extern "C"
19334 #endif
19335 /* We use char because int might match the return type of a gcc2
19336    builtin and then its argument prototype would still apply.  */
19337 char acosl ();
19338 int
19339 main ()
19340 {
19341 acosl ();
19342   ;
19343   return 0;
19344 }
19345 _ACEOF
19346 rm -f conftest.$ac_objext conftest$ac_exeext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19348   (eval $ac_link) 2>conftest.er1
19349   ac_status=$?
19350   grep -v '^ *+' conftest.er1 >conftest.err
19351   rm -f conftest.er1
19352   cat conftest.err >&5
19353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354   (exit $ac_status); } &&
19355          { ac_try='test -z "$ac_c_werror_flag"
19356                          || test ! -s conftest.err'
19357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358   (eval $ac_try) 2>&5
19359   ac_status=$?
19360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361   (exit $ac_status); }; } &&
19362          { ac_try='test -s conftest$ac_exeext'
19363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364   (eval $ac_try) 2>&5
19365   ac_status=$?
19366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367   (exit $ac_status); }; }; then
19368   ac_cv_lib_m_acosl=yes
19369 else
19370   echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19372
19373 ac_cv_lib_m_acosl=no
19374 fi
19375 rm -f conftest.err conftest.$ac_objext \
19376       conftest$ac_exeext conftest.$ac_ext
19377 LIBS=$ac_check_lib_save_LIBS
19378 fi
19379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19380 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19381 if test $ac_cv_lib_m_acosl = yes; then
19382
19383 cat >>confdefs.h <<\_ACEOF
19384 #define HAVE_ACOSL 1
19385 _ACEOF
19386
19387 fi
19388
19389 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19390 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19391 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19392   echo $ECHO_N "(cached) $ECHO_C" >&6
19393 else
19394   ac_check_lib_save_LIBS=$LIBS
19395 LIBS="-lm  $LIBS"
19396 if test x$gcc_no_link = xyes; then
19397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19399    { (exit 1); exit 1; }; }
19400 fi
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h.  */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h.  */
19407
19408 /* Override any gcc2 internal prototype to avoid an error.  */
19409 #ifdef __cplusplus
19410 extern "C"
19411 #endif
19412 /* We use char because int might match the return type of a gcc2
19413    builtin and then its argument prototype would still apply.  */
19414 char acoshf ();
19415 int
19416 main ()
19417 {
19418 acoshf ();
19419   ;
19420   return 0;
19421 }
19422 _ACEOF
19423 rm -f conftest.$ac_objext conftest$ac_exeext
19424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19425   (eval $ac_link) 2>conftest.er1
19426   ac_status=$?
19427   grep -v '^ *+' conftest.er1 >conftest.err
19428   rm -f conftest.er1
19429   cat conftest.err >&5
19430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431   (exit $ac_status); } &&
19432          { ac_try='test -z "$ac_c_werror_flag"
19433                          || test ! -s conftest.err'
19434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435   (eval $ac_try) 2>&5
19436   ac_status=$?
19437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438   (exit $ac_status); }; } &&
19439          { ac_try='test -s conftest$ac_exeext'
19440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441   (eval $ac_try) 2>&5
19442   ac_status=$?
19443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444   (exit $ac_status); }; }; then
19445   ac_cv_lib_m_acoshf=yes
19446 else
19447   echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19449
19450 ac_cv_lib_m_acoshf=no
19451 fi
19452 rm -f conftest.err conftest.$ac_objext \
19453       conftest$ac_exeext conftest.$ac_ext
19454 LIBS=$ac_check_lib_save_LIBS
19455 fi
19456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19457 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19458 if test $ac_cv_lib_m_acoshf = yes; then
19459
19460 cat >>confdefs.h <<\_ACEOF
19461 #define HAVE_ACOSHF 1
19462 _ACEOF
19463
19464 fi
19465
19466 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19467 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19468 if test "${ac_cv_lib_m_acosh+set}" = set; then
19469   echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471   ac_check_lib_save_LIBS=$LIBS
19472 LIBS="-lm  $LIBS"
19473 if test x$gcc_no_link = xyes; then
19474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19476    { (exit 1); exit 1; }; }
19477 fi
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h.  */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h.  */
19484
19485 /* Override any gcc2 internal prototype to avoid an error.  */
19486 #ifdef __cplusplus
19487 extern "C"
19488 #endif
19489 /* We use char because int might match the return type of a gcc2
19490    builtin and then its argument prototype would still apply.  */
19491 char acosh ();
19492 int
19493 main ()
19494 {
19495 acosh ();
19496   ;
19497   return 0;
19498 }
19499 _ACEOF
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502   (eval $ac_link) 2>conftest.er1
19503   ac_status=$?
19504   grep -v '^ *+' conftest.er1 >conftest.err
19505   rm -f conftest.er1
19506   cat conftest.err >&5
19507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508   (exit $ac_status); } &&
19509          { ac_try='test -z "$ac_c_werror_flag"
19510                          || test ! -s conftest.err'
19511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512   (eval $ac_try) 2>&5
19513   ac_status=$?
19514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515   (exit $ac_status); }; } &&
19516          { ac_try='test -s conftest$ac_exeext'
19517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518   (eval $ac_try) 2>&5
19519   ac_status=$?
19520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521   (exit $ac_status); }; }; then
19522   ac_cv_lib_m_acosh=yes
19523 else
19524   echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19526
19527 ac_cv_lib_m_acosh=no
19528 fi
19529 rm -f conftest.err conftest.$ac_objext \
19530       conftest$ac_exeext conftest.$ac_ext
19531 LIBS=$ac_check_lib_save_LIBS
19532 fi
19533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19534 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19535 if test $ac_cv_lib_m_acosh = yes; then
19536
19537 cat >>confdefs.h <<\_ACEOF
19538 #define HAVE_ACOSH 1
19539 _ACEOF
19540
19541 fi
19542
19543 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19544 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19545 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19546   echo $ECHO_N "(cached) $ECHO_C" >&6
19547 else
19548   ac_check_lib_save_LIBS=$LIBS
19549 LIBS="-lm  $LIBS"
19550 if test x$gcc_no_link = xyes; then
19551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19553    { (exit 1); exit 1; }; }
19554 fi
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h.  */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h.  */
19561
19562 /* Override any gcc2 internal prototype to avoid an error.  */
19563 #ifdef __cplusplus
19564 extern "C"
19565 #endif
19566 /* We use char because int might match the return type of a gcc2
19567    builtin and then its argument prototype would still apply.  */
19568 char acoshl ();
19569 int
19570 main ()
19571 {
19572 acoshl ();
19573   ;
19574   return 0;
19575 }
19576 _ACEOF
19577 rm -f conftest.$ac_objext conftest$ac_exeext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19579   (eval $ac_link) 2>conftest.er1
19580   ac_status=$?
19581   grep -v '^ *+' conftest.er1 >conftest.err
19582   rm -f conftest.er1
19583   cat conftest.err >&5
19584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585   (exit $ac_status); } &&
19586          { ac_try='test -z "$ac_c_werror_flag"
19587                          || test ! -s conftest.err'
19588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589   (eval $ac_try) 2>&5
19590   ac_status=$?
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); }; } &&
19593          { ac_try='test -s conftest$ac_exeext'
19594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595   (eval $ac_try) 2>&5
19596   ac_status=$?
19597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598   (exit $ac_status); }; }; then
19599   ac_cv_lib_m_acoshl=yes
19600 else
19601   echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19603
19604 ac_cv_lib_m_acoshl=no
19605 fi
19606 rm -f conftest.err conftest.$ac_objext \
19607       conftest$ac_exeext conftest.$ac_ext
19608 LIBS=$ac_check_lib_save_LIBS
19609 fi
19610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19611 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19612 if test $ac_cv_lib_m_acoshl = yes; then
19613
19614 cat >>confdefs.h <<\_ACEOF
19615 #define HAVE_ACOSHL 1
19616 _ACEOF
19617
19618 fi
19619
19620 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19621 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19622 if test "${ac_cv_lib_m_asinf+set}" = set; then
19623   echo $ECHO_N "(cached) $ECHO_C" >&6
19624 else
19625   ac_check_lib_save_LIBS=$LIBS
19626 LIBS="-lm  $LIBS"
19627 if test x$gcc_no_link = xyes; then
19628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19630    { (exit 1); exit 1; }; }
19631 fi
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h.  */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h.  */
19638
19639 /* Override any gcc2 internal prototype to avoid an error.  */
19640 #ifdef __cplusplus
19641 extern "C"
19642 #endif
19643 /* We use char because int might match the return type of a gcc2
19644    builtin and then its argument prototype would still apply.  */
19645 char asinf ();
19646 int
19647 main ()
19648 {
19649 asinf ();
19650   ;
19651   return 0;
19652 }
19653 _ACEOF
19654 rm -f conftest.$ac_objext conftest$ac_exeext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19656   (eval $ac_link) 2>conftest.er1
19657   ac_status=$?
19658   grep -v '^ *+' conftest.er1 >conftest.err
19659   rm -f conftest.er1
19660   cat conftest.err >&5
19661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662   (exit $ac_status); } &&
19663          { ac_try='test -z "$ac_c_werror_flag"
19664                          || test ! -s conftest.err'
19665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666   (eval $ac_try) 2>&5
19667   ac_status=$?
19668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669   (exit $ac_status); }; } &&
19670          { ac_try='test -s conftest$ac_exeext'
19671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672   (eval $ac_try) 2>&5
19673   ac_status=$?
19674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675   (exit $ac_status); }; }; then
19676   ac_cv_lib_m_asinf=yes
19677 else
19678   echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 ac_cv_lib_m_asinf=no
19682 fi
19683 rm -f conftest.err conftest.$ac_objext \
19684       conftest$ac_exeext conftest.$ac_ext
19685 LIBS=$ac_check_lib_save_LIBS
19686 fi
19687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19688 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19689 if test $ac_cv_lib_m_asinf = yes; then
19690
19691 cat >>confdefs.h <<\_ACEOF
19692 #define HAVE_ASINF 1
19693 _ACEOF
19694
19695 fi
19696
19697 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19698 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19699 if test "${ac_cv_lib_m_asin+set}" = set; then
19700   echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702   ac_check_lib_save_LIBS=$LIBS
19703 LIBS="-lm  $LIBS"
19704 if test x$gcc_no_link = xyes; then
19705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19707    { (exit 1); exit 1; }; }
19708 fi
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h.  */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h.  */
19715
19716 /* Override any gcc2 internal prototype to avoid an error.  */
19717 #ifdef __cplusplus
19718 extern "C"
19719 #endif
19720 /* We use char because int might match the return type of a gcc2
19721    builtin and then its argument prototype would still apply.  */
19722 char asin ();
19723 int
19724 main ()
19725 {
19726 asin ();
19727   ;
19728   return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext conftest$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733   (eval $ac_link) 2>conftest.er1
19734   ac_status=$?
19735   grep -v '^ *+' conftest.er1 >conftest.err
19736   rm -f conftest.er1
19737   cat conftest.err >&5
19738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739   (exit $ac_status); } &&
19740          { ac_try='test -z "$ac_c_werror_flag"
19741                          || test ! -s conftest.err'
19742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743   (eval $ac_try) 2>&5
19744   ac_status=$?
19745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746   (exit $ac_status); }; } &&
19747          { ac_try='test -s conftest$ac_exeext'
19748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749   (eval $ac_try) 2>&5
19750   ac_status=$?
19751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752   (exit $ac_status); }; }; then
19753   ac_cv_lib_m_asin=yes
19754 else
19755   echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 ac_cv_lib_m_asin=no
19759 fi
19760 rm -f conftest.err conftest.$ac_objext \
19761       conftest$ac_exeext conftest.$ac_ext
19762 LIBS=$ac_check_lib_save_LIBS
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19765 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19766 if test $ac_cv_lib_m_asin = yes; then
19767
19768 cat >>confdefs.h <<\_ACEOF
19769 #define HAVE_ASIN 1
19770 _ACEOF
19771
19772 fi
19773
19774 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19775 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19776 if test "${ac_cv_lib_m_asinl+set}" = set; then
19777   echo $ECHO_N "(cached) $ECHO_C" >&6
19778 else
19779   ac_check_lib_save_LIBS=$LIBS
19780 LIBS="-lm  $LIBS"
19781 if test x$gcc_no_link = xyes; then
19782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19784    { (exit 1); exit 1; }; }
19785 fi
19786 cat >conftest.$ac_ext <<_ACEOF
19787 /* confdefs.h.  */
19788 _ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h.  */
19792
19793 /* Override any gcc2 internal prototype to avoid an error.  */
19794 #ifdef __cplusplus
19795 extern "C"
19796 #endif
19797 /* We use char because int might match the return type of a gcc2
19798    builtin and then its argument prototype would still apply.  */
19799 char asinl ();
19800 int
19801 main ()
19802 {
19803 asinl ();
19804   ;
19805   return 0;
19806 }
19807 _ACEOF
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810   (eval $ac_link) 2>conftest.er1
19811   ac_status=$?
19812   grep -v '^ *+' conftest.er1 >conftest.err
19813   rm -f conftest.er1
19814   cat conftest.err >&5
19815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816   (exit $ac_status); } &&
19817          { ac_try='test -z "$ac_c_werror_flag"
19818                          || test ! -s conftest.err'
19819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820   (eval $ac_try) 2>&5
19821   ac_status=$?
19822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823   (exit $ac_status); }; } &&
19824          { ac_try='test -s conftest$ac_exeext'
19825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826   (eval $ac_try) 2>&5
19827   ac_status=$?
19828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829   (exit $ac_status); }; }; then
19830   ac_cv_lib_m_asinl=yes
19831 else
19832   echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19834
19835 ac_cv_lib_m_asinl=no
19836 fi
19837 rm -f conftest.err conftest.$ac_objext \
19838       conftest$ac_exeext conftest.$ac_ext
19839 LIBS=$ac_check_lib_save_LIBS
19840 fi
19841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19842 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19843 if test $ac_cv_lib_m_asinl = yes; then
19844
19845 cat >>confdefs.h <<\_ACEOF
19846 #define HAVE_ASINL 1
19847 _ACEOF
19848
19849 fi
19850
19851 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19852 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19853 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19854   echo $ECHO_N "(cached) $ECHO_C" >&6
19855 else
19856   ac_check_lib_save_LIBS=$LIBS
19857 LIBS="-lm  $LIBS"
19858 if test x$gcc_no_link = xyes; then
19859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19861    { (exit 1); exit 1; }; }
19862 fi
19863 cat >conftest.$ac_ext <<_ACEOF
19864 /* confdefs.h.  */
19865 _ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h.  */
19869
19870 /* Override any gcc2 internal prototype to avoid an error.  */
19871 #ifdef __cplusplus
19872 extern "C"
19873 #endif
19874 /* We use char because int might match the return type of a gcc2
19875    builtin and then its argument prototype would still apply.  */
19876 char asinhf ();
19877 int
19878 main ()
19879 {
19880 asinhf ();
19881   ;
19882   return 0;
19883 }
19884 _ACEOF
19885 rm -f conftest.$ac_objext conftest$ac_exeext
19886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19887   (eval $ac_link) 2>conftest.er1
19888   ac_status=$?
19889   grep -v '^ *+' conftest.er1 >conftest.err
19890   rm -f conftest.er1
19891   cat conftest.err >&5
19892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893   (exit $ac_status); } &&
19894          { ac_try='test -z "$ac_c_werror_flag"
19895                          || test ! -s conftest.err'
19896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897   (eval $ac_try) 2>&5
19898   ac_status=$?
19899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900   (exit $ac_status); }; } &&
19901          { ac_try='test -s conftest$ac_exeext'
19902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903   (eval $ac_try) 2>&5
19904   ac_status=$?
19905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906   (exit $ac_status); }; }; then
19907   ac_cv_lib_m_asinhf=yes
19908 else
19909   echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 ac_cv_lib_m_asinhf=no
19913 fi
19914 rm -f conftest.err conftest.$ac_objext \
19915       conftest$ac_exeext conftest.$ac_ext
19916 LIBS=$ac_check_lib_save_LIBS
19917 fi
19918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19919 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19920 if test $ac_cv_lib_m_asinhf = yes; then
19921
19922 cat >>confdefs.h <<\_ACEOF
19923 #define HAVE_ASINHF 1
19924 _ACEOF
19925
19926 fi
19927
19928 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19929 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19930 if test "${ac_cv_lib_m_asinh+set}" = set; then
19931   echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933   ac_check_lib_save_LIBS=$LIBS
19934 LIBS="-lm  $LIBS"
19935 if test x$gcc_no_link = xyes; then
19936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19938    { (exit 1); exit 1; }; }
19939 fi
19940 cat >conftest.$ac_ext <<_ACEOF
19941 /* confdefs.h.  */
19942 _ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h.  */
19946
19947 /* Override any gcc2 internal prototype to avoid an error.  */
19948 #ifdef __cplusplus
19949 extern "C"
19950 #endif
19951 /* We use char because int might match the return type of a gcc2
19952    builtin and then its argument prototype would still apply.  */
19953 char asinh ();
19954 int
19955 main ()
19956 {
19957 asinh ();
19958   ;
19959   return 0;
19960 }
19961 _ACEOF
19962 rm -f conftest.$ac_objext conftest$ac_exeext
19963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19964   (eval $ac_link) 2>conftest.er1
19965   ac_status=$?
19966   grep -v '^ *+' conftest.er1 >conftest.err
19967   rm -f conftest.er1
19968   cat conftest.err >&5
19969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970   (exit $ac_status); } &&
19971          { ac_try='test -z "$ac_c_werror_flag"
19972                          || test ! -s conftest.err'
19973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974   (eval $ac_try) 2>&5
19975   ac_status=$?
19976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977   (exit $ac_status); }; } &&
19978          { ac_try='test -s conftest$ac_exeext'
19979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980   (eval $ac_try) 2>&5
19981   ac_status=$?
19982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983   (exit $ac_status); }; }; then
19984   ac_cv_lib_m_asinh=yes
19985 else
19986   echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19988
19989 ac_cv_lib_m_asinh=no
19990 fi
19991 rm -f conftest.err conftest.$ac_objext \
19992       conftest$ac_exeext conftest.$ac_ext
19993 LIBS=$ac_check_lib_save_LIBS
19994 fi
19995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
19996 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
19997 if test $ac_cv_lib_m_asinh = yes; then
19998
19999 cat >>confdefs.h <<\_ACEOF
20000 #define HAVE_ASINH 1
20001 _ACEOF
20002
20003 fi
20004
20005 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20006 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20007 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20008   echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010   ac_check_lib_save_LIBS=$LIBS
20011 LIBS="-lm  $LIBS"
20012 if test x$gcc_no_link = xyes; then
20013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20015    { (exit 1); exit 1; }; }
20016 fi
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h.  */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h.  */
20023
20024 /* Override any gcc2 internal prototype to avoid an error.  */
20025 #ifdef __cplusplus
20026 extern "C"
20027 #endif
20028 /* We use char because int might match the return type of a gcc2
20029    builtin and then its argument prototype would still apply.  */
20030 char asinhl ();
20031 int
20032 main ()
20033 {
20034 asinhl ();
20035   ;
20036   return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext conftest$ac_exeext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20041   (eval $ac_link) 2>conftest.er1
20042   ac_status=$?
20043   grep -v '^ *+' conftest.er1 >conftest.err
20044   rm -f conftest.er1
20045   cat conftest.err >&5
20046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047   (exit $ac_status); } &&
20048          { ac_try='test -z "$ac_c_werror_flag"
20049                          || test ! -s conftest.err'
20050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051   (eval $ac_try) 2>&5
20052   ac_status=$?
20053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054   (exit $ac_status); }; } &&
20055          { ac_try='test -s conftest$ac_exeext'
20056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057   (eval $ac_try) 2>&5
20058   ac_status=$?
20059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060   (exit $ac_status); }; }; then
20061   ac_cv_lib_m_asinhl=yes
20062 else
20063   echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20065
20066 ac_cv_lib_m_asinhl=no
20067 fi
20068 rm -f conftest.err conftest.$ac_objext \
20069       conftest$ac_exeext conftest.$ac_ext
20070 LIBS=$ac_check_lib_save_LIBS
20071 fi
20072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20073 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20074 if test $ac_cv_lib_m_asinhl = yes; then
20075
20076 cat >>confdefs.h <<\_ACEOF
20077 #define HAVE_ASINHL 1
20078 _ACEOF
20079
20080 fi
20081
20082 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20083 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20084 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20085   echo $ECHO_N "(cached) $ECHO_C" >&6
20086 else
20087   ac_check_lib_save_LIBS=$LIBS
20088 LIBS="-lm  $LIBS"
20089 if test x$gcc_no_link = xyes; then
20090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20092    { (exit 1); exit 1; }; }
20093 fi
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h.  */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h.  */
20100
20101 /* Override any gcc2 internal prototype to avoid an error.  */
20102 #ifdef __cplusplus
20103 extern "C"
20104 #endif
20105 /* We use char because int might match the return type of a gcc2
20106    builtin and then its argument prototype would still apply.  */
20107 char atan2f ();
20108 int
20109 main ()
20110 {
20111 atan2f ();
20112   ;
20113   return 0;
20114 }
20115 _ACEOF
20116 rm -f conftest.$ac_objext conftest$ac_exeext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20118   (eval $ac_link) 2>conftest.er1
20119   ac_status=$?
20120   grep -v '^ *+' conftest.er1 >conftest.err
20121   rm -f conftest.er1
20122   cat conftest.err >&5
20123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124   (exit $ac_status); } &&
20125          { ac_try='test -z "$ac_c_werror_flag"
20126                          || test ! -s conftest.err'
20127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128   (eval $ac_try) 2>&5
20129   ac_status=$?
20130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131   (exit $ac_status); }; } &&
20132          { ac_try='test -s conftest$ac_exeext'
20133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134   (eval $ac_try) 2>&5
20135   ac_status=$?
20136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137   (exit $ac_status); }; }; then
20138   ac_cv_lib_m_atan2f=yes
20139 else
20140   echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.$ac_ext >&5
20142
20143 ac_cv_lib_m_atan2f=no
20144 fi
20145 rm -f conftest.err conftest.$ac_objext \
20146       conftest$ac_exeext conftest.$ac_ext
20147 LIBS=$ac_check_lib_save_LIBS
20148 fi
20149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20150 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20151 if test $ac_cv_lib_m_atan2f = yes; then
20152
20153 cat >>confdefs.h <<\_ACEOF
20154 #define HAVE_ATAN2F 1
20155 _ACEOF
20156
20157 fi
20158
20159 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20160 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20161 if test "${ac_cv_lib_m_atan2+set}" = set; then
20162   echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164   ac_check_lib_save_LIBS=$LIBS
20165 LIBS="-lm  $LIBS"
20166 if test x$gcc_no_link = xyes; then
20167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20169    { (exit 1); exit 1; }; }
20170 fi
20171 cat >conftest.$ac_ext <<_ACEOF
20172 /* confdefs.h.  */
20173 _ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h.  */
20177
20178 /* Override any gcc2 internal prototype to avoid an error.  */
20179 #ifdef __cplusplus
20180 extern "C"
20181 #endif
20182 /* We use char because int might match the return type of a gcc2
20183    builtin and then its argument prototype would still apply.  */
20184 char atan2 ();
20185 int
20186 main ()
20187 {
20188 atan2 ();
20189   ;
20190   return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest.$ac_objext conftest$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195   (eval $ac_link) 2>conftest.er1
20196   ac_status=$?
20197   grep -v '^ *+' conftest.er1 >conftest.err
20198   rm -f conftest.er1
20199   cat conftest.err >&5
20200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201   (exit $ac_status); } &&
20202          { ac_try='test -z "$ac_c_werror_flag"
20203                          || test ! -s conftest.err'
20204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205   (eval $ac_try) 2>&5
20206   ac_status=$?
20207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208   (exit $ac_status); }; } &&
20209          { ac_try='test -s conftest$ac_exeext'
20210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211   (eval $ac_try) 2>&5
20212   ac_status=$?
20213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214   (exit $ac_status); }; }; then
20215   ac_cv_lib_m_atan2=yes
20216 else
20217   echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20219
20220 ac_cv_lib_m_atan2=no
20221 fi
20222 rm -f conftest.err conftest.$ac_objext \
20223       conftest$ac_exeext conftest.$ac_ext
20224 LIBS=$ac_check_lib_save_LIBS
20225 fi
20226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20227 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20228 if test $ac_cv_lib_m_atan2 = yes; then
20229
20230 cat >>confdefs.h <<\_ACEOF
20231 #define HAVE_ATAN2 1
20232 _ACEOF
20233
20234 fi
20235
20236 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20237 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20238 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20239   echo $ECHO_N "(cached) $ECHO_C" >&6
20240 else
20241   ac_check_lib_save_LIBS=$LIBS
20242 LIBS="-lm  $LIBS"
20243 if test x$gcc_no_link = xyes; then
20244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20246    { (exit 1); exit 1; }; }
20247 fi
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h.  */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h.  */
20254
20255 /* Override any gcc2 internal prototype to avoid an error.  */
20256 #ifdef __cplusplus
20257 extern "C"
20258 #endif
20259 /* We use char because int might match the return type of a gcc2
20260    builtin and then its argument prototype would still apply.  */
20261 char atan2l ();
20262 int
20263 main ()
20264 {
20265 atan2l ();
20266   ;
20267   return 0;
20268 }
20269 _ACEOF
20270 rm -f conftest.$ac_objext conftest$ac_exeext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20272   (eval $ac_link) 2>conftest.er1
20273   ac_status=$?
20274   grep -v '^ *+' conftest.er1 >conftest.err
20275   rm -f conftest.er1
20276   cat conftest.err >&5
20277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278   (exit $ac_status); } &&
20279          { ac_try='test -z "$ac_c_werror_flag"
20280                          || test ! -s conftest.err'
20281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282   (eval $ac_try) 2>&5
20283   ac_status=$?
20284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285   (exit $ac_status); }; } &&
20286          { ac_try='test -s conftest$ac_exeext'
20287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288   (eval $ac_try) 2>&5
20289   ac_status=$?
20290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291   (exit $ac_status); }; }; then
20292   ac_cv_lib_m_atan2l=yes
20293 else
20294   echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20296
20297 ac_cv_lib_m_atan2l=no
20298 fi
20299 rm -f conftest.err conftest.$ac_objext \
20300       conftest$ac_exeext conftest.$ac_ext
20301 LIBS=$ac_check_lib_save_LIBS
20302 fi
20303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20304 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20305 if test $ac_cv_lib_m_atan2l = yes; then
20306
20307 cat >>confdefs.h <<\_ACEOF
20308 #define HAVE_ATAN2L 1
20309 _ACEOF
20310
20311 fi
20312
20313 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20314 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20315 if test "${ac_cv_lib_m_atanf+set}" = set; then
20316   echo $ECHO_N "(cached) $ECHO_C" >&6
20317 else
20318   ac_check_lib_save_LIBS=$LIBS
20319 LIBS="-lm  $LIBS"
20320 if test x$gcc_no_link = xyes; then
20321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20323    { (exit 1); exit 1; }; }
20324 fi
20325 cat >conftest.$ac_ext <<_ACEOF
20326 /* confdefs.h.  */
20327 _ACEOF
20328 cat confdefs.h >>conftest.$ac_ext
20329 cat >>conftest.$ac_ext <<_ACEOF
20330 /* end confdefs.h.  */
20331
20332 /* Override any gcc2 internal prototype to avoid an error.  */
20333 #ifdef __cplusplus
20334 extern "C"
20335 #endif
20336 /* We use char because int might match the return type of a gcc2
20337    builtin and then its argument prototype would still apply.  */
20338 char atanf ();
20339 int
20340 main ()
20341 {
20342 atanf ();
20343   ;
20344   return 0;
20345 }
20346 _ACEOF
20347 rm -f conftest.$ac_objext conftest$ac_exeext
20348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20349   (eval $ac_link) 2>conftest.er1
20350   ac_status=$?
20351   grep -v '^ *+' conftest.er1 >conftest.err
20352   rm -f conftest.er1
20353   cat conftest.err >&5
20354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355   (exit $ac_status); } &&
20356          { ac_try='test -z "$ac_c_werror_flag"
20357                          || test ! -s conftest.err'
20358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359   (eval $ac_try) 2>&5
20360   ac_status=$?
20361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362   (exit $ac_status); }; } &&
20363          { ac_try='test -s conftest$ac_exeext'
20364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365   (eval $ac_try) 2>&5
20366   ac_status=$?
20367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368   (exit $ac_status); }; }; then
20369   ac_cv_lib_m_atanf=yes
20370 else
20371   echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.$ac_ext >&5
20373
20374 ac_cv_lib_m_atanf=no
20375 fi
20376 rm -f conftest.err conftest.$ac_objext \
20377       conftest$ac_exeext conftest.$ac_ext
20378 LIBS=$ac_check_lib_save_LIBS
20379 fi
20380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20381 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20382 if test $ac_cv_lib_m_atanf = yes; then
20383
20384 cat >>confdefs.h <<\_ACEOF
20385 #define HAVE_ATANF 1
20386 _ACEOF
20387
20388 fi
20389
20390 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20391 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20392 if test "${ac_cv_lib_m_atan+set}" = set; then
20393   echo $ECHO_N "(cached) $ECHO_C" >&6
20394 else
20395   ac_check_lib_save_LIBS=$LIBS
20396 LIBS="-lm  $LIBS"
20397 if test x$gcc_no_link = xyes; then
20398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20400    { (exit 1); exit 1; }; }
20401 fi
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h.  */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h.  */
20408
20409 /* Override any gcc2 internal prototype to avoid an error.  */
20410 #ifdef __cplusplus
20411 extern "C"
20412 #endif
20413 /* We use char because int might match the return type of a gcc2
20414    builtin and then its argument prototype would still apply.  */
20415 char atan ();
20416 int
20417 main ()
20418 {
20419 atan ();
20420   ;
20421   return 0;
20422 }
20423 _ACEOF
20424 rm -f conftest.$ac_objext conftest$ac_exeext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20426   (eval $ac_link) 2>conftest.er1
20427   ac_status=$?
20428   grep -v '^ *+' conftest.er1 >conftest.err
20429   rm -f conftest.er1
20430   cat conftest.err >&5
20431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432   (exit $ac_status); } &&
20433          { ac_try='test -z "$ac_c_werror_flag"
20434                          || test ! -s conftest.err'
20435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436   (eval $ac_try) 2>&5
20437   ac_status=$?
20438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439   (exit $ac_status); }; } &&
20440          { ac_try='test -s conftest$ac_exeext'
20441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442   (eval $ac_try) 2>&5
20443   ac_status=$?
20444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445   (exit $ac_status); }; }; then
20446   ac_cv_lib_m_atan=yes
20447 else
20448   echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 ac_cv_lib_m_atan=no
20452 fi
20453 rm -f conftest.err conftest.$ac_objext \
20454       conftest$ac_exeext conftest.$ac_ext
20455 LIBS=$ac_check_lib_save_LIBS
20456 fi
20457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20458 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20459 if test $ac_cv_lib_m_atan = yes; then
20460
20461 cat >>confdefs.h <<\_ACEOF
20462 #define HAVE_ATAN 1
20463 _ACEOF
20464
20465 fi
20466
20467 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20468 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20469 if test "${ac_cv_lib_m_atanl+set}" = set; then
20470   echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20472   ac_check_lib_save_LIBS=$LIBS
20473 LIBS="-lm  $LIBS"
20474 if test x$gcc_no_link = xyes; then
20475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20477    { (exit 1); exit 1; }; }
20478 fi
20479 cat >conftest.$ac_ext <<_ACEOF
20480 /* confdefs.h.  */
20481 _ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h.  */
20485
20486 /* Override any gcc2 internal prototype to avoid an error.  */
20487 #ifdef __cplusplus
20488 extern "C"
20489 #endif
20490 /* We use char because int might match the return type of a gcc2
20491    builtin and then its argument prototype would still apply.  */
20492 char atanl ();
20493 int
20494 main ()
20495 {
20496 atanl ();
20497   ;
20498   return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext conftest$ac_exeext
20502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20503   (eval $ac_link) 2>conftest.er1
20504   ac_status=$?
20505   grep -v '^ *+' conftest.er1 >conftest.err
20506   rm -f conftest.er1
20507   cat conftest.err >&5
20508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509   (exit $ac_status); } &&
20510          { ac_try='test -z "$ac_c_werror_flag"
20511                          || test ! -s conftest.err'
20512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513   (eval $ac_try) 2>&5
20514   ac_status=$?
20515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516   (exit $ac_status); }; } &&
20517          { ac_try='test -s conftest$ac_exeext'
20518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519   (eval $ac_try) 2>&5
20520   ac_status=$?
20521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522   (exit $ac_status); }; }; then
20523   ac_cv_lib_m_atanl=yes
20524 else
20525   echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.$ac_ext >&5
20527
20528 ac_cv_lib_m_atanl=no
20529 fi
20530 rm -f conftest.err conftest.$ac_objext \
20531       conftest$ac_exeext conftest.$ac_ext
20532 LIBS=$ac_check_lib_save_LIBS
20533 fi
20534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20535 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20536 if test $ac_cv_lib_m_atanl = yes; then
20537
20538 cat >>confdefs.h <<\_ACEOF
20539 #define HAVE_ATANL 1
20540 _ACEOF
20541
20542 fi
20543
20544 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20545 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20546 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20547   echo $ECHO_N "(cached) $ECHO_C" >&6
20548 else
20549   ac_check_lib_save_LIBS=$LIBS
20550 LIBS="-lm  $LIBS"
20551 if test x$gcc_no_link = xyes; then
20552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20554    { (exit 1); exit 1; }; }
20555 fi
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h.  */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h.  */
20562
20563 /* Override any gcc2 internal prototype to avoid an error.  */
20564 #ifdef __cplusplus
20565 extern "C"
20566 #endif
20567 /* We use char because int might match the return type of a gcc2
20568    builtin and then its argument prototype would still apply.  */
20569 char atanhf ();
20570 int
20571 main ()
20572 {
20573 atanhf ();
20574   ;
20575   return 0;
20576 }
20577 _ACEOF
20578 rm -f conftest.$ac_objext conftest$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580   (eval $ac_link) 2>conftest.er1
20581   ac_status=$?
20582   grep -v '^ *+' conftest.er1 >conftest.err
20583   rm -f conftest.er1
20584   cat conftest.err >&5
20585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586   (exit $ac_status); } &&
20587          { ac_try='test -z "$ac_c_werror_flag"
20588                          || test ! -s conftest.err'
20589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590   (eval $ac_try) 2>&5
20591   ac_status=$?
20592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593   (exit $ac_status); }; } &&
20594          { ac_try='test -s conftest$ac_exeext'
20595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596   (eval $ac_try) 2>&5
20597   ac_status=$?
20598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599   (exit $ac_status); }; }; then
20600   ac_cv_lib_m_atanhf=yes
20601 else
20602   echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 ac_cv_lib_m_atanhf=no
20606 fi
20607 rm -f conftest.err conftest.$ac_objext \
20608       conftest$ac_exeext conftest.$ac_ext
20609 LIBS=$ac_check_lib_save_LIBS
20610 fi
20611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20612 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20613 if test $ac_cv_lib_m_atanhf = yes; then
20614
20615 cat >>confdefs.h <<\_ACEOF
20616 #define HAVE_ATANHF 1
20617 _ACEOF
20618
20619 fi
20620
20621 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20622 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20623 if test "${ac_cv_lib_m_atanh+set}" = set; then
20624   echo $ECHO_N "(cached) $ECHO_C" >&6
20625 else
20626   ac_check_lib_save_LIBS=$LIBS
20627 LIBS="-lm  $LIBS"
20628 if test x$gcc_no_link = xyes; then
20629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20631    { (exit 1); exit 1; }; }
20632 fi
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h.  */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h.  */
20639
20640 /* Override any gcc2 internal prototype to avoid an error.  */
20641 #ifdef __cplusplus
20642 extern "C"
20643 #endif
20644 /* We use char because int might match the return type of a gcc2
20645    builtin and then its argument prototype would still apply.  */
20646 char atanh ();
20647 int
20648 main ()
20649 {
20650 atanh ();
20651   ;
20652   return 0;
20653 }
20654 _ACEOF
20655 rm -f conftest.$ac_objext conftest$ac_exeext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20657   (eval $ac_link) 2>conftest.er1
20658   ac_status=$?
20659   grep -v '^ *+' conftest.er1 >conftest.err
20660   rm -f conftest.er1
20661   cat conftest.err >&5
20662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663   (exit $ac_status); } &&
20664          { ac_try='test -z "$ac_c_werror_flag"
20665                          || test ! -s conftest.err'
20666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667   (eval $ac_try) 2>&5
20668   ac_status=$?
20669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670   (exit $ac_status); }; } &&
20671          { ac_try='test -s conftest$ac_exeext'
20672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673   (eval $ac_try) 2>&5
20674   ac_status=$?
20675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676   (exit $ac_status); }; }; then
20677   ac_cv_lib_m_atanh=yes
20678 else
20679   echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20681
20682 ac_cv_lib_m_atanh=no
20683 fi
20684 rm -f conftest.err conftest.$ac_objext \
20685       conftest$ac_exeext conftest.$ac_ext
20686 LIBS=$ac_check_lib_save_LIBS
20687 fi
20688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20689 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20690 if test $ac_cv_lib_m_atanh = yes; then
20691
20692 cat >>confdefs.h <<\_ACEOF
20693 #define HAVE_ATANH 1
20694 _ACEOF
20695
20696 fi
20697
20698 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20699 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20700 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20701   echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20703   ac_check_lib_save_LIBS=$LIBS
20704 LIBS="-lm  $LIBS"
20705 if test x$gcc_no_link = xyes; then
20706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20708    { (exit 1); exit 1; }; }
20709 fi
20710 cat >conftest.$ac_ext <<_ACEOF
20711 /* confdefs.h.  */
20712 _ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h.  */
20716
20717 /* Override any gcc2 internal prototype to avoid an error.  */
20718 #ifdef __cplusplus
20719 extern "C"
20720 #endif
20721 /* We use char because int might match the return type of a gcc2
20722    builtin and then its argument prototype would still apply.  */
20723 char atanhl ();
20724 int
20725 main ()
20726 {
20727 atanhl ();
20728   ;
20729   return 0;
20730 }
20731 _ACEOF
20732 rm -f conftest.$ac_objext conftest$ac_exeext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734   (eval $ac_link) 2>conftest.er1
20735   ac_status=$?
20736   grep -v '^ *+' conftest.er1 >conftest.err
20737   rm -f conftest.er1
20738   cat conftest.err >&5
20739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740   (exit $ac_status); } &&
20741          { ac_try='test -z "$ac_c_werror_flag"
20742                          || test ! -s conftest.err'
20743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744   (eval $ac_try) 2>&5
20745   ac_status=$?
20746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747   (exit $ac_status); }; } &&
20748          { ac_try='test -s conftest$ac_exeext'
20749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750   (eval $ac_try) 2>&5
20751   ac_status=$?
20752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753   (exit $ac_status); }; }; then
20754   ac_cv_lib_m_atanhl=yes
20755 else
20756   echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20758
20759 ac_cv_lib_m_atanhl=no
20760 fi
20761 rm -f conftest.err conftest.$ac_objext \
20762       conftest$ac_exeext conftest.$ac_ext
20763 LIBS=$ac_check_lib_save_LIBS
20764 fi
20765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20766 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20767 if test $ac_cv_lib_m_atanhl = yes; then
20768
20769 cat >>confdefs.h <<\_ACEOF
20770 #define HAVE_ATANHL 1
20771 _ACEOF
20772
20773 fi
20774
20775 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20776 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20777 if test "${ac_cv_lib_m_cargf+set}" = set; then
20778   echo $ECHO_N "(cached) $ECHO_C" >&6
20779 else
20780   ac_check_lib_save_LIBS=$LIBS
20781 LIBS="-lm  $LIBS"
20782 if test x$gcc_no_link = xyes; then
20783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20785    { (exit 1); exit 1; }; }
20786 fi
20787 cat >conftest.$ac_ext <<_ACEOF
20788 /* confdefs.h.  */
20789 _ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h.  */
20793
20794 /* Override any gcc2 internal prototype to avoid an error.  */
20795 #ifdef __cplusplus
20796 extern "C"
20797 #endif
20798 /* We use char because int might match the return type of a gcc2
20799    builtin and then its argument prototype would still apply.  */
20800 char cargf ();
20801 int
20802 main ()
20803 {
20804 cargf ();
20805   ;
20806   return 0;
20807 }
20808 _ACEOF
20809 rm -f conftest.$ac_objext conftest$ac_exeext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20811   (eval $ac_link) 2>conftest.er1
20812   ac_status=$?
20813   grep -v '^ *+' conftest.er1 >conftest.err
20814   rm -f conftest.er1
20815   cat conftest.err >&5
20816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817   (exit $ac_status); } &&
20818          { ac_try='test -z "$ac_c_werror_flag"
20819                          || test ! -s conftest.err'
20820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821   (eval $ac_try) 2>&5
20822   ac_status=$?
20823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824   (exit $ac_status); }; } &&
20825          { ac_try='test -s conftest$ac_exeext'
20826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827   (eval $ac_try) 2>&5
20828   ac_status=$?
20829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830   (exit $ac_status); }; }; then
20831   ac_cv_lib_m_cargf=yes
20832 else
20833   echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_cv_lib_m_cargf=no
20837 fi
20838 rm -f conftest.err conftest.$ac_objext \
20839       conftest$ac_exeext conftest.$ac_ext
20840 LIBS=$ac_check_lib_save_LIBS
20841 fi
20842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20843 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20844 if test $ac_cv_lib_m_cargf = yes; then
20845
20846 cat >>confdefs.h <<\_ACEOF
20847 #define HAVE_CARGF 1
20848 _ACEOF
20849
20850 fi
20851
20852 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20853 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20854 if test "${ac_cv_lib_m_carg+set}" = set; then
20855   echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20857   ac_check_lib_save_LIBS=$LIBS
20858 LIBS="-lm  $LIBS"
20859 if test x$gcc_no_link = xyes; then
20860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20862    { (exit 1); exit 1; }; }
20863 fi
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h.  */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h.  */
20870
20871 /* Override any gcc2 internal prototype to avoid an error.  */
20872 #ifdef __cplusplus
20873 extern "C"
20874 #endif
20875 /* We use char because int might match the return type of a gcc2
20876    builtin and then its argument prototype would still apply.  */
20877 char carg ();
20878 int
20879 main ()
20880 {
20881 carg ();
20882   ;
20883   return 0;
20884 }
20885 _ACEOF
20886 rm -f conftest.$ac_objext conftest$ac_exeext
20887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20888   (eval $ac_link) 2>conftest.er1
20889   ac_status=$?
20890   grep -v '^ *+' conftest.er1 >conftest.err
20891   rm -f conftest.er1
20892   cat conftest.err >&5
20893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894   (exit $ac_status); } &&
20895          { ac_try='test -z "$ac_c_werror_flag"
20896                          || test ! -s conftest.err'
20897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898   (eval $ac_try) 2>&5
20899   ac_status=$?
20900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901   (exit $ac_status); }; } &&
20902          { ac_try='test -s conftest$ac_exeext'
20903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904   (eval $ac_try) 2>&5
20905   ac_status=$?
20906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907   (exit $ac_status); }; }; then
20908   ac_cv_lib_m_carg=yes
20909 else
20910   echo "$as_me: failed program was:" >&5
20911 sed 's/^/| /' conftest.$ac_ext >&5
20912
20913 ac_cv_lib_m_carg=no
20914 fi
20915 rm -f conftest.err conftest.$ac_objext \
20916       conftest$ac_exeext conftest.$ac_ext
20917 LIBS=$ac_check_lib_save_LIBS
20918 fi
20919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20920 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20921 if test $ac_cv_lib_m_carg = yes; then
20922
20923 cat >>confdefs.h <<\_ACEOF
20924 #define HAVE_CARG 1
20925 _ACEOF
20926
20927 fi
20928
20929 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20930 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20931 if test "${ac_cv_lib_m_cargl+set}" = set; then
20932   echo $ECHO_N "(cached) $ECHO_C" >&6
20933 else
20934   ac_check_lib_save_LIBS=$LIBS
20935 LIBS="-lm  $LIBS"
20936 if test x$gcc_no_link = xyes; then
20937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20939    { (exit 1); exit 1; }; }
20940 fi
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h.  */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h.  */
20947
20948 /* Override any gcc2 internal prototype to avoid an error.  */
20949 #ifdef __cplusplus
20950 extern "C"
20951 #endif
20952 /* We use char because int might match the return type of a gcc2
20953    builtin and then its argument prototype would still apply.  */
20954 char cargl ();
20955 int
20956 main ()
20957 {
20958 cargl ();
20959   ;
20960   return 0;
20961 }
20962 _ACEOF
20963 rm -f conftest.$ac_objext conftest$ac_exeext
20964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965   (eval $ac_link) 2>conftest.er1
20966   ac_status=$?
20967   grep -v '^ *+' conftest.er1 >conftest.err
20968   rm -f conftest.er1
20969   cat conftest.err >&5
20970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971   (exit $ac_status); } &&
20972          { ac_try='test -z "$ac_c_werror_flag"
20973                          || test ! -s conftest.err'
20974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975   (eval $ac_try) 2>&5
20976   ac_status=$?
20977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978   (exit $ac_status); }; } &&
20979          { ac_try='test -s conftest$ac_exeext'
20980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981   (eval $ac_try) 2>&5
20982   ac_status=$?
20983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984   (exit $ac_status); }; }; then
20985   ac_cv_lib_m_cargl=yes
20986 else
20987   echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.$ac_ext >&5
20989
20990 ac_cv_lib_m_cargl=no
20991 fi
20992 rm -f conftest.err conftest.$ac_objext \
20993       conftest$ac_exeext conftest.$ac_ext
20994 LIBS=$ac_check_lib_save_LIBS
20995 fi
20996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
20997 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
20998 if test $ac_cv_lib_m_cargl = yes; then
20999
21000 cat >>confdefs.h <<\_ACEOF
21001 #define HAVE_CARGL 1
21002 _ACEOF
21003
21004 fi
21005
21006 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21007 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21008 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21009   echo $ECHO_N "(cached) $ECHO_C" >&6
21010 else
21011   ac_check_lib_save_LIBS=$LIBS
21012 LIBS="-lm  $LIBS"
21013 if test x$gcc_no_link = xyes; then
21014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21016    { (exit 1); exit 1; }; }
21017 fi
21018 cat >conftest.$ac_ext <<_ACEOF
21019 /* confdefs.h.  */
21020 _ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h.  */
21024
21025 /* Override any gcc2 internal prototype to avoid an error.  */
21026 #ifdef __cplusplus
21027 extern "C"
21028 #endif
21029 /* We use char because int might match the return type of a gcc2
21030    builtin and then its argument prototype would still apply.  */
21031 char ceilf ();
21032 int
21033 main ()
21034 {
21035 ceilf ();
21036   ;
21037   return 0;
21038 }
21039 _ACEOF
21040 rm -f conftest.$ac_objext conftest$ac_exeext
21041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21042   (eval $ac_link) 2>conftest.er1
21043   ac_status=$?
21044   grep -v '^ *+' conftest.er1 >conftest.err
21045   rm -f conftest.er1
21046   cat conftest.err >&5
21047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048   (exit $ac_status); } &&
21049          { ac_try='test -z "$ac_c_werror_flag"
21050                          || test ! -s conftest.err'
21051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052   (eval $ac_try) 2>&5
21053   ac_status=$?
21054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055   (exit $ac_status); }; } &&
21056          { ac_try='test -s conftest$ac_exeext'
21057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058   (eval $ac_try) 2>&5
21059   ac_status=$?
21060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061   (exit $ac_status); }; }; then
21062   ac_cv_lib_m_ceilf=yes
21063 else
21064   echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21066
21067 ac_cv_lib_m_ceilf=no
21068 fi
21069 rm -f conftest.err conftest.$ac_objext \
21070       conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21072 fi
21073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21074 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21075 if test $ac_cv_lib_m_ceilf = yes; then
21076
21077 cat >>confdefs.h <<\_ACEOF
21078 #define HAVE_CEILF 1
21079 _ACEOF
21080
21081 fi
21082
21083 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21084 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21085 if test "${ac_cv_lib_m_ceil+set}" = set; then
21086   echo $ECHO_N "(cached) $ECHO_C" >&6
21087 else
21088   ac_check_lib_save_LIBS=$LIBS
21089 LIBS="-lm  $LIBS"
21090 if test x$gcc_no_link = xyes; then
21091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21093    { (exit 1); exit 1; }; }
21094 fi
21095 cat >conftest.$ac_ext <<_ACEOF
21096 /* confdefs.h.  */
21097 _ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h.  */
21101
21102 /* Override any gcc2 internal prototype to avoid an error.  */
21103 #ifdef __cplusplus
21104 extern "C"
21105 #endif
21106 /* We use char because int might match the return type of a gcc2
21107    builtin and then its argument prototype would still apply.  */
21108 char ceil ();
21109 int
21110 main ()
21111 {
21112 ceil ();
21113   ;
21114   return 0;
21115 }
21116 _ACEOF
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21119   (eval $ac_link) 2>conftest.er1
21120   ac_status=$?
21121   grep -v '^ *+' conftest.er1 >conftest.err
21122   rm -f conftest.er1
21123   cat conftest.err >&5
21124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125   (exit $ac_status); } &&
21126          { ac_try='test -z "$ac_c_werror_flag"
21127                          || test ! -s conftest.err'
21128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129   (eval $ac_try) 2>&5
21130   ac_status=$?
21131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132   (exit $ac_status); }; } &&
21133          { ac_try='test -s conftest$ac_exeext'
21134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135   (eval $ac_try) 2>&5
21136   ac_status=$?
21137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138   (exit $ac_status); }; }; then
21139   ac_cv_lib_m_ceil=yes
21140 else
21141   echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 ac_cv_lib_m_ceil=no
21145 fi
21146 rm -f conftest.err conftest.$ac_objext \
21147       conftest$ac_exeext conftest.$ac_ext
21148 LIBS=$ac_check_lib_save_LIBS
21149 fi
21150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21151 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21152 if test $ac_cv_lib_m_ceil = yes; then
21153
21154 cat >>confdefs.h <<\_ACEOF
21155 #define HAVE_CEIL 1
21156 _ACEOF
21157
21158 fi
21159
21160 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21161 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21162 if test "${ac_cv_lib_m_ceill+set}" = set; then
21163   echo $ECHO_N "(cached) $ECHO_C" >&6
21164 else
21165   ac_check_lib_save_LIBS=$LIBS
21166 LIBS="-lm  $LIBS"
21167 if test x$gcc_no_link = xyes; then
21168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21170    { (exit 1); exit 1; }; }
21171 fi
21172 cat >conftest.$ac_ext <<_ACEOF
21173 /* confdefs.h.  */
21174 _ACEOF
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h.  */
21178
21179 /* Override any gcc2 internal prototype to avoid an error.  */
21180 #ifdef __cplusplus
21181 extern "C"
21182 #endif
21183 /* We use char because int might match the return type of a gcc2
21184    builtin and then its argument prototype would still apply.  */
21185 char ceill ();
21186 int
21187 main ()
21188 {
21189 ceill ();
21190   ;
21191   return 0;
21192 }
21193 _ACEOF
21194 rm -f conftest.$ac_objext conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196   (eval $ac_link) 2>conftest.er1
21197   ac_status=$?
21198   grep -v '^ *+' conftest.er1 >conftest.err
21199   rm -f conftest.er1
21200   cat conftest.err >&5
21201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202   (exit $ac_status); } &&
21203          { ac_try='test -z "$ac_c_werror_flag"
21204                          || test ! -s conftest.err'
21205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206   (eval $ac_try) 2>&5
21207   ac_status=$?
21208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209   (exit $ac_status); }; } &&
21210          { ac_try='test -s conftest$ac_exeext'
21211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212   (eval $ac_try) 2>&5
21213   ac_status=$?
21214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215   (exit $ac_status); }; }; then
21216   ac_cv_lib_m_ceill=yes
21217 else
21218   echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21220
21221 ac_cv_lib_m_ceill=no
21222 fi
21223 rm -f conftest.err conftest.$ac_objext \
21224       conftest$ac_exeext conftest.$ac_ext
21225 LIBS=$ac_check_lib_save_LIBS
21226 fi
21227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21228 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21229 if test $ac_cv_lib_m_ceill = yes; then
21230
21231 cat >>confdefs.h <<\_ACEOF
21232 #define HAVE_CEILL 1
21233 _ACEOF
21234
21235 fi
21236
21237 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21238 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21239 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21240   echo $ECHO_N "(cached) $ECHO_C" >&6
21241 else
21242   ac_check_lib_save_LIBS=$LIBS
21243 LIBS="-lm  $LIBS"
21244 if test x$gcc_no_link = xyes; then
21245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21247    { (exit 1); exit 1; }; }
21248 fi
21249 cat >conftest.$ac_ext <<_ACEOF
21250 /* confdefs.h.  */
21251 _ACEOF
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h.  */
21255
21256 /* Override any gcc2 internal prototype to avoid an error.  */
21257 #ifdef __cplusplus
21258 extern "C"
21259 #endif
21260 /* We use char because int might match the return type of a gcc2
21261    builtin and then its argument prototype would still apply.  */
21262 char copysignf ();
21263 int
21264 main ()
21265 {
21266 copysignf ();
21267   ;
21268   return 0;
21269 }
21270 _ACEOF
21271 rm -f conftest.$ac_objext conftest$ac_exeext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21273   (eval $ac_link) 2>conftest.er1
21274   ac_status=$?
21275   grep -v '^ *+' conftest.er1 >conftest.err
21276   rm -f conftest.er1
21277   cat conftest.err >&5
21278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279   (exit $ac_status); } &&
21280          { ac_try='test -z "$ac_c_werror_flag"
21281                          || test ! -s conftest.err'
21282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283   (eval $ac_try) 2>&5
21284   ac_status=$?
21285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286   (exit $ac_status); }; } &&
21287          { ac_try='test -s conftest$ac_exeext'
21288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289   (eval $ac_try) 2>&5
21290   ac_status=$?
21291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292   (exit $ac_status); }; }; then
21293   ac_cv_lib_m_copysignf=yes
21294 else
21295   echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 ac_cv_lib_m_copysignf=no
21299 fi
21300 rm -f conftest.err conftest.$ac_objext \
21301       conftest$ac_exeext conftest.$ac_ext
21302 LIBS=$ac_check_lib_save_LIBS
21303 fi
21304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21305 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21306 if test $ac_cv_lib_m_copysignf = yes; then
21307
21308 cat >>confdefs.h <<\_ACEOF
21309 #define HAVE_COPYSIGNF 1
21310 _ACEOF
21311
21312 fi
21313
21314 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21315 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21316 if test "${ac_cv_lib_m_copysign+set}" = set; then
21317   echo $ECHO_N "(cached) $ECHO_C" >&6
21318 else
21319   ac_check_lib_save_LIBS=$LIBS
21320 LIBS="-lm  $LIBS"
21321 if test x$gcc_no_link = xyes; then
21322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21324    { (exit 1); exit 1; }; }
21325 fi
21326 cat >conftest.$ac_ext <<_ACEOF
21327 /* confdefs.h.  */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h.  */
21332
21333 /* Override any gcc2 internal prototype to avoid an error.  */
21334 #ifdef __cplusplus
21335 extern "C"
21336 #endif
21337 /* We use char because int might match the return type of a gcc2
21338    builtin and then its argument prototype would still apply.  */
21339 char copysign ();
21340 int
21341 main ()
21342 {
21343 copysign ();
21344   ;
21345   return 0;
21346 }
21347 _ACEOF
21348 rm -f conftest.$ac_objext conftest$ac_exeext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21350   (eval $ac_link) 2>conftest.er1
21351   ac_status=$?
21352   grep -v '^ *+' conftest.er1 >conftest.err
21353   rm -f conftest.er1
21354   cat conftest.err >&5
21355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356   (exit $ac_status); } &&
21357          { ac_try='test -z "$ac_c_werror_flag"
21358                          || test ! -s conftest.err'
21359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360   (eval $ac_try) 2>&5
21361   ac_status=$?
21362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363   (exit $ac_status); }; } &&
21364          { ac_try='test -s conftest$ac_exeext'
21365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366   (eval $ac_try) 2>&5
21367   ac_status=$?
21368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369   (exit $ac_status); }; }; then
21370   ac_cv_lib_m_copysign=yes
21371 else
21372   echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 ac_cv_lib_m_copysign=no
21376 fi
21377 rm -f conftest.err conftest.$ac_objext \
21378       conftest$ac_exeext conftest.$ac_ext
21379 LIBS=$ac_check_lib_save_LIBS
21380 fi
21381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21382 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21383 if test $ac_cv_lib_m_copysign = yes; then
21384
21385 cat >>confdefs.h <<\_ACEOF
21386 #define HAVE_COPYSIGN 1
21387 _ACEOF
21388
21389 fi
21390
21391 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21392 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21393 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21394   echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21396   ac_check_lib_save_LIBS=$LIBS
21397 LIBS="-lm  $LIBS"
21398 if test x$gcc_no_link = xyes; then
21399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21401    { (exit 1); exit 1; }; }
21402 fi
21403 cat >conftest.$ac_ext <<_ACEOF
21404 /* confdefs.h.  */
21405 _ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h.  */
21409
21410 /* Override any gcc2 internal prototype to avoid an error.  */
21411 #ifdef __cplusplus
21412 extern "C"
21413 #endif
21414 /* We use char because int might match the return type of a gcc2
21415    builtin and then its argument prototype would still apply.  */
21416 char copysignl ();
21417 int
21418 main ()
21419 {
21420 copysignl ();
21421   ;
21422   return 0;
21423 }
21424 _ACEOF
21425 rm -f conftest.$ac_objext conftest$ac_exeext
21426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21427   (eval $ac_link) 2>conftest.er1
21428   ac_status=$?
21429   grep -v '^ *+' conftest.er1 >conftest.err
21430   rm -f conftest.er1
21431   cat conftest.err >&5
21432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433   (exit $ac_status); } &&
21434          { ac_try='test -z "$ac_c_werror_flag"
21435                          || test ! -s conftest.err'
21436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437   (eval $ac_try) 2>&5
21438   ac_status=$?
21439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440   (exit $ac_status); }; } &&
21441          { ac_try='test -s conftest$ac_exeext'
21442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443   (eval $ac_try) 2>&5
21444   ac_status=$?
21445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446   (exit $ac_status); }; }; then
21447   ac_cv_lib_m_copysignl=yes
21448 else
21449   echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 ac_cv_lib_m_copysignl=no
21453 fi
21454 rm -f conftest.err conftest.$ac_objext \
21455       conftest$ac_exeext conftest.$ac_ext
21456 LIBS=$ac_check_lib_save_LIBS
21457 fi
21458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21459 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21460 if test $ac_cv_lib_m_copysignl = yes; then
21461
21462 cat >>confdefs.h <<\_ACEOF
21463 #define HAVE_COPYSIGNL 1
21464 _ACEOF
21465
21466 fi
21467
21468 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21469 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21470 if test "${ac_cv_lib_m_cosf+set}" = set; then
21471   echo $ECHO_N "(cached) $ECHO_C" >&6
21472 else
21473   ac_check_lib_save_LIBS=$LIBS
21474 LIBS="-lm  $LIBS"
21475 if test x$gcc_no_link = xyes; then
21476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21478    { (exit 1); exit 1; }; }
21479 fi
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h.  */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h.  */
21486
21487 /* Override any gcc2 internal prototype to avoid an error.  */
21488 #ifdef __cplusplus
21489 extern "C"
21490 #endif
21491 /* We use char because int might match the return type of a gcc2
21492    builtin and then its argument prototype would still apply.  */
21493 char cosf ();
21494 int
21495 main ()
21496 {
21497 cosf ();
21498   ;
21499   return 0;
21500 }
21501 _ACEOF
21502 rm -f conftest.$ac_objext conftest$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504   (eval $ac_link) 2>conftest.er1
21505   ac_status=$?
21506   grep -v '^ *+' conftest.er1 >conftest.err
21507   rm -f conftest.er1
21508   cat conftest.err >&5
21509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510   (exit $ac_status); } &&
21511          { ac_try='test -z "$ac_c_werror_flag"
21512                          || test ! -s conftest.err'
21513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514   (eval $ac_try) 2>&5
21515   ac_status=$?
21516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517   (exit $ac_status); }; } &&
21518          { ac_try='test -s conftest$ac_exeext'
21519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520   (eval $ac_try) 2>&5
21521   ac_status=$?
21522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523   (exit $ac_status); }; }; then
21524   ac_cv_lib_m_cosf=yes
21525 else
21526   echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 ac_cv_lib_m_cosf=no
21530 fi
21531 rm -f conftest.err conftest.$ac_objext \
21532       conftest$ac_exeext conftest.$ac_ext
21533 LIBS=$ac_check_lib_save_LIBS
21534 fi
21535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21536 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21537 if test $ac_cv_lib_m_cosf = yes; then
21538
21539 cat >>confdefs.h <<\_ACEOF
21540 #define HAVE_COSF 1
21541 _ACEOF
21542
21543 fi
21544
21545 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21546 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21547 if test "${ac_cv_lib_m_cos+set}" = set; then
21548   echo $ECHO_N "(cached) $ECHO_C" >&6
21549 else
21550   ac_check_lib_save_LIBS=$LIBS
21551 LIBS="-lm  $LIBS"
21552 if test x$gcc_no_link = xyes; then
21553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21555    { (exit 1); exit 1; }; }
21556 fi
21557 cat >conftest.$ac_ext <<_ACEOF
21558 /* confdefs.h.  */
21559 _ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h.  */
21563
21564 /* Override any gcc2 internal prototype to avoid an error.  */
21565 #ifdef __cplusplus
21566 extern "C"
21567 #endif
21568 /* We use char because int might match the return type of a gcc2
21569    builtin and then its argument prototype would still apply.  */
21570 char cos ();
21571 int
21572 main ()
21573 {
21574 cos ();
21575   ;
21576   return 0;
21577 }
21578 _ACEOF
21579 rm -f conftest.$ac_objext conftest$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581   (eval $ac_link) 2>conftest.er1
21582   ac_status=$?
21583   grep -v '^ *+' conftest.er1 >conftest.err
21584   rm -f conftest.er1
21585   cat conftest.err >&5
21586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587   (exit $ac_status); } &&
21588          { ac_try='test -z "$ac_c_werror_flag"
21589                          || test ! -s conftest.err'
21590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591   (eval $ac_try) 2>&5
21592   ac_status=$?
21593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594   (exit $ac_status); }; } &&
21595          { ac_try='test -s conftest$ac_exeext'
21596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597   (eval $ac_try) 2>&5
21598   ac_status=$?
21599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600   (exit $ac_status); }; }; then
21601   ac_cv_lib_m_cos=yes
21602 else
21603   echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21605
21606 ac_cv_lib_m_cos=no
21607 fi
21608 rm -f conftest.err conftest.$ac_objext \
21609       conftest$ac_exeext conftest.$ac_ext
21610 LIBS=$ac_check_lib_save_LIBS
21611 fi
21612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21613 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21614 if test $ac_cv_lib_m_cos = yes; then
21615
21616 cat >>confdefs.h <<\_ACEOF
21617 #define HAVE_COS 1
21618 _ACEOF
21619
21620 fi
21621
21622 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21623 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21624 if test "${ac_cv_lib_m_cosl+set}" = set; then
21625   echo $ECHO_N "(cached) $ECHO_C" >&6
21626 else
21627   ac_check_lib_save_LIBS=$LIBS
21628 LIBS="-lm  $LIBS"
21629 if test x$gcc_no_link = xyes; then
21630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21632    { (exit 1); exit 1; }; }
21633 fi
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h.  */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h.  */
21640
21641 /* Override any gcc2 internal prototype to avoid an error.  */
21642 #ifdef __cplusplus
21643 extern "C"
21644 #endif
21645 /* We use char because int might match the return type of a gcc2
21646    builtin and then its argument prototype would still apply.  */
21647 char cosl ();
21648 int
21649 main ()
21650 {
21651 cosl ();
21652   ;
21653   return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext conftest$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658   (eval $ac_link) 2>conftest.er1
21659   ac_status=$?
21660   grep -v '^ *+' conftest.er1 >conftest.err
21661   rm -f conftest.er1
21662   cat conftest.err >&5
21663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664   (exit $ac_status); } &&
21665          { ac_try='test -z "$ac_c_werror_flag"
21666                          || test ! -s conftest.err'
21667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668   (eval $ac_try) 2>&5
21669   ac_status=$?
21670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671   (exit $ac_status); }; } &&
21672          { ac_try='test -s conftest$ac_exeext'
21673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674   (eval $ac_try) 2>&5
21675   ac_status=$?
21676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677   (exit $ac_status); }; }; then
21678   ac_cv_lib_m_cosl=yes
21679 else
21680   echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 ac_cv_lib_m_cosl=no
21684 fi
21685 rm -f conftest.err conftest.$ac_objext \
21686       conftest$ac_exeext conftest.$ac_ext
21687 LIBS=$ac_check_lib_save_LIBS
21688 fi
21689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21690 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21691 if test $ac_cv_lib_m_cosl = yes; then
21692
21693 cat >>confdefs.h <<\_ACEOF
21694 #define HAVE_COSL 1
21695 _ACEOF
21696
21697 fi
21698
21699 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21700 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21701 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21702   echo $ECHO_N "(cached) $ECHO_C" >&6
21703 else
21704   ac_check_lib_save_LIBS=$LIBS
21705 LIBS="-lm  $LIBS"
21706 if test x$gcc_no_link = xyes; then
21707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21709    { (exit 1); exit 1; }; }
21710 fi
21711 cat >conftest.$ac_ext <<_ACEOF
21712 /* confdefs.h.  */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h.  */
21717
21718 /* Override any gcc2 internal prototype to avoid an error.  */
21719 #ifdef __cplusplus
21720 extern "C"
21721 #endif
21722 /* We use char because int might match the return type of a gcc2
21723    builtin and then its argument prototype would still apply.  */
21724 char ccosf ();
21725 int
21726 main ()
21727 {
21728 ccosf ();
21729   ;
21730   return 0;
21731 }
21732 _ACEOF
21733 rm -f conftest.$ac_objext conftest$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735   (eval $ac_link) 2>conftest.er1
21736   ac_status=$?
21737   grep -v '^ *+' conftest.er1 >conftest.err
21738   rm -f conftest.er1
21739   cat conftest.err >&5
21740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741   (exit $ac_status); } &&
21742          { ac_try='test -z "$ac_c_werror_flag"
21743                          || test ! -s conftest.err'
21744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745   (eval $ac_try) 2>&5
21746   ac_status=$?
21747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748   (exit $ac_status); }; } &&
21749          { ac_try='test -s conftest$ac_exeext'
21750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751   (eval $ac_try) 2>&5
21752   ac_status=$?
21753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754   (exit $ac_status); }; }; then
21755   ac_cv_lib_m_ccosf=yes
21756 else
21757   echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21759
21760 ac_cv_lib_m_ccosf=no
21761 fi
21762 rm -f conftest.err conftest.$ac_objext \
21763       conftest$ac_exeext conftest.$ac_ext
21764 LIBS=$ac_check_lib_save_LIBS
21765 fi
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21767 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21768 if test $ac_cv_lib_m_ccosf = yes; then
21769
21770 cat >>confdefs.h <<\_ACEOF
21771 #define HAVE_CCOSF 1
21772 _ACEOF
21773
21774 fi
21775
21776 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21777 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21778 if test "${ac_cv_lib_m_ccos+set}" = set; then
21779   echo $ECHO_N "(cached) $ECHO_C" >&6
21780 else
21781   ac_check_lib_save_LIBS=$LIBS
21782 LIBS="-lm  $LIBS"
21783 if test x$gcc_no_link = xyes; then
21784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21786    { (exit 1); exit 1; }; }
21787 fi
21788 cat >conftest.$ac_ext <<_ACEOF
21789 /* confdefs.h.  */
21790 _ACEOF
21791 cat confdefs.h >>conftest.$ac_ext
21792 cat >>conftest.$ac_ext <<_ACEOF
21793 /* end confdefs.h.  */
21794
21795 /* Override any gcc2 internal prototype to avoid an error.  */
21796 #ifdef __cplusplus
21797 extern "C"
21798 #endif
21799 /* We use char because int might match the return type of a gcc2
21800    builtin and then its argument prototype would still apply.  */
21801 char ccos ();
21802 int
21803 main ()
21804 {
21805 ccos ();
21806   ;
21807   return 0;
21808 }
21809 _ACEOF
21810 rm -f conftest.$ac_objext conftest$ac_exeext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21812   (eval $ac_link) 2>conftest.er1
21813   ac_status=$?
21814   grep -v '^ *+' conftest.er1 >conftest.err
21815   rm -f conftest.er1
21816   cat conftest.err >&5
21817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818   (exit $ac_status); } &&
21819          { ac_try='test -z "$ac_c_werror_flag"
21820                          || test ! -s conftest.err'
21821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822   (eval $ac_try) 2>&5
21823   ac_status=$?
21824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825   (exit $ac_status); }; } &&
21826          { ac_try='test -s conftest$ac_exeext'
21827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828   (eval $ac_try) 2>&5
21829   ac_status=$?
21830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831   (exit $ac_status); }; }; then
21832   ac_cv_lib_m_ccos=yes
21833 else
21834   echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 ac_cv_lib_m_ccos=no
21838 fi
21839 rm -f conftest.err conftest.$ac_objext \
21840       conftest$ac_exeext conftest.$ac_ext
21841 LIBS=$ac_check_lib_save_LIBS
21842 fi
21843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21844 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21845 if test $ac_cv_lib_m_ccos = yes; then
21846
21847 cat >>confdefs.h <<\_ACEOF
21848 #define HAVE_CCOS 1
21849 _ACEOF
21850
21851 fi
21852
21853 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21854 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21855 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21856   echo $ECHO_N "(cached) $ECHO_C" >&6
21857 else
21858   ac_check_lib_save_LIBS=$LIBS
21859 LIBS="-lm  $LIBS"
21860 if test x$gcc_no_link = xyes; then
21861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21863    { (exit 1); exit 1; }; }
21864 fi
21865 cat >conftest.$ac_ext <<_ACEOF
21866 /* confdefs.h.  */
21867 _ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h.  */
21871
21872 /* Override any gcc2 internal prototype to avoid an error.  */
21873 #ifdef __cplusplus
21874 extern "C"
21875 #endif
21876 /* We use char because int might match the return type of a gcc2
21877    builtin and then its argument prototype would still apply.  */
21878 char ccosl ();
21879 int
21880 main ()
21881 {
21882 ccosl ();
21883   ;
21884   return 0;
21885 }
21886 _ACEOF
21887 rm -f conftest.$ac_objext conftest$ac_exeext
21888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21889   (eval $ac_link) 2>conftest.er1
21890   ac_status=$?
21891   grep -v '^ *+' conftest.er1 >conftest.err
21892   rm -f conftest.er1
21893   cat conftest.err >&5
21894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895   (exit $ac_status); } &&
21896          { ac_try='test -z "$ac_c_werror_flag"
21897                          || test ! -s conftest.err'
21898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899   (eval $ac_try) 2>&5
21900   ac_status=$?
21901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902   (exit $ac_status); }; } &&
21903          { ac_try='test -s conftest$ac_exeext'
21904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905   (eval $ac_try) 2>&5
21906   ac_status=$?
21907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908   (exit $ac_status); }; }; then
21909   ac_cv_lib_m_ccosl=yes
21910 else
21911   echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21913
21914 ac_cv_lib_m_ccosl=no
21915 fi
21916 rm -f conftest.err conftest.$ac_objext \
21917       conftest$ac_exeext conftest.$ac_ext
21918 LIBS=$ac_check_lib_save_LIBS
21919 fi
21920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21921 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21922 if test $ac_cv_lib_m_ccosl = yes; then
21923
21924 cat >>confdefs.h <<\_ACEOF
21925 #define HAVE_CCOSL 1
21926 _ACEOF
21927
21928 fi
21929
21930 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21931 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21932 if test "${ac_cv_lib_m_coshf+set}" = set; then
21933   echo $ECHO_N "(cached) $ECHO_C" >&6
21934 else
21935   ac_check_lib_save_LIBS=$LIBS
21936 LIBS="-lm  $LIBS"
21937 if test x$gcc_no_link = xyes; then
21938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21940    { (exit 1); exit 1; }; }
21941 fi
21942 cat >conftest.$ac_ext <<_ACEOF
21943 /* confdefs.h.  */
21944 _ACEOF
21945 cat confdefs.h >>conftest.$ac_ext
21946 cat >>conftest.$ac_ext <<_ACEOF
21947 /* end confdefs.h.  */
21948
21949 /* Override any gcc2 internal prototype to avoid an error.  */
21950 #ifdef __cplusplus
21951 extern "C"
21952 #endif
21953 /* We use char because int might match the return type of a gcc2
21954    builtin and then its argument prototype would still apply.  */
21955 char coshf ();
21956 int
21957 main ()
21958 {
21959 coshf ();
21960   ;
21961   return 0;
21962 }
21963 _ACEOF
21964 rm -f conftest.$ac_objext conftest$ac_exeext
21965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21966   (eval $ac_link) 2>conftest.er1
21967   ac_status=$?
21968   grep -v '^ *+' conftest.er1 >conftest.err
21969   rm -f conftest.er1
21970   cat conftest.err >&5
21971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972   (exit $ac_status); } &&
21973          { ac_try='test -z "$ac_c_werror_flag"
21974                          || test ! -s conftest.err'
21975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976   (eval $ac_try) 2>&5
21977   ac_status=$?
21978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979   (exit $ac_status); }; } &&
21980          { ac_try='test -s conftest$ac_exeext'
21981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982   (eval $ac_try) 2>&5
21983   ac_status=$?
21984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985   (exit $ac_status); }; }; then
21986   ac_cv_lib_m_coshf=yes
21987 else
21988   echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.$ac_ext >&5
21990
21991 ac_cv_lib_m_coshf=no
21992 fi
21993 rm -f conftest.err conftest.$ac_objext \
21994       conftest$ac_exeext conftest.$ac_ext
21995 LIBS=$ac_check_lib_save_LIBS
21996 fi
21997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
21998 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
21999 if test $ac_cv_lib_m_coshf = yes; then
22000
22001 cat >>confdefs.h <<\_ACEOF
22002 #define HAVE_COSHF 1
22003 _ACEOF
22004
22005 fi
22006
22007 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22008 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22009 if test "${ac_cv_lib_m_cosh+set}" = set; then
22010   echo $ECHO_N "(cached) $ECHO_C" >&6
22011 else
22012   ac_check_lib_save_LIBS=$LIBS
22013 LIBS="-lm  $LIBS"
22014 if test x$gcc_no_link = xyes; then
22015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22017    { (exit 1); exit 1; }; }
22018 fi
22019 cat >conftest.$ac_ext <<_ACEOF
22020 /* confdefs.h.  */
22021 _ACEOF
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h.  */
22025
22026 /* Override any gcc2 internal prototype to avoid an error.  */
22027 #ifdef __cplusplus
22028 extern "C"
22029 #endif
22030 /* We use char because int might match the return type of a gcc2
22031    builtin and then its argument prototype would still apply.  */
22032 char cosh ();
22033 int
22034 main ()
22035 {
22036 cosh ();
22037   ;
22038   return 0;
22039 }
22040 _ACEOF
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043   (eval $ac_link) 2>conftest.er1
22044   ac_status=$?
22045   grep -v '^ *+' conftest.er1 >conftest.err
22046   rm -f conftest.er1
22047   cat conftest.err >&5
22048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049   (exit $ac_status); } &&
22050          { ac_try='test -z "$ac_c_werror_flag"
22051                          || test ! -s conftest.err'
22052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053   (eval $ac_try) 2>&5
22054   ac_status=$?
22055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056   (exit $ac_status); }; } &&
22057          { ac_try='test -s conftest$ac_exeext'
22058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059   (eval $ac_try) 2>&5
22060   ac_status=$?
22061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062   (exit $ac_status); }; }; then
22063   ac_cv_lib_m_cosh=yes
22064 else
22065   echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22067
22068 ac_cv_lib_m_cosh=no
22069 fi
22070 rm -f conftest.err conftest.$ac_objext \
22071       conftest$ac_exeext conftest.$ac_ext
22072 LIBS=$ac_check_lib_save_LIBS
22073 fi
22074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22075 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22076 if test $ac_cv_lib_m_cosh = yes; then
22077
22078 cat >>confdefs.h <<\_ACEOF
22079 #define HAVE_COSH 1
22080 _ACEOF
22081
22082 fi
22083
22084 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22085 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22086 if test "${ac_cv_lib_m_coshl+set}" = set; then
22087   echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089   ac_check_lib_save_LIBS=$LIBS
22090 LIBS="-lm  $LIBS"
22091 if test x$gcc_no_link = xyes; then
22092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22094    { (exit 1); exit 1; }; }
22095 fi
22096 cat >conftest.$ac_ext <<_ACEOF
22097 /* confdefs.h.  */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h.  */
22102
22103 /* Override any gcc2 internal prototype to avoid an error.  */
22104 #ifdef __cplusplus
22105 extern "C"
22106 #endif
22107 /* We use char because int might match the return type of a gcc2
22108    builtin and then its argument prototype would still apply.  */
22109 char coshl ();
22110 int
22111 main ()
22112 {
22113 coshl ();
22114   ;
22115   return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext conftest$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120   (eval $ac_link) 2>conftest.er1
22121   ac_status=$?
22122   grep -v '^ *+' conftest.er1 >conftest.err
22123   rm -f conftest.er1
22124   cat conftest.err >&5
22125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126   (exit $ac_status); } &&
22127          { ac_try='test -z "$ac_c_werror_flag"
22128                          || test ! -s conftest.err'
22129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130   (eval $ac_try) 2>&5
22131   ac_status=$?
22132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133   (exit $ac_status); }; } &&
22134          { ac_try='test -s conftest$ac_exeext'
22135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136   (eval $ac_try) 2>&5
22137   ac_status=$?
22138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139   (exit $ac_status); }; }; then
22140   ac_cv_lib_m_coshl=yes
22141 else
22142   echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 ac_cv_lib_m_coshl=no
22146 fi
22147 rm -f conftest.err conftest.$ac_objext \
22148       conftest$ac_exeext conftest.$ac_ext
22149 LIBS=$ac_check_lib_save_LIBS
22150 fi
22151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22152 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22153 if test $ac_cv_lib_m_coshl = yes; then
22154
22155 cat >>confdefs.h <<\_ACEOF
22156 #define HAVE_COSHL 1
22157 _ACEOF
22158
22159 fi
22160
22161 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22162 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22163 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22164   echo $ECHO_N "(cached) $ECHO_C" >&6
22165 else
22166   ac_check_lib_save_LIBS=$LIBS
22167 LIBS="-lm  $LIBS"
22168 if test x$gcc_no_link = xyes; then
22169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22171    { (exit 1); exit 1; }; }
22172 fi
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h.  */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h.  */
22179
22180 /* Override any gcc2 internal prototype to avoid an error.  */
22181 #ifdef __cplusplus
22182 extern "C"
22183 #endif
22184 /* We use char because int might match the return type of a gcc2
22185    builtin and then its argument prototype would still apply.  */
22186 char ccoshf ();
22187 int
22188 main ()
22189 {
22190 ccoshf ();
22191   ;
22192   return 0;
22193 }
22194 _ACEOF
22195 rm -f conftest.$ac_objext conftest$ac_exeext
22196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22197   (eval $ac_link) 2>conftest.er1
22198   ac_status=$?
22199   grep -v '^ *+' conftest.er1 >conftest.err
22200   rm -f conftest.er1
22201   cat conftest.err >&5
22202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203   (exit $ac_status); } &&
22204          { ac_try='test -z "$ac_c_werror_flag"
22205                          || test ! -s conftest.err'
22206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207   (eval $ac_try) 2>&5
22208   ac_status=$?
22209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210   (exit $ac_status); }; } &&
22211          { ac_try='test -s conftest$ac_exeext'
22212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213   (eval $ac_try) 2>&5
22214   ac_status=$?
22215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216   (exit $ac_status); }; }; then
22217   ac_cv_lib_m_ccoshf=yes
22218 else
22219   echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22221
22222 ac_cv_lib_m_ccoshf=no
22223 fi
22224 rm -f conftest.err conftest.$ac_objext \
22225       conftest$ac_exeext conftest.$ac_ext
22226 LIBS=$ac_check_lib_save_LIBS
22227 fi
22228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22229 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22230 if test $ac_cv_lib_m_ccoshf = yes; then
22231
22232 cat >>confdefs.h <<\_ACEOF
22233 #define HAVE_CCOSHF 1
22234 _ACEOF
22235
22236 fi
22237
22238 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22239 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22240 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22241   echo $ECHO_N "(cached) $ECHO_C" >&6
22242 else
22243   ac_check_lib_save_LIBS=$LIBS
22244 LIBS="-lm  $LIBS"
22245 if test x$gcc_no_link = xyes; then
22246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22248    { (exit 1); exit 1; }; }
22249 fi
22250 cat >conftest.$ac_ext <<_ACEOF
22251 /* confdefs.h.  */
22252 _ACEOF
22253 cat confdefs.h >>conftest.$ac_ext
22254 cat >>conftest.$ac_ext <<_ACEOF
22255 /* end confdefs.h.  */
22256
22257 /* Override any gcc2 internal prototype to avoid an error.  */
22258 #ifdef __cplusplus
22259 extern "C"
22260 #endif
22261 /* We use char because int might match the return type of a gcc2
22262    builtin and then its argument prototype would still apply.  */
22263 char ccosh ();
22264 int
22265 main ()
22266 {
22267 ccosh ();
22268   ;
22269   return 0;
22270 }
22271 _ACEOF
22272 rm -f conftest.$ac_objext conftest$ac_exeext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22274   (eval $ac_link) 2>conftest.er1
22275   ac_status=$?
22276   grep -v '^ *+' conftest.er1 >conftest.err
22277   rm -f conftest.er1
22278   cat conftest.err >&5
22279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280   (exit $ac_status); } &&
22281          { ac_try='test -z "$ac_c_werror_flag"
22282                          || test ! -s conftest.err'
22283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284   (eval $ac_try) 2>&5
22285   ac_status=$?
22286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287   (exit $ac_status); }; } &&
22288          { ac_try='test -s conftest$ac_exeext'
22289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290   (eval $ac_try) 2>&5
22291   ac_status=$?
22292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293   (exit $ac_status); }; }; then
22294   ac_cv_lib_m_ccosh=yes
22295 else
22296   echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 ac_cv_lib_m_ccosh=no
22300 fi
22301 rm -f conftest.err conftest.$ac_objext \
22302       conftest$ac_exeext conftest.$ac_ext
22303 LIBS=$ac_check_lib_save_LIBS
22304 fi
22305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22306 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22307 if test $ac_cv_lib_m_ccosh = yes; then
22308
22309 cat >>confdefs.h <<\_ACEOF
22310 #define HAVE_CCOSH 1
22311 _ACEOF
22312
22313 fi
22314
22315 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22316 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22317 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22318   echo $ECHO_N "(cached) $ECHO_C" >&6
22319 else
22320   ac_check_lib_save_LIBS=$LIBS
22321 LIBS="-lm  $LIBS"
22322 if test x$gcc_no_link = xyes; then
22323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22325    { (exit 1); exit 1; }; }
22326 fi
22327 cat >conftest.$ac_ext <<_ACEOF
22328 /* confdefs.h.  */
22329 _ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h.  */
22333
22334 /* Override any gcc2 internal prototype to avoid an error.  */
22335 #ifdef __cplusplus
22336 extern "C"
22337 #endif
22338 /* We use char because int might match the return type of a gcc2
22339    builtin and then its argument prototype would still apply.  */
22340 char ccoshl ();
22341 int
22342 main ()
22343 {
22344 ccoshl ();
22345   ;
22346   return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext conftest$ac_exeext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22351   (eval $ac_link) 2>conftest.er1
22352   ac_status=$?
22353   grep -v '^ *+' conftest.er1 >conftest.err
22354   rm -f conftest.er1
22355   cat conftest.err >&5
22356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357   (exit $ac_status); } &&
22358          { ac_try='test -z "$ac_c_werror_flag"
22359                          || test ! -s conftest.err'
22360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361   (eval $ac_try) 2>&5
22362   ac_status=$?
22363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364   (exit $ac_status); }; } &&
22365          { ac_try='test -s conftest$ac_exeext'
22366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367   (eval $ac_try) 2>&5
22368   ac_status=$?
22369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370   (exit $ac_status); }; }; then
22371   ac_cv_lib_m_ccoshl=yes
22372 else
22373   echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ac_cv_lib_m_ccoshl=no
22377 fi
22378 rm -f conftest.err conftest.$ac_objext \
22379       conftest$ac_exeext conftest.$ac_ext
22380 LIBS=$ac_check_lib_save_LIBS
22381 fi
22382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22383 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22384 if test $ac_cv_lib_m_ccoshl = yes; then
22385
22386 cat >>confdefs.h <<\_ACEOF
22387 #define HAVE_CCOSHL 1
22388 _ACEOF
22389
22390 fi
22391
22392 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22393 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22394 if test "${ac_cv_lib_m_expf+set}" = set; then
22395   echo $ECHO_N "(cached) $ECHO_C" >&6
22396 else
22397   ac_check_lib_save_LIBS=$LIBS
22398 LIBS="-lm  $LIBS"
22399 if test x$gcc_no_link = xyes; then
22400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22402    { (exit 1); exit 1; }; }
22403 fi
22404 cat >conftest.$ac_ext <<_ACEOF
22405 /* confdefs.h.  */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h.  */
22410
22411 /* Override any gcc2 internal prototype to avoid an error.  */
22412 #ifdef __cplusplus
22413 extern "C"
22414 #endif
22415 /* We use char because int might match the return type of a gcc2
22416    builtin and then its argument prototype would still apply.  */
22417 char expf ();
22418 int
22419 main ()
22420 {
22421 expf ();
22422   ;
22423   return 0;
22424 }
22425 _ACEOF
22426 rm -f conftest.$ac_objext conftest$ac_exeext
22427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22428   (eval $ac_link) 2>conftest.er1
22429   ac_status=$?
22430   grep -v '^ *+' conftest.er1 >conftest.err
22431   rm -f conftest.er1
22432   cat conftest.err >&5
22433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434   (exit $ac_status); } &&
22435          { ac_try='test -z "$ac_c_werror_flag"
22436                          || test ! -s conftest.err'
22437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438   (eval $ac_try) 2>&5
22439   ac_status=$?
22440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441   (exit $ac_status); }; } &&
22442          { ac_try='test -s conftest$ac_exeext'
22443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444   (eval $ac_try) 2>&5
22445   ac_status=$?
22446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447   (exit $ac_status); }; }; then
22448   ac_cv_lib_m_expf=yes
22449 else
22450   echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22452
22453 ac_cv_lib_m_expf=no
22454 fi
22455 rm -f conftest.err conftest.$ac_objext \
22456       conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22458 fi
22459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22460 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22461 if test $ac_cv_lib_m_expf = yes; then
22462
22463 cat >>confdefs.h <<\_ACEOF
22464 #define HAVE_EXPF 1
22465 _ACEOF
22466
22467 fi
22468
22469 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22470 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22471 if test "${ac_cv_lib_m_exp+set}" = set; then
22472   echo $ECHO_N "(cached) $ECHO_C" >&6
22473 else
22474   ac_check_lib_save_LIBS=$LIBS
22475 LIBS="-lm  $LIBS"
22476 if test x$gcc_no_link = xyes; then
22477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22479    { (exit 1); exit 1; }; }
22480 fi
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h.  */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h.  */
22487
22488 /* Override any gcc2 internal prototype to avoid an error.  */
22489 #ifdef __cplusplus
22490 extern "C"
22491 #endif
22492 /* We use char because int might match the return type of a gcc2
22493    builtin and then its argument prototype would still apply.  */
22494 char exp ();
22495 int
22496 main ()
22497 {
22498 exp ();
22499   ;
22500   return 0;
22501 }
22502 _ACEOF
22503 rm -f conftest.$ac_objext conftest$ac_exeext
22504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22505   (eval $ac_link) 2>conftest.er1
22506   ac_status=$?
22507   grep -v '^ *+' conftest.er1 >conftest.err
22508   rm -f conftest.er1
22509   cat conftest.err >&5
22510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511   (exit $ac_status); } &&
22512          { ac_try='test -z "$ac_c_werror_flag"
22513                          || test ! -s conftest.err'
22514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515   (eval $ac_try) 2>&5
22516   ac_status=$?
22517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518   (exit $ac_status); }; } &&
22519          { ac_try='test -s conftest$ac_exeext'
22520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521   (eval $ac_try) 2>&5
22522   ac_status=$?
22523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524   (exit $ac_status); }; }; then
22525   ac_cv_lib_m_exp=yes
22526 else
22527   echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.$ac_ext >&5
22529
22530 ac_cv_lib_m_exp=no
22531 fi
22532 rm -f conftest.err conftest.$ac_objext \
22533       conftest$ac_exeext conftest.$ac_ext
22534 LIBS=$ac_check_lib_save_LIBS
22535 fi
22536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22537 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22538 if test $ac_cv_lib_m_exp = yes; then
22539
22540 cat >>confdefs.h <<\_ACEOF
22541 #define HAVE_EXP 1
22542 _ACEOF
22543
22544 fi
22545
22546 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22547 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22548 if test "${ac_cv_lib_m_expl+set}" = set; then
22549   echo $ECHO_N "(cached) $ECHO_C" >&6
22550 else
22551   ac_check_lib_save_LIBS=$LIBS
22552 LIBS="-lm  $LIBS"
22553 if test x$gcc_no_link = xyes; then
22554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22556    { (exit 1); exit 1; }; }
22557 fi
22558 cat >conftest.$ac_ext <<_ACEOF
22559 /* confdefs.h.  */
22560 _ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h.  */
22564
22565 /* Override any gcc2 internal prototype to avoid an error.  */
22566 #ifdef __cplusplus
22567 extern "C"
22568 #endif
22569 /* We use char because int might match the return type of a gcc2
22570    builtin and then its argument prototype would still apply.  */
22571 char expl ();
22572 int
22573 main ()
22574 {
22575 expl ();
22576   ;
22577   return 0;
22578 }
22579 _ACEOF
22580 rm -f conftest.$ac_objext conftest$ac_exeext
22581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22582   (eval $ac_link) 2>conftest.er1
22583   ac_status=$?
22584   grep -v '^ *+' conftest.er1 >conftest.err
22585   rm -f conftest.er1
22586   cat conftest.err >&5
22587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588   (exit $ac_status); } &&
22589          { ac_try='test -z "$ac_c_werror_flag"
22590                          || test ! -s conftest.err'
22591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592   (eval $ac_try) 2>&5
22593   ac_status=$?
22594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595   (exit $ac_status); }; } &&
22596          { ac_try='test -s conftest$ac_exeext'
22597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22598   (eval $ac_try) 2>&5
22599   ac_status=$?
22600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601   (exit $ac_status); }; }; then
22602   ac_cv_lib_m_expl=yes
22603 else
22604   echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22606
22607 ac_cv_lib_m_expl=no
22608 fi
22609 rm -f conftest.err conftest.$ac_objext \
22610       conftest$ac_exeext conftest.$ac_ext
22611 LIBS=$ac_check_lib_save_LIBS
22612 fi
22613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22614 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22615 if test $ac_cv_lib_m_expl = yes; then
22616
22617 cat >>confdefs.h <<\_ACEOF
22618 #define HAVE_EXPL 1
22619 _ACEOF
22620
22621 fi
22622
22623 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22624 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22625 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22626   echo $ECHO_N "(cached) $ECHO_C" >&6
22627 else
22628   ac_check_lib_save_LIBS=$LIBS
22629 LIBS="-lm  $LIBS"
22630 if test x$gcc_no_link = xyes; then
22631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22633    { (exit 1); exit 1; }; }
22634 fi
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h.  */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h.  */
22641
22642 /* Override any gcc2 internal prototype to avoid an error.  */
22643 #ifdef __cplusplus
22644 extern "C"
22645 #endif
22646 /* We use char because int might match the return type of a gcc2
22647    builtin and then its argument prototype would still apply.  */
22648 char cexpf ();
22649 int
22650 main ()
22651 {
22652 cexpf ();
22653   ;
22654   return 0;
22655 }
22656 _ACEOF
22657 rm -f conftest.$ac_objext conftest$ac_exeext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659   (eval $ac_link) 2>conftest.er1
22660   ac_status=$?
22661   grep -v '^ *+' conftest.er1 >conftest.err
22662   rm -f conftest.er1
22663   cat conftest.err >&5
22664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665   (exit $ac_status); } &&
22666          { ac_try='test -z "$ac_c_werror_flag"
22667                          || test ! -s conftest.err'
22668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669   (eval $ac_try) 2>&5
22670   ac_status=$?
22671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672   (exit $ac_status); }; } &&
22673          { ac_try='test -s conftest$ac_exeext'
22674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675   (eval $ac_try) 2>&5
22676   ac_status=$?
22677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678   (exit $ac_status); }; }; then
22679   ac_cv_lib_m_cexpf=yes
22680 else
22681   echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22683
22684 ac_cv_lib_m_cexpf=no
22685 fi
22686 rm -f conftest.err conftest.$ac_objext \
22687       conftest$ac_exeext conftest.$ac_ext
22688 LIBS=$ac_check_lib_save_LIBS
22689 fi
22690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22691 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22692 if test $ac_cv_lib_m_cexpf = yes; then
22693
22694 cat >>confdefs.h <<\_ACEOF
22695 #define HAVE_CEXPF 1
22696 _ACEOF
22697
22698 fi
22699
22700 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22701 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22702 if test "${ac_cv_lib_m_cexp+set}" = set; then
22703   echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705   ac_check_lib_save_LIBS=$LIBS
22706 LIBS="-lm  $LIBS"
22707 if test x$gcc_no_link = xyes; then
22708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22710    { (exit 1); exit 1; }; }
22711 fi
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h.  */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h.  */
22718
22719 /* Override any gcc2 internal prototype to avoid an error.  */
22720 #ifdef __cplusplus
22721 extern "C"
22722 #endif
22723 /* We use char because int might match the return type of a gcc2
22724    builtin and then its argument prototype would still apply.  */
22725 char cexp ();
22726 int
22727 main ()
22728 {
22729 cexp ();
22730   ;
22731   return 0;
22732 }
22733 _ACEOF
22734 rm -f conftest.$ac_objext conftest$ac_exeext
22735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22736   (eval $ac_link) 2>conftest.er1
22737   ac_status=$?
22738   grep -v '^ *+' conftest.er1 >conftest.err
22739   rm -f conftest.er1
22740   cat conftest.err >&5
22741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742   (exit $ac_status); } &&
22743          { ac_try='test -z "$ac_c_werror_flag"
22744                          || test ! -s conftest.err'
22745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746   (eval $ac_try) 2>&5
22747   ac_status=$?
22748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749   (exit $ac_status); }; } &&
22750          { ac_try='test -s conftest$ac_exeext'
22751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752   (eval $ac_try) 2>&5
22753   ac_status=$?
22754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755   (exit $ac_status); }; }; then
22756   ac_cv_lib_m_cexp=yes
22757 else
22758   echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.$ac_ext >&5
22760
22761 ac_cv_lib_m_cexp=no
22762 fi
22763 rm -f conftest.err conftest.$ac_objext \
22764       conftest$ac_exeext conftest.$ac_ext
22765 LIBS=$ac_check_lib_save_LIBS
22766 fi
22767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22768 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22769 if test $ac_cv_lib_m_cexp = yes; then
22770
22771 cat >>confdefs.h <<\_ACEOF
22772 #define HAVE_CEXP 1
22773 _ACEOF
22774
22775 fi
22776
22777 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22778 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22779 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22780   echo $ECHO_N "(cached) $ECHO_C" >&6
22781 else
22782   ac_check_lib_save_LIBS=$LIBS
22783 LIBS="-lm  $LIBS"
22784 if test x$gcc_no_link = xyes; then
22785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22787    { (exit 1); exit 1; }; }
22788 fi
22789 cat >conftest.$ac_ext <<_ACEOF
22790 /* confdefs.h.  */
22791 _ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h.  */
22795
22796 /* Override any gcc2 internal prototype to avoid an error.  */
22797 #ifdef __cplusplus
22798 extern "C"
22799 #endif
22800 /* We use char because int might match the return type of a gcc2
22801    builtin and then its argument prototype would still apply.  */
22802 char cexpl ();
22803 int
22804 main ()
22805 {
22806 cexpl ();
22807   ;
22808   return 0;
22809 }
22810 _ACEOF
22811 rm -f conftest.$ac_objext conftest$ac_exeext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22813   (eval $ac_link) 2>conftest.er1
22814   ac_status=$?
22815   grep -v '^ *+' conftest.er1 >conftest.err
22816   rm -f conftest.er1
22817   cat conftest.err >&5
22818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819   (exit $ac_status); } &&
22820          { ac_try='test -z "$ac_c_werror_flag"
22821                          || test ! -s conftest.err'
22822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823   (eval $ac_try) 2>&5
22824   ac_status=$?
22825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826   (exit $ac_status); }; } &&
22827          { ac_try='test -s conftest$ac_exeext'
22828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829   (eval $ac_try) 2>&5
22830   ac_status=$?
22831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832   (exit $ac_status); }; }; then
22833   ac_cv_lib_m_cexpl=yes
22834 else
22835   echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.$ac_ext >&5
22837
22838 ac_cv_lib_m_cexpl=no
22839 fi
22840 rm -f conftest.err conftest.$ac_objext \
22841       conftest$ac_exeext conftest.$ac_ext
22842 LIBS=$ac_check_lib_save_LIBS
22843 fi
22844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22845 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22846 if test $ac_cv_lib_m_cexpl = yes; then
22847
22848 cat >>confdefs.h <<\_ACEOF
22849 #define HAVE_CEXPL 1
22850 _ACEOF
22851
22852 fi
22853
22854 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22855 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22856 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22857   echo $ECHO_N "(cached) $ECHO_C" >&6
22858 else
22859   ac_check_lib_save_LIBS=$LIBS
22860 LIBS="-lm  $LIBS"
22861 if test x$gcc_no_link = xyes; then
22862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22864    { (exit 1); exit 1; }; }
22865 fi
22866 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h.  */
22868 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h.  */
22872
22873 /* Override any gcc2 internal prototype to avoid an error.  */
22874 #ifdef __cplusplus
22875 extern "C"
22876 #endif
22877 /* We use char because int might match the return type of a gcc2
22878    builtin and then its argument prototype would still apply.  */
22879 char fabsf ();
22880 int
22881 main ()
22882 {
22883 fabsf ();
22884   ;
22885   return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext conftest$ac_exeext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22890   (eval $ac_link) 2>conftest.er1
22891   ac_status=$?
22892   grep -v '^ *+' conftest.er1 >conftest.err
22893   rm -f conftest.er1
22894   cat conftest.err >&5
22895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896   (exit $ac_status); } &&
22897          { ac_try='test -z "$ac_c_werror_flag"
22898                          || test ! -s conftest.err'
22899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900   (eval $ac_try) 2>&5
22901   ac_status=$?
22902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903   (exit $ac_status); }; } &&
22904          { ac_try='test -s conftest$ac_exeext'
22905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906   (eval $ac_try) 2>&5
22907   ac_status=$?
22908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909   (exit $ac_status); }; }; then
22910   ac_cv_lib_m_fabsf=yes
22911 else
22912   echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 ac_cv_lib_m_fabsf=no
22916 fi
22917 rm -f conftest.err conftest.$ac_objext \
22918       conftest$ac_exeext conftest.$ac_ext
22919 LIBS=$ac_check_lib_save_LIBS
22920 fi
22921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22922 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22923 if test $ac_cv_lib_m_fabsf = yes; then
22924
22925 cat >>confdefs.h <<\_ACEOF
22926 #define HAVE_FABSF 1
22927 _ACEOF
22928
22929 fi
22930
22931 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22932 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22933 if test "${ac_cv_lib_m_fabs+set}" = set; then
22934   echo $ECHO_N "(cached) $ECHO_C" >&6
22935 else
22936   ac_check_lib_save_LIBS=$LIBS
22937 LIBS="-lm  $LIBS"
22938 if test x$gcc_no_link = xyes; then
22939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22941    { (exit 1); exit 1; }; }
22942 fi
22943 cat >conftest.$ac_ext <<_ACEOF
22944 /* confdefs.h.  */
22945 _ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h.  */
22949
22950 /* Override any gcc2 internal prototype to avoid an error.  */
22951 #ifdef __cplusplus
22952 extern "C"
22953 #endif
22954 /* We use char because int might match the return type of a gcc2
22955    builtin and then its argument prototype would still apply.  */
22956 char fabs ();
22957 int
22958 main ()
22959 {
22960 fabs ();
22961   ;
22962   return 0;
22963 }
22964 _ACEOF
22965 rm -f conftest.$ac_objext conftest$ac_exeext
22966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22967   (eval $ac_link) 2>conftest.er1
22968   ac_status=$?
22969   grep -v '^ *+' conftest.er1 >conftest.err
22970   rm -f conftest.er1
22971   cat conftest.err >&5
22972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973   (exit $ac_status); } &&
22974          { ac_try='test -z "$ac_c_werror_flag"
22975                          || test ! -s conftest.err'
22976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977   (eval $ac_try) 2>&5
22978   ac_status=$?
22979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980   (exit $ac_status); }; } &&
22981          { ac_try='test -s conftest$ac_exeext'
22982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983   (eval $ac_try) 2>&5
22984   ac_status=$?
22985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986   (exit $ac_status); }; }; then
22987   ac_cv_lib_m_fabs=yes
22988 else
22989   echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.$ac_ext >&5
22991
22992 ac_cv_lib_m_fabs=no
22993 fi
22994 rm -f conftest.err conftest.$ac_objext \
22995       conftest$ac_exeext conftest.$ac_ext
22996 LIBS=$ac_check_lib_save_LIBS
22997 fi
22998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
22999 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23000 if test $ac_cv_lib_m_fabs = yes; then
23001
23002 cat >>confdefs.h <<\_ACEOF
23003 #define HAVE_FABS 1
23004 _ACEOF
23005
23006 fi
23007
23008 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23009 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23010 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23011   echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013   ac_check_lib_save_LIBS=$LIBS
23014 LIBS="-lm  $LIBS"
23015 if test x$gcc_no_link = xyes; then
23016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23018    { (exit 1); exit 1; }; }
23019 fi
23020 cat >conftest.$ac_ext <<_ACEOF
23021 /* confdefs.h.  */
23022 _ACEOF
23023 cat confdefs.h >>conftest.$ac_ext
23024 cat >>conftest.$ac_ext <<_ACEOF
23025 /* end confdefs.h.  */
23026
23027 /* Override any gcc2 internal prototype to avoid an error.  */
23028 #ifdef __cplusplus
23029 extern "C"
23030 #endif
23031 /* We use char because int might match the return type of a gcc2
23032    builtin and then its argument prototype would still apply.  */
23033 char fabsl ();
23034 int
23035 main ()
23036 {
23037 fabsl ();
23038   ;
23039   return 0;
23040 }
23041 _ACEOF
23042 rm -f conftest.$ac_objext conftest$ac_exeext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23044   (eval $ac_link) 2>conftest.er1
23045   ac_status=$?
23046   grep -v '^ *+' conftest.er1 >conftest.err
23047   rm -f conftest.er1
23048   cat conftest.err >&5
23049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050   (exit $ac_status); } &&
23051          { ac_try='test -z "$ac_c_werror_flag"
23052                          || test ! -s conftest.err'
23053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054   (eval $ac_try) 2>&5
23055   ac_status=$?
23056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057   (exit $ac_status); }; } &&
23058          { ac_try='test -s conftest$ac_exeext'
23059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060   (eval $ac_try) 2>&5
23061   ac_status=$?
23062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063   (exit $ac_status); }; }; then
23064   ac_cv_lib_m_fabsl=yes
23065 else
23066   echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23068
23069 ac_cv_lib_m_fabsl=no
23070 fi
23071 rm -f conftest.err conftest.$ac_objext \
23072       conftest$ac_exeext conftest.$ac_ext
23073 LIBS=$ac_check_lib_save_LIBS
23074 fi
23075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23076 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23077 if test $ac_cv_lib_m_fabsl = yes; then
23078
23079 cat >>confdefs.h <<\_ACEOF
23080 #define HAVE_FABSL 1
23081 _ACEOF
23082
23083 fi
23084
23085 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23086 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23087 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23088   echo $ECHO_N "(cached) $ECHO_C" >&6
23089 else
23090   ac_check_lib_save_LIBS=$LIBS
23091 LIBS="-lm  $LIBS"
23092 if test x$gcc_no_link = xyes; then
23093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23095    { (exit 1); exit 1; }; }
23096 fi
23097 cat >conftest.$ac_ext <<_ACEOF
23098 /* confdefs.h.  */
23099 _ACEOF
23100 cat confdefs.h >>conftest.$ac_ext
23101 cat >>conftest.$ac_ext <<_ACEOF
23102 /* end confdefs.h.  */
23103
23104 /* Override any gcc2 internal prototype to avoid an error.  */
23105 #ifdef __cplusplus
23106 extern "C"
23107 #endif
23108 /* We use char because int might match the return type of a gcc2
23109    builtin and then its argument prototype would still apply.  */
23110 char cabsf ();
23111 int
23112 main ()
23113 {
23114 cabsf ();
23115   ;
23116   return 0;
23117 }
23118 _ACEOF
23119 rm -f conftest.$ac_objext conftest$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121   (eval $ac_link) 2>conftest.er1
23122   ac_status=$?
23123   grep -v '^ *+' conftest.er1 >conftest.err
23124   rm -f conftest.er1
23125   cat conftest.err >&5
23126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127   (exit $ac_status); } &&
23128          { ac_try='test -z "$ac_c_werror_flag"
23129                          || test ! -s conftest.err'
23130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131   (eval $ac_try) 2>&5
23132   ac_status=$?
23133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134   (exit $ac_status); }; } &&
23135          { ac_try='test -s conftest$ac_exeext'
23136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23137   (eval $ac_try) 2>&5
23138   ac_status=$?
23139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140   (exit $ac_status); }; }; then
23141   ac_cv_lib_m_cabsf=yes
23142 else
23143   echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23145
23146 ac_cv_lib_m_cabsf=no
23147 fi
23148 rm -f conftest.err conftest.$ac_objext \
23149       conftest$ac_exeext conftest.$ac_ext
23150 LIBS=$ac_check_lib_save_LIBS
23151 fi
23152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23153 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23154 if test $ac_cv_lib_m_cabsf = yes; then
23155
23156 cat >>confdefs.h <<\_ACEOF
23157 #define HAVE_CABSF 1
23158 _ACEOF
23159
23160 fi
23161
23162 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23163 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23164 if test "${ac_cv_lib_m_cabs+set}" = set; then
23165   echo $ECHO_N "(cached) $ECHO_C" >&6
23166 else
23167   ac_check_lib_save_LIBS=$LIBS
23168 LIBS="-lm  $LIBS"
23169 if test x$gcc_no_link = xyes; then
23170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23172    { (exit 1); exit 1; }; }
23173 fi
23174 cat >conftest.$ac_ext <<_ACEOF
23175 /* confdefs.h.  */
23176 _ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h.  */
23180
23181 /* Override any gcc2 internal prototype to avoid an error.  */
23182 #ifdef __cplusplus
23183 extern "C"
23184 #endif
23185 /* We use char because int might match the return type of a gcc2
23186    builtin and then its argument prototype would still apply.  */
23187 char cabs ();
23188 int
23189 main ()
23190 {
23191 cabs ();
23192   ;
23193   return 0;
23194 }
23195 _ACEOF
23196 rm -f conftest.$ac_objext conftest$ac_exeext
23197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23198   (eval $ac_link) 2>conftest.er1
23199   ac_status=$?
23200   grep -v '^ *+' conftest.er1 >conftest.err
23201   rm -f conftest.er1
23202   cat conftest.err >&5
23203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204   (exit $ac_status); } &&
23205          { ac_try='test -z "$ac_c_werror_flag"
23206                          || test ! -s conftest.err'
23207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208   (eval $ac_try) 2>&5
23209   ac_status=$?
23210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211   (exit $ac_status); }; } &&
23212          { ac_try='test -s conftest$ac_exeext'
23213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214   (eval $ac_try) 2>&5
23215   ac_status=$?
23216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217   (exit $ac_status); }; }; then
23218   ac_cv_lib_m_cabs=yes
23219 else
23220   echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 ac_cv_lib_m_cabs=no
23224 fi
23225 rm -f conftest.err conftest.$ac_objext \
23226       conftest$ac_exeext conftest.$ac_ext
23227 LIBS=$ac_check_lib_save_LIBS
23228 fi
23229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23230 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23231 if test $ac_cv_lib_m_cabs = yes; then
23232
23233 cat >>confdefs.h <<\_ACEOF
23234 #define HAVE_CABS 1
23235 _ACEOF
23236
23237 fi
23238
23239 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23240 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23241 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23242   echo $ECHO_N "(cached) $ECHO_C" >&6
23243 else
23244   ac_check_lib_save_LIBS=$LIBS
23245 LIBS="-lm  $LIBS"
23246 if test x$gcc_no_link = xyes; then
23247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23249    { (exit 1); exit 1; }; }
23250 fi
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h.  */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h.  */
23257
23258 /* Override any gcc2 internal prototype to avoid an error.  */
23259 #ifdef __cplusplus
23260 extern "C"
23261 #endif
23262 /* We use char because int might match the return type of a gcc2
23263    builtin and then its argument prototype would still apply.  */
23264 char cabsl ();
23265 int
23266 main ()
23267 {
23268 cabsl ();
23269   ;
23270   return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext conftest$ac_exeext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23275   (eval $ac_link) 2>conftest.er1
23276   ac_status=$?
23277   grep -v '^ *+' conftest.er1 >conftest.err
23278   rm -f conftest.er1
23279   cat conftest.err >&5
23280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281   (exit $ac_status); } &&
23282          { ac_try='test -z "$ac_c_werror_flag"
23283                          || test ! -s conftest.err'
23284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285   (eval $ac_try) 2>&5
23286   ac_status=$?
23287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288   (exit $ac_status); }; } &&
23289          { ac_try='test -s conftest$ac_exeext'
23290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291   (eval $ac_try) 2>&5
23292   ac_status=$?
23293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294   (exit $ac_status); }; }; then
23295   ac_cv_lib_m_cabsl=yes
23296 else
23297   echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23299
23300 ac_cv_lib_m_cabsl=no
23301 fi
23302 rm -f conftest.err conftest.$ac_objext \
23303       conftest$ac_exeext conftest.$ac_ext
23304 LIBS=$ac_check_lib_save_LIBS
23305 fi
23306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23307 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23308 if test $ac_cv_lib_m_cabsl = yes; then
23309
23310 cat >>confdefs.h <<\_ACEOF
23311 #define HAVE_CABSL 1
23312 _ACEOF
23313
23314 fi
23315
23316 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23317 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23318 if test "${ac_cv_lib_m_floorf+set}" = set; then
23319   echo $ECHO_N "(cached) $ECHO_C" >&6
23320 else
23321   ac_check_lib_save_LIBS=$LIBS
23322 LIBS="-lm  $LIBS"
23323 if test x$gcc_no_link = xyes; then
23324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23326    { (exit 1); exit 1; }; }
23327 fi
23328 cat >conftest.$ac_ext <<_ACEOF
23329 /* confdefs.h.  */
23330 _ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h.  */
23334
23335 /* Override any gcc2 internal prototype to avoid an error.  */
23336 #ifdef __cplusplus
23337 extern "C"
23338 #endif
23339 /* We use char because int might match the return type of a gcc2
23340    builtin and then its argument prototype would still apply.  */
23341 char floorf ();
23342 int
23343 main ()
23344 {
23345 floorf ();
23346   ;
23347   return 0;
23348 }
23349 _ACEOF
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352   (eval $ac_link) 2>conftest.er1
23353   ac_status=$?
23354   grep -v '^ *+' conftest.er1 >conftest.err
23355   rm -f conftest.er1
23356   cat conftest.err >&5
23357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358   (exit $ac_status); } &&
23359          { ac_try='test -z "$ac_c_werror_flag"
23360                          || test ! -s conftest.err'
23361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362   (eval $ac_try) 2>&5
23363   ac_status=$?
23364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365   (exit $ac_status); }; } &&
23366          { ac_try='test -s conftest$ac_exeext'
23367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368   (eval $ac_try) 2>&5
23369   ac_status=$?
23370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371   (exit $ac_status); }; }; then
23372   ac_cv_lib_m_floorf=yes
23373 else
23374   echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 ac_cv_lib_m_floorf=no
23378 fi
23379 rm -f conftest.err conftest.$ac_objext \
23380       conftest$ac_exeext conftest.$ac_ext
23381 LIBS=$ac_check_lib_save_LIBS
23382 fi
23383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23384 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23385 if test $ac_cv_lib_m_floorf = yes; then
23386
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_FLOORF 1
23389 _ACEOF
23390
23391 fi
23392
23393 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23394 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23395 if test "${ac_cv_lib_m_floor+set}" = set; then
23396   echo $ECHO_N "(cached) $ECHO_C" >&6
23397 else
23398   ac_check_lib_save_LIBS=$LIBS
23399 LIBS="-lm  $LIBS"
23400 if test x$gcc_no_link = xyes; then
23401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23403    { (exit 1); exit 1; }; }
23404 fi
23405 cat >conftest.$ac_ext <<_ACEOF
23406 /* confdefs.h.  */
23407 _ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h.  */
23411
23412 /* Override any gcc2 internal prototype to avoid an error.  */
23413 #ifdef __cplusplus
23414 extern "C"
23415 #endif
23416 /* We use char because int might match the return type of a gcc2
23417    builtin and then its argument prototype would still apply.  */
23418 char floor ();
23419 int
23420 main ()
23421 {
23422 floor ();
23423   ;
23424   return 0;
23425 }
23426 _ACEOF
23427 rm -f conftest.$ac_objext conftest$ac_exeext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23429   (eval $ac_link) 2>conftest.er1
23430   ac_status=$?
23431   grep -v '^ *+' conftest.er1 >conftest.err
23432   rm -f conftest.er1
23433   cat conftest.err >&5
23434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435   (exit $ac_status); } &&
23436          { ac_try='test -z "$ac_c_werror_flag"
23437                          || test ! -s conftest.err'
23438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439   (eval $ac_try) 2>&5
23440   ac_status=$?
23441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442   (exit $ac_status); }; } &&
23443          { ac_try='test -s conftest$ac_exeext'
23444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23445   (eval $ac_try) 2>&5
23446   ac_status=$?
23447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448   (exit $ac_status); }; }; then
23449   ac_cv_lib_m_floor=yes
23450 else
23451   echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23453
23454 ac_cv_lib_m_floor=no
23455 fi
23456 rm -f conftest.err conftest.$ac_objext \
23457       conftest$ac_exeext conftest.$ac_ext
23458 LIBS=$ac_check_lib_save_LIBS
23459 fi
23460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23461 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23462 if test $ac_cv_lib_m_floor = yes; then
23463
23464 cat >>confdefs.h <<\_ACEOF
23465 #define HAVE_FLOOR 1
23466 _ACEOF
23467
23468 fi
23469
23470 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23471 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23472 if test "${ac_cv_lib_m_floorl+set}" = set; then
23473   echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475   ac_check_lib_save_LIBS=$LIBS
23476 LIBS="-lm  $LIBS"
23477 if test x$gcc_no_link = xyes; then
23478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23480    { (exit 1); exit 1; }; }
23481 fi
23482 cat >conftest.$ac_ext <<_ACEOF
23483 /* confdefs.h.  */
23484 _ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h.  */
23488
23489 /* Override any gcc2 internal prototype to avoid an error.  */
23490 #ifdef __cplusplus
23491 extern "C"
23492 #endif
23493 /* We use char because int might match the return type of a gcc2
23494    builtin and then its argument prototype would still apply.  */
23495 char floorl ();
23496 int
23497 main ()
23498 {
23499 floorl ();
23500   ;
23501   return 0;
23502 }
23503 _ACEOF
23504 rm -f conftest.$ac_objext conftest$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506   (eval $ac_link) 2>conftest.er1
23507   ac_status=$?
23508   grep -v '^ *+' conftest.er1 >conftest.err
23509   rm -f conftest.er1
23510   cat conftest.err >&5
23511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512   (exit $ac_status); } &&
23513          { ac_try='test -z "$ac_c_werror_flag"
23514                          || test ! -s conftest.err'
23515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516   (eval $ac_try) 2>&5
23517   ac_status=$?
23518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519   (exit $ac_status); }; } &&
23520          { ac_try='test -s conftest$ac_exeext'
23521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522   (eval $ac_try) 2>&5
23523   ac_status=$?
23524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525   (exit $ac_status); }; }; then
23526   ac_cv_lib_m_floorl=yes
23527 else
23528   echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 ac_cv_lib_m_floorl=no
23532 fi
23533 rm -f conftest.err conftest.$ac_objext \
23534       conftest$ac_exeext conftest.$ac_ext
23535 LIBS=$ac_check_lib_save_LIBS
23536 fi
23537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23538 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23539 if test $ac_cv_lib_m_floorl = yes; then
23540
23541 cat >>confdefs.h <<\_ACEOF
23542 #define HAVE_FLOORL 1
23543 _ACEOF
23544
23545 fi
23546
23547 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23548 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23549 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23550   echo $ECHO_N "(cached) $ECHO_C" >&6
23551 else
23552   ac_check_lib_save_LIBS=$LIBS
23553 LIBS="-lm  $LIBS"
23554 if test x$gcc_no_link = xyes; then
23555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23557    { (exit 1); exit 1; }; }
23558 fi
23559 cat >conftest.$ac_ext <<_ACEOF
23560 /* confdefs.h.  */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h.  */
23565
23566 /* Override any gcc2 internal prototype to avoid an error.  */
23567 #ifdef __cplusplus
23568 extern "C"
23569 #endif
23570 /* We use char because int might match the return type of a gcc2
23571    builtin and then its argument prototype would still apply.  */
23572 char fmodf ();
23573 int
23574 main ()
23575 {
23576 fmodf ();
23577   ;
23578   return 0;
23579 }
23580 _ACEOF
23581 rm -f conftest.$ac_objext conftest$ac_exeext
23582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23583   (eval $ac_link) 2>conftest.er1
23584   ac_status=$?
23585   grep -v '^ *+' conftest.er1 >conftest.err
23586   rm -f conftest.er1
23587   cat conftest.err >&5
23588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589   (exit $ac_status); } &&
23590          { ac_try='test -z "$ac_c_werror_flag"
23591                          || test ! -s conftest.err'
23592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593   (eval $ac_try) 2>&5
23594   ac_status=$?
23595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596   (exit $ac_status); }; } &&
23597          { ac_try='test -s conftest$ac_exeext'
23598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599   (eval $ac_try) 2>&5
23600   ac_status=$?
23601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602   (exit $ac_status); }; }; then
23603   ac_cv_lib_m_fmodf=yes
23604 else
23605   echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23607
23608 ac_cv_lib_m_fmodf=no
23609 fi
23610 rm -f conftest.err conftest.$ac_objext \
23611       conftest$ac_exeext conftest.$ac_ext
23612 LIBS=$ac_check_lib_save_LIBS
23613 fi
23614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23615 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23616 if test $ac_cv_lib_m_fmodf = yes; then
23617
23618 cat >>confdefs.h <<\_ACEOF
23619 #define HAVE_FMODF 1
23620 _ACEOF
23621
23622 fi
23623
23624 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23625 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23626 if test "${ac_cv_lib_m_fmod+set}" = set; then
23627   echo $ECHO_N "(cached) $ECHO_C" >&6
23628 else
23629   ac_check_lib_save_LIBS=$LIBS
23630 LIBS="-lm  $LIBS"
23631 if test x$gcc_no_link = xyes; then
23632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23634    { (exit 1); exit 1; }; }
23635 fi
23636 cat >conftest.$ac_ext <<_ACEOF
23637 /* confdefs.h.  */
23638 _ACEOF
23639 cat confdefs.h >>conftest.$ac_ext
23640 cat >>conftest.$ac_ext <<_ACEOF
23641 /* end confdefs.h.  */
23642
23643 /* Override any gcc2 internal prototype to avoid an error.  */
23644 #ifdef __cplusplus
23645 extern "C"
23646 #endif
23647 /* We use char because int might match the return type of a gcc2
23648    builtin and then its argument prototype would still apply.  */
23649 char fmod ();
23650 int
23651 main ()
23652 {
23653 fmod ();
23654   ;
23655   return 0;
23656 }
23657 _ACEOF
23658 rm -f conftest.$ac_objext conftest$ac_exeext
23659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23660   (eval $ac_link) 2>conftest.er1
23661   ac_status=$?
23662   grep -v '^ *+' conftest.er1 >conftest.err
23663   rm -f conftest.er1
23664   cat conftest.err >&5
23665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666   (exit $ac_status); } &&
23667          { ac_try='test -z "$ac_c_werror_flag"
23668                          || test ! -s conftest.err'
23669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670   (eval $ac_try) 2>&5
23671   ac_status=$?
23672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673   (exit $ac_status); }; } &&
23674          { ac_try='test -s conftest$ac_exeext'
23675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676   (eval $ac_try) 2>&5
23677   ac_status=$?
23678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679   (exit $ac_status); }; }; then
23680   ac_cv_lib_m_fmod=yes
23681 else
23682   echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23684
23685 ac_cv_lib_m_fmod=no
23686 fi
23687 rm -f conftest.err conftest.$ac_objext \
23688       conftest$ac_exeext conftest.$ac_ext
23689 LIBS=$ac_check_lib_save_LIBS
23690 fi
23691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23692 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23693 if test $ac_cv_lib_m_fmod = yes; then
23694
23695 cat >>confdefs.h <<\_ACEOF
23696 #define HAVE_FMOD 1
23697 _ACEOF
23698
23699 fi
23700
23701 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23702 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23703 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23704   echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23706   ac_check_lib_save_LIBS=$LIBS
23707 LIBS="-lm  $LIBS"
23708 if test x$gcc_no_link = xyes; then
23709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23711    { (exit 1); exit 1; }; }
23712 fi
23713 cat >conftest.$ac_ext <<_ACEOF
23714 /* confdefs.h.  */
23715 _ACEOF
23716 cat confdefs.h >>conftest.$ac_ext
23717 cat >>conftest.$ac_ext <<_ACEOF
23718 /* end confdefs.h.  */
23719
23720 /* Override any gcc2 internal prototype to avoid an error.  */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 /* We use char because int might match the return type of a gcc2
23725    builtin and then its argument prototype would still apply.  */
23726 char fmodl ();
23727 int
23728 main ()
23729 {
23730 fmodl ();
23731   ;
23732   return 0;
23733 }
23734 _ACEOF
23735 rm -f conftest.$ac_objext conftest$ac_exeext
23736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23737   (eval $ac_link) 2>conftest.er1
23738   ac_status=$?
23739   grep -v '^ *+' conftest.er1 >conftest.err
23740   rm -f conftest.er1
23741   cat conftest.err >&5
23742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743   (exit $ac_status); } &&
23744          { ac_try='test -z "$ac_c_werror_flag"
23745                          || test ! -s conftest.err'
23746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747   (eval $ac_try) 2>&5
23748   ac_status=$?
23749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750   (exit $ac_status); }; } &&
23751          { ac_try='test -s conftest$ac_exeext'
23752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753   (eval $ac_try) 2>&5
23754   ac_status=$?
23755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756   (exit $ac_status); }; }; then
23757   ac_cv_lib_m_fmodl=yes
23758 else
23759   echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23761
23762 ac_cv_lib_m_fmodl=no
23763 fi
23764 rm -f conftest.err conftest.$ac_objext \
23765       conftest$ac_exeext conftest.$ac_ext
23766 LIBS=$ac_check_lib_save_LIBS
23767 fi
23768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23769 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23770 if test $ac_cv_lib_m_fmodl = yes; then
23771
23772 cat >>confdefs.h <<\_ACEOF
23773 #define HAVE_FMODL 1
23774 _ACEOF
23775
23776 fi
23777
23778 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23779 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23780 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23781   echo $ECHO_N "(cached) $ECHO_C" >&6
23782 else
23783   ac_check_lib_save_LIBS=$LIBS
23784 LIBS="-lm  $LIBS"
23785 if test x$gcc_no_link = xyes; then
23786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23788    { (exit 1); exit 1; }; }
23789 fi
23790 cat >conftest.$ac_ext <<_ACEOF
23791 /* confdefs.h.  */
23792 _ACEOF
23793 cat confdefs.h >>conftest.$ac_ext
23794 cat >>conftest.$ac_ext <<_ACEOF
23795 /* end confdefs.h.  */
23796
23797 /* Override any gcc2 internal prototype to avoid an error.  */
23798 #ifdef __cplusplus
23799 extern "C"
23800 #endif
23801 /* We use char because int might match the return type of a gcc2
23802    builtin and then its argument prototype would still apply.  */
23803 char frexpf ();
23804 int
23805 main ()
23806 {
23807 frexpf ();
23808   ;
23809   return 0;
23810 }
23811 _ACEOF
23812 rm -f conftest.$ac_objext conftest$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814   (eval $ac_link) 2>conftest.er1
23815   ac_status=$?
23816   grep -v '^ *+' conftest.er1 >conftest.err
23817   rm -f conftest.er1
23818   cat conftest.err >&5
23819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820   (exit $ac_status); } &&
23821          { ac_try='test -z "$ac_c_werror_flag"
23822                          || test ! -s conftest.err'
23823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824   (eval $ac_try) 2>&5
23825   ac_status=$?
23826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827   (exit $ac_status); }; } &&
23828          { ac_try='test -s conftest$ac_exeext'
23829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830   (eval $ac_try) 2>&5
23831   ac_status=$?
23832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833   (exit $ac_status); }; }; then
23834   ac_cv_lib_m_frexpf=yes
23835 else
23836   echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23838
23839 ac_cv_lib_m_frexpf=no
23840 fi
23841 rm -f conftest.err conftest.$ac_objext \
23842       conftest$ac_exeext conftest.$ac_ext
23843 LIBS=$ac_check_lib_save_LIBS
23844 fi
23845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23846 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23847 if test $ac_cv_lib_m_frexpf = yes; then
23848
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_FREXPF 1
23851 _ACEOF
23852
23853 fi
23854
23855 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23856 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23857 if test "${ac_cv_lib_m_frexp+set}" = set; then
23858   echo $ECHO_N "(cached) $ECHO_C" >&6
23859 else
23860   ac_check_lib_save_LIBS=$LIBS
23861 LIBS="-lm  $LIBS"
23862 if test x$gcc_no_link = xyes; then
23863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23865    { (exit 1); exit 1; }; }
23866 fi
23867 cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h.  */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h.  */
23873
23874 /* Override any gcc2 internal prototype to avoid an error.  */
23875 #ifdef __cplusplus
23876 extern "C"
23877 #endif
23878 /* We use char because int might match the return type of a gcc2
23879    builtin and then its argument prototype would still apply.  */
23880 char frexp ();
23881 int
23882 main ()
23883 {
23884 frexp ();
23885   ;
23886   return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext conftest$ac_exeext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23891   (eval $ac_link) 2>conftest.er1
23892   ac_status=$?
23893   grep -v '^ *+' conftest.er1 >conftest.err
23894   rm -f conftest.er1
23895   cat conftest.err >&5
23896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897   (exit $ac_status); } &&
23898          { ac_try='test -z "$ac_c_werror_flag"
23899                          || test ! -s conftest.err'
23900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901   (eval $ac_try) 2>&5
23902   ac_status=$?
23903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904   (exit $ac_status); }; } &&
23905          { ac_try='test -s conftest$ac_exeext'
23906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907   (eval $ac_try) 2>&5
23908   ac_status=$?
23909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910   (exit $ac_status); }; }; then
23911   ac_cv_lib_m_frexp=yes
23912 else
23913   echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23915
23916 ac_cv_lib_m_frexp=no
23917 fi
23918 rm -f conftest.err conftest.$ac_objext \
23919       conftest$ac_exeext conftest.$ac_ext
23920 LIBS=$ac_check_lib_save_LIBS
23921 fi
23922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23923 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23924 if test $ac_cv_lib_m_frexp = yes; then
23925
23926 cat >>confdefs.h <<\_ACEOF
23927 #define HAVE_FREXP 1
23928 _ACEOF
23929
23930 fi
23931
23932 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23933 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23934 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23935   echo $ECHO_N "(cached) $ECHO_C" >&6
23936 else
23937   ac_check_lib_save_LIBS=$LIBS
23938 LIBS="-lm  $LIBS"
23939 if test x$gcc_no_link = xyes; then
23940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23942    { (exit 1); exit 1; }; }
23943 fi
23944 cat >conftest.$ac_ext <<_ACEOF
23945 /* confdefs.h.  */
23946 _ACEOF
23947 cat confdefs.h >>conftest.$ac_ext
23948 cat >>conftest.$ac_ext <<_ACEOF
23949 /* end confdefs.h.  */
23950
23951 /* Override any gcc2 internal prototype to avoid an error.  */
23952 #ifdef __cplusplus
23953 extern "C"
23954 #endif
23955 /* We use char because int might match the return type of a gcc2
23956    builtin and then its argument prototype would still apply.  */
23957 char frexpl ();
23958 int
23959 main ()
23960 {
23961 frexpl ();
23962   ;
23963   return 0;
23964 }
23965 _ACEOF
23966 rm -f conftest.$ac_objext conftest$ac_exeext
23967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23968   (eval $ac_link) 2>conftest.er1
23969   ac_status=$?
23970   grep -v '^ *+' conftest.er1 >conftest.err
23971   rm -f conftest.er1
23972   cat conftest.err >&5
23973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974   (exit $ac_status); } &&
23975          { ac_try='test -z "$ac_c_werror_flag"
23976                          || test ! -s conftest.err'
23977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978   (eval $ac_try) 2>&5
23979   ac_status=$?
23980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981   (exit $ac_status); }; } &&
23982          { ac_try='test -s conftest$ac_exeext'
23983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984   (eval $ac_try) 2>&5
23985   ac_status=$?
23986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987   (exit $ac_status); }; }; then
23988   ac_cv_lib_m_frexpl=yes
23989 else
23990   echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23992
23993 ac_cv_lib_m_frexpl=no
23994 fi
23995 rm -f conftest.err conftest.$ac_objext \
23996       conftest$ac_exeext conftest.$ac_ext
23997 LIBS=$ac_check_lib_save_LIBS
23998 fi
23999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24000 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24001 if test $ac_cv_lib_m_frexpl = yes; then
24002
24003 cat >>confdefs.h <<\_ACEOF
24004 #define HAVE_FREXPL 1
24005 _ACEOF
24006
24007 fi
24008
24009 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24010 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24011 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24012   echo $ECHO_N "(cached) $ECHO_C" >&6
24013 else
24014   ac_check_lib_save_LIBS=$LIBS
24015 LIBS="-lm  $LIBS"
24016 if test x$gcc_no_link = xyes; then
24017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24019    { (exit 1); exit 1; }; }
24020 fi
24021 cat >conftest.$ac_ext <<_ACEOF
24022 /* confdefs.h.  */
24023 _ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h.  */
24027
24028 /* Override any gcc2 internal prototype to avoid an error.  */
24029 #ifdef __cplusplus
24030 extern "C"
24031 #endif
24032 /* We use char because int might match the return type of a gcc2
24033    builtin and then its argument prototype would still apply.  */
24034 char hypotf ();
24035 int
24036 main ()
24037 {
24038 hypotf ();
24039   ;
24040   return 0;
24041 }
24042 _ACEOF
24043 rm -f conftest.$ac_objext conftest$ac_exeext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24045   (eval $ac_link) 2>conftest.er1
24046   ac_status=$?
24047   grep -v '^ *+' conftest.er1 >conftest.err
24048   rm -f conftest.er1
24049   cat conftest.err >&5
24050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051   (exit $ac_status); } &&
24052          { ac_try='test -z "$ac_c_werror_flag"
24053                          || test ! -s conftest.err'
24054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055   (eval $ac_try) 2>&5
24056   ac_status=$?
24057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058   (exit $ac_status); }; } &&
24059          { ac_try='test -s conftest$ac_exeext'
24060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061   (eval $ac_try) 2>&5
24062   ac_status=$?
24063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064   (exit $ac_status); }; }; then
24065   ac_cv_lib_m_hypotf=yes
24066 else
24067   echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070 ac_cv_lib_m_hypotf=no
24071 fi
24072 rm -f conftest.err conftest.$ac_objext \
24073       conftest$ac_exeext conftest.$ac_ext
24074 LIBS=$ac_check_lib_save_LIBS
24075 fi
24076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24077 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24078 if test $ac_cv_lib_m_hypotf = yes; then
24079
24080 cat >>confdefs.h <<\_ACEOF
24081 #define HAVE_HYPOTF 1
24082 _ACEOF
24083
24084 fi
24085
24086 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24087 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24088 if test "${ac_cv_lib_m_hypot+set}" = set; then
24089   echo $ECHO_N "(cached) $ECHO_C" >&6
24090 else
24091   ac_check_lib_save_LIBS=$LIBS
24092 LIBS="-lm  $LIBS"
24093 if test x$gcc_no_link = xyes; then
24094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24096    { (exit 1); exit 1; }; }
24097 fi
24098 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h.  */
24100 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h.  */
24104
24105 /* Override any gcc2 internal prototype to avoid an error.  */
24106 #ifdef __cplusplus
24107 extern "C"
24108 #endif
24109 /* We use char because int might match the return type of a gcc2
24110    builtin and then its argument prototype would still apply.  */
24111 char hypot ();
24112 int
24113 main ()
24114 {
24115 hypot ();
24116   ;
24117   return 0;
24118 }
24119 _ACEOF
24120 rm -f conftest.$ac_objext conftest$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122   (eval $ac_link) 2>conftest.er1
24123   ac_status=$?
24124   grep -v '^ *+' conftest.er1 >conftest.err
24125   rm -f conftest.er1
24126   cat conftest.err >&5
24127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128   (exit $ac_status); } &&
24129          { ac_try='test -z "$ac_c_werror_flag"
24130                          || test ! -s conftest.err'
24131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132   (eval $ac_try) 2>&5
24133   ac_status=$?
24134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135   (exit $ac_status); }; } &&
24136          { ac_try='test -s conftest$ac_exeext'
24137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138   (eval $ac_try) 2>&5
24139   ac_status=$?
24140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141   (exit $ac_status); }; }; then
24142   ac_cv_lib_m_hypot=yes
24143 else
24144   echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24146
24147 ac_cv_lib_m_hypot=no
24148 fi
24149 rm -f conftest.err conftest.$ac_objext \
24150       conftest$ac_exeext conftest.$ac_ext
24151 LIBS=$ac_check_lib_save_LIBS
24152 fi
24153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24154 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24155 if test $ac_cv_lib_m_hypot = yes; then
24156
24157 cat >>confdefs.h <<\_ACEOF
24158 #define HAVE_HYPOT 1
24159 _ACEOF
24160
24161 fi
24162
24163 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24164 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24165 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24166   echo $ECHO_N "(cached) $ECHO_C" >&6
24167 else
24168   ac_check_lib_save_LIBS=$LIBS
24169 LIBS="-lm  $LIBS"
24170 if test x$gcc_no_link = xyes; then
24171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24173    { (exit 1); exit 1; }; }
24174 fi
24175 cat >conftest.$ac_ext <<_ACEOF
24176 /* confdefs.h.  */
24177 _ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h.  */
24181
24182 /* Override any gcc2 internal prototype to avoid an error.  */
24183 #ifdef __cplusplus
24184 extern "C"
24185 #endif
24186 /* We use char because int might match the return type of a gcc2
24187    builtin and then its argument prototype would still apply.  */
24188 char hypotl ();
24189 int
24190 main ()
24191 {
24192 hypotl ();
24193   ;
24194   return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext conftest$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199   (eval $ac_link) 2>conftest.er1
24200   ac_status=$?
24201   grep -v '^ *+' conftest.er1 >conftest.err
24202   rm -f conftest.er1
24203   cat conftest.err >&5
24204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205   (exit $ac_status); } &&
24206          { ac_try='test -z "$ac_c_werror_flag"
24207                          || test ! -s conftest.err'
24208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209   (eval $ac_try) 2>&5
24210   ac_status=$?
24211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212   (exit $ac_status); }; } &&
24213          { ac_try='test -s conftest$ac_exeext'
24214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215   (eval $ac_try) 2>&5
24216   ac_status=$?
24217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218   (exit $ac_status); }; }; then
24219   ac_cv_lib_m_hypotl=yes
24220 else
24221   echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24223
24224 ac_cv_lib_m_hypotl=no
24225 fi
24226 rm -f conftest.err conftest.$ac_objext \
24227       conftest$ac_exeext conftest.$ac_ext
24228 LIBS=$ac_check_lib_save_LIBS
24229 fi
24230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24231 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24232 if test $ac_cv_lib_m_hypotl = yes; then
24233
24234 cat >>confdefs.h <<\_ACEOF
24235 #define HAVE_HYPOTL 1
24236 _ACEOF
24237
24238 fi
24239
24240 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24241 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24242 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24243   echo $ECHO_N "(cached) $ECHO_C" >&6
24244 else
24245   ac_check_lib_save_LIBS=$LIBS
24246 LIBS="-lm  $LIBS"
24247 if test x$gcc_no_link = xyes; then
24248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24250    { (exit 1); exit 1; }; }
24251 fi
24252 cat >conftest.$ac_ext <<_ACEOF
24253 /* confdefs.h.  */
24254 _ACEOF
24255 cat confdefs.h >>conftest.$ac_ext
24256 cat >>conftest.$ac_ext <<_ACEOF
24257 /* end confdefs.h.  */
24258
24259 /* Override any gcc2 internal prototype to avoid an error.  */
24260 #ifdef __cplusplus
24261 extern "C"
24262 #endif
24263 /* We use char because int might match the return type of a gcc2
24264    builtin and then its argument prototype would still apply.  */
24265 char ldexpf ();
24266 int
24267 main ()
24268 {
24269 ldexpf ();
24270   ;
24271   return 0;
24272 }
24273 _ACEOF
24274 rm -f conftest.$ac_objext conftest$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276   (eval $ac_link) 2>conftest.er1
24277   ac_status=$?
24278   grep -v '^ *+' conftest.er1 >conftest.err
24279   rm -f conftest.er1
24280   cat conftest.err >&5
24281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282   (exit $ac_status); } &&
24283          { ac_try='test -z "$ac_c_werror_flag"
24284                          || test ! -s conftest.err'
24285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286   (eval $ac_try) 2>&5
24287   ac_status=$?
24288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289   (exit $ac_status); }; } &&
24290          { ac_try='test -s conftest$ac_exeext'
24291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292   (eval $ac_try) 2>&5
24293   ac_status=$?
24294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295   (exit $ac_status); }; }; then
24296   ac_cv_lib_m_ldexpf=yes
24297 else
24298   echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301 ac_cv_lib_m_ldexpf=no
24302 fi
24303 rm -f conftest.err conftest.$ac_objext \
24304       conftest$ac_exeext conftest.$ac_ext
24305 LIBS=$ac_check_lib_save_LIBS
24306 fi
24307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24308 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24309 if test $ac_cv_lib_m_ldexpf = yes; then
24310
24311 cat >>confdefs.h <<\_ACEOF
24312 #define HAVE_LDEXPF 1
24313 _ACEOF
24314
24315 fi
24316
24317 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24318 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24319 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24320   echo $ECHO_N "(cached) $ECHO_C" >&6
24321 else
24322   ac_check_lib_save_LIBS=$LIBS
24323 LIBS="-lm  $LIBS"
24324 if test x$gcc_no_link = xyes; then
24325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24327    { (exit 1); exit 1; }; }
24328 fi
24329 cat >conftest.$ac_ext <<_ACEOF
24330 /* confdefs.h.  */
24331 _ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h.  */
24335
24336 /* Override any gcc2 internal prototype to avoid an error.  */
24337 #ifdef __cplusplus
24338 extern "C"
24339 #endif
24340 /* We use char because int might match the return type of a gcc2
24341    builtin and then its argument prototype would still apply.  */
24342 char ldexp ();
24343 int
24344 main ()
24345 {
24346 ldexp ();
24347   ;
24348   return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353   (eval $ac_link) 2>conftest.er1
24354   ac_status=$?
24355   grep -v '^ *+' conftest.er1 >conftest.err
24356   rm -f conftest.er1
24357   cat conftest.err >&5
24358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359   (exit $ac_status); } &&
24360          { ac_try='test -z "$ac_c_werror_flag"
24361                          || test ! -s conftest.err'
24362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363   (eval $ac_try) 2>&5
24364   ac_status=$?
24365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366   (exit $ac_status); }; } &&
24367          { ac_try='test -s conftest$ac_exeext'
24368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369   (eval $ac_try) 2>&5
24370   ac_status=$?
24371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372   (exit $ac_status); }; }; then
24373   ac_cv_lib_m_ldexp=yes
24374 else
24375   echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24377
24378 ac_cv_lib_m_ldexp=no
24379 fi
24380 rm -f conftest.err conftest.$ac_objext \
24381       conftest$ac_exeext conftest.$ac_ext
24382 LIBS=$ac_check_lib_save_LIBS
24383 fi
24384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24385 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24386 if test $ac_cv_lib_m_ldexp = yes; then
24387
24388 cat >>confdefs.h <<\_ACEOF
24389 #define HAVE_LDEXP 1
24390 _ACEOF
24391
24392 fi
24393
24394 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24395 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24396 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24397   echo $ECHO_N "(cached) $ECHO_C" >&6
24398 else
24399   ac_check_lib_save_LIBS=$LIBS
24400 LIBS="-lm  $LIBS"
24401 if test x$gcc_no_link = xyes; then
24402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24404    { (exit 1); exit 1; }; }
24405 fi
24406 cat >conftest.$ac_ext <<_ACEOF
24407 /* confdefs.h.  */
24408 _ACEOF
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h.  */
24412
24413 /* Override any gcc2 internal prototype to avoid an error.  */
24414 #ifdef __cplusplus
24415 extern "C"
24416 #endif
24417 /* We use char because int might match the return type of a gcc2
24418    builtin and then its argument prototype would still apply.  */
24419 char ldexpl ();
24420 int
24421 main ()
24422 {
24423 ldexpl ();
24424   ;
24425   return 0;
24426 }
24427 _ACEOF
24428 rm -f conftest.$ac_objext conftest$ac_exeext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24430   (eval $ac_link) 2>conftest.er1
24431   ac_status=$?
24432   grep -v '^ *+' conftest.er1 >conftest.err
24433   rm -f conftest.er1
24434   cat conftest.err >&5
24435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436   (exit $ac_status); } &&
24437          { ac_try='test -z "$ac_c_werror_flag"
24438                          || test ! -s conftest.err'
24439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440   (eval $ac_try) 2>&5
24441   ac_status=$?
24442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443   (exit $ac_status); }; } &&
24444          { ac_try='test -s conftest$ac_exeext'
24445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446   (eval $ac_try) 2>&5
24447   ac_status=$?
24448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449   (exit $ac_status); }; }; then
24450   ac_cv_lib_m_ldexpl=yes
24451 else
24452   echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24454
24455 ac_cv_lib_m_ldexpl=no
24456 fi
24457 rm -f conftest.err conftest.$ac_objext \
24458       conftest$ac_exeext conftest.$ac_ext
24459 LIBS=$ac_check_lib_save_LIBS
24460 fi
24461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24462 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24463 if test $ac_cv_lib_m_ldexpl = yes; then
24464
24465 cat >>confdefs.h <<\_ACEOF
24466 #define HAVE_LDEXPL 1
24467 _ACEOF
24468
24469 fi
24470
24471 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24472 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24473 if test "${ac_cv_lib_m_logf+set}" = set; then
24474   echo $ECHO_N "(cached) $ECHO_C" >&6
24475 else
24476   ac_check_lib_save_LIBS=$LIBS
24477 LIBS="-lm  $LIBS"
24478 if test x$gcc_no_link = xyes; then
24479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24481    { (exit 1); exit 1; }; }
24482 fi
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h.  */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h.  */
24489
24490 /* Override any gcc2 internal prototype to avoid an error.  */
24491 #ifdef __cplusplus
24492 extern "C"
24493 #endif
24494 /* We use char because int might match the return type of a gcc2
24495    builtin and then its argument prototype would still apply.  */
24496 char logf ();
24497 int
24498 main ()
24499 {
24500 logf ();
24501   ;
24502   return 0;
24503 }
24504 _ACEOF
24505 rm -f conftest.$ac_objext conftest$ac_exeext
24506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24507   (eval $ac_link) 2>conftest.er1
24508   ac_status=$?
24509   grep -v '^ *+' conftest.er1 >conftest.err
24510   rm -f conftest.er1
24511   cat conftest.err >&5
24512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513   (exit $ac_status); } &&
24514          { ac_try='test -z "$ac_c_werror_flag"
24515                          || test ! -s conftest.err'
24516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517   (eval $ac_try) 2>&5
24518   ac_status=$?
24519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520   (exit $ac_status); }; } &&
24521          { ac_try='test -s conftest$ac_exeext'
24522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523   (eval $ac_try) 2>&5
24524   ac_status=$?
24525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526   (exit $ac_status); }; }; then
24527   ac_cv_lib_m_logf=yes
24528 else
24529   echo "$as_me: failed program was:" >&5
24530 sed 's/^/| /' conftest.$ac_ext >&5
24531
24532 ac_cv_lib_m_logf=no
24533 fi
24534 rm -f conftest.err conftest.$ac_objext \
24535       conftest$ac_exeext conftest.$ac_ext
24536 LIBS=$ac_check_lib_save_LIBS
24537 fi
24538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24539 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24540 if test $ac_cv_lib_m_logf = yes; then
24541
24542 cat >>confdefs.h <<\_ACEOF
24543 #define HAVE_LOGF 1
24544 _ACEOF
24545
24546 fi
24547
24548 echo "$as_me:$LINENO: checking for log in -lm" >&5
24549 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24550 if test "${ac_cv_lib_m_log+set}" = set; then
24551   echo $ECHO_N "(cached) $ECHO_C" >&6
24552 else
24553   ac_check_lib_save_LIBS=$LIBS
24554 LIBS="-lm  $LIBS"
24555 if test x$gcc_no_link = xyes; then
24556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24558    { (exit 1); exit 1; }; }
24559 fi
24560 cat >conftest.$ac_ext <<_ACEOF
24561 /* confdefs.h.  */
24562 _ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h.  */
24566
24567 /* Override any gcc2 internal prototype to avoid an error.  */
24568 #ifdef __cplusplus
24569 extern "C"
24570 #endif
24571 /* We use char because int might match the return type of a gcc2
24572    builtin and then its argument prototype would still apply.  */
24573 char log ();
24574 int
24575 main ()
24576 {
24577 log ();
24578   ;
24579   return 0;
24580 }
24581 _ACEOF
24582 rm -f conftest.$ac_objext conftest$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584   (eval $ac_link) 2>conftest.er1
24585   ac_status=$?
24586   grep -v '^ *+' conftest.er1 >conftest.err
24587   rm -f conftest.er1
24588   cat conftest.err >&5
24589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590   (exit $ac_status); } &&
24591          { ac_try='test -z "$ac_c_werror_flag"
24592                          || test ! -s conftest.err'
24593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594   (eval $ac_try) 2>&5
24595   ac_status=$?
24596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597   (exit $ac_status); }; } &&
24598          { ac_try='test -s conftest$ac_exeext'
24599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600   (eval $ac_try) 2>&5
24601   ac_status=$?
24602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603   (exit $ac_status); }; }; then
24604   ac_cv_lib_m_log=yes
24605 else
24606   echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24608
24609 ac_cv_lib_m_log=no
24610 fi
24611 rm -f conftest.err conftest.$ac_objext \
24612       conftest$ac_exeext conftest.$ac_ext
24613 LIBS=$ac_check_lib_save_LIBS
24614 fi
24615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24616 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24617 if test $ac_cv_lib_m_log = yes; then
24618
24619 cat >>confdefs.h <<\_ACEOF
24620 #define HAVE_LOG 1
24621 _ACEOF
24622
24623 fi
24624
24625 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24626 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24627 if test "${ac_cv_lib_m_logl+set}" = set; then
24628   echo $ECHO_N "(cached) $ECHO_C" >&6
24629 else
24630   ac_check_lib_save_LIBS=$LIBS
24631 LIBS="-lm  $LIBS"
24632 if test x$gcc_no_link = xyes; then
24633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24635    { (exit 1); exit 1; }; }
24636 fi
24637 cat >conftest.$ac_ext <<_ACEOF
24638 /* confdefs.h.  */
24639 _ACEOF
24640 cat confdefs.h >>conftest.$ac_ext
24641 cat >>conftest.$ac_ext <<_ACEOF
24642 /* end confdefs.h.  */
24643
24644 /* Override any gcc2 internal prototype to avoid an error.  */
24645 #ifdef __cplusplus
24646 extern "C"
24647 #endif
24648 /* We use char because int might match the return type of a gcc2
24649    builtin and then its argument prototype would still apply.  */
24650 char logl ();
24651 int
24652 main ()
24653 {
24654 logl ();
24655   ;
24656   return 0;
24657 }
24658 _ACEOF
24659 rm -f conftest.$ac_objext conftest$ac_exeext
24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24661   (eval $ac_link) 2>conftest.er1
24662   ac_status=$?
24663   grep -v '^ *+' conftest.er1 >conftest.err
24664   rm -f conftest.er1
24665   cat conftest.err >&5
24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667   (exit $ac_status); } &&
24668          { ac_try='test -z "$ac_c_werror_flag"
24669                          || test ! -s conftest.err'
24670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671   (eval $ac_try) 2>&5
24672   ac_status=$?
24673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674   (exit $ac_status); }; } &&
24675          { ac_try='test -s conftest$ac_exeext'
24676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677   (eval $ac_try) 2>&5
24678   ac_status=$?
24679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680   (exit $ac_status); }; }; then
24681   ac_cv_lib_m_logl=yes
24682 else
24683   echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24685
24686 ac_cv_lib_m_logl=no
24687 fi
24688 rm -f conftest.err conftest.$ac_objext \
24689       conftest$ac_exeext conftest.$ac_ext
24690 LIBS=$ac_check_lib_save_LIBS
24691 fi
24692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24693 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24694 if test $ac_cv_lib_m_logl = yes; then
24695
24696 cat >>confdefs.h <<\_ACEOF
24697 #define HAVE_LOGL 1
24698 _ACEOF
24699
24700 fi
24701
24702 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24703 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24704 if test "${ac_cv_lib_m_clogf+set}" = set; then
24705   echo $ECHO_N "(cached) $ECHO_C" >&6
24706 else
24707   ac_check_lib_save_LIBS=$LIBS
24708 LIBS="-lm  $LIBS"
24709 if test x$gcc_no_link = xyes; then
24710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24712    { (exit 1); exit 1; }; }
24713 fi
24714 cat >conftest.$ac_ext <<_ACEOF
24715 /* confdefs.h.  */
24716 _ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h.  */
24720
24721 /* Override any gcc2 internal prototype to avoid an error.  */
24722 #ifdef __cplusplus
24723 extern "C"
24724 #endif
24725 /* We use char because int might match the return type of a gcc2
24726    builtin and then its argument prototype would still apply.  */
24727 char clogf ();
24728 int
24729 main ()
24730 {
24731 clogf ();
24732   ;
24733   return 0;
24734 }
24735 _ACEOF
24736 rm -f conftest.$ac_objext conftest$ac_exeext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24738   (eval $ac_link) 2>conftest.er1
24739   ac_status=$?
24740   grep -v '^ *+' conftest.er1 >conftest.err
24741   rm -f conftest.er1
24742   cat conftest.err >&5
24743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744   (exit $ac_status); } &&
24745          { ac_try='test -z "$ac_c_werror_flag"
24746                          || test ! -s conftest.err'
24747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748   (eval $ac_try) 2>&5
24749   ac_status=$?
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); }; } &&
24752          { ac_try='test -s conftest$ac_exeext'
24753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754   (eval $ac_try) 2>&5
24755   ac_status=$?
24756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757   (exit $ac_status); }; }; then
24758   ac_cv_lib_m_clogf=yes
24759 else
24760   echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 ac_cv_lib_m_clogf=no
24764 fi
24765 rm -f conftest.err conftest.$ac_objext \
24766       conftest$ac_exeext conftest.$ac_ext
24767 LIBS=$ac_check_lib_save_LIBS
24768 fi
24769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24770 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24771 if test $ac_cv_lib_m_clogf = yes; then
24772
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_CLOGF 1
24775 _ACEOF
24776
24777 fi
24778
24779 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24780 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24781 if test "${ac_cv_lib_m_clog+set}" = set; then
24782   echo $ECHO_N "(cached) $ECHO_C" >&6
24783 else
24784   ac_check_lib_save_LIBS=$LIBS
24785 LIBS="-lm  $LIBS"
24786 if test x$gcc_no_link = xyes; then
24787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24789    { (exit 1); exit 1; }; }
24790 fi
24791 cat >conftest.$ac_ext <<_ACEOF
24792 /* confdefs.h.  */
24793 _ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h.  */
24797
24798 /* Override any gcc2 internal prototype to avoid an error.  */
24799 #ifdef __cplusplus
24800 extern "C"
24801 #endif
24802 /* We use char because int might match the return type of a gcc2
24803    builtin and then its argument prototype would still apply.  */
24804 char clog ();
24805 int
24806 main ()
24807 {
24808 clog ();
24809   ;
24810   return 0;
24811 }
24812 _ACEOF
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24815   (eval $ac_link) 2>conftest.er1
24816   ac_status=$?
24817   grep -v '^ *+' conftest.er1 >conftest.err
24818   rm -f conftest.er1
24819   cat conftest.err >&5
24820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821   (exit $ac_status); } &&
24822          { ac_try='test -z "$ac_c_werror_flag"
24823                          || test ! -s conftest.err'
24824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825   (eval $ac_try) 2>&5
24826   ac_status=$?
24827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828   (exit $ac_status); }; } &&
24829          { ac_try='test -s conftest$ac_exeext'
24830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24831   (eval $ac_try) 2>&5
24832   ac_status=$?
24833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834   (exit $ac_status); }; }; then
24835   ac_cv_lib_m_clog=yes
24836 else
24837   echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 ac_cv_lib_m_clog=no
24841 fi
24842 rm -f conftest.err conftest.$ac_objext \
24843       conftest$ac_exeext conftest.$ac_ext
24844 LIBS=$ac_check_lib_save_LIBS
24845 fi
24846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24847 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24848 if test $ac_cv_lib_m_clog = yes; then
24849
24850 cat >>confdefs.h <<\_ACEOF
24851 #define HAVE_CLOG 1
24852 _ACEOF
24853
24854 fi
24855
24856 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24857 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24858 if test "${ac_cv_lib_m_clogl+set}" = set; then
24859   echo $ECHO_N "(cached) $ECHO_C" >&6
24860 else
24861   ac_check_lib_save_LIBS=$LIBS
24862 LIBS="-lm  $LIBS"
24863 if test x$gcc_no_link = xyes; then
24864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24866    { (exit 1); exit 1; }; }
24867 fi
24868 cat >conftest.$ac_ext <<_ACEOF
24869 /* confdefs.h.  */
24870 _ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h.  */
24874
24875 /* Override any gcc2 internal prototype to avoid an error.  */
24876 #ifdef __cplusplus
24877 extern "C"
24878 #endif
24879 /* We use char because int might match the return type of a gcc2
24880    builtin and then its argument prototype would still apply.  */
24881 char clogl ();
24882 int
24883 main ()
24884 {
24885 clogl ();
24886   ;
24887   return 0;
24888 }
24889 _ACEOF
24890 rm -f conftest.$ac_objext conftest$ac_exeext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24892   (eval $ac_link) 2>conftest.er1
24893   ac_status=$?
24894   grep -v '^ *+' conftest.er1 >conftest.err
24895   rm -f conftest.er1
24896   cat conftest.err >&5
24897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898   (exit $ac_status); } &&
24899          { ac_try='test -z "$ac_c_werror_flag"
24900                          || test ! -s conftest.err'
24901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902   (eval $ac_try) 2>&5
24903   ac_status=$?
24904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905   (exit $ac_status); }; } &&
24906          { ac_try='test -s conftest$ac_exeext'
24907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908   (eval $ac_try) 2>&5
24909   ac_status=$?
24910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911   (exit $ac_status); }; }; then
24912   ac_cv_lib_m_clogl=yes
24913 else
24914   echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917 ac_cv_lib_m_clogl=no
24918 fi
24919 rm -f conftest.err conftest.$ac_objext \
24920       conftest$ac_exeext conftest.$ac_ext
24921 LIBS=$ac_check_lib_save_LIBS
24922 fi
24923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24924 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24925 if test $ac_cv_lib_m_clogl = yes; then
24926
24927 cat >>confdefs.h <<\_ACEOF
24928 #define HAVE_CLOGL 1
24929 _ACEOF
24930
24931 fi
24932
24933 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24934 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24935 if test "${ac_cv_lib_m_log10f+set}" = set; then
24936   echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938   ac_check_lib_save_LIBS=$LIBS
24939 LIBS="-lm  $LIBS"
24940 if test x$gcc_no_link = xyes; then
24941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24943    { (exit 1); exit 1; }; }
24944 fi
24945 cat >conftest.$ac_ext <<_ACEOF
24946 /* confdefs.h.  */
24947 _ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h.  */
24951
24952 /* Override any gcc2 internal prototype to avoid an error.  */
24953 #ifdef __cplusplus
24954 extern "C"
24955 #endif
24956 /* We use char because int might match the return type of a gcc2
24957    builtin and then its argument prototype would still apply.  */
24958 char log10f ();
24959 int
24960 main ()
24961 {
24962 log10f ();
24963   ;
24964   return 0;
24965 }
24966 _ACEOF
24967 rm -f conftest.$ac_objext conftest$ac_exeext
24968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24969   (eval $ac_link) 2>conftest.er1
24970   ac_status=$?
24971   grep -v '^ *+' conftest.er1 >conftest.err
24972   rm -f conftest.er1
24973   cat conftest.err >&5
24974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975   (exit $ac_status); } &&
24976          { ac_try='test -z "$ac_c_werror_flag"
24977                          || test ! -s conftest.err'
24978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979   (eval $ac_try) 2>&5
24980   ac_status=$?
24981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982   (exit $ac_status); }; } &&
24983          { ac_try='test -s conftest$ac_exeext'
24984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985   (eval $ac_try) 2>&5
24986   ac_status=$?
24987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988   (exit $ac_status); }; }; then
24989   ac_cv_lib_m_log10f=yes
24990 else
24991   echo "$as_me: failed program was:" >&5
24992 sed 's/^/| /' conftest.$ac_ext >&5
24993
24994 ac_cv_lib_m_log10f=no
24995 fi
24996 rm -f conftest.err conftest.$ac_objext \
24997       conftest$ac_exeext conftest.$ac_ext
24998 LIBS=$ac_check_lib_save_LIBS
24999 fi
25000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25001 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25002 if test $ac_cv_lib_m_log10f = yes; then
25003
25004 cat >>confdefs.h <<\_ACEOF
25005 #define HAVE_LOG10F 1
25006 _ACEOF
25007
25008 fi
25009
25010 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25011 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25012 if test "${ac_cv_lib_m_log10+set}" = set; then
25013   echo $ECHO_N "(cached) $ECHO_C" >&6
25014 else
25015   ac_check_lib_save_LIBS=$LIBS
25016 LIBS="-lm  $LIBS"
25017 if test x$gcc_no_link = xyes; then
25018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25020    { (exit 1); exit 1; }; }
25021 fi
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h.  */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h.  */
25028
25029 /* Override any gcc2 internal prototype to avoid an error.  */
25030 #ifdef __cplusplus
25031 extern "C"
25032 #endif
25033 /* We use char because int might match the return type of a gcc2
25034    builtin and then its argument prototype would still apply.  */
25035 char log10 ();
25036 int
25037 main ()
25038 {
25039 log10 ();
25040   ;
25041   return 0;
25042 }
25043 _ACEOF
25044 rm -f conftest.$ac_objext conftest$ac_exeext
25045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25046   (eval $ac_link) 2>conftest.er1
25047   ac_status=$?
25048   grep -v '^ *+' conftest.er1 >conftest.err
25049   rm -f conftest.er1
25050   cat conftest.err >&5
25051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052   (exit $ac_status); } &&
25053          { ac_try='test -z "$ac_c_werror_flag"
25054                          || test ! -s conftest.err'
25055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056   (eval $ac_try) 2>&5
25057   ac_status=$?
25058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059   (exit $ac_status); }; } &&
25060          { ac_try='test -s conftest$ac_exeext'
25061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062   (eval $ac_try) 2>&5
25063   ac_status=$?
25064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065   (exit $ac_status); }; }; then
25066   ac_cv_lib_m_log10=yes
25067 else
25068   echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25070
25071 ac_cv_lib_m_log10=no
25072 fi
25073 rm -f conftest.err conftest.$ac_objext \
25074       conftest$ac_exeext conftest.$ac_ext
25075 LIBS=$ac_check_lib_save_LIBS
25076 fi
25077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25078 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25079 if test $ac_cv_lib_m_log10 = yes; then
25080
25081 cat >>confdefs.h <<\_ACEOF
25082 #define HAVE_LOG10 1
25083 _ACEOF
25084
25085 fi
25086
25087 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25088 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25089 if test "${ac_cv_lib_m_log10l+set}" = set; then
25090   echo $ECHO_N "(cached) $ECHO_C" >&6
25091 else
25092   ac_check_lib_save_LIBS=$LIBS
25093 LIBS="-lm  $LIBS"
25094 if test x$gcc_no_link = xyes; then
25095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25097    { (exit 1); exit 1; }; }
25098 fi
25099 cat >conftest.$ac_ext <<_ACEOF
25100 /* confdefs.h.  */
25101 _ACEOF
25102 cat confdefs.h >>conftest.$ac_ext
25103 cat >>conftest.$ac_ext <<_ACEOF
25104 /* end confdefs.h.  */
25105
25106 /* Override any gcc2 internal prototype to avoid an error.  */
25107 #ifdef __cplusplus
25108 extern "C"
25109 #endif
25110 /* We use char because int might match the return type of a gcc2
25111    builtin and then its argument prototype would still apply.  */
25112 char log10l ();
25113 int
25114 main ()
25115 {
25116 log10l ();
25117   ;
25118   return 0;
25119 }
25120 _ACEOF
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123   (eval $ac_link) 2>conftest.er1
25124   ac_status=$?
25125   grep -v '^ *+' conftest.er1 >conftest.err
25126   rm -f conftest.er1
25127   cat conftest.err >&5
25128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129   (exit $ac_status); } &&
25130          { ac_try='test -z "$ac_c_werror_flag"
25131                          || test ! -s conftest.err'
25132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133   (eval $ac_try) 2>&5
25134   ac_status=$?
25135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136   (exit $ac_status); }; } &&
25137          { ac_try='test -s conftest$ac_exeext'
25138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139   (eval $ac_try) 2>&5
25140   ac_status=$?
25141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142   (exit $ac_status); }; }; then
25143   ac_cv_lib_m_log10l=yes
25144 else
25145   echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25147
25148 ac_cv_lib_m_log10l=no
25149 fi
25150 rm -f conftest.err conftest.$ac_objext \
25151       conftest$ac_exeext conftest.$ac_ext
25152 LIBS=$ac_check_lib_save_LIBS
25153 fi
25154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25155 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25156 if test $ac_cv_lib_m_log10l = yes; then
25157
25158 cat >>confdefs.h <<\_ACEOF
25159 #define HAVE_LOG10L 1
25160 _ACEOF
25161
25162 fi
25163
25164 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25165 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25166 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25167   echo $ECHO_N "(cached) $ECHO_C" >&6
25168 else
25169   ac_check_lib_save_LIBS=$LIBS
25170 LIBS="-lm  $LIBS"
25171 if test x$gcc_no_link = xyes; then
25172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25174    { (exit 1); exit 1; }; }
25175 fi
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h.  */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h.  */
25182
25183 /* Override any gcc2 internal prototype to avoid an error.  */
25184 #ifdef __cplusplus
25185 extern "C"
25186 #endif
25187 /* We use char because int might match the return type of a gcc2
25188    builtin and then its argument prototype would still apply.  */
25189 char clog10f ();
25190 int
25191 main ()
25192 {
25193 clog10f ();
25194   ;
25195   return 0;
25196 }
25197 _ACEOF
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200   (eval $ac_link) 2>conftest.er1
25201   ac_status=$?
25202   grep -v '^ *+' conftest.er1 >conftest.err
25203   rm -f conftest.er1
25204   cat conftest.err >&5
25205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206   (exit $ac_status); } &&
25207          { ac_try='test -z "$ac_c_werror_flag"
25208                          || test ! -s conftest.err'
25209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210   (eval $ac_try) 2>&5
25211   ac_status=$?
25212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213   (exit $ac_status); }; } &&
25214          { ac_try='test -s conftest$ac_exeext'
25215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216   (eval $ac_try) 2>&5
25217   ac_status=$?
25218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219   (exit $ac_status); }; }; then
25220   ac_cv_lib_m_clog10f=yes
25221 else
25222   echo "$as_me: failed program was:" >&5
25223 sed 's/^/| /' conftest.$ac_ext >&5
25224
25225 ac_cv_lib_m_clog10f=no
25226 fi
25227 rm -f conftest.err conftest.$ac_objext \
25228       conftest$ac_exeext conftest.$ac_ext
25229 LIBS=$ac_check_lib_save_LIBS
25230 fi
25231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25232 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25233 if test $ac_cv_lib_m_clog10f = yes; then
25234
25235 cat >>confdefs.h <<\_ACEOF
25236 #define HAVE_CLOG10F 1
25237 _ACEOF
25238
25239 fi
25240
25241 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25242 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25243 if test "${ac_cv_lib_m_clog10+set}" = set; then
25244   echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246   ac_check_lib_save_LIBS=$LIBS
25247 LIBS="-lm  $LIBS"
25248 if test x$gcc_no_link = xyes; then
25249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25251    { (exit 1); exit 1; }; }
25252 fi
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h.  */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h.  */
25259
25260 /* Override any gcc2 internal prototype to avoid an error.  */
25261 #ifdef __cplusplus
25262 extern "C"
25263 #endif
25264 /* We use char because int might match the return type of a gcc2
25265    builtin and then its argument prototype would still apply.  */
25266 char clog10 ();
25267 int
25268 main ()
25269 {
25270 clog10 ();
25271   ;
25272   return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277   (eval $ac_link) 2>conftest.er1
25278   ac_status=$?
25279   grep -v '^ *+' conftest.er1 >conftest.err
25280   rm -f conftest.er1
25281   cat conftest.err >&5
25282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283   (exit $ac_status); } &&
25284          { ac_try='test -z "$ac_c_werror_flag"
25285                          || test ! -s conftest.err'
25286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287   (eval $ac_try) 2>&5
25288   ac_status=$?
25289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290   (exit $ac_status); }; } &&
25291          { ac_try='test -s conftest$ac_exeext'
25292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293   (eval $ac_try) 2>&5
25294   ac_status=$?
25295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296   (exit $ac_status); }; }; then
25297   ac_cv_lib_m_clog10=yes
25298 else
25299   echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 ac_cv_lib_m_clog10=no
25303 fi
25304 rm -f conftest.err conftest.$ac_objext \
25305       conftest$ac_exeext conftest.$ac_ext
25306 LIBS=$ac_check_lib_save_LIBS
25307 fi
25308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25309 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25310 if test $ac_cv_lib_m_clog10 = yes; then
25311
25312 cat >>confdefs.h <<\_ACEOF
25313 #define HAVE_CLOG10 1
25314 _ACEOF
25315
25316 fi
25317
25318 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25319 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25320 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25321   echo $ECHO_N "(cached) $ECHO_C" >&6
25322 else
25323   ac_check_lib_save_LIBS=$LIBS
25324 LIBS="-lm  $LIBS"
25325 if test x$gcc_no_link = xyes; then
25326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25328    { (exit 1); exit 1; }; }
25329 fi
25330 cat >conftest.$ac_ext <<_ACEOF
25331 /* confdefs.h.  */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h.  */
25336
25337 /* Override any gcc2 internal prototype to avoid an error.  */
25338 #ifdef __cplusplus
25339 extern "C"
25340 #endif
25341 /* We use char because int might match the return type of a gcc2
25342    builtin and then its argument prototype would still apply.  */
25343 char clog10l ();
25344 int
25345 main ()
25346 {
25347 clog10l ();
25348   ;
25349   return 0;
25350 }
25351 _ACEOF
25352 rm -f conftest.$ac_objext conftest$ac_exeext
25353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25354   (eval $ac_link) 2>conftest.er1
25355   ac_status=$?
25356   grep -v '^ *+' conftest.er1 >conftest.err
25357   rm -f conftest.er1
25358   cat conftest.err >&5
25359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360   (exit $ac_status); } &&
25361          { ac_try='test -z "$ac_c_werror_flag"
25362                          || test ! -s conftest.err'
25363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25364   (eval $ac_try) 2>&5
25365   ac_status=$?
25366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367   (exit $ac_status); }; } &&
25368          { ac_try='test -s conftest$ac_exeext'
25369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370   (eval $ac_try) 2>&5
25371   ac_status=$?
25372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373   (exit $ac_status); }; }; then
25374   ac_cv_lib_m_clog10l=yes
25375 else
25376   echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25378
25379 ac_cv_lib_m_clog10l=no
25380 fi
25381 rm -f conftest.err conftest.$ac_objext \
25382       conftest$ac_exeext conftest.$ac_ext
25383 LIBS=$ac_check_lib_save_LIBS
25384 fi
25385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25386 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25387 if test $ac_cv_lib_m_clog10l = yes; then
25388
25389 cat >>confdefs.h <<\_ACEOF
25390 #define HAVE_CLOG10L 1
25391 _ACEOF
25392
25393 fi
25394
25395 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25396 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25397 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25398   echo $ECHO_N "(cached) $ECHO_C" >&6
25399 else
25400   ac_check_lib_save_LIBS=$LIBS
25401 LIBS="-lm  $LIBS"
25402 if test x$gcc_no_link = xyes; then
25403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25405    { (exit 1); exit 1; }; }
25406 fi
25407 cat >conftest.$ac_ext <<_ACEOF
25408 /* confdefs.h.  */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h.  */
25413
25414 /* Override any gcc2 internal prototype to avoid an error.  */
25415 #ifdef __cplusplus
25416 extern "C"
25417 #endif
25418 /* We use char because int might match the return type of a gcc2
25419    builtin and then its argument prototype would still apply.  */
25420 char nextafterf ();
25421 int
25422 main ()
25423 {
25424 nextafterf ();
25425   ;
25426   return 0;
25427 }
25428 _ACEOF
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25431   (eval $ac_link) 2>conftest.er1
25432   ac_status=$?
25433   grep -v '^ *+' conftest.er1 >conftest.err
25434   rm -f conftest.er1
25435   cat conftest.err >&5
25436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437   (exit $ac_status); } &&
25438          { ac_try='test -z "$ac_c_werror_flag"
25439                          || test ! -s conftest.err'
25440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441   (eval $ac_try) 2>&5
25442   ac_status=$?
25443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444   (exit $ac_status); }; } &&
25445          { ac_try='test -s conftest$ac_exeext'
25446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25447   (eval $ac_try) 2>&5
25448   ac_status=$?
25449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450   (exit $ac_status); }; }; then
25451   ac_cv_lib_m_nextafterf=yes
25452 else
25453   echo "$as_me: failed program was:" >&5
25454 sed 's/^/| /' conftest.$ac_ext >&5
25455
25456 ac_cv_lib_m_nextafterf=no
25457 fi
25458 rm -f conftest.err conftest.$ac_objext \
25459       conftest$ac_exeext conftest.$ac_ext
25460 LIBS=$ac_check_lib_save_LIBS
25461 fi
25462 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25463 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25464 if test $ac_cv_lib_m_nextafterf = yes; then
25465
25466 cat >>confdefs.h <<\_ACEOF
25467 #define HAVE_NEXTAFTERF 1
25468 _ACEOF
25469
25470 fi
25471
25472 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25473 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25474 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25475   echo $ECHO_N "(cached) $ECHO_C" >&6
25476 else
25477   ac_check_lib_save_LIBS=$LIBS
25478 LIBS="-lm  $LIBS"
25479 if test x$gcc_no_link = xyes; then
25480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25482    { (exit 1); exit 1; }; }
25483 fi
25484 cat >conftest.$ac_ext <<_ACEOF
25485 /* confdefs.h.  */
25486 _ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h.  */
25490
25491 /* Override any gcc2 internal prototype to avoid an error.  */
25492 #ifdef __cplusplus
25493 extern "C"
25494 #endif
25495 /* We use char because int might match the return type of a gcc2
25496    builtin and then its argument prototype would still apply.  */
25497 char nextafter ();
25498 int
25499 main ()
25500 {
25501 nextafter ();
25502   ;
25503   return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508   (eval $ac_link) 2>conftest.er1
25509   ac_status=$?
25510   grep -v '^ *+' conftest.er1 >conftest.err
25511   rm -f conftest.er1
25512   cat conftest.err >&5
25513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514   (exit $ac_status); } &&
25515          { ac_try='test -z "$ac_c_werror_flag"
25516                          || test ! -s conftest.err'
25517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518   (eval $ac_try) 2>&5
25519   ac_status=$?
25520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521   (exit $ac_status); }; } &&
25522          { ac_try='test -s conftest$ac_exeext'
25523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524   (eval $ac_try) 2>&5
25525   ac_status=$?
25526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527   (exit $ac_status); }; }; then
25528   ac_cv_lib_m_nextafter=yes
25529 else
25530   echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25532
25533 ac_cv_lib_m_nextafter=no
25534 fi
25535 rm -f conftest.err conftest.$ac_objext \
25536       conftest$ac_exeext conftest.$ac_ext
25537 LIBS=$ac_check_lib_save_LIBS
25538 fi
25539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25540 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25541 if test $ac_cv_lib_m_nextafter = yes; then
25542
25543 cat >>confdefs.h <<\_ACEOF
25544 #define HAVE_NEXTAFTER 1
25545 _ACEOF
25546
25547 fi
25548
25549 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25550 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25551 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25552   echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25554   ac_check_lib_save_LIBS=$LIBS
25555 LIBS="-lm  $LIBS"
25556 if test x$gcc_no_link = xyes; then
25557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25559    { (exit 1); exit 1; }; }
25560 fi
25561 cat >conftest.$ac_ext <<_ACEOF
25562 /* confdefs.h.  */
25563 _ACEOF
25564 cat confdefs.h >>conftest.$ac_ext
25565 cat >>conftest.$ac_ext <<_ACEOF
25566 /* end confdefs.h.  */
25567
25568 /* Override any gcc2 internal prototype to avoid an error.  */
25569 #ifdef __cplusplus
25570 extern "C"
25571 #endif
25572 /* We use char because int might match the return type of a gcc2
25573    builtin and then its argument prototype would still apply.  */
25574 char nextafterl ();
25575 int
25576 main ()
25577 {
25578 nextafterl ();
25579   ;
25580   return 0;
25581 }
25582 _ACEOF
25583 rm -f conftest.$ac_objext conftest$ac_exeext
25584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25585   (eval $ac_link) 2>conftest.er1
25586   ac_status=$?
25587   grep -v '^ *+' conftest.er1 >conftest.err
25588   rm -f conftest.er1
25589   cat conftest.err >&5
25590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591   (exit $ac_status); } &&
25592          { ac_try='test -z "$ac_c_werror_flag"
25593                          || test ! -s conftest.err'
25594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25595   (eval $ac_try) 2>&5
25596   ac_status=$?
25597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598   (exit $ac_status); }; } &&
25599          { ac_try='test -s conftest$ac_exeext'
25600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25601   (eval $ac_try) 2>&5
25602   ac_status=$?
25603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604   (exit $ac_status); }; }; then
25605   ac_cv_lib_m_nextafterl=yes
25606 else
25607   echo "$as_me: failed program was:" >&5
25608 sed 's/^/| /' conftest.$ac_ext >&5
25609
25610 ac_cv_lib_m_nextafterl=no
25611 fi
25612 rm -f conftest.err conftest.$ac_objext \
25613       conftest$ac_exeext conftest.$ac_ext
25614 LIBS=$ac_check_lib_save_LIBS
25615 fi
25616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25617 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25618 if test $ac_cv_lib_m_nextafterl = yes; then
25619
25620 cat >>confdefs.h <<\_ACEOF
25621 #define HAVE_NEXTAFTERL 1
25622 _ACEOF
25623
25624 fi
25625
25626 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25627 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25628 if test "${ac_cv_lib_m_powf+set}" = set; then
25629   echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25631   ac_check_lib_save_LIBS=$LIBS
25632 LIBS="-lm  $LIBS"
25633 if test x$gcc_no_link = xyes; then
25634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25636    { (exit 1); exit 1; }; }
25637 fi
25638 cat >conftest.$ac_ext <<_ACEOF
25639 /* confdefs.h.  */
25640 _ACEOF
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h.  */
25644
25645 /* Override any gcc2 internal prototype to avoid an error.  */
25646 #ifdef __cplusplus
25647 extern "C"
25648 #endif
25649 /* We use char because int might match the return type of a gcc2
25650    builtin and then its argument prototype would still apply.  */
25651 char powf ();
25652 int
25653 main ()
25654 {
25655 powf ();
25656   ;
25657   return 0;
25658 }
25659 _ACEOF
25660 rm -f conftest.$ac_objext conftest$ac_exeext
25661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25662   (eval $ac_link) 2>conftest.er1
25663   ac_status=$?
25664   grep -v '^ *+' conftest.er1 >conftest.err
25665   rm -f conftest.er1
25666   cat conftest.err >&5
25667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668   (exit $ac_status); } &&
25669          { ac_try='test -z "$ac_c_werror_flag"
25670                          || test ! -s conftest.err'
25671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672   (eval $ac_try) 2>&5
25673   ac_status=$?
25674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675   (exit $ac_status); }; } &&
25676          { ac_try='test -s conftest$ac_exeext'
25677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678   (eval $ac_try) 2>&5
25679   ac_status=$?
25680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681   (exit $ac_status); }; }; then
25682   ac_cv_lib_m_powf=yes
25683 else
25684   echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.$ac_ext >&5
25686
25687 ac_cv_lib_m_powf=no
25688 fi
25689 rm -f conftest.err conftest.$ac_objext \
25690       conftest$ac_exeext conftest.$ac_ext
25691 LIBS=$ac_check_lib_save_LIBS
25692 fi
25693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25694 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25695 if test $ac_cv_lib_m_powf = yes; then
25696
25697 cat >>confdefs.h <<\_ACEOF
25698 #define HAVE_POWF 1
25699 _ACEOF
25700
25701 fi
25702
25703 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25704 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25705 if test "${ac_cv_lib_m_pow+set}" = set; then
25706   echo $ECHO_N "(cached) $ECHO_C" >&6
25707 else
25708   ac_check_lib_save_LIBS=$LIBS
25709 LIBS="-lm  $LIBS"
25710 if test x$gcc_no_link = xyes; then
25711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25713    { (exit 1); exit 1; }; }
25714 fi
25715 cat >conftest.$ac_ext <<_ACEOF
25716 /* confdefs.h.  */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h.  */
25721
25722 /* Override any gcc2 internal prototype to avoid an error.  */
25723 #ifdef __cplusplus
25724 extern "C"
25725 #endif
25726 /* We use char because int might match the return type of a gcc2
25727    builtin and then its argument prototype would still apply.  */
25728 char pow ();
25729 int
25730 main ()
25731 {
25732 pow ();
25733   ;
25734   return 0;
25735 }
25736 _ACEOF
25737 rm -f conftest.$ac_objext conftest$ac_exeext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25739   (eval $ac_link) 2>conftest.er1
25740   ac_status=$?
25741   grep -v '^ *+' conftest.er1 >conftest.err
25742   rm -f conftest.er1
25743   cat conftest.err >&5
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); } &&
25746          { ac_try='test -z "$ac_c_werror_flag"
25747                          || test ! -s conftest.err'
25748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749   (eval $ac_try) 2>&5
25750   ac_status=$?
25751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752   (exit $ac_status); }; } &&
25753          { ac_try='test -s conftest$ac_exeext'
25754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755   (eval $ac_try) 2>&5
25756   ac_status=$?
25757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758   (exit $ac_status); }; }; then
25759   ac_cv_lib_m_pow=yes
25760 else
25761   echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 ac_cv_lib_m_pow=no
25765 fi
25766 rm -f conftest.err conftest.$ac_objext \
25767       conftest$ac_exeext conftest.$ac_ext
25768 LIBS=$ac_check_lib_save_LIBS
25769 fi
25770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25771 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25772 if test $ac_cv_lib_m_pow = yes; then
25773
25774 cat >>confdefs.h <<\_ACEOF
25775 #define HAVE_POW 1
25776 _ACEOF
25777
25778 fi
25779
25780 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25781 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25782 if test "${ac_cv_lib_m_powl+set}" = set; then
25783   echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785   ac_check_lib_save_LIBS=$LIBS
25786 LIBS="-lm  $LIBS"
25787 if test x$gcc_no_link = xyes; then
25788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25790    { (exit 1); exit 1; }; }
25791 fi
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h.  */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h.  */
25798
25799 /* Override any gcc2 internal prototype to avoid an error.  */
25800 #ifdef __cplusplus
25801 extern "C"
25802 #endif
25803 /* We use char because int might match the return type of a gcc2
25804    builtin and then its argument prototype would still apply.  */
25805 char powl ();
25806 int
25807 main ()
25808 {
25809 powl ();
25810   ;
25811   return 0;
25812 }
25813 _ACEOF
25814 rm -f conftest.$ac_objext conftest$ac_exeext
25815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25816   (eval $ac_link) 2>conftest.er1
25817   ac_status=$?
25818   grep -v '^ *+' conftest.er1 >conftest.err
25819   rm -f conftest.er1
25820   cat conftest.err >&5
25821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822   (exit $ac_status); } &&
25823          { ac_try='test -z "$ac_c_werror_flag"
25824                          || test ! -s conftest.err'
25825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826   (eval $ac_try) 2>&5
25827   ac_status=$?
25828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829   (exit $ac_status); }; } &&
25830          { ac_try='test -s conftest$ac_exeext'
25831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832   (eval $ac_try) 2>&5
25833   ac_status=$?
25834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835   (exit $ac_status); }; }; then
25836   ac_cv_lib_m_powl=yes
25837 else
25838   echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25840
25841 ac_cv_lib_m_powl=no
25842 fi
25843 rm -f conftest.err conftest.$ac_objext \
25844       conftest$ac_exeext conftest.$ac_ext
25845 LIBS=$ac_check_lib_save_LIBS
25846 fi
25847 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25848 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25849 if test $ac_cv_lib_m_powl = yes; then
25850
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_POWL 1
25853 _ACEOF
25854
25855 fi
25856
25857 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25858 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25859 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25860   echo $ECHO_N "(cached) $ECHO_C" >&6
25861 else
25862   ac_check_lib_save_LIBS=$LIBS
25863 LIBS="-lm  $LIBS"
25864 if test x$gcc_no_link = xyes; then
25865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25867    { (exit 1); exit 1; }; }
25868 fi
25869 cat >conftest.$ac_ext <<_ACEOF
25870 /* confdefs.h.  */
25871 _ACEOF
25872 cat confdefs.h >>conftest.$ac_ext
25873 cat >>conftest.$ac_ext <<_ACEOF
25874 /* end confdefs.h.  */
25875
25876 /* Override any gcc2 internal prototype to avoid an error.  */
25877 #ifdef __cplusplus
25878 extern "C"
25879 #endif
25880 /* We use char because int might match the return type of a gcc2
25881    builtin and then its argument prototype would still apply.  */
25882 char cpowf ();
25883 int
25884 main ()
25885 {
25886 cpowf ();
25887   ;
25888   return 0;
25889 }
25890 _ACEOF
25891 rm -f conftest.$ac_objext conftest$ac_exeext
25892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25893   (eval $ac_link) 2>conftest.er1
25894   ac_status=$?
25895   grep -v '^ *+' conftest.er1 >conftest.err
25896   rm -f conftest.er1
25897   cat conftest.err >&5
25898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899   (exit $ac_status); } &&
25900          { ac_try='test -z "$ac_c_werror_flag"
25901                          || test ! -s conftest.err'
25902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903   (eval $ac_try) 2>&5
25904   ac_status=$?
25905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906   (exit $ac_status); }; } &&
25907          { ac_try='test -s conftest$ac_exeext'
25908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25909   (eval $ac_try) 2>&5
25910   ac_status=$?
25911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912   (exit $ac_status); }; }; then
25913   ac_cv_lib_m_cpowf=yes
25914 else
25915   echo "$as_me: failed program was:" >&5
25916 sed 's/^/| /' conftest.$ac_ext >&5
25917
25918 ac_cv_lib_m_cpowf=no
25919 fi
25920 rm -f conftest.err conftest.$ac_objext \
25921       conftest$ac_exeext conftest.$ac_ext
25922 LIBS=$ac_check_lib_save_LIBS
25923 fi
25924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25925 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25926 if test $ac_cv_lib_m_cpowf = yes; then
25927
25928 cat >>confdefs.h <<\_ACEOF
25929 #define HAVE_CPOWF 1
25930 _ACEOF
25931
25932 fi
25933
25934 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25935 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25936 if test "${ac_cv_lib_m_cpow+set}" = set; then
25937   echo $ECHO_N "(cached) $ECHO_C" >&6
25938 else
25939   ac_check_lib_save_LIBS=$LIBS
25940 LIBS="-lm  $LIBS"
25941 if test x$gcc_no_link = xyes; then
25942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25944    { (exit 1); exit 1; }; }
25945 fi
25946 cat >conftest.$ac_ext <<_ACEOF
25947 /* confdefs.h.  */
25948 _ACEOF
25949 cat confdefs.h >>conftest.$ac_ext
25950 cat >>conftest.$ac_ext <<_ACEOF
25951 /* end confdefs.h.  */
25952
25953 /* Override any gcc2 internal prototype to avoid an error.  */
25954 #ifdef __cplusplus
25955 extern "C"
25956 #endif
25957 /* We use char because int might match the return type of a gcc2
25958    builtin and then its argument prototype would still apply.  */
25959 char cpow ();
25960 int
25961 main ()
25962 {
25963 cpow ();
25964   ;
25965   return 0;
25966 }
25967 _ACEOF
25968 rm -f conftest.$ac_objext conftest$ac_exeext
25969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25970   (eval $ac_link) 2>conftest.er1
25971   ac_status=$?
25972   grep -v '^ *+' conftest.er1 >conftest.err
25973   rm -f conftest.er1
25974   cat conftest.err >&5
25975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976   (exit $ac_status); } &&
25977          { ac_try='test -z "$ac_c_werror_flag"
25978                          || test ! -s conftest.err'
25979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980   (eval $ac_try) 2>&5
25981   ac_status=$?
25982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983   (exit $ac_status); }; } &&
25984          { ac_try='test -s conftest$ac_exeext'
25985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986   (eval $ac_try) 2>&5
25987   ac_status=$?
25988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989   (exit $ac_status); }; }; then
25990   ac_cv_lib_m_cpow=yes
25991 else
25992   echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.$ac_ext >&5
25994
25995 ac_cv_lib_m_cpow=no
25996 fi
25997 rm -f conftest.err conftest.$ac_objext \
25998       conftest$ac_exeext conftest.$ac_ext
25999 LIBS=$ac_check_lib_save_LIBS
26000 fi
26001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26002 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26003 if test $ac_cv_lib_m_cpow = yes; then
26004
26005 cat >>confdefs.h <<\_ACEOF
26006 #define HAVE_CPOW 1
26007 _ACEOF
26008
26009 fi
26010
26011 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26012 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26013 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26014   echo $ECHO_N "(cached) $ECHO_C" >&6
26015 else
26016   ac_check_lib_save_LIBS=$LIBS
26017 LIBS="-lm  $LIBS"
26018 if test x$gcc_no_link = xyes; then
26019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26021    { (exit 1); exit 1; }; }
26022 fi
26023 cat >conftest.$ac_ext <<_ACEOF
26024 /* confdefs.h.  */
26025 _ACEOF
26026 cat confdefs.h >>conftest.$ac_ext
26027 cat >>conftest.$ac_ext <<_ACEOF
26028 /* end confdefs.h.  */
26029
26030 /* Override any gcc2 internal prototype to avoid an error.  */
26031 #ifdef __cplusplus
26032 extern "C"
26033 #endif
26034 /* We use char because int might match the return type of a gcc2
26035    builtin and then its argument prototype would still apply.  */
26036 char cpowl ();
26037 int
26038 main ()
26039 {
26040 cpowl ();
26041   ;
26042   return 0;
26043 }
26044 _ACEOF
26045 rm -f conftest.$ac_objext conftest$ac_exeext
26046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26047   (eval $ac_link) 2>conftest.er1
26048   ac_status=$?
26049   grep -v '^ *+' conftest.er1 >conftest.err
26050   rm -f conftest.er1
26051   cat conftest.err >&5
26052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053   (exit $ac_status); } &&
26054          { ac_try='test -z "$ac_c_werror_flag"
26055                          || test ! -s conftest.err'
26056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057   (eval $ac_try) 2>&5
26058   ac_status=$?
26059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060   (exit $ac_status); }; } &&
26061          { ac_try='test -s conftest$ac_exeext'
26062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063   (eval $ac_try) 2>&5
26064   ac_status=$?
26065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066   (exit $ac_status); }; }; then
26067   ac_cv_lib_m_cpowl=yes
26068 else
26069   echo "$as_me: failed program was:" >&5
26070 sed 's/^/| /' conftest.$ac_ext >&5
26071
26072 ac_cv_lib_m_cpowl=no
26073 fi
26074 rm -f conftest.err conftest.$ac_objext \
26075       conftest$ac_exeext conftest.$ac_ext
26076 LIBS=$ac_check_lib_save_LIBS
26077 fi
26078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26079 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26080 if test $ac_cv_lib_m_cpowl = yes; then
26081
26082 cat >>confdefs.h <<\_ACEOF
26083 #define HAVE_CPOWL 1
26084 _ACEOF
26085
26086 fi
26087
26088 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26089 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26090 if test "${ac_cv_lib_m_roundf+set}" = set; then
26091   echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093   ac_check_lib_save_LIBS=$LIBS
26094 LIBS="-lm  $LIBS"
26095 if test x$gcc_no_link = xyes; then
26096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26098    { (exit 1); exit 1; }; }
26099 fi
26100 cat >conftest.$ac_ext <<_ACEOF
26101 /* confdefs.h.  */
26102 _ACEOF
26103 cat confdefs.h >>conftest.$ac_ext
26104 cat >>conftest.$ac_ext <<_ACEOF
26105 /* end confdefs.h.  */
26106
26107 /* Override any gcc2 internal prototype to avoid an error.  */
26108 #ifdef __cplusplus
26109 extern "C"
26110 #endif
26111 /* We use char because int might match the return type of a gcc2
26112    builtin and then its argument prototype would still apply.  */
26113 char roundf ();
26114 int
26115 main ()
26116 {
26117 roundf ();
26118   ;
26119   return 0;
26120 }
26121 _ACEOF
26122 rm -f conftest.$ac_objext conftest$ac_exeext
26123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26124   (eval $ac_link) 2>conftest.er1
26125   ac_status=$?
26126   grep -v '^ *+' conftest.er1 >conftest.err
26127   rm -f conftest.er1
26128   cat conftest.err >&5
26129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130   (exit $ac_status); } &&
26131          { ac_try='test -z "$ac_c_werror_flag"
26132                          || test ! -s conftest.err'
26133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134   (eval $ac_try) 2>&5
26135   ac_status=$?
26136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137   (exit $ac_status); }; } &&
26138          { ac_try='test -s conftest$ac_exeext'
26139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140   (eval $ac_try) 2>&5
26141   ac_status=$?
26142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143   (exit $ac_status); }; }; then
26144   ac_cv_lib_m_roundf=yes
26145 else
26146   echo "$as_me: failed program was:" >&5
26147 sed 's/^/| /' conftest.$ac_ext >&5
26148
26149 ac_cv_lib_m_roundf=no
26150 fi
26151 rm -f conftest.err conftest.$ac_objext \
26152       conftest$ac_exeext conftest.$ac_ext
26153 LIBS=$ac_check_lib_save_LIBS
26154 fi
26155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26156 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26157 if test $ac_cv_lib_m_roundf = yes; then
26158
26159 cat >>confdefs.h <<\_ACEOF
26160 #define HAVE_ROUNDF 1
26161 _ACEOF
26162
26163 fi
26164
26165 echo "$as_me:$LINENO: checking for round in -lm" >&5
26166 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26167 if test "${ac_cv_lib_m_round+set}" = set; then
26168   echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170   ac_check_lib_save_LIBS=$LIBS
26171 LIBS="-lm  $LIBS"
26172 if test x$gcc_no_link = xyes; then
26173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26175    { (exit 1); exit 1; }; }
26176 fi
26177 cat >conftest.$ac_ext <<_ACEOF
26178 /* confdefs.h.  */
26179 _ACEOF
26180 cat confdefs.h >>conftest.$ac_ext
26181 cat >>conftest.$ac_ext <<_ACEOF
26182 /* end confdefs.h.  */
26183
26184 /* Override any gcc2 internal prototype to avoid an error.  */
26185 #ifdef __cplusplus
26186 extern "C"
26187 #endif
26188 /* We use char because int might match the return type of a gcc2
26189    builtin and then its argument prototype would still apply.  */
26190 char round ();
26191 int
26192 main ()
26193 {
26194 round ();
26195   ;
26196   return 0;
26197 }
26198 _ACEOF
26199 rm -f conftest.$ac_objext conftest$ac_exeext
26200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26201   (eval $ac_link) 2>conftest.er1
26202   ac_status=$?
26203   grep -v '^ *+' conftest.er1 >conftest.err
26204   rm -f conftest.er1
26205   cat conftest.err >&5
26206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207   (exit $ac_status); } &&
26208          { ac_try='test -z "$ac_c_werror_flag"
26209                          || test ! -s conftest.err'
26210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211   (eval $ac_try) 2>&5
26212   ac_status=$?
26213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214   (exit $ac_status); }; } &&
26215          { ac_try='test -s conftest$ac_exeext'
26216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217   (eval $ac_try) 2>&5
26218   ac_status=$?
26219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220   (exit $ac_status); }; }; then
26221   ac_cv_lib_m_round=yes
26222 else
26223   echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26225
26226 ac_cv_lib_m_round=no
26227 fi
26228 rm -f conftest.err conftest.$ac_objext \
26229       conftest$ac_exeext conftest.$ac_ext
26230 LIBS=$ac_check_lib_save_LIBS
26231 fi
26232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26233 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26234 if test $ac_cv_lib_m_round = yes; then
26235
26236 cat >>confdefs.h <<\_ACEOF
26237 #define HAVE_ROUND 1
26238 _ACEOF
26239
26240 fi
26241
26242 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26243 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26244 if test "${ac_cv_lib_m_roundl+set}" = set; then
26245   echo $ECHO_N "(cached) $ECHO_C" >&6
26246 else
26247   ac_check_lib_save_LIBS=$LIBS
26248 LIBS="-lm  $LIBS"
26249 if test x$gcc_no_link = xyes; then
26250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26252    { (exit 1); exit 1; }; }
26253 fi
26254 cat >conftest.$ac_ext <<_ACEOF
26255 /* confdefs.h.  */
26256 _ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h.  */
26260
26261 /* Override any gcc2 internal prototype to avoid an error.  */
26262 #ifdef __cplusplus
26263 extern "C"
26264 #endif
26265 /* We use char because int might match the return type of a gcc2
26266    builtin and then its argument prototype would still apply.  */
26267 char roundl ();
26268 int
26269 main ()
26270 {
26271 roundl ();
26272   ;
26273   return 0;
26274 }
26275 _ACEOF
26276 rm -f conftest.$ac_objext conftest$ac_exeext
26277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26278   (eval $ac_link) 2>conftest.er1
26279   ac_status=$?
26280   grep -v '^ *+' conftest.er1 >conftest.err
26281   rm -f conftest.er1
26282   cat conftest.err >&5
26283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284   (exit $ac_status); } &&
26285          { ac_try='test -z "$ac_c_werror_flag"
26286                          || test ! -s conftest.err'
26287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288   (eval $ac_try) 2>&5
26289   ac_status=$?
26290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291   (exit $ac_status); }; } &&
26292          { ac_try='test -s conftest$ac_exeext'
26293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294   (eval $ac_try) 2>&5
26295   ac_status=$?
26296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297   (exit $ac_status); }; }; then
26298   ac_cv_lib_m_roundl=yes
26299 else
26300   echo "$as_me: failed program was:" >&5
26301 sed 's/^/| /' conftest.$ac_ext >&5
26302
26303 ac_cv_lib_m_roundl=no
26304 fi
26305 rm -f conftest.err conftest.$ac_objext \
26306       conftest$ac_exeext conftest.$ac_ext
26307 LIBS=$ac_check_lib_save_LIBS
26308 fi
26309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26310 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26311 if test $ac_cv_lib_m_roundl = yes; then
26312
26313 cat >>confdefs.h <<\_ACEOF
26314 #define HAVE_ROUNDL 1
26315 _ACEOF
26316
26317 fi
26318
26319 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26320 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26321 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26322   echo $ECHO_N "(cached) $ECHO_C" >&6
26323 else
26324   ac_check_lib_save_LIBS=$LIBS
26325 LIBS="-lm  $LIBS"
26326 if test x$gcc_no_link = xyes; then
26327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26329    { (exit 1); exit 1; }; }
26330 fi
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h.  */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h.  */
26337
26338 /* Override any gcc2 internal prototype to avoid an error.  */
26339 #ifdef __cplusplus
26340 extern "C"
26341 #endif
26342 /* We use char because int might match the return type of a gcc2
26343    builtin and then its argument prototype would still apply.  */
26344 char lroundf ();
26345 int
26346 main ()
26347 {
26348 lroundf ();
26349   ;
26350   return 0;
26351 }
26352 _ACEOF
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26355   (eval $ac_link) 2>conftest.er1
26356   ac_status=$?
26357   grep -v '^ *+' conftest.er1 >conftest.err
26358   rm -f conftest.er1
26359   cat conftest.err >&5
26360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361   (exit $ac_status); } &&
26362          { ac_try='test -z "$ac_c_werror_flag"
26363                          || test ! -s conftest.err'
26364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365   (eval $ac_try) 2>&5
26366   ac_status=$?
26367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368   (exit $ac_status); }; } &&
26369          { ac_try='test -s conftest$ac_exeext'
26370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371   (eval $ac_try) 2>&5
26372   ac_status=$?
26373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374   (exit $ac_status); }; }; then
26375   ac_cv_lib_m_lroundf=yes
26376 else
26377   echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.$ac_ext >&5
26379
26380 ac_cv_lib_m_lroundf=no
26381 fi
26382 rm -f conftest.err conftest.$ac_objext \
26383       conftest$ac_exeext conftest.$ac_ext
26384 LIBS=$ac_check_lib_save_LIBS
26385 fi
26386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26387 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26388 if test $ac_cv_lib_m_lroundf = yes; then
26389
26390 cat >>confdefs.h <<\_ACEOF
26391 #define HAVE_LROUNDF 1
26392 _ACEOF
26393
26394 fi
26395
26396 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26397 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26398 if test "${ac_cv_lib_m_lround+set}" = set; then
26399   echo $ECHO_N "(cached) $ECHO_C" >&6
26400 else
26401   ac_check_lib_save_LIBS=$LIBS
26402 LIBS="-lm  $LIBS"
26403 if test x$gcc_no_link = xyes; then
26404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26406    { (exit 1); exit 1; }; }
26407 fi
26408 cat >conftest.$ac_ext <<_ACEOF
26409 /* confdefs.h.  */
26410 _ACEOF
26411 cat confdefs.h >>conftest.$ac_ext
26412 cat >>conftest.$ac_ext <<_ACEOF
26413 /* end confdefs.h.  */
26414
26415 /* Override any gcc2 internal prototype to avoid an error.  */
26416 #ifdef __cplusplus
26417 extern "C"
26418 #endif
26419 /* We use char because int might match the return type of a gcc2
26420    builtin and then its argument prototype would still apply.  */
26421 char lround ();
26422 int
26423 main ()
26424 {
26425 lround ();
26426   ;
26427   return 0;
26428 }
26429 _ACEOF
26430 rm -f conftest.$ac_objext conftest$ac_exeext
26431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26432   (eval $ac_link) 2>conftest.er1
26433   ac_status=$?
26434   grep -v '^ *+' conftest.er1 >conftest.err
26435   rm -f conftest.er1
26436   cat conftest.err >&5
26437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438   (exit $ac_status); } &&
26439          { ac_try='test -z "$ac_c_werror_flag"
26440                          || test ! -s conftest.err'
26441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442   (eval $ac_try) 2>&5
26443   ac_status=$?
26444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445   (exit $ac_status); }; } &&
26446          { ac_try='test -s conftest$ac_exeext'
26447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448   (eval $ac_try) 2>&5
26449   ac_status=$?
26450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451   (exit $ac_status); }; }; then
26452   ac_cv_lib_m_lround=yes
26453 else
26454   echo "$as_me: failed program was:" >&5
26455 sed 's/^/| /' conftest.$ac_ext >&5
26456
26457 ac_cv_lib_m_lround=no
26458 fi
26459 rm -f conftest.err conftest.$ac_objext \
26460       conftest$ac_exeext conftest.$ac_ext
26461 LIBS=$ac_check_lib_save_LIBS
26462 fi
26463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26464 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26465 if test $ac_cv_lib_m_lround = yes; then
26466
26467 cat >>confdefs.h <<\_ACEOF
26468 #define HAVE_LROUND 1
26469 _ACEOF
26470
26471 fi
26472
26473 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26474 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26475 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26476   echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478   ac_check_lib_save_LIBS=$LIBS
26479 LIBS="-lm  $LIBS"
26480 if test x$gcc_no_link = xyes; then
26481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26483    { (exit 1); exit 1; }; }
26484 fi
26485 cat >conftest.$ac_ext <<_ACEOF
26486 /* confdefs.h.  */
26487 _ACEOF
26488 cat confdefs.h >>conftest.$ac_ext
26489 cat >>conftest.$ac_ext <<_ACEOF
26490 /* end confdefs.h.  */
26491
26492 /* Override any gcc2 internal prototype to avoid an error.  */
26493 #ifdef __cplusplus
26494 extern "C"
26495 #endif
26496 /* We use char because int might match the return type of a gcc2
26497    builtin and then its argument prototype would still apply.  */
26498 char lroundl ();
26499 int
26500 main ()
26501 {
26502 lroundl ();
26503   ;
26504   return 0;
26505 }
26506 _ACEOF
26507 rm -f conftest.$ac_objext conftest$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509   (eval $ac_link) 2>conftest.er1
26510   ac_status=$?
26511   grep -v '^ *+' conftest.er1 >conftest.err
26512   rm -f conftest.er1
26513   cat conftest.err >&5
26514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515   (exit $ac_status); } &&
26516          { ac_try='test -z "$ac_c_werror_flag"
26517                          || test ! -s conftest.err'
26518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519   (eval $ac_try) 2>&5
26520   ac_status=$?
26521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522   (exit $ac_status); }; } &&
26523          { ac_try='test -s conftest$ac_exeext'
26524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525   (eval $ac_try) 2>&5
26526   ac_status=$?
26527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528   (exit $ac_status); }; }; then
26529   ac_cv_lib_m_lroundl=yes
26530 else
26531   echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 ac_cv_lib_m_lroundl=no
26535 fi
26536 rm -f conftest.err conftest.$ac_objext \
26537       conftest$ac_exeext conftest.$ac_ext
26538 LIBS=$ac_check_lib_save_LIBS
26539 fi
26540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26541 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26542 if test $ac_cv_lib_m_lroundl = yes; then
26543
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE_LROUNDL 1
26546 _ACEOF
26547
26548 fi
26549
26550 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26551 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26552 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26553   echo $ECHO_N "(cached) $ECHO_C" >&6
26554 else
26555   ac_check_lib_save_LIBS=$LIBS
26556 LIBS="-lm  $LIBS"
26557 if test x$gcc_no_link = xyes; then
26558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26560    { (exit 1); exit 1; }; }
26561 fi
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h.  */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h.  */
26568
26569 /* Override any gcc2 internal prototype to avoid an error.  */
26570 #ifdef __cplusplus
26571 extern "C"
26572 #endif
26573 /* We use char because int might match the return type of a gcc2
26574    builtin and then its argument prototype would still apply.  */
26575 char llroundf ();
26576 int
26577 main ()
26578 {
26579 llroundf ();
26580   ;
26581   return 0;
26582 }
26583 _ACEOF
26584 rm -f conftest.$ac_objext conftest$ac_exeext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26586   (eval $ac_link) 2>conftest.er1
26587   ac_status=$?
26588   grep -v '^ *+' conftest.er1 >conftest.err
26589   rm -f conftest.er1
26590   cat conftest.err >&5
26591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592   (exit $ac_status); } &&
26593          { ac_try='test -z "$ac_c_werror_flag"
26594                          || test ! -s conftest.err'
26595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596   (eval $ac_try) 2>&5
26597   ac_status=$?
26598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599   (exit $ac_status); }; } &&
26600          { ac_try='test -s conftest$ac_exeext'
26601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602   (eval $ac_try) 2>&5
26603   ac_status=$?
26604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605   (exit $ac_status); }; }; then
26606   ac_cv_lib_m_llroundf=yes
26607 else
26608   echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26610
26611 ac_cv_lib_m_llroundf=no
26612 fi
26613 rm -f conftest.err conftest.$ac_objext \
26614       conftest$ac_exeext conftest.$ac_ext
26615 LIBS=$ac_check_lib_save_LIBS
26616 fi
26617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26618 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26619 if test $ac_cv_lib_m_llroundf = yes; then
26620
26621 cat >>confdefs.h <<\_ACEOF
26622 #define HAVE_LLROUNDF 1
26623 _ACEOF
26624
26625 fi
26626
26627 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26628 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26629 if test "${ac_cv_lib_m_llround+set}" = set; then
26630   echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26632   ac_check_lib_save_LIBS=$LIBS
26633 LIBS="-lm  $LIBS"
26634 if test x$gcc_no_link = xyes; then
26635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26637    { (exit 1); exit 1; }; }
26638 fi
26639 cat >conftest.$ac_ext <<_ACEOF
26640 /* confdefs.h.  */
26641 _ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h.  */
26645
26646 /* Override any gcc2 internal prototype to avoid an error.  */
26647 #ifdef __cplusplus
26648 extern "C"
26649 #endif
26650 /* We use char because int might match the return type of a gcc2
26651    builtin and then its argument prototype would still apply.  */
26652 char llround ();
26653 int
26654 main ()
26655 {
26656 llround ();
26657   ;
26658   return 0;
26659 }
26660 _ACEOF
26661 rm -f conftest.$ac_objext conftest$ac_exeext
26662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26663   (eval $ac_link) 2>conftest.er1
26664   ac_status=$?
26665   grep -v '^ *+' conftest.er1 >conftest.err
26666   rm -f conftest.er1
26667   cat conftest.err >&5
26668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669   (exit $ac_status); } &&
26670          { ac_try='test -z "$ac_c_werror_flag"
26671                          || test ! -s conftest.err'
26672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673   (eval $ac_try) 2>&5
26674   ac_status=$?
26675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676   (exit $ac_status); }; } &&
26677          { ac_try='test -s conftest$ac_exeext'
26678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679   (eval $ac_try) 2>&5
26680   ac_status=$?
26681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682   (exit $ac_status); }; }; then
26683   ac_cv_lib_m_llround=yes
26684 else
26685   echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26687
26688 ac_cv_lib_m_llround=no
26689 fi
26690 rm -f conftest.err conftest.$ac_objext \
26691       conftest$ac_exeext conftest.$ac_ext
26692 LIBS=$ac_check_lib_save_LIBS
26693 fi
26694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26695 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26696 if test $ac_cv_lib_m_llround = yes; then
26697
26698 cat >>confdefs.h <<\_ACEOF
26699 #define HAVE_LLROUND 1
26700 _ACEOF
26701
26702 fi
26703
26704 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26705 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26706 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26707   echo $ECHO_N "(cached) $ECHO_C" >&6
26708 else
26709   ac_check_lib_save_LIBS=$LIBS
26710 LIBS="-lm  $LIBS"
26711 if test x$gcc_no_link = xyes; then
26712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26714    { (exit 1); exit 1; }; }
26715 fi
26716 cat >conftest.$ac_ext <<_ACEOF
26717 /* confdefs.h.  */
26718 _ACEOF
26719 cat confdefs.h >>conftest.$ac_ext
26720 cat >>conftest.$ac_ext <<_ACEOF
26721 /* end confdefs.h.  */
26722
26723 /* Override any gcc2 internal prototype to avoid an error.  */
26724 #ifdef __cplusplus
26725 extern "C"
26726 #endif
26727 /* We use char because int might match the return type of a gcc2
26728    builtin and then its argument prototype would still apply.  */
26729 char llroundl ();
26730 int
26731 main ()
26732 {
26733 llroundl ();
26734   ;
26735   return 0;
26736 }
26737 _ACEOF
26738 rm -f conftest.$ac_objext conftest$ac_exeext
26739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26740   (eval $ac_link) 2>conftest.er1
26741   ac_status=$?
26742   grep -v '^ *+' conftest.er1 >conftest.err
26743   rm -f conftest.er1
26744   cat conftest.err >&5
26745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746   (exit $ac_status); } &&
26747          { ac_try='test -z "$ac_c_werror_flag"
26748                          || test ! -s conftest.err'
26749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750   (eval $ac_try) 2>&5
26751   ac_status=$?
26752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753   (exit $ac_status); }; } &&
26754          { ac_try='test -s conftest$ac_exeext'
26755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756   (eval $ac_try) 2>&5
26757   ac_status=$?
26758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759   (exit $ac_status); }; }; then
26760   ac_cv_lib_m_llroundl=yes
26761 else
26762   echo "$as_me: failed program was:" >&5
26763 sed 's/^/| /' conftest.$ac_ext >&5
26764
26765 ac_cv_lib_m_llroundl=no
26766 fi
26767 rm -f conftest.err conftest.$ac_objext \
26768       conftest$ac_exeext conftest.$ac_ext
26769 LIBS=$ac_check_lib_save_LIBS
26770 fi
26771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26772 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26773 if test $ac_cv_lib_m_llroundl = yes; then
26774
26775 cat >>confdefs.h <<\_ACEOF
26776 #define HAVE_LLROUNDL 1
26777 _ACEOF
26778
26779 fi
26780
26781 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26782 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26783 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26784   echo $ECHO_N "(cached) $ECHO_C" >&6
26785 else
26786   ac_check_lib_save_LIBS=$LIBS
26787 LIBS="-lm  $LIBS"
26788 if test x$gcc_no_link = xyes; then
26789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26791    { (exit 1); exit 1; }; }
26792 fi
26793 cat >conftest.$ac_ext <<_ACEOF
26794 /* confdefs.h.  */
26795 _ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h.  */
26799
26800 /* Override any gcc2 internal prototype to avoid an error.  */
26801 #ifdef __cplusplus
26802 extern "C"
26803 #endif
26804 /* We use char because int might match the return type of a gcc2
26805    builtin and then its argument prototype would still apply.  */
26806 char scalbnf ();
26807 int
26808 main ()
26809 {
26810 scalbnf ();
26811   ;
26812   return 0;
26813 }
26814 _ACEOF
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26817   (eval $ac_link) 2>conftest.er1
26818   ac_status=$?
26819   grep -v '^ *+' conftest.er1 >conftest.err
26820   rm -f conftest.er1
26821   cat conftest.err >&5
26822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823   (exit $ac_status); } &&
26824          { ac_try='test -z "$ac_c_werror_flag"
26825                          || test ! -s conftest.err'
26826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827   (eval $ac_try) 2>&5
26828   ac_status=$?
26829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830   (exit $ac_status); }; } &&
26831          { ac_try='test -s conftest$ac_exeext'
26832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833   (eval $ac_try) 2>&5
26834   ac_status=$?
26835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836   (exit $ac_status); }; }; then
26837   ac_cv_lib_m_scalbnf=yes
26838 else
26839   echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 ac_cv_lib_m_scalbnf=no
26843 fi
26844 rm -f conftest.err conftest.$ac_objext \
26845       conftest$ac_exeext conftest.$ac_ext
26846 LIBS=$ac_check_lib_save_LIBS
26847 fi
26848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26849 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26850 if test $ac_cv_lib_m_scalbnf = yes; then
26851
26852 cat >>confdefs.h <<\_ACEOF
26853 #define HAVE_SCALBNF 1
26854 _ACEOF
26855
26856 fi
26857
26858 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26859 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26860 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26861   echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863   ac_check_lib_save_LIBS=$LIBS
26864 LIBS="-lm  $LIBS"
26865 if test x$gcc_no_link = xyes; then
26866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26868    { (exit 1); exit 1; }; }
26869 fi
26870 cat >conftest.$ac_ext <<_ACEOF
26871 /* confdefs.h.  */
26872 _ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h.  */
26876
26877 /* Override any gcc2 internal prototype to avoid an error.  */
26878 #ifdef __cplusplus
26879 extern "C"
26880 #endif
26881 /* We use char because int might match the return type of a gcc2
26882    builtin and then its argument prototype would still apply.  */
26883 char scalbn ();
26884 int
26885 main ()
26886 {
26887 scalbn ();
26888   ;
26889   return 0;
26890 }
26891 _ACEOF
26892 rm -f conftest.$ac_objext conftest$ac_exeext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26894   (eval $ac_link) 2>conftest.er1
26895   ac_status=$?
26896   grep -v '^ *+' conftest.er1 >conftest.err
26897   rm -f conftest.er1
26898   cat conftest.err >&5
26899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900   (exit $ac_status); } &&
26901          { ac_try='test -z "$ac_c_werror_flag"
26902                          || test ! -s conftest.err'
26903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904   (eval $ac_try) 2>&5
26905   ac_status=$?
26906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907   (exit $ac_status); }; } &&
26908          { ac_try='test -s conftest$ac_exeext'
26909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910   (eval $ac_try) 2>&5
26911   ac_status=$?
26912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913   (exit $ac_status); }; }; then
26914   ac_cv_lib_m_scalbn=yes
26915 else
26916   echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 ac_cv_lib_m_scalbn=no
26920 fi
26921 rm -f conftest.err conftest.$ac_objext \
26922       conftest$ac_exeext conftest.$ac_ext
26923 LIBS=$ac_check_lib_save_LIBS
26924 fi
26925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26926 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26927 if test $ac_cv_lib_m_scalbn = yes; then
26928
26929 cat >>confdefs.h <<\_ACEOF
26930 #define HAVE_SCALBN 1
26931 _ACEOF
26932
26933 fi
26934
26935 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26936 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26937 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26938   echo $ECHO_N "(cached) $ECHO_C" >&6
26939 else
26940   ac_check_lib_save_LIBS=$LIBS
26941 LIBS="-lm  $LIBS"
26942 if test x$gcc_no_link = xyes; then
26943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26945    { (exit 1); exit 1; }; }
26946 fi
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h.  */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h.  */
26953
26954 /* Override any gcc2 internal prototype to avoid an error.  */
26955 #ifdef __cplusplus
26956 extern "C"
26957 #endif
26958 /* We use char because int might match the return type of a gcc2
26959    builtin and then its argument prototype would still apply.  */
26960 char scalbnl ();
26961 int
26962 main ()
26963 {
26964 scalbnl ();
26965   ;
26966   return 0;
26967 }
26968 _ACEOF
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971   (eval $ac_link) 2>conftest.er1
26972   ac_status=$?
26973   grep -v '^ *+' conftest.er1 >conftest.err
26974   rm -f conftest.er1
26975   cat conftest.err >&5
26976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977   (exit $ac_status); } &&
26978          { ac_try='test -z "$ac_c_werror_flag"
26979                          || test ! -s conftest.err'
26980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981   (eval $ac_try) 2>&5
26982   ac_status=$?
26983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984   (exit $ac_status); }; } &&
26985          { ac_try='test -s conftest$ac_exeext'
26986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987   (eval $ac_try) 2>&5
26988   ac_status=$?
26989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990   (exit $ac_status); }; }; then
26991   ac_cv_lib_m_scalbnl=yes
26992 else
26993   echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26995
26996 ac_cv_lib_m_scalbnl=no
26997 fi
26998 rm -f conftest.err conftest.$ac_objext \
26999       conftest$ac_exeext conftest.$ac_ext
27000 LIBS=$ac_check_lib_save_LIBS
27001 fi
27002 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27003 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27004 if test $ac_cv_lib_m_scalbnl = yes; then
27005
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE_SCALBNL 1
27008 _ACEOF
27009
27010 fi
27011
27012 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27013 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27014 if test "${ac_cv_lib_m_sinf+set}" = set; then
27015   echo $ECHO_N "(cached) $ECHO_C" >&6
27016 else
27017   ac_check_lib_save_LIBS=$LIBS
27018 LIBS="-lm  $LIBS"
27019 if test x$gcc_no_link = xyes; then
27020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27022    { (exit 1); exit 1; }; }
27023 fi
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h.  */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h.  */
27030
27031 /* Override any gcc2 internal prototype to avoid an error.  */
27032 #ifdef __cplusplus
27033 extern "C"
27034 #endif
27035 /* We use char because int might match the return type of a gcc2
27036    builtin and then its argument prototype would still apply.  */
27037 char sinf ();
27038 int
27039 main ()
27040 {
27041 sinf ();
27042   ;
27043   return 0;
27044 }
27045 _ACEOF
27046 rm -f conftest.$ac_objext conftest$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048   (eval $ac_link) 2>conftest.er1
27049   ac_status=$?
27050   grep -v '^ *+' conftest.er1 >conftest.err
27051   rm -f conftest.er1
27052   cat conftest.err >&5
27053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054   (exit $ac_status); } &&
27055          { ac_try='test -z "$ac_c_werror_flag"
27056                          || test ! -s conftest.err'
27057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058   (eval $ac_try) 2>&5
27059   ac_status=$?
27060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061   (exit $ac_status); }; } &&
27062          { ac_try='test -s conftest$ac_exeext'
27063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064   (eval $ac_try) 2>&5
27065   ac_status=$?
27066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067   (exit $ac_status); }; }; then
27068   ac_cv_lib_m_sinf=yes
27069 else
27070   echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27072
27073 ac_cv_lib_m_sinf=no
27074 fi
27075 rm -f conftest.err conftest.$ac_objext \
27076       conftest$ac_exeext conftest.$ac_ext
27077 LIBS=$ac_check_lib_save_LIBS
27078 fi
27079 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27080 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27081 if test $ac_cv_lib_m_sinf = yes; then
27082
27083 cat >>confdefs.h <<\_ACEOF
27084 #define HAVE_SINF 1
27085 _ACEOF
27086
27087 fi
27088
27089 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27090 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27091 if test "${ac_cv_lib_m_sin+set}" = set; then
27092   echo $ECHO_N "(cached) $ECHO_C" >&6
27093 else
27094   ac_check_lib_save_LIBS=$LIBS
27095 LIBS="-lm  $LIBS"
27096 if test x$gcc_no_link = xyes; then
27097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27099    { (exit 1); exit 1; }; }
27100 fi
27101 cat >conftest.$ac_ext <<_ACEOF
27102 /* confdefs.h.  */
27103 _ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h.  */
27107
27108 /* Override any gcc2 internal prototype to avoid an error.  */
27109 #ifdef __cplusplus
27110 extern "C"
27111 #endif
27112 /* We use char because int might match the return type of a gcc2
27113    builtin and then its argument prototype would still apply.  */
27114 char sin ();
27115 int
27116 main ()
27117 {
27118 sin ();
27119   ;
27120   return 0;
27121 }
27122 _ACEOF
27123 rm -f conftest.$ac_objext conftest$ac_exeext
27124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27125   (eval $ac_link) 2>conftest.er1
27126   ac_status=$?
27127   grep -v '^ *+' conftest.er1 >conftest.err
27128   rm -f conftest.er1
27129   cat conftest.err >&5
27130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131   (exit $ac_status); } &&
27132          { ac_try='test -z "$ac_c_werror_flag"
27133                          || test ! -s conftest.err'
27134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135   (eval $ac_try) 2>&5
27136   ac_status=$?
27137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138   (exit $ac_status); }; } &&
27139          { ac_try='test -s conftest$ac_exeext'
27140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141   (eval $ac_try) 2>&5
27142   ac_status=$?
27143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144   (exit $ac_status); }; }; then
27145   ac_cv_lib_m_sin=yes
27146 else
27147   echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27149
27150 ac_cv_lib_m_sin=no
27151 fi
27152 rm -f conftest.err conftest.$ac_objext \
27153       conftest$ac_exeext conftest.$ac_ext
27154 LIBS=$ac_check_lib_save_LIBS
27155 fi
27156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27157 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27158 if test $ac_cv_lib_m_sin = yes; then
27159
27160 cat >>confdefs.h <<\_ACEOF
27161 #define HAVE_SIN 1
27162 _ACEOF
27163
27164 fi
27165
27166 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27167 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27168 if test "${ac_cv_lib_m_sinl+set}" = set; then
27169   echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27171   ac_check_lib_save_LIBS=$LIBS
27172 LIBS="-lm  $LIBS"
27173 if test x$gcc_no_link = xyes; then
27174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27176    { (exit 1); exit 1; }; }
27177 fi
27178 cat >conftest.$ac_ext <<_ACEOF
27179 /* confdefs.h.  */
27180 _ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h.  */
27184
27185 /* Override any gcc2 internal prototype to avoid an error.  */
27186 #ifdef __cplusplus
27187 extern "C"
27188 #endif
27189 /* We use char because int might match the return type of a gcc2
27190    builtin and then its argument prototype would still apply.  */
27191 char sinl ();
27192 int
27193 main ()
27194 {
27195 sinl ();
27196   ;
27197   return 0;
27198 }
27199 _ACEOF
27200 rm -f conftest.$ac_objext conftest$ac_exeext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27202   (eval $ac_link) 2>conftest.er1
27203   ac_status=$?
27204   grep -v '^ *+' conftest.er1 >conftest.err
27205   rm -f conftest.er1
27206   cat conftest.err >&5
27207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208   (exit $ac_status); } &&
27209          { ac_try='test -z "$ac_c_werror_flag"
27210                          || test ! -s conftest.err'
27211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212   (eval $ac_try) 2>&5
27213   ac_status=$?
27214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215   (exit $ac_status); }; } &&
27216          { ac_try='test -s conftest$ac_exeext'
27217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218   (eval $ac_try) 2>&5
27219   ac_status=$?
27220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221   (exit $ac_status); }; }; then
27222   ac_cv_lib_m_sinl=yes
27223 else
27224   echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27226
27227 ac_cv_lib_m_sinl=no
27228 fi
27229 rm -f conftest.err conftest.$ac_objext \
27230       conftest$ac_exeext conftest.$ac_ext
27231 LIBS=$ac_check_lib_save_LIBS
27232 fi
27233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27234 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27235 if test $ac_cv_lib_m_sinl = yes; then
27236
27237 cat >>confdefs.h <<\_ACEOF
27238 #define HAVE_SINL 1
27239 _ACEOF
27240
27241 fi
27242
27243 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27244 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27245 if test "${ac_cv_lib_m_csinf+set}" = set; then
27246   echo $ECHO_N "(cached) $ECHO_C" >&6
27247 else
27248   ac_check_lib_save_LIBS=$LIBS
27249 LIBS="-lm  $LIBS"
27250 if test x$gcc_no_link = xyes; then
27251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27253    { (exit 1); exit 1; }; }
27254 fi
27255 cat >conftest.$ac_ext <<_ACEOF
27256 /* confdefs.h.  */
27257 _ACEOF
27258 cat confdefs.h >>conftest.$ac_ext
27259 cat >>conftest.$ac_ext <<_ACEOF
27260 /* end confdefs.h.  */
27261
27262 /* Override any gcc2 internal prototype to avoid an error.  */
27263 #ifdef __cplusplus
27264 extern "C"
27265 #endif
27266 /* We use char because int might match the return type of a gcc2
27267    builtin and then its argument prototype would still apply.  */
27268 char csinf ();
27269 int
27270 main ()
27271 {
27272 csinf ();
27273   ;
27274   return 0;
27275 }
27276 _ACEOF
27277 rm -f conftest.$ac_objext conftest$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279   (eval $ac_link) 2>conftest.er1
27280   ac_status=$?
27281   grep -v '^ *+' conftest.er1 >conftest.err
27282   rm -f conftest.er1
27283   cat conftest.err >&5
27284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285   (exit $ac_status); } &&
27286          { ac_try='test -z "$ac_c_werror_flag"
27287                          || test ! -s conftest.err'
27288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289   (eval $ac_try) 2>&5
27290   ac_status=$?
27291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292   (exit $ac_status); }; } &&
27293          { ac_try='test -s conftest$ac_exeext'
27294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295   (eval $ac_try) 2>&5
27296   ac_status=$?
27297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298   (exit $ac_status); }; }; then
27299   ac_cv_lib_m_csinf=yes
27300 else
27301   echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.$ac_ext >&5
27303
27304 ac_cv_lib_m_csinf=no
27305 fi
27306 rm -f conftest.err conftest.$ac_objext \
27307       conftest$ac_exeext conftest.$ac_ext
27308 LIBS=$ac_check_lib_save_LIBS
27309 fi
27310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27311 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27312 if test $ac_cv_lib_m_csinf = yes; then
27313
27314 cat >>confdefs.h <<\_ACEOF
27315 #define HAVE_CSINF 1
27316 _ACEOF
27317
27318 fi
27319
27320 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27321 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27322 if test "${ac_cv_lib_m_csin+set}" = set; then
27323   echo $ECHO_N "(cached) $ECHO_C" >&6
27324 else
27325   ac_check_lib_save_LIBS=$LIBS
27326 LIBS="-lm  $LIBS"
27327 if test x$gcc_no_link = xyes; then
27328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27330    { (exit 1); exit 1; }; }
27331 fi
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h.  */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h.  */
27338
27339 /* Override any gcc2 internal prototype to avoid an error.  */
27340 #ifdef __cplusplus
27341 extern "C"
27342 #endif
27343 /* We use char because int might match the return type of a gcc2
27344    builtin and then its argument prototype would still apply.  */
27345 char csin ();
27346 int
27347 main ()
27348 {
27349 csin ();
27350   ;
27351   return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27356   (eval $ac_link) 2>conftest.er1
27357   ac_status=$?
27358   grep -v '^ *+' conftest.er1 >conftest.err
27359   rm -f conftest.er1
27360   cat conftest.err >&5
27361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362   (exit $ac_status); } &&
27363          { ac_try='test -z "$ac_c_werror_flag"
27364                          || test ! -s conftest.err'
27365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366   (eval $ac_try) 2>&5
27367   ac_status=$?
27368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369   (exit $ac_status); }; } &&
27370          { ac_try='test -s conftest$ac_exeext'
27371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372   (eval $ac_try) 2>&5
27373   ac_status=$?
27374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375   (exit $ac_status); }; }; then
27376   ac_cv_lib_m_csin=yes
27377 else
27378   echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27380
27381 ac_cv_lib_m_csin=no
27382 fi
27383 rm -f conftest.err conftest.$ac_objext \
27384       conftest$ac_exeext conftest.$ac_ext
27385 LIBS=$ac_check_lib_save_LIBS
27386 fi
27387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27388 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27389 if test $ac_cv_lib_m_csin = yes; then
27390
27391 cat >>confdefs.h <<\_ACEOF
27392 #define HAVE_CSIN 1
27393 _ACEOF
27394
27395 fi
27396
27397 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27398 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27399 if test "${ac_cv_lib_m_csinl+set}" = set; then
27400   echo $ECHO_N "(cached) $ECHO_C" >&6
27401 else
27402   ac_check_lib_save_LIBS=$LIBS
27403 LIBS="-lm  $LIBS"
27404 if test x$gcc_no_link = xyes; then
27405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27407    { (exit 1); exit 1; }; }
27408 fi
27409 cat >conftest.$ac_ext <<_ACEOF
27410 /* confdefs.h.  */
27411 _ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h.  */
27415
27416 /* Override any gcc2 internal prototype to avoid an error.  */
27417 #ifdef __cplusplus
27418 extern "C"
27419 #endif
27420 /* We use char because int might match the return type of a gcc2
27421    builtin and then its argument prototype would still apply.  */
27422 char csinl ();
27423 int
27424 main ()
27425 {
27426 csinl ();
27427   ;
27428   return 0;
27429 }
27430 _ACEOF
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27433   (eval $ac_link) 2>conftest.er1
27434   ac_status=$?
27435   grep -v '^ *+' conftest.er1 >conftest.err
27436   rm -f conftest.er1
27437   cat conftest.err >&5
27438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439   (exit $ac_status); } &&
27440          { ac_try='test -z "$ac_c_werror_flag"
27441                          || test ! -s conftest.err'
27442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443   (eval $ac_try) 2>&5
27444   ac_status=$?
27445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446   (exit $ac_status); }; } &&
27447          { ac_try='test -s conftest$ac_exeext'
27448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449   (eval $ac_try) 2>&5
27450   ac_status=$?
27451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452   (exit $ac_status); }; }; then
27453   ac_cv_lib_m_csinl=yes
27454 else
27455   echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 ac_cv_lib_m_csinl=no
27459 fi
27460 rm -f conftest.err conftest.$ac_objext \
27461       conftest$ac_exeext conftest.$ac_ext
27462 LIBS=$ac_check_lib_save_LIBS
27463 fi
27464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27465 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27466 if test $ac_cv_lib_m_csinl = yes; then
27467
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_CSINL 1
27470 _ACEOF
27471
27472 fi
27473
27474 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27475 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27476 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27477   echo $ECHO_N "(cached) $ECHO_C" >&6
27478 else
27479   ac_check_lib_save_LIBS=$LIBS
27480 LIBS="-lm  $LIBS"
27481 if test x$gcc_no_link = xyes; then
27482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27484    { (exit 1); exit 1; }; }
27485 fi
27486 cat >conftest.$ac_ext <<_ACEOF
27487 /* confdefs.h.  */
27488 _ACEOF
27489 cat confdefs.h >>conftest.$ac_ext
27490 cat >>conftest.$ac_ext <<_ACEOF
27491 /* end confdefs.h.  */
27492
27493 /* Override any gcc2 internal prototype to avoid an error.  */
27494 #ifdef __cplusplus
27495 extern "C"
27496 #endif
27497 /* We use char because int might match the return type of a gcc2
27498    builtin and then its argument prototype would still apply.  */
27499 char sinhf ();
27500 int
27501 main ()
27502 {
27503 sinhf ();
27504   ;
27505   return 0;
27506 }
27507 _ACEOF
27508 rm -f conftest.$ac_objext conftest$ac_exeext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27510   (eval $ac_link) 2>conftest.er1
27511   ac_status=$?
27512   grep -v '^ *+' conftest.er1 >conftest.err
27513   rm -f conftest.er1
27514   cat conftest.err >&5
27515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516   (exit $ac_status); } &&
27517          { ac_try='test -z "$ac_c_werror_flag"
27518                          || test ! -s conftest.err'
27519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520   (eval $ac_try) 2>&5
27521   ac_status=$?
27522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523   (exit $ac_status); }; } &&
27524          { ac_try='test -s conftest$ac_exeext'
27525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526   (eval $ac_try) 2>&5
27527   ac_status=$?
27528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529   (exit $ac_status); }; }; then
27530   ac_cv_lib_m_sinhf=yes
27531 else
27532   echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.$ac_ext >&5
27534
27535 ac_cv_lib_m_sinhf=no
27536 fi
27537 rm -f conftest.err conftest.$ac_objext \
27538       conftest$ac_exeext conftest.$ac_ext
27539 LIBS=$ac_check_lib_save_LIBS
27540 fi
27541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27542 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27543 if test $ac_cv_lib_m_sinhf = yes; then
27544
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_SINHF 1
27547 _ACEOF
27548
27549 fi
27550
27551 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27552 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27553 if test "${ac_cv_lib_m_sinh+set}" = set; then
27554   echo $ECHO_N "(cached) $ECHO_C" >&6
27555 else
27556   ac_check_lib_save_LIBS=$LIBS
27557 LIBS="-lm  $LIBS"
27558 if test x$gcc_no_link = xyes; then
27559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27561    { (exit 1); exit 1; }; }
27562 fi
27563 cat >conftest.$ac_ext <<_ACEOF
27564 /* confdefs.h.  */
27565 _ACEOF
27566 cat confdefs.h >>conftest.$ac_ext
27567 cat >>conftest.$ac_ext <<_ACEOF
27568 /* end confdefs.h.  */
27569
27570 /* Override any gcc2 internal prototype to avoid an error.  */
27571 #ifdef __cplusplus
27572 extern "C"
27573 #endif
27574 /* We use char because int might match the return type of a gcc2
27575    builtin and then its argument prototype would still apply.  */
27576 char sinh ();
27577 int
27578 main ()
27579 {
27580 sinh ();
27581   ;
27582   return 0;
27583 }
27584 _ACEOF
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27587   (eval $ac_link) 2>conftest.er1
27588   ac_status=$?
27589   grep -v '^ *+' conftest.er1 >conftest.err
27590   rm -f conftest.er1
27591   cat conftest.err >&5
27592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593   (exit $ac_status); } &&
27594          { ac_try='test -z "$ac_c_werror_flag"
27595                          || test ! -s conftest.err'
27596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597   (eval $ac_try) 2>&5
27598   ac_status=$?
27599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600   (exit $ac_status); }; } &&
27601          { ac_try='test -s conftest$ac_exeext'
27602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603   (eval $ac_try) 2>&5
27604   ac_status=$?
27605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606   (exit $ac_status); }; }; then
27607   ac_cv_lib_m_sinh=yes
27608 else
27609   echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.$ac_ext >&5
27611
27612 ac_cv_lib_m_sinh=no
27613 fi
27614 rm -f conftest.err conftest.$ac_objext \
27615       conftest$ac_exeext conftest.$ac_ext
27616 LIBS=$ac_check_lib_save_LIBS
27617 fi
27618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27619 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27620 if test $ac_cv_lib_m_sinh = yes; then
27621
27622 cat >>confdefs.h <<\_ACEOF
27623 #define HAVE_SINH 1
27624 _ACEOF
27625
27626 fi
27627
27628 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27629 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27630 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27631   echo $ECHO_N "(cached) $ECHO_C" >&6
27632 else
27633   ac_check_lib_save_LIBS=$LIBS
27634 LIBS="-lm  $LIBS"
27635 if test x$gcc_no_link = xyes; then
27636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27638    { (exit 1); exit 1; }; }
27639 fi
27640 cat >conftest.$ac_ext <<_ACEOF
27641 /* confdefs.h.  */
27642 _ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h.  */
27646
27647 /* Override any gcc2 internal prototype to avoid an error.  */
27648 #ifdef __cplusplus
27649 extern "C"
27650 #endif
27651 /* We use char because int might match the return type of a gcc2
27652    builtin and then its argument prototype would still apply.  */
27653 char sinhl ();
27654 int
27655 main ()
27656 {
27657 sinhl ();
27658   ;
27659   return 0;
27660 }
27661 _ACEOF
27662 rm -f conftest.$ac_objext conftest$ac_exeext
27663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27664   (eval $ac_link) 2>conftest.er1
27665   ac_status=$?
27666   grep -v '^ *+' conftest.er1 >conftest.err
27667   rm -f conftest.er1
27668   cat conftest.err >&5
27669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670   (exit $ac_status); } &&
27671          { ac_try='test -z "$ac_c_werror_flag"
27672                          || test ! -s conftest.err'
27673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674   (eval $ac_try) 2>&5
27675   ac_status=$?
27676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677   (exit $ac_status); }; } &&
27678          { ac_try='test -s conftest$ac_exeext'
27679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680   (eval $ac_try) 2>&5
27681   ac_status=$?
27682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683   (exit $ac_status); }; }; then
27684   ac_cv_lib_m_sinhl=yes
27685 else
27686   echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 ac_cv_lib_m_sinhl=no
27690 fi
27691 rm -f conftest.err conftest.$ac_objext \
27692       conftest$ac_exeext conftest.$ac_ext
27693 LIBS=$ac_check_lib_save_LIBS
27694 fi
27695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27696 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27697 if test $ac_cv_lib_m_sinhl = yes; then
27698
27699 cat >>confdefs.h <<\_ACEOF
27700 #define HAVE_SINHL 1
27701 _ACEOF
27702
27703 fi
27704
27705 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27706 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27707 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27708   echo $ECHO_N "(cached) $ECHO_C" >&6
27709 else
27710   ac_check_lib_save_LIBS=$LIBS
27711 LIBS="-lm  $LIBS"
27712 if test x$gcc_no_link = xyes; then
27713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27715    { (exit 1); exit 1; }; }
27716 fi
27717 cat >conftest.$ac_ext <<_ACEOF
27718 /* confdefs.h.  */
27719 _ACEOF
27720 cat confdefs.h >>conftest.$ac_ext
27721 cat >>conftest.$ac_ext <<_ACEOF
27722 /* end confdefs.h.  */
27723
27724 /* Override any gcc2 internal prototype to avoid an error.  */
27725 #ifdef __cplusplus
27726 extern "C"
27727 #endif
27728 /* We use char because int might match the return type of a gcc2
27729    builtin and then its argument prototype would still apply.  */
27730 char csinhf ();
27731 int
27732 main ()
27733 {
27734 csinhf ();
27735   ;
27736   return 0;
27737 }
27738 _ACEOF
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27741   (eval $ac_link) 2>conftest.er1
27742   ac_status=$?
27743   grep -v '^ *+' conftest.er1 >conftest.err
27744   rm -f conftest.er1
27745   cat conftest.err >&5
27746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747   (exit $ac_status); } &&
27748          { ac_try='test -z "$ac_c_werror_flag"
27749                          || test ! -s conftest.err'
27750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751   (eval $ac_try) 2>&5
27752   ac_status=$?
27753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754   (exit $ac_status); }; } &&
27755          { ac_try='test -s conftest$ac_exeext'
27756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757   (eval $ac_try) 2>&5
27758   ac_status=$?
27759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760   (exit $ac_status); }; }; then
27761   ac_cv_lib_m_csinhf=yes
27762 else
27763   echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27765
27766 ac_cv_lib_m_csinhf=no
27767 fi
27768 rm -f conftest.err conftest.$ac_objext \
27769       conftest$ac_exeext conftest.$ac_ext
27770 LIBS=$ac_check_lib_save_LIBS
27771 fi
27772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27773 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27774 if test $ac_cv_lib_m_csinhf = yes; then
27775
27776 cat >>confdefs.h <<\_ACEOF
27777 #define HAVE_CSINHF 1
27778 _ACEOF
27779
27780 fi
27781
27782 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27783 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27784 if test "${ac_cv_lib_m_csinh+set}" = set; then
27785   echo $ECHO_N "(cached) $ECHO_C" >&6
27786 else
27787   ac_check_lib_save_LIBS=$LIBS
27788 LIBS="-lm  $LIBS"
27789 if test x$gcc_no_link = xyes; then
27790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27792    { (exit 1); exit 1; }; }
27793 fi
27794 cat >conftest.$ac_ext <<_ACEOF
27795 /* confdefs.h.  */
27796 _ACEOF
27797 cat confdefs.h >>conftest.$ac_ext
27798 cat >>conftest.$ac_ext <<_ACEOF
27799 /* end confdefs.h.  */
27800
27801 /* Override any gcc2 internal prototype to avoid an error.  */
27802 #ifdef __cplusplus
27803 extern "C"
27804 #endif
27805 /* We use char because int might match the return type of a gcc2
27806    builtin and then its argument prototype would still apply.  */
27807 char csinh ();
27808 int
27809 main ()
27810 {
27811 csinh ();
27812   ;
27813   return 0;
27814 }
27815 _ACEOF
27816 rm -f conftest.$ac_objext conftest$ac_exeext
27817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27818   (eval $ac_link) 2>conftest.er1
27819   ac_status=$?
27820   grep -v '^ *+' conftest.er1 >conftest.err
27821   rm -f conftest.er1
27822   cat conftest.err >&5
27823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824   (exit $ac_status); } &&
27825          { ac_try='test -z "$ac_c_werror_flag"
27826                          || test ! -s conftest.err'
27827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828   (eval $ac_try) 2>&5
27829   ac_status=$?
27830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831   (exit $ac_status); }; } &&
27832          { ac_try='test -s conftest$ac_exeext'
27833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834   (eval $ac_try) 2>&5
27835   ac_status=$?
27836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837   (exit $ac_status); }; }; then
27838   ac_cv_lib_m_csinh=yes
27839 else
27840   echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.$ac_ext >&5
27842
27843 ac_cv_lib_m_csinh=no
27844 fi
27845 rm -f conftest.err conftest.$ac_objext \
27846       conftest$ac_exeext conftest.$ac_ext
27847 LIBS=$ac_check_lib_save_LIBS
27848 fi
27849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27850 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27851 if test $ac_cv_lib_m_csinh = yes; then
27852
27853 cat >>confdefs.h <<\_ACEOF
27854 #define HAVE_CSINH 1
27855 _ACEOF
27856
27857 fi
27858
27859 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27860 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27861 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27862   echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864   ac_check_lib_save_LIBS=$LIBS
27865 LIBS="-lm  $LIBS"
27866 if test x$gcc_no_link = xyes; then
27867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27869    { (exit 1); exit 1; }; }
27870 fi
27871 cat >conftest.$ac_ext <<_ACEOF
27872 /* confdefs.h.  */
27873 _ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h.  */
27877
27878 /* Override any gcc2 internal prototype to avoid an error.  */
27879 #ifdef __cplusplus
27880 extern "C"
27881 #endif
27882 /* We use char because int might match the return type of a gcc2
27883    builtin and then its argument prototype would still apply.  */
27884 char csinhl ();
27885 int
27886 main ()
27887 {
27888 csinhl ();
27889   ;
27890   return 0;
27891 }
27892 _ACEOF
27893 rm -f conftest.$ac_objext conftest$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895   (eval $ac_link) 2>conftest.er1
27896   ac_status=$?
27897   grep -v '^ *+' conftest.er1 >conftest.err
27898   rm -f conftest.er1
27899   cat conftest.err >&5
27900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901   (exit $ac_status); } &&
27902          { ac_try='test -z "$ac_c_werror_flag"
27903                          || test ! -s conftest.err'
27904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905   (eval $ac_try) 2>&5
27906   ac_status=$?
27907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908   (exit $ac_status); }; } &&
27909          { ac_try='test -s conftest$ac_exeext'
27910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27911   (eval $ac_try) 2>&5
27912   ac_status=$?
27913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914   (exit $ac_status); }; }; then
27915   ac_cv_lib_m_csinhl=yes
27916 else
27917   echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.$ac_ext >&5
27919
27920 ac_cv_lib_m_csinhl=no
27921 fi
27922 rm -f conftest.err conftest.$ac_objext \
27923       conftest$ac_exeext conftest.$ac_ext
27924 LIBS=$ac_check_lib_save_LIBS
27925 fi
27926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27927 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27928 if test $ac_cv_lib_m_csinhl = yes; then
27929
27930 cat >>confdefs.h <<\_ACEOF
27931 #define HAVE_CSINHL 1
27932 _ACEOF
27933
27934 fi
27935
27936 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27937 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27938 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27939   echo $ECHO_N "(cached) $ECHO_C" >&6
27940 else
27941   ac_check_lib_save_LIBS=$LIBS
27942 LIBS="-lm  $LIBS"
27943 if test x$gcc_no_link = xyes; then
27944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27946    { (exit 1); exit 1; }; }
27947 fi
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h.  */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h.  */
27954
27955 /* Override any gcc2 internal prototype to avoid an error.  */
27956 #ifdef __cplusplus
27957 extern "C"
27958 #endif
27959 /* We use char because int might match the return type of a gcc2
27960    builtin and then its argument prototype would still apply.  */
27961 char sqrtf ();
27962 int
27963 main ()
27964 {
27965 sqrtf ();
27966   ;
27967   return 0;
27968 }
27969 _ACEOF
27970 rm -f conftest.$ac_objext conftest$ac_exeext
27971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27972   (eval $ac_link) 2>conftest.er1
27973   ac_status=$?
27974   grep -v '^ *+' conftest.er1 >conftest.err
27975   rm -f conftest.er1
27976   cat conftest.err >&5
27977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978   (exit $ac_status); } &&
27979          { ac_try='test -z "$ac_c_werror_flag"
27980                          || test ! -s conftest.err'
27981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982   (eval $ac_try) 2>&5
27983   ac_status=$?
27984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985   (exit $ac_status); }; } &&
27986          { ac_try='test -s conftest$ac_exeext'
27987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27988   (eval $ac_try) 2>&5
27989   ac_status=$?
27990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991   (exit $ac_status); }; }; then
27992   ac_cv_lib_m_sqrtf=yes
27993 else
27994   echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.$ac_ext >&5
27996
27997 ac_cv_lib_m_sqrtf=no
27998 fi
27999 rm -f conftest.err conftest.$ac_objext \
28000       conftest$ac_exeext conftest.$ac_ext
28001 LIBS=$ac_check_lib_save_LIBS
28002 fi
28003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28004 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28005 if test $ac_cv_lib_m_sqrtf = yes; then
28006
28007 cat >>confdefs.h <<\_ACEOF
28008 #define HAVE_SQRTF 1
28009 _ACEOF
28010
28011 fi
28012
28013 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28014 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28015 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28016   echo $ECHO_N "(cached) $ECHO_C" >&6
28017 else
28018   ac_check_lib_save_LIBS=$LIBS
28019 LIBS="-lm  $LIBS"
28020 if test x$gcc_no_link = xyes; then
28021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28023    { (exit 1); exit 1; }; }
28024 fi
28025 cat >conftest.$ac_ext <<_ACEOF
28026 /* confdefs.h.  */
28027 _ACEOF
28028 cat confdefs.h >>conftest.$ac_ext
28029 cat >>conftest.$ac_ext <<_ACEOF
28030 /* end confdefs.h.  */
28031
28032 /* Override any gcc2 internal prototype to avoid an error.  */
28033 #ifdef __cplusplus
28034 extern "C"
28035 #endif
28036 /* We use char because int might match the return type of a gcc2
28037    builtin and then its argument prototype would still apply.  */
28038 char sqrt ();
28039 int
28040 main ()
28041 {
28042 sqrt ();
28043   ;
28044   return 0;
28045 }
28046 _ACEOF
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28049   (eval $ac_link) 2>conftest.er1
28050   ac_status=$?
28051   grep -v '^ *+' conftest.er1 >conftest.err
28052   rm -f conftest.er1
28053   cat conftest.err >&5
28054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055   (exit $ac_status); } &&
28056          { ac_try='test -z "$ac_c_werror_flag"
28057                          || test ! -s conftest.err'
28058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059   (eval $ac_try) 2>&5
28060   ac_status=$?
28061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062   (exit $ac_status); }; } &&
28063          { ac_try='test -s conftest$ac_exeext'
28064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28065   (eval $ac_try) 2>&5
28066   ac_status=$?
28067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068   (exit $ac_status); }; }; then
28069   ac_cv_lib_m_sqrt=yes
28070 else
28071   echo "$as_me: failed program was:" >&5
28072 sed 's/^/| /' conftest.$ac_ext >&5
28073
28074 ac_cv_lib_m_sqrt=no
28075 fi
28076 rm -f conftest.err conftest.$ac_objext \
28077       conftest$ac_exeext conftest.$ac_ext
28078 LIBS=$ac_check_lib_save_LIBS
28079 fi
28080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28081 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28082 if test $ac_cv_lib_m_sqrt = yes; then
28083
28084 cat >>confdefs.h <<\_ACEOF
28085 #define HAVE_SQRT 1
28086 _ACEOF
28087
28088 fi
28089
28090 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28091 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28092 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28093   echo $ECHO_N "(cached) $ECHO_C" >&6
28094 else
28095   ac_check_lib_save_LIBS=$LIBS
28096 LIBS="-lm  $LIBS"
28097 if test x$gcc_no_link = xyes; then
28098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28100    { (exit 1); exit 1; }; }
28101 fi
28102 cat >conftest.$ac_ext <<_ACEOF
28103 /* confdefs.h.  */
28104 _ACEOF
28105 cat confdefs.h >>conftest.$ac_ext
28106 cat >>conftest.$ac_ext <<_ACEOF
28107 /* end confdefs.h.  */
28108
28109 /* Override any gcc2 internal prototype to avoid an error.  */
28110 #ifdef __cplusplus
28111 extern "C"
28112 #endif
28113 /* We use char because int might match the return type of a gcc2
28114    builtin and then its argument prototype would still apply.  */
28115 char sqrtl ();
28116 int
28117 main ()
28118 {
28119 sqrtl ();
28120   ;
28121   return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext conftest$ac_exeext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28126   (eval $ac_link) 2>conftest.er1
28127   ac_status=$?
28128   grep -v '^ *+' conftest.er1 >conftest.err
28129   rm -f conftest.er1
28130   cat conftest.err >&5
28131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132   (exit $ac_status); } &&
28133          { ac_try='test -z "$ac_c_werror_flag"
28134                          || test ! -s conftest.err'
28135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136   (eval $ac_try) 2>&5
28137   ac_status=$?
28138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139   (exit $ac_status); }; } &&
28140          { ac_try='test -s conftest$ac_exeext'
28141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142   (eval $ac_try) 2>&5
28143   ac_status=$?
28144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145   (exit $ac_status); }; }; then
28146   ac_cv_lib_m_sqrtl=yes
28147 else
28148   echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.$ac_ext >&5
28150
28151 ac_cv_lib_m_sqrtl=no
28152 fi
28153 rm -f conftest.err conftest.$ac_objext \
28154       conftest$ac_exeext conftest.$ac_ext
28155 LIBS=$ac_check_lib_save_LIBS
28156 fi
28157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28158 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28159 if test $ac_cv_lib_m_sqrtl = yes; then
28160
28161 cat >>confdefs.h <<\_ACEOF
28162 #define HAVE_SQRTL 1
28163 _ACEOF
28164
28165 fi
28166
28167 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28168 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28169 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28170   echo $ECHO_N "(cached) $ECHO_C" >&6
28171 else
28172   ac_check_lib_save_LIBS=$LIBS
28173 LIBS="-lm  $LIBS"
28174 if test x$gcc_no_link = xyes; then
28175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28177    { (exit 1); exit 1; }; }
28178 fi
28179 cat >conftest.$ac_ext <<_ACEOF
28180 /* confdefs.h.  */
28181 _ACEOF
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h.  */
28185
28186 /* Override any gcc2 internal prototype to avoid an error.  */
28187 #ifdef __cplusplus
28188 extern "C"
28189 #endif
28190 /* We use char because int might match the return type of a gcc2
28191    builtin and then its argument prototype would still apply.  */
28192 char csqrtf ();
28193 int
28194 main ()
28195 {
28196 csqrtf ();
28197   ;
28198   return 0;
28199 }
28200 _ACEOF
28201 rm -f conftest.$ac_objext conftest$ac_exeext
28202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28203   (eval $ac_link) 2>conftest.er1
28204   ac_status=$?
28205   grep -v '^ *+' conftest.er1 >conftest.err
28206   rm -f conftest.er1
28207   cat conftest.err >&5
28208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209   (exit $ac_status); } &&
28210          { ac_try='test -z "$ac_c_werror_flag"
28211                          || test ! -s conftest.err'
28212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213   (eval $ac_try) 2>&5
28214   ac_status=$?
28215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216   (exit $ac_status); }; } &&
28217          { ac_try='test -s conftest$ac_exeext'
28218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219   (eval $ac_try) 2>&5
28220   ac_status=$?
28221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222   (exit $ac_status); }; }; then
28223   ac_cv_lib_m_csqrtf=yes
28224 else
28225   echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28227
28228 ac_cv_lib_m_csqrtf=no
28229 fi
28230 rm -f conftest.err conftest.$ac_objext \
28231       conftest$ac_exeext conftest.$ac_ext
28232 LIBS=$ac_check_lib_save_LIBS
28233 fi
28234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28235 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28236 if test $ac_cv_lib_m_csqrtf = yes; then
28237
28238 cat >>confdefs.h <<\_ACEOF
28239 #define HAVE_CSQRTF 1
28240 _ACEOF
28241
28242 fi
28243
28244 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28245 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28246 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28247   echo $ECHO_N "(cached) $ECHO_C" >&6
28248 else
28249   ac_check_lib_save_LIBS=$LIBS
28250 LIBS="-lm  $LIBS"
28251 if test x$gcc_no_link = xyes; then
28252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28254    { (exit 1); exit 1; }; }
28255 fi
28256 cat >conftest.$ac_ext <<_ACEOF
28257 /* confdefs.h.  */
28258 _ACEOF
28259 cat confdefs.h >>conftest.$ac_ext
28260 cat >>conftest.$ac_ext <<_ACEOF
28261 /* end confdefs.h.  */
28262
28263 /* Override any gcc2 internal prototype to avoid an error.  */
28264 #ifdef __cplusplus
28265 extern "C"
28266 #endif
28267 /* We use char because int might match the return type of a gcc2
28268    builtin and then its argument prototype would still apply.  */
28269 char csqrt ();
28270 int
28271 main ()
28272 {
28273 csqrt ();
28274   ;
28275   return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext conftest$ac_exeext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28280   (eval $ac_link) 2>conftest.er1
28281   ac_status=$?
28282   grep -v '^ *+' conftest.er1 >conftest.err
28283   rm -f conftest.er1
28284   cat conftest.err >&5
28285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286   (exit $ac_status); } &&
28287          { ac_try='test -z "$ac_c_werror_flag"
28288                          || test ! -s conftest.err'
28289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290   (eval $ac_try) 2>&5
28291   ac_status=$?
28292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293   (exit $ac_status); }; } &&
28294          { ac_try='test -s conftest$ac_exeext'
28295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296   (eval $ac_try) 2>&5
28297   ac_status=$?
28298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299   (exit $ac_status); }; }; then
28300   ac_cv_lib_m_csqrt=yes
28301 else
28302   echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28304
28305 ac_cv_lib_m_csqrt=no
28306 fi
28307 rm -f conftest.err conftest.$ac_objext \
28308       conftest$ac_exeext conftest.$ac_ext
28309 LIBS=$ac_check_lib_save_LIBS
28310 fi
28311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28312 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28313 if test $ac_cv_lib_m_csqrt = yes; then
28314
28315 cat >>confdefs.h <<\_ACEOF
28316 #define HAVE_CSQRT 1
28317 _ACEOF
28318
28319 fi
28320
28321 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28322 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28323 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28324   echo $ECHO_N "(cached) $ECHO_C" >&6
28325 else
28326   ac_check_lib_save_LIBS=$LIBS
28327 LIBS="-lm  $LIBS"
28328 if test x$gcc_no_link = xyes; then
28329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28331    { (exit 1); exit 1; }; }
28332 fi
28333 cat >conftest.$ac_ext <<_ACEOF
28334 /* confdefs.h.  */
28335 _ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h.  */
28339
28340 /* Override any gcc2 internal prototype to avoid an error.  */
28341 #ifdef __cplusplus
28342 extern "C"
28343 #endif
28344 /* We use char because int might match the return type of a gcc2
28345    builtin and then its argument prototype would still apply.  */
28346 char csqrtl ();
28347 int
28348 main ()
28349 {
28350 csqrtl ();
28351   ;
28352   return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357   (eval $ac_link) 2>conftest.er1
28358   ac_status=$?
28359   grep -v '^ *+' conftest.er1 >conftest.err
28360   rm -f conftest.er1
28361   cat conftest.err >&5
28362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363   (exit $ac_status); } &&
28364          { ac_try='test -z "$ac_c_werror_flag"
28365                          || test ! -s conftest.err'
28366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367   (eval $ac_try) 2>&5
28368   ac_status=$?
28369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370   (exit $ac_status); }; } &&
28371          { ac_try='test -s conftest$ac_exeext'
28372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373   (eval $ac_try) 2>&5
28374   ac_status=$?
28375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376   (exit $ac_status); }; }; then
28377   ac_cv_lib_m_csqrtl=yes
28378 else
28379   echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28381
28382 ac_cv_lib_m_csqrtl=no
28383 fi
28384 rm -f conftest.err conftest.$ac_objext \
28385       conftest$ac_exeext conftest.$ac_ext
28386 LIBS=$ac_check_lib_save_LIBS
28387 fi
28388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28389 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28390 if test $ac_cv_lib_m_csqrtl = yes; then
28391
28392 cat >>confdefs.h <<\_ACEOF
28393 #define HAVE_CSQRTL 1
28394 _ACEOF
28395
28396 fi
28397
28398 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28399 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28400 if test "${ac_cv_lib_m_tanf+set}" = set; then
28401   echo $ECHO_N "(cached) $ECHO_C" >&6
28402 else
28403   ac_check_lib_save_LIBS=$LIBS
28404 LIBS="-lm  $LIBS"
28405 if test x$gcc_no_link = xyes; then
28406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28408    { (exit 1); exit 1; }; }
28409 fi
28410 cat >conftest.$ac_ext <<_ACEOF
28411 /* confdefs.h.  */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h.  */
28416
28417 /* Override any gcc2 internal prototype to avoid an error.  */
28418 #ifdef __cplusplus
28419 extern "C"
28420 #endif
28421 /* We use char because int might match the return type of a gcc2
28422    builtin and then its argument prototype would still apply.  */
28423 char tanf ();
28424 int
28425 main ()
28426 {
28427 tanf ();
28428   ;
28429   return 0;
28430 }
28431 _ACEOF
28432 rm -f conftest.$ac_objext conftest$ac_exeext
28433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28434   (eval $ac_link) 2>conftest.er1
28435   ac_status=$?
28436   grep -v '^ *+' conftest.er1 >conftest.err
28437   rm -f conftest.er1
28438   cat conftest.err >&5
28439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440   (exit $ac_status); } &&
28441          { ac_try='test -z "$ac_c_werror_flag"
28442                          || test ! -s conftest.err'
28443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444   (eval $ac_try) 2>&5
28445   ac_status=$?
28446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447   (exit $ac_status); }; } &&
28448          { ac_try='test -s conftest$ac_exeext'
28449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450   (eval $ac_try) 2>&5
28451   ac_status=$?
28452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453   (exit $ac_status); }; }; then
28454   ac_cv_lib_m_tanf=yes
28455 else
28456   echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.$ac_ext >&5
28458
28459 ac_cv_lib_m_tanf=no
28460 fi
28461 rm -f conftest.err conftest.$ac_objext \
28462       conftest$ac_exeext conftest.$ac_ext
28463 LIBS=$ac_check_lib_save_LIBS
28464 fi
28465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28466 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28467 if test $ac_cv_lib_m_tanf = yes; then
28468
28469 cat >>confdefs.h <<\_ACEOF
28470 #define HAVE_TANF 1
28471 _ACEOF
28472
28473 fi
28474
28475 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28476 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28477 if test "${ac_cv_lib_m_tan+set}" = set; then
28478   echo $ECHO_N "(cached) $ECHO_C" >&6
28479 else
28480   ac_check_lib_save_LIBS=$LIBS
28481 LIBS="-lm  $LIBS"
28482 if test x$gcc_no_link = xyes; then
28483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28485    { (exit 1); exit 1; }; }
28486 fi
28487 cat >conftest.$ac_ext <<_ACEOF
28488 /* confdefs.h.  */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h.  */
28493
28494 /* Override any gcc2 internal prototype to avoid an error.  */
28495 #ifdef __cplusplus
28496 extern "C"
28497 #endif
28498 /* We use char because int might match the return type of a gcc2
28499    builtin and then its argument prototype would still apply.  */
28500 char tan ();
28501 int
28502 main ()
28503 {
28504 tan ();
28505   ;
28506   return 0;
28507 }
28508 _ACEOF
28509 rm -f conftest.$ac_objext conftest$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511   (eval $ac_link) 2>conftest.er1
28512   ac_status=$?
28513   grep -v '^ *+' conftest.er1 >conftest.err
28514   rm -f conftest.er1
28515   cat conftest.err >&5
28516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517   (exit $ac_status); } &&
28518          { ac_try='test -z "$ac_c_werror_flag"
28519                          || test ! -s conftest.err'
28520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521   (eval $ac_try) 2>&5
28522   ac_status=$?
28523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524   (exit $ac_status); }; } &&
28525          { ac_try='test -s conftest$ac_exeext'
28526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527   (eval $ac_try) 2>&5
28528   ac_status=$?
28529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530   (exit $ac_status); }; }; then
28531   ac_cv_lib_m_tan=yes
28532 else
28533   echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28535
28536 ac_cv_lib_m_tan=no
28537 fi
28538 rm -f conftest.err conftest.$ac_objext \
28539       conftest$ac_exeext conftest.$ac_ext
28540 LIBS=$ac_check_lib_save_LIBS
28541 fi
28542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28543 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28544 if test $ac_cv_lib_m_tan = yes; then
28545
28546 cat >>confdefs.h <<\_ACEOF
28547 #define HAVE_TAN 1
28548 _ACEOF
28549
28550 fi
28551
28552 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28553 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28554 if test "${ac_cv_lib_m_tanl+set}" = set; then
28555   echo $ECHO_N "(cached) $ECHO_C" >&6
28556 else
28557   ac_check_lib_save_LIBS=$LIBS
28558 LIBS="-lm  $LIBS"
28559 if test x$gcc_no_link = xyes; then
28560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28562    { (exit 1); exit 1; }; }
28563 fi
28564 cat >conftest.$ac_ext <<_ACEOF
28565 /* confdefs.h.  */
28566 _ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h.  */
28570
28571 /* Override any gcc2 internal prototype to avoid an error.  */
28572 #ifdef __cplusplus
28573 extern "C"
28574 #endif
28575 /* We use char because int might match the return type of a gcc2
28576    builtin and then its argument prototype would still apply.  */
28577 char tanl ();
28578 int
28579 main ()
28580 {
28581 tanl ();
28582   ;
28583   return 0;
28584 }
28585 _ACEOF
28586 rm -f conftest.$ac_objext conftest$ac_exeext
28587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28588   (eval $ac_link) 2>conftest.er1
28589   ac_status=$?
28590   grep -v '^ *+' conftest.er1 >conftest.err
28591   rm -f conftest.er1
28592   cat conftest.err >&5
28593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594   (exit $ac_status); } &&
28595          { ac_try='test -z "$ac_c_werror_flag"
28596                          || test ! -s conftest.err'
28597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598   (eval $ac_try) 2>&5
28599   ac_status=$?
28600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601   (exit $ac_status); }; } &&
28602          { ac_try='test -s conftest$ac_exeext'
28603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604   (eval $ac_try) 2>&5
28605   ac_status=$?
28606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607   (exit $ac_status); }; }; then
28608   ac_cv_lib_m_tanl=yes
28609 else
28610   echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28612
28613 ac_cv_lib_m_tanl=no
28614 fi
28615 rm -f conftest.err conftest.$ac_objext \
28616       conftest$ac_exeext conftest.$ac_ext
28617 LIBS=$ac_check_lib_save_LIBS
28618 fi
28619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28620 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28621 if test $ac_cv_lib_m_tanl = yes; then
28622
28623 cat >>confdefs.h <<\_ACEOF
28624 #define HAVE_TANL 1
28625 _ACEOF
28626
28627 fi
28628
28629 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28630 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28631 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28632   echo $ECHO_N "(cached) $ECHO_C" >&6
28633 else
28634   ac_check_lib_save_LIBS=$LIBS
28635 LIBS="-lm  $LIBS"
28636 if test x$gcc_no_link = xyes; then
28637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639    { (exit 1); exit 1; }; }
28640 fi
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h.  */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h.  */
28647
28648 /* Override any gcc2 internal prototype to avoid an error.  */
28649 #ifdef __cplusplus
28650 extern "C"
28651 #endif
28652 /* We use char because int might match the return type of a gcc2
28653    builtin and then its argument prototype would still apply.  */
28654 char ctanf ();
28655 int
28656 main ()
28657 {
28658 ctanf ();
28659   ;
28660   return 0;
28661 }
28662 _ACEOF
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28665   (eval $ac_link) 2>conftest.er1
28666   ac_status=$?
28667   grep -v '^ *+' conftest.er1 >conftest.err
28668   rm -f conftest.er1
28669   cat conftest.err >&5
28670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671   (exit $ac_status); } &&
28672          { ac_try='test -z "$ac_c_werror_flag"
28673                          || test ! -s conftest.err'
28674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675   (eval $ac_try) 2>&5
28676   ac_status=$?
28677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678   (exit $ac_status); }; } &&
28679          { ac_try='test -s conftest$ac_exeext'
28680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681   (eval $ac_try) 2>&5
28682   ac_status=$?
28683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684   (exit $ac_status); }; }; then
28685   ac_cv_lib_m_ctanf=yes
28686 else
28687   echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28689
28690 ac_cv_lib_m_ctanf=no
28691 fi
28692 rm -f conftest.err conftest.$ac_objext \
28693       conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28695 fi
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28697 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28698 if test $ac_cv_lib_m_ctanf = yes; then
28699
28700 cat >>confdefs.h <<\_ACEOF
28701 #define HAVE_CTANF 1
28702 _ACEOF
28703
28704 fi
28705
28706 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28707 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28708 if test "${ac_cv_lib_m_ctan+set}" = set; then
28709   echo $ECHO_N "(cached) $ECHO_C" >&6
28710 else
28711   ac_check_lib_save_LIBS=$LIBS
28712 LIBS="-lm  $LIBS"
28713 if test x$gcc_no_link = xyes; then
28714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28716    { (exit 1); exit 1; }; }
28717 fi
28718 cat >conftest.$ac_ext <<_ACEOF
28719 /* confdefs.h.  */
28720 _ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h.  */
28724
28725 /* Override any gcc2 internal prototype to avoid an error.  */
28726 #ifdef __cplusplus
28727 extern "C"
28728 #endif
28729 /* We use char because int might match the return type of a gcc2
28730    builtin and then its argument prototype would still apply.  */
28731 char ctan ();
28732 int
28733 main ()
28734 {
28735 ctan ();
28736   ;
28737   return 0;
28738 }
28739 _ACEOF
28740 rm -f conftest.$ac_objext conftest$ac_exeext
28741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28742   (eval $ac_link) 2>conftest.er1
28743   ac_status=$?
28744   grep -v '^ *+' conftest.er1 >conftest.err
28745   rm -f conftest.er1
28746   cat conftest.err >&5
28747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748   (exit $ac_status); } &&
28749          { ac_try='test -z "$ac_c_werror_flag"
28750                          || test ! -s conftest.err'
28751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752   (eval $ac_try) 2>&5
28753   ac_status=$?
28754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755   (exit $ac_status); }; } &&
28756          { ac_try='test -s conftest$ac_exeext'
28757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758   (eval $ac_try) 2>&5
28759   ac_status=$?
28760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761   (exit $ac_status); }; }; then
28762   ac_cv_lib_m_ctan=yes
28763 else
28764   echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767 ac_cv_lib_m_ctan=no
28768 fi
28769 rm -f conftest.err conftest.$ac_objext \
28770       conftest$ac_exeext conftest.$ac_ext
28771 LIBS=$ac_check_lib_save_LIBS
28772 fi
28773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28774 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28775 if test $ac_cv_lib_m_ctan = yes; then
28776
28777 cat >>confdefs.h <<\_ACEOF
28778 #define HAVE_CTAN 1
28779 _ACEOF
28780
28781 fi
28782
28783 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28784 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28785 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28786   echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28788   ac_check_lib_save_LIBS=$LIBS
28789 LIBS="-lm  $LIBS"
28790 if test x$gcc_no_link = xyes; then
28791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28793    { (exit 1); exit 1; }; }
28794 fi
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h.  */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h.  */
28801
28802 /* Override any gcc2 internal prototype to avoid an error.  */
28803 #ifdef __cplusplus
28804 extern "C"
28805 #endif
28806 /* We use char because int might match the return type of a gcc2
28807    builtin and then its argument prototype would still apply.  */
28808 char ctanl ();
28809 int
28810 main ()
28811 {
28812 ctanl ();
28813   ;
28814   return 0;
28815 }
28816 _ACEOF
28817 rm -f conftest.$ac_objext conftest$ac_exeext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28819   (eval $ac_link) 2>conftest.er1
28820   ac_status=$?
28821   grep -v '^ *+' conftest.er1 >conftest.err
28822   rm -f conftest.er1
28823   cat conftest.err >&5
28824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825   (exit $ac_status); } &&
28826          { ac_try='test -z "$ac_c_werror_flag"
28827                          || test ! -s conftest.err'
28828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829   (eval $ac_try) 2>&5
28830   ac_status=$?
28831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832   (exit $ac_status); }; } &&
28833          { ac_try='test -s conftest$ac_exeext'
28834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835   (eval $ac_try) 2>&5
28836   ac_status=$?
28837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838   (exit $ac_status); }; }; then
28839   ac_cv_lib_m_ctanl=yes
28840 else
28841   echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28843
28844 ac_cv_lib_m_ctanl=no
28845 fi
28846 rm -f conftest.err conftest.$ac_objext \
28847       conftest$ac_exeext conftest.$ac_ext
28848 LIBS=$ac_check_lib_save_LIBS
28849 fi
28850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28851 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28852 if test $ac_cv_lib_m_ctanl = yes; then
28853
28854 cat >>confdefs.h <<\_ACEOF
28855 #define HAVE_CTANL 1
28856 _ACEOF
28857
28858 fi
28859
28860 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28861 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28862 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28863   echo $ECHO_N "(cached) $ECHO_C" >&6
28864 else
28865   ac_check_lib_save_LIBS=$LIBS
28866 LIBS="-lm  $LIBS"
28867 if test x$gcc_no_link = xyes; then
28868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28870    { (exit 1); exit 1; }; }
28871 fi
28872 cat >conftest.$ac_ext <<_ACEOF
28873 /* confdefs.h.  */
28874 _ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h.  */
28878
28879 /* Override any gcc2 internal prototype to avoid an error.  */
28880 #ifdef __cplusplus
28881 extern "C"
28882 #endif
28883 /* We use char because int might match the return type of a gcc2
28884    builtin and then its argument prototype would still apply.  */
28885 char tanhf ();
28886 int
28887 main ()
28888 {
28889 tanhf ();
28890   ;
28891   return 0;
28892 }
28893 _ACEOF
28894 rm -f conftest.$ac_objext conftest$ac_exeext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28896   (eval $ac_link) 2>conftest.er1
28897   ac_status=$?
28898   grep -v '^ *+' conftest.er1 >conftest.err
28899   rm -f conftest.er1
28900   cat conftest.err >&5
28901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902   (exit $ac_status); } &&
28903          { ac_try='test -z "$ac_c_werror_flag"
28904                          || test ! -s conftest.err'
28905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906   (eval $ac_try) 2>&5
28907   ac_status=$?
28908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909   (exit $ac_status); }; } &&
28910          { ac_try='test -s conftest$ac_exeext'
28911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912   (eval $ac_try) 2>&5
28913   ac_status=$?
28914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915   (exit $ac_status); }; }; then
28916   ac_cv_lib_m_tanhf=yes
28917 else
28918   echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28920
28921 ac_cv_lib_m_tanhf=no
28922 fi
28923 rm -f conftest.err conftest.$ac_objext \
28924       conftest$ac_exeext conftest.$ac_ext
28925 LIBS=$ac_check_lib_save_LIBS
28926 fi
28927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28928 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28929 if test $ac_cv_lib_m_tanhf = yes; then
28930
28931 cat >>confdefs.h <<\_ACEOF
28932 #define HAVE_TANHF 1
28933 _ACEOF
28934
28935 fi
28936
28937 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28938 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28939 if test "${ac_cv_lib_m_tanh+set}" = set; then
28940   echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942   ac_check_lib_save_LIBS=$LIBS
28943 LIBS="-lm  $LIBS"
28944 if test x$gcc_no_link = xyes; then
28945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28947    { (exit 1); exit 1; }; }
28948 fi
28949 cat >conftest.$ac_ext <<_ACEOF
28950 /* confdefs.h.  */
28951 _ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h.  */
28955
28956 /* Override any gcc2 internal prototype to avoid an error.  */
28957 #ifdef __cplusplus
28958 extern "C"
28959 #endif
28960 /* We use char because int might match the return type of a gcc2
28961    builtin and then its argument prototype would still apply.  */
28962 char tanh ();
28963 int
28964 main ()
28965 {
28966 tanh ();
28967   ;
28968   return 0;
28969 }
28970 _ACEOF
28971 rm -f conftest.$ac_objext conftest$ac_exeext
28972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28973   (eval $ac_link) 2>conftest.er1
28974   ac_status=$?
28975   grep -v '^ *+' conftest.er1 >conftest.err
28976   rm -f conftest.er1
28977   cat conftest.err >&5
28978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979   (exit $ac_status); } &&
28980          { ac_try='test -z "$ac_c_werror_flag"
28981                          || test ! -s conftest.err'
28982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983   (eval $ac_try) 2>&5
28984   ac_status=$?
28985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986   (exit $ac_status); }; } &&
28987          { ac_try='test -s conftest$ac_exeext'
28988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989   (eval $ac_try) 2>&5
28990   ac_status=$?
28991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992   (exit $ac_status); }; }; then
28993   ac_cv_lib_m_tanh=yes
28994 else
28995   echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28997
28998 ac_cv_lib_m_tanh=no
28999 fi
29000 rm -f conftest.err conftest.$ac_objext \
29001       conftest$ac_exeext conftest.$ac_ext
29002 LIBS=$ac_check_lib_save_LIBS
29003 fi
29004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29005 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29006 if test $ac_cv_lib_m_tanh = yes; then
29007
29008 cat >>confdefs.h <<\_ACEOF
29009 #define HAVE_TANH 1
29010 _ACEOF
29011
29012 fi
29013
29014 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29015 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29016 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29017   echo $ECHO_N "(cached) $ECHO_C" >&6
29018 else
29019   ac_check_lib_save_LIBS=$LIBS
29020 LIBS="-lm  $LIBS"
29021 if test x$gcc_no_link = xyes; then
29022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29024    { (exit 1); exit 1; }; }
29025 fi
29026 cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h.  */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h.  */
29032
29033 /* Override any gcc2 internal prototype to avoid an error.  */
29034 #ifdef __cplusplus
29035 extern "C"
29036 #endif
29037 /* We use char because int might match the return type of a gcc2
29038    builtin and then its argument prototype would still apply.  */
29039 char tanhl ();
29040 int
29041 main ()
29042 {
29043 tanhl ();
29044   ;
29045   return 0;
29046 }
29047 _ACEOF
29048 rm -f conftest.$ac_objext conftest$ac_exeext
29049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29050   (eval $ac_link) 2>conftest.er1
29051   ac_status=$?
29052   grep -v '^ *+' conftest.er1 >conftest.err
29053   rm -f conftest.er1
29054   cat conftest.err >&5
29055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056   (exit $ac_status); } &&
29057          { ac_try='test -z "$ac_c_werror_flag"
29058                          || test ! -s conftest.err'
29059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060   (eval $ac_try) 2>&5
29061   ac_status=$?
29062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063   (exit $ac_status); }; } &&
29064          { ac_try='test -s conftest$ac_exeext'
29065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066   (eval $ac_try) 2>&5
29067   ac_status=$?
29068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069   (exit $ac_status); }; }; then
29070   ac_cv_lib_m_tanhl=yes
29071 else
29072   echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.$ac_ext >&5
29074
29075 ac_cv_lib_m_tanhl=no
29076 fi
29077 rm -f conftest.err conftest.$ac_objext \
29078       conftest$ac_exeext conftest.$ac_ext
29079 LIBS=$ac_check_lib_save_LIBS
29080 fi
29081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29082 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29083 if test $ac_cv_lib_m_tanhl = yes; then
29084
29085 cat >>confdefs.h <<\_ACEOF
29086 #define HAVE_TANHL 1
29087 _ACEOF
29088
29089 fi
29090
29091 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29092 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29093 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29094   echo $ECHO_N "(cached) $ECHO_C" >&6
29095 else
29096   ac_check_lib_save_LIBS=$LIBS
29097 LIBS="-lm  $LIBS"
29098 if test x$gcc_no_link = xyes; then
29099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29101    { (exit 1); exit 1; }; }
29102 fi
29103 cat >conftest.$ac_ext <<_ACEOF
29104 /* confdefs.h.  */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h.  */
29109
29110 /* Override any gcc2 internal prototype to avoid an error.  */
29111 #ifdef __cplusplus
29112 extern "C"
29113 #endif
29114 /* We use char because int might match the return type of a gcc2
29115    builtin and then its argument prototype would still apply.  */
29116 char ctanhf ();
29117 int
29118 main ()
29119 {
29120 ctanhf ();
29121   ;
29122   return 0;
29123 }
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127   (eval $ac_link) 2>conftest.er1
29128   ac_status=$?
29129   grep -v '^ *+' conftest.er1 >conftest.err
29130   rm -f conftest.er1
29131   cat conftest.err >&5
29132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133   (exit $ac_status); } &&
29134          { ac_try='test -z "$ac_c_werror_flag"
29135                          || test ! -s conftest.err'
29136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137   (eval $ac_try) 2>&5
29138   ac_status=$?
29139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140   (exit $ac_status); }; } &&
29141          { ac_try='test -s conftest$ac_exeext'
29142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143   (eval $ac_try) 2>&5
29144   ac_status=$?
29145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146   (exit $ac_status); }; }; then
29147   ac_cv_lib_m_ctanhf=yes
29148 else
29149   echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29151
29152 ac_cv_lib_m_ctanhf=no
29153 fi
29154 rm -f conftest.err conftest.$ac_objext \
29155       conftest$ac_exeext conftest.$ac_ext
29156 LIBS=$ac_check_lib_save_LIBS
29157 fi
29158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29159 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29160 if test $ac_cv_lib_m_ctanhf = yes; then
29161
29162 cat >>confdefs.h <<\_ACEOF
29163 #define HAVE_CTANHF 1
29164 _ACEOF
29165
29166 fi
29167
29168 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29169 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29170 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29171   echo $ECHO_N "(cached) $ECHO_C" >&6
29172 else
29173   ac_check_lib_save_LIBS=$LIBS
29174 LIBS="-lm  $LIBS"
29175 if test x$gcc_no_link = xyes; then
29176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29178    { (exit 1); exit 1; }; }
29179 fi
29180 cat >conftest.$ac_ext <<_ACEOF
29181 /* confdefs.h.  */
29182 _ACEOF
29183 cat confdefs.h >>conftest.$ac_ext
29184 cat >>conftest.$ac_ext <<_ACEOF
29185 /* end confdefs.h.  */
29186
29187 /* Override any gcc2 internal prototype to avoid an error.  */
29188 #ifdef __cplusplus
29189 extern "C"
29190 #endif
29191 /* We use char because int might match the return type of a gcc2
29192    builtin and then its argument prototype would still apply.  */
29193 char ctanh ();
29194 int
29195 main ()
29196 {
29197 ctanh ();
29198   ;
29199   return 0;
29200 }
29201 _ACEOF
29202 rm -f conftest.$ac_objext conftest$ac_exeext
29203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29204   (eval $ac_link) 2>conftest.er1
29205   ac_status=$?
29206   grep -v '^ *+' conftest.er1 >conftest.err
29207   rm -f conftest.er1
29208   cat conftest.err >&5
29209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210   (exit $ac_status); } &&
29211          { ac_try='test -z "$ac_c_werror_flag"
29212                          || test ! -s conftest.err'
29213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214   (eval $ac_try) 2>&5
29215   ac_status=$?
29216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217   (exit $ac_status); }; } &&
29218          { ac_try='test -s conftest$ac_exeext'
29219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220   (eval $ac_try) 2>&5
29221   ac_status=$?
29222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223   (exit $ac_status); }; }; then
29224   ac_cv_lib_m_ctanh=yes
29225 else
29226   echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.$ac_ext >&5
29228
29229 ac_cv_lib_m_ctanh=no
29230 fi
29231 rm -f conftest.err conftest.$ac_objext \
29232       conftest$ac_exeext conftest.$ac_ext
29233 LIBS=$ac_check_lib_save_LIBS
29234 fi
29235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29236 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29237 if test $ac_cv_lib_m_ctanh = yes; then
29238
29239 cat >>confdefs.h <<\_ACEOF
29240 #define HAVE_CTANH 1
29241 _ACEOF
29242
29243 fi
29244
29245 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29246 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29247 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29248   echo $ECHO_N "(cached) $ECHO_C" >&6
29249 else
29250   ac_check_lib_save_LIBS=$LIBS
29251 LIBS="-lm  $LIBS"
29252 if test x$gcc_no_link = xyes; then
29253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29255    { (exit 1); exit 1; }; }
29256 fi
29257 cat >conftest.$ac_ext <<_ACEOF
29258 /* confdefs.h.  */
29259 _ACEOF
29260 cat confdefs.h >>conftest.$ac_ext
29261 cat >>conftest.$ac_ext <<_ACEOF
29262 /* end confdefs.h.  */
29263
29264 /* Override any gcc2 internal prototype to avoid an error.  */
29265 #ifdef __cplusplus
29266 extern "C"
29267 #endif
29268 /* We use char because int might match the return type of a gcc2
29269    builtin and then its argument prototype would still apply.  */
29270 char ctanhl ();
29271 int
29272 main ()
29273 {
29274 ctanhl ();
29275   ;
29276   return 0;
29277 }
29278 _ACEOF
29279 rm -f conftest.$ac_objext conftest$ac_exeext
29280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29281   (eval $ac_link) 2>conftest.er1
29282   ac_status=$?
29283   grep -v '^ *+' conftest.er1 >conftest.err
29284   rm -f conftest.er1
29285   cat conftest.err >&5
29286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287   (exit $ac_status); } &&
29288          { ac_try='test -z "$ac_c_werror_flag"
29289                          || test ! -s conftest.err'
29290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291   (eval $ac_try) 2>&5
29292   ac_status=$?
29293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294   (exit $ac_status); }; } &&
29295          { ac_try='test -s conftest$ac_exeext'
29296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297   (eval $ac_try) 2>&5
29298   ac_status=$?
29299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300   (exit $ac_status); }; }; then
29301   ac_cv_lib_m_ctanhl=yes
29302 else
29303   echo "$as_me: failed program was:" >&5
29304 sed 's/^/| /' conftest.$ac_ext >&5
29305
29306 ac_cv_lib_m_ctanhl=no
29307 fi
29308 rm -f conftest.err conftest.$ac_objext \
29309       conftest$ac_exeext conftest.$ac_ext
29310 LIBS=$ac_check_lib_save_LIBS
29311 fi
29312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29313 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29314 if test $ac_cv_lib_m_ctanhl = yes; then
29315
29316 cat >>confdefs.h <<\_ACEOF
29317 #define HAVE_CTANHL 1
29318 _ACEOF
29319
29320 fi
29321
29322 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29323 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29324 if test "${ac_cv_lib_m_truncf+set}" = set; then
29325   echo $ECHO_N "(cached) $ECHO_C" >&6
29326 else
29327   ac_check_lib_save_LIBS=$LIBS
29328 LIBS="-lm  $LIBS"
29329 if test x$gcc_no_link = xyes; then
29330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29332    { (exit 1); exit 1; }; }
29333 fi
29334 cat >conftest.$ac_ext <<_ACEOF
29335 /* confdefs.h.  */
29336 _ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h.  */
29340
29341 /* Override any gcc2 internal prototype to avoid an error.  */
29342 #ifdef __cplusplus
29343 extern "C"
29344 #endif
29345 /* We use char because int might match the return type of a gcc2
29346    builtin and then its argument prototype would still apply.  */
29347 char truncf ();
29348 int
29349 main ()
29350 {
29351 truncf ();
29352   ;
29353   return 0;
29354 }
29355 _ACEOF
29356 rm -f conftest.$ac_objext conftest$ac_exeext
29357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29358   (eval $ac_link) 2>conftest.er1
29359   ac_status=$?
29360   grep -v '^ *+' conftest.er1 >conftest.err
29361   rm -f conftest.er1
29362   cat conftest.err >&5
29363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364   (exit $ac_status); } &&
29365          { ac_try='test -z "$ac_c_werror_flag"
29366                          || test ! -s conftest.err'
29367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29368   (eval $ac_try) 2>&5
29369   ac_status=$?
29370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371   (exit $ac_status); }; } &&
29372          { ac_try='test -s conftest$ac_exeext'
29373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29374   (eval $ac_try) 2>&5
29375   ac_status=$?
29376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29377   (exit $ac_status); }; }; then
29378   ac_cv_lib_m_truncf=yes
29379 else
29380   echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.$ac_ext >&5
29382
29383 ac_cv_lib_m_truncf=no
29384 fi
29385 rm -f conftest.err conftest.$ac_objext \
29386       conftest$ac_exeext conftest.$ac_ext
29387 LIBS=$ac_check_lib_save_LIBS
29388 fi
29389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29390 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29391 if test $ac_cv_lib_m_truncf = yes; then
29392
29393 cat >>confdefs.h <<\_ACEOF
29394 #define HAVE_TRUNCF 1
29395 _ACEOF
29396
29397 fi
29398
29399 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29400 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29401 if test "${ac_cv_lib_m_trunc+set}" = set; then
29402   echo $ECHO_N "(cached) $ECHO_C" >&6
29403 else
29404   ac_check_lib_save_LIBS=$LIBS
29405 LIBS="-lm  $LIBS"
29406 if test x$gcc_no_link = xyes; then
29407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29409    { (exit 1); exit 1; }; }
29410 fi
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h.  */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h.  */
29417
29418 /* Override any gcc2 internal prototype to avoid an error.  */
29419 #ifdef __cplusplus
29420 extern "C"
29421 #endif
29422 /* We use char because int might match the return type of a gcc2
29423    builtin and then its argument prototype would still apply.  */
29424 char trunc ();
29425 int
29426 main ()
29427 {
29428 trunc ();
29429   ;
29430   return 0;
29431 }
29432 _ACEOF
29433 rm -f conftest.$ac_objext conftest$ac_exeext
29434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29435   (eval $ac_link) 2>conftest.er1
29436   ac_status=$?
29437   grep -v '^ *+' conftest.er1 >conftest.err
29438   rm -f conftest.er1
29439   cat conftest.err >&5
29440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441   (exit $ac_status); } &&
29442          { ac_try='test -z "$ac_c_werror_flag"
29443                          || test ! -s conftest.err'
29444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445   (eval $ac_try) 2>&5
29446   ac_status=$?
29447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448   (exit $ac_status); }; } &&
29449          { ac_try='test -s conftest$ac_exeext'
29450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451   (eval $ac_try) 2>&5
29452   ac_status=$?
29453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454   (exit $ac_status); }; }; then
29455   ac_cv_lib_m_trunc=yes
29456 else
29457   echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29459
29460 ac_cv_lib_m_trunc=no
29461 fi
29462 rm -f conftest.err conftest.$ac_objext \
29463       conftest$ac_exeext conftest.$ac_ext
29464 LIBS=$ac_check_lib_save_LIBS
29465 fi
29466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29467 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29468 if test $ac_cv_lib_m_trunc = yes; then
29469
29470 cat >>confdefs.h <<\_ACEOF
29471 #define HAVE_TRUNC 1
29472 _ACEOF
29473
29474 fi
29475
29476 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29477 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29478 if test "${ac_cv_lib_m_truncl+set}" = set; then
29479   echo $ECHO_N "(cached) $ECHO_C" >&6
29480 else
29481   ac_check_lib_save_LIBS=$LIBS
29482 LIBS="-lm  $LIBS"
29483 if test x$gcc_no_link = xyes; then
29484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29486    { (exit 1); exit 1; }; }
29487 fi
29488 cat >conftest.$ac_ext <<_ACEOF
29489 /* confdefs.h.  */
29490 _ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h.  */
29494
29495 /* Override any gcc2 internal prototype to avoid an error.  */
29496 #ifdef __cplusplus
29497 extern "C"
29498 #endif
29499 /* We use char because int might match the return type of a gcc2
29500    builtin and then its argument prototype would still apply.  */
29501 char truncl ();
29502 int
29503 main ()
29504 {
29505 truncl ();
29506   ;
29507   return 0;
29508 }
29509 _ACEOF
29510 rm -f conftest.$ac_objext conftest$ac_exeext
29511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29512   (eval $ac_link) 2>conftest.er1
29513   ac_status=$?
29514   grep -v '^ *+' conftest.er1 >conftest.err
29515   rm -f conftest.er1
29516   cat conftest.err >&5
29517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518   (exit $ac_status); } &&
29519          { ac_try='test -z "$ac_c_werror_flag"
29520                          || test ! -s conftest.err'
29521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522   (eval $ac_try) 2>&5
29523   ac_status=$?
29524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525   (exit $ac_status); }; } &&
29526          { ac_try='test -s conftest$ac_exeext'
29527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29528   (eval $ac_try) 2>&5
29529   ac_status=$?
29530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531   (exit $ac_status); }; }; then
29532   ac_cv_lib_m_truncl=yes
29533 else
29534   echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_cv_lib_m_truncl=no
29538 fi
29539 rm -f conftest.err conftest.$ac_objext \
29540       conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29542 fi
29543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29544 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29545 if test $ac_cv_lib_m_truncl = yes; then
29546
29547 cat >>confdefs.h <<\_ACEOF
29548 #define HAVE_TRUNCL 1
29549 _ACEOF
29550
29551 fi
29552
29553 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29554 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29555 if test "${ac_cv_lib_m_erff+set}" = set; then
29556   echo $ECHO_N "(cached) $ECHO_C" >&6
29557 else
29558   ac_check_lib_save_LIBS=$LIBS
29559 LIBS="-lm  $LIBS"
29560 if test x$gcc_no_link = xyes; then
29561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29563    { (exit 1); exit 1; }; }
29564 fi
29565 cat >conftest.$ac_ext <<_ACEOF
29566 /* confdefs.h.  */
29567 _ACEOF
29568 cat confdefs.h >>conftest.$ac_ext
29569 cat >>conftest.$ac_ext <<_ACEOF
29570 /* end confdefs.h.  */
29571
29572 /* Override any gcc2 internal prototype to avoid an error.  */
29573 #ifdef __cplusplus
29574 extern "C"
29575 #endif
29576 /* We use char because int might match the return type of a gcc2
29577    builtin and then its argument prototype would still apply.  */
29578 char erff ();
29579 int
29580 main ()
29581 {
29582 erff ();
29583   ;
29584   return 0;
29585 }
29586 _ACEOF
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29589   (eval $ac_link) 2>conftest.er1
29590   ac_status=$?
29591   grep -v '^ *+' conftest.er1 >conftest.err
29592   rm -f conftest.er1
29593   cat conftest.err >&5
29594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595   (exit $ac_status); } &&
29596          { ac_try='test -z "$ac_c_werror_flag"
29597                          || test ! -s conftest.err'
29598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599   (eval $ac_try) 2>&5
29600   ac_status=$?
29601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602   (exit $ac_status); }; } &&
29603          { ac_try='test -s conftest$ac_exeext'
29604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605   (eval $ac_try) 2>&5
29606   ac_status=$?
29607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608   (exit $ac_status); }; }; then
29609   ac_cv_lib_m_erff=yes
29610 else
29611   echo "$as_me: failed program was:" >&5
29612 sed 's/^/| /' conftest.$ac_ext >&5
29613
29614 ac_cv_lib_m_erff=no
29615 fi
29616 rm -f conftest.err conftest.$ac_objext \
29617       conftest$ac_exeext conftest.$ac_ext
29618 LIBS=$ac_check_lib_save_LIBS
29619 fi
29620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29621 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29622 if test $ac_cv_lib_m_erff = yes; then
29623
29624 cat >>confdefs.h <<\_ACEOF
29625 #define HAVE_ERFF 1
29626 _ACEOF
29627
29628 fi
29629
29630 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29631 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29632 if test "${ac_cv_lib_m_erf+set}" = set; then
29633   echo $ECHO_N "(cached) $ECHO_C" >&6
29634 else
29635   ac_check_lib_save_LIBS=$LIBS
29636 LIBS="-lm  $LIBS"
29637 if test x$gcc_no_link = xyes; then
29638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29640    { (exit 1); exit 1; }; }
29641 fi
29642 cat >conftest.$ac_ext <<_ACEOF
29643 /* confdefs.h.  */
29644 _ACEOF
29645 cat confdefs.h >>conftest.$ac_ext
29646 cat >>conftest.$ac_ext <<_ACEOF
29647 /* end confdefs.h.  */
29648
29649 /* Override any gcc2 internal prototype to avoid an error.  */
29650 #ifdef __cplusplus
29651 extern "C"
29652 #endif
29653 /* We use char because int might match the return type of a gcc2
29654    builtin and then its argument prototype would still apply.  */
29655 char erf ();
29656 int
29657 main ()
29658 {
29659 erf ();
29660   ;
29661   return 0;
29662 }
29663 _ACEOF
29664 rm -f conftest.$ac_objext conftest$ac_exeext
29665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29666   (eval $ac_link) 2>conftest.er1
29667   ac_status=$?
29668   grep -v '^ *+' conftest.er1 >conftest.err
29669   rm -f conftest.er1
29670   cat conftest.err >&5
29671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672   (exit $ac_status); } &&
29673          { ac_try='test -z "$ac_c_werror_flag"
29674                          || test ! -s conftest.err'
29675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676   (eval $ac_try) 2>&5
29677   ac_status=$?
29678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679   (exit $ac_status); }; } &&
29680          { ac_try='test -s conftest$ac_exeext'
29681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682   (eval $ac_try) 2>&5
29683   ac_status=$?
29684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685   (exit $ac_status); }; }; then
29686   ac_cv_lib_m_erf=yes
29687 else
29688   echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29690
29691 ac_cv_lib_m_erf=no
29692 fi
29693 rm -f conftest.err conftest.$ac_objext \
29694       conftest$ac_exeext conftest.$ac_ext
29695 LIBS=$ac_check_lib_save_LIBS
29696 fi
29697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29698 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29699 if test $ac_cv_lib_m_erf = yes; then
29700
29701 cat >>confdefs.h <<\_ACEOF
29702 #define HAVE_ERF 1
29703 _ACEOF
29704
29705 fi
29706
29707 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29708 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29709 if test "${ac_cv_lib_m_erfl+set}" = set; then
29710   echo $ECHO_N "(cached) $ECHO_C" >&6
29711 else
29712   ac_check_lib_save_LIBS=$LIBS
29713 LIBS="-lm  $LIBS"
29714 if test x$gcc_no_link = xyes; then
29715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29717    { (exit 1); exit 1; }; }
29718 fi
29719 cat >conftest.$ac_ext <<_ACEOF
29720 /* confdefs.h.  */
29721 _ACEOF
29722 cat confdefs.h >>conftest.$ac_ext
29723 cat >>conftest.$ac_ext <<_ACEOF
29724 /* end confdefs.h.  */
29725
29726 /* Override any gcc2 internal prototype to avoid an error.  */
29727 #ifdef __cplusplus
29728 extern "C"
29729 #endif
29730 /* We use char because int might match the return type of a gcc2
29731    builtin and then its argument prototype would still apply.  */
29732 char erfl ();
29733 int
29734 main ()
29735 {
29736 erfl ();
29737   ;
29738   return 0;
29739 }
29740 _ACEOF
29741 rm -f conftest.$ac_objext conftest$ac_exeext
29742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29743   (eval $ac_link) 2>conftest.er1
29744   ac_status=$?
29745   grep -v '^ *+' conftest.er1 >conftest.err
29746   rm -f conftest.er1
29747   cat conftest.err >&5
29748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749   (exit $ac_status); } &&
29750          { ac_try='test -z "$ac_c_werror_flag"
29751                          || test ! -s conftest.err'
29752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753   (eval $ac_try) 2>&5
29754   ac_status=$?
29755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756   (exit $ac_status); }; } &&
29757          { ac_try='test -s conftest$ac_exeext'
29758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759   (eval $ac_try) 2>&5
29760   ac_status=$?
29761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762   (exit $ac_status); }; }; then
29763   ac_cv_lib_m_erfl=yes
29764 else
29765   echo "$as_me: failed program was:" >&5
29766 sed 's/^/| /' conftest.$ac_ext >&5
29767
29768 ac_cv_lib_m_erfl=no
29769 fi
29770 rm -f conftest.err conftest.$ac_objext \
29771       conftest$ac_exeext conftest.$ac_ext
29772 LIBS=$ac_check_lib_save_LIBS
29773 fi
29774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29775 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29776 if test $ac_cv_lib_m_erfl = yes; then
29777
29778 cat >>confdefs.h <<\_ACEOF
29779 #define HAVE_ERFL 1
29780 _ACEOF
29781
29782 fi
29783
29784 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29785 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29786 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29787   echo $ECHO_N "(cached) $ECHO_C" >&6
29788 else
29789   ac_check_lib_save_LIBS=$LIBS
29790 LIBS="-lm  $LIBS"
29791 if test x$gcc_no_link = xyes; then
29792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29794    { (exit 1); exit 1; }; }
29795 fi
29796 cat >conftest.$ac_ext <<_ACEOF
29797 /* confdefs.h.  */
29798 _ACEOF
29799 cat confdefs.h >>conftest.$ac_ext
29800 cat >>conftest.$ac_ext <<_ACEOF
29801 /* end confdefs.h.  */
29802
29803 /* Override any gcc2 internal prototype to avoid an error.  */
29804 #ifdef __cplusplus
29805 extern "C"
29806 #endif
29807 /* We use char because int might match the return type of a gcc2
29808    builtin and then its argument prototype would still apply.  */
29809 char erfcf ();
29810 int
29811 main ()
29812 {
29813 erfcf ();
29814   ;
29815   return 0;
29816 }
29817 _ACEOF
29818 rm -f conftest.$ac_objext conftest$ac_exeext
29819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29820   (eval $ac_link) 2>conftest.er1
29821   ac_status=$?
29822   grep -v '^ *+' conftest.er1 >conftest.err
29823   rm -f conftest.er1
29824   cat conftest.err >&5
29825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826   (exit $ac_status); } &&
29827          { ac_try='test -z "$ac_c_werror_flag"
29828                          || test ! -s conftest.err'
29829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830   (eval $ac_try) 2>&5
29831   ac_status=$?
29832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833   (exit $ac_status); }; } &&
29834          { ac_try='test -s conftest$ac_exeext'
29835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29836   (eval $ac_try) 2>&5
29837   ac_status=$?
29838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839   (exit $ac_status); }; }; then
29840   ac_cv_lib_m_erfcf=yes
29841 else
29842   echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845 ac_cv_lib_m_erfcf=no
29846 fi
29847 rm -f conftest.err conftest.$ac_objext \
29848       conftest$ac_exeext conftest.$ac_ext
29849 LIBS=$ac_check_lib_save_LIBS
29850 fi
29851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29852 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29853 if test $ac_cv_lib_m_erfcf = yes; then
29854
29855 cat >>confdefs.h <<\_ACEOF
29856 #define HAVE_ERFCF 1
29857 _ACEOF
29858
29859 fi
29860
29861 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29862 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29863 if test "${ac_cv_lib_m_erfc+set}" = set; then
29864   echo $ECHO_N "(cached) $ECHO_C" >&6
29865 else
29866   ac_check_lib_save_LIBS=$LIBS
29867 LIBS="-lm  $LIBS"
29868 if test x$gcc_no_link = xyes; then
29869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29871    { (exit 1); exit 1; }; }
29872 fi
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h.  */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h.  */
29879
29880 /* Override any gcc2 internal prototype to avoid an error.  */
29881 #ifdef __cplusplus
29882 extern "C"
29883 #endif
29884 /* We use char because int might match the return type of a gcc2
29885    builtin and then its argument prototype would still apply.  */
29886 char erfc ();
29887 int
29888 main ()
29889 {
29890 erfc ();
29891   ;
29892   return 0;
29893 }
29894 _ACEOF
29895 rm -f conftest.$ac_objext conftest$ac_exeext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29897   (eval $ac_link) 2>conftest.er1
29898   ac_status=$?
29899   grep -v '^ *+' conftest.er1 >conftest.err
29900   rm -f conftest.er1
29901   cat conftest.err >&5
29902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903   (exit $ac_status); } &&
29904          { ac_try='test -z "$ac_c_werror_flag"
29905                          || test ! -s conftest.err'
29906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907   (eval $ac_try) 2>&5
29908   ac_status=$?
29909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910   (exit $ac_status); }; } &&
29911          { ac_try='test -s conftest$ac_exeext'
29912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913   (eval $ac_try) 2>&5
29914   ac_status=$?
29915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916   (exit $ac_status); }; }; then
29917   ac_cv_lib_m_erfc=yes
29918 else
29919   echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29921
29922 ac_cv_lib_m_erfc=no
29923 fi
29924 rm -f conftest.err conftest.$ac_objext \
29925       conftest$ac_exeext conftest.$ac_ext
29926 LIBS=$ac_check_lib_save_LIBS
29927 fi
29928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29929 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29930 if test $ac_cv_lib_m_erfc = yes; then
29931
29932 cat >>confdefs.h <<\_ACEOF
29933 #define HAVE_ERFC 1
29934 _ACEOF
29935
29936 fi
29937
29938 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29939 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29940 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29941   echo $ECHO_N "(cached) $ECHO_C" >&6
29942 else
29943   ac_check_lib_save_LIBS=$LIBS
29944 LIBS="-lm  $LIBS"
29945 if test x$gcc_no_link = xyes; then
29946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29948    { (exit 1); exit 1; }; }
29949 fi
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h.  */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h.  */
29956
29957 /* Override any gcc2 internal prototype to avoid an error.  */
29958 #ifdef __cplusplus
29959 extern "C"
29960 #endif
29961 /* We use char because int might match the return type of a gcc2
29962    builtin and then its argument prototype would still apply.  */
29963 char erfcl ();
29964 int
29965 main ()
29966 {
29967 erfcl ();
29968   ;
29969   return 0;
29970 }
29971 _ACEOF
29972 rm -f conftest.$ac_objext conftest$ac_exeext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29974   (eval $ac_link) 2>conftest.er1
29975   ac_status=$?
29976   grep -v '^ *+' conftest.er1 >conftest.err
29977   rm -f conftest.er1
29978   cat conftest.err >&5
29979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980   (exit $ac_status); } &&
29981          { ac_try='test -z "$ac_c_werror_flag"
29982                          || test ! -s conftest.err'
29983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29984   (eval $ac_try) 2>&5
29985   ac_status=$?
29986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987   (exit $ac_status); }; } &&
29988          { ac_try='test -s conftest$ac_exeext'
29989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29990   (eval $ac_try) 2>&5
29991   ac_status=$?
29992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993   (exit $ac_status); }; }; then
29994   ac_cv_lib_m_erfcl=yes
29995 else
29996   echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29998
29999 ac_cv_lib_m_erfcl=no
30000 fi
30001 rm -f conftest.err conftest.$ac_objext \
30002       conftest$ac_exeext conftest.$ac_ext
30003 LIBS=$ac_check_lib_save_LIBS
30004 fi
30005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30006 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30007 if test $ac_cv_lib_m_erfcl = yes; then
30008
30009 cat >>confdefs.h <<\_ACEOF
30010 #define HAVE_ERFCL 1
30011 _ACEOF
30012
30013 fi
30014
30015 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30016 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30017 if test "${ac_cv_lib_m_j0f+set}" = set; then
30018   echo $ECHO_N "(cached) $ECHO_C" >&6
30019 else
30020   ac_check_lib_save_LIBS=$LIBS
30021 LIBS="-lm  $LIBS"
30022 if test x$gcc_no_link = xyes; then
30023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30025    { (exit 1); exit 1; }; }
30026 fi
30027 cat >conftest.$ac_ext <<_ACEOF
30028 /* confdefs.h.  */
30029 _ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h.  */
30033
30034 /* Override any gcc2 internal prototype to avoid an error.  */
30035 #ifdef __cplusplus
30036 extern "C"
30037 #endif
30038 /* We use char because int might match the return type of a gcc2
30039    builtin and then its argument prototype would still apply.  */
30040 char j0f ();
30041 int
30042 main ()
30043 {
30044 j0f ();
30045   ;
30046   return 0;
30047 }
30048 _ACEOF
30049 rm -f conftest.$ac_objext conftest$ac_exeext
30050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30051   (eval $ac_link) 2>conftest.er1
30052   ac_status=$?
30053   grep -v '^ *+' conftest.er1 >conftest.err
30054   rm -f conftest.er1
30055   cat conftest.err >&5
30056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057   (exit $ac_status); } &&
30058          { ac_try='test -z "$ac_c_werror_flag"
30059                          || test ! -s conftest.err'
30060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061   (eval $ac_try) 2>&5
30062   ac_status=$?
30063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064   (exit $ac_status); }; } &&
30065          { ac_try='test -s conftest$ac_exeext'
30066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067   (eval $ac_try) 2>&5
30068   ac_status=$?
30069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070   (exit $ac_status); }; }; then
30071   ac_cv_lib_m_j0f=yes
30072 else
30073   echo "$as_me: failed program was:" >&5
30074 sed 's/^/| /' conftest.$ac_ext >&5
30075
30076 ac_cv_lib_m_j0f=no
30077 fi
30078 rm -f conftest.err conftest.$ac_objext \
30079       conftest$ac_exeext conftest.$ac_ext
30080 LIBS=$ac_check_lib_save_LIBS
30081 fi
30082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30083 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30084 if test $ac_cv_lib_m_j0f = yes; then
30085
30086 cat >>confdefs.h <<\_ACEOF
30087 #define HAVE_J0F 1
30088 _ACEOF
30089
30090 fi
30091
30092 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30093 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30094 if test "${ac_cv_lib_m_j0+set}" = set; then
30095   echo $ECHO_N "(cached) $ECHO_C" >&6
30096 else
30097   ac_check_lib_save_LIBS=$LIBS
30098 LIBS="-lm  $LIBS"
30099 if test x$gcc_no_link = xyes; then
30100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30102    { (exit 1); exit 1; }; }
30103 fi
30104 cat >conftest.$ac_ext <<_ACEOF
30105 /* confdefs.h.  */
30106 _ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h.  */
30110
30111 /* Override any gcc2 internal prototype to avoid an error.  */
30112 #ifdef __cplusplus
30113 extern "C"
30114 #endif
30115 /* We use char because int might match the return type of a gcc2
30116    builtin and then its argument prototype would still apply.  */
30117 char j0 ();
30118 int
30119 main ()
30120 {
30121 j0 ();
30122   ;
30123   return 0;
30124 }
30125 _ACEOF
30126 rm -f conftest.$ac_objext conftest$ac_exeext
30127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30128   (eval $ac_link) 2>conftest.er1
30129   ac_status=$?
30130   grep -v '^ *+' conftest.er1 >conftest.err
30131   rm -f conftest.er1
30132   cat conftest.err >&5
30133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134   (exit $ac_status); } &&
30135          { ac_try='test -z "$ac_c_werror_flag"
30136                          || test ! -s conftest.err'
30137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138   (eval $ac_try) 2>&5
30139   ac_status=$?
30140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141   (exit $ac_status); }; } &&
30142          { ac_try='test -s conftest$ac_exeext'
30143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144   (eval $ac_try) 2>&5
30145   ac_status=$?
30146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147   (exit $ac_status); }; }; then
30148   ac_cv_lib_m_j0=yes
30149 else
30150   echo "$as_me: failed program was:" >&5
30151 sed 's/^/| /' conftest.$ac_ext >&5
30152
30153 ac_cv_lib_m_j0=no
30154 fi
30155 rm -f conftest.err conftest.$ac_objext \
30156       conftest$ac_exeext conftest.$ac_ext
30157 LIBS=$ac_check_lib_save_LIBS
30158 fi
30159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30160 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30161 if test $ac_cv_lib_m_j0 = yes; then
30162
30163 cat >>confdefs.h <<\_ACEOF
30164 #define HAVE_J0 1
30165 _ACEOF
30166
30167 fi
30168
30169 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30170 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30171 if test "${ac_cv_lib_m_j0l+set}" = set; then
30172   echo $ECHO_N "(cached) $ECHO_C" >&6
30173 else
30174   ac_check_lib_save_LIBS=$LIBS
30175 LIBS="-lm  $LIBS"
30176 if test x$gcc_no_link = xyes; then
30177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30179    { (exit 1); exit 1; }; }
30180 fi
30181 cat >conftest.$ac_ext <<_ACEOF
30182 /* confdefs.h.  */
30183 _ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h.  */
30187
30188 /* Override any gcc2 internal prototype to avoid an error.  */
30189 #ifdef __cplusplus
30190 extern "C"
30191 #endif
30192 /* We use char because int might match the return type of a gcc2
30193    builtin and then its argument prototype would still apply.  */
30194 char j0l ();
30195 int
30196 main ()
30197 {
30198 j0l ();
30199   ;
30200   return 0;
30201 }
30202 _ACEOF
30203 rm -f conftest.$ac_objext conftest$ac_exeext
30204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30205   (eval $ac_link) 2>conftest.er1
30206   ac_status=$?
30207   grep -v '^ *+' conftest.er1 >conftest.err
30208   rm -f conftest.er1
30209   cat conftest.err >&5
30210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211   (exit $ac_status); } &&
30212          { ac_try='test -z "$ac_c_werror_flag"
30213                          || test ! -s conftest.err'
30214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215   (eval $ac_try) 2>&5
30216   ac_status=$?
30217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218   (exit $ac_status); }; } &&
30219          { ac_try='test -s conftest$ac_exeext'
30220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30221   (eval $ac_try) 2>&5
30222   ac_status=$?
30223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224   (exit $ac_status); }; }; then
30225   ac_cv_lib_m_j0l=yes
30226 else
30227   echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30229
30230 ac_cv_lib_m_j0l=no
30231 fi
30232 rm -f conftest.err conftest.$ac_objext \
30233       conftest$ac_exeext conftest.$ac_ext
30234 LIBS=$ac_check_lib_save_LIBS
30235 fi
30236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30237 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30238 if test $ac_cv_lib_m_j0l = yes; then
30239
30240 cat >>confdefs.h <<\_ACEOF
30241 #define HAVE_J0L 1
30242 _ACEOF
30243
30244 fi
30245
30246 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30247 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30248 if test "${ac_cv_lib_m_j1f+set}" = set; then
30249   echo $ECHO_N "(cached) $ECHO_C" >&6
30250 else
30251   ac_check_lib_save_LIBS=$LIBS
30252 LIBS="-lm  $LIBS"
30253 if test x$gcc_no_link = xyes; then
30254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30256    { (exit 1); exit 1; }; }
30257 fi
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h.  */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h.  */
30264
30265 /* Override any gcc2 internal prototype to avoid an error.  */
30266 #ifdef __cplusplus
30267 extern "C"
30268 #endif
30269 /* We use char because int might match the return type of a gcc2
30270    builtin and then its argument prototype would still apply.  */
30271 char j1f ();
30272 int
30273 main ()
30274 {
30275 j1f ();
30276   ;
30277   return 0;
30278 }
30279 _ACEOF
30280 rm -f conftest.$ac_objext conftest$ac_exeext
30281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30282   (eval $ac_link) 2>conftest.er1
30283   ac_status=$?
30284   grep -v '^ *+' conftest.er1 >conftest.err
30285   rm -f conftest.er1
30286   cat conftest.err >&5
30287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288   (exit $ac_status); } &&
30289          { ac_try='test -z "$ac_c_werror_flag"
30290                          || test ! -s conftest.err'
30291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292   (eval $ac_try) 2>&5
30293   ac_status=$?
30294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295   (exit $ac_status); }; } &&
30296          { ac_try='test -s conftest$ac_exeext'
30297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298   (eval $ac_try) 2>&5
30299   ac_status=$?
30300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301   (exit $ac_status); }; }; then
30302   ac_cv_lib_m_j1f=yes
30303 else
30304   echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30306
30307 ac_cv_lib_m_j1f=no
30308 fi
30309 rm -f conftest.err conftest.$ac_objext \
30310       conftest$ac_exeext conftest.$ac_ext
30311 LIBS=$ac_check_lib_save_LIBS
30312 fi
30313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30314 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30315 if test $ac_cv_lib_m_j1f = yes; then
30316
30317 cat >>confdefs.h <<\_ACEOF
30318 #define HAVE_J1F 1
30319 _ACEOF
30320
30321 fi
30322
30323 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30324 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30325 if test "${ac_cv_lib_m_j1+set}" = set; then
30326   echo $ECHO_N "(cached) $ECHO_C" >&6
30327 else
30328   ac_check_lib_save_LIBS=$LIBS
30329 LIBS="-lm  $LIBS"
30330 if test x$gcc_no_link = xyes; then
30331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30333    { (exit 1); exit 1; }; }
30334 fi
30335 cat >conftest.$ac_ext <<_ACEOF
30336 /* confdefs.h.  */
30337 _ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h.  */
30341
30342 /* Override any gcc2 internal prototype to avoid an error.  */
30343 #ifdef __cplusplus
30344 extern "C"
30345 #endif
30346 /* We use char because int might match the return type of a gcc2
30347    builtin and then its argument prototype would still apply.  */
30348 char j1 ();
30349 int
30350 main ()
30351 {
30352 j1 ();
30353   ;
30354   return 0;
30355 }
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359   (eval $ac_link) 2>conftest.er1
30360   ac_status=$?
30361   grep -v '^ *+' conftest.er1 >conftest.err
30362   rm -f conftest.er1
30363   cat conftest.err >&5
30364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365   (exit $ac_status); } &&
30366          { ac_try='test -z "$ac_c_werror_flag"
30367                          || test ! -s conftest.err'
30368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369   (eval $ac_try) 2>&5
30370   ac_status=$?
30371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372   (exit $ac_status); }; } &&
30373          { ac_try='test -s conftest$ac_exeext'
30374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375   (eval $ac_try) 2>&5
30376   ac_status=$?
30377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378   (exit $ac_status); }; }; then
30379   ac_cv_lib_m_j1=yes
30380 else
30381   echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 ac_cv_lib_m_j1=no
30385 fi
30386 rm -f conftest.err conftest.$ac_objext \
30387       conftest$ac_exeext conftest.$ac_ext
30388 LIBS=$ac_check_lib_save_LIBS
30389 fi
30390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30391 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30392 if test $ac_cv_lib_m_j1 = yes; then
30393
30394 cat >>confdefs.h <<\_ACEOF
30395 #define HAVE_J1 1
30396 _ACEOF
30397
30398 fi
30399
30400 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30401 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30402 if test "${ac_cv_lib_m_j1l+set}" = set; then
30403   echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405   ac_check_lib_save_LIBS=$LIBS
30406 LIBS="-lm  $LIBS"
30407 if test x$gcc_no_link = xyes; then
30408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30410    { (exit 1); exit 1; }; }
30411 fi
30412 cat >conftest.$ac_ext <<_ACEOF
30413 /* confdefs.h.  */
30414 _ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h.  */
30418
30419 /* Override any gcc2 internal prototype to avoid an error.  */
30420 #ifdef __cplusplus
30421 extern "C"
30422 #endif
30423 /* We use char because int might match the return type of a gcc2
30424    builtin and then its argument prototype would still apply.  */
30425 char j1l ();
30426 int
30427 main ()
30428 {
30429 j1l ();
30430   ;
30431   return 0;
30432 }
30433 _ACEOF
30434 rm -f conftest.$ac_objext conftest$ac_exeext
30435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30436   (eval $ac_link) 2>conftest.er1
30437   ac_status=$?
30438   grep -v '^ *+' conftest.er1 >conftest.err
30439   rm -f conftest.er1
30440   cat conftest.err >&5
30441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442   (exit $ac_status); } &&
30443          { ac_try='test -z "$ac_c_werror_flag"
30444                          || test ! -s conftest.err'
30445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446   (eval $ac_try) 2>&5
30447   ac_status=$?
30448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449   (exit $ac_status); }; } &&
30450          { ac_try='test -s conftest$ac_exeext'
30451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452   (eval $ac_try) 2>&5
30453   ac_status=$?
30454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455   (exit $ac_status); }; }; then
30456   ac_cv_lib_m_j1l=yes
30457 else
30458   echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_lib_m_j1l=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464       conftest$ac_exeext conftest.$ac_ext
30465 LIBS=$ac_check_lib_save_LIBS
30466 fi
30467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30468 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30469 if test $ac_cv_lib_m_j1l = yes; then
30470
30471 cat >>confdefs.h <<\_ACEOF
30472 #define HAVE_J1L 1
30473 _ACEOF
30474
30475 fi
30476
30477 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30478 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30479 if test "${ac_cv_lib_m_jnf+set}" = set; then
30480   echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482   ac_check_lib_save_LIBS=$LIBS
30483 LIBS="-lm  $LIBS"
30484 if test x$gcc_no_link = xyes; then
30485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30487    { (exit 1); exit 1; }; }
30488 fi
30489 cat >conftest.$ac_ext <<_ACEOF
30490 /* confdefs.h.  */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h.  */
30495
30496 /* Override any gcc2 internal prototype to avoid an error.  */
30497 #ifdef __cplusplus
30498 extern "C"
30499 #endif
30500 /* We use char because int might match the return type of a gcc2
30501    builtin and then its argument prototype would still apply.  */
30502 char jnf ();
30503 int
30504 main ()
30505 {
30506 jnf ();
30507   ;
30508   return 0;
30509 }
30510 _ACEOF
30511 rm -f conftest.$ac_objext conftest$ac_exeext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30513   (eval $ac_link) 2>conftest.er1
30514   ac_status=$?
30515   grep -v '^ *+' conftest.er1 >conftest.err
30516   rm -f conftest.er1
30517   cat conftest.err >&5
30518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519   (exit $ac_status); } &&
30520          { ac_try='test -z "$ac_c_werror_flag"
30521                          || test ! -s conftest.err'
30522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523   (eval $ac_try) 2>&5
30524   ac_status=$?
30525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526   (exit $ac_status); }; } &&
30527          { ac_try='test -s conftest$ac_exeext'
30528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529   (eval $ac_try) 2>&5
30530   ac_status=$?
30531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532   (exit $ac_status); }; }; then
30533   ac_cv_lib_m_jnf=yes
30534 else
30535   echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30537
30538 ac_cv_lib_m_jnf=no
30539 fi
30540 rm -f conftest.err conftest.$ac_objext \
30541       conftest$ac_exeext conftest.$ac_ext
30542 LIBS=$ac_check_lib_save_LIBS
30543 fi
30544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30545 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30546 if test $ac_cv_lib_m_jnf = yes; then
30547
30548 cat >>confdefs.h <<\_ACEOF
30549 #define HAVE_JNF 1
30550 _ACEOF
30551
30552 fi
30553
30554 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30555 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30556 if test "${ac_cv_lib_m_jn+set}" = set; then
30557   echo $ECHO_N "(cached) $ECHO_C" >&6
30558 else
30559   ac_check_lib_save_LIBS=$LIBS
30560 LIBS="-lm  $LIBS"
30561 if test x$gcc_no_link = xyes; then
30562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30564    { (exit 1); exit 1; }; }
30565 fi
30566 cat >conftest.$ac_ext <<_ACEOF
30567 /* confdefs.h.  */
30568 _ACEOF
30569 cat confdefs.h >>conftest.$ac_ext
30570 cat >>conftest.$ac_ext <<_ACEOF
30571 /* end confdefs.h.  */
30572
30573 /* Override any gcc2 internal prototype to avoid an error.  */
30574 #ifdef __cplusplus
30575 extern "C"
30576 #endif
30577 /* We use char because int might match the return type of a gcc2
30578    builtin and then its argument prototype would still apply.  */
30579 char jn ();
30580 int
30581 main ()
30582 {
30583 jn ();
30584   ;
30585   return 0;
30586 }
30587 _ACEOF
30588 rm -f conftest.$ac_objext conftest$ac_exeext
30589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30590   (eval $ac_link) 2>conftest.er1
30591   ac_status=$?
30592   grep -v '^ *+' conftest.er1 >conftest.err
30593   rm -f conftest.er1
30594   cat conftest.err >&5
30595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596   (exit $ac_status); } &&
30597          { ac_try='test -z "$ac_c_werror_flag"
30598                          || test ! -s conftest.err'
30599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30600   (eval $ac_try) 2>&5
30601   ac_status=$?
30602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603   (exit $ac_status); }; } &&
30604          { ac_try='test -s conftest$ac_exeext'
30605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30606   (eval $ac_try) 2>&5
30607   ac_status=$?
30608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609   (exit $ac_status); }; }; then
30610   ac_cv_lib_m_jn=yes
30611 else
30612   echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.$ac_ext >&5
30614
30615 ac_cv_lib_m_jn=no
30616 fi
30617 rm -f conftest.err conftest.$ac_objext \
30618       conftest$ac_exeext conftest.$ac_ext
30619 LIBS=$ac_check_lib_save_LIBS
30620 fi
30621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30622 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30623 if test $ac_cv_lib_m_jn = yes; then
30624
30625 cat >>confdefs.h <<\_ACEOF
30626 #define HAVE_JN 1
30627 _ACEOF
30628
30629 fi
30630
30631 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30632 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30633 if test "${ac_cv_lib_m_jnl+set}" = set; then
30634   echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636   ac_check_lib_save_LIBS=$LIBS
30637 LIBS="-lm  $LIBS"
30638 if test x$gcc_no_link = xyes; then
30639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30641    { (exit 1); exit 1; }; }
30642 fi
30643 cat >conftest.$ac_ext <<_ACEOF
30644 /* confdefs.h.  */
30645 _ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h.  */
30649
30650 /* Override any gcc2 internal prototype to avoid an error.  */
30651 #ifdef __cplusplus
30652 extern "C"
30653 #endif
30654 /* We use char because int might match the return type of a gcc2
30655    builtin and then its argument prototype would still apply.  */
30656 char jnl ();
30657 int
30658 main ()
30659 {
30660 jnl ();
30661   ;
30662   return 0;
30663 }
30664 _ACEOF
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667   (eval $ac_link) 2>conftest.er1
30668   ac_status=$?
30669   grep -v '^ *+' conftest.er1 >conftest.err
30670   rm -f conftest.er1
30671   cat conftest.err >&5
30672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673   (exit $ac_status); } &&
30674          { ac_try='test -z "$ac_c_werror_flag"
30675                          || test ! -s conftest.err'
30676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677   (eval $ac_try) 2>&5
30678   ac_status=$?
30679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680   (exit $ac_status); }; } &&
30681          { ac_try='test -s conftest$ac_exeext'
30682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683   (eval $ac_try) 2>&5
30684   ac_status=$?
30685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686   (exit $ac_status); }; }; then
30687   ac_cv_lib_m_jnl=yes
30688 else
30689   echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692 ac_cv_lib_m_jnl=no
30693 fi
30694 rm -f conftest.err conftest.$ac_objext \
30695       conftest$ac_exeext conftest.$ac_ext
30696 LIBS=$ac_check_lib_save_LIBS
30697 fi
30698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30699 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30700 if test $ac_cv_lib_m_jnl = yes; then
30701
30702 cat >>confdefs.h <<\_ACEOF
30703 #define HAVE_JNL 1
30704 _ACEOF
30705
30706 fi
30707
30708 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30709 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30710 if test "${ac_cv_lib_m_y0f+set}" = set; then
30711   echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713   ac_check_lib_save_LIBS=$LIBS
30714 LIBS="-lm  $LIBS"
30715 if test x$gcc_no_link = xyes; then
30716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30718    { (exit 1); exit 1; }; }
30719 fi
30720 cat >conftest.$ac_ext <<_ACEOF
30721 /* confdefs.h.  */
30722 _ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h.  */
30726
30727 /* Override any gcc2 internal prototype to avoid an error.  */
30728 #ifdef __cplusplus
30729 extern "C"
30730 #endif
30731 /* We use char because int might match the return type of a gcc2
30732    builtin and then its argument prototype would still apply.  */
30733 char y0f ();
30734 int
30735 main ()
30736 {
30737 y0f ();
30738   ;
30739   return 0;
30740 }
30741 _ACEOF
30742 rm -f conftest.$ac_objext conftest$ac_exeext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30744   (eval $ac_link) 2>conftest.er1
30745   ac_status=$?
30746   grep -v '^ *+' conftest.er1 >conftest.err
30747   rm -f conftest.er1
30748   cat conftest.err >&5
30749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750   (exit $ac_status); } &&
30751          { ac_try='test -z "$ac_c_werror_flag"
30752                          || test ! -s conftest.err'
30753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754   (eval $ac_try) 2>&5
30755   ac_status=$?
30756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757   (exit $ac_status); }; } &&
30758          { ac_try='test -s conftest$ac_exeext'
30759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30760   (eval $ac_try) 2>&5
30761   ac_status=$?
30762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763   (exit $ac_status); }; }; then
30764   ac_cv_lib_m_y0f=yes
30765 else
30766   echo "$as_me: failed program was:" >&5
30767 sed 's/^/| /' conftest.$ac_ext >&5
30768
30769 ac_cv_lib_m_y0f=no
30770 fi
30771 rm -f conftest.err conftest.$ac_objext \
30772       conftest$ac_exeext conftest.$ac_ext
30773 LIBS=$ac_check_lib_save_LIBS
30774 fi
30775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30776 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30777 if test $ac_cv_lib_m_y0f = yes; then
30778
30779 cat >>confdefs.h <<\_ACEOF
30780 #define HAVE_Y0F 1
30781 _ACEOF
30782
30783 fi
30784
30785 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30786 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30787 if test "${ac_cv_lib_m_y0+set}" = set; then
30788   echo $ECHO_N "(cached) $ECHO_C" >&6
30789 else
30790   ac_check_lib_save_LIBS=$LIBS
30791 LIBS="-lm  $LIBS"
30792 if test x$gcc_no_link = xyes; then
30793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30795    { (exit 1); exit 1; }; }
30796 fi
30797 cat >conftest.$ac_ext <<_ACEOF
30798 /* confdefs.h.  */
30799 _ACEOF
30800 cat confdefs.h >>conftest.$ac_ext
30801 cat >>conftest.$ac_ext <<_ACEOF
30802 /* end confdefs.h.  */
30803
30804 /* Override any gcc2 internal prototype to avoid an error.  */
30805 #ifdef __cplusplus
30806 extern "C"
30807 #endif
30808 /* We use char because int might match the return type of a gcc2
30809    builtin and then its argument prototype would still apply.  */
30810 char y0 ();
30811 int
30812 main ()
30813 {
30814 y0 ();
30815   ;
30816   return 0;
30817 }
30818 _ACEOF
30819 rm -f conftest.$ac_objext conftest$ac_exeext
30820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30821   (eval $ac_link) 2>conftest.er1
30822   ac_status=$?
30823   grep -v '^ *+' conftest.er1 >conftest.err
30824   rm -f conftest.er1
30825   cat conftest.err >&5
30826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827   (exit $ac_status); } &&
30828          { ac_try='test -z "$ac_c_werror_flag"
30829                          || test ! -s conftest.err'
30830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831   (eval $ac_try) 2>&5
30832   ac_status=$?
30833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834   (exit $ac_status); }; } &&
30835          { ac_try='test -s conftest$ac_exeext'
30836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30837   (eval $ac_try) 2>&5
30838   ac_status=$?
30839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840   (exit $ac_status); }; }; then
30841   ac_cv_lib_m_y0=yes
30842 else
30843   echo "$as_me: failed program was:" >&5
30844 sed 's/^/| /' conftest.$ac_ext >&5
30845
30846 ac_cv_lib_m_y0=no
30847 fi
30848 rm -f conftest.err conftest.$ac_objext \
30849       conftest$ac_exeext conftest.$ac_ext
30850 LIBS=$ac_check_lib_save_LIBS
30851 fi
30852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30853 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30854 if test $ac_cv_lib_m_y0 = yes; then
30855
30856 cat >>confdefs.h <<\_ACEOF
30857 #define HAVE_Y0 1
30858 _ACEOF
30859
30860 fi
30861
30862 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30863 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30864 if test "${ac_cv_lib_m_y0l+set}" = set; then
30865   echo $ECHO_N "(cached) $ECHO_C" >&6
30866 else
30867   ac_check_lib_save_LIBS=$LIBS
30868 LIBS="-lm  $LIBS"
30869 if test x$gcc_no_link = xyes; then
30870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30872    { (exit 1); exit 1; }; }
30873 fi
30874 cat >conftest.$ac_ext <<_ACEOF
30875 /* confdefs.h.  */
30876 _ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h.  */
30880
30881 /* Override any gcc2 internal prototype to avoid an error.  */
30882 #ifdef __cplusplus
30883 extern "C"
30884 #endif
30885 /* We use char because int might match the return type of a gcc2
30886    builtin and then its argument prototype would still apply.  */
30887 char y0l ();
30888 int
30889 main ()
30890 {
30891 y0l ();
30892   ;
30893   return 0;
30894 }
30895 _ACEOF
30896 rm -f conftest.$ac_objext conftest$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898   (eval $ac_link) 2>conftest.er1
30899   ac_status=$?
30900   grep -v '^ *+' conftest.er1 >conftest.err
30901   rm -f conftest.er1
30902   cat conftest.err >&5
30903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904   (exit $ac_status); } &&
30905          { ac_try='test -z "$ac_c_werror_flag"
30906                          || test ! -s conftest.err'
30907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908   (eval $ac_try) 2>&5
30909   ac_status=$?
30910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911   (exit $ac_status); }; } &&
30912          { ac_try='test -s conftest$ac_exeext'
30913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914   (eval $ac_try) 2>&5
30915   ac_status=$?
30916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917   (exit $ac_status); }; }; then
30918   ac_cv_lib_m_y0l=yes
30919 else
30920   echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30922
30923 ac_cv_lib_m_y0l=no
30924 fi
30925 rm -f conftest.err conftest.$ac_objext \
30926       conftest$ac_exeext conftest.$ac_ext
30927 LIBS=$ac_check_lib_save_LIBS
30928 fi
30929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30930 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30931 if test $ac_cv_lib_m_y0l = yes; then
30932
30933 cat >>confdefs.h <<\_ACEOF
30934 #define HAVE_Y0L 1
30935 _ACEOF
30936
30937 fi
30938
30939 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30940 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30941 if test "${ac_cv_lib_m_y1f+set}" = set; then
30942   echo $ECHO_N "(cached) $ECHO_C" >&6
30943 else
30944   ac_check_lib_save_LIBS=$LIBS
30945 LIBS="-lm  $LIBS"
30946 if test x$gcc_no_link = xyes; then
30947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30949    { (exit 1); exit 1; }; }
30950 fi
30951 cat >conftest.$ac_ext <<_ACEOF
30952 /* confdefs.h.  */
30953 _ACEOF
30954 cat confdefs.h >>conftest.$ac_ext
30955 cat >>conftest.$ac_ext <<_ACEOF
30956 /* end confdefs.h.  */
30957
30958 /* Override any gcc2 internal prototype to avoid an error.  */
30959 #ifdef __cplusplus
30960 extern "C"
30961 #endif
30962 /* We use char because int might match the return type of a gcc2
30963    builtin and then its argument prototype would still apply.  */
30964 char y1f ();
30965 int
30966 main ()
30967 {
30968 y1f ();
30969   ;
30970   return 0;
30971 }
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975   (eval $ac_link) 2>conftest.er1
30976   ac_status=$?
30977   grep -v '^ *+' conftest.er1 >conftest.err
30978   rm -f conftest.er1
30979   cat conftest.err >&5
30980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981   (exit $ac_status); } &&
30982          { ac_try='test -z "$ac_c_werror_flag"
30983                          || test ! -s conftest.err'
30984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30985   (eval $ac_try) 2>&5
30986   ac_status=$?
30987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988   (exit $ac_status); }; } &&
30989          { ac_try='test -s conftest$ac_exeext'
30990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991   (eval $ac_try) 2>&5
30992   ac_status=$?
30993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994   (exit $ac_status); }; }; then
30995   ac_cv_lib_m_y1f=yes
30996 else
30997   echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
30999
31000 ac_cv_lib_m_y1f=no
31001 fi
31002 rm -f conftest.err conftest.$ac_objext \
31003       conftest$ac_exeext conftest.$ac_ext
31004 LIBS=$ac_check_lib_save_LIBS
31005 fi
31006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31007 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31008 if test $ac_cv_lib_m_y1f = yes; then
31009
31010 cat >>confdefs.h <<\_ACEOF
31011 #define HAVE_Y1F 1
31012 _ACEOF
31013
31014 fi
31015
31016 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31017 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31018 if test "${ac_cv_lib_m_y1+set}" = set; then
31019   echo $ECHO_N "(cached) $ECHO_C" >&6
31020 else
31021   ac_check_lib_save_LIBS=$LIBS
31022 LIBS="-lm  $LIBS"
31023 if test x$gcc_no_link = xyes; then
31024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31026    { (exit 1); exit 1; }; }
31027 fi
31028 cat >conftest.$ac_ext <<_ACEOF
31029 /* confdefs.h.  */
31030 _ACEOF
31031 cat confdefs.h >>conftest.$ac_ext
31032 cat >>conftest.$ac_ext <<_ACEOF
31033 /* end confdefs.h.  */
31034
31035 /* Override any gcc2 internal prototype to avoid an error.  */
31036 #ifdef __cplusplus
31037 extern "C"
31038 #endif
31039 /* We use char because int might match the return type of a gcc2
31040    builtin and then its argument prototype would still apply.  */
31041 char y1 ();
31042 int
31043 main ()
31044 {
31045 y1 ();
31046   ;
31047   return 0;
31048 }
31049 _ACEOF
31050 rm -f conftest.$ac_objext conftest$ac_exeext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31052   (eval $ac_link) 2>conftest.er1
31053   ac_status=$?
31054   grep -v '^ *+' conftest.er1 >conftest.err
31055   rm -f conftest.er1
31056   cat conftest.err >&5
31057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058   (exit $ac_status); } &&
31059          { ac_try='test -z "$ac_c_werror_flag"
31060                          || test ! -s conftest.err'
31061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062   (eval $ac_try) 2>&5
31063   ac_status=$?
31064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065   (exit $ac_status); }; } &&
31066          { ac_try='test -s conftest$ac_exeext'
31067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068   (eval $ac_try) 2>&5
31069   ac_status=$?
31070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071   (exit $ac_status); }; }; then
31072   ac_cv_lib_m_y1=yes
31073 else
31074   echo "$as_me: failed program was:" >&5
31075 sed 's/^/| /' conftest.$ac_ext >&5
31076
31077 ac_cv_lib_m_y1=no
31078 fi
31079 rm -f conftest.err conftest.$ac_objext \
31080       conftest$ac_exeext conftest.$ac_ext
31081 LIBS=$ac_check_lib_save_LIBS
31082 fi
31083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31084 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31085 if test $ac_cv_lib_m_y1 = yes; then
31086
31087 cat >>confdefs.h <<\_ACEOF
31088 #define HAVE_Y1 1
31089 _ACEOF
31090
31091 fi
31092
31093 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31094 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31095 if test "${ac_cv_lib_m_y1l+set}" = set; then
31096   echo $ECHO_N "(cached) $ECHO_C" >&6
31097 else
31098   ac_check_lib_save_LIBS=$LIBS
31099 LIBS="-lm  $LIBS"
31100 if test x$gcc_no_link = xyes; then
31101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31103    { (exit 1); exit 1; }; }
31104 fi
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h.  */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h.  */
31111
31112 /* Override any gcc2 internal prototype to avoid an error.  */
31113 #ifdef __cplusplus
31114 extern "C"
31115 #endif
31116 /* We use char because int might match the return type of a gcc2
31117    builtin and then its argument prototype would still apply.  */
31118 char y1l ();
31119 int
31120 main ()
31121 {
31122 y1l ();
31123   ;
31124   return 0;
31125 }
31126 _ACEOF
31127 rm -f conftest.$ac_objext conftest$ac_exeext
31128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31129   (eval $ac_link) 2>conftest.er1
31130   ac_status=$?
31131   grep -v '^ *+' conftest.er1 >conftest.err
31132   rm -f conftest.er1
31133   cat conftest.err >&5
31134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135   (exit $ac_status); } &&
31136          { ac_try='test -z "$ac_c_werror_flag"
31137                          || test ! -s conftest.err'
31138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139   (eval $ac_try) 2>&5
31140   ac_status=$?
31141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142   (exit $ac_status); }; } &&
31143          { ac_try='test -s conftest$ac_exeext'
31144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145   (eval $ac_try) 2>&5
31146   ac_status=$?
31147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148   (exit $ac_status); }; }; then
31149   ac_cv_lib_m_y1l=yes
31150 else
31151   echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 ac_cv_lib_m_y1l=no
31155 fi
31156 rm -f conftest.err conftest.$ac_objext \
31157       conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31159 fi
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31161 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31162 if test $ac_cv_lib_m_y1l = yes; then
31163
31164 cat >>confdefs.h <<\_ACEOF
31165 #define HAVE_Y1L 1
31166 _ACEOF
31167
31168 fi
31169
31170 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31171 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31172 if test "${ac_cv_lib_m_ynf+set}" = set; then
31173   echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175   ac_check_lib_save_LIBS=$LIBS
31176 LIBS="-lm  $LIBS"
31177 if test x$gcc_no_link = xyes; then
31178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31180    { (exit 1); exit 1; }; }
31181 fi
31182 cat >conftest.$ac_ext <<_ACEOF
31183 /* confdefs.h.  */
31184 _ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h.  */
31188
31189 /* Override any gcc2 internal prototype to avoid an error.  */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 /* We use char because int might match the return type of a gcc2
31194    builtin and then its argument prototype would still apply.  */
31195 char ynf ();
31196 int
31197 main ()
31198 {
31199 ynf ();
31200   ;
31201   return 0;
31202 }
31203 _ACEOF
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206   (eval $ac_link) 2>conftest.er1
31207   ac_status=$?
31208   grep -v '^ *+' conftest.er1 >conftest.err
31209   rm -f conftest.er1
31210   cat conftest.err >&5
31211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212   (exit $ac_status); } &&
31213          { ac_try='test -z "$ac_c_werror_flag"
31214                          || test ! -s conftest.err'
31215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216   (eval $ac_try) 2>&5
31217   ac_status=$?
31218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219   (exit $ac_status); }; } &&
31220          { ac_try='test -s conftest$ac_exeext'
31221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222   (eval $ac_try) 2>&5
31223   ac_status=$?
31224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225   (exit $ac_status); }; }; then
31226   ac_cv_lib_m_ynf=yes
31227 else
31228   echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31230
31231 ac_cv_lib_m_ynf=no
31232 fi
31233 rm -f conftest.err conftest.$ac_objext \
31234       conftest$ac_exeext conftest.$ac_ext
31235 LIBS=$ac_check_lib_save_LIBS
31236 fi
31237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31238 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31239 if test $ac_cv_lib_m_ynf = yes; then
31240
31241 cat >>confdefs.h <<\_ACEOF
31242 #define HAVE_YNF 1
31243 _ACEOF
31244
31245 fi
31246
31247 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31248 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31249 if test "${ac_cv_lib_m_yn+set}" = set; then
31250   echo $ECHO_N "(cached) $ECHO_C" >&6
31251 else
31252   ac_check_lib_save_LIBS=$LIBS
31253 LIBS="-lm  $LIBS"
31254 if test x$gcc_no_link = xyes; then
31255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31257    { (exit 1); exit 1; }; }
31258 fi
31259 cat >conftest.$ac_ext <<_ACEOF
31260 /* confdefs.h.  */
31261 _ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h.  */
31265
31266 /* Override any gcc2 internal prototype to avoid an error.  */
31267 #ifdef __cplusplus
31268 extern "C"
31269 #endif
31270 /* We use char because int might match the return type of a gcc2
31271    builtin and then its argument prototype would still apply.  */
31272 char yn ();
31273 int
31274 main ()
31275 {
31276 yn ();
31277   ;
31278   return 0;
31279 }
31280 _ACEOF
31281 rm -f conftest.$ac_objext conftest$ac_exeext
31282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31283   (eval $ac_link) 2>conftest.er1
31284   ac_status=$?
31285   grep -v '^ *+' conftest.er1 >conftest.err
31286   rm -f conftest.er1
31287   cat conftest.err >&5
31288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289   (exit $ac_status); } &&
31290          { ac_try='test -z "$ac_c_werror_flag"
31291                          || test ! -s conftest.err'
31292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293   (eval $ac_try) 2>&5
31294   ac_status=$?
31295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296   (exit $ac_status); }; } &&
31297          { ac_try='test -s conftest$ac_exeext'
31298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299   (eval $ac_try) 2>&5
31300   ac_status=$?
31301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302   (exit $ac_status); }; }; then
31303   ac_cv_lib_m_yn=yes
31304 else
31305   echo "$as_me: failed program was:" >&5
31306 sed 's/^/| /' conftest.$ac_ext >&5
31307
31308 ac_cv_lib_m_yn=no
31309 fi
31310 rm -f conftest.err conftest.$ac_objext \
31311       conftest$ac_exeext conftest.$ac_ext
31312 LIBS=$ac_check_lib_save_LIBS
31313 fi
31314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31315 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31316 if test $ac_cv_lib_m_yn = yes; then
31317
31318 cat >>confdefs.h <<\_ACEOF
31319 #define HAVE_YN 1
31320 _ACEOF
31321
31322 fi
31323
31324 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31325 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31326 if test "${ac_cv_lib_m_ynl+set}" = set; then
31327   echo $ECHO_N "(cached) $ECHO_C" >&6
31328 else
31329   ac_check_lib_save_LIBS=$LIBS
31330 LIBS="-lm  $LIBS"
31331 if test x$gcc_no_link = xyes; then
31332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31334    { (exit 1); exit 1; }; }
31335 fi
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h.  */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h.  */
31342
31343 /* Override any gcc2 internal prototype to avoid an error.  */
31344 #ifdef __cplusplus
31345 extern "C"
31346 #endif
31347 /* We use char because int might match the return type of a gcc2
31348    builtin and then its argument prototype would still apply.  */
31349 char ynl ();
31350 int
31351 main ()
31352 {
31353 ynl ();
31354   ;
31355   return 0;
31356 }
31357 _ACEOF
31358 rm -f conftest.$ac_objext conftest$ac_exeext
31359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31360   (eval $ac_link) 2>conftest.er1
31361   ac_status=$?
31362   grep -v '^ *+' conftest.er1 >conftest.err
31363   rm -f conftest.er1
31364   cat conftest.err >&5
31365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366   (exit $ac_status); } &&
31367          { ac_try='test -z "$ac_c_werror_flag"
31368                          || test ! -s conftest.err'
31369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31370   (eval $ac_try) 2>&5
31371   ac_status=$?
31372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373   (exit $ac_status); }; } &&
31374          { ac_try='test -s conftest$ac_exeext'
31375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376   (eval $ac_try) 2>&5
31377   ac_status=$?
31378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379   (exit $ac_status); }; }; then
31380   ac_cv_lib_m_ynl=yes
31381 else
31382   echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.$ac_ext >&5
31384
31385 ac_cv_lib_m_ynl=no
31386 fi
31387 rm -f conftest.err conftest.$ac_objext \
31388       conftest$ac_exeext conftest.$ac_ext
31389 LIBS=$ac_check_lib_save_LIBS
31390 fi
31391 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31392 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31393 if test $ac_cv_lib_m_ynl = yes; then
31394
31395 cat >>confdefs.h <<\_ACEOF
31396 #define HAVE_YNL 1
31397 _ACEOF
31398
31399 fi
31400
31401
31402 # On AIX, clog is present in libm as __clog
31403 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31404 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31405 if test "${ac_cv_lib_m___clog+set}" = set; then
31406   echo $ECHO_N "(cached) $ECHO_C" >&6
31407 else
31408   ac_check_lib_save_LIBS=$LIBS
31409 LIBS="-lm  $LIBS"
31410 if test x$gcc_no_link = xyes; then
31411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31413    { (exit 1); exit 1; }; }
31414 fi
31415 cat >conftest.$ac_ext <<_ACEOF
31416 /* confdefs.h.  */
31417 _ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h.  */
31421
31422 /* Override any gcc2 internal prototype to avoid an error.  */
31423 #ifdef __cplusplus
31424 extern "C"
31425 #endif
31426 /* We use char because int might match the return type of a gcc2
31427    builtin and then its argument prototype would still apply.  */
31428 char __clog ();
31429 int
31430 main ()
31431 {
31432 __clog ();
31433   ;
31434   return 0;
31435 }
31436 _ACEOF
31437 rm -f conftest.$ac_objext conftest$ac_exeext
31438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31439   (eval $ac_link) 2>conftest.er1
31440   ac_status=$?
31441   grep -v '^ *+' conftest.er1 >conftest.err
31442   rm -f conftest.er1
31443   cat conftest.err >&5
31444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445   (exit $ac_status); } &&
31446          { ac_try='test -z "$ac_c_werror_flag"
31447                          || test ! -s conftest.err'
31448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31449   (eval $ac_try) 2>&5
31450   ac_status=$?
31451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452   (exit $ac_status); }; } &&
31453          { ac_try='test -s conftest$ac_exeext'
31454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31455   (eval $ac_try) 2>&5
31456   ac_status=$?
31457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458   (exit $ac_status); }; }; then
31459   ac_cv_lib_m___clog=yes
31460 else
31461   echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31463
31464 ac_cv_lib_m___clog=no
31465 fi
31466 rm -f conftest.err conftest.$ac_objext \
31467       conftest$ac_exeext conftest.$ac_ext
31468 LIBS=$ac_check_lib_save_LIBS
31469 fi
31470 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31471 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31472 if test $ac_cv_lib_m___clog = yes; then
31473
31474 cat >>confdefs.h <<\_ACEOF
31475 #define HAVE_CLOG 1
31476 _ACEOF
31477
31478 fi
31479
31480
31481 # Check for a isfinite macro that works on long doubles.
31482
31483   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31484 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31485 if test "${have_broken_isfinite+set}" = set; then
31486   echo $ECHO_N "(cached) $ECHO_C" >&6
31487 else
31488
31489   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31490   LIBS="$LIBS -lm"
31491   if test "$cross_compiling" = yes; then
31492
31493 case "${target}" in
31494   hppa*-*-hpux*) have_broken_isfinite=yes ;;
31495   *) have_broken_isfinite=no ;;
31496 esac
31497 else
31498   cat >conftest.$ac_ext <<_ACEOF
31499 /* confdefs.h.  */
31500 _ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h.  */
31504
31505 #ifdef HAVE_MATH_H
31506 #include <math.h>
31507 #endif
31508 #include <float.h>
31509 int main ()
31510 {
31511 #ifdef isfinite
31512 #ifdef LDBL_MAX
31513   if (!isfinite(LDBL_MAX)) return 1;
31514 #endif
31515 #ifdef DBL_MAX
31516   if (!isfinite(DBL_MAX)) return 1;
31517 #endif
31518 #endif
31519 return 0;
31520 }
31521 _ACEOF
31522 rm -f conftest$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524   (eval $ac_link) 2>&5
31525   ac_status=$?
31526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529   (eval $ac_try) 2>&5
31530   ac_status=$?
31531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532   (exit $ac_status); }; }; then
31533   have_broken_isfinite=no
31534 else
31535   echo "$as_me: program exited with status $ac_status" >&5
31536 echo "$as_me: failed program was:" >&5
31537 sed 's/^/| /' conftest.$ac_ext >&5
31538
31539 ( exit $ac_status )
31540 have_broken_isfinite=yes
31541 fi
31542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31543 fi
31544   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
31545 fi
31546 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
31547 echo "${ECHO_T}$have_broken_isfinite" >&6
31548 if test x"$have_broken_isfinite" = xyes; then
31549
31550 cat >>confdefs.h <<\_ACEOF
31551 #define HAVE_BROKEN_ISFINITE 1
31552 _ACEOF
31553
31554 fi
31555
31556 # Check for a isnan macro that works on long doubles.
31557
31558   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
31559 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
31560 if test "${have_broken_isnan+set}" = set; then
31561   echo $ECHO_N "(cached) $ECHO_C" >&6
31562 else
31563
31564   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
31565   LIBS="$LIBS -lm"
31566   if test "$cross_compiling" = yes; then
31567
31568 case "${target}" in
31569   hppa*-*-hpux*) have_broken_isnan=yes ;;
31570   *) have_broken_isnan=no ;;
31571 esac
31572 else
31573   cat >conftest.$ac_ext <<_ACEOF
31574 /* confdefs.h.  */
31575 _ACEOF
31576 cat confdefs.h >>conftest.$ac_ext
31577 cat >>conftest.$ac_ext <<_ACEOF
31578 /* end confdefs.h.  */
31579
31580 #ifdef HAVE_MATH_H
31581 #include <math.h>
31582 #endif
31583 #include <float.h>
31584 int main ()
31585 {
31586 #ifdef isnan
31587 #ifdef LDBL_MAX
31588   {
31589     long double x;
31590     x = __builtin_nanl ("");
31591     if (!isnan(x)) return 1;
31592     if (isnan(LDBL_MAX)) return 1;
31593 #ifdef NAN
31594     x = (long double) NAN;
31595     if (!isnan(x)) return 1;
31596 #endif
31597   }
31598 #endif
31599 #ifdef DBL_MAX
31600   {
31601     double y;
31602     y = __builtin_nan ("");
31603     if (!isnan(y)) return 1;
31604     if (isnan(DBL_MAX)) return 1;
31605 #ifdef NAN
31606     y = (double) NAN;
31607     if (!isnan(y)) return 1;
31608 #endif
31609   }
31610 #endif
31611 #endif
31612 return 0;
31613 }
31614 _ACEOF
31615 rm -f conftest$ac_exeext
31616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31617   (eval $ac_link) 2>&5
31618   ac_status=$?
31619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622   (eval $ac_try) 2>&5
31623   ac_status=$?
31624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625   (exit $ac_status); }; }; then
31626   have_broken_isnan=no
31627 else
31628   echo "$as_me: program exited with status $ac_status" >&5
31629 echo "$as_me: failed program was:" >&5
31630 sed 's/^/| /' conftest.$ac_ext >&5
31631
31632 ( exit $ac_status )
31633 have_broken_isnan=yes
31634 fi
31635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31636 fi
31637   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
31638 fi
31639 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
31640 echo "${ECHO_T}$have_broken_isnan" >&6
31641 if test x"$have_broken_isnan" = xyes; then
31642
31643 cat >>confdefs.h <<\_ACEOF
31644 #define HAVE_BROKEN_ISNAN 1
31645 _ACEOF
31646
31647 fi
31648
31649 # Check for a fpclassify macro that works on long doubles.
31650
31651   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
31652 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
31653 if test "${have_broken_fpclassify+set}" = set; then
31654   echo $ECHO_N "(cached) $ECHO_C" >&6
31655 else
31656
31657   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
31658   LIBS="$LIBS -lm"
31659   if test "$cross_compiling" = yes; then
31660
31661 case "${target}" in
31662   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
31663   *) have_broken_fpclassify=no ;;
31664 esac
31665 else
31666   cat >conftest.$ac_ext <<_ACEOF
31667 /* confdefs.h.  */
31668 _ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h.  */
31672
31673 #ifdef HAVE_MATH_H
31674 #include <math.h>
31675 #endif
31676 #include <float.h>
31677 int main ()
31678 {
31679 #ifdef fpclassify
31680 #ifdef LDBL_MAX
31681         if (fpclassify(LDBL_MAX) == FP_NAN
31682             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
31683 #endif
31684 #ifdef DBL_MAX
31685         if (fpclassify(DBL_MAX) == FP_NAN
31686             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
31687 #endif
31688 #endif
31689 return 0;
31690 }
31691 _ACEOF
31692 rm -f conftest$ac_exeext
31693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31694   (eval $ac_link) 2>&5
31695   ac_status=$?
31696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699   (eval $ac_try) 2>&5
31700   ac_status=$?
31701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702   (exit $ac_status); }; }; then
31703   have_broken_fpclassify=no
31704 else
31705   echo "$as_me: program exited with status $ac_status" >&5
31706 echo "$as_me: failed program was:" >&5
31707 sed 's/^/| /' conftest.$ac_ext >&5
31708
31709 ( exit $ac_status )
31710 have_broken_fpclassify=yes
31711 fi
31712 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31713 fi
31714   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
31715 fi
31716 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
31717 echo "${ECHO_T}$have_broken_fpclassify" >&6
31718 if test x"$have_broken_fpclassify" = xyes; then
31719
31720 cat >>confdefs.h <<\_ACEOF
31721 #define HAVE_BROKEN_FPCLASSIFY 1
31722 _ACEOF
31723
31724 fi
31725
31726 # Check whether the system has a working stat()
31727
31728   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
31729 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
31730 if test "${have_working_stat+set}" = set; then
31731   echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733
31734   if test "$cross_compiling" = yes; then
31735
31736 case "${target}" in
31737   *mingw*) have_working_stat=no ;;
31738   *) have_working_stat=yes;;
31739 esac
31740 else
31741   cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h.  */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h.  */
31747
31748 #include <stdio.h>
31749 #include <sys/types.h>
31750 #include <sys/stat.h>
31751 #include <unistd.h>
31752
31753 int main ()
31754 {
31755   FILE *f, *g;
31756   struct stat st1, st2;
31757
31758   f = fopen ("foo", "w");
31759   g = fopen ("bar", "w");
31760   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
31761     return 1;
31762   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
31763     return 1;
31764   fclose(f);
31765   fclose(g);
31766   return 0;
31767 }
31768 _ACEOF
31769 rm -f conftest$ac_exeext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31771   (eval $ac_link) 2>&5
31772   ac_status=$?
31773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31776   (eval $ac_try) 2>&5
31777   ac_status=$?
31778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779   (exit $ac_status); }; }; then
31780   have_working_stat=yes
31781 else
31782   echo "$as_me: program exited with status $ac_status" >&5
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31785
31786 ( exit $ac_status )
31787 have_working_stat=no
31788 fi
31789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31790 fi
31791 fi
31792 echo "$as_me:$LINENO: result: $have_working_stat" >&5
31793 echo "${ECHO_T}$have_working_stat" >&6
31794 if test x"$have_working_stat" = xyes; then
31795
31796 cat >>confdefs.h <<\_ACEOF
31797 #define HAVE_WORKING_STAT 1
31798 _ACEOF
31799
31800 fi
31801
31802 # Check whether __mingw_snprintf() is present
31803
31804   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
31805 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
31806 if test "${have_mingw_snprintf+set}" = set; then
31807   echo $ECHO_N "(cached) $ECHO_C" >&6
31808 else
31809
31810     if test x$gcc_no_link = xyes; then
31811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31813    { (exit 1); exit 1; }; }
31814 fi
31815 cat >conftest.$ac_ext <<_ACEOF
31816 /* confdefs.h.  */
31817 _ACEOF
31818 cat confdefs.h >>conftest.$ac_ext
31819 cat >>conftest.$ac_ext <<_ACEOF
31820 /* end confdefs.h.  */
31821
31822 #include <stdio.h>
31823 extern int __mingw_snprintf (char *, size_t, const char *, ...);
31824
31825 int
31826 main ()
31827 {
31828
31829 __mingw_snprintf (NULL, 0, "%d\n", 1);
31830
31831   ;
31832   return 0;
31833 }
31834 _ACEOF
31835 rm -f conftest.$ac_objext conftest$ac_exeext
31836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31837   (eval $ac_link) 2>conftest.er1
31838   ac_status=$?
31839   grep -v '^ *+' conftest.er1 >conftest.err
31840   rm -f conftest.er1
31841   cat conftest.err >&5
31842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843   (exit $ac_status); } &&
31844          { ac_try='test -z "$ac_c_werror_flag"
31845                          || test ! -s conftest.err'
31846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847   (eval $ac_try) 2>&5
31848   ac_status=$?
31849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850   (exit $ac_status); }; } &&
31851          { ac_try='test -s conftest$ac_exeext'
31852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853   (eval $ac_try) 2>&5
31854   ac_status=$?
31855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856   (exit $ac_status); }; }; then
31857   eval "have_mingw_snprintf=yes"
31858 else
31859   echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 eval "have_mingw_snprintf=no"
31863 fi
31864 rm -f conftest.err conftest.$ac_objext \
31865       conftest$ac_exeext conftest.$ac_ext
31866
31867 fi
31868 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
31869 echo "${ECHO_T}$have_mingw_snprintf" >&6
31870   if test x"$have_mingw_snprintf" = xyes; then
31871
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_MINGW_SNPRINTF 1
31874 _ACEOF
31875
31876   fi
31877
31878
31879 # Check for GNU libc feenableexcept
31880 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
31881 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
31882 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
31883   echo $ECHO_N "(cached) $ECHO_C" >&6
31884 else
31885   ac_check_lib_save_LIBS=$LIBS
31886 LIBS="-lm  $LIBS"
31887 if test x$gcc_no_link = xyes; then
31888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31890    { (exit 1); exit 1; }; }
31891 fi
31892 cat >conftest.$ac_ext <<_ACEOF
31893 /* confdefs.h.  */
31894 _ACEOF
31895 cat confdefs.h >>conftest.$ac_ext
31896 cat >>conftest.$ac_ext <<_ACEOF
31897 /* end confdefs.h.  */
31898
31899 /* Override any gcc2 internal prototype to avoid an error.  */
31900 #ifdef __cplusplus
31901 extern "C"
31902 #endif
31903 /* We use char because int might match the return type of a gcc2
31904    builtin and then its argument prototype would still apply.  */
31905 char feenableexcept ();
31906 int
31907 main ()
31908 {
31909 feenableexcept ();
31910   ;
31911   return 0;
31912 }
31913 _ACEOF
31914 rm -f conftest.$ac_objext conftest$ac_exeext
31915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31916   (eval $ac_link) 2>conftest.er1
31917   ac_status=$?
31918   grep -v '^ *+' conftest.er1 >conftest.err
31919   rm -f conftest.er1
31920   cat conftest.err >&5
31921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922   (exit $ac_status); } &&
31923          { ac_try='test -z "$ac_c_werror_flag"
31924                          || test ! -s conftest.err'
31925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31926   (eval $ac_try) 2>&5
31927   ac_status=$?
31928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929   (exit $ac_status); }; } &&
31930          { ac_try='test -s conftest$ac_exeext'
31931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932   (eval $ac_try) 2>&5
31933   ac_status=$?
31934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935   (exit $ac_status); }; }; then
31936   ac_cv_lib_m_feenableexcept=yes
31937 else
31938   echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31940
31941 ac_cv_lib_m_feenableexcept=no
31942 fi
31943 rm -f conftest.err conftest.$ac_objext \
31944       conftest$ac_exeext conftest.$ac_ext
31945 LIBS=$ac_check_lib_save_LIBS
31946 fi
31947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
31948 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
31949 if test $ac_cv_lib_m_feenableexcept = yes; then
31950   have_feenableexcept=yes
31951 cat >>confdefs.h <<\_ACEOF
31952 #define HAVE_FEENABLEEXCEPT 1
31953 _ACEOF
31954
31955 fi
31956
31957
31958 # Check for SysV fpsetmask
31959
31960   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
31961 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
31962 if test "${have_fpsetmask+set}" = set; then
31963   echo $ECHO_N "(cached) $ECHO_C" >&6
31964 else
31965
31966     if test x$gcc_no_link = xyes; then
31967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31969    { (exit 1); exit 1; }; }
31970 fi
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h.  */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h.  */
31977
31978 #if HAVE_FLOATINGPOINT_H
31979 # include <floatingpoint.h>
31980 #endif /* HAVE_FLOATINGPOINT_H */
31981 #if HAVE_IEEEFP_H
31982 # include <ieeefp.h>
31983 #endif /* HAVE_IEEEFP_H */
31984 int
31985 main ()
31986 {
31987 fpsetmask(0);
31988   ;
31989   return 0;
31990 }
31991 _ACEOF
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31994   (eval $ac_link) 2>conftest.er1
31995   ac_status=$?
31996   grep -v '^ *+' conftest.er1 >conftest.err
31997   rm -f conftest.er1
31998   cat conftest.err >&5
31999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000   (exit $ac_status); } &&
32001          { ac_try='test -z "$ac_c_werror_flag"
32002                          || test ! -s conftest.err'
32003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004   (eval $ac_try) 2>&5
32005   ac_status=$?
32006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007   (exit $ac_status); }; } &&
32008          { ac_try='test -s conftest$ac_exeext'
32009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010   (eval $ac_try) 2>&5
32011   ac_status=$?
32012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013   (exit $ac_status); }; }; then
32014   eval "have_fpsetmask=yes"
32015 else
32016   echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.$ac_ext >&5
32018
32019 eval "have_fpsetmask=no"
32020 fi
32021 rm -f conftest.err conftest.$ac_objext \
32022       conftest$ac_exeext conftest.$ac_ext
32023
32024 fi
32025 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32026 echo "${ECHO_T}$have_fpsetmask" >&6
32027   if test x"$have_fpsetmask" = xyes; then
32028
32029 cat >>confdefs.h <<\_ACEOF
32030 #define HAVE_FPSETMASK 1
32031 _ACEOF
32032
32033   fi
32034
32035
32036 # Check for AIX fp_trap and fp_enable
32037 echo "$as_me:$LINENO: checking for fp_trap" >&5
32038 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32039 if test "${ac_cv_func_fp_trap+set}" = set; then
32040   echo $ECHO_N "(cached) $ECHO_C" >&6
32041 else
32042   if test x$gcc_no_link = xyes; then
32043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32045    { (exit 1); exit 1; }; }
32046 fi
32047 cat >conftest.$ac_ext <<_ACEOF
32048 /* confdefs.h.  */
32049 _ACEOF
32050 cat confdefs.h >>conftest.$ac_ext
32051 cat >>conftest.$ac_ext <<_ACEOF
32052 /* end confdefs.h.  */
32053 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32055 #define fp_trap innocuous_fp_trap
32056
32057 /* System header to define __stub macros and hopefully few prototypes,
32058     which can conflict with char fp_trap (); below.
32059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32060     <limits.h> exists even on freestanding compilers.  */
32061
32062 #ifdef __STDC__
32063 # include <limits.h>
32064 #else
32065 # include <assert.h>
32066 #endif
32067
32068 #undef fp_trap
32069
32070 /* Override any gcc2 internal prototype to avoid an error.  */
32071 #ifdef __cplusplus
32072 extern "C"
32073 {
32074 #endif
32075 /* We use char because int might match the return type of a gcc2
32076    builtin and then its argument prototype would still apply.  */
32077 char fp_trap ();
32078 /* The GNU C library defines this for functions which it implements
32079     to always fail with ENOSYS.  Some functions are actually named
32080     something starting with __ and the normal name is an alias.  */
32081 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32082 choke me
32083 #else
32084 char (*f) () = fp_trap;
32085 #endif
32086 #ifdef __cplusplus
32087 }
32088 #endif
32089
32090 int
32091 main ()
32092 {
32093 return f != fp_trap;
32094   ;
32095   return 0;
32096 }
32097 _ACEOF
32098 rm -f conftest.$ac_objext conftest$ac_exeext
32099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32100   (eval $ac_link) 2>conftest.er1
32101   ac_status=$?
32102   grep -v '^ *+' conftest.er1 >conftest.err
32103   rm -f conftest.er1
32104   cat conftest.err >&5
32105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106   (exit $ac_status); } &&
32107          { ac_try='test -z "$ac_c_werror_flag"
32108                          || test ! -s conftest.err'
32109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110   (eval $ac_try) 2>&5
32111   ac_status=$?
32112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113   (exit $ac_status); }; } &&
32114          { ac_try='test -s conftest$ac_exeext'
32115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32116   (eval $ac_try) 2>&5
32117   ac_status=$?
32118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119   (exit $ac_status); }; }; then
32120   ac_cv_func_fp_trap=yes
32121 else
32122   echo "$as_me: failed program was:" >&5
32123 sed 's/^/| /' conftest.$ac_ext >&5
32124
32125 ac_cv_func_fp_trap=no
32126 fi
32127 rm -f conftest.err conftest.$ac_objext \
32128       conftest$ac_exeext conftest.$ac_ext
32129 fi
32130 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32131 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32132 if test $ac_cv_func_fp_trap = yes; then
32133   have_fp_trap=yes
32134 cat >>confdefs.h <<\_ACEOF
32135 #define HAVE_FP_TRAP 1
32136 _ACEOF
32137
32138 fi
32139
32140 echo "$as_me:$LINENO: checking for fp_enable" >&5
32141 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32142 if test "${ac_cv_func_fp_enable+set}" = set; then
32143   echo $ECHO_N "(cached) $ECHO_C" >&6
32144 else
32145   if test x$gcc_no_link = xyes; then
32146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32148    { (exit 1); exit 1; }; }
32149 fi
32150 cat >conftest.$ac_ext <<_ACEOF
32151 /* confdefs.h.  */
32152 _ACEOF
32153 cat confdefs.h >>conftest.$ac_ext
32154 cat >>conftest.$ac_ext <<_ACEOF
32155 /* end confdefs.h.  */
32156 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32158 #define fp_enable innocuous_fp_enable
32159
32160 /* System header to define __stub macros and hopefully few prototypes,
32161     which can conflict with char fp_enable (); below.
32162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32163     <limits.h> exists even on freestanding compilers.  */
32164
32165 #ifdef __STDC__
32166 # include <limits.h>
32167 #else
32168 # include <assert.h>
32169 #endif
32170
32171 #undef fp_enable
32172
32173 /* Override any gcc2 internal prototype to avoid an error.  */
32174 #ifdef __cplusplus
32175 extern "C"
32176 {
32177 #endif
32178 /* We use char because int might match the return type of a gcc2
32179    builtin and then its argument prototype would still apply.  */
32180 char fp_enable ();
32181 /* The GNU C library defines this for functions which it implements
32182     to always fail with ENOSYS.  Some functions are actually named
32183     something starting with __ and the normal name is an alias.  */
32184 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32185 choke me
32186 #else
32187 char (*f) () = fp_enable;
32188 #endif
32189 #ifdef __cplusplus
32190 }
32191 #endif
32192
32193 int
32194 main ()
32195 {
32196 return f != fp_enable;
32197   ;
32198   return 0;
32199 }
32200 _ACEOF
32201 rm -f conftest.$ac_objext conftest$ac_exeext
32202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32203   (eval $ac_link) 2>conftest.er1
32204   ac_status=$?
32205   grep -v '^ *+' conftest.er1 >conftest.err
32206   rm -f conftest.er1
32207   cat conftest.err >&5
32208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209   (exit $ac_status); } &&
32210          { ac_try='test -z "$ac_c_werror_flag"
32211                          || test ! -s conftest.err'
32212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213   (eval $ac_try) 2>&5
32214   ac_status=$?
32215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216   (exit $ac_status); }; } &&
32217          { ac_try='test -s conftest$ac_exeext'
32218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219   (eval $ac_try) 2>&5
32220   ac_status=$?
32221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222   (exit $ac_status); }; }; then
32223   ac_cv_func_fp_enable=yes
32224 else
32225   echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32227
32228 ac_cv_func_fp_enable=no
32229 fi
32230 rm -f conftest.err conftest.$ac_objext \
32231       conftest$ac_exeext conftest.$ac_ext
32232 fi
32233 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32234 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32235 if test $ac_cv_func_fp_enable = yes; then
32236   have_fp_enable=yes
32237 cat >>confdefs.h <<\_ACEOF
32238 #define HAVE_FP_ENABLE 1
32239 _ACEOF
32240
32241 fi
32242
32243
32244 # Runs configure.host to set up necessary host-dependent shell variables.
32245 # We then display a message about it, and propagate them through the
32246 # build chain.
32247 . ${srcdir}/configure.host
32248 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32249 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32250 FPU_HOST_HEADER=config/${fpu_host}.h
32251
32252
32253 # Attempt to assert that the target is of common type in case we don't
32254 # have C99 integer types at all.
32255
32256   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
32257 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
32258 if test "${target_ilp32+set}" = set; then
32259   echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261
32262   save_CFLAGS="$CFLAGS"
32263   CFLAGS="-O2"
32264   if test x$gcc_no_link = xyes; then
32265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32267    { (exit 1); exit 1; }; }
32268 fi
32269 cat >conftest.$ac_ext <<_ACEOF
32270 /* confdefs.h.  */
32271 _ACEOF
32272 cat confdefs.h >>conftest.$ac_ext
32273 cat >>conftest.$ac_ext <<_ACEOF
32274 /* end confdefs.h.  */
32275
32276 int
32277 main ()
32278 {
32279
32280 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
32281   ;
32282 else
32283   undefined_function ();
32284
32285   ;
32286   return 0;
32287 }
32288 _ACEOF
32289 rm -f conftest.$ac_objext conftest$ac_exeext
32290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32291   (eval $ac_link) 2>conftest.er1
32292   ac_status=$?
32293   grep -v '^ *+' conftest.er1 >conftest.err
32294   rm -f conftest.er1
32295   cat conftest.err >&5
32296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297   (exit $ac_status); } &&
32298          { ac_try='test -z "$ac_c_werror_flag"
32299                          || test ! -s conftest.err'
32300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301   (eval $ac_try) 2>&5
32302   ac_status=$?
32303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304   (exit $ac_status); }; } &&
32305          { ac_try='test -s conftest$ac_exeext'
32306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307   (eval $ac_try) 2>&5
32308   ac_status=$?
32309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310   (exit $ac_status); }; }; then
32311   target_ilp32=yes
32312 else
32313   echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32315
32316 target_ilp32=no
32317 fi
32318 rm -f conftest.err conftest.$ac_objext \
32319       conftest$ac_exeext conftest.$ac_ext
32320   CFLAGS="$save_CFLAGS"
32321 fi
32322 echo "$as_me:$LINENO: result: $target_ilp32" >&5
32323 echo "${ECHO_T}$target_ilp32" >&6
32324   if test $target_ilp32 = yes; then
32325
32326 cat >>confdefs.h <<\_ACEOF
32327 #define TARGET_ILP32 1
32328 _ACEOF
32329
32330   fi
32331
32332
32333 # Check out attribute support.
32334
32335   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32336 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32337 if test "${have_attribute_visibility+set}" = set; then
32338   echo $ECHO_N "(cached) $ECHO_C" >&6
32339 else
32340
32341   save_CFLAGS="$CFLAGS"
32342   CFLAGS="$CFLAGS -Werror"
32343   cat >conftest.$ac_ext <<_ACEOF
32344 /* confdefs.h.  */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h.  */
32349 void __attribute__((visibility("hidden"))) foo(void) { }
32350 int
32351 main ()
32352 {
32353
32354   ;
32355   return 0;
32356 }
32357 _ACEOF
32358 rm -f conftest.$ac_objext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32360   (eval $ac_compile) 2>conftest.er1
32361   ac_status=$?
32362   grep -v '^ *+' conftest.er1 >conftest.err
32363   rm -f conftest.er1
32364   cat conftest.err >&5
32365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366   (exit $ac_status); } &&
32367          { ac_try='test -z "$ac_c_werror_flag"
32368                          || test ! -s conftest.err'
32369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370   (eval $ac_try) 2>&5
32371   ac_status=$?
32372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373   (exit $ac_status); }; } &&
32374          { ac_try='test -s conftest.$ac_objext'
32375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376   (eval $ac_try) 2>&5
32377   ac_status=$?
32378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379   (exit $ac_status); }; }; then
32380   have_attribute_visibility=yes
32381 else
32382   echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.$ac_ext >&5
32384
32385 have_attribute_visibility=no
32386 fi
32387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32388   CFLAGS="$save_CFLAGS"
32389 fi
32390 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32391 echo "${ECHO_T}$have_attribute_visibility" >&6
32392   if test $have_attribute_visibility = yes; then
32393
32394 cat >>confdefs.h <<\_ACEOF
32395 #define HAVE_ATTRIBUTE_VISIBILITY 1
32396 _ACEOF
32397
32398   fi
32399
32400   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32401 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32402 if test "${have_attribute_dllexport+set}" = set; then
32403   echo $ECHO_N "(cached) $ECHO_C" >&6
32404 else
32405
32406   save_CFLAGS="$CFLAGS"
32407   CFLAGS="$CFLAGS -Werror"
32408   cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h.  */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h.  */
32414 void __attribute__((dllexport)) foo(void) { }
32415 int
32416 main ()
32417 {
32418
32419   ;
32420   return 0;
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425   (eval $ac_compile) 2>conftest.er1
32426   ac_status=$?
32427   grep -v '^ *+' conftest.er1 >conftest.err
32428   rm -f conftest.er1
32429   cat conftest.err >&5
32430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431   (exit $ac_status); } &&
32432          { ac_try='test -z "$ac_c_werror_flag"
32433                          || test ! -s conftest.err'
32434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435   (eval $ac_try) 2>&5
32436   ac_status=$?
32437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438   (exit $ac_status); }; } &&
32439          { ac_try='test -s conftest.$ac_objext'
32440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441   (eval $ac_try) 2>&5
32442   ac_status=$?
32443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444   (exit $ac_status); }; }; then
32445   have_attribute_dllexport=yes
32446 else
32447   echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 have_attribute_dllexport=no
32451 fi
32452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32453   CFLAGS="$save_CFLAGS"
32454 fi
32455 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32456 echo "${ECHO_T}$have_attribute_dllexport" >&6
32457   if test $have_attribute_dllexport = yes; then
32458
32459 cat >>confdefs.h <<\_ACEOF
32460 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32461 _ACEOF
32462
32463   fi
32464
32465   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32466 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32467 if test "${have_attribute_alias+set}" = set; then
32468   echo $ECHO_N "(cached) $ECHO_C" >&6
32469 else
32470
32471   if test x$gcc_no_link = xyes; then
32472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32474    { (exit 1); exit 1; }; }
32475 fi
32476 cat >conftest.$ac_ext <<_ACEOF
32477 /* confdefs.h.  */
32478 _ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h.  */
32482
32483 void foo(void) { }
32484 extern void bar(void) __attribute__((alias("foo")));
32485 int
32486 main ()
32487 {
32488 bar();
32489   ;
32490   return 0;
32491 }
32492 _ACEOF
32493 rm -f conftest.$ac_objext conftest$ac_exeext
32494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32495   (eval $ac_link) 2>conftest.er1
32496   ac_status=$?
32497   grep -v '^ *+' conftest.er1 >conftest.err
32498   rm -f conftest.er1
32499   cat conftest.err >&5
32500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501   (exit $ac_status); } &&
32502          { ac_try='test -z "$ac_c_werror_flag"
32503                          || test ! -s conftest.err'
32504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505   (eval $ac_try) 2>&5
32506   ac_status=$?
32507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508   (exit $ac_status); }; } &&
32509          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
32515   have_attribute_alias=yes
32516 else
32517   echo "$as_me: failed program was:" >&5
32518 sed 's/^/| /' conftest.$ac_ext >&5
32519
32520 have_attribute_alias=no
32521 fi
32522 rm -f conftest.err conftest.$ac_objext \
32523       conftest$ac_exeext conftest.$ac_ext
32524 fi
32525 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32526 echo "${ECHO_T}$have_attribute_alias" >&6
32527   if test $have_attribute_alias = yes; then
32528
32529 cat >>confdefs.h <<\_ACEOF
32530 #define HAVE_ATTRIBUTE_ALIAS 1
32531 _ACEOF
32532
32533   fi
32534
32535 # Check out sync builtins support.
32536
32537   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32538 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32539 if test "${have_sync_fetch_and_add+set}" = set; then
32540   echo $ECHO_N "(cached) $ECHO_C" >&6
32541 else
32542
32543   if test x$gcc_no_link = xyes; then
32544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32546    { (exit 1); exit 1; }; }
32547 fi
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h.  */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h.  */
32554 int foovar = 0;
32555 int
32556 main ()
32557 {
32558
32559 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32560 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32561   ;
32562   return 0;
32563 }
32564 _ACEOF
32565 rm -f conftest.$ac_objext conftest$ac_exeext
32566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32567   (eval $ac_link) 2>conftest.er1
32568   ac_status=$?
32569   grep -v '^ *+' conftest.er1 >conftest.err
32570   rm -f conftest.er1
32571   cat conftest.err >&5
32572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573   (exit $ac_status); } &&
32574          { ac_try='test -z "$ac_c_werror_flag"
32575                          || test ! -s conftest.err'
32576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577   (eval $ac_try) 2>&5
32578   ac_status=$?
32579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580   (exit $ac_status); }; } &&
32581          { ac_try='test -s conftest$ac_exeext'
32582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32583   (eval $ac_try) 2>&5
32584   ac_status=$?
32585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586   (exit $ac_status); }; }; then
32587   have_sync_fetch_and_add=yes
32588 else
32589   echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.$ac_ext >&5
32591
32592 have_sync_fetch_and_add=no
32593 fi
32594 rm -f conftest.err conftest.$ac_objext \
32595       conftest$ac_exeext conftest.$ac_ext
32596 fi
32597 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
32598 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
32599   if test $have_sync_fetch_and_add = yes; then
32600
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_SYNC_FETCH_AND_ADD 1
32603 _ACEOF
32604
32605   fi
32606
32607 # Check out thread support.
32608
32609   echo "$as_me:$LINENO: checking configured target thread model" >&5
32610 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
32611 if test "${target_thread_file+set}" = set; then
32612   echo $ECHO_N "(cached) $ECHO_C" >&6
32613 else
32614
32615 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
32616 fi
32617 echo "$as_me:$LINENO: result: $target_thread_file" >&5
32618 echo "${ECHO_T}$target_thread_file" >&6
32619
32620   if test $target_thread_file != single; then
32621
32622 cat >>confdefs.h <<\_ACEOF
32623 #define HAVE_GTHR_DEFAULT 1
32624 _ACEOF
32625
32626   fi
32627
32628 # Check out #pragma weak.
32629
32630   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
32631 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
32632 if test "${have_pragma_weak+set}" = set; then
32633   echo $ECHO_N "(cached) $ECHO_C" >&6
32634 else
32635
32636   gfor_save_CFLAGS="$CFLAGS"
32637   CFLAGS="$CFLAGS -Wunknown-pragmas"
32638   cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h.  */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h.  */
32644 void foo (void);
32645 #pragma weak foo
32646 int
32647 main ()
32648 {
32649 if (foo) foo ();
32650   ;
32651   return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32656   (eval $ac_compile) 2>conftest.er1
32657   ac_status=$?
32658   grep -v '^ *+' conftest.er1 >conftest.err
32659   rm -f conftest.er1
32660   cat conftest.err >&5
32661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662   (exit $ac_status); } &&
32663          { ac_try='test -z "$ac_c_werror_flag"
32664                          || test ! -s conftest.err'
32665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666   (eval $ac_try) 2>&5
32667   ac_status=$?
32668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669   (exit $ac_status); }; } &&
32670          { ac_try='test -s conftest.$ac_objext'
32671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672   (eval $ac_try) 2>&5
32673   ac_status=$?
32674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675   (exit $ac_status); }; }; then
32676   have_pragma_weak=yes
32677 else
32678   echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32680
32681 have_pragma_weak=no
32682 fi
32683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32684 fi
32685 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
32686 echo "${ECHO_T}$have_pragma_weak" >&6
32687   if test $have_pragma_weak = yes; then
32688
32689 cat >>confdefs.h <<\_ACEOF
32690 #define SUPPORTS_WEAK 1
32691 _ACEOF
32692
32693   fi
32694   case "$host" in
32695     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
32696
32697 cat >>confdefs.h <<\_ACEOF
32698 #define GTHREAD_USE_WEAK 0
32699 _ACEOF
32700
32701       ;;
32702   esac
32703
32704 # Various other checks on target
32705
32706   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
32707 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
32708 if test "${have_unlink_open_file+set}" = set; then
32709   echo $ECHO_N "(cached) $ECHO_C" >&6
32710 else
32711
32712   if test "$cross_compiling" = yes; then
32713
32714 case "${target}" in
32715   *mingw*) have_unlink_open_file=no ;;
32716   *) have_unlink_open_file=yes;;
32717 esac
32718 else
32719   cat >conftest.$ac_ext <<_ACEOF
32720 /* confdefs.h.  */
32721 _ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h.  */
32725
32726 #include <errno.h>
32727 #include <fcntl.h>
32728 #include <unistd.h>
32729 #include <sys/stat.h>
32730
32731 int main ()
32732 {
32733   int fd;
32734
32735   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
32736   if (fd <= 0)
32737     return 0;
32738   if (unlink ("testfile") == -1)
32739     return 1;
32740   write (fd, "This is a test\n", 15);
32741   close (fd);
32742
32743   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
32744     return 0;
32745   else
32746     return 1;
32747 }
32748 _ACEOF
32749 rm -f conftest$ac_exeext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751   (eval $ac_link) 2>&5
32752   ac_status=$?
32753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756   (eval $ac_try) 2>&5
32757   ac_status=$?
32758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759   (exit $ac_status); }; }; then
32760   have_unlink_open_file=yes
32761 else
32762   echo "$as_me: program exited with status $ac_status" >&5
32763 echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32765
32766 ( exit $ac_status )
32767 have_unlink_open_file=no
32768 fi
32769 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32770 fi
32771 fi
32772 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
32773 echo "${ECHO_T}$have_unlink_open_file" >&6
32774 if test x"$have_unlink_open_file" = xyes; then
32775
32776 cat >>confdefs.h <<\_ACEOF
32777 #define HAVE_UNLINK_OPEN_FILE 1
32778 _ACEOF
32779
32780 fi
32781
32782 # Check whether line terminator is LF or CRLF
32783
32784   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
32785 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
32786 if test "${have_crlf+set}" = set; then
32787   echo $ECHO_N "(cached) $ECHO_C" >&6
32788 else
32789
32790   if test "$cross_compiling" = yes; then
32791
32792 case "${target}" in
32793   *mingw*) have_crlf=yes ;;
32794   *) have_crlf=no;;
32795 esac
32796 else
32797   cat >conftest.$ac_ext <<_ACEOF
32798 /* confdefs.h.  */
32799 _ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h.  */
32803
32804 /* This test program should exit with status 0 if system uses a CRLF as
32805    line terminator, and status 1 otherwise.
32806    Since it is used to check for mingw systems, and should return 0 in any
32807    other case, in case of a failure we will not use CRLF.  */
32808 #include <sys/stat.h>
32809 #include <stdlib.h>
32810 #include <fcntl.h>
32811 #include <stdio.h>
32812
32813 int main ()
32814 {
32815 #ifndef O_BINARY
32816   exit(1);
32817 #else
32818   int fd, bytes;
32819   char buff[5];
32820
32821   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
32822   if (fd < 0)
32823     exit(1);
32824   if (write (fd, "\n", 1) < 0)
32825     perror ("write");
32826
32827   close (fd);
32828
32829   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
32830     exit(1);
32831   bytes = read (fd, buff, 5);
32832   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
32833     exit(0);
32834   else
32835     exit(1);
32836 #endif
32837 }
32838 _ACEOF
32839 rm -f conftest$ac_exeext
32840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32841   (eval $ac_link) 2>&5
32842   ac_status=$?
32843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846   (eval $ac_try) 2>&5
32847   ac_status=$?
32848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849   (exit $ac_status); }; }; then
32850   have_crlf=yes
32851 else
32852   echo "$as_me: program exited with status $ac_status" >&5
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32855
32856 ( exit $ac_status )
32857 have_crlf=no
32858 fi
32859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32860 fi
32861 fi
32862 echo "$as_me:$LINENO: result: $have_crlf" >&5
32863 echo "${ECHO_T}$have_crlf" >&6
32864 if test x"$have_crlf" = xyes; then
32865
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_CRLF 1
32868 _ACEOF
32869
32870 fi
32871
32872 cat >confcache <<\_ACEOF
32873 # This file is a shell script that caches the results of configure
32874 # tests run on this system so they can be shared between configure
32875 # scripts and configure runs, see configure's option --config-cache.
32876 # It is not useful on other systems.  If it contains results you don't
32877 # want to keep, you may remove or edit it.
32878 #
32879 # config.status only pays attention to the cache file if you give it
32880 # the --recheck option to rerun configure.
32881 #
32882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32884 # following values.
32885
32886 _ACEOF
32887
32888 # The following way of writing the cache mishandles newlines in values,
32889 # but we know of no workaround that is simple, portable, and efficient.
32890 # So, don't put newlines in cache variables' values.
32891 # Ultrix sh set writes to stderr and can't be redirected directly,
32892 # and sets the high bit in the cache file unless we assign to the vars.
32893 {
32894   (set) 2>&1 |
32895     case `(ac_space=' '; set | grep ac_space) 2>&1` in
32896     *ac_space=\ *)
32897       # `set' does not quote correctly, so add quotes (double-quote
32898       # substitution turns \\\\ into \\, and sed turns \\ into \).
32899       sed -n \
32900         "s/'/'\\\\''/g;
32901           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32902       ;;
32903     *)
32904       # `set' quotes correctly as required by POSIX, so do not add quotes.
32905       sed -n \
32906         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32907       ;;
32908     esac;
32909 } |
32910   sed '
32911      t clear
32912      : clear
32913      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32914      t end
32915      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32916      : end' >>confcache
32917 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32918   if test -w $cache_file; then
32919     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32920     cat confcache >$cache_file
32921   else
32922     echo "not updating unwritable cache $cache_file"
32923   fi
32924 fi
32925 rm -f confcache
32926
32927 if test ${multilib} = yes; then
32928   multilib_arg="--enable-multilib"
32929 else
32930   multilib_arg=
32931 fi
32932
32933 # Write our Makefile.
32934           ac_config_files="$ac_config_files Makefile"
32935
32936 cat >confcache <<\_ACEOF
32937 # This file is a shell script that caches the results of configure
32938 # tests run on this system so they can be shared between configure
32939 # scripts and configure runs, see configure's option --config-cache.
32940 # It is not useful on other systems.  If it contains results you don't
32941 # want to keep, you may remove or edit it.
32942 #
32943 # config.status only pays attention to the cache file if you give it
32944 # the --recheck option to rerun configure.
32945 #
32946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32948 # following values.
32949
32950 _ACEOF
32951
32952 # The following way of writing the cache mishandles newlines in values,
32953 # but we know of no workaround that is simple, portable, and efficient.
32954 # So, don't put newlines in cache variables' values.
32955 # Ultrix sh set writes to stderr and can't be redirected directly,
32956 # and sets the high bit in the cache file unless we assign to the vars.
32957 {
32958   (set) 2>&1 |
32959     case `(ac_space=' '; set | grep ac_space) 2>&1` in
32960     *ac_space=\ *)
32961       # `set' does not quote correctly, so add quotes (double-quote
32962       # substitution turns \\\\ into \\, and sed turns \\ into \).
32963       sed -n \
32964         "s/'/'\\\\''/g;
32965           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32966       ;;
32967     *)
32968       # `set' quotes correctly as required by POSIX, so do not add quotes.
32969       sed -n \
32970         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32971       ;;
32972     esac;
32973 } |
32974   sed '
32975      t clear
32976      : clear
32977      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32978      t end
32979      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32980      : end' >>confcache
32981 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32982   if test -w $cache_file; then
32983     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32984     cat confcache >$cache_file
32985   else
32986     echo "not updating unwritable cache $cache_file"
32987   fi
32988 fi
32989 rm -f confcache
32990
32991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32992 # Let make expand exec_prefix.
32993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32994
32995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32997 # trailing colons and then remove the whole line if VPATH becomes empty
32998 # (actually we leave an empty line to preserve line numbers).
32999 if test "x$srcdir" = x.; then
33000   ac_vpsub='/^[  ]*VPATH[        ]*=/{
33001 s/:*\$(srcdir):*/:/;
33002 s/:*\${srcdir}:*/:/;
33003 s/:*@srcdir@:*/:/;
33004 s/^\([^=]*=[     ]*\):*/\1/;
33005 s/:*$//;
33006 s/^[^=]*=[       ]*$//;
33007 }'
33008 fi
33009
33010 DEFS=-DHAVE_CONFIG_H
33011
33012 ac_libobjs=
33013 ac_ltlibobjs=
33014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33015   # 1. Remove the extension, and $U if already installed.
33016   ac_i=`echo "$ac_i" |
33017          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33018   # 2. Add them.
33019   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33020   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33021 done
33022 LIBOBJS=$ac_libobjs
33023
33024 LTLIBOBJS=$ac_ltlibobjs
33025
33026
33027 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33028   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33029 Usually this means the macro was only invoked conditionally." >&5
33030 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33031 Usually this means the macro was only invoked conditionally." >&2;}
33032    { (exit 1); exit 1; }; }
33033 fi
33034 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33035   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33036 Usually this means the macro was only invoked conditionally." >&5
33037 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33038 Usually this means the macro was only invoked conditionally." >&2;}
33039    { (exit 1); exit 1; }; }
33040 fi
33041 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33042   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33043 Usually this means the macro was only invoked conditionally." >&5
33044 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33045 Usually this means the macro was only invoked conditionally." >&2;}
33046    { (exit 1); exit 1; }; }
33047 fi
33048 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33049   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33050 Usually this means the macro was only invoked conditionally." >&5
33051 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33052 Usually this means the macro was only invoked conditionally." >&2;}
33053    { (exit 1); exit 1; }; }
33054 fi
33055
33056 : ${CONFIG_STATUS=./config.status}
33057 ac_clean_files_save=$ac_clean_files
33058 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33059 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33060 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33061 cat >$CONFIG_STATUS <<_ACEOF
33062 #! $SHELL
33063 # Generated by $as_me.
33064 # Run this file to recreate the current configuration.
33065 # Compiler output produced by configure, useful for debugging
33066 # configure, is in config.log if it exists.
33067
33068 debug=false
33069 ac_cs_recheck=false
33070 ac_cs_silent=false
33071 SHELL=\${CONFIG_SHELL-$SHELL}
33072 _ACEOF
33073
33074 cat >>$CONFIG_STATUS <<\_ACEOF
33075 ## --------------------- ##
33076 ## M4sh Initialization.  ##
33077 ## --------------------- ##
33078
33079 # Be Bourne compatible
33080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33081   emulate sh
33082   NULLCMD=:
33083   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33084   # is contrary to our usage.  Disable this feature.
33085   alias -g '${1+"$@"}'='"$@"'
33086 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33087   set -o posix
33088 fi
33089 DUALCASE=1; export DUALCASE # for MKS sh
33090
33091 # Support unset when possible.
33092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33093   as_unset=unset
33094 else
33095   as_unset=false
33096 fi
33097
33098
33099 # Work around bugs in pre-3.0 UWIN ksh.
33100 $as_unset ENV MAIL MAILPATH
33101 PS1='$ '
33102 PS2='> '
33103 PS4='+ '
33104
33105 # NLS nuisances.
33106 for as_var in \
33107   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33108   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33109   LC_TELEPHONE LC_TIME
33110 do
33111   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33112     eval $as_var=C; export $as_var
33113   else
33114     $as_unset $as_var
33115   fi
33116 done
33117
33118 # Required to use basename.
33119 if expr a : '\(a\)' >/dev/null 2>&1; then
33120   as_expr=expr
33121 else
33122   as_expr=false
33123 fi
33124
33125 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33126   as_basename=basename
33127 else
33128   as_basename=false
33129 fi
33130
33131
33132 # Name of the executable.
33133 as_me=`$as_basename "$0" ||
33134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33135          X"$0" : 'X\(//\)$' \| \
33136          X"$0" : 'X\(/\)$' \| \
33137          .     : '\(.\)' 2>/dev/null ||
33138 echo X/"$0" |
33139     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33140           /^X\/\(\/\/\)$/{ s//\1/; q; }
33141           /^X\/\(\/\).*/{ s//\1/; q; }
33142           s/.*/./; q'`
33143
33144
33145 # PATH needs CR, and LINENO needs CR and PATH.
33146 # Avoid depending upon Character Ranges.
33147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33150 as_cr_digits='0123456789'
33151 as_cr_alnum=$as_cr_Letters$as_cr_digits
33152
33153 # The user is always right.
33154 if test "${PATH_SEPARATOR+set}" != set; then
33155   echo "#! /bin/sh" >conf$$.sh
33156   echo  "exit 0"   >>conf$$.sh
33157   chmod +x conf$$.sh
33158   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33159     PATH_SEPARATOR=';'
33160   else
33161     PATH_SEPARATOR=:
33162   fi
33163   rm -f conf$$.sh
33164 fi
33165
33166
33167   as_lineno_1=$LINENO
33168   as_lineno_2=$LINENO
33169   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33170   test "x$as_lineno_1" != "x$as_lineno_2" &&
33171   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
33172   # Find who we are.  Look in the path if we contain no path at all
33173   # relative or not.
33174   case $0 in
33175     *[\\/]* ) as_myself=$0 ;;
33176     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33177 for as_dir in $PATH
33178 do
33179   IFS=$as_save_IFS
33180   test -z "$as_dir" && as_dir=.
33181   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33182 done
33183
33184        ;;
33185   esac
33186   # We did not find ourselves, most probably we were run as `sh COMMAND'
33187   # in which case we are not to be found in the path.
33188   if test "x$as_myself" = x; then
33189     as_myself=$0
33190   fi
33191   if test ! -f "$as_myself"; then
33192     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33193 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33194    { (exit 1); exit 1; }; }
33195   fi
33196   case $CONFIG_SHELL in
33197   '')
33198     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33200 do
33201   IFS=$as_save_IFS
33202   test -z "$as_dir" && as_dir=.
33203   for as_base in sh bash ksh sh5; do
33204          case $as_dir in
33205          /*)
33206            if ("$as_dir/$as_base" -c '
33207   as_lineno_1=$LINENO
33208   as_lineno_2=$LINENO
33209   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33210   test "x$as_lineno_1" != "x$as_lineno_2" &&
33211   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
33212              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33213              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33214              CONFIG_SHELL=$as_dir/$as_base
33215              export CONFIG_SHELL
33216              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33217            fi;;
33218          esac
33219        done
33220 done
33221 ;;
33222   esac
33223
33224   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33225   # uniformly replaced by the line number.  The first 'sed' inserts a
33226   # line-number line before each line; the second 'sed' does the real
33227   # work.  The second script uses 'N' to pair each line-number line
33228   # with the numbered line, and appends trailing '-' during
33229   # substitution so that $LINENO is not a special case at line end.
33230   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33231   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
33232   sed '=' <$as_myself |
33233     sed '
33234       N
33235       s,$,-,
33236       : loop
33237       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33238       t loop
33239       s,-$,,
33240       s,^['$as_cr_digits']*\n,,
33241     ' >$as_me.lineno &&
33242   chmod +x $as_me.lineno ||
33243     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33244 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33245    { (exit 1); exit 1; }; }
33246
33247   # Don't try to exec as it changes $[0], causing all sort of problems
33248   # (the dirname of $[0] is not the place where we might find the
33249   # original and so on.  Autoconf is especially sensible to this).
33250   . ./$as_me.lineno
33251   # Exit status is that of the last command.
33252   exit
33253 }
33254
33255
33256 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33257   *c*,-n*) ECHO_N= ECHO_C='
33258 ' ECHO_T='      ' ;;
33259   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33260   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
33261 esac
33262
33263 if expr a : '\(a\)' >/dev/null 2>&1; then
33264   as_expr=expr
33265 else
33266   as_expr=false
33267 fi
33268
33269 rm -f conf$$ conf$$.exe conf$$.file
33270 echo >conf$$.file
33271 if ln -s conf$$.file conf$$ 2>/dev/null; then
33272   # We could just check for DJGPP; but this test a) works b) is more generic
33273   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33274   if test -f conf$$.exe; then
33275     # Don't use ln at all; we don't have any links
33276     as_ln_s='cp -p'
33277   else
33278     as_ln_s='ln -s'
33279   fi
33280 elif ln conf$$.file conf$$ 2>/dev/null; then
33281   as_ln_s=ln
33282 else
33283   as_ln_s='cp -p'
33284 fi
33285 rm -f conf$$ conf$$.exe conf$$.file
33286
33287 if mkdir -p . 2>/dev/null; then
33288   as_mkdir_p=:
33289 else
33290   test -d ./-p && rmdir ./-p
33291   as_mkdir_p=false
33292 fi
33293
33294 as_executable_p="test -f"
33295
33296 # Sed expression to map a string onto a valid CPP name.
33297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33298
33299 # Sed expression to map a string onto a valid variable name.
33300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33301
33302
33303 # IFS
33304 # We need space, tab and new line, in precisely that order.
33305 as_nl='
33306 '
33307 IFS="   $as_nl"
33308
33309 # CDPATH.
33310 $as_unset CDPATH
33311
33312 exec 6>&1
33313
33314 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33315 # report actual input values of CONFIG_FILES etc. instead of their
33316 # values after options handling.  Logging --version etc. is OK.
33317 exec 5>>config.log
33318 {
33319   echo
33320   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33321 ## Running $as_me. ##
33322 _ASBOX
33323 } >&5
33324 cat >&5 <<_CSEOF
33325
33326 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33327 generated by GNU Autoconf 2.59.  Invocation command line was
33328
33329   CONFIG_FILES    = $CONFIG_FILES
33330   CONFIG_HEADERS  = $CONFIG_HEADERS
33331   CONFIG_LINKS    = $CONFIG_LINKS
33332   CONFIG_COMMANDS = $CONFIG_COMMANDS
33333   $ $0 $@
33334
33335 _CSEOF
33336 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33337 echo >&5
33338 _ACEOF
33339
33340 # Files that config.status was made for.
33341 if test -n "$ac_config_files"; then
33342   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33343 fi
33344
33345 if test -n "$ac_config_headers"; then
33346   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33347 fi
33348
33349 if test -n "$ac_config_links"; then
33350   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33351 fi
33352
33353 if test -n "$ac_config_commands"; then
33354   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33355 fi
33356
33357 cat >>$CONFIG_STATUS <<\_ACEOF
33358
33359 ac_cs_usage="\
33360 \`$as_me' instantiates files from templates according to the
33361 current configuration.
33362
33363 Usage: $0 [OPTIONS] [FILE]...
33364
33365   -h, --help       print this help, then exit
33366   -V, --version    print version number, then exit
33367   -q, --quiet      do not print progress messages
33368   -d, --debug      don't remove temporary files
33369       --recheck    update $as_me by reconfiguring in the same conditions
33370   --file=FILE[:TEMPLATE]
33371                    instantiate the configuration file FILE
33372   --header=FILE[:TEMPLATE]
33373                    instantiate the configuration header FILE
33374
33375 Configuration files:
33376 $config_files
33377
33378 Configuration headers:
33379 $config_headers
33380
33381 Configuration commands:
33382 $config_commands
33383
33384 Report bugs to <bug-autoconf@gnu.org>."
33385 _ACEOF
33386
33387 cat >>$CONFIG_STATUS <<_ACEOF
33388 ac_cs_version="\\
33389 GNU Fortran Runtime Library config.status 0.3
33390 configured by $0, generated by GNU Autoconf 2.59,
33391   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33392
33393 Copyright (C) 2003 Free Software Foundation, Inc.
33394 This config.status script is free software; the Free Software Foundation
33395 gives unlimited permission to copy, distribute and modify it."
33396 srcdir=$srcdir
33397 INSTALL="$INSTALL"
33398 _ACEOF
33399
33400 cat >>$CONFIG_STATUS <<\_ACEOF
33401 # If no file are specified by the user, then we need to provide default
33402 # value.  By we need to know if files were specified by the user.
33403 ac_need_defaults=:
33404 while test $# != 0
33405 do
33406   case $1 in
33407   --*=*)
33408     ac_option=`expr "x$1" : 'x\([^=]*\)='`
33409     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33410     ac_shift=:
33411     ;;
33412   -*)
33413     ac_option=$1
33414     ac_optarg=$2
33415     ac_shift=shift
33416     ;;
33417   *) # This is not an option, so the user has probably given explicit
33418      # arguments.
33419      ac_option=$1
33420      ac_need_defaults=false;;
33421   esac
33422
33423   case $ac_option in
33424   # Handling of the options.
33425 _ACEOF
33426 cat >>$CONFIG_STATUS <<\_ACEOF
33427   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33428     ac_cs_recheck=: ;;
33429   --version | --vers* | -V )
33430     echo "$ac_cs_version"; exit 0 ;;
33431   --he | --h)
33432     # Conflict between --help and --header
33433     { { echo "$as_me:$LINENO: error: ambiguous option: $1
33434 Try \`$0 --help' for more information." >&5
33435 echo "$as_me: error: ambiguous option: $1
33436 Try \`$0 --help' for more information." >&2;}
33437    { (exit 1); exit 1; }; };;
33438   --help | --hel | -h )
33439     echo "$ac_cs_usage"; exit 0 ;;
33440   --debug | --d* | -d )
33441     debug=: ;;
33442   --file | --fil | --fi | --f )
33443     $ac_shift
33444     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33445     ac_need_defaults=false;;
33446   --header | --heade | --head | --hea )
33447     $ac_shift
33448     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33449     ac_need_defaults=false;;
33450   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33451   | -silent | --silent | --silen | --sile | --sil | --si | --s)
33452     ac_cs_silent=: ;;
33453
33454   # This is an error.
33455   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33456 Try \`$0 --help' for more information." >&5
33457 echo "$as_me: error: unrecognized option: $1
33458 Try \`$0 --help' for more information." >&2;}
33459    { (exit 1); exit 1; }; } ;;
33460
33461   *) ac_config_targets="$ac_config_targets $1" ;;
33462
33463   esac
33464   shift
33465 done
33466
33467 ac_configure_extra_args=
33468
33469 if $ac_cs_silent; then
33470   exec 6>/dev/null
33471   ac_configure_extra_args="$ac_configure_extra_args --silent"
33472 fi
33473
33474 _ACEOF
33475 cat >>$CONFIG_STATUS <<_ACEOF
33476 if \$ac_cs_recheck; then
33477   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33478   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33479 fi
33480
33481 _ACEOF
33482
33483 cat >>$CONFIG_STATUS <<_ACEOF
33484 #
33485 # INIT-COMMANDS section.
33486 #
33487
33488
33489 srcdir="$srcdir"
33490 host="$host"
33491 target="$target"
33492 with_multisubdir="$with_multisubdir"
33493 with_multisrctop="$with_multisrctop"
33494 with_target_subdir="$with_target_subdir"
33495 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33496 multi_basedir="$multi_basedir"
33497 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33498 CC="$CC"
33499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33500
33501
33502 # The HP-UX ksh and POSIX shell print the target directory to stdout
33503 # if CDPATH is set.
33504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33505
33506 sed_quote_subst='$sed_quote_subst'
33507 double_quote_subst='$double_quote_subst'
33508 delay_variable_subst='$delay_variable_subst'
33509 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33510 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33511 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33512 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33513 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33514 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33515 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33516 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33517 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33518 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33519 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33520 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33521 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33522 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33523 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33524 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33525 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33526 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33527 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33528 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33529 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33530 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33531 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33532 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33533 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33534 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33535 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33536 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33537 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33538 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33539 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33540 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33541 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33542 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33543 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33544 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33545 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33546 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33547 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33548 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33549 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33550 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33551 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33552 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"`'
33553 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33554 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33555 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33556 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33557 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33558 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33559 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33560 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33561 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33562 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33563 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33564 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33565 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33566 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33567 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33568 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33569 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33570 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33571 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33572 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33573 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33574 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33575 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33576 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33577 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33578 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33579 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33580 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33581 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33582 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33583 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33584 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33585 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33586 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33587 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33588 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33589 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33590 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33591 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33592 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33593 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33594 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33595 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33596 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33597 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33598 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33599 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33600 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33601 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33602 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33603 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33604 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33605 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33606 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33607 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33608 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33609 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33610 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33611 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33612 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33613 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33614 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33615 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33616 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33617 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33618 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33619 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33620 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33621 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33622 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33623 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33624 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33625 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
33626 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33627 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
33628 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
33629 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33630 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
33631 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33632 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
33633 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
33634 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
33635 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
33636 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33637 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33638 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
33639 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33640 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33641 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33642 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33643 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33644 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33645 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33646 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33647 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33648 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33649 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33650 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
33651 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
33652 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
33653 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
33654 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
33655 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33656 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
33657 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
33658 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33659 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
33660 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33661 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33662 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33663 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33664 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33665 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
33666 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33667 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33668 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33669 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33670 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33671
33672 LTCC='$LTCC'
33673 LTCFLAGS='$LTCFLAGS'
33674 compiler='$compiler_DEFAULT'
33675
33676 # Quote evaled strings.
33677 for var in SED \
33678 GREP \
33679 EGREP \
33680 FGREP \
33681 LD \
33682 NM \
33683 LN_S \
33684 lt_SP2NL \
33685 lt_NL2SP \
33686 reload_flag \
33687 deplibs_check_method \
33688 file_magic_cmd \
33689 AR \
33690 AR_FLAGS \
33691 STRIP \
33692 RANLIB \
33693 CC \
33694 CFLAGS \
33695 compiler \
33696 lt_cv_sys_global_symbol_pipe \
33697 lt_cv_sys_global_symbol_to_cdecl \
33698 lt_cv_sys_global_symbol_to_c_name_address \
33699 SHELL \
33700 ECHO \
33701 lt_prog_compiler_no_builtin_flag \
33702 lt_prog_compiler_wl \
33703 lt_prog_compiler_pic \
33704 lt_prog_compiler_static \
33705 lt_cv_prog_compiler_c_o \
33706 need_locks \
33707 shrext_cmds \
33708 export_dynamic_flag_spec \
33709 whole_archive_flag_spec \
33710 compiler_needs_object \
33711 with_gnu_ld \
33712 allow_undefined_flag \
33713 no_undefined_flag \
33714 hardcode_libdir_flag_spec \
33715 hardcode_libdir_flag_spec_ld \
33716 hardcode_libdir_separator \
33717 fix_srcfile_path \
33718 exclude_expsyms \
33719 include_expsyms \
33720 file_list_spec \
33721 variables_saved_for_relink \
33722 libname_spec \
33723 library_names_spec \
33724 soname_spec \
33725 finish_eval \
33726 old_striplib \
33727 striplib \
33728 predep_objects \
33729 postdep_objects \
33730 predeps \
33731 postdeps \
33732 compiler_lib_search_path \
33733 LD_FC \
33734 compiler_FC \
33735 lt_prog_compiler_no_builtin_flag_FC \
33736 lt_prog_compiler_wl_FC \
33737 lt_prog_compiler_pic_FC \
33738 lt_prog_compiler_static_FC \
33739 lt_cv_prog_compiler_c_o_FC \
33740 export_dynamic_flag_spec_FC \
33741 whole_archive_flag_spec_FC \
33742 compiler_needs_object_FC \
33743 with_gnu_ld_FC \
33744 allow_undefined_flag_FC \
33745 no_undefined_flag_FC \
33746 hardcode_libdir_flag_spec_FC \
33747 hardcode_libdir_flag_spec_ld_FC \
33748 hardcode_libdir_separator_FC \
33749 fix_srcfile_path_FC \
33750 exclude_expsyms_FC \
33751 include_expsyms_FC \
33752 file_list_spec_FC \
33753 predep_objects_FC \
33754 postdep_objects_FC \
33755 predeps_FC \
33756 postdeps_FC \
33757 compiler_lib_search_path_FC; do
33758     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33759     *[\\\\\\\`\\"\\\$]*)
33760       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33761       ;;
33762     *)
33763       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33764       ;;
33765     esac
33766 done
33767
33768 # Double-quote double-evaled strings.
33769 for var in reload_cmds \
33770 old_postinstall_cmds \
33771 old_postuninstall_cmds \
33772 old_archive_cmds \
33773 extract_expsyms_cmds \
33774 old_archive_from_new_cmds \
33775 old_archive_from_expsyms_cmds \
33776 archive_cmds \
33777 archive_expsym_cmds \
33778 module_cmds \
33779 module_expsym_cmds \
33780 export_symbols_cmds \
33781 prelink_cmds \
33782 postinstall_cmds \
33783 postuninstall_cmds \
33784 finish_cmds \
33785 sys_lib_search_path_spec \
33786 sys_lib_dlsearch_path_spec \
33787 old_archive_cmds_FC \
33788 old_archive_from_new_cmds_FC \
33789 old_archive_from_expsyms_cmds_FC \
33790 archive_cmds_FC \
33791 archive_expsym_cmds_FC \
33792 module_cmds_FC \
33793 module_expsym_cmds_FC \
33794 export_symbols_cmds_FC \
33795 prelink_cmds_FC; do
33796     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33797     *[\\\\\\\`\\"\\\$]*)
33798       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33799       ;;
33800     *)
33801       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33802       ;;
33803     esac
33804 done
33805
33806 # Fix-up fallback echo if it was mangled by the above quoting rules.
33807 case \$lt_ECHO in
33808 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
33809   ;;
33810 esac
33811
33812 ac_aux_dir='$ac_aux_dir'
33813 xsi_shell='$xsi_shell'
33814 lt_shell_append='$lt_shell_append'
33815
33816 # See if we are running on zsh, and set the options which allow our
33817 # commands through without removal of \ escapes INIT.
33818 if test -n "\${ZSH_VERSION+set}" ; then
33819    setopt NO_GLOB_SUBST
33820 fi
33821
33822
33823     PACKAGE='$PACKAGE'
33824     VERSION='$VERSION'
33825     TIMESTAMP='$TIMESTAMP'
33826     RM='$RM'
33827     ofile='$ofile'
33828
33829
33830
33831
33832
33833
33834 GCC="$GCC"
33835 CC="$CC"
33836 acx_cv_header_stdint="$acx_cv_header_stdint"
33837 acx_cv_type_int8_t="$acx_cv_type_int8_t"
33838 acx_cv_type_int16_t="$acx_cv_type_int16_t"
33839 acx_cv_type_int32_t="$acx_cv_type_int32_t"
33840 acx_cv_type_int64_t="$acx_cv_type_int64_t"
33841 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
33842 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
33843 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
33844 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33845 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33846 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
33847 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33848 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33849 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
33850
33851
33852 _ACEOF
33853
33854
33855
33856 cat >>$CONFIG_STATUS <<\_ACEOF
33857 for ac_config_target in $ac_config_targets
33858 do
33859   case "$ac_config_target" in
33860   # Handling of arguments.
33861   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33862   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
33863   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33864   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33865   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
33866   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33867   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33868 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33869    { (exit 1); exit 1; }; };;
33870   esac
33871 done
33872
33873 # If the user did not use the arguments to specify the items to instantiate,
33874 # then the envvar interface is used.  Set only those that are not.
33875 # We use the long form for the default assignment because of an extremely
33876 # bizarre bug on SunOS 4.1.3.
33877 if $ac_need_defaults; then
33878   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33879   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33880   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33881 fi
33882
33883 # Have a temporary directory for convenience.  Make it in the build tree
33884 # simply because there is no reason to put it here, and in addition,
33885 # creating and moving files from /tmp can sometimes cause problems.
33886 # Create a temporary directory, and hook for its removal unless debugging.
33887 $debug ||
33888 {
33889   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33890   trap '{ (exit 1); exit 1; }' 1 2 13 15
33891 }
33892
33893 # Create a (secure) tmp directory for tmp files.
33894
33895 {
33896   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33897   test -n "$tmp" && test -d "$tmp"
33898 }  ||
33899 {
33900   tmp=./confstat$$-$RANDOM
33901   (umask 077 && mkdir $tmp)
33902 } ||
33903 {
33904    echo "$me: cannot create a temporary directory in ." >&2
33905    { (exit 1); exit 1; }
33906 }
33907
33908 _ACEOF
33909
33910 cat >>$CONFIG_STATUS <<_ACEOF
33911
33912 #
33913 # CONFIG_FILES section.
33914 #
33915
33916 # No need to generate the scripts if there are no CONFIG_FILES.
33917 # This happens for instance when ./config.status config.h
33918 if test -n "\$CONFIG_FILES"; then
33919   # Protect against being on the right side of a sed subst in config.status.
33920   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33921    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33922 s,@SHELL@,$SHELL,;t t
33923 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33924 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33925 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33926 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33927 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33928 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33929 s,@exec_prefix@,$exec_prefix,;t t
33930 s,@prefix@,$prefix,;t t
33931 s,@program_transform_name@,$program_transform_name,;t t
33932 s,@bindir@,$bindir,;t t
33933 s,@sbindir@,$sbindir,;t t
33934 s,@libexecdir@,$libexecdir,;t t
33935 s,@datadir@,$datadir,;t t
33936 s,@sysconfdir@,$sysconfdir,;t t
33937 s,@sharedstatedir@,$sharedstatedir,;t t
33938 s,@localstatedir@,$localstatedir,;t t
33939 s,@libdir@,$libdir,;t t
33940 s,@includedir@,$includedir,;t t
33941 s,@oldincludedir@,$oldincludedir,;t t
33942 s,@infodir@,$infodir,;t t
33943 s,@mandir@,$mandir,;t t
33944 s,@build_alias@,$build_alias,;t t
33945 s,@host_alias@,$host_alias,;t t
33946 s,@target_alias@,$target_alias,;t t
33947 s,@DEFS@,$DEFS,;t t
33948 s,@ECHO_C@,$ECHO_C,;t t
33949 s,@ECHO_N@,$ECHO_N,;t t
33950 s,@ECHO_T@,$ECHO_T,;t t
33951 s,@LIBS@,$LIBS,;t t
33952 s,@build@,$build,;t t
33953 s,@build_cpu@,$build_cpu,;t t
33954 s,@build_vendor@,$build_vendor,;t t
33955 s,@build_os@,$build_os,;t t
33956 s,@build_libsubdir@,$build_libsubdir,;t t
33957 s,@build_subdir@,$build_subdir,;t t
33958 s,@host_subdir@,$host_subdir,;t t
33959 s,@target_subdir@,$target_subdir,;t t
33960 s,@host@,$host,;t t
33961 s,@host_cpu@,$host_cpu,;t t
33962 s,@host_vendor@,$host_vendor,;t t
33963 s,@host_os@,$host_os,;t t
33964 s,@target@,$target,;t t
33965 s,@target_cpu@,$target_cpu,;t t
33966 s,@target_vendor@,$target_vendor,;t t
33967 s,@target_os@,$target_os,;t t
33968 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33969 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33970 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33971 s,@CYGPATH_W@,$CYGPATH_W,;t t
33972 s,@PACKAGE@,$PACKAGE,;t t
33973 s,@VERSION@,$VERSION,;t t
33974 s,@ACLOCAL@,$ACLOCAL,;t t
33975 s,@AUTOCONF@,$AUTOCONF,;t t
33976 s,@AUTOMAKE@,$AUTOMAKE,;t t
33977 s,@AUTOHEADER@,$AUTOHEADER,;t t
33978 s,@MAKEINFO@,$MAKEINFO,;t t
33979 s,@install_sh@,$install_sh,;t t
33980 s,@STRIP@,$STRIP,;t t
33981 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33982 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33983 s,@mkdir_p@,$mkdir_p,;t t
33984 s,@AWK@,$AWK,;t t
33985 s,@SET_MAKE@,$SET_MAKE,;t t
33986 s,@am__leading_dot@,$am__leading_dot,;t t
33987 s,@AMTAR@,$AMTAR,;t t
33988 s,@am__tar@,$am__tar,;t t
33989 s,@am__untar@,$am__untar,;t t
33990 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33991 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33992 s,@MAINT@,$MAINT,;t t
33993 s,@multi_basedir@,$multi_basedir,;t t
33994 s,@toolexecdir@,$toolexecdir,;t t
33995 s,@toolexeclibdir@,$toolexeclibdir,;t t
33996 s,@CC@,$CC,;t t
33997 s,@ac_ct_CC@,$ac_ct_CC,;t t
33998 s,@EXEEXT@,$EXEEXT,;t t
33999 s,@OBJEXT@,$OBJEXT,;t t
34000 s,@DEPDIR@,$DEPDIR,;t t
34001 s,@am__include@,$am__include,;t t
34002 s,@am__quote@,$am__quote,;t t
34003 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34004 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34005 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34006 s,@CCDEPMODE@,$CCDEPMODE,;t t
34007 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34008 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34009 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34010 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34011 s,@CFLAGS@,$CFLAGS,;t t
34012 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34013 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34014 s,@AS@,$AS,;t t
34015 s,@ac_ct_AS@,$ac_ct_AS,;t t
34016 s,@AR@,$AR,;t t
34017 s,@ac_ct_AR@,$ac_ct_AR,;t t
34018 s,@RANLIB@,$RANLIB,;t t
34019 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34020 s,@LIBTOOL@,$LIBTOOL,;t t
34021 s,@SED@,$SED,;t t
34022 s,@EGREP@,$EGREP,;t t
34023 s,@FGREP@,$FGREP,;t t
34024 s,@GREP@,$GREP,;t t
34025 s,@LD@,$LD,;t t
34026 s,@DUMPBIN@,$DUMPBIN,;t t
34027 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34028 s,@NM@,$NM,;t t
34029 s,@LN_S@,$LN_S,;t t
34030 s,@lt_ECHO@,$lt_ECHO,;t t
34031 s,@CPP@,$CPP,;t t
34032 s,@CPPFLAGS@,$CPPFLAGS,;t t
34033 s,@enable_shared@,$enable_shared,;t t
34034 s,@enable_static@,$enable_static,;t t
34035 s,@FC@,$FC,;t t
34036 s,@FCFLAGS@,$FCFLAGS,;t t
34037 s,@LDFLAGS@,$LDFLAGS,;t t
34038 s,@ac_ct_FC@,$ac_ct_FC,;t t
34039 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34040 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34041 s,@LIBOBJS@,$LIBOBJS,;t t
34042 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34043 CEOF
34044
34045 _ACEOF
34046
34047   cat >>$CONFIG_STATUS <<\_ACEOF
34048   # Split the substitutions into bite-sized pieces for seds with
34049   # small command number limits, like on Digital OSF/1 and HP-UX.
34050   ac_max_sed_lines=48
34051   ac_sed_frag=1 # Number of current file.
34052   ac_beg=1 # First line for current file.
34053   ac_end=$ac_max_sed_lines # Line after last line for current file.
34054   ac_more_lines=:
34055   ac_sed_cmds=
34056   while $ac_more_lines; do
34057     if test $ac_beg -gt 1; then
34058       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34059     else
34060       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34061     fi
34062     if test ! -s $tmp/subs.frag; then
34063       ac_more_lines=false
34064     else
34065       # The purpose of the label and of the branching condition is to
34066       # speed up the sed processing (if there are no `@' at all, there
34067       # is no need to browse any of the substitutions).
34068       # These are the two extra sed commands mentioned above.
34069       (echo ':t
34070   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34071       if test -z "$ac_sed_cmds"; then
34072         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34073       else
34074         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34075       fi
34076       ac_sed_frag=`expr $ac_sed_frag + 1`
34077       ac_beg=$ac_end
34078       ac_end=`expr $ac_end + $ac_max_sed_lines`
34079     fi
34080   done
34081   if test -z "$ac_sed_cmds"; then
34082     ac_sed_cmds=cat
34083   fi
34084 fi # test -n "$CONFIG_FILES"
34085
34086 _ACEOF
34087 cat >>$CONFIG_STATUS <<\_ACEOF
34088 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34089   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34090   case $ac_file in
34091   - | *:- | *:-:* ) # input from stdin
34092         cat >$tmp/stdin
34093         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34094         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34095   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34096         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34097   * )   ac_file_in=$ac_file.in ;;
34098   esac
34099
34100   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34101   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34103          X"$ac_file" : 'X\(//\)[^/]' \| \
34104          X"$ac_file" : 'X\(//\)$' \| \
34105          X"$ac_file" : 'X\(/\)' \| \
34106          .     : '\(.\)' 2>/dev/null ||
34107 echo X"$ac_file" |
34108     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34109           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34110           /^X\(\/\/\)$/{ s//\1/; q; }
34111           /^X\(\/\).*/{ s//\1/; q; }
34112           s/.*/./; q'`
34113   { if $as_mkdir_p; then
34114     mkdir -p "$ac_dir"
34115   else
34116     as_dir="$ac_dir"
34117     as_dirs=
34118     while test ! -d "$as_dir"; do
34119       as_dirs="$as_dir $as_dirs"
34120       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34122          X"$as_dir" : 'X\(//\)[^/]' \| \
34123          X"$as_dir" : 'X\(//\)$' \| \
34124          X"$as_dir" : 'X\(/\)' \| \
34125          .     : '\(.\)' 2>/dev/null ||
34126 echo X"$as_dir" |
34127     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34128           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34129           /^X\(\/\/\)$/{ s//\1/; q; }
34130           /^X\(\/\).*/{ s//\1/; q; }
34131           s/.*/./; q'`
34132     done
34133     test ! -n "$as_dirs" || mkdir $as_dirs
34134   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34136    { (exit 1); exit 1; }; }; }
34137
34138   ac_builddir=.
34139
34140 if test "$ac_dir" != .; then
34141   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34142   # A "../" for each directory in $ac_dir_suffix.
34143   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34144 else
34145   ac_dir_suffix= ac_top_builddir=
34146 fi
34147
34148 case $srcdir in
34149   .)  # No --srcdir option.  We are building in place.
34150     ac_srcdir=.
34151     if test -z "$ac_top_builddir"; then
34152        ac_top_srcdir=.
34153     else
34154        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34155     fi ;;
34156   [\\/]* | ?:[\\/]* )  # Absolute path.
34157     ac_srcdir=$srcdir$ac_dir_suffix;
34158     ac_top_srcdir=$srcdir ;;
34159   *) # Relative path.
34160     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34161     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34162 esac
34163
34164 # Do not use `cd foo && pwd` to compute absolute paths, because
34165 # the directories may not exist.
34166 case `pwd` in
34167 .) ac_abs_builddir="$ac_dir";;
34168 *)
34169   case "$ac_dir" in
34170   .) ac_abs_builddir=`pwd`;;
34171   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34172   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34173   esac;;
34174 esac
34175 case $ac_abs_builddir in
34176 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34177 *)
34178   case ${ac_top_builddir}. in
34179   .) ac_abs_top_builddir=$ac_abs_builddir;;
34180   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34181   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34182   esac;;
34183 esac
34184 case $ac_abs_builddir in
34185 .) ac_abs_srcdir=$ac_srcdir;;
34186 *)
34187   case $ac_srcdir in
34188   .) ac_abs_srcdir=$ac_abs_builddir;;
34189   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34190   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34191   esac;;
34192 esac
34193 case $ac_abs_builddir in
34194 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34195 *)
34196   case $ac_top_srcdir in
34197   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34198   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34199   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34200   esac;;
34201 esac
34202
34203
34204   case $INSTALL in
34205   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34206   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34207   esac
34208
34209   if test x"$ac_file" != x-; then
34210     { echo "$as_me:$LINENO: creating $ac_file" >&5
34211 echo "$as_me: creating $ac_file" >&6;}
34212     rm -f "$ac_file"
34213   fi
34214   # Let's still pretend it is `configure' which instantiates (i.e., don't
34215   # use $as_me), people would be surprised to read:
34216   #    /* config.h.  Generated by config.status.  */
34217   if test x"$ac_file" = x-; then
34218     configure_input=
34219   else
34220     configure_input="$ac_file.  "
34221   fi
34222   configure_input=$configure_input"Generated from `echo $ac_file_in |
34223                                      sed 's,.*/,,'` by configure."
34224
34225   # First look for the input files in the build tree, otherwise in the
34226   # src tree.
34227   ac_file_inputs=`IFS=:
34228     for f in $ac_file_in; do
34229       case $f in
34230       -) echo $tmp/stdin ;;
34231       [\\/$]*)
34232          # Absolute (can't be DOS-style, as IFS=:)
34233          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34234 echo "$as_me: error: cannot find input file: $f" >&2;}
34235    { (exit 1); exit 1; }; }
34236          echo "$f";;
34237       *) # Relative
34238          if test -f "$f"; then
34239            # Build tree
34240            echo "$f"
34241          elif test -f "$srcdir/$f"; then
34242            # Source tree
34243            echo "$srcdir/$f"
34244          else
34245            # /dev/null tree
34246            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34247 echo "$as_me: error: cannot find input file: $f" >&2;}
34248    { (exit 1); exit 1; }; }
34249          fi;;
34250       esac
34251     done` || { (exit 1); exit 1; }
34252 _ACEOF
34253 cat >>$CONFIG_STATUS <<_ACEOF
34254   sed "$ac_vpsub
34255 $extrasub
34256 _ACEOF
34257 cat >>$CONFIG_STATUS <<\_ACEOF
34258 :t
34259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34260 s,@configure_input@,$configure_input,;t t
34261 s,@srcdir@,$ac_srcdir,;t t
34262 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34263 s,@top_srcdir@,$ac_top_srcdir,;t t
34264 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34265 s,@builddir@,$ac_builddir,;t t
34266 s,@abs_builddir@,$ac_abs_builddir,;t t
34267 s,@top_builddir@,$ac_top_builddir,;t t
34268 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34269 s,@INSTALL@,$ac_INSTALL,;t t
34270 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34271   rm -f $tmp/stdin
34272   if test x"$ac_file" != x-; then
34273     mv $tmp/out $ac_file
34274   else
34275     cat $tmp/out
34276     rm -f $tmp/out
34277   fi
34278
34279 done
34280 _ACEOF
34281 cat >>$CONFIG_STATUS <<\_ACEOF
34282
34283 #
34284 # CONFIG_HEADER section.
34285 #
34286
34287 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34288 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34289 #
34290 # ac_d sets the value in "#define NAME VALUE" lines.
34291 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34292 ac_dB='[         ].*$,\1#\2'
34293 ac_dC=' '
34294 ac_dD=',;t'
34295 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34296 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34297 ac_uB='$,\1#\2define\3'
34298 ac_uC=' '
34299 ac_uD=',;t'
34300
34301 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34302   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34303   case $ac_file in
34304   - | *:- | *:-:* ) # input from stdin
34305         cat >$tmp/stdin
34306         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34307         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34308   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34309         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34310   * )   ac_file_in=$ac_file.in ;;
34311   esac
34312
34313   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34314 echo "$as_me: creating $ac_file" >&6;}
34315
34316   # First look for the input files in the build tree, otherwise in the
34317   # src tree.
34318   ac_file_inputs=`IFS=:
34319     for f in $ac_file_in; do
34320       case $f in
34321       -) echo $tmp/stdin ;;
34322       [\\/$]*)
34323          # Absolute (can't be DOS-style, as IFS=:)
34324          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34325 echo "$as_me: error: cannot find input file: $f" >&2;}
34326    { (exit 1); exit 1; }; }
34327          # Do quote $f, to prevent DOS paths from being IFS'd.
34328          echo "$f";;
34329       *) # Relative
34330          if test -f "$f"; then
34331            # Build tree
34332            echo "$f"
34333          elif test -f "$srcdir/$f"; then
34334            # Source tree
34335            echo "$srcdir/$f"
34336          else
34337            # /dev/null tree
34338            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34339 echo "$as_me: error: cannot find input file: $f" >&2;}
34340    { (exit 1); exit 1; }; }
34341          fi;;
34342       esac
34343     done` || { (exit 1); exit 1; }
34344   # Remove the trailing spaces.
34345   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
34346
34347 _ACEOF
34348
34349 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34350 # `conftest.undefs', that substitutes the proper values into
34351 # config.h.in to produce config.h.  The first handles `#define'
34352 # templates, and the second `#undef' templates.
34353 # And first: Protect against being on the right side of a sed subst in
34354 # config.status.  Protect against being in an unquoted here document
34355 # in config.status.
34356 rm -f conftest.defines conftest.undefs
34357 # Using a here document instead of a string reduces the quoting nightmare.
34358 # Putting comments in sed scripts is not portable.
34359 #
34360 # `end' is used to avoid that the second main sed command (meant for
34361 # 0-ary CPP macros) applies to n-ary macro definitions.
34362 # See the Autoconf documentation for `clear'.
34363 cat >confdef2sed.sed <<\_ACEOF
34364 s/[\\&,]/\\&/g
34365 s,[\\$`],\\&,g
34366 t clear
34367 : clear
34368 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34369 t end
34370 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34371 : end
34372 _ACEOF
34373 # If some macros were called several times there might be several times
34374 # the same #defines, which is useless.  Nevertheless, we may not want to
34375 # sort them, since we want the *last* AC-DEFINE to be honored.
34376 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34377 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34378 rm -f confdef2sed.sed
34379
34380 # This sed command replaces #undef with comments.  This is necessary, for
34381 # example, in the case of _POSIX_SOURCE, which is predefined and required
34382 # on some systems where configure will not decide to define it.
34383 cat >>conftest.undefs <<\_ACEOF
34384 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34385 _ACEOF
34386
34387 # Break up conftest.defines because some shells have a limit on the size
34388 # of here documents, and old seds have small limits too (100 cmds).
34389 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34390 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34391 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34392 echo '  :' >>$CONFIG_STATUS
34393 rm -f conftest.tail
34394 while grep . conftest.defines >/dev/null
34395 do
34396   # Write a limited-size here document to $tmp/defines.sed.
34397   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34398   # Speed up: don't consider the non `#define' lines.
34399   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
34400   # Work around the forget-to-reset-the-flag bug.
34401   echo 't clr' >>$CONFIG_STATUS
34402   echo ': clr' >>$CONFIG_STATUS
34403   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34404   echo 'CEOF
34405   sed -f $tmp/defines.sed $tmp/in >$tmp/out
34406   rm -f $tmp/in
34407   mv $tmp/out $tmp/in
34408 ' >>$CONFIG_STATUS
34409   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34410   rm -f conftest.defines
34411   mv conftest.tail conftest.defines
34412 done
34413 rm -f conftest.defines
34414 echo '  fi # grep' >>$CONFIG_STATUS
34415 echo >>$CONFIG_STATUS
34416
34417 # Break up conftest.undefs because some shells have a limit on the size
34418 # of here documents, and old seds have small limits too (100 cmds).
34419 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
34420 rm -f conftest.tail
34421 while grep . conftest.undefs >/dev/null
34422 do
34423   # Write a limited-size here document to $tmp/undefs.sed.
34424   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34425   # Speed up: don't consider the non `#undef'
34426   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
34427   # Work around the forget-to-reset-the-flag bug.
34428   echo 't clr' >>$CONFIG_STATUS
34429   echo ': clr' >>$CONFIG_STATUS
34430   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34431   echo 'CEOF
34432   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34433   rm -f $tmp/in
34434   mv $tmp/out $tmp/in
34435 ' >>$CONFIG_STATUS
34436   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34437   rm -f conftest.undefs
34438   mv conftest.tail conftest.undefs
34439 done
34440 rm -f conftest.undefs
34441
34442 cat >>$CONFIG_STATUS <<\_ACEOF
34443   # Let's still pretend it is `configure' which instantiates (i.e., don't
34444   # use $as_me), people would be surprised to read:
34445   #    /* config.h.  Generated by config.status.  */
34446   if test x"$ac_file" = x-; then
34447     echo "/* Generated by configure.  */" >$tmp/config.h
34448   else
34449     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
34450   fi
34451   cat $tmp/in >>$tmp/config.h
34452   rm -f $tmp/in
34453   if test x"$ac_file" != x-; then
34454     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34455       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34456 echo "$as_me: $ac_file is unchanged" >&6;}
34457     else
34458       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34459 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34460          X"$ac_file" : 'X\(//\)[^/]' \| \
34461          X"$ac_file" : 'X\(//\)$' \| \
34462          X"$ac_file" : 'X\(/\)' \| \
34463          .     : '\(.\)' 2>/dev/null ||
34464 echo X"$ac_file" |
34465     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34466           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34467           /^X\(\/\/\)$/{ s//\1/; q; }
34468           /^X\(\/\).*/{ s//\1/; q; }
34469           s/.*/./; q'`
34470       { if $as_mkdir_p; then
34471     mkdir -p "$ac_dir"
34472   else
34473     as_dir="$ac_dir"
34474     as_dirs=
34475     while test ! -d "$as_dir"; do
34476       as_dirs="$as_dir $as_dirs"
34477       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34479          X"$as_dir" : 'X\(//\)[^/]' \| \
34480          X"$as_dir" : 'X\(//\)$' \| \
34481          X"$as_dir" : 'X\(/\)' \| \
34482          .     : '\(.\)' 2>/dev/null ||
34483 echo X"$as_dir" |
34484     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34485           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34486           /^X\(\/\/\)$/{ s//\1/; q; }
34487           /^X\(\/\).*/{ s//\1/; q; }
34488           s/.*/./; q'`
34489     done
34490     test ! -n "$as_dirs" || mkdir $as_dirs
34491   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34492 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34493    { (exit 1); exit 1; }; }; }
34494
34495       rm -f $ac_file
34496       mv $tmp/config.h $ac_file
34497     fi
34498   else
34499     cat $tmp/config.h
34500     rm -f $tmp/config.h
34501   fi
34502 # Compute $ac_file's index in $config_headers.
34503 _am_stamp_count=1
34504 for _am_header in $config_headers :; do
34505   case $_am_header in
34506     $ac_file | $ac_file:* )
34507       break ;;
34508     * )
34509       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34510   esac
34511 done
34512 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34513 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34514          X$ac_file : 'X\(//\)[^/]' \| \
34515          X$ac_file : 'X\(//\)$' \| \
34516          X$ac_file : 'X\(/\)' \| \
34517          .     : '\(.\)' 2>/dev/null ||
34518 echo X$ac_file |
34519     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34520           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34521           /^X\(\/\/\)$/{ s//\1/; q; }
34522           /^X\(\/\).*/{ s//\1/; q; }
34523           s/.*/./; q'`/stamp-h$_am_stamp_count
34524 done
34525 _ACEOF
34526 cat >>$CONFIG_STATUS <<\_ACEOF
34527
34528 #
34529 # CONFIG_COMMANDS section.
34530 #
34531 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34532   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34533   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34534   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34535 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34536          X"$ac_dest" : 'X\(//\)[^/]' \| \
34537          X"$ac_dest" : 'X\(//\)$' \| \
34538          X"$ac_dest" : 'X\(/\)' \| \
34539          .     : '\(.\)' 2>/dev/null ||
34540 echo X"$ac_dest" |
34541     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34542           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34543           /^X\(\/\/\)$/{ s//\1/; q; }
34544           /^X\(\/\).*/{ s//\1/; q; }
34545           s/.*/./; q'`
34546   { if $as_mkdir_p; then
34547     mkdir -p "$ac_dir"
34548   else
34549     as_dir="$ac_dir"
34550     as_dirs=
34551     while test ! -d "$as_dir"; do
34552       as_dirs="$as_dir $as_dirs"
34553       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34555          X"$as_dir" : 'X\(//\)[^/]' \| \
34556          X"$as_dir" : 'X\(//\)$' \| \
34557          X"$as_dir" : 'X\(/\)' \| \
34558          .     : '\(.\)' 2>/dev/null ||
34559 echo X"$as_dir" |
34560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34561           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34562           /^X\(\/\/\)$/{ s//\1/; q; }
34563           /^X\(\/\).*/{ s//\1/; q; }
34564           s/.*/./; q'`
34565     done
34566     test ! -n "$as_dirs" || mkdir $as_dirs
34567   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34568 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34569    { (exit 1); exit 1; }; }; }
34570
34571   ac_builddir=.
34572
34573 if test "$ac_dir" != .; then
34574   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34575   # A "../" for each directory in $ac_dir_suffix.
34576   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34577 else
34578   ac_dir_suffix= ac_top_builddir=
34579 fi
34580
34581 case $srcdir in
34582   .)  # No --srcdir option.  We are building in place.
34583     ac_srcdir=.
34584     if test -z "$ac_top_builddir"; then
34585        ac_top_srcdir=.
34586     else
34587        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34588     fi ;;
34589   [\\/]* | ?:[\\/]* )  # Absolute path.
34590     ac_srcdir=$srcdir$ac_dir_suffix;
34591     ac_top_srcdir=$srcdir ;;
34592   *) # Relative path.
34593     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34594     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34595 esac
34596
34597 # Do not use `cd foo && pwd` to compute absolute paths, because
34598 # the directories may not exist.
34599 case `pwd` in
34600 .) ac_abs_builddir="$ac_dir";;
34601 *)
34602   case "$ac_dir" in
34603   .) ac_abs_builddir=`pwd`;;
34604   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34605   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34606   esac;;
34607 esac
34608 case $ac_abs_builddir in
34609 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34610 *)
34611   case ${ac_top_builddir}. in
34612   .) ac_abs_top_builddir=$ac_abs_builddir;;
34613   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34614   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34615   esac;;
34616 esac
34617 case $ac_abs_builddir in
34618 .) ac_abs_srcdir=$ac_srcdir;;
34619 *)
34620   case $ac_srcdir in
34621   .) ac_abs_srcdir=$ac_abs_builddir;;
34622   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34623   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34624   esac;;
34625 esac
34626 case $ac_abs_builddir in
34627 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34628 *)
34629   case $ac_top_srcdir in
34630   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34631   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34632   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34633   esac;;
34634 esac
34635
34636
34637   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34638 echo "$as_me: executing $ac_dest commands" >&6;}
34639   case $ac_dest in
34640     default-1 )
34641 # Only add multilib support code if we just rebuilt the top-level
34642 # Makefile.
34643 case " $CONFIG_FILES " in
34644  *" Makefile "*)
34645    ac_file=Makefile . ${multi_basedir}/config-ml.in
34646    ;;
34647 esac ;;
34648     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34649   # Strip MF so we end up with the name of the file.
34650   mf=`echo "$mf" | sed -e 's/:.*$//'`
34651   # Check whether this is an Automake generated Makefile or not.
34652   # We used to match only the files named `Makefile.in', but
34653   # some people rename them; so instead we look at the file content.
34654   # Grep'ing the first line is not enough: some people post-process
34655   # each Makefile.in and add a new line on top of each file to say so.
34656   # So let's grep whole file.
34657   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34658     dirpart=`(dirname "$mf") 2>/dev/null ||
34659 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34660          X"$mf" : 'X\(//\)[^/]' \| \
34661          X"$mf" : 'X\(//\)$' \| \
34662          X"$mf" : 'X\(/\)' \| \
34663          .     : '\(.\)' 2>/dev/null ||
34664 echo X"$mf" |
34665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34666           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34667           /^X\(\/\/\)$/{ s//\1/; q; }
34668           /^X\(\/\).*/{ s//\1/; q; }
34669           s/.*/./; q'`
34670   else
34671     continue
34672   fi
34673   # Extract the definition of DEPDIR, am__include, and am__quote
34674   # from the Makefile without running `make'.
34675   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34676   test -z "$DEPDIR" && continue
34677   am__include=`sed -n 's/^am__include = //p' < "$mf"`
34678   test -z "am__include" && continue
34679   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34680   # When using ansi2knr, U may be empty or an underscore; expand it
34681   U=`sed -n 's/^U = //p' < "$mf"`
34682   # Find all dependency output files, they are included files with
34683   # $(DEPDIR) in their names.  We invoke sed twice because it is the
34684   # simplest approach to changing $(DEPDIR) to its actual value in the
34685   # expansion.
34686   for file in `sed -n "
34687     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34688        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34689     # Make sure the directory exists.
34690     test -f "$dirpart/$file" && continue
34691     fdir=`(dirname "$file") 2>/dev/null ||
34692 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34693          X"$file" : 'X\(//\)[^/]' \| \
34694          X"$file" : 'X\(//\)$' \| \
34695          X"$file" : 'X\(/\)' \| \
34696          .     : '\(.\)' 2>/dev/null ||
34697 echo X"$file" |
34698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34699           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34700           /^X\(\/\/\)$/{ s//\1/; q; }
34701           /^X\(\/\).*/{ s//\1/; q; }
34702           s/.*/./; q'`
34703     { if $as_mkdir_p; then
34704     mkdir -p $dirpart/$fdir
34705   else
34706     as_dir=$dirpart/$fdir
34707     as_dirs=
34708     while test ! -d "$as_dir"; do
34709       as_dirs="$as_dir $as_dirs"
34710       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34712          X"$as_dir" : 'X\(//\)[^/]' \| \
34713          X"$as_dir" : 'X\(//\)$' \| \
34714          X"$as_dir" : 'X\(/\)' \| \
34715          .     : '\(.\)' 2>/dev/null ||
34716 echo X"$as_dir" |
34717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34719           /^X\(\/\/\)$/{ s//\1/; q; }
34720           /^X\(\/\).*/{ s//\1/; q; }
34721           s/.*/./; q'`
34722     done
34723     test ! -n "$as_dirs" || mkdir $as_dirs
34724   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34725 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34726    { (exit 1); exit 1; }; }; }
34727
34728     # echo "creating $dirpart/$file"
34729     echo '# dummy' > "$dirpart/$file"
34730   done
34731 done
34732  ;;
34733     libtool )
34734
34735     # See if we are running on zsh, and set the options which allow our
34736     # commands through without removal of \ escapes.
34737     if test -n "${ZSH_VERSION+set}" ; then
34738       setopt NO_GLOB_SUBST
34739     fi
34740
34741     cfgfile="${ofile}T"
34742     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34743     $RM "$cfgfile"
34744
34745     cat <<_LT_EOF >> "$cfgfile"
34746 #! $SHELL
34747
34748 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34749 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
34750 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34751 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34752 #
34753 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34754 # 2006, 2007 Free Software Foundation, Inc.
34755 #
34756 # This file is part of GNU Libtool:
34757 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
34758 #
34759 # This program is free software; you can redistribute it and/or modify
34760 # it under the terms of the GNU General Public License as published by
34761 # the Free Software Foundation; either version 2 of the License, or
34762 # (at your option) any later version.
34763 #
34764 # This program is distributed in the hope that it will be useful, but
34765 # WITHOUT ANY WARRANTY; without even the implied warranty of
34766 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
34767 # General Public License for more details.
34768 #
34769 # You should have received a copy of the GNU General Public License
34770 # along with this program; if not, a copy can be downloaded from
34771 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
34772 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34773 # MA 02110-1301, USA.
34774 #
34775 # As a special exception to the GNU General Public License, if you
34776 # distribute this file as part of a program that contains a
34777 # configuration script generated by Autoconf, you may include it under
34778 # the same distribution terms that you use for the rest of that program.
34779
34780
34781 # The names of the tagged configurations supported by this script.
34782 available_tags="FC "
34783
34784 # ### BEGIN LIBTOOL CONFIG
34785
34786 # Which release of libtool.m4 was used?
34787 macro_version=$macro_version
34788 macro_revision=$macro_revision
34789
34790 # Whether or not to build shared libraries.
34791 build_libtool_libs=$enable_shared
34792
34793 # Whether or not to build static libraries.
34794 build_old_libs=$enable_static
34795
34796 # What type of objects to build.
34797 pic_mode=$pic_mode
34798
34799 # Whether or not to optimize for fast installation.
34800 fast_install=$enable_fast_install
34801
34802 # The host system.
34803 host_alias=$host_alias
34804 host=$host
34805 host_os=$host_os
34806
34807 # The build system.
34808 build_alias=$build_alias
34809 build=$build
34810 build_os=$build_os
34811
34812 # A sed program that does not truncate output.
34813 SED=$lt_SED
34814
34815 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34816 Xsed="\$SED -e 1s/^X//"
34817
34818 # A grep program that handles long lines.
34819 GREP=$lt_GREP
34820
34821 # An ERE matcher.
34822 EGREP=$lt_EGREP
34823
34824 # A literal string matcher.
34825 FGREP=$lt_FGREP
34826
34827 # A BSD- or MS-compatible name lister.
34828 NM=$lt_NM
34829
34830 # Whether we need soft or hard links.
34831 LN_S=$lt_LN_S
34832
34833 # What is the maximum length of a command?
34834 max_cmd_len=$max_cmd_len
34835
34836 # Object file suffix (normally "o").
34837 objext=$ac_objext
34838
34839 # Executable file suffix (normally "").
34840 exeext=$exeext
34841
34842 # whether the shell understands "unset".
34843 lt_unset=$lt_unset
34844
34845 # turn spaces into newlines.
34846 SP2NL=$lt_lt_SP2NL
34847
34848 # turn newlines into spaces.
34849 NL2SP=$lt_lt_NL2SP
34850
34851 # How to create reloadable object files.
34852 reload_flag=$lt_reload_flag
34853 reload_cmds=$lt_reload_cmds
34854
34855 # Method to check whether dependent libraries are shared objects.
34856 deplibs_check_method=$lt_deplibs_check_method
34857
34858 # Command to use when deplibs_check_method == "file_magic".
34859 file_magic_cmd=$lt_file_magic_cmd
34860
34861 # The archiver.
34862 AR=$lt_AR
34863 AR_FLAGS=$lt_AR_FLAGS
34864
34865 # A symbol stripping program.
34866 STRIP=$lt_STRIP
34867
34868 # Commands used to install an old-style archive.
34869 RANLIB=$lt_RANLIB
34870 old_postinstall_cmds=$lt_old_postinstall_cmds
34871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34872
34873 # A C compiler.
34874 LTCC=$lt_CC
34875
34876 # LTCC compiler flags.
34877 LTCFLAGS=$lt_CFLAGS
34878
34879 # Take the output of nm and produce a listing of raw symbols and C names.
34880 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34881
34882 # Transform the output of nm in a proper C declaration.
34883 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34884
34885 # Transform the output of nm in a C name address pair.
34886 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34887
34888 # The name of the directory that contains temporary libtool files.
34889 objdir=$objdir
34890
34891 # Shell to use when invoking shell scripts.
34892 SHELL=$lt_SHELL
34893
34894 # An echo program that does not interpret backslashes.
34895 ECHO=$lt_ECHO
34896
34897 # Used to examine libraries when file_magic_cmd begins with "file".
34898 MAGIC_CMD=$MAGIC_CMD
34899
34900 # Must we lock files when doing compilation?
34901 need_locks=$lt_need_locks
34902
34903 # Old archive suffix (normally "a").
34904 libext=$libext
34905
34906 # Shared library suffix (normally ".so").
34907 shrext_cmds=$lt_shrext_cmds
34908
34909 # The commands to extract the exported symbol list from a shared archive.
34910 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34911
34912 # Variables whose values should be saved in libtool wrapper scripts and
34913 # restored at link time.
34914 variables_saved_for_relink=$lt_variables_saved_for_relink
34915
34916 # Do we need the "lib" prefix for modules?
34917 need_lib_prefix=$need_lib_prefix
34918
34919 # Do we need a version for libraries?
34920 need_version=$need_version
34921
34922 # Library versioning type.
34923 version_type=$version_type
34924
34925 # Shared library runtime path variable.
34926 runpath_var=$runpath_var
34927
34928 # Shared library path variable.
34929 shlibpath_var=$shlibpath_var
34930
34931 # Is shlibpath searched before the hard-coded library search path?
34932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34933
34934 # Format of library name prefix.
34935 libname_spec=$lt_libname_spec
34936
34937 # List of archive names.  First name is the real one, the rest are links.
34938 # The last name is the one that the linker finds with -lNAME
34939 library_names_spec=$lt_library_names_spec
34940
34941 # The coded name of the library, if different from the real name.
34942 soname_spec=$lt_soname_spec
34943
34944 # Command to use after installation of a shared archive.
34945 postinstall_cmds=$lt_postinstall_cmds
34946
34947 # Command to use after uninstallation of a shared archive.
34948 postuninstall_cmds=$lt_postuninstall_cmds
34949
34950 # Commands used to finish a libtool library installation in a directory.
34951 finish_cmds=$lt_finish_cmds
34952
34953 # As "finish_cmds", except a single script fragment to be evaled but
34954 # not shown.
34955 finish_eval=$lt_finish_eval
34956
34957 # Whether we should hardcode library paths into libraries.
34958 hardcode_into_libs=$hardcode_into_libs
34959
34960 # Compile-time system search path for libraries.
34961 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34962
34963 # Run-time system search path for libraries.
34964 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34965
34966 # Whether dlopen is supported.
34967 dlopen_support=$enable_dlopen
34968
34969 # Whether dlopen of programs is supported.
34970 dlopen_self=$enable_dlopen_self
34971
34972 # Whether dlopen of statically linked programs is supported.
34973 dlopen_self_static=$enable_dlopen_self_static
34974
34975 # Commands to strip libraries.
34976 old_striplib=$lt_old_striplib
34977 striplib=$lt_striplib
34978
34979
34980 # The linker used to build libraries.
34981 LD=$lt_LD
34982
34983 # Commands used to build an old-style archive.
34984 old_archive_cmds=$lt_old_archive_cmds
34985
34986 # A language specific compiler.
34987 CC=$lt_compiler
34988
34989 # Is the compiler the GNU compiler?
34990 with_gcc=$GCC
34991
34992 # Compiler flag to turn off builtin functions.
34993 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34994
34995 # How to pass a linker flag through the compiler.
34996 wl=$lt_lt_prog_compiler_wl
34997
34998 # Additional compiler flags for building library objects.
34999 pic_flag=$lt_lt_prog_compiler_pic
35000
35001 # Compiler flag to prevent dynamic linking.
35002 link_static_flag=$lt_lt_prog_compiler_static
35003
35004 # Does compiler simultaneously support -c and -o options?
35005 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35006
35007 # Whether or not to add -lc for building shared libraries.
35008 build_libtool_need_lc=$archive_cmds_need_lc
35009
35010 # Whether or not to disallow shared libs when runtime libs are static.
35011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35012
35013 # Compiler flag to allow reflexive dlopens.
35014 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35015
35016 # Compiler flag to generate shared objects directly from archives.
35017 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35018
35019 # Whether the compiler copes with passing no objects directly.
35020 compiler_needs_object=$lt_compiler_needs_object
35021
35022 # Create an old-style archive from a shared archive.
35023 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35024
35025 # Create a temporary old-style archive to link instead of a shared archive.
35026 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35027
35028 # Commands used to build a shared archive.
35029 archive_cmds=$lt_archive_cmds
35030 archive_expsym_cmds=$lt_archive_expsym_cmds
35031
35032 # Commands used to build a loadable module if different from building
35033 # a shared archive.
35034 module_cmds=$lt_module_cmds
35035 module_expsym_cmds=$lt_module_expsym_cmds
35036
35037 # Whether we are building with GNU ld or not.
35038 with_gnu_ld=$lt_with_gnu_ld
35039
35040 # Flag that allows shared libraries with undefined symbols to be built.
35041 allow_undefined_flag=$lt_allow_undefined_flag
35042
35043 # Flag that enforces no undefined symbols.
35044 no_undefined_flag=$lt_no_undefined_flag
35045
35046 # Flag to hardcode \$libdir into a binary during linking.
35047 # This must work even if \$libdir does not exist
35048 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35049
35050 # If ld is used when linking, flag to hardcode \$libdir into a binary
35051 # during linking.  This must work even if \$libdir does not exist.
35052 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35053
35054 # Whether we need a single "-rpath" flag with a separated argument.
35055 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35056
35057 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35058 # DIR into the resulting binary.
35059 hardcode_direct=$hardcode_direct
35060
35061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35062 # DIR into the resulting binary and the resulting library dependency is
35063 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35064 # library is relocated.
35065 hardcode_direct_absolute=$hardcode_direct_absolute
35066
35067 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35068 # into the resulting binary.
35069 hardcode_minus_L=$hardcode_minus_L
35070
35071 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35072 # into the resulting binary.
35073 hardcode_shlibpath_var=$hardcode_shlibpath_var
35074
35075 # Set to "yes" if building a shared library automatically hardcodes DIR
35076 # into the library and all subsequent libraries and executables linked
35077 # against it.
35078 hardcode_automatic=$hardcode_automatic
35079
35080 # Set to yes if linker adds runtime paths of dependent libraries
35081 # to runtime path list.
35082 inherit_rpath=$inherit_rpath
35083
35084 # Whether libtool must link a program against all its dependency libraries.
35085 link_all_deplibs=$link_all_deplibs
35086
35087 # Fix the shell variable \$srcfile for the compiler.
35088 fix_srcfile_path=$lt_fix_srcfile_path
35089
35090 # Set to "yes" if exported symbols are required.
35091 always_export_symbols=$always_export_symbols
35092
35093 # The commands to list exported symbols.
35094 export_symbols_cmds=$lt_export_symbols_cmds
35095
35096 # Symbols that should not be listed in the preloaded symbols.
35097 exclude_expsyms=$lt_exclude_expsyms
35098
35099 # Symbols that must always be exported.
35100 include_expsyms=$lt_include_expsyms
35101
35102 # Commands necessary for linking programs (against libraries) with templates.
35103 prelink_cmds=$lt_prelink_cmds
35104
35105 # Specify filename containing input files.
35106 file_list_spec=$lt_file_list_spec
35107
35108 # How to hardcode a shared library path into an executable.
35109 hardcode_action=$hardcode_action
35110
35111 # Dependencies to place before and after the objects being linked to
35112 # create a shared library.
35113 predep_objects=$lt_predep_objects
35114 postdep_objects=$lt_postdep_objects
35115 predeps=$lt_predeps
35116 postdeps=$lt_postdeps
35117
35118 # The library search path used internally by the compiler when linking
35119 # a shared library.
35120 compiler_lib_search_path=$lt_compiler_lib_search_path
35121
35122 # ### END LIBTOOL CONFIG
35123
35124 _LT_EOF
35125
35126   case $host_os in
35127   aix3*)
35128     cat <<\_LT_EOF >> "$cfgfile"
35129 # AIX sometimes has problems with the GCC collect2 program.  For some
35130 # reason, if we set the COLLECT_NAMES environment variable, the problems
35131 # vanish in a puff of smoke.
35132 if test "X${COLLECT_NAMES+set}" != Xset; then
35133   COLLECT_NAMES=
35134   export COLLECT_NAMES
35135 fi
35136 _LT_EOF
35137     ;;
35138   esac
35139
35140
35141 ltmain="$ac_aux_dir/ltmain.sh"
35142
35143
35144   # We use sed instead of cat because bash on DJGPP gets confused if
35145   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35146   # text mode, it properly converts lines to CR/LF.  This bash problem
35147   # is reportedly fixed, but why not run on old versions too?
35148   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35149     || (rm -f "$cfgfile"; exit 1)
35150
35151   case $xsi_shell in
35152   yes)
35153     cat << \_LT_EOF >> "$cfgfile"
35154 # func_dirname file append nondir_replacement
35155 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35156 # otherwise set result to NONDIR_REPLACEMENT.
35157 func_dirname ()
35158 {
35159   case ${1} in
35160     */*) func_dirname_result="${1%/*}${2}" ;;
35161     *  ) func_dirname_result="${3}" ;;
35162   esac
35163 }
35164
35165 # func_basename file
35166 func_basename ()
35167 {
35168   func_basename_result="${1##*/}"
35169 }
35170
35171 # func_stripname prefix suffix name
35172 # strip PREFIX and SUFFIX off of NAME.
35173 # PREFIX and SUFFIX must not contain globbing or regex special
35174 # characters, hashes, percent signs, but SUFFIX may contain a leading
35175 # dot (in which case that matches only a dot).
35176 func_stripname ()
35177 {
35178   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35179   # positional parameters, so assign one to ordinary parameter first.
35180   func_stripname_result=${3}
35181   func_stripname_result=${func_stripname_result#"${1}"}
35182   func_stripname_result=${func_stripname_result%"${2}"}
35183 }
35184
35185 # func_opt_split
35186 func_opt_split ()
35187 {
35188   func_opt_split_opt=${1%%=*}
35189   func_opt_split_arg=${1#*=}
35190 }
35191
35192 # func_lo2o object
35193 func_lo2o ()
35194 {
35195   case ${1} in
35196     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35197     *)    func_lo2o_result=${1} ;;
35198   esac
35199 }
35200 _LT_EOF
35201     ;;
35202   *) # Bourne compatible functions.
35203     cat << \_LT_EOF >> "$cfgfile"
35204 # func_dirname file append nondir_replacement
35205 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35206 # otherwise set result to NONDIR_REPLACEMENT.
35207 func_dirname ()
35208 {
35209   # Extract subdirectory from the argument.
35210   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35211   if test "X$func_dirname_result" = "X${1}"; then
35212     func_dirname_result="${3}"
35213   else
35214     func_dirname_result="$func_dirname_result${2}"
35215   fi
35216 }
35217
35218 # func_basename file
35219 func_basename ()
35220 {
35221   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35222 }
35223
35224 # func_stripname prefix suffix name
35225 # strip PREFIX and SUFFIX off of NAME.
35226 # PREFIX and SUFFIX must not contain globbing or regex special
35227 # characters, hashes, percent signs, but SUFFIX may contain a leading
35228 # dot (in which case that matches only a dot).
35229 # func_strip_suffix prefix name
35230 func_stripname ()
35231 {
35232   case ${2} in
35233     .*) func_stripname_result=`$ECHO "X${3}" \
35234            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35235     *)  func_stripname_result=`$ECHO "X${3}" \
35236            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35237   esac
35238 }
35239
35240 # sed scripts:
35241 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35242 my_sed_long_arg='1s/^-[^=]*=//'
35243
35244 # func_opt_split
35245 func_opt_split ()
35246 {
35247   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35248   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35249 }
35250
35251 # func_lo2o object
35252 func_lo2o ()
35253 {
35254   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35255 }
35256 _LT_EOF
35257 esac
35258
35259 case $lt_shell_append in
35260   yes)
35261     cat << \_LT_EOF >> "$cfgfile"
35262
35263 # func_append var value
35264 # Append VALUE to the end of shell variable VAR.
35265 func_append ()
35266 {
35267   eval "$1+=\$2"
35268 }
35269 _LT_EOF
35270     ;;
35271   *)
35272     cat << \_LT_EOF >> "$cfgfile"
35273
35274 # func_append var value
35275 # Append VALUE to the end of shell variable VAR.
35276 func_append ()
35277 {
35278   eval "$1=\$$1\$2"
35279 }
35280 _LT_EOF
35281     ;;
35282   esac
35283
35284
35285   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35286     || (rm -f "$cfgfile"; exit 1)
35287
35288   mv -f "$cfgfile" "$ofile" ||
35289     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35290   chmod +x "$ofile"
35291
35292
35293     cat <<_LT_EOF >> "$ofile"
35294
35295 # ### BEGIN LIBTOOL TAG CONFIG: FC
35296
35297 # The linker used to build libraries.
35298 LD=$lt_LD_FC
35299
35300 # Commands used to build an old-style archive.
35301 old_archive_cmds=$lt_old_archive_cmds_FC
35302
35303 # A language specific compiler.
35304 CC=$lt_compiler_FC
35305
35306 # Is the compiler the GNU compiler?
35307 with_gcc=$GCC_FC
35308
35309 # Compiler flag to turn off builtin functions.
35310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35311
35312 # How to pass a linker flag through the compiler.
35313 wl=$lt_lt_prog_compiler_wl_FC
35314
35315 # Additional compiler flags for building library objects.
35316 pic_flag=$lt_lt_prog_compiler_pic_FC
35317
35318 # Compiler flag to prevent dynamic linking.
35319 link_static_flag=$lt_lt_prog_compiler_static_FC
35320
35321 # Does compiler simultaneously support -c and -o options?
35322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35323
35324 # Whether or not to add -lc for building shared libraries.
35325 build_libtool_need_lc=$archive_cmds_need_lc_FC
35326
35327 # Whether or not to disallow shared libs when runtime libs are static.
35328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35329
35330 # Compiler flag to allow reflexive dlopens.
35331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35332
35333 # Compiler flag to generate shared objects directly from archives.
35334 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35335
35336 # Whether the compiler copes with passing no objects directly.
35337 compiler_needs_object=$lt_compiler_needs_object_FC
35338
35339 # Create an old-style archive from a shared archive.
35340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35341
35342 # Create a temporary old-style archive to link instead of a shared archive.
35343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35344
35345 # Commands used to build a shared archive.
35346 archive_cmds=$lt_archive_cmds_FC
35347 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35348
35349 # Commands used to build a loadable module if different from building
35350 # a shared archive.
35351 module_cmds=$lt_module_cmds_FC
35352 module_expsym_cmds=$lt_module_expsym_cmds_FC
35353
35354 # Whether we are building with GNU ld or not.
35355 with_gnu_ld=$lt_with_gnu_ld_FC
35356
35357 # Flag that allows shared libraries with undefined symbols to be built.
35358 allow_undefined_flag=$lt_allow_undefined_flag_FC
35359
35360 # Flag that enforces no undefined symbols.
35361 no_undefined_flag=$lt_no_undefined_flag_FC
35362
35363 # Flag to hardcode \$libdir into a binary during linking.
35364 # This must work even if \$libdir does not exist
35365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35366
35367 # If ld is used when linking, flag to hardcode \$libdir into a binary
35368 # during linking.  This must work even if \$libdir does not exist.
35369 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35370
35371 # Whether we need a single "-rpath" flag with a separated argument.
35372 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35373
35374 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35375 # DIR into the resulting binary.
35376 hardcode_direct=$hardcode_direct_FC
35377
35378 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35379 # DIR into the resulting binary and the resulting library dependency is
35380 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35381 # library is relocated.
35382 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35383
35384 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35385 # into the resulting binary.
35386 hardcode_minus_L=$hardcode_minus_L_FC
35387
35388 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35389 # into the resulting binary.
35390 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35391
35392 # Set to "yes" if building a shared library automatically hardcodes DIR
35393 # into the library and all subsequent libraries and executables linked
35394 # against it.
35395 hardcode_automatic=$hardcode_automatic_FC
35396
35397 # Set to yes if linker adds runtime paths of dependent libraries
35398 # to runtime path list.
35399 inherit_rpath=$inherit_rpath_FC
35400
35401 # Whether libtool must link a program against all its dependency libraries.
35402 link_all_deplibs=$link_all_deplibs_FC
35403
35404 # Fix the shell variable \$srcfile for the compiler.
35405 fix_srcfile_path=$lt_fix_srcfile_path_FC
35406
35407 # Set to "yes" if exported symbols are required.
35408 always_export_symbols=$always_export_symbols_FC
35409
35410 # The commands to list exported symbols.
35411 export_symbols_cmds=$lt_export_symbols_cmds_FC
35412
35413 # Symbols that should not be listed in the preloaded symbols.
35414 exclude_expsyms=$lt_exclude_expsyms_FC
35415
35416 # Symbols that must always be exported.
35417 include_expsyms=$lt_include_expsyms_FC
35418
35419 # Commands necessary for linking programs (against libraries) with templates.
35420 prelink_cmds=$lt_prelink_cmds_FC
35421
35422 # Specify filename containing input files.
35423 file_list_spec=$lt_file_list_spec_FC
35424
35425 # How to hardcode a shared library path into an executable.
35426 hardcode_action=$hardcode_action_FC
35427
35428 # Dependencies to place before and after the objects being linked to
35429 # create a shared library.
35430 predep_objects=$lt_predep_objects_FC
35431 postdep_objects=$lt_postdep_objects_FC
35432 predeps=$lt_predeps_FC
35433 postdeps=$lt_postdeps_FC
35434
35435 # The library search path used internally by the compiler when linking
35436 # a shared library.
35437 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35438
35439 # ### END LIBTOOL TAG CONFIG: FC
35440 _LT_EOF
35441
35442  ;;
35443     gstdint.h )
35444 if test "$GCC" = yes; then
35445   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35446 else
35447   echo "/* generated for $CC */" > tmp-stdint.h
35448 fi
35449
35450 sed 's/^ *//' >> tmp-stdint.h <<EOF
35451
35452   #ifndef GCC_GENERATED_STDINT_H
35453   #define GCC_GENERATED_STDINT_H 1
35454
35455   #include <sys/types.h>
35456 EOF
35457
35458 if test "$acx_cv_header_stdint" != stdint.h; then
35459   echo "#include <stddef.h>" >> tmp-stdint.h
35460 fi
35461 if test "$acx_cv_header_stdint" != stddef.h; then
35462   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35463 fi
35464
35465 sed 's/^ *//' >> tmp-stdint.h <<EOF
35466   /* glibc uses these symbols as guards to prevent redefinitions.  */
35467   #ifdef __int8_t_defined
35468   #define _INT8_T
35469   #define _INT16_T
35470   #define _INT32_T
35471   #endif
35472   #ifdef __uint32_t_defined
35473   #define _UINT32_T
35474   #endif
35475
35476 EOF
35477
35478 # ----------------- done header, emit basic int types -------------
35479 if test "$acx_cv_header_stdint" = stddef.h; then
35480   sed 's/^ *//' >> tmp-stdint.h <<EOF
35481
35482     #ifndef _UINT8_T
35483     #define _UINT8_T
35484     #ifndef __uint8_t_defined
35485     #define __uint8_t_defined
35486     typedef unsigned $acx_cv_type_int8_t uint8_t;
35487     #endif
35488     #endif
35489
35490     #ifndef _UINT16_T
35491     #define _UINT16_T
35492     #ifndef __uint16_t_defined
35493     #define __uint16_t_defined
35494     typedef unsigned $acx_cv_type_int16_t uint16_t;
35495     #endif
35496     #endif
35497
35498     #ifndef _UINT32_T
35499     #define _UINT32_T
35500     #ifndef __uint32_t_defined
35501     #define __uint32_t_defined
35502     typedef unsigned $acx_cv_type_int32_t uint32_t;
35503     #endif
35504     #endif
35505
35506     #ifndef _INT8_T
35507     #define _INT8_T
35508     #ifndef __int8_t_defined
35509     #define __int8_t_defined
35510     typedef $acx_cv_type_int8_t int8_t;
35511     #endif
35512     #endif
35513
35514     #ifndef _INT16_T
35515     #define _INT16_T
35516     #ifndef __int16_t_defined
35517     #define __int16_t_defined
35518     typedef $acx_cv_type_int16_t int16_t;
35519     #endif
35520     #endif
35521
35522     #ifndef _INT32_T
35523     #define _INT32_T
35524     #ifndef __int32_t_defined
35525     #define __int32_t_defined
35526     typedef $acx_cv_type_int32_t int32_t;
35527     #endif
35528     #endif
35529 EOF
35530 elif test "$ac_cv_type_u_int32_t" = yes; then
35531   sed 's/^ *//' >> tmp-stdint.h <<EOF
35532
35533     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35534     #ifndef _INT8_T
35535     #define _INT8_T
35536     #endif
35537     #ifndef _INT16_T
35538     #define _INT16_T
35539     #endif
35540     #ifndef _INT32_T
35541     #define _INT32_T
35542     #endif
35543
35544     #ifndef _UINT8_T
35545     #define _UINT8_T
35546     #ifndef __uint8_t_defined
35547     #define __uint8_t_defined
35548     typedef u_int8_t uint8_t;
35549     #endif
35550     #endif
35551
35552     #ifndef _UINT16_T
35553     #define _UINT16_T
35554     #ifndef __uint16_t_defined
35555     #define __uint16_t_defined
35556     typedef u_int16_t uint16_t;
35557     #endif
35558     #endif
35559
35560     #ifndef _UINT32_T
35561     #define _UINT32_T
35562     #ifndef __uint32_t_defined
35563     #define __uint32_t_defined
35564     typedef u_int32_t uint32_t;
35565     #endif
35566     #endif
35567 EOF
35568 else
35569   sed 's/^ *//' >> tmp-stdint.h <<EOF
35570
35571     /* Some systems have guard macros to prevent redefinitions, define them.  */
35572     #ifndef _INT8_T
35573     #define _INT8_T
35574     #endif
35575     #ifndef _INT16_T
35576     #define _INT16_T
35577     #endif
35578     #ifndef _INT32_T
35579     #define _INT32_T
35580     #endif
35581     #ifndef _UINT8_T
35582     #define _UINT8_T
35583     #endif
35584     #ifndef _UINT16_T
35585     #define _UINT16_T
35586     #endif
35587     #ifndef _UINT32_T
35588     #define _UINT32_T
35589     #endif
35590 EOF
35591 fi
35592
35593 # ------------- done basic int types, emit int64_t types ------------
35594 if test "$ac_cv_type_uint64_t" = yes; then
35595   sed 's/^ *//' >> tmp-stdint.h <<EOF
35596
35597     /* system headers have good uint64_t and int64_t */
35598     #ifndef _INT64_T
35599     #define _INT64_T
35600     #endif
35601     #ifndef _UINT64_T
35602     #define _UINT64_T
35603     #endif
35604 EOF
35605 elif test "$ac_cv_type_u_int64_t" = yes; then
35606   sed 's/^ *//' >> tmp-stdint.h <<EOF
35607
35608     /* system headers have an u_int64_t (and int64_t) */
35609     #ifndef _INT64_T
35610     #define _INT64_T
35611     #endif
35612     #ifndef _UINT64_T
35613     #define _UINT64_T
35614     #ifndef __uint64_t_defined
35615     #define __uint64_t_defined
35616     typedef u_int64_t uint64_t;
35617     #endif
35618     #endif
35619 EOF
35620 elif test -n "$acx_cv_type_int64_t"; then
35621   sed 's/^ *//' >> tmp-stdint.h <<EOF
35622
35623     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
35624     #ifndef _INT64_T
35625     #define _INT64_T
35626     typedef $acx_cv_type_int64_t int64_t;
35627     #endif
35628     #ifndef _UINT64_T
35629     #define _UINT64_T
35630     #ifndef __uint64_t_defined
35631     #define __uint64_t_defined
35632     typedef unsigned $acx_cv_type_int64_t uint64_t;
35633     #endif
35634     #endif
35635 EOF
35636 else
35637   sed 's/^ *//' >> tmp-stdint.h <<EOF
35638
35639     /* some common heuristics for int64_t, using compiler-specific tests */
35640     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
35641     #ifndef _INT64_T
35642     #define _INT64_T
35643     #ifndef __int64_t_defined
35644     typedef long long int64_t;
35645     #endif
35646     #endif
35647     #ifndef _UINT64_T
35648     #define _UINT64_T
35649     typedef unsigned long long uint64_t;
35650     #endif
35651
35652     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
35653     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
35654        does not implement __extension__.  But that compiler doesn't define
35655        __GNUC_MINOR__.  */
35656     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
35657     # define __extension__
35658     # endif
35659
35660     # ifndef _INT64_T
35661     # define _INT64_T
35662     __extension__ typedef long long int64_t;
35663     # endif
35664     # ifndef _UINT64_T
35665     # define _UINT64_T
35666     __extension__ typedef unsigned long long uint64_t;
35667     # endif
35668
35669     #elif !defined __STRICT_ANSI__
35670     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35671
35672     #  ifndef _INT64_T
35673     #  define _INT64_T
35674     typedef __int64 int64_t;
35675     #  endif
35676     #  ifndef _UINT64_T
35677     #  define _UINT64_T
35678     typedef unsigned __int64 uint64_t;
35679     #  endif
35680     # endif /* compiler */
35681
35682     #endif /* ANSI version */
35683 EOF
35684 fi
35685
35686 # ------------- done int64_t types, emit intptr types ------------
35687 if test "$ac_cv_type_uintptr_t" != yes; then
35688   sed 's/^ *//' >> tmp-stdint.h <<EOF
35689
35690     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
35691     #ifndef __uintptr_t_defined
35692     typedef u$acx_cv_type_intptr_t uintptr_t;
35693     #endif
35694     #ifndef __intptr_t_defined
35695     typedef $acx_cv_type_intptr_t  intptr_t;
35696     #endif
35697 EOF
35698 fi
35699
35700 # ------------- done intptr types, emit int_least types ------------
35701 if test "$ac_cv_type_int_least32_t" != yes; then
35702   sed 's/^ *//' >> tmp-stdint.h <<EOF
35703
35704     /* Define int_least types */
35705     typedef int8_t     int_least8_t;
35706     typedef int16_t    int_least16_t;
35707     typedef int32_t    int_least32_t;
35708     #ifdef _INT64_T
35709     typedef int64_t    int_least64_t;
35710     #endif
35711
35712     typedef uint8_t    uint_least8_t;
35713     typedef uint16_t   uint_least16_t;
35714     typedef uint32_t   uint_least32_t;
35715     #ifdef _UINT64_T
35716     typedef uint64_t   uint_least64_t;
35717     #endif
35718 EOF
35719 fi
35720
35721 # ------------- done intptr types, emit int_fast types ------------
35722 if test "$ac_cv_type_int_fast32_t" != yes; then
35723       sed 's/^ *//' >> tmp-stdint.h <<EOF
35724
35725     /* Define int_fast types.  short is often slow */
35726     typedef int8_t       int_fast8_t;
35727     typedef int          int_fast16_t;
35728     typedef int32_t      int_fast32_t;
35729     #ifdef _INT64_T
35730     typedef int64_t      int_fast64_t;
35731     #endif
35732
35733     typedef uint8_t      uint_fast8_t;
35734     typedef unsigned int uint_fast16_t;
35735     typedef uint32_t     uint_fast32_t;
35736     #ifdef _UINT64_T
35737     typedef uint64_t     uint_fast64_t;
35738     #endif
35739 EOF
35740 fi
35741
35742 if test "$ac_cv_type_uintmax_t" != yes; then
35743   sed 's/^ *//' >> tmp-stdint.h <<EOF
35744
35745     /* Define intmax based on what we found */
35746     #ifdef _INT64_T
35747     typedef int64_t       intmax_t;
35748     #else
35749     typedef long          intmax_t;
35750     #endif
35751     #ifdef _UINT64_T
35752     typedef uint64_t      uintmax_t;
35753     #else
35754     typedef unsigned long uintmax_t;
35755     #endif
35756 EOF
35757 fi
35758
35759 sed 's/^ *//' >> tmp-stdint.h <<EOF
35760
35761   #endif /* GCC_GENERATED_STDINT_H */
35762 EOF
35763
35764 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
35765   rm -f tmp-stdint.h
35766 else
35767   mv -f tmp-stdint.h gstdint.h
35768 fi
35769
35770  ;;
35771   esac
35772 done
35773 _ACEOF
35774
35775 cat >>$CONFIG_STATUS <<\_ACEOF
35776
35777 { (exit 0); exit 0; }
35778 _ACEOF
35779 chmod +x $CONFIG_STATUS
35780 ac_clean_files=$ac_clean_files_save
35781
35782
35783 # configure is writing to config.log, and then calls config.status.
35784 # config.status does its own redirection, appending to config.log.
35785 # Unfortunately, on DOS this fails, as config.log is still kept open
35786 # by configure, so config.status won't be able to write to it; its
35787 # output is simply discarded.  So we exec the FD to /dev/null,
35788 # effectively closing config.log, so it can be properly (re)opened and
35789 # appended to by config.status.  When coming back to configure, we
35790 # need to make the FD available again.
35791 if test "$no_create" != yes; then
35792   ac_cs_success=:
35793   ac_config_status_args=
35794   test "$silent" = yes &&
35795     ac_config_status_args="$ac_config_status_args --quiet"
35796   exec 5>/dev/null
35797   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35798   exec 5>>config.log
35799   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35800   # would make configure fail if this is the last instruction.
35801   $ac_cs_success || { (exit 1); exit 1; }
35802 fi
35803