OSDN Git Service

PR fortran/31202
[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 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf
18485 do
18486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18487 echo "$as_me:$LINENO: checking for $ac_func" >&5
18488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18489 if eval "test \"\${$as_ac_var+set}\" = set"; then
18490   echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492   if test x$gcc_no_link = xyes; then
18493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18495    { (exit 1); exit 1; }; }
18496 fi
18497 cat >conftest.$ac_ext <<_ACEOF
18498 /* confdefs.h.  */
18499 _ACEOF
18500 cat confdefs.h >>conftest.$ac_ext
18501 cat >>conftest.$ac_ext <<_ACEOF
18502 /* end confdefs.h.  */
18503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18505 #define $ac_func innocuous_$ac_func
18506
18507 /* System header to define __stub macros and hopefully few prototypes,
18508     which can conflict with char $ac_func (); below.
18509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18510     <limits.h> exists even on freestanding compilers.  */
18511
18512 #ifdef __STDC__
18513 # include <limits.h>
18514 #else
18515 # include <assert.h>
18516 #endif
18517
18518 #undef $ac_func
18519
18520 /* Override any gcc2 internal prototype to avoid an error.  */
18521 #ifdef __cplusplus
18522 extern "C"
18523 {
18524 #endif
18525 /* We use char because int might match the return type of a gcc2
18526    builtin and then its argument prototype would still apply.  */
18527 char $ac_func ();
18528 /* The GNU C library defines this for functions which it implements
18529     to always fail with ENOSYS.  Some functions are actually named
18530     something starting with __ and the normal name is an alias.  */
18531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18532 choke me
18533 #else
18534 char (*f) () = $ac_func;
18535 #endif
18536 #ifdef __cplusplus
18537 }
18538 #endif
18539
18540 int
18541 main ()
18542 {
18543 return f != $ac_func;
18544   ;
18545   return 0;
18546 }
18547 _ACEOF
18548 rm -f conftest.$ac_objext conftest$ac_exeext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18550   (eval $ac_link) 2>conftest.er1
18551   ac_status=$?
18552   grep -v '^ *+' conftest.er1 >conftest.err
18553   rm -f conftest.er1
18554   cat conftest.err >&5
18555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556   (exit $ac_status); } &&
18557          { ac_try='test -z "$ac_c_werror_flag"
18558                          || test ! -s conftest.err'
18559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560   (eval $ac_try) 2>&5
18561   ac_status=$?
18562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563   (exit $ac_status); }; } &&
18564          { ac_try='test -s conftest$ac_exeext'
18565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566   (eval $ac_try) 2>&5
18567   ac_status=$?
18568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569   (exit $ac_status); }; }; then
18570   eval "$as_ac_var=yes"
18571 else
18572   echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.$ac_ext >&5
18574
18575 eval "$as_ac_var=no"
18576 fi
18577 rm -f conftest.err conftest.$ac_objext \
18578       conftest$ac_exeext conftest.$ac_ext
18579 fi
18580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18582 if test `eval echo '${'$as_ac_var'}'` = yes; then
18583   cat >>confdefs.h <<_ACEOF
18584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18585 _ACEOF
18586
18587 fi
18588 done
18589
18590
18591 # Check for glibc backtrace functions
18592
18593
18594 for ac_func in backtrace backtrace_symbols
18595 do
18596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18597 echo "$as_me:$LINENO: checking for $ac_func" >&5
18598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18599 if eval "test \"\${$as_ac_var+set}\" = set"; then
18600   echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602   if test x$gcc_no_link = xyes; then
18603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605    { (exit 1); exit 1; }; }
18606 fi
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h.  */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h.  */
18613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18615 #define $ac_func innocuous_$ac_func
18616
18617 /* System header to define __stub macros and hopefully few prototypes,
18618     which can conflict with char $ac_func (); below.
18619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18620     <limits.h> exists even on freestanding compilers.  */
18621
18622 #ifdef __STDC__
18623 # include <limits.h>
18624 #else
18625 # include <assert.h>
18626 #endif
18627
18628 #undef $ac_func
18629
18630 /* Override any gcc2 internal prototype to avoid an error.  */
18631 #ifdef __cplusplus
18632 extern "C"
18633 {
18634 #endif
18635 /* We use char because int might match the return type of a gcc2
18636    builtin and then its argument prototype would still apply.  */
18637 char $ac_func ();
18638 /* The GNU C library defines this for functions which it implements
18639     to always fail with ENOSYS.  Some functions are actually named
18640     something starting with __ and the normal name is an alias.  */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18642 choke me
18643 #else
18644 char (*f) () = $ac_func;
18645 #endif
18646 #ifdef __cplusplus
18647 }
18648 #endif
18649
18650 int
18651 main ()
18652 {
18653 return f != $ac_func;
18654   ;
18655   return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext conftest$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660   (eval $ac_link) 2>conftest.er1
18661   ac_status=$?
18662   grep -v '^ *+' conftest.er1 >conftest.err
18663   rm -f conftest.er1
18664   cat conftest.err >&5
18665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666   (exit $ac_status); } &&
18667          { ac_try='test -z "$ac_c_werror_flag"
18668                          || test ! -s conftest.err'
18669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670   (eval $ac_try) 2>&5
18671   ac_status=$?
18672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673   (exit $ac_status); }; } &&
18674          { ac_try='test -s conftest$ac_exeext'
18675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676   (eval $ac_try) 2>&5
18677   ac_status=$?
18678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679   (exit $ac_status); }; }; then
18680   eval "$as_ac_var=yes"
18681 else
18682   echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 eval "$as_ac_var=no"
18686 fi
18687 rm -f conftest.err conftest.$ac_objext \
18688       conftest$ac_exeext conftest.$ac_ext
18689 fi
18690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18692 if test `eval echo '${'$as_ac_var'}'` = yes; then
18693   cat >>confdefs.h <<_ACEOF
18694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18695 _ACEOF
18696
18697 fi
18698 done
18699
18700
18701 # Check for types
18702 echo "$as_me:$LINENO: checking for intptr_t" >&5
18703 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18704 if test "${ac_cv_type_intptr_t+set}" = set; then
18705   echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707   cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h.  */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h.  */
18713 $ac_includes_default
18714 int
18715 main ()
18716 {
18717 if ((intptr_t *) 0)
18718   return 0;
18719 if (sizeof (intptr_t))
18720   return 0;
18721   ;
18722   return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727   (eval $ac_compile) 2>conftest.er1
18728   ac_status=$?
18729   grep -v '^ *+' conftest.er1 >conftest.err
18730   rm -f conftest.er1
18731   cat conftest.err >&5
18732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733   (exit $ac_status); } &&
18734          { ac_try='test -z "$ac_c_werror_flag"
18735                          || test ! -s conftest.err'
18736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737   (eval $ac_try) 2>&5
18738   ac_status=$?
18739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740   (exit $ac_status); }; } &&
18741          { ac_try='test -s conftest.$ac_objext'
18742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743   (eval $ac_try) 2>&5
18744   ac_status=$?
18745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746   (exit $ac_status); }; }; then
18747   ac_cv_type_intptr_t=yes
18748 else
18749   echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18751
18752 ac_cv_type_intptr_t=no
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 fi
18756 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18757 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18758 if test $ac_cv_type_intptr_t = yes; then
18759
18760 cat >>confdefs.h <<_ACEOF
18761 #define HAVE_INTPTR_T 1
18762 _ACEOF
18763
18764
18765 fi
18766
18767
18768 # Check libc for getgid, getpid, getuid
18769 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18770 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18771 if test "${ac_cv_lib_c_getgid+set}" = set; then
18772   echo $ECHO_N "(cached) $ECHO_C" >&6
18773 else
18774   ac_check_lib_save_LIBS=$LIBS
18775 LIBS="-lc  $LIBS"
18776 if test x$gcc_no_link = xyes; then
18777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18779    { (exit 1); exit 1; }; }
18780 fi
18781 cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h.  */
18783 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h.  */
18787
18788 /* Override any gcc2 internal prototype to avoid an error.  */
18789 #ifdef __cplusplus
18790 extern "C"
18791 #endif
18792 /* We use char because int might match the return type of a gcc2
18793    builtin and then its argument prototype would still apply.  */
18794 char getgid ();
18795 int
18796 main ()
18797 {
18798 getgid ();
18799   ;
18800   return 0;
18801 }
18802 _ACEOF
18803 rm -f conftest.$ac_objext conftest$ac_exeext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18805   (eval $ac_link) 2>conftest.er1
18806   ac_status=$?
18807   grep -v '^ *+' conftest.er1 >conftest.err
18808   rm -f conftest.er1
18809   cat conftest.err >&5
18810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811   (exit $ac_status); } &&
18812          { ac_try='test -z "$ac_c_werror_flag"
18813                          || test ! -s conftest.err'
18814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815   (eval $ac_try) 2>&5
18816   ac_status=$?
18817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818   (exit $ac_status); }; } &&
18819          { ac_try='test -s conftest$ac_exeext'
18820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821   (eval $ac_try) 2>&5
18822   ac_status=$?
18823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824   (exit $ac_status); }; }; then
18825   ac_cv_lib_c_getgid=yes
18826 else
18827   echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 ac_cv_lib_c_getgid=no
18831 fi
18832 rm -f conftest.err conftest.$ac_objext \
18833       conftest$ac_exeext conftest.$ac_ext
18834 LIBS=$ac_check_lib_save_LIBS
18835 fi
18836 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18837 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18838 if test $ac_cv_lib_c_getgid = yes; then
18839
18840 cat >>confdefs.h <<\_ACEOF
18841 #define HAVE_GETGID 1
18842 _ACEOF
18843
18844 fi
18845
18846 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18847 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18848 if test "${ac_cv_lib_c_getpid+set}" = set; then
18849   echo $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851   ac_check_lib_save_LIBS=$LIBS
18852 LIBS="-lc  $LIBS"
18853 if test x$gcc_no_link = xyes; then
18854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18856    { (exit 1); exit 1; }; }
18857 fi
18858 cat >conftest.$ac_ext <<_ACEOF
18859 /* confdefs.h.  */
18860 _ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h.  */
18864
18865 /* Override any gcc2 internal prototype to avoid an error.  */
18866 #ifdef __cplusplus
18867 extern "C"
18868 #endif
18869 /* We use char because int might match the return type of a gcc2
18870    builtin and then its argument prototype would still apply.  */
18871 char getpid ();
18872 int
18873 main ()
18874 {
18875 getpid ();
18876   ;
18877   return 0;
18878 }
18879 _ACEOF
18880 rm -f conftest.$ac_objext conftest$ac_exeext
18881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18882   (eval $ac_link) 2>conftest.er1
18883   ac_status=$?
18884   grep -v '^ *+' conftest.er1 >conftest.err
18885   rm -f conftest.er1
18886   cat conftest.err >&5
18887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888   (exit $ac_status); } &&
18889          { ac_try='test -z "$ac_c_werror_flag"
18890                          || test ! -s conftest.err'
18891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892   (eval $ac_try) 2>&5
18893   ac_status=$?
18894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895   (exit $ac_status); }; } &&
18896          { ac_try='test -s conftest$ac_exeext'
18897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898   (eval $ac_try) 2>&5
18899   ac_status=$?
18900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901   (exit $ac_status); }; }; then
18902   ac_cv_lib_c_getpid=yes
18903 else
18904   echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18906
18907 ac_cv_lib_c_getpid=no
18908 fi
18909 rm -f conftest.err conftest.$ac_objext \
18910       conftest$ac_exeext conftest.$ac_ext
18911 LIBS=$ac_check_lib_save_LIBS
18912 fi
18913 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18914 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18915 if test $ac_cv_lib_c_getpid = yes; then
18916
18917 cat >>confdefs.h <<\_ACEOF
18918 #define HAVE_GETPID 1
18919 _ACEOF
18920
18921 fi
18922
18923 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18924 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18925 if test "${ac_cv_lib_c_getppid+set}" = set; then
18926   echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928   ac_check_lib_save_LIBS=$LIBS
18929 LIBS="-lc  $LIBS"
18930 if test x$gcc_no_link = xyes; then
18931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18933    { (exit 1); exit 1; }; }
18934 fi
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h.  */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h.  */
18941
18942 /* Override any gcc2 internal prototype to avoid an error.  */
18943 #ifdef __cplusplus
18944 extern "C"
18945 #endif
18946 /* We use char because int might match the return type of a gcc2
18947    builtin and then its argument prototype would still apply.  */
18948 char getppid ();
18949 int
18950 main ()
18951 {
18952 getppid ();
18953   ;
18954   return 0;
18955 }
18956 _ACEOF
18957 rm -f conftest.$ac_objext conftest$ac_exeext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18959   (eval $ac_link) 2>conftest.er1
18960   ac_status=$?
18961   grep -v '^ *+' conftest.er1 >conftest.err
18962   rm -f conftest.er1
18963   cat conftest.err >&5
18964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965   (exit $ac_status); } &&
18966          { ac_try='test -z "$ac_c_werror_flag"
18967                          || test ! -s conftest.err'
18968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969   (eval $ac_try) 2>&5
18970   ac_status=$?
18971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972   (exit $ac_status); }; } &&
18973          { ac_try='test -s conftest$ac_exeext'
18974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975   (eval $ac_try) 2>&5
18976   ac_status=$?
18977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978   (exit $ac_status); }; }; then
18979   ac_cv_lib_c_getppid=yes
18980 else
18981   echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ac_cv_lib_c_getppid=no
18985 fi
18986 rm -f conftest.err conftest.$ac_objext \
18987       conftest$ac_exeext conftest.$ac_ext
18988 LIBS=$ac_check_lib_save_LIBS
18989 fi
18990 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
18991 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
18992 if test $ac_cv_lib_c_getppid = yes; then
18993
18994 cat >>confdefs.h <<\_ACEOF
18995 #define HAVE_GETPPID 1
18996 _ACEOF
18997
18998 fi
18999
19000 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19001 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19002 if test "${ac_cv_lib_c_getuid+set}" = set; then
19003   echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else
19005   ac_check_lib_save_LIBS=$LIBS
19006 LIBS="-lc  $LIBS"
19007 if test x$gcc_no_link = xyes; then
19008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19010    { (exit 1); exit 1; }; }
19011 fi
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h.  */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h.  */
19018
19019 /* Override any gcc2 internal prototype to avoid an error.  */
19020 #ifdef __cplusplus
19021 extern "C"
19022 #endif
19023 /* We use char because int might match the return type of a gcc2
19024    builtin and then its argument prototype would still apply.  */
19025 char getuid ();
19026 int
19027 main ()
19028 {
19029 getuid ();
19030   ;
19031   return 0;
19032 }
19033 _ACEOF
19034 rm -f conftest.$ac_objext conftest$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036   (eval $ac_link) 2>conftest.er1
19037   ac_status=$?
19038   grep -v '^ *+' conftest.er1 >conftest.err
19039   rm -f conftest.er1
19040   cat conftest.err >&5
19041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042   (exit $ac_status); } &&
19043          { ac_try='test -z "$ac_c_werror_flag"
19044                          || test ! -s conftest.err'
19045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046   (eval $ac_try) 2>&5
19047   ac_status=$?
19048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049   (exit $ac_status); }; } &&
19050          { ac_try='test -s conftest$ac_exeext'
19051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052   (eval $ac_try) 2>&5
19053   ac_status=$?
19054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055   (exit $ac_status); }; }; then
19056   ac_cv_lib_c_getuid=yes
19057 else
19058   echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19060
19061 ac_cv_lib_c_getuid=no
19062 fi
19063 rm -f conftest.err conftest.$ac_objext \
19064       conftest$ac_exeext conftest.$ac_ext
19065 LIBS=$ac_check_lib_save_LIBS
19066 fi
19067 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19068 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19069 if test $ac_cv_lib_c_getuid = yes; then
19070
19071 cat >>confdefs.h <<\_ACEOF
19072 #define HAVE_GETUID 1
19073 _ACEOF
19074
19075 fi
19076
19077 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19078 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19079 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19080   echo $ECHO_N "(cached) $ECHO_C" >&6
19081 else
19082   ac_check_lib_save_LIBS=$LIBS
19083 LIBS="-lc  $LIBS"
19084 if test x$gcc_no_link = xyes; then
19085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19087    { (exit 1); exit 1; }; }
19088 fi
19089 cat >conftest.$ac_ext <<_ACEOF
19090 /* confdefs.h.  */
19091 _ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h.  */
19095
19096 /* Override any gcc2 internal prototype to avoid an error.  */
19097 #ifdef __cplusplus
19098 extern "C"
19099 #endif
19100 /* We use char because int might match the return type of a gcc2
19101    builtin and then its argument prototype would still apply.  */
19102 char geteuid ();
19103 int
19104 main ()
19105 {
19106 geteuid ();
19107   ;
19108   return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext conftest$ac_exeext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19113   (eval $ac_link) 2>conftest.er1
19114   ac_status=$?
19115   grep -v '^ *+' conftest.er1 >conftest.err
19116   rm -f conftest.er1
19117   cat conftest.err >&5
19118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119   (exit $ac_status); } &&
19120          { ac_try='test -z "$ac_c_werror_flag"
19121                          || test ! -s conftest.err'
19122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123   (eval $ac_try) 2>&5
19124   ac_status=$?
19125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126   (exit $ac_status); }; } &&
19127          { ac_try='test -s conftest$ac_exeext'
19128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129   (eval $ac_try) 2>&5
19130   ac_status=$?
19131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132   (exit $ac_status); }; }; then
19133   ac_cv_lib_c_geteuid=yes
19134 else
19135   echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19137
19138 ac_cv_lib_c_geteuid=no
19139 fi
19140 rm -f conftest.err conftest.$ac_objext \
19141       conftest$ac_exeext conftest.$ac_ext
19142 LIBS=$ac_check_lib_save_LIBS
19143 fi
19144 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19145 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19146 if test $ac_cv_lib_c_geteuid = yes; then
19147
19148 cat >>confdefs.h <<\_ACEOF
19149 #define HAVE_GETEUID 1
19150 _ACEOF
19151
19152 fi
19153
19154
19155 # Check for C99 (and other IEEE) math functions
19156 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19157 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19158 if test "${ac_cv_lib_m_acosf+set}" = set; then
19159   echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161   ac_check_lib_save_LIBS=$LIBS
19162 LIBS="-lm  $LIBS"
19163 if test x$gcc_no_link = xyes; then
19164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19166    { (exit 1); exit 1; }; }
19167 fi
19168 cat >conftest.$ac_ext <<_ACEOF
19169 /* confdefs.h.  */
19170 _ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h.  */
19174
19175 /* Override any gcc2 internal prototype to avoid an error.  */
19176 #ifdef __cplusplus
19177 extern "C"
19178 #endif
19179 /* We use char because int might match the return type of a gcc2
19180    builtin and then its argument prototype would still apply.  */
19181 char acosf ();
19182 int
19183 main ()
19184 {
19185 acosf ();
19186   ;
19187   return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext conftest$ac_exeext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19192   (eval $ac_link) 2>conftest.er1
19193   ac_status=$?
19194   grep -v '^ *+' conftest.er1 >conftest.err
19195   rm -f conftest.er1
19196   cat conftest.err >&5
19197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198   (exit $ac_status); } &&
19199          { ac_try='test -z "$ac_c_werror_flag"
19200                          || test ! -s conftest.err'
19201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202   (eval $ac_try) 2>&5
19203   ac_status=$?
19204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205   (exit $ac_status); }; } &&
19206          { ac_try='test -s conftest$ac_exeext'
19207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208   (eval $ac_try) 2>&5
19209   ac_status=$?
19210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211   (exit $ac_status); }; }; then
19212   ac_cv_lib_m_acosf=yes
19213 else
19214   echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 ac_cv_lib_m_acosf=no
19218 fi
19219 rm -f conftest.err conftest.$ac_objext \
19220       conftest$ac_exeext conftest.$ac_ext
19221 LIBS=$ac_check_lib_save_LIBS
19222 fi
19223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19224 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19225 if test $ac_cv_lib_m_acosf = yes; then
19226
19227 cat >>confdefs.h <<\_ACEOF
19228 #define HAVE_ACOSF 1
19229 _ACEOF
19230
19231 fi
19232
19233 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19234 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19235 if test "${ac_cv_lib_m_acos+set}" = set; then
19236   echo $ECHO_N "(cached) $ECHO_C" >&6
19237 else
19238   ac_check_lib_save_LIBS=$LIBS
19239 LIBS="-lm  $LIBS"
19240 if test x$gcc_no_link = xyes; then
19241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19243    { (exit 1); exit 1; }; }
19244 fi
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h.  */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h.  */
19251
19252 /* Override any gcc2 internal prototype to avoid an error.  */
19253 #ifdef __cplusplus
19254 extern "C"
19255 #endif
19256 /* We use char because int might match the return type of a gcc2
19257    builtin and then its argument prototype would still apply.  */
19258 char acos ();
19259 int
19260 main ()
19261 {
19262 acos ();
19263   ;
19264   return 0;
19265 }
19266 _ACEOF
19267 rm -f conftest.$ac_objext conftest$ac_exeext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19269   (eval $ac_link) 2>conftest.er1
19270   ac_status=$?
19271   grep -v '^ *+' conftest.er1 >conftest.err
19272   rm -f conftest.er1
19273   cat conftest.err >&5
19274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275   (exit $ac_status); } &&
19276          { ac_try='test -z "$ac_c_werror_flag"
19277                          || test ! -s conftest.err'
19278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279   (eval $ac_try) 2>&5
19280   ac_status=$?
19281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282   (exit $ac_status); }; } &&
19283          { ac_try='test -s conftest$ac_exeext'
19284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285   (eval $ac_try) 2>&5
19286   ac_status=$?
19287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288   (exit $ac_status); }; }; then
19289   ac_cv_lib_m_acos=yes
19290 else
19291   echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19293
19294 ac_cv_lib_m_acos=no
19295 fi
19296 rm -f conftest.err conftest.$ac_objext \
19297       conftest$ac_exeext conftest.$ac_ext
19298 LIBS=$ac_check_lib_save_LIBS
19299 fi
19300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19301 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19302 if test $ac_cv_lib_m_acos = yes; then
19303
19304 cat >>confdefs.h <<\_ACEOF
19305 #define HAVE_ACOS 1
19306 _ACEOF
19307
19308 fi
19309
19310 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19311 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19312 if test "${ac_cv_lib_m_acosl+set}" = set; then
19313   echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315   ac_check_lib_save_LIBS=$LIBS
19316 LIBS="-lm  $LIBS"
19317 if test x$gcc_no_link = xyes; then
19318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19320    { (exit 1); exit 1; }; }
19321 fi
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h.  */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h.  */
19328
19329 /* Override any gcc2 internal prototype to avoid an error.  */
19330 #ifdef __cplusplus
19331 extern "C"
19332 #endif
19333 /* We use char because int might match the return type of a gcc2
19334    builtin and then its argument prototype would still apply.  */
19335 char acosl ();
19336 int
19337 main ()
19338 {
19339 acosl ();
19340   ;
19341   return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext conftest$ac_exeext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346   (eval $ac_link) 2>conftest.er1
19347   ac_status=$?
19348   grep -v '^ *+' conftest.er1 >conftest.err
19349   rm -f conftest.er1
19350   cat conftest.err >&5
19351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352   (exit $ac_status); } &&
19353          { ac_try='test -z "$ac_c_werror_flag"
19354                          || test ! -s conftest.err'
19355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356   (eval $ac_try) 2>&5
19357   ac_status=$?
19358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359   (exit $ac_status); }; } &&
19360          { ac_try='test -s conftest$ac_exeext'
19361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362   (eval $ac_try) 2>&5
19363   ac_status=$?
19364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365   (exit $ac_status); }; }; then
19366   ac_cv_lib_m_acosl=yes
19367 else
19368   echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19370
19371 ac_cv_lib_m_acosl=no
19372 fi
19373 rm -f conftest.err conftest.$ac_objext \
19374       conftest$ac_exeext conftest.$ac_ext
19375 LIBS=$ac_check_lib_save_LIBS
19376 fi
19377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19378 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19379 if test $ac_cv_lib_m_acosl = yes; then
19380
19381 cat >>confdefs.h <<\_ACEOF
19382 #define HAVE_ACOSL 1
19383 _ACEOF
19384
19385 fi
19386
19387 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19388 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19389 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19390   echo $ECHO_N "(cached) $ECHO_C" >&6
19391 else
19392   ac_check_lib_save_LIBS=$LIBS
19393 LIBS="-lm  $LIBS"
19394 if test x$gcc_no_link = xyes; then
19395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19397    { (exit 1); exit 1; }; }
19398 fi
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h.  */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h.  */
19405
19406 /* Override any gcc2 internal prototype to avoid an error.  */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 /* We use char because int might match the return type of a gcc2
19411    builtin and then its argument prototype would still apply.  */
19412 char acoshf ();
19413 int
19414 main ()
19415 {
19416 acoshf ();
19417   ;
19418   return 0;
19419 }
19420 _ACEOF
19421 rm -f conftest.$ac_objext conftest$ac_exeext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19423   (eval $ac_link) 2>conftest.er1
19424   ac_status=$?
19425   grep -v '^ *+' conftest.er1 >conftest.err
19426   rm -f conftest.er1
19427   cat conftest.err >&5
19428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429   (exit $ac_status); } &&
19430          { ac_try='test -z "$ac_c_werror_flag"
19431                          || test ! -s conftest.err'
19432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433   (eval $ac_try) 2>&5
19434   ac_status=$?
19435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436   (exit $ac_status); }; } &&
19437          { ac_try='test -s conftest$ac_exeext'
19438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439   (eval $ac_try) 2>&5
19440   ac_status=$?
19441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442   (exit $ac_status); }; }; then
19443   ac_cv_lib_m_acoshf=yes
19444 else
19445   echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448 ac_cv_lib_m_acoshf=no
19449 fi
19450 rm -f conftest.err conftest.$ac_objext \
19451       conftest$ac_exeext conftest.$ac_ext
19452 LIBS=$ac_check_lib_save_LIBS
19453 fi
19454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19455 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19456 if test $ac_cv_lib_m_acoshf = yes; then
19457
19458 cat >>confdefs.h <<\_ACEOF
19459 #define HAVE_ACOSHF 1
19460 _ACEOF
19461
19462 fi
19463
19464 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19465 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19466 if test "${ac_cv_lib_m_acosh+set}" = set; then
19467   echo $ECHO_N "(cached) $ECHO_C" >&6
19468 else
19469   ac_check_lib_save_LIBS=$LIBS
19470 LIBS="-lm  $LIBS"
19471 if test x$gcc_no_link = xyes; then
19472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474    { (exit 1); exit 1; }; }
19475 fi
19476 cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h.  */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h.  */
19482
19483 /* Override any gcc2 internal prototype to avoid an error.  */
19484 #ifdef __cplusplus
19485 extern "C"
19486 #endif
19487 /* We use char because int might match the return type of a gcc2
19488    builtin and then its argument prototype would still apply.  */
19489 char acosh ();
19490 int
19491 main ()
19492 {
19493 acosh ();
19494   ;
19495   return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext conftest$ac_exeext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19500   (eval $ac_link) 2>conftest.er1
19501   ac_status=$?
19502   grep -v '^ *+' conftest.er1 >conftest.err
19503   rm -f conftest.er1
19504   cat conftest.err >&5
19505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506   (exit $ac_status); } &&
19507          { ac_try='test -z "$ac_c_werror_flag"
19508                          || test ! -s conftest.err'
19509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510   (eval $ac_try) 2>&5
19511   ac_status=$?
19512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513   (exit $ac_status); }; } &&
19514          { ac_try='test -s conftest$ac_exeext'
19515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516   (eval $ac_try) 2>&5
19517   ac_status=$?
19518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519   (exit $ac_status); }; }; then
19520   ac_cv_lib_m_acosh=yes
19521 else
19522   echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 ac_cv_lib_m_acosh=no
19526 fi
19527 rm -f conftest.err conftest.$ac_objext \
19528       conftest$ac_exeext conftest.$ac_ext
19529 LIBS=$ac_check_lib_save_LIBS
19530 fi
19531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19532 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19533 if test $ac_cv_lib_m_acosh = yes; then
19534
19535 cat >>confdefs.h <<\_ACEOF
19536 #define HAVE_ACOSH 1
19537 _ACEOF
19538
19539 fi
19540
19541 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19542 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19543 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19544   echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546   ac_check_lib_save_LIBS=$LIBS
19547 LIBS="-lm  $LIBS"
19548 if test x$gcc_no_link = xyes; then
19549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19551    { (exit 1); exit 1; }; }
19552 fi
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h.  */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h.  */
19559
19560 /* Override any gcc2 internal prototype to avoid an error.  */
19561 #ifdef __cplusplus
19562 extern "C"
19563 #endif
19564 /* We use char because int might match the return type of a gcc2
19565    builtin and then its argument prototype would still apply.  */
19566 char acoshl ();
19567 int
19568 main ()
19569 {
19570 acoshl ();
19571   ;
19572   return 0;
19573 }
19574 _ACEOF
19575 rm -f conftest.$ac_objext conftest$ac_exeext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19577   (eval $ac_link) 2>conftest.er1
19578   ac_status=$?
19579   grep -v '^ *+' conftest.er1 >conftest.err
19580   rm -f conftest.er1
19581   cat conftest.err >&5
19582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583   (exit $ac_status); } &&
19584          { ac_try='test -z "$ac_c_werror_flag"
19585                          || test ! -s conftest.err'
19586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587   (eval $ac_try) 2>&5
19588   ac_status=$?
19589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590   (exit $ac_status); }; } &&
19591          { ac_try='test -s conftest$ac_exeext'
19592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593   (eval $ac_try) 2>&5
19594   ac_status=$?
19595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596   (exit $ac_status); }; }; then
19597   ac_cv_lib_m_acoshl=yes
19598 else
19599   echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 ac_cv_lib_m_acoshl=no
19603 fi
19604 rm -f conftest.err conftest.$ac_objext \
19605       conftest$ac_exeext conftest.$ac_ext
19606 LIBS=$ac_check_lib_save_LIBS
19607 fi
19608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19609 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19610 if test $ac_cv_lib_m_acoshl = yes; then
19611
19612 cat >>confdefs.h <<\_ACEOF
19613 #define HAVE_ACOSHL 1
19614 _ACEOF
19615
19616 fi
19617
19618 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19619 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19620 if test "${ac_cv_lib_m_asinf+set}" = set; then
19621   echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19623   ac_check_lib_save_LIBS=$LIBS
19624 LIBS="-lm  $LIBS"
19625 if test x$gcc_no_link = xyes; then
19626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19628    { (exit 1); exit 1; }; }
19629 fi
19630 cat >conftest.$ac_ext <<_ACEOF
19631 /* confdefs.h.  */
19632 _ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h.  */
19636
19637 /* Override any gcc2 internal prototype to avoid an error.  */
19638 #ifdef __cplusplus
19639 extern "C"
19640 #endif
19641 /* We use char because int might match the return type of a gcc2
19642    builtin and then its argument prototype would still apply.  */
19643 char asinf ();
19644 int
19645 main ()
19646 {
19647 asinf ();
19648   ;
19649   return 0;
19650 }
19651 _ACEOF
19652 rm -f conftest.$ac_objext conftest$ac_exeext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19654   (eval $ac_link) 2>conftest.er1
19655   ac_status=$?
19656   grep -v '^ *+' conftest.er1 >conftest.err
19657   rm -f conftest.er1
19658   cat conftest.err >&5
19659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660   (exit $ac_status); } &&
19661          { ac_try='test -z "$ac_c_werror_flag"
19662                          || test ! -s conftest.err'
19663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664   (eval $ac_try) 2>&5
19665   ac_status=$?
19666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667   (exit $ac_status); }; } &&
19668          { ac_try='test -s conftest$ac_exeext'
19669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670   (eval $ac_try) 2>&5
19671   ac_status=$?
19672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673   (exit $ac_status); }; }; then
19674   ac_cv_lib_m_asinf=yes
19675 else
19676   echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19678
19679 ac_cv_lib_m_asinf=no
19680 fi
19681 rm -f conftest.err conftest.$ac_objext \
19682       conftest$ac_exeext conftest.$ac_ext
19683 LIBS=$ac_check_lib_save_LIBS
19684 fi
19685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19686 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19687 if test $ac_cv_lib_m_asinf = yes; then
19688
19689 cat >>confdefs.h <<\_ACEOF
19690 #define HAVE_ASINF 1
19691 _ACEOF
19692
19693 fi
19694
19695 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19696 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19697 if test "${ac_cv_lib_m_asin+set}" = set; then
19698   echo $ECHO_N "(cached) $ECHO_C" >&6
19699 else
19700   ac_check_lib_save_LIBS=$LIBS
19701 LIBS="-lm  $LIBS"
19702 if test x$gcc_no_link = xyes; then
19703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19705    { (exit 1); exit 1; }; }
19706 fi
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h.  */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h.  */
19713
19714 /* Override any gcc2 internal prototype to avoid an error.  */
19715 #ifdef __cplusplus
19716 extern "C"
19717 #endif
19718 /* We use char because int might match the return type of a gcc2
19719    builtin and then its argument prototype would still apply.  */
19720 char asin ();
19721 int
19722 main ()
19723 {
19724 asin ();
19725   ;
19726   return 0;
19727 }
19728 _ACEOF
19729 rm -f conftest.$ac_objext conftest$ac_exeext
19730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19731   (eval $ac_link) 2>conftest.er1
19732   ac_status=$?
19733   grep -v '^ *+' conftest.er1 >conftest.err
19734   rm -f conftest.er1
19735   cat conftest.err >&5
19736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737   (exit $ac_status); } &&
19738          { ac_try='test -z "$ac_c_werror_flag"
19739                          || test ! -s conftest.err'
19740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741   (eval $ac_try) 2>&5
19742   ac_status=$?
19743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744   (exit $ac_status); }; } &&
19745          { ac_try='test -s conftest$ac_exeext'
19746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747   (eval $ac_try) 2>&5
19748   ac_status=$?
19749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750   (exit $ac_status); }; }; then
19751   ac_cv_lib_m_asin=yes
19752 else
19753   echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 ac_cv_lib_m_asin=no
19757 fi
19758 rm -f conftest.err conftest.$ac_objext \
19759       conftest$ac_exeext conftest.$ac_ext
19760 LIBS=$ac_check_lib_save_LIBS
19761 fi
19762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19763 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19764 if test $ac_cv_lib_m_asin = yes; then
19765
19766 cat >>confdefs.h <<\_ACEOF
19767 #define HAVE_ASIN 1
19768 _ACEOF
19769
19770 fi
19771
19772 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19773 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19774 if test "${ac_cv_lib_m_asinl+set}" = set; then
19775   echo $ECHO_N "(cached) $ECHO_C" >&6
19776 else
19777   ac_check_lib_save_LIBS=$LIBS
19778 LIBS="-lm  $LIBS"
19779 if test x$gcc_no_link = xyes; then
19780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19782    { (exit 1); exit 1; }; }
19783 fi
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h.  */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h.  */
19790
19791 /* Override any gcc2 internal prototype to avoid an error.  */
19792 #ifdef __cplusplus
19793 extern "C"
19794 #endif
19795 /* We use char because int might match the return type of a gcc2
19796    builtin and then its argument prototype would still apply.  */
19797 char asinl ();
19798 int
19799 main ()
19800 {
19801 asinl ();
19802   ;
19803   return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext conftest$ac_exeext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19808   (eval $ac_link) 2>conftest.er1
19809   ac_status=$?
19810   grep -v '^ *+' conftest.er1 >conftest.err
19811   rm -f conftest.er1
19812   cat conftest.err >&5
19813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814   (exit $ac_status); } &&
19815          { ac_try='test -z "$ac_c_werror_flag"
19816                          || test ! -s conftest.err'
19817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818   (eval $ac_try) 2>&5
19819   ac_status=$?
19820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821   (exit $ac_status); }; } &&
19822          { ac_try='test -s conftest$ac_exeext'
19823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824   (eval $ac_try) 2>&5
19825   ac_status=$?
19826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827   (exit $ac_status); }; }; then
19828   ac_cv_lib_m_asinl=yes
19829 else
19830   echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_cv_lib_m_asinl=no
19834 fi
19835 rm -f conftest.err conftest.$ac_objext \
19836       conftest$ac_exeext conftest.$ac_ext
19837 LIBS=$ac_check_lib_save_LIBS
19838 fi
19839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19840 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19841 if test $ac_cv_lib_m_asinl = yes; then
19842
19843 cat >>confdefs.h <<\_ACEOF
19844 #define HAVE_ASINL 1
19845 _ACEOF
19846
19847 fi
19848
19849 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19850 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19851 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19852   echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854   ac_check_lib_save_LIBS=$LIBS
19855 LIBS="-lm  $LIBS"
19856 if test x$gcc_no_link = xyes; then
19857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19859    { (exit 1); exit 1; }; }
19860 fi
19861 cat >conftest.$ac_ext <<_ACEOF
19862 /* confdefs.h.  */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h.  */
19867
19868 /* Override any gcc2 internal prototype to avoid an error.  */
19869 #ifdef __cplusplus
19870 extern "C"
19871 #endif
19872 /* We use char because int might match the return type of a gcc2
19873    builtin and then its argument prototype would still apply.  */
19874 char asinhf ();
19875 int
19876 main ()
19877 {
19878 asinhf ();
19879   ;
19880   return 0;
19881 }
19882 _ACEOF
19883 rm -f conftest.$ac_objext conftest$ac_exeext
19884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19885   (eval $ac_link) 2>conftest.er1
19886   ac_status=$?
19887   grep -v '^ *+' conftest.er1 >conftest.err
19888   rm -f conftest.er1
19889   cat conftest.err >&5
19890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891   (exit $ac_status); } &&
19892          { ac_try='test -z "$ac_c_werror_flag"
19893                          || test ! -s conftest.err'
19894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895   (eval $ac_try) 2>&5
19896   ac_status=$?
19897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898   (exit $ac_status); }; } &&
19899          { ac_try='test -s conftest$ac_exeext'
19900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901   (eval $ac_try) 2>&5
19902   ac_status=$?
19903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904   (exit $ac_status); }; }; then
19905   ac_cv_lib_m_asinhf=yes
19906 else
19907   echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19909
19910 ac_cv_lib_m_asinhf=no
19911 fi
19912 rm -f conftest.err conftest.$ac_objext \
19913       conftest$ac_exeext conftest.$ac_ext
19914 LIBS=$ac_check_lib_save_LIBS
19915 fi
19916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19917 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19918 if test $ac_cv_lib_m_asinhf = yes; then
19919
19920 cat >>confdefs.h <<\_ACEOF
19921 #define HAVE_ASINHF 1
19922 _ACEOF
19923
19924 fi
19925
19926 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19927 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19928 if test "${ac_cv_lib_m_asinh+set}" = set; then
19929   echo $ECHO_N "(cached) $ECHO_C" >&6
19930 else
19931   ac_check_lib_save_LIBS=$LIBS
19932 LIBS="-lm  $LIBS"
19933 if test x$gcc_no_link = xyes; then
19934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19936    { (exit 1); exit 1; }; }
19937 fi
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h.  */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h.  */
19944
19945 /* Override any gcc2 internal prototype to avoid an error.  */
19946 #ifdef __cplusplus
19947 extern "C"
19948 #endif
19949 /* We use char because int might match the return type of a gcc2
19950    builtin and then its argument prototype would still apply.  */
19951 char asinh ();
19952 int
19953 main ()
19954 {
19955 asinh ();
19956   ;
19957   return 0;
19958 }
19959 _ACEOF
19960 rm -f conftest.$ac_objext conftest$ac_exeext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19962   (eval $ac_link) 2>conftest.er1
19963   ac_status=$?
19964   grep -v '^ *+' conftest.er1 >conftest.err
19965   rm -f conftest.er1
19966   cat conftest.err >&5
19967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968   (exit $ac_status); } &&
19969          { ac_try='test -z "$ac_c_werror_flag"
19970                          || test ! -s conftest.err'
19971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972   (eval $ac_try) 2>&5
19973   ac_status=$?
19974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975   (exit $ac_status); }; } &&
19976          { ac_try='test -s conftest$ac_exeext'
19977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978   (eval $ac_try) 2>&5
19979   ac_status=$?
19980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981   (exit $ac_status); }; }; then
19982   ac_cv_lib_m_asinh=yes
19983 else
19984   echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19986
19987 ac_cv_lib_m_asinh=no
19988 fi
19989 rm -f conftest.err conftest.$ac_objext \
19990       conftest$ac_exeext conftest.$ac_ext
19991 LIBS=$ac_check_lib_save_LIBS
19992 fi
19993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
19994 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
19995 if test $ac_cv_lib_m_asinh = yes; then
19996
19997 cat >>confdefs.h <<\_ACEOF
19998 #define HAVE_ASINH 1
19999 _ACEOF
20000
20001 fi
20002
20003 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20004 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20005 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20006   echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008   ac_check_lib_save_LIBS=$LIBS
20009 LIBS="-lm  $LIBS"
20010 if test x$gcc_no_link = xyes; then
20011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20013    { (exit 1); exit 1; }; }
20014 fi
20015 cat >conftest.$ac_ext <<_ACEOF
20016 /* confdefs.h.  */
20017 _ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h.  */
20021
20022 /* Override any gcc2 internal prototype to avoid an error.  */
20023 #ifdef __cplusplus
20024 extern "C"
20025 #endif
20026 /* We use char because int might match the return type of a gcc2
20027    builtin and then its argument prototype would still apply.  */
20028 char asinhl ();
20029 int
20030 main ()
20031 {
20032 asinhl ();
20033   ;
20034   return 0;
20035 }
20036 _ACEOF
20037 rm -f conftest.$ac_objext conftest$ac_exeext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039   (eval $ac_link) 2>conftest.er1
20040   ac_status=$?
20041   grep -v '^ *+' conftest.er1 >conftest.err
20042   rm -f conftest.er1
20043   cat conftest.err >&5
20044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045   (exit $ac_status); } &&
20046          { ac_try='test -z "$ac_c_werror_flag"
20047                          || test ! -s conftest.err'
20048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049   (eval $ac_try) 2>&5
20050   ac_status=$?
20051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052   (exit $ac_status); }; } &&
20053          { ac_try='test -s conftest$ac_exeext'
20054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055   (eval $ac_try) 2>&5
20056   ac_status=$?
20057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058   (exit $ac_status); }; }; then
20059   ac_cv_lib_m_asinhl=yes
20060 else
20061   echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_cv_lib_m_asinhl=no
20065 fi
20066 rm -f conftest.err conftest.$ac_objext \
20067       conftest$ac_exeext conftest.$ac_ext
20068 LIBS=$ac_check_lib_save_LIBS
20069 fi
20070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20071 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20072 if test $ac_cv_lib_m_asinhl = yes; then
20073
20074 cat >>confdefs.h <<\_ACEOF
20075 #define HAVE_ASINHL 1
20076 _ACEOF
20077
20078 fi
20079
20080 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20081 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20082 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20083   echo $ECHO_N "(cached) $ECHO_C" >&6
20084 else
20085   ac_check_lib_save_LIBS=$LIBS
20086 LIBS="-lm  $LIBS"
20087 if test x$gcc_no_link = xyes; then
20088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20090    { (exit 1); exit 1; }; }
20091 fi
20092 cat >conftest.$ac_ext <<_ACEOF
20093 /* confdefs.h.  */
20094 _ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h.  */
20098
20099 /* Override any gcc2 internal prototype to avoid an error.  */
20100 #ifdef __cplusplus
20101 extern "C"
20102 #endif
20103 /* We use char because int might match the return type of a gcc2
20104    builtin and then its argument prototype would still apply.  */
20105 char atan2f ();
20106 int
20107 main ()
20108 {
20109 atan2f ();
20110   ;
20111   return 0;
20112 }
20113 _ACEOF
20114 rm -f conftest.$ac_objext conftest$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116   (eval $ac_link) 2>conftest.er1
20117   ac_status=$?
20118   grep -v '^ *+' conftest.er1 >conftest.err
20119   rm -f conftest.er1
20120   cat conftest.err >&5
20121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122   (exit $ac_status); } &&
20123          { ac_try='test -z "$ac_c_werror_flag"
20124                          || test ! -s conftest.err'
20125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126   (eval $ac_try) 2>&5
20127   ac_status=$?
20128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129   (exit $ac_status); }; } &&
20130          { ac_try='test -s conftest$ac_exeext'
20131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132   (eval $ac_try) 2>&5
20133   ac_status=$?
20134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135   (exit $ac_status); }; }; then
20136   ac_cv_lib_m_atan2f=yes
20137 else
20138   echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ac_cv_lib_m_atan2f=no
20142 fi
20143 rm -f conftest.err conftest.$ac_objext \
20144       conftest$ac_exeext conftest.$ac_ext
20145 LIBS=$ac_check_lib_save_LIBS
20146 fi
20147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20148 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20149 if test $ac_cv_lib_m_atan2f = yes; then
20150
20151 cat >>confdefs.h <<\_ACEOF
20152 #define HAVE_ATAN2F 1
20153 _ACEOF
20154
20155 fi
20156
20157 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20158 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20159 if test "${ac_cv_lib_m_atan2+set}" = set; then
20160   echo $ECHO_N "(cached) $ECHO_C" >&6
20161 else
20162   ac_check_lib_save_LIBS=$LIBS
20163 LIBS="-lm  $LIBS"
20164 if test x$gcc_no_link = xyes; then
20165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20167    { (exit 1); exit 1; }; }
20168 fi
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h.  */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h.  */
20175
20176 /* Override any gcc2 internal prototype to avoid an error.  */
20177 #ifdef __cplusplus
20178 extern "C"
20179 #endif
20180 /* We use char because int might match the return type of a gcc2
20181    builtin and then its argument prototype would still apply.  */
20182 char atan2 ();
20183 int
20184 main ()
20185 {
20186 atan2 ();
20187   ;
20188   return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext conftest$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193   (eval $ac_link) 2>conftest.er1
20194   ac_status=$?
20195   grep -v '^ *+' conftest.er1 >conftest.err
20196   rm -f conftest.er1
20197   cat conftest.err >&5
20198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199   (exit $ac_status); } &&
20200          { ac_try='test -z "$ac_c_werror_flag"
20201                          || test ! -s conftest.err'
20202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203   (eval $ac_try) 2>&5
20204   ac_status=$?
20205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206   (exit $ac_status); }; } &&
20207          { ac_try='test -s conftest$ac_exeext'
20208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209   (eval $ac_try) 2>&5
20210   ac_status=$?
20211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212   (exit $ac_status); }; }; then
20213   ac_cv_lib_m_atan2=yes
20214 else
20215   echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.$ac_ext >&5
20217
20218 ac_cv_lib_m_atan2=no
20219 fi
20220 rm -f conftest.err conftest.$ac_objext \
20221       conftest$ac_exeext conftest.$ac_ext
20222 LIBS=$ac_check_lib_save_LIBS
20223 fi
20224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20225 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20226 if test $ac_cv_lib_m_atan2 = yes; then
20227
20228 cat >>confdefs.h <<\_ACEOF
20229 #define HAVE_ATAN2 1
20230 _ACEOF
20231
20232 fi
20233
20234 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20235 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20236 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20237   echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239   ac_check_lib_save_LIBS=$LIBS
20240 LIBS="-lm  $LIBS"
20241 if test x$gcc_no_link = xyes; then
20242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20244    { (exit 1); exit 1; }; }
20245 fi
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h.  */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h.  */
20252
20253 /* Override any gcc2 internal prototype to avoid an error.  */
20254 #ifdef __cplusplus
20255 extern "C"
20256 #endif
20257 /* We use char because int might match the return type of a gcc2
20258    builtin and then its argument prototype would still apply.  */
20259 char atan2l ();
20260 int
20261 main ()
20262 {
20263 atan2l ();
20264   ;
20265   return 0;
20266 }
20267 _ACEOF
20268 rm -f conftest.$ac_objext conftest$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270   (eval $ac_link) 2>conftest.er1
20271   ac_status=$?
20272   grep -v '^ *+' conftest.er1 >conftest.err
20273   rm -f conftest.er1
20274   cat conftest.err >&5
20275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276   (exit $ac_status); } &&
20277          { ac_try='test -z "$ac_c_werror_flag"
20278                          || test ! -s conftest.err'
20279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280   (eval $ac_try) 2>&5
20281   ac_status=$?
20282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283   (exit $ac_status); }; } &&
20284          { ac_try='test -s conftest$ac_exeext'
20285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286   (eval $ac_try) 2>&5
20287   ac_status=$?
20288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289   (exit $ac_status); }; }; then
20290   ac_cv_lib_m_atan2l=yes
20291 else
20292   echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20294
20295 ac_cv_lib_m_atan2l=no
20296 fi
20297 rm -f conftest.err conftest.$ac_objext \
20298       conftest$ac_exeext conftest.$ac_ext
20299 LIBS=$ac_check_lib_save_LIBS
20300 fi
20301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20302 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20303 if test $ac_cv_lib_m_atan2l = yes; then
20304
20305 cat >>confdefs.h <<\_ACEOF
20306 #define HAVE_ATAN2L 1
20307 _ACEOF
20308
20309 fi
20310
20311 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20312 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20313 if test "${ac_cv_lib_m_atanf+set}" = set; then
20314   echo $ECHO_N "(cached) $ECHO_C" >&6
20315 else
20316   ac_check_lib_save_LIBS=$LIBS
20317 LIBS="-lm  $LIBS"
20318 if test x$gcc_no_link = xyes; then
20319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20321    { (exit 1); exit 1; }; }
20322 fi
20323 cat >conftest.$ac_ext <<_ACEOF
20324 /* confdefs.h.  */
20325 _ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h.  */
20329
20330 /* Override any gcc2 internal prototype to avoid an error.  */
20331 #ifdef __cplusplus
20332 extern "C"
20333 #endif
20334 /* We use char because int might match the return type of a gcc2
20335    builtin and then its argument prototype would still apply.  */
20336 char atanf ();
20337 int
20338 main ()
20339 {
20340 atanf ();
20341   ;
20342   return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext conftest$ac_exeext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20347   (eval $ac_link) 2>conftest.er1
20348   ac_status=$?
20349   grep -v '^ *+' conftest.er1 >conftest.err
20350   rm -f conftest.er1
20351   cat conftest.err >&5
20352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353   (exit $ac_status); } &&
20354          { ac_try='test -z "$ac_c_werror_flag"
20355                          || test ! -s conftest.err'
20356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357   (eval $ac_try) 2>&5
20358   ac_status=$?
20359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360   (exit $ac_status); }; } &&
20361          { ac_try='test -s conftest$ac_exeext'
20362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363   (eval $ac_try) 2>&5
20364   ac_status=$?
20365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366   (exit $ac_status); }; }; then
20367   ac_cv_lib_m_atanf=yes
20368 else
20369   echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.$ac_ext >&5
20371
20372 ac_cv_lib_m_atanf=no
20373 fi
20374 rm -f conftest.err conftest.$ac_objext \
20375       conftest$ac_exeext conftest.$ac_ext
20376 LIBS=$ac_check_lib_save_LIBS
20377 fi
20378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20379 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20380 if test $ac_cv_lib_m_atanf = yes; then
20381
20382 cat >>confdefs.h <<\_ACEOF
20383 #define HAVE_ATANF 1
20384 _ACEOF
20385
20386 fi
20387
20388 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20389 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20390 if test "${ac_cv_lib_m_atan+set}" = set; then
20391   echo $ECHO_N "(cached) $ECHO_C" >&6
20392 else
20393   ac_check_lib_save_LIBS=$LIBS
20394 LIBS="-lm  $LIBS"
20395 if test x$gcc_no_link = xyes; then
20396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20398    { (exit 1); exit 1; }; }
20399 fi
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h.  */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h.  */
20406
20407 /* Override any gcc2 internal prototype to avoid an error.  */
20408 #ifdef __cplusplus
20409 extern "C"
20410 #endif
20411 /* We use char because int might match the return type of a gcc2
20412    builtin and then its argument prototype would still apply.  */
20413 char atan ();
20414 int
20415 main ()
20416 {
20417 atan ();
20418   ;
20419   return 0;
20420 }
20421 _ACEOF
20422 rm -f conftest.$ac_objext conftest$ac_exeext
20423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20424   (eval $ac_link) 2>conftest.er1
20425   ac_status=$?
20426   grep -v '^ *+' conftest.er1 >conftest.err
20427   rm -f conftest.er1
20428   cat conftest.err >&5
20429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430   (exit $ac_status); } &&
20431          { ac_try='test -z "$ac_c_werror_flag"
20432                          || test ! -s conftest.err'
20433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434   (eval $ac_try) 2>&5
20435   ac_status=$?
20436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437   (exit $ac_status); }; } &&
20438          { ac_try='test -s conftest$ac_exeext'
20439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440   (eval $ac_try) 2>&5
20441   ac_status=$?
20442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443   (exit $ac_status); }; }; then
20444   ac_cv_lib_m_atan=yes
20445 else
20446   echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20448
20449 ac_cv_lib_m_atan=no
20450 fi
20451 rm -f conftest.err conftest.$ac_objext \
20452       conftest$ac_exeext conftest.$ac_ext
20453 LIBS=$ac_check_lib_save_LIBS
20454 fi
20455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20456 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20457 if test $ac_cv_lib_m_atan = yes; then
20458
20459 cat >>confdefs.h <<\_ACEOF
20460 #define HAVE_ATAN 1
20461 _ACEOF
20462
20463 fi
20464
20465 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20466 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20467 if test "${ac_cv_lib_m_atanl+set}" = set; then
20468   echo $ECHO_N "(cached) $ECHO_C" >&6
20469 else
20470   ac_check_lib_save_LIBS=$LIBS
20471 LIBS="-lm  $LIBS"
20472 if test x$gcc_no_link = xyes; then
20473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20475    { (exit 1); exit 1; }; }
20476 fi
20477 cat >conftest.$ac_ext <<_ACEOF
20478 /* confdefs.h.  */
20479 _ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h.  */
20483
20484 /* Override any gcc2 internal prototype to avoid an error.  */
20485 #ifdef __cplusplus
20486 extern "C"
20487 #endif
20488 /* We use char because int might match the return type of a gcc2
20489    builtin and then its argument prototype would still apply.  */
20490 char atanl ();
20491 int
20492 main ()
20493 {
20494 atanl ();
20495   ;
20496   return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest.$ac_objext conftest$ac_exeext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20501   (eval $ac_link) 2>conftest.er1
20502   ac_status=$?
20503   grep -v '^ *+' conftest.er1 >conftest.err
20504   rm -f conftest.er1
20505   cat conftest.err >&5
20506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507   (exit $ac_status); } &&
20508          { ac_try='test -z "$ac_c_werror_flag"
20509                          || test ! -s conftest.err'
20510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511   (eval $ac_try) 2>&5
20512   ac_status=$?
20513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514   (exit $ac_status); }; } &&
20515          { ac_try='test -s conftest$ac_exeext'
20516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517   (eval $ac_try) 2>&5
20518   ac_status=$?
20519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520   (exit $ac_status); }; }; then
20521   ac_cv_lib_m_atanl=yes
20522 else
20523   echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20525
20526 ac_cv_lib_m_atanl=no
20527 fi
20528 rm -f conftest.err conftest.$ac_objext \
20529       conftest$ac_exeext conftest.$ac_ext
20530 LIBS=$ac_check_lib_save_LIBS
20531 fi
20532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20533 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20534 if test $ac_cv_lib_m_atanl = yes; then
20535
20536 cat >>confdefs.h <<\_ACEOF
20537 #define HAVE_ATANL 1
20538 _ACEOF
20539
20540 fi
20541
20542 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20543 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20544 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20545   echo $ECHO_N "(cached) $ECHO_C" >&6
20546 else
20547   ac_check_lib_save_LIBS=$LIBS
20548 LIBS="-lm  $LIBS"
20549 if test x$gcc_no_link = xyes; then
20550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20552    { (exit 1); exit 1; }; }
20553 fi
20554 cat >conftest.$ac_ext <<_ACEOF
20555 /* confdefs.h.  */
20556 _ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h.  */
20560
20561 /* Override any gcc2 internal prototype to avoid an error.  */
20562 #ifdef __cplusplus
20563 extern "C"
20564 #endif
20565 /* We use char because int might match the return type of a gcc2
20566    builtin and then its argument prototype would still apply.  */
20567 char atanhf ();
20568 int
20569 main ()
20570 {
20571 atanhf ();
20572   ;
20573   return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext conftest$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578   (eval $ac_link) 2>conftest.er1
20579   ac_status=$?
20580   grep -v '^ *+' conftest.er1 >conftest.err
20581   rm -f conftest.er1
20582   cat conftest.err >&5
20583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584   (exit $ac_status); } &&
20585          { ac_try='test -z "$ac_c_werror_flag"
20586                          || test ! -s conftest.err'
20587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588   (eval $ac_try) 2>&5
20589   ac_status=$?
20590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591   (exit $ac_status); }; } &&
20592          { ac_try='test -s conftest$ac_exeext'
20593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594   (eval $ac_try) 2>&5
20595   ac_status=$?
20596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597   (exit $ac_status); }; }; then
20598   ac_cv_lib_m_atanhf=yes
20599 else
20600   echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.$ac_ext >&5
20602
20603 ac_cv_lib_m_atanhf=no
20604 fi
20605 rm -f conftest.err conftest.$ac_objext \
20606       conftest$ac_exeext conftest.$ac_ext
20607 LIBS=$ac_check_lib_save_LIBS
20608 fi
20609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20610 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20611 if test $ac_cv_lib_m_atanhf = yes; then
20612
20613 cat >>confdefs.h <<\_ACEOF
20614 #define HAVE_ATANHF 1
20615 _ACEOF
20616
20617 fi
20618
20619 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20620 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20621 if test "${ac_cv_lib_m_atanh+set}" = set; then
20622   echo $ECHO_N "(cached) $ECHO_C" >&6
20623 else
20624   ac_check_lib_save_LIBS=$LIBS
20625 LIBS="-lm  $LIBS"
20626 if test x$gcc_no_link = xyes; then
20627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20629    { (exit 1); exit 1; }; }
20630 fi
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h.  */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h.  */
20637
20638 /* Override any gcc2 internal prototype to avoid an error.  */
20639 #ifdef __cplusplus
20640 extern "C"
20641 #endif
20642 /* We use char because int might match the return type of a gcc2
20643    builtin and then its argument prototype would still apply.  */
20644 char atanh ();
20645 int
20646 main ()
20647 {
20648 atanh ();
20649   ;
20650   return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655   (eval $ac_link) 2>conftest.er1
20656   ac_status=$?
20657   grep -v '^ *+' conftest.er1 >conftest.err
20658   rm -f conftest.er1
20659   cat conftest.err >&5
20660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661   (exit $ac_status); } &&
20662          { ac_try='test -z "$ac_c_werror_flag"
20663                          || test ! -s conftest.err'
20664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665   (eval $ac_try) 2>&5
20666   ac_status=$?
20667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668   (exit $ac_status); }; } &&
20669          { ac_try='test -s conftest$ac_exeext'
20670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671   (eval $ac_try) 2>&5
20672   ac_status=$?
20673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674   (exit $ac_status); }; }; then
20675   ac_cv_lib_m_atanh=yes
20676 else
20677   echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20679
20680 ac_cv_lib_m_atanh=no
20681 fi
20682 rm -f conftest.err conftest.$ac_objext \
20683       conftest$ac_exeext conftest.$ac_ext
20684 LIBS=$ac_check_lib_save_LIBS
20685 fi
20686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20687 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20688 if test $ac_cv_lib_m_atanh = yes; then
20689
20690 cat >>confdefs.h <<\_ACEOF
20691 #define HAVE_ATANH 1
20692 _ACEOF
20693
20694 fi
20695
20696 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20697 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20698 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20699   echo $ECHO_N "(cached) $ECHO_C" >&6
20700 else
20701   ac_check_lib_save_LIBS=$LIBS
20702 LIBS="-lm  $LIBS"
20703 if test x$gcc_no_link = xyes; then
20704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20706    { (exit 1); exit 1; }; }
20707 fi
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h.  */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h.  */
20714
20715 /* Override any gcc2 internal prototype to avoid an error.  */
20716 #ifdef __cplusplus
20717 extern "C"
20718 #endif
20719 /* We use char because int might match the return type of a gcc2
20720    builtin and then its argument prototype would still apply.  */
20721 char atanhl ();
20722 int
20723 main ()
20724 {
20725 atanhl ();
20726   ;
20727   return 0;
20728 }
20729 _ACEOF
20730 rm -f conftest.$ac_objext conftest$ac_exeext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20732   (eval $ac_link) 2>conftest.er1
20733   ac_status=$?
20734   grep -v '^ *+' conftest.er1 >conftest.err
20735   rm -f conftest.er1
20736   cat conftest.err >&5
20737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738   (exit $ac_status); } &&
20739          { ac_try='test -z "$ac_c_werror_flag"
20740                          || test ! -s conftest.err'
20741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742   (eval $ac_try) 2>&5
20743   ac_status=$?
20744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745   (exit $ac_status); }; } &&
20746          { ac_try='test -s conftest$ac_exeext'
20747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748   (eval $ac_try) 2>&5
20749   ac_status=$?
20750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751   (exit $ac_status); }; }; then
20752   ac_cv_lib_m_atanhl=yes
20753 else
20754   echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.$ac_ext >&5
20756
20757 ac_cv_lib_m_atanhl=no
20758 fi
20759 rm -f conftest.err conftest.$ac_objext \
20760       conftest$ac_exeext conftest.$ac_ext
20761 LIBS=$ac_check_lib_save_LIBS
20762 fi
20763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20764 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20765 if test $ac_cv_lib_m_atanhl = yes; then
20766
20767 cat >>confdefs.h <<\_ACEOF
20768 #define HAVE_ATANHL 1
20769 _ACEOF
20770
20771 fi
20772
20773 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20774 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20775 if test "${ac_cv_lib_m_cargf+set}" = set; then
20776   echo $ECHO_N "(cached) $ECHO_C" >&6
20777 else
20778   ac_check_lib_save_LIBS=$LIBS
20779 LIBS="-lm  $LIBS"
20780 if test x$gcc_no_link = xyes; then
20781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20783    { (exit 1); exit 1; }; }
20784 fi
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h.  */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h.  */
20791
20792 /* Override any gcc2 internal prototype to avoid an error.  */
20793 #ifdef __cplusplus
20794 extern "C"
20795 #endif
20796 /* We use char because int might match the return type of a gcc2
20797    builtin and then its argument prototype would still apply.  */
20798 char cargf ();
20799 int
20800 main ()
20801 {
20802 cargf ();
20803   ;
20804   return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext conftest$ac_exeext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20809   (eval $ac_link) 2>conftest.er1
20810   ac_status=$?
20811   grep -v '^ *+' conftest.er1 >conftest.err
20812   rm -f conftest.er1
20813   cat conftest.err >&5
20814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815   (exit $ac_status); } &&
20816          { ac_try='test -z "$ac_c_werror_flag"
20817                          || test ! -s conftest.err'
20818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819   (eval $ac_try) 2>&5
20820   ac_status=$?
20821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822   (exit $ac_status); }; } &&
20823          { ac_try='test -s conftest$ac_exeext'
20824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825   (eval $ac_try) 2>&5
20826   ac_status=$?
20827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828   (exit $ac_status); }; }; then
20829   ac_cv_lib_m_cargf=yes
20830 else
20831   echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20833
20834 ac_cv_lib_m_cargf=no
20835 fi
20836 rm -f conftest.err conftest.$ac_objext \
20837       conftest$ac_exeext conftest.$ac_ext
20838 LIBS=$ac_check_lib_save_LIBS
20839 fi
20840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20841 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20842 if test $ac_cv_lib_m_cargf = yes; then
20843
20844 cat >>confdefs.h <<\_ACEOF
20845 #define HAVE_CARGF 1
20846 _ACEOF
20847
20848 fi
20849
20850 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20851 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20852 if test "${ac_cv_lib_m_carg+set}" = set; then
20853   echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855   ac_check_lib_save_LIBS=$LIBS
20856 LIBS="-lm  $LIBS"
20857 if test x$gcc_no_link = xyes; then
20858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20860    { (exit 1); exit 1; }; }
20861 fi
20862 cat >conftest.$ac_ext <<_ACEOF
20863 /* confdefs.h.  */
20864 _ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h.  */
20868
20869 /* Override any gcc2 internal prototype to avoid an error.  */
20870 #ifdef __cplusplus
20871 extern "C"
20872 #endif
20873 /* We use char because int might match the return type of a gcc2
20874    builtin and then its argument prototype would still apply.  */
20875 char carg ();
20876 int
20877 main ()
20878 {
20879 carg ();
20880   ;
20881   return 0;
20882 }
20883 _ACEOF
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886   (eval $ac_link) 2>conftest.er1
20887   ac_status=$?
20888   grep -v '^ *+' conftest.er1 >conftest.err
20889   rm -f conftest.er1
20890   cat conftest.err >&5
20891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892   (exit $ac_status); } &&
20893          { ac_try='test -z "$ac_c_werror_flag"
20894                          || test ! -s conftest.err'
20895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896   (eval $ac_try) 2>&5
20897   ac_status=$?
20898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899   (exit $ac_status); }; } &&
20900          { ac_try='test -s conftest$ac_exeext'
20901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902   (eval $ac_try) 2>&5
20903   ac_status=$?
20904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905   (exit $ac_status); }; }; then
20906   ac_cv_lib_m_carg=yes
20907 else
20908   echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20910
20911 ac_cv_lib_m_carg=no
20912 fi
20913 rm -f conftest.err conftest.$ac_objext \
20914       conftest$ac_exeext conftest.$ac_ext
20915 LIBS=$ac_check_lib_save_LIBS
20916 fi
20917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20918 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20919 if test $ac_cv_lib_m_carg = yes; then
20920
20921 cat >>confdefs.h <<\_ACEOF
20922 #define HAVE_CARG 1
20923 _ACEOF
20924
20925 fi
20926
20927 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20928 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20929 if test "${ac_cv_lib_m_cargl+set}" = set; then
20930   echo $ECHO_N "(cached) $ECHO_C" >&6
20931 else
20932   ac_check_lib_save_LIBS=$LIBS
20933 LIBS="-lm  $LIBS"
20934 if test x$gcc_no_link = xyes; then
20935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20937    { (exit 1); exit 1; }; }
20938 fi
20939 cat >conftest.$ac_ext <<_ACEOF
20940 /* confdefs.h.  */
20941 _ACEOF
20942 cat confdefs.h >>conftest.$ac_ext
20943 cat >>conftest.$ac_ext <<_ACEOF
20944 /* end confdefs.h.  */
20945
20946 /* Override any gcc2 internal prototype to avoid an error.  */
20947 #ifdef __cplusplus
20948 extern "C"
20949 #endif
20950 /* We use char because int might match the return type of a gcc2
20951    builtin and then its argument prototype would still apply.  */
20952 char cargl ();
20953 int
20954 main ()
20955 {
20956 cargl ();
20957   ;
20958   return 0;
20959 }
20960 _ACEOF
20961 rm -f conftest.$ac_objext conftest$ac_exeext
20962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20963   (eval $ac_link) 2>conftest.er1
20964   ac_status=$?
20965   grep -v '^ *+' conftest.er1 >conftest.err
20966   rm -f conftest.er1
20967   cat conftest.err >&5
20968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969   (exit $ac_status); } &&
20970          { ac_try='test -z "$ac_c_werror_flag"
20971                          || test ! -s conftest.err'
20972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973   (eval $ac_try) 2>&5
20974   ac_status=$?
20975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976   (exit $ac_status); }; } &&
20977          { ac_try='test -s conftest$ac_exeext'
20978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979   (eval $ac_try) 2>&5
20980   ac_status=$?
20981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982   (exit $ac_status); }; }; then
20983   ac_cv_lib_m_cargl=yes
20984 else
20985   echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.$ac_ext >&5
20987
20988 ac_cv_lib_m_cargl=no
20989 fi
20990 rm -f conftest.err conftest.$ac_objext \
20991       conftest$ac_exeext conftest.$ac_ext
20992 LIBS=$ac_check_lib_save_LIBS
20993 fi
20994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
20995 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
20996 if test $ac_cv_lib_m_cargl = yes; then
20997
20998 cat >>confdefs.h <<\_ACEOF
20999 #define HAVE_CARGL 1
21000 _ACEOF
21001
21002 fi
21003
21004 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21005 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21006 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21007   echo $ECHO_N "(cached) $ECHO_C" >&6
21008 else
21009   ac_check_lib_save_LIBS=$LIBS
21010 LIBS="-lm  $LIBS"
21011 if test x$gcc_no_link = xyes; then
21012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21014    { (exit 1); exit 1; }; }
21015 fi
21016 cat >conftest.$ac_ext <<_ACEOF
21017 /* confdefs.h.  */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h.  */
21022
21023 /* Override any gcc2 internal prototype to avoid an error.  */
21024 #ifdef __cplusplus
21025 extern "C"
21026 #endif
21027 /* We use char because int might match the return type of a gcc2
21028    builtin and then its argument prototype would still apply.  */
21029 char ceilf ();
21030 int
21031 main ()
21032 {
21033 ceilf ();
21034   ;
21035   return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext conftest$ac_exeext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040   (eval $ac_link) 2>conftest.er1
21041   ac_status=$?
21042   grep -v '^ *+' conftest.er1 >conftest.err
21043   rm -f conftest.er1
21044   cat conftest.err >&5
21045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046   (exit $ac_status); } &&
21047          { ac_try='test -z "$ac_c_werror_flag"
21048                          || test ! -s conftest.err'
21049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050   (eval $ac_try) 2>&5
21051   ac_status=$?
21052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053   (exit $ac_status); }; } &&
21054          { ac_try='test -s conftest$ac_exeext'
21055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056   (eval $ac_try) 2>&5
21057   ac_status=$?
21058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059   (exit $ac_status); }; }; then
21060   ac_cv_lib_m_ceilf=yes
21061 else
21062   echo "$as_me: failed program was:" >&5
21063 sed 's/^/| /' conftest.$ac_ext >&5
21064
21065 ac_cv_lib_m_ceilf=no
21066 fi
21067 rm -f conftest.err conftest.$ac_objext \
21068       conftest$ac_exeext conftest.$ac_ext
21069 LIBS=$ac_check_lib_save_LIBS
21070 fi
21071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21072 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21073 if test $ac_cv_lib_m_ceilf = yes; then
21074
21075 cat >>confdefs.h <<\_ACEOF
21076 #define HAVE_CEILF 1
21077 _ACEOF
21078
21079 fi
21080
21081 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21082 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21083 if test "${ac_cv_lib_m_ceil+set}" = set; then
21084   echo $ECHO_N "(cached) $ECHO_C" >&6
21085 else
21086   ac_check_lib_save_LIBS=$LIBS
21087 LIBS="-lm  $LIBS"
21088 if test x$gcc_no_link = xyes; then
21089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21091    { (exit 1); exit 1; }; }
21092 fi
21093 cat >conftest.$ac_ext <<_ACEOF
21094 /* confdefs.h.  */
21095 _ACEOF
21096 cat confdefs.h >>conftest.$ac_ext
21097 cat >>conftest.$ac_ext <<_ACEOF
21098 /* end confdefs.h.  */
21099
21100 /* Override any gcc2 internal prototype to avoid an error.  */
21101 #ifdef __cplusplus
21102 extern "C"
21103 #endif
21104 /* We use char because int might match the return type of a gcc2
21105    builtin and then its argument prototype would still apply.  */
21106 char ceil ();
21107 int
21108 main ()
21109 {
21110 ceil ();
21111   ;
21112   return 0;
21113 }
21114 _ACEOF
21115 rm -f conftest.$ac_objext conftest$ac_exeext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21117   (eval $ac_link) 2>conftest.er1
21118   ac_status=$?
21119   grep -v '^ *+' conftest.er1 >conftest.err
21120   rm -f conftest.er1
21121   cat conftest.err >&5
21122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123   (exit $ac_status); } &&
21124          { ac_try='test -z "$ac_c_werror_flag"
21125                          || test ! -s conftest.err'
21126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127   (eval $ac_try) 2>&5
21128   ac_status=$?
21129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130   (exit $ac_status); }; } &&
21131          { ac_try='test -s conftest$ac_exeext'
21132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133   (eval $ac_try) 2>&5
21134   ac_status=$?
21135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136   (exit $ac_status); }; }; then
21137   ac_cv_lib_m_ceil=yes
21138 else
21139   echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21141
21142 ac_cv_lib_m_ceil=no
21143 fi
21144 rm -f conftest.err conftest.$ac_objext \
21145       conftest$ac_exeext conftest.$ac_ext
21146 LIBS=$ac_check_lib_save_LIBS
21147 fi
21148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21149 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21150 if test $ac_cv_lib_m_ceil = yes; then
21151
21152 cat >>confdefs.h <<\_ACEOF
21153 #define HAVE_CEIL 1
21154 _ACEOF
21155
21156 fi
21157
21158 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21159 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21160 if test "${ac_cv_lib_m_ceill+set}" = set; then
21161   echo $ECHO_N "(cached) $ECHO_C" >&6
21162 else
21163   ac_check_lib_save_LIBS=$LIBS
21164 LIBS="-lm  $LIBS"
21165 if test x$gcc_no_link = xyes; then
21166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21168    { (exit 1); exit 1; }; }
21169 fi
21170 cat >conftest.$ac_ext <<_ACEOF
21171 /* confdefs.h.  */
21172 _ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h.  */
21176
21177 /* Override any gcc2 internal prototype to avoid an error.  */
21178 #ifdef __cplusplus
21179 extern "C"
21180 #endif
21181 /* We use char because int might match the return type of a gcc2
21182    builtin and then its argument prototype would still apply.  */
21183 char ceill ();
21184 int
21185 main ()
21186 {
21187 ceill ();
21188   ;
21189   return 0;
21190 }
21191 _ACEOF
21192 rm -f conftest.$ac_objext conftest$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194   (eval $ac_link) 2>conftest.er1
21195   ac_status=$?
21196   grep -v '^ *+' conftest.er1 >conftest.err
21197   rm -f conftest.er1
21198   cat conftest.err >&5
21199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200   (exit $ac_status); } &&
21201          { ac_try='test -z "$ac_c_werror_flag"
21202                          || test ! -s conftest.err'
21203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204   (eval $ac_try) 2>&5
21205   ac_status=$?
21206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207   (exit $ac_status); }; } &&
21208          { ac_try='test -s conftest$ac_exeext'
21209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210   (eval $ac_try) 2>&5
21211   ac_status=$?
21212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213   (exit $ac_status); }; }; then
21214   ac_cv_lib_m_ceill=yes
21215 else
21216   echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21218
21219 ac_cv_lib_m_ceill=no
21220 fi
21221 rm -f conftest.err conftest.$ac_objext \
21222       conftest$ac_exeext conftest.$ac_ext
21223 LIBS=$ac_check_lib_save_LIBS
21224 fi
21225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21226 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21227 if test $ac_cv_lib_m_ceill = yes; then
21228
21229 cat >>confdefs.h <<\_ACEOF
21230 #define HAVE_CEILL 1
21231 _ACEOF
21232
21233 fi
21234
21235 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21236 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21237 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21238   echo $ECHO_N "(cached) $ECHO_C" >&6
21239 else
21240   ac_check_lib_save_LIBS=$LIBS
21241 LIBS="-lm  $LIBS"
21242 if test x$gcc_no_link = xyes; then
21243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21245    { (exit 1); exit 1; }; }
21246 fi
21247 cat >conftest.$ac_ext <<_ACEOF
21248 /* confdefs.h.  */
21249 _ACEOF
21250 cat confdefs.h >>conftest.$ac_ext
21251 cat >>conftest.$ac_ext <<_ACEOF
21252 /* end confdefs.h.  */
21253
21254 /* Override any gcc2 internal prototype to avoid an error.  */
21255 #ifdef __cplusplus
21256 extern "C"
21257 #endif
21258 /* We use char because int might match the return type of a gcc2
21259    builtin and then its argument prototype would still apply.  */
21260 char copysignf ();
21261 int
21262 main ()
21263 {
21264 copysignf ();
21265   ;
21266   return 0;
21267 }
21268 _ACEOF
21269 rm -f conftest.$ac_objext conftest$ac_exeext
21270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21271   (eval $ac_link) 2>conftest.er1
21272   ac_status=$?
21273   grep -v '^ *+' conftest.er1 >conftest.err
21274   rm -f conftest.er1
21275   cat conftest.err >&5
21276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277   (exit $ac_status); } &&
21278          { ac_try='test -z "$ac_c_werror_flag"
21279                          || test ! -s conftest.err'
21280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281   (eval $ac_try) 2>&5
21282   ac_status=$?
21283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284   (exit $ac_status); }; } &&
21285          { ac_try='test -s conftest$ac_exeext'
21286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287   (eval $ac_try) 2>&5
21288   ac_status=$?
21289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290   (exit $ac_status); }; }; then
21291   ac_cv_lib_m_copysignf=yes
21292 else
21293   echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21295
21296 ac_cv_lib_m_copysignf=no
21297 fi
21298 rm -f conftest.err conftest.$ac_objext \
21299       conftest$ac_exeext conftest.$ac_ext
21300 LIBS=$ac_check_lib_save_LIBS
21301 fi
21302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21303 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21304 if test $ac_cv_lib_m_copysignf = yes; then
21305
21306 cat >>confdefs.h <<\_ACEOF
21307 #define HAVE_COPYSIGNF 1
21308 _ACEOF
21309
21310 fi
21311
21312 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21313 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21314 if test "${ac_cv_lib_m_copysign+set}" = set; then
21315   echo $ECHO_N "(cached) $ECHO_C" >&6
21316 else
21317   ac_check_lib_save_LIBS=$LIBS
21318 LIBS="-lm  $LIBS"
21319 if test x$gcc_no_link = xyes; then
21320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21322    { (exit 1); exit 1; }; }
21323 fi
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h.  */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h.  */
21330
21331 /* Override any gcc2 internal prototype to avoid an error.  */
21332 #ifdef __cplusplus
21333 extern "C"
21334 #endif
21335 /* We use char because int might match the return type of a gcc2
21336    builtin and then its argument prototype would still apply.  */
21337 char copysign ();
21338 int
21339 main ()
21340 {
21341 copysign ();
21342   ;
21343   return 0;
21344 }
21345 _ACEOF
21346 rm -f conftest.$ac_objext conftest$ac_exeext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348   (eval $ac_link) 2>conftest.er1
21349   ac_status=$?
21350   grep -v '^ *+' conftest.er1 >conftest.err
21351   rm -f conftest.er1
21352   cat conftest.err >&5
21353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354   (exit $ac_status); } &&
21355          { ac_try='test -z "$ac_c_werror_flag"
21356                          || test ! -s conftest.err'
21357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358   (eval $ac_try) 2>&5
21359   ac_status=$?
21360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361   (exit $ac_status); }; } &&
21362          { ac_try='test -s conftest$ac_exeext'
21363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364   (eval $ac_try) 2>&5
21365   ac_status=$?
21366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367   (exit $ac_status); }; }; then
21368   ac_cv_lib_m_copysign=yes
21369 else
21370   echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 ac_cv_lib_m_copysign=no
21374 fi
21375 rm -f conftest.err conftest.$ac_objext \
21376       conftest$ac_exeext conftest.$ac_ext
21377 LIBS=$ac_check_lib_save_LIBS
21378 fi
21379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21380 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21381 if test $ac_cv_lib_m_copysign = yes; then
21382
21383 cat >>confdefs.h <<\_ACEOF
21384 #define HAVE_COPYSIGN 1
21385 _ACEOF
21386
21387 fi
21388
21389 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21390 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21391 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21392   echo $ECHO_N "(cached) $ECHO_C" >&6
21393 else
21394   ac_check_lib_save_LIBS=$LIBS
21395 LIBS="-lm  $LIBS"
21396 if test x$gcc_no_link = xyes; then
21397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21399    { (exit 1); exit 1; }; }
21400 fi
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h.  */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h.  */
21407
21408 /* Override any gcc2 internal prototype to avoid an error.  */
21409 #ifdef __cplusplus
21410 extern "C"
21411 #endif
21412 /* We use char because int might match the return type of a gcc2
21413    builtin and then its argument prototype would still apply.  */
21414 char copysignl ();
21415 int
21416 main ()
21417 {
21418 copysignl ();
21419   ;
21420   return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext conftest$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425   (eval $ac_link) 2>conftest.er1
21426   ac_status=$?
21427   grep -v '^ *+' conftest.er1 >conftest.err
21428   rm -f conftest.er1
21429   cat conftest.err >&5
21430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431   (exit $ac_status); } &&
21432          { ac_try='test -z "$ac_c_werror_flag"
21433                          || test ! -s conftest.err'
21434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435   (eval $ac_try) 2>&5
21436   ac_status=$?
21437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438   (exit $ac_status); }; } &&
21439          { ac_try='test -s conftest$ac_exeext'
21440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441   (eval $ac_try) 2>&5
21442   ac_status=$?
21443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444   (exit $ac_status); }; }; then
21445   ac_cv_lib_m_copysignl=yes
21446 else
21447   echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21449
21450 ac_cv_lib_m_copysignl=no
21451 fi
21452 rm -f conftest.err conftest.$ac_objext \
21453       conftest$ac_exeext conftest.$ac_ext
21454 LIBS=$ac_check_lib_save_LIBS
21455 fi
21456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21457 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21458 if test $ac_cv_lib_m_copysignl = yes; then
21459
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_COPYSIGNL 1
21462 _ACEOF
21463
21464 fi
21465
21466 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21467 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21468 if test "${ac_cv_lib_m_cosf+set}" = set; then
21469   echo $ECHO_N "(cached) $ECHO_C" >&6
21470 else
21471   ac_check_lib_save_LIBS=$LIBS
21472 LIBS="-lm  $LIBS"
21473 if test x$gcc_no_link = xyes; then
21474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21476    { (exit 1); exit 1; }; }
21477 fi
21478 cat >conftest.$ac_ext <<_ACEOF
21479 /* confdefs.h.  */
21480 _ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h.  */
21484
21485 /* Override any gcc2 internal prototype to avoid an error.  */
21486 #ifdef __cplusplus
21487 extern "C"
21488 #endif
21489 /* We use char because int might match the return type of a gcc2
21490    builtin and then its argument prototype would still apply.  */
21491 char cosf ();
21492 int
21493 main ()
21494 {
21495 cosf ();
21496   ;
21497   return 0;
21498 }
21499 _ACEOF
21500 rm -f conftest.$ac_objext conftest$ac_exeext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21502   (eval $ac_link) 2>conftest.er1
21503   ac_status=$?
21504   grep -v '^ *+' conftest.er1 >conftest.err
21505   rm -f conftest.er1
21506   cat conftest.err >&5
21507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508   (exit $ac_status); } &&
21509          { ac_try='test -z "$ac_c_werror_flag"
21510                          || test ! -s conftest.err'
21511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512   (eval $ac_try) 2>&5
21513   ac_status=$?
21514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515   (exit $ac_status); }; } &&
21516          { ac_try='test -s conftest$ac_exeext'
21517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518   (eval $ac_try) 2>&5
21519   ac_status=$?
21520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521   (exit $ac_status); }; }; then
21522   ac_cv_lib_m_cosf=yes
21523 else
21524   echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.$ac_ext >&5
21526
21527 ac_cv_lib_m_cosf=no
21528 fi
21529 rm -f conftest.err conftest.$ac_objext \
21530       conftest$ac_exeext conftest.$ac_ext
21531 LIBS=$ac_check_lib_save_LIBS
21532 fi
21533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21534 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21535 if test $ac_cv_lib_m_cosf = yes; then
21536
21537 cat >>confdefs.h <<\_ACEOF
21538 #define HAVE_COSF 1
21539 _ACEOF
21540
21541 fi
21542
21543 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21544 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21545 if test "${ac_cv_lib_m_cos+set}" = set; then
21546   echo $ECHO_N "(cached) $ECHO_C" >&6
21547 else
21548   ac_check_lib_save_LIBS=$LIBS
21549 LIBS="-lm  $LIBS"
21550 if test x$gcc_no_link = xyes; then
21551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21553    { (exit 1); exit 1; }; }
21554 fi
21555 cat >conftest.$ac_ext <<_ACEOF
21556 /* confdefs.h.  */
21557 _ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h.  */
21561
21562 /* Override any gcc2 internal prototype to avoid an error.  */
21563 #ifdef __cplusplus
21564 extern "C"
21565 #endif
21566 /* We use char because int might match the return type of a gcc2
21567    builtin and then its argument prototype would still apply.  */
21568 char cos ();
21569 int
21570 main ()
21571 {
21572 cos ();
21573   ;
21574   return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579   (eval $ac_link) 2>conftest.er1
21580   ac_status=$?
21581   grep -v '^ *+' conftest.er1 >conftest.err
21582   rm -f conftest.er1
21583   cat conftest.err >&5
21584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585   (exit $ac_status); } &&
21586          { ac_try='test -z "$ac_c_werror_flag"
21587                          || test ! -s conftest.err'
21588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589   (eval $ac_try) 2>&5
21590   ac_status=$?
21591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592   (exit $ac_status); }; } &&
21593          { ac_try='test -s conftest$ac_exeext'
21594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595   (eval $ac_try) 2>&5
21596   ac_status=$?
21597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598   (exit $ac_status); }; }; then
21599   ac_cv_lib_m_cos=yes
21600 else
21601   echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 ac_cv_lib_m_cos=no
21605 fi
21606 rm -f conftest.err conftest.$ac_objext \
21607       conftest$ac_exeext conftest.$ac_ext
21608 LIBS=$ac_check_lib_save_LIBS
21609 fi
21610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21611 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21612 if test $ac_cv_lib_m_cos = yes; then
21613
21614 cat >>confdefs.h <<\_ACEOF
21615 #define HAVE_COS 1
21616 _ACEOF
21617
21618 fi
21619
21620 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21621 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21622 if test "${ac_cv_lib_m_cosl+set}" = set; then
21623   echo $ECHO_N "(cached) $ECHO_C" >&6
21624 else
21625   ac_check_lib_save_LIBS=$LIBS
21626 LIBS="-lm  $LIBS"
21627 if test x$gcc_no_link = xyes; then
21628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21630    { (exit 1); exit 1; }; }
21631 fi
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h.  */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h.  */
21638
21639 /* Override any gcc2 internal prototype to avoid an error.  */
21640 #ifdef __cplusplus
21641 extern "C"
21642 #endif
21643 /* We use char because int might match the return type of a gcc2
21644    builtin and then its argument prototype would still apply.  */
21645 char cosl ();
21646 int
21647 main ()
21648 {
21649 cosl ();
21650   ;
21651   return 0;
21652 }
21653 _ACEOF
21654 rm -f conftest.$ac_objext conftest$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656   (eval $ac_link) 2>conftest.er1
21657   ac_status=$?
21658   grep -v '^ *+' conftest.er1 >conftest.err
21659   rm -f conftest.er1
21660   cat conftest.err >&5
21661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662   (exit $ac_status); } &&
21663          { ac_try='test -z "$ac_c_werror_flag"
21664                          || test ! -s conftest.err'
21665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666   (eval $ac_try) 2>&5
21667   ac_status=$?
21668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669   (exit $ac_status); }; } &&
21670          { ac_try='test -s conftest$ac_exeext'
21671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672   (eval $ac_try) 2>&5
21673   ac_status=$?
21674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675   (exit $ac_status); }; }; then
21676   ac_cv_lib_m_cosl=yes
21677 else
21678   echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 ac_cv_lib_m_cosl=no
21682 fi
21683 rm -f conftest.err conftest.$ac_objext \
21684       conftest$ac_exeext conftest.$ac_ext
21685 LIBS=$ac_check_lib_save_LIBS
21686 fi
21687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21688 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21689 if test $ac_cv_lib_m_cosl = yes; then
21690
21691 cat >>confdefs.h <<\_ACEOF
21692 #define HAVE_COSL 1
21693 _ACEOF
21694
21695 fi
21696
21697 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21698 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21699 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21700   echo $ECHO_N "(cached) $ECHO_C" >&6
21701 else
21702   ac_check_lib_save_LIBS=$LIBS
21703 LIBS="-lm  $LIBS"
21704 if test x$gcc_no_link = xyes; then
21705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21707    { (exit 1); exit 1; }; }
21708 fi
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h.  */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h.  */
21715
21716 /* Override any gcc2 internal prototype to avoid an error.  */
21717 #ifdef __cplusplus
21718 extern "C"
21719 #endif
21720 /* We use char because int might match the return type of a gcc2
21721    builtin and then its argument prototype would still apply.  */
21722 char ccosf ();
21723 int
21724 main ()
21725 {
21726 ccosf ();
21727   ;
21728   return 0;
21729 }
21730 _ACEOF
21731 rm -f conftest.$ac_objext conftest$ac_exeext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21733   (eval $ac_link) 2>conftest.er1
21734   ac_status=$?
21735   grep -v '^ *+' conftest.er1 >conftest.err
21736   rm -f conftest.er1
21737   cat conftest.err >&5
21738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739   (exit $ac_status); } &&
21740          { ac_try='test -z "$ac_c_werror_flag"
21741                          || test ! -s conftest.err'
21742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743   (eval $ac_try) 2>&5
21744   ac_status=$?
21745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746   (exit $ac_status); }; } &&
21747          { ac_try='test -s conftest$ac_exeext'
21748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749   (eval $ac_try) 2>&5
21750   ac_status=$?
21751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752   (exit $ac_status); }; }; then
21753   ac_cv_lib_m_ccosf=yes
21754 else
21755   echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 ac_cv_lib_m_ccosf=no
21759 fi
21760 rm -f conftest.err conftest.$ac_objext \
21761       conftest$ac_exeext conftest.$ac_ext
21762 LIBS=$ac_check_lib_save_LIBS
21763 fi
21764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21765 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21766 if test $ac_cv_lib_m_ccosf = yes; then
21767
21768 cat >>confdefs.h <<\_ACEOF
21769 #define HAVE_CCOSF 1
21770 _ACEOF
21771
21772 fi
21773
21774 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21775 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21776 if test "${ac_cv_lib_m_ccos+set}" = set; then
21777   echo $ECHO_N "(cached) $ECHO_C" >&6
21778 else
21779   ac_check_lib_save_LIBS=$LIBS
21780 LIBS="-lm  $LIBS"
21781 if test x$gcc_no_link = xyes; then
21782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21784    { (exit 1); exit 1; }; }
21785 fi
21786 cat >conftest.$ac_ext <<_ACEOF
21787 /* confdefs.h.  */
21788 _ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h.  */
21792
21793 /* Override any gcc2 internal prototype to avoid an error.  */
21794 #ifdef __cplusplus
21795 extern "C"
21796 #endif
21797 /* We use char because int might match the return type of a gcc2
21798    builtin and then its argument prototype would still apply.  */
21799 char ccos ();
21800 int
21801 main ()
21802 {
21803 ccos ();
21804   ;
21805   return 0;
21806 }
21807 _ACEOF
21808 rm -f conftest.$ac_objext conftest$ac_exeext
21809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21810   (eval $ac_link) 2>conftest.er1
21811   ac_status=$?
21812   grep -v '^ *+' conftest.er1 >conftest.err
21813   rm -f conftest.er1
21814   cat conftest.err >&5
21815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816   (exit $ac_status); } &&
21817          { ac_try='test -z "$ac_c_werror_flag"
21818                          || test ! -s conftest.err'
21819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820   (eval $ac_try) 2>&5
21821   ac_status=$?
21822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823   (exit $ac_status); }; } &&
21824          { ac_try='test -s conftest$ac_exeext'
21825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826   (eval $ac_try) 2>&5
21827   ac_status=$?
21828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829   (exit $ac_status); }; }; then
21830   ac_cv_lib_m_ccos=yes
21831 else
21832   echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.$ac_ext >&5
21834
21835 ac_cv_lib_m_ccos=no
21836 fi
21837 rm -f conftest.err conftest.$ac_objext \
21838       conftest$ac_exeext conftest.$ac_ext
21839 LIBS=$ac_check_lib_save_LIBS
21840 fi
21841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21842 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21843 if test $ac_cv_lib_m_ccos = yes; then
21844
21845 cat >>confdefs.h <<\_ACEOF
21846 #define HAVE_CCOS 1
21847 _ACEOF
21848
21849 fi
21850
21851 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21852 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21853 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21854   echo $ECHO_N "(cached) $ECHO_C" >&6
21855 else
21856   ac_check_lib_save_LIBS=$LIBS
21857 LIBS="-lm  $LIBS"
21858 if test x$gcc_no_link = xyes; then
21859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21861    { (exit 1); exit 1; }; }
21862 fi
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h.  */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h.  */
21869
21870 /* Override any gcc2 internal prototype to avoid an error.  */
21871 #ifdef __cplusplus
21872 extern "C"
21873 #endif
21874 /* We use char because int might match the return type of a gcc2
21875    builtin and then its argument prototype would still apply.  */
21876 char ccosl ();
21877 int
21878 main ()
21879 {
21880 ccosl ();
21881   ;
21882   return 0;
21883 }
21884 _ACEOF
21885 rm -f conftest.$ac_objext conftest$ac_exeext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21887   (eval $ac_link) 2>conftest.er1
21888   ac_status=$?
21889   grep -v '^ *+' conftest.er1 >conftest.err
21890   rm -f conftest.er1
21891   cat conftest.err >&5
21892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893   (exit $ac_status); } &&
21894          { ac_try='test -z "$ac_c_werror_flag"
21895                          || test ! -s conftest.err'
21896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897   (eval $ac_try) 2>&5
21898   ac_status=$?
21899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900   (exit $ac_status); }; } &&
21901          { ac_try='test -s conftest$ac_exeext'
21902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903   (eval $ac_try) 2>&5
21904   ac_status=$?
21905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906   (exit $ac_status); }; }; then
21907   ac_cv_lib_m_ccosl=yes
21908 else
21909   echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21911
21912 ac_cv_lib_m_ccosl=no
21913 fi
21914 rm -f conftest.err conftest.$ac_objext \
21915       conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21917 fi
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21919 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21920 if test $ac_cv_lib_m_ccosl = yes; then
21921
21922 cat >>confdefs.h <<\_ACEOF
21923 #define HAVE_CCOSL 1
21924 _ACEOF
21925
21926 fi
21927
21928 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21929 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21930 if test "${ac_cv_lib_m_coshf+set}" = set; then
21931   echo $ECHO_N "(cached) $ECHO_C" >&6
21932 else
21933   ac_check_lib_save_LIBS=$LIBS
21934 LIBS="-lm  $LIBS"
21935 if test x$gcc_no_link = xyes; then
21936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21938    { (exit 1); exit 1; }; }
21939 fi
21940 cat >conftest.$ac_ext <<_ACEOF
21941 /* confdefs.h.  */
21942 _ACEOF
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h.  */
21946
21947 /* Override any gcc2 internal prototype to avoid an error.  */
21948 #ifdef __cplusplus
21949 extern "C"
21950 #endif
21951 /* We use char because int might match the return type of a gcc2
21952    builtin and then its argument prototype would still apply.  */
21953 char coshf ();
21954 int
21955 main ()
21956 {
21957 coshf ();
21958   ;
21959   return 0;
21960 }
21961 _ACEOF
21962 rm -f conftest.$ac_objext conftest$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964   (eval $ac_link) 2>conftest.er1
21965   ac_status=$?
21966   grep -v '^ *+' conftest.er1 >conftest.err
21967   rm -f conftest.er1
21968   cat conftest.err >&5
21969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970   (exit $ac_status); } &&
21971          { ac_try='test -z "$ac_c_werror_flag"
21972                          || test ! -s conftest.err'
21973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974   (eval $ac_try) 2>&5
21975   ac_status=$?
21976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977   (exit $ac_status); }; } &&
21978          { ac_try='test -s conftest$ac_exeext'
21979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980   (eval $ac_try) 2>&5
21981   ac_status=$?
21982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983   (exit $ac_status); }; }; then
21984   ac_cv_lib_m_coshf=yes
21985 else
21986   echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21988
21989 ac_cv_lib_m_coshf=no
21990 fi
21991 rm -f conftest.err conftest.$ac_objext \
21992       conftest$ac_exeext conftest.$ac_ext
21993 LIBS=$ac_check_lib_save_LIBS
21994 fi
21995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
21996 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
21997 if test $ac_cv_lib_m_coshf = yes; then
21998
21999 cat >>confdefs.h <<\_ACEOF
22000 #define HAVE_COSHF 1
22001 _ACEOF
22002
22003 fi
22004
22005 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22006 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22007 if test "${ac_cv_lib_m_cosh+set}" = set; then
22008   echo $ECHO_N "(cached) $ECHO_C" >&6
22009 else
22010   ac_check_lib_save_LIBS=$LIBS
22011 LIBS="-lm  $LIBS"
22012 if test x$gcc_no_link = xyes; then
22013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22015    { (exit 1); exit 1; }; }
22016 fi
22017 cat >conftest.$ac_ext <<_ACEOF
22018 /* confdefs.h.  */
22019 _ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h.  */
22023
22024 /* Override any gcc2 internal prototype to avoid an error.  */
22025 #ifdef __cplusplus
22026 extern "C"
22027 #endif
22028 /* We use char because int might match the return type of a gcc2
22029    builtin and then its argument prototype would still apply.  */
22030 char cosh ();
22031 int
22032 main ()
22033 {
22034 cosh ();
22035   ;
22036   return 0;
22037 }
22038 _ACEOF
22039 rm -f conftest.$ac_objext conftest$ac_exeext
22040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22041   (eval $ac_link) 2>conftest.er1
22042   ac_status=$?
22043   grep -v '^ *+' conftest.er1 >conftest.err
22044   rm -f conftest.er1
22045   cat conftest.err >&5
22046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047   (exit $ac_status); } &&
22048          { ac_try='test -z "$ac_c_werror_flag"
22049                          || test ! -s conftest.err'
22050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051   (eval $ac_try) 2>&5
22052   ac_status=$?
22053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054   (exit $ac_status); }; } &&
22055          { ac_try='test -s conftest$ac_exeext'
22056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057   (eval $ac_try) 2>&5
22058   ac_status=$?
22059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060   (exit $ac_status); }; }; then
22061   ac_cv_lib_m_cosh=yes
22062 else
22063   echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 ac_cv_lib_m_cosh=no
22067 fi
22068 rm -f conftest.err conftest.$ac_objext \
22069       conftest$ac_exeext conftest.$ac_ext
22070 LIBS=$ac_check_lib_save_LIBS
22071 fi
22072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22073 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22074 if test $ac_cv_lib_m_cosh = yes; then
22075
22076 cat >>confdefs.h <<\_ACEOF
22077 #define HAVE_COSH 1
22078 _ACEOF
22079
22080 fi
22081
22082 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22083 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22084 if test "${ac_cv_lib_m_coshl+set}" = set; then
22085   echo $ECHO_N "(cached) $ECHO_C" >&6
22086 else
22087   ac_check_lib_save_LIBS=$LIBS
22088 LIBS="-lm  $LIBS"
22089 if test x$gcc_no_link = xyes; then
22090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22092    { (exit 1); exit 1; }; }
22093 fi
22094 cat >conftest.$ac_ext <<_ACEOF
22095 /* confdefs.h.  */
22096 _ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h.  */
22100
22101 /* Override any gcc2 internal prototype to avoid an error.  */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 /* We use char because int might match the return type of a gcc2
22106    builtin and then its argument prototype would still apply.  */
22107 char coshl ();
22108 int
22109 main ()
22110 {
22111 coshl ();
22112   ;
22113   return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext conftest$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118   (eval $ac_link) 2>conftest.er1
22119   ac_status=$?
22120   grep -v '^ *+' conftest.er1 >conftest.err
22121   rm -f conftest.er1
22122   cat conftest.err >&5
22123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124   (exit $ac_status); } &&
22125          { ac_try='test -z "$ac_c_werror_flag"
22126                          || test ! -s conftest.err'
22127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128   (eval $ac_try) 2>&5
22129   ac_status=$?
22130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131   (exit $ac_status); }; } &&
22132          { ac_try='test -s conftest$ac_exeext'
22133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134   (eval $ac_try) 2>&5
22135   ac_status=$?
22136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137   (exit $ac_status); }; }; then
22138   ac_cv_lib_m_coshl=yes
22139 else
22140   echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.$ac_ext >&5
22142
22143 ac_cv_lib_m_coshl=no
22144 fi
22145 rm -f conftest.err conftest.$ac_objext \
22146       conftest$ac_exeext conftest.$ac_ext
22147 LIBS=$ac_check_lib_save_LIBS
22148 fi
22149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22150 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22151 if test $ac_cv_lib_m_coshl = yes; then
22152
22153 cat >>confdefs.h <<\_ACEOF
22154 #define HAVE_COSHL 1
22155 _ACEOF
22156
22157 fi
22158
22159 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22160 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22161 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22162   echo $ECHO_N "(cached) $ECHO_C" >&6
22163 else
22164   ac_check_lib_save_LIBS=$LIBS
22165 LIBS="-lm  $LIBS"
22166 if test x$gcc_no_link = xyes; then
22167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22169    { (exit 1); exit 1; }; }
22170 fi
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h.  */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h.  */
22177
22178 /* Override any gcc2 internal prototype to avoid an error.  */
22179 #ifdef __cplusplus
22180 extern "C"
22181 #endif
22182 /* We use char because int might match the return type of a gcc2
22183    builtin and then its argument prototype would still apply.  */
22184 char ccoshf ();
22185 int
22186 main ()
22187 {
22188 ccoshf ();
22189   ;
22190   return 0;
22191 }
22192 _ACEOF
22193 rm -f conftest.$ac_objext conftest$ac_exeext
22194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22195   (eval $ac_link) 2>conftest.er1
22196   ac_status=$?
22197   grep -v '^ *+' conftest.er1 >conftest.err
22198   rm -f conftest.er1
22199   cat conftest.err >&5
22200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201   (exit $ac_status); } &&
22202          { ac_try='test -z "$ac_c_werror_flag"
22203                          || test ! -s conftest.err'
22204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205   (eval $ac_try) 2>&5
22206   ac_status=$?
22207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208   (exit $ac_status); }; } &&
22209          { ac_try='test -s conftest$ac_exeext'
22210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211   (eval $ac_try) 2>&5
22212   ac_status=$?
22213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214   (exit $ac_status); }; }; then
22215   ac_cv_lib_m_ccoshf=yes
22216 else
22217   echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.$ac_ext >&5
22219
22220 ac_cv_lib_m_ccoshf=no
22221 fi
22222 rm -f conftest.err conftest.$ac_objext \
22223       conftest$ac_exeext conftest.$ac_ext
22224 LIBS=$ac_check_lib_save_LIBS
22225 fi
22226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22227 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22228 if test $ac_cv_lib_m_ccoshf = yes; then
22229
22230 cat >>confdefs.h <<\_ACEOF
22231 #define HAVE_CCOSHF 1
22232 _ACEOF
22233
22234 fi
22235
22236 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22237 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22238 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22239   echo $ECHO_N "(cached) $ECHO_C" >&6
22240 else
22241   ac_check_lib_save_LIBS=$LIBS
22242 LIBS="-lm  $LIBS"
22243 if test x$gcc_no_link = xyes; then
22244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22246    { (exit 1); exit 1; }; }
22247 fi
22248 cat >conftest.$ac_ext <<_ACEOF
22249 /* confdefs.h.  */
22250 _ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h.  */
22254
22255 /* Override any gcc2 internal prototype to avoid an error.  */
22256 #ifdef __cplusplus
22257 extern "C"
22258 #endif
22259 /* We use char because int might match the return type of a gcc2
22260    builtin and then its argument prototype would still apply.  */
22261 char ccosh ();
22262 int
22263 main ()
22264 {
22265 ccosh ();
22266   ;
22267   return 0;
22268 }
22269 _ACEOF
22270 rm -f conftest.$ac_objext conftest$ac_exeext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22272   (eval $ac_link) 2>conftest.er1
22273   ac_status=$?
22274   grep -v '^ *+' conftest.er1 >conftest.err
22275   rm -f conftest.er1
22276   cat conftest.err >&5
22277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278   (exit $ac_status); } &&
22279          { ac_try='test -z "$ac_c_werror_flag"
22280                          || test ! -s conftest.err'
22281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282   (eval $ac_try) 2>&5
22283   ac_status=$?
22284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285   (exit $ac_status); }; } &&
22286          { ac_try='test -s conftest$ac_exeext'
22287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288   (eval $ac_try) 2>&5
22289   ac_status=$?
22290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291   (exit $ac_status); }; }; then
22292   ac_cv_lib_m_ccosh=yes
22293 else
22294   echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.$ac_ext >&5
22296
22297 ac_cv_lib_m_ccosh=no
22298 fi
22299 rm -f conftest.err conftest.$ac_objext \
22300       conftest$ac_exeext conftest.$ac_ext
22301 LIBS=$ac_check_lib_save_LIBS
22302 fi
22303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22304 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22305 if test $ac_cv_lib_m_ccosh = yes; then
22306
22307 cat >>confdefs.h <<\_ACEOF
22308 #define HAVE_CCOSH 1
22309 _ACEOF
22310
22311 fi
22312
22313 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22314 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22315 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22316   echo $ECHO_N "(cached) $ECHO_C" >&6
22317 else
22318   ac_check_lib_save_LIBS=$LIBS
22319 LIBS="-lm  $LIBS"
22320 if test x$gcc_no_link = xyes; then
22321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22323    { (exit 1); exit 1; }; }
22324 fi
22325 cat >conftest.$ac_ext <<_ACEOF
22326 /* confdefs.h.  */
22327 _ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h.  */
22331
22332 /* Override any gcc2 internal prototype to avoid an error.  */
22333 #ifdef __cplusplus
22334 extern "C"
22335 #endif
22336 /* We use char because int might match the return type of a gcc2
22337    builtin and then its argument prototype would still apply.  */
22338 char ccoshl ();
22339 int
22340 main ()
22341 {
22342 ccoshl ();
22343   ;
22344   return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext conftest$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349   (eval $ac_link) 2>conftest.er1
22350   ac_status=$?
22351   grep -v '^ *+' conftest.er1 >conftest.err
22352   rm -f conftest.er1
22353   cat conftest.err >&5
22354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355   (exit $ac_status); } &&
22356          { ac_try='test -z "$ac_c_werror_flag"
22357                          || test ! -s conftest.err'
22358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359   (eval $ac_try) 2>&5
22360   ac_status=$?
22361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362   (exit $ac_status); }; } &&
22363          { ac_try='test -s conftest$ac_exeext'
22364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365   (eval $ac_try) 2>&5
22366   ac_status=$?
22367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368   (exit $ac_status); }; }; then
22369   ac_cv_lib_m_ccoshl=yes
22370 else
22371   echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22373
22374 ac_cv_lib_m_ccoshl=no
22375 fi
22376 rm -f conftest.err conftest.$ac_objext \
22377       conftest$ac_exeext conftest.$ac_ext
22378 LIBS=$ac_check_lib_save_LIBS
22379 fi
22380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22381 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22382 if test $ac_cv_lib_m_ccoshl = yes; then
22383
22384 cat >>confdefs.h <<\_ACEOF
22385 #define HAVE_CCOSHL 1
22386 _ACEOF
22387
22388 fi
22389
22390 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22391 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22392 if test "${ac_cv_lib_m_expf+set}" = set; then
22393   echo $ECHO_N "(cached) $ECHO_C" >&6
22394 else
22395   ac_check_lib_save_LIBS=$LIBS
22396 LIBS="-lm  $LIBS"
22397 if test x$gcc_no_link = xyes; then
22398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22400    { (exit 1); exit 1; }; }
22401 fi
22402 cat >conftest.$ac_ext <<_ACEOF
22403 /* confdefs.h.  */
22404 _ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h.  */
22408
22409 /* Override any gcc2 internal prototype to avoid an error.  */
22410 #ifdef __cplusplus
22411 extern "C"
22412 #endif
22413 /* We use char because int might match the return type of a gcc2
22414    builtin and then its argument prototype would still apply.  */
22415 char expf ();
22416 int
22417 main ()
22418 {
22419 expf ();
22420   ;
22421   return 0;
22422 }
22423 _ACEOF
22424 rm -f conftest.$ac_objext conftest$ac_exeext
22425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22426   (eval $ac_link) 2>conftest.er1
22427   ac_status=$?
22428   grep -v '^ *+' conftest.er1 >conftest.err
22429   rm -f conftest.er1
22430   cat conftest.err >&5
22431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432   (exit $ac_status); } &&
22433          { ac_try='test -z "$ac_c_werror_flag"
22434                          || test ! -s conftest.err'
22435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436   (eval $ac_try) 2>&5
22437   ac_status=$?
22438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439   (exit $ac_status); }; } &&
22440          { ac_try='test -s conftest$ac_exeext'
22441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442   (eval $ac_try) 2>&5
22443   ac_status=$?
22444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445   (exit $ac_status); }; }; then
22446   ac_cv_lib_m_expf=yes
22447 else
22448   echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.$ac_ext >&5
22450
22451 ac_cv_lib_m_expf=no
22452 fi
22453 rm -f conftest.err conftest.$ac_objext \
22454       conftest$ac_exeext conftest.$ac_ext
22455 LIBS=$ac_check_lib_save_LIBS
22456 fi
22457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22458 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22459 if test $ac_cv_lib_m_expf = yes; then
22460
22461 cat >>confdefs.h <<\_ACEOF
22462 #define HAVE_EXPF 1
22463 _ACEOF
22464
22465 fi
22466
22467 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22468 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22469 if test "${ac_cv_lib_m_exp+set}" = set; then
22470   echo $ECHO_N "(cached) $ECHO_C" >&6
22471 else
22472   ac_check_lib_save_LIBS=$LIBS
22473 LIBS="-lm  $LIBS"
22474 if test x$gcc_no_link = xyes; then
22475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22477    { (exit 1); exit 1; }; }
22478 fi
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h.  */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h.  */
22485
22486 /* Override any gcc2 internal prototype to avoid an error.  */
22487 #ifdef __cplusplus
22488 extern "C"
22489 #endif
22490 /* We use char because int might match the return type of a gcc2
22491    builtin and then its argument prototype would still apply.  */
22492 char exp ();
22493 int
22494 main ()
22495 {
22496 exp ();
22497   ;
22498   return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext conftest$ac_exeext
22502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22503   (eval $ac_link) 2>conftest.er1
22504   ac_status=$?
22505   grep -v '^ *+' conftest.er1 >conftest.err
22506   rm -f conftest.er1
22507   cat conftest.err >&5
22508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509   (exit $ac_status); } &&
22510          { ac_try='test -z "$ac_c_werror_flag"
22511                          || test ! -s conftest.err'
22512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22513   (eval $ac_try) 2>&5
22514   ac_status=$?
22515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516   (exit $ac_status); }; } &&
22517          { ac_try='test -s conftest$ac_exeext'
22518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519   (eval $ac_try) 2>&5
22520   ac_status=$?
22521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522   (exit $ac_status); }; }; then
22523   ac_cv_lib_m_exp=yes
22524 else
22525   echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22527
22528 ac_cv_lib_m_exp=no
22529 fi
22530 rm -f conftest.err conftest.$ac_objext \
22531       conftest$ac_exeext conftest.$ac_ext
22532 LIBS=$ac_check_lib_save_LIBS
22533 fi
22534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22535 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22536 if test $ac_cv_lib_m_exp = yes; then
22537
22538 cat >>confdefs.h <<\_ACEOF
22539 #define HAVE_EXP 1
22540 _ACEOF
22541
22542 fi
22543
22544 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22545 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22546 if test "${ac_cv_lib_m_expl+set}" = set; then
22547   echo $ECHO_N "(cached) $ECHO_C" >&6
22548 else
22549   ac_check_lib_save_LIBS=$LIBS
22550 LIBS="-lm  $LIBS"
22551 if test x$gcc_no_link = xyes; then
22552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22554    { (exit 1); exit 1; }; }
22555 fi
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h.  */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h.  */
22562
22563 /* Override any gcc2 internal prototype to avoid an error.  */
22564 #ifdef __cplusplus
22565 extern "C"
22566 #endif
22567 /* We use char because int might match the return type of a gcc2
22568    builtin and then its argument prototype would still apply.  */
22569 char expl ();
22570 int
22571 main ()
22572 {
22573 expl ();
22574   ;
22575   return 0;
22576 }
22577 _ACEOF
22578 rm -f conftest.$ac_objext conftest$ac_exeext
22579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22580   (eval $ac_link) 2>conftest.er1
22581   ac_status=$?
22582   grep -v '^ *+' conftest.er1 >conftest.err
22583   rm -f conftest.er1
22584   cat conftest.err >&5
22585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586   (exit $ac_status); } &&
22587          { ac_try='test -z "$ac_c_werror_flag"
22588                          || test ! -s conftest.err'
22589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22590   (eval $ac_try) 2>&5
22591   ac_status=$?
22592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593   (exit $ac_status); }; } &&
22594          { ac_try='test -s conftest$ac_exeext'
22595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596   (eval $ac_try) 2>&5
22597   ac_status=$?
22598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599   (exit $ac_status); }; }; then
22600   ac_cv_lib_m_expl=yes
22601 else
22602   echo "$as_me: failed program was:" >&5
22603 sed 's/^/| /' conftest.$ac_ext >&5
22604
22605 ac_cv_lib_m_expl=no
22606 fi
22607 rm -f conftest.err conftest.$ac_objext \
22608       conftest$ac_exeext conftest.$ac_ext
22609 LIBS=$ac_check_lib_save_LIBS
22610 fi
22611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22612 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22613 if test $ac_cv_lib_m_expl = yes; then
22614
22615 cat >>confdefs.h <<\_ACEOF
22616 #define HAVE_EXPL 1
22617 _ACEOF
22618
22619 fi
22620
22621 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22622 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22623 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22624   echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22626   ac_check_lib_save_LIBS=$LIBS
22627 LIBS="-lm  $LIBS"
22628 if test x$gcc_no_link = xyes; then
22629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22631    { (exit 1); exit 1; }; }
22632 fi
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h.  */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h.  */
22639
22640 /* Override any gcc2 internal prototype to avoid an error.  */
22641 #ifdef __cplusplus
22642 extern "C"
22643 #endif
22644 /* We use char because int might match the return type of a gcc2
22645    builtin and then its argument prototype would still apply.  */
22646 char cexpf ();
22647 int
22648 main ()
22649 {
22650 cexpf ();
22651   ;
22652   return 0;
22653 }
22654 _ACEOF
22655 rm -f conftest.$ac_objext conftest$ac_exeext
22656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22657   (eval $ac_link) 2>conftest.er1
22658   ac_status=$?
22659   grep -v '^ *+' conftest.er1 >conftest.err
22660   rm -f conftest.er1
22661   cat conftest.err >&5
22662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663   (exit $ac_status); } &&
22664          { ac_try='test -z "$ac_c_werror_flag"
22665                          || test ! -s conftest.err'
22666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667   (eval $ac_try) 2>&5
22668   ac_status=$?
22669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670   (exit $ac_status); }; } &&
22671          { ac_try='test -s conftest$ac_exeext'
22672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22673   (eval $ac_try) 2>&5
22674   ac_status=$?
22675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676   (exit $ac_status); }; }; then
22677   ac_cv_lib_m_cexpf=yes
22678 else
22679   echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22681
22682 ac_cv_lib_m_cexpf=no
22683 fi
22684 rm -f conftest.err conftest.$ac_objext \
22685       conftest$ac_exeext conftest.$ac_ext
22686 LIBS=$ac_check_lib_save_LIBS
22687 fi
22688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22689 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22690 if test $ac_cv_lib_m_cexpf = yes; then
22691
22692 cat >>confdefs.h <<\_ACEOF
22693 #define HAVE_CEXPF 1
22694 _ACEOF
22695
22696 fi
22697
22698 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22699 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22700 if test "${ac_cv_lib_m_cexp+set}" = set; then
22701   echo $ECHO_N "(cached) $ECHO_C" >&6
22702 else
22703   ac_check_lib_save_LIBS=$LIBS
22704 LIBS="-lm  $LIBS"
22705 if test x$gcc_no_link = xyes; then
22706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22708    { (exit 1); exit 1; }; }
22709 fi
22710 cat >conftest.$ac_ext <<_ACEOF
22711 /* confdefs.h.  */
22712 _ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h.  */
22716
22717 /* Override any gcc2 internal prototype to avoid an error.  */
22718 #ifdef __cplusplus
22719 extern "C"
22720 #endif
22721 /* We use char because int might match the return type of a gcc2
22722    builtin and then its argument prototype would still apply.  */
22723 char cexp ();
22724 int
22725 main ()
22726 {
22727 cexp ();
22728   ;
22729   return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest.$ac_objext conftest$ac_exeext
22733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22734   (eval $ac_link) 2>conftest.er1
22735   ac_status=$?
22736   grep -v '^ *+' conftest.er1 >conftest.err
22737   rm -f conftest.er1
22738   cat conftest.err >&5
22739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740   (exit $ac_status); } &&
22741          { ac_try='test -z "$ac_c_werror_flag"
22742                          || test ! -s conftest.err'
22743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744   (eval $ac_try) 2>&5
22745   ac_status=$?
22746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747   (exit $ac_status); }; } &&
22748          { ac_try='test -s conftest$ac_exeext'
22749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750   (eval $ac_try) 2>&5
22751   ac_status=$?
22752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753   (exit $ac_status); }; }; then
22754   ac_cv_lib_m_cexp=yes
22755 else
22756   echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22758
22759 ac_cv_lib_m_cexp=no
22760 fi
22761 rm -f conftest.err conftest.$ac_objext \
22762       conftest$ac_exeext conftest.$ac_ext
22763 LIBS=$ac_check_lib_save_LIBS
22764 fi
22765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22766 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22767 if test $ac_cv_lib_m_cexp = yes; then
22768
22769 cat >>confdefs.h <<\_ACEOF
22770 #define HAVE_CEXP 1
22771 _ACEOF
22772
22773 fi
22774
22775 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22776 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22777 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22778   echo $ECHO_N "(cached) $ECHO_C" >&6
22779 else
22780   ac_check_lib_save_LIBS=$LIBS
22781 LIBS="-lm  $LIBS"
22782 if test x$gcc_no_link = xyes; then
22783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22785    { (exit 1); exit 1; }; }
22786 fi
22787 cat >conftest.$ac_ext <<_ACEOF
22788 /* confdefs.h.  */
22789 _ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h.  */
22793
22794 /* Override any gcc2 internal prototype to avoid an error.  */
22795 #ifdef __cplusplus
22796 extern "C"
22797 #endif
22798 /* We use char because int might match the return type of a gcc2
22799    builtin and then its argument prototype would still apply.  */
22800 char cexpl ();
22801 int
22802 main ()
22803 {
22804 cexpl ();
22805   ;
22806   return 0;
22807 }
22808 _ACEOF
22809 rm -f conftest.$ac_objext conftest$ac_exeext
22810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22811   (eval $ac_link) 2>conftest.er1
22812   ac_status=$?
22813   grep -v '^ *+' conftest.er1 >conftest.err
22814   rm -f conftest.er1
22815   cat conftest.err >&5
22816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817   (exit $ac_status); } &&
22818          { ac_try='test -z "$ac_c_werror_flag"
22819                          || test ! -s conftest.err'
22820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821   (eval $ac_try) 2>&5
22822   ac_status=$?
22823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824   (exit $ac_status); }; } &&
22825          { ac_try='test -s conftest$ac_exeext'
22826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827   (eval $ac_try) 2>&5
22828   ac_status=$?
22829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830   (exit $ac_status); }; }; then
22831   ac_cv_lib_m_cexpl=yes
22832 else
22833   echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22835
22836 ac_cv_lib_m_cexpl=no
22837 fi
22838 rm -f conftest.err conftest.$ac_objext \
22839       conftest$ac_exeext conftest.$ac_ext
22840 LIBS=$ac_check_lib_save_LIBS
22841 fi
22842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22843 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22844 if test $ac_cv_lib_m_cexpl = yes; then
22845
22846 cat >>confdefs.h <<\_ACEOF
22847 #define HAVE_CEXPL 1
22848 _ACEOF
22849
22850 fi
22851
22852 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22853 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22854 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22855   echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857   ac_check_lib_save_LIBS=$LIBS
22858 LIBS="-lm  $LIBS"
22859 if test x$gcc_no_link = xyes; then
22860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22862    { (exit 1); exit 1; }; }
22863 fi
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h.  */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h.  */
22870
22871 /* Override any gcc2 internal prototype to avoid an error.  */
22872 #ifdef __cplusplus
22873 extern "C"
22874 #endif
22875 /* We use char because int might match the return type of a gcc2
22876    builtin and then its argument prototype would still apply.  */
22877 char fabsf ();
22878 int
22879 main ()
22880 {
22881 fabsf ();
22882   ;
22883   return 0;
22884 }
22885 _ACEOF
22886 rm -f conftest.$ac_objext conftest$ac_exeext
22887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22888   (eval $ac_link) 2>conftest.er1
22889   ac_status=$?
22890   grep -v '^ *+' conftest.er1 >conftest.err
22891   rm -f conftest.er1
22892   cat conftest.err >&5
22893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894   (exit $ac_status); } &&
22895          { ac_try='test -z "$ac_c_werror_flag"
22896                          || test ! -s conftest.err'
22897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898   (eval $ac_try) 2>&5
22899   ac_status=$?
22900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901   (exit $ac_status); }; } &&
22902          { ac_try='test -s conftest$ac_exeext'
22903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904   (eval $ac_try) 2>&5
22905   ac_status=$?
22906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907   (exit $ac_status); }; }; then
22908   ac_cv_lib_m_fabsf=yes
22909 else
22910   echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22912
22913 ac_cv_lib_m_fabsf=no
22914 fi
22915 rm -f conftest.err conftest.$ac_objext \
22916       conftest$ac_exeext conftest.$ac_ext
22917 LIBS=$ac_check_lib_save_LIBS
22918 fi
22919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22920 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22921 if test $ac_cv_lib_m_fabsf = yes; then
22922
22923 cat >>confdefs.h <<\_ACEOF
22924 #define HAVE_FABSF 1
22925 _ACEOF
22926
22927 fi
22928
22929 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22930 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22931 if test "${ac_cv_lib_m_fabs+set}" = set; then
22932   echo $ECHO_N "(cached) $ECHO_C" >&6
22933 else
22934   ac_check_lib_save_LIBS=$LIBS
22935 LIBS="-lm  $LIBS"
22936 if test x$gcc_no_link = xyes; then
22937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22939    { (exit 1); exit 1; }; }
22940 fi
22941 cat >conftest.$ac_ext <<_ACEOF
22942 /* confdefs.h.  */
22943 _ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h.  */
22947
22948 /* Override any gcc2 internal prototype to avoid an error.  */
22949 #ifdef __cplusplus
22950 extern "C"
22951 #endif
22952 /* We use char because int might match the return type of a gcc2
22953    builtin and then its argument prototype would still apply.  */
22954 char fabs ();
22955 int
22956 main ()
22957 {
22958 fabs ();
22959   ;
22960   return 0;
22961 }
22962 _ACEOF
22963 rm -f conftest.$ac_objext conftest$ac_exeext
22964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22965   (eval $ac_link) 2>conftest.er1
22966   ac_status=$?
22967   grep -v '^ *+' conftest.er1 >conftest.err
22968   rm -f conftest.er1
22969   cat conftest.err >&5
22970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971   (exit $ac_status); } &&
22972          { ac_try='test -z "$ac_c_werror_flag"
22973                          || test ! -s conftest.err'
22974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975   (eval $ac_try) 2>&5
22976   ac_status=$?
22977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978   (exit $ac_status); }; } &&
22979          { ac_try='test -s conftest$ac_exeext'
22980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981   (eval $ac_try) 2>&5
22982   ac_status=$?
22983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984   (exit $ac_status); }; }; then
22985   ac_cv_lib_m_fabs=yes
22986 else
22987   echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22989
22990 ac_cv_lib_m_fabs=no
22991 fi
22992 rm -f conftest.err conftest.$ac_objext \
22993       conftest$ac_exeext conftest.$ac_ext
22994 LIBS=$ac_check_lib_save_LIBS
22995 fi
22996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
22997 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
22998 if test $ac_cv_lib_m_fabs = yes; then
22999
23000 cat >>confdefs.h <<\_ACEOF
23001 #define HAVE_FABS 1
23002 _ACEOF
23003
23004 fi
23005
23006 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23007 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23008 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23009   echo $ECHO_N "(cached) $ECHO_C" >&6
23010 else
23011   ac_check_lib_save_LIBS=$LIBS
23012 LIBS="-lm  $LIBS"
23013 if test x$gcc_no_link = xyes; then
23014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23016    { (exit 1); exit 1; }; }
23017 fi
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h.  */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h.  */
23024
23025 /* Override any gcc2 internal prototype to avoid an error.  */
23026 #ifdef __cplusplus
23027 extern "C"
23028 #endif
23029 /* We use char because int might match the return type of a gcc2
23030    builtin and then its argument prototype would still apply.  */
23031 char fabsl ();
23032 int
23033 main ()
23034 {
23035 fabsl ();
23036   ;
23037   return 0;
23038 }
23039 _ACEOF
23040 rm -f conftest.$ac_objext conftest$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042   (eval $ac_link) 2>conftest.er1
23043   ac_status=$?
23044   grep -v '^ *+' conftest.er1 >conftest.err
23045   rm -f conftest.er1
23046   cat conftest.err >&5
23047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048   (exit $ac_status); } &&
23049          { ac_try='test -z "$ac_c_werror_flag"
23050                          || test ! -s conftest.err'
23051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052   (eval $ac_try) 2>&5
23053   ac_status=$?
23054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055   (exit $ac_status); }; } &&
23056          { ac_try='test -s conftest$ac_exeext'
23057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058   (eval $ac_try) 2>&5
23059   ac_status=$?
23060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061   (exit $ac_status); }; }; then
23062   ac_cv_lib_m_fabsl=yes
23063 else
23064   echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23066
23067 ac_cv_lib_m_fabsl=no
23068 fi
23069 rm -f conftest.err conftest.$ac_objext \
23070       conftest$ac_exeext conftest.$ac_ext
23071 LIBS=$ac_check_lib_save_LIBS
23072 fi
23073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23074 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23075 if test $ac_cv_lib_m_fabsl = yes; then
23076
23077 cat >>confdefs.h <<\_ACEOF
23078 #define HAVE_FABSL 1
23079 _ACEOF
23080
23081 fi
23082
23083 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23084 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23085 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23086   echo $ECHO_N "(cached) $ECHO_C" >&6
23087 else
23088   ac_check_lib_save_LIBS=$LIBS
23089 LIBS="-lm  $LIBS"
23090 if test x$gcc_no_link = xyes; then
23091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23093    { (exit 1); exit 1; }; }
23094 fi
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h.  */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h.  */
23101
23102 /* Override any gcc2 internal prototype to avoid an error.  */
23103 #ifdef __cplusplus
23104 extern "C"
23105 #endif
23106 /* We use char because int might match the return type of a gcc2
23107    builtin and then its argument prototype would still apply.  */
23108 char cabsf ();
23109 int
23110 main ()
23111 {
23112 cabsf ();
23113   ;
23114   return 0;
23115 }
23116 _ACEOF
23117 rm -f conftest.$ac_objext conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119   (eval $ac_link) 2>conftest.er1
23120   ac_status=$?
23121   grep -v '^ *+' conftest.er1 >conftest.err
23122   rm -f conftest.er1
23123   cat conftest.err >&5
23124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125   (exit $ac_status); } &&
23126          { ac_try='test -z "$ac_c_werror_flag"
23127                          || test ! -s conftest.err'
23128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129   (eval $ac_try) 2>&5
23130   ac_status=$?
23131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132   (exit $ac_status); }; } &&
23133          { ac_try='test -s conftest$ac_exeext'
23134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135   (eval $ac_try) 2>&5
23136   ac_status=$?
23137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138   (exit $ac_status); }; }; then
23139   ac_cv_lib_m_cabsf=yes
23140 else
23141   echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_cv_lib_m_cabsf=no
23145 fi
23146 rm -f conftest.err conftest.$ac_objext \
23147       conftest$ac_exeext conftest.$ac_ext
23148 LIBS=$ac_check_lib_save_LIBS
23149 fi
23150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23151 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23152 if test $ac_cv_lib_m_cabsf = yes; then
23153
23154 cat >>confdefs.h <<\_ACEOF
23155 #define HAVE_CABSF 1
23156 _ACEOF
23157
23158 fi
23159
23160 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23161 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23162 if test "${ac_cv_lib_m_cabs+set}" = set; then
23163   echo $ECHO_N "(cached) $ECHO_C" >&6
23164 else
23165   ac_check_lib_save_LIBS=$LIBS
23166 LIBS="-lm  $LIBS"
23167 if test x$gcc_no_link = xyes; then
23168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23170    { (exit 1); exit 1; }; }
23171 fi
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h.  */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h.  */
23178
23179 /* Override any gcc2 internal prototype to avoid an error.  */
23180 #ifdef __cplusplus
23181 extern "C"
23182 #endif
23183 /* We use char because int might match the return type of a gcc2
23184    builtin and then its argument prototype would still apply.  */
23185 char cabs ();
23186 int
23187 main ()
23188 {
23189 cabs ();
23190   ;
23191   return 0;
23192 }
23193 _ACEOF
23194 rm -f conftest.$ac_objext conftest$ac_exeext
23195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23196   (eval $ac_link) 2>conftest.er1
23197   ac_status=$?
23198   grep -v '^ *+' conftest.er1 >conftest.err
23199   rm -f conftest.er1
23200   cat conftest.err >&5
23201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202   (exit $ac_status); } &&
23203          { ac_try='test -z "$ac_c_werror_flag"
23204                          || test ! -s conftest.err'
23205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206   (eval $ac_try) 2>&5
23207   ac_status=$?
23208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209   (exit $ac_status); }; } &&
23210          { ac_try='test -s conftest$ac_exeext'
23211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212   (eval $ac_try) 2>&5
23213   ac_status=$?
23214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215   (exit $ac_status); }; }; then
23216   ac_cv_lib_m_cabs=yes
23217 else
23218   echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23220
23221 ac_cv_lib_m_cabs=no
23222 fi
23223 rm -f conftest.err conftest.$ac_objext \
23224       conftest$ac_exeext conftest.$ac_ext
23225 LIBS=$ac_check_lib_save_LIBS
23226 fi
23227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23228 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23229 if test $ac_cv_lib_m_cabs = yes; then
23230
23231 cat >>confdefs.h <<\_ACEOF
23232 #define HAVE_CABS 1
23233 _ACEOF
23234
23235 fi
23236
23237 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23238 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23239 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23240   echo $ECHO_N "(cached) $ECHO_C" >&6
23241 else
23242   ac_check_lib_save_LIBS=$LIBS
23243 LIBS="-lm  $LIBS"
23244 if test x$gcc_no_link = xyes; then
23245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23247    { (exit 1); exit 1; }; }
23248 fi
23249 cat >conftest.$ac_ext <<_ACEOF
23250 /* confdefs.h.  */
23251 _ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h.  */
23255
23256 /* Override any gcc2 internal prototype to avoid an error.  */
23257 #ifdef __cplusplus
23258 extern "C"
23259 #endif
23260 /* We use char because int might match the return type of a gcc2
23261    builtin and then its argument prototype would still apply.  */
23262 char cabsl ();
23263 int
23264 main ()
23265 {
23266 cabsl ();
23267   ;
23268   return 0;
23269 }
23270 _ACEOF
23271 rm -f conftest.$ac_objext conftest$ac_exeext
23272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273   (eval $ac_link) 2>conftest.er1
23274   ac_status=$?
23275   grep -v '^ *+' conftest.er1 >conftest.err
23276   rm -f conftest.er1
23277   cat conftest.err >&5
23278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279   (exit $ac_status); } &&
23280          { ac_try='test -z "$ac_c_werror_flag"
23281                          || test ! -s conftest.err'
23282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283   (eval $ac_try) 2>&5
23284   ac_status=$?
23285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286   (exit $ac_status); }; } &&
23287          { ac_try='test -s conftest$ac_exeext'
23288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289   (eval $ac_try) 2>&5
23290   ac_status=$?
23291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292   (exit $ac_status); }; }; then
23293   ac_cv_lib_m_cabsl=yes
23294 else
23295   echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23297
23298 ac_cv_lib_m_cabsl=no
23299 fi
23300 rm -f conftest.err conftest.$ac_objext \
23301       conftest$ac_exeext conftest.$ac_ext
23302 LIBS=$ac_check_lib_save_LIBS
23303 fi
23304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23305 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23306 if test $ac_cv_lib_m_cabsl = yes; then
23307
23308 cat >>confdefs.h <<\_ACEOF
23309 #define HAVE_CABSL 1
23310 _ACEOF
23311
23312 fi
23313
23314 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23315 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23316 if test "${ac_cv_lib_m_floorf+set}" = set; then
23317   echo $ECHO_N "(cached) $ECHO_C" >&6
23318 else
23319   ac_check_lib_save_LIBS=$LIBS
23320 LIBS="-lm  $LIBS"
23321 if test x$gcc_no_link = xyes; then
23322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23324    { (exit 1); exit 1; }; }
23325 fi
23326 cat >conftest.$ac_ext <<_ACEOF
23327 /* confdefs.h.  */
23328 _ACEOF
23329 cat confdefs.h >>conftest.$ac_ext
23330 cat >>conftest.$ac_ext <<_ACEOF
23331 /* end confdefs.h.  */
23332
23333 /* Override any gcc2 internal prototype to avoid an error.  */
23334 #ifdef __cplusplus
23335 extern "C"
23336 #endif
23337 /* We use char because int might match the return type of a gcc2
23338    builtin and then its argument prototype would still apply.  */
23339 char floorf ();
23340 int
23341 main ()
23342 {
23343 floorf ();
23344   ;
23345   return 0;
23346 }
23347 _ACEOF
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350   (eval $ac_link) 2>conftest.er1
23351   ac_status=$?
23352   grep -v '^ *+' conftest.er1 >conftest.err
23353   rm -f conftest.er1
23354   cat conftest.err >&5
23355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356   (exit $ac_status); } &&
23357          { ac_try='test -z "$ac_c_werror_flag"
23358                          || test ! -s conftest.err'
23359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360   (eval $ac_try) 2>&5
23361   ac_status=$?
23362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363   (exit $ac_status); }; } &&
23364          { ac_try='test -s conftest$ac_exeext'
23365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366   (eval $ac_try) 2>&5
23367   ac_status=$?
23368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369   (exit $ac_status); }; }; then
23370   ac_cv_lib_m_floorf=yes
23371 else
23372   echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23374
23375 ac_cv_lib_m_floorf=no
23376 fi
23377 rm -f conftest.err conftest.$ac_objext \
23378       conftest$ac_exeext conftest.$ac_ext
23379 LIBS=$ac_check_lib_save_LIBS
23380 fi
23381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23382 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23383 if test $ac_cv_lib_m_floorf = yes; then
23384
23385 cat >>confdefs.h <<\_ACEOF
23386 #define HAVE_FLOORF 1
23387 _ACEOF
23388
23389 fi
23390
23391 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23392 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23393 if test "${ac_cv_lib_m_floor+set}" = set; then
23394   echo $ECHO_N "(cached) $ECHO_C" >&6
23395 else
23396   ac_check_lib_save_LIBS=$LIBS
23397 LIBS="-lm  $LIBS"
23398 if test x$gcc_no_link = xyes; then
23399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23401    { (exit 1); exit 1; }; }
23402 fi
23403 cat >conftest.$ac_ext <<_ACEOF
23404 /* confdefs.h.  */
23405 _ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h.  */
23409
23410 /* Override any gcc2 internal prototype to avoid an error.  */
23411 #ifdef __cplusplus
23412 extern "C"
23413 #endif
23414 /* We use char because int might match the return type of a gcc2
23415    builtin and then its argument prototype would still apply.  */
23416 char floor ();
23417 int
23418 main ()
23419 {
23420 floor ();
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext conftest$ac_exeext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23427   (eval $ac_link) 2>conftest.er1
23428   ac_status=$?
23429   grep -v '^ *+' conftest.er1 >conftest.err
23430   rm -f conftest.er1
23431   cat conftest.err >&5
23432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433   (exit $ac_status); } &&
23434          { ac_try='test -z "$ac_c_werror_flag"
23435                          || test ! -s conftest.err'
23436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437   (eval $ac_try) 2>&5
23438   ac_status=$?
23439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440   (exit $ac_status); }; } &&
23441          { ac_try='test -s conftest$ac_exeext'
23442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443   (eval $ac_try) 2>&5
23444   ac_status=$?
23445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446   (exit $ac_status); }; }; then
23447   ac_cv_lib_m_floor=yes
23448 else
23449   echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23451
23452 ac_cv_lib_m_floor=no
23453 fi
23454 rm -f conftest.err conftest.$ac_objext \
23455       conftest$ac_exeext conftest.$ac_ext
23456 LIBS=$ac_check_lib_save_LIBS
23457 fi
23458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23459 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23460 if test $ac_cv_lib_m_floor = yes; then
23461
23462 cat >>confdefs.h <<\_ACEOF
23463 #define HAVE_FLOOR 1
23464 _ACEOF
23465
23466 fi
23467
23468 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23469 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23470 if test "${ac_cv_lib_m_floorl+set}" = set; then
23471   echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473   ac_check_lib_save_LIBS=$LIBS
23474 LIBS="-lm  $LIBS"
23475 if test x$gcc_no_link = xyes; then
23476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23478    { (exit 1); exit 1; }; }
23479 fi
23480 cat >conftest.$ac_ext <<_ACEOF
23481 /* confdefs.h.  */
23482 _ACEOF
23483 cat confdefs.h >>conftest.$ac_ext
23484 cat >>conftest.$ac_ext <<_ACEOF
23485 /* end confdefs.h.  */
23486
23487 /* Override any gcc2 internal prototype to avoid an error.  */
23488 #ifdef __cplusplus
23489 extern "C"
23490 #endif
23491 /* We use char because int might match the return type of a gcc2
23492    builtin and then its argument prototype would still apply.  */
23493 char floorl ();
23494 int
23495 main ()
23496 {
23497 floorl ();
23498   ;
23499   return 0;
23500 }
23501 _ACEOF
23502 rm -f conftest.$ac_objext conftest$ac_exeext
23503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23504   (eval $ac_link) 2>conftest.er1
23505   ac_status=$?
23506   grep -v '^ *+' conftest.er1 >conftest.err
23507   rm -f conftest.er1
23508   cat conftest.err >&5
23509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510   (exit $ac_status); } &&
23511          { ac_try='test -z "$ac_c_werror_flag"
23512                          || test ! -s conftest.err'
23513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514   (eval $ac_try) 2>&5
23515   ac_status=$?
23516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517   (exit $ac_status); }; } &&
23518          { ac_try='test -s conftest$ac_exeext'
23519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520   (eval $ac_try) 2>&5
23521   ac_status=$?
23522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523   (exit $ac_status); }; }; then
23524   ac_cv_lib_m_floorl=yes
23525 else
23526   echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23528
23529 ac_cv_lib_m_floorl=no
23530 fi
23531 rm -f conftest.err conftest.$ac_objext \
23532       conftest$ac_exeext conftest.$ac_ext
23533 LIBS=$ac_check_lib_save_LIBS
23534 fi
23535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23536 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23537 if test $ac_cv_lib_m_floorl = yes; then
23538
23539 cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_FLOORL 1
23541 _ACEOF
23542
23543 fi
23544
23545 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23546 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23547 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23548   echo $ECHO_N "(cached) $ECHO_C" >&6
23549 else
23550   ac_check_lib_save_LIBS=$LIBS
23551 LIBS="-lm  $LIBS"
23552 if test x$gcc_no_link = xyes; then
23553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23555    { (exit 1); exit 1; }; }
23556 fi
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h.  */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h.  */
23563
23564 /* Override any gcc2 internal prototype to avoid an error.  */
23565 #ifdef __cplusplus
23566 extern "C"
23567 #endif
23568 /* We use char because int might match the return type of a gcc2
23569    builtin and then its argument prototype would still apply.  */
23570 char fmodf ();
23571 int
23572 main ()
23573 {
23574 fmodf ();
23575   ;
23576   return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext conftest$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581   (eval $ac_link) 2>conftest.er1
23582   ac_status=$?
23583   grep -v '^ *+' conftest.er1 >conftest.err
23584   rm -f conftest.er1
23585   cat conftest.err >&5
23586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587   (exit $ac_status); } &&
23588          { ac_try='test -z "$ac_c_werror_flag"
23589                          || test ! -s conftest.err'
23590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591   (eval $ac_try) 2>&5
23592   ac_status=$?
23593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594   (exit $ac_status); }; } &&
23595          { ac_try='test -s conftest$ac_exeext'
23596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597   (eval $ac_try) 2>&5
23598   ac_status=$?
23599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600   (exit $ac_status); }; }; then
23601   ac_cv_lib_m_fmodf=yes
23602 else
23603   echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23605
23606 ac_cv_lib_m_fmodf=no
23607 fi
23608 rm -f conftest.err conftest.$ac_objext \
23609       conftest$ac_exeext conftest.$ac_ext
23610 LIBS=$ac_check_lib_save_LIBS
23611 fi
23612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23613 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23614 if test $ac_cv_lib_m_fmodf = yes; then
23615
23616 cat >>confdefs.h <<\_ACEOF
23617 #define HAVE_FMODF 1
23618 _ACEOF
23619
23620 fi
23621
23622 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23623 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23624 if test "${ac_cv_lib_m_fmod+set}" = set; then
23625   echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627   ac_check_lib_save_LIBS=$LIBS
23628 LIBS="-lm  $LIBS"
23629 if test x$gcc_no_link = xyes; then
23630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23632    { (exit 1); exit 1; }; }
23633 fi
23634 cat >conftest.$ac_ext <<_ACEOF
23635 /* confdefs.h.  */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h.  */
23640
23641 /* Override any gcc2 internal prototype to avoid an error.  */
23642 #ifdef __cplusplus
23643 extern "C"
23644 #endif
23645 /* We use char because int might match the return type of a gcc2
23646    builtin and then its argument prototype would still apply.  */
23647 char fmod ();
23648 int
23649 main ()
23650 {
23651 fmod ();
23652   ;
23653   return 0;
23654 }
23655 _ACEOF
23656 rm -f conftest.$ac_objext conftest$ac_exeext
23657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23658   (eval $ac_link) 2>conftest.er1
23659   ac_status=$?
23660   grep -v '^ *+' conftest.er1 >conftest.err
23661   rm -f conftest.er1
23662   cat conftest.err >&5
23663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664   (exit $ac_status); } &&
23665          { ac_try='test -z "$ac_c_werror_flag"
23666                          || test ! -s conftest.err'
23667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668   (eval $ac_try) 2>&5
23669   ac_status=$?
23670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671   (exit $ac_status); }; } &&
23672          { ac_try='test -s conftest$ac_exeext'
23673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23674   (eval $ac_try) 2>&5
23675   ac_status=$?
23676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677   (exit $ac_status); }; }; then
23678   ac_cv_lib_m_fmod=yes
23679 else
23680   echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.$ac_ext >&5
23682
23683 ac_cv_lib_m_fmod=no
23684 fi
23685 rm -f conftest.err conftest.$ac_objext \
23686       conftest$ac_exeext conftest.$ac_ext
23687 LIBS=$ac_check_lib_save_LIBS
23688 fi
23689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23690 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23691 if test $ac_cv_lib_m_fmod = yes; then
23692
23693 cat >>confdefs.h <<\_ACEOF
23694 #define HAVE_FMOD 1
23695 _ACEOF
23696
23697 fi
23698
23699 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23700 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23701 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23702   echo $ECHO_N "(cached) $ECHO_C" >&6
23703 else
23704   ac_check_lib_save_LIBS=$LIBS
23705 LIBS="-lm  $LIBS"
23706 if test x$gcc_no_link = xyes; then
23707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23709    { (exit 1); exit 1; }; }
23710 fi
23711 cat >conftest.$ac_ext <<_ACEOF
23712 /* confdefs.h.  */
23713 _ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h.  */
23717
23718 /* Override any gcc2 internal prototype to avoid an error.  */
23719 #ifdef __cplusplus
23720 extern "C"
23721 #endif
23722 /* We use char because int might match the return type of a gcc2
23723    builtin and then its argument prototype would still apply.  */
23724 char fmodl ();
23725 int
23726 main ()
23727 {
23728 fmodl ();
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 rm -f conftest.$ac_objext conftest$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735   (eval $ac_link) 2>conftest.er1
23736   ac_status=$?
23737   grep -v '^ *+' conftest.er1 >conftest.err
23738   rm -f conftest.er1
23739   cat conftest.err >&5
23740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741   (exit $ac_status); } &&
23742          { ac_try='test -z "$ac_c_werror_flag"
23743                          || test ! -s conftest.err'
23744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745   (eval $ac_try) 2>&5
23746   ac_status=$?
23747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748   (exit $ac_status); }; } &&
23749          { ac_try='test -s conftest$ac_exeext'
23750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751   (eval $ac_try) 2>&5
23752   ac_status=$?
23753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754   (exit $ac_status); }; }; then
23755   ac_cv_lib_m_fmodl=yes
23756 else
23757   echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23759
23760 ac_cv_lib_m_fmodl=no
23761 fi
23762 rm -f conftest.err conftest.$ac_objext \
23763       conftest$ac_exeext conftest.$ac_ext
23764 LIBS=$ac_check_lib_save_LIBS
23765 fi
23766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23767 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23768 if test $ac_cv_lib_m_fmodl = yes; then
23769
23770 cat >>confdefs.h <<\_ACEOF
23771 #define HAVE_FMODL 1
23772 _ACEOF
23773
23774 fi
23775
23776 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23777 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23778 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23779   echo $ECHO_N "(cached) $ECHO_C" >&6
23780 else
23781   ac_check_lib_save_LIBS=$LIBS
23782 LIBS="-lm  $LIBS"
23783 if test x$gcc_no_link = xyes; then
23784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23786    { (exit 1); exit 1; }; }
23787 fi
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h.  */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h.  */
23794
23795 /* Override any gcc2 internal prototype to avoid an error.  */
23796 #ifdef __cplusplus
23797 extern "C"
23798 #endif
23799 /* We use char because int might match the return type of a gcc2
23800    builtin and then its argument prototype would still apply.  */
23801 char frexpf ();
23802 int
23803 main ()
23804 {
23805 frexpf ();
23806   ;
23807   return 0;
23808 }
23809 _ACEOF
23810 rm -f conftest.$ac_objext conftest$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812   (eval $ac_link) 2>conftest.er1
23813   ac_status=$?
23814   grep -v '^ *+' conftest.er1 >conftest.err
23815   rm -f conftest.er1
23816   cat conftest.err >&5
23817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818   (exit $ac_status); } &&
23819          { ac_try='test -z "$ac_c_werror_flag"
23820                          || test ! -s conftest.err'
23821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822   (eval $ac_try) 2>&5
23823   ac_status=$?
23824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825   (exit $ac_status); }; } &&
23826          { ac_try='test -s conftest$ac_exeext'
23827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23828   (eval $ac_try) 2>&5
23829   ac_status=$?
23830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831   (exit $ac_status); }; }; then
23832   ac_cv_lib_m_frexpf=yes
23833 else
23834   echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.$ac_ext >&5
23836
23837 ac_cv_lib_m_frexpf=no
23838 fi
23839 rm -f conftest.err conftest.$ac_objext \
23840       conftest$ac_exeext conftest.$ac_ext
23841 LIBS=$ac_check_lib_save_LIBS
23842 fi
23843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23844 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23845 if test $ac_cv_lib_m_frexpf = yes; then
23846
23847 cat >>confdefs.h <<\_ACEOF
23848 #define HAVE_FREXPF 1
23849 _ACEOF
23850
23851 fi
23852
23853 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23854 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23855 if test "${ac_cv_lib_m_frexp+set}" = set; then
23856   echo $ECHO_N "(cached) $ECHO_C" >&6
23857 else
23858   ac_check_lib_save_LIBS=$LIBS
23859 LIBS="-lm  $LIBS"
23860 if test x$gcc_no_link = xyes; then
23861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23863    { (exit 1); exit 1; }; }
23864 fi
23865 cat >conftest.$ac_ext <<_ACEOF
23866 /* confdefs.h.  */
23867 _ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h.  */
23871
23872 /* Override any gcc2 internal prototype to avoid an error.  */
23873 #ifdef __cplusplus
23874 extern "C"
23875 #endif
23876 /* We use char because int might match the return type of a gcc2
23877    builtin and then its argument prototype would still apply.  */
23878 char frexp ();
23879 int
23880 main ()
23881 {
23882 frexp ();
23883   ;
23884   return 0;
23885 }
23886 _ACEOF
23887 rm -f conftest.$ac_objext conftest$ac_exeext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23889   (eval $ac_link) 2>conftest.er1
23890   ac_status=$?
23891   grep -v '^ *+' conftest.er1 >conftest.err
23892   rm -f conftest.er1
23893   cat conftest.err >&5
23894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895   (exit $ac_status); } &&
23896          { ac_try='test -z "$ac_c_werror_flag"
23897                          || test ! -s conftest.err'
23898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899   (eval $ac_try) 2>&5
23900   ac_status=$?
23901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902   (exit $ac_status); }; } &&
23903          { ac_try='test -s conftest$ac_exeext'
23904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905   (eval $ac_try) 2>&5
23906   ac_status=$?
23907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908   (exit $ac_status); }; }; then
23909   ac_cv_lib_m_frexp=yes
23910 else
23911   echo "$as_me: failed program was:" >&5
23912 sed 's/^/| /' conftest.$ac_ext >&5
23913
23914 ac_cv_lib_m_frexp=no
23915 fi
23916 rm -f conftest.err conftest.$ac_objext \
23917       conftest$ac_exeext conftest.$ac_ext
23918 LIBS=$ac_check_lib_save_LIBS
23919 fi
23920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23921 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23922 if test $ac_cv_lib_m_frexp = yes; then
23923
23924 cat >>confdefs.h <<\_ACEOF
23925 #define HAVE_FREXP 1
23926 _ACEOF
23927
23928 fi
23929
23930 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23931 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23932 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23933   echo $ECHO_N "(cached) $ECHO_C" >&6
23934 else
23935   ac_check_lib_save_LIBS=$LIBS
23936 LIBS="-lm  $LIBS"
23937 if test x$gcc_no_link = xyes; then
23938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23940    { (exit 1); exit 1; }; }
23941 fi
23942 cat >conftest.$ac_ext <<_ACEOF
23943 /* confdefs.h.  */
23944 _ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h.  */
23948
23949 /* Override any gcc2 internal prototype to avoid an error.  */
23950 #ifdef __cplusplus
23951 extern "C"
23952 #endif
23953 /* We use char because int might match the return type of a gcc2
23954    builtin and then its argument prototype would still apply.  */
23955 char frexpl ();
23956 int
23957 main ()
23958 {
23959 frexpl ();
23960   ;
23961   return 0;
23962 }
23963 _ACEOF
23964 rm -f conftest.$ac_objext conftest$ac_exeext
23965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23966   (eval $ac_link) 2>conftest.er1
23967   ac_status=$?
23968   grep -v '^ *+' conftest.er1 >conftest.err
23969   rm -f conftest.er1
23970   cat conftest.err >&5
23971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972   (exit $ac_status); } &&
23973          { ac_try='test -z "$ac_c_werror_flag"
23974                          || test ! -s conftest.err'
23975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23976   (eval $ac_try) 2>&5
23977   ac_status=$?
23978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979   (exit $ac_status); }; } &&
23980          { ac_try='test -s conftest$ac_exeext'
23981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982   (eval $ac_try) 2>&5
23983   ac_status=$?
23984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985   (exit $ac_status); }; }; then
23986   ac_cv_lib_m_frexpl=yes
23987 else
23988   echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23990
23991 ac_cv_lib_m_frexpl=no
23992 fi
23993 rm -f conftest.err conftest.$ac_objext \
23994       conftest$ac_exeext conftest.$ac_ext
23995 LIBS=$ac_check_lib_save_LIBS
23996 fi
23997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
23998 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
23999 if test $ac_cv_lib_m_frexpl = yes; then
24000
24001 cat >>confdefs.h <<\_ACEOF
24002 #define HAVE_FREXPL 1
24003 _ACEOF
24004
24005 fi
24006
24007 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24008 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24009 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24010   echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012   ac_check_lib_save_LIBS=$LIBS
24013 LIBS="-lm  $LIBS"
24014 if test x$gcc_no_link = xyes; then
24015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24017    { (exit 1); exit 1; }; }
24018 fi
24019 cat >conftest.$ac_ext <<_ACEOF
24020 /* confdefs.h.  */
24021 _ACEOF
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h.  */
24025
24026 /* Override any gcc2 internal prototype to avoid an error.  */
24027 #ifdef __cplusplus
24028 extern "C"
24029 #endif
24030 /* We use char because int might match the return type of a gcc2
24031    builtin and then its argument prototype would still apply.  */
24032 char hypotf ();
24033 int
24034 main ()
24035 {
24036 hypotf ();
24037   ;
24038   return 0;
24039 }
24040 _ACEOF
24041 rm -f conftest.$ac_objext conftest$ac_exeext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24043   (eval $ac_link) 2>conftest.er1
24044   ac_status=$?
24045   grep -v '^ *+' conftest.er1 >conftest.err
24046   rm -f conftest.er1
24047   cat conftest.err >&5
24048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049   (exit $ac_status); } &&
24050          { ac_try='test -z "$ac_c_werror_flag"
24051                          || test ! -s conftest.err'
24052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053   (eval $ac_try) 2>&5
24054   ac_status=$?
24055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056   (exit $ac_status); }; } &&
24057          { ac_try='test -s conftest$ac_exeext'
24058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059   (eval $ac_try) 2>&5
24060   ac_status=$?
24061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062   (exit $ac_status); }; }; then
24063   ac_cv_lib_m_hypotf=yes
24064 else
24065   echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 ac_cv_lib_m_hypotf=no
24069 fi
24070 rm -f conftest.err conftest.$ac_objext \
24071       conftest$ac_exeext conftest.$ac_ext
24072 LIBS=$ac_check_lib_save_LIBS
24073 fi
24074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24075 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24076 if test $ac_cv_lib_m_hypotf = yes; then
24077
24078 cat >>confdefs.h <<\_ACEOF
24079 #define HAVE_HYPOTF 1
24080 _ACEOF
24081
24082 fi
24083
24084 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24085 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24086 if test "${ac_cv_lib_m_hypot+set}" = set; then
24087   echo $ECHO_N "(cached) $ECHO_C" >&6
24088 else
24089   ac_check_lib_save_LIBS=$LIBS
24090 LIBS="-lm  $LIBS"
24091 if test x$gcc_no_link = xyes; then
24092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24094    { (exit 1); exit 1; }; }
24095 fi
24096 cat >conftest.$ac_ext <<_ACEOF
24097 /* confdefs.h.  */
24098 _ACEOF
24099 cat confdefs.h >>conftest.$ac_ext
24100 cat >>conftest.$ac_ext <<_ACEOF
24101 /* end confdefs.h.  */
24102
24103 /* Override any gcc2 internal prototype to avoid an error.  */
24104 #ifdef __cplusplus
24105 extern "C"
24106 #endif
24107 /* We use char because int might match the return type of a gcc2
24108    builtin and then its argument prototype would still apply.  */
24109 char hypot ();
24110 int
24111 main ()
24112 {
24113 hypot ();
24114   ;
24115   return 0;
24116 }
24117 _ACEOF
24118 rm -f conftest.$ac_objext conftest$ac_exeext
24119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24120   (eval $ac_link) 2>conftest.er1
24121   ac_status=$?
24122   grep -v '^ *+' conftest.er1 >conftest.err
24123   rm -f conftest.er1
24124   cat conftest.err >&5
24125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126   (exit $ac_status); } &&
24127          { ac_try='test -z "$ac_c_werror_flag"
24128                          || test ! -s conftest.err'
24129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130   (eval $ac_try) 2>&5
24131   ac_status=$?
24132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133   (exit $ac_status); }; } &&
24134          { ac_try='test -s conftest$ac_exeext'
24135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136   (eval $ac_try) 2>&5
24137   ac_status=$?
24138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139   (exit $ac_status); }; }; then
24140   ac_cv_lib_m_hypot=yes
24141 else
24142   echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 ac_cv_lib_m_hypot=no
24146 fi
24147 rm -f conftest.err conftest.$ac_objext \
24148       conftest$ac_exeext conftest.$ac_ext
24149 LIBS=$ac_check_lib_save_LIBS
24150 fi
24151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24152 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24153 if test $ac_cv_lib_m_hypot = yes; then
24154
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_HYPOT 1
24157 _ACEOF
24158
24159 fi
24160
24161 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24162 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24163 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24164   echo $ECHO_N "(cached) $ECHO_C" >&6
24165 else
24166   ac_check_lib_save_LIBS=$LIBS
24167 LIBS="-lm  $LIBS"
24168 if test x$gcc_no_link = xyes; then
24169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24171    { (exit 1); exit 1; }; }
24172 fi
24173 cat >conftest.$ac_ext <<_ACEOF
24174 /* confdefs.h.  */
24175 _ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h.  */
24179
24180 /* Override any gcc2 internal prototype to avoid an error.  */
24181 #ifdef __cplusplus
24182 extern "C"
24183 #endif
24184 /* We use char because int might match the return type of a gcc2
24185    builtin and then its argument prototype would still apply.  */
24186 char hypotl ();
24187 int
24188 main ()
24189 {
24190 hypotl ();
24191   ;
24192   return 0;
24193 }
24194 _ACEOF
24195 rm -f conftest.$ac_objext conftest$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197   (eval $ac_link) 2>conftest.er1
24198   ac_status=$?
24199   grep -v '^ *+' conftest.er1 >conftest.err
24200   rm -f conftest.er1
24201   cat conftest.err >&5
24202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203   (exit $ac_status); } &&
24204          { ac_try='test -z "$ac_c_werror_flag"
24205                          || test ! -s conftest.err'
24206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207   (eval $ac_try) 2>&5
24208   ac_status=$?
24209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210   (exit $ac_status); }; } &&
24211          { ac_try='test -s conftest$ac_exeext'
24212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213   (eval $ac_try) 2>&5
24214   ac_status=$?
24215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216   (exit $ac_status); }; }; then
24217   ac_cv_lib_m_hypotl=yes
24218 else
24219   echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222 ac_cv_lib_m_hypotl=no
24223 fi
24224 rm -f conftest.err conftest.$ac_objext \
24225       conftest$ac_exeext conftest.$ac_ext
24226 LIBS=$ac_check_lib_save_LIBS
24227 fi
24228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24229 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24230 if test $ac_cv_lib_m_hypotl = yes; then
24231
24232 cat >>confdefs.h <<\_ACEOF
24233 #define HAVE_HYPOTL 1
24234 _ACEOF
24235
24236 fi
24237
24238 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24239 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24240 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24241   echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243   ac_check_lib_save_LIBS=$LIBS
24244 LIBS="-lm  $LIBS"
24245 if test x$gcc_no_link = xyes; then
24246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24248    { (exit 1); exit 1; }; }
24249 fi
24250 cat >conftest.$ac_ext <<_ACEOF
24251 /* confdefs.h.  */
24252 _ACEOF
24253 cat confdefs.h >>conftest.$ac_ext
24254 cat >>conftest.$ac_ext <<_ACEOF
24255 /* end confdefs.h.  */
24256
24257 /* Override any gcc2 internal prototype to avoid an error.  */
24258 #ifdef __cplusplus
24259 extern "C"
24260 #endif
24261 /* We use char because int might match the return type of a gcc2
24262    builtin and then its argument prototype would still apply.  */
24263 char ldexpf ();
24264 int
24265 main ()
24266 {
24267 ldexpf ();
24268   ;
24269   return 0;
24270 }
24271 _ACEOF
24272 rm -f conftest.$ac_objext conftest$ac_exeext
24273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24274   (eval $ac_link) 2>conftest.er1
24275   ac_status=$?
24276   grep -v '^ *+' conftest.er1 >conftest.err
24277   rm -f conftest.er1
24278   cat conftest.err >&5
24279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280   (exit $ac_status); } &&
24281          { ac_try='test -z "$ac_c_werror_flag"
24282                          || test ! -s conftest.err'
24283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284   (eval $ac_try) 2>&5
24285   ac_status=$?
24286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287   (exit $ac_status); }; } &&
24288          { ac_try='test -s conftest$ac_exeext'
24289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290   (eval $ac_try) 2>&5
24291   ac_status=$?
24292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293   (exit $ac_status); }; }; then
24294   ac_cv_lib_m_ldexpf=yes
24295 else
24296   echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24298
24299 ac_cv_lib_m_ldexpf=no
24300 fi
24301 rm -f conftest.err conftest.$ac_objext \
24302       conftest$ac_exeext conftest.$ac_ext
24303 LIBS=$ac_check_lib_save_LIBS
24304 fi
24305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24306 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24307 if test $ac_cv_lib_m_ldexpf = yes; then
24308
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_LDEXPF 1
24311 _ACEOF
24312
24313 fi
24314
24315 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24316 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24317 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24318   echo $ECHO_N "(cached) $ECHO_C" >&6
24319 else
24320   ac_check_lib_save_LIBS=$LIBS
24321 LIBS="-lm  $LIBS"
24322 if test x$gcc_no_link = xyes; then
24323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24325    { (exit 1); exit 1; }; }
24326 fi
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h.  */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h.  */
24333
24334 /* Override any gcc2 internal prototype to avoid an error.  */
24335 #ifdef __cplusplus
24336 extern "C"
24337 #endif
24338 /* We use char because int might match the return type of a gcc2
24339    builtin and then its argument prototype would still apply.  */
24340 char ldexp ();
24341 int
24342 main ()
24343 {
24344 ldexp ();
24345   ;
24346   return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext conftest$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351   (eval $ac_link) 2>conftest.er1
24352   ac_status=$?
24353   grep -v '^ *+' conftest.er1 >conftest.err
24354   rm -f conftest.er1
24355   cat conftest.err >&5
24356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357   (exit $ac_status); } &&
24358          { ac_try='test -z "$ac_c_werror_flag"
24359                          || test ! -s conftest.err'
24360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361   (eval $ac_try) 2>&5
24362   ac_status=$?
24363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364   (exit $ac_status); }; } &&
24365          { ac_try='test -s conftest$ac_exeext'
24366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367   (eval $ac_try) 2>&5
24368   ac_status=$?
24369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370   (exit $ac_status); }; }; then
24371   ac_cv_lib_m_ldexp=yes
24372 else
24373   echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24375
24376 ac_cv_lib_m_ldexp=no
24377 fi
24378 rm -f conftest.err conftest.$ac_objext \
24379       conftest$ac_exeext conftest.$ac_ext
24380 LIBS=$ac_check_lib_save_LIBS
24381 fi
24382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24383 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24384 if test $ac_cv_lib_m_ldexp = yes; then
24385
24386 cat >>confdefs.h <<\_ACEOF
24387 #define HAVE_LDEXP 1
24388 _ACEOF
24389
24390 fi
24391
24392 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24393 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24394 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24395   echo $ECHO_N "(cached) $ECHO_C" >&6
24396 else
24397   ac_check_lib_save_LIBS=$LIBS
24398 LIBS="-lm  $LIBS"
24399 if test x$gcc_no_link = xyes; then
24400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24402    { (exit 1); exit 1; }; }
24403 fi
24404 cat >conftest.$ac_ext <<_ACEOF
24405 /* confdefs.h.  */
24406 _ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h.  */
24410
24411 /* Override any gcc2 internal prototype to avoid an error.  */
24412 #ifdef __cplusplus
24413 extern "C"
24414 #endif
24415 /* We use char because int might match the return type of a gcc2
24416    builtin and then its argument prototype would still apply.  */
24417 char ldexpl ();
24418 int
24419 main ()
24420 {
24421 ldexpl ();
24422   ;
24423   return 0;
24424 }
24425 _ACEOF
24426 rm -f conftest.$ac_objext conftest$ac_exeext
24427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24428   (eval $ac_link) 2>conftest.er1
24429   ac_status=$?
24430   grep -v '^ *+' conftest.er1 >conftest.err
24431   rm -f conftest.er1
24432   cat conftest.err >&5
24433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434   (exit $ac_status); } &&
24435          { ac_try='test -z "$ac_c_werror_flag"
24436                          || test ! -s conftest.err'
24437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438   (eval $ac_try) 2>&5
24439   ac_status=$?
24440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441   (exit $ac_status); }; } &&
24442          { ac_try='test -s conftest$ac_exeext'
24443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444   (eval $ac_try) 2>&5
24445   ac_status=$?
24446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447   (exit $ac_status); }; }; then
24448   ac_cv_lib_m_ldexpl=yes
24449 else
24450   echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 ac_cv_lib_m_ldexpl=no
24454 fi
24455 rm -f conftest.err conftest.$ac_objext \
24456       conftest$ac_exeext conftest.$ac_ext
24457 LIBS=$ac_check_lib_save_LIBS
24458 fi
24459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24460 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24461 if test $ac_cv_lib_m_ldexpl = yes; then
24462
24463 cat >>confdefs.h <<\_ACEOF
24464 #define HAVE_LDEXPL 1
24465 _ACEOF
24466
24467 fi
24468
24469 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24470 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24471 if test "${ac_cv_lib_m_logf+set}" = set; then
24472   echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474   ac_check_lib_save_LIBS=$LIBS
24475 LIBS="-lm  $LIBS"
24476 if test x$gcc_no_link = xyes; then
24477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24479    { (exit 1); exit 1; }; }
24480 fi
24481 cat >conftest.$ac_ext <<_ACEOF
24482 /* confdefs.h.  */
24483 _ACEOF
24484 cat confdefs.h >>conftest.$ac_ext
24485 cat >>conftest.$ac_ext <<_ACEOF
24486 /* end confdefs.h.  */
24487
24488 /* Override any gcc2 internal prototype to avoid an error.  */
24489 #ifdef __cplusplus
24490 extern "C"
24491 #endif
24492 /* We use char because int might match the return type of a gcc2
24493    builtin and then its argument prototype would still apply.  */
24494 char logf ();
24495 int
24496 main ()
24497 {
24498 logf ();
24499   ;
24500   return 0;
24501 }
24502 _ACEOF
24503 rm -f conftest.$ac_objext conftest$ac_exeext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24505   (eval $ac_link) 2>conftest.er1
24506   ac_status=$?
24507   grep -v '^ *+' conftest.er1 >conftest.err
24508   rm -f conftest.er1
24509   cat conftest.err >&5
24510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511   (exit $ac_status); } &&
24512          { ac_try='test -z "$ac_c_werror_flag"
24513                          || test ! -s conftest.err'
24514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515   (eval $ac_try) 2>&5
24516   ac_status=$?
24517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518   (exit $ac_status); }; } &&
24519          { ac_try='test -s conftest$ac_exeext'
24520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521   (eval $ac_try) 2>&5
24522   ac_status=$?
24523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524   (exit $ac_status); }; }; then
24525   ac_cv_lib_m_logf=yes
24526 else
24527   echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24529
24530 ac_cv_lib_m_logf=no
24531 fi
24532 rm -f conftest.err conftest.$ac_objext \
24533       conftest$ac_exeext conftest.$ac_ext
24534 LIBS=$ac_check_lib_save_LIBS
24535 fi
24536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24537 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24538 if test $ac_cv_lib_m_logf = yes; then
24539
24540 cat >>confdefs.h <<\_ACEOF
24541 #define HAVE_LOGF 1
24542 _ACEOF
24543
24544 fi
24545
24546 echo "$as_me:$LINENO: checking for log in -lm" >&5
24547 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24548 if test "${ac_cv_lib_m_log+set}" = set; then
24549   echo $ECHO_N "(cached) $ECHO_C" >&6
24550 else
24551   ac_check_lib_save_LIBS=$LIBS
24552 LIBS="-lm  $LIBS"
24553 if test x$gcc_no_link = xyes; then
24554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24556    { (exit 1); exit 1; }; }
24557 fi
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h.  */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h.  */
24564
24565 /* Override any gcc2 internal prototype to avoid an error.  */
24566 #ifdef __cplusplus
24567 extern "C"
24568 #endif
24569 /* We use char because int might match the return type of a gcc2
24570    builtin and then its argument prototype would still apply.  */
24571 char log ();
24572 int
24573 main ()
24574 {
24575 log ();
24576   ;
24577   return 0;
24578 }
24579 _ACEOF
24580 rm -f conftest.$ac_objext conftest$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582   (eval $ac_link) 2>conftest.er1
24583   ac_status=$?
24584   grep -v '^ *+' conftest.er1 >conftest.err
24585   rm -f conftest.er1
24586   cat conftest.err >&5
24587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588   (exit $ac_status); } &&
24589          { ac_try='test -z "$ac_c_werror_flag"
24590                          || test ! -s conftest.err'
24591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592   (eval $ac_try) 2>&5
24593   ac_status=$?
24594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595   (exit $ac_status); }; } &&
24596          { ac_try='test -s conftest$ac_exeext'
24597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598   (eval $ac_try) 2>&5
24599   ac_status=$?
24600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601   (exit $ac_status); }; }; then
24602   ac_cv_lib_m_log=yes
24603 else
24604   echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 ac_cv_lib_m_log=no
24608 fi
24609 rm -f conftest.err conftest.$ac_objext \
24610       conftest$ac_exeext conftest.$ac_ext
24611 LIBS=$ac_check_lib_save_LIBS
24612 fi
24613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24614 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24615 if test $ac_cv_lib_m_log = yes; then
24616
24617 cat >>confdefs.h <<\_ACEOF
24618 #define HAVE_LOG 1
24619 _ACEOF
24620
24621 fi
24622
24623 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24624 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24625 if test "${ac_cv_lib_m_logl+set}" = set; then
24626   echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628   ac_check_lib_save_LIBS=$LIBS
24629 LIBS="-lm  $LIBS"
24630 if test x$gcc_no_link = xyes; then
24631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24633    { (exit 1); exit 1; }; }
24634 fi
24635 cat >conftest.$ac_ext <<_ACEOF
24636 /* confdefs.h.  */
24637 _ACEOF
24638 cat confdefs.h >>conftest.$ac_ext
24639 cat >>conftest.$ac_ext <<_ACEOF
24640 /* end confdefs.h.  */
24641
24642 /* Override any gcc2 internal prototype to avoid an error.  */
24643 #ifdef __cplusplus
24644 extern "C"
24645 #endif
24646 /* We use char because int might match the return type of a gcc2
24647    builtin and then its argument prototype would still apply.  */
24648 char logl ();
24649 int
24650 main ()
24651 {
24652 logl ();
24653   ;
24654   return 0;
24655 }
24656 _ACEOF
24657 rm -f conftest.$ac_objext conftest$ac_exeext
24658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24659   (eval $ac_link) 2>conftest.er1
24660   ac_status=$?
24661   grep -v '^ *+' conftest.er1 >conftest.err
24662   rm -f conftest.er1
24663   cat conftest.err >&5
24664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665   (exit $ac_status); } &&
24666          { ac_try='test -z "$ac_c_werror_flag"
24667                          || test ! -s conftest.err'
24668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669   (eval $ac_try) 2>&5
24670   ac_status=$?
24671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672   (exit $ac_status); }; } &&
24673          { ac_try='test -s conftest$ac_exeext'
24674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675   (eval $ac_try) 2>&5
24676   ac_status=$?
24677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678   (exit $ac_status); }; }; then
24679   ac_cv_lib_m_logl=yes
24680 else
24681   echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.$ac_ext >&5
24683
24684 ac_cv_lib_m_logl=no
24685 fi
24686 rm -f conftest.err conftest.$ac_objext \
24687       conftest$ac_exeext conftest.$ac_ext
24688 LIBS=$ac_check_lib_save_LIBS
24689 fi
24690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24691 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24692 if test $ac_cv_lib_m_logl = yes; then
24693
24694 cat >>confdefs.h <<\_ACEOF
24695 #define HAVE_LOGL 1
24696 _ACEOF
24697
24698 fi
24699
24700 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24701 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24702 if test "${ac_cv_lib_m_clogf+set}" = set; then
24703   echo $ECHO_N "(cached) $ECHO_C" >&6
24704 else
24705   ac_check_lib_save_LIBS=$LIBS
24706 LIBS="-lm  $LIBS"
24707 if test x$gcc_no_link = xyes; then
24708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24710    { (exit 1); exit 1; }; }
24711 fi
24712 cat >conftest.$ac_ext <<_ACEOF
24713 /* confdefs.h.  */
24714 _ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h.  */
24718
24719 /* Override any gcc2 internal prototype to avoid an error.  */
24720 #ifdef __cplusplus
24721 extern "C"
24722 #endif
24723 /* We use char because int might match the return type of a gcc2
24724    builtin and then its argument prototype would still apply.  */
24725 char clogf ();
24726 int
24727 main ()
24728 {
24729 clogf ();
24730   ;
24731   return 0;
24732 }
24733 _ACEOF
24734 rm -f conftest.$ac_objext conftest$ac_exeext
24735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24736   (eval $ac_link) 2>conftest.er1
24737   ac_status=$?
24738   grep -v '^ *+' conftest.er1 >conftest.err
24739   rm -f conftest.er1
24740   cat conftest.err >&5
24741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742   (exit $ac_status); } &&
24743          { ac_try='test -z "$ac_c_werror_flag"
24744                          || test ! -s conftest.err'
24745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746   (eval $ac_try) 2>&5
24747   ac_status=$?
24748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749   (exit $ac_status); }; } &&
24750          { ac_try='test -s conftest$ac_exeext'
24751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752   (eval $ac_try) 2>&5
24753   ac_status=$?
24754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755   (exit $ac_status); }; }; then
24756   ac_cv_lib_m_clogf=yes
24757 else
24758   echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 ac_cv_lib_m_clogf=no
24762 fi
24763 rm -f conftest.err conftest.$ac_objext \
24764       conftest$ac_exeext conftest.$ac_ext
24765 LIBS=$ac_check_lib_save_LIBS
24766 fi
24767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24768 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24769 if test $ac_cv_lib_m_clogf = yes; then
24770
24771 cat >>confdefs.h <<\_ACEOF
24772 #define HAVE_CLOGF 1
24773 _ACEOF
24774
24775 fi
24776
24777 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24778 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24779 if test "${ac_cv_lib_m_clog+set}" = set; then
24780   echo $ECHO_N "(cached) $ECHO_C" >&6
24781 else
24782   ac_check_lib_save_LIBS=$LIBS
24783 LIBS="-lm  $LIBS"
24784 if test x$gcc_no_link = xyes; then
24785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24787    { (exit 1); exit 1; }; }
24788 fi
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h.  */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h.  */
24795
24796 /* Override any gcc2 internal prototype to avoid an error.  */
24797 #ifdef __cplusplus
24798 extern "C"
24799 #endif
24800 /* We use char because int might match the return type of a gcc2
24801    builtin and then its argument prototype would still apply.  */
24802 char clog ();
24803 int
24804 main ()
24805 {
24806 clog ();
24807   ;
24808   return 0;
24809 }
24810 _ACEOF
24811 rm -f conftest.$ac_objext conftest$ac_exeext
24812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24813   (eval $ac_link) 2>conftest.er1
24814   ac_status=$?
24815   grep -v '^ *+' conftest.er1 >conftest.err
24816   rm -f conftest.er1
24817   cat conftest.err >&5
24818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819   (exit $ac_status); } &&
24820          { ac_try='test -z "$ac_c_werror_flag"
24821                          || test ! -s conftest.err'
24822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823   (eval $ac_try) 2>&5
24824   ac_status=$?
24825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826   (exit $ac_status); }; } &&
24827          { ac_try='test -s conftest$ac_exeext'
24828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829   (eval $ac_try) 2>&5
24830   ac_status=$?
24831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832   (exit $ac_status); }; }; then
24833   ac_cv_lib_m_clog=yes
24834 else
24835   echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24837
24838 ac_cv_lib_m_clog=no
24839 fi
24840 rm -f conftest.err conftest.$ac_objext \
24841       conftest$ac_exeext conftest.$ac_ext
24842 LIBS=$ac_check_lib_save_LIBS
24843 fi
24844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24845 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24846 if test $ac_cv_lib_m_clog = yes; then
24847
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_CLOG 1
24850 _ACEOF
24851
24852 fi
24853
24854 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24855 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24856 if test "${ac_cv_lib_m_clogl+set}" = set; then
24857   echo $ECHO_N "(cached) $ECHO_C" >&6
24858 else
24859   ac_check_lib_save_LIBS=$LIBS
24860 LIBS="-lm  $LIBS"
24861 if test x$gcc_no_link = xyes; then
24862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24864    { (exit 1); exit 1; }; }
24865 fi
24866 cat >conftest.$ac_ext <<_ACEOF
24867 /* confdefs.h.  */
24868 _ACEOF
24869 cat confdefs.h >>conftest.$ac_ext
24870 cat >>conftest.$ac_ext <<_ACEOF
24871 /* end confdefs.h.  */
24872
24873 /* Override any gcc2 internal prototype to avoid an error.  */
24874 #ifdef __cplusplus
24875 extern "C"
24876 #endif
24877 /* We use char because int might match the return type of a gcc2
24878    builtin and then its argument prototype would still apply.  */
24879 char clogl ();
24880 int
24881 main ()
24882 {
24883 clogl ();
24884   ;
24885   return 0;
24886 }
24887 _ACEOF
24888 rm -f conftest.$ac_objext conftest$ac_exeext
24889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24890   (eval $ac_link) 2>conftest.er1
24891   ac_status=$?
24892   grep -v '^ *+' conftest.er1 >conftest.err
24893   rm -f conftest.er1
24894   cat conftest.err >&5
24895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896   (exit $ac_status); } &&
24897          { ac_try='test -z "$ac_c_werror_flag"
24898                          || test ! -s conftest.err'
24899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900   (eval $ac_try) 2>&5
24901   ac_status=$?
24902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903   (exit $ac_status); }; } &&
24904          { ac_try='test -s conftest$ac_exeext'
24905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906   (eval $ac_try) 2>&5
24907   ac_status=$?
24908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909   (exit $ac_status); }; }; then
24910   ac_cv_lib_m_clogl=yes
24911 else
24912   echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24914
24915 ac_cv_lib_m_clogl=no
24916 fi
24917 rm -f conftest.err conftest.$ac_objext \
24918       conftest$ac_exeext conftest.$ac_ext
24919 LIBS=$ac_check_lib_save_LIBS
24920 fi
24921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24922 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24923 if test $ac_cv_lib_m_clogl = yes; then
24924
24925 cat >>confdefs.h <<\_ACEOF
24926 #define HAVE_CLOGL 1
24927 _ACEOF
24928
24929 fi
24930
24931 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24932 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24933 if test "${ac_cv_lib_m_log10f+set}" = set; then
24934   echo $ECHO_N "(cached) $ECHO_C" >&6
24935 else
24936   ac_check_lib_save_LIBS=$LIBS
24937 LIBS="-lm  $LIBS"
24938 if test x$gcc_no_link = xyes; then
24939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24941    { (exit 1); exit 1; }; }
24942 fi
24943 cat >conftest.$ac_ext <<_ACEOF
24944 /* confdefs.h.  */
24945 _ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h.  */
24949
24950 /* Override any gcc2 internal prototype to avoid an error.  */
24951 #ifdef __cplusplus
24952 extern "C"
24953 #endif
24954 /* We use char because int might match the return type of a gcc2
24955    builtin and then its argument prototype would still apply.  */
24956 char log10f ();
24957 int
24958 main ()
24959 {
24960 log10f ();
24961   ;
24962   return 0;
24963 }
24964 _ACEOF
24965 rm -f conftest.$ac_objext conftest$ac_exeext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24967   (eval $ac_link) 2>conftest.er1
24968   ac_status=$?
24969   grep -v '^ *+' conftest.er1 >conftest.err
24970   rm -f conftest.er1
24971   cat conftest.err >&5
24972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973   (exit $ac_status); } &&
24974          { ac_try='test -z "$ac_c_werror_flag"
24975                          || test ! -s conftest.err'
24976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977   (eval $ac_try) 2>&5
24978   ac_status=$?
24979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980   (exit $ac_status); }; } &&
24981          { ac_try='test -s conftest$ac_exeext'
24982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983   (eval $ac_try) 2>&5
24984   ac_status=$?
24985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986   (exit $ac_status); }; }; then
24987   ac_cv_lib_m_log10f=yes
24988 else
24989   echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24991
24992 ac_cv_lib_m_log10f=no
24993 fi
24994 rm -f conftest.err conftest.$ac_objext \
24995       conftest$ac_exeext conftest.$ac_ext
24996 LIBS=$ac_check_lib_save_LIBS
24997 fi
24998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
24999 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25000 if test $ac_cv_lib_m_log10f = yes; then
25001
25002 cat >>confdefs.h <<\_ACEOF
25003 #define HAVE_LOG10F 1
25004 _ACEOF
25005
25006 fi
25007
25008 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25009 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25010 if test "${ac_cv_lib_m_log10+set}" = set; then
25011   echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25013   ac_check_lib_save_LIBS=$LIBS
25014 LIBS="-lm  $LIBS"
25015 if test x$gcc_no_link = xyes; then
25016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25018    { (exit 1); exit 1; }; }
25019 fi
25020 cat >conftest.$ac_ext <<_ACEOF
25021 /* confdefs.h.  */
25022 _ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h.  */
25026
25027 /* Override any gcc2 internal prototype to avoid an error.  */
25028 #ifdef __cplusplus
25029 extern "C"
25030 #endif
25031 /* We use char because int might match the return type of a gcc2
25032    builtin and then its argument prototype would still apply.  */
25033 char log10 ();
25034 int
25035 main ()
25036 {
25037 log10 ();
25038   ;
25039   return 0;
25040 }
25041 _ACEOF
25042 rm -f conftest.$ac_objext conftest$ac_exeext
25043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044   (eval $ac_link) 2>conftest.er1
25045   ac_status=$?
25046   grep -v '^ *+' conftest.er1 >conftest.err
25047   rm -f conftest.er1
25048   cat conftest.err >&5
25049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050   (exit $ac_status); } &&
25051          { ac_try='test -z "$ac_c_werror_flag"
25052                          || test ! -s conftest.err'
25053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054   (eval $ac_try) 2>&5
25055   ac_status=$?
25056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057   (exit $ac_status); }; } &&
25058          { ac_try='test -s conftest$ac_exeext'
25059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060   (eval $ac_try) 2>&5
25061   ac_status=$?
25062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063   (exit $ac_status); }; }; then
25064   ac_cv_lib_m_log10=yes
25065 else
25066   echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25068
25069 ac_cv_lib_m_log10=no
25070 fi
25071 rm -f conftest.err conftest.$ac_objext \
25072       conftest$ac_exeext conftest.$ac_ext
25073 LIBS=$ac_check_lib_save_LIBS
25074 fi
25075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25076 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25077 if test $ac_cv_lib_m_log10 = yes; then
25078
25079 cat >>confdefs.h <<\_ACEOF
25080 #define HAVE_LOG10 1
25081 _ACEOF
25082
25083 fi
25084
25085 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25086 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25087 if test "${ac_cv_lib_m_log10l+set}" = set; then
25088   echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090   ac_check_lib_save_LIBS=$LIBS
25091 LIBS="-lm  $LIBS"
25092 if test x$gcc_no_link = xyes; then
25093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25095    { (exit 1); exit 1; }; }
25096 fi
25097 cat >conftest.$ac_ext <<_ACEOF
25098 /* confdefs.h.  */
25099 _ACEOF
25100 cat confdefs.h >>conftest.$ac_ext
25101 cat >>conftest.$ac_ext <<_ACEOF
25102 /* end confdefs.h.  */
25103
25104 /* Override any gcc2 internal prototype to avoid an error.  */
25105 #ifdef __cplusplus
25106 extern "C"
25107 #endif
25108 /* We use char because int might match the return type of a gcc2
25109    builtin and then its argument prototype would still apply.  */
25110 char log10l ();
25111 int
25112 main ()
25113 {
25114 log10l ();
25115   ;
25116   return 0;
25117 }
25118 _ACEOF
25119 rm -f conftest.$ac_objext conftest$ac_exeext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25121   (eval $ac_link) 2>conftest.er1
25122   ac_status=$?
25123   grep -v '^ *+' conftest.er1 >conftest.err
25124   rm -f conftest.er1
25125   cat conftest.err >&5
25126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127   (exit $ac_status); } &&
25128          { ac_try='test -z "$ac_c_werror_flag"
25129                          || test ! -s conftest.err'
25130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131   (eval $ac_try) 2>&5
25132   ac_status=$?
25133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134   (exit $ac_status); }; } &&
25135          { ac_try='test -s conftest$ac_exeext'
25136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137   (eval $ac_try) 2>&5
25138   ac_status=$?
25139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140   (exit $ac_status); }; }; then
25141   ac_cv_lib_m_log10l=yes
25142 else
25143   echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25145
25146 ac_cv_lib_m_log10l=no
25147 fi
25148 rm -f conftest.err conftest.$ac_objext \
25149       conftest$ac_exeext conftest.$ac_ext
25150 LIBS=$ac_check_lib_save_LIBS
25151 fi
25152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25153 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25154 if test $ac_cv_lib_m_log10l = yes; then
25155
25156 cat >>confdefs.h <<\_ACEOF
25157 #define HAVE_LOG10L 1
25158 _ACEOF
25159
25160 fi
25161
25162 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25163 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25164 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25165   echo $ECHO_N "(cached) $ECHO_C" >&6
25166 else
25167   ac_check_lib_save_LIBS=$LIBS
25168 LIBS="-lm  $LIBS"
25169 if test x$gcc_no_link = xyes; then
25170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25172    { (exit 1); exit 1; }; }
25173 fi
25174 cat >conftest.$ac_ext <<_ACEOF
25175 /* confdefs.h.  */
25176 _ACEOF
25177 cat confdefs.h >>conftest.$ac_ext
25178 cat >>conftest.$ac_ext <<_ACEOF
25179 /* end confdefs.h.  */
25180
25181 /* Override any gcc2 internal prototype to avoid an error.  */
25182 #ifdef __cplusplus
25183 extern "C"
25184 #endif
25185 /* We use char because int might match the return type of a gcc2
25186    builtin and then its argument prototype would still apply.  */
25187 char clog10f ();
25188 int
25189 main ()
25190 {
25191 clog10f ();
25192   ;
25193   return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198   (eval $ac_link) 2>conftest.er1
25199   ac_status=$?
25200   grep -v '^ *+' conftest.er1 >conftest.err
25201   rm -f conftest.er1
25202   cat conftest.err >&5
25203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204   (exit $ac_status); } &&
25205          { ac_try='test -z "$ac_c_werror_flag"
25206                          || test ! -s conftest.err'
25207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25208   (eval $ac_try) 2>&5
25209   ac_status=$?
25210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211   (exit $ac_status); }; } &&
25212          { ac_try='test -s conftest$ac_exeext'
25213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214   (eval $ac_try) 2>&5
25215   ac_status=$?
25216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217   (exit $ac_status); }; }; then
25218   ac_cv_lib_m_clog10f=yes
25219 else
25220   echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25222
25223 ac_cv_lib_m_clog10f=no
25224 fi
25225 rm -f conftest.err conftest.$ac_objext \
25226       conftest$ac_exeext conftest.$ac_ext
25227 LIBS=$ac_check_lib_save_LIBS
25228 fi
25229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25230 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25231 if test $ac_cv_lib_m_clog10f = yes; then
25232
25233 cat >>confdefs.h <<\_ACEOF
25234 #define HAVE_CLOG10F 1
25235 _ACEOF
25236
25237 fi
25238
25239 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25240 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25241 if test "${ac_cv_lib_m_clog10+set}" = set; then
25242   echo $ECHO_N "(cached) $ECHO_C" >&6
25243 else
25244   ac_check_lib_save_LIBS=$LIBS
25245 LIBS="-lm  $LIBS"
25246 if test x$gcc_no_link = xyes; then
25247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25249    { (exit 1); exit 1; }; }
25250 fi
25251 cat >conftest.$ac_ext <<_ACEOF
25252 /* confdefs.h.  */
25253 _ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h.  */
25257
25258 /* Override any gcc2 internal prototype to avoid an error.  */
25259 #ifdef __cplusplus
25260 extern "C"
25261 #endif
25262 /* We use char because int might match the return type of a gcc2
25263    builtin and then its argument prototype would still apply.  */
25264 char clog10 ();
25265 int
25266 main ()
25267 {
25268 clog10 ();
25269   ;
25270   return 0;
25271 }
25272 _ACEOF
25273 rm -f conftest.$ac_objext conftest$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275   (eval $ac_link) 2>conftest.er1
25276   ac_status=$?
25277   grep -v '^ *+' conftest.er1 >conftest.err
25278   rm -f conftest.er1
25279   cat conftest.err >&5
25280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281   (exit $ac_status); } &&
25282          { ac_try='test -z "$ac_c_werror_flag"
25283                          || test ! -s conftest.err'
25284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285   (eval $ac_try) 2>&5
25286   ac_status=$?
25287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288   (exit $ac_status); }; } &&
25289          { ac_try='test -s conftest$ac_exeext'
25290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291   (eval $ac_try) 2>&5
25292   ac_status=$?
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); }; }; then
25295   ac_cv_lib_m_clog10=yes
25296 else
25297   echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25299
25300 ac_cv_lib_m_clog10=no
25301 fi
25302 rm -f conftest.err conftest.$ac_objext \
25303       conftest$ac_exeext conftest.$ac_ext
25304 LIBS=$ac_check_lib_save_LIBS
25305 fi
25306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25307 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25308 if test $ac_cv_lib_m_clog10 = yes; then
25309
25310 cat >>confdefs.h <<\_ACEOF
25311 #define HAVE_CLOG10 1
25312 _ACEOF
25313
25314 fi
25315
25316 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25317 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25318 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25319   echo $ECHO_N "(cached) $ECHO_C" >&6
25320 else
25321   ac_check_lib_save_LIBS=$LIBS
25322 LIBS="-lm  $LIBS"
25323 if test x$gcc_no_link = xyes; then
25324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25326    { (exit 1); exit 1; }; }
25327 fi
25328 cat >conftest.$ac_ext <<_ACEOF
25329 /* confdefs.h.  */
25330 _ACEOF
25331 cat confdefs.h >>conftest.$ac_ext
25332 cat >>conftest.$ac_ext <<_ACEOF
25333 /* end confdefs.h.  */
25334
25335 /* Override any gcc2 internal prototype to avoid an error.  */
25336 #ifdef __cplusplus
25337 extern "C"
25338 #endif
25339 /* We use char because int might match the return type of a gcc2
25340    builtin and then its argument prototype would still apply.  */
25341 char clog10l ();
25342 int
25343 main ()
25344 {
25345 clog10l ();
25346   ;
25347   return 0;
25348 }
25349 _ACEOF
25350 rm -f conftest.$ac_objext conftest$ac_exeext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25352   (eval $ac_link) 2>conftest.er1
25353   ac_status=$?
25354   grep -v '^ *+' conftest.er1 >conftest.err
25355   rm -f conftest.er1
25356   cat conftest.err >&5
25357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358   (exit $ac_status); } &&
25359          { ac_try='test -z "$ac_c_werror_flag"
25360                          || test ! -s conftest.err'
25361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362   (eval $ac_try) 2>&5
25363   ac_status=$?
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); }; } &&
25366          { ac_try='test -s conftest$ac_exeext'
25367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368   (eval $ac_try) 2>&5
25369   ac_status=$?
25370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371   (exit $ac_status); }; }; then
25372   ac_cv_lib_m_clog10l=yes
25373 else
25374   echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25376
25377 ac_cv_lib_m_clog10l=no
25378 fi
25379 rm -f conftest.err conftest.$ac_objext \
25380       conftest$ac_exeext conftest.$ac_ext
25381 LIBS=$ac_check_lib_save_LIBS
25382 fi
25383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25384 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25385 if test $ac_cv_lib_m_clog10l = yes; then
25386
25387 cat >>confdefs.h <<\_ACEOF
25388 #define HAVE_CLOG10L 1
25389 _ACEOF
25390
25391 fi
25392
25393 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25394 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25395 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25396   echo $ECHO_N "(cached) $ECHO_C" >&6
25397 else
25398   ac_check_lib_save_LIBS=$LIBS
25399 LIBS="-lm  $LIBS"
25400 if test x$gcc_no_link = xyes; then
25401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25403    { (exit 1); exit 1; }; }
25404 fi
25405 cat >conftest.$ac_ext <<_ACEOF
25406 /* confdefs.h.  */
25407 _ACEOF
25408 cat confdefs.h >>conftest.$ac_ext
25409 cat >>conftest.$ac_ext <<_ACEOF
25410 /* end confdefs.h.  */
25411
25412 /* Override any gcc2 internal prototype to avoid an error.  */
25413 #ifdef __cplusplus
25414 extern "C"
25415 #endif
25416 /* We use char because int might match the return type of a gcc2
25417    builtin and then its argument prototype would still apply.  */
25418 char nextafterf ();
25419 int
25420 main ()
25421 {
25422 nextafterf ();
25423   ;
25424   return 0;
25425 }
25426 _ACEOF
25427 rm -f conftest.$ac_objext conftest$ac_exeext
25428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25429   (eval $ac_link) 2>conftest.er1
25430   ac_status=$?
25431   grep -v '^ *+' conftest.er1 >conftest.err
25432   rm -f conftest.er1
25433   cat conftest.err >&5
25434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435   (exit $ac_status); } &&
25436          { ac_try='test -z "$ac_c_werror_flag"
25437                          || test ! -s conftest.err'
25438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439   (eval $ac_try) 2>&5
25440   ac_status=$?
25441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442   (exit $ac_status); }; } &&
25443          { ac_try='test -s conftest$ac_exeext'
25444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445   (eval $ac_try) 2>&5
25446   ac_status=$?
25447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448   (exit $ac_status); }; }; then
25449   ac_cv_lib_m_nextafterf=yes
25450 else
25451   echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 ac_cv_lib_m_nextafterf=no
25455 fi
25456 rm -f conftest.err conftest.$ac_objext \
25457       conftest$ac_exeext conftest.$ac_ext
25458 LIBS=$ac_check_lib_save_LIBS
25459 fi
25460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25461 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25462 if test $ac_cv_lib_m_nextafterf = yes; then
25463
25464 cat >>confdefs.h <<\_ACEOF
25465 #define HAVE_NEXTAFTERF 1
25466 _ACEOF
25467
25468 fi
25469
25470 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25471 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25472 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25473   echo $ECHO_N "(cached) $ECHO_C" >&6
25474 else
25475   ac_check_lib_save_LIBS=$LIBS
25476 LIBS="-lm  $LIBS"
25477 if test x$gcc_no_link = xyes; then
25478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25480    { (exit 1); exit 1; }; }
25481 fi
25482 cat >conftest.$ac_ext <<_ACEOF
25483 /* confdefs.h.  */
25484 _ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h.  */
25488
25489 /* Override any gcc2 internal prototype to avoid an error.  */
25490 #ifdef __cplusplus
25491 extern "C"
25492 #endif
25493 /* We use char because int might match the return type of a gcc2
25494    builtin and then its argument prototype would still apply.  */
25495 char nextafter ();
25496 int
25497 main ()
25498 {
25499 nextafter ();
25500   ;
25501   return 0;
25502 }
25503 _ACEOF
25504 rm -f conftest.$ac_objext conftest$ac_exeext
25505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25506   (eval $ac_link) 2>conftest.er1
25507   ac_status=$?
25508   grep -v '^ *+' conftest.er1 >conftest.err
25509   rm -f conftest.er1
25510   cat conftest.err >&5
25511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512   (exit $ac_status); } &&
25513          { ac_try='test -z "$ac_c_werror_flag"
25514                          || test ! -s conftest.err'
25515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516   (eval $ac_try) 2>&5
25517   ac_status=$?
25518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519   (exit $ac_status); }; } &&
25520          { ac_try='test -s conftest$ac_exeext'
25521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25522   (eval $ac_try) 2>&5
25523   ac_status=$?
25524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525   (exit $ac_status); }; }; then
25526   ac_cv_lib_m_nextafter=yes
25527 else
25528   echo "$as_me: failed program was:" >&5
25529 sed 's/^/| /' conftest.$ac_ext >&5
25530
25531 ac_cv_lib_m_nextafter=no
25532 fi
25533 rm -f conftest.err conftest.$ac_objext \
25534       conftest$ac_exeext conftest.$ac_ext
25535 LIBS=$ac_check_lib_save_LIBS
25536 fi
25537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25538 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25539 if test $ac_cv_lib_m_nextafter = yes; then
25540
25541 cat >>confdefs.h <<\_ACEOF
25542 #define HAVE_NEXTAFTER 1
25543 _ACEOF
25544
25545 fi
25546
25547 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25548 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25549 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25550   echo $ECHO_N "(cached) $ECHO_C" >&6
25551 else
25552   ac_check_lib_save_LIBS=$LIBS
25553 LIBS="-lm  $LIBS"
25554 if test x$gcc_no_link = xyes; then
25555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25557    { (exit 1); exit 1; }; }
25558 fi
25559 cat >conftest.$ac_ext <<_ACEOF
25560 /* confdefs.h.  */
25561 _ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h.  */
25565
25566 /* Override any gcc2 internal prototype to avoid an error.  */
25567 #ifdef __cplusplus
25568 extern "C"
25569 #endif
25570 /* We use char because int might match the return type of a gcc2
25571    builtin and then its argument prototype would still apply.  */
25572 char nextafterl ();
25573 int
25574 main ()
25575 {
25576 nextafterl ();
25577   ;
25578   return 0;
25579 }
25580 _ACEOF
25581 rm -f conftest.$ac_objext conftest$ac_exeext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25583   (eval $ac_link) 2>conftest.er1
25584   ac_status=$?
25585   grep -v '^ *+' conftest.er1 >conftest.err
25586   rm -f conftest.er1
25587   cat conftest.err >&5
25588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589   (exit $ac_status); } &&
25590          { ac_try='test -z "$ac_c_werror_flag"
25591                          || test ! -s conftest.err'
25592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593   (eval $ac_try) 2>&5
25594   ac_status=$?
25595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596   (exit $ac_status); }; } &&
25597          { ac_try='test -s conftest$ac_exeext'
25598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599   (eval $ac_try) 2>&5
25600   ac_status=$?
25601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602   (exit $ac_status); }; }; then
25603   ac_cv_lib_m_nextafterl=yes
25604 else
25605   echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25607
25608 ac_cv_lib_m_nextafterl=no
25609 fi
25610 rm -f conftest.err conftest.$ac_objext \
25611       conftest$ac_exeext conftest.$ac_ext
25612 LIBS=$ac_check_lib_save_LIBS
25613 fi
25614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25615 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25616 if test $ac_cv_lib_m_nextafterl = yes; then
25617
25618 cat >>confdefs.h <<\_ACEOF
25619 #define HAVE_NEXTAFTERL 1
25620 _ACEOF
25621
25622 fi
25623
25624 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25625 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25626 if test "${ac_cv_lib_m_powf+set}" = set; then
25627   echo $ECHO_N "(cached) $ECHO_C" >&6
25628 else
25629   ac_check_lib_save_LIBS=$LIBS
25630 LIBS="-lm  $LIBS"
25631 if test x$gcc_no_link = xyes; then
25632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25634    { (exit 1); exit 1; }; }
25635 fi
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h.  */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h.  */
25642
25643 /* Override any gcc2 internal prototype to avoid an error.  */
25644 #ifdef __cplusplus
25645 extern "C"
25646 #endif
25647 /* We use char because int might match the return type of a gcc2
25648    builtin and then its argument prototype would still apply.  */
25649 char powf ();
25650 int
25651 main ()
25652 {
25653 powf ();
25654   ;
25655   return 0;
25656 }
25657 _ACEOF
25658 rm -f conftest.$ac_objext conftest$ac_exeext
25659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25660   (eval $ac_link) 2>conftest.er1
25661   ac_status=$?
25662   grep -v '^ *+' conftest.er1 >conftest.err
25663   rm -f conftest.er1
25664   cat conftest.err >&5
25665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666   (exit $ac_status); } &&
25667          { ac_try='test -z "$ac_c_werror_flag"
25668                          || test ! -s conftest.err'
25669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670   (eval $ac_try) 2>&5
25671   ac_status=$?
25672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673   (exit $ac_status); }; } &&
25674          { ac_try='test -s conftest$ac_exeext'
25675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676   (eval $ac_try) 2>&5
25677   ac_status=$?
25678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679   (exit $ac_status); }; }; then
25680   ac_cv_lib_m_powf=yes
25681 else
25682   echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25684
25685 ac_cv_lib_m_powf=no
25686 fi
25687 rm -f conftest.err conftest.$ac_objext \
25688       conftest$ac_exeext conftest.$ac_ext
25689 LIBS=$ac_check_lib_save_LIBS
25690 fi
25691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25692 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25693 if test $ac_cv_lib_m_powf = yes; then
25694
25695 cat >>confdefs.h <<\_ACEOF
25696 #define HAVE_POWF 1
25697 _ACEOF
25698
25699 fi
25700
25701 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25702 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25703 if test "${ac_cv_lib_m_pow+set}" = set; then
25704   echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706   ac_check_lib_save_LIBS=$LIBS
25707 LIBS="-lm  $LIBS"
25708 if test x$gcc_no_link = xyes; then
25709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25711    { (exit 1); exit 1; }; }
25712 fi
25713 cat >conftest.$ac_ext <<_ACEOF
25714 /* confdefs.h.  */
25715 _ACEOF
25716 cat confdefs.h >>conftest.$ac_ext
25717 cat >>conftest.$ac_ext <<_ACEOF
25718 /* end confdefs.h.  */
25719
25720 /* Override any gcc2 internal prototype to avoid an error.  */
25721 #ifdef __cplusplus
25722 extern "C"
25723 #endif
25724 /* We use char because int might match the return type of a gcc2
25725    builtin and then its argument prototype would still apply.  */
25726 char pow ();
25727 int
25728 main ()
25729 {
25730 pow ();
25731   ;
25732   return 0;
25733 }
25734 _ACEOF
25735 rm -f conftest.$ac_objext conftest$ac_exeext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25737   (eval $ac_link) 2>conftest.er1
25738   ac_status=$?
25739   grep -v '^ *+' conftest.er1 >conftest.err
25740   rm -f conftest.er1
25741   cat conftest.err >&5
25742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743   (exit $ac_status); } &&
25744          { ac_try='test -z "$ac_c_werror_flag"
25745                          || test ! -s conftest.err'
25746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747   (eval $ac_try) 2>&5
25748   ac_status=$?
25749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750   (exit $ac_status); }; } &&
25751          { ac_try='test -s conftest$ac_exeext'
25752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753   (eval $ac_try) 2>&5
25754   ac_status=$?
25755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756   (exit $ac_status); }; }; then
25757   ac_cv_lib_m_pow=yes
25758 else
25759   echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25761
25762 ac_cv_lib_m_pow=no
25763 fi
25764 rm -f conftest.err conftest.$ac_objext \
25765       conftest$ac_exeext conftest.$ac_ext
25766 LIBS=$ac_check_lib_save_LIBS
25767 fi
25768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25769 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25770 if test $ac_cv_lib_m_pow = yes; then
25771
25772 cat >>confdefs.h <<\_ACEOF
25773 #define HAVE_POW 1
25774 _ACEOF
25775
25776 fi
25777
25778 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25779 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25780 if test "${ac_cv_lib_m_powl+set}" = set; then
25781   echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783   ac_check_lib_save_LIBS=$LIBS
25784 LIBS="-lm  $LIBS"
25785 if test x$gcc_no_link = xyes; then
25786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25788    { (exit 1); exit 1; }; }
25789 fi
25790 cat >conftest.$ac_ext <<_ACEOF
25791 /* confdefs.h.  */
25792 _ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h.  */
25796
25797 /* Override any gcc2 internal prototype to avoid an error.  */
25798 #ifdef __cplusplus
25799 extern "C"
25800 #endif
25801 /* We use char because int might match the return type of a gcc2
25802    builtin and then its argument prototype would still apply.  */
25803 char powl ();
25804 int
25805 main ()
25806 {
25807 powl ();
25808   ;
25809   return 0;
25810 }
25811 _ACEOF
25812 rm -f conftest.$ac_objext conftest$ac_exeext
25813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25814   (eval $ac_link) 2>conftest.er1
25815   ac_status=$?
25816   grep -v '^ *+' conftest.er1 >conftest.err
25817   rm -f conftest.er1
25818   cat conftest.err >&5
25819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820   (exit $ac_status); } &&
25821          { ac_try='test -z "$ac_c_werror_flag"
25822                          || test ! -s conftest.err'
25823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25824   (eval $ac_try) 2>&5
25825   ac_status=$?
25826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827   (exit $ac_status); }; } &&
25828          { ac_try='test -s conftest$ac_exeext'
25829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25830   (eval $ac_try) 2>&5
25831   ac_status=$?
25832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833   (exit $ac_status); }; }; then
25834   ac_cv_lib_m_powl=yes
25835 else
25836   echo "$as_me: failed program was:" >&5
25837 sed 's/^/| /' conftest.$ac_ext >&5
25838
25839 ac_cv_lib_m_powl=no
25840 fi
25841 rm -f conftest.err conftest.$ac_objext \
25842       conftest$ac_exeext conftest.$ac_ext
25843 LIBS=$ac_check_lib_save_LIBS
25844 fi
25845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25846 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25847 if test $ac_cv_lib_m_powl = yes; then
25848
25849 cat >>confdefs.h <<\_ACEOF
25850 #define HAVE_POWL 1
25851 _ACEOF
25852
25853 fi
25854
25855 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25856 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25857 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25858   echo $ECHO_N "(cached) $ECHO_C" >&6
25859 else
25860   ac_check_lib_save_LIBS=$LIBS
25861 LIBS="-lm  $LIBS"
25862 if test x$gcc_no_link = xyes; then
25863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25865    { (exit 1); exit 1; }; }
25866 fi
25867 cat >conftest.$ac_ext <<_ACEOF
25868 /* confdefs.h.  */
25869 _ACEOF
25870 cat confdefs.h >>conftest.$ac_ext
25871 cat >>conftest.$ac_ext <<_ACEOF
25872 /* end confdefs.h.  */
25873
25874 /* Override any gcc2 internal prototype to avoid an error.  */
25875 #ifdef __cplusplus
25876 extern "C"
25877 #endif
25878 /* We use char because int might match the return type of a gcc2
25879    builtin and then its argument prototype would still apply.  */
25880 char cpowf ();
25881 int
25882 main ()
25883 {
25884 cpowf ();
25885   ;
25886   return 0;
25887 }
25888 _ACEOF
25889 rm -f conftest.$ac_objext conftest$ac_exeext
25890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25891   (eval $ac_link) 2>conftest.er1
25892   ac_status=$?
25893   grep -v '^ *+' conftest.er1 >conftest.err
25894   rm -f conftest.er1
25895   cat conftest.err >&5
25896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897   (exit $ac_status); } &&
25898          { ac_try='test -z "$ac_c_werror_flag"
25899                          || test ! -s conftest.err'
25900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901   (eval $ac_try) 2>&5
25902   ac_status=$?
25903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904   (exit $ac_status); }; } &&
25905          { ac_try='test -s conftest$ac_exeext'
25906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25907   (eval $ac_try) 2>&5
25908   ac_status=$?
25909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910   (exit $ac_status); }; }; then
25911   ac_cv_lib_m_cpowf=yes
25912 else
25913   echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.$ac_ext >&5
25915
25916 ac_cv_lib_m_cpowf=no
25917 fi
25918 rm -f conftest.err conftest.$ac_objext \
25919       conftest$ac_exeext conftest.$ac_ext
25920 LIBS=$ac_check_lib_save_LIBS
25921 fi
25922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25923 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25924 if test $ac_cv_lib_m_cpowf = yes; then
25925
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_CPOWF 1
25928 _ACEOF
25929
25930 fi
25931
25932 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25933 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25934 if test "${ac_cv_lib_m_cpow+set}" = set; then
25935   echo $ECHO_N "(cached) $ECHO_C" >&6
25936 else
25937   ac_check_lib_save_LIBS=$LIBS
25938 LIBS="-lm  $LIBS"
25939 if test x$gcc_no_link = xyes; then
25940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25942    { (exit 1); exit 1; }; }
25943 fi
25944 cat >conftest.$ac_ext <<_ACEOF
25945 /* confdefs.h.  */
25946 _ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h.  */
25950
25951 /* Override any gcc2 internal prototype to avoid an error.  */
25952 #ifdef __cplusplus
25953 extern "C"
25954 #endif
25955 /* We use char because int might match the return type of a gcc2
25956    builtin and then its argument prototype would still apply.  */
25957 char cpow ();
25958 int
25959 main ()
25960 {
25961 cpow ();
25962   ;
25963   return 0;
25964 }
25965 _ACEOF
25966 rm -f conftest.$ac_objext conftest$ac_exeext
25967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25968   (eval $ac_link) 2>conftest.er1
25969   ac_status=$?
25970   grep -v '^ *+' conftest.er1 >conftest.err
25971   rm -f conftest.er1
25972   cat conftest.err >&5
25973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974   (exit $ac_status); } &&
25975          { ac_try='test -z "$ac_c_werror_flag"
25976                          || test ! -s conftest.err'
25977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978   (eval $ac_try) 2>&5
25979   ac_status=$?
25980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981   (exit $ac_status); }; } &&
25982          { ac_try='test -s conftest$ac_exeext'
25983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25984   (eval $ac_try) 2>&5
25985   ac_status=$?
25986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987   (exit $ac_status); }; }; then
25988   ac_cv_lib_m_cpow=yes
25989 else
25990   echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.$ac_ext >&5
25992
25993 ac_cv_lib_m_cpow=no
25994 fi
25995 rm -f conftest.err conftest.$ac_objext \
25996       conftest$ac_exeext conftest.$ac_ext
25997 LIBS=$ac_check_lib_save_LIBS
25998 fi
25999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26000 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26001 if test $ac_cv_lib_m_cpow = yes; then
26002
26003 cat >>confdefs.h <<\_ACEOF
26004 #define HAVE_CPOW 1
26005 _ACEOF
26006
26007 fi
26008
26009 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26010 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26011 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26012   echo $ECHO_N "(cached) $ECHO_C" >&6
26013 else
26014   ac_check_lib_save_LIBS=$LIBS
26015 LIBS="-lm  $LIBS"
26016 if test x$gcc_no_link = xyes; then
26017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26019    { (exit 1); exit 1; }; }
26020 fi
26021 cat >conftest.$ac_ext <<_ACEOF
26022 /* confdefs.h.  */
26023 _ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h.  */
26027
26028 /* Override any gcc2 internal prototype to avoid an error.  */
26029 #ifdef __cplusplus
26030 extern "C"
26031 #endif
26032 /* We use char because int might match the return type of a gcc2
26033    builtin and then its argument prototype would still apply.  */
26034 char cpowl ();
26035 int
26036 main ()
26037 {
26038 cpowl ();
26039   ;
26040   return 0;
26041 }
26042 _ACEOF
26043 rm -f conftest.$ac_objext conftest$ac_exeext
26044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26045   (eval $ac_link) 2>conftest.er1
26046   ac_status=$?
26047   grep -v '^ *+' conftest.er1 >conftest.err
26048   rm -f conftest.er1
26049   cat conftest.err >&5
26050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051   (exit $ac_status); } &&
26052          { ac_try='test -z "$ac_c_werror_flag"
26053                          || test ! -s conftest.err'
26054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055   (eval $ac_try) 2>&5
26056   ac_status=$?
26057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058   (exit $ac_status); }; } &&
26059          { ac_try='test -s conftest$ac_exeext'
26060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061   (eval $ac_try) 2>&5
26062   ac_status=$?
26063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064   (exit $ac_status); }; }; then
26065   ac_cv_lib_m_cpowl=yes
26066 else
26067   echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26069
26070 ac_cv_lib_m_cpowl=no
26071 fi
26072 rm -f conftest.err conftest.$ac_objext \
26073       conftest$ac_exeext conftest.$ac_ext
26074 LIBS=$ac_check_lib_save_LIBS
26075 fi
26076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26077 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26078 if test $ac_cv_lib_m_cpowl = yes; then
26079
26080 cat >>confdefs.h <<\_ACEOF
26081 #define HAVE_CPOWL 1
26082 _ACEOF
26083
26084 fi
26085
26086 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26087 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26088 if test "${ac_cv_lib_m_roundf+set}" = set; then
26089   echo $ECHO_N "(cached) $ECHO_C" >&6
26090 else
26091   ac_check_lib_save_LIBS=$LIBS
26092 LIBS="-lm  $LIBS"
26093 if test x$gcc_no_link = xyes; then
26094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26096    { (exit 1); exit 1; }; }
26097 fi
26098 cat >conftest.$ac_ext <<_ACEOF
26099 /* confdefs.h.  */
26100 _ACEOF
26101 cat confdefs.h >>conftest.$ac_ext
26102 cat >>conftest.$ac_ext <<_ACEOF
26103 /* end confdefs.h.  */
26104
26105 /* Override any gcc2 internal prototype to avoid an error.  */
26106 #ifdef __cplusplus
26107 extern "C"
26108 #endif
26109 /* We use char because int might match the return type of a gcc2
26110    builtin and then its argument prototype would still apply.  */
26111 char roundf ();
26112 int
26113 main ()
26114 {
26115 roundf ();
26116   ;
26117   return 0;
26118 }
26119 _ACEOF
26120 rm -f conftest.$ac_objext conftest$ac_exeext
26121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26122   (eval $ac_link) 2>conftest.er1
26123   ac_status=$?
26124   grep -v '^ *+' conftest.er1 >conftest.err
26125   rm -f conftest.er1
26126   cat conftest.err >&5
26127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128   (exit $ac_status); } &&
26129          { ac_try='test -z "$ac_c_werror_flag"
26130                          || test ! -s conftest.err'
26131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132   (eval $ac_try) 2>&5
26133   ac_status=$?
26134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135   (exit $ac_status); }; } &&
26136          { ac_try='test -s conftest$ac_exeext'
26137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138   (eval $ac_try) 2>&5
26139   ac_status=$?
26140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141   (exit $ac_status); }; }; then
26142   ac_cv_lib_m_roundf=yes
26143 else
26144   echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147 ac_cv_lib_m_roundf=no
26148 fi
26149 rm -f conftest.err conftest.$ac_objext \
26150       conftest$ac_exeext conftest.$ac_ext
26151 LIBS=$ac_check_lib_save_LIBS
26152 fi
26153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26154 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26155 if test $ac_cv_lib_m_roundf = yes; then
26156
26157 cat >>confdefs.h <<\_ACEOF
26158 #define HAVE_ROUNDF 1
26159 _ACEOF
26160
26161 fi
26162
26163 echo "$as_me:$LINENO: checking for round in -lm" >&5
26164 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26165 if test "${ac_cv_lib_m_round+set}" = set; then
26166   echo $ECHO_N "(cached) $ECHO_C" >&6
26167 else
26168   ac_check_lib_save_LIBS=$LIBS
26169 LIBS="-lm  $LIBS"
26170 if test x$gcc_no_link = xyes; then
26171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26173    { (exit 1); exit 1; }; }
26174 fi
26175 cat >conftest.$ac_ext <<_ACEOF
26176 /* confdefs.h.  */
26177 _ACEOF
26178 cat confdefs.h >>conftest.$ac_ext
26179 cat >>conftest.$ac_ext <<_ACEOF
26180 /* end confdefs.h.  */
26181
26182 /* Override any gcc2 internal prototype to avoid an error.  */
26183 #ifdef __cplusplus
26184 extern "C"
26185 #endif
26186 /* We use char because int might match the return type of a gcc2
26187    builtin and then its argument prototype would still apply.  */
26188 char round ();
26189 int
26190 main ()
26191 {
26192 round ();
26193   ;
26194   return 0;
26195 }
26196 _ACEOF
26197 rm -f conftest.$ac_objext conftest$ac_exeext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26199   (eval $ac_link) 2>conftest.er1
26200   ac_status=$?
26201   grep -v '^ *+' conftest.er1 >conftest.err
26202   rm -f conftest.er1
26203   cat conftest.err >&5
26204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205   (exit $ac_status); } &&
26206          { ac_try='test -z "$ac_c_werror_flag"
26207                          || test ! -s conftest.err'
26208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209   (eval $ac_try) 2>&5
26210   ac_status=$?
26211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212   (exit $ac_status); }; } &&
26213          { ac_try='test -s conftest$ac_exeext'
26214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215   (eval $ac_try) 2>&5
26216   ac_status=$?
26217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218   (exit $ac_status); }; }; then
26219   ac_cv_lib_m_round=yes
26220 else
26221   echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 ac_cv_lib_m_round=no
26225 fi
26226 rm -f conftest.err conftest.$ac_objext \
26227       conftest$ac_exeext conftest.$ac_ext
26228 LIBS=$ac_check_lib_save_LIBS
26229 fi
26230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26231 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26232 if test $ac_cv_lib_m_round = yes; then
26233
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_ROUND 1
26236 _ACEOF
26237
26238 fi
26239
26240 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26241 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26242 if test "${ac_cv_lib_m_roundl+set}" = set; then
26243   echo $ECHO_N "(cached) $ECHO_C" >&6
26244 else
26245   ac_check_lib_save_LIBS=$LIBS
26246 LIBS="-lm  $LIBS"
26247 if test x$gcc_no_link = xyes; then
26248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26250    { (exit 1); exit 1; }; }
26251 fi
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h.  */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h.  */
26258
26259 /* Override any gcc2 internal prototype to avoid an error.  */
26260 #ifdef __cplusplus
26261 extern "C"
26262 #endif
26263 /* We use char because int might match the return type of a gcc2
26264    builtin and then its argument prototype would still apply.  */
26265 char roundl ();
26266 int
26267 main ()
26268 {
26269 roundl ();
26270   ;
26271   return 0;
26272 }
26273 _ACEOF
26274 rm -f conftest.$ac_objext conftest$ac_exeext
26275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26276   (eval $ac_link) 2>conftest.er1
26277   ac_status=$?
26278   grep -v '^ *+' conftest.er1 >conftest.err
26279   rm -f conftest.er1
26280   cat conftest.err >&5
26281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282   (exit $ac_status); } &&
26283          { ac_try='test -z "$ac_c_werror_flag"
26284                          || test ! -s conftest.err'
26285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286   (eval $ac_try) 2>&5
26287   ac_status=$?
26288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289   (exit $ac_status); }; } &&
26290          { ac_try='test -s conftest$ac_exeext'
26291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292   (eval $ac_try) 2>&5
26293   ac_status=$?
26294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295   (exit $ac_status); }; }; then
26296   ac_cv_lib_m_roundl=yes
26297 else
26298   echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26300
26301 ac_cv_lib_m_roundl=no
26302 fi
26303 rm -f conftest.err conftest.$ac_objext \
26304       conftest$ac_exeext conftest.$ac_ext
26305 LIBS=$ac_check_lib_save_LIBS
26306 fi
26307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26308 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26309 if test $ac_cv_lib_m_roundl = yes; then
26310
26311 cat >>confdefs.h <<\_ACEOF
26312 #define HAVE_ROUNDL 1
26313 _ACEOF
26314
26315 fi
26316
26317 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26318 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26319 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26320   echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322   ac_check_lib_save_LIBS=$LIBS
26323 LIBS="-lm  $LIBS"
26324 if test x$gcc_no_link = xyes; then
26325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26327    { (exit 1); exit 1; }; }
26328 fi
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h.  */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h.  */
26335
26336 /* Override any gcc2 internal prototype to avoid an error.  */
26337 #ifdef __cplusplus
26338 extern "C"
26339 #endif
26340 /* We use char because int might match the return type of a gcc2
26341    builtin and then its argument prototype would still apply.  */
26342 char lroundf ();
26343 int
26344 main ()
26345 {
26346 lroundf ();
26347   ;
26348   return 0;
26349 }
26350 _ACEOF
26351 rm -f conftest.$ac_objext conftest$ac_exeext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26353   (eval $ac_link) 2>conftest.er1
26354   ac_status=$?
26355   grep -v '^ *+' conftest.er1 >conftest.err
26356   rm -f conftest.er1
26357   cat conftest.err >&5
26358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359   (exit $ac_status); } &&
26360          { ac_try='test -z "$ac_c_werror_flag"
26361                          || test ! -s conftest.err'
26362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363   (eval $ac_try) 2>&5
26364   ac_status=$?
26365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366   (exit $ac_status); }; } &&
26367          { ac_try='test -s conftest$ac_exeext'
26368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369   (eval $ac_try) 2>&5
26370   ac_status=$?
26371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372   (exit $ac_status); }; }; then
26373   ac_cv_lib_m_lroundf=yes
26374 else
26375   echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26377
26378 ac_cv_lib_m_lroundf=no
26379 fi
26380 rm -f conftest.err conftest.$ac_objext \
26381       conftest$ac_exeext conftest.$ac_ext
26382 LIBS=$ac_check_lib_save_LIBS
26383 fi
26384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26385 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26386 if test $ac_cv_lib_m_lroundf = yes; then
26387
26388 cat >>confdefs.h <<\_ACEOF
26389 #define HAVE_LROUNDF 1
26390 _ACEOF
26391
26392 fi
26393
26394 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26395 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26396 if test "${ac_cv_lib_m_lround+set}" = set; then
26397   echo $ECHO_N "(cached) $ECHO_C" >&6
26398 else
26399   ac_check_lib_save_LIBS=$LIBS
26400 LIBS="-lm  $LIBS"
26401 if test x$gcc_no_link = xyes; then
26402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26404    { (exit 1); exit 1; }; }
26405 fi
26406 cat >conftest.$ac_ext <<_ACEOF
26407 /* confdefs.h.  */
26408 _ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h.  */
26412
26413 /* Override any gcc2 internal prototype to avoid an error.  */
26414 #ifdef __cplusplus
26415 extern "C"
26416 #endif
26417 /* We use char because int might match the return type of a gcc2
26418    builtin and then its argument prototype would still apply.  */
26419 char lround ();
26420 int
26421 main ()
26422 {
26423 lround ();
26424   ;
26425   return 0;
26426 }
26427 _ACEOF
26428 rm -f conftest.$ac_objext conftest$ac_exeext
26429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26430   (eval $ac_link) 2>conftest.er1
26431   ac_status=$?
26432   grep -v '^ *+' conftest.er1 >conftest.err
26433   rm -f conftest.er1
26434   cat conftest.err >&5
26435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436   (exit $ac_status); } &&
26437          { ac_try='test -z "$ac_c_werror_flag"
26438                          || test ! -s conftest.err'
26439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26440   (eval $ac_try) 2>&5
26441   ac_status=$?
26442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443   (exit $ac_status); }; } &&
26444          { ac_try='test -s conftest$ac_exeext'
26445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446   (eval $ac_try) 2>&5
26447   ac_status=$?
26448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449   (exit $ac_status); }; }; then
26450   ac_cv_lib_m_lround=yes
26451 else
26452   echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455 ac_cv_lib_m_lround=no
26456 fi
26457 rm -f conftest.err conftest.$ac_objext \
26458       conftest$ac_exeext conftest.$ac_ext
26459 LIBS=$ac_check_lib_save_LIBS
26460 fi
26461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26462 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26463 if test $ac_cv_lib_m_lround = yes; then
26464
26465 cat >>confdefs.h <<\_ACEOF
26466 #define HAVE_LROUND 1
26467 _ACEOF
26468
26469 fi
26470
26471 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26472 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26473 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26474   echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26476   ac_check_lib_save_LIBS=$LIBS
26477 LIBS="-lm  $LIBS"
26478 if test x$gcc_no_link = xyes; then
26479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26481    { (exit 1); exit 1; }; }
26482 fi
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h.  */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h.  */
26489
26490 /* Override any gcc2 internal prototype to avoid an error.  */
26491 #ifdef __cplusplus
26492 extern "C"
26493 #endif
26494 /* We use char because int might match the return type of a gcc2
26495    builtin and then its argument prototype would still apply.  */
26496 char lroundl ();
26497 int
26498 main ()
26499 {
26500 lroundl ();
26501   ;
26502   return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest.$ac_objext conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507   (eval $ac_link) 2>conftest.er1
26508   ac_status=$?
26509   grep -v '^ *+' conftest.er1 >conftest.err
26510   rm -f conftest.er1
26511   cat conftest.err >&5
26512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513   (exit $ac_status); } &&
26514          { ac_try='test -z "$ac_c_werror_flag"
26515                          || test ! -s conftest.err'
26516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517   (eval $ac_try) 2>&5
26518   ac_status=$?
26519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520   (exit $ac_status); }; } &&
26521          { ac_try='test -s conftest$ac_exeext'
26522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523   (eval $ac_try) 2>&5
26524   ac_status=$?
26525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526   (exit $ac_status); }; }; then
26527   ac_cv_lib_m_lroundl=yes
26528 else
26529   echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_cv_lib_m_lroundl=no
26533 fi
26534 rm -f conftest.err conftest.$ac_objext \
26535       conftest$ac_exeext conftest.$ac_ext
26536 LIBS=$ac_check_lib_save_LIBS
26537 fi
26538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26539 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26540 if test $ac_cv_lib_m_lroundl = yes; then
26541
26542 cat >>confdefs.h <<\_ACEOF
26543 #define HAVE_LROUNDL 1
26544 _ACEOF
26545
26546 fi
26547
26548 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26549 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26550 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26551   echo $ECHO_N "(cached) $ECHO_C" >&6
26552 else
26553   ac_check_lib_save_LIBS=$LIBS
26554 LIBS="-lm  $LIBS"
26555 if test x$gcc_no_link = xyes; then
26556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26558    { (exit 1); exit 1; }; }
26559 fi
26560 cat >conftest.$ac_ext <<_ACEOF
26561 /* confdefs.h.  */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h.  */
26566
26567 /* Override any gcc2 internal prototype to avoid an error.  */
26568 #ifdef __cplusplus
26569 extern "C"
26570 #endif
26571 /* We use char because int might match the return type of a gcc2
26572    builtin and then its argument prototype would still apply.  */
26573 char llroundf ();
26574 int
26575 main ()
26576 {
26577 llroundf ();
26578   ;
26579   return 0;
26580 }
26581 _ACEOF
26582 rm -f conftest.$ac_objext conftest$ac_exeext
26583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26584   (eval $ac_link) 2>conftest.er1
26585   ac_status=$?
26586   grep -v '^ *+' conftest.er1 >conftest.err
26587   rm -f conftest.er1
26588   cat conftest.err >&5
26589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590   (exit $ac_status); } &&
26591          { ac_try='test -z "$ac_c_werror_flag"
26592                          || test ! -s conftest.err'
26593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594   (eval $ac_try) 2>&5
26595   ac_status=$?
26596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597   (exit $ac_status); }; } &&
26598          { ac_try='test -s conftest$ac_exeext'
26599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600   (eval $ac_try) 2>&5
26601   ac_status=$?
26602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603   (exit $ac_status); }; }; then
26604   ac_cv_lib_m_llroundf=yes
26605 else
26606   echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26608
26609 ac_cv_lib_m_llroundf=no
26610 fi
26611 rm -f conftest.err conftest.$ac_objext \
26612       conftest$ac_exeext conftest.$ac_ext
26613 LIBS=$ac_check_lib_save_LIBS
26614 fi
26615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26616 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26617 if test $ac_cv_lib_m_llroundf = yes; then
26618
26619 cat >>confdefs.h <<\_ACEOF
26620 #define HAVE_LLROUNDF 1
26621 _ACEOF
26622
26623 fi
26624
26625 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26626 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26627 if test "${ac_cv_lib_m_llround+set}" = set; then
26628   echo $ECHO_N "(cached) $ECHO_C" >&6
26629 else
26630   ac_check_lib_save_LIBS=$LIBS
26631 LIBS="-lm  $LIBS"
26632 if test x$gcc_no_link = xyes; then
26633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26635    { (exit 1); exit 1; }; }
26636 fi
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h.  */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h.  */
26643
26644 /* Override any gcc2 internal prototype to avoid an error.  */
26645 #ifdef __cplusplus
26646 extern "C"
26647 #endif
26648 /* We use char because int might match the return type of a gcc2
26649    builtin and then its argument prototype would still apply.  */
26650 char llround ();
26651 int
26652 main ()
26653 {
26654 llround ();
26655   ;
26656   return 0;
26657 }
26658 _ACEOF
26659 rm -f conftest.$ac_objext conftest$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661   (eval $ac_link) 2>conftest.er1
26662   ac_status=$?
26663   grep -v '^ *+' conftest.er1 >conftest.err
26664   rm -f conftest.er1
26665   cat conftest.err >&5
26666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667   (exit $ac_status); } &&
26668          { ac_try='test -z "$ac_c_werror_flag"
26669                          || test ! -s conftest.err'
26670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671   (eval $ac_try) 2>&5
26672   ac_status=$?
26673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674   (exit $ac_status); }; } &&
26675          { ac_try='test -s conftest$ac_exeext'
26676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677   (eval $ac_try) 2>&5
26678   ac_status=$?
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); }; }; then
26681   ac_cv_lib_m_llround=yes
26682 else
26683   echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26685
26686 ac_cv_lib_m_llround=no
26687 fi
26688 rm -f conftest.err conftest.$ac_objext \
26689       conftest$ac_exeext conftest.$ac_ext
26690 LIBS=$ac_check_lib_save_LIBS
26691 fi
26692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26693 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26694 if test $ac_cv_lib_m_llround = yes; then
26695
26696 cat >>confdefs.h <<\_ACEOF
26697 #define HAVE_LLROUND 1
26698 _ACEOF
26699
26700 fi
26701
26702 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26703 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26704 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26705   echo $ECHO_N "(cached) $ECHO_C" >&6
26706 else
26707   ac_check_lib_save_LIBS=$LIBS
26708 LIBS="-lm  $LIBS"
26709 if test x$gcc_no_link = xyes; then
26710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26712    { (exit 1); exit 1; }; }
26713 fi
26714 cat >conftest.$ac_ext <<_ACEOF
26715 /* confdefs.h.  */
26716 _ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h.  */
26720
26721 /* Override any gcc2 internal prototype to avoid an error.  */
26722 #ifdef __cplusplus
26723 extern "C"
26724 #endif
26725 /* We use char because int might match the return type of a gcc2
26726    builtin and then its argument prototype would still apply.  */
26727 char llroundl ();
26728 int
26729 main ()
26730 {
26731 llroundl ();
26732   ;
26733   return 0;
26734 }
26735 _ACEOF
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738   (eval $ac_link) 2>conftest.er1
26739   ac_status=$?
26740   grep -v '^ *+' conftest.er1 >conftest.err
26741   rm -f conftest.er1
26742   cat conftest.err >&5
26743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744   (exit $ac_status); } &&
26745          { ac_try='test -z "$ac_c_werror_flag"
26746                          || test ! -s conftest.err'
26747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748   (eval $ac_try) 2>&5
26749   ac_status=$?
26750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751   (exit $ac_status); }; } &&
26752          { ac_try='test -s conftest$ac_exeext'
26753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754   (eval $ac_try) 2>&5
26755   ac_status=$?
26756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757   (exit $ac_status); }; }; then
26758   ac_cv_lib_m_llroundl=yes
26759 else
26760   echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 ac_cv_lib_m_llroundl=no
26764 fi
26765 rm -f conftest.err conftest.$ac_objext \
26766       conftest$ac_exeext conftest.$ac_ext
26767 LIBS=$ac_check_lib_save_LIBS
26768 fi
26769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26770 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26771 if test $ac_cv_lib_m_llroundl = yes; then
26772
26773 cat >>confdefs.h <<\_ACEOF
26774 #define HAVE_LLROUNDL 1
26775 _ACEOF
26776
26777 fi
26778
26779 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26780 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26781 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26782   echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784   ac_check_lib_save_LIBS=$LIBS
26785 LIBS="-lm  $LIBS"
26786 if test x$gcc_no_link = xyes; then
26787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26789    { (exit 1); exit 1; }; }
26790 fi
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h.  */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h.  */
26797
26798 /* Override any gcc2 internal prototype to avoid an error.  */
26799 #ifdef __cplusplus
26800 extern "C"
26801 #endif
26802 /* We use char because int might match the return type of a gcc2
26803    builtin and then its argument prototype would still apply.  */
26804 char scalbnf ();
26805 int
26806 main ()
26807 {
26808 scalbnf ();
26809   ;
26810   return 0;
26811 }
26812 _ACEOF
26813 rm -f conftest.$ac_objext conftest$ac_exeext
26814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26815   (eval $ac_link) 2>conftest.er1
26816   ac_status=$?
26817   grep -v '^ *+' conftest.er1 >conftest.err
26818   rm -f conftest.er1
26819   cat conftest.err >&5
26820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821   (exit $ac_status); } &&
26822          { ac_try='test -z "$ac_c_werror_flag"
26823                          || test ! -s conftest.err'
26824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825   (eval $ac_try) 2>&5
26826   ac_status=$?
26827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828   (exit $ac_status); }; } &&
26829          { ac_try='test -s conftest$ac_exeext'
26830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831   (eval $ac_try) 2>&5
26832   ac_status=$?
26833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834   (exit $ac_status); }; }; then
26835   ac_cv_lib_m_scalbnf=yes
26836 else
26837   echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.$ac_ext >&5
26839
26840 ac_cv_lib_m_scalbnf=no
26841 fi
26842 rm -f conftest.err conftest.$ac_objext \
26843       conftest$ac_exeext conftest.$ac_ext
26844 LIBS=$ac_check_lib_save_LIBS
26845 fi
26846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26847 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26848 if test $ac_cv_lib_m_scalbnf = yes; then
26849
26850 cat >>confdefs.h <<\_ACEOF
26851 #define HAVE_SCALBNF 1
26852 _ACEOF
26853
26854 fi
26855
26856 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26857 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26858 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26859   echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26861   ac_check_lib_save_LIBS=$LIBS
26862 LIBS="-lm  $LIBS"
26863 if test x$gcc_no_link = xyes; then
26864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26866    { (exit 1); exit 1; }; }
26867 fi
26868 cat >conftest.$ac_ext <<_ACEOF
26869 /* confdefs.h.  */
26870 _ACEOF
26871 cat confdefs.h >>conftest.$ac_ext
26872 cat >>conftest.$ac_ext <<_ACEOF
26873 /* end confdefs.h.  */
26874
26875 /* Override any gcc2 internal prototype to avoid an error.  */
26876 #ifdef __cplusplus
26877 extern "C"
26878 #endif
26879 /* We use char because int might match the return type of a gcc2
26880    builtin and then its argument prototype would still apply.  */
26881 char scalbn ();
26882 int
26883 main ()
26884 {
26885 scalbn ();
26886   ;
26887   return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext conftest$ac_exeext
26891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26892   (eval $ac_link) 2>conftest.er1
26893   ac_status=$?
26894   grep -v '^ *+' conftest.er1 >conftest.err
26895   rm -f conftest.er1
26896   cat conftest.err >&5
26897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898   (exit $ac_status); } &&
26899          { ac_try='test -z "$ac_c_werror_flag"
26900                          || test ! -s conftest.err'
26901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902   (eval $ac_try) 2>&5
26903   ac_status=$?
26904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905   (exit $ac_status); }; } &&
26906          { ac_try='test -s conftest$ac_exeext'
26907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908   (eval $ac_try) 2>&5
26909   ac_status=$?
26910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911   (exit $ac_status); }; }; then
26912   ac_cv_lib_m_scalbn=yes
26913 else
26914   echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26916
26917 ac_cv_lib_m_scalbn=no
26918 fi
26919 rm -f conftest.err conftest.$ac_objext \
26920       conftest$ac_exeext conftest.$ac_ext
26921 LIBS=$ac_check_lib_save_LIBS
26922 fi
26923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26924 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26925 if test $ac_cv_lib_m_scalbn = yes; then
26926
26927 cat >>confdefs.h <<\_ACEOF
26928 #define HAVE_SCALBN 1
26929 _ACEOF
26930
26931 fi
26932
26933 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26934 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26935 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26936   echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26938   ac_check_lib_save_LIBS=$LIBS
26939 LIBS="-lm  $LIBS"
26940 if test x$gcc_no_link = xyes; then
26941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26943    { (exit 1); exit 1; }; }
26944 fi
26945 cat >conftest.$ac_ext <<_ACEOF
26946 /* confdefs.h.  */
26947 _ACEOF
26948 cat confdefs.h >>conftest.$ac_ext
26949 cat >>conftest.$ac_ext <<_ACEOF
26950 /* end confdefs.h.  */
26951
26952 /* Override any gcc2 internal prototype to avoid an error.  */
26953 #ifdef __cplusplus
26954 extern "C"
26955 #endif
26956 /* We use char because int might match the return type of a gcc2
26957    builtin and then its argument prototype would still apply.  */
26958 char scalbnl ();
26959 int
26960 main ()
26961 {
26962 scalbnl ();
26963   ;
26964   return 0;
26965 }
26966 _ACEOF
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969   (eval $ac_link) 2>conftest.er1
26970   ac_status=$?
26971   grep -v '^ *+' conftest.er1 >conftest.err
26972   rm -f conftest.er1
26973   cat conftest.err >&5
26974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975   (exit $ac_status); } &&
26976          { ac_try='test -z "$ac_c_werror_flag"
26977                          || test ! -s conftest.err'
26978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979   (eval $ac_try) 2>&5
26980   ac_status=$?
26981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982   (exit $ac_status); }; } &&
26983          { ac_try='test -s conftest$ac_exeext'
26984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985   (eval $ac_try) 2>&5
26986   ac_status=$?
26987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988   (exit $ac_status); }; }; then
26989   ac_cv_lib_m_scalbnl=yes
26990 else
26991   echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 ac_cv_lib_m_scalbnl=no
26995 fi
26996 rm -f conftest.err conftest.$ac_objext \
26997       conftest$ac_exeext conftest.$ac_ext
26998 LIBS=$ac_check_lib_save_LIBS
26999 fi
27000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27001 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27002 if test $ac_cv_lib_m_scalbnl = yes; then
27003
27004 cat >>confdefs.h <<\_ACEOF
27005 #define HAVE_SCALBNL 1
27006 _ACEOF
27007
27008 fi
27009
27010 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27011 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27012 if test "${ac_cv_lib_m_sinf+set}" = set; then
27013   echo $ECHO_N "(cached) $ECHO_C" >&6
27014 else
27015   ac_check_lib_save_LIBS=$LIBS
27016 LIBS="-lm  $LIBS"
27017 if test x$gcc_no_link = xyes; then
27018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27020    { (exit 1); exit 1; }; }
27021 fi
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h.  */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h.  */
27028
27029 /* Override any gcc2 internal prototype to avoid an error.  */
27030 #ifdef __cplusplus
27031 extern "C"
27032 #endif
27033 /* We use char because int might match the return type of a gcc2
27034    builtin and then its argument prototype would still apply.  */
27035 char sinf ();
27036 int
27037 main ()
27038 {
27039 sinf ();
27040   ;
27041   return 0;
27042 }
27043 _ACEOF
27044 rm -f conftest.$ac_objext conftest$ac_exeext
27045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27046   (eval $ac_link) 2>conftest.er1
27047   ac_status=$?
27048   grep -v '^ *+' conftest.er1 >conftest.err
27049   rm -f conftest.er1
27050   cat conftest.err >&5
27051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052   (exit $ac_status); } &&
27053          { ac_try='test -z "$ac_c_werror_flag"
27054                          || test ! -s conftest.err'
27055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27056   (eval $ac_try) 2>&5
27057   ac_status=$?
27058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059   (exit $ac_status); }; } &&
27060          { ac_try='test -s conftest$ac_exeext'
27061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062   (eval $ac_try) 2>&5
27063   ac_status=$?
27064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065   (exit $ac_status); }; }; then
27066   ac_cv_lib_m_sinf=yes
27067 else
27068   echo "$as_me: failed program was:" >&5
27069 sed 's/^/| /' conftest.$ac_ext >&5
27070
27071 ac_cv_lib_m_sinf=no
27072 fi
27073 rm -f conftest.err conftest.$ac_objext \
27074       conftest$ac_exeext conftest.$ac_ext
27075 LIBS=$ac_check_lib_save_LIBS
27076 fi
27077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27078 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27079 if test $ac_cv_lib_m_sinf = yes; then
27080
27081 cat >>confdefs.h <<\_ACEOF
27082 #define HAVE_SINF 1
27083 _ACEOF
27084
27085 fi
27086
27087 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27088 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27089 if test "${ac_cv_lib_m_sin+set}" = set; then
27090   echo $ECHO_N "(cached) $ECHO_C" >&6
27091 else
27092   ac_check_lib_save_LIBS=$LIBS
27093 LIBS="-lm  $LIBS"
27094 if test x$gcc_no_link = xyes; then
27095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27097    { (exit 1); exit 1; }; }
27098 fi
27099 cat >conftest.$ac_ext <<_ACEOF
27100 /* confdefs.h.  */
27101 _ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h.  */
27105
27106 /* Override any gcc2 internal prototype to avoid an error.  */
27107 #ifdef __cplusplus
27108 extern "C"
27109 #endif
27110 /* We use char because int might match the return type of a gcc2
27111    builtin and then its argument prototype would still apply.  */
27112 char sin ();
27113 int
27114 main ()
27115 {
27116 sin ();
27117   ;
27118   return 0;
27119 }
27120 _ACEOF
27121 rm -f conftest.$ac_objext conftest$ac_exeext
27122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27123   (eval $ac_link) 2>conftest.er1
27124   ac_status=$?
27125   grep -v '^ *+' conftest.er1 >conftest.err
27126   rm -f conftest.er1
27127   cat conftest.err >&5
27128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129   (exit $ac_status); } &&
27130          { ac_try='test -z "$ac_c_werror_flag"
27131                          || test ! -s conftest.err'
27132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133   (eval $ac_try) 2>&5
27134   ac_status=$?
27135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136   (exit $ac_status); }; } &&
27137          { ac_try='test -s conftest$ac_exeext'
27138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139   (eval $ac_try) 2>&5
27140   ac_status=$?
27141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142   (exit $ac_status); }; }; then
27143   ac_cv_lib_m_sin=yes
27144 else
27145   echo "$as_me: failed program was:" >&5
27146 sed 's/^/| /' conftest.$ac_ext >&5
27147
27148 ac_cv_lib_m_sin=no
27149 fi
27150 rm -f conftest.err conftest.$ac_objext \
27151       conftest$ac_exeext conftest.$ac_ext
27152 LIBS=$ac_check_lib_save_LIBS
27153 fi
27154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27155 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27156 if test $ac_cv_lib_m_sin = yes; then
27157
27158 cat >>confdefs.h <<\_ACEOF
27159 #define HAVE_SIN 1
27160 _ACEOF
27161
27162 fi
27163
27164 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27165 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27166 if test "${ac_cv_lib_m_sinl+set}" = set; then
27167   echo $ECHO_N "(cached) $ECHO_C" >&6
27168 else
27169   ac_check_lib_save_LIBS=$LIBS
27170 LIBS="-lm  $LIBS"
27171 if test x$gcc_no_link = xyes; then
27172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27174    { (exit 1); exit 1; }; }
27175 fi
27176 cat >conftest.$ac_ext <<_ACEOF
27177 /* confdefs.h.  */
27178 _ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h.  */
27182
27183 /* Override any gcc2 internal prototype to avoid an error.  */
27184 #ifdef __cplusplus
27185 extern "C"
27186 #endif
27187 /* We use char because int might match the return type of a gcc2
27188    builtin and then its argument prototype would still apply.  */
27189 char sinl ();
27190 int
27191 main ()
27192 {
27193 sinl ();
27194   ;
27195   return 0;
27196 }
27197 _ACEOF
27198 rm -f conftest.$ac_objext conftest$ac_exeext
27199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27200   (eval $ac_link) 2>conftest.er1
27201   ac_status=$?
27202   grep -v '^ *+' conftest.er1 >conftest.err
27203   rm -f conftest.er1
27204   cat conftest.err >&5
27205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206   (exit $ac_status); } &&
27207          { ac_try='test -z "$ac_c_werror_flag"
27208                          || test ! -s conftest.err'
27209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210   (eval $ac_try) 2>&5
27211   ac_status=$?
27212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213   (exit $ac_status); }; } &&
27214          { ac_try='test -s conftest$ac_exeext'
27215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216   (eval $ac_try) 2>&5
27217   ac_status=$?
27218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219   (exit $ac_status); }; }; then
27220   ac_cv_lib_m_sinl=yes
27221 else
27222   echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.$ac_ext >&5
27224
27225 ac_cv_lib_m_sinl=no
27226 fi
27227 rm -f conftest.err conftest.$ac_objext \
27228       conftest$ac_exeext conftest.$ac_ext
27229 LIBS=$ac_check_lib_save_LIBS
27230 fi
27231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27232 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27233 if test $ac_cv_lib_m_sinl = yes; then
27234
27235 cat >>confdefs.h <<\_ACEOF
27236 #define HAVE_SINL 1
27237 _ACEOF
27238
27239 fi
27240
27241 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27242 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27243 if test "${ac_cv_lib_m_csinf+set}" = set; then
27244   echo $ECHO_N "(cached) $ECHO_C" >&6
27245 else
27246   ac_check_lib_save_LIBS=$LIBS
27247 LIBS="-lm  $LIBS"
27248 if test x$gcc_no_link = xyes; then
27249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27251    { (exit 1); exit 1; }; }
27252 fi
27253 cat >conftest.$ac_ext <<_ACEOF
27254 /* confdefs.h.  */
27255 _ACEOF
27256 cat confdefs.h >>conftest.$ac_ext
27257 cat >>conftest.$ac_ext <<_ACEOF
27258 /* end confdefs.h.  */
27259
27260 /* Override any gcc2 internal prototype to avoid an error.  */
27261 #ifdef __cplusplus
27262 extern "C"
27263 #endif
27264 /* We use char because int might match the return type of a gcc2
27265    builtin and then its argument prototype would still apply.  */
27266 char csinf ();
27267 int
27268 main ()
27269 {
27270 csinf ();
27271   ;
27272   return 0;
27273 }
27274 _ACEOF
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27277   (eval $ac_link) 2>conftest.er1
27278   ac_status=$?
27279   grep -v '^ *+' conftest.er1 >conftest.err
27280   rm -f conftest.er1
27281   cat conftest.err >&5
27282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283   (exit $ac_status); } &&
27284          { ac_try='test -z "$ac_c_werror_flag"
27285                          || test ! -s conftest.err'
27286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287   (eval $ac_try) 2>&5
27288   ac_status=$?
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); }; } &&
27291          { ac_try='test -s conftest$ac_exeext'
27292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293   (eval $ac_try) 2>&5
27294   ac_status=$?
27295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296   (exit $ac_status); }; }; then
27297   ac_cv_lib_m_csinf=yes
27298 else
27299   echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27301
27302 ac_cv_lib_m_csinf=no
27303 fi
27304 rm -f conftest.err conftest.$ac_objext \
27305       conftest$ac_exeext conftest.$ac_ext
27306 LIBS=$ac_check_lib_save_LIBS
27307 fi
27308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27309 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27310 if test $ac_cv_lib_m_csinf = yes; then
27311
27312 cat >>confdefs.h <<\_ACEOF
27313 #define HAVE_CSINF 1
27314 _ACEOF
27315
27316 fi
27317
27318 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27319 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27320 if test "${ac_cv_lib_m_csin+set}" = set; then
27321   echo $ECHO_N "(cached) $ECHO_C" >&6
27322 else
27323   ac_check_lib_save_LIBS=$LIBS
27324 LIBS="-lm  $LIBS"
27325 if test x$gcc_no_link = xyes; then
27326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27328    { (exit 1); exit 1; }; }
27329 fi
27330 cat >conftest.$ac_ext <<_ACEOF
27331 /* confdefs.h.  */
27332 _ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h.  */
27336
27337 /* Override any gcc2 internal prototype to avoid an error.  */
27338 #ifdef __cplusplus
27339 extern "C"
27340 #endif
27341 /* We use char because int might match the return type of a gcc2
27342    builtin and then its argument prototype would still apply.  */
27343 char csin ();
27344 int
27345 main ()
27346 {
27347 csin ();
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 rm -f conftest.$ac_objext conftest$ac_exeext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27354   (eval $ac_link) 2>conftest.er1
27355   ac_status=$?
27356   grep -v '^ *+' conftest.er1 >conftest.err
27357   rm -f conftest.er1
27358   cat conftest.err >&5
27359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360   (exit $ac_status); } &&
27361          { ac_try='test -z "$ac_c_werror_flag"
27362                          || test ! -s conftest.err'
27363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364   (eval $ac_try) 2>&5
27365   ac_status=$?
27366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367   (exit $ac_status); }; } &&
27368          { ac_try='test -s conftest$ac_exeext'
27369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370   (eval $ac_try) 2>&5
27371   ac_status=$?
27372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373   (exit $ac_status); }; }; then
27374   ac_cv_lib_m_csin=yes
27375 else
27376   echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27378
27379 ac_cv_lib_m_csin=no
27380 fi
27381 rm -f conftest.err conftest.$ac_objext \
27382       conftest$ac_exeext conftest.$ac_ext
27383 LIBS=$ac_check_lib_save_LIBS
27384 fi
27385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27386 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27387 if test $ac_cv_lib_m_csin = yes; then
27388
27389 cat >>confdefs.h <<\_ACEOF
27390 #define HAVE_CSIN 1
27391 _ACEOF
27392
27393 fi
27394
27395 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27396 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27397 if test "${ac_cv_lib_m_csinl+set}" = set; then
27398   echo $ECHO_N "(cached) $ECHO_C" >&6
27399 else
27400   ac_check_lib_save_LIBS=$LIBS
27401 LIBS="-lm  $LIBS"
27402 if test x$gcc_no_link = xyes; then
27403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27405    { (exit 1); exit 1; }; }
27406 fi
27407 cat >conftest.$ac_ext <<_ACEOF
27408 /* confdefs.h.  */
27409 _ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h.  */
27413
27414 /* Override any gcc2 internal prototype to avoid an error.  */
27415 #ifdef __cplusplus
27416 extern "C"
27417 #endif
27418 /* We use char because int might match the return type of a gcc2
27419    builtin and then its argument prototype would still apply.  */
27420 char csinl ();
27421 int
27422 main ()
27423 {
27424 csinl ();
27425   ;
27426   return 0;
27427 }
27428 _ACEOF
27429 rm -f conftest.$ac_objext conftest$ac_exeext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27431   (eval $ac_link) 2>conftest.er1
27432   ac_status=$?
27433   grep -v '^ *+' conftest.er1 >conftest.err
27434   rm -f conftest.er1
27435   cat conftest.err >&5
27436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437   (exit $ac_status); } &&
27438          { ac_try='test -z "$ac_c_werror_flag"
27439                          || test ! -s conftest.err'
27440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441   (eval $ac_try) 2>&5
27442   ac_status=$?
27443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444   (exit $ac_status); }; } &&
27445          { ac_try='test -s conftest$ac_exeext'
27446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447   (eval $ac_try) 2>&5
27448   ac_status=$?
27449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450   (exit $ac_status); }; }; then
27451   ac_cv_lib_m_csinl=yes
27452 else
27453   echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27455
27456 ac_cv_lib_m_csinl=no
27457 fi
27458 rm -f conftest.err conftest.$ac_objext \
27459       conftest$ac_exeext conftest.$ac_ext
27460 LIBS=$ac_check_lib_save_LIBS
27461 fi
27462 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27463 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27464 if test $ac_cv_lib_m_csinl = yes; then
27465
27466 cat >>confdefs.h <<\_ACEOF
27467 #define HAVE_CSINL 1
27468 _ACEOF
27469
27470 fi
27471
27472 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27473 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27474 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27475   echo $ECHO_N "(cached) $ECHO_C" >&6
27476 else
27477   ac_check_lib_save_LIBS=$LIBS
27478 LIBS="-lm  $LIBS"
27479 if test x$gcc_no_link = xyes; then
27480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27482    { (exit 1); exit 1; }; }
27483 fi
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h.  */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h.  */
27490
27491 /* Override any gcc2 internal prototype to avoid an error.  */
27492 #ifdef __cplusplus
27493 extern "C"
27494 #endif
27495 /* We use char because int might match the return type of a gcc2
27496    builtin and then its argument prototype would still apply.  */
27497 char sinhf ();
27498 int
27499 main ()
27500 {
27501 sinhf ();
27502   ;
27503   return 0;
27504 }
27505 _ACEOF
27506 rm -f conftest.$ac_objext conftest$ac_exeext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27508   (eval $ac_link) 2>conftest.er1
27509   ac_status=$?
27510   grep -v '^ *+' conftest.er1 >conftest.err
27511   rm -f conftest.er1
27512   cat conftest.err >&5
27513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514   (exit $ac_status); } &&
27515          { ac_try='test -z "$ac_c_werror_flag"
27516                          || test ! -s conftest.err'
27517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518   (eval $ac_try) 2>&5
27519   ac_status=$?
27520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521   (exit $ac_status); }; } &&
27522          { ac_try='test -s conftest$ac_exeext'
27523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524   (eval $ac_try) 2>&5
27525   ac_status=$?
27526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527   (exit $ac_status); }; }; then
27528   ac_cv_lib_m_sinhf=yes
27529 else
27530   echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27532
27533 ac_cv_lib_m_sinhf=no
27534 fi
27535 rm -f conftest.err conftest.$ac_objext \
27536       conftest$ac_exeext conftest.$ac_ext
27537 LIBS=$ac_check_lib_save_LIBS
27538 fi
27539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27540 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27541 if test $ac_cv_lib_m_sinhf = yes; then
27542
27543 cat >>confdefs.h <<\_ACEOF
27544 #define HAVE_SINHF 1
27545 _ACEOF
27546
27547 fi
27548
27549 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27550 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27551 if test "${ac_cv_lib_m_sinh+set}" = set; then
27552   echo $ECHO_N "(cached) $ECHO_C" >&6
27553 else
27554   ac_check_lib_save_LIBS=$LIBS
27555 LIBS="-lm  $LIBS"
27556 if test x$gcc_no_link = xyes; then
27557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27559    { (exit 1); exit 1; }; }
27560 fi
27561 cat >conftest.$ac_ext <<_ACEOF
27562 /* confdefs.h.  */
27563 _ACEOF
27564 cat confdefs.h >>conftest.$ac_ext
27565 cat >>conftest.$ac_ext <<_ACEOF
27566 /* end confdefs.h.  */
27567
27568 /* Override any gcc2 internal prototype to avoid an error.  */
27569 #ifdef __cplusplus
27570 extern "C"
27571 #endif
27572 /* We use char because int might match the return type of a gcc2
27573    builtin and then its argument prototype would still apply.  */
27574 char sinh ();
27575 int
27576 main ()
27577 {
27578 sinh ();
27579   ;
27580   return 0;
27581 }
27582 _ACEOF
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585   (eval $ac_link) 2>conftest.er1
27586   ac_status=$?
27587   grep -v '^ *+' conftest.er1 >conftest.err
27588   rm -f conftest.er1
27589   cat conftest.err >&5
27590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591   (exit $ac_status); } &&
27592          { ac_try='test -z "$ac_c_werror_flag"
27593                          || test ! -s conftest.err'
27594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595   (eval $ac_try) 2>&5
27596   ac_status=$?
27597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598   (exit $ac_status); }; } &&
27599          { ac_try='test -s conftest$ac_exeext'
27600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601   (eval $ac_try) 2>&5
27602   ac_status=$?
27603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604   (exit $ac_status); }; }; then
27605   ac_cv_lib_m_sinh=yes
27606 else
27607   echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 ac_cv_lib_m_sinh=no
27611 fi
27612 rm -f conftest.err conftest.$ac_objext \
27613       conftest$ac_exeext conftest.$ac_ext
27614 LIBS=$ac_check_lib_save_LIBS
27615 fi
27616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27617 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27618 if test $ac_cv_lib_m_sinh = yes; then
27619
27620 cat >>confdefs.h <<\_ACEOF
27621 #define HAVE_SINH 1
27622 _ACEOF
27623
27624 fi
27625
27626 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27627 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27628 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27629   echo $ECHO_N "(cached) $ECHO_C" >&6
27630 else
27631   ac_check_lib_save_LIBS=$LIBS
27632 LIBS="-lm  $LIBS"
27633 if test x$gcc_no_link = xyes; then
27634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27636    { (exit 1); exit 1; }; }
27637 fi
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h.  */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h.  */
27644
27645 /* Override any gcc2 internal prototype to avoid an error.  */
27646 #ifdef __cplusplus
27647 extern "C"
27648 #endif
27649 /* We use char because int might match the return type of a gcc2
27650    builtin and then its argument prototype would still apply.  */
27651 char sinhl ();
27652 int
27653 main ()
27654 {
27655 sinhl ();
27656   ;
27657   return 0;
27658 }
27659 _ACEOF
27660 rm -f conftest.$ac_objext conftest$ac_exeext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27662   (eval $ac_link) 2>conftest.er1
27663   ac_status=$?
27664   grep -v '^ *+' conftest.er1 >conftest.err
27665   rm -f conftest.er1
27666   cat conftest.err >&5
27667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668   (exit $ac_status); } &&
27669          { ac_try='test -z "$ac_c_werror_flag"
27670                          || test ! -s conftest.err'
27671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672   (eval $ac_try) 2>&5
27673   ac_status=$?
27674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675   (exit $ac_status); }; } &&
27676          { ac_try='test -s conftest$ac_exeext'
27677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678   (eval $ac_try) 2>&5
27679   ac_status=$?
27680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681   (exit $ac_status); }; }; then
27682   ac_cv_lib_m_sinhl=yes
27683 else
27684   echo "$as_me: failed program was:" >&5
27685 sed 's/^/| /' conftest.$ac_ext >&5
27686
27687 ac_cv_lib_m_sinhl=no
27688 fi
27689 rm -f conftest.err conftest.$ac_objext \
27690       conftest$ac_exeext conftest.$ac_ext
27691 LIBS=$ac_check_lib_save_LIBS
27692 fi
27693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27694 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27695 if test $ac_cv_lib_m_sinhl = yes; then
27696
27697 cat >>confdefs.h <<\_ACEOF
27698 #define HAVE_SINHL 1
27699 _ACEOF
27700
27701 fi
27702
27703 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27704 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27705 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27706   echo $ECHO_N "(cached) $ECHO_C" >&6
27707 else
27708   ac_check_lib_save_LIBS=$LIBS
27709 LIBS="-lm  $LIBS"
27710 if test x$gcc_no_link = xyes; then
27711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27713    { (exit 1); exit 1; }; }
27714 fi
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h.  */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h.  */
27721
27722 /* Override any gcc2 internal prototype to avoid an error.  */
27723 #ifdef __cplusplus
27724 extern "C"
27725 #endif
27726 /* We use char because int might match the return type of a gcc2
27727    builtin and then its argument prototype would still apply.  */
27728 char csinhf ();
27729 int
27730 main ()
27731 {
27732 csinhf ();
27733   ;
27734   return 0;
27735 }
27736 _ACEOF
27737 rm -f conftest.$ac_objext conftest$ac_exeext
27738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27739   (eval $ac_link) 2>conftest.er1
27740   ac_status=$?
27741   grep -v '^ *+' conftest.er1 >conftest.err
27742   rm -f conftest.er1
27743   cat conftest.err >&5
27744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745   (exit $ac_status); } &&
27746          { ac_try='test -z "$ac_c_werror_flag"
27747                          || test ! -s conftest.err'
27748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27749   (eval $ac_try) 2>&5
27750   ac_status=$?
27751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752   (exit $ac_status); }; } &&
27753          { ac_try='test -s conftest$ac_exeext'
27754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27755   (eval $ac_try) 2>&5
27756   ac_status=$?
27757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758   (exit $ac_status); }; }; then
27759   ac_cv_lib_m_csinhf=yes
27760 else
27761   echo "$as_me: failed program was:" >&5
27762 sed 's/^/| /' conftest.$ac_ext >&5
27763
27764 ac_cv_lib_m_csinhf=no
27765 fi
27766 rm -f conftest.err conftest.$ac_objext \
27767       conftest$ac_exeext conftest.$ac_ext
27768 LIBS=$ac_check_lib_save_LIBS
27769 fi
27770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27771 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27772 if test $ac_cv_lib_m_csinhf = yes; then
27773
27774 cat >>confdefs.h <<\_ACEOF
27775 #define HAVE_CSINHF 1
27776 _ACEOF
27777
27778 fi
27779
27780 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27781 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27782 if test "${ac_cv_lib_m_csinh+set}" = set; then
27783   echo $ECHO_N "(cached) $ECHO_C" >&6
27784 else
27785   ac_check_lib_save_LIBS=$LIBS
27786 LIBS="-lm  $LIBS"
27787 if test x$gcc_no_link = xyes; then
27788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27790    { (exit 1); exit 1; }; }
27791 fi
27792 cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h.  */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h.  */
27798
27799 /* Override any gcc2 internal prototype to avoid an error.  */
27800 #ifdef __cplusplus
27801 extern "C"
27802 #endif
27803 /* We use char because int might match the return type of a gcc2
27804    builtin and then its argument prototype would still apply.  */
27805 char csinh ();
27806 int
27807 main ()
27808 {
27809 csinh ();
27810   ;
27811   return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27816   (eval $ac_link) 2>conftest.er1
27817   ac_status=$?
27818   grep -v '^ *+' conftest.er1 >conftest.err
27819   rm -f conftest.er1
27820   cat conftest.err >&5
27821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822   (exit $ac_status); } &&
27823          { ac_try='test -z "$ac_c_werror_flag"
27824                          || test ! -s conftest.err'
27825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27826   (eval $ac_try) 2>&5
27827   ac_status=$?
27828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829   (exit $ac_status); }; } &&
27830          { ac_try='test -s conftest$ac_exeext'
27831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27832   (eval $ac_try) 2>&5
27833   ac_status=$?
27834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835   (exit $ac_status); }; }; then
27836   ac_cv_lib_m_csinh=yes
27837 else
27838   echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27840
27841 ac_cv_lib_m_csinh=no
27842 fi
27843 rm -f conftest.err conftest.$ac_objext \
27844       conftest$ac_exeext conftest.$ac_ext
27845 LIBS=$ac_check_lib_save_LIBS
27846 fi
27847 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27848 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27849 if test $ac_cv_lib_m_csinh = yes; then
27850
27851 cat >>confdefs.h <<\_ACEOF
27852 #define HAVE_CSINH 1
27853 _ACEOF
27854
27855 fi
27856
27857 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27858 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27859 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27860   echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862   ac_check_lib_save_LIBS=$LIBS
27863 LIBS="-lm  $LIBS"
27864 if test x$gcc_no_link = xyes; then
27865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27867    { (exit 1); exit 1; }; }
27868 fi
27869 cat >conftest.$ac_ext <<_ACEOF
27870 /* confdefs.h.  */
27871 _ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h.  */
27875
27876 /* Override any gcc2 internal prototype to avoid an error.  */
27877 #ifdef __cplusplus
27878 extern "C"
27879 #endif
27880 /* We use char because int might match the return type of a gcc2
27881    builtin and then its argument prototype would still apply.  */
27882 char csinhl ();
27883 int
27884 main ()
27885 {
27886 csinhl ();
27887   ;
27888   return 0;
27889 }
27890 _ACEOF
27891 rm -f conftest.$ac_objext conftest$ac_exeext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27893   (eval $ac_link) 2>conftest.er1
27894   ac_status=$?
27895   grep -v '^ *+' conftest.er1 >conftest.err
27896   rm -f conftest.er1
27897   cat conftest.err >&5
27898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899   (exit $ac_status); } &&
27900          { ac_try='test -z "$ac_c_werror_flag"
27901                          || test ! -s conftest.err'
27902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27903   (eval $ac_try) 2>&5
27904   ac_status=$?
27905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906   (exit $ac_status); }; } &&
27907          { ac_try='test -s conftest$ac_exeext'
27908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27909   (eval $ac_try) 2>&5
27910   ac_status=$?
27911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912   (exit $ac_status); }; }; then
27913   ac_cv_lib_m_csinhl=yes
27914 else
27915   echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.$ac_ext >&5
27917
27918 ac_cv_lib_m_csinhl=no
27919 fi
27920 rm -f conftest.err conftest.$ac_objext \
27921       conftest$ac_exeext conftest.$ac_ext
27922 LIBS=$ac_check_lib_save_LIBS
27923 fi
27924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27925 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27926 if test $ac_cv_lib_m_csinhl = yes; then
27927
27928 cat >>confdefs.h <<\_ACEOF
27929 #define HAVE_CSINHL 1
27930 _ACEOF
27931
27932 fi
27933
27934 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27935 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27936 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27937   echo $ECHO_N "(cached) $ECHO_C" >&6
27938 else
27939   ac_check_lib_save_LIBS=$LIBS
27940 LIBS="-lm  $LIBS"
27941 if test x$gcc_no_link = xyes; then
27942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27944    { (exit 1); exit 1; }; }
27945 fi
27946 cat >conftest.$ac_ext <<_ACEOF
27947 /* confdefs.h.  */
27948 _ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h.  */
27952
27953 /* Override any gcc2 internal prototype to avoid an error.  */
27954 #ifdef __cplusplus
27955 extern "C"
27956 #endif
27957 /* We use char because int might match the return type of a gcc2
27958    builtin and then its argument prototype would still apply.  */
27959 char sqrtf ();
27960 int
27961 main ()
27962 {
27963 sqrtf ();
27964   ;
27965   return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27970   (eval $ac_link) 2>conftest.er1
27971   ac_status=$?
27972   grep -v '^ *+' conftest.er1 >conftest.err
27973   rm -f conftest.er1
27974   cat conftest.err >&5
27975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976   (exit $ac_status); } &&
27977          { ac_try='test -z "$ac_c_werror_flag"
27978                          || test ! -s conftest.err'
27979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27980   (eval $ac_try) 2>&5
27981   ac_status=$?
27982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983   (exit $ac_status); }; } &&
27984          { ac_try='test -s conftest$ac_exeext'
27985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986   (eval $ac_try) 2>&5
27987   ac_status=$?
27988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989   (exit $ac_status); }; }; then
27990   ac_cv_lib_m_sqrtf=yes
27991 else
27992   echo "$as_me: failed program was:" >&5
27993 sed 's/^/| /' conftest.$ac_ext >&5
27994
27995 ac_cv_lib_m_sqrtf=no
27996 fi
27997 rm -f conftest.err conftest.$ac_objext \
27998       conftest$ac_exeext conftest.$ac_ext
27999 LIBS=$ac_check_lib_save_LIBS
28000 fi
28001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28002 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28003 if test $ac_cv_lib_m_sqrtf = yes; then
28004
28005 cat >>confdefs.h <<\_ACEOF
28006 #define HAVE_SQRTF 1
28007 _ACEOF
28008
28009 fi
28010
28011 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28012 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28013 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28014   echo $ECHO_N "(cached) $ECHO_C" >&6
28015 else
28016   ac_check_lib_save_LIBS=$LIBS
28017 LIBS="-lm  $LIBS"
28018 if test x$gcc_no_link = xyes; then
28019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28021    { (exit 1); exit 1; }; }
28022 fi
28023 cat >conftest.$ac_ext <<_ACEOF
28024 /* confdefs.h.  */
28025 _ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h.  */
28029
28030 /* Override any gcc2 internal prototype to avoid an error.  */
28031 #ifdef __cplusplus
28032 extern "C"
28033 #endif
28034 /* We use char because int might match the return type of a gcc2
28035    builtin and then its argument prototype would still apply.  */
28036 char sqrt ();
28037 int
28038 main ()
28039 {
28040 sqrt ();
28041   ;
28042   return 0;
28043 }
28044 _ACEOF
28045 rm -f conftest.$ac_objext conftest$ac_exeext
28046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28047   (eval $ac_link) 2>conftest.er1
28048   ac_status=$?
28049   grep -v '^ *+' conftest.er1 >conftest.err
28050   rm -f conftest.er1
28051   cat conftest.err >&5
28052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053   (exit $ac_status); } &&
28054          { ac_try='test -z "$ac_c_werror_flag"
28055                          || test ! -s conftest.err'
28056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057   (eval $ac_try) 2>&5
28058   ac_status=$?
28059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060   (exit $ac_status); }; } &&
28061          { ac_try='test -s conftest$ac_exeext'
28062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063   (eval $ac_try) 2>&5
28064   ac_status=$?
28065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066   (exit $ac_status); }; }; then
28067   ac_cv_lib_m_sqrt=yes
28068 else
28069   echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28071
28072 ac_cv_lib_m_sqrt=no
28073 fi
28074 rm -f conftest.err conftest.$ac_objext \
28075       conftest$ac_exeext conftest.$ac_ext
28076 LIBS=$ac_check_lib_save_LIBS
28077 fi
28078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28079 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28080 if test $ac_cv_lib_m_sqrt = yes; then
28081
28082 cat >>confdefs.h <<\_ACEOF
28083 #define HAVE_SQRT 1
28084 _ACEOF
28085
28086 fi
28087
28088 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28089 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28090 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28091   echo $ECHO_N "(cached) $ECHO_C" >&6
28092 else
28093   ac_check_lib_save_LIBS=$LIBS
28094 LIBS="-lm  $LIBS"
28095 if test x$gcc_no_link = xyes; then
28096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28098    { (exit 1); exit 1; }; }
28099 fi
28100 cat >conftest.$ac_ext <<_ACEOF
28101 /* confdefs.h.  */
28102 _ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h.  */
28106
28107 /* Override any gcc2 internal prototype to avoid an error.  */
28108 #ifdef __cplusplus
28109 extern "C"
28110 #endif
28111 /* We use char because int might match the return type of a gcc2
28112    builtin and then its argument prototype would still apply.  */
28113 char sqrtl ();
28114 int
28115 main ()
28116 {
28117 sqrtl ();
28118   ;
28119   return 0;
28120 }
28121 _ACEOF
28122 rm -f conftest.$ac_objext conftest$ac_exeext
28123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28124   (eval $ac_link) 2>conftest.er1
28125   ac_status=$?
28126   grep -v '^ *+' conftest.er1 >conftest.err
28127   rm -f conftest.er1
28128   cat conftest.err >&5
28129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130   (exit $ac_status); } &&
28131          { ac_try='test -z "$ac_c_werror_flag"
28132                          || test ! -s conftest.err'
28133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28134   (eval $ac_try) 2>&5
28135   ac_status=$?
28136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137   (exit $ac_status); }; } &&
28138          { ac_try='test -s conftest$ac_exeext'
28139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140   (eval $ac_try) 2>&5
28141   ac_status=$?
28142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143   (exit $ac_status); }; }; then
28144   ac_cv_lib_m_sqrtl=yes
28145 else
28146   echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 ac_cv_lib_m_sqrtl=no
28150 fi
28151 rm -f conftest.err conftest.$ac_objext \
28152       conftest$ac_exeext conftest.$ac_ext
28153 LIBS=$ac_check_lib_save_LIBS
28154 fi
28155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28156 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28157 if test $ac_cv_lib_m_sqrtl = yes; then
28158
28159 cat >>confdefs.h <<\_ACEOF
28160 #define HAVE_SQRTL 1
28161 _ACEOF
28162
28163 fi
28164
28165 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28166 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28167 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28168   echo $ECHO_N "(cached) $ECHO_C" >&6
28169 else
28170   ac_check_lib_save_LIBS=$LIBS
28171 LIBS="-lm  $LIBS"
28172 if test x$gcc_no_link = xyes; then
28173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28175    { (exit 1); exit 1; }; }
28176 fi
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h.  */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h.  */
28183
28184 /* Override any gcc2 internal prototype to avoid an error.  */
28185 #ifdef __cplusplus
28186 extern "C"
28187 #endif
28188 /* We use char because int might match the return type of a gcc2
28189    builtin and then its argument prototype would still apply.  */
28190 char csqrtf ();
28191 int
28192 main ()
28193 {
28194 csqrtf ();
28195   ;
28196   return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext conftest$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201   (eval $ac_link) 2>conftest.er1
28202   ac_status=$?
28203   grep -v '^ *+' conftest.er1 >conftest.err
28204   rm -f conftest.er1
28205   cat conftest.err >&5
28206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207   (exit $ac_status); } &&
28208          { ac_try='test -z "$ac_c_werror_flag"
28209                          || test ! -s conftest.err'
28210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211   (eval $ac_try) 2>&5
28212   ac_status=$?
28213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214   (exit $ac_status); }; } &&
28215          { ac_try='test -s conftest$ac_exeext'
28216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217   (eval $ac_try) 2>&5
28218   ac_status=$?
28219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220   (exit $ac_status); }; }; then
28221   ac_cv_lib_m_csqrtf=yes
28222 else
28223   echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 ac_cv_lib_m_csqrtf=no
28227 fi
28228 rm -f conftest.err conftest.$ac_objext \
28229       conftest$ac_exeext conftest.$ac_ext
28230 LIBS=$ac_check_lib_save_LIBS
28231 fi
28232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28233 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28234 if test $ac_cv_lib_m_csqrtf = yes; then
28235
28236 cat >>confdefs.h <<\_ACEOF
28237 #define HAVE_CSQRTF 1
28238 _ACEOF
28239
28240 fi
28241
28242 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28243 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28244 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28245   echo $ECHO_N "(cached) $ECHO_C" >&6
28246 else
28247   ac_check_lib_save_LIBS=$LIBS
28248 LIBS="-lm  $LIBS"
28249 if test x$gcc_no_link = xyes; then
28250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28252    { (exit 1); exit 1; }; }
28253 fi
28254 cat >conftest.$ac_ext <<_ACEOF
28255 /* confdefs.h.  */
28256 _ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h.  */
28260
28261 /* Override any gcc2 internal prototype to avoid an error.  */
28262 #ifdef __cplusplus
28263 extern "C"
28264 #endif
28265 /* We use char because int might match the return type of a gcc2
28266    builtin and then its argument prototype would still apply.  */
28267 char csqrt ();
28268 int
28269 main ()
28270 {
28271 csqrt ();
28272   ;
28273   return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext conftest$ac_exeext
28277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28278   (eval $ac_link) 2>conftest.er1
28279   ac_status=$?
28280   grep -v '^ *+' conftest.er1 >conftest.err
28281   rm -f conftest.er1
28282   cat conftest.err >&5
28283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284   (exit $ac_status); } &&
28285          { ac_try='test -z "$ac_c_werror_flag"
28286                          || test ! -s conftest.err'
28287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288   (eval $ac_try) 2>&5
28289   ac_status=$?
28290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291   (exit $ac_status); }; } &&
28292          { ac_try='test -s conftest$ac_exeext'
28293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28294   (eval $ac_try) 2>&5
28295   ac_status=$?
28296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297   (exit $ac_status); }; }; then
28298   ac_cv_lib_m_csqrt=yes
28299 else
28300   echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28302
28303 ac_cv_lib_m_csqrt=no
28304 fi
28305 rm -f conftest.err conftest.$ac_objext \
28306       conftest$ac_exeext conftest.$ac_ext
28307 LIBS=$ac_check_lib_save_LIBS
28308 fi
28309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28310 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28311 if test $ac_cv_lib_m_csqrt = yes; then
28312
28313 cat >>confdefs.h <<\_ACEOF
28314 #define HAVE_CSQRT 1
28315 _ACEOF
28316
28317 fi
28318
28319 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28320 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28321 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28322   echo $ECHO_N "(cached) $ECHO_C" >&6
28323 else
28324   ac_check_lib_save_LIBS=$LIBS
28325 LIBS="-lm  $LIBS"
28326 if test x$gcc_no_link = xyes; then
28327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28329    { (exit 1); exit 1; }; }
28330 fi
28331 cat >conftest.$ac_ext <<_ACEOF
28332 /* confdefs.h.  */
28333 _ACEOF
28334 cat confdefs.h >>conftest.$ac_ext
28335 cat >>conftest.$ac_ext <<_ACEOF
28336 /* end confdefs.h.  */
28337
28338 /* Override any gcc2 internal prototype to avoid an error.  */
28339 #ifdef __cplusplus
28340 extern "C"
28341 #endif
28342 /* We use char because int might match the return type of a gcc2
28343    builtin and then its argument prototype would still apply.  */
28344 char csqrtl ();
28345 int
28346 main ()
28347 {
28348 csqrtl ();
28349   ;
28350   return 0;
28351 }
28352 _ACEOF
28353 rm -f conftest.$ac_objext conftest$ac_exeext
28354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28355   (eval $ac_link) 2>conftest.er1
28356   ac_status=$?
28357   grep -v '^ *+' conftest.er1 >conftest.err
28358   rm -f conftest.er1
28359   cat conftest.err >&5
28360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361   (exit $ac_status); } &&
28362          { ac_try='test -z "$ac_c_werror_flag"
28363                          || test ! -s conftest.err'
28364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28365   (eval $ac_try) 2>&5
28366   ac_status=$?
28367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368   (exit $ac_status); }; } &&
28369          { ac_try='test -s conftest$ac_exeext'
28370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371   (eval $ac_try) 2>&5
28372   ac_status=$?
28373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374   (exit $ac_status); }; }; then
28375   ac_cv_lib_m_csqrtl=yes
28376 else
28377   echo "$as_me: failed program was:" >&5
28378 sed 's/^/| /' conftest.$ac_ext >&5
28379
28380 ac_cv_lib_m_csqrtl=no
28381 fi
28382 rm -f conftest.err conftest.$ac_objext \
28383       conftest$ac_exeext conftest.$ac_ext
28384 LIBS=$ac_check_lib_save_LIBS
28385 fi
28386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28387 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28388 if test $ac_cv_lib_m_csqrtl = yes; then
28389
28390 cat >>confdefs.h <<\_ACEOF
28391 #define HAVE_CSQRTL 1
28392 _ACEOF
28393
28394 fi
28395
28396 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28397 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28398 if test "${ac_cv_lib_m_tanf+set}" = set; then
28399   echo $ECHO_N "(cached) $ECHO_C" >&6
28400 else
28401   ac_check_lib_save_LIBS=$LIBS
28402 LIBS="-lm  $LIBS"
28403 if test x$gcc_no_link = xyes; then
28404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28406    { (exit 1); exit 1; }; }
28407 fi
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h.  */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h.  */
28414
28415 /* Override any gcc2 internal prototype to avoid an error.  */
28416 #ifdef __cplusplus
28417 extern "C"
28418 #endif
28419 /* We use char because int might match the return type of a gcc2
28420    builtin and then its argument prototype would still apply.  */
28421 char tanf ();
28422 int
28423 main ()
28424 {
28425 tanf ();
28426   ;
28427   return 0;
28428 }
28429 _ACEOF
28430 rm -f conftest.$ac_objext conftest$ac_exeext
28431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28432   (eval $ac_link) 2>conftest.er1
28433   ac_status=$?
28434   grep -v '^ *+' conftest.er1 >conftest.err
28435   rm -f conftest.er1
28436   cat conftest.err >&5
28437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438   (exit $ac_status); } &&
28439          { ac_try='test -z "$ac_c_werror_flag"
28440                          || test ! -s conftest.err'
28441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442   (eval $ac_try) 2>&5
28443   ac_status=$?
28444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445   (exit $ac_status); }; } &&
28446          { ac_try='test -s conftest$ac_exeext'
28447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448   (eval $ac_try) 2>&5
28449   ac_status=$?
28450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451   (exit $ac_status); }; }; then
28452   ac_cv_lib_m_tanf=yes
28453 else
28454   echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.$ac_ext >&5
28456
28457 ac_cv_lib_m_tanf=no
28458 fi
28459 rm -f conftest.err conftest.$ac_objext \
28460       conftest$ac_exeext conftest.$ac_ext
28461 LIBS=$ac_check_lib_save_LIBS
28462 fi
28463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28464 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28465 if test $ac_cv_lib_m_tanf = yes; then
28466
28467 cat >>confdefs.h <<\_ACEOF
28468 #define HAVE_TANF 1
28469 _ACEOF
28470
28471 fi
28472
28473 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28474 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28475 if test "${ac_cv_lib_m_tan+set}" = set; then
28476   echo $ECHO_N "(cached) $ECHO_C" >&6
28477 else
28478   ac_check_lib_save_LIBS=$LIBS
28479 LIBS="-lm  $LIBS"
28480 if test x$gcc_no_link = xyes; then
28481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28483    { (exit 1); exit 1; }; }
28484 fi
28485 cat >conftest.$ac_ext <<_ACEOF
28486 /* confdefs.h.  */
28487 _ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h.  */
28491
28492 /* Override any gcc2 internal prototype to avoid an error.  */
28493 #ifdef __cplusplus
28494 extern "C"
28495 #endif
28496 /* We use char because int might match the return type of a gcc2
28497    builtin and then its argument prototype would still apply.  */
28498 char tan ();
28499 int
28500 main ()
28501 {
28502 tan ();
28503   ;
28504   return 0;
28505 }
28506 _ACEOF
28507 rm -f conftest.$ac_objext conftest$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509   (eval $ac_link) 2>conftest.er1
28510   ac_status=$?
28511   grep -v '^ *+' conftest.er1 >conftest.err
28512   rm -f conftest.er1
28513   cat conftest.err >&5
28514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515   (exit $ac_status); } &&
28516          { ac_try='test -z "$ac_c_werror_flag"
28517                          || test ! -s conftest.err'
28518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519   (eval $ac_try) 2>&5
28520   ac_status=$?
28521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522   (exit $ac_status); }; } &&
28523          { ac_try='test -s conftest$ac_exeext'
28524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525   (eval $ac_try) 2>&5
28526   ac_status=$?
28527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528   (exit $ac_status); }; }; then
28529   ac_cv_lib_m_tan=yes
28530 else
28531   echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28533
28534 ac_cv_lib_m_tan=no
28535 fi
28536 rm -f conftest.err conftest.$ac_objext \
28537       conftest$ac_exeext conftest.$ac_ext
28538 LIBS=$ac_check_lib_save_LIBS
28539 fi
28540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28541 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28542 if test $ac_cv_lib_m_tan = yes; then
28543
28544 cat >>confdefs.h <<\_ACEOF
28545 #define HAVE_TAN 1
28546 _ACEOF
28547
28548 fi
28549
28550 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28551 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28552 if test "${ac_cv_lib_m_tanl+set}" = set; then
28553   echo $ECHO_N "(cached) $ECHO_C" >&6
28554 else
28555   ac_check_lib_save_LIBS=$LIBS
28556 LIBS="-lm  $LIBS"
28557 if test x$gcc_no_link = xyes; then
28558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28560    { (exit 1); exit 1; }; }
28561 fi
28562 cat >conftest.$ac_ext <<_ACEOF
28563 /* confdefs.h.  */
28564 _ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h.  */
28568
28569 /* Override any gcc2 internal prototype to avoid an error.  */
28570 #ifdef __cplusplus
28571 extern "C"
28572 #endif
28573 /* We use char because int might match the return type of a gcc2
28574    builtin and then its argument prototype would still apply.  */
28575 char tanl ();
28576 int
28577 main ()
28578 {
28579 tanl ();
28580   ;
28581   return 0;
28582 }
28583 _ACEOF
28584 rm -f conftest.$ac_objext conftest$ac_exeext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28586   (eval $ac_link) 2>conftest.er1
28587   ac_status=$?
28588   grep -v '^ *+' conftest.er1 >conftest.err
28589   rm -f conftest.er1
28590   cat conftest.err >&5
28591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592   (exit $ac_status); } &&
28593          { ac_try='test -z "$ac_c_werror_flag"
28594                          || test ! -s conftest.err'
28595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596   (eval $ac_try) 2>&5
28597   ac_status=$?
28598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599   (exit $ac_status); }; } &&
28600          { ac_try='test -s conftest$ac_exeext'
28601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602   (eval $ac_try) 2>&5
28603   ac_status=$?
28604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605   (exit $ac_status); }; }; then
28606   ac_cv_lib_m_tanl=yes
28607 else
28608   echo "$as_me: failed program was:" >&5
28609 sed 's/^/| /' conftest.$ac_ext >&5
28610
28611 ac_cv_lib_m_tanl=no
28612 fi
28613 rm -f conftest.err conftest.$ac_objext \
28614       conftest$ac_exeext conftest.$ac_ext
28615 LIBS=$ac_check_lib_save_LIBS
28616 fi
28617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28618 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28619 if test $ac_cv_lib_m_tanl = yes; then
28620
28621 cat >>confdefs.h <<\_ACEOF
28622 #define HAVE_TANL 1
28623 _ACEOF
28624
28625 fi
28626
28627 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28628 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28629 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28630   echo $ECHO_N "(cached) $ECHO_C" >&6
28631 else
28632   ac_check_lib_save_LIBS=$LIBS
28633 LIBS="-lm  $LIBS"
28634 if test x$gcc_no_link = xyes; then
28635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28637    { (exit 1); exit 1; }; }
28638 fi
28639 cat >conftest.$ac_ext <<_ACEOF
28640 /* confdefs.h.  */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h.  */
28645
28646 /* Override any gcc2 internal prototype to avoid an error.  */
28647 #ifdef __cplusplus
28648 extern "C"
28649 #endif
28650 /* We use char because int might match the return type of a gcc2
28651    builtin and then its argument prototype would still apply.  */
28652 char ctanf ();
28653 int
28654 main ()
28655 {
28656 ctanf ();
28657   ;
28658   return 0;
28659 }
28660 _ACEOF
28661 rm -f conftest.$ac_objext conftest$ac_exeext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28663   (eval $ac_link) 2>conftest.er1
28664   ac_status=$?
28665   grep -v '^ *+' conftest.er1 >conftest.err
28666   rm -f conftest.er1
28667   cat conftest.err >&5
28668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669   (exit $ac_status); } &&
28670          { ac_try='test -z "$ac_c_werror_flag"
28671                          || test ! -s conftest.err'
28672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673   (eval $ac_try) 2>&5
28674   ac_status=$?
28675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676   (exit $ac_status); }; } &&
28677          { ac_try='test -s conftest$ac_exeext'
28678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679   (eval $ac_try) 2>&5
28680   ac_status=$?
28681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682   (exit $ac_status); }; }; then
28683   ac_cv_lib_m_ctanf=yes
28684 else
28685   echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28687
28688 ac_cv_lib_m_ctanf=no
28689 fi
28690 rm -f conftest.err conftest.$ac_objext \
28691       conftest$ac_exeext conftest.$ac_ext
28692 LIBS=$ac_check_lib_save_LIBS
28693 fi
28694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28695 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28696 if test $ac_cv_lib_m_ctanf = yes; then
28697
28698 cat >>confdefs.h <<\_ACEOF
28699 #define HAVE_CTANF 1
28700 _ACEOF
28701
28702 fi
28703
28704 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28705 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28706 if test "${ac_cv_lib_m_ctan+set}" = set; then
28707   echo $ECHO_N "(cached) $ECHO_C" >&6
28708 else
28709   ac_check_lib_save_LIBS=$LIBS
28710 LIBS="-lm  $LIBS"
28711 if test x$gcc_no_link = xyes; then
28712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28714    { (exit 1); exit 1; }; }
28715 fi
28716 cat >conftest.$ac_ext <<_ACEOF
28717 /* confdefs.h.  */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h.  */
28722
28723 /* Override any gcc2 internal prototype to avoid an error.  */
28724 #ifdef __cplusplus
28725 extern "C"
28726 #endif
28727 /* We use char because int might match the return type of a gcc2
28728    builtin and then its argument prototype would still apply.  */
28729 char ctan ();
28730 int
28731 main ()
28732 {
28733 ctan ();
28734   ;
28735   return 0;
28736 }
28737 _ACEOF
28738 rm -f conftest.$ac_objext conftest$ac_exeext
28739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28740   (eval $ac_link) 2>conftest.er1
28741   ac_status=$?
28742   grep -v '^ *+' conftest.er1 >conftest.err
28743   rm -f conftest.er1
28744   cat conftest.err >&5
28745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746   (exit $ac_status); } &&
28747          { ac_try='test -z "$ac_c_werror_flag"
28748                          || test ! -s conftest.err'
28749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750   (eval $ac_try) 2>&5
28751   ac_status=$?
28752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753   (exit $ac_status); }; } &&
28754          { ac_try='test -s conftest$ac_exeext'
28755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756   (eval $ac_try) 2>&5
28757   ac_status=$?
28758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759   (exit $ac_status); }; }; then
28760   ac_cv_lib_m_ctan=yes
28761 else
28762   echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28764
28765 ac_cv_lib_m_ctan=no
28766 fi
28767 rm -f conftest.err conftest.$ac_objext \
28768       conftest$ac_exeext conftest.$ac_ext
28769 LIBS=$ac_check_lib_save_LIBS
28770 fi
28771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28772 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28773 if test $ac_cv_lib_m_ctan = yes; then
28774
28775 cat >>confdefs.h <<\_ACEOF
28776 #define HAVE_CTAN 1
28777 _ACEOF
28778
28779 fi
28780
28781 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28782 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28783 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28784   echo $ECHO_N "(cached) $ECHO_C" >&6
28785 else
28786   ac_check_lib_save_LIBS=$LIBS
28787 LIBS="-lm  $LIBS"
28788 if test x$gcc_no_link = xyes; then
28789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28791    { (exit 1); exit 1; }; }
28792 fi
28793 cat >conftest.$ac_ext <<_ACEOF
28794 /* confdefs.h.  */
28795 _ACEOF
28796 cat confdefs.h >>conftest.$ac_ext
28797 cat >>conftest.$ac_ext <<_ACEOF
28798 /* end confdefs.h.  */
28799
28800 /* Override any gcc2 internal prototype to avoid an error.  */
28801 #ifdef __cplusplus
28802 extern "C"
28803 #endif
28804 /* We use char because int might match the return type of a gcc2
28805    builtin and then its argument prototype would still apply.  */
28806 char ctanl ();
28807 int
28808 main ()
28809 {
28810 ctanl ();
28811   ;
28812   return 0;
28813 }
28814 _ACEOF
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28817   (eval $ac_link) 2>conftest.er1
28818   ac_status=$?
28819   grep -v '^ *+' conftest.er1 >conftest.err
28820   rm -f conftest.er1
28821   cat conftest.err >&5
28822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823   (exit $ac_status); } &&
28824          { ac_try='test -z "$ac_c_werror_flag"
28825                          || test ! -s conftest.err'
28826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827   (eval $ac_try) 2>&5
28828   ac_status=$?
28829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830   (exit $ac_status); }; } &&
28831          { ac_try='test -s conftest$ac_exeext'
28832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833   (eval $ac_try) 2>&5
28834   ac_status=$?
28835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836   (exit $ac_status); }; }; then
28837   ac_cv_lib_m_ctanl=yes
28838 else
28839   echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28841
28842 ac_cv_lib_m_ctanl=no
28843 fi
28844 rm -f conftest.err conftest.$ac_objext \
28845       conftest$ac_exeext conftest.$ac_ext
28846 LIBS=$ac_check_lib_save_LIBS
28847 fi
28848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28849 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28850 if test $ac_cv_lib_m_ctanl = yes; then
28851
28852 cat >>confdefs.h <<\_ACEOF
28853 #define HAVE_CTANL 1
28854 _ACEOF
28855
28856 fi
28857
28858 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28859 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28860 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28861   echo $ECHO_N "(cached) $ECHO_C" >&6
28862 else
28863   ac_check_lib_save_LIBS=$LIBS
28864 LIBS="-lm  $LIBS"
28865 if test x$gcc_no_link = xyes; then
28866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28868    { (exit 1); exit 1; }; }
28869 fi
28870 cat >conftest.$ac_ext <<_ACEOF
28871 /* confdefs.h.  */
28872 _ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h.  */
28876
28877 /* Override any gcc2 internal prototype to avoid an error.  */
28878 #ifdef __cplusplus
28879 extern "C"
28880 #endif
28881 /* We use char because int might match the return type of a gcc2
28882    builtin and then its argument prototype would still apply.  */
28883 char tanhf ();
28884 int
28885 main ()
28886 {
28887 tanhf ();
28888   ;
28889   return 0;
28890 }
28891 _ACEOF
28892 rm -f conftest.$ac_objext conftest$ac_exeext
28893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28894   (eval $ac_link) 2>conftest.er1
28895   ac_status=$?
28896   grep -v '^ *+' conftest.er1 >conftest.err
28897   rm -f conftest.er1
28898   cat conftest.err >&5
28899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900   (exit $ac_status); } &&
28901          { ac_try='test -z "$ac_c_werror_flag"
28902                          || test ! -s conftest.err'
28903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28904   (eval $ac_try) 2>&5
28905   ac_status=$?
28906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907   (exit $ac_status); }; } &&
28908          { ac_try='test -s conftest$ac_exeext'
28909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910   (eval $ac_try) 2>&5
28911   ac_status=$?
28912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913   (exit $ac_status); }; }; then
28914   ac_cv_lib_m_tanhf=yes
28915 else
28916   echo "$as_me: failed program was:" >&5
28917 sed 's/^/| /' conftest.$ac_ext >&5
28918
28919 ac_cv_lib_m_tanhf=no
28920 fi
28921 rm -f conftest.err conftest.$ac_objext \
28922       conftest$ac_exeext conftest.$ac_ext
28923 LIBS=$ac_check_lib_save_LIBS
28924 fi
28925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28926 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28927 if test $ac_cv_lib_m_tanhf = yes; then
28928
28929 cat >>confdefs.h <<\_ACEOF
28930 #define HAVE_TANHF 1
28931 _ACEOF
28932
28933 fi
28934
28935 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28936 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28937 if test "${ac_cv_lib_m_tanh+set}" = set; then
28938   echo $ECHO_N "(cached) $ECHO_C" >&6
28939 else
28940   ac_check_lib_save_LIBS=$LIBS
28941 LIBS="-lm  $LIBS"
28942 if test x$gcc_no_link = xyes; then
28943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28945    { (exit 1); exit 1; }; }
28946 fi
28947 cat >conftest.$ac_ext <<_ACEOF
28948 /* confdefs.h.  */
28949 _ACEOF
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h.  */
28953
28954 /* Override any gcc2 internal prototype to avoid an error.  */
28955 #ifdef __cplusplus
28956 extern "C"
28957 #endif
28958 /* We use char because int might match the return type of a gcc2
28959    builtin and then its argument prototype would still apply.  */
28960 char tanh ();
28961 int
28962 main ()
28963 {
28964 tanh ();
28965   ;
28966   return 0;
28967 }
28968 _ACEOF
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28971   (eval $ac_link) 2>conftest.er1
28972   ac_status=$?
28973   grep -v '^ *+' conftest.er1 >conftest.err
28974   rm -f conftest.er1
28975   cat conftest.err >&5
28976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977   (exit $ac_status); } &&
28978          { ac_try='test -z "$ac_c_werror_flag"
28979                          || test ! -s conftest.err'
28980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981   (eval $ac_try) 2>&5
28982   ac_status=$?
28983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984   (exit $ac_status); }; } &&
28985          { ac_try='test -s conftest$ac_exeext'
28986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987   (eval $ac_try) 2>&5
28988   ac_status=$?
28989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990   (exit $ac_status); }; }; then
28991   ac_cv_lib_m_tanh=yes
28992 else
28993   echo "$as_me: failed program was:" >&5
28994 sed 's/^/| /' conftest.$ac_ext >&5
28995
28996 ac_cv_lib_m_tanh=no
28997 fi
28998 rm -f conftest.err conftest.$ac_objext \
28999       conftest$ac_exeext conftest.$ac_ext
29000 LIBS=$ac_check_lib_save_LIBS
29001 fi
29002 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29003 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29004 if test $ac_cv_lib_m_tanh = yes; then
29005
29006 cat >>confdefs.h <<\_ACEOF
29007 #define HAVE_TANH 1
29008 _ACEOF
29009
29010 fi
29011
29012 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29013 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29014 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29015   echo $ECHO_N "(cached) $ECHO_C" >&6
29016 else
29017   ac_check_lib_save_LIBS=$LIBS
29018 LIBS="-lm  $LIBS"
29019 if test x$gcc_no_link = xyes; then
29020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29022    { (exit 1); exit 1; }; }
29023 fi
29024 cat >conftest.$ac_ext <<_ACEOF
29025 /* confdefs.h.  */
29026 _ACEOF
29027 cat confdefs.h >>conftest.$ac_ext
29028 cat >>conftest.$ac_ext <<_ACEOF
29029 /* end confdefs.h.  */
29030
29031 /* Override any gcc2 internal prototype to avoid an error.  */
29032 #ifdef __cplusplus
29033 extern "C"
29034 #endif
29035 /* We use char because int might match the return type of a gcc2
29036    builtin and then its argument prototype would still apply.  */
29037 char tanhl ();
29038 int
29039 main ()
29040 {
29041 tanhl ();
29042   ;
29043   return 0;
29044 }
29045 _ACEOF
29046 rm -f conftest.$ac_objext conftest$ac_exeext
29047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29048   (eval $ac_link) 2>conftest.er1
29049   ac_status=$?
29050   grep -v '^ *+' conftest.er1 >conftest.err
29051   rm -f conftest.er1
29052   cat conftest.err >&5
29053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054   (exit $ac_status); } &&
29055          { ac_try='test -z "$ac_c_werror_flag"
29056                          || test ! -s conftest.err'
29057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29058   (eval $ac_try) 2>&5
29059   ac_status=$?
29060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061   (exit $ac_status); }; } &&
29062          { ac_try='test -s conftest$ac_exeext'
29063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29064   (eval $ac_try) 2>&5
29065   ac_status=$?
29066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067   (exit $ac_status); }; }; then
29068   ac_cv_lib_m_tanhl=yes
29069 else
29070   echo "$as_me: failed program was:" >&5
29071 sed 's/^/| /' conftest.$ac_ext >&5
29072
29073 ac_cv_lib_m_tanhl=no
29074 fi
29075 rm -f conftest.err conftest.$ac_objext \
29076       conftest$ac_exeext conftest.$ac_ext
29077 LIBS=$ac_check_lib_save_LIBS
29078 fi
29079 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29080 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29081 if test $ac_cv_lib_m_tanhl = yes; then
29082
29083 cat >>confdefs.h <<\_ACEOF
29084 #define HAVE_TANHL 1
29085 _ACEOF
29086
29087 fi
29088
29089 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29090 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29091 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29092   echo $ECHO_N "(cached) $ECHO_C" >&6
29093 else
29094   ac_check_lib_save_LIBS=$LIBS
29095 LIBS="-lm  $LIBS"
29096 if test x$gcc_no_link = xyes; then
29097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29099    { (exit 1); exit 1; }; }
29100 fi
29101 cat >conftest.$ac_ext <<_ACEOF
29102 /* confdefs.h.  */
29103 _ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h.  */
29107
29108 /* Override any gcc2 internal prototype to avoid an error.  */
29109 #ifdef __cplusplus
29110 extern "C"
29111 #endif
29112 /* We use char because int might match the return type of a gcc2
29113    builtin and then its argument prototype would still apply.  */
29114 char ctanhf ();
29115 int
29116 main ()
29117 {
29118 ctanhf ();
29119   ;
29120   return 0;
29121 }
29122 _ACEOF
29123 rm -f conftest.$ac_objext conftest$ac_exeext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29125   (eval $ac_link) 2>conftest.er1
29126   ac_status=$?
29127   grep -v '^ *+' conftest.er1 >conftest.err
29128   rm -f conftest.er1
29129   cat conftest.err >&5
29130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131   (exit $ac_status); } &&
29132          { ac_try='test -z "$ac_c_werror_flag"
29133                          || test ! -s conftest.err'
29134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135   (eval $ac_try) 2>&5
29136   ac_status=$?
29137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138   (exit $ac_status); }; } &&
29139          { ac_try='test -s conftest$ac_exeext'
29140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141   (eval $ac_try) 2>&5
29142   ac_status=$?
29143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144   (exit $ac_status); }; }; then
29145   ac_cv_lib_m_ctanhf=yes
29146 else
29147   echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29149
29150 ac_cv_lib_m_ctanhf=no
29151 fi
29152 rm -f conftest.err conftest.$ac_objext \
29153       conftest$ac_exeext conftest.$ac_ext
29154 LIBS=$ac_check_lib_save_LIBS
29155 fi
29156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29157 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29158 if test $ac_cv_lib_m_ctanhf = yes; then
29159
29160 cat >>confdefs.h <<\_ACEOF
29161 #define HAVE_CTANHF 1
29162 _ACEOF
29163
29164 fi
29165
29166 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29167 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29168 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29169   echo $ECHO_N "(cached) $ECHO_C" >&6
29170 else
29171   ac_check_lib_save_LIBS=$LIBS
29172 LIBS="-lm  $LIBS"
29173 if test x$gcc_no_link = xyes; then
29174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29176    { (exit 1); exit 1; }; }
29177 fi
29178 cat >conftest.$ac_ext <<_ACEOF
29179 /* confdefs.h.  */
29180 _ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h.  */
29184
29185 /* Override any gcc2 internal prototype to avoid an error.  */
29186 #ifdef __cplusplus
29187 extern "C"
29188 #endif
29189 /* We use char because int might match the return type of a gcc2
29190    builtin and then its argument prototype would still apply.  */
29191 char ctanh ();
29192 int
29193 main ()
29194 {
29195 ctanh ();
29196   ;
29197   return 0;
29198 }
29199 _ACEOF
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29202   (eval $ac_link) 2>conftest.er1
29203   ac_status=$?
29204   grep -v '^ *+' conftest.er1 >conftest.err
29205   rm -f conftest.er1
29206   cat conftest.err >&5
29207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208   (exit $ac_status); } &&
29209          { ac_try='test -z "$ac_c_werror_flag"
29210                          || test ! -s conftest.err'
29211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212   (eval $ac_try) 2>&5
29213   ac_status=$?
29214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215   (exit $ac_status); }; } &&
29216          { ac_try='test -s conftest$ac_exeext'
29217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218   (eval $ac_try) 2>&5
29219   ac_status=$?
29220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221   (exit $ac_status); }; }; then
29222   ac_cv_lib_m_ctanh=yes
29223 else
29224   echo "$as_me: failed program was:" >&5
29225 sed 's/^/| /' conftest.$ac_ext >&5
29226
29227 ac_cv_lib_m_ctanh=no
29228 fi
29229 rm -f conftest.err conftest.$ac_objext \
29230       conftest$ac_exeext conftest.$ac_ext
29231 LIBS=$ac_check_lib_save_LIBS
29232 fi
29233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29234 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29235 if test $ac_cv_lib_m_ctanh = yes; then
29236
29237 cat >>confdefs.h <<\_ACEOF
29238 #define HAVE_CTANH 1
29239 _ACEOF
29240
29241 fi
29242
29243 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29244 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29245 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29246   echo $ECHO_N "(cached) $ECHO_C" >&6
29247 else
29248   ac_check_lib_save_LIBS=$LIBS
29249 LIBS="-lm  $LIBS"
29250 if test x$gcc_no_link = xyes; then
29251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29253    { (exit 1); exit 1; }; }
29254 fi
29255 cat >conftest.$ac_ext <<_ACEOF
29256 /* confdefs.h.  */
29257 _ACEOF
29258 cat confdefs.h >>conftest.$ac_ext
29259 cat >>conftest.$ac_ext <<_ACEOF
29260 /* end confdefs.h.  */
29261
29262 /* Override any gcc2 internal prototype to avoid an error.  */
29263 #ifdef __cplusplus
29264 extern "C"
29265 #endif
29266 /* We use char because int might match the return type of a gcc2
29267    builtin and then its argument prototype would still apply.  */
29268 char ctanhl ();
29269 int
29270 main ()
29271 {
29272 ctanhl ();
29273   ;
29274   return 0;
29275 }
29276 _ACEOF
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279   (eval $ac_link) 2>conftest.er1
29280   ac_status=$?
29281   grep -v '^ *+' conftest.er1 >conftest.err
29282   rm -f conftest.er1
29283   cat conftest.err >&5
29284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285   (exit $ac_status); } &&
29286          { ac_try='test -z "$ac_c_werror_flag"
29287                          || test ! -s conftest.err'
29288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289   (eval $ac_try) 2>&5
29290   ac_status=$?
29291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292   (exit $ac_status); }; } &&
29293          { ac_try='test -s conftest$ac_exeext'
29294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295   (eval $ac_try) 2>&5
29296   ac_status=$?
29297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298   (exit $ac_status); }; }; then
29299   ac_cv_lib_m_ctanhl=yes
29300 else
29301   echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29303
29304 ac_cv_lib_m_ctanhl=no
29305 fi
29306 rm -f conftest.err conftest.$ac_objext \
29307       conftest$ac_exeext conftest.$ac_ext
29308 LIBS=$ac_check_lib_save_LIBS
29309 fi
29310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29311 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29312 if test $ac_cv_lib_m_ctanhl = yes; then
29313
29314 cat >>confdefs.h <<\_ACEOF
29315 #define HAVE_CTANHL 1
29316 _ACEOF
29317
29318 fi
29319
29320 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29321 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29322 if test "${ac_cv_lib_m_truncf+set}" = set; then
29323   echo $ECHO_N "(cached) $ECHO_C" >&6
29324 else
29325   ac_check_lib_save_LIBS=$LIBS
29326 LIBS="-lm  $LIBS"
29327 if test x$gcc_no_link = xyes; then
29328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29330    { (exit 1); exit 1; }; }
29331 fi
29332 cat >conftest.$ac_ext <<_ACEOF
29333 /* confdefs.h.  */
29334 _ACEOF
29335 cat confdefs.h >>conftest.$ac_ext
29336 cat >>conftest.$ac_ext <<_ACEOF
29337 /* end confdefs.h.  */
29338
29339 /* Override any gcc2 internal prototype to avoid an error.  */
29340 #ifdef __cplusplus
29341 extern "C"
29342 #endif
29343 /* We use char because int might match the return type of a gcc2
29344    builtin and then its argument prototype would still apply.  */
29345 char truncf ();
29346 int
29347 main ()
29348 {
29349 truncf ();
29350   ;
29351   return 0;
29352 }
29353 _ACEOF
29354 rm -f conftest.$ac_objext conftest$ac_exeext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29356   (eval $ac_link) 2>conftest.er1
29357   ac_status=$?
29358   grep -v '^ *+' conftest.er1 >conftest.err
29359   rm -f conftest.er1
29360   cat conftest.err >&5
29361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362   (exit $ac_status); } &&
29363          { ac_try='test -z "$ac_c_werror_flag"
29364                          || test ! -s conftest.err'
29365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366   (eval $ac_try) 2>&5
29367   ac_status=$?
29368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369   (exit $ac_status); }; } &&
29370          { ac_try='test -s conftest$ac_exeext'
29371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372   (eval $ac_try) 2>&5
29373   ac_status=$?
29374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375   (exit $ac_status); }; }; then
29376   ac_cv_lib_m_truncf=yes
29377 else
29378   echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.$ac_ext >&5
29380
29381 ac_cv_lib_m_truncf=no
29382 fi
29383 rm -f conftest.err conftest.$ac_objext \
29384       conftest$ac_exeext conftest.$ac_ext
29385 LIBS=$ac_check_lib_save_LIBS
29386 fi
29387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29388 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29389 if test $ac_cv_lib_m_truncf = yes; then
29390
29391 cat >>confdefs.h <<\_ACEOF
29392 #define HAVE_TRUNCF 1
29393 _ACEOF
29394
29395 fi
29396
29397 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29398 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29399 if test "${ac_cv_lib_m_trunc+set}" = set; then
29400   echo $ECHO_N "(cached) $ECHO_C" >&6
29401 else
29402   ac_check_lib_save_LIBS=$LIBS
29403 LIBS="-lm  $LIBS"
29404 if test x$gcc_no_link = xyes; then
29405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29407    { (exit 1); exit 1; }; }
29408 fi
29409 cat >conftest.$ac_ext <<_ACEOF
29410 /* confdefs.h.  */
29411 _ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h.  */
29415
29416 /* Override any gcc2 internal prototype to avoid an error.  */
29417 #ifdef __cplusplus
29418 extern "C"
29419 #endif
29420 /* We use char because int might match the return type of a gcc2
29421    builtin and then its argument prototype would still apply.  */
29422 char trunc ();
29423 int
29424 main ()
29425 {
29426 trunc ();
29427   ;
29428   return 0;
29429 }
29430 _ACEOF
29431 rm -f conftest.$ac_objext conftest$ac_exeext
29432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433   (eval $ac_link) 2>conftest.er1
29434   ac_status=$?
29435   grep -v '^ *+' conftest.er1 >conftest.err
29436   rm -f conftest.er1
29437   cat conftest.err >&5
29438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439   (exit $ac_status); } &&
29440          { ac_try='test -z "$ac_c_werror_flag"
29441                          || test ! -s conftest.err'
29442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29443   (eval $ac_try) 2>&5
29444   ac_status=$?
29445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446   (exit $ac_status); }; } &&
29447          { ac_try='test -s conftest$ac_exeext'
29448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449   (eval $ac_try) 2>&5
29450   ac_status=$?
29451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452   (exit $ac_status); }; }; then
29453   ac_cv_lib_m_trunc=yes
29454 else
29455   echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29457
29458 ac_cv_lib_m_trunc=no
29459 fi
29460 rm -f conftest.err conftest.$ac_objext \
29461       conftest$ac_exeext conftest.$ac_ext
29462 LIBS=$ac_check_lib_save_LIBS
29463 fi
29464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29465 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29466 if test $ac_cv_lib_m_trunc = yes; then
29467
29468 cat >>confdefs.h <<\_ACEOF
29469 #define HAVE_TRUNC 1
29470 _ACEOF
29471
29472 fi
29473
29474 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29475 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29476 if test "${ac_cv_lib_m_truncl+set}" = set; then
29477   echo $ECHO_N "(cached) $ECHO_C" >&6
29478 else
29479   ac_check_lib_save_LIBS=$LIBS
29480 LIBS="-lm  $LIBS"
29481 if test x$gcc_no_link = xyes; then
29482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29484    { (exit 1); exit 1; }; }
29485 fi
29486 cat >conftest.$ac_ext <<_ACEOF
29487 /* confdefs.h.  */
29488 _ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h.  */
29492
29493 /* Override any gcc2 internal prototype to avoid an error.  */
29494 #ifdef __cplusplus
29495 extern "C"
29496 #endif
29497 /* We use char because int might match the return type of a gcc2
29498    builtin and then its argument prototype would still apply.  */
29499 char truncl ();
29500 int
29501 main ()
29502 {
29503 truncl ();
29504   ;
29505   return 0;
29506 }
29507 _ACEOF
29508 rm -f conftest.$ac_objext conftest$ac_exeext
29509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29510   (eval $ac_link) 2>conftest.er1
29511   ac_status=$?
29512   grep -v '^ *+' conftest.er1 >conftest.err
29513   rm -f conftest.er1
29514   cat conftest.err >&5
29515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516   (exit $ac_status); } &&
29517          { ac_try='test -z "$ac_c_werror_flag"
29518                          || test ! -s conftest.err'
29519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520   (eval $ac_try) 2>&5
29521   ac_status=$?
29522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523   (exit $ac_status); }; } &&
29524          { ac_try='test -s conftest$ac_exeext'
29525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526   (eval $ac_try) 2>&5
29527   ac_status=$?
29528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529   (exit $ac_status); }; }; then
29530   ac_cv_lib_m_truncl=yes
29531 else
29532   echo "$as_me: failed program was:" >&5
29533 sed 's/^/| /' conftest.$ac_ext >&5
29534
29535 ac_cv_lib_m_truncl=no
29536 fi
29537 rm -f conftest.err conftest.$ac_objext \
29538       conftest$ac_exeext conftest.$ac_ext
29539 LIBS=$ac_check_lib_save_LIBS
29540 fi
29541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29542 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29543 if test $ac_cv_lib_m_truncl = yes; then
29544
29545 cat >>confdefs.h <<\_ACEOF
29546 #define HAVE_TRUNCL 1
29547 _ACEOF
29548
29549 fi
29550
29551 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29552 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29553 if test "${ac_cv_lib_m_erff+set}" = set; then
29554   echo $ECHO_N "(cached) $ECHO_C" >&6
29555 else
29556   ac_check_lib_save_LIBS=$LIBS
29557 LIBS="-lm  $LIBS"
29558 if test x$gcc_no_link = xyes; then
29559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29561    { (exit 1); exit 1; }; }
29562 fi
29563 cat >conftest.$ac_ext <<_ACEOF
29564 /* confdefs.h.  */
29565 _ACEOF
29566 cat confdefs.h >>conftest.$ac_ext
29567 cat >>conftest.$ac_ext <<_ACEOF
29568 /* end confdefs.h.  */
29569
29570 /* Override any gcc2 internal prototype to avoid an error.  */
29571 #ifdef __cplusplus
29572 extern "C"
29573 #endif
29574 /* We use char because int might match the return type of a gcc2
29575    builtin and then its argument prototype would still apply.  */
29576 char erff ();
29577 int
29578 main ()
29579 {
29580 erff ();
29581   ;
29582   return 0;
29583 }
29584 _ACEOF
29585 rm -f conftest.$ac_objext conftest$ac_exeext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29587   (eval $ac_link) 2>conftest.er1
29588   ac_status=$?
29589   grep -v '^ *+' conftest.er1 >conftest.err
29590   rm -f conftest.er1
29591   cat conftest.err >&5
29592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593   (exit $ac_status); } &&
29594          { ac_try='test -z "$ac_c_werror_flag"
29595                          || test ! -s conftest.err'
29596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597   (eval $ac_try) 2>&5
29598   ac_status=$?
29599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600   (exit $ac_status); }; } &&
29601          { ac_try='test -s conftest$ac_exeext'
29602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603   (eval $ac_try) 2>&5
29604   ac_status=$?
29605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606   (exit $ac_status); }; }; then
29607   ac_cv_lib_m_erff=yes
29608 else
29609   echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29611
29612 ac_cv_lib_m_erff=no
29613 fi
29614 rm -f conftest.err conftest.$ac_objext \
29615       conftest$ac_exeext conftest.$ac_ext
29616 LIBS=$ac_check_lib_save_LIBS
29617 fi
29618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29619 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29620 if test $ac_cv_lib_m_erff = yes; then
29621
29622 cat >>confdefs.h <<\_ACEOF
29623 #define HAVE_ERFF 1
29624 _ACEOF
29625
29626 fi
29627
29628 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29629 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29630 if test "${ac_cv_lib_m_erf+set}" = set; then
29631   echo $ECHO_N "(cached) $ECHO_C" >&6
29632 else
29633   ac_check_lib_save_LIBS=$LIBS
29634 LIBS="-lm  $LIBS"
29635 if test x$gcc_no_link = xyes; then
29636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29638    { (exit 1); exit 1; }; }
29639 fi
29640 cat >conftest.$ac_ext <<_ACEOF
29641 /* confdefs.h.  */
29642 _ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h.  */
29646
29647 /* Override any gcc2 internal prototype to avoid an error.  */
29648 #ifdef __cplusplus
29649 extern "C"
29650 #endif
29651 /* We use char because int might match the return type of a gcc2
29652    builtin and then its argument prototype would still apply.  */
29653 char erf ();
29654 int
29655 main ()
29656 {
29657 erf ();
29658   ;
29659   return 0;
29660 }
29661 _ACEOF
29662 rm -f conftest.$ac_objext conftest$ac_exeext
29663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29664   (eval $ac_link) 2>conftest.er1
29665   ac_status=$?
29666   grep -v '^ *+' conftest.er1 >conftest.err
29667   rm -f conftest.er1
29668   cat conftest.err >&5
29669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670   (exit $ac_status); } &&
29671          { ac_try='test -z "$ac_c_werror_flag"
29672                          || test ! -s conftest.err'
29673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29674   (eval $ac_try) 2>&5
29675   ac_status=$?
29676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677   (exit $ac_status); }; } &&
29678          { ac_try='test -s conftest$ac_exeext'
29679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680   (eval $ac_try) 2>&5
29681   ac_status=$?
29682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683   (exit $ac_status); }; }; then
29684   ac_cv_lib_m_erf=yes
29685 else
29686   echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.$ac_ext >&5
29688
29689 ac_cv_lib_m_erf=no
29690 fi
29691 rm -f conftest.err conftest.$ac_objext \
29692       conftest$ac_exeext conftest.$ac_ext
29693 LIBS=$ac_check_lib_save_LIBS
29694 fi
29695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29696 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29697 if test $ac_cv_lib_m_erf = yes; then
29698
29699 cat >>confdefs.h <<\_ACEOF
29700 #define HAVE_ERF 1
29701 _ACEOF
29702
29703 fi
29704
29705 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29706 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29707 if test "${ac_cv_lib_m_erfl+set}" = set; then
29708   echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710   ac_check_lib_save_LIBS=$LIBS
29711 LIBS="-lm  $LIBS"
29712 if test x$gcc_no_link = xyes; then
29713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29715    { (exit 1); exit 1; }; }
29716 fi
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h.  */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h.  */
29723
29724 /* Override any gcc2 internal prototype to avoid an error.  */
29725 #ifdef __cplusplus
29726 extern "C"
29727 #endif
29728 /* We use char because int might match the return type of a gcc2
29729    builtin and then its argument prototype would still apply.  */
29730 char erfl ();
29731 int
29732 main ()
29733 {
29734 erfl ();
29735   ;
29736   return 0;
29737 }
29738 _ACEOF
29739 rm -f conftest.$ac_objext conftest$ac_exeext
29740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29741   (eval $ac_link) 2>conftest.er1
29742   ac_status=$?
29743   grep -v '^ *+' conftest.er1 >conftest.err
29744   rm -f conftest.er1
29745   cat conftest.err >&5
29746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747   (exit $ac_status); } &&
29748          { ac_try='test -z "$ac_c_werror_flag"
29749                          || test ! -s conftest.err'
29750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751   (eval $ac_try) 2>&5
29752   ac_status=$?
29753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754   (exit $ac_status); }; } &&
29755          { ac_try='test -s conftest$ac_exeext'
29756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29757   (eval $ac_try) 2>&5
29758   ac_status=$?
29759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760   (exit $ac_status); }; }; then
29761   ac_cv_lib_m_erfl=yes
29762 else
29763   echo "$as_me: failed program was:" >&5
29764 sed 's/^/| /' conftest.$ac_ext >&5
29765
29766 ac_cv_lib_m_erfl=no
29767 fi
29768 rm -f conftest.err conftest.$ac_objext \
29769       conftest$ac_exeext conftest.$ac_ext
29770 LIBS=$ac_check_lib_save_LIBS
29771 fi
29772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29773 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29774 if test $ac_cv_lib_m_erfl = yes; then
29775
29776 cat >>confdefs.h <<\_ACEOF
29777 #define HAVE_ERFL 1
29778 _ACEOF
29779
29780 fi
29781
29782 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29783 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29784 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29785   echo $ECHO_N "(cached) $ECHO_C" >&6
29786 else
29787   ac_check_lib_save_LIBS=$LIBS
29788 LIBS="-lm  $LIBS"
29789 if test x$gcc_no_link = xyes; then
29790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29792    { (exit 1); exit 1; }; }
29793 fi
29794 cat >conftest.$ac_ext <<_ACEOF
29795 /* confdefs.h.  */
29796 _ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h.  */
29800
29801 /* Override any gcc2 internal prototype to avoid an error.  */
29802 #ifdef __cplusplus
29803 extern "C"
29804 #endif
29805 /* We use char because int might match the return type of a gcc2
29806    builtin and then its argument prototype would still apply.  */
29807 char erfcf ();
29808 int
29809 main ()
29810 {
29811 erfcf ();
29812   ;
29813   return 0;
29814 }
29815 _ACEOF
29816 rm -f conftest.$ac_objext conftest$ac_exeext
29817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29818   (eval $ac_link) 2>conftest.er1
29819   ac_status=$?
29820   grep -v '^ *+' conftest.er1 >conftest.err
29821   rm -f conftest.er1
29822   cat conftest.err >&5
29823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824   (exit $ac_status); } &&
29825          { ac_try='test -z "$ac_c_werror_flag"
29826                          || test ! -s conftest.err'
29827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828   (eval $ac_try) 2>&5
29829   ac_status=$?
29830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831   (exit $ac_status); }; } &&
29832          { ac_try='test -s conftest$ac_exeext'
29833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834   (eval $ac_try) 2>&5
29835   ac_status=$?
29836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837   (exit $ac_status); }; }; then
29838   ac_cv_lib_m_erfcf=yes
29839 else
29840   echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.$ac_ext >&5
29842
29843 ac_cv_lib_m_erfcf=no
29844 fi
29845 rm -f conftest.err conftest.$ac_objext \
29846       conftest$ac_exeext conftest.$ac_ext
29847 LIBS=$ac_check_lib_save_LIBS
29848 fi
29849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29850 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29851 if test $ac_cv_lib_m_erfcf = yes; then
29852
29853 cat >>confdefs.h <<\_ACEOF
29854 #define HAVE_ERFCF 1
29855 _ACEOF
29856
29857 fi
29858
29859 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29860 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29861 if test "${ac_cv_lib_m_erfc+set}" = set; then
29862   echo $ECHO_N "(cached) $ECHO_C" >&6
29863 else
29864   ac_check_lib_save_LIBS=$LIBS
29865 LIBS="-lm  $LIBS"
29866 if test x$gcc_no_link = xyes; then
29867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29869    { (exit 1); exit 1; }; }
29870 fi
29871 cat >conftest.$ac_ext <<_ACEOF
29872 /* confdefs.h.  */
29873 _ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h.  */
29877
29878 /* Override any gcc2 internal prototype to avoid an error.  */
29879 #ifdef __cplusplus
29880 extern "C"
29881 #endif
29882 /* We use char because int might match the return type of a gcc2
29883    builtin and then its argument prototype would still apply.  */
29884 char erfc ();
29885 int
29886 main ()
29887 {
29888 erfc ();
29889   ;
29890   return 0;
29891 }
29892 _ACEOF
29893 rm -f conftest.$ac_objext conftest$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895   (eval $ac_link) 2>conftest.er1
29896   ac_status=$?
29897   grep -v '^ *+' conftest.er1 >conftest.err
29898   rm -f conftest.er1
29899   cat conftest.err >&5
29900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901   (exit $ac_status); } &&
29902          { ac_try='test -z "$ac_c_werror_flag"
29903                          || test ! -s conftest.err'
29904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905   (eval $ac_try) 2>&5
29906   ac_status=$?
29907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908   (exit $ac_status); }; } &&
29909          { ac_try='test -s conftest$ac_exeext'
29910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911   (eval $ac_try) 2>&5
29912   ac_status=$?
29913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914   (exit $ac_status); }; }; then
29915   ac_cv_lib_m_erfc=yes
29916 else
29917   echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.$ac_ext >&5
29919
29920 ac_cv_lib_m_erfc=no
29921 fi
29922 rm -f conftest.err conftest.$ac_objext \
29923       conftest$ac_exeext conftest.$ac_ext
29924 LIBS=$ac_check_lib_save_LIBS
29925 fi
29926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29927 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29928 if test $ac_cv_lib_m_erfc = yes; then
29929
29930 cat >>confdefs.h <<\_ACEOF
29931 #define HAVE_ERFC 1
29932 _ACEOF
29933
29934 fi
29935
29936 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29937 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29938 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29939   echo $ECHO_N "(cached) $ECHO_C" >&6
29940 else
29941   ac_check_lib_save_LIBS=$LIBS
29942 LIBS="-lm  $LIBS"
29943 if test x$gcc_no_link = xyes; then
29944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29946    { (exit 1); exit 1; }; }
29947 fi
29948 cat >conftest.$ac_ext <<_ACEOF
29949 /* confdefs.h.  */
29950 _ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h.  */
29954
29955 /* Override any gcc2 internal prototype to avoid an error.  */
29956 #ifdef __cplusplus
29957 extern "C"
29958 #endif
29959 /* We use char because int might match the return type of a gcc2
29960    builtin and then its argument prototype would still apply.  */
29961 char erfcl ();
29962 int
29963 main ()
29964 {
29965 erfcl ();
29966   ;
29967   return 0;
29968 }
29969 _ACEOF
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29972   (eval $ac_link) 2>conftest.er1
29973   ac_status=$?
29974   grep -v '^ *+' conftest.er1 >conftest.err
29975   rm -f conftest.er1
29976   cat conftest.err >&5
29977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978   (exit $ac_status); } &&
29979          { ac_try='test -z "$ac_c_werror_flag"
29980                          || test ! -s conftest.err'
29981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29982   (eval $ac_try) 2>&5
29983   ac_status=$?
29984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985   (exit $ac_status); }; } &&
29986          { ac_try='test -s conftest$ac_exeext'
29987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988   (eval $ac_try) 2>&5
29989   ac_status=$?
29990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991   (exit $ac_status); }; }; then
29992   ac_cv_lib_m_erfcl=yes
29993 else
29994   echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29996
29997 ac_cv_lib_m_erfcl=no
29998 fi
29999 rm -f conftest.err conftest.$ac_objext \
30000       conftest$ac_exeext conftest.$ac_ext
30001 LIBS=$ac_check_lib_save_LIBS
30002 fi
30003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30004 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30005 if test $ac_cv_lib_m_erfcl = yes; then
30006
30007 cat >>confdefs.h <<\_ACEOF
30008 #define HAVE_ERFCL 1
30009 _ACEOF
30010
30011 fi
30012
30013 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30014 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30015 if test "${ac_cv_lib_m_j0f+set}" = set; then
30016   echo $ECHO_N "(cached) $ECHO_C" >&6
30017 else
30018   ac_check_lib_save_LIBS=$LIBS
30019 LIBS="-lm  $LIBS"
30020 if test x$gcc_no_link = xyes; then
30021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30023    { (exit 1); exit 1; }; }
30024 fi
30025 cat >conftest.$ac_ext <<_ACEOF
30026 /* confdefs.h.  */
30027 _ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h.  */
30031
30032 /* Override any gcc2 internal prototype to avoid an error.  */
30033 #ifdef __cplusplus
30034 extern "C"
30035 #endif
30036 /* We use char because int might match the return type of a gcc2
30037    builtin and then its argument prototype would still apply.  */
30038 char j0f ();
30039 int
30040 main ()
30041 {
30042 j0f ();
30043   ;
30044   return 0;
30045 }
30046 _ACEOF
30047 rm -f conftest.$ac_objext conftest$ac_exeext
30048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30049   (eval $ac_link) 2>conftest.er1
30050   ac_status=$?
30051   grep -v '^ *+' conftest.er1 >conftest.err
30052   rm -f conftest.er1
30053   cat conftest.err >&5
30054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055   (exit $ac_status); } &&
30056          { ac_try='test -z "$ac_c_werror_flag"
30057                          || test ! -s conftest.err'
30058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30059   (eval $ac_try) 2>&5
30060   ac_status=$?
30061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062   (exit $ac_status); }; } &&
30063          { ac_try='test -s conftest$ac_exeext'
30064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30065   (eval $ac_try) 2>&5
30066   ac_status=$?
30067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068   (exit $ac_status); }; }; then
30069   ac_cv_lib_m_j0f=yes
30070 else
30071   echo "$as_me: failed program was:" >&5
30072 sed 's/^/| /' conftest.$ac_ext >&5
30073
30074 ac_cv_lib_m_j0f=no
30075 fi
30076 rm -f conftest.err conftest.$ac_objext \
30077       conftest$ac_exeext conftest.$ac_ext
30078 LIBS=$ac_check_lib_save_LIBS
30079 fi
30080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30081 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30082 if test $ac_cv_lib_m_j0f = yes; then
30083
30084 cat >>confdefs.h <<\_ACEOF
30085 #define HAVE_J0F 1
30086 _ACEOF
30087
30088 fi
30089
30090 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30091 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30092 if test "${ac_cv_lib_m_j0+set}" = set; then
30093   echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095   ac_check_lib_save_LIBS=$LIBS
30096 LIBS="-lm  $LIBS"
30097 if test x$gcc_no_link = xyes; then
30098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30100    { (exit 1); exit 1; }; }
30101 fi
30102 cat >conftest.$ac_ext <<_ACEOF
30103 /* confdefs.h.  */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h.  */
30108
30109 /* Override any gcc2 internal prototype to avoid an error.  */
30110 #ifdef __cplusplus
30111 extern "C"
30112 #endif
30113 /* We use char because int might match the return type of a gcc2
30114    builtin and then its argument prototype would still apply.  */
30115 char j0 ();
30116 int
30117 main ()
30118 {
30119 j0 ();
30120   ;
30121   return 0;
30122 }
30123 _ACEOF
30124 rm -f conftest.$ac_objext conftest$ac_exeext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30126   (eval $ac_link) 2>conftest.er1
30127   ac_status=$?
30128   grep -v '^ *+' conftest.er1 >conftest.err
30129   rm -f conftest.er1
30130   cat conftest.err >&5
30131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132   (exit $ac_status); } &&
30133          { ac_try='test -z "$ac_c_werror_flag"
30134                          || test ! -s conftest.err'
30135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136   (eval $ac_try) 2>&5
30137   ac_status=$?
30138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139   (exit $ac_status); }; } &&
30140          { ac_try='test -s conftest$ac_exeext'
30141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142   (eval $ac_try) 2>&5
30143   ac_status=$?
30144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145   (exit $ac_status); }; }; then
30146   ac_cv_lib_m_j0=yes
30147 else
30148   echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30150
30151 ac_cv_lib_m_j0=no
30152 fi
30153 rm -f conftest.err conftest.$ac_objext \
30154       conftest$ac_exeext conftest.$ac_ext
30155 LIBS=$ac_check_lib_save_LIBS
30156 fi
30157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30158 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30159 if test $ac_cv_lib_m_j0 = yes; then
30160
30161 cat >>confdefs.h <<\_ACEOF
30162 #define HAVE_J0 1
30163 _ACEOF
30164
30165 fi
30166
30167 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30168 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30169 if test "${ac_cv_lib_m_j0l+set}" = set; then
30170   echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30172   ac_check_lib_save_LIBS=$LIBS
30173 LIBS="-lm  $LIBS"
30174 if test x$gcc_no_link = xyes; then
30175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30177    { (exit 1); exit 1; }; }
30178 fi
30179 cat >conftest.$ac_ext <<_ACEOF
30180 /* confdefs.h.  */
30181 _ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h.  */
30185
30186 /* Override any gcc2 internal prototype to avoid an error.  */
30187 #ifdef __cplusplus
30188 extern "C"
30189 #endif
30190 /* We use char because int might match the return type of a gcc2
30191    builtin and then its argument prototype would still apply.  */
30192 char j0l ();
30193 int
30194 main ()
30195 {
30196 j0l ();
30197   ;
30198   return 0;
30199 }
30200 _ACEOF
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30203   (eval $ac_link) 2>conftest.er1
30204   ac_status=$?
30205   grep -v '^ *+' conftest.er1 >conftest.err
30206   rm -f conftest.er1
30207   cat conftest.err >&5
30208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209   (exit $ac_status); } &&
30210          { ac_try='test -z "$ac_c_werror_flag"
30211                          || test ! -s conftest.err'
30212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213   (eval $ac_try) 2>&5
30214   ac_status=$?
30215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216   (exit $ac_status); }; } &&
30217          { ac_try='test -s conftest$ac_exeext'
30218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219   (eval $ac_try) 2>&5
30220   ac_status=$?
30221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222   (exit $ac_status); }; }; then
30223   ac_cv_lib_m_j0l=yes
30224 else
30225   echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30227
30228 ac_cv_lib_m_j0l=no
30229 fi
30230 rm -f conftest.err conftest.$ac_objext \
30231       conftest$ac_exeext conftest.$ac_ext
30232 LIBS=$ac_check_lib_save_LIBS
30233 fi
30234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30235 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30236 if test $ac_cv_lib_m_j0l = yes; then
30237
30238 cat >>confdefs.h <<\_ACEOF
30239 #define HAVE_J0L 1
30240 _ACEOF
30241
30242 fi
30243
30244 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30245 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30246 if test "${ac_cv_lib_m_j1f+set}" = set; then
30247   echo $ECHO_N "(cached) $ECHO_C" >&6
30248 else
30249   ac_check_lib_save_LIBS=$LIBS
30250 LIBS="-lm  $LIBS"
30251 if test x$gcc_no_link = xyes; then
30252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30254    { (exit 1); exit 1; }; }
30255 fi
30256 cat >conftest.$ac_ext <<_ACEOF
30257 /* confdefs.h.  */
30258 _ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h.  */
30262
30263 /* Override any gcc2 internal prototype to avoid an error.  */
30264 #ifdef __cplusplus
30265 extern "C"
30266 #endif
30267 /* We use char because int might match the return type of a gcc2
30268    builtin and then its argument prototype would still apply.  */
30269 char j1f ();
30270 int
30271 main ()
30272 {
30273 j1f ();
30274   ;
30275   return 0;
30276 }
30277 _ACEOF
30278 rm -f conftest.$ac_objext conftest$ac_exeext
30279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30280   (eval $ac_link) 2>conftest.er1
30281   ac_status=$?
30282   grep -v '^ *+' conftest.er1 >conftest.err
30283   rm -f conftest.er1
30284   cat conftest.err >&5
30285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286   (exit $ac_status); } &&
30287          { ac_try='test -z "$ac_c_werror_flag"
30288                          || test ! -s conftest.err'
30289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290   (eval $ac_try) 2>&5
30291   ac_status=$?
30292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293   (exit $ac_status); }; } &&
30294          { ac_try='test -s conftest$ac_exeext'
30295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296   (eval $ac_try) 2>&5
30297   ac_status=$?
30298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299   (exit $ac_status); }; }; then
30300   ac_cv_lib_m_j1f=yes
30301 else
30302   echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30304
30305 ac_cv_lib_m_j1f=no
30306 fi
30307 rm -f conftest.err conftest.$ac_objext \
30308       conftest$ac_exeext conftest.$ac_ext
30309 LIBS=$ac_check_lib_save_LIBS
30310 fi
30311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30312 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30313 if test $ac_cv_lib_m_j1f = yes; then
30314
30315 cat >>confdefs.h <<\_ACEOF
30316 #define HAVE_J1F 1
30317 _ACEOF
30318
30319 fi
30320
30321 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30322 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30323 if test "${ac_cv_lib_m_j1+set}" = set; then
30324   echo $ECHO_N "(cached) $ECHO_C" >&6
30325 else
30326   ac_check_lib_save_LIBS=$LIBS
30327 LIBS="-lm  $LIBS"
30328 if test x$gcc_no_link = xyes; then
30329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30331    { (exit 1); exit 1; }; }
30332 fi
30333 cat >conftest.$ac_ext <<_ACEOF
30334 /* confdefs.h.  */
30335 _ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h.  */
30339
30340 /* Override any gcc2 internal prototype to avoid an error.  */
30341 #ifdef __cplusplus
30342 extern "C"
30343 #endif
30344 /* We use char because int might match the return type of a gcc2
30345    builtin and then its argument prototype would still apply.  */
30346 char j1 ();
30347 int
30348 main ()
30349 {
30350 j1 ();
30351   ;
30352   return 0;
30353 }
30354 _ACEOF
30355 rm -f conftest.$ac_objext conftest$ac_exeext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30357   (eval $ac_link) 2>conftest.er1
30358   ac_status=$?
30359   grep -v '^ *+' conftest.er1 >conftest.err
30360   rm -f conftest.er1
30361   cat conftest.err >&5
30362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363   (exit $ac_status); } &&
30364          { ac_try='test -z "$ac_c_werror_flag"
30365                          || test ! -s conftest.err'
30366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367   (eval $ac_try) 2>&5
30368   ac_status=$?
30369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370   (exit $ac_status); }; } &&
30371          { ac_try='test -s conftest$ac_exeext'
30372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373   (eval $ac_try) 2>&5
30374   ac_status=$?
30375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376   (exit $ac_status); }; }; then
30377   ac_cv_lib_m_j1=yes
30378 else
30379   echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30381
30382 ac_cv_lib_m_j1=no
30383 fi
30384 rm -f conftest.err conftest.$ac_objext \
30385       conftest$ac_exeext conftest.$ac_ext
30386 LIBS=$ac_check_lib_save_LIBS
30387 fi
30388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30389 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30390 if test $ac_cv_lib_m_j1 = yes; then
30391
30392 cat >>confdefs.h <<\_ACEOF
30393 #define HAVE_J1 1
30394 _ACEOF
30395
30396 fi
30397
30398 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30399 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30400 if test "${ac_cv_lib_m_j1l+set}" = set; then
30401   echo $ECHO_N "(cached) $ECHO_C" >&6
30402 else
30403   ac_check_lib_save_LIBS=$LIBS
30404 LIBS="-lm  $LIBS"
30405 if test x$gcc_no_link = xyes; then
30406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30408    { (exit 1); exit 1; }; }
30409 fi
30410 cat >conftest.$ac_ext <<_ACEOF
30411 /* confdefs.h.  */
30412 _ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h.  */
30416
30417 /* Override any gcc2 internal prototype to avoid an error.  */
30418 #ifdef __cplusplus
30419 extern "C"
30420 #endif
30421 /* We use char because int might match the return type of a gcc2
30422    builtin and then its argument prototype would still apply.  */
30423 char j1l ();
30424 int
30425 main ()
30426 {
30427 j1l ();
30428   ;
30429   return 0;
30430 }
30431 _ACEOF
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30434   (eval $ac_link) 2>conftest.er1
30435   ac_status=$?
30436   grep -v '^ *+' conftest.er1 >conftest.err
30437   rm -f conftest.er1
30438   cat conftest.err >&5
30439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440   (exit $ac_status); } &&
30441          { ac_try='test -z "$ac_c_werror_flag"
30442                          || test ! -s conftest.err'
30443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30444   (eval $ac_try) 2>&5
30445   ac_status=$?
30446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447   (exit $ac_status); }; } &&
30448          { ac_try='test -s conftest$ac_exeext'
30449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450   (eval $ac_try) 2>&5
30451   ac_status=$?
30452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453   (exit $ac_status); }; }; then
30454   ac_cv_lib_m_j1l=yes
30455 else
30456   echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.$ac_ext >&5
30458
30459 ac_cv_lib_m_j1l=no
30460 fi
30461 rm -f conftest.err conftest.$ac_objext \
30462       conftest$ac_exeext conftest.$ac_ext
30463 LIBS=$ac_check_lib_save_LIBS
30464 fi
30465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30466 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30467 if test $ac_cv_lib_m_j1l = yes; then
30468
30469 cat >>confdefs.h <<\_ACEOF
30470 #define HAVE_J1L 1
30471 _ACEOF
30472
30473 fi
30474
30475 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30476 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30477 if test "${ac_cv_lib_m_jnf+set}" = set; then
30478   echo $ECHO_N "(cached) $ECHO_C" >&6
30479 else
30480   ac_check_lib_save_LIBS=$LIBS
30481 LIBS="-lm  $LIBS"
30482 if test x$gcc_no_link = xyes; then
30483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30485    { (exit 1); exit 1; }; }
30486 fi
30487 cat >conftest.$ac_ext <<_ACEOF
30488 /* confdefs.h.  */
30489 _ACEOF
30490 cat confdefs.h >>conftest.$ac_ext
30491 cat >>conftest.$ac_ext <<_ACEOF
30492 /* end confdefs.h.  */
30493
30494 /* Override any gcc2 internal prototype to avoid an error.  */
30495 #ifdef __cplusplus
30496 extern "C"
30497 #endif
30498 /* We use char because int might match the return type of a gcc2
30499    builtin and then its argument prototype would still apply.  */
30500 char jnf ();
30501 int
30502 main ()
30503 {
30504 jnf ();
30505   ;
30506   return 0;
30507 }
30508 _ACEOF
30509 rm -f conftest.$ac_objext conftest$ac_exeext
30510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30511   (eval $ac_link) 2>conftest.er1
30512   ac_status=$?
30513   grep -v '^ *+' conftest.er1 >conftest.err
30514   rm -f conftest.er1
30515   cat conftest.err >&5
30516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517   (exit $ac_status); } &&
30518          { ac_try='test -z "$ac_c_werror_flag"
30519                          || test ! -s conftest.err'
30520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521   (eval $ac_try) 2>&5
30522   ac_status=$?
30523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524   (exit $ac_status); }; } &&
30525          { ac_try='test -s conftest$ac_exeext'
30526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527   (eval $ac_try) 2>&5
30528   ac_status=$?
30529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530   (exit $ac_status); }; }; then
30531   ac_cv_lib_m_jnf=yes
30532 else
30533   echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.$ac_ext >&5
30535
30536 ac_cv_lib_m_jnf=no
30537 fi
30538 rm -f conftest.err conftest.$ac_objext \
30539       conftest$ac_exeext conftest.$ac_ext
30540 LIBS=$ac_check_lib_save_LIBS
30541 fi
30542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30543 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30544 if test $ac_cv_lib_m_jnf = yes; then
30545
30546 cat >>confdefs.h <<\_ACEOF
30547 #define HAVE_JNF 1
30548 _ACEOF
30549
30550 fi
30551
30552 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30553 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30554 if test "${ac_cv_lib_m_jn+set}" = set; then
30555   echo $ECHO_N "(cached) $ECHO_C" >&6
30556 else
30557   ac_check_lib_save_LIBS=$LIBS
30558 LIBS="-lm  $LIBS"
30559 if test x$gcc_no_link = xyes; then
30560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30562    { (exit 1); exit 1; }; }
30563 fi
30564 cat >conftest.$ac_ext <<_ACEOF
30565 /* confdefs.h.  */
30566 _ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h.  */
30570
30571 /* Override any gcc2 internal prototype to avoid an error.  */
30572 #ifdef __cplusplus
30573 extern "C"
30574 #endif
30575 /* We use char because int might match the return type of a gcc2
30576    builtin and then its argument prototype would still apply.  */
30577 char jn ();
30578 int
30579 main ()
30580 {
30581 jn ();
30582   ;
30583   return 0;
30584 }
30585 _ACEOF
30586 rm -f conftest.$ac_objext conftest$ac_exeext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30588   (eval $ac_link) 2>conftest.er1
30589   ac_status=$?
30590   grep -v '^ *+' conftest.er1 >conftest.err
30591   rm -f conftest.er1
30592   cat conftest.err >&5
30593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594   (exit $ac_status); } &&
30595          { ac_try='test -z "$ac_c_werror_flag"
30596                          || test ! -s conftest.err'
30597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598   (eval $ac_try) 2>&5
30599   ac_status=$?
30600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601   (exit $ac_status); }; } &&
30602          { ac_try='test -s conftest$ac_exeext'
30603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604   (eval $ac_try) 2>&5
30605   ac_status=$?
30606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607   (exit $ac_status); }; }; then
30608   ac_cv_lib_m_jn=yes
30609 else
30610   echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30612
30613 ac_cv_lib_m_jn=no
30614 fi
30615 rm -f conftest.err conftest.$ac_objext \
30616       conftest$ac_exeext conftest.$ac_ext
30617 LIBS=$ac_check_lib_save_LIBS
30618 fi
30619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30620 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30621 if test $ac_cv_lib_m_jn = yes; then
30622
30623 cat >>confdefs.h <<\_ACEOF
30624 #define HAVE_JN 1
30625 _ACEOF
30626
30627 fi
30628
30629 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30630 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30631 if test "${ac_cv_lib_m_jnl+set}" = set; then
30632   echo $ECHO_N "(cached) $ECHO_C" >&6
30633 else
30634   ac_check_lib_save_LIBS=$LIBS
30635 LIBS="-lm  $LIBS"
30636 if test x$gcc_no_link = xyes; then
30637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30639    { (exit 1); exit 1; }; }
30640 fi
30641 cat >conftest.$ac_ext <<_ACEOF
30642 /* confdefs.h.  */
30643 _ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h.  */
30647
30648 /* Override any gcc2 internal prototype to avoid an error.  */
30649 #ifdef __cplusplus
30650 extern "C"
30651 #endif
30652 /* We use char because int might match the return type of a gcc2
30653    builtin and then its argument prototype would still apply.  */
30654 char jnl ();
30655 int
30656 main ()
30657 {
30658 jnl ();
30659   ;
30660   return 0;
30661 }
30662 _ACEOF
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30665   (eval $ac_link) 2>conftest.er1
30666   ac_status=$?
30667   grep -v '^ *+' conftest.er1 >conftest.err
30668   rm -f conftest.er1
30669   cat conftest.err >&5
30670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671   (exit $ac_status); } &&
30672          { ac_try='test -z "$ac_c_werror_flag"
30673                          || test ! -s conftest.err'
30674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675   (eval $ac_try) 2>&5
30676   ac_status=$?
30677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678   (exit $ac_status); }; } &&
30679          { ac_try='test -s conftest$ac_exeext'
30680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681   (eval $ac_try) 2>&5
30682   ac_status=$?
30683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684   (exit $ac_status); }; }; then
30685   ac_cv_lib_m_jnl=yes
30686 else
30687   echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.$ac_ext >&5
30689
30690 ac_cv_lib_m_jnl=no
30691 fi
30692 rm -f conftest.err conftest.$ac_objext \
30693       conftest$ac_exeext conftest.$ac_ext
30694 LIBS=$ac_check_lib_save_LIBS
30695 fi
30696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30697 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30698 if test $ac_cv_lib_m_jnl = yes; then
30699
30700 cat >>confdefs.h <<\_ACEOF
30701 #define HAVE_JNL 1
30702 _ACEOF
30703
30704 fi
30705
30706 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30707 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30708 if test "${ac_cv_lib_m_y0f+set}" = set; then
30709   echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711   ac_check_lib_save_LIBS=$LIBS
30712 LIBS="-lm  $LIBS"
30713 if test x$gcc_no_link = xyes; then
30714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30716    { (exit 1); exit 1; }; }
30717 fi
30718 cat >conftest.$ac_ext <<_ACEOF
30719 /* confdefs.h.  */
30720 _ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h.  */
30724
30725 /* Override any gcc2 internal prototype to avoid an error.  */
30726 #ifdef __cplusplus
30727 extern "C"
30728 #endif
30729 /* We use char because int might match the return type of a gcc2
30730    builtin and then its argument prototype would still apply.  */
30731 char y0f ();
30732 int
30733 main ()
30734 {
30735 y0f ();
30736   ;
30737   return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30742   (eval $ac_link) 2>conftest.er1
30743   ac_status=$?
30744   grep -v '^ *+' conftest.er1 >conftest.err
30745   rm -f conftest.er1
30746   cat conftest.err >&5
30747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748   (exit $ac_status); } &&
30749          { ac_try='test -z "$ac_c_werror_flag"
30750                          || test ! -s conftest.err'
30751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752   (eval $ac_try) 2>&5
30753   ac_status=$?
30754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755   (exit $ac_status); }; } &&
30756          { ac_try='test -s conftest$ac_exeext'
30757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758   (eval $ac_try) 2>&5
30759   ac_status=$?
30760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761   (exit $ac_status); }; }; then
30762   ac_cv_lib_m_y0f=yes
30763 else
30764   echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30766
30767 ac_cv_lib_m_y0f=no
30768 fi
30769 rm -f conftest.err conftest.$ac_objext \
30770       conftest$ac_exeext conftest.$ac_ext
30771 LIBS=$ac_check_lib_save_LIBS
30772 fi
30773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30774 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30775 if test $ac_cv_lib_m_y0f = yes; then
30776
30777 cat >>confdefs.h <<\_ACEOF
30778 #define HAVE_Y0F 1
30779 _ACEOF
30780
30781 fi
30782
30783 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30784 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30785 if test "${ac_cv_lib_m_y0+set}" = set; then
30786   echo $ECHO_N "(cached) $ECHO_C" >&6
30787 else
30788   ac_check_lib_save_LIBS=$LIBS
30789 LIBS="-lm  $LIBS"
30790 if test x$gcc_no_link = xyes; then
30791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30793    { (exit 1); exit 1; }; }
30794 fi
30795 cat >conftest.$ac_ext <<_ACEOF
30796 /* confdefs.h.  */
30797 _ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h.  */
30801
30802 /* Override any gcc2 internal prototype to avoid an error.  */
30803 #ifdef __cplusplus
30804 extern "C"
30805 #endif
30806 /* We use char because int might match the return type of a gcc2
30807    builtin and then its argument prototype would still apply.  */
30808 char y0 ();
30809 int
30810 main ()
30811 {
30812 y0 ();
30813   ;
30814   return 0;
30815 }
30816 _ACEOF
30817 rm -f conftest.$ac_objext conftest$ac_exeext
30818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30819   (eval $ac_link) 2>conftest.er1
30820   ac_status=$?
30821   grep -v '^ *+' conftest.er1 >conftest.err
30822   rm -f conftest.er1
30823   cat conftest.err >&5
30824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825   (exit $ac_status); } &&
30826          { ac_try='test -z "$ac_c_werror_flag"
30827                          || test ! -s conftest.err'
30828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829   (eval $ac_try) 2>&5
30830   ac_status=$?
30831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832   (exit $ac_status); }; } &&
30833          { ac_try='test -s conftest$ac_exeext'
30834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835   (eval $ac_try) 2>&5
30836   ac_status=$?
30837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838   (exit $ac_status); }; }; then
30839   ac_cv_lib_m_y0=yes
30840 else
30841   echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30843
30844 ac_cv_lib_m_y0=no
30845 fi
30846 rm -f conftest.err conftest.$ac_objext \
30847       conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30849 fi
30850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30851 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30852 if test $ac_cv_lib_m_y0 = yes; then
30853
30854 cat >>confdefs.h <<\_ACEOF
30855 #define HAVE_Y0 1
30856 _ACEOF
30857
30858 fi
30859
30860 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30861 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30862 if test "${ac_cv_lib_m_y0l+set}" = set; then
30863   echo $ECHO_N "(cached) $ECHO_C" >&6
30864 else
30865   ac_check_lib_save_LIBS=$LIBS
30866 LIBS="-lm  $LIBS"
30867 if test x$gcc_no_link = xyes; then
30868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30870    { (exit 1); exit 1; }; }
30871 fi
30872 cat >conftest.$ac_ext <<_ACEOF
30873 /* confdefs.h.  */
30874 _ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h.  */
30878
30879 /* Override any gcc2 internal prototype to avoid an error.  */
30880 #ifdef __cplusplus
30881 extern "C"
30882 #endif
30883 /* We use char because int might match the return type of a gcc2
30884    builtin and then its argument prototype would still apply.  */
30885 char y0l ();
30886 int
30887 main ()
30888 {
30889 y0l ();
30890   ;
30891   return 0;
30892 }
30893 _ACEOF
30894 rm -f conftest.$ac_objext conftest$ac_exeext
30895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30896   (eval $ac_link) 2>conftest.er1
30897   ac_status=$?
30898   grep -v '^ *+' conftest.er1 >conftest.err
30899   rm -f conftest.er1
30900   cat conftest.err >&5
30901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902   (exit $ac_status); } &&
30903          { ac_try='test -z "$ac_c_werror_flag"
30904                          || test ! -s conftest.err'
30905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30906   (eval $ac_try) 2>&5
30907   ac_status=$?
30908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909   (exit $ac_status); }; } &&
30910          { ac_try='test -s conftest$ac_exeext'
30911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30912   (eval $ac_try) 2>&5
30913   ac_status=$?
30914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915   (exit $ac_status); }; }; then
30916   ac_cv_lib_m_y0l=yes
30917 else
30918   echo "$as_me: failed program was:" >&5
30919 sed 's/^/| /' conftest.$ac_ext >&5
30920
30921 ac_cv_lib_m_y0l=no
30922 fi
30923 rm -f conftest.err conftest.$ac_objext \
30924       conftest$ac_exeext conftest.$ac_ext
30925 LIBS=$ac_check_lib_save_LIBS
30926 fi
30927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30928 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30929 if test $ac_cv_lib_m_y0l = yes; then
30930
30931 cat >>confdefs.h <<\_ACEOF
30932 #define HAVE_Y0L 1
30933 _ACEOF
30934
30935 fi
30936
30937 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30938 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30939 if test "${ac_cv_lib_m_y1f+set}" = set; then
30940   echo $ECHO_N "(cached) $ECHO_C" >&6
30941 else
30942   ac_check_lib_save_LIBS=$LIBS
30943 LIBS="-lm  $LIBS"
30944 if test x$gcc_no_link = xyes; then
30945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30947    { (exit 1); exit 1; }; }
30948 fi
30949 cat >conftest.$ac_ext <<_ACEOF
30950 /* confdefs.h.  */
30951 _ACEOF
30952 cat confdefs.h >>conftest.$ac_ext
30953 cat >>conftest.$ac_ext <<_ACEOF
30954 /* end confdefs.h.  */
30955
30956 /* Override any gcc2 internal prototype to avoid an error.  */
30957 #ifdef __cplusplus
30958 extern "C"
30959 #endif
30960 /* We use char because int might match the return type of a gcc2
30961    builtin and then its argument prototype would still apply.  */
30962 char y1f ();
30963 int
30964 main ()
30965 {
30966 y1f ();
30967   ;
30968   return 0;
30969 }
30970 _ACEOF
30971 rm -f conftest.$ac_objext conftest$ac_exeext
30972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30973   (eval $ac_link) 2>conftest.er1
30974   ac_status=$?
30975   grep -v '^ *+' conftest.er1 >conftest.err
30976   rm -f conftest.er1
30977   cat conftest.err >&5
30978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979   (exit $ac_status); } &&
30980          { ac_try='test -z "$ac_c_werror_flag"
30981                          || test ! -s conftest.err'
30982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983   (eval $ac_try) 2>&5
30984   ac_status=$?
30985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986   (exit $ac_status); }; } &&
30987          { ac_try='test -s conftest$ac_exeext'
30988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989   (eval $ac_try) 2>&5
30990   ac_status=$?
30991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992   (exit $ac_status); }; }; then
30993   ac_cv_lib_m_y1f=yes
30994 else
30995   echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30997
30998 ac_cv_lib_m_y1f=no
30999 fi
31000 rm -f conftest.err conftest.$ac_objext \
31001       conftest$ac_exeext conftest.$ac_ext
31002 LIBS=$ac_check_lib_save_LIBS
31003 fi
31004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31005 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31006 if test $ac_cv_lib_m_y1f = yes; then
31007
31008 cat >>confdefs.h <<\_ACEOF
31009 #define HAVE_Y1F 1
31010 _ACEOF
31011
31012 fi
31013
31014 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31015 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31016 if test "${ac_cv_lib_m_y1+set}" = set; then
31017   echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019   ac_check_lib_save_LIBS=$LIBS
31020 LIBS="-lm  $LIBS"
31021 if test x$gcc_no_link = xyes; then
31022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31024    { (exit 1); exit 1; }; }
31025 fi
31026 cat >conftest.$ac_ext <<_ACEOF
31027 /* confdefs.h.  */
31028 _ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h.  */
31032
31033 /* Override any gcc2 internal prototype to avoid an error.  */
31034 #ifdef __cplusplus
31035 extern "C"
31036 #endif
31037 /* We use char because int might match the return type of a gcc2
31038    builtin and then its argument prototype would still apply.  */
31039 char y1 ();
31040 int
31041 main ()
31042 {
31043 y1 ();
31044   ;
31045   return 0;
31046 }
31047 _ACEOF
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31050   (eval $ac_link) 2>conftest.er1
31051   ac_status=$?
31052   grep -v '^ *+' conftest.er1 >conftest.err
31053   rm -f conftest.er1
31054   cat conftest.err >&5
31055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056   (exit $ac_status); } &&
31057          { ac_try='test -z "$ac_c_werror_flag"
31058                          || test ! -s conftest.err'
31059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060   (eval $ac_try) 2>&5
31061   ac_status=$?
31062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063   (exit $ac_status); }; } &&
31064          { ac_try='test -s conftest$ac_exeext'
31065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31066   (eval $ac_try) 2>&5
31067   ac_status=$?
31068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069   (exit $ac_status); }; }; then
31070   ac_cv_lib_m_y1=yes
31071 else
31072   echo "$as_me: failed program was:" >&5
31073 sed 's/^/| /' conftest.$ac_ext >&5
31074
31075 ac_cv_lib_m_y1=no
31076 fi
31077 rm -f conftest.err conftest.$ac_objext \
31078       conftest$ac_exeext conftest.$ac_ext
31079 LIBS=$ac_check_lib_save_LIBS
31080 fi
31081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31082 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31083 if test $ac_cv_lib_m_y1 = yes; then
31084
31085 cat >>confdefs.h <<\_ACEOF
31086 #define HAVE_Y1 1
31087 _ACEOF
31088
31089 fi
31090
31091 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31092 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31093 if test "${ac_cv_lib_m_y1l+set}" = set; then
31094   echo $ECHO_N "(cached) $ECHO_C" >&6
31095 else
31096   ac_check_lib_save_LIBS=$LIBS
31097 LIBS="-lm  $LIBS"
31098 if test x$gcc_no_link = xyes; then
31099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31101    { (exit 1); exit 1; }; }
31102 fi
31103 cat >conftest.$ac_ext <<_ACEOF
31104 /* confdefs.h.  */
31105 _ACEOF
31106 cat confdefs.h >>conftest.$ac_ext
31107 cat >>conftest.$ac_ext <<_ACEOF
31108 /* end confdefs.h.  */
31109
31110 /* Override any gcc2 internal prototype to avoid an error.  */
31111 #ifdef __cplusplus
31112 extern "C"
31113 #endif
31114 /* We use char because int might match the return type of a gcc2
31115    builtin and then its argument prototype would still apply.  */
31116 char y1l ();
31117 int
31118 main ()
31119 {
31120 y1l ();
31121   ;
31122   return 0;
31123 }
31124 _ACEOF
31125 rm -f conftest.$ac_objext conftest$ac_exeext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31127   (eval $ac_link) 2>conftest.er1
31128   ac_status=$?
31129   grep -v '^ *+' conftest.er1 >conftest.err
31130   rm -f conftest.er1
31131   cat conftest.err >&5
31132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133   (exit $ac_status); } &&
31134          { ac_try='test -z "$ac_c_werror_flag"
31135                          || test ! -s conftest.err'
31136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137   (eval $ac_try) 2>&5
31138   ac_status=$?
31139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140   (exit $ac_status); }; } &&
31141          { ac_try='test -s conftest$ac_exeext'
31142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143   (eval $ac_try) 2>&5
31144   ac_status=$?
31145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146   (exit $ac_status); }; }; then
31147   ac_cv_lib_m_y1l=yes
31148 else
31149   echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.$ac_ext >&5
31151
31152 ac_cv_lib_m_y1l=no
31153 fi
31154 rm -f conftest.err conftest.$ac_objext \
31155       conftest$ac_exeext conftest.$ac_ext
31156 LIBS=$ac_check_lib_save_LIBS
31157 fi
31158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31159 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31160 if test $ac_cv_lib_m_y1l = yes; then
31161
31162 cat >>confdefs.h <<\_ACEOF
31163 #define HAVE_Y1L 1
31164 _ACEOF
31165
31166 fi
31167
31168 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31169 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31170 if test "${ac_cv_lib_m_ynf+set}" = set; then
31171   echo $ECHO_N "(cached) $ECHO_C" >&6
31172 else
31173   ac_check_lib_save_LIBS=$LIBS
31174 LIBS="-lm  $LIBS"
31175 if test x$gcc_no_link = xyes; then
31176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31178    { (exit 1); exit 1; }; }
31179 fi
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h.  */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h.  */
31186
31187 /* Override any gcc2 internal prototype to avoid an error.  */
31188 #ifdef __cplusplus
31189 extern "C"
31190 #endif
31191 /* We use char because int might match the return type of a gcc2
31192    builtin and then its argument prototype would still apply.  */
31193 char ynf ();
31194 int
31195 main ()
31196 {
31197 ynf ();
31198   ;
31199   return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204   (eval $ac_link) 2>conftest.er1
31205   ac_status=$?
31206   grep -v '^ *+' conftest.er1 >conftest.err
31207   rm -f conftest.er1
31208   cat conftest.err >&5
31209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210   (exit $ac_status); } &&
31211          { ac_try='test -z "$ac_c_werror_flag"
31212                          || test ! -s conftest.err'
31213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214   (eval $ac_try) 2>&5
31215   ac_status=$?
31216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217   (exit $ac_status); }; } &&
31218          { ac_try='test -s conftest$ac_exeext'
31219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220   (eval $ac_try) 2>&5
31221   ac_status=$?
31222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223   (exit $ac_status); }; }; then
31224   ac_cv_lib_m_ynf=yes
31225 else
31226   echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31228
31229 ac_cv_lib_m_ynf=no
31230 fi
31231 rm -f conftest.err conftest.$ac_objext \
31232       conftest$ac_exeext conftest.$ac_ext
31233 LIBS=$ac_check_lib_save_LIBS
31234 fi
31235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31236 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31237 if test $ac_cv_lib_m_ynf = yes; then
31238
31239 cat >>confdefs.h <<\_ACEOF
31240 #define HAVE_YNF 1
31241 _ACEOF
31242
31243 fi
31244
31245 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31246 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31247 if test "${ac_cv_lib_m_yn+set}" = set; then
31248   echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250   ac_check_lib_save_LIBS=$LIBS
31251 LIBS="-lm  $LIBS"
31252 if test x$gcc_no_link = xyes; then
31253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31255    { (exit 1); exit 1; }; }
31256 fi
31257 cat >conftest.$ac_ext <<_ACEOF
31258 /* confdefs.h.  */
31259 _ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h.  */
31263
31264 /* Override any gcc2 internal prototype to avoid an error.  */
31265 #ifdef __cplusplus
31266 extern "C"
31267 #endif
31268 /* We use char because int might match the return type of a gcc2
31269    builtin and then its argument prototype would still apply.  */
31270 char yn ();
31271 int
31272 main ()
31273 {
31274 yn ();
31275   ;
31276   return 0;
31277 }
31278 _ACEOF
31279 rm -f conftest.$ac_objext conftest$ac_exeext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31281   (eval $ac_link) 2>conftest.er1
31282   ac_status=$?
31283   grep -v '^ *+' conftest.er1 >conftest.err
31284   rm -f conftest.er1
31285   cat conftest.err >&5
31286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287   (exit $ac_status); } &&
31288          { ac_try='test -z "$ac_c_werror_flag"
31289                          || test ! -s conftest.err'
31290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291   (eval $ac_try) 2>&5
31292   ac_status=$?
31293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294   (exit $ac_status); }; } &&
31295          { ac_try='test -s conftest$ac_exeext'
31296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297   (eval $ac_try) 2>&5
31298   ac_status=$?
31299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300   (exit $ac_status); }; }; then
31301   ac_cv_lib_m_yn=yes
31302 else
31303   echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31305
31306 ac_cv_lib_m_yn=no
31307 fi
31308 rm -f conftest.err conftest.$ac_objext \
31309       conftest$ac_exeext conftest.$ac_ext
31310 LIBS=$ac_check_lib_save_LIBS
31311 fi
31312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31313 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31314 if test $ac_cv_lib_m_yn = yes; then
31315
31316 cat >>confdefs.h <<\_ACEOF
31317 #define HAVE_YN 1
31318 _ACEOF
31319
31320 fi
31321
31322 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31323 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31324 if test "${ac_cv_lib_m_ynl+set}" = set; then
31325   echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327   ac_check_lib_save_LIBS=$LIBS
31328 LIBS="-lm  $LIBS"
31329 if test x$gcc_no_link = xyes; then
31330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31332    { (exit 1); exit 1; }; }
31333 fi
31334 cat >conftest.$ac_ext <<_ACEOF
31335 /* confdefs.h.  */
31336 _ACEOF
31337 cat confdefs.h >>conftest.$ac_ext
31338 cat >>conftest.$ac_ext <<_ACEOF
31339 /* end confdefs.h.  */
31340
31341 /* Override any gcc2 internal prototype to avoid an error.  */
31342 #ifdef __cplusplus
31343 extern "C"
31344 #endif
31345 /* We use char because int might match the return type of a gcc2
31346    builtin and then its argument prototype would still apply.  */
31347 char ynl ();
31348 int
31349 main ()
31350 {
31351 ynl ();
31352   ;
31353   return 0;
31354 }
31355 _ACEOF
31356 rm -f conftest.$ac_objext conftest$ac_exeext
31357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31358   (eval $ac_link) 2>conftest.er1
31359   ac_status=$?
31360   grep -v '^ *+' conftest.er1 >conftest.err
31361   rm -f conftest.er1
31362   cat conftest.err >&5
31363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364   (exit $ac_status); } &&
31365          { ac_try='test -z "$ac_c_werror_flag"
31366                          || test ! -s conftest.err'
31367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368   (eval $ac_try) 2>&5
31369   ac_status=$?
31370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371   (exit $ac_status); }; } &&
31372          { ac_try='test -s conftest$ac_exeext'
31373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374   (eval $ac_try) 2>&5
31375   ac_status=$?
31376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377   (exit $ac_status); }; }; then
31378   ac_cv_lib_m_ynl=yes
31379 else
31380   echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31382
31383 ac_cv_lib_m_ynl=no
31384 fi
31385 rm -f conftest.err conftest.$ac_objext \
31386       conftest$ac_exeext conftest.$ac_ext
31387 LIBS=$ac_check_lib_save_LIBS
31388 fi
31389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31390 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31391 if test $ac_cv_lib_m_ynl = yes; then
31392
31393 cat >>confdefs.h <<\_ACEOF
31394 #define HAVE_YNL 1
31395 _ACEOF
31396
31397 fi
31398
31399
31400 # On AIX, clog is present in libm as __clog
31401 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31402 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31403 if test "${ac_cv_lib_m___clog+set}" = set; then
31404   echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406   ac_check_lib_save_LIBS=$LIBS
31407 LIBS="-lm  $LIBS"
31408 if test x$gcc_no_link = xyes; then
31409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31411    { (exit 1); exit 1; }; }
31412 fi
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h.  */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h.  */
31419
31420 /* Override any gcc2 internal prototype to avoid an error.  */
31421 #ifdef __cplusplus
31422 extern "C"
31423 #endif
31424 /* We use char because int might match the return type of a gcc2
31425    builtin and then its argument prototype would still apply.  */
31426 char __clog ();
31427 int
31428 main ()
31429 {
31430 __clog ();
31431   ;
31432   return 0;
31433 }
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437   (eval $ac_link) 2>conftest.er1
31438   ac_status=$?
31439   grep -v '^ *+' conftest.er1 >conftest.err
31440   rm -f conftest.er1
31441   cat conftest.err >&5
31442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443   (exit $ac_status); } &&
31444          { ac_try='test -z "$ac_c_werror_flag"
31445                          || test ! -s conftest.err'
31446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447   (eval $ac_try) 2>&5
31448   ac_status=$?
31449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450   (exit $ac_status); }; } &&
31451          { ac_try='test -s conftest$ac_exeext'
31452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453   (eval $ac_try) 2>&5
31454   ac_status=$?
31455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456   (exit $ac_status); }; }; then
31457   ac_cv_lib_m___clog=yes
31458 else
31459   echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31461
31462 ac_cv_lib_m___clog=no
31463 fi
31464 rm -f conftest.err conftest.$ac_objext \
31465       conftest$ac_exeext conftest.$ac_ext
31466 LIBS=$ac_check_lib_save_LIBS
31467 fi
31468 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31469 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31470 if test $ac_cv_lib_m___clog = yes; then
31471
31472 cat >>confdefs.h <<\_ACEOF
31473 #define HAVE_CLOG 1
31474 _ACEOF
31475
31476 fi
31477
31478
31479 # Check for a isfinite macro that works on long doubles.
31480
31481   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31482 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31483 if test "${have_broken_isfinite+set}" = set; then
31484   echo $ECHO_N "(cached) $ECHO_C" >&6
31485 else
31486
31487   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31488   LIBS="$LIBS -lm"
31489   if test "$cross_compiling" = yes; then
31490
31491 case "${target}" in
31492   hppa*-*-hpux*) have_broken_isfinite=yes ;;
31493   *) have_broken_isfinite=no ;;
31494 esac
31495 else
31496   cat >conftest.$ac_ext <<_ACEOF
31497 /* confdefs.h.  */
31498 _ACEOF
31499 cat confdefs.h >>conftest.$ac_ext
31500 cat >>conftest.$ac_ext <<_ACEOF
31501 /* end confdefs.h.  */
31502
31503 #ifdef HAVE_MATH_H
31504 #include <math.h>
31505 #endif
31506 #include <float.h>
31507 int main ()
31508 {
31509 #ifdef isfinite
31510 #ifdef LDBL_MAX
31511   if (!isfinite(LDBL_MAX)) return 1;
31512 #endif
31513 #ifdef DBL_MAX
31514   if (!isfinite(DBL_MAX)) return 1;
31515 #endif
31516 #endif
31517 return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522   (eval $ac_link) 2>&5
31523   ac_status=$?
31524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31527   (eval $ac_try) 2>&5
31528   ac_status=$?
31529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530   (exit $ac_status); }; }; then
31531   have_broken_isfinite=no
31532 else
31533   echo "$as_me: program exited with status $ac_status" >&5
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31536
31537 ( exit $ac_status )
31538 have_broken_isfinite=yes
31539 fi
31540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31541 fi
31542   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
31543 fi
31544 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
31545 echo "${ECHO_T}$have_broken_isfinite" >&6
31546 if test x"$have_broken_isfinite" = xyes; then
31547
31548 cat >>confdefs.h <<\_ACEOF
31549 #define HAVE_BROKEN_ISFINITE 1
31550 _ACEOF
31551
31552 fi
31553
31554 # Check for a isnan macro that works on long doubles.
31555
31556   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
31557 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
31558 if test "${have_broken_isnan+set}" = set; then
31559   echo $ECHO_N "(cached) $ECHO_C" >&6
31560 else
31561
31562   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
31563   LIBS="$LIBS -lm"
31564   if test "$cross_compiling" = yes; then
31565
31566 case "${target}" in
31567   hppa*-*-hpux*) have_broken_isnan=yes ;;
31568   *) have_broken_isnan=no ;;
31569 esac
31570 else
31571   cat >conftest.$ac_ext <<_ACEOF
31572 /* confdefs.h.  */
31573 _ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h.  */
31577
31578 #ifdef HAVE_MATH_H
31579 #include <math.h>
31580 #endif
31581 #include <float.h>
31582 int main ()
31583 {
31584 #ifdef isnan
31585 #ifdef LDBL_MAX
31586   {
31587     long double x;
31588     x = __builtin_nanl ("");
31589     if (!isnan(x)) return 1;
31590     if (isnan(LDBL_MAX)) return 1;
31591 #ifdef NAN
31592     x = (long double) NAN;
31593     if (!isnan(x)) return 1;
31594 #endif
31595   }
31596 #endif
31597 #ifdef DBL_MAX
31598   {
31599     double y;
31600     y = __builtin_nan ("");
31601     if (!isnan(y)) return 1;
31602     if (isnan(DBL_MAX)) return 1;
31603 #ifdef NAN
31604     y = (double) NAN;
31605     if (!isnan(y)) return 1;
31606 #endif
31607   }
31608 #endif
31609 #endif
31610 return 0;
31611 }
31612 _ACEOF
31613 rm -f conftest$ac_exeext
31614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31615   (eval $ac_link) 2>&5
31616   ac_status=$?
31617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620   (eval $ac_try) 2>&5
31621   ac_status=$?
31622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623   (exit $ac_status); }; }; then
31624   have_broken_isnan=no
31625 else
31626   echo "$as_me: program exited with status $ac_status" >&5
31627 echo "$as_me: failed program was:" >&5
31628 sed 's/^/| /' conftest.$ac_ext >&5
31629
31630 ( exit $ac_status )
31631 have_broken_isnan=yes
31632 fi
31633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31634 fi
31635   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
31636 fi
31637 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
31638 echo "${ECHO_T}$have_broken_isnan" >&6
31639 if test x"$have_broken_isnan" = xyes; then
31640
31641 cat >>confdefs.h <<\_ACEOF
31642 #define HAVE_BROKEN_ISNAN 1
31643 _ACEOF
31644
31645 fi
31646
31647 # Check for a fpclassify macro that works on long doubles.
31648
31649   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
31650 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
31651 if test "${have_broken_fpclassify+set}" = set; then
31652   echo $ECHO_N "(cached) $ECHO_C" >&6
31653 else
31654
31655   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
31656   LIBS="$LIBS -lm"
31657   if test "$cross_compiling" = yes; then
31658
31659 case "${target}" in
31660   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
31661   *) have_broken_fpclassify=no ;;
31662 esac
31663 else
31664   cat >conftest.$ac_ext <<_ACEOF
31665 /* confdefs.h.  */
31666 _ACEOF
31667 cat confdefs.h >>conftest.$ac_ext
31668 cat >>conftest.$ac_ext <<_ACEOF
31669 /* end confdefs.h.  */
31670
31671 #ifdef HAVE_MATH_H
31672 #include <math.h>
31673 #endif
31674 #include <float.h>
31675 int main ()
31676 {
31677 #ifdef fpclassify
31678 #ifdef LDBL_MAX
31679         if (fpclassify(LDBL_MAX) == FP_NAN
31680             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
31681 #endif
31682 #ifdef DBL_MAX
31683         if (fpclassify(DBL_MAX) == FP_NAN
31684             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
31685 #endif
31686 #endif
31687 return 0;
31688 }
31689 _ACEOF
31690 rm -f conftest$ac_exeext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31692   (eval $ac_link) 2>&5
31693   ac_status=$?
31694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697   (eval $ac_try) 2>&5
31698   ac_status=$?
31699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700   (exit $ac_status); }; }; then
31701   have_broken_fpclassify=no
31702 else
31703   echo "$as_me: program exited with status $ac_status" >&5
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.$ac_ext >&5
31706
31707 ( exit $ac_status )
31708 have_broken_fpclassify=yes
31709 fi
31710 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31711 fi
31712   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
31713 fi
31714 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
31715 echo "${ECHO_T}$have_broken_fpclassify" >&6
31716 if test x"$have_broken_fpclassify" = xyes; then
31717
31718 cat >>confdefs.h <<\_ACEOF
31719 #define HAVE_BROKEN_FPCLASSIFY 1
31720 _ACEOF
31721
31722 fi
31723
31724 # Check whether the system has a working stat()
31725
31726   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
31727 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
31728 if test "${have_working_stat+set}" = set; then
31729   echo $ECHO_N "(cached) $ECHO_C" >&6
31730 else
31731
31732   if test "$cross_compiling" = yes; then
31733
31734 case "${target}" in
31735   *mingw*) have_working_stat=no ;;
31736   *) have_working_stat=yes;;
31737 esac
31738 else
31739   cat >conftest.$ac_ext <<_ACEOF
31740 /* confdefs.h.  */
31741 _ACEOF
31742 cat confdefs.h >>conftest.$ac_ext
31743 cat >>conftest.$ac_ext <<_ACEOF
31744 /* end confdefs.h.  */
31745
31746 #include <stdio.h>
31747 #include <sys/types.h>
31748 #include <sys/stat.h>
31749 #include <unistd.h>
31750
31751 int main ()
31752 {
31753   FILE *f, *g;
31754   struct stat st1, st2;
31755
31756   f = fopen ("foo", "w");
31757   g = fopen ("bar", "w");
31758   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
31759     return 1;
31760   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
31761     return 1;
31762   fclose(f);
31763   fclose(g);
31764   return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769   (eval $ac_link) 2>&5
31770   ac_status=$?
31771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774   (eval $ac_try) 2>&5
31775   ac_status=$?
31776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777   (exit $ac_status); }; }; then
31778   have_working_stat=yes
31779 else
31780   echo "$as_me: program exited with status $ac_status" >&5
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.$ac_ext >&5
31783
31784 ( exit $ac_status )
31785 have_working_stat=no
31786 fi
31787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31788 fi
31789 fi
31790 echo "$as_me:$LINENO: result: $have_working_stat" >&5
31791 echo "${ECHO_T}$have_working_stat" >&6
31792 if test x"$have_working_stat" = xyes; then
31793
31794 cat >>confdefs.h <<\_ACEOF
31795 #define HAVE_WORKING_STAT 1
31796 _ACEOF
31797
31798 fi
31799
31800 # Check for GNU libc feenableexcept
31801 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
31802 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
31803 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
31804   echo $ECHO_N "(cached) $ECHO_C" >&6
31805 else
31806   ac_check_lib_save_LIBS=$LIBS
31807 LIBS="-lm  $LIBS"
31808 if test x$gcc_no_link = xyes; then
31809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31811    { (exit 1); exit 1; }; }
31812 fi
31813 cat >conftest.$ac_ext <<_ACEOF
31814 /* confdefs.h.  */
31815 _ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h.  */
31819
31820 /* Override any gcc2 internal prototype to avoid an error.  */
31821 #ifdef __cplusplus
31822 extern "C"
31823 #endif
31824 /* We use char because int might match the return type of a gcc2
31825    builtin and then its argument prototype would still apply.  */
31826 char feenableexcept ();
31827 int
31828 main ()
31829 {
31830 feenableexcept ();
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   ac_cv_lib_m_feenableexcept=yes
31858 else
31859   echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 ac_cv_lib_m_feenableexcept=no
31863 fi
31864 rm -f conftest.err conftest.$ac_objext \
31865       conftest$ac_exeext conftest.$ac_ext
31866 LIBS=$ac_check_lib_save_LIBS
31867 fi
31868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
31869 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
31870 if test $ac_cv_lib_m_feenableexcept = yes; then
31871   have_feenableexcept=yes
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_FEENABLEEXCEPT 1
31874 _ACEOF
31875
31876 fi
31877
31878
31879 # Check for SysV fpsetmask
31880
31881   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
31882 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
31883 if test "${have_fpsetmask+set}" = set; then
31884   echo $ECHO_N "(cached) $ECHO_C" >&6
31885 else
31886
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 #if HAVE_FLOATINGPOINT_H
31900 # include <floatingpoint.h>
31901 #endif /* HAVE_FLOATINGPOINT_H */
31902 #if HAVE_IEEEFP_H
31903 # include <ieeefp.h>
31904 #endif /* HAVE_IEEEFP_H */
31905 int
31906 main ()
31907 {
31908 fpsetmask(0);
31909   ;
31910   return 0;
31911 }
31912 _ACEOF
31913 rm -f conftest.$ac_objext conftest$ac_exeext
31914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31915   (eval $ac_link) 2>conftest.er1
31916   ac_status=$?
31917   grep -v '^ *+' conftest.er1 >conftest.err
31918   rm -f conftest.er1
31919   cat conftest.err >&5
31920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921   (exit $ac_status); } &&
31922          { ac_try='test -z "$ac_c_werror_flag"
31923                          || test ! -s conftest.err'
31924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31925   (eval $ac_try) 2>&5
31926   ac_status=$?
31927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928   (exit $ac_status); }; } &&
31929          { ac_try='test -s conftest$ac_exeext'
31930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931   (eval $ac_try) 2>&5
31932   ac_status=$?
31933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934   (exit $ac_status); }; }; then
31935   eval "have_fpsetmask=yes"
31936 else
31937   echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31939
31940 eval "have_fpsetmask=no"
31941 fi
31942 rm -f conftest.err conftest.$ac_objext \
31943       conftest$ac_exeext conftest.$ac_ext
31944
31945 fi
31946 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
31947 echo "${ECHO_T}$have_fpsetmask" >&6
31948   if test x"$have_fpsetmask" = xyes; then
31949
31950 cat >>confdefs.h <<\_ACEOF
31951 #define HAVE_FPSETMASK 1
31952 _ACEOF
31953
31954   fi
31955
31956
31957 # Check for AIX fp_trap and fp_enable
31958 echo "$as_me:$LINENO: checking for fp_trap" >&5
31959 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
31960 if test "${ac_cv_func_fp_trap+set}" = set; then
31961   echo $ECHO_N "(cached) $ECHO_C" >&6
31962 else
31963   if test x$gcc_no_link = xyes; then
31964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31966    { (exit 1); exit 1; }; }
31967 fi
31968 cat >conftest.$ac_ext <<_ACEOF
31969 /* confdefs.h.  */
31970 _ACEOF
31971 cat confdefs.h >>conftest.$ac_ext
31972 cat >>conftest.$ac_ext <<_ACEOF
31973 /* end confdefs.h.  */
31974 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
31975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31976 #define fp_trap innocuous_fp_trap
31977
31978 /* System header to define __stub macros and hopefully few prototypes,
31979     which can conflict with char fp_trap (); below.
31980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31981     <limits.h> exists even on freestanding compilers.  */
31982
31983 #ifdef __STDC__
31984 # include <limits.h>
31985 #else
31986 # include <assert.h>
31987 #endif
31988
31989 #undef fp_trap
31990
31991 /* Override any gcc2 internal prototype to avoid an error.  */
31992 #ifdef __cplusplus
31993 extern "C"
31994 {
31995 #endif
31996 /* We use char because int might match the return type of a gcc2
31997    builtin and then its argument prototype would still apply.  */
31998 char fp_trap ();
31999 /* The GNU C library defines this for functions which it implements
32000     to always fail with ENOSYS.  Some functions are actually named
32001     something starting with __ and the normal name is an alias.  */
32002 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32003 choke me
32004 #else
32005 char (*f) () = fp_trap;
32006 #endif
32007 #ifdef __cplusplus
32008 }
32009 #endif
32010
32011 int
32012 main ()
32013 {
32014 return f != fp_trap;
32015   ;
32016   return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021   (eval $ac_link) 2>conftest.er1
32022   ac_status=$?
32023   grep -v '^ *+' conftest.er1 >conftest.err
32024   rm -f conftest.er1
32025   cat conftest.err >&5
32026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027   (exit $ac_status); } &&
32028          { ac_try='test -z "$ac_c_werror_flag"
32029                          || test ! -s conftest.err'
32030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031   (eval $ac_try) 2>&5
32032   ac_status=$?
32033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034   (exit $ac_status); }; } &&
32035          { ac_try='test -s conftest$ac_exeext'
32036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037   (eval $ac_try) 2>&5
32038   ac_status=$?
32039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040   (exit $ac_status); }; }; then
32041   ac_cv_func_fp_trap=yes
32042 else
32043   echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 ac_cv_func_fp_trap=no
32047 fi
32048 rm -f conftest.err conftest.$ac_objext \
32049       conftest$ac_exeext conftest.$ac_ext
32050 fi
32051 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32052 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32053 if test $ac_cv_func_fp_trap = yes; then
32054   have_fp_trap=yes
32055 cat >>confdefs.h <<\_ACEOF
32056 #define HAVE_FP_TRAP 1
32057 _ACEOF
32058
32059 fi
32060
32061 echo "$as_me:$LINENO: checking for fp_enable" >&5
32062 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32063 if test "${ac_cv_func_fp_enable+set}" = set; then
32064   echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066   if test x$gcc_no_link = xyes; then
32067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32069    { (exit 1); exit 1; }; }
32070 fi
32071 cat >conftest.$ac_ext <<_ACEOF
32072 /* confdefs.h.  */
32073 _ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h.  */
32077 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32079 #define fp_enable innocuous_fp_enable
32080
32081 /* System header to define __stub macros and hopefully few prototypes,
32082     which can conflict with char fp_enable (); below.
32083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32084     <limits.h> exists even on freestanding compilers.  */
32085
32086 #ifdef __STDC__
32087 # include <limits.h>
32088 #else
32089 # include <assert.h>
32090 #endif
32091
32092 #undef fp_enable
32093
32094 /* Override any gcc2 internal prototype to avoid an error.  */
32095 #ifdef __cplusplus
32096 extern "C"
32097 {
32098 #endif
32099 /* We use char because int might match the return type of a gcc2
32100    builtin and then its argument prototype would still apply.  */
32101 char fp_enable ();
32102 /* The GNU C library defines this for functions which it implements
32103     to always fail with ENOSYS.  Some functions are actually named
32104     something starting with __ and the normal name is an alias.  */
32105 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32106 choke me
32107 #else
32108 char (*f) () = fp_enable;
32109 #endif
32110 #ifdef __cplusplus
32111 }
32112 #endif
32113
32114 int
32115 main ()
32116 {
32117 return f != fp_enable;
32118   ;
32119   return 0;
32120 }
32121 _ACEOF
32122 rm -f conftest.$ac_objext conftest$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124   (eval $ac_link) 2>conftest.er1
32125   ac_status=$?
32126   grep -v '^ *+' conftest.er1 >conftest.err
32127   rm -f conftest.er1
32128   cat conftest.err >&5
32129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130   (exit $ac_status); } &&
32131          { ac_try='test -z "$ac_c_werror_flag"
32132                          || test ! -s conftest.err'
32133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134   (eval $ac_try) 2>&5
32135   ac_status=$?
32136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137   (exit $ac_status); }; } &&
32138          { ac_try='test -s conftest$ac_exeext'
32139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140   (eval $ac_try) 2>&5
32141   ac_status=$?
32142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143   (exit $ac_status); }; }; then
32144   ac_cv_func_fp_enable=yes
32145 else
32146   echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32148
32149 ac_cv_func_fp_enable=no
32150 fi
32151 rm -f conftest.err conftest.$ac_objext \
32152       conftest$ac_exeext conftest.$ac_ext
32153 fi
32154 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32155 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32156 if test $ac_cv_func_fp_enable = yes; then
32157   have_fp_enable=yes
32158 cat >>confdefs.h <<\_ACEOF
32159 #define HAVE_FP_ENABLE 1
32160 _ACEOF
32161
32162 fi
32163
32164
32165 # Runs configure.host to set up necessary host-dependent shell variables.
32166 # We then display a message about it, and propagate them through the
32167 # build chain.
32168 . ${srcdir}/configure.host
32169 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32170 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32171 FPU_HOST_HEADER=config/${fpu_host}.h
32172
32173
32174 # Attempt to assert that the target is of common type in case we don't
32175 # have C99 integer types at all.
32176
32177   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
32178 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
32179 if test "${target_ilp32+set}" = set; then
32180   echo $ECHO_N "(cached) $ECHO_C" >&6
32181 else
32182
32183   save_CFLAGS="$CFLAGS"
32184   CFLAGS="-O2"
32185   if test x$gcc_no_link = xyes; then
32186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32188    { (exit 1); exit 1; }; }
32189 fi
32190 cat >conftest.$ac_ext <<_ACEOF
32191 /* confdefs.h.  */
32192 _ACEOF
32193 cat confdefs.h >>conftest.$ac_ext
32194 cat >>conftest.$ac_ext <<_ACEOF
32195 /* end confdefs.h.  */
32196
32197 int
32198 main ()
32199 {
32200
32201 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
32202   ;
32203 else
32204   undefined_function ();
32205
32206   ;
32207   return 0;
32208 }
32209 _ACEOF
32210 rm -f conftest.$ac_objext conftest$ac_exeext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32212   (eval $ac_link) 2>conftest.er1
32213   ac_status=$?
32214   grep -v '^ *+' conftest.er1 >conftest.err
32215   rm -f conftest.er1
32216   cat conftest.err >&5
32217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218   (exit $ac_status); } &&
32219          { ac_try='test -z "$ac_c_werror_flag"
32220                          || test ! -s conftest.err'
32221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32222   (eval $ac_try) 2>&5
32223   ac_status=$?
32224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225   (exit $ac_status); }; } &&
32226          { ac_try='test -s conftest$ac_exeext'
32227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228   (eval $ac_try) 2>&5
32229   ac_status=$?
32230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231   (exit $ac_status); }; }; then
32232   target_ilp32=yes
32233 else
32234   echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.$ac_ext >&5
32236
32237 target_ilp32=no
32238 fi
32239 rm -f conftest.err conftest.$ac_objext \
32240       conftest$ac_exeext conftest.$ac_ext
32241   CFLAGS="$save_CFLAGS"
32242 fi
32243 echo "$as_me:$LINENO: result: $target_ilp32" >&5
32244 echo "${ECHO_T}$target_ilp32" >&6
32245   if test $target_ilp32 = yes; then
32246
32247 cat >>confdefs.h <<\_ACEOF
32248 #define TARGET_ILP32 1
32249 _ACEOF
32250
32251   fi
32252
32253
32254 # Check out attribute support.
32255
32256   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32257 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32258 if test "${have_attribute_visibility+set}" = set; then
32259   echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261
32262   save_CFLAGS="$CFLAGS"
32263   CFLAGS="$CFLAGS -Werror"
32264   cat >conftest.$ac_ext <<_ACEOF
32265 /* confdefs.h.  */
32266 _ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h.  */
32270 void __attribute__((visibility("hidden"))) foo(void) { }
32271 int
32272 main ()
32273 {
32274
32275   ;
32276   return 0;
32277 }
32278 _ACEOF
32279 rm -f conftest.$ac_objext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32281   (eval $ac_compile) 2>conftest.er1
32282   ac_status=$?
32283   grep -v '^ *+' conftest.er1 >conftest.err
32284   rm -f conftest.er1
32285   cat conftest.err >&5
32286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287   (exit $ac_status); } &&
32288          { ac_try='test -z "$ac_c_werror_flag"
32289                          || test ! -s conftest.err'
32290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291   (eval $ac_try) 2>&5
32292   ac_status=$?
32293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294   (exit $ac_status); }; } &&
32295          { ac_try='test -s conftest.$ac_objext'
32296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297   (eval $ac_try) 2>&5
32298   ac_status=$?
32299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300   (exit $ac_status); }; }; then
32301   have_attribute_visibility=yes
32302 else
32303   echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.$ac_ext >&5
32305
32306 have_attribute_visibility=no
32307 fi
32308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32309   CFLAGS="$save_CFLAGS"
32310 fi
32311 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32312 echo "${ECHO_T}$have_attribute_visibility" >&6
32313   if test $have_attribute_visibility = yes; then
32314
32315 cat >>confdefs.h <<\_ACEOF
32316 #define HAVE_ATTRIBUTE_VISIBILITY 1
32317 _ACEOF
32318
32319   fi
32320
32321   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32322 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32323 if test "${have_attribute_dllexport+set}" = set; then
32324   echo $ECHO_N "(cached) $ECHO_C" >&6
32325 else
32326
32327   save_CFLAGS="$CFLAGS"
32328   CFLAGS="$CFLAGS -Werror"
32329   cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h.  */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h.  */
32335 void __attribute__((dllexport)) foo(void) { }
32336 int
32337 main ()
32338 {
32339
32340   ;
32341   return 0;
32342 }
32343 _ACEOF
32344 rm -f conftest.$ac_objext
32345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32346   (eval $ac_compile) 2>conftest.er1
32347   ac_status=$?
32348   grep -v '^ *+' conftest.er1 >conftest.err
32349   rm -f conftest.er1
32350   cat conftest.err >&5
32351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352   (exit $ac_status); } &&
32353          { ac_try='test -z "$ac_c_werror_flag"
32354                          || test ! -s conftest.err'
32355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356   (eval $ac_try) 2>&5
32357   ac_status=$?
32358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359   (exit $ac_status); }; } &&
32360          { ac_try='test -s conftest.$ac_objext'
32361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362   (eval $ac_try) 2>&5
32363   ac_status=$?
32364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365   (exit $ac_status); }; }; then
32366   have_attribute_dllexport=yes
32367 else
32368   echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.$ac_ext >&5
32370
32371 have_attribute_dllexport=no
32372 fi
32373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32374   CFLAGS="$save_CFLAGS"
32375 fi
32376 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32377 echo "${ECHO_T}$have_attribute_dllexport" >&6
32378   if test $have_attribute_dllexport = yes; then
32379
32380 cat >>confdefs.h <<\_ACEOF
32381 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32382 _ACEOF
32383
32384   fi
32385
32386   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32387 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32388 if test "${have_attribute_alias+set}" = set; then
32389   echo $ECHO_N "(cached) $ECHO_C" >&6
32390 else
32391
32392   if test x$gcc_no_link = xyes; then
32393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32395    { (exit 1); exit 1; }; }
32396 fi
32397 cat >conftest.$ac_ext <<_ACEOF
32398 /* confdefs.h.  */
32399 _ACEOF
32400 cat confdefs.h >>conftest.$ac_ext
32401 cat >>conftest.$ac_ext <<_ACEOF
32402 /* end confdefs.h.  */
32403
32404 void foo(void) { }
32405 extern void bar(void) __attribute__((alias("foo")));
32406 int
32407 main ()
32408 {
32409 bar();
32410   ;
32411   return 0;
32412 }
32413 _ACEOF
32414 rm -f conftest.$ac_objext conftest$ac_exeext
32415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32416   (eval $ac_link) 2>conftest.er1
32417   ac_status=$?
32418   grep -v '^ *+' conftest.er1 >conftest.err
32419   rm -f conftest.er1
32420   cat conftest.err >&5
32421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422   (exit $ac_status); } &&
32423          { ac_try='test -z "$ac_c_werror_flag"
32424                          || test ! -s conftest.err'
32425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32426   (eval $ac_try) 2>&5
32427   ac_status=$?
32428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429   (exit $ac_status); }; } &&
32430          { ac_try='test -s conftest$ac_exeext'
32431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432   (eval $ac_try) 2>&5
32433   ac_status=$?
32434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435   (exit $ac_status); }; }; then
32436   have_attribute_alias=yes
32437 else
32438   echo "$as_me: failed program was:" >&5
32439 sed 's/^/| /' conftest.$ac_ext >&5
32440
32441 have_attribute_alias=no
32442 fi
32443 rm -f conftest.err conftest.$ac_objext \
32444       conftest$ac_exeext conftest.$ac_ext
32445 fi
32446 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32447 echo "${ECHO_T}$have_attribute_alias" >&6
32448   if test $have_attribute_alias = yes; then
32449
32450 cat >>confdefs.h <<\_ACEOF
32451 #define HAVE_ATTRIBUTE_ALIAS 1
32452 _ACEOF
32453
32454   fi
32455
32456 # Check out sync builtins support.
32457
32458   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32459 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32460 if test "${have_sync_fetch_and_add+set}" = set; then
32461   echo $ECHO_N "(cached) $ECHO_C" >&6
32462 else
32463
32464   if test x$gcc_no_link = xyes; then
32465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32467    { (exit 1); exit 1; }; }
32468 fi
32469 cat >conftest.$ac_ext <<_ACEOF
32470 /* confdefs.h.  */
32471 _ACEOF
32472 cat confdefs.h >>conftest.$ac_ext
32473 cat >>conftest.$ac_ext <<_ACEOF
32474 /* end confdefs.h.  */
32475 int foovar = 0;
32476 int
32477 main ()
32478 {
32479
32480 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32481 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32482   ;
32483   return 0;
32484 }
32485 _ACEOF
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32488   (eval $ac_link) 2>conftest.er1
32489   ac_status=$?
32490   grep -v '^ *+' conftest.er1 >conftest.err
32491   rm -f conftest.er1
32492   cat conftest.err >&5
32493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494   (exit $ac_status); } &&
32495          { ac_try='test -z "$ac_c_werror_flag"
32496                          || test ! -s conftest.err'
32497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498   (eval $ac_try) 2>&5
32499   ac_status=$?
32500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501   (exit $ac_status); }; } &&
32502          { ac_try='test -s conftest$ac_exeext'
32503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504   (eval $ac_try) 2>&5
32505   ac_status=$?
32506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507   (exit $ac_status); }; }; then
32508   have_sync_fetch_and_add=yes
32509 else
32510   echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513 have_sync_fetch_and_add=no
32514 fi
32515 rm -f conftest.err conftest.$ac_objext \
32516       conftest$ac_exeext conftest.$ac_ext
32517 fi
32518 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
32519 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
32520   if test $have_sync_fetch_and_add = yes; then
32521
32522 cat >>confdefs.h <<\_ACEOF
32523 #define HAVE_SYNC_FETCH_AND_ADD 1
32524 _ACEOF
32525
32526   fi
32527
32528 # Check out thread support.
32529
32530   echo "$as_me:$LINENO: checking configured target thread model" >&5
32531 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
32532 if test "${target_thread_file+set}" = set; then
32533   echo $ECHO_N "(cached) $ECHO_C" >&6
32534 else
32535
32536 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
32537 fi
32538 echo "$as_me:$LINENO: result: $target_thread_file" >&5
32539 echo "${ECHO_T}$target_thread_file" >&6
32540
32541   if test $target_thread_file != single; then
32542
32543 cat >>confdefs.h <<\_ACEOF
32544 #define HAVE_GTHR_DEFAULT 1
32545 _ACEOF
32546
32547   fi
32548
32549 # Check out #pragma weak.
32550
32551   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
32552 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
32553 if test "${have_pragma_weak+set}" = set; then
32554   echo $ECHO_N "(cached) $ECHO_C" >&6
32555 else
32556
32557   gfor_save_CFLAGS="$CFLAGS"
32558   CFLAGS="$CFLAGS -Wunknown-pragmas"
32559   cat >conftest.$ac_ext <<_ACEOF
32560 /* confdefs.h.  */
32561 _ACEOF
32562 cat confdefs.h >>conftest.$ac_ext
32563 cat >>conftest.$ac_ext <<_ACEOF
32564 /* end confdefs.h.  */
32565 void foo (void);
32566 #pragma weak foo
32567 int
32568 main ()
32569 {
32570 if (foo) foo ();
32571   ;
32572   return 0;
32573 }
32574 _ACEOF
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577   (eval $ac_compile) 2>conftest.er1
32578   ac_status=$?
32579   grep -v '^ *+' conftest.er1 >conftest.err
32580   rm -f conftest.er1
32581   cat conftest.err >&5
32582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583   (exit $ac_status); } &&
32584          { ac_try='test -z "$ac_c_werror_flag"
32585                          || test ! -s conftest.err'
32586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587   (eval $ac_try) 2>&5
32588   ac_status=$?
32589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590   (exit $ac_status); }; } &&
32591          { ac_try='test -s conftest.$ac_objext'
32592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593   (eval $ac_try) 2>&5
32594   ac_status=$?
32595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596   (exit $ac_status); }; }; then
32597   have_pragma_weak=yes
32598 else
32599   echo "$as_me: failed program was:" >&5
32600 sed 's/^/| /' conftest.$ac_ext >&5
32601
32602 have_pragma_weak=no
32603 fi
32604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32605 fi
32606 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
32607 echo "${ECHO_T}$have_pragma_weak" >&6
32608   if test $have_pragma_weak = yes; then
32609
32610 cat >>confdefs.h <<\_ACEOF
32611 #define SUPPORTS_WEAK 1
32612 _ACEOF
32613
32614   fi
32615   case "$host" in
32616     *-*-darwin* | *-*-hpux* | *-*-cygwin*)
32617
32618 cat >>confdefs.h <<\_ACEOF
32619 #define GTHREAD_USE_WEAK 0
32620 _ACEOF
32621
32622       ;;
32623   esac
32624
32625 # Various other checks on target
32626
32627   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
32628 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
32629 if test "${have_unlink_open_file+set}" = set; then
32630   echo $ECHO_N "(cached) $ECHO_C" >&6
32631 else
32632
32633   if test "$cross_compiling" = yes; then
32634
32635 case "${target}" in
32636   *mingw*) have_unlink_open_file=no ;;
32637   *) have_unlink_open_file=yes;;
32638 esac
32639 else
32640   cat >conftest.$ac_ext <<_ACEOF
32641 /* confdefs.h.  */
32642 _ACEOF
32643 cat confdefs.h >>conftest.$ac_ext
32644 cat >>conftest.$ac_ext <<_ACEOF
32645 /* end confdefs.h.  */
32646
32647 #include <errno.h>
32648 #include <fcntl.h>
32649 #include <unistd.h>
32650 #include <sys/stat.h>
32651
32652 int main ()
32653 {
32654   int fd;
32655
32656   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
32657   if (fd <= 0)
32658     return 0;
32659   if (unlink ("testfile") == -1)
32660     return 1;
32661   write (fd, "This is a test\n", 15);
32662   close (fd);
32663
32664   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
32665     return 0;
32666   else
32667     return 1;
32668 }
32669 _ACEOF
32670 rm -f conftest$ac_exeext
32671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32672   (eval $ac_link) 2>&5
32673   ac_status=$?
32674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677   (eval $ac_try) 2>&5
32678   ac_status=$?
32679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680   (exit $ac_status); }; }; then
32681   have_unlink_open_file=yes
32682 else
32683   echo "$as_me: program exited with status $ac_status" >&5
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32686
32687 ( exit $ac_status )
32688 have_unlink_open_file=no
32689 fi
32690 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32691 fi
32692 fi
32693 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
32694 echo "${ECHO_T}$have_unlink_open_file" >&6
32695 if test x"$have_unlink_open_file" = xyes; then
32696
32697 cat >>confdefs.h <<\_ACEOF
32698 #define HAVE_UNLINK_OPEN_FILE 1
32699 _ACEOF
32700
32701 fi
32702
32703 # Check whether line terminator is LF or CRLF
32704
32705   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
32706 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
32707 if test "${have_crlf+set}" = set; then
32708   echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710
32711   if test "$cross_compiling" = yes; then
32712
32713 case "${target}" in
32714   *mingw*) have_crlf=yes ;;
32715   *) have_crlf=no;;
32716 esac
32717 else
32718   cat >conftest.$ac_ext <<_ACEOF
32719 /* confdefs.h.  */
32720 _ACEOF
32721 cat confdefs.h >>conftest.$ac_ext
32722 cat >>conftest.$ac_ext <<_ACEOF
32723 /* end confdefs.h.  */
32724
32725 /* This test program should exit with status 0 if system uses a CRLF as
32726    line terminator, and status 1 otherwise.
32727    Since it is used to check for mingw systems, and should return 0 in any
32728    other case, in case of a failure we will not use CRLF.  */
32729 #include <sys/stat.h>
32730 #include <stdlib.h>
32731 #include <fcntl.h>
32732 #include <stdio.h>
32733
32734 int main ()
32735 {
32736 #ifndef O_BINARY
32737   exit(1);
32738 #else
32739   int fd, bytes;
32740   char buff[5];
32741
32742   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
32743   if (fd < 0)
32744     exit(1);
32745   if (write (fd, "\n", 1) < 0)
32746     perror ("write");
32747
32748   close (fd);
32749
32750   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
32751     exit(1);
32752   bytes = read (fd, buff, 5);
32753   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
32754     exit(0);
32755   else
32756     exit(1);
32757 #endif
32758 }
32759 _ACEOF
32760 rm -f conftest$ac_exeext
32761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32762   (eval $ac_link) 2>&5
32763   ac_status=$?
32764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767   (eval $ac_try) 2>&5
32768   ac_status=$?
32769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770   (exit $ac_status); }; }; then
32771   have_crlf=yes
32772 else
32773   echo "$as_me: program exited with status $ac_status" >&5
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.$ac_ext >&5
32776
32777 ( exit $ac_status )
32778 have_crlf=no
32779 fi
32780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32781 fi
32782 fi
32783 echo "$as_me:$LINENO: result: $have_crlf" >&5
32784 echo "${ECHO_T}$have_crlf" >&6
32785 if test x"$have_crlf" = xyes; then
32786
32787 cat >>confdefs.h <<\_ACEOF
32788 #define HAVE_CRLF 1
32789 _ACEOF
32790
32791 fi
32792
32793 cat >confcache <<\_ACEOF
32794 # This file is a shell script that caches the results of configure
32795 # tests run on this system so they can be shared between configure
32796 # scripts and configure runs, see configure's option --config-cache.
32797 # It is not useful on other systems.  If it contains results you don't
32798 # want to keep, you may remove or edit it.
32799 #
32800 # config.status only pays attention to the cache file if you give it
32801 # the --recheck option to rerun configure.
32802 #
32803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32805 # following values.
32806
32807 _ACEOF
32808
32809 # The following way of writing the cache mishandles newlines in values,
32810 # but we know of no workaround that is simple, portable, and efficient.
32811 # So, don't put newlines in cache variables' values.
32812 # Ultrix sh set writes to stderr and can't be redirected directly,
32813 # and sets the high bit in the cache file unless we assign to the vars.
32814 {
32815   (set) 2>&1 |
32816     case `(ac_space=' '; set | grep ac_space) 2>&1` in
32817     *ac_space=\ *)
32818       # `set' does not quote correctly, so add quotes (double-quote
32819       # substitution turns \\\\ into \\, and sed turns \\ into \).
32820       sed -n \
32821         "s/'/'\\\\''/g;
32822           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32823       ;;
32824     *)
32825       # `set' quotes correctly as required by POSIX, so do not add quotes.
32826       sed -n \
32827         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32828       ;;
32829     esac;
32830 } |
32831   sed '
32832      t clear
32833      : clear
32834      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32835      t end
32836      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32837      : end' >>confcache
32838 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32839   if test -w $cache_file; then
32840     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32841     cat confcache >$cache_file
32842   else
32843     echo "not updating unwritable cache $cache_file"
32844   fi
32845 fi
32846 rm -f confcache
32847
32848 if test ${multilib} = yes; then
32849   multilib_arg="--enable-multilib"
32850 else
32851   multilib_arg=
32852 fi
32853
32854 # Write our Makefile.
32855           ac_config_files="$ac_config_files Makefile"
32856
32857 cat >confcache <<\_ACEOF
32858 # This file is a shell script that caches the results of configure
32859 # tests run on this system so they can be shared between configure
32860 # scripts and configure runs, see configure's option --config-cache.
32861 # It is not useful on other systems.  If it contains results you don't
32862 # want to keep, you may remove or edit it.
32863 #
32864 # config.status only pays attention to the cache file if you give it
32865 # the --recheck option to rerun configure.
32866 #
32867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32869 # following values.
32870
32871 _ACEOF
32872
32873 # The following way of writing the cache mishandles newlines in values,
32874 # but we know of no workaround that is simple, portable, and efficient.
32875 # So, don't put newlines in cache variables' values.
32876 # Ultrix sh set writes to stderr and can't be redirected directly,
32877 # and sets the high bit in the cache file unless we assign to the vars.
32878 {
32879   (set) 2>&1 |
32880     case `(ac_space=' '; set | grep ac_space) 2>&1` in
32881     *ac_space=\ *)
32882       # `set' does not quote correctly, so add quotes (double-quote
32883       # substitution turns \\\\ into \\, and sed turns \\ into \).
32884       sed -n \
32885         "s/'/'\\\\''/g;
32886           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32887       ;;
32888     *)
32889       # `set' quotes correctly as required by POSIX, so do not add quotes.
32890       sed -n \
32891         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32892       ;;
32893     esac;
32894 } |
32895   sed '
32896      t clear
32897      : clear
32898      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32899      t end
32900      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32901      : end' >>confcache
32902 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32903   if test -w $cache_file; then
32904     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32905     cat confcache >$cache_file
32906   else
32907     echo "not updating unwritable cache $cache_file"
32908   fi
32909 fi
32910 rm -f confcache
32911
32912 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32913 # Let make expand exec_prefix.
32914 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32915
32916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32918 # trailing colons and then remove the whole line if VPATH becomes empty
32919 # (actually we leave an empty line to preserve line numbers).
32920 if test "x$srcdir" = x.; then
32921   ac_vpsub='/^[  ]*VPATH[        ]*=/{
32922 s/:*\$(srcdir):*/:/;
32923 s/:*\${srcdir}:*/:/;
32924 s/:*@srcdir@:*/:/;
32925 s/^\([^=]*=[     ]*\):*/\1/;
32926 s/:*$//;
32927 s/^[^=]*=[       ]*$//;
32928 }'
32929 fi
32930
32931 DEFS=-DHAVE_CONFIG_H
32932
32933 ac_libobjs=
32934 ac_ltlibobjs=
32935 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32936   # 1. Remove the extension, and $U if already installed.
32937   ac_i=`echo "$ac_i" |
32938          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32939   # 2. Add them.
32940   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32941   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
32942 done
32943 LIBOBJS=$ac_libobjs
32944
32945 LTLIBOBJS=$ac_ltlibobjs
32946
32947
32948 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
32949   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
32950 Usually this means the macro was only invoked conditionally." >&5
32951 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
32952 Usually this means the macro was only invoked conditionally." >&2;}
32953    { (exit 1); exit 1; }; }
32954 fi
32955 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32956   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32957 Usually this means the macro was only invoked conditionally." >&5
32958 echo "$as_me: error: conditional \"AMDEP\" was never defined.
32959 Usually this means the macro was only invoked conditionally." >&2;}
32960    { (exit 1); exit 1; }; }
32961 fi
32962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32963   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
32964 Usually this means the macro was only invoked conditionally." >&5
32965 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
32966 Usually this means the macro was only invoked conditionally." >&2;}
32967    { (exit 1); exit 1; }; }
32968 fi
32969 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
32970   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32971 Usually this means the macro was only invoked conditionally." >&5
32972 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32973 Usually this means the macro was only invoked conditionally." >&2;}
32974    { (exit 1); exit 1; }; }
32975 fi
32976
32977 : ${CONFIG_STATUS=./config.status}
32978 ac_clean_files_save=$ac_clean_files
32979 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32980 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32981 echo "$as_me: creating $CONFIG_STATUS" >&6;}
32982 cat >$CONFIG_STATUS <<_ACEOF
32983 #! $SHELL
32984 # Generated by $as_me.
32985 # Run this file to recreate the current configuration.
32986 # Compiler output produced by configure, useful for debugging
32987 # configure, is in config.log if it exists.
32988
32989 debug=false
32990 ac_cs_recheck=false
32991 ac_cs_silent=false
32992 SHELL=\${CONFIG_SHELL-$SHELL}
32993 _ACEOF
32994
32995 cat >>$CONFIG_STATUS <<\_ACEOF
32996 ## --------------------- ##
32997 ## M4sh Initialization.  ##
32998 ## --------------------- ##
32999
33000 # Be Bourne compatible
33001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33002   emulate sh
33003   NULLCMD=:
33004   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33005   # is contrary to our usage.  Disable this feature.
33006   alias -g '${1+"$@"}'='"$@"'
33007 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33008   set -o posix
33009 fi
33010 DUALCASE=1; export DUALCASE # for MKS sh
33011
33012 # Support unset when possible.
33013 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33014   as_unset=unset
33015 else
33016   as_unset=false
33017 fi
33018
33019
33020 # Work around bugs in pre-3.0 UWIN ksh.
33021 $as_unset ENV MAIL MAILPATH
33022 PS1='$ '
33023 PS2='> '
33024 PS4='+ '
33025
33026 # NLS nuisances.
33027 for as_var in \
33028   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33029   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33030   LC_TELEPHONE LC_TIME
33031 do
33032   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33033     eval $as_var=C; export $as_var
33034   else
33035     $as_unset $as_var
33036   fi
33037 done
33038
33039 # Required to use basename.
33040 if expr a : '\(a\)' >/dev/null 2>&1; then
33041   as_expr=expr
33042 else
33043   as_expr=false
33044 fi
33045
33046 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33047   as_basename=basename
33048 else
33049   as_basename=false
33050 fi
33051
33052
33053 # Name of the executable.
33054 as_me=`$as_basename "$0" ||
33055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33056          X"$0" : 'X\(//\)$' \| \
33057          X"$0" : 'X\(/\)$' \| \
33058          .     : '\(.\)' 2>/dev/null ||
33059 echo X/"$0" |
33060     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33061           /^X\/\(\/\/\)$/{ s//\1/; q; }
33062           /^X\/\(\/\).*/{ s//\1/; q; }
33063           s/.*/./; q'`
33064
33065
33066 # PATH needs CR, and LINENO needs CR and PATH.
33067 # Avoid depending upon Character Ranges.
33068 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33071 as_cr_digits='0123456789'
33072 as_cr_alnum=$as_cr_Letters$as_cr_digits
33073
33074 # The user is always right.
33075 if test "${PATH_SEPARATOR+set}" != set; then
33076   echo "#! /bin/sh" >conf$$.sh
33077   echo  "exit 0"   >>conf$$.sh
33078   chmod +x conf$$.sh
33079   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33080     PATH_SEPARATOR=';'
33081   else
33082     PATH_SEPARATOR=:
33083   fi
33084   rm -f conf$$.sh
33085 fi
33086
33087
33088   as_lineno_1=$LINENO
33089   as_lineno_2=$LINENO
33090   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33091   test "x$as_lineno_1" != "x$as_lineno_2" &&
33092   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
33093   # Find who we are.  Look in the path if we contain no path at all
33094   # relative or not.
33095   case $0 in
33096     *[\\/]* ) as_myself=$0 ;;
33097     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33098 for as_dir in $PATH
33099 do
33100   IFS=$as_save_IFS
33101   test -z "$as_dir" && as_dir=.
33102   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33103 done
33104
33105        ;;
33106   esac
33107   # We did not find ourselves, most probably we were run as `sh COMMAND'
33108   # in which case we are not to be found in the path.
33109   if test "x$as_myself" = x; then
33110     as_myself=$0
33111   fi
33112   if test ! -f "$as_myself"; then
33113     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33114 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33115    { (exit 1); exit 1; }; }
33116   fi
33117   case $CONFIG_SHELL in
33118   '')
33119     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33120 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33121 do
33122   IFS=$as_save_IFS
33123   test -z "$as_dir" && as_dir=.
33124   for as_base in sh bash ksh sh5; do
33125          case $as_dir in
33126          /*)
33127            if ("$as_dir/$as_base" -c '
33128   as_lineno_1=$LINENO
33129   as_lineno_2=$LINENO
33130   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33131   test "x$as_lineno_1" != "x$as_lineno_2" &&
33132   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
33133              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33134              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33135              CONFIG_SHELL=$as_dir/$as_base
33136              export CONFIG_SHELL
33137              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33138            fi;;
33139          esac
33140        done
33141 done
33142 ;;
33143   esac
33144
33145   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33146   # uniformly replaced by the line number.  The first 'sed' inserts a
33147   # line-number line before each line; the second 'sed' does the real
33148   # work.  The second script uses 'N' to pair each line-number line
33149   # with the numbered line, and appends trailing '-' during
33150   # substitution so that $LINENO is not a special case at line end.
33151   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33152   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
33153   sed '=' <$as_myself |
33154     sed '
33155       N
33156       s,$,-,
33157       : loop
33158       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33159       t loop
33160       s,-$,,
33161       s,^['$as_cr_digits']*\n,,
33162     ' >$as_me.lineno &&
33163   chmod +x $as_me.lineno ||
33164     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33165 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33166    { (exit 1); exit 1; }; }
33167
33168   # Don't try to exec as it changes $[0], causing all sort of problems
33169   # (the dirname of $[0] is not the place where we might find the
33170   # original and so on.  Autoconf is especially sensible to this).
33171   . ./$as_me.lineno
33172   # Exit status is that of the last command.
33173   exit
33174 }
33175
33176
33177 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33178   *c*,-n*) ECHO_N= ECHO_C='
33179 ' ECHO_T='      ' ;;
33180   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33181   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
33182 esac
33183
33184 if expr a : '\(a\)' >/dev/null 2>&1; then
33185   as_expr=expr
33186 else
33187   as_expr=false
33188 fi
33189
33190 rm -f conf$$ conf$$.exe conf$$.file
33191 echo >conf$$.file
33192 if ln -s conf$$.file conf$$ 2>/dev/null; then
33193   # We could just check for DJGPP; but this test a) works b) is more generic
33194   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33195   if test -f conf$$.exe; then
33196     # Don't use ln at all; we don't have any links
33197     as_ln_s='cp -p'
33198   else
33199     as_ln_s='ln -s'
33200   fi
33201 elif ln conf$$.file conf$$ 2>/dev/null; then
33202   as_ln_s=ln
33203 else
33204   as_ln_s='cp -p'
33205 fi
33206 rm -f conf$$ conf$$.exe conf$$.file
33207
33208 if mkdir -p . 2>/dev/null; then
33209   as_mkdir_p=:
33210 else
33211   test -d ./-p && rmdir ./-p
33212   as_mkdir_p=false
33213 fi
33214
33215 as_executable_p="test -f"
33216
33217 # Sed expression to map a string onto a valid CPP name.
33218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33219
33220 # Sed expression to map a string onto a valid variable name.
33221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33222
33223
33224 # IFS
33225 # We need space, tab and new line, in precisely that order.
33226 as_nl='
33227 '
33228 IFS="   $as_nl"
33229
33230 # CDPATH.
33231 $as_unset CDPATH
33232
33233 exec 6>&1
33234
33235 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33236 # report actual input values of CONFIG_FILES etc. instead of their
33237 # values after options handling.  Logging --version etc. is OK.
33238 exec 5>>config.log
33239 {
33240   echo
33241   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33242 ## Running $as_me. ##
33243 _ASBOX
33244 } >&5
33245 cat >&5 <<_CSEOF
33246
33247 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33248 generated by GNU Autoconf 2.59.  Invocation command line was
33249
33250   CONFIG_FILES    = $CONFIG_FILES
33251   CONFIG_HEADERS  = $CONFIG_HEADERS
33252   CONFIG_LINKS    = $CONFIG_LINKS
33253   CONFIG_COMMANDS = $CONFIG_COMMANDS
33254   $ $0 $@
33255
33256 _CSEOF
33257 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33258 echo >&5
33259 _ACEOF
33260
33261 # Files that config.status was made for.
33262 if test -n "$ac_config_files"; then
33263   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33264 fi
33265
33266 if test -n "$ac_config_headers"; then
33267   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33268 fi
33269
33270 if test -n "$ac_config_links"; then
33271   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33272 fi
33273
33274 if test -n "$ac_config_commands"; then
33275   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33276 fi
33277
33278 cat >>$CONFIG_STATUS <<\_ACEOF
33279
33280 ac_cs_usage="\
33281 \`$as_me' instantiates files from templates according to the
33282 current configuration.
33283
33284 Usage: $0 [OPTIONS] [FILE]...
33285
33286   -h, --help       print this help, then exit
33287   -V, --version    print version number, then exit
33288   -q, --quiet      do not print progress messages
33289   -d, --debug      don't remove temporary files
33290       --recheck    update $as_me by reconfiguring in the same conditions
33291   --file=FILE[:TEMPLATE]
33292                    instantiate the configuration file FILE
33293   --header=FILE[:TEMPLATE]
33294                    instantiate the configuration header FILE
33295
33296 Configuration files:
33297 $config_files
33298
33299 Configuration headers:
33300 $config_headers
33301
33302 Configuration commands:
33303 $config_commands
33304
33305 Report bugs to <bug-autoconf@gnu.org>."
33306 _ACEOF
33307
33308 cat >>$CONFIG_STATUS <<_ACEOF
33309 ac_cs_version="\\
33310 GNU Fortran Runtime Library config.status 0.3
33311 configured by $0, generated by GNU Autoconf 2.59,
33312   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33313
33314 Copyright (C) 2003 Free Software Foundation, Inc.
33315 This config.status script is free software; the Free Software Foundation
33316 gives unlimited permission to copy, distribute and modify it."
33317 srcdir=$srcdir
33318 INSTALL="$INSTALL"
33319 _ACEOF
33320
33321 cat >>$CONFIG_STATUS <<\_ACEOF
33322 # If no file are specified by the user, then we need to provide default
33323 # value.  By we need to know if files were specified by the user.
33324 ac_need_defaults=:
33325 while test $# != 0
33326 do
33327   case $1 in
33328   --*=*)
33329     ac_option=`expr "x$1" : 'x\([^=]*\)='`
33330     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33331     ac_shift=:
33332     ;;
33333   -*)
33334     ac_option=$1
33335     ac_optarg=$2
33336     ac_shift=shift
33337     ;;
33338   *) # This is not an option, so the user has probably given explicit
33339      # arguments.
33340      ac_option=$1
33341      ac_need_defaults=false;;
33342   esac
33343
33344   case $ac_option in
33345   # Handling of the options.
33346 _ACEOF
33347 cat >>$CONFIG_STATUS <<\_ACEOF
33348   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33349     ac_cs_recheck=: ;;
33350   --version | --vers* | -V )
33351     echo "$ac_cs_version"; exit 0 ;;
33352   --he | --h)
33353     # Conflict between --help and --header
33354     { { echo "$as_me:$LINENO: error: ambiguous option: $1
33355 Try \`$0 --help' for more information." >&5
33356 echo "$as_me: error: ambiguous option: $1
33357 Try \`$0 --help' for more information." >&2;}
33358    { (exit 1); exit 1; }; };;
33359   --help | --hel | -h )
33360     echo "$ac_cs_usage"; exit 0 ;;
33361   --debug | --d* | -d )
33362     debug=: ;;
33363   --file | --fil | --fi | --f )
33364     $ac_shift
33365     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33366     ac_need_defaults=false;;
33367   --header | --heade | --head | --hea )
33368     $ac_shift
33369     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33370     ac_need_defaults=false;;
33371   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33372   | -silent | --silent | --silen | --sile | --sil | --si | --s)
33373     ac_cs_silent=: ;;
33374
33375   # This is an error.
33376   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33377 Try \`$0 --help' for more information." >&5
33378 echo "$as_me: error: unrecognized option: $1
33379 Try \`$0 --help' for more information." >&2;}
33380    { (exit 1); exit 1; }; } ;;
33381
33382   *) ac_config_targets="$ac_config_targets $1" ;;
33383
33384   esac
33385   shift
33386 done
33387
33388 ac_configure_extra_args=
33389
33390 if $ac_cs_silent; then
33391   exec 6>/dev/null
33392   ac_configure_extra_args="$ac_configure_extra_args --silent"
33393 fi
33394
33395 _ACEOF
33396 cat >>$CONFIG_STATUS <<_ACEOF
33397 if \$ac_cs_recheck; then
33398   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33399   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33400 fi
33401
33402 _ACEOF
33403
33404 cat >>$CONFIG_STATUS <<_ACEOF
33405 #
33406 # INIT-COMMANDS section.
33407 #
33408
33409
33410 srcdir="$srcdir"
33411 host="$host"
33412 target="$target"
33413 with_multisubdir="$with_multisubdir"
33414 with_multisrctop="$with_multisrctop"
33415 with_target_subdir="$with_target_subdir"
33416 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33417 multi_basedir="$multi_basedir"
33418 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33419 CC="$CC"
33420 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33421
33422
33423 # The HP-UX ksh and POSIX shell print the target directory to stdout
33424 # if CDPATH is set.
33425 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33426
33427 sed_quote_subst='$sed_quote_subst'
33428 double_quote_subst='$double_quote_subst'
33429 delay_variable_subst='$delay_variable_subst'
33430 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33431 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33432 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33433 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33434 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33435 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33436 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33437 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33438 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33439 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33440 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33441 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33442 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33443 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33444 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33445 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33446 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33447 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33448 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33449 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33450 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33451 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33452 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33453 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33454 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33455 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33456 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33457 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33458 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33459 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33460 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33461 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33462 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33463 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33464 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33465 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33466 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33467 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33468 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33469 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33470 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33471 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33472 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33473 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"`'
33474 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33475 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33476 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33477 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33478 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33479 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33480 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33481 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33482 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33483 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33484 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33485 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33486 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33487 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33488 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33489 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33490 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33491 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33492 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33493 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33494 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33495 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33496 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33497 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33498 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33499 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33500 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33501 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33502 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33503 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33504 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33505 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33506 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33507 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33508 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33509 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33510 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33511 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33512 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33513 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33514 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33515 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33516 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33517 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33518 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33519 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33520 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33521 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33522 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33523 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33524 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33525 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33526 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33527 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33528 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33529 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33530 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33531 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33532 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33533 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33534 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33535 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33536 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33537 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33538 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33539 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33540 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33541 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33542 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33543 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33544 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33545 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33546 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
33547 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33548 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
33549 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
33550 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33551 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
33552 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33553 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
33554 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
33555 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
33556 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
33557 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33558 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33559 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
33560 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33561 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33562 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33563 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33564 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33565 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33566 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33567 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33568 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33569 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33570 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33571 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
33572 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
33573 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
33574 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
33575 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
33576 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33577 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
33578 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
33579 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33580 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
33581 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33582 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33583 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33584 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33585 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33586 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
33587 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33588 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33589 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33590 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33591 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33592
33593 LTCC='$LTCC'
33594 LTCFLAGS='$LTCFLAGS'
33595 compiler='$compiler_DEFAULT'
33596
33597 # Quote evaled strings.
33598 for var in SED \
33599 GREP \
33600 EGREP \
33601 FGREP \
33602 LD \
33603 NM \
33604 LN_S \
33605 lt_SP2NL \
33606 lt_NL2SP \
33607 reload_flag \
33608 deplibs_check_method \
33609 file_magic_cmd \
33610 AR \
33611 AR_FLAGS \
33612 STRIP \
33613 RANLIB \
33614 CC \
33615 CFLAGS \
33616 compiler \
33617 lt_cv_sys_global_symbol_pipe \
33618 lt_cv_sys_global_symbol_to_cdecl \
33619 lt_cv_sys_global_symbol_to_c_name_address \
33620 SHELL \
33621 ECHO \
33622 lt_prog_compiler_no_builtin_flag \
33623 lt_prog_compiler_wl \
33624 lt_prog_compiler_pic \
33625 lt_prog_compiler_static \
33626 lt_cv_prog_compiler_c_o \
33627 need_locks \
33628 shrext_cmds \
33629 export_dynamic_flag_spec \
33630 whole_archive_flag_spec \
33631 compiler_needs_object \
33632 with_gnu_ld \
33633 allow_undefined_flag \
33634 no_undefined_flag \
33635 hardcode_libdir_flag_spec \
33636 hardcode_libdir_flag_spec_ld \
33637 hardcode_libdir_separator \
33638 fix_srcfile_path \
33639 exclude_expsyms \
33640 include_expsyms \
33641 file_list_spec \
33642 variables_saved_for_relink \
33643 libname_spec \
33644 library_names_spec \
33645 soname_spec \
33646 finish_eval \
33647 old_striplib \
33648 striplib \
33649 predep_objects \
33650 postdep_objects \
33651 predeps \
33652 postdeps \
33653 compiler_lib_search_path \
33654 LD_FC \
33655 compiler_FC \
33656 lt_prog_compiler_no_builtin_flag_FC \
33657 lt_prog_compiler_wl_FC \
33658 lt_prog_compiler_pic_FC \
33659 lt_prog_compiler_static_FC \
33660 lt_cv_prog_compiler_c_o_FC \
33661 export_dynamic_flag_spec_FC \
33662 whole_archive_flag_spec_FC \
33663 compiler_needs_object_FC \
33664 with_gnu_ld_FC \
33665 allow_undefined_flag_FC \
33666 no_undefined_flag_FC \
33667 hardcode_libdir_flag_spec_FC \
33668 hardcode_libdir_flag_spec_ld_FC \
33669 hardcode_libdir_separator_FC \
33670 fix_srcfile_path_FC \
33671 exclude_expsyms_FC \
33672 include_expsyms_FC \
33673 file_list_spec_FC \
33674 predep_objects_FC \
33675 postdep_objects_FC \
33676 predeps_FC \
33677 postdeps_FC \
33678 compiler_lib_search_path_FC; do
33679     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33680     *[\\\\\\\`\\"\\\$]*)
33681       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33682       ;;
33683     *)
33684       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33685       ;;
33686     esac
33687 done
33688
33689 # Double-quote double-evaled strings.
33690 for var in reload_cmds \
33691 old_postinstall_cmds \
33692 old_postuninstall_cmds \
33693 old_archive_cmds \
33694 extract_expsyms_cmds \
33695 old_archive_from_new_cmds \
33696 old_archive_from_expsyms_cmds \
33697 archive_cmds \
33698 archive_expsym_cmds \
33699 module_cmds \
33700 module_expsym_cmds \
33701 export_symbols_cmds \
33702 prelink_cmds \
33703 postinstall_cmds \
33704 postuninstall_cmds \
33705 finish_cmds \
33706 sys_lib_search_path_spec \
33707 sys_lib_dlsearch_path_spec \
33708 old_archive_cmds_FC \
33709 old_archive_from_new_cmds_FC \
33710 old_archive_from_expsyms_cmds_FC \
33711 archive_cmds_FC \
33712 archive_expsym_cmds_FC \
33713 module_cmds_FC \
33714 module_expsym_cmds_FC \
33715 export_symbols_cmds_FC \
33716 prelink_cmds_FC; do
33717     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33718     *[\\\\\\\`\\"\\\$]*)
33719       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33720       ;;
33721     *)
33722       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33723       ;;
33724     esac
33725 done
33726
33727 # Fix-up fallback echo if it was mangled by the above quoting rules.
33728 case \$lt_ECHO in
33729 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
33730   ;;
33731 esac
33732
33733 ac_aux_dir='$ac_aux_dir'
33734 xsi_shell='$xsi_shell'
33735 lt_shell_append='$lt_shell_append'
33736
33737 # See if we are running on zsh, and set the options which allow our
33738 # commands through without removal of \ escapes INIT.
33739 if test -n "\${ZSH_VERSION+set}" ; then
33740    setopt NO_GLOB_SUBST
33741 fi
33742
33743
33744     PACKAGE='$PACKAGE'
33745     VERSION='$VERSION'
33746     TIMESTAMP='$TIMESTAMP'
33747     RM='$RM'
33748     ofile='$ofile'
33749
33750
33751
33752
33753
33754
33755 GCC="$GCC"
33756 CC="$CC"
33757 acx_cv_header_stdint="$acx_cv_header_stdint"
33758 acx_cv_type_int8_t="$acx_cv_type_int8_t"
33759 acx_cv_type_int16_t="$acx_cv_type_int16_t"
33760 acx_cv_type_int32_t="$acx_cv_type_int32_t"
33761 acx_cv_type_int64_t="$acx_cv_type_int64_t"
33762 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
33763 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
33764 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
33765 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33766 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33767 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
33768 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33769 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33770 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
33771
33772
33773 _ACEOF
33774
33775
33776
33777 cat >>$CONFIG_STATUS <<\_ACEOF
33778 for ac_config_target in $ac_config_targets
33779 do
33780   case "$ac_config_target" in
33781   # Handling of arguments.
33782   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33783   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
33784   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33785   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33786   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
33787   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33788   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33789 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33790    { (exit 1); exit 1; }; };;
33791   esac
33792 done
33793
33794 # If the user did not use the arguments to specify the items to instantiate,
33795 # then the envvar interface is used.  Set only those that are not.
33796 # We use the long form for the default assignment because of an extremely
33797 # bizarre bug on SunOS 4.1.3.
33798 if $ac_need_defaults; then
33799   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33800   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33801   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33802 fi
33803
33804 # Have a temporary directory for convenience.  Make it in the build tree
33805 # simply because there is no reason to put it here, and in addition,
33806 # creating and moving files from /tmp can sometimes cause problems.
33807 # Create a temporary directory, and hook for its removal unless debugging.
33808 $debug ||
33809 {
33810   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33811   trap '{ (exit 1); exit 1; }' 1 2 13 15
33812 }
33813
33814 # Create a (secure) tmp directory for tmp files.
33815
33816 {
33817   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33818   test -n "$tmp" && test -d "$tmp"
33819 }  ||
33820 {
33821   tmp=./confstat$$-$RANDOM
33822   (umask 077 && mkdir $tmp)
33823 } ||
33824 {
33825    echo "$me: cannot create a temporary directory in ." >&2
33826    { (exit 1); exit 1; }
33827 }
33828
33829 _ACEOF
33830
33831 cat >>$CONFIG_STATUS <<_ACEOF
33832
33833 #
33834 # CONFIG_FILES section.
33835 #
33836
33837 # No need to generate the scripts if there are no CONFIG_FILES.
33838 # This happens for instance when ./config.status config.h
33839 if test -n "\$CONFIG_FILES"; then
33840   # Protect against being on the right side of a sed subst in config.status.
33841   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33842    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33843 s,@SHELL@,$SHELL,;t t
33844 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33845 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33846 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33847 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33848 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33849 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33850 s,@exec_prefix@,$exec_prefix,;t t
33851 s,@prefix@,$prefix,;t t
33852 s,@program_transform_name@,$program_transform_name,;t t
33853 s,@bindir@,$bindir,;t t
33854 s,@sbindir@,$sbindir,;t t
33855 s,@libexecdir@,$libexecdir,;t t
33856 s,@datadir@,$datadir,;t t
33857 s,@sysconfdir@,$sysconfdir,;t t
33858 s,@sharedstatedir@,$sharedstatedir,;t t
33859 s,@localstatedir@,$localstatedir,;t t
33860 s,@libdir@,$libdir,;t t
33861 s,@includedir@,$includedir,;t t
33862 s,@oldincludedir@,$oldincludedir,;t t
33863 s,@infodir@,$infodir,;t t
33864 s,@mandir@,$mandir,;t t
33865 s,@build_alias@,$build_alias,;t t
33866 s,@host_alias@,$host_alias,;t t
33867 s,@target_alias@,$target_alias,;t t
33868 s,@DEFS@,$DEFS,;t t
33869 s,@ECHO_C@,$ECHO_C,;t t
33870 s,@ECHO_N@,$ECHO_N,;t t
33871 s,@ECHO_T@,$ECHO_T,;t t
33872 s,@LIBS@,$LIBS,;t t
33873 s,@build@,$build,;t t
33874 s,@build_cpu@,$build_cpu,;t t
33875 s,@build_vendor@,$build_vendor,;t t
33876 s,@build_os@,$build_os,;t t
33877 s,@build_libsubdir@,$build_libsubdir,;t t
33878 s,@build_subdir@,$build_subdir,;t t
33879 s,@host_subdir@,$host_subdir,;t t
33880 s,@target_subdir@,$target_subdir,;t t
33881 s,@host@,$host,;t t
33882 s,@host_cpu@,$host_cpu,;t t
33883 s,@host_vendor@,$host_vendor,;t t
33884 s,@host_os@,$host_os,;t t
33885 s,@target@,$target,;t t
33886 s,@target_cpu@,$target_cpu,;t t
33887 s,@target_vendor@,$target_vendor,;t t
33888 s,@target_os@,$target_os,;t t
33889 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33890 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33891 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33892 s,@CYGPATH_W@,$CYGPATH_W,;t t
33893 s,@PACKAGE@,$PACKAGE,;t t
33894 s,@VERSION@,$VERSION,;t t
33895 s,@ACLOCAL@,$ACLOCAL,;t t
33896 s,@AUTOCONF@,$AUTOCONF,;t t
33897 s,@AUTOMAKE@,$AUTOMAKE,;t t
33898 s,@AUTOHEADER@,$AUTOHEADER,;t t
33899 s,@MAKEINFO@,$MAKEINFO,;t t
33900 s,@install_sh@,$install_sh,;t t
33901 s,@STRIP@,$STRIP,;t t
33902 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33903 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33904 s,@mkdir_p@,$mkdir_p,;t t
33905 s,@AWK@,$AWK,;t t
33906 s,@SET_MAKE@,$SET_MAKE,;t t
33907 s,@am__leading_dot@,$am__leading_dot,;t t
33908 s,@AMTAR@,$AMTAR,;t t
33909 s,@am__tar@,$am__tar,;t t
33910 s,@am__untar@,$am__untar,;t t
33911 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33912 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33913 s,@MAINT@,$MAINT,;t t
33914 s,@multi_basedir@,$multi_basedir,;t t
33915 s,@toolexecdir@,$toolexecdir,;t t
33916 s,@toolexeclibdir@,$toolexeclibdir,;t t
33917 s,@CC@,$CC,;t t
33918 s,@ac_ct_CC@,$ac_ct_CC,;t t
33919 s,@EXEEXT@,$EXEEXT,;t t
33920 s,@OBJEXT@,$OBJEXT,;t t
33921 s,@DEPDIR@,$DEPDIR,;t t
33922 s,@am__include@,$am__include,;t t
33923 s,@am__quote@,$am__quote,;t t
33924 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33925 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33926 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33927 s,@CCDEPMODE@,$CCDEPMODE,;t t
33928 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33929 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33930 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
33931 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
33932 s,@CFLAGS@,$CFLAGS,;t t
33933 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
33934 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
33935 s,@AS@,$AS,;t t
33936 s,@ac_ct_AS@,$ac_ct_AS,;t t
33937 s,@AR@,$AR,;t t
33938 s,@ac_ct_AR@,$ac_ct_AR,;t t
33939 s,@RANLIB@,$RANLIB,;t t
33940 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33941 s,@LIBTOOL@,$LIBTOOL,;t t
33942 s,@SED@,$SED,;t t
33943 s,@EGREP@,$EGREP,;t t
33944 s,@FGREP@,$FGREP,;t t
33945 s,@GREP@,$GREP,;t t
33946 s,@LD@,$LD,;t t
33947 s,@DUMPBIN@,$DUMPBIN,;t t
33948 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
33949 s,@NM@,$NM,;t t
33950 s,@LN_S@,$LN_S,;t t
33951 s,@lt_ECHO@,$lt_ECHO,;t t
33952 s,@CPP@,$CPP,;t t
33953 s,@CPPFLAGS@,$CPPFLAGS,;t t
33954 s,@enable_shared@,$enable_shared,;t t
33955 s,@enable_static@,$enable_static,;t t
33956 s,@FC@,$FC,;t t
33957 s,@FCFLAGS@,$FCFLAGS,;t t
33958 s,@LDFLAGS@,$LDFLAGS,;t t
33959 s,@ac_ct_FC@,$ac_ct_FC,;t t
33960 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
33961 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
33962 s,@LIBOBJS@,$LIBOBJS,;t t
33963 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33964 CEOF
33965
33966 _ACEOF
33967
33968   cat >>$CONFIG_STATUS <<\_ACEOF
33969   # Split the substitutions into bite-sized pieces for seds with
33970   # small command number limits, like on Digital OSF/1 and HP-UX.
33971   ac_max_sed_lines=48
33972   ac_sed_frag=1 # Number of current file.
33973   ac_beg=1 # First line for current file.
33974   ac_end=$ac_max_sed_lines # Line after last line for current file.
33975   ac_more_lines=:
33976   ac_sed_cmds=
33977   while $ac_more_lines; do
33978     if test $ac_beg -gt 1; then
33979       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33980     else
33981       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33982     fi
33983     if test ! -s $tmp/subs.frag; then
33984       ac_more_lines=false
33985     else
33986       # The purpose of the label and of the branching condition is to
33987       # speed up the sed processing (if there are no `@' at all, there
33988       # is no need to browse any of the substitutions).
33989       # These are the two extra sed commands mentioned above.
33990       (echo ':t
33991   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33992       if test -z "$ac_sed_cmds"; then
33993         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33994       else
33995         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33996       fi
33997       ac_sed_frag=`expr $ac_sed_frag + 1`
33998       ac_beg=$ac_end
33999       ac_end=`expr $ac_end + $ac_max_sed_lines`
34000     fi
34001   done
34002   if test -z "$ac_sed_cmds"; then
34003     ac_sed_cmds=cat
34004   fi
34005 fi # test -n "$CONFIG_FILES"
34006
34007 _ACEOF
34008 cat >>$CONFIG_STATUS <<\_ACEOF
34009 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34010   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34011   case $ac_file in
34012   - | *:- | *:-:* ) # input from stdin
34013         cat >$tmp/stdin
34014         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34015         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34016   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34017         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34018   * )   ac_file_in=$ac_file.in ;;
34019   esac
34020
34021   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34022   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34024          X"$ac_file" : 'X\(//\)[^/]' \| \
34025          X"$ac_file" : 'X\(//\)$' \| \
34026          X"$ac_file" : 'X\(/\)' \| \
34027          .     : '\(.\)' 2>/dev/null ||
34028 echo X"$ac_file" |
34029     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34030           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34031           /^X\(\/\/\)$/{ s//\1/; q; }
34032           /^X\(\/\).*/{ s//\1/; q; }
34033           s/.*/./; q'`
34034   { if $as_mkdir_p; then
34035     mkdir -p "$ac_dir"
34036   else
34037     as_dir="$ac_dir"
34038     as_dirs=
34039     while test ! -d "$as_dir"; do
34040       as_dirs="$as_dir $as_dirs"
34041       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34043          X"$as_dir" : 'X\(//\)[^/]' \| \
34044          X"$as_dir" : 'X\(//\)$' \| \
34045          X"$as_dir" : 'X\(/\)' \| \
34046          .     : '\(.\)' 2>/dev/null ||
34047 echo X"$as_dir" |
34048     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34049           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34050           /^X\(\/\/\)$/{ s//\1/; q; }
34051           /^X\(\/\).*/{ s//\1/; q; }
34052           s/.*/./; q'`
34053     done
34054     test ! -n "$as_dirs" || mkdir $as_dirs
34055   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34056 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34057    { (exit 1); exit 1; }; }; }
34058
34059   ac_builddir=.
34060
34061 if test "$ac_dir" != .; then
34062   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34063   # A "../" for each directory in $ac_dir_suffix.
34064   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34065 else
34066   ac_dir_suffix= ac_top_builddir=
34067 fi
34068
34069 case $srcdir in
34070   .)  # No --srcdir option.  We are building in place.
34071     ac_srcdir=.
34072     if test -z "$ac_top_builddir"; then
34073        ac_top_srcdir=.
34074     else
34075        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34076     fi ;;
34077   [\\/]* | ?:[\\/]* )  # Absolute path.
34078     ac_srcdir=$srcdir$ac_dir_suffix;
34079     ac_top_srcdir=$srcdir ;;
34080   *) # Relative path.
34081     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34082     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34083 esac
34084
34085 # Do not use `cd foo && pwd` to compute absolute paths, because
34086 # the directories may not exist.
34087 case `pwd` in
34088 .) ac_abs_builddir="$ac_dir";;
34089 *)
34090   case "$ac_dir" in
34091   .) ac_abs_builddir=`pwd`;;
34092   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34093   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34094   esac;;
34095 esac
34096 case $ac_abs_builddir in
34097 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34098 *)
34099   case ${ac_top_builddir}. in
34100   .) ac_abs_top_builddir=$ac_abs_builddir;;
34101   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34102   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34103   esac;;
34104 esac
34105 case $ac_abs_builddir in
34106 .) ac_abs_srcdir=$ac_srcdir;;
34107 *)
34108   case $ac_srcdir in
34109   .) ac_abs_srcdir=$ac_abs_builddir;;
34110   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34111   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34112   esac;;
34113 esac
34114 case $ac_abs_builddir in
34115 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34116 *)
34117   case $ac_top_srcdir in
34118   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34119   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34120   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34121   esac;;
34122 esac
34123
34124
34125   case $INSTALL in
34126   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34127   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34128   esac
34129
34130   if test x"$ac_file" != x-; then
34131     { echo "$as_me:$LINENO: creating $ac_file" >&5
34132 echo "$as_me: creating $ac_file" >&6;}
34133     rm -f "$ac_file"
34134   fi
34135   # Let's still pretend it is `configure' which instantiates (i.e., don't
34136   # use $as_me), people would be surprised to read:
34137   #    /* config.h.  Generated by config.status.  */
34138   if test x"$ac_file" = x-; then
34139     configure_input=
34140   else
34141     configure_input="$ac_file.  "
34142   fi
34143   configure_input=$configure_input"Generated from `echo $ac_file_in |
34144                                      sed 's,.*/,,'` by configure."
34145
34146   # First look for the input files in the build tree, otherwise in the
34147   # src tree.
34148   ac_file_inputs=`IFS=:
34149     for f in $ac_file_in; do
34150       case $f in
34151       -) echo $tmp/stdin ;;
34152       [\\/$]*)
34153          # Absolute (can't be DOS-style, as IFS=:)
34154          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34155 echo "$as_me: error: cannot find input file: $f" >&2;}
34156    { (exit 1); exit 1; }; }
34157          echo "$f";;
34158       *) # Relative
34159          if test -f "$f"; then
34160            # Build tree
34161            echo "$f"
34162          elif test -f "$srcdir/$f"; then
34163            # Source tree
34164            echo "$srcdir/$f"
34165          else
34166            # /dev/null tree
34167            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34168 echo "$as_me: error: cannot find input file: $f" >&2;}
34169    { (exit 1); exit 1; }; }
34170          fi;;
34171       esac
34172     done` || { (exit 1); exit 1; }
34173 _ACEOF
34174 cat >>$CONFIG_STATUS <<_ACEOF
34175   sed "$ac_vpsub
34176 $extrasub
34177 _ACEOF
34178 cat >>$CONFIG_STATUS <<\_ACEOF
34179 :t
34180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34181 s,@configure_input@,$configure_input,;t t
34182 s,@srcdir@,$ac_srcdir,;t t
34183 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34184 s,@top_srcdir@,$ac_top_srcdir,;t t
34185 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34186 s,@builddir@,$ac_builddir,;t t
34187 s,@abs_builddir@,$ac_abs_builddir,;t t
34188 s,@top_builddir@,$ac_top_builddir,;t t
34189 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34190 s,@INSTALL@,$ac_INSTALL,;t t
34191 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34192   rm -f $tmp/stdin
34193   if test x"$ac_file" != x-; then
34194     mv $tmp/out $ac_file
34195   else
34196     cat $tmp/out
34197     rm -f $tmp/out
34198   fi
34199
34200 done
34201 _ACEOF
34202 cat >>$CONFIG_STATUS <<\_ACEOF
34203
34204 #
34205 # CONFIG_HEADER section.
34206 #
34207
34208 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34209 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34210 #
34211 # ac_d sets the value in "#define NAME VALUE" lines.
34212 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34213 ac_dB='[         ].*$,\1#\2'
34214 ac_dC=' '
34215 ac_dD=',;t'
34216 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34217 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34218 ac_uB='$,\1#\2define\3'
34219 ac_uC=' '
34220 ac_uD=',;t'
34221
34222 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34223   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34224   case $ac_file in
34225   - | *:- | *:-:* ) # input from stdin
34226         cat >$tmp/stdin
34227         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34228         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34229   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34230         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34231   * )   ac_file_in=$ac_file.in ;;
34232   esac
34233
34234   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34235 echo "$as_me: creating $ac_file" >&6;}
34236
34237   # First look for the input files in the build tree, otherwise in the
34238   # src tree.
34239   ac_file_inputs=`IFS=:
34240     for f in $ac_file_in; do
34241       case $f in
34242       -) echo $tmp/stdin ;;
34243       [\\/$]*)
34244          # Absolute (can't be DOS-style, as IFS=:)
34245          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34246 echo "$as_me: error: cannot find input file: $f" >&2;}
34247    { (exit 1); exit 1; }; }
34248          # Do quote $f, to prevent DOS paths from being IFS'd.
34249          echo "$f";;
34250       *) # Relative
34251          if test -f "$f"; then
34252            # Build tree
34253            echo "$f"
34254          elif test -f "$srcdir/$f"; then
34255            # Source tree
34256            echo "$srcdir/$f"
34257          else
34258            # /dev/null tree
34259            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34260 echo "$as_me: error: cannot find input file: $f" >&2;}
34261    { (exit 1); exit 1; }; }
34262          fi;;
34263       esac
34264     done` || { (exit 1); exit 1; }
34265   # Remove the trailing spaces.
34266   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
34267
34268 _ACEOF
34269
34270 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34271 # `conftest.undefs', that substitutes the proper values into
34272 # config.h.in to produce config.h.  The first handles `#define'
34273 # templates, and the second `#undef' templates.
34274 # And first: Protect against being on the right side of a sed subst in
34275 # config.status.  Protect against being in an unquoted here document
34276 # in config.status.
34277 rm -f conftest.defines conftest.undefs
34278 # Using a here document instead of a string reduces the quoting nightmare.
34279 # Putting comments in sed scripts is not portable.
34280 #
34281 # `end' is used to avoid that the second main sed command (meant for
34282 # 0-ary CPP macros) applies to n-ary macro definitions.
34283 # See the Autoconf documentation for `clear'.
34284 cat >confdef2sed.sed <<\_ACEOF
34285 s/[\\&,]/\\&/g
34286 s,[\\$`],\\&,g
34287 t clear
34288 : clear
34289 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34290 t end
34291 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34292 : end
34293 _ACEOF
34294 # If some macros were called several times there might be several times
34295 # the same #defines, which is useless.  Nevertheless, we may not want to
34296 # sort them, since we want the *last* AC-DEFINE to be honored.
34297 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34298 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34299 rm -f confdef2sed.sed
34300
34301 # This sed command replaces #undef with comments.  This is necessary, for
34302 # example, in the case of _POSIX_SOURCE, which is predefined and required
34303 # on some systems where configure will not decide to define it.
34304 cat >>conftest.undefs <<\_ACEOF
34305 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34306 _ACEOF
34307
34308 # Break up conftest.defines because some shells have a limit on the size
34309 # of here documents, and old seds have small limits too (100 cmds).
34310 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34311 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34312 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34313 echo '  :' >>$CONFIG_STATUS
34314 rm -f conftest.tail
34315 while grep . conftest.defines >/dev/null
34316 do
34317   # Write a limited-size here document to $tmp/defines.sed.
34318   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34319   # Speed up: don't consider the non `#define' lines.
34320   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
34321   # Work around the forget-to-reset-the-flag bug.
34322   echo 't clr' >>$CONFIG_STATUS
34323   echo ': clr' >>$CONFIG_STATUS
34324   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34325   echo 'CEOF
34326   sed -f $tmp/defines.sed $tmp/in >$tmp/out
34327   rm -f $tmp/in
34328   mv $tmp/out $tmp/in
34329 ' >>$CONFIG_STATUS
34330   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34331   rm -f conftest.defines
34332   mv conftest.tail conftest.defines
34333 done
34334 rm -f conftest.defines
34335 echo '  fi # grep' >>$CONFIG_STATUS
34336 echo >>$CONFIG_STATUS
34337
34338 # Break up conftest.undefs because some shells have a limit on the size
34339 # of here documents, and old seds have small limits too (100 cmds).
34340 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
34341 rm -f conftest.tail
34342 while grep . conftest.undefs >/dev/null
34343 do
34344   # Write a limited-size here document to $tmp/undefs.sed.
34345   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34346   # Speed up: don't consider the non `#undef'
34347   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
34348   # Work around the forget-to-reset-the-flag bug.
34349   echo 't clr' >>$CONFIG_STATUS
34350   echo ': clr' >>$CONFIG_STATUS
34351   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34352   echo 'CEOF
34353   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34354   rm -f $tmp/in
34355   mv $tmp/out $tmp/in
34356 ' >>$CONFIG_STATUS
34357   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34358   rm -f conftest.undefs
34359   mv conftest.tail conftest.undefs
34360 done
34361 rm -f conftest.undefs
34362
34363 cat >>$CONFIG_STATUS <<\_ACEOF
34364   # Let's still pretend it is `configure' which instantiates (i.e., don't
34365   # use $as_me), people would be surprised to read:
34366   #    /* config.h.  Generated by config.status.  */
34367   if test x"$ac_file" = x-; then
34368     echo "/* Generated by configure.  */" >$tmp/config.h
34369   else
34370     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
34371   fi
34372   cat $tmp/in >>$tmp/config.h
34373   rm -f $tmp/in
34374   if test x"$ac_file" != x-; then
34375     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34376       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34377 echo "$as_me: $ac_file is unchanged" >&6;}
34378     else
34379       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34381          X"$ac_file" : 'X\(//\)[^/]' \| \
34382          X"$ac_file" : 'X\(//\)$' \| \
34383          X"$ac_file" : 'X\(/\)' \| \
34384          .     : '\(.\)' 2>/dev/null ||
34385 echo X"$ac_file" |
34386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34387           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34388           /^X\(\/\/\)$/{ s//\1/; q; }
34389           /^X\(\/\).*/{ s//\1/; q; }
34390           s/.*/./; q'`
34391       { if $as_mkdir_p; then
34392     mkdir -p "$ac_dir"
34393   else
34394     as_dir="$ac_dir"
34395     as_dirs=
34396     while test ! -d "$as_dir"; do
34397       as_dirs="$as_dir $as_dirs"
34398       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34400          X"$as_dir" : 'X\(//\)[^/]' \| \
34401          X"$as_dir" : 'X\(//\)$' \| \
34402          X"$as_dir" : 'X\(/\)' \| \
34403          .     : '\(.\)' 2>/dev/null ||
34404 echo X"$as_dir" |
34405     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34406           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34407           /^X\(\/\/\)$/{ s//\1/; q; }
34408           /^X\(\/\).*/{ s//\1/; q; }
34409           s/.*/./; q'`
34410     done
34411     test ! -n "$as_dirs" || mkdir $as_dirs
34412   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34413 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34414    { (exit 1); exit 1; }; }; }
34415
34416       rm -f $ac_file
34417       mv $tmp/config.h $ac_file
34418     fi
34419   else
34420     cat $tmp/config.h
34421     rm -f $tmp/config.h
34422   fi
34423 # Compute $ac_file's index in $config_headers.
34424 _am_stamp_count=1
34425 for _am_header in $config_headers :; do
34426   case $_am_header in
34427     $ac_file | $ac_file:* )
34428       break ;;
34429     * )
34430       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34431   esac
34432 done
34433 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34434 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34435          X$ac_file : 'X\(//\)[^/]' \| \
34436          X$ac_file : 'X\(//\)$' \| \
34437          X$ac_file : 'X\(/\)' \| \
34438          .     : '\(.\)' 2>/dev/null ||
34439 echo X$ac_file |
34440     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34441           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34442           /^X\(\/\/\)$/{ s//\1/; q; }
34443           /^X\(\/\).*/{ s//\1/; q; }
34444           s/.*/./; q'`/stamp-h$_am_stamp_count
34445 done
34446 _ACEOF
34447 cat >>$CONFIG_STATUS <<\_ACEOF
34448
34449 #
34450 # CONFIG_COMMANDS section.
34451 #
34452 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34453   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34454   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34455   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34456 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34457          X"$ac_dest" : 'X\(//\)[^/]' \| \
34458          X"$ac_dest" : 'X\(//\)$' \| \
34459          X"$ac_dest" : 'X\(/\)' \| \
34460          .     : '\(.\)' 2>/dev/null ||
34461 echo X"$ac_dest" |
34462     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34463           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34464           /^X\(\/\/\)$/{ s//\1/; q; }
34465           /^X\(\/\).*/{ s//\1/; q; }
34466           s/.*/./; q'`
34467   { if $as_mkdir_p; then
34468     mkdir -p "$ac_dir"
34469   else
34470     as_dir="$ac_dir"
34471     as_dirs=
34472     while test ! -d "$as_dir"; do
34473       as_dirs="$as_dir $as_dirs"
34474       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34476          X"$as_dir" : 'X\(//\)[^/]' \| \
34477          X"$as_dir" : 'X\(//\)$' \| \
34478          X"$as_dir" : 'X\(/\)' \| \
34479          .     : '\(.\)' 2>/dev/null ||
34480 echo X"$as_dir" |
34481     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34482           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34483           /^X\(\/\/\)$/{ s//\1/; q; }
34484           /^X\(\/\).*/{ s//\1/; q; }
34485           s/.*/./; q'`
34486     done
34487     test ! -n "$as_dirs" || mkdir $as_dirs
34488   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34489 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34490    { (exit 1); exit 1; }; }; }
34491
34492   ac_builddir=.
34493
34494 if test "$ac_dir" != .; then
34495   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34496   # A "../" for each directory in $ac_dir_suffix.
34497   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34498 else
34499   ac_dir_suffix= ac_top_builddir=
34500 fi
34501
34502 case $srcdir in
34503   .)  # No --srcdir option.  We are building in place.
34504     ac_srcdir=.
34505     if test -z "$ac_top_builddir"; then
34506        ac_top_srcdir=.
34507     else
34508        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34509     fi ;;
34510   [\\/]* | ?:[\\/]* )  # Absolute path.
34511     ac_srcdir=$srcdir$ac_dir_suffix;
34512     ac_top_srcdir=$srcdir ;;
34513   *) # Relative path.
34514     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34515     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34516 esac
34517
34518 # Do not use `cd foo && pwd` to compute absolute paths, because
34519 # the directories may not exist.
34520 case `pwd` in
34521 .) ac_abs_builddir="$ac_dir";;
34522 *)
34523   case "$ac_dir" in
34524   .) ac_abs_builddir=`pwd`;;
34525   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34526   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34527   esac;;
34528 esac
34529 case $ac_abs_builddir in
34530 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34531 *)
34532   case ${ac_top_builddir}. in
34533   .) ac_abs_top_builddir=$ac_abs_builddir;;
34534   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34535   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34536   esac;;
34537 esac
34538 case $ac_abs_builddir in
34539 .) ac_abs_srcdir=$ac_srcdir;;
34540 *)
34541   case $ac_srcdir in
34542   .) ac_abs_srcdir=$ac_abs_builddir;;
34543   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34544   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34545   esac;;
34546 esac
34547 case $ac_abs_builddir in
34548 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34549 *)
34550   case $ac_top_srcdir in
34551   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34552   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34553   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34554   esac;;
34555 esac
34556
34557
34558   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34559 echo "$as_me: executing $ac_dest commands" >&6;}
34560   case $ac_dest in
34561     default-1 )
34562 # Only add multilib support code if we just rebuilt the top-level
34563 # Makefile.
34564 case " $CONFIG_FILES " in
34565  *" Makefile "*)
34566    ac_file=Makefile . ${multi_basedir}/config-ml.in
34567    ;;
34568 esac ;;
34569     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34570   # Strip MF so we end up with the name of the file.
34571   mf=`echo "$mf" | sed -e 's/:.*$//'`
34572   # Check whether this is an Automake generated Makefile or not.
34573   # We used to match only the files named `Makefile.in', but
34574   # some people rename them; so instead we look at the file content.
34575   # Grep'ing the first line is not enough: some people post-process
34576   # each Makefile.in and add a new line on top of each file to say so.
34577   # So let's grep whole file.
34578   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34579     dirpart=`(dirname "$mf") 2>/dev/null ||
34580 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34581          X"$mf" : 'X\(//\)[^/]' \| \
34582          X"$mf" : 'X\(//\)$' \| \
34583          X"$mf" : 'X\(/\)' \| \
34584          .     : '\(.\)' 2>/dev/null ||
34585 echo X"$mf" |
34586     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34587           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34588           /^X\(\/\/\)$/{ s//\1/; q; }
34589           /^X\(\/\).*/{ s//\1/; q; }
34590           s/.*/./; q'`
34591   else
34592     continue
34593   fi
34594   # Extract the definition of DEPDIR, am__include, and am__quote
34595   # from the Makefile without running `make'.
34596   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34597   test -z "$DEPDIR" && continue
34598   am__include=`sed -n 's/^am__include = //p' < "$mf"`
34599   test -z "am__include" && continue
34600   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34601   # When using ansi2knr, U may be empty or an underscore; expand it
34602   U=`sed -n 's/^U = //p' < "$mf"`
34603   # Find all dependency output files, they are included files with
34604   # $(DEPDIR) in their names.  We invoke sed twice because it is the
34605   # simplest approach to changing $(DEPDIR) to its actual value in the
34606   # expansion.
34607   for file in `sed -n "
34608     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34609        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34610     # Make sure the directory exists.
34611     test -f "$dirpart/$file" && continue
34612     fdir=`(dirname "$file") 2>/dev/null ||
34613 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34614          X"$file" : 'X\(//\)[^/]' \| \
34615          X"$file" : 'X\(//\)$' \| \
34616          X"$file" : 'X\(/\)' \| \
34617          .     : '\(.\)' 2>/dev/null ||
34618 echo X"$file" |
34619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34620           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34621           /^X\(\/\/\)$/{ s//\1/; q; }
34622           /^X\(\/\).*/{ s//\1/; q; }
34623           s/.*/./; q'`
34624     { if $as_mkdir_p; then
34625     mkdir -p $dirpart/$fdir
34626   else
34627     as_dir=$dirpart/$fdir
34628     as_dirs=
34629     while test ! -d "$as_dir"; do
34630       as_dirs="$as_dir $as_dirs"
34631       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34633          X"$as_dir" : 'X\(//\)[^/]' \| \
34634          X"$as_dir" : 'X\(//\)$' \| \
34635          X"$as_dir" : 'X\(/\)' \| \
34636          .     : '\(.\)' 2>/dev/null ||
34637 echo X"$as_dir" |
34638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34639           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34640           /^X\(\/\/\)$/{ s//\1/; q; }
34641           /^X\(\/\).*/{ s//\1/; q; }
34642           s/.*/./; q'`
34643     done
34644     test ! -n "$as_dirs" || mkdir $as_dirs
34645   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34646 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34647    { (exit 1); exit 1; }; }; }
34648
34649     # echo "creating $dirpart/$file"
34650     echo '# dummy' > "$dirpart/$file"
34651   done
34652 done
34653  ;;
34654     libtool )
34655
34656     # See if we are running on zsh, and set the options which allow our
34657     # commands through without removal of \ escapes.
34658     if test -n "${ZSH_VERSION+set}" ; then
34659       setopt NO_GLOB_SUBST
34660     fi
34661
34662     cfgfile="${ofile}T"
34663     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34664     $RM "$cfgfile"
34665
34666     cat <<_LT_EOF >> "$cfgfile"
34667 #! $SHELL
34668
34669 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34670 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
34671 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34672 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34673 #
34674 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34675 # 2006, 2007 Free Software Foundation, Inc.
34676 #
34677 # This file is part of GNU Libtool:
34678 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
34679 #
34680 # This program is free software; you can redistribute it and/or modify
34681 # it under the terms of the GNU General Public License as published by
34682 # the Free Software Foundation; either version 2 of the License, or
34683 # (at your option) any later version.
34684 #
34685 # This program is distributed in the hope that it will be useful, but
34686 # WITHOUT ANY WARRANTY; without even the implied warranty of
34687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
34688 # General Public License for more details.
34689 #
34690 # You should have received a copy of the GNU General Public License
34691 # along with this program; if not, a copy can be downloaded from
34692 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
34693 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34694 # MA 02110-1301, USA.
34695 #
34696 # As a special exception to the GNU General Public License, if you
34697 # distribute this file as part of a program that contains a
34698 # configuration script generated by Autoconf, you may include it under
34699 # the same distribution terms that you use for the rest of that program.
34700
34701
34702 # The names of the tagged configurations supported by this script.
34703 available_tags="FC "
34704
34705 # ### BEGIN LIBTOOL CONFIG
34706
34707 # Which release of libtool.m4 was used?
34708 macro_version=$macro_version
34709 macro_revision=$macro_revision
34710
34711 # Whether or not to build shared libraries.
34712 build_libtool_libs=$enable_shared
34713
34714 # Whether or not to build static libraries.
34715 build_old_libs=$enable_static
34716
34717 # What type of objects to build.
34718 pic_mode=$pic_mode
34719
34720 # Whether or not to optimize for fast installation.
34721 fast_install=$enable_fast_install
34722
34723 # The host system.
34724 host_alias=$host_alias
34725 host=$host
34726 host_os=$host_os
34727
34728 # The build system.
34729 build_alias=$build_alias
34730 build=$build
34731 build_os=$build_os
34732
34733 # A sed program that does not truncate output.
34734 SED=$lt_SED
34735
34736 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34737 Xsed="\$SED -e 1s/^X//"
34738
34739 # A grep program that handles long lines.
34740 GREP=$lt_GREP
34741
34742 # An ERE matcher.
34743 EGREP=$lt_EGREP
34744
34745 # A literal string matcher.
34746 FGREP=$lt_FGREP
34747
34748 # A BSD- or MS-compatible name lister.
34749 NM=$lt_NM
34750
34751 # Whether we need soft or hard links.
34752 LN_S=$lt_LN_S
34753
34754 # What is the maximum length of a command?
34755 max_cmd_len=$max_cmd_len
34756
34757 # Object file suffix (normally "o").
34758 objext=$ac_objext
34759
34760 # Executable file suffix (normally "").
34761 exeext=$exeext
34762
34763 # whether the shell understands "unset".
34764 lt_unset=$lt_unset
34765
34766 # turn spaces into newlines.
34767 SP2NL=$lt_lt_SP2NL
34768
34769 # turn newlines into spaces.
34770 NL2SP=$lt_lt_NL2SP
34771
34772 # How to create reloadable object files.
34773 reload_flag=$lt_reload_flag
34774 reload_cmds=$lt_reload_cmds
34775
34776 # Method to check whether dependent libraries are shared objects.
34777 deplibs_check_method=$lt_deplibs_check_method
34778
34779 # Command to use when deplibs_check_method == "file_magic".
34780 file_magic_cmd=$lt_file_magic_cmd
34781
34782 # The archiver.
34783 AR=$lt_AR
34784 AR_FLAGS=$lt_AR_FLAGS
34785
34786 # A symbol stripping program.
34787 STRIP=$lt_STRIP
34788
34789 # Commands used to install an old-style archive.
34790 RANLIB=$lt_RANLIB
34791 old_postinstall_cmds=$lt_old_postinstall_cmds
34792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34793
34794 # A C compiler.
34795 LTCC=$lt_CC
34796
34797 # LTCC compiler flags.
34798 LTCFLAGS=$lt_CFLAGS
34799
34800 # Take the output of nm and produce a listing of raw symbols and C names.
34801 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34802
34803 # Transform the output of nm in a proper C declaration.
34804 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34805
34806 # Transform the output of nm in a C name address pair.
34807 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34808
34809 # The name of the directory that contains temporary libtool files.
34810 objdir=$objdir
34811
34812 # Shell to use when invoking shell scripts.
34813 SHELL=$lt_SHELL
34814
34815 # An echo program that does not interpret backslashes.
34816 ECHO=$lt_ECHO
34817
34818 # Used to examine libraries when file_magic_cmd begins with "file".
34819 MAGIC_CMD=$MAGIC_CMD
34820
34821 # Must we lock files when doing compilation?
34822 need_locks=$lt_need_locks
34823
34824 # Old archive suffix (normally "a").
34825 libext=$libext
34826
34827 # Shared library suffix (normally ".so").
34828 shrext_cmds=$lt_shrext_cmds
34829
34830 # The commands to extract the exported symbol list from a shared archive.
34831 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34832
34833 # Variables whose values should be saved in libtool wrapper scripts and
34834 # restored at link time.
34835 variables_saved_for_relink=$lt_variables_saved_for_relink
34836
34837 # Do we need the "lib" prefix for modules?
34838 need_lib_prefix=$need_lib_prefix
34839
34840 # Do we need a version for libraries?
34841 need_version=$need_version
34842
34843 # Library versioning type.
34844 version_type=$version_type
34845
34846 # Shared library runtime path variable.
34847 runpath_var=$runpath_var
34848
34849 # Shared library path variable.
34850 shlibpath_var=$shlibpath_var
34851
34852 # Is shlibpath searched before the hard-coded library search path?
34853 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34854
34855 # Format of library name prefix.
34856 libname_spec=$lt_libname_spec
34857
34858 # List of archive names.  First name is the real one, the rest are links.
34859 # The last name is the one that the linker finds with -lNAME
34860 library_names_spec=$lt_library_names_spec
34861
34862 # The coded name of the library, if different from the real name.
34863 soname_spec=$lt_soname_spec
34864
34865 # Command to use after installation of a shared archive.
34866 postinstall_cmds=$lt_postinstall_cmds
34867
34868 # Command to use after uninstallation of a shared archive.
34869 postuninstall_cmds=$lt_postuninstall_cmds
34870
34871 # Commands used to finish a libtool library installation in a directory.
34872 finish_cmds=$lt_finish_cmds
34873
34874 # As "finish_cmds", except a single script fragment to be evaled but
34875 # not shown.
34876 finish_eval=$lt_finish_eval
34877
34878 # Whether we should hardcode library paths into libraries.
34879 hardcode_into_libs=$hardcode_into_libs
34880
34881 # Compile-time system search path for libraries.
34882 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34883
34884 # Run-time system search path for libraries.
34885 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34886
34887 # Whether dlopen is supported.
34888 dlopen_support=$enable_dlopen
34889
34890 # Whether dlopen of programs is supported.
34891 dlopen_self=$enable_dlopen_self
34892
34893 # Whether dlopen of statically linked programs is supported.
34894 dlopen_self_static=$enable_dlopen_self_static
34895
34896 # Commands to strip libraries.
34897 old_striplib=$lt_old_striplib
34898 striplib=$lt_striplib
34899
34900
34901 # The linker used to build libraries.
34902 LD=$lt_LD
34903
34904 # Commands used to build an old-style archive.
34905 old_archive_cmds=$lt_old_archive_cmds
34906
34907 # A language specific compiler.
34908 CC=$lt_compiler
34909
34910 # Is the compiler the GNU compiler?
34911 with_gcc=$GCC
34912
34913 # Compiler flag to turn off builtin functions.
34914 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34915
34916 # How to pass a linker flag through the compiler.
34917 wl=$lt_lt_prog_compiler_wl
34918
34919 # Additional compiler flags for building library objects.
34920 pic_flag=$lt_lt_prog_compiler_pic
34921
34922 # Compiler flag to prevent dynamic linking.
34923 link_static_flag=$lt_lt_prog_compiler_static
34924
34925 # Does compiler simultaneously support -c and -o options?
34926 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34927
34928 # Whether or not to add -lc for building shared libraries.
34929 build_libtool_need_lc=$archive_cmds_need_lc
34930
34931 # Whether or not to disallow shared libs when runtime libs are static.
34932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34933
34934 # Compiler flag to allow reflexive dlopens.
34935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34936
34937 # Compiler flag to generate shared objects directly from archives.
34938 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34939
34940 # Whether the compiler copes with passing no objects directly.
34941 compiler_needs_object=$lt_compiler_needs_object
34942
34943 # Create an old-style archive from a shared archive.
34944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34945
34946 # Create a temporary old-style archive to link instead of a shared archive.
34947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34948
34949 # Commands used to build a shared archive.
34950 archive_cmds=$lt_archive_cmds
34951 archive_expsym_cmds=$lt_archive_expsym_cmds
34952
34953 # Commands used to build a loadable module if different from building
34954 # a shared archive.
34955 module_cmds=$lt_module_cmds
34956 module_expsym_cmds=$lt_module_expsym_cmds
34957
34958 # Whether we are building with GNU ld or not.
34959 with_gnu_ld=$lt_with_gnu_ld
34960
34961 # Flag that allows shared libraries with undefined symbols to be built.
34962 allow_undefined_flag=$lt_allow_undefined_flag
34963
34964 # Flag that enforces no undefined symbols.
34965 no_undefined_flag=$lt_no_undefined_flag
34966
34967 # Flag to hardcode \$libdir into a binary during linking.
34968 # This must work even if \$libdir does not exist
34969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34970
34971 # If ld is used when linking, flag to hardcode \$libdir into a binary
34972 # during linking.  This must work even if \$libdir does not exist.
34973 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
34974
34975 # Whether we need a single "-rpath" flag with a separated argument.
34976 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34977
34978 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34979 # DIR into the resulting binary.
34980 hardcode_direct=$hardcode_direct
34981
34982 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34983 # DIR into the resulting binary and the resulting library dependency is
34984 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34985 # library is relocated.
34986 hardcode_direct_absolute=$hardcode_direct_absolute
34987
34988 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34989 # into the resulting binary.
34990 hardcode_minus_L=$hardcode_minus_L
34991
34992 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34993 # into the resulting binary.
34994 hardcode_shlibpath_var=$hardcode_shlibpath_var
34995
34996 # Set to "yes" if building a shared library automatically hardcodes DIR
34997 # into the library and all subsequent libraries and executables linked
34998 # against it.
34999 hardcode_automatic=$hardcode_automatic
35000
35001 # Set to yes if linker adds runtime paths of dependent libraries
35002 # to runtime path list.
35003 inherit_rpath=$inherit_rpath
35004
35005 # Whether libtool must link a program against all its dependency libraries.
35006 link_all_deplibs=$link_all_deplibs
35007
35008 # Fix the shell variable \$srcfile for the compiler.
35009 fix_srcfile_path=$lt_fix_srcfile_path
35010
35011 # Set to "yes" if exported symbols are required.
35012 always_export_symbols=$always_export_symbols
35013
35014 # The commands to list exported symbols.
35015 export_symbols_cmds=$lt_export_symbols_cmds
35016
35017 # Symbols that should not be listed in the preloaded symbols.
35018 exclude_expsyms=$lt_exclude_expsyms
35019
35020 # Symbols that must always be exported.
35021 include_expsyms=$lt_include_expsyms
35022
35023 # Commands necessary for linking programs (against libraries) with templates.
35024 prelink_cmds=$lt_prelink_cmds
35025
35026 # Specify filename containing input files.
35027 file_list_spec=$lt_file_list_spec
35028
35029 # How to hardcode a shared library path into an executable.
35030 hardcode_action=$hardcode_action
35031
35032 # Dependencies to place before and after the objects being linked to
35033 # create a shared library.
35034 predep_objects=$lt_predep_objects
35035 postdep_objects=$lt_postdep_objects
35036 predeps=$lt_predeps
35037 postdeps=$lt_postdeps
35038
35039 # The library search path used internally by the compiler when linking
35040 # a shared library.
35041 compiler_lib_search_path=$lt_compiler_lib_search_path
35042
35043 # ### END LIBTOOL CONFIG
35044
35045 _LT_EOF
35046
35047   case $host_os in
35048   aix3*)
35049     cat <<\_LT_EOF >> "$cfgfile"
35050 # AIX sometimes has problems with the GCC collect2 program.  For some
35051 # reason, if we set the COLLECT_NAMES environment variable, the problems
35052 # vanish in a puff of smoke.
35053 if test "X${COLLECT_NAMES+set}" != Xset; then
35054   COLLECT_NAMES=
35055   export COLLECT_NAMES
35056 fi
35057 _LT_EOF
35058     ;;
35059   esac
35060
35061
35062 ltmain="$ac_aux_dir/ltmain.sh"
35063
35064
35065   # We use sed instead of cat because bash on DJGPP gets confused if
35066   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35067   # text mode, it properly converts lines to CR/LF.  This bash problem
35068   # is reportedly fixed, but why not run on old versions too?
35069   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35070     || (rm -f "$cfgfile"; exit 1)
35071
35072   case $xsi_shell in
35073   yes)
35074     cat << \_LT_EOF >> "$cfgfile"
35075 # func_dirname file append nondir_replacement
35076 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35077 # otherwise set result to NONDIR_REPLACEMENT.
35078 func_dirname ()
35079 {
35080   case ${1} in
35081     */*) func_dirname_result="${1%/*}${2}" ;;
35082     *  ) func_dirname_result="${3}" ;;
35083   esac
35084 }
35085
35086 # func_basename file
35087 func_basename ()
35088 {
35089   func_basename_result="${1##*/}"
35090 }
35091
35092 # func_stripname prefix suffix name
35093 # strip PREFIX and SUFFIX off of NAME.
35094 # PREFIX and SUFFIX must not contain globbing or regex special
35095 # characters, hashes, percent signs, but SUFFIX may contain a leading
35096 # dot (in which case that matches only a dot).
35097 func_stripname ()
35098 {
35099   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35100   # positional parameters, so assign one to ordinary parameter first.
35101   func_stripname_result=${3}
35102   func_stripname_result=${func_stripname_result#"${1}"}
35103   func_stripname_result=${func_stripname_result%"${2}"}
35104 }
35105
35106 # func_opt_split
35107 func_opt_split ()
35108 {
35109   func_opt_split_opt=${1%%=*}
35110   func_opt_split_arg=${1#*=}
35111 }
35112
35113 # func_lo2o object
35114 func_lo2o ()
35115 {
35116   case ${1} in
35117     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35118     *)    func_lo2o_result=${1} ;;
35119   esac
35120 }
35121 _LT_EOF
35122     ;;
35123   *) # Bourne compatible functions.
35124     cat << \_LT_EOF >> "$cfgfile"
35125 # func_dirname file append nondir_replacement
35126 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35127 # otherwise set result to NONDIR_REPLACEMENT.
35128 func_dirname ()
35129 {
35130   # Extract subdirectory from the argument.
35131   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35132   if test "X$func_dirname_result" = "X${1}"; then
35133     func_dirname_result="${3}"
35134   else
35135     func_dirname_result="$func_dirname_result${2}"
35136   fi
35137 }
35138
35139 # func_basename file
35140 func_basename ()
35141 {
35142   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35143 }
35144
35145 # func_stripname prefix suffix name
35146 # strip PREFIX and SUFFIX off of NAME.
35147 # PREFIX and SUFFIX must not contain globbing or regex special
35148 # characters, hashes, percent signs, but SUFFIX may contain a leading
35149 # dot (in which case that matches only a dot).
35150 # func_strip_suffix prefix name
35151 func_stripname ()
35152 {
35153   case ${2} in
35154     .*) func_stripname_result=`$ECHO "X${3}" \
35155            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35156     *)  func_stripname_result=`$ECHO "X${3}" \
35157            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35158   esac
35159 }
35160
35161 # sed scripts:
35162 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35163 my_sed_long_arg='1s/^-[^=]*=//'
35164
35165 # func_opt_split
35166 func_opt_split ()
35167 {
35168   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35169   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35170 }
35171
35172 # func_lo2o object
35173 func_lo2o ()
35174 {
35175   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35176 }
35177 _LT_EOF
35178 esac
35179
35180 case $lt_shell_append in
35181   yes)
35182     cat << \_LT_EOF >> "$cfgfile"
35183
35184 # func_append var value
35185 # Append VALUE to the end of shell variable VAR.
35186 func_append ()
35187 {
35188   eval "$1+=\$2"
35189 }
35190 _LT_EOF
35191     ;;
35192   *)
35193     cat << \_LT_EOF >> "$cfgfile"
35194
35195 # func_append var value
35196 # Append VALUE to the end of shell variable VAR.
35197 func_append ()
35198 {
35199   eval "$1=\$$1\$2"
35200 }
35201 _LT_EOF
35202     ;;
35203   esac
35204
35205
35206   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35207     || (rm -f "$cfgfile"; exit 1)
35208
35209   mv -f "$cfgfile" "$ofile" ||
35210     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35211   chmod +x "$ofile"
35212
35213
35214     cat <<_LT_EOF >> "$ofile"
35215
35216 # ### BEGIN LIBTOOL TAG CONFIG: FC
35217
35218 # The linker used to build libraries.
35219 LD=$lt_LD_FC
35220
35221 # Commands used to build an old-style archive.
35222 old_archive_cmds=$lt_old_archive_cmds_FC
35223
35224 # A language specific compiler.
35225 CC=$lt_compiler_FC
35226
35227 # Is the compiler the GNU compiler?
35228 with_gcc=$GCC_FC
35229
35230 # Compiler flag to turn off builtin functions.
35231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35232
35233 # How to pass a linker flag through the compiler.
35234 wl=$lt_lt_prog_compiler_wl_FC
35235
35236 # Additional compiler flags for building library objects.
35237 pic_flag=$lt_lt_prog_compiler_pic_FC
35238
35239 # Compiler flag to prevent dynamic linking.
35240 link_static_flag=$lt_lt_prog_compiler_static_FC
35241
35242 # Does compiler simultaneously support -c and -o options?
35243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35244
35245 # Whether or not to add -lc for building shared libraries.
35246 build_libtool_need_lc=$archive_cmds_need_lc_FC
35247
35248 # Whether or not to disallow shared libs when runtime libs are static.
35249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35250
35251 # Compiler flag to allow reflexive dlopens.
35252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35253
35254 # Compiler flag to generate shared objects directly from archives.
35255 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35256
35257 # Whether the compiler copes with passing no objects directly.
35258 compiler_needs_object=$lt_compiler_needs_object_FC
35259
35260 # Create an old-style archive from a shared archive.
35261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35262
35263 # Create a temporary old-style archive to link instead of a shared archive.
35264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35265
35266 # Commands used to build a shared archive.
35267 archive_cmds=$lt_archive_cmds_FC
35268 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35269
35270 # Commands used to build a loadable module if different from building
35271 # a shared archive.
35272 module_cmds=$lt_module_cmds_FC
35273 module_expsym_cmds=$lt_module_expsym_cmds_FC
35274
35275 # Whether we are building with GNU ld or not.
35276 with_gnu_ld=$lt_with_gnu_ld_FC
35277
35278 # Flag that allows shared libraries with undefined symbols to be built.
35279 allow_undefined_flag=$lt_allow_undefined_flag_FC
35280
35281 # Flag that enforces no undefined symbols.
35282 no_undefined_flag=$lt_no_undefined_flag_FC
35283
35284 # Flag to hardcode \$libdir into a binary during linking.
35285 # This must work even if \$libdir does not exist
35286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35287
35288 # If ld is used when linking, flag to hardcode \$libdir into a binary
35289 # during linking.  This must work even if \$libdir does not exist.
35290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35291
35292 # Whether we need a single "-rpath" flag with a separated argument.
35293 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35294
35295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35296 # DIR into the resulting binary.
35297 hardcode_direct=$hardcode_direct_FC
35298
35299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35300 # DIR into the resulting binary and the resulting library dependency is
35301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35302 # library is relocated.
35303 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35304
35305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35306 # into the resulting binary.
35307 hardcode_minus_L=$hardcode_minus_L_FC
35308
35309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35310 # into the resulting binary.
35311 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35312
35313 # Set to "yes" if building a shared library automatically hardcodes DIR
35314 # into the library and all subsequent libraries and executables linked
35315 # against it.
35316 hardcode_automatic=$hardcode_automatic_FC
35317
35318 # Set to yes if linker adds runtime paths of dependent libraries
35319 # to runtime path list.
35320 inherit_rpath=$inherit_rpath_FC
35321
35322 # Whether libtool must link a program against all its dependency libraries.
35323 link_all_deplibs=$link_all_deplibs_FC
35324
35325 # Fix the shell variable \$srcfile for the compiler.
35326 fix_srcfile_path=$lt_fix_srcfile_path_FC
35327
35328 # Set to "yes" if exported symbols are required.
35329 always_export_symbols=$always_export_symbols_FC
35330
35331 # The commands to list exported symbols.
35332 export_symbols_cmds=$lt_export_symbols_cmds_FC
35333
35334 # Symbols that should not be listed in the preloaded symbols.
35335 exclude_expsyms=$lt_exclude_expsyms_FC
35336
35337 # Symbols that must always be exported.
35338 include_expsyms=$lt_include_expsyms_FC
35339
35340 # Commands necessary for linking programs (against libraries) with templates.
35341 prelink_cmds=$lt_prelink_cmds_FC
35342
35343 # Specify filename containing input files.
35344 file_list_spec=$lt_file_list_spec_FC
35345
35346 # How to hardcode a shared library path into an executable.
35347 hardcode_action=$hardcode_action_FC
35348
35349 # Dependencies to place before and after the objects being linked to
35350 # create a shared library.
35351 predep_objects=$lt_predep_objects_FC
35352 postdep_objects=$lt_postdep_objects_FC
35353 predeps=$lt_predeps_FC
35354 postdeps=$lt_postdeps_FC
35355
35356 # The library search path used internally by the compiler when linking
35357 # a shared library.
35358 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35359
35360 # ### END LIBTOOL TAG CONFIG: FC
35361 _LT_EOF
35362
35363  ;;
35364     gstdint.h )
35365 if test "$GCC" = yes; then
35366   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35367 else
35368   echo "/* generated for $CC */" > tmp-stdint.h
35369 fi
35370
35371 sed 's/^ *//' >> tmp-stdint.h <<EOF
35372
35373   #ifndef GCC_GENERATED_STDINT_H
35374   #define GCC_GENERATED_STDINT_H 1
35375
35376   #include <sys/types.h>
35377 EOF
35378
35379 if test "$acx_cv_header_stdint" != stdint.h; then
35380   echo "#include <stddef.h>" >> tmp-stdint.h
35381 fi
35382 if test "$acx_cv_header_stdint" != stddef.h; then
35383   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35384 fi
35385
35386 sed 's/^ *//' >> tmp-stdint.h <<EOF
35387   /* glibc uses these symbols as guards to prevent redefinitions.  */
35388   #ifdef __int8_t_defined
35389   #define _INT8_T
35390   #define _INT16_T
35391   #define _INT32_T
35392   #endif
35393   #ifdef __uint32_t_defined
35394   #define _UINT32_T
35395   #endif
35396
35397 EOF
35398
35399 # ----------------- done header, emit basic int types -------------
35400 if test "$acx_cv_header_stdint" = stddef.h; then
35401   sed 's/^ *//' >> tmp-stdint.h <<EOF
35402
35403     #ifndef _UINT8_T
35404     #define _UINT8_T
35405     #ifndef __uint8_t_defined
35406     #define __uint8_t_defined
35407     typedef unsigned $acx_cv_type_int8_t uint8_t;
35408     #endif
35409     #endif
35410
35411     #ifndef _UINT16_T
35412     #define _UINT16_T
35413     #ifndef __uint16_t_defined
35414     #define __uint16_t_defined
35415     typedef unsigned $acx_cv_type_int16_t uint16_t;
35416     #endif
35417     #endif
35418
35419     #ifndef _UINT32_T
35420     #define _UINT32_T
35421     #ifndef __uint32_t_defined
35422     #define __uint32_t_defined
35423     typedef unsigned $acx_cv_type_int32_t uint32_t;
35424     #endif
35425     #endif
35426
35427     #ifndef _INT8_T
35428     #define _INT8_T
35429     #ifndef __int8_t_defined
35430     #define __int8_t_defined
35431     typedef $acx_cv_type_int8_t int8_t;
35432     #endif
35433     #endif
35434
35435     #ifndef _INT16_T
35436     #define _INT16_T
35437     #ifndef __int16_t_defined
35438     #define __int16_t_defined
35439     typedef $acx_cv_type_int16_t int16_t;
35440     #endif
35441     #endif
35442
35443     #ifndef _INT32_T
35444     #define _INT32_T
35445     #ifndef __int32_t_defined
35446     #define __int32_t_defined
35447     typedef $acx_cv_type_int32_t int32_t;
35448     #endif
35449     #endif
35450 EOF
35451 elif test "$ac_cv_type_u_int32_t" = yes; then
35452   sed 's/^ *//' >> tmp-stdint.h <<EOF
35453
35454     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35455     #ifndef _INT8_T
35456     #define _INT8_T
35457     #endif
35458     #ifndef _INT16_T
35459     #define _INT16_T
35460     #endif
35461     #ifndef _INT32_T
35462     #define _INT32_T
35463     #endif
35464
35465     #ifndef _UINT8_T
35466     #define _UINT8_T
35467     #ifndef __uint8_t_defined
35468     #define __uint8_t_defined
35469     typedef u_int8_t uint8_t;
35470     #endif
35471     #endif
35472
35473     #ifndef _UINT16_T
35474     #define _UINT16_T
35475     #ifndef __uint16_t_defined
35476     #define __uint16_t_defined
35477     typedef u_int16_t uint16_t;
35478     #endif
35479     #endif
35480
35481     #ifndef _UINT32_T
35482     #define _UINT32_T
35483     #ifndef __uint32_t_defined
35484     #define __uint32_t_defined
35485     typedef u_int32_t uint32_t;
35486     #endif
35487     #endif
35488 EOF
35489 else
35490   sed 's/^ *//' >> tmp-stdint.h <<EOF
35491
35492     /* Some systems have guard macros to prevent redefinitions, define them.  */
35493     #ifndef _INT8_T
35494     #define _INT8_T
35495     #endif
35496     #ifndef _INT16_T
35497     #define _INT16_T
35498     #endif
35499     #ifndef _INT32_T
35500     #define _INT32_T
35501     #endif
35502     #ifndef _UINT8_T
35503     #define _UINT8_T
35504     #endif
35505     #ifndef _UINT16_T
35506     #define _UINT16_T
35507     #endif
35508     #ifndef _UINT32_T
35509     #define _UINT32_T
35510     #endif
35511 EOF
35512 fi
35513
35514 # ------------- done basic int types, emit int64_t types ------------
35515 if test "$ac_cv_type_uint64_t" = yes; then
35516   sed 's/^ *//' >> tmp-stdint.h <<EOF
35517
35518     /* system headers have good uint64_t and int64_t */
35519     #ifndef _INT64_T
35520     #define _INT64_T
35521     #endif
35522     #ifndef _UINT64_T
35523     #define _UINT64_T
35524     #endif
35525 EOF
35526 elif test "$ac_cv_type_u_int64_t" = yes; then
35527   sed 's/^ *//' >> tmp-stdint.h <<EOF
35528
35529     /* system headers have an u_int64_t (and int64_t) */
35530     #ifndef _INT64_T
35531     #define _INT64_T
35532     #endif
35533     #ifndef _UINT64_T
35534     #define _UINT64_T
35535     #ifndef __uint64_t_defined
35536     #define __uint64_t_defined
35537     typedef u_int64_t uint64_t;
35538     #endif
35539     #endif
35540 EOF
35541 elif test -n "$acx_cv_type_int64_t"; then
35542   sed 's/^ *//' >> tmp-stdint.h <<EOF
35543
35544     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
35545     #ifndef _INT64_T
35546     #define _INT64_T
35547     typedef $acx_cv_type_int64_t int64_t;
35548     #endif
35549     #ifndef _UINT64_T
35550     #define _UINT64_T
35551     #ifndef __uint64_t_defined
35552     #define __uint64_t_defined
35553     typedef unsigned $acx_cv_type_int64_t uint64_t;
35554     #endif
35555     #endif
35556 EOF
35557 else
35558   sed 's/^ *//' >> tmp-stdint.h <<EOF
35559
35560     /* some common heuristics for int64_t, using compiler-specific tests */
35561     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
35562     #ifndef _INT64_T
35563     #define _INT64_T
35564     #ifndef __int64_t_defined
35565     typedef long long int64_t;
35566     #endif
35567     #endif
35568     #ifndef _UINT64_T
35569     #define _UINT64_T
35570     typedef unsigned long long uint64_t;
35571     #endif
35572
35573     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
35574     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
35575        does not implement __extension__.  But that compiler doesn't define
35576        __GNUC_MINOR__.  */
35577     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
35578     # define __extension__
35579     # endif
35580
35581     # ifndef _INT64_T
35582     # define _INT64_T
35583     __extension__ typedef long long int64_t;
35584     # endif
35585     # ifndef _UINT64_T
35586     # define _UINT64_T
35587     __extension__ typedef unsigned long long uint64_t;
35588     # endif
35589
35590     #elif !defined __STRICT_ANSI__
35591     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35592
35593     #  ifndef _INT64_T
35594     #  define _INT64_T
35595     typedef __int64 int64_t;
35596     #  endif
35597     #  ifndef _UINT64_T
35598     #  define _UINT64_T
35599     typedef unsigned __int64 uint64_t;
35600     #  endif
35601     # endif /* compiler */
35602
35603     #endif /* ANSI version */
35604 EOF
35605 fi
35606
35607 # ------------- done int64_t types, emit intptr types ------------
35608 if test "$ac_cv_type_uintptr_t" != yes; then
35609   sed 's/^ *//' >> tmp-stdint.h <<EOF
35610
35611     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
35612     #ifndef __uintptr_t_defined
35613     typedef u$acx_cv_type_intptr_t uintptr_t;
35614     #endif
35615     #ifndef __intptr_t_defined
35616     typedef $acx_cv_type_intptr_t  intptr_t;
35617     #endif
35618 EOF
35619 fi
35620
35621 # ------------- done intptr types, emit int_least types ------------
35622 if test "$ac_cv_type_int_least32_t" != yes; then
35623   sed 's/^ *//' >> tmp-stdint.h <<EOF
35624
35625     /* Define int_least types */
35626     typedef int8_t     int_least8_t;
35627     typedef int16_t    int_least16_t;
35628     typedef int32_t    int_least32_t;
35629     #ifdef _INT64_T
35630     typedef int64_t    int_least64_t;
35631     #endif
35632
35633     typedef uint8_t    uint_least8_t;
35634     typedef uint16_t   uint_least16_t;
35635     typedef uint32_t   uint_least32_t;
35636     #ifdef _UINT64_T
35637     typedef uint64_t   uint_least64_t;
35638     #endif
35639 EOF
35640 fi
35641
35642 # ------------- done intptr types, emit int_fast types ------------
35643 if test "$ac_cv_type_int_fast32_t" != yes; then
35644       sed 's/^ *//' >> tmp-stdint.h <<EOF
35645
35646     /* Define int_fast types.  short is often slow */
35647     typedef int8_t       int_fast8_t;
35648     typedef int          int_fast16_t;
35649     typedef int32_t      int_fast32_t;
35650     #ifdef _INT64_T
35651     typedef int64_t      int_fast64_t;
35652     #endif
35653
35654     typedef uint8_t      uint_fast8_t;
35655     typedef unsigned int uint_fast16_t;
35656     typedef uint32_t     uint_fast32_t;
35657     #ifdef _UINT64_T
35658     typedef uint64_t     uint_fast64_t;
35659     #endif
35660 EOF
35661 fi
35662
35663 if test "$ac_cv_type_uintmax_t" != yes; then
35664   sed 's/^ *//' >> tmp-stdint.h <<EOF
35665
35666     /* Define intmax based on what we found */
35667     #ifdef _INT64_T
35668     typedef int64_t       intmax_t;
35669     #else
35670     typedef long          intmax_t;
35671     #endif
35672     #ifdef _UINT64_T
35673     typedef uint64_t      uintmax_t;
35674     #else
35675     typedef unsigned long uintmax_t;
35676     #endif
35677 EOF
35678 fi
35679
35680 sed 's/^ *//' >> tmp-stdint.h <<EOF
35681
35682   #endif /* GCC_GENERATED_STDINT_H */
35683 EOF
35684
35685 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
35686   rm -f tmp-stdint.h
35687 else
35688   mv -f tmp-stdint.h gstdint.h
35689 fi
35690
35691  ;;
35692   esac
35693 done
35694 _ACEOF
35695
35696 cat >>$CONFIG_STATUS <<\_ACEOF
35697
35698 { (exit 0); exit 0; }
35699 _ACEOF
35700 chmod +x $CONFIG_STATUS
35701 ac_clean_files=$ac_clean_files_save
35702
35703
35704 # configure is writing to config.log, and then calls config.status.
35705 # config.status does its own redirection, appending to config.log.
35706 # Unfortunately, on DOS this fails, as config.log is still kept open
35707 # by configure, so config.status won't be able to write to it; its
35708 # output is simply discarded.  So we exec the FD to /dev/null,
35709 # effectively closing config.log, so it can be properly (re)opened and
35710 # appended to by config.status.  When coming back to configure, we
35711 # need to make the FD available again.
35712 if test "$no_create" != yes; then
35713   ac_cs_success=:
35714   ac_config_status_args=
35715   test "$silent" = yes &&
35716     ac_config_status_args="$ac_config_status_args --quiet"
35717   exec 5>/dev/null
35718   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35719   exec 5>>config.log
35720   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35721   # would make configure fail if this is the last instruction.
35722   $ac_cs_success || { (exit 1); exit 1; }
35723 fi
35724