OSDN Git Service

PR libfortran/32841
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME='libgfortran'
419 PACKAGE_VERSION='0.3'
420 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
421 PACKAGE_BUGREPORT=''
422
423 # Factoring default headers for most tests.
424 ac_includes_default="\
425 #include <stdio.h>
426 #if HAVE_SYS_TYPES_H
427 # include <sys/types.h>
428 #endif
429 #if HAVE_SYS_STAT_H
430 # include <sys/stat.h>
431 #endif
432 #if STDC_HEADERS
433 # include <stdlib.h>
434 # include <stddef.h>
435 #else
436 # if HAVE_STDLIB_H
437 #  include <stdlib.h>
438 # endif
439 #endif
440 #if HAVE_STRING_H
441 # if !STDC_HEADERS && HAVE_MEMORY_H
442 #  include <memory.h>
443 # endif
444 # include <string.h>
445 #endif
446 #if HAVE_STRINGS_H
447 # include <strings.h>
448 #endif
449 #if HAVE_INTTYPES_H
450 # include <inttypes.h>
451 #else
452 # if HAVE_STDINT_H
453 #  include <stdint.h>
454 # endif
455 #endif
456 #if HAVE_UNISTD_H
457 # include <unistd.h>
458 #endif"
459
460 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
462
463 # Initialize some variables set by options.
464 ac_init_help=
465 ac_init_version=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
468 cache_file=/dev/null
469 exec_prefix=NONE
470 no_create=
471 no_recursion=
472 prefix=NONE
473 program_prefix=NONE
474 program_suffix=NONE
475 program_transform_name=s,x,x,
476 silent=
477 site=
478 srcdir=
479 verbose=
480 x_includes=NONE
481 x_libraries=NONE
482
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir='${exec_prefix}/bin'
489 sbindir='${exec_prefix}/sbin'
490 libexecdir='${exec_prefix}/libexec'
491 datadir='${prefix}/share'
492 sysconfdir='${prefix}/etc'
493 sharedstatedir='${prefix}/com'
494 localstatedir='${prefix}/var'
495 libdir='${exec_prefix}/lib'
496 includedir='${prefix}/include'
497 oldincludedir='/usr/include'
498 infodir='${prefix}/info'
499 mandir='${prefix}/man'
500
501 ac_prev=
502 for ac_option
503 do
504   # If the previous option needs an argument, assign it.
505   if test -n "$ac_prev"; then
506     eval "$ac_prev=\$ac_option"
507     ac_prev=
508     continue
509   fi
510
511   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
512
513   # Accept the important Cygnus configure options, so we can diagnose typos.
514
515   case $ac_option in
516
517   -bindir | --bindir | --bindi | --bind | --bin | --bi)
518     ac_prev=bindir ;;
519   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520     bindir=$ac_optarg ;;
521
522   -build | --build | --buil | --bui | --bu)
523     ac_prev=build_alias ;;
524   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525     build_alias=$ac_optarg ;;
526
527   -cache-file | --cache-file | --cache-fil | --cache-fi \
528   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529     ac_prev=cache_file ;;
530   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532     cache_file=$ac_optarg ;;
533
534   --config-cache | -C)
535     cache_file=config.cache ;;
536
537   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
538     ac_prev=datadir ;;
539   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
540   | --da=*)
541     datadir=$ac_optarg ;;
542
543   -disable-* | --disable-*)
544     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545     # Reject names that are not valid shell variable names.
546     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
547       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548    { (exit 1); exit 1; }; }
549     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
550     eval "enable_$ac_feature=no" ;;
551
552   -enable-* | --enable-*)
553     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554     # Reject names that are not valid shell variable names.
555     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557    { (exit 1); exit 1; }; }
558     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559     case $ac_option in
560       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561       *) ac_optarg=yes ;;
562     esac
563     eval "enable_$ac_feature='$ac_optarg'" ;;
564
565   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
566   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
567   | --exec | --exe | --ex)
568     ac_prev=exec_prefix ;;
569   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
570   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
571   | --exec=* | --exe=* | --ex=*)
572     exec_prefix=$ac_optarg ;;
573
574   -gas | --gas | --ga | --g)
575     # Obsolete; use --with-gas.
576     with_gas=yes ;;
577
578   -help | --help | --hel | --he | -h)
579     ac_init_help=long ;;
580   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
581     ac_init_help=recursive ;;
582   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
583     ac_init_help=short ;;
584
585   -host | --host | --hos | --ho)
586     ac_prev=host_alias ;;
587   -host=* | --host=* | --hos=* | --ho=*)
588     host_alias=$ac_optarg ;;
589
590   -includedir | --includedir | --includedi | --included | --include \
591   | --includ | --inclu | --incl | --inc)
592     ac_prev=includedir ;;
593   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
594   | --includ=* | --inclu=* | --incl=* | --inc=*)
595     includedir=$ac_optarg ;;
596
597   -infodir | --infodir | --infodi | --infod | --info | --inf)
598     ac_prev=infodir ;;
599   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600     infodir=$ac_optarg ;;
601
602   -libdir | --libdir | --libdi | --libd)
603     ac_prev=libdir ;;
604   -libdir=* | --libdir=* | --libdi=* | --libd=*)
605     libdir=$ac_optarg ;;
606
607   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
608   | --libexe | --libex | --libe)
609     ac_prev=libexecdir ;;
610   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
611   | --libexe=* | --libex=* | --libe=*)
612     libexecdir=$ac_optarg ;;
613
614   -localstatedir | --localstatedir | --localstatedi | --localstated \
615   | --localstate | --localstat | --localsta | --localst \
616   | --locals | --local | --loca | --loc | --lo)
617     ac_prev=localstatedir ;;
618   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
619   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
620   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
621     localstatedir=$ac_optarg ;;
622
623   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624     ac_prev=mandir ;;
625   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
626     mandir=$ac_optarg ;;
627
628   -nfp | --nfp | --nf)
629     # Obsolete; use --without-fp.
630     with_fp=no ;;
631
632   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633   | --no-cr | --no-c | -n)
634     no_create=yes ;;
635
636   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
637   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
638     no_recursion=yes ;;
639
640   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
641   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
642   | --oldin | --oldi | --old | --ol | --o)
643     ac_prev=oldincludedir ;;
644   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
645   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
646   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
647     oldincludedir=$ac_optarg ;;
648
649   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650     ac_prev=prefix ;;
651   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
652     prefix=$ac_optarg ;;
653
654   -program-prefix | --program-prefix | --program-prefi | --program-pref \
655   | --program-pre | --program-pr | --program-p)
656     ac_prev=program_prefix ;;
657   -program-prefix=* | --program-prefix=* | --program-prefi=* \
658   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
659     program_prefix=$ac_optarg ;;
660
661   -program-suffix | --program-suffix | --program-suffi | --program-suff \
662   | --program-suf | --program-su | --program-s)
663     ac_prev=program_suffix ;;
664   -program-suffix=* | --program-suffix=* | --program-suffi=* \
665   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
666     program_suffix=$ac_optarg ;;
667
668   -program-transform-name | --program-transform-name \
669   | --program-transform-nam | --program-transform-na \
670   | --program-transform-n | --program-transform- \
671   | --program-transform | --program-transfor \
672   | --program-transfo | --program-transf \
673   | --program-trans | --program-tran \
674   | --progr-tra | --program-tr | --program-t)
675     ac_prev=program_transform_name ;;
676   -program-transform-name=* | --program-transform-name=* \
677   | --program-transform-nam=* | --program-transform-na=* \
678   | --program-transform-n=* | --program-transform-=* \
679   | --program-transform=* | --program-transfor=* \
680   | --program-transfo=* | --program-transf=* \
681   | --program-trans=* | --program-tran=* \
682   | --progr-tra=* | --program-tr=* | --program-t=*)
683     program_transform_name=$ac_optarg ;;
684
685   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686   | -silent | --silent | --silen | --sile | --sil)
687     silent=yes ;;
688
689   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
690     ac_prev=sbindir ;;
691   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
692   | --sbi=* | --sb=*)
693     sbindir=$ac_optarg ;;
694
695   -sharedstatedir | --sharedstatedir | --sharedstatedi \
696   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
697   | --sharedst | --shareds | --shared | --share | --shar \
698   | --sha | --sh)
699     ac_prev=sharedstatedir ;;
700   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
701   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
702   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
703   | --sha=* | --sh=*)
704     sharedstatedir=$ac_optarg ;;
705
706   -site | --site | --sit)
707     ac_prev=site ;;
708   -site=* | --site=* | --sit=*)
709     site=$ac_optarg ;;
710
711   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712     ac_prev=srcdir ;;
713   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
714     srcdir=$ac_optarg ;;
715
716   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
717   | --syscon | --sysco | --sysc | --sys | --sy)
718     ac_prev=sysconfdir ;;
719   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
720   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
721     sysconfdir=$ac_optarg ;;
722
723   -target | --target | --targe | --targ | --tar | --ta | --t)
724     ac_prev=target_alias ;;
725   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
726     target_alias=$ac_optarg ;;
727
728   -v | -verbose | --verbose | --verbos | --verbo | --verb)
729     verbose=yes ;;
730
731   -version | --version | --versio | --versi | --vers | -V)
732     ac_init_version=: ;;
733
734   -with-* | --with-*)
735     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736     # Reject names that are not valid shell variable names.
737     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738       { echo "$as_me: error: invalid package name: $ac_package" >&2
739    { (exit 1); exit 1; }; }
740     ac_package=`echo $ac_package| sed 's/-/_/g'`
741     case $ac_option in
742       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
743       *) ac_optarg=yes ;;
744     esac
745     eval "with_$ac_package='$ac_optarg'" ;;
746
747   -without-* | --without-*)
748     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749     # Reject names that are not valid shell variable names.
750     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751       { echo "$as_me: error: invalid package name: $ac_package" >&2
752    { (exit 1); exit 1; }; }
753     ac_package=`echo $ac_package | sed 's/-/_/g'`
754     eval "with_$ac_package=no" ;;
755
756   --x)
757     # Obsolete; use --with-x.
758     with_x=yes ;;
759
760   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
761   | --x-incl | --x-inc | --x-in | --x-i)
762     ac_prev=x_includes ;;
763   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
764   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
765     x_includes=$ac_optarg ;;
766
767   -x-libraries | --x-libraries | --x-librarie | --x-librari \
768   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
769     ac_prev=x_libraries ;;
770   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
771   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
772     x_libraries=$ac_optarg ;;
773
774   -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776    { (exit 1); exit 1; }; }
777     ;;
778
779   *=*)
780     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
781     # Reject names that are not valid shell variable names.
782     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
783       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784    { (exit 1); exit 1; }; }
785     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786     eval "$ac_envvar='$ac_optarg'"
787     export $ac_envvar ;;
788
789   *)
790     # FIXME: should be removed in autoconf 3.0.
791     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
795     ;;
796
797   esac
798 done
799
800 if test -n "$ac_prev"; then
801   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
802   { echo "$as_me: error: missing argument to $ac_option" >&2
803    { (exit 1); exit 1; }; }
804 fi
805
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
808 do
809   eval ac_val=$`echo $ac_var`
810   case $ac_val in
811     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
812     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813    { (exit 1); exit 1; }; };;
814   esac
815 done
816
817 # Be sure to have absolute paths.
818 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819               localstatedir libdir includedir oldincludedir infodir mandir
820 do
821   eval ac_val=$`echo $ac_var`
822   case $ac_val in
823     [\\/$]* | ?:[\\/]* ) ;;
824     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825    { (exit 1); exit 1; }; };;
826   esac
827 done
828
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
832 build=$build_alias
833 host=$host_alias
834 target=$target_alias
835
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x; then
838   if test "x$build_alias" = x; then
839     cross_compiling=maybe
840     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841     If a cross compiler is detected then cross compile mode will be used." >&2
842   elif test "x$build_alias" != "x$host_alias"; then
843     cross_compiling=yes
844   fi
845 fi
846
847 ac_tool_prefix=
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
849
850 test "$silent" = yes && exec 6>/dev/null
851
852
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855   ac_srcdir_defaulted=yes
856   # Try the directory containing this script, then its parent.
857   ac_confdir=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859          X"$0" : 'X\(//\)[^/]' \| \
860          X"$0" : 'X\(//\)$' \| \
861          X"$0" : 'X\(/\)' \| \
862          .     : '\(.\)' 2>/dev/null ||
863 echo X"$0" |
864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866           /^X\(\/\/\)$/{ s//\1/; q; }
867           /^X\(\/\).*/{ s//\1/; q; }
868           s/.*/./; q'`
869   srcdir=$ac_confdir
870   if test ! -r $srcdir/$ac_unique_file; then
871     srcdir=..
872   fi
873 else
874   ac_srcdir_defaulted=no
875 fi
876 if test ! -r $srcdir/$ac_unique_file; then
877   if test "$ac_srcdir_defaulted" = yes; then
878     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879    { (exit 1); exit 1; }; }
880   else
881     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882    { (exit 1); exit 1; }; }
883   fi
884 fi
885 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
886   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887    { (exit 1); exit 1; }; }
888 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set=${build_alias+set}
890 ac_env_build_alias_value=$build_alias
891 ac_cv_env_build_alias_set=${build_alias+set}
892 ac_cv_env_build_alias_value=$build_alias
893 ac_env_host_alias_set=${host_alias+set}
894 ac_env_host_alias_value=$host_alias
895 ac_cv_env_host_alias_set=${host_alias+set}
896 ac_cv_env_host_alias_value=$host_alias
897 ac_env_target_alias_set=${target_alias+set}
898 ac_env_target_alias_value=$target_alias
899 ac_cv_env_target_alias_set=${target_alias+set}
900 ac_cv_env_target_alias_value=$target_alias
901 ac_env_CPP_set=${CPP+set}
902 ac_env_CPP_value=$CPP
903 ac_cv_env_CPP_set=${CPP+set}
904 ac_cv_env_CPP_value=$CPP
905 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909 ac_env_FC_set=${FC+set}
910 ac_env_FC_value=$FC
911 ac_cv_env_FC_set=${FC+set}
912 ac_cv_env_FC_value=$FC
913 ac_env_FCFLAGS_set=${FCFLAGS+set}
914 ac_env_FCFLAGS_value=$FCFLAGS
915 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value=$FCFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
921
922 #
923 # Report the --help message.
924 #
925 if test "$ac_init_help" = "long"; then
926   # Omit some internal or obsolete options to make the list less imposing.
927   # This message is too long to be a string in the A/UX 3.1 sh.
928   cat <<_ACEOF
929 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
930
931 Usage: $0 [OPTION]... [VAR=VALUE]...
932
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE.  See below for descriptions of some of the useful variables.
935
936 Defaults for the options are specified in brackets.
937
938 Configuration:
939   -h, --help              display this help and exit
940       --help=short        display options specific to this package
941       --help=recursive    display the short help of all the included packages
942   -V, --version           display version information and exit
943   -q, --quiet, --silent   do not print \`checking...' messages
944       --cache-file=FILE   cache test results in FILE [disabled]
945   -C, --config-cache      alias for \`--cache-file=config.cache'
946   -n, --no-create         do not create output files
947       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
948
949 _ACEOF
950
951   cat <<_ACEOF
952 Installation directories:
953   --prefix=PREFIX         install architecture-independent files in PREFIX
954                           [$ac_default_prefix]
955   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
956                           [PREFIX]
957
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
962
963 For better control, use the options below.
964
965 Fine tuning of the installation directories:
966   --bindir=DIR           user executables [EPREFIX/bin]
967   --sbindir=DIR          system admin executables [EPREFIX/sbin]
968   --libexecdir=DIR       program executables [EPREFIX/libexec]
969   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
970   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
971   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
972   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
973   --libdir=DIR           object code libraries [EPREFIX/lib]
974   --includedir=DIR       C header files [PREFIX/include]
975   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
976   --infodir=DIR          info documentation [PREFIX/info]
977   --mandir=DIR           man documentation [PREFIX/man]
978 _ACEOF
979
980   cat <<\_ACEOF
981
982 Program names:
983   --program-prefix=PREFIX            prepend PREFIX to installed program names
984   --program-suffix=SUFFIX            append SUFFIX to installed program names
985   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
986
987 System types:
988   --build=BUILD     configure for building on BUILD [guessed]
989   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
990   --target=TARGET   configure for building compilers for TARGET [HOST]
991 _ACEOF
992 fi
993
994 if test -n "$ac_init_help"; then
995   case $ac_init_help in
996      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
997    esac
998   cat <<\_ACEOF
999
1000 Optional Features:
1001   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1002   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1003   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1004   --enable-intermodule    build the library in one step
1005   --enable-maintainer-mode  enable make rules and dependencies not useful
1006                           (and sometimes confusing) to the casual installer
1007   --enable-multilib       build many library versions (default)
1008   --disable-dependency-tracking  speeds up one-time build
1009   --enable-dependency-tracking   do not reject slow dependency extractors
1010   --enable-shared[=PKGS]
1011                           build shared libraries [default=yes]
1012   --enable-static[=PKGS]
1013                           build static libraries [default=yes]
1014   --enable-fast-install[=PKGS]
1015                           optimize for fast installation [default=yes]
1016   --disable-libtool-lock  avoid locking (might break parallel builds)
1017   --disable-largefile     omit support for large files
1018
1019 Optional Packages:
1020   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1021   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1022   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1023   --with-pic              try to use only PIC/non-PIC objects [default=use
1024                           both]
1025   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1026
1027 Some influential environment variables:
1028   CC          C compiler command
1029   CFLAGS      C compiler flags
1030   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1031               nonstandard directory <lib dir>
1032   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1033               headers in a nonstandard directory <include dir>
1034   CPP         C preprocessor
1035   FC          Fortran compiler command
1036   FCFLAGS     Fortran compiler flags
1037
1038 Use these variables to override the choices made by `configure' or to help
1039 it to find libraries and programs with nonstandard names/locations.
1040
1041 _ACEOF
1042 fi
1043
1044 if test "$ac_init_help" = "recursive"; then
1045   # If there are subdirs, report their specific --help.
1046   ac_popdir=`pwd`
1047   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1048     test -d $ac_dir || continue
1049     ac_builddir=.
1050
1051 if test "$ac_dir" != .; then
1052   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1053   # A "../" for each directory in $ac_dir_suffix.
1054   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 else
1056   ac_dir_suffix= ac_top_builddir=
1057 fi
1058
1059 case $srcdir in
1060   .)  # No --srcdir option.  We are building in place.
1061     ac_srcdir=.
1062     if test -z "$ac_top_builddir"; then
1063        ac_top_srcdir=.
1064     else
1065        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066     fi ;;
1067   [\\/]* | ?:[\\/]* )  # Absolute path.
1068     ac_srcdir=$srcdir$ac_dir_suffix;
1069     ac_top_srcdir=$srcdir ;;
1070   *) # Relative path.
1071     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1072     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1073 esac
1074
1075 # Do not use `cd foo && pwd` to compute absolute paths, because
1076 # the directories may not exist.
1077 case `pwd` in
1078 .) ac_abs_builddir="$ac_dir";;
1079 *)
1080   case "$ac_dir" in
1081   .) ac_abs_builddir=`pwd`;;
1082   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1083   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1084   esac;;
1085 esac
1086 case $ac_abs_builddir in
1087 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 *)
1089   case ${ac_top_builddir}. in
1090   .) ac_abs_top_builddir=$ac_abs_builddir;;
1091   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1092   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1093   esac;;
1094 esac
1095 case $ac_abs_builddir in
1096 .) ac_abs_srcdir=$ac_srcdir;;
1097 *)
1098   case $ac_srcdir in
1099   .) ac_abs_srcdir=$ac_abs_builddir;;
1100   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1101   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1102   esac;;
1103 esac
1104 case $ac_abs_builddir in
1105 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 *)
1107   case $ac_top_srcdir in
1108   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1109   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1110   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1111   esac;;
1112 esac
1113
1114     cd $ac_dir
1115     # Check for guested configure; otherwise get Cygnus style configure.
1116     if test -f $ac_srcdir/configure.gnu; then
1117       echo
1118       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1119     elif test -f $ac_srcdir/configure; then
1120       echo
1121       $SHELL $ac_srcdir/configure  --help=recursive
1122     elif test -f $ac_srcdir/configure.ac ||
1123            test -f $ac_srcdir/configure.in; then
1124       echo
1125       $ac_configure --help
1126     else
1127       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128     fi
1129     cd $ac_popdir
1130   done
1131 fi
1132
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1135   cat <<\_ACEOF
1136 GNU Fortran Runtime Library configure 0.3
1137 generated by GNU Autoconf 2.59
1138
1139 Copyright (C) 2003 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1142 _ACEOF
1143   exit 0
1144 fi
1145 exec 5>config.log
1146 cat >&5 <<_ACEOF
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1149
1150 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1151 generated by GNU Autoconf 2.59.  Invocation command line was
1152
1153   $ $0 $@
1154
1155 _ACEOF
1156 {
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1161
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1170
1171 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1172 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1175 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1176 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1177 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1178
1179 _ASUNAME
1180
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1183 do
1184   IFS=$as_save_IFS
1185   test -z "$as_dir" && as_dir=.
1186   echo "PATH: $as_dir"
1187 done
1188
1189 } >&5
1190
1191 cat >&5 <<_ACEOF
1192
1193
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1197
1198 _ACEOF
1199
1200
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_configure_args=
1207 ac_configure_args0=
1208 ac_configure_args1=
1209 ac_sep=
1210 ac_must_keep_next=false
1211 for ac_pass in 1 2
1212 do
1213   for ac_arg
1214   do
1215     case $ac_arg in
1216     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218     | -silent | --silent | --silen | --sile | --sil)
1219       continue ;;
1220     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222     esac
1223     case $ac_pass in
1224     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225     2)
1226       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227       if test $ac_must_keep_next = true; then
1228         ac_must_keep_next=false # Got value, back to normal.
1229       else
1230         case $ac_arg in
1231           *=* | --config-cache | -C | -disable-* | --disable-* \
1232           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234           | -with-* | --with-* | -without-* | --without-* | --x)
1235             case "$ac_configure_args0 " in
1236               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237             esac
1238             ;;
1239           -* ) ac_must_keep_next=true ;;
1240         esac
1241       fi
1242       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243       # Get rid of the leading space.
1244       ac_sep=" "
1245       ;;
1246     esac
1247   done
1248 done
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log.  We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258   # Save into config.log some information that might help in debugging.
1259   {
1260     echo
1261
1262     cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267     echo
1268     # The following way of writing the cache mishandles newlines in values,
1269 {
1270   (set) 2>&1 |
1271     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272     *ac_space=\ *)
1273       sed -n \
1274         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276       ;;
1277     *)
1278       sed -n \
1279         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280       ;;
1281     esac;
1282 }
1283     echo
1284
1285     cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290     echo
1291     for ac_var in $ac_subst_vars
1292     do
1293       eval ac_val=$`echo $ac_var`
1294       echo "$ac_var='"'"'$ac_val'"'"'"
1295     done | sort
1296     echo
1297
1298     if test -n "$ac_subst_files"; then
1299       cat <<\_ASBOX
1300 ## ------------- ##
1301 ## Output files. ##
1302 ## ------------- ##
1303 _ASBOX
1304       echo
1305       for ac_var in $ac_subst_files
1306       do
1307         eval ac_val=$`echo $ac_var`
1308         echo "$ac_var='"'"'$ac_val'"'"'"
1309       done | sort
1310       echo
1311     fi
1312
1313     if test -s confdefs.h; then
1314       cat <<\_ASBOX
1315 ## ----------- ##
1316 ## confdefs.h. ##
1317 ## ----------- ##
1318 _ASBOX
1319       echo
1320       sed "/^$/d" confdefs.h | sort
1321       echo
1322     fi
1323     test "$ac_signal" != 0 &&
1324       echo "$as_me: caught signal $ac_signal"
1325     echo "$as_me: exit $exit_status"
1326   } >&5
1327   rm -f core *.core &&
1328   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329     exit $exit_status
1330      ' 0
1331 for ac_signal in 1 2 13 15; do
1332   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 done
1334 ac_signal=0
1335
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 echo >confdefs.h
1340
1341 # Predefined preprocessor variables.
1342
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1346
1347
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1351
1352
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1356
1357
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1361
1362
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1366
1367
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371   if test "x$prefix" != xNONE; then
1372     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373   else
1374     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1375   fi
1376 fi
1377 for ac_site_file in $CONFIG_SITE; do
1378   if test -r "$ac_site_file"; then
1379     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381     sed 's/^/| /' "$ac_site_file" >&5
1382     . "$ac_site_file"
1383   fi
1384 done
1385
1386 if test -r "$cache_file"; then
1387   # Some versions of bash will fail to source /dev/null (special
1388   # files actually), so we avoid doing that.
1389   if test -f "$cache_file"; then
1390     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1392     case $cache_file in
1393       [\\/]* | ?:[\\/]* ) . $cache_file;;
1394       *)                      . ./$cache_file;;
1395     esac
1396   fi
1397 else
1398   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400   >$cache_file
1401 fi
1402
1403 # Check that the precious variables saved in the cache have kept the same
1404 # value.
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409   eval ac_new_set=\$ac_env_${ac_var}_set
1410   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411   eval ac_new_val="\$ac_env_${ac_var}_value"
1412   case $ac_old_set,$ac_new_set in
1413     set,)
1414       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416       ac_cache_corrupted=: ;;
1417     ,set)
1418       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420       ac_cache_corrupted=: ;;
1421     ,);;
1422     *)
1423       if test "x$ac_old_val" != "x$ac_new_val"; then
1424         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1427 echo "$as_me:   former value:  $ac_old_val" >&2;}
1428         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1429 echo "$as_me:   current value: $ac_new_val" >&2;}
1430         ac_cache_corrupted=:
1431       fi;;
1432   esac
1433   # Pass precious variables to config.status.
1434   if test "$ac_new_set" = set; then
1435     case $ac_new_val in
1436     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438     *) ac_arg=$ac_var=$ac_new_val ;;
1439     esac
1440     case " $ac_configure_args " in
1441       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1442       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443     esac
1444   fi
1445 done
1446 if $ac_cache_corrupted; then
1447   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451    { (exit 1); exit 1; }; }
1452 fi
1453
1454 ac_ext=c
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486           ac_config_headers="$ac_config_headers config.h"
1487
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490   if test -f $ac_dir/install-sh; then
1491     ac_aux_dir=$ac_dir
1492     ac_install_sh="$ac_aux_dir/install-sh -c"
1493     break
1494   elif test -f $ac_dir/install.sh; then
1495     ac_aux_dir=$ac_dir
1496     ac_install_sh="$ac_aux_dir/install.sh -c"
1497     break
1498   elif test -f $ac_dir/shtool; then
1499     ac_aux_dir=$ac_dir
1500     ac_install_sh="$ac_aux_dir/shtool install -c"
1501     break
1502   fi
1503 done
1504 if test -z "$ac_aux_dir"; then
1505   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507    { (exit 1); exit 1; }; }
1508 fi
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517    { (exit 1); exit 1; }; }
1518
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522   echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524   ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526   ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530    { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534    { (exit 1); exit 1; }; }
1535
1536 fi
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545  case ${build_alias} in
1546   "") build_noncanonical=${build} ;;
1547   *) build_noncanonical=${build_alias} ;;
1548 esac
1549
1550  case ${host_alias} in
1551   "") host_noncanonical=${build_noncanonical} ;;
1552   *) host_noncanonical=${host_alias} ;;
1553 esac
1554
1555  case ${target_alias} in
1556   "") target_noncanonical=${host_noncanonical} ;;
1557   *) target_noncanonical=${target_alias} ;;
1558 esac
1559
1560
1561 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1562 # have matching libraries, they should use host libraries: Makefile.tpl
1563 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1564 # However, they still use the build modules, because the corresponding
1565 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # finishes. So:
1567 # - build_subdir is where we find build modules, and never changes.
1568 # - build_libsubdir is where we find build libraries, and can be overridden.
1569
1570 # Prefix 'build-' so this never conflicts with target_subdir.
1571 build_subdir="build-${build_noncanonical}"
1572
1573 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1574 if test "${with_build_libsubdir+set}" = set; then
1575   withval="$with_build_libsubdir"
1576   build_libsubdir="$withval"
1577 else
1578   build_libsubdir="$build_subdir"
1579 fi;
1580 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1581 if ( test $srcdir = . && test -d gcc ) \
1582    || test -d $srcdir/../host-${host_noncanonical}; then
1583   host_subdir="host-${host_noncanonical}"
1584 else
1585   host_subdir=.
1586 fi
1587 # No prefix.
1588 target_subdir=${target_noncanonical}
1589
1590
1591 # -------
1592 # Options
1593 # -------
1594
1595 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1596 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1597 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1598 if test "${enable_version_specific_runtime_libs+set}" = set; then
1599   enableval="$enable_version_specific_runtime_libs"
1600   case "$enableval" in
1601  yes) version_specific_libs=yes ;;
1602  no)  version_specific_libs=no ;;
1603  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1604 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1605    { (exit 1); exit 1; }; };;
1606  esac
1607 else
1608   version_specific_libs=no
1609 fi;
1610 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1611 echo "${ECHO_T}$version_specific_libs" >&6
1612
1613 # Build with intermodule optimisations
1614 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1615 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1616 # Check whether --enable-intermodule or --disable-intermodule was given.
1617 if test "${enable_intermodule+set}" = set; then
1618   enableval="$enable_intermodule"
1619   case "$enable_intermodule" in
1620   yes) onestep="-onestep";;
1621     *) onestep="";;
1622 esac
1623 else
1624   onestep=""
1625 fi;
1626 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1627 echo "${ECHO_T}$enable_intermodule" >&6
1628
1629
1630 if test x$onestep = x-onestep; then
1631   onestep_TRUE=
1632   onestep_FALSE='#'
1633 else
1634   onestep_TRUE='#'
1635   onestep_FALSE=
1636 fi
1637
1638
1639
1640 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1641 #
1642 # You will slowly go insane if you do not grok the following fact:  when
1643 # building this library, the top-level /target/ becomes the library's /host/.
1644 #
1645 # configure then causes --target to default to --host, exactly like any
1646 # other package using autoconf.  Therefore, 'target' and 'host' will
1647 # always be the same.  This makes sense both for native and cross compilers
1648 # just think about it for a little while.  :-)
1649 #
1650 # Also, if this library is being configured as part of a cross compiler, the
1651 # top-level configure script will pass the "real" host as $with_cross_host.
1652 #
1653 # Do not delete or change the following two lines.  For why, see
1654 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1655 echo "$as_me:$LINENO: checking host system type" >&5
1656 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1657 if test "${ac_cv_host+set}" = set; then
1658   echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660   ac_cv_host_alias=$host_alias
1661 test -z "$ac_cv_host_alias" &&
1662   ac_cv_host_alias=$ac_cv_build_alias
1663 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1664   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1665 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1666    { (exit 1); exit 1; }; }
1667
1668 fi
1669 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1670 echo "${ECHO_T}$ac_cv_host" >&6
1671 host=$ac_cv_host
1672 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1673 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1674 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675
1676
1677 echo "$as_me:$LINENO: checking target system type" >&5
1678 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1679 if test "${ac_cv_target+set}" = set; then
1680   echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else
1682   ac_cv_target_alias=$target_alias
1683 test "x$ac_cv_target_alias" = "x" &&
1684   ac_cv_target_alias=$ac_cv_host_alias
1685 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1686   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1687 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1688    { (exit 1); exit 1; }; }
1689
1690 fi
1691 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1692 echo "${ECHO_T}$ac_cv_target" >&6
1693 target=$ac_cv_target
1694 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1695 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1696 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1697
1698
1699 # The aliases save the names the user supplied, while $host etc.
1700 # will get canonicalized.
1701 test -n "$target_alias" &&
1702   test "$program_prefix$program_suffix$program_transform_name" = \
1703     NONENONEs,x,x, &&
1704   program_prefix=${target_alias}-
1705 target_alias=${target_alias-$host_alias}
1706
1707 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1708 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1709 #  1.9.6:  minimum required version
1710 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1711 #              of other PACKAGE_* variables will, however, and there's nothing
1712 #              we can do about that; they come from AC_INIT).
1713 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1714 #            file in the top srcdir, etc, etc), so stop complaining.
1715 #  -Wall:  turns on all automake warnings...
1716 #  -Wno-portability:  ...except this one, since GNU make is required.
1717 am__api_version="1.9"
1718 # Find a good install program.  We prefer a C program (faster),
1719 # so one script is as good as another.  But avoid the broken or
1720 # incompatible versions:
1721 # SysV /etc/install, /usr/sbin/install
1722 # SunOS /usr/etc/install
1723 # IRIX /sbin/install
1724 # AIX /bin/install
1725 # AmigaOS /C/install, which installs bootblocks on floppy discs
1726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1729 # OS/2's system install, which has a completely different semantic
1730 # ./install, which can be erroneously created by make from ./install.sh.
1731 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1733 if test -z "$INSTALL"; then
1734 if test "${ac_cv_path_install+set}" = set; then
1735   echo $ECHO_N "(cached) $ECHO_C" >&6
1736 else
1737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 for as_dir in $PATH
1739 do
1740   IFS=$as_save_IFS
1741   test -z "$as_dir" && as_dir=.
1742   # Account for people who put trailing slashes in PATH elements.
1743 case $as_dir/ in
1744   ./ | .// | /cC/* | \
1745   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1746   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1747   /usr/ucb/* ) ;;
1748   *)
1749     # OSF1 and SCO ODT 3.0 have their own names for install.
1750     # Don't use installbsd from OSF since it installs stuff as root
1751     # by default.
1752     for ac_prog in ginstall scoinst install; do
1753       for ac_exec_ext in '' $ac_executable_extensions; do
1754         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1755           if test $ac_prog = install &&
1756             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1757             # AIX install.  It has an incompatible calling convention.
1758             :
1759           elif test $ac_prog = install &&
1760             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1761             # program-specific install script used by HP pwplus--don't use.
1762             :
1763           else
1764             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1765             break 3
1766           fi
1767         fi
1768       done
1769     done
1770     ;;
1771 esac
1772 done
1773
1774
1775 fi
1776   if test "${ac_cv_path_install+set}" = set; then
1777     INSTALL=$ac_cv_path_install
1778   else
1779     # As a last resort, use the slow shell script.  We don't cache a
1780     # path for INSTALL within a source directory, because that will
1781     # break other packages using the cache if that directory is
1782     # removed, or if the path is relative.
1783     INSTALL=$ac_install_sh
1784   fi
1785 fi
1786 echo "$as_me:$LINENO: result: $INSTALL" >&5
1787 echo "${ECHO_T}$INSTALL" >&6
1788
1789 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1790 # It thinks the first close brace ends the variable substitution.
1791 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1792
1793 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1794
1795 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1796
1797 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1798 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1799 # Just in case
1800 sleep 1
1801 echo timestamp > conftest.file
1802 # Do `set' in a subshell so we don't clobber the current shell's
1803 # arguments.  Must try -L first in case configure is actually a
1804 # symlink; some systems play weird games with the mod time of symlinks
1805 # (eg FreeBSD returns the mod time of the symlink's containing
1806 # directory).
1807 if (
1808    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1809    if test "$*" = "X"; then
1810       # -L didn't work.
1811       set X `ls -t $srcdir/configure conftest.file`
1812    fi
1813    rm -f conftest.file
1814    if test "$*" != "X $srcdir/configure conftest.file" \
1815       && test "$*" != "X conftest.file $srcdir/configure"; then
1816
1817       # If neither matched, then we have a broken ls.  This can happen
1818       # if, for instance, CONFIG_SHELL is bash and it inherits a
1819       # broken ls alias from the environment.  This has actually
1820       # happened.  Such a system could not be considered "sane".
1821       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1822 alias in your environment" >&5
1823 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1824 alias in your environment" >&2;}
1825    { (exit 1); exit 1; }; }
1826    fi
1827
1828    test "$2" = conftest.file
1829    )
1830 then
1831    # Ok.
1832    :
1833 else
1834    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1835 Check your system clock" >&5
1836 echo "$as_me: error: newly created file is older than distributed files!
1837 Check your system clock" >&2;}
1838    { (exit 1); exit 1; }; }
1839 fi
1840 echo "$as_me:$LINENO: result: yes" >&5
1841 echo "${ECHO_T}yes" >&6
1842 test "$program_prefix" != NONE &&
1843   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1844 # Use a double $ so make ignores it.
1845 test "$program_suffix" != NONE &&
1846   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1847 # Double any \ or $.  echo might interpret backslashes.
1848 # By default was `s,x,x', remove it if useless.
1849 cat <<\_ACEOF >conftest.sed
1850 s/[\\$]/&&/g;s/;s,x,x,$//
1851 _ACEOF
1852 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1853 rm conftest.sed
1854
1855 # expand $ac_aux_dir to an absolute path
1856 am_aux_dir=`cd $ac_aux_dir && pwd`
1857
1858 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1859 # Use eval to expand $SHELL
1860 if eval "$MISSING --run true"; then
1861   am_missing_run="$MISSING --run "
1862 else
1863   am_missing_run=
1864   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1865 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1866 fi
1867
1868 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1869   # We used to keeping the `.' as first argument, in order to
1870   # allow $(mkdir_p) to be used without argument.  As in
1871   #   $(mkdir_p) $(somedir)
1872   # where $(somedir) is conditionally defined.  However this is wrong
1873   # for two reasons:
1874   #  1. if the package is installed by a user who cannot write `.'
1875   #     make install will fail,
1876   #  2. the above comment should most certainly read
1877   #     $(mkdir_p) $(DESTDIR)$(somedir)
1878   #     so it does not work when $(somedir) is undefined and
1879   #     $(DESTDIR) is not.
1880   #  To support the latter case, we have to write
1881   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1882   #  so the `.' trick is pointless.
1883   mkdir_p='mkdir -p --'
1884 else
1885   # On NextStep and OpenStep, the `mkdir' command does not
1886   # recognize any option.  It will interpret all options as
1887   # directories to create, and then abort because `.' already
1888   # exists.
1889   for d in ./-p ./--version;
1890   do
1891     test -d $d && rmdir $d
1892   done
1893   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1894   if test -f "$ac_aux_dir/mkinstalldirs"; then
1895     mkdir_p='$(mkinstalldirs)'
1896   else
1897     mkdir_p='$(install_sh) -d'
1898   fi
1899 fi
1900
1901 for ac_prog in gawk mawk nawk awk
1902 do
1903   # Extract the first word of "$ac_prog", so it can be a program name with args.
1904 set dummy $ac_prog; ac_word=$2
1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907 if test "${ac_cv_prog_AWK+set}" = set; then
1908   echo $ECHO_N "(cached) $ECHO_C" >&6
1909 else
1910   if test -n "$AWK"; then
1911   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1912 else
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 for as_dir in $PATH
1915 do
1916   IFS=$as_save_IFS
1917   test -z "$as_dir" && as_dir=.
1918   for ac_exec_ext in '' $ac_executable_extensions; do
1919   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920     ac_cv_prog_AWK="$ac_prog"
1921     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922     break 2
1923   fi
1924 done
1925 done
1926
1927 fi
1928 fi
1929 AWK=$ac_cv_prog_AWK
1930 if test -n "$AWK"; then
1931   echo "$as_me:$LINENO: result: $AWK" >&5
1932 echo "${ECHO_T}$AWK" >&6
1933 else
1934   echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6
1936 fi
1937
1938   test -n "$AWK" && break
1939 done
1940
1941 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1942 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1943 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1944 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1945   echo $ECHO_N "(cached) $ECHO_C" >&6
1946 else
1947   cat >conftest.make <<\_ACEOF
1948 all:
1949         @echo 'ac_maketemp="$(MAKE)"'
1950 _ACEOF
1951 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1952 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1953 if test -n "$ac_maketemp"; then
1954   eval ac_cv_prog_make_${ac_make}_set=yes
1955 else
1956   eval ac_cv_prog_make_${ac_make}_set=no
1957 fi
1958 rm -f conftest.make
1959 fi
1960 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1961   echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1963   SET_MAKE=
1964 else
1965   echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1967   SET_MAKE="MAKE=${MAKE-make}"
1968 fi
1969
1970 rm -rf .tst 2>/dev/null
1971 mkdir .tst 2>/dev/null
1972 if test -d .tst; then
1973   am__leading_dot=.
1974 else
1975   am__leading_dot=_
1976 fi
1977 rmdir .tst 2>/dev/null
1978
1979 # test to see if srcdir already configured
1980 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1981    test -f $srcdir/config.status; then
1982   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1983 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1984    { (exit 1); exit 1; }; }
1985 fi
1986
1987 # test whether we have cygpath
1988 if test -z "$CYGPATH_W"; then
1989   if (cygpath --version) >/dev/null 2>/dev/null; then
1990     CYGPATH_W='cygpath -w'
1991   else
1992     CYGPATH_W=echo
1993   fi
1994 fi
1995
1996
1997 # Define the identity of the package.
1998  PACKAGE='libgfortran'
1999  VERSION='0.3'
2000
2001
2002 # Some tools Automake needs.
2003
2004 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2005
2006
2007 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2008
2009
2010 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2011
2012
2013 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2014
2015
2016 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2017
2018 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2019
2020 # Installed binaries are usually stripped using `strip' when the user
2021 # run `make install-strip'.  However `strip' might not be the right
2022 # tool to use in cross-compilation environments, therefore Automake
2023 # will honor the `STRIP' environment variable to overrule this program.
2024 if test "$cross_compiling" != no; then
2025   if test -n "$ac_tool_prefix"; then
2026   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2027 set dummy ${ac_tool_prefix}strip; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_STRIP+set}" = set; then
2031   echo $ECHO_N "(cached) $ECHO_C" >&6
2032 else
2033   if test -n "$STRIP"; then
2034   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2035 else
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 for as_dir in $PATH
2038 do
2039   IFS=$as_save_IFS
2040   test -z "$as_dir" && as_dir=.
2041   for ac_exec_ext in '' $ac_executable_extensions; do
2042   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2044     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045     break 2
2046   fi
2047 done
2048 done
2049
2050 fi
2051 fi
2052 STRIP=$ac_cv_prog_STRIP
2053 if test -n "$STRIP"; then
2054   echo "$as_me:$LINENO: result: $STRIP" >&5
2055 echo "${ECHO_T}$STRIP" >&6
2056 else
2057   echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2059 fi
2060
2061 fi
2062 if test -z "$ac_cv_prog_STRIP"; then
2063   ac_ct_STRIP=$STRIP
2064   # Extract the first word of "strip", so it can be a program name with args.
2065 set dummy strip; ac_word=$2
2066 echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2068 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2069   echo $ECHO_N "(cached) $ECHO_C" >&6
2070 else
2071   if test -n "$ac_ct_STRIP"; then
2072   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH
2076 do
2077   IFS=$as_save_IFS
2078   test -z "$as_dir" && as_dir=.
2079   for ac_exec_ext in '' $ac_executable_extensions; do
2080   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081     ac_cv_prog_ac_ct_STRIP="strip"
2082     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083     break 2
2084   fi
2085 done
2086 done
2087
2088   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2089 fi
2090 fi
2091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2092 if test -n "$ac_ct_STRIP"; then
2093   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2094 echo "${ECHO_T}$ac_ct_STRIP" >&6
2095 else
2096   echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2098 fi
2099
2100   STRIP=$ac_ct_STRIP
2101 else
2102   STRIP="$ac_cv_prog_STRIP"
2103 fi
2104
2105 fi
2106 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2107
2108 # We need awk for the "check" target.  The system "awk" is bad on
2109 # some platforms.
2110 # Always define AMTAR for backward compatibility.
2111
2112 AMTAR=${AMTAR-"${am_missing_run}tar"}
2113
2114 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2115
2116
2117
2118
2119
2120
2121 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2122 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2123     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2124 if test "${enable_maintainer_mode+set}" = set; then
2125   enableval="$enable_maintainer_mode"
2126   USE_MAINTAINER_MODE=$enableval
2127 else
2128   USE_MAINTAINER_MODE=no
2129 fi;
2130   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2131 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2132
2133
2134 if test $USE_MAINTAINER_MODE = yes; then
2135   MAINTAINER_MODE_TRUE=
2136   MAINTAINER_MODE_FALSE='#'
2137 else
2138   MAINTAINER_MODE_TRUE='#'
2139   MAINTAINER_MODE_FALSE=
2140 fi
2141
2142   MAINT=$MAINTAINER_MODE_TRUE
2143
2144
2145 # Default to --enable-multilib
2146 # Check whether --enable-multilib or --disable-multilib was given.
2147 if test "${enable_multilib+set}" = set; then
2148   enableval="$enable_multilib"
2149   case "$enableval" in
2150   yes) multilib=yes ;;
2151   no)  multilib=no ;;
2152   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2153 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2154    { (exit 1); exit 1; }; } ;;
2155  esac
2156 else
2157   multilib=yes
2158 fi;
2159
2160 # We may get other options which we leave undocumented:
2161 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2162 # See config-ml.in if you want the gory details.
2163
2164 if test "$srcdir" = "."; then
2165   if test "$with_target_subdir" != "."; then
2166     multi_basedir="$srcdir/$with_multisrctop../.."
2167   else
2168     multi_basedir="$srcdir/$with_multisrctop.."
2169   fi
2170 else
2171   multi_basedir="$srcdir/.."
2172 fi
2173
2174
2175 # Even if the default multilib is not a cross compilation,
2176 # it may be that some of the other multilibs are.
2177 if test $cross_compiling = no && test $multilib = yes \
2178    && test "x${with_multisubdir}" != x ; then
2179    cross_compiling=maybe
2180 fi
2181
2182           ac_config_commands="$ac_config_commands default-1"
2183
2184
2185 # Handy for debugging:
2186 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2187
2188 # Are we being configured with some form of cross compiler?
2189 # NB: We don't actually need to know this just now, but when, say, a test
2190 #     suite is included, we'll have to know.
2191 if test "$build" != "$host"; then
2192   LIBGFOR_IS_NATIVE=false
2193
2194 else
2195   LIBGFOR_IS_NATIVE=true
2196 fi
2197
2198 # Calculate toolexeclibdir
2199 # Also toolexecdir, though it's only used in toolexeclibdir
2200 case ${version_specific_libs} in
2201   yes)
2202     # Need the gcc compiler version to know where to install libraries
2203     # and header files if --enable-version-specific-runtime-libs option
2204     # is selected.
2205     toolexecdir='$(libdir)/gcc/$(target_alias)'
2206     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2207     ;;
2208   no)
2209     if test -n "$with_cross_host" &&
2210        test x"$with_cross_host" != x"no"; then
2211       # Install a library built with a cross compiler in tooldir, not libdir.
2212       toolexecdir='$(exec_prefix)/$(target_alias)'
2213       toolexeclibdir='$(toolexecdir)/lib'
2214     else
2215       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2216       toolexeclibdir='$(libdir)'
2217     fi
2218     multi_os_directory=`$CC -print-multi-os-directory`
2219     case $multi_os_directory in
2220       .) ;; # Avoid trailing /.
2221       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2222     esac
2223     ;;
2224 esac
2225
2226
2227
2228 # Check the compiler.
2229 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2230 # We must force CC to /not/ be precious variables; otherwise
2231 # the wrong, non-multilib-adjusted value will be used in multilibs.
2232 # As a side effect, we have to subst CFLAGS ourselves.
2233
2234
2235
2236 ac_ext=c
2237 ac_cpp='$CPP $CPPFLAGS'
2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241 if test -n "$ac_tool_prefix"; then
2242   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247   echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249   if test -n "$CC"; then
2250   ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255   IFS=$as_save_IFS
2256   test -z "$as_dir" && as_dir=.
2257   for ac_exec_ext in '' $ac_executable_extensions; do
2258   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261     break 2
2262   fi
2263 done
2264 done
2265
2266 fi
2267 fi
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270   echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6
2272 else
2273   echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2275 fi
2276
2277 fi
2278 if test -z "$ac_cv_prog_CC"; then
2279   ac_ct_CC=$CC
2280   # Extract the first word of "gcc", so it can be a program name with args.
2281 set dummy gcc; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2285   echo $ECHO_N "(cached) $ECHO_C" >&6
2286 else
2287   if test -n "$ac_ct_CC"; then
2288   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2289 else
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2292 do
2293   IFS=$as_save_IFS
2294   test -z "$as_dir" && as_dir=.
2295   for ac_exec_ext in '' $ac_executable_extensions; do
2296   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297     ac_cv_prog_ac_ct_CC="gcc"
2298     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299     break 2
2300   fi
2301 done
2302 done
2303
2304 fi
2305 fi
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6
2310 else
2311   echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2313 fi
2314
2315   CC=$ac_ct_CC
2316 else
2317   CC="$ac_cv_prog_CC"
2318 fi
2319
2320 if test -z "$CC"; then
2321   if test -n "$ac_tool_prefix"; then
2322   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327   echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329   if test -n "$CC"; then
2330   ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2334 do
2335   IFS=$as_save_IFS
2336   test -z "$as_dir" && as_dir=.
2337   for ac_exec_ext in '' $ac_executable_extensions; do
2338   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339     ac_cv_prog_CC="${ac_tool_prefix}cc"
2340     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341     break 2
2342   fi
2343 done
2344 done
2345
2346 fi
2347 fi
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350   echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353   echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2355 fi
2356
2357 fi
2358 if test -z "$ac_cv_prog_CC"; then
2359   ac_ct_CC=$CC
2360   # Extract the first word of "cc", so it can be a program name with args.
2361 set dummy cc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365   echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367   if test -n "$ac_ct_CC"; then
2368   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2372 do
2373   IFS=$as_save_IFS
2374   test -z "$as_dir" && as_dir=.
2375   for ac_exec_ext in '' $ac_executable_extensions; do
2376   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377     ac_cv_prog_ac_ct_CC="cc"
2378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379     break 2
2380   fi
2381 done
2382 done
2383
2384 fi
2385 fi
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391   echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2393 fi
2394
2395   CC=$ac_ct_CC
2396 else
2397   CC="$ac_cv_prog_CC"
2398 fi
2399
2400 fi
2401 if test -z "$CC"; then
2402   # Extract the first word of "cc", so it can be a program name with args.
2403 set dummy cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if test -n "$CC"; then
2410   ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412   ac_prog_rejected=no
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416   IFS=$as_save_IFS
2417   test -z "$as_dir" && as_dir=.
2418   for ac_exec_ext in '' $ac_executable_extensions; do
2419   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2421        ac_prog_rejected=yes
2422        continue
2423      fi
2424     ac_cv_prog_CC="cc"
2425     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426     break 2
2427   fi
2428 done
2429 done
2430
2431 if test $ac_prog_rejected = yes; then
2432   # We found a bogon in the path, so make sure we never use it.
2433   set dummy $ac_cv_prog_CC
2434   shift
2435   if test $# != 0; then
2436     # We chose a different compiler from the bogus one.
2437     # However, it has the same basename, so the bogon will be chosen
2438     # first if we set CC to just the basename; use the full file name.
2439     shift
2440     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2441   fi
2442 fi
2443 fi
2444 fi
2445 CC=$ac_cv_prog_CC
2446 if test -n "$CC"; then
2447   echo "$as_me:$LINENO: result: $CC" >&5
2448 echo "${ECHO_T}$CC" >&6
2449 else
2450   echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6
2452 fi
2453
2454 fi
2455 if test -z "$CC"; then
2456   if test -n "$ac_tool_prefix"; then
2457   for ac_prog in cl
2458   do
2459     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461 echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464   echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466   if test -n "$CC"; then
2467   ac_cv_prog_CC="$CC" # Let the user override the test.
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2471 do
2472   IFS=$as_save_IFS
2473   test -z "$as_dir" && as_dir=.
2474   for ac_exec_ext in '' $ac_executable_extensions; do
2475   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2477     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478     break 2
2479   fi
2480 done
2481 done
2482
2483 fi
2484 fi
2485 CC=$ac_cv_prog_CC
2486 if test -n "$CC"; then
2487   echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6
2489 else
2490   echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2492 fi
2493
2494     test -n "$CC" && break
2495   done
2496 fi
2497 if test -z "$CC"; then
2498   ac_ct_CC=$CC
2499   for ac_prog in cl
2500 do
2501   # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506   echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508   if test -n "$ac_ct_CC"; then
2509   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2513 do
2514   IFS=$as_save_IFS
2515   test -z "$as_dir" && as_dir=.
2516   for ac_exec_ext in '' $ac_executable_extensions; do
2517   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518     ac_cv_prog_ac_ct_CC="$ac_prog"
2519     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520     break 2
2521   fi
2522 done
2523 done
2524
2525 fi
2526 fi
2527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 echo "${ECHO_T}$ac_ct_CC" >&6
2531 else
2532   echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2534 fi
2535
2536   test -n "$ac_ct_CC" && break
2537 done
2538
2539   CC=$ac_ct_CC
2540 fi
2541
2542 fi
2543
2544
2545 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: no acceptable C compiler found in \$PATH
2548 See \`config.log' for more details." >&2;}
2549    { (exit 1); exit 1; }; }
2550
2551 # Provide some information about the compiler.
2552 echo "$as_me:$LINENO:" \
2553      "checking for C compiler version" >&5
2554 ac_compiler=`set X $ac_compile; echo $2`
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2556   (eval $ac_compiler --version </dev/null >&5) 2>&5
2557   ac_status=$?
2558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559   (exit $ac_status); }
2560 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2561   (eval $ac_compiler -v </dev/null >&5) 2>&5
2562   ac_status=$?
2563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564   (exit $ac_status); }
2565 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2566   (eval $ac_compiler -V </dev/null >&5) 2>&5
2567   ac_status=$?
2568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569   (exit $ac_status); }
2570
2571 cat >conftest.$ac_ext <<_ACEOF
2572 /* confdefs.h.  */
2573 _ACEOF
2574 cat confdefs.h >>conftest.$ac_ext
2575 cat >>conftest.$ac_ext <<_ACEOF
2576 /* end confdefs.h.  */
2577
2578 int
2579 main ()
2580 {
2581
2582   ;
2583   return 0;
2584 }
2585 _ACEOF
2586 # FIXME: Cleanup?
2587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2588   (eval $ac_link) 2>&5
2589   ac_status=$?
2590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591   (exit $ac_status); }; then
2592   gcc_no_link=no
2593 else
2594   gcc_no_link=yes
2595 fi
2596
2597 if test x$gcc_no_link = xyes; then
2598   # Setting cross_compile will disable run tests; it will
2599   # also disable AC_CHECK_FILE but that's generally
2600   # correct if we can't link.
2601   cross_compiling=yes
2602   EXEEXT=
2603 else
2604   cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h.  */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h.  */
2610
2611 int
2612 main ()
2613 {
2614
2615   ;
2616   return 0;
2617 }
2618 _ACEOF
2619 ac_clean_files_save=$ac_clean_files
2620 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2621 # Try to create an executable without -o first, disregard a.out.
2622 # It will help us diagnose broken compilers, and finding out an intuition
2623 # of exeext.
2624 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2625 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2626 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2627 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2628   (eval $ac_link_default) 2>&5
2629   ac_status=$?
2630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631   (exit $ac_status); }; then
2632   # Find the output, starting from the most likely.  This scheme is
2633 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2634 # resort.
2635
2636 # Be careful to initialize this variable, since it used to be cached.
2637 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2638 ac_cv_exeext=
2639 # b.out is created by i960 compilers.
2640 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2641 do
2642   test -f "$ac_file" || continue
2643   case $ac_file in
2644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2645         ;;
2646     conftest.$ac_ext )
2647         # This is the source file.
2648         ;;
2649     [ab].out )
2650         # We found the default executable, but exeext='' is most
2651         # certainly right.
2652         break;;
2653     *.* )
2654         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2655         # FIXME: I believe we export ac_cv_exeext for Libtool,
2656         # but it would be cool to find out if it's true.  Does anybody
2657         # maintain Libtool? --akim.
2658         export ac_cv_exeext
2659         break;;
2660     * )
2661         break;;
2662   esac
2663 done
2664 else
2665   echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2667
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672    { (exit 77); exit 77; }; }
2673 fi
2674
2675 ac_exeext=$ac_cv_exeext
2676 echo "$as_me:$LINENO: result: $ac_file" >&5
2677 echo "${ECHO_T}$ac_file" >&6
2678
2679 # Check the compiler produces executables we can run.  If not, either
2680 # the compiler is broken, or we cross compile.
2681 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2682 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2683 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2684 # If not cross compiling, check that we can run a simple program.
2685 if test "$cross_compiling" != yes; then
2686   if { ac_try='./$ac_file'
2687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688   (eval $ac_try) 2>&5
2689   ac_status=$?
2690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691   (exit $ac_status); }; }; then
2692     cross_compiling=no
2693   else
2694     if test "$cross_compiling" = maybe; then
2695         cross_compiling=yes
2696     else
2697         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2698 If you meant to cross compile, use \`--host'.
2699 See \`config.log' for more details." >&5
2700 echo "$as_me: error: cannot run C compiled programs.
2701 If you meant to cross compile, use \`--host'.
2702 See \`config.log' for more details." >&2;}
2703    { (exit 1); exit 1; }; }
2704     fi
2705   fi
2706 fi
2707 echo "$as_me:$LINENO: result: yes" >&5
2708 echo "${ECHO_T}yes" >&6
2709
2710 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2711 ac_clean_files=$ac_clean_files_save
2712 # Check the compiler produces executables we can run.  If not, either
2713 # the compiler is broken, or we cross compile.
2714 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2715 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2716 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2717 echo "${ECHO_T}$cross_compiling" >&6
2718
2719 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2720 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2722   (eval $ac_link) 2>&5
2723   ac_status=$?
2724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725   (exit $ac_status); }; then
2726   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2727 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2728 # work properly (i.e., refer to `conftest.exe'), while it won't with
2729 # `rm'.
2730 for ac_file in conftest.exe conftest conftest.*; do
2731   test -f "$ac_file" || continue
2732   case $ac_file in
2733     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2734     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735           export ac_cv_exeext
2736           break;;
2737     * ) break;;
2738   esac
2739 done
2740 else
2741   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2742 See \`config.log' for more details." >&5
2743 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2744 See \`config.log' for more details." >&2;}
2745    { (exit 1); exit 1; }; }
2746 fi
2747
2748 rm -f conftest$ac_cv_exeext
2749 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2750 echo "${ECHO_T}$ac_cv_exeext" >&6
2751
2752 rm -f conftest.$ac_ext
2753 EXEEXT=$ac_cv_exeext
2754 ac_exeext=$EXEEXT
2755 fi
2756 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2757 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2758 if test "${ac_cv_objext+set}" = set; then
2759   echo $ECHO_N "(cached) $ECHO_C" >&6
2760 else
2761   cat >conftest.$ac_ext <<_ACEOF
2762 /* confdefs.h.  */
2763 _ACEOF
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h.  */
2767
2768 int
2769 main ()
2770 {
2771
2772   ;
2773   return 0;
2774 }
2775 _ACEOF
2776 rm -f conftest.o conftest.obj
2777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2778   (eval $ac_compile) 2>&5
2779   ac_status=$?
2780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781   (exit $ac_status); }; then
2782   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2783   case $ac_file in
2784     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2785     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2786        break;;
2787   esac
2788 done
2789 else
2790   echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2792
2793 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2796 See \`config.log' for more details." >&2;}
2797    { (exit 1); exit 1; }; }
2798 fi
2799
2800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2801 fi
2802 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2803 echo "${ECHO_T}$ac_cv_objext" >&6
2804 OBJEXT=$ac_cv_objext
2805 ac_objext=$OBJEXT
2806 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2807 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2808 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2809   echo $ECHO_N "(cached) $ECHO_C" >&6
2810 else
2811   cat >conftest.$ac_ext <<_ACEOF
2812 /* confdefs.h.  */
2813 _ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h.  */
2817
2818 int
2819 main ()
2820 {
2821 #ifndef __GNUC__
2822        choke me
2823 #endif
2824
2825   ;
2826   return 0;
2827 }
2828 _ACEOF
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831   (eval $ac_compile) 2>conftest.er1
2832   ac_status=$?
2833   grep -v '^ *+' conftest.er1 >conftest.err
2834   rm -f conftest.er1
2835   cat conftest.err >&5
2836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837   (exit $ac_status); } &&
2838          { ac_try='test -z "$ac_c_werror_flag"
2839                          || test ! -s conftest.err'
2840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841   (eval $ac_try) 2>&5
2842   ac_status=$?
2843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844   (exit $ac_status); }; } &&
2845          { ac_try='test -s conftest.$ac_objext'
2846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847   (eval $ac_try) 2>&5
2848   ac_status=$?
2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850   (exit $ac_status); }; }; then
2851   ac_compiler_gnu=yes
2852 else
2853   echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2855
2856 ac_compiler_gnu=no
2857 fi
2858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2860
2861 fi
2862 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2863 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2864 GCC=`test $ac_compiler_gnu = yes && echo yes`
2865 ac_test_CFLAGS=${CFLAGS+set}
2866 ac_save_CFLAGS=$CFLAGS
2867 CFLAGS="-g"
2868 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2869 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2870 if test "${ac_cv_prog_cc_g+set}" = set; then
2871   echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873   cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h.  */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h.  */
2879
2880 int
2881 main ()
2882 {
2883
2884   ;
2885   return 0;
2886 }
2887 _ACEOF
2888 rm -f conftest.$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890   (eval $ac_compile) 2>conftest.er1
2891   ac_status=$?
2892   grep -v '^ *+' conftest.er1 >conftest.err
2893   rm -f conftest.er1
2894   cat conftest.err >&5
2895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896   (exit $ac_status); } &&
2897          { ac_try='test -z "$ac_c_werror_flag"
2898                          || test ! -s conftest.err'
2899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900   (eval $ac_try) 2>&5
2901   ac_status=$?
2902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903   (exit $ac_status); }; } &&
2904          { ac_try='test -s conftest.$ac_objext'
2905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906   (eval $ac_try) 2>&5
2907   ac_status=$?
2908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909   (exit $ac_status); }; }; then
2910   ac_cv_prog_cc_g=yes
2911 else
2912   echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2914
2915 ac_cv_prog_cc_g=no
2916 fi
2917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2918 fi
2919 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2920 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2921 if test "$ac_test_CFLAGS" = set; then
2922   CFLAGS=$ac_save_CFLAGS
2923 elif test $ac_cv_prog_cc_g = yes; then
2924   if test "$GCC" = yes; then
2925     CFLAGS="-g -O2"
2926   else
2927     CFLAGS="-g"
2928   fi
2929 else
2930   if test "$GCC" = yes; then
2931     CFLAGS="-O2"
2932   else
2933     CFLAGS=
2934   fi
2935 fi
2936 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2937 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2938 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2939   echo $ECHO_N "(cached) $ECHO_C" >&6
2940 else
2941   ac_cv_prog_cc_stdc=no
2942 ac_save_CC=$CC
2943 cat >conftest.$ac_ext <<_ACEOF
2944 /* confdefs.h.  */
2945 _ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h.  */
2949 #include <stdarg.h>
2950 #include <stdio.h>
2951 #include <sys/types.h>
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2954 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i)
2957      char **p;
2958      int i;
2959 {
2960   return p[i];
2961 }
2962 static char *f (char * (*g) (char **, int), char **p, ...)
2963 {
2964   char *s;
2965   va_list v;
2966   va_start (v,p);
2967   s = g (p, va_arg (v,int));
2968   va_end (v);
2969   return s;
2970 }
2971
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2973    function prototypes and stuff, but not '\xHH' hex character constants.
2974    These don't provoke an error unfortunately, instead are silently treated
2975    as 'x'.  The following induces an error, until -std1 is added to get
2976    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2977    array size at least.  It's necessary to write '\x00'==0 to get something
2978    that's true only with -std1.  */
2979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2980
2981 int test (int i, double x);
2982 struct s1 {int (*f) (int a);};
2983 struct s2 {int (*f) (double a);};
2984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2985 int argc;
2986 char **argv;
2987 int
2988 main ()
2989 {
2990 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2991   ;
2992   return 0;
2993 }
2994 _ACEOF
2995 # Don't try gcc -ansi; that turns off useful extensions and
2996 # breaks some systems' header files.
2997 # AIX                   -qlanglvl=ansi
2998 # Ultrix and OSF/1      -std1
2999 # HP-UX 10.20 and later -Ae
3000 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3001 # SVR4                  -Xc -D__EXTENSIONS__
3002 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3003 do
3004   CC="$ac_save_CC $ac_arg"
3005   rm -f conftest.$ac_objext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007   (eval $ac_compile) 2>conftest.er1
3008   ac_status=$?
3009   grep -v '^ *+' conftest.er1 >conftest.err
3010   rm -f conftest.er1
3011   cat conftest.err >&5
3012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013   (exit $ac_status); } &&
3014          { ac_try='test -z "$ac_c_werror_flag"
3015                          || test ! -s conftest.err'
3016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017   (eval $ac_try) 2>&5
3018   ac_status=$?
3019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020   (exit $ac_status); }; } &&
3021          { ac_try='test -s conftest.$ac_objext'
3022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023   (eval $ac_try) 2>&5
3024   ac_status=$?
3025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026   (exit $ac_status); }; }; then
3027   ac_cv_prog_cc_stdc=$ac_arg
3028 break
3029 else
3030   echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3032
3033 fi
3034 rm -f conftest.err conftest.$ac_objext
3035 done
3036 rm -f conftest.$ac_ext conftest.$ac_objext
3037 CC=$ac_save_CC
3038
3039 fi
3040
3041 case "x$ac_cv_prog_cc_stdc" in
3042   x|xno)
3043     echo "$as_me:$LINENO: result: none needed" >&5
3044 echo "${ECHO_T}none needed" >&6 ;;
3045   *)
3046     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3048     CC="$CC $ac_cv_prog_cc_stdc" ;;
3049 esac
3050
3051 # Some people use a C++ compiler to compile C.  Since we use `exit',
3052 # in C++ we need to declare it.  In case someone uses the same compiler
3053 # for both compiling C and C++ we need to have the C++ compiler decide
3054 # the declaration of exit, since it's the most demanding environment.
3055 cat >conftest.$ac_ext <<_ACEOF
3056 #ifndef __cplusplus
3057   choke me
3058 #endif
3059 _ACEOF
3060 rm -f conftest.$ac_objext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062   (eval $ac_compile) 2>conftest.er1
3063   ac_status=$?
3064   grep -v '^ *+' conftest.er1 >conftest.err
3065   rm -f conftest.er1
3066   cat conftest.err >&5
3067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068   (exit $ac_status); } &&
3069          { ac_try='test -z "$ac_c_werror_flag"
3070                          || test ! -s conftest.err'
3071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072   (eval $ac_try) 2>&5
3073   ac_status=$?
3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075   (exit $ac_status); }; } &&
3076          { ac_try='test -s conftest.$ac_objext'
3077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078   (eval $ac_try) 2>&5
3079   ac_status=$?
3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081   (exit $ac_status); }; }; then
3082   for ac_declaration in \
3083    '' \
3084    'extern "C" void std::exit (int) throw (); using std::exit;' \
3085    'extern "C" void std::exit (int); using std::exit;' \
3086    'extern "C" void exit (int) throw ();' \
3087    'extern "C" void exit (int);' \
3088    'void exit (int);'
3089 do
3090   cat >conftest.$ac_ext <<_ACEOF
3091 /* confdefs.h.  */
3092 _ACEOF
3093 cat confdefs.h >>conftest.$ac_ext
3094 cat >>conftest.$ac_ext <<_ACEOF
3095 /* end confdefs.h.  */
3096 $ac_declaration
3097 #include <stdlib.h>
3098 int
3099 main ()
3100 {
3101 exit (42);
3102   ;
3103   return 0;
3104 }
3105 _ACEOF
3106 rm -f conftest.$ac_objext
3107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3108   (eval $ac_compile) 2>conftest.er1
3109   ac_status=$?
3110   grep -v '^ *+' conftest.er1 >conftest.err
3111   rm -f conftest.er1
3112   cat conftest.err >&5
3113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114   (exit $ac_status); } &&
3115          { ac_try='test -z "$ac_c_werror_flag"
3116                          || test ! -s conftest.err'
3117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118   (eval $ac_try) 2>&5
3119   ac_status=$?
3120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121   (exit $ac_status); }; } &&
3122          { ac_try='test -s conftest.$ac_objext'
3123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124   (eval $ac_try) 2>&5
3125   ac_status=$?
3126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127   (exit $ac_status); }; }; then
3128   :
3129 else
3130   echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3132
3133 continue
3134 fi
3135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3136   cat >conftest.$ac_ext <<_ACEOF
3137 /* confdefs.h.  */
3138 _ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h.  */
3142 $ac_declaration
3143 int
3144 main ()
3145 {
3146 exit (42);
3147   ;
3148   return 0;
3149 }
3150 _ACEOF
3151 rm -f conftest.$ac_objext
3152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3153   (eval $ac_compile) 2>conftest.er1
3154   ac_status=$?
3155   grep -v '^ *+' conftest.er1 >conftest.err
3156   rm -f conftest.er1
3157   cat conftest.err >&5
3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159   (exit $ac_status); } &&
3160          { ac_try='test -z "$ac_c_werror_flag"
3161                          || test ! -s conftest.err'
3162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163   (eval $ac_try) 2>&5
3164   ac_status=$?
3165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166   (exit $ac_status); }; } &&
3167          { ac_try='test -s conftest.$ac_objext'
3168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169   (eval $ac_try) 2>&5
3170   ac_status=$?
3171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172   (exit $ac_status); }; }; then
3173   break
3174 else
3175   echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3177
3178 fi
3179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3180 done
3181 rm -f conftest*
3182 if test -n "$ac_declaration"; then
3183   echo '#ifdef __cplusplus' >>confdefs.h
3184   echo $ac_declaration      >>confdefs.h
3185   echo '#endif'             >>confdefs.h
3186 fi
3187
3188 else
3189   echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3191
3192 fi
3193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_ext=c
3195 ac_cpp='$CPP $CPPFLAGS'
3196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 DEPDIR="${am__leading_dot}deps"
3200
3201           ac_config_commands="$ac_config_commands depfiles"
3202
3203
3204 am_make=${MAKE-make}
3205 cat > confinc << 'END'
3206 am__doit:
3207         @echo done
3208 .PHONY: am__doit
3209 END
3210 # If we don't find an include directive, just comment out the code.
3211 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3212 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3213 am__include="#"
3214 am__quote=
3215 _am_result=none
3216 # First try GNU make style include.
3217 echo "include confinc" > confmf
3218 # We grep out `Entering directory' and `Leaving directory'
3219 # messages which can occur if `w' ends up in MAKEFLAGS.
3220 # In particular we don't look at `^make:' because GNU make might
3221 # be invoked under some other name (usually "gmake"), in which
3222 # case it prints its new name instead of `make'.
3223 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3224    am__include=include
3225    am__quote=
3226    _am_result=GNU
3227 fi
3228 # Now try BSD make style include.
3229 if test "$am__include" = "#"; then
3230    echo '.include "confinc"' > confmf
3231    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3232       am__include=.include
3233       am__quote="\""
3234       _am_result=BSD
3235    fi
3236 fi
3237
3238
3239 echo "$as_me:$LINENO: result: $_am_result" >&5
3240 echo "${ECHO_T}$_am_result" >&6
3241 rm -f confinc confmf
3242
3243 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3244 if test "${enable_dependency_tracking+set}" = set; then
3245   enableval="$enable_dependency_tracking"
3246
3247 fi;
3248 if test "x$enable_dependency_tracking" != xno; then
3249   am_depcomp="$ac_aux_dir/depcomp"
3250   AMDEPBACKSLASH='\'
3251 fi
3252
3253
3254 if test "x$enable_dependency_tracking" != xno; then
3255   AMDEP_TRUE=
3256   AMDEP_FALSE='#'
3257 else
3258   AMDEP_TRUE='#'
3259   AMDEP_FALSE=
3260 fi
3261
3262
3263
3264
3265 depcc="$CC"   am_compiler_list=
3266
3267 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3268 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3269 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3270   echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3273   # We make a subdir and do the tests there.  Otherwise we can end up
3274   # making bogus files that we don't know about and never remove.  For
3275   # instance it was reported that on HP-UX the gcc test will end up
3276   # making a dummy file named `D' -- because `-MD' means `put the output
3277   # in D'.
3278   mkdir conftest.dir
3279   # Copy depcomp to subdir because otherwise we won't find it if we're
3280   # using a relative directory.
3281   cp "$am_depcomp" conftest.dir
3282   cd conftest.dir
3283   # We will build objects and dependencies in a subdirectory because
3284   # it helps to detect inapplicable dependency modes.  For instance
3285   # both Tru64's cc and ICC support -MD to output dependencies as a
3286   # side effect of compilation, but ICC will put the dependencies in
3287   # the current directory while Tru64 will put them in the object
3288   # directory.
3289   mkdir sub
3290
3291   am_cv_CC_dependencies_compiler_type=none
3292   if test "$am_compiler_list" = ""; then
3293      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3294   fi
3295   for depmode in $am_compiler_list; do
3296     # Setup a source with many dependencies, because some compilers
3297     # like to wrap large dependency lists on column 80 (with \), and
3298     # we should not choose a depcomp mode which is confused by this.
3299     #
3300     # We need to recreate these files for each test, as the compiler may
3301     # overwrite some of them when testing with obscure command lines.
3302     # This happens at least with the AIX C compiler.
3303     : > sub/conftest.c
3304     for i in 1 2 3 4 5 6; do
3305       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3306       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3307       # Solaris 8's {/usr,}/bin/sh.
3308       touch sub/conftst$i.h
3309     done
3310     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3311
3312     case $depmode in
3313     nosideeffect)
3314       # after this tag, mechanisms are not by side-effect, so they'll
3315       # only be used when explicitly requested
3316       if test "x$enable_dependency_tracking" = xyes; then
3317         continue
3318       else
3319         break
3320       fi
3321       ;;
3322     none) break ;;
3323     esac
3324     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3325     # mode.  It turns out that the SunPro C++ compiler does not properly
3326     # handle `-M -o', and we need to detect this.
3327     if depmode=$depmode \
3328        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3329        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3330        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3331          >/dev/null 2>conftest.err &&
3332        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3333        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3334        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3335       # icc doesn't choke on unknown options, it will just issue warnings
3336       # or remarks (even with -Werror).  So we grep stderr for any message
3337       # that says an option was ignored or not supported.
3338       # When given -MP, icc 7.0 and 7.1 complain thusly:
3339       #   icc: Command line warning: ignoring option '-M'; no argument required
3340       # The diagnosis changed in icc 8.0:
3341       #   icc: Command line remark: option '-MP' not supported
3342       if (grep 'ignoring option' conftest.err ||
3343           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3344         am_cv_CC_dependencies_compiler_type=$depmode
3345         break
3346       fi
3347     fi
3348   done
3349
3350   cd ..
3351   rm -rf conftest.dir
3352 else
3353   am_cv_CC_dependencies_compiler_type=none
3354 fi
3355
3356 fi
3357 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3358 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3359 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3360
3361
3362
3363 if
3364   test "x$enable_dependency_tracking" != xno \
3365   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3366   am__fastdepCC_TRUE=
3367   am__fastdepCC_FALSE='#'
3368 else
3369   am__fastdepCC_TRUE='#'
3370   am__fastdepCC_FALSE=
3371 fi
3372
3373
3374
3375
3376 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3377 if test "x$GCC" = "xyes"; then
3378   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3379   ## We like to use C99 routines when available.  This makes sure that
3380   ## __STDC_VERSION__ is set such that libc includes make them available.
3381   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3382   ## Compile the following tests with the same system header contents
3383   ## that we'll encounter when compiling our own source files.
3384   CFLAGS="-std=gnu99 $CFLAGS"
3385 fi
3386
3387
3388
3389
3390 # Check for symbol versioning (copied from libssp).
3391 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3392 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3393 cat > conftest.map <<EOF
3394 FOO_1.0 {
3395   global: *foo*; bar; local: *;
3396 };
3397 EOF
3398 save_LDFLAGS="$LDFLAGS"
3399 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3400
3401 if test x$gcc_no_link = xyes; then
3402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3404    { (exit 1); exit 1; }; }
3405 fi
3406 cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h.  */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h.  */
3412 int foo;
3413 int
3414 main ()
3415 {
3416
3417   ;
3418   return 0;
3419 }
3420 _ACEOF
3421 rm -f conftest.$ac_objext conftest$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423   (eval $ac_link) 2>conftest.er1
3424   ac_status=$?
3425   grep -v '^ *+' conftest.er1 >conftest.err
3426   rm -f conftest.er1
3427   cat conftest.err >&5
3428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429   (exit $ac_status); } &&
3430          { ac_try='test -z "$ac_c_werror_flag"
3431                          || test ! -s conftest.err'
3432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433   (eval $ac_try) 2>&5
3434   ac_status=$?
3435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436   (exit $ac_status); }; } &&
3437          { ac_try='test -s conftest$ac_exeext'
3438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3439   (eval $ac_try) 2>&5
3440   ac_status=$?
3441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442   (exit $ac_status); }; }; then
3443   gfortran_use_symver=yes
3444 else
3445   echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3447
3448 gfortran_use_symver=no
3449 fi
3450 rm -f conftest.err conftest.$ac_objext \
3451       conftest$ac_exeext conftest.$ac_ext
3452 LDFLAGS="$save_LDFLAGS"
3453 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3454 echo "${ECHO_T}$gfortran_use_symver" >&6
3455
3456
3457 if test "x$gfortran_use_symver" = xyes; then
3458   LIBGFOR_USE_SYMVER_TRUE=
3459   LIBGFOR_USE_SYMVER_FALSE='#'
3460 else
3461   LIBGFOR_USE_SYMVER_TRUE='#'
3462   LIBGFOR_USE_SYMVER_FALSE=
3463 fi
3464
3465
3466 # Find other programs we need.
3467 if test -n "$ac_tool_prefix"; then
3468   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3469 set dummy ${ac_tool_prefix}as; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${ac_cv_prog_AS+set}" = set; then
3473   echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475   if test -n "$AS"; then
3476   ac_cv_prog_AS="$AS" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3480 do
3481   IFS=$as_save_IFS
3482   test -z "$as_dir" && as_dir=.
3483   for ac_exec_ext in '' $ac_executable_extensions; do
3484   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485     ac_cv_prog_AS="${ac_tool_prefix}as"
3486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487     break 2
3488   fi
3489 done
3490 done
3491
3492 fi
3493 fi
3494 AS=$ac_cv_prog_AS
3495 if test -n "$AS"; then
3496   echo "$as_me:$LINENO: result: $AS" >&5
3497 echo "${ECHO_T}$AS" >&6
3498 else
3499   echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 fi
3502
3503 fi
3504 if test -z "$ac_cv_prog_AS"; then
3505   ac_ct_AS=$AS
3506   # Extract the first word of "as", so it can be a program name with args.
3507 set dummy as; ac_word=$2
3508 echo "$as_me:$LINENO: checking for $ac_word" >&5
3509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3510 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3511   echo $ECHO_N "(cached) $ECHO_C" >&6
3512 else
3513   if test -n "$ac_ct_AS"; then
3514   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521   for ac_exec_ext in '' $ac_executable_extensions; do
3522   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3523     ac_cv_prog_ac_ct_AS="as"
3524     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3525     break 2
3526   fi
3527 done
3528 done
3529
3530 fi
3531 fi
3532 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3533 if test -n "$ac_ct_AS"; then
3534   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3535 echo "${ECHO_T}$ac_ct_AS" >&6
3536 else
3537   echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6
3539 fi
3540
3541   AS=$ac_ct_AS
3542 else
3543   AS="$ac_cv_prog_AS"
3544 fi
3545
3546 if test -n "$ac_tool_prefix"; then
3547   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3548 set dummy ${ac_tool_prefix}ar; ac_word=$2
3549 echo "$as_me:$LINENO: checking for $ac_word" >&5
3550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3551 if test "${ac_cv_prog_AR+set}" = set; then
3552   echo $ECHO_N "(cached) $ECHO_C" >&6
3553 else
3554   if test -n "$AR"; then
3555   ac_cv_prog_AR="$AR" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3559 do
3560   IFS=$as_save_IFS
3561   test -z "$as_dir" && as_dir=.
3562   for ac_exec_ext in '' $ac_executable_extensions; do
3563   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3564     ac_cv_prog_AR="${ac_tool_prefix}ar"
3565     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3566     break 2
3567   fi
3568 done
3569 done
3570
3571 fi
3572 fi
3573 AR=$ac_cv_prog_AR
3574 if test -n "$AR"; then
3575   echo "$as_me:$LINENO: result: $AR" >&5
3576 echo "${ECHO_T}$AR" >&6
3577 else
3578   echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3580 fi
3581
3582 fi
3583 if test -z "$ac_cv_prog_AR"; then
3584   ac_ct_AR=$AR
3585   # Extract the first word of "ar", so it can be a program name with args.
3586 set dummy ar; ac_word=$2
3587 echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3589 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3590   echo $ECHO_N "(cached) $ECHO_C" >&6
3591 else
3592   if test -n "$ac_ct_AR"; then
3593   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3597 do
3598   IFS=$as_save_IFS
3599   test -z "$as_dir" && as_dir=.
3600   for ac_exec_ext in '' $ac_executable_extensions; do
3601   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602     ac_cv_prog_ac_ct_AR="ar"
3603     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604     break 2
3605   fi
3606 done
3607 done
3608
3609 fi
3610 fi
3611 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3612 if test -n "$ac_ct_AR"; then
3613   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3614 echo "${ECHO_T}$ac_ct_AR" >&6
3615 else
3616   echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 fi
3619
3620   AR=$ac_ct_AR
3621 else
3622   AR="$ac_cv_prog_AR"
3623 fi
3624
3625 if test -n "$ac_tool_prefix"; then
3626   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3628 echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3630 if test "${ac_cv_prog_RANLIB+set}" = set; then
3631   echo $ECHO_N "(cached) $ECHO_C" >&6
3632 else
3633   if test -n "$RANLIB"; then
3634   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3638 do
3639   IFS=$as_save_IFS
3640   test -z "$as_dir" && as_dir=.
3641   for ac_exec_ext in '' $ac_executable_extensions; do
3642   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3644     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3645     break 2
3646   fi
3647 done
3648 done
3649
3650 fi
3651 fi
3652 RANLIB=$ac_cv_prog_RANLIB
3653 if test -n "$RANLIB"; then
3654   echo "$as_me:$LINENO: result: $RANLIB" >&5
3655 echo "${ECHO_T}$RANLIB" >&6
3656 else
3657   echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 fi
3660
3661 fi
3662 if test -z "$ac_cv_prog_RANLIB"; then
3663   ac_ct_RANLIB=$RANLIB
3664   # Extract the first word of "ranlib", so it can be a program name with args.
3665 set dummy ranlib; ac_word=$2
3666 echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3669   echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671   if test -n "$ac_ct_RANLIB"; then
3672   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3673 else
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 for as_dir in $PATH
3676 do
3677   IFS=$as_save_IFS
3678   test -z "$as_dir" && as_dir=.
3679   for ac_exec_ext in '' $ac_executable_extensions; do
3680   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3681     ac_cv_prog_ac_ct_RANLIB="ranlib"
3682     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683     break 2
3684   fi
3685 done
3686 done
3687
3688   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3689 fi
3690 fi
3691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3692 if test -n "$ac_ct_RANLIB"; then
3693   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3694 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3695 else
3696   echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3698 fi
3699
3700   RANLIB=$ac_ct_RANLIB
3701 else
3702   RANLIB="$ac_cv_prog_RANLIB"
3703 fi
3704
3705 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3706 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3707 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3709   echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711   cat >conftest.make <<\_ACEOF
3712 all:
3713         @echo 'ac_maketemp="$(MAKE)"'
3714 _ACEOF
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3717 if test -n "$ac_maketemp"; then
3718   eval ac_cv_prog_make_${ac_make}_set=yes
3719 else
3720   eval ac_cv_prog_make_${ac_make}_set=no
3721 fi
3722 rm -f conftest.make
3723 fi
3724 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3725   echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727   SET_MAKE=
3728 else
3729   echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3731   SET_MAKE="MAKE=${MAKE-make}"
3732 fi
3733
3734 # Find a good install program.  We prefer a C program (faster),
3735 # so one script is as good as another.  But avoid the broken or
3736 # incompatible versions:
3737 # SysV /etc/install, /usr/sbin/install
3738 # SunOS /usr/etc/install
3739 # IRIX /sbin/install
3740 # AIX /bin/install
3741 # AmigaOS /C/install, which installs bootblocks on floppy discs
3742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3745 # OS/2's system install, which has a completely different semantic
3746 # ./install, which can be erroneously created by make from ./install.sh.
3747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3749 if test -z "$INSTALL"; then
3750 if test "${ac_cv_path_install+set}" = set; then
3751   echo $ECHO_N "(cached) $ECHO_C" >&6
3752 else
3753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3755 do
3756   IFS=$as_save_IFS
3757   test -z "$as_dir" && as_dir=.
3758   # Account for people who put trailing slashes in PATH elements.
3759 case $as_dir/ in
3760   ./ | .// | /cC/* | \
3761   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3762   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3763   /usr/ucb/* ) ;;
3764   *)
3765     # OSF1 and SCO ODT 3.0 have their own names for install.
3766     # Don't use installbsd from OSF since it installs stuff as root
3767     # by default.
3768     for ac_prog in ginstall scoinst install; do
3769       for ac_exec_ext in '' $ac_executable_extensions; do
3770         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3771           if test $ac_prog = install &&
3772             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3773             # AIX install.  It has an incompatible calling convention.
3774             :
3775           elif test $ac_prog = install &&
3776             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3777             # program-specific install script used by HP pwplus--don't use.
3778             :
3779           else
3780             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3781             break 3
3782           fi
3783         fi
3784       done
3785     done
3786     ;;
3787 esac
3788 done
3789
3790
3791 fi
3792   if test "${ac_cv_path_install+set}" = set; then
3793     INSTALL=$ac_cv_path_install
3794   else
3795     # As a last resort, use the slow shell script.  We don't cache a
3796     # path for INSTALL within a source directory, because that will
3797     # break other packages using the cache if that directory is
3798     # removed, or if the path is relative.
3799     INSTALL=$ac_install_sh
3800   fi
3801 fi
3802 echo "$as_me:$LINENO: result: $INSTALL" >&5
3803 echo "${ECHO_T}$INSTALL" >&6
3804
3805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3806 # It thinks the first close brace ends the variable substitution.
3807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3808
3809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3810
3811 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3812
3813
3814 # Configure libtool
3815 #AC_MSG_NOTICE([====== Starting libtool configuration])
3816 enable_dlopen=yes
3817
3818
3819
3820
3821
3822 macro_version='2.1a'
3823 macro_revision='1.2435'
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836 ltmain="$ac_aux_dir/ltmain.sh"
3837
3838 # Set options
3839
3840
3841 enable_win32_dll=no
3842
3843
3844 # Check whether --enable-shared or --disable-shared was given.
3845 if test "${enable_shared+set}" = set; then
3846   enableval="$enable_shared"
3847   p=${PACKAGE-default}
3848     case $enableval in
3849     yes) enable_shared=yes ;;
3850     no) enable_shared=no ;;
3851     *)
3852       enable_shared=no
3853       # Look at the argument we got.  We use all the common list separators.
3854       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3855       for pkg in $enableval; do
3856         IFS="$lt_save_ifs"
3857         if test "X$pkg" = "X$p"; then
3858           enable_shared=yes
3859         fi
3860       done
3861       IFS="$lt_save_ifs"
3862       ;;
3863     esac
3864 else
3865   enable_shared=yes
3866 fi;
3867
3868
3869
3870
3871
3872
3873
3874
3875 # Check whether --enable-static or --disable-static was given.
3876 if test "${enable_static+set}" = set; then
3877   enableval="$enable_static"
3878   p=${PACKAGE-default}
3879     case $enableval in
3880     yes) enable_static=yes ;;
3881     no) enable_static=no ;;
3882     *)
3883      enable_static=no
3884       # Look at the argument we got.  We use all the common list separators.
3885       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3886       for pkg in $enableval; do
3887         IFS="$lt_save_ifs"
3888         if test "X$pkg" = "X$p"; then
3889           enable_static=yes
3890         fi
3891       done
3892       IFS="$lt_save_ifs"
3893       ;;
3894     esac
3895 else
3896   enable_static=yes
3897 fi;
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907 # Check whether --with-pic or --without-pic was given.
3908 if test "${with_pic+set}" = set; then
3909   withval="$with_pic"
3910   pic_mode="$withval"
3911 else
3912   pic_mode=default
3913 fi;
3914
3915 test -z "$pic_mode" && pic_mode=default
3916
3917
3918
3919
3920
3921
3922
3923 # Check whether --enable-fast-install or --disable-fast-install was given.
3924 if test "${enable_fast_install+set}" = set; then
3925   enableval="$enable_fast_install"
3926   p=${PACKAGE-default}
3927     case $enableval in
3928     yes) enable_fast_install=yes ;;
3929     no) enable_fast_install=no ;;
3930     *)
3931       enable_fast_install=no
3932       # Look at the argument we got.  We use all the common list separators.
3933       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3934       for pkg in $enableval; do
3935         IFS="$lt_save_ifs"
3936         if test "X$pkg" = "X$p"; then
3937           enable_fast_install=yes
3938         fi
3939       done
3940       IFS="$lt_save_ifs"
3941       ;;
3942     esac
3943 else
3944   enable_fast_install=yes
3945 fi;
3946
3947
3948
3949
3950
3951
3952
3953
3954 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3955 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3956 if test "${lt_cv_path_SED+set}" = set; then
3957   echo $ECHO_N "(cached) $ECHO_C" >&6
3958 else
3959   # Loop through the user's path and test for sed and gsed.
3960 # Then use that list of sed's as ones to test for truncation.
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3963 do
3964   IFS=$as_save_IFS
3965   test -z "$as_dir" && as_dir=.
3966   for lt_ac_prog in sed gsed; do
3967     for ac_exec_ext in '' $ac_executable_extensions; do
3968       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3969         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3970       fi
3971     done
3972   done
3973 done
3974 IFS=$as_save_IFS
3975 lt_ac_max=0
3976 lt_ac_count=0
3977 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3978 # along with /bin/sed that truncates output.
3979 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3980   test ! -f $lt_ac_sed && continue
3981   cat /dev/null > conftest.in
3982   lt_ac_count=0
3983   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3984   # Check for GNU sed and select it if it is found.
3985   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3986     lt_cv_path_SED=$lt_ac_sed
3987     break
3988   fi
3989   while true; do
3990     cat conftest.in conftest.in >conftest.tmp
3991     mv conftest.tmp conftest.in
3992     cp conftest.in conftest.nl
3993     echo >>conftest.nl
3994     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3995     cmp -s conftest.out conftest.nl || break
3996     # 10000 chars as input seems more than enough
3997     test $lt_ac_count -gt 10 && break
3998     lt_ac_count=`expr $lt_ac_count + 1`
3999     if test $lt_ac_count -gt $lt_ac_max; then
4000       lt_ac_max=$lt_ac_count
4001       lt_cv_path_SED=$lt_ac_sed
4002     fi
4003   done
4004 done
4005
4006 fi
4007
4008 SED=$lt_cv_path_SED
4009
4010 echo "$as_me:$LINENO: result: $SED" >&5
4011 echo "${ECHO_T}$SED" >&6
4012
4013 test -z "$SED" && SED=sed
4014 Xsed="$SED -e 1s/^X//"
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026 echo "$as_me:$LINENO: checking for egrep" >&5
4027 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4028 if test "${ac_cv_prog_egrep+set}" = set; then
4029   echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4032     then ac_cv_prog_egrep='grep -E'
4033     else ac_cv_prog_egrep='egrep'
4034     fi
4035 fi
4036 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4037 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4038  EGREP=$ac_cv_prog_egrep
4039
4040
4041 echo "$as_me:$LINENO: checking for fgrep" >&5
4042 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4043 if test "${ac_cv_prog_fgrep+set}" = set; then
4044   echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4047     then ac_cv_prog_fgrep='grep -F'
4048     else ac_cv_prog_fgrep='fgrep'
4049     fi
4050 fi
4051 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4052 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4053  FGREP=$ac_cv_prog_fgrep
4054
4055
4056 test -z "$GREP" && GREP=grep
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4077 if test "${with_gnu_ld+set}" = set; then
4078   withval="$with_gnu_ld"
4079   test "$withval" = no || with_gnu_ld=yes
4080 else
4081   with_gnu_ld=no
4082 fi;
4083 ac_prog=ld
4084 if test "$GCC" = yes; then
4085   # Check if gcc -print-prog-name=ld gives a path.
4086   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4087 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4088   case $host in
4089   *-*-mingw*)
4090     # gcc leaves a trailing carriage return which upsets mingw
4091     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4092   *)
4093     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4094   esac
4095   case $ac_prog in
4096     # Accept absolute paths.
4097     [\\/]* | ?:[\\/]*)
4098       re_direlt='/[^/][^/]*/\.\./'
4099       # Canonicalize the pathname of ld
4100       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4101       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4102         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4103       done
4104       test -z "$LD" && LD="$ac_prog"
4105       ;;
4106   "")
4107     # If it fails, then pretend we aren't using GCC.
4108     ac_prog=ld
4109     ;;
4110   *)
4111     # If it is relative, then search for the first ld in PATH.
4112     with_gnu_ld=unknown
4113     ;;
4114   esac
4115 elif test "$with_gnu_ld" = yes; then
4116   echo "$as_me:$LINENO: checking for GNU ld" >&5
4117 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4118 else
4119   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4120 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4121 fi
4122 if test "${lt_cv_path_LD+set}" = set; then
4123   echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125   if test -z "$LD"; then
4126   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4127   for ac_dir in $PATH; do
4128     IFS="$lt_save_ifs"
4129     test -z "$ac_dir" && ac_dir=.
4130     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4131       lt_cv_path_LD="$ac_dir/$ac_prog"
4132       # Check to see if the program is GNU ld.  I'd rather use --version,
4133       # but apparently some variants of GNU ld only accept -v.
4134       # Break only if it was the GNU/non-GNU ld that we prefer.
4135       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4136       *GNU* | *'with BFD'*)
4137         test "$with_gnu_ld" != no && break
4138         ;;
4139       *)
4140         test "$with_gnu_ld" != yes && break
4141         ;;
4142       esac
4143     fi
4144   done
4145   IFS="$lt_save_ifs"
4146 else
4147   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4148 fi
4149 fi
4150
4151 LD="$lt_cv_path_LD"
4152 if test -n "$LD"; then
4153   echo "$as_me:$LINENO: result: $LD" >&5
4154 echo "${ECHO_T}$LD" >&6
4155 else
4156   echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4158 fi
4159 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4160 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4161    { (exit 1); exit 1; }; }
4162 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4163 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4164 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4165   echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4168 case `$LD -v 2>&1 </dev/null` in
4169 *GNU* | *'with BFD'*)
4170   lt_cv_prog_gnu_ld=yes
4171   ;;
4172 *)
4173   lt_cv_prog_gnu_ld=no
4174   ;;
4175 esac
4176 fi
4177 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4178 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4179 with_gnu_ld=$lt_cv_prog_gnu_ld
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4191 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4192 if test "${lt_cv_path_NM+set}" = set; then
4193   echo $ECHO_N "(cached) $ECHO_C" >&6
4194 else
4195   if test -n "$NM"; then
4196   # Let the user override the test.
4197   lt_cv_path_NM="$NM"
4198 else
4199   lt_nm_to_check="${ac_tool_prefix}nm"
4200   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4201     lt_nm_to_check="$lt_nm_to_check nm"
4202   fi
4203   for lt_tmp_nm in $lt_nm_to_check; do
4204     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4205     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4206       IFS="$lt_save_ifs"
4207       test -z "$ac_dir" && ac_dir=.
4208       tmp_nm="$ac_dir/$lt_tmp_nm"
4209       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4210         # Check to see if the nm accepts a BSD-compat flag.
4211         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4212         #   nm: unknown option "B" ignored
4213         # Tru64's nm complains that /dev/null is an invalid object file
4214         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4215         */dev/null* | *'Invalid file or object type'*)
4216           lt_cv_path_NM="$tmp_nm -B"
4217           break
4218           ;;
4219         *)
4220           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4221           */dev/null*)
4222             lt_cv_path_NM="$tmp_nm -p"
4223             break
4224             ;;
4225           *)
4226             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4227             continue # so that we can try to find one that supports BSD flags
4228             ;;
4229           esac
4230           ;;
4231         esac
4232       fi
4233     done
4234     IFS="$lt_save_ifs"
4235   done
4236   : ${lt_cv_path_NM=no}
4237 fi
4238 fi
4239 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4240 echo "${ECHO_T}$lt_cv_path_NM" >&6
4241 if test "$lt_cv_path_NM" != "no"; then
4242   NM="$lt_cv_path_NM"
4243 else
4244   # Didn't find any BSD compatible name lister, look for dumpbin.
4245   if test -n "$ac_tool_prefix"; then
4246   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4247   do
4248     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4253   echo $ECHO_N "(cached) $ECHO_C" >&6
4254 else
4255   if test -n "$DUMPBIN"; then
4256   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4260 do
4261   IFS=$as_save_IFS
4262   test -z "$as_dir" && as_dir=.
4263   for ac_exec_ext in '' $ac_executable_extensions; do
4264   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267     break 2
4268   fi
4269 done
4270 done
4271
4272 fi
4273 fi
4274 DUMPBIN=$ac_cv_prog_DUMPBIN
4275 if test -n "$DUMPBIN"; then
4276   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4277 echo "${ECHO_T}$DUMPBIN" >&6
4278 else
4279   echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4281 fi
4282
4283     test -n "$DUMPBIN" && break
4284   done
4285 fi
4286 if test -z "$DUMPBIN"; then
4287   ac_ct_DUMPBIN=$DUMPBIN
4288   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4289 do
4290   # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 echo "$as_me:$LINENO: checking for $ac_word" >&5
4293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4294 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4295   echo $ECHO_N "(cached) $ECHO_C" >&6
4296 else
4297   if test -n "$ac_ct_DUMPBIN"; then
4298   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4299 else
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH
4302 do
4303   IFS=$as_save_IFS
4304   test -z "$as_dir" && as_dir=.
4305   for ac_exec_ext in '' $ac_executable_extensions; do
4306   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4307     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309     break 2
4310   fi
4311 done
4312 done
4313
4314 fi
4315 fi
4316 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4317 if test -n "$ac_ct_DUMPBIN"; then
4318   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4319 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4320 else
4321   echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4323 fi
4324
4325   test -n "$ac_ct_DUMPBIN" && break
4326 done
4327 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4328
4329   DUMPBIN=$ac_ct_DUMPBIN
4330 fi
4331
4332
4333   if test "$DUMPBIN" != ":"; then
4334     NM="$DUMPBIN"
4335   fi
4336 fi
4337 test -z "$NM" && NM=nm
4338
4339
4340
4341
4342
4343
4344 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4345 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4346 if test "${lt_cv_nm_interface+set}" = set; then
4347   echo $ECHO_N "(cached) $ECHO_C" >&6
4348 else
4349   lt_cv_nm_interface="BSD nm"
4350   echo "int some_variable = 0;" > conftest.$ac_ext
4351   (eval echo "\"\$as_me:4351: $ac_compile\"" >&5)
4352   (eval "$ac_compile" 2>conftest.err)
4353   cat conftest.err >&5
4354   (eval echo "\"\$as_me:4354: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4355   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4356   cat conftest.err >&5
4357   (eval echo "\"\$as_me:4357: output\"" >&5)
4358   cat conftest.out >&5
4359   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4360     lt_cv_nm_interface="MS dumpbin"
4361   fi
4362   rm -f conftest*
4363 fi
4364 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4365 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4366
4367 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4368 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4369 LN_S=$as_ln_s
4370 if test "$LN_S" = "ln -s"; then
4371   echo "$as_me:$LINENO: result: yes" >&5
4372 echo "${ECHO_T}yes" >&6
4373 else
4374   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4375 echo "${ECHO_T}no, using $LN_S" >&6
4376 fi
4377
4378 # find the maximum length of command line arguments
4379 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4380 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4381 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4382   echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4384     i=0
4385   teststring="ABCD"
4386
4387   case $build_os in
4388   msdosdjgpp*)
4389     # On DJGPP, this test can blow up pretty badly due to problems in libc
4390     # (any single argument exceeding 2000 bytes causes a buffer overrun
4391     # during glob expansion).  Even if it were fixed, the result of this
4392     # check would be larger than it should be.
4393     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4394     ;;
4395
4396   gnu*)
4397     # Under GNU Hurd, this test is not required because there is
4398     # no limit to the length of command line arguments.
4399     # Libtool will interpret -1 as no limit whatsoever
4400     lt_cv_sys_max_cmd_len=-1;
4401     ;;
4402
4403   cygwin* | mingw*)
4404     # On Win9x/ME, this test blows up -- it succeeds, but takes
4405     # about 5 minutes as the teststring grows exponentially.
4406     # Worse, since 9x/ME are not pre-emptively multitasking,
4407     # you end up with a "frozen" computer, even though with patience
4408     # the test eventually succeeds (with a max line length of 256k).
4409     # Instead, let's just punt: use the minimum linelength reported by
4410     # all of the supported platforms: 8192 (on NT/2K/XP).
4411     lt_cv_sys_max_cmd_len=8192;
4412     ;;
4413
4414   amigaos*)
4415     # On AmigaOS with pdksh, this test takes hours, literally.
4416     # So we just punt and use a minimum line length of 8192.
4417     lt_cv_sys_max_cmd_len=8192;
4418     ;;
4419
4420   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4421     # This has been around since 386BSD, at least.  Likely further.
4422     if test -x /sbin/sysctl; then
4423       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4424     elif test -x /usr/sbin/sysctl; then
4425       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4426     else
4427       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4428     fi
4429     # And add a safety zone
4430     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4431     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4432     ;;
4433
4434   interix*)
4435     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4436     lt_cv_sys_max_cmd_len=196608
4437     ;;
4438
4439   osf*)
4440     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4441     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4442     # nice to cause kernel panics so lets avoid the loop below.
4443     # First set a reasonable default.
4444     lt_cv_sys_max_cmd_len=16384
4445     #
4446     if test -x /sbin/sysconfig; then
4447       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4448         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4449       esac
4450     fi
4451     ;;
4452   sco3.2v5*)
4453     lt_cv_sys_max_cmd_len=102400
4454     ;;
4455   sysv5* | sco5v6* | sysv4.2uw2*)
4456     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4457     if test -n "$kargmax"; then
4458       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4459     else
4460       lt_cv_sys_max_cmd_len=32768
4461     fi
4462     ;;
4463   *)
4464     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4465     if test -n $lt_cv_sys_max_cmd_len; then
4466       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4467       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4468     else
4469       # Make teststring a little bigger before we do anything with it.
4470       # a 1K string should be a reasonable start.
4471       for i in 1 2 3 4 5 6 7 8 ; do
4472         teststring=$teststring$teststring
4473       done
4474       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4475       # If test is not a shell built-in, we'll probably end up computing a
4476       # maximum length that is only half of the actual maximum length, but
4477       # we can't tell.
4478       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4479                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4480               test $i != 17 # 1/2 MB should be enough
4481       do
4482         i=`expr $i + 1`
4483         teststring=$teststring$teststring
4484       done
4485       # Only check the string length outside the loop.
4486       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4487       teststring=
4488       # Add a significant safety factor because C++ compilers can tack on
4489       # massive amounts of additional arguments before passing them to the
4490       # linker.  It appears as though 1/2 is a usable value.
4491       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4492     fi
4493     ;;
4494   esac
4495
4496 fi
4497
4498 if test -n $lt_cv_sys_max_cmd_len ; then
4499   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4500 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4501 else
4502   echo "$as_me:$LINENO: result: none" >&5
4503 echo "${ECHO_T}none" >&6
4504 fi
4505 max_cmd_len=$lt_cv_sys_max_cmd_len
4506
4507
4508
4509
4510
4511
4512
4513 : ${CP="cp -f"}
4514 : ${MV="mv -f"}
4515 : ${RM="rm -f"}
4516
4517 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4518 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4519 # Try some XSI features
4520 xsi_shell=no
4521 ( _lt_dummy="a/b/c"
4522   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4523       = c,a/b,, ) >/dev/null 2>&1 \
4524   && xsi_shell=yes
4525 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4526 echo "${ECHO_T}$xsi_shell" >&6
4527
4528
4529 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4530 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4531 lt_shell_append=no
4532 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4533     >/dev/null 2>&1 \
4534   && lt_shell_append=yes
4535 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4536 echo "${ECHO_T}$lt_shell_append" >&6
4537
4538
4539 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4540   lt_unset=unset
4541 else
4542   lt_unset=false
4543 fi
4544
4545
4546
4547
4548
4549 # test EBCDIC or ASCII
4550 case `echo X|tr X '\101'` in
4551  A) # ASCII based system
4552     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4553   lt_SP2NL='tr \040 \012'
4554   lt_NL2SP='tr \015\012 \040\040'
4555   ;;
4556  *) # EBCDIC based system
4557   lt_SP2NL='tr \100 \n'
4558   lt_NL2SP='tr \r\n \100\100'
4559   ;;
4560 esac
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4571 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4572 if test "${lt_cv_ld_reload_flag+set}" = set; then
4573   echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else
4575   lt_cv_ld_reload_flag='-r'
4576 fi
4577 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4578 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4579 reload_flag=$lt_cv_ld_reload_flag
4580 case $reload_flag in
4581 "" | " "*) ;;
4582 *) reload_flag=" $reload_flag" ;;
4583 esac
4584 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4585 case $host_os in
4586   darwin*)
4587     if test "$GCC" = yes; then
4588       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4589     else
4590       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4591     fi
4592     ;;
4593 esac
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4605 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4606 if test "${lt_cv_deplibs_check_method+set}" = set; then
4607   echo $ECHO_N "(cached) $ECHO_C" >&6
4608 else
4609   lt_cv_file_magic_cmd='$MAGIC_CMD'
4610 lt_cv_file_magic_test_file=
4611 lt_cv_deplibs_check_method='unknown'
4612 # Need to set the preceding variable on all platforms that support
4613 # interlibrary dependencies.
4614 # 'none' -- dependencies not supported.
4615 # `unknown' -- same as none, but documents that we really don't know.
4616 # 'pass_all' -- all dependencies passed with no checks.
4617 # 'test_compile' -- check by making test program.
4618 # 'file_magic [[regex]]' -- check by looking for files in library path
4619 # which responds to the $file_magic_cmd with a given extended regex.
4620 # If you have `file' or equivalent on your system and you're not sure
4621 # whether `pass_all' will *always* work, you probably want this one.
4622
4623 case $host_os in
4624 aix[4-9]*)
4625   lt_cv_deplibs_check_method=pass_all
4626   ;;
4627
4628 beos*)
4629   lt_cv_deplibs_check_method=pass_all
4630   ;;
4631
4632 bsdi[45]*)
4633   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4634   lt_cv_file_magic_cmd='/usr/bin/file -L'
4635   lt_cv_file_magic_test_file=/shlib/libc.so
4636   ;;
4637
4638 cygwin*)
4639   # func_win32_libid is a shell function defined in ltmain.sh
4640   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4641   lt_cv_file_magic_cmd='func_win32_libid'
4642   ;;
4643
4644 mingw* | pw32*)
4645   # Base MSYS/MinGW do not provide the 'file' command needed by
4646   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4647   # unless we find 'file', for example because we are cross-compiling.
4648   if ( file / ) >/dev/null 2>&1; then
4649     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4650     lt_cv_file_magic_cmd='func_win32_libid'
4651   else
4652     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4653     lt_cv_file_magic_cmd='$OBJDUMP -f'
4654   fi
4655   ;;
4656
4657 darwin* | rhapsody*)
4658   lt_cv_deplibs_check_method=pass_all
4659   ;;
4660
4661 freebsd* | dragonfly*)
4662   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4663     case $host_cpu in
4664     i*86 )
4665       # Not sure whether the presence of OpenBSD here was a mistake.
4666       # Let's accept both of them until this is cleared up.
4667       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4668       lt_cv_file_magic_cmd=/usr/bin/file
4669       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4670       ;;
4671     esac
4672   else
4673     lt_cv_deplibs_check_method=pass_all
4674   fi
4675   ;;
4676
4677 gnu*)
4678   lt_cv_deplibs_check_method=pass_all
4679   ;;
4680
4681 hpux10.20* | hpux11*)
4682   lt_cv_file_magic_cmd=/usr/bin/file
4683   case $host_cpu in
4684   ia64*)
4685     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4686     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4687     ;;
4688   hppa*64*)
4689     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]'
4690     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4691     ;;
4692   *)
4693     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4694     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4695     ;;
4696   esac
4697   ;;
4698
4699 interix[3-9]*)
4700   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4701   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4702   ;;
4703
4704 irix5* | irix6* | nonstopux*)
4705   case $LD in
4706   *-32|*"-32 ") libmagic=32-bit;;
4707   *-n32|*"-n32 ") libmagic=N32;;
4708   *-64|*"-64 ") libmagic=64-bit;;
4709   *) libmagic=never-match;;
4710   esac
4711   lt_cv_deplibs_check_method=pass_all
4712   ;;
4713
4714 # This must be Linux ELF.
4715 linux* | k*bsd*-gnu)
4716   lt_cv_deplibs_check_method=pass_all
4717   ;;
4718
4719 netbsd*)
4720   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4721     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4722   else
4723     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4724   fi
4725   ;;
4726
4727 newos6*)
4728   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4729   lt_cv_file_magic_cmd=/usr/bin/file
4730   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4731   ;;
4732
4733 *nto* | *qnx*)
4734   lt_cv_deplibs_check_method=pass_all
4735   ;;
4736
4737 openbsd*)
4738   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4739     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4740   else
4741     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4742   fi
4743   ;;
4744
4745 osf3* | osf4* | osf5*)
4746   lt_cv_deplibs_check_method=pass_all
4747   ;;
4748
4749 rdos*)
4750   lt_cv_deplibs_check_method=pass_all
4751   ;;
4752
4753 solaris*)
4754   lt_cv_deplibs_check_method=pass_all
4755   ;;
4756
4757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4758   lt_cv_deplibs_check_method=pass_all
4759   ;;
4760
4761 sysv4 | sysv4.3*)
4762   case $host_vendor in
4763   motorola)
4764     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]'
4765     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4766     ;;
4767   ncr)
4768     lt_cv_deplibs_check_method=pass_all
4769     ;;
4770   sequent)
4771     lt_cv_file_magic_cmd='/bin/file'
4772     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4773     ;;
4774   sni)
4775     lt_cv_file_magic_cmd='/bin/file'
4776     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4777     lt_cv_file_magic_test_file=/lib/libc.so
4778     ;;
4779   siemens)
4780     lt_cv_deplibs_check_method=pass_all
4781     ;;
4782   pc)
4783     lt_cv_deplibs_check_method=pass_all
4784     ;;
4785   esac
4786   ;;
4787
4788 tpf*)
4789   lt_cv_deplibs_check_method=pass_all
4790   ;;
4791 esac
4792
4793 fi
4794 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4795 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4796 file_magic_cmd=$lt_cv_file_magic_cmd
4797 deplibs_check_method=$lt_cv_deplibs_check_method
4798 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811 if test -n "$ac_tool_prefix"; then
4812   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4813 set dummy ${ac_tool_prefix}ar; ac_word=$2
4814 echo "$as_me:$LINENO: checking for $ac_word" >&5
4815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4816 if test "${ac_cv_prog_AR+set}" = set; then
4817   echo $ECHO_N "(cached) $ECHO_C" >&6
4818 else
4819   if test -n "$AR"; then
4820   ac_cv_prog_AR="$AR" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4824 do
4825   IFS=$as_save_IFS
4826   test -z "$as_dir" && as_dir=.
4827   for ac_exec_ext in '' $ac_executable_extensions; do
4828   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829     ac_cv_prog_AR="${ac_tool_prefix}ar"
4830     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4831     break 2
4832   fi
4833 done
4834 done
4835
4836 fi
4837 fi
4838 AR=$ac_cv_prog_AR
4839 if test -n "$AR"; then
4840   echo "$as_me:$LINENO: result: $AR" >&5
4841 echo "${ECHO_T}$AR" >&6
4842 else
4843   echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4845 fi
4846
4847 fi
4848 if test -z "$ac_cv_prog_AR"; then
4849   ac_ct_AR=$AR
4850   # Extract the first word of "ar", so it can be a program name with args.
4851 set dummy ar; ac_word=$2
4852 echo "$as_me:$LINENO: checking for $ac_word" >&5
4853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4854 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4855   echo $ECHO_N "(cached) $ECHO_C" >&6
4856 else
4857   if test -n "$ac_ct_AR"; then
4858   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4859 else
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH
4862 do
4863   IFS=$as_save_IFS
4864   test -z "$as_dir" && as_dir=.
4865   for ac_exec_ext in '' $ac_executable_extensions; do
4866   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867     ac_cv_prog_ac_ct_AR="ar"
4868     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4869     break 2
4870   fi
4871 done
4872 done
4873
4874   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4875 fi
4876 fi
4877 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4878 if test -n "$ac_ct_AR"; then
4879   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4880 echo "${ECHO_T}$ac_ct_AR" >&6
4881 else
4882   echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4884 fi
4885
4886   AR=$ac_ct_AR
4887 else
4888   AR="$ac_cv_prog_AR"
4889 fi
4890
4891 test -z "$AR" && AR=ar
4892 test -z "$AR_FLAGS" && AR_FLAGS=cru
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904 if test -n "$ac_tool_prefix"; then
4905   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4906 set dummy ${ac_tool_prefix}strip; ac_word=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_STRIP+set}" = set; then
4910   echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912   if test -n "$STRIP"; then
4913   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4917 do
4918   IFS=$as_save_IFS
4919   test -z "$as_dir" && as_dir=.
4920   for ac_exec_ext in '' $ac_executable_extensions; do
4921   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4923     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924     break 2
4925   fi
4926 done
4927 done
4928
4929 fi
4930 fi
4931 STRIP=$ac_cv_prog_STRIP
4932 if test -n "$STRIP"; then
4933   echo "$as_me:$LINENO: result: $STRIP" >&5
4934 echo "${ECHO_T}$STRIP" >&6
4935 else
4936   echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940 fi
4941 if test -z "$ac_cv_prog_STRIP"; then
4942   ac_ct_STRIP=$STRIP
4943   # Extract the first word of "strip", so it can be a program name with args.
4944 set dummy strip; ac_word=$2
4945 echo "$as_me:$LINENO: checking for $ac_word" >&5
4946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4947 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4948   echo $ECHO_N "(cached) $ECHO_C" >&6
4949 else
4950   if test -n "$ac_ct_STRIP"; then
4951   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956   IFS=$as_save_IFS
4957   test -z "$as_dir" && as_dir=.
4958   for ac_exec_ext in '' $ac_executable_extensions; do
4959   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960     ac_cv_prog_ac_ct_STRIP="strip"
4961     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962     break 2
4963   fi
4964 done
4965 done
4966
4967   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4968 fi
4969 fi
4970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4971 if test -n "$ac_ct_STRIP"; then
4972   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4973 echo "${ECHO_T}$ac_ct_STRIP" >&6
4974 else
4975   echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 fi
4978
4979   STRIP=$ac_ct_STRIP
4980 else
4981   STRIP="$ac_cv_prog_STRIP"
4982 fi
4983
4984 test -z "$STRIP" && STRIP=:
4985
4986
4987
4988
4989
4990
4991 if test -n "$ac_tool_prefix"; then
4992   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4993 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996 if test "${ac_cv_prog_RANLIB+set}" = set; then
4997   echo $ECHO_N "(cached) $ECHO_C" >&6
4998 else
4999   if test -n "$RANLIB"; then
5000   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5004 do
5005   IFS=$as_save_IFS
5006   test -z "$as_dir" && as_dir=.
5007   for ac_exec_ext in '' $ac_executable_extensions; do
5008   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5010     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011     break 2
5012   fi
5013 done
5014 done
5015
5016 fi
5017 fi
5018 RANLIB=$ac_cv_prog_RANLIB
5019 if test -n "$RANLIB"; then
5020   echo "$as_me:$LINENO: result: $RANLIB" >&5
5021 echo "${ECHO_T}$RANLIB" >&6
5022 else
5023   echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5025 fi
5026
5027 fi
5028 if test -z "$ac_cv_prog_RANLIB"; then
5029   ac_ct_RANLIB=$RANLIB
5030   # Extract the first word of "ranlib", so it can be a program name with args.
5031 set dummy ranlib; ac_word=$2
5032 echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5035   echo $ECHO_N "(cached) $ECHO_C" >&6
5036 else
5037   if test -n "$ac_ct_RANLIB"; then
5038   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5042 do
5043   IFS=$as_save_IFS
5044   test -z "$as_dir" && as_dir=.
5045   for ac_exec_ext in '' $ac_executable_extensions; do
5046   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047     ac_cv_prog_ac_ct_RANLIB="ranlib"
5048     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5049     break 2
5050   fi
5051 done
5052 done
5053
5054   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5055 fi
5056 fi
5057 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5058 if test -n "$ac_ct_RANLIB"; then
5059   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5060 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5061 else
5062   echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066   RANLIB=$ac_ct_RANLIB
5067 else
5068   RANLIB="$ac_cv_prog_RANLIB"
5069 fi
5070
5071 test -z "$RANLIB" && RANLIB=:
5072
5073
5074
5075
5076
5077
5078 # Determine commands to create old-style static archives.
5079 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5080 old_postinstall_cmds='chmod 644 $oldlib'
5081 old_postuninstall_cmds=
5082
5083 if test -n "$RANLIB"; then
5084   case $host_os in
5085   openbsd*)
5086     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5087     ;;
5088   *)
5089     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5090     ;;
5091   esac
5092   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5093 fi
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128 # If no C compiler was specified, use CC.
5129 LTCC=${LTCC-"$CC"}
5130
5131 # If no C compiler flags were specified, use CFLAGS.
5132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5133
5134 # Allow CC to be a program name with arguments.
5135 compiler=$CC
5136
5137
5138 # Check for command to grab the raw symbol name followed by C symbol from nm.
5139 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5140 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5141 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5142   echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5144
5145 # These are sane defaults that work on at least a few old systems.
5146 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5147
5148 # Character class describing NM global symbol codes.
5149 symcode='[BCDEGRST]'
5150
5151 # Regexp to match symbols that can be accessed directly from C.
5152 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5153
5154 # Define system-specific variables.
5155 case $host_os in
5156 aix*)
5157   symcode='[BCDT]'
5158   ;;
5159 cygwin* | mingw* | pw32*)
5160   symcode='[ABCDGISTW]'
5161   ;;
5162 hpux*)
5163   if test "$host_cpu" = ia64; then
5164     symcode='[ABCDEGRST]'
5165   fi
5166   ;;
5167 irix* | nonstopux*)
5168   symcode='[BCDEGRST]'
5169   ;;
5170 osf*)
5171   symcode='[BCDEGQRST]'
5172   ;;
5173 solaris*)
5174   symcode='[BDRT]'
5175   ;;
5176 sco3.2v5*)
5177   symcode='[DT]'
5178   ;;
5179 sysv4.2uw2*)
5180   symcode='[DT]'
5181   ;;
5182 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5183   symcode='[ABDT]'
5184   ;;
5185 sysv4)
5186   symcode='[DFNSTU]'
5187   ;;
5188 esac
5189
5190 # If we're using GNU nm, then use its standard symbol codes.
5191 case `$NM -V 2>&1` in
5192 *GNU* | *'with BFD'*)
5193   symcode='[ABCDGIRSTW]' ;;
5194 esac
5195
5196 # Transform an extracted symbol line into a proper C declaration.
5197 # Some systems (esp. on ia64) link data and code symbols differently,
5198 # so use this general approach.
5199 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5200
5201 # Transform an extracted symbol line into symbol name and symbol address
5202 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5203
5204 # Handle CRLF in mingw tool chain
5205 opt_cr=
5206 case $build_os in
5207 mingw*)
5208   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5209   ;;
5210 esac
5211
5212 # Try without a prefix underscore, then with it.
5213 for ac_symprfx in "" "_"; do
5214
5215   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5216   symxfrm="\\1 $ac_symprfx\\2 \\2"
5217
5218   # Write the raw and C identifiers.
5219   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5220     # Fake it for dumpbin and say T for any non-static function
5221     # and D for any global variable.
5222     # Also find C++ and __fastcall symbols from MSVC++,
5223     # which start with @ or ?.
5224     lt_cv_sys_global_symbol_pipe="$AWK '"\
5225 "     {last_section=section; section=\$ 3};"\
5226 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5227 "     \$ 0!~/External *\|/{next};"\
5228 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5229 "     {if(hide[section]) next};"\
5230 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5231 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5232 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5233 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5234 "     ' prfx=^$ac_symprfx"
5235   else
5236     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5237   fi
5238
5239   # Check to see that the pipe works correctly.
5240   pipe_works=no
5241
5242   rm -f conftest*
5243   cat > conftest.$ac_ext <<_LT_EOF
5244 #ifdef __cplusplus
5245 extern "C" {
5246 #endif
5247 char nm_test_var;
5248 void nm_test_func(void);
5249 void nm_test_func(void){}
5250 #ifdef __cplusplus
5251 }
5252 #endif
5253 int main(){nm_test_var='a';nm_test_func();return(0);}
5254 _LT_EOF
5255
5256   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257   (eval $ac_compile) 2>&5
5258   ac_status=$?
5259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260   (exit $ac_status); }; then
5261     # Now try to grab the symbols.
5262     nlist=conftest.nm
5263     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5264   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5265   ac_status=$?
5266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267   (exit $ac_status); } && test -s "$nlist"; then
5268       # Try sorting and uniquifying the output.
5269       if sort "$nlist" | uniq > "$nlist"T; then
5270         mv -f "$nlist"T "$nlist"
5271       else
5272         rm -f "$nlist"T
5273       fi
5274
5275       # Make sure that we snagged all the symbols we need.
5276       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5277         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5278           cat <<_LT_EOF > conftest.$ac_ext
5279 #ifdef __cplusplus
5280 extern "C" {
5281 #endif
5282
5283 _LT_EOF
5284           # Now generate the symbol file.
5285           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5286
5287           cat <<_LT_EOF >> conftest.$ac_ext
5288
5289 /* The mapping between symbol names and symbols.  */
5290 const struct {
5291   const char *name;
5292   void       *address;
5293 }
5294 lt__PROGRAM__LTX_preloaded_symbols[] =
5295 {
5296   { "@PROGRAM@", (void *) 0 },
5297 _LT_EOF
5298           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5299           cat <<\_LT_EOF >> conftest.$ac_ext
5300   {0, (void *) 0}
5301 };
5302
5303 /* This works around a problem in FreeBSD linker */
5304 #ifdef FREEBSD_WORKAROUND
5305 static const void *lt_preloaded_setup() {
5306   return lt__PROGRAM__LTX_preloaded_symbols;
5307 }
5308 #endif
5309
5310 #ifdef __cplusplus
5311 }
5312 #endif
5313 _LT_EOF
5314           # Now try linking the two files.
5315           mv conftest.$ac_objext conftstm.$ac_objext
5316           lt_save_LIBS="$LIBS"
5317           lt_save_CFLAGS="$CFLAGS"
5318           LIBS="conftstm.$ac_objext"
5319           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5320           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5321   (eval $ac_link) 2>&5
5322   ac_status=$?
5323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5325             pipe_works=yes
5326           fi
5327           LIBS="$lt_save_LIBS"
5328           CFLAGS="$lt_save_CFLAGS"
5329         else
5330           echo "cannot find nm_test_func in $nlist" >&5
5331         fi
5332       else
5333         echo "cannot find nm_test_var in $nlist" >&5
5334       fi
5335     else
5336       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5337     fi
5338   else
5339     echo "$progname: failed program was:" >&5
5340     cat conftest.$ac_ext >&5
5341   fi
5342   rm -f conftest* conftst*
5343
5344   # Do not use the global_symbol_pipe unless it works.
5345   if test "$pipe_works" = yes; then
5346     break
5347   else
5348     lt_cv_sys_global_symbol_pipe=
5349   fi
5350 done
5351
5352 fi
5353
5354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5355   lt_cv_sys_global_symbol_to_cdecl=
5356 fi
5357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5358   echo "$as_me:$LINENO: result: failed" >&5
5359 echo "${ECHO_T}failed" >&6
5360 else
5361   echo "$as_me:$LINENO: result: ok" >&5
5362 echo "${ECHO_T}ok" >&6
5363 fi
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5382 if test "${enable_libtool_lock+set}" = set; then
5383   enableval="$enable_libtool_lock"
5384
5385 fi;
5386 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5387
5388 # Some flags need to be propagated to the compiler or linker for good
5389 # libtool support.
5390 case $host in
5391 ia64-*-hpux*)
5392   # Find out which ABI we are using.
5393   echo 'int i;' > conftest.$ac_ext
5394   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5395   (eval $ac_compile) 2>&5
5396   ac_status=$?
5397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398   (exit $ac_status); }; then
5399     case `/usr/bin/file conftest.$ac_objext` in
5400       *ELF-32*)
5401         HPUX_IA64_MODE="32"
5402         ;;
5403       *ELF-64*)
5404         HPUX_IA64_MODE="64"
5405         ;;
5406     esac
5407   fi
5408   rm -rf conftest*
5409   ;;
5410 *-*-irix6*)
5411   # Find out which ABI we are using.
5412   echo '#line 5412 "configure"' > conftest.$ac_ext
5413   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5414   (eval $ac_compile) 2>&5
5415   ac_status=$?
5416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417   (exit $ac_status); }; then
5418     if test "$lt_cv_prog_gnu_ld" = yes; then
5419       case `/usr/bin/file conftest.$ac_objext` in
5420         *32-bit*)
5421           LD="${LD-ld} -melf32bsmip"
5422           ;;
5423         *N32*)
5424           LD="${LD-ld} -melf32bmipn32"
5425           ;;
5426         *64-bit*)
5427           LD="${LD-ld} -melf64bmip"
5428         ;;
5429       esac
5430     else
5431       case `/usr/bin/file conftest.$ac_objext` in
5432         *32-bit*)
5433           LD="${LD-ld} -32"
5434           ;;
5435         *N32*)
5436           LD="${LD-ld} -n32"
5437           ;;
5438         *64-bit*)
5439           LD="${LD-ld} -64"
5440           ;;
5441       esac
5442     fi
5443   fi
5444   rm -rf conftest*
5445   ;;
5446
5447 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5448 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5449   # Find out which ABI we are using.
5450   echo 'int i;' > conftest.$ac_ext
5451   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5452   (eval $ac_compile) 2>&5
5453   ac_status=$?
5454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455   (exit $ac_status); }; then
5456     case `/usr/bin/file conftest.o` in
5457       *32-bit*)
5458         case $host in
5459           x86_64-*kfreebsd*-gnu)
5460             LD="${LD-ld} -m elf_i386_fbsd"
5461             ;;
5462           x86_64-*linux*)
5463             LD="${LD-ld} -m elf_i386"
5464             ;;
5465           ppc64-*linux*|powerpc64-*linux*)
5466             LD="${LD-ld} -m elf32ppclinux"
5467             ;;
5468           s390x-*linux*)
5469             LD="${LD-ld} -m elf_s390"
5470             ;;
5471           sparc64-*linux*)
5472             LD="${LD-ld} -m elf32_sparc"
5473             ;;
5474         esac
5475         ;;
5476       *64-bit*)
5477         case $host in
5478           x86_64-*kfreebsd*-gnu)
5479             LD="${LD-ld} -m elf_x86_64_fbsd"
5480             ;;
5481           x86_64-*linux*)
5482             LD="${LD-ld} -m elf_x86_64"
5483             ;;
5484           ppc*-*linux*|powerpc*-*linux*)
5485             LD="${LD-ld} -m elf64ppc"
5486             ;;
5487           s390*-*linux*|s390*-*tpf*)
5488             LD="${LD-ld} -m elf64_s390"
5489             ;;
5490           sparc*-*linux*)
5491             LD="${LD-ld} -m elf64_sparc"
5492             ;;
5493         esac
5494         ;;
5495     esac
5496   fi
5497   rm -rf conftest*
5498   ;;
5499
5500 *-*-sco3.2v5*)
5501   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5502   SAVE_CFLAGS="$CFLAGS"
5503   CFLAGS="$CFLAGS -belf"
5504   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5505 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5506 if test "${lt_cv_cc_needs_belf+set}" = set; then
5507   echo $ECHO_N "(cached) $ECHO_C" >&6
5508 else
5509   ac_ext=c
5510 ac_cpp='$CPP $CPPFLAGS'
5511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5514
5515      if test x$gcc_no_link = xyes; then
5516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5518    { (exit 1); exit 1; }; }
5519 fi
5520 cat >conftest.$ac_ext <<_ACEOF
5521 /* confdefs.h.  */
5522 _ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h.  */
5526
5527 int
5528 main ()
5529 {
5530
5531   ;
5532   return 0;
5533 }
5534 _ACEOF
5535 rm -f conftest.$ac_objext conftest$ac_exeext
5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5537   (eval $ac_link) 2>conftest.er1
5538   ac_status=$?
5539   grep -v '^ *+' conftest.er1 >conftest.err
5540   rm -f conftest.er1
5541   cat conftest.err >&5
5542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543   (exit $ac_status); } &&
5544          { ac_try='test -z "$ac_c_werror_flag"
5545                          || test ! -s conftest.err'
5546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547   (eval $ac_try) 2>&5
5548   ac_status=$?
5549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550   (exit $ac_status); }; } &&
5551          { ac_try='test -s conftest$ac_exeext'
5552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553   (eval $ac_try) 2>&5
5554   ac_status=$?
5555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556   (exit $ac_status); }; }; then
5557   lt_cv_cc_needs_belf=yes
5558 else
5559   echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5561
5562 lt_cv_cc_needs_belf=no
5563 fi
5564 rm -f conftest.err conftest.$ac_objext \
5565       conftest$ac_exeext conftest.$ac_ext
5566      ac_ext=c
5567 ac_cpp='$CPP $CPPFLAGS'
5568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5571
5572 fi
5573 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5574 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5575   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5576     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5577     CFLAGS="$SAVE_CFLAGS"
5578   fi
5579   ;;
5580 sparc*-*solaris*)
5581   # Find out which ABI we are using.
5582   echo 'int i;' > conftest.$ac_ext
5583   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584   (eval $ac_compile) 2>&5
5585   ac_status=$?
5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587   (exit $ac_status); }; then
5588     case `/usr/bin/file conftest.o` in
5589     *64-bit*)
5590       case $lt_cv_prog_gnu_ld in
5591       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5592       *)    LD="${LD-ld} -64" ;;
5593       esac
5594       ;;
5595     esac
5596   fi
5597   rm -rf conftest*
5598   ;;
5599 esac
5600
5601 need_locks="$enable_libtool_lock"
5602
5603 ac_ext=c
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5608 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5609 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5610 # On Suns, sometimes $CPP names a directory.
5611 if test -n "$CPP" && test -d "$CPP"; then
5612   CPP=
5613 fi
5614 if test -z "$CPP"; then
5615   if test "${ac_cv_prog_CPP+set}" = set; then
5616   echo $ECHO_N "(cached) $ECHO_C" >&6
5617 else
5618       # Double quotes because CPP needs to be expanded
5619     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5620     do
5621       ac_preproc_ok=false
5622 for ac_c_preproc_warn_flag in '' yes
5623 do
5624   # Use a header file that comes with gcc, so configuring glibc
5625   # with a fresh cross-compiler works.
5626   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5627   # <limits.h> exists even on freestanding compilers.
5628   # On the NeXT, cc -E runs the code through the compiler's parser,
5629   # not just through cpp. "Syntax error" is here to catch this case.
5630   cat >conftest.$ac_ext <<_ACEOF
5631 /* confdefs.h.  */
5632 _ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h.  */
5636 #ifdef __STDC__
5637 # include <limits.h>
5638 #else
5639 # include <assert.h>
5640 #endif
5641                      Syntax error
5642 _ACEOF
5643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5644   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5645   ac_status=$?
5646   grep -v '^ *+' conftest.er1 >conftest.err
5647   rm -f conftest.er1
5648   cat conftest.err >&5
5649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650   (exit $ac_status); } >/dev/null; then
5651   if test -s conftest.err; then
5652     ac_cpp_err=$ac_c_preproc_warn_flag
5653     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5654   else
5655     ac_cpp_err=
5656   fi
5657 else
5658   ac_cpp_err=yes
5659 fi
5660 if test -z "$ac_cpp_err"; then
5661   :
5662 else
5663   echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.$ac_ext >&5
5665
5666   # Broken: fails on valid input.
5667 continue
5668 fi
5669 rm -f conftest.err conftest.$ac_ext
5670
5671   # OK, works on sane cases.  Now check whether non-existent headers
5672   # can be detected and how.
5673   cat >conftest.$ac_ext <<_ACEOF
5674 /* confdefs.h.  */
5675 _ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h.  */
5679 #include <ac_nonexistent.h>
5680 _ACEOF
5681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5682   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5683   ac_status=$?
5684   grep -v '^ *+' conftest.er1 >conftest.err
5685   rm -f conftest.er1
5686   cat conftest.err >&5
5687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688   (exit $ac_status); } >/dev/null; then
5689   if test -s conftest.err; then
5690     ac_cpp_err=$ac_c_preproc_warn_flag
5691     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5692   else
5693     ac_cpp_err=
5694   fi
5695 else
5696   ac_cpp_err=yes
5697 fi
5698 if test -z "$ac_cpp_err"; then
5699   # Broken: success on invalid input.
5700 continue
5701 else
5702   echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.$ac_ext >&5
5704
5705   # Passes both tests.
5706 ac_preproc_ok=:
5707 break
5708 fi
5709 rm -f conftest.err conftest.$ac_ext
5710
5711 done
5712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5713 rm -f conftest.err conftest.$ac_ext
5714 if $ac_preproc_ok; then
5715   break
5716 fi
5717
5718     done
5719     ac_cv_prog_CPP=$CPP
5720
5721 fi
5722   CPP=$ac_cv_prog_CPP
5723 else
5724   ac_cv_prog_CPP=$CPP
5725 fi
5726 echo "$as_me:$LINENO: result: $CPP" >&5
5727 echo "${ECHO_T}$CPP" >&6
5728 ac_preproc_ok=false
5729 for ac_c_preproc_warn_flag in '' yes
5730 do
5731   # Use a header file that comes with gcc, so configuring glibc
5732   # with a fresh cross-compiler works.
5733   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5734   # <limits.h> exists even on freestanding compilers.
5735   # On the NeXT, cc -E runs the code through the compiler's parser,
5736   # not just through cpp. "Syntax error" is here to catch this case.
5737   cat >conftest.$ac_ext <<_ACEOF
5738 /* confdefs.h.  */
5739 _ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h.  */
5743 #ifdef __STDC__
5744 # include <limits.h>
5745 #else
5746 # include <assert.h>
5747 #endif
5748                      Syntax error
5749 _ACEOF
5750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5751   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5752   ac_status=$?
5753   grep -v '^ *+' conftest.er1 >conftest.err
5754   rm -f conftest.er1
5755   cat conftest.err >&5
5756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757   (exit $ac_status); } >/dev/null; then
5758   if test -s conftest.err; then
5759     ac_cpp_err=$ac_c_preproc_warn_flag
5760     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5761   else
5762     ac_cpp_err=
5763   fi
5764 else
5765   ac_cpp_err=yes
5766 fi
5767 if test -z "$ac_cpp_err"; then
5768   :
5769 else
5770   echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5772
5773   # Broken: fails on valid input.
5774 continue
5775 fi
5776 rm -f conftest.err conftest.$ac_ext
5777
5778   # OK, works on sane cases.  Now check whether non-existent headers
5779   # can be detected and how.
5780   cat >conftest.$ac_ext <<_ACEOF
5781 /* confdefs.h.  */
5782 _ACEOF
5783 cat confdefs.h >>conftest.$ac_ext
5784 cat >>conftest.$ac_ext <<_ACEOF
5785 /* end confdefs.h.  */
5786 #include <ac_nonexistent.h>
5787 _ACEOF
5788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5789   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5790   ac_status=$?
5791   grep -v '^ *+' conftest.er1 >conftest.err
5792   rm -f conftest.er1
5793   cat conftest.err >&5
5794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795   (exit $ac_status); } >/dev/null; then
5796   if test -s conftest.err; then
5797     ac_cpp_err=$ac_c_preproc_warn_flag
5798     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5799   else
5800     ac_cpp_err=
5801   fi
5802 else
5803   ac_cpp_err=yes
5804 fi
5805 if test -z "$ac_cpp_err"; then
5806   # Broken: success on invalid input.
5807 continue
5808 else
5809   echo "$as_me: failed program was:" >&5
5810 sed 's/^/| /' conftest.$ac_ext >&5
5811
5812   # Passes both tests.
5813 ac_preproc_ok=:
5814 break
5815 fi
5816 rm -f conftest.err conftest.$ac_ext
5817
5818 done
5819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5820 rm -f conftest.err conftest.$ac_ext
5821 if $ac_preproc_ok; then
5822   :
5823 else
5824   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5825 See \`config.log' for more details." >&5
5826 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5827 See \`config.log' for more details." >&2;}
5828    { (exit 1); exit 1; }; }
5829 fi
5830
5831 ac_ext=c
5832 ac_cpp='$CPP $CPPFLAGS'
5833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836
5837
5838 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5839 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5840 if test "${ac_cv_header_stdc+set}" = set; then
5841   echo $ECHO_N "(cached) $ECHO_C" >&6
5842 else
5843   cat >conftest.$ac_ext <<_ACEOF
5844 /* confdefs.h.  */
5845 _ACEOF
5846 cat confdefs.h >>conftest.$ac_ext
5847 cat >>conftest.$ac_ext <<_ACEOF
5848 /* end confdefs.h.  */
5849 #include <stdlib.h>
5850 #include <stdarg.h>
5851 #include <string.h>
5852 #include <float.h>
5853
5854 int
5855 main ()
5856 {
5857
5858   ;
5859   return 0;
5860 }
5861 _ACEOF
5862 rm -f conftest.$ac_objext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864   (eval $ac_compile) 2>conftest.er1
5865   ac_status=$?
5866   grep -v '^ *+' conftest.er1 >conftest.err
5867   rm -f conftest.er1
5868   cat conftest.err >&5
5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870   (exit $ac_status); } &&
5871          { ac_try='test -z "$ac_c_werror_flag"
5872                          || test ! -s conftest.err'
5873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874   (eval $ac_try) 2>&5
5875   ac_status=$?
5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877   (exit $ac_status); }; } &&
5878          { ac_try='test -s conftest.$ac_objext'
5879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880   (eval $ac_try) 2>&5
5881   ac_status=$?
5882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883   (exit $ac_status); }; }; then
5884   ac_cv_header_stdc=yes
5885 else
5886   echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5888
5889 ac_cv_header_stdc=no
5890 fi
5891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5892
5893 if test $ac_cv_header_stdc = yes; then
5894   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5895   cat >conftest.$ac_ext <<_ACEOF
5896 /* confdefs.h.  */
5897 _ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h.  */
5901 #include <string.h>
5902
5903 _ACEOF
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905   $EGREP "memchr" >/dev/null 2>&1; then
5906   :
5907 else
5908   ac_cv_header_stdc=no
5909 fi
5910 rm -f conftest*
5911
5912 fi
5913
5914 if test $ac_cv_header_stdc = yes; then
5915   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5916   cat >conftest.$ac_ext <<_ACEOF
5917 /* confdefs.h.  */
5918 _ACEOF
5919 cat confdefs.h >>conftest.$ac_ext
5920 cat >>conftest.$ac_ext <<_ACEOF
5921 /* end confdefs.h.  */
5922 #include <stdlib.h>
5923
5924 _ACEOF
5925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5926   $EGREP "free" >/dev/null 2>&1; then
5927   :
5928 else
5929   ac_cv_header_stdc=no
5930 fi
5931 rm -f conftest*
5932
5933 fi
5934
5935 if test $ac_cv_header_stdc = yes; then
5936   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5937   if test "$cross_compiling" = yes; then
5938   :
5939 else
5940   cat >conftest.$ac_ext <<_ACEOF
5941 /* confdefs.h.  */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h.  */
5946 #include <ctype.h>
5947 #if ((' ' & 0x0FF) == 0x020)
5948 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5949 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5950 #else
5951 # define ISLOWER(c) \
5952                    (('a' <= (c) && (c) <= 'i') \
5953                      || ('j' <= (c) && (c) <= 'r') \
5954                      || ('s' <= (c) && (c) <= 'z'))
5955 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5956 #endif
5957
5958 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5959 int
5960 main ()
5961 {
5962   int i;
5963   for (i = 0; i < 256; i++)
5964     if (XOR (islower (i), ISLOWER (i))
5965         || toupper (i) != TOUPPER (i))
5966       exit(2);
5967   exit (0);
5968 }
5969 _ACEOF
5970 rm -f conftest$ac_exeext
5971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5972   (eval $ac_link) 2>&5
5973   ac_status=$?
5974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977   (eval $ac_try) 2>&5
5978   ac_status=$?
5979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980   (exit $ac_status); }; }; then
5981   :
5982 else
5983   echo "$as_me: program exited with status $ac_status" >&5
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5986
5987 ( exit $ac_status )
5988 ac_cv_header_stdc=no
5989 fi
5990 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5991 fi
5992 fi
5993 fi
5994 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5995 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5996 if test $ac_cv_header_stdc = yes; then
5997
5998 cat >>confdefs.h <<\_ACEOF
5999 #define STDC_HEADERS 1
6000 _ACEOF
6001
6002 fi
6003
6004 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6015                   inttypes.h stdint.h unistd.h
6016 do
6017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6018 echo "$as_me:$LINENO: checking for $ac_header" >&5
6019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6021   echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023   cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h.  */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h.  */
6029 $ac_includes_default
6030
6031 #include <$ac_header>
6032 _ACEOF
6033 rm -f conftest.$ac_objext
6034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6035   (eval $ac_compile) 2>conftest.er1
6036   ac_status=$?
6037   grep -v '^ *+' conftest.er1 >conftest.err
6038   rm -f conftest.er1
6039   cat conftest.err >&5
6040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041   (exit $ac_status); } &&
6042          { ac_try='test -z "$ac_c_werror_flag"
6043                          || test ! -s conftest.err'
6044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045   (eval $ac_try) 2>&5
6046   ac_status=$?
6047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048   (exit $ac_status); }; } &&
6049          { ac_try='test -s conftest.$ac_objext'
6050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051   (eval $ac_try) 2>&5
6052   ac_status=$?
6053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054   (exit $ac_status); }; }; then
6055   eval "$as_ac_Header=yes"
6056 else
6057   echo "$as_me: failed program was:" >&5
6058 sed 's/^/| /' conftest.$ac_ext >&5
6059
6060 eval "$as_ac_Header=no"
6061 fi
6062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6063 fi
6064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6067   cat >>confdefs.h <<_ACEOF
6068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6069 _ACEOF
6070
6071 fi
6072
6073 done
6074
6075
6076
6077 for ac_header in dlfcn.h
6078 do
6079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6080 echo "$as_me:$LINENO: checking for $ac_header" >&5
6081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6083   echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085   cat >conftest.$ac_ext <<_ACEOF
6086 /* confdefs.h.  */
6087 _ACEOF
6088 cat confdefs.h >>conftest.$ac_ext
6089 cat >>conftest.$ac_ext <<_ACEOF
6090 /* end confdefs.h.  */
6091 $ac_includes_default
6092
6093 #include <$ac_header>
6094 _ACEOF
6095 rm -f conftest.$ac_objext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097   (eval $ac_compile) 2>conftest.er1
6098   ac_status=$?
6099   grep -v '^ *+' conftest.er1 >conftest.err
6100   rm -f conftest.er1
6101   cat conftest.err >&5
6102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103   (exit $ac_status); } &&
6104          { ac_try='test -z "$ac_c_werror_flag"
6105                          || test ! -s conftest.err'
6106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107   (eval $ac_try) 2>&5
6108   ac_status=$?
6109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110   (exit $ac_status); }; } &&
6111          { ac_try='test -s conftest.$ac_objext'
6112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113   (eval $ac_try) 2>&5
6114   ac_status=$?
6115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116   (exit $ac_status); }; }; then
6117   eval "$as_ac_Header=yes"
6118 else
6119   echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.$ac_ext >&5
6121
6122 eval "$as_ac_Header=no"
6123 fi
6124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6125 fi
6126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6129   cat >>confdefs.h <<_ACEOF
6130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6131 _ACEOF
6132
6133 fi
6134
6135 done
6136
6137
6138
6139 # This can be used to rebuild libtool when needed
6140 LIBTOOL_DEPS="$ltmain"
6141
6142 # Always use our own libtool.
6143 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169 test -z "$LN_S" && LN_S="ln -s"
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184 if test -n "${ZSH_VERSION+set}" ; then
6185    setopt NO_GLOB_SUBST
6186 fi
6187
6188 echo "$as_me:$LINENO: checking for objdir" >&5
6189 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6190 if test "${lt_cv_objdir+set}" = set; then
6191   echo $ECHO_N "(cached) $ECHO_C" >&6
6192 else
6193   rm -f .libs 2>/dev/null
6194 mkdir .libs 2>/dev/null
6195 if test -d .libs; then
6196   lt_cv_objdir=.libs
6197 else
6198   # MS-DOS does not allow filenames that begin with a dot.
6199   lt_cv_objdir=_libs
6200 fi
6201 rmdir .libs 2>/dev/null
6202 fi
6203 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6204 echo "${ECHO_T}$lt_cv_objdir" >&6
6205 objdir=$lt_cv_objdir
6206
6207
6208
6209
6210
6211 cat >>confdefs.h <<_ACEOF
6212 #define LT_OBJDIR "$lt_cv_objdir/"
6213 _ACEOF
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231 case $host_os in
6232 aix3*)
6233   # AIX sometimes has problems with the GCC collect2 program.  For some
6234   # reason, if we set the COLLECT_NAMES environment variable, the problems
6235   # vanish in a puff of smoke.
6236   if test "X${COLLECT_NAMES+set}" != Xset; then
6237     COLLECT_NAMES=
6238     export COLLECT_NAMES
6239   fi
6240   ;;
6241 esac
6242
6243 # Sed substitution that helps us do robust quoting.  It backslashifies
6244 # metacharacters that are still active within double-quoted strings.
6245 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6246
6247 # Same as above, but do not quote variable references.
6248 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6249
6250 # Sed substitution to delay expansion of an escaped shell variable in a
6251 # double_quote_subst'ed string.
6252 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6253
6254 # Sed substitution to delay expansion of an escaped single quote.
6255 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6256
6257 # Sed substitution to avoid accidental globbing in evaled expressions
6258 no_glob_subst='s/\*/\\\*/g'
6259
6260 # Global variables:
6261 ofile=libtool
6262 can_build_shared=yes
6263
6264 # All known linkers require a `.a' archive for static linking (except MSVC,
6265 # which needs '.lib').
6266 libext=a
6267
6268 with_gnu_ld="$lt_cv_prog_gnu_ld"
6269
6270 old_CC="$CC"
6271 old_CFLAGS="$CFLAGS"
6272
6273 # Set sane defaults for various variables
6274 test -z "$CC" && CC=cc
6275 test -z "$LTCC" && LTCC=$CC
6276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6277 test -z "$LD" && LD=ld
6278 test -z "$ac_objext" && ac_objext=o
6279
6280 for cc_temp in $compiler""; do
6281   case $cc_temp in
6282     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6283     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6284     \-*) ;;
6285     *) break;;
6286   esac
6287 done
6288 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6289
6290
6291 # Only perform the check for file, if the check method requires it
6292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6293 case $deplibs_check_method in
6294 file_magic*)
6295   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6296     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6297 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6298 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6299   echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301   case $MAGIC_CMD in
6302 [\\/*] |  ?:[\\/]*)
6303   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6304   ;;
6305 *)
6306   lt_save_MAGIC_CMD="$MAGIC_CMD"
6307   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6308   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6309   for ac_dir in $ac_dummy; do
6310     IFS="$lt_save_ifs"
6311     test -z "$ac_dir" && ac_dir=.
6312     if test -f $ac_dir/${ac_tool_prefix}file; then
6313       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6314       if test -n "$file_magic_test_file"; then
6315         case $deplibs_check_method in
6316         "file_magic "*)
6317           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6318           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6319           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6320             $EGREP "$file_magic_regex" > /dev/null; then
6321             :
6322           else
6323             cat <<_LT_EOF 1>&2
6324
6325 *** Warning: the command libtool uses to detect shared libraries,
6326 *** $file_magic_cmd, produces output that libtool cannot recognize.
6327 *** The result is that libtool may fail to recognize shared libraries
6328 *** as such.  This will affect the creation of libtool libraries that
6329 *** depend on shared libraries, but programs linked with such libtool
6330 *** libraries will work regardless of this problem.  Nevertheless, you
6331 *** may want to report the problem to your system manager and/or to
6332 *** bug-libtool@gnu.org
6333
6334 _LT_EOF
6335           fi ;;
6336         esac
6337       fi
6338       break
6339     fi
6340   done
6341   IFS="$lt_save_ifs"
6342   MAGIC_CMD="$lt_save_MAGIC_CMD"
6343   ;;
6344 esac
6345 fi
6346
6347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6348 if test -n "$MAGIC_CMD"; then
6349   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6350 echo "${ECHO_T}$MAGIC_CMD" >&6
6351 else
6352   echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6354 fi
6355
6356
6357
6358
6359
6360 if test -z "$lt_cv_path_MAGIC_CMD"; then
6361   if test -n "$ac_tool_prefix"; then
6362     echo "$as_me:$LINENO: checking for file" >&5
6363 echo $ECHO_N "checking for file... $ECHO_C" >&6
6364 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6365   echo $ECHO_N "(cached) $ECHO_C" >&6
6366 else
6367   case $MAGIC_CMD in
6368 [\\/*] |  ?:[\\/]*)
6369   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6370   ;;
6371 *)
6372   lt_save_MAGIC_CMD="$MAGIC_CMD"
6373   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6374   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6375   for ac_dir in $ac_dummy; do
6376     IFS="$lt_save_ifs"
6377     test -z "$ac_dir" && ac_dir=.
6378     if test -f $ac_dir/file; then
6379       lt_cv_path_MAGIC_CMD="$ac_dir/file"
6380       if test -n "$file_magic_test_file"; then
6381         case $deplibs_check_method in
6382         "file_magic "*)
6383           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6384           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6385           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6386             $EGREP "$file_magic_regex" > /dev/null; then
6387             :
6388           else
6389             cat <<_LT_EOF 1>&2
6390
6391 *** Warning: the command libtool uses to detect shared libraries,
6392 *** $file_magic_cmd, produces output that libtool cannot recognize.
6393 *** The result is that libtool may fail to recognize shared libraries
6394 *** as such.  This will affect the creation of libtool libraries that
6395 *** depend on shared libraries, but programs linked with such libtool
6396 *** libraries will work regardless of this problem.  Nevertheless, you
6397 *** may want to report the problem to your system manager and/or to
6398 *** bug-libtool@gnu.org
6399
6400 _LT_EOF
6401           fi ;;
6402         esac
6403       fi
6404       break
6405     fi
6406   done
6407   IFS="$lt_save_ifs"
6408   MAGIC_CMD="$lt_save_MAGIC_CMD"
6409   ;;
6410 esac
6411 fi
6412
6413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6414 if test -n "$MAGIC_CMD"; then
6415   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6416 echo "${ECHO_T}$MAGIC_CMD" >&6
6417 else
6418   echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6420 fi
6421
6422
6423   else
6424     MAGIC_CMD=:
6425   fi
6426 fi
6427
6428   fi
6429   ;;
6430 esac
6431
6432 # Use C for the default configuration in the libtool script
6433
6434 lt_save_CC="$CC"
6435 ac_ext=c
6436 ac_cpp='$CPP $CPPFLAGS'
6437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6440
6441
6442 # Source file extension for C test sources.
6443 ac_ext=c
6444
6445 # Object file extension for compiled C test sources.
6446 objext=o
6447 objext=$objext
6448
6449 # Code to be used in simple compile tests
6450 lt_simple_compile_test_code="int some_variable = 0;"
6451
6452 # Code to be used in simple link tests
6453 lt_simple_link_test_code='int main(){return(0);}'
6454
6455
6456
6457
6458
6459
6460
6461 # If no C compiler was specified, use CC.
6462 LTCC=${LTCC-"$CC"}
6463
6464 # If no C compiler flags were specified, use CFLAGS.
6465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6466
6467 # Allow CC to be a program name with arguments.
6468 compiler=$CC
6469
6470 # Save the default compiler, since it gets overwritten when the other
6471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6472 compiler_DEFAULT=$CC
6473
6474 # save warnings/boilerplate of simple test code
6475 ac_outfile=conftest.$ac_objext
6476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6478 _lt_compiler_boilerplate=`cat conftest.err`
6479 $RM conftest*
6480
6481 ac_outfile=conftest.$ac_objext
6482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6484 _lt_linker_boilerplate=`cat conftest.err`
6485 $RM conftest*
6486
6487
6488 ## CAVEAT EMPTOR:
6489 ## There is no encapsulation within the following macros, do not change
6490 ## the running order or otherwise move them around unless you know exactly
6491 ## what you are doing...
6492 if test -n "$compiler"; then
6493
6494 lt_prog_compiler_no_builtin_flag=
6495
6496 if test "$GCC" = yes; then
6497   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6498
6499   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6500 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6501 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6502   echo $ECHO_N "(cached) $ECHO_C" >&6
6503 else
6504   lt_cv_prog_compiler_rtti_exceptions=no
6505    ac_outfile=conftest.$ac_objext
6506    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6507    lt_compiler_flag="-fno-rtti -fno-exceptions"
6508    # Insert the option either (1) after the last *FLAGS variable, or
6509    # (2) before a word containing "conftest.", or (3) at the end.
6510    # Note that $ac_compile itself does not contain backslashes and begins
6511    # with a dollar sign (not a hyphen), so the echo should work correctly.
6512    # The option is referenced via a variable to avoid confusing sed.
6513    lt_compile=`echo "$ac_compile" | $SED \
6514    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6515    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6516    -e 's:$: $lt_compiler_flag:'`
6517    (eval echo "\"\$as_me:6517: $lt_compile\"" >&5)
6518    (eval "$lt_compile" 2>conftest.err)
6519    ac_status=$?
6520    cat conftest.err >&5
6521    echo "$as_me:6521: \$? = $ac_status" >&5
6522    if (exit $ac_status) && test -s "$ac_outfile"; then
6523      # The compiler can only warn and ignore the option if not recognized
6524      # So say no if there are warnings other than the usual output.
6525      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6526      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6527      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6528        lt_cv_prog_compiler_rtti_exceptions=yes
6529      fi
6530    fi
6531    $RM conftest*
6532
6533 fi
6534 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6535 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6536
6537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6538     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6539 else
6540     :
6541 fi
6542
6543 fi
6544
6545
6546
6547
6548
6549
6550   lt_prog_compiler_wl=
6551 lt_prog_compiler_pic=
6552 lt_prog_compiler_static=
6553
6554 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6555 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6556
6557   if test "$GCC" = yes; then
6558     lt_prog_compiler_wl='-Wl,'
6559     lt_prog_compiler_static='-static'
6560
6561     case $host_os in
6562       aix*)
6563       # All AIX code is PIC.
6564       if test "$host_cpu" = ia64; then
6565         # AIX 5 now supports IA64 processor
6566         lt_prog_compiler_static='-Bstatic'
6567       fi
6568       ;;
6569
6570     amigaos*)
6571       if test "$host_cpu" = m68k; then
6572         # FIXME: we need at least 68020 code to build shared libraries, but
6573         # adding the `-m68020' flag to GCC prevents building anything better,
6574         # like `-m68040'.
6575         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6576       fi
6577       ;;
6578
6579     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6580       # PIC is the default for these OSes.
6581       ;;
6582
6583     mingw* | cygwin* | pw32* | os2*)
6584       # This hack is so that the source file can tell whether it is being
6585       # built for inclusion in a dll (and should export symbols for example).
6586       # Although the cygwin gcc ignores -fPIC, still need this for old-style
6587       # (--disable-auto-import) libraries
6588       lt_prog_compiler_pic='-DDLL_EXPORT'
6589       ;;
6590
6591     darwin* | rhapsody*)
6592       # PIC is the default on this platform
6593       # Common symbols not allowed in MH_DYLIB files
6594       lt_prog_compiler_pic='-fno-common'
6595       ;;
6596
6597     hpux*)
6598       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6599       # not for PA HP-UX.
6600       case $host_cpu in
6601       hppa*64*|ia64*)
6602         # +Z the default
6603         ;;
6604       *)
6605         lt_prog_compiler_pic='-fPIC'
6606         ;;
6607       esac
6608       ;;
6609
6610     interix[3-9]*)
6611       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6612       # Instead, we relocate shared libraries at runtime.
6613       ;;
6614
6615     msdosdjgpp*)
6616       # Just because we use GCC doesn't mean we suddenly get shared libraries
6617       # on systems that don't support them.
6618       lt_prog_compiler_can_build_shared=no
6619       enable_shared=no
6620       ;;
6621
6622     *nto* | *qnx*)
6623       # QNX uses GNU C++, but need to define -shared option too, otherwise
6624       # it will coredump.
6625       lt_prog_compiler_pic='-fPIC -shared'
6626       ;;
6627
6628     sysv4*MP*)
6629       if test -d /usr/nec; then
6630         lt_prog_compiler_pic=-Kconform_pic
6631       fi
6632       ;;
6633
6634     *)
6635       lt_prog_compiler_pic='-fPIC'
6636       ;;
6637     esac
6638   else
6639     # PORTME Check for flag to pass linker flags through the system compiler.
6640     case $host_os in
6641     aix*)
6642       lt_prog_compiler_wl='-Wl,'
6643       if test "$host_cpu" = ia64; then
6644         # AIX 5 now supports IA64 processor
6645         lt_prog_compiler_static='-Bstatic'
6646       else
6647         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6648       fi
6649       ;;
6650     darwin*)
6651       # PIC is the default on this platform
6652       # Common symbols not allowed in MH_DYLIB files
6653       case $cc_basename in
6654       xlc*)
6655         lt_prog_compiler_pic='-qnocommon'
6656         lt_prog_compiler_wl='-Wl,'
6657         ;;
6658       esac
6659       ;;
6660
6661     mingw* | cygwin* | pw32* | os2*)
6662       # This hack is so that the source file can tell whether it is being
6663       # built for inclusion in a dll (and should export symbols for example).
6664       lt_prog_compiler_pic='-DDLL_EXPORT'
6665       ;;
6666
6667     hpux9* | hpux10* | hpux11*)
6668       lt_prog_compiler_wl='-Wl,'
6669       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6670       # not for PA HP-UX.
6671       case $host_cpu in
6672       hppa*64*|ia64*)
6673         # +Z the default
6674         ;;
6675       *)
6676         lt_prog_compiler_pic='+Z'
6677         ;;
6678       esac
6679       # Is there a better lt_prog_compiler_static that works with the bundled CC?
6680       lt_prog_compiler_static='${wl}-a ${wl}archive'
6681       ;;
6682
6683     irix5* | irix6* | nonstopux*)
6684       lt_prog_compiler_wl='-Wl,'
6685       # PIC (with -KPIC) is the default.
6686       lt_prog_compiler_static='-non_shared'
6687       ;;
6688
6689     linux* | k*bsd*-gnu)
6690       case $cc_basename in
6691       icc* | ecc*)
6692         lt_prog_compiler_wl='-Wl,'
6693         lt_prog_compiler_pic='-KPIC'
6694         lt_prog_compiler_static='-static'
6695         ;;
6696       pgcc* | pgf77* | pgf90* | pgf95*)
6697         # Portland Group compilers (*not* the Pentium gcc compiler,
6698         # which looks to be a dead project)
6699         lt_prog_compiler_wl='-Wl,'
6700         lt_prog_compiler_pic='-fpic'
6701         lt_prog_compiler_static='-Bstatic'
6702         ;;
6703       ccc*)
6704         lt_prog_compiler_wl='-Wl,'
6705         # All Alpha code is PIC.
6706         lt_prog_compiler_static='-non_shared'
6707         ;;
6708       *)
6709         case `$CC -V 2>&1 | sed 5q` in
6710         *Sun\ C*)
6711           # Sun C 5.9
6712           lt_prog_compiler_pic='-KPIC'
6713           lt_prog_compiler_static='-Bstatic'
6714           lt_prog_compiler_wl='-Wl,'
6715           ;;
6716         *Sun\ F*)
6717           # Sun Fortran 8.3 passes all unrecognized flags to the linker
6718           lt_prog_compiler_pic='-KPIC'
6719           lt_prog_compiler_static='-Bstatic'
6720           lt_prog_compiler_wl=''
6721           ;;
6722         esac
6723         ;;
6724       esac
6725       ;;
6726
6727     newsos6)
6728       lt_prog_compiler_pic='-KPIC'
6729       lt_prog_compiler_static='-Bstatic'
6730       ;;
6731
6732     *nto* | *qnx*)
6733       # QNX uses GNU C++, but need to define -shared option too, otherwise
6734       # it will coredump.
6735       lt_prog_compiler_pic='-fPIC -shared'
6736       ;;
6737
6738     osf3* | osf4* | osf5*)
6739       lt_prog_compiler_wl='-Wl,'
6740       # All OSF/1 code is PIC.
6741       lt_prog_compiler_static='-non_shared'
6742       ;;
6743
6744     rdos*)
6745       lt_prog_compiler_static='-non_shared'
6746       ;;
6747
6748     solaris*)
6749       lt_prog_compiler_pic='-KPIC'
6750       lt_prog_compiler_static='-Bstatic'
6751       case $cc_basename in
6752       f77* | f90* | f95*)
6753         lt_prog_compiler_wl='-Qoption ld ';;
6754       *)
6755         lt_prog_compiler_wl='-Wl,';;
6756       esac
6757       ;;
6758
6759     sunos4*)
6760       lt_prog_compiler_wl='-Qoption ld '
6761       lt_prog_compiler_pic='-PIC'
6762       lt_prog_compiler_static='-Bstatic'
6763       ;;
6764
6765     sysv4 | sysv4.2uw2* | sysv4.3*)
6766       lt_prog_compiler_wl='-Wl,'
6767       lt_prog_compiler_pic='-KPIC'
6768       lt_prog_compiler_static='-Bstatic'
6769       ;;
6770
6771     sysv4*MP*)
6772       if test -d /usr/nec ;then
6773         lt_prog_compiler_pic='-Kconform_pic'
6774         lt_prog_compiler_static='-Bstatic'
6775       fi
6776       ;;
6777
6778     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6779       lt_prog_compiler_wl='-Wl,'
6780       lt_prog_compiler_pic='-KPIC'
6781       lt_prog_compiler_static='-Bstatic'
6782       ;;
6783
6784     unicos*)
6785       lt_prog_compiler_wl='-Wl,'
6786       lt_prog_compiler_can_build_shared=no
6787       ;;
6788
6789     uts4*)
6790       lt_prog_compiler_pic='-pic'
6791       lt_prog_compiler_static='-Bstatic'
6792       ;;
6793
6794     *)
6795       lt_prog_compiler_can_build_shared=no
6796       ;;
6797     esac
6798   fi
6799
6800 case $host_os in
6801   # For platforms which do not support PIC, -DPIC is meaningless:
6802   *djgpp*)
6803     lt_prog_compiler_pic=
6804     ;;
6805   *)
6806     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6807     ;;
6808 esac
6809 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6810 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6811
6812
6813
6814
6815
6816
6817 #
6818 # Check to make sure the PIC flag actually works.
6819 #
6820 if test -n "$lt_prog_compiler_pic"; then
6821   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6822 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6823 if test "${lt_prog_compiler_pic_works+set}" = set; then
6824   echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else
6826   lt_prog_compiler_pic_works=no
6827    ac_outfile=conftest.$ac_objext
6828    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6829    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6830    # Insert the option either (1) after the last *FLAGS variable, or
6831    # (2) before a word containing "conftest.", or (3) at the end.
6832    # Note that $ac_compile itself does not contain backslashes and begins
6833    # with a dollar sign (not a hyphen), so the echo should work correctly.
6834    # The option is referenced via a variable to avoid confusing sed.
6835    lt_compile=`echo "$ac_compile" | $SED \
6836    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6837    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6838    -e 's:$: $lt_compiler_flag:'`
6839    (eval echo "\"\$as_me:6839: $lt_compile\"" >&5)
6840    (eval "$lt_compile" 2>conftest.err)
6841    ac_status=$?
6842    cat conftest.err >&5
6843    echo "$as_me:6843: \$? = $ac_status" >&5
6844    if (exit $ac_status) && test -s "$ac_outfile"; then
6845      # The compiler can only warn and ignore the option if not recognized
6846      # So say no if there are warnings other than the usual output.
6847      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6848      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6849      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6850        lt_prog_compiler_pic_works=yes
6851      fi
6852    fi
6853    $RM conftest*
6854
6855 fi
6856 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6857 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6858
6859 if test x"$lt_prog_compiler_pic_works" = xyes; then
6860     case $lt_prog_compiler_pic in
6861      "" | " "*) ;;
6862      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6863      esac
6864 else
6865     lt_prog_compiler_pic=
6866      lt_prog_compiler_can_build_shared=no
6867 fi
6868
6869 fi
6870
6871
6872
6873
6874
6875
6876 #
6877 # Check to make sure the static flag actually works.
6878 #
6879 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6880 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6881 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6882 if test "${lt_prog_compiler_static_works+set}" = set; then
6883   echo $ECHO_N "(cached) $ECHO_C" >&6
6884 else
6885   lt_prog_compiler_static_works=no
6886    save_LDFLAGS="$LDFLAGS"
6887    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6888    echo "$lt_simple_link_test_code" > conftest.$ac_ext
6889    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6890      # The linker can only warn and ignore the option if not recognized
6891      # So say no if there are warnings
6892      if test -s conftest.err; then
6893        # Append any errors to the config.log.
6894        cat conftest.err 1>&5
6895        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6896        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6897        if diff conftest.exp conftest.er2 >/dev/null; then
6898          lt_prog_compiler_static_works=yes
6899        fi
6900      else
6901        lt_prog_compiler_static_works=yes
6902      fi
6903    fi
6904    $RM conftest*
6905    LDFLAGS="$save_LDFLAGS"
6906
6907 fi
6908 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6909 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6910
6911 if test x"$lt_prog_compiler_static_works" = xyes; then
6912     :
6913 else
6914     lt_prog_compiler_static=
6915 fi
6916
6917
6918
6919
6920
6921
6922
6923   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6924 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6925 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6926   echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928   lt_cv_prog_compiler_c_o=no
6929    $RM -r conftest 2>/dev/null
6930    mkdir conftest
6931    cd conftest
6932    mkdir out
6933    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6934
6935    lt_compiler_flag="-o out/conftest2.$ac_objext"
6936    # Insert the option either (1) after the last *FLAGS variable, or
6937    # (2) before a word containing "conftest.", or (3) at the end.
6938    # Note that $ac_compile itself does not contain backslashes and begins
6939    # with a dollar sign (not a hyphen), so the echo should work correctly.
6940    lt_compile=`echo "$ac_compile" | $SED \
6941    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6942    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6943    -e 's:$: $lt_compiler_flag:'`
6944    (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
6945    (eval "$lt_compile" 2>out/conftest.err)
6946    ac_status=$?
6947    cat out/conftest.err >&5
6948    echo "$as_me:6948: \$? = $ac_status" >&5
6949    if (exit $ac_status) && test -s out/conftest2.$ac_objext
6950    then
6951      # The compiler can only warn and ignore the option if not recognized
6952      # So say no if there are warnings
6953      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6954      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6955      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6956        lt_cv_prog_compiler_c_o=yes
6957      fi
6958    fi
6959    chmod u+w . 2>&5
6960    $RM conftest*
6961    # SGI C++ compiler will create directory out/ii_files/ for
6962    # template instantiation
6963    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6964    $RM out/* && rmdir out
6965    cd ..
6966    $RM -r conftest
6967    $RM conftest*
6968
6969 fi
6970 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6971 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6972
6973
6974
6975
6976
6977
6978   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6979 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6980 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6981   echo $ECHO_N "(cached) $ECHO_C" >&6
6982 else
6983   lt_cv_prog_compiler_c_o=no
6984    $RM -r conftest 2>/dev/null
6985    mkdir conftest
6986    cd conftest
6987    mkdir out
6988    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6989
6990    lt_compiler_flag="-o out/conftest2.$ac_objext"
6991    # Insert the option either (1) after the last *FLAGS variable, or
6992    # (2) before a word containing "conftest.", or (3) at the end.
6993    # Note that $ac_compile itself does not contain backslashes and begins
6994    # with a dollar sign (not a hyphen), so the echo should work correctly.
6995    lt_compile=`echo "$ac_compile" | $SED \
6996    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6997    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6998    -e 's:$: $lt_compiler_flag:'`
6999    (eval echo "\"\$as_me:6999: $lt_compile\"" >&5)
7000    (eval "$lt_compile" 2>out/conftest.err)
7001    ac_status=$?
7002    cat out/conftest.err >&5
7003    echo "$as_me:7003: \$? = $ac_status" >&5
7004    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7005    then
7006      # The compiler can only warn and ignore the option if not recognized
7007      # So say no if there are warnings
7008      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7009      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7010      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7011        lt_cv_prog_compiler_c_o=yes
7012      fi
7013    fi
7014    chmod u+w . 2>&5
7015    $RM conftest*
7016    # SGI C++ compiler will create directory out/ii_files/ for
7017    # template instantiation
7018    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7019    $RM out/* && rmdir out
7020    cd ..
7021    $RM -r conftest
7022    $RM conftest*
7023
7024 fi
7025 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7026 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7027
7028
7029
7030
7031 hard_links="nottested"
7032 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7033   # do not overwrite the value of need_locks provided by the user
7034   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7035 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7036   hard_links=yes
7037   $RM conftest*
7038   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7039   touch conftest.a
7040   ln conftest.a conftest.b 2>&5 || hard_links=no
7041   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7042   echo "$as_me:$LINENO: result: $hard_links" >&5
7043 echo "${ECHO_T}$hard_links" >&6
7044   if test "$hard_links" = no; then
7045     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7046 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7047     need_locks=warn
7048   fi
7049 else
7050   need_locks=no
7051 fi
7052
7053
7054
7055
7056
7057
7058   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7059 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7060
7061   runpath_var=
7062   allow_undefined_flag=
7063   always_export_symbols=no
7064   archive_cmds=
7065   archive_expsym_cmds=
7066   compiler_needs_object=no
7067   enable_shared_with_static_runtimes=no
7068   export_dynamic_flag_spec=
7069   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7070   hardcode_automatic=no
7071   hardcode_direct=no
7072   hardcode_direct_absolute=no
7073   hardcode_libdir_flag_spec=
7074   hardcode_libdir_flag_spec_ld=
7075   hardcode_libdir_separator=
7076   hardcode_minus_L=no
7077   hardcode_shlibpath_var=unsupported
7078   inherit_rpath=no
7079   link_all_deplibs=unknown
7080   module_cmds=
7081   module_expsym_cmds=
7082   old_archive_from_new_cmds=
7083   old_archive_from_expsyms_cmds=
7084   thread_safe_flag_spec=
7085   whole_archive_flag_spec=
7086   # include_expsyms should be a list of space-separated symbols to be *always*
7087   # included in the symbol list
7088   include_expsyms=
7089   # exclude_expsyms can be an extended regexp of symbols to exclude
7090   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7091   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7092   # as well as any symbol that contains `d'.
7093   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7094   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7095   # platforms (ab)use it in PIC code, but their linkers get confused if
7096   # the symbol is explicitly referenced.  Since portable code cannot
7097   # rely on this symbol name, it's probably fine to never include it in
7098   # preloaded symbol tables.
7099   extract_expsyms_cmds=
7100
7101   case $host_os in
7102   cygwin* | mingw* | pw32*)
7103     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7104     # When not using gcc, we currently assume that we are using
7105     # Microsoft Visual C++.
7106     if test "$GCC" != yes; then
7107       with_gnu_ld=no
7108     fi
7109     ;;
7110   interix*)
7111     # we just hope/assume this is gcc and not c89 (= MSVC++)
7112     with_gnu_ld=yes
7113     ;;
7114   openbsd*)
7115     with_gnu_ld=no
7116     ;;
7117   esac
7118
7119   ld_shlibs=yes
7120   if test "$with_gnu_ld" = yes; then
7121     # If archive_cmds runs LD, not CC, wlarc should be empty
7122     wlarc='${wl}'
7123
7124     # Set some defaults for GNU ld with shared library support. These
7125     # are reset later if shared libraries are not supported. Putting them
7126     # here allows them to be overridden if necessary.
7127     runpath_var=LD_RUN_PATH
7128     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7129     export_dynamic_flag_spec='${wl}--export-dynamic'
7130     # ancient GNU ld didn't support --whole-archive et. al.
7131     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7132       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7133     else
7134       whole_archive_flag_spec=
7135     fi
7136     supports_anon_versioning=no
7137     case `$LD -v 2>&1` in
7138       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7139       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7140       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7141       *\ 2.11.*) ;; # other 2.11 versions
7142       *) supports_anon_versioning=yes ;;
7143     esac
7144
7145     # See if GNU ld supports shared libraries.
7146     case $host_os in
7147     aix[3-9]*)
7148       # On AIX/PPC, the GNU linker is very broken
7149       if test "$host_cpu" != ia64; then
7150         ld_shlibs=no
7151         cat <<_LT_EOF 1>&2
7152
7153 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7154 *** to be unable to reliably create shared libraries on AIX.
7155 *** Therefore, libtool is disabling shared libraries support.  If you
7156 *** really care for shared libraries, you may want to modify your PATH
7157 *** so that a non-GNU linker is found, and then restart.
7158
7159 _LT_EOF
7160       fi
7161       ;;
7162
7163     amigaos*)
7164       if test "$host_cpu" = m68k; then
7165         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)'
7166         hardcode_libdir_flag_spec='-L$libdir'
7167         hardcode_minus_L=yes
7168       fi
7169
7170       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7171       # that the semantics of dynamic libraries on AmigaOS, at least up
7172       # to version 4, is to share data among multiple programs linked
7173       # with the same dynamic library.  Since this doesn't match the
7174       # behavior of shared libraries on other platforms, we can't use
7175       # them.
7176       ld_shlibs=no
7177       ;;
7178
7179     beos*)
7180       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7181         allow_undefined_flag=unsupported
7182         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7183         # support --undefined.  This deserves some investigation.  FIXME
7184         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7185       else
7186         ld_shlibs=no
7187       fi
7188       ;;
7189
7190     cygwin* | mingw* | pw32*)
7191       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7192       # as there is no search path for DLLs.
7193       hardcode_libdir_flag_spec='-L$libdir'
7194       allow_undefined_flag=unsupported
7195       always_export_symbols=no
7196       enable_shared_with_static_runtimes=yes
7197       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7198
7199       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7200         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7201         # If the export-symbols file already is a .def file (1st line
7202         # is EXPORTS), use it as is; otherwise, prepend...
7203         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7204           cp $export_symbols $output_objdir/$soname.def;
7205         else
7206           echo EXPORTS > $output_objdir/$soname.def;
7207           cat $export_symbols >> $output_objdir/$soname.def;
7208         fi~
7209         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7210       else
7211         ld_shlibs=no
7212       fi
7213       ;;
7214
7215     interix[3-9]*)
7216       hardcode_direct=no
7217       hardcode_shlibpath_var=no
7218       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7219       export_dynamic_flag_spec='${wl}-E'
7220       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7221       # Instead, shared libraries are loaded at an image base (0x10000000 by
7222       # default) and relocated if they conflict, which is a slow very memory
7223       # consuming and fragmenting process.  To avoid this, we pick a random,
7224       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7225       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7226       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7227       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'
7228       ;;
7229
7230     gnu* | linux* | tpf* | k*bsd*-gnu)
7231       tmp_diet=no
7232       if test "$host_os" = linux-dietlibc; then
7233         case $cc_basename in
7234           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7235         esac
7236       fi
7237       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7238          && test "$tmp_diet" = no
7239       then
7240         tmp_addflag=
7241         case $cc_basename,$host_cpu in
7242         pgcc*)                          # Portland Group C compiler
7243           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'
7244           tmp_addflag=' $pic_flag'
7245           ;;
7246         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7247           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'
7248           tmp_addflag=' $pic_flag -Mnomain' ;;
7249         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7250           tmp_addflag=' -i_dynamic' ;;
7251         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7252           tmp_addflag=' -i_dynamic -nofor_main' ;;
7253         ifc* | ifort*)                  # Intel Fortran compiler
7254           tmp_addflag=' -nofor_main' ;;
7255         esac
7256         case `$CC -V 2>&1 | sed 5q` in
7257         *Sun\ C*)                       # Sun C 5.9
7258           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'
7259           compiler_needs_object=yes
7260           tmp_sharedflag='-G' ;;
7261         *Sun\ F*)                       # Sun Fortran 8.3
7262           tmp_sharedflag='-G' ;;
7263         *)
7264           tmp_sharedflag='-shared' ;;
7265         esac
7266         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7267
7268         if test "x$supports_anon_versioning" = xyes; then
7269           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7270             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7271             echo "local: *; };" >> $output_objdir/$libname.ver~
7272             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7273         fi
7274       else
7275         ld_shlibs=no
7276       fi
7277       ;;
7278
7279     netbsd*)
7280       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7281         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7282         wlarc=
7283       else
7284         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7285         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7286       fi
7287       ;;
7288
7289     solaris*)
7290       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7291         ld_shlibs=no
7292         cat <<_LT_EOF 1>&2
7293
7294 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7295 *** create shared libraries on Solaris systems.  Therefore, libtool
7296 *** is disabling shared libraries support.  We urge you to upgrade GNU
7297 *** binutils to release 2.9.1 or newer.  Another option is to modify
7298 *** your PATH or compiler configuration so that the native linker is
7299 *** used, and then restart.
7300
7301 _LT_EOF
7302       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7303         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7304         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7305       else
7306         ld_shlibs=no
7307       fi
7308       ;;
7309
7310     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7311       case `$LD -v 2>&1` in
7312         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7313         ld_shlibs=no
7314         cat <<_LT_EOF 1>&2
7315
7316 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7317 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7318 *** is disabling shared libraries support.  We urge you to upgrade GNU
7319 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7320 *** your PATH or compiler configuration so that the native linker is
7321 *** used, and then restart.
7322
7323 _LT_EOF
7324         ;;
7325         *)
7326           # For security reasons, it is highly recommended that you always
7327           # use absolute paths for naming shared libraries, and exclude the
7328           # DT_RUNPATH tag from executables and libraries.  But doing so
7329           # requires that you compile everything twice, which is a pain.
7330           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7331             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7332             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7333             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7334           else
7335             ld_shlibs=no
7336           fi
7337         ;;
7338       esac
7339       ;;
7340
7341     sunos4*)
7342       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7343       wlarc=
7344       hardcode_direct=yes
7345       hardcode_shlibpath_var=no
7346       ;;
7347
7348     *)
7349       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7350         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7351         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7352       else
7353         ld_shlibs=no
7354       fi
7355       ;;
7356     esac
7357
7358     if test "$ld_shlibs" = no; then
7359       runpath_var=
7360       hardcode_libdir_flag_spec=
7361       export_dynamic_flag_spec=
7362       whole_archive_flag_spec=
7363     fi
7364   else
7365     # PORTME fill in a description of your system's linker (not GNU ld)
7366     case $host_os in
7367     aix3*)
7368       allow_undefined_flag=unsupported
7369       always_export_symbols=yes
7370       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'
7371       # Note: this linker hardcodes the directories in LIBPATH if there
7372       # are no directories specified by -L.
7373       hardcode_minus_L=yes
7374       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7375         # Neither direct hardcoding nor static linking is supported with a
7376         # broken collect2.
7377         hardcode_direct=unsupported
7378       fi
7379       ;;
7380
7381     aix[4-9]*)
7382       if test "$host_cpu" = ia64; then
7383         # On IA64, the linker does run time linking by default, so we don't
7384         # have to do anything special.
7385         aix_use_runtimelinking=no
7386         exp_sym_flag='-Bexport'
7387         no_entry_flag=""
7388       else
7389         # If we're using GNU nm, then we don't want the "-C" option.
7390         # -C means demangle to AIX nm, but means don't demangle with GNU nm
7391         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7392           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'
7393         else
7394           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'
7395         fi
7396         aix_use_runtimelinking=no
7397
7398         # Test if we are trying to use run time linking or normal
7399         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7400         # need to do runtime linking.
7401         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7402           for ld_flag in $LDFLAGS; do
7403           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7404             aix_use_runtimelinking=yes
7405             break
7406           fi
7407           done
7408           ;;
7409         esac
7410
7411         exp_sym_flag='-bexport'
7412         no_entry_flag='-bnoentry'
7413       fi
7414
7415       # When large executables or shared objects are built, AIX ld can
7416       # have problems creating the table of contents.  If linking a library
7417       # or program results in "error TOC overflow" add -mminimal-toc to
7418       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7419       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7420
7421       archive_cmds=''
7422       hardcode_direct=yes
7423       hardcode_direct_absolute=yes
7424       hardcode_libdir_separator=':'
7425       link_all_deplibs=yes
7426       file_list_spec='${wl}-f,'
7427
7428       if test "$GCC" = yes; then
7429         case $host_os in aix4.[012]|aix4.[012].*)
7430         # We only want to do this on AIX 4.2 and lower, the check
7431         # below for broken collect2 doesn't work under 4.3+
7432           collect2name=`${CC} -print-prog-name=collect2`
7433           if test -f "$collect2name" &&
7434            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7435           then
7436           # We have reworked collect2
7437           :
7438           else
7439           # We have old collect2
7440           hardcode_direct=unsupported
7441           # It fails to find uninstalled libraries when the uninstalled
7442           # path is not listed in the libpath.  Setting hardcode_minus_L
7443           # to unsupported forces relinking
7444           hardcode_minus_L=yes
7445           hardcode_libdir_flag_spec='-L$libdir'
7446           hardcode_libdir_separator=
7447           fi
7448           ;;
7449         esac
7450         shared_flag='-shared'
7451         if test "$aix_use_runtimelinking" = yes; then
7452           shared_flag="$shared_flag "'${wl}-G'
7453         fi
7454       else
7455         # not using gcc
7456         if test "$host_cpu" = ia64; then
7457         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7458         # chokes on -Wl,-G. The following line is correct:
7459           shared_flag='-G'
7460         else
7461           if test "$aix_use_runtimelinking" = yes; then
7462             shared_flag='${wl}-G'
7463           else
7464             shared_flag='${wl}-bM:SRE'
7465           fi
7466         fi
7467       fi
7468
7469       # It seems that -bexpall does not export symbols beginning with
7470       # underscore (_), so it is better to generate a list of symbols to export.
7471       always_export_symbols=yes
7472       if test "$aix_use_runtimelinking" = yes; then
7473         # Warning - without using the other runtime loading flags (-brtl),
7474         # -berok will link without error, but may produce a broken library.
7475         allow_undefined_flag='-berok'
7476         # Determine the default libpath from the value encoded in an
7477         # empty executable.
7478         if test x$gcc_no_link = xyes; then
7479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7481    { (exit 1); exit 1; }; }
7482 fi
7483 cat >conftest.$ac_ext <<_ACEOF
7484 /* confdefs.h.  */
7485 _ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h.  */
7489
7490 int
7491 main ()
7492 {
7493
7494   ;
7495   return 0;
7496 }
7497 _ACEOF
7498 rm -f conftest.$ac_objext conftest$ac_exeext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500   (eval $ac_link) 2>conftest.er1
7501   ac_status=$?
7502   grep -v '^ *+' conftest.er1 >conftest.err
7503   rm -f conftest.er1
7504   cat conftest.err >&5
7505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506   (exit $ac_status); } &&
7507          { ac_try='test -z "$ac_c_werror_flag"
7508                          || test ! -s conftest.err'
7509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510   (eval $ac_try) 2>&5
7511   ac_status=$?
7512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513   (exit $ac_status); }; } &&
7514          { ac_try='test -s conftest$ac_exeext'
7515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516   (eval $ac_try) 2>&5
7517   ac_status=$?
7518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519   (exit $ac_status); }; }; then
7520
7521 lt_aix_libpath_sed='
7522     /Import File Strings/,/^$/ {
7523         /^0/ {
7524             s/^0  *\(.*\)$/\1/
7525             p
7526         }
7527     }'
7528 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7529 # Check for a 64-bit object if we didn't find anything.
7530 if test -z "$aix_libpath"; then
7531   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7532 fi
7533 else
7534   echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7536
7537 fi
7538 rm -f conftest.err conftest.$ac_objext \
7539       conftest$ac_exeext conftest.$ac_ext
7540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7541
7542         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7543         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"
7544       else
7545         if test "$host_cpu" = ia64; then
7546           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7547           allow_undefined_flag="-z nodefs"
7548           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"
7549         else
7550          # Determine the default libpath from the value encoded in an
7551          # empty executable.
7552          if test x$gcc_no_link = xyes; then
7553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7555    { (exit 1); exit 1; }; }
7556 fi
7557 cat >conftest.$ac_ext <<_ACEOF
7558 /* confdefs.h.  */
7559 _ACEOF
7560 cat confdefs.h >>conftest.$ac_ext
7561 cat >>conftest.$ac_ext <<_ACEOF
7562 /* end confdefs.h.  */
7563
7564 int
7565 main ()
7566 {
7567
7568   ;
7569   return 0;
7570 }
7571 _ACEOF
7572 rm -f conftest.$ac_objext conftest$ac_exeext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7574   (eval $ac_link) 2>conftest.er1
7575   ac_status=$?
7576   grep -v '^ *+' conftest.er1 >conftest.err
7577   rm -f conftest.er1
7578   cat conftest.err >&5
7579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580   (exit $ac_status); } &&
7581          { ac_try='test -z "$ac_c_werror_flag"
7582                          || test ! -s conftest.err'
7583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584   (eval $ac_try) 2>&5
7585   ac_status=$?
7586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587   (exit $ac_status); }; } &&
7588          { ac_try='test -s conftest$ac_exeext'
7589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590   (eval $ac_try) 2>&5
7591   ac_status=$?
7592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593   (exit $ac_status); }; }; then
7594
7595 lt_aix_libpath_sed='
7596     /Import File Strings/,/^$/ {
7597         /^0/ {
7598             s/^0  *\(.*\)$/\1/
7599             p
7600         }
7601     }'
7602 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7603 # Check for a 64-bit object if we didn't find anything.
7604 if test -z "$aix_libpath"; then
7605   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7606 fi
7607 else
7608   echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7610
7611 fi
7612 rm -f conftest.err conftest.$ac_objext \
7613       conftest$ac_exeext conftest.$ac_ext
7614 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7615
7616          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7617           # Warning - without using the other run time loading flags,
7618           # -berok will link without error, but may produce a broken library.
7619           no_undefined_flag=' ${wl}-bernotok'
7620           allow_undefined_flag=' ${wl}-berok'
7621           # Exported symbols can be pulled into shared objects from archives
7622           whole_archive_flag_spec='$convenience'
7623           archive_cmds_need_lc=yes
7624           # This is similar to how AIX traditionally builds its shared libraries.
7625           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'
7626         fi
7627       fi
7628       ;;
7629
7630     amigaos*)
7631       if test "$host_cpu" = m68k; then
7632         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)'
7633         hardcode_libdir_flag_spec='-L$libdir'
7634         hardcode_minus_L=yes
7635       fi
7636       # see comment about different semantics on the GNU ld section
7637       ld_shlibs=no
7638       ;;
7639
7640     bsdi[45]*)
7641       export_dynamic_flag_spec=-rdynamic
7642       ;;
7643
7644     cygwin* | mingw* | pw32*)
7645       # When not using gcc, we currently assume that we are using
7646       # Microsoft Visual C++.
7647       # hardcode_libdir_flag_spec is actually meaningless, as there is
7648       # no search path for DLLs.
7649       hardcode_libdir_flag_spec=' '
7650       allow_undefined_flag=unsupported
7651       # Tell ltmain to make .lib files, not .a files.
7652       libext=lib
7653       # Tell ltmain to make .dll files, not .so files.
7654       shrext_cmds=".dll"
7655       # FIXME: Setting linknames here is a bad hack.
7656       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7657       # The linker will automatically build a .lib file if we build a DLL.
7658       old_archive_from_new_cmds='true'
7659       # FIXME: Should let the user specify the lib program.
7660       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7661       fix_srcfile_path='`cygpath -w "$srcfile"`'
7662       enable_shared_with_static_runtimes=yes
7663       ;;
7664
7665     darwin* | rhapsody*)
7666       case $host_os in
7667       rhapsody* | darwin1.[012])
7668         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7669         ;;
7670       *) # Darwin 1.3 on
7671         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7672         10.[012])
7673           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7674           ;;
7675         10.*)
7676           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7677           ;;
7678         esac
7679         ;;
7680       esac
7681       archive_cmds_need_lc=no
7682       hardcode_direct=no
7683       hardcode_automatic=yes
7684       hardcode_shlibpath_var=unsupported
7685       whole_archive_flag_spec=''
7686       link_all_deplibs=yes
7687       if test "$GCC" = yes ; then
7688         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7689   echo $ECHO_N "(cached) $ECHO_C" >&6
7690 else
7691   lt_cv_apple_cc_single_mod=no
7692         if test -z "${LT_MULTI_MODULE}"; then
7693           # By default we will add the -single_module flag. You can override
7694           # by either setting the environment variable LT_MULTI_MODULE
7695           # non-empty at configure time, or by adding -multi-module to the
7696           # link flags.
7697           echo "int foo(void){return 1;}" > conftest.c
7698           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7699               -dynamiclib ${wl}-single_module conftest.c
7700           if test -f libconftest.dylib; then
7701               lt_cv_apple_cc_single_mod=yes
7702               rm libconftest.dylib
7703           fi
7704           rm conftest.$ac_ext
7705         fi
7706 fi
7707
7708         output_verbose_link_cmd=echo
7709         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7710           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7711           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}'
7712         else
7713           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7714           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}'
7715         fi
7716         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7717         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}'
7718       else
7719         case $cc_basename in
7720         xlc*)
7721           output_verbose_link_cmd=echo
7722           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7723           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7724           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7725           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}'
7726           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}'
7727           ;;
7728         *)
7729           ld_shlibs=no
7730           ;;
7731         esac
7732       fi
7733       ;;
7734
7735     dgux*)
7736       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7737       hardcode_libdir_flag_spec='-L$libdir'
7738       hardcode_shlibpath_var=no
7739       ;;
7740
7741     freebsd1*)
7742       ld_shlibs=no
7743       ;;
7744
7745     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7746     # support.  Future versions do this automatically, but an explicit c++rt0.o
7747     # does not break anything, and helps significantly (at the cost of a little
7748     # extra space).
7749     freebsd2.2*)
7750       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7751       hardcode_libdir_flag_spec='-R$libdir'
7752       hardcode_direct=yes
7753       hardcode_shlibpath_var=no
7754       ;;
7755
7756     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7757     freebsd2*)
7758       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7759       hardcode_direct=yes
7760       hardcode_minus_L=yes
7761       hardcode_shlibpath_var=no
7762       ;;
7763
7764     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7765     freebsd* | dragonfly*)
7766       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7767       hardcode_libdir_flag_spec='-R$libdir'
7768       hardcode_direct=yes
7769       hardcode_shlibpath_var=no
7770       ;;
7771
7772     hpux9*)
7773       if test "$GCC" = yes; then
7774         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'
7775       else
7776         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'
7777       fi
7778       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7779       hardcode_libdir_separator=:
7780       hardcode_direct=yes
7781
7782       # hardcode_minus_L: Not really in the search PATH,
7783       # but as the default location of the library.
7784       hardcode_minus_L=yes
7785       export_dynamic_flag_spec='${wl}-E'
7786       ;;
7787
7788     hpux10*)
7789       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7790         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7791       else
7792         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7793       fi
7794       if test "$with_gnu_ld" = no; then
7795         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7796         hardcode_libdir_flag_spec_ld='+b $libdir'
7797         hardcode_libdir_separator=:
7798         hardcode_direct=yes
7799         hardcode_direct_absolute=yes
7800         export_dynamic_flag_spec='${wl}-E'
7801         # hardcode_minus_L: Not really in the search PATH,
7802         # but as the default location of the library.
7803         hardcode_minus_L=yes
7804       fi
7805       ;;
7806
7807     hpux11*)
7808       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7809         case $host_cpu in
7810         hppa*64*)
7811           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7812           ;;
7813         ia64*)
7814           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7815           ;;
7816         *)
7817           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7818           ;;
7819         esac
7820       else
7821         case $host_cpu in
7822         hppa*64*)
7823           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7824           ;;
7825         ia64*)
7826           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7827           ;;
7828         *)
7829           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7830           ;;
7831         esac
7832       fi
7833       if test "$with_gnu_ld" = no; then
7834         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7835         hardcode_libdir_separator=:
7836
7837         case $host_cpu in
7838         hppa*64*|ia64*)
7839           hardcode_direct=no
7840           hardcode_shlibpath_var=no
7841           ;;
7842         *)
7843           hardcode_direct=yes
7844           hardcode_direct_absolute=yes
7845           export_dynamic_flag_spec='${wl}-E'
7846
7847           # hardcode_minus_L: Not really in the search PATH,
7848           # but as the default location of the library.
7849           hardcode_minus_L=yes
7850           ;;
7851         esac
7852       fi
7853       ;;
7854
7855     irix5* | irix6* | nonstopux*)
7856       if test "$GCC" = yes; then
7857         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'
7858         # Try to use the -exported_symbol ld option, if it does not
7859         # work, assume that -exports_file does not work either and
7860         # implicitly export all symbols.
7861         save_LDFLAGS="$LDFLAGS"
7862         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7863         if test x$gcc_no_link = xyes; then
7864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7866    { (exit 1); exit 1; }; }
7867 fi
7868 cat >conftest.$ac_ext <<_ACEOF
7869 int foo(void) {}
7870 _ACEOF
7871 rm -f conftest.$ac_objext conftest$ac_exeext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873   (eval $ac_link) 2>conftest.er1
7874   ac_status=$?
7875   grep -v '^ *+' conftest.er1 >conftest.err
7876   rm -f conftest.er1
7877   cat conftest.err >&5
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); } &&
7880          { ac_try='test -z "$ac_c_werror_flag"
7881                          || test ! -s conftest.err'
7882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883   (eval $ac_try) 2>&5
7884   ac_status=$?
7885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886   (exit $ac_status); }; } &&
7887          { ac_try='test -s conftest$ac_exeext'
7888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889   (eval $ac_try) 2>&5
7890   ac_status=$?
7891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892   (exit $ac_status); }; }; then
7893   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'
7894
7895 else
7896   echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.$ac_ext >&5
7898
7899 fi
7900 rm -f conftest.err conftest.$ac_objext \
7901       conftest$ac_exeext conftest.$ac_ext
7902         LDFLAGS="$save_LDFLAGS"
7903       else
7904         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'
7905         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'
7906       fi
7907       archive_cmds_need_lc='no'
7908       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7909       hardcode_libdir_separator=:
7910       inherit_rpath=yes
7911       link_all_deplibs=yes
7912       ;;
7913
7914     netbsd*)
7915       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7916         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7917       else
7918         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7919       fi
7920       hardcode_libdir_flag_spec='-R$libdir'
7921       hardcode_direct=yes
7922       hardcode_shlibpath_var=no
7923       ;;
7924
7925     newsos6)
7926       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7927       hardcode_direct=yes
7928       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7929       hardcode_libdir_separator=:
7930       hardcode_shlibpath_var=no
7931       ;;
7932
7933     *nto* | *qnx*)
7934       ;;
7935
7936     openbsd*)
7937       hardcode_direct=yes
7938       hardcode_shlibpath_var=no
7939       hardcode_direct_absolute=yes
7940       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7941         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7942         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7943         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7944         export_dynamic_flag_spec='${wl}-E'
7945       else
7946         case $host_os in
7947         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7948           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7949           hardcode_libdir_flag_spec='-R$libdir'
7950           ;;
7951         *)
7952           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7953           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7954           ;;
7955         esac
7956       fi
7957       ;;
7958
7959     os2*)
7960       hardcode_libdir_flag_spec='-L$libdir'
7961       hardcode_minus_L=yes
7962       allow_undefined_flag=unsupported
7963       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'
7964       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7965       ;;
7966
7967     osf3*)
7968       if test "$GCC" = yes; then
7969         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7970         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'
7971       else
7972         allow_undefined_flag=' -expect_unresolved \*'
7973         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'
7974       fi
7975       archive_cmds_need_lc='no'
7976       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7977       hardcode_libdir_separator=:
7978       ;;
7979
7980     osf4* | osf5*)      # as osf3* with the addition of -msym flag
7981       if test "$GCC" = yes; then
7982         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7983         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'
7984         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7985       else
7986         allow_undefined_flag=' -expect_unresolved \*'
7987         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'
7988         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~
7989         $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'
7990
7991         # Both c and cxx compiler support -rpath directly
7992         hardcode_libdir_flag_spec='-rpath $libdir'
7993       fi
7994       archive_cmds_need_lc='no'
7995       hardcode_libdir_separator=:
7996       ;;
7997
7998     solaris*)
7999       no_undefined_flag=' -z defs'
8000       if test "$GCC" = yes; then
8001         wlarc='${wl}'
8002         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8003         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8004           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8005       else
8006         case `$CC -V 2>&1` in
8007         *"Compilers 5.0"*)
8008           wlarc=''
8009           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8010           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8011           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8012           ;;
8013         *)
8014           wlarc='${wl}'
8015           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8016           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8017           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8018           ;;
8019         esac
8020       fi
8021       hardcode_libdir_flag_spec='-R$libdir'
8022       hardcode_shlibpath_var=no
8023       case $host_os in
8024       solaris2.[0-5] | solaris2.[0-5].*) ;;
8025       *)
8026         # The compiler driver will combine and reorder linker options,
8027         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8028         # but is careful enough not to reorder.
8029         # Supported since Solaris 2.6 (maybe 2.5.1?)
8030         if test "$GCC" = yes; then
8031           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8032         else
8033           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8034         fi
8035         ;;
8036       esac
8037       link_all_deplibs=yes
8038       ;;
8039
8040     sunos4*)
8041       if test "x$host_vendor" = xsequent; then
8042         # Use $CC to link under sequent, because it throws in some extra .o
8043         # files that make .init and .fini sections work.
8044         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8045       else
8046         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8047       fi
8048       hardcode_libdir_flag_spec='-L$libdir'
8049       hardcode_direct=yes
8050       hardcode_minus_L=yes
8051       hardcode_shlibpath_var=no
8052       ;;
8053
8054     sysv4)
8055       case $host_vendor in
8056         sni)
8057           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8058           hardcode_direct=yes # is this really true???
8059         ;;
8060         siemens)
8061           ## LD is ld it makes a PLAMLIB
8062           ## CC just makes a GrossModule.
8063           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8064           reload_cmds='$CC -r -o $output$reload_objs'
8065           hardcode_direct=no
8066         ;;
8067         motorola)
8068           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8069           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8070         ;;
8071       esac
8072       runpath_var='LD_RUN_PATH'
8073       hardcode_shlibpath_var=no
8074       ;;
8075
8076     sysv4.3*)
8077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8078       hardcode_shlibpath_var=no
8079       export_dynamic_flag_spec='-Bexport'
8080       ;;
8081
8082     sysv4*MP*)
8083       if test -d /usr/nec; then
8084         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8085         hardcode_shlibpath_var=no
8086         runpath_var=LD_RUN_PATH
8087         hardcode_runpath_var=yes
8088         ld_shlibs=yes
8089       fi
8090       ;;
8091
8092     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8093       no_undefined_flag='${wl}-z,text'
8094       archive_cmds_need_lc=no
8095       hardcode_shlibpath_var=no
8096       runpath_var='LD_RUN_PATH'
8097
8098       if test "$GCC" = yes; then
8099         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8100         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8101       else
8102         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8103         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8104       fi
8105       ;;
8106
8107     sysv5* | sco3.2v5* | sco5v6*)
8108       # Note: We can NOT use -z defs as we might desire, because we do not
8109       # link with -lc, and that would cause any symbols used from libc to
8110       # always be unresolved, which means just about no library would
8111       # ever link correctly.  If we're not using GNU ld we use -z text
8112       # though, which does catch some bad symbols but isn't as heavy-handed
8113       # as -z defs.
8114       no_undefined_flag='${wl}-z,text'
8115       allow_undefined_flag='${wl}-z,nodefs'
8116       archive_cmds_need_lc=no
8117       hardcode_shlibpath_var=no
8118       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8119       hardcode_libdir_separator=':'
8120       link_all_deplibs=yes
8121       export_dynamic_flag_spec='${wl}-Bexport'
8122       runpath_var='LD_RUN_PATH'
8123
8124       if test "$GCC" = yes; then
8125         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8126         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8127       else
8128         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8129         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8130       fi
8131       ;;
8132
8133     uts4*)
8134       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8135       hardcode_libdir_flag_spec='-L$libdir'
8136       hardcode_shlibpath_var=no
8137       ;;
8138
8139     *)
8140       ld_shlibs=no
8141       ;;
8142     esac
8143
8144     if test x$host_vendor = xsni; then
8145       case $host in
8146       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8147         export_dynamic_flag_spec='${wl}-Blargedynsym'
8148         ;;
8149       esac
8150     fi
8151   fi
8152
8153 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8154 echo "${ECHO_T}$ld_shlibs" >&6
8155 test "$ld_shlibs" = no && can_build_shared=no
8156
8157 with_gnu_ld=$with_gnu_ld
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173 #
8174 # Do we need to explicitly link libc?
8175 #
8176 case "x$archive_cmds_need_lc" in
8177 x|xyes)
8178   # Assume -lc should be added
8179   archive_cmds_need_lc=yes
8180
8181   if test "$enable_shared" = yes && test "$GCC" = yes; then
8182     case $archive_cmds in
8183     *'~'*)
8184       # FIXME: we may have to deal with multi-command sequences.
8185       ;;
8186     '$CC '*)
8187       # Test whether the compiler implicitly links with -lc since on some
8188       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8189       # to ld, don't add -lc before -lgcc.
8190       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8191 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8192       $RM conftest*
8193       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8194
8195       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8196   (eval $ac_compile) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); } 2>conftest.err; then
8200         soname=conftest
8201         lib=conftest
8202         libobjs=conftest.$ac_objext
8203         deplibs=
8204         wl=$lt_prog_compiler_wl
8205         pic_flag=$lt_prog_compiler_pic
8206         compiler_flags=-v
8207         linker_flags=-v
8208         verstring=
8209         output_objdir=.
8210         libname=conftest
8211         lt_save_allow_undefined_flag=$allow_undefined_flag
8212         allow_undefined_flag=
8213         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8214   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8215   ac_status=$?
8216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217   (exit $ac_status); }
8218         then
8219           archive_cmds_need_lc=no
8220         else
8221           archive_cmds_need_lc=yes
8222         fi
8223         allow_undefined_flag=$lt_save_allow_undefined_flag
8224       else
8225         cat conftest.err 1>&5
8226       fi
8227       $RM conftest*
8228       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8229 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8230       ;;
8231     esac
8232   fi
8233   ;;
8234 esac
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
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8393 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8394 withGCC=$GCC
8395 if test "$withGCC" = yes; then
8396   case $host_os in
8397     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8398     *) lt_awk_arg="/^libraries:/" ;;
8399   esac
8400   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8401   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8402     # if the path contains ";" then we assume it to be the separator
8403     # otherwise default to the standard path separator (i.e. ":") - it is
8404     # assumed that no part of a normal pathname contains ";" but that should
8405     # okay in the real world where ";" in dirpaths is itself problematic.
8406     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8407   else
8408     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8409   fi
8410   # Ok, now we have the path, separated by spaces, we can step through it
8411   # and add multilib dir if necessary.
8412   lt_tmp_lt_search_path_spec=
8413   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8414   for lt_sys_path in $lt_search_path_spec; do
8415     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8416       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8417     else
8418       test -d "$lt_sys_path" && \
8419         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8420     fi
8421   done
8422   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8423 BEGIN {RS=" "; FS="/|\n";} {
8424   lt_foo="";
8425   lt_count=0;
8426   for (lt_i = NF; lt_i > 0; lt_i--) {
8427     if ($lt_i != "" && $lt_i != ".") {
8428       if ($lt_i == "..") {
8429         lt_count++;
8430       } else {
8431         if (lt_count == 0) {
8432           lt_foo="/" $lt_i lt_foo;
8433         } else {
8434           lt_count--;
8435         }
8436       }
8437     }
8438   }
8439   if (lt_foo != "") { lt_freq[lt_foo]++; }
8440   if (lt_freq[lt_foo] == 1) { print lt_foo; }
8441 }'`
8442   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8443 else
8444   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8445 fi
8446 library_names_spec=
8447 libname_spec='lib$name'
8448 soname_spec=
8449 shrext_cmds=".so"
8450 postinstall_cmds=
8451 postuninstall_cmds=
8452 finish_cmds=
8453 finish_eval=
8454 shlibpath_var=
8455 shlibpath_overrides_runpath=unknown
8456 version_type=none
8457 dynamic_linker="$host_os ld.so"
8458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8459 need_lib_prefix=unknown
8460 hardcode_into_libs=no
8461
8462 # when you set need_version to no, make sure it does not cause -set_version
8463 # flags to be left without arguments
8464 need_version=unknown
8465
8466 case $host_os in
8467 aix3*)
8468   version_type=linux
8469   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8470   shlibpath_var=LIBPATH
8471
8472   # AIX 3 has no versioning support, so we append a major version to the name.
8473   soname_spec='${libname}${release}${shared_ext}$major'
8474   ;;
8475
8476 aix[4-9]*)
8477   version_type=linux
8478   need_lib_prefix=no
8479   need_version=no
8480   hardcode_into_libs=yes
8481   if test "$host_cpu" = ia64; then
8482     # AIX 5 supports IA64
8483     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8484     shlibpath_var=LD_LIBRARY_PATH
8485   else
8486     # With GCC up to 2.95.x, collect2 would create an import file
8487     # for dependence libraries.  The import file would start with
8488     # the line `#! .'.  This would cause the generated library to
8489     # depend on `.', always an invalid library.  This was fixed in
8490     # development snapshots of GCC prior to 3.0.
8491     case $host_os in
8492       aix4 | aix4.[01] | aix4.[01].*)
8493       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8494            echo ' yes '
8495            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8496         :
8497       else
8498         can_build_shared=no
8499       fi
8500       ;;
8501     esac
8502     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8503     # soname into executable. Probably we can add versioning support to
8504     # collect2, so additional links can be useful in future.
8505     if test "$aix_use_runtimelinking" = yes; then
8506       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8507       # instead of lib<name>.a to let people know that these are not
8508       # typical AIX shared libraries.
8509       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8510     else
8511       # We preserve .a as extension for shared libraries through AIX4.2
8512       # and later when we are not doing run time linking.
8513       library_names_spec='${libname}${release}.a $libname.a'
8514       soname_spec='${libname}${release}${shared_ext}$major'
8515     fi
8516     shlibpath_var=LIBPATH
8517   fi
8518   ;;
8519
8520 amigaos*)
8521   if test "$host_cpu" = m68k; then
8522     library_names_spec='$libname.ixlibrary $libname.a'
8523     # Create ${libname}_ixlibrary.a entries in /sys/libs.
8524     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'
8525   else
8526     dynamic_linker=no
8527   fi
8528   ;;
8529
8530 beos*)
8531   library_names_spec='${libname}${shared_ext}'
8532   dynamic_linker="$host_os ld.so"
8533   shlibpath_var=LIBRARY_PATH
8534   ;;
8535
8536 bsdi[45]*)
8537   version_type=linux
8538   need_version=no
8539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8540   soname_spec='${libname}${release}${shared_ext}$major'
8541   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8542   shlibpath_var=LD_LIBRARY_PATH
8543   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8544   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8545   # the default ld.so.conf also contains /usr/contrib/lib and
8546   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8547   # libtool to hard-code these into programs
8548   ;;
8549
8550 cygwin* | mingw* | pw32*)
8551   version_type=windows
8552   shrext_cmds=".dll"
8553   need_version=no
8554   need_lib_prefix=no
8555
8556   case $withGCC,$host_os in
8557   yes,cygwin* | yes,mingw* | yes,pw32*)
8558     library_names_spec='$libname.dll.a'
8559     # DLL is installed to $(libdir)/../bin by postinstall_cmds
8560     postinstall_cmds='base_file=`basename \${file}`~
8561       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8562       dldir=$destdir/`dirname \$dlpath`~
8563       test -d \$dldir || mkdir -p \$dldir~
8564       $install_prog $dir/$dlname \$dldir/$dlname~
8565       chmod a+x \$dldir/$dlname~
8566       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8567         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8568       fi'
8569     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8570       dlpath=$dir/\$dldll~
8571        $RM \$dlpath'
8572     shlibpath_overrides_runpath=yes
8573
8574     case $host_os in
8575     cygwin*)
8576       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8577       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8578       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8579       ;;
8580     mingw*)
8581       # MinGW DLLs use traditional 'lib' prefix
8582       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8583       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8584       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8585         # It is most probably a Windows format PATH printed by
8586         # mingw gcc, but we are running on Cygwin. Gcc prints its search
8587         # path with ; separators, and with drive letters. We can handle the
8588         # drive letters (cygwin fileutils understands them), so leave them,
8589         # especially as we might pass files found there to a mingw objdump,
8590         # which wouldn't understand a cygwinified path. Ahh.
8591         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8592       else
8593         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8594       fi
8595       ;;
8596     pw32*)
8597       # pw32 DLLs use 'pw' prefix rather than 'lib'
8598       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8599       ;;
8600     esac
8601     ;;
8602
8603   *)
8604     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8605     ;;
8606   esac
8607   dynamic_linker='Win32 ld.exe'
8608   # FIXME: first we should search . and the directory the executable is in
8609   shlibpath_var=PATH
8610   ;;
8611
8612 darwin* | rhapsody*)
8613   dynamic_linker="$host_os dyld"
8614   version_type=darwin
8615   need_lib_prefix=no
8616   need_version=no
8617   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8618   soname_spec='${libname}${release}${major}$shared_ext'
8619   shlibpath_overrides_runpath=yes
8620   shlibpath_var=DYLD_LIBRARY_PATH
8621   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8622
8623   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8624   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8625   ;;
8626
8627 dgux*)
8628   version_type=linux
8629   need_lib_prefix=no
8630   need_version=no
8631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8632   soname_spec='${libname}${release}${shared_ext}$major'
8633   shlibpath_var=LD_LIBRARY_PATH
8634   ;;
8635
8636 freebsd1*)
8637   dynamic_linker=no
8638   ;;
8639
8640 freebsd* | dragonfly*)
8641   # DragonFly does not have aout.  When/if they implement a new
8642   # versioning mechanism, adjust this.
8643   if test -x /usr/bin/objformat; then
8644     objformat=`/usr/bin/objformat`
8645   else
8646     case $host_os in
8647     freebsd[123]*) objformat=aout ;;
8648     *) objformat=elf ;;
8649     esac
8650   fi
8651   version_type=freebsd-$objformat
8652   case $version_type in
8653     freebsd-elf*)
8654       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8655       need_version=no
8656       need_lib_prefix=no
8657       ;;
8658     freebsd-*)
8659       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8660       need_version=yes
8661       ;;
8662   esac
8663   shlibpath_var=LD_LIBRARY_PATH
8664   case $host_os in
8665   freebsd2*)
8666     shlibpath_overrides_runpath=yes
8667     ;;
8668   freebsd3.[01]* | freebsdelf3.[01]*)
8669     shlibpath_overrides_runpath=yes
8670     hardcode_into_libs=yes
8671     ;;
8672   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8673   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8674     shlibpath_overrides_runpath=no
8675     hardcode_into_libs=yes
8676     ;;
8677   *) # from 4.6 on, and DragonFly
8678     shlibpath_overrides_runpath=yes
8679     hardcode_into_libs=yes
8680     ;;
8681   esac
8682   ;;
8683
8684 gnu*)
8685   version_type=linux
8686   need_lib_prefix=no
8687   need_version=no
8688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8689   soname_spec='${libname}${release}${shared_ext}$major'
8690   shlibpath_var=LD_LIBRARY_PATH
8691   hardcode_into_libs=yes
8692   ;;
8693
8694 hpux9* | hpux10* | hpux11*)
8695   # Give a soname corresponding to the major version so that dld.sl refuses to
8696   # link against other versions.
8697   version_type=sunos
8698   need_lib_prefix=no
8699   need_version=no
8700   case $host_cpu in
8701   ia64*)
8702     shrext_cmds='.so'
8703     hardcode_into_libs=yes
8704     dynamic_linker="$host_os dld.so"
8705     shlibpath_var=LD_LIBRARY_PATH
8706     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8707     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8708     soname_spec='${libname}${release}${shared_ext}$major'
8709     if test "X$HPUX_IA64_MODE" = X32; then
8710       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8711     else
8712       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8713     fi
8714     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8715     ;;
8716   hppa*64*)
8717     shrext_cmds='.sl'
8718     hardcode_into_libs=yes
8719     dynamic_linker="$host_os dld.sl"
8720     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8721     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8722     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8723     soname_spec='${libname}${release}${shared_ext}$major'
8724     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8725     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8726     ;;
8727   *)
8728     shrext_cmds='.sl'
8729     dynamic_linker="$host_os dld.sl"
8730     shlibpath_var=SHLIB_PATH
8731     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8732     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8733     soname_spec='${libname}${release}${shared_ext}$major'
8734     ;;
8735   esac
8736   # HP-UX runs *really* slowly unless shared libraries are mode 555.
8737   postinstall_cmds='chmod 555 $lib'
8738   ;;
8739
8740 interix[3-9]*)
8741   version_type=linux
8742   need_lib_prefix=no
8743   need_version=no
8744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8745   soname_spec='${libname}${release}${shared_ext}$major'
8746   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8747   shlibpath_var=LD_LIBRARY_PATH
8748   shlibpath_overrides_runpath=no
8749   hardcode_into_libs=yes
8750   ;;
8751
8752 irix5* | irix6* | nonstopux*)
8753   case $host_os in
8754     nonstopux*) version_type=nonstopux ;;
8755     *)
8756         if test "$lt_cv_prog_gnu_ld" = yes; then
8757                 version_type=linux
8758         else
8759                 version_type=irix
8760         fi ;;
8761   esac
8762   need_lib_prefix=no
8763   need_version=no
8764   soname_spec='${libname}${release}${shared_ext}$major'
8765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8766   case $host_os in
8767   irix5* | nonstopux*)
8768     libsuff= shlibsuff=
8769     ;;
8770   *)
8771     case $LD in # libtool.m4 will add one of these switches to LD
8772     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8773       libsuff= shlibsuff= libmagic=32-bit;;
8774     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8775       libsuff=32 shlibsuff=N32 libmagic=N32;;
8776     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8777       libsuff=64 shlibsuff=64 libmagic=64-bit;;
8778     *) libsuff= shlibsuff= libmagic=never-match;;
8779     esac
8780     ;;
8781   esac
8782   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8783   shlibpath_overrides_runpath=no
8784   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8785   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8786   hardcode_into_libs=yes
8787   ;;
8788
8789 # No shared lib support for Linux oldld, aout, or coff.
8790 linux*oldld* | linux*aout* | linux*coff*)
8791   dynamic_linker=no
8792   ;;
8793
8794 # This must be Linux ELF.
8795 linux* | k*bsd*-gnu)
8796   version_type=linux
8797   need_lib_prefix=no
8798   need_version=no
8799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8800   soname_spec='${libname}${release}${shared_ext}$major'
8801   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8802   shlibpath_var=LD_LIBRARY_PATH
8803   shlibpath_overrides_runpath=no
8804   # Some binutils ld are patched to set DT_RUNPATH
8805   save_LDFLAGS=$LDFLAGS
8806   save_libdir=$libdir
8807   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8808        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8809   if test x$gcc_no_link = xyes; then
8810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8812    { (exit 1); exit 1; }; }
8813 fi
8814 cat >conftest.$ac_ext <<_ACEOF
8815 /* confdefs.h.  */
8816 _ACEOF
8817 cat confdefs.h >>conftest.$ac_ext
8818 cat >>conftest.$ac_ext <<_ACEOF
8819 /* end confdefs.h.  */
8820
8821 int
8822 main ()
8823 {
8824
8825   ;
8826   return 0;
8827 }
8828 _ACEOF
8829 rm -f conftest.$ac_objext conftest$ac_exeext
8830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8831   (eval $ac_link) 2>conftest.er1
8832   ac_status=$?
8833   grep -v '^ *+' conftest.er1 >conftest.err
8834   rm -f conftest.er1
8835   cat conftest.err >&5
8836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837   (exit $ac_status); } &&
8838          { ac_try='test -z "$ac_c_werror_flag"
8839                          || test ! -s conftest.err'
8840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841   (eval $ac_try) 2>&5
8842   ac_status=$?
8843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844   (exit $ac_status); }; } &&
8845          { ac_try='test -s conftest$ac_exeext'
8846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847   (eval $ac_try) 2>&5
8848   ac_status=$?
8849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850   (exit $ac_status); }; }; then
8851   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8852   shlibpath_overrides_runpath=yes
8853 fi
8854
8855 else
8856   echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8858
8859 fi
8860 rm -f conftest.err conftest.$ac_objext \
8861       conftest$ac_exeext conftest.$ac_ext
8862   LDFLAGS=$save_LDFLAGS
8863   libdir=$save_libdir
8864
8865   # This implies no fast_install, which is unacceptable.
8866   # Some rework will be needed to allow for fast_install
8867   # before this can be enabled.
8868   hardcode_into_libs=yes
8869
8870   # Append ld.so.conf contents to the search path
8871   if test -f /etc/ld.so.conf; then
8872     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' ' '`
8873     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8874   fi
8875
8876   # We used to test for /lib/ld.so.1 and disable shared libraries on
8877   # powerpc, because MkLinux only supported shared libraries with the
8878   # GNU dynamic linker.  Since this was broken with cross compilers,
8879   # most powerpc-linux boxes support dynamic linking these days and
8880   # people can always --disable-shared, the test was removed, and we
8881   # assume the GNU/Linux dynamic linker is in use.
8882   dynamic_linker='GNU/Linux ld.so'
8883   ;;
8884
8885 netbsd*)
8886   version_type=sunos
8887   need_lib_prefix=no
8888   need_version=no
8889   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8890     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8891     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8892     dynamic_linker='NetBSD (a.out) ld.so'
8893   else
8894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8895     soname_spec='${libname}${release}${shared_ext}$major'
8896     dynamic_linker='NetBSD ld.elf_so'
8897   fi
8898   shlibpath_var=LD_LIBRARY_PATH
8899   shlibpath_overrides_runpath=yes
8900   hardcode_into_libs=yes
8901   ;;
8902
8903 newsos6)
8904   version_type=linux
8905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8906   shlibpath_var=LD_LIBRARY_PATH
8907   shlibpath_overrides_runpath=yes
8908   ;;
8909
8910 *nto* | *qnx*)
8911   version_type=qnx
8912   need_lib_prefix=no
8913   need_version=no
8914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8915   soname_spec='${libname}${release}${shared_ext}$major'
8916   shlibpath_var=LD_LIBRARY_PATH
8917   shlibpath_overrides_runpath=no
8918   hardcode_into_libs=yes
8919   dynamic_linker='ldqnx.so'
8920   ;;
8921
8922 openbsd*)
8923   version_type=sunos
8924   sys_lib_dlsearch_path_spec="/usr/lib"
8925   need_lib_prefix=no
8926   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8927   case $host_os in
8928     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
8929     *)                          need_version=no  ;;
8930   esac
8931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8932   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8933   shlibpath_var=LD_LIBRARY_PATH
8934   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8935     case $host_os in
8936       openbsd2.[89] | openbsd2.[89].*)
8937         shlibpath_overrides_runpath=no
8938         ;;
8939       *)
8940         shlibpath_overrides_runpath=yes
8941         ;;
8942       esac
8943   else
8944     shlibpath_overrides_runpath=yes
8945   fi
8946   ;;
8947
8948 os2*)
8949   libname_spec='$name'
8950   shrext_cmds=".dll"
8951   need_lib_prefix=no
8952   library_names_spec='$libname${shared_ext} $libname.a'
8953   dynamic_linker='OS/2 ld.exe'
8954   shlibpath_var=LIBPATH
8955   ;;
8956
8957 osf3* | osf4* | osf5*)
8958   version_type=osf
8959   need_lib_prefix=no
8960   need_version=no
8961   soname_spec='${libname}${release}${shared_ext}$major'
8962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8963   shlibpath_var=LD_LIBRARY_PATH
8964   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8965   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8966   ;;
8967
8968 rdos*)
8969   dynamic_linker=no
8970   ;;
8971
8972 solaris*)
8973   version_type=linux
8974   need_lib_prefix=no
8975   need_version=no
8976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8977   soname_spec='${libname}${release}${shared_ext}$major'
8978   shlibpath_var=LD_LIBRARY_PATH
8979   shlibpath_overrides_runpath=yes
8980   hardcode_into_libs=yes
8981   # ldd complains unless libraries are executable
8982   postinstall_cmds='chmod +x $lib'
8983   ;;
8984
8985 sunos4*)
8986   version_type=sunos
8987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8988   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8989   shlibpath_var=LD_LIBRARY_PATH
8990   shlibpath_overrides_runpath=yes
8991   if test "$with_gnu_ld" = yes; then
8992     need_lib_prefix=no
8993   fi
8994   need_version=yes
8995   ;;
8996
8997 sysv4 | sysv4.3*)
8998   version_type=linux
8999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9000   soname_spec='${libname}${release}${shared_ext}$major'
9001   shlibpath_var=LD_LIBRARY_PATH
9002   case $host_vendor in
9003     sni)
9004       shlibpath_overrides_runpath=no
9005       need_lib_prefix=no
9006       runpath_var=LD_RUN_PATH
9007       ;;
9008     siemens)
9009       need_lib_prefix=no
9010       ;;
9011     motorola)
9012       need_lib_prefix=no
9013       need_version=no
9014       shlibpath_overrides_runpath=no
9015       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9016       ;;
9017   esac
9018   ;;
9019
9020 sysv4*MP*)
9021   if test -d /usr/nec ;then
9022     version_type=linux
9023     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9024     soname_spec='$libname${shared_ext}.$major'
9025     shlibpath_var=LD_LIBRARY_PATH
9026   fi
9027   ;;
9028
9029 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9030   version_type=freebsd-elf
9031   need_lib_prefix=no
9032   need_version=no
9033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9034   soname_spec='${libname}${release}${shared_ext}$major'
9035   shlibpath_var=LD_LIBRARY_PATH
9036   shlibpath_overrides_runpath=yes
9037   hardcode_into_libs=yes
9038   if test "$with_gnu_ld" = yes; then
9039     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9040   else
9041     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9042     case $host_os in
9043       sco3.2v5*)
9044         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9045         ;;
9046     esac
9047   fi
9048   sys_lib_dlsearch_path_spec='/usr/lib'
9049   ;;
9050
9051 tpf*)
9052   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9053   version_type=linux
9054   need_lib_prefix=no
9055   need_version=no
9056   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9057   shlibpath_var=LD_LIBRARY_PATH
9058   shlibpath_overrides_runpath=no
9059   hardcode_into_libs=yes
9060   ;;
9061
9062 uts4*)
9063   version_type=linux
9064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9065   soname_spec='${libname}${release}${shared_ext}$major'
9066   shlibpath_var=LD_LIBRARY_PATH
9067   ;;
9068
9069 *)
9070   dynamic_linker=no
9071   ;;
9072 esac
9073 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9074 echo "${ECHO_T}$dynamic_linker" >&6
9075 test "$dynamic_linker" = no && can_build_shared=no
9076
9077 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9078 if test "$GCC" = yes; then
9079   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9080 fi
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
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9170 hardcode_action=
9171 if test -n "$hardcode_libdir_flag_spec" ||
9172    test -n "$runpath_var" ||
9173    test "X$hardcode_automatic" = "Xyes" ; then
9174
9175   # We can hardcode non-existent directories.
9176   if test "$hardcode_direct" != no &&
9177      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9178      # have to relink, otherwise we might link with an installed library
9179      # when we should be linking with a yet-to-be-installed one
9180      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9181      test "$hardcode_minus_L" != no; then
9182     # Linking always hardcodes the temporary library directory.
9183     hardcode_action=relink
9184   else
9185     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9186     hardcode_action=immediate
9187   fi
9188 else
9189   # We cannot hardcode anything, or else we can only hardcode existing
9190   # directories.
9191   hardcode_action=unsupported
9192 fi
9193 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9194 echo "${ECHO_T}$hardcode_action" >&6
9195
9196 if test "$hardcode_action" = relink ||
9197    test "$inherit_rpath" = yes; then
9198   # Fast installation is not supported
9199   enable_fast_install=no
9200 elif test "$shlibpath_overrides_runpath" = yes ||
9201      test "$enable_shared" = no; then
9202   # Fast installation is not necessary
9203   enable_fast_install=needless
9204 fi
9205
9206
9207
9208
9209
9210
9211   if test "x$enable_dlopen" != xyes; then
9212   enable_dlopen=unknown
9213   enable_dlopen_self=unknown
9214   enable_dlopen_self_static=unknown
9215 else
9216   lt_cv_dlopen=no
9217   lt_cv_dlopen_libs=
9218
9219   case $host_os in
9220   beos*)
9221     lt_cv_dlopen="load_add_on"
9222     lt_cv_dlopen_libs=
9223     lt_cv_dlopen_self=yes
9224     ;;
9225
9226   mingw* | pw32*)
9227     lt_cv_dlopen="LoadLibrary"
9228     lt_cv_dlopen_libs=
9229     ;;
9230
9231   cygwin*)
9232     lt_cv_dlopen="dlopen"
9233     lt_cv_dlopen_libs=
9234     ;;
9235
9236   darwin*)
9237   # if libdl is installed we need to link against it
9238     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9239 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9241   echo $ECHO_N "(cached) $ECHO_C" >&6
9242 else
9243   ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-ldl  $LIBS"
9245 if test x$gcc_no_link = xyes; then
9246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9248    { (exit 1); exit 1; }; }
9249 fi
9250 cat >conftest.$ac_ext <<_ACEOF
9251 /* confdefs.h.  */
9252 _ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h.  */
9256
9257 /* Override any gcc2 internal prototype to avoid an error.  */
9258 #ifdef __cplusplus
9259 extern "C"
9260 #endif
9261 /* We use char because int might match the return type of a gcc2
9262    builtin and then its argument prototype would still apply.  */
9263 char dlopen ();
9264 int
9265 main ()
9266 {
9267 dlopen ();
9268   ;
9269   return 0;
9270 }
9271 _ACEOF
9272 rm -f conftest.$ac_objext conftest$ac_exeext
9273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9274   (eval $ac_link) 2>conftest.er1
9275   ac_status=$?
9276   grep -v '^ *+' conftest.er1 >conftest.err
9277   rm -f conftest.er1
9278   cat conftest.err >&5
9279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280   (exit $ac_status); } &&
9281          { ac_try='test -z "$ac_c_werror_flag"
9282                          || test ! -s conftest.err'
9283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284   (eval $ac_try) 2>&5
9285   ac_status=$?
9286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287   (exit $ac_status); }; } &&
9288          { ac_try='test -s conftest$ac_exeext'
9289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290   (eval $ac_try) 2>&5
9291   ac_status=$?
9292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293   (exit $ac_status); }; }; then
9294   ac_cv_lib_dl_dlopen=yes
9295 else
9296   echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.$ac_ext >&5
9298
9299 ac_cv_lib_dl_dlopen=no
9300 fi
9301 rm -f conftest.err conftest.$ac_objext \
9302       conftest$ac_exeext conftest.$ac_ext
9303 LIBS=$ac_check_lib_save_LIBS
9304 fi
9305 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9306 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9307 if test $ac_cv_lib_dl_dlopen = yes; then
9308   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9309 else
9310
9311     lt_cv_dlopen="dyld"
9312     lt_cv_dlopen_libs=
9313     lt_cv_dlopen_self=yes
9314
9315 fi
9316
9317     ;;
9318
9319   *)
9320     echo "$as_me:$LINENO: checking for shl_load" >&5
9321 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9322 if test "${ac_cv_func_shl_load+set}" = set; then
9323   echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325   if test x$gcc_no_link = xyes; then
9326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9328    { (exit 1); exit 1; }; }
9329 fi
9330 cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h.  */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h.  */
9336 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9338 #define shl_load innocuous_shl_load
9339
9340 /* System header to define __stub macros and hopefully few prototypes,
9341     which can conflict with char shl_load (); below.
9342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9343     <limits.h> exists even on freestanding compilers.  */
9344
9345 #ifdef __STDC__
9346 # include <limits.h>
9347 #else
9348 # include <assert.h>
9349 #endif
9350
9351 #undef shl_load
9352
9353 /* Override any gcc2 internal prototype to avoid an error.  */
9354 #ifdef __cplusplus
9355 extern "C"
9356 {
9357 #endif
9358 /* We use char because int might match the return type of a gcc2
9359    builtin and then its argument prototype would still apply.  */
9360 char shl_load ();
9361 /* The GNU C library defines this for functions which it implements
9362     to always fail with ENOSYS.  Some functions are actually named
9363     something starting with __ and the normal name is an alias.  */
9364 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9365 choke me
9366 #else
9367 char (*f) () = shl_load;
9368 #endif
9369 #ifdef __cplusplus
9370 }
9371 #endif
9372
9373 int
9374 main ()
9375 {
9376 return f != shl_load;
9377   ;
9378   return 0;
9379 }
9380 _ACEOF
9381 rm -f conftest.$ac_objext conftest$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383   (eval $ac_link) 2>conftest.er1
9384   ac_status=$?
9385   grep -v '^ *+' conftest.er1 >conftest.err
9386   rm -f conftest.er1
9387   cat conftest.err >&5
9388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389   (exit $ac_status); } &&
9390          { ac_try='test -z "$ac_c_werror_flag"
9391                          || test ! -s conftest.err'
9392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393   (eval $ac_try) 2>&5
9394   ac_status=$?
9395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396   (exit $ac_status); }; } &&
9397          { ac_try='test -s conftest$ac_exeext'
9398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399   (eval $ac_try) 2>&5
9400   ac_status=$?
9401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402   (exit $ac_status); }; }; then
9403   ac_cv_func_shl_load=yes
9404 else
9405   echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5
9407
9408 ac_cv_func_shl_load=no
9409 fi
9410 rm -f conftest.err conftest.$ac_objext \
9411       conftest$ac_exeext conftest.$ac_ext
9412 fi
9413 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9415 if test $ac_cv_func_shl_load = yes; then
9416   lt_cv_dlopen="shl_load"
9417 else
9418   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9421   echo $ECHO_N "(cached) $ECHO_C" >&6
9422 else
9423   ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-ldld  $LIBS"
9425 if test x$gcc_no_link = xyes; then
9426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9428    { (exit 1); exit 1; }; }
9429 fi
9430 cat >conftest.$ac_ext <<_ACEOF
9431 /* confdefs.h.  */
9432 _ACEOF
9433 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h.  */
9436
9437 /* Override any gcc2 internal prototype to avoid an error.  */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 /* We use char because int might match the return type of a gcc2
9442    builtin and then its argument prototype would still apply.  */
9443 char shl_load ();
9444 int
9445 main ()
9446 {
9447 shl_load ();
9448   ;
9449   return 0;
9450 }
9451 _ACEOF
9452 rm -f conftest.$ac_objext conftest$ac_exeext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9454   (eval $ac_link) 2>conftest.er1
9455   ac_status=$?
9456   grep -v '^ *+' conftest.er1 >conftest.err
9457   rm -f conftest.er1
9458   cat conftest.err >&5
9459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460   (exit $ac_status); } &&
9461          { ac_try='test -z "$ac_c_werror_flag"
9462                          || test ! -s conftest.err'
9463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464   (eval $ac_try) 2>&5
9465   ac_status=$?
9466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467   (exit $ac_status); }; } &&
9468          { ac_try='test -s conftest$ac_exeext'
9469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470   (eval $ac_try) 2>&5
9471   ac_status=$?
9472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473   (exit $ac_status); }; }; then
9474   ac_cv_lib_dld_shl_load=yes
9475 else
9476   echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9478
9479 ac_cv_lib_dld_shl_load=no
9480 fi
9481 rm -f conftest.err conftest.$ac_objext \
9482       conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_lib_save_LIBS
9484 fi
9485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9486 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9487 if test $ac_cv_lib_dld_shl_load = yes; then
9488   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9489 else
9490   echo "$as_me:$LINENO: checking for dlopen" >&5
9491 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9492 if test "${ac_cv_func_dlopen+set}" = set; then
9493   echo $ECHO_N "(cached) $ECHO_C" >&6
9494 else
9495   if test x$gcc_no_link = xyes; then
9496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498    { (exit 1); exit 1; }; }
9499 fi
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h.  */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h.  */
9506 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9508 #define dlopen innocuous_dlopen
9509
9510 /* System header to define __stub macros and hopefully few prototypes,
9511     which can conflict with char dlopen (); below.
9512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9513     <limits.h> exists even on freestanding compilers.  */
9514
9515 #ifdef __STDC__
9516 # include <limits.h>
9517 #else
9518 # include <assert.h>
9519 #endif
9520
9521 #undef dlopen
9522
9523 /* Override any gcc2 internal prototype to avoid an error.  */
9524 #ifdef __cplusplus
9525 extern "C"
9526 {
9527 #endif
9528 /* We use char because int might match the return type of a gcc2
9529    builtin and then its argument prototype would still apply.  */
9530 char dlopen ();
9531 /* The GNU C library defines this for functions which it implements
9532     to always fail with ENOSYS.  Some functions are actually named
9533     something starting with __ and the normal name is an alias.  */
9534 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9535 choke me
9536 #else
9537 char (*f) () = dlopen;
9538 #endif
9539 #ifdef __cplusplus
9540 }
9541 #endif
9542
9543 int
9544 main ()
9545 {
9546 return f != dlopen;
9547   ;
9548   return 0;
9549 }
9550 _ACEOF
9551 rm -f conftest.$ac_objext conftest$ac_exeext
9552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9553   (eval $ac_link) 2>conftest.er1
9554   ac_status=$?
9555   grep -v '^ *+' conftest.er1 >conftest.err
9556   rm -f conftest.er1
9557   cat conftest.err >&5
9558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559   (exit $ac_status); } &&
9560          { ac_try='test -z "$ac_c_werror_flag"
9561                          || test ! -s conftest.err'
9562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563   (eval $ac_try) 2>&5
9564   ac_status=$?
9565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566   (exit $ac_status); }; } &&
9567          { ac_try='test -s conftest$ac_exeext'
9568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569   (eval $ac_try) 2>&5
9570   ac_status=$?
9571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572   (exit $ac_status); }; }; then
9573   ac_cv_func_dlopen=yes
9574 else
9575   echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9577
9578 ac_cv_func_dlopen=no
9579 fi
9580 rm -f conftest.err conftest.$ac_objext \
9581       conftest$ac_exeext conftest.$ac_ext
9582 fi
9583 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9584 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9585 if test $ac_cv_func_dlopen = yes; then
9586   lt_cv_dlopen="dlopen"
9587 else
9588   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9591   echo $ECHO_N "(cached) $ECHO_C" >&6
9592 else
9593   ac_check_lib_save_LIBS=$LIBS
9594 LIBS="-ldl  $LIBS"
9595 if test x$gcc_no_link = xyes; then
9596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9598    { (exit 1); exit 1; }; }
9599 fi
9600 cat >conftest.$ac_ext <<_ACEOF
9601 /* confdefs.h.  */
9602 _ACEOF
9603 cat confdefs.h >>conftest.$ac_ext
9604 cat >>conftest.$ac_ext <<_ACEOF
9605 /* end confdefs.h.  */
9606
9607 /* Override any gcc2 internal prototype to avoid an error.  */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 /* We use char because int might match the return type of a gcc2
9612    builtin and then its argument prototype would still apply.  */
9613 char dlopen ();
9614 int
9615 main ()
9616 {
9617 dlopen ();
9618   ;
9619   return 0;
9620 }
9621 _ACEOF
9622 rm -f conftest.$ac_objext conftest$ac_exeext
9623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9624   (eval $ac_link) 2>conftest.er1
9625   ac_status=$?
9626   grep -v '^ *+' conftest.er1 >conftest.err
9627   rm -f conftest.er1
9628   cat conftest.err >&5
9629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630   (exit $ac_status); } &&
9631          { ac_try='test -z "$ac_c_werror_flag"
9632                          || test ! -s conftest.err'
9633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634   (eval $ac_try) 2>&5
9635   ac_status=$?
9636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637   (exit $ac_status); }; } &&
9638          { ac_try='test -s conftest$ac_exeext'
9639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640   (eval $ac_try) 2>&5
9641   ac_status=$?
9642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643   (exit $ac_status); }; }; then
9644   ac_cv_lib_dl_dlopen=yes
9645 else
9646   echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.$ac_ext >&5
9648
9649 ac_cv_lib_dl_dlopen=no
9650 fi
9651 rm -f conftest.err conftest.$ac_objext \
9652       conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9654 fi
9655 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9656 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9657 if test $ac_cv_lib_dl_dlopen = yes; then
9658   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9659 else
9660   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9661 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9662 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9663   echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else
9665   ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lsvld  $LIBS"
9667 if test x$gcc_no_link = xyes; then
9668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9670    { (exit 1); exit 1; }; }
9671 fi
9672 cat >conftest.$ac_ext <<_ACEOF
9673 /* confdefs.h.  */
9674 _ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h.  */
9678
9679 /* Override any gcc2 internal prototype to avoid an error.  */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 /* We use char because int might match the return type of a gcc2
9684    builtin and then its argument prototype would still apply.  */
9685 char dlopen ();
9686 int
9687 main ()
9688 {
9689 dlopen ();
9690   ;
9691   return 0;
9692 }
9693 _ACEOF
9694 rm -f conftest.$ac_objext conftest$ac_exeext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696   (eval $ac_link) 2>conftest.er1
9697   ac_status=$?
9698   grep -v '^ *+' conftest.er1 >conftest.err
9699   rm -f conftest.er1
9700   cat conftest.err >&5
9701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702   (exit $ac_status); } &&
9703          { ac_try='test -z "$ac_c_werror_flag"
9704                          || test ! -s conftest.err'
9705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706   (eval $ac_try) 2>&5
9707   ac_status=$?
9708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709   (exit $ac_status); }; } &&
9710          { ac_try='test -s conftest$ac_exeext'
9711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712   (eval $ac_try) 2>&5
9713   ac_status=$?
9714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715   (exit $ac_status); }; }; then
9716   ac_cv_lib_svld_dlopen=yes
9717 else
9718   echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.$ac_ext >&5
9720
9721 ac_cv_lib_svld_dlopen=no
9722 fi
9723 rm -f conftest.err conftest.$ac_objext \
9724       conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_lib_save_LIBS
9726 fi
9727 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9728 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9729 if test $ac_cv_lib_svld_dlopen = yes; then
9730   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9731 else
9732   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9733 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9734 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9735   echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737   ac_check_lib_save_LIBS=$LIBS
9738 LIBS="-ldld  $LIBS"
9739 if test x$gcc_no_link = xyes; then
9740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9742    { (exit 1); exit 1; }; }
9743 fi
9744 cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h.  */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h.  */
9750
9751 /* Override any gcc2 internal prototype to avoid an error.  */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 /* We use char because int might match the return type of a gcc2
9756    builtin and then its argument prototype would still apply.  */
9757 char dld_link ();
9758 int
9759 main ()
9760 {
9761 dld_link ();
9762   ;
9763   return 0;
9764 }
9765 _ACEOF
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768   (eval $ac_link) 2>conftest.er1
9769   ac_status=$?
9770   grep -v '^ *+' conftest.er1 >conftest.err
9771   rm -f conftest.er1
9772   cat conftest.err >&5
9773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774   (exit $ac_status); } &&
9775          { ac_try='test -z "$ac_c_werror_flag"
9776                          || test ! -s conftest.err'
9777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778   (eval $ac_try) 2>&5
9779   ac_status=$?
9780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781   (exit $ac_status); }; } &&
9782          { ac_try='test -s conftest$ac_exeext'
9783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784   (eval $ac_try) 2>&5
9785   ac_status=$?
9786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787   (exit $ac_status); }; }; then
9788   ac_cv_lib_dld_dld_link=yes
9789 else
9790   echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9792
9793 ac_cv_lib_dld_dld_link=no
9794 fi
9795 rm -f conftest.err conftest.$ac_objext \
9796       conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_lib_save_LIBS
9798 fi
9799 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9800 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9801 if test $ac_cv_lib_dld_dld_link = yes; then
9802   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9803 fi
9804
9805
9806 fi
9807
9808
9809 fi
9810
9811
9812 fi
9813
9814
9815 fi
9816
9817
9818 fi
9819
9820     ;;
9821   esac
9822
9823   if test "x$lt_cv_dlopen" != xno; then
9824     enable_dlopen=yes
9825   else
9826     enable_dlopen=no
9827   fi
9828
9829   case $lt_cv_dlopen in
9830   dlopen)
9831     save_CPPFLAGS="$CPPFLAGS"
9832     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9833
9834     save_LDFLAGS="$LDFLAGS"
9835     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9836
9837     save_LIBS="$LIBS"
9838     LIBS="$lt_cv_dlopen_libs $LIBS"
9839
9840     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9841 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9842 if test "${lt_cv_dlopen_self+set}" = set; then
9843   echo $ECHO_N "(cached) $ECHO_C" >&6
9844 else
9845           if test "$cross_compiling" = yes; then :
9846   lt_cv_dlopen_self=cross
9847 else
9848   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9849   lt_status=$lt_dlunknown
9850   cat > conftest.$ac_ext <<_LT_EOF
9851 #line 9851 "configure"
9852 #include "confdefs.h"
9853
9854 #if HAVE_DLFCN_H
9855 #include <dlfcn.h>
9856 #endif
9857
9858 #include <stdio.h>
9859
9860 #ifdef RTLD_GLOBAL
9861 #  define LT_DLGLOBAL           RTLD_GLOBAL
9862 #else
9863 #  ifdef DL_GLOBAL
9864 #    define LT_DLGLOBAL         DL_GLOBAL
9865 #  else
9866 #    define LT_DLGLOBAL         0
9867 #  endif
9868 #endif
9869
9870 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9871    find out it does not work in some platform. */
9872 #ifndef LT_DLLAZY_OR_NOW
9873 #  ifdef RTLD_LAZY
9874 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9875 #  else
9876 #    ifdef DL_LAZY
9877 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9878 #    else
9879 #      ifdef RTLD_NOW
9880 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9881 #      else
9882 #        ifdef DL_NOW
9883 #          define LT_DLLAZY_OR_NOW      DL_NOW
9884 #        else
9885 #          define LT_DLLAZY_OR_NOW      0
9886 #        endif
9887 #      endif
9888 #    endif
9889 #  endif
9890 #endif
9891
9892 #ifdef __cplusplus
9893 extern "C" void exit (int);
9894 #endif
9895
9896 void fnord() { int i=42;}
9897 int main ()
9898 {
9899   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9900   int status = $lt_dlunknown;
9901
9902   if (self)
9903     {
9904       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9905       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9906       /* dlclose (self); */
9907     }
9908   else
9909     puts (dlerror ());
9910
9911     exit (status);
9912 }
9913 _LT_EOF
9914   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915   (eval $ac_link) 2>&5
9916   ac_status=$?
9917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9919     (./conftest; exit; ) >&5 2>/dev/null
9920     lt_status=$?
9921     case x$lt_status in
9922       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9923       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9924       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9925     esac
9926   else :
9927     # compilation failed
9928     lt_cv_dlopen_self=no
9929   fi
9930 fi
9931 rm -fr conftest*
9932
9933
9934 fi
9935 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9936 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9937
9938     if test "x$lt_cv_dlopen_self" = xyes; then
9939       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9940       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9941 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9942 if test "${lt_cv_dlopen_self_static+set}" = set; then
9943   echo $ECHO_N "(cached) $ECHO_C" >&6
9944 else
9945           if test "$cross_compiling" = yes; then :
9946   lt_cv_dlopen_self_static=cross
9947 else
9948   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9949   lt_status=$lt_dlunknown
9950   cat > conftest.$ac_ext <<_LT_EOF
9951 #line 9951 "configure"
9952 #include "confdefs.h"
9953
9954 #if HAVE_DLFCN_H
9955 #include <dlfcn.h>
9956 #endif
9957
9958 #include <stdio.h>
9959
9960 #ifdef RTLD_GLOBAL
9961 #  define LT_DLGLOBAL           RTLD_GLOBAL
9962 #else
9963 #  ifdef DL_GLOBAL
9964 #    define LT_DLGLOBAL         DL_GLOBAL
9965 #  else
9966 #    define LT_DLGLOBAL         0
9967 #  endif
9968 #endif
9969
9970 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9971    find out it does not work in some platform. */
9972 #ifndef LT_DLLAZY_OR_NOW
9973 #  ifdef RTLD_LAZY
9974 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
9975 #  else
9976 #    ifdef DL_LAZY
9977 #      define LT_DLLAZY_OR_NOW          DL_LAZY
9978 #    else
9979 #      ifdef RTLD_NOW
9980 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
9981 #      else
9982 #        ifdef DL_NOW
9983 #          define LT_DLLAZY_OR_NOW      DL_NOW
9984 #        else
9985 #          define LT_DLLAZY_OR_NOW      0
9986 #        endif
9987 #      endif
9988 #    endif
9989 #  endif
9990 #endif
9991
9992 #ifdef __cplusplus
9993 extern "C" void exit (int);
9994 #endif
9995
9996 void fnord() { int i=42;}
9997 int main ()
9998 {
9999   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10000   int status = $lt_dlunknown;
10001
10002   if (self)
10003     {
10004       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10005       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10006       /* dlclose (self); */
10007     }
10008   else
10009     puts (dlerror ());
10010
10011     exit (status);
10012 }
10013 _LT_EOF
10014   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015   (eval $ac_link) 2>&5
10016   ac_status=$?
10017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10019     (./conftest; exit; ) >&5 2>/dev/null
10020     lt_status=$?
10021     case x$lt_status in
10022       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10023       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10024       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10025     esac
10026   else :
10027     # compilation failed
10028     lt_cv_dlopen_self_static=no
10029   fi
10030 fi
10031 rm -fr conftest*
10032
10033
10034 fi
10035 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10036 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10037     fi
10038
10039     CPPFLAGS="$save_CPPFLAGS"
10040     LDFLAGS="$save_LDFLAGS"
10041     LIBS="$save_LIBS"
10042     ;;
10043   esac
10044
10045   case $lt_cv_dlopen_self in
10046   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10047   *) enable_dlopen_self=unknown ;;
10048   esac
10049
10050   case $lt_cv_dlopen_self_static in
10051   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10052   *) enable_dlopen_self_static=unknown ;;
10053   esac
10054 fi
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072 striplib=
10073 old_striplib=
10074 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10075 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10076 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10077   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10078   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10079   echo "$as_me:$LINENO: result: yes" >&5
10080 echo "${ECHO_T}yes" >&6
10081 else
10082 # FIXME - insert some real tests, host_os isn't really good enough
10083   case $host_os in
10084   darwin*)
10085     if test -n "$STRIP" ; then
10086       striplib="$STRIP -x"
10087       old_striplib="$STRIP -S"
10088       echo "$as_me:$LINENO: result: yes" >&5
10089 echo "${ECHO_T}yes" >&6
10090     else
10091       echo "$as_me:$LINENO: result: no" >&5
10092 echo "${ECHO_T}no" >&6
10093     fi
10094     ;;
10095   *)
10096     echo "$as_me:$LINENO: result: no" >&5
10097 echo "${ECHO_T}no" >&6
10098     ;;
10099   esac
10100 fi
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113   # Report which library types will actually be built
10114   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10115 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10116   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10117 echo "${ECHO_T}$can_build_shared" >&6
10118
10119   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10120 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10121   test "$can_build_shared" = "no" && enable_shared=no
10122
10123   # On AIX, shared libraries and static libraries use the same namespace, and
10124   # are all built from PIC.
10125   case $host_os in
10126   aix3*)
10127     test "$enable_shared" = yes && enable_static=no
10128     if test -n "$RANLIB"; then
10129       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10130       postinstall_cmds='$RANLIB $lib'
10131     fi
10132     ;;
10133
10134   aix[4-9]*)
10135     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10136       test "$enable_shared" = yes && enable_static=no
10137     fi
10138     ;;
10139   esac
10140   echo "$as_me:$LINENO: result: $enable_shared" >&5
10141 echo "${ECHO_T}$enable_shared" >&6
10142
10143   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10144 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10145   # Make sure either enable_shared or enable_static is yes.
10146   test "$enable_shared" = yes || enable_static=yes
10147   echo "$as_me:$LINENO: result: $enable_static" >&5
10148 echo "${ECHO_T}$enable_static" >&6
10149
10150
10151
10152
10153 fi
10154 ac_ext=c
10155 ac_cpp='$CPP $CPPFLAGS'
10156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10159
10160 CC="$lt_save_CC"
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174                   ac_config_commands="$ac_config_commands libtool"
10175
10176
10177
10178
10179 # Only expand once:
10180
10181
10182
10183
10184 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10185
10186 # We need gfortran to compile parts of the library
10187 #AC_PROG_FC(gfortran)
10188 FC="$GFORTRAN"
10189 ac_ext=${FC_SRCEXT-f}
10190 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10191 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10193 if test -n "$ac_tool_prefix"; then
10194   for ac_prog in gfortran
10195   do
10196     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10198 echo "$as_me:$LINENO: checking for $ac_word" >&5
10199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10200 if test "${ac_cv_prog_FC+set}" = set; then
10201   echo $ECHO_N "(cached) $ECHO_C" >&6
10202 else
10203   if test -n "$FC"; then
10204   ac_cv_prog_FC="$FC" # Let the user override the test.
10205 else
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10208 do
10209   IFS=$as_save_IFS
10210   test -z "$as_dir" && as_dir=.
10211   for ac_exec_ext in '' $ac_executable_extensions; do
10212   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10213     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10214     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10215     break 2
10216   fi
10217 done
10218 done
10219
10220 fi
10221 fi
10222 FC=$ac_cv_prog_FC
10223 if test -n "$FC"; then
10224   echo "$as_me:$LINENO: result: $FC" >&5
10225 echo "${ECHO_T}$FC" >&6
10226 else
10227   echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6
10229 fi
10230
10231     test -n "$FC" && break
10232   done
10233 fi
10234 if test -z "$FC"; then
10235   ac_ct_FC=$FC
10236   for ac_prog in gfortran
10237 do
10238   # Extract the first word of "$ac_prog", so it can be a program name with args.
10239 set dummy $ac_prog; ac_word=$2
10240 echo "$as_me:$LINENO: checking for $ac_word" >&5
10241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10242 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10243   echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10245   if test -n "$ac_ct_FC"; then
10246   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10247 else
10248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10249 for as_dir in $PATH
10250 do
10251   IFS=$as_save_IFS
10252   test -z "$as_dir" && as_dir=.
10253   for ac_exec_ext in '' $ac_executable_extensions; do
10254   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10255     ac_cv_prog_ac_ct_FC="$ac_prog"
10256     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10257     break 2
10258   fi
10259 done
10260 done
10261
10262 fi
10263 fi
10264 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10265 if test -n "$ac_ct_FC"; then
10266   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10267 echo "${ECHO_T}$ac_ct_FC" >&6
10268 else
10269   echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10271 fi
10272
10273   test -n "$ac_ct_FC" && break
10274 done
10275
10276   FC=$ac_ct_FC
10277 fi
10278
10279
10280 # Provide some information about the compiler.
10281 echo "$as_me:10281:" \
10282      "checking for Fortran compiler version" >&5
10283 ac_compiler=`set X $ac_compile; echo $2`
10284 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10285   (eval $ac_compiler --version </dev/null >&5) 2>&5
10286   ac_status=$?
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   (exit $ac_status); }
10289 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10290   (eval $ac_compiler -v </dev/null >&5) 2>&5
10291   ac_status=$?
10292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293   (exit $ac_status); }
10294 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10295   (eval $ac_compiler -V </dev/null >&5) 2>&5
10296   ac_status=$?
10297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298   (exit $ac_status); }
10299 rm -f a.out
10300
10301 # If we don't use `.F' as extension, the preprocessor is not run on the
10302 # input file.  (Note that this only needs to work for GNU compilers.)
10303 ac_save_ext=$ac_ext
10304 ac_ext=F
10305 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10306 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10307 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10308   echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310   cat >conftest.$ac_ext <<_ACEOF
10311       program main
10312 #ifndef __GNUC__
10313        choke me
10314 #endif
10315
10316       end
10317 _ACEOF
10318 rm -f conftest.$ac_objext
10319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10320   (eval $ac_compile) 2>conftest.er1
10321   ac_status=$?
10322   grep -v '^ *+' conftest.er1 >conftest.err
10323   rm -f conftest.er1
10324   cat conftest.err >&5
10325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326   (exit $ac_status); } &&
10327          { ac_try='test -z "$ac_fc_werror_flag"
10328                          || test ! -s conftest.err'
10329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330   (eval $ac_try) 2>&5
10331   ac_status=$?
10332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333   (exit $ac_status); }; } &&
10334          { ac_try='test -s conftest.$ac_objext'
10335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336   (eval $ac_try) 2>&5
10337   ac_status=$?
10338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339   (exit $ac_status); }; }; then
10340   ac_compiler_gnu=yes
10341 else
10342   echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10344
10345 ac_compiler_gnu=no
10346 fi
10347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10348 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10349
10350 fi
10351 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10352 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10353 ac_ext=$ac_save_ext
10354 ac_test_FFLAGS=${FCFLAGS+set}
10355 ac_save_FFLAGS=$FCFLAGS
10356 FCFLAGS=
10357 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10358 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10359 if test "${ac_cv_prog_fc_g+set}" = set; then
10360   echo $ECHO_N "(cached) $ECHO_C" >&6
10361 else
10362   FCFLAGS=-g
10363 cat >conftest.$ac_ext <<_ACEOF
10364       program main
10365
10366       end
10367 _ACEOF
10368 rm -f conftest.$ac_objext
10369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10370   (eval $ac_compile) 2>conftest.er1
10371   ac_status=$?
10372   grep -v '^ *+' conftest.er1 >conftest.err
10373   rm -f conftest.er1
10374   cat conftest.err >&5
10375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376   (exit $ac_status); } &&
10377          { ac_try='test -z "$ac_fc_werror_flag"
10378                          || test ! -s conftest.err'
10379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380   (eval $ac_try) 2>&5
10381   ac_status=$?
10382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383   (exit $ac_status); }; } &&
10384          { ac_try='test -s conftest.$ac_objext'
10385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10386   (eval $ac_try) 2>&5
10387   ac_status=$?
10388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389   (exit $ac_status); }; }; then
10390   ac_cv_prog_fc_g=yes
10391 else
10392   echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.$ac_ext >&5
10394
10395 ac_cv_prog_fc_g=no
10396 fi
10397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10398
10399 fi
10400 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10401 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10402 if test "$ac_test_FFLAGS" = set; then
10403   FCFLAGS=$ac_save_FFLAGS
10404 elif test $ac_cv_prog_fc_g = yes; then
10405   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10406     FCFLAGS="-g -O2"
10407   else
10408     FCFLAGS="-g"
10409   fi
10410 else
10411   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10412     FCFLAGS="-O2"
10413   else
10414     FCFLAGS=
10415   fi
10416 fi
10417
10418 ac_ext=c
10419 ac_cpp='$CPP $CPPFLAGS'
10420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10423
10424
10425 ac_ext=${FC_SRCEXT-f}
10426 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10427 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10428 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10429 if test -n "$ac_tool_prefix"; then
10430   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10431   do
10432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10434 echo "$as_me:$LINENO: checking for $ac_word" >&5
10435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10436 if test "${ac_cv_prog_FC+set}" = set; then
10437   echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10439   if test -n "$FC"; then
10440   ac_cv_prog_FC="$FC" # Let the user override the test.
10441 else
10442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443 for as_dir in $PATH
10444 do
10445   IFS=$as_save_IFS
10446   test -z "$as_dir" && as_dir=.
10447   for ac_exec_ext in '' $ac_executable_extensions; do
10448   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10449     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10451     break 2
10452   fi
10453 done
10454 done
10455
10456 fi
10457 fi
10458 FC=$ac_cv_prog_FC
10459 if test -n "$FC"; then
10460   echo "$as_me:$LINENO: result: $FC" >&5
10461 echo "${ECHO_T}$FC" >&6
10462 else
10463   echo "$as_me:$LINENO: result: no" >&5
10464 echo "${ECHO_T}no" >&6
10465 fi
10466
10467     test -n "$FC" && break
10468   done
10469 fi
10470 if test -z "$FC"; then
10471   ac_ct_FC=$FC
10472   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10473 do
10474   # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 echo "$as_me:$LINENO: checking for $ac_word" >&5
10477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10478 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10479   echo $ECHO_N "(cached) $ECHO_C" >&6
10480 else
10481   if test -n "$ac_ct_FC"; then
10482   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10483 else
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10486 do
10487   IFS=$as_save_IFS
10488   test -z "$as_dir" && as_dir=.
10489   for ac_exec_ext in '' $ac_executable_extensions; do
10490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10491     ac_cv_prog_ac_ct_FC="$ac_prog"
10492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10493     break 2
10494   fi
10495 done
10496 done
10497
10498 fi
10499 fi
10500 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10501 if test -n "$ac_ct_FC"; then
10502   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10503 echo "${ECHO_T}$ac_ct_FC" >&6
10504 else
10505   echo "$as_me:$LINENO: result: no" >&5
10506 echo "${ECHO_T}no" >&6
10507 fi
10508
10509   test -n "$ac_ct_FC" && break
10510 done
10511
10512   FC=$ac_ct_FC
10513 fi
10514
10515
10516 # Provide some information about the compiler.
10517 echo "$as_me:10517:" \
10518      "checking for Fortran compiler version" >&5
10519 ac_compiler=`set X $ac_compile; echo $2`
10520 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10521   (eval $ac_compiler --version </dev/null >&5) 2>&5
10522   ac_status=$?
10523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524   (exit $ac_status); }
10525 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10526   (eval $ac_compiler -v </dev/null >&5) 2>&5
10527   ac_status=$?
10528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529   (exit $ac_status); }
10530 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10531   (eval $ac_compiler -V </dev/null >&5) 2>&5
10532   ac_status=$?
10533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534   (exit $ac_status); }
10535 rm -f a.out
10536
10537 # If we don't use `.F' as extension, the preprocessor is not run on the
10538 # input file.  (Note that this only needs to work for GNU compilers.)
10539 ac_save_ext=$ac_ext
10540 ac_ext=F
10541 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10542 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10543 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10544   echo $ECHO_N "(cached) $ECHO_C" >&6
10545 else
10546   cat >conftest.$ac_ext <<_ACEOF
10547       program main
10548 #ifndef __GNUC__
10549        choke me
10550 #endif
10551
10552       end
10553 _ACEOF
10554 rm -f conftest.$ac_objext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10556   (eval $ac_compile) 2>conftest.er1
10557   ac_status=$?
10558   grep -v '^ *+' conftest.er1 >conftest.err
10559   rm -f conftest.er1
10560   cat conftest.err >&5
10561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562   (exit $ac_status); } &&
10563          { ac_try='test -z "$ac_fc_werror_flag"
10564                          || test ! -s conftest.err'
10565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566   (eval $ac_try) 2>&5
10567   ac_status=$?
10568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569   (exit $ac_status); }; } &&
10570          { ac_try='test -s conftest.$ac_objext'
10571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572   (eval $ac_try) 2>&5
10573   ac_status=$?
10574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575   (exit $ac_status); }; }; then
10576   ac_compiler_gnu=yes
10577 else
10578   echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.$ac_ext >&5
10580
10581 ac_compiler_gnu=no
10582 fi
10583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10584 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10585
10586 fi
10587 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10588 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10589 ac_ext=$ac_save_ext
10590 ac_test_FFLAGS=${FCFLAGS+set}
10591 ac_save_FFLAGS=$FCFLAGS
10592 FCFLAGS=
10593 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10594 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10595 if test "${ac_cv_prog_fc_g+set}" = set; then
10596   echo $ECHO_N "(cached) $ECHO_C" >&6
10597 else
10598   FCFLAGS=-g
10599 cat >conftest.$ac_ext <<_ACEOF
10600       program main
10601
10602       end
10603 _ACEOF
10604 rm -f conftest.$ac_objext
10605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10606   (eval $ac_compile) 2>conftest.er1
10607   ac_status=$?
10608   grep -v '^ *+' conftest.er1 >conftest.err
10609   rm -f conftest.er1
10610   cat conftest.err >&5
10611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612   (exit $ac_status); } &&
10613          { ac_try='test -z "$ac_fc_werror_flag"
10614                          || test ! -s conftest.err'
10615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10616   (eval $ac_try) 2>&5
10617   ac_status=$?
10618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619   (exit $ac_status); }; } &&
10620          { ac_try='test -s conftest.$ac_objext'
10621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622   (eval $ac_try) 2>&5
10623   ac_status=$?
10624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625   (exit $ac_status); }; }; then
10626   ac_cv_prog_fc_g=yes
10627 else
10628   echo "$as_me: failed program was:" >&5
10629 sed 's/^/| /' conftest.$ac_ext >&5
10630
10631 ac_cv_prog_fc_g=no
10632 fi
10633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10634
10635 fi
10636 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10637 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10638 if test "$ac_test_FFLAGS" = set; then
10639   FCFLAGS=$ac_save_FFLAGS
10640 elif test $ac_cv_prog_fc_g = yes; then
10641   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10642     FCFLAGS="-g -O2"
10643   else
10644     FCFLAGS="-g"
10645   fi
10646 else
10647   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10648     FCFLAGS="-O2"
10649   else
10650     FCFLAGS=
10651   fi
10652 fi
10653
10654 ac_ext=c
10655 ac_cpp='$CPP $CPPFLAGS'
10656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10659
10660 if test -z "$FC" || test "X$FC" = "Xno"; then
10661   _lt_disable_FC=yes
10662 fi
10663
10664
10665
10666       ac_ext=${FC_SRCEXT-f}
10667 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10668 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10669 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10670
10671
10672 archive_cmds_need_lc_FC=no
10673 allow_undefined_flag_FC=
10674 always_export_symbols_FC=no
10675 archive_expsym_cmds_FC=
10676 export_dynamic_flag_spec_FC=
10677 hardcode_direct_FC=no
10678 hardcode_direct_absolute_FC=no
10679 hardcode_libdir_flag_spec_FC=
10680 hardcode_libdir_flag_spec_ld_FC=
10681 hardcode_libdir_separator_FC=
10682 hardcode_minus_L_FC=no
10683 hardcode_automatic_FC=no
10684 inherit_rpath_FC=no
10685 module_cmds_FC=
10686 module_expsym_cmds_FC=
10687 link_all_deplibs_FC=unknown
10688 old_archive_cmds_FC=$old_archive_cmds
10689 no_undefined_flag_FC=
10690 whole_archive_flag_spec_FC=
10691 enable_shared_with_static_runtimes_FC=no
10692
10693 # Source file extension for fc test sources.
10694 ac_ext=${ac_fc_srcext-f}
10695
10696 # Object file extension for compiled fc test sources.
10697 objext=o
10698 objext_FC=$objext
10699
10700 # No sense in running all these tests if we already determined that
10701 # the FC compiler isn't working.  Some variables (like enable_shared)
10702 # are currently assumed to apply to all compilers on this platform,
10703 # and will be corrupted by setting them based on a non-working compiler.
10704 if test "$_lt_disable_FC" != yes; then
10705   # Code to be used in simple compile tests
10706   lt_simple_compile_test_code="\
10707       subroutine t
10708       return
10709       end
10710 "
10711
10712   # Code to be used in simple link tests
10713   lt_simple_link_test_code="\
10714       program t
10715       end
10716 "
10717
10718   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10719
10720
10721
10722
10723
10724
10725 # If no C compiler was specified, use CC.
10726 LTCC=${LTCC-"$CC"}
10727
10728 # If no C compiler flags were specified, use CFLAGS.
10729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10730
10731 # Allow CC to be a program name with arguments.
10732 compiler=$CC
10733
10734
10735   # save warnings/boilerplate of simple test code
10736   ac_outfile=conftest.$ac_objext
10737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10739 _lt_compiler_boilerplate=`cat conftest.err`
10740 $RM conftest*
10741
10742   ac_outfile=conftest.$ac_objext
10743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10745 _lt_linker_boilerplate=`cat conftest.err`
10746 $RM conftest*
10747
10748
10749   # Allow CC to be a program name with arguments.
10750   lt_save_CC="$CC"
10751   CC=${FC-"f95"}
10752   compiler=$CC
10753   compiler_FC=$CC
10754   for cc_temp in $compiler""; do
10755   case $cc_temp in
10756     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10757     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10758     \-*) ;;
10759     *) break;;
10760   esac
10761 done
10762 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10763
10764
10765   if test -n "$compiler"; then
10766     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10767 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10768     echo "$as_me:$LINENO: result: $can_build_shared" >&5
10769 echo "${ECHO_T}$can_build_shared" >&6
10770
10771     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10772 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10773     test "$can_build_shared" = "no" && enable_shared=no
10774
10775     # On AIX, shared libraries and static libraries use the same namespace, and
10776     # are all built from PIC.
10777     case $host_os in
10778       aix3*)
10779         test "$enable_shared" = yes && enable_static=no
10780         if test -n "$RANLIB"; then
10781           archive_cmds="$archive_cmds~\$RANLIB \$lib"
10782           postinstall_cmds='$RANLIB $lib'
10783         fi
10784         ;;
10785       aix[4-9]*)
10786         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10787           test "$enable_shared" = yes && enable_static=no
10788         fi
10789         ;;
10790     esac
10791     echo "$as_me:$LINENO: result: $enable_shared" >&5
10792 echo "${ECHO_T}$enable_shared" >&6
10793
10794     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10795 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10796     # Make sure either enable_shared or enable_static is yes.
10797     test "$enable_shared" = yes || enable_static=yes
10798     echo "$as_me:$LINENO: result: $enable_static" >&5
10799 echo "${ECHO_T}$enable_static" >&6
10800
10801     GCC_FC="$ac_cv_fc_compiler_gnu"
10802     LD_FC="$LD"
10803
10804     ## CAVEAT EMPTOR:
10805     ## There is no encapsulation within the following macros, do not change
10806     ## the running order or otherwise move them around unless you know exactly
10807     ## what you are doing...
10808     # Dependencies to place before and after the object being linked:
10809 predep_objects_FC=
10810 postdep_objects_FC=
10811 predeps_FC=
10812 postdeps_FC=
10813 compiler_lib_search_path_FC=
10814
10815 cat > conftest.$ac_ext <<_LT_EOF
10816       subroutine foo
10817       implicit none
10818       integer a
10819       a=0
10820       return
10821       end
10822 _LT_EOF
10823
10824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825   (eval $ac_compile) 2>&5
10826   ac_status=$?
10827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828   (exit $ac_status); }; then
10829   # Parse the compiler output and extract the necessary
10830   # objects, libraries and library flags.
10831
10832   # Sentinel used to keep track of whether or not we are before
10833   # the conftest object file.
10834   pre_test_object_deps_done=no
10835
10836   # The `*' in the case matches for architectures that use `case' in
10837   # $output_verbose_cmd can trigger glob expansion during the loop
10838   # eval without this substitution.
10839   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10840
10841   for p in `eval $output_verbose_link_cmd`; do
10842     case $p in
10843
10844     -L* | -R* | -l*)
10845        # Some compilers place space between "-{L,R}" and the path.
10846        # Remove the space.
10847        if test $p = "-L" ||
10848           test $p = "-R"; then
10849          prev=$p
10850          continue
10851        else
10852          prev=
10853        fi
10854
10855        if test "$pre_test_object_deps_done" = no; then
10856          case $p in
10857          -L* | -R*)
10858            # Internal compiler library paths should come after those
10859            # provided the user.  The postdeps already come after the
10860            # user supplied libs so there is no need to process them.
10861            if test -z "$compiler_lib_search_path_FC"; then
10862              compiler_lib_search_path_FC="${prev}${p}"
10863            else
10864              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10865            fi
10866            ;;
10867          # The "-l" case would never come before the object being
10868          # linked, so don't bother handling this case.
10869          esac
10870        else
10871          if test -z "$postdeps_FC"; then
10872            postdeps_FC="${prev}${p}"
10873          else
10874            postdeps_FC="${postdeps_FC} ${prev}${p}"
10875          fi
10876        fi
10877        ;;
10878
10879     *.$objext)
10880        # This assumes that the test object file only shows up
10881        # once in the compiler output.
10882        if test "$p" = "conftest.$objext"; then
10883          pre_test_object_deps_done=yes
10884          continue
10885        fi
10886
10887        if test "$pre_test_object_deps_done" = no; then
10888          if test -z "$predep_objects_FC"; then
10889            predep_objects_FC="$p"
10890          else
10891            predep_objects_FC="$predep_objects_FC $p"
10892          fi
10893        else
10894          if test -z "$postdep_objects_FC"; then
10895            postdep_objects_FC="$p"
10896          else
10897            postdep_objects_FC="$postdep_objects_FC $p"
10898          fi
10899        fi
10900        ;;
10901
10902     *) ;; # Ignore the rest.
10903
10904     esac
10905   done
10906
10907   # Clean up.
10908   rm -f a.out a.exe
10909 else
10910   echo "libtool.m4: error: problem compiling FC test program"
10911 fi
10912
10913 $RM -f confest.$objext
10914
10915 # PORTME: override above test on systems where it is broken
10916
10917
10918 case " $postdeps_FC " in
10919 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10920 esac
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947     lt_prog_compiler_wl_FC=
10948 lt_prog_compiler_pic_FC=
10949 lt_prog_compiler_static_FC=
10950
10951 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10952 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10953
10954   if test "$GCC" = yes; then
10955     lt_prog_compiler_wl_FC='-Wl,'
10956     lt_prog_compiler_static_FC='-static'
10957
10958     case $host_os in
10959       aix*)
10960       # All AIX code is PIC.
10961       if test "$host_cpu" = ia64; then
10962         # AIX 5 now supports IA64 processor
10963         lt_prog_compiler_static_FC='-Bstatic'
10964       fi
10965       ;;
10966
10967     amigaos*)
10968       if test "$host_cpu" = m68k; then
10969         # FIXME: we need at least 68020 code to build shared libraries, but
10970         # adding the `-m68020' flag to GCC prevents building anything better,
10971         # like `-m68040'.
10972         lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10973       fi
10974       ;;
10975
10976     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10977       # PIC is the default for these OSes.
10978       ;;
10979
10980     mingw* | cygwin* | pw32* | os2*)
10981       # This hack is so that the source file can tell whether it is being
10982       # built for inclusion in a dll (and should export symbols for example).
10983       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10984       # (--disable-auto-import) libraries
10985       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
10986       ;;
10987
10988     darwin* | rhapsody*)
10989       # PIC is the default on this platform
10990       # Common symbols not allowed in MH_DYLIB files
10991       lt_prog_compiler_pic_FC='-fno-common'
10992       ;;
10993
10994     hpux*)
10995       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10996       # not for PA HP-UX.
10997       case $host_cpu in
10998       hppa*64*|ia64*)
10999         # +Z the default
11000         ;;
11001       *)
11002         lt_prog_compiler_pic_FC='-fPIC'
11003         ;;
11004       esac
11005       ;;
11006
11007     interix[3-9]*)
11008       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11009       # Instead, we relocate shared libraries at runtime.
11010       ;;
11011
11012     msdosdjgpp*)
11013       # Just because we use GCC doesn't mean we suddenly get shared libraries
11014       # on systems that don't support them.
11015       lt_prog_compiler_can_build_shared_FC=no
11016       enable_shared=no
11017       ;;
11018
11019     *nto* | *qnx*)
11020       # QNX uses GNU C++, but need to define -shared option too, otherwise
11021       # it will coredump.
11022       lt_prog_compiler_pic_FC='-fPIC -shared'
11023       ;;
11024
11025     sysv4*MP*)
11026       if test -d /usr/nec; then
11027         lt_prog_compiler_pic_FC=-Kconform_pic
11028       fi
11029       ;;
11030
11031     *)
11032       lt_prog_compiler_pic_FC='-fPIC'
11033       ;;
11034     esac
11035   else
11036     # PORTME Check for flag to pass linker flags through the system compiler.
11037     case $host_os in
11038     aix*)
11039       lt_prog_compiler_wl_FC='-Wl,'
11040       if test "$host_cpu" = ia64; then
11041         # AIX 5 now supports IA64 processor
11042         lt_prog_compiler_static_FC='-Bstatic'
11043       else
11044         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11045       fi
11046       ;;
11047     darwin*)
11048       # PIC is the default on this platform
11049       # Common symbols not allowed in MH_DYLIB files
11050       case $cc_basename in
11051       xlc*)
11052         lt_prog_compiler_pic_FC='-qnocommon'
11053         lt_prog_compiler_wl_FC='-Wl,'
11054         ;;
11055       esac
11056       ;;
11057
11058     mingw* | cygwin* | pw32* | os2*)
11059       # This hack is so that the source file can tell whether it is being
11060       # built for inclusion in a dll (and should export symbols for example).
11061       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11062       ;;
11063
11064     hpux9* | hpux10* | hpux11*)
11065       lt_prog_compiler_wl_FC='-Wl,'
11066       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11067       # not for PA HP-UX.
11068       case $host_cpu in
11069       hppa*64*|ia64*)
11070         # +Z the default
11071         ;;
11072       *)
11073         lt_prog_compiler_pic_FC='+Z'
11074         ;;
11075       esac
11076       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11077       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11078       ;;
11079
11080     irix5* | irix6* | nonstopux*)
11081       lt_prog_compiler_wl_FC='-Wl,'
11082       # PIC (with -KPIC) is the default.
11083       lt_prog_compiler_static_FC='-non_shared'
11084       ;;
11085
11086     linux* | k*bsd*-gnu)
11087       case $cc_basename in
11088       icc* | ecc*)
11089         lt_prog_compiler_wl_FC='-Wl,'
11090         lt_prog_compiler_pic_FC='-KPIC'
11091         lt_prog_compiler_static_FC='-static'
11092         ;;
11093       pgcc* | pgf77* | pgf90* | pgf95*)
11094         # Portland Group compilers (*not* the Pentium gcc compiler,
11095         # which looks to be a dead project)
11096         lt_prog_compiler_wl_FC='-Wl,'
11097         lt_prog_compiler_pic_FC='-fpic'
11098         lt_prog_compiler_static_FC='-Bstatic'
11099         ;;
11100       ccc*)
11101         lt_prog_compiler_wl_FC='-Wl,'
11102         # All Alpha code is PIC.
11103         lt_prog_compiler_static_FC='-non_shared'
11104         ;;
11105       *)
11106         case `$CC -V 2>&1 | sed 5q` in
11107         *Sun\ C*)
11108           # Sun C 5.9
11109           lt_prog_compiler_pic_FC='-KPIC'
11110           lt_prog_compiler_static_FC='-Bstatic'
11111           lt_prog_compiler_wl_FC='-Wl,'
11112           ;;
11113         *Sun\ F*)
11114           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11115           lt_prog_compiler_pic_FC='-KPIC'
11116           lt_prog_compiler_static_FC='-Bstatic'
11117           lt_prog_compiler_wl_FC=''
11118           ;;
11119         esac
11120         ;;
11121       esac
11122       ;;
11123
11124     newsos6)
11125       lt_prog_compiler_pic_FC='-KPIC'
11126       lt_prog_compiler_static_FC='-Bstatic'
11127       ;;
11128
11129     *nto* | *qnx*)
11130       # QNX uses GNU C++, but need to define -shared option too, otherwise
11131       # it will coredump.
11132       lt_prog_compiler_pic_FC='-fPIC -shared'
11133       ;;
11134
11135     osf3* | osf4* | osf5*)
11136       lt_prog_compiler_wl_FC='-Wl,'
11137       # All OSF/1 code is PIC.
11138       lt_prog_compiler_static_FC='-non_shared'
11139       ;;
11140
11141     rdos*)
11142       lt_prog_compiler_static_FC='-non_shared'
11143       ;;
11144
11145     solaris*)
11146       lt_prog_compiler_pic_FC='-KPIC'
11147       lt_prog_compiler_static_FC='-Bstatic'
11148       case $cc_basename in
11149       f77* | f90* | f95*)
11150         lt_prog_compiler_wl_FC='-Qoption ld ';;
11151       *)
11152         lt_prog_compiler_wl_FC='-Wl,';;
11153       esac
11154       ;;
11155
11156     sunos4*)
11157       lt_prog_compiler_wl_FC='-Qoption ld '
11158       lt_prog_compiler_pic_FC='-PIC'
11159       lt_prog_compiler_static_FC='-Bstatic'
11160       ;;
11161
11162     sysv4 | sysv4.2uw2* | sysv4.3*)
11163       lt_prog_compiler_wl_FC='-Wl,'
11164       lt_prog_compiler_pic_FC='-KPIC'
11165       lt_prog_compiler_static_FC='-Bstatic'
11166       ;;
11167
11168     sysv4*MP*)
11169       if test -d /usr/nec ;then
11170         lt_prog_compiler_pic_FC='-Kconform_pic'
11171         lt_prog_compiler_static_FC='-Bstatic'
11172       fi
11173       ;;
11174
11175     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11176       lt_prog_compiler_wl_FC='-Wl,'
11177       lt_prog_compiler_pic_FC='-KPIC'
11178       lt_prog_compiler_static_FC='-Bstatic'
11179       ;;
11180
11181     unicos*)
11182       lt_prog_compiler_wl_FC='-Wl,'
11183       lt_prog_compiler_can_build_shared_FC=no
11184       ;;
11185
11186     uts4*)
11187       lt_prog_compiler_pic_FC='-pic'
11188       lt_prog_compiler_static_FC='-Bstatic'
11189       ;;
11190
11191     *)
11192       lt_prog_compiler_can_build_shared_FC=no
11193       ;;
11194     esac
11195   fi
11196
11197 case $host_os in
11198   # For platforms which do not support PIC, -DPIC is meaningless:
11199   *djgpp*)
11200     lt_prog_compiler_pic_FC=
11201     ;;
11202   *)
11203     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11204     ;;
11205 esac
11206 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11207 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11208
11209
11210
11211 #
11212 # Check to make sure the PIC flag actually works.
11213 #
11214 if test -n "$lt_prog_compiler_pic_FC"; then
11215   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11216 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11217 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11218   echo $ECHO_N "(cached) $ECHO_C" >&6
11219 else
11220   lt_prog_compiler_pic_works_FC=no
11221    ac_outfile=conftest.$ac_objext
11222    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11223    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11224    # Insert the option either (1) after the last *FLAGS variable, or
11225    # (2) before a word containing "conftest.", or (3) at the end.
11226    # Note that $ac_compile itself does not contain backslashes and begins
11227    # with a dollar sign (not a hyphen), so the echo should work correctly.
11228    # The option is referenced via a variable to avoid confusing sed.
11229    lt_compile=`echo "$ac_compile" | $SED \
11230    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11231    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11232    -e 's:$: $lt_compiler_flag:'`
11233    (eval echo "\"\$as_me:11233: $lt_compile\"" >&5)
11234    (eval "$lt_compile" 2>conftest.err)
11235    ac_status=$?
11236    cat conftest.err >&5
11237    echo "$as_me:11237: \$? = $ac_status" >&5
11238    if (exit $ac_status) && test -s "$ac_outfile"; then
11239      # The compiler can only warn and ignore the option if not recognized
11240      # So say no if there are warnings other than the usual output.
11241      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11242      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11243      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11244        lt_prog_compiler_pic_works_FC=yes
11245      fi
11246    fi
11247    $RM conftest*
11248
11249 fi
11250 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11251 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11252
11253 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11254     case $lt_prog_compiler_pic_FC in
11255      "" | " "*) ;;
11256      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11257      esac
11258 else
11259     lt_prog_compiler_pic_FC=
11260      lt_prog_compiler_can_build_shared_FC=no
11261 fi
11262
11263 fi
11264
11265
11266
11267 #
11268 # Check to make sure the static flag actually works.
11269 #
11270 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11271 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11272 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11273 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11274   echo $ECHO_N "(cached) $ECHO_C" >&6
11275 else
11276   lt_prog_compiler_static_works_FC=no
11277    save_LDFLAGS="$LDFLAGS"
11278    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11279    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11280    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11281      # The linker can only warn and ignore the option if not recognized
11282      # So say no if there are warnings
11283      if test -s conftest.err; then
11284        # Append any errors to the config.log.
11285        cat conftest.err 1>&5
11286        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11287        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11288        if diff conftest.exp conftest.er2 >/dev/null; then
11289          lt_prog_compiler_static_works_FC=yes
11290        fi
11291      else
11292        lt_prog_compiler_static_works_FC=yes
11293      fi
11294    fi
11295    $RM conftest*
11296    LDFLAGS="$save_LDFLAGS"
11297
11298 fi
11299 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11300 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11301
11302 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11303     :
11304 else
11305     lt_prog_compiler_static_FC=
11306 fi
11307
11308
11309
11310
11311     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11312 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11313 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11314   echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316   lt_cv_prog_compiler_c_o_FC=no
11317    $RM -r conftest 2>/dev/null
11318    mkdir conftest
11319    cd conftest
11320    mkdir out
11321    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11322
11323    lt_compiler_flag="-o out/conftest2.$ac_objext"
11324    # Insert the option either (1) after the last *FLAGS variable, or
11325    # (2) before a word containing "conftest.", or (3) at the end.
11326    # Note that $ac_compile itself does not contain backslashes and begins
11327    # with a dollar sign (not a hyphen), so the echo should work correctly.
11328    lt_compile=`echo "$ac_compile" | $SED \
11329    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11330    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11331    -e 's:$: $lt_compiler_flag:'`
11332    (eval echo "\"\$as_me:11332: $lt_compile\"" >&5)
11333    (eval "$lt_compile" 2>out/conftest.err)
11334    ac_status=$?
11335    cat out/conftest.err >&5
11336    echo "$as_me:11336: \$? = $ac_status" >&5
11337    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11338    then
11339      # The compiler can only warn and ignore the option if not recognized
11340      # So say no if there are warnings
11341      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11342      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11343      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11344        lt_cv_prog_compiler_c_o_FC=yes
11345      fi
11346    fi
11347    chmod u+w . 2>&5
11348    $RM conftest*
11349    # SGI C++ compiler will create directory out/ii_files/ for
11350    # template instantiation
11351    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11352    $RM out/* && rmdir out
11353    cd ..
11354    $RM -r conftest
11355    $RM conftest*
11356
11357 fi
11358 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11359 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11360
11361
11362
11363     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11364 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11365 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11366   echo $ECHO_N "(cached) $ECHO_C" >&6
11367 else
11368   lt_cv_prog_compiler_c_o_FC=no
11369    $RM -r conftest 2>/dev/null
11370    mkdir conftest
11371    cd conftest
11372    mkdir out
11373    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11374
11375    lt_compiler_flag="-o out/conftest2.$ac_objext"
11376    # Insert the option either (1) after the last *FLAGS variable, or
11377    # (2) before a word containing "conftest.", or (3) at the end.
11378    # Note that $ac_compile itself does not contain backslashes and begins
11379    # with a dollar sign (not a hyphen), so the echo should work correctly.
11380    lt_compile=`echo "$ac_compile" | $SED \
11381    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11382    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11383    -e 's:$: $lt_compiler_flag:'`
11384    (eval echo "\"\$as_me:11384: $lt_compile\"" >&5)
11385    (eval "$lt_compile" 2>out/conftest.err)
11386    ac_status=$?
11387    cat out/conftest.err >&5
11388    echo "$as_me:11388: \$? = $ac_status" >&5
11389    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11390    then
11391      # The compiler can only warn and ignore the option if not recognized
11392      # So say no if there are warnings
11393      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11394      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11395      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11396        lt_cv_prog_compiler_c_o_FC=yes
11397      fi
11398    fi
11399    chmod u+w . 2>&5
11400    $RM conftest*
11401    # SGI C++ compiler will create directory out/ii_files/ for
11402    # template instantiation
11403    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11404    $RM out/* && rmdir out
11405    cd ..
11406    $RM -r conftest
11407    $RM conftest*
11408
11409 fi
11410 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11411 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11412
11413
11414
11415
11416 hard_links="nottested"
11417 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11418   # do not overwrite the value of need_locks provided by the user
11419   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11420 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11421   hard_links=yes
11422   $RM conftest*
11423   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11424   touch conftest.a
11425   ln conftest.a conftest.b 2>&5 || hard_links=no
11426   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11427   echo "$as_me:$LINENO: result: $hard_links" >&5
11428 echo "${ECHO_T}$hard_links" >&6
11429   if test "$hard_links" = no; then
11430     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11431 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11432     need_locks=warn
11433   fi
11434 else
11435   need_locks=no
11436 fi
11437
11438
11439
11440     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11441 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11442
11443   runpath_var=
11444   allow_undefined_flag_FC=
11445   always_export_symbols_FC=no
11446   archive_cmds_FC=
11447   archive_expsym_cmds_FC=
11448   compiler_needs_object_FC=no
11449   enable_shared_with_static_runtimes_FC=no
11450   export_dynamic_flag_spec_FC=
11451   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11452   hardcode_automatic_FC=no
11453   hardcode_direct_FC=no
11454   hardcode_direct_absolute_FC=no
11455   hardcode_libdir_flag_spec_FC=
11456   hardcode_libdir_flag_spec_ld_FC=
11457   hardcode_libdir_separator_FC=
11458   hardcode_minus_L_FC=no
11459   hardcode_shlibpath_var_FC=unsupported
11460   inherit_rpath_FC=no
11461   link_all_deplibs_FC=unknown
11462   module_cmds_FC=
11463   module_expsym_cmds_FC=
11464   old_archive_from_new_cmds_FC=
11465   old_archive_from_expsyms_cmds_FC=
11466   thread_safe_flag_spec_FC=
11467   whole_archive_flag_spec_FC=
11468   # include_expsyms should be a list of space-separated symbols to be *always*
11469   # included in the symbol list
11470   include_expsyms_FC=
11471   # exclude_expsyms can be an extended regexp of symbols to exclude
11472   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11473   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11474   # as well as any symbol that contains `d'.
11475   exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11476   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11477   # platforms (ab)use it in PIC code, but their linkers get confused if
11478   # the symbol is explicitly referenced.  Since portable code cannot
11479   # rely on this symbol name, it's probably fine to never include it in
11480   # preloaded symbol tables.
11481   extract_expsyms_cmds=
11482
11483   case $host_os in
11484   cygwin* | mingw* | pw32*)
11485     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11486     # When not using gcc, we currently assume that we are using
11487     # Microsoft Visual C++.
11488     if test "$GCC" != yes; then
11489       with_gnu_ld=no
11490     fi
11491     ;;
11492   interix*)
11493     # we just hope/assume this is gcc and not c89 (= MSVC++)
11494     with_gnu_ld=yes
11495     ;;
11496   openbsd*)
11497     with_gnu_ld=no
11498     ;;
11499   esac
11500
11501   ld_shlibs_FC=yes
11502   if test "$with_gnu_ld" = yes; then
11503     # If archive_cmds runs LD, not CC, wlarc should be empty
11504     wlarc='${wl}'
11505
11506     # Set some defaults for GNU ld with shared library support. These
11507     # are reset later if shared libraries are not supported. Putting them
11508     # here allows them to be overridden if necessary.
11509     runpath_var=LD_RUN_PATH
11510     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11511     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11512     # ancient GNU ld didn't support --whole-archive et. al.
11513     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11514       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11515     else
11516       whole_archive_flag_spec_FC=
11517     fi
11518     supports_anon_versioning=no
11519     case `$LD -v 2>&1` in
11520       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11521       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11522       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11523       *\ 2.11.*) ;; # other 2.11 versions
11524       *) supports_anon_versioning=yes ;;
11525     esac
11526
11527     # See if GNU ld supports shared libraries.
11528     case $host_os in
11529     aix[3-9]*)
11530       # On AIX/PPC, the GNU linker is very broken
11531       if test "$host_cpu" != ia64; then
11532         ld_shlibs_FC=no
11533         cat <<_LT_EOF 1>&2
11534
11535 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11536 *** to be unable to reliably create shared libraries on AIX.
11537 *** Therefore, libtool is disabling shared libraries support.  If you
11538 *** really care for shared libraries, you may want to modify your PATH
11539 *** so that a non-GNU linker is found, and then restart.
11540
11541 _LT_EOF
11542       fi
11543       ;;
11544
11545     amigaos*)
11546       if test "$host_cpu" = m68k; then
11547         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)'
11548         hardcode_libdir_flag_spec_FC='-L$libdir'
11549         hardcode_minus_L_FC=yes
11550       fi
11551
11552       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11553       # that the semantics of dynamic libraries on AmigaOS, at least up
11554       # to version 4, is to share data among multiple programs linked
11555       # with the same dynamic library.  Since this doesn't match the
11556       # behavior of shared libraries on other platforms, we can't use
11557       # them.
11558       ld_shlibs_FC=no
11559       ;;
11560
11561     beos*)
11562       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11563         allow_undefined_flag_FC=unsupported
11564         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11565         # support --undefined.  This deserves some investigation.  FIXME
11566         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11567       else
11568         ld_shlibs_FC=no
11569       fi
11570       ;;
11571
11572     cygwin* | mingw* | pw32*)
11573       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11574       # as there is no search path for DLLs.
11575       hardcode_libdir_flag_spec_FC='-L$libdir'
11576       allow_undefined_flag_FC=unsupported
11577       always_export_symbols_FC=no
11578       enable_shared_with_static_runtimes_FC=yes
11579       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11580
11581       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11582         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11583         # If the export-symbols file already is a .def file (1st line
11584         # is EXPORTS), use it as is; otherwise, prepend...
11585         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11586           cp $export_symbols $output_objdir/$soname.def;
11587         else
11588           echo EXPORTS > $output_objdir/$soname.def;
11589           cat $export_symbols >> $output_objdir/$soname.def;
11590         fi~
11591         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11592       else
11593         ld_shlibs_FC=no
11594       fi
11595       ;;
11596
11597     interix[3-9]*)
11598       hardcode_direct_FC=no
11599       hardcode_shlibpath_var_FC=no
11600       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11601       export_dynamic_flag_spec_FC='${wl}-E'
11602       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11603       # Instead, shared libraries are loaded at an image base (0x10000000 by
11604       # default) and relocated if they conflict, which is a slow very memory
11605       # consuming and fragmenting process.  To avoid this, we pick a random,
11606       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11607       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11608       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'
11609       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'
11610       ;;
11611
11612     gnu* | linux* | tpf* | k*bsd*-gnu)
11613       tmp_diet=no
11614       if test "$host_os" = linux-dietlibc; then
11615         case $cc_basename in
11616           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11617         esac
11618       fi
11619       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11620          && test "$tmp_diet" = no
11621       then
11622         tmp_addflag=
11623         case $cc_basename,$host_cpu in
11624         pgcc*)                          # Portland Group C compiler
11625           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'
11626           tmp_addflag=' $pic_flag'
11627           ;;
11628         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
11629           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'
11630           tmp_addflag=' $pic_flag -Mnomain' ;;
11631         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11632           tmp_addflag=' -i_dynamic' ;;
11633         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11634           tmp_addflag=' -i_dynamic -nofor_main' ;;
11635         ifc* | ifort*)                  # Intel Fortran compiler
11636           tmp_addflag=' -nofor_main' ;;
11637         esac
11638         case `$CC -V 2>&1 | sed 5q` in
11639         *Sun\ C*)                       # Sun C 5.9
11640           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'
11641           compiler_needs_object_FC=yes
11642           tmp_sharedflag='-G' ;;
11643         *Sun\ F*)                       # Sun Fortran 8.3
11644           tmp_sharedflag='-G' ;;
11645         *)
11646           tmp_sharedflag='-shared' ;;
11647         esac
11648         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11649
11650         if test "x$supports_anon_versioning" = xyes; then
11651           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11652             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11653             echo "local: *; };" >> $output_objdir/$libname.ver~
11654             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11655         fi
11656       else
11657         ld_shlibs_FC=no
11658       fi
11659       ;;
11660
11661     netbsd*)
11662       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11663         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11664         wlarc=
11665       else
11666         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11667         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11668       fi
11669       ;;
11670
11671     solaris*)
11672       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11673         ld_shlibs_FC=no
11674         cat <<_LT_EOF 1>&2
11675
11676 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11677 *** create shared libraries on Solaris systems.  Therefore, libtool
11678 *** is disabling shared libraries support.  We urge you to upgrade GNU
11679 *** binutils to release 2.9.1 or newer.  Another option is to modify
11680 *** your PATH or compiler configuration so that the native linker is
11681 *** used, and then restart.
11682
11683 _LT_EOF
11684       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11685         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11686         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11687       else
11688         ld_shlibs_FC=no
11689       fi
11690       ;;
11691
11692     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11693       case `$LD -v 2>&1` in
11694         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11695         ld_shlibs_FC=no
11696         cat <<_LT_EOF 1>&2
11697
11698 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11699 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11700 *** is disabling shared libraries support.  We urge you to upgrade GNU
11701 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11702 *** your PATH or compiler configuration so that the native linker is
11703 *** used, and then restart.
11704
11705 _LT_EOF
11706         ;;
11707         *)
11708           # For security reasons, it is highly recommended that you always
11709           # use absolute paths for naming shared libraries, and exclude the
11710           # DT_RUNPATH tag from executables and libraries.  But doing so
11711           # requires that you compile everything twice, which is a pain.
11712           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11713             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11714             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11715             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11716           else
11717             ld_shlibs_FC=no
11718           fi
11719         ;;
11720       esac
11721       ;;
11722
11723     sunos4*)
11724       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11725       wlarc=
11726       hardcode_direct_FC=yes
11727       hardcode_shlibpath_var_FC=no
11728       ;;
11729
11730     *)
11731       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11732         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11734       else
11735         ld_shlibs_FC=no
11736       fi
11737       ;;
11738     esac
11739
11740     if test "$ld_shlibs_FC" = no; then
11741       runpath_var=
11742       hardcode_libdir_flag_spec_FC=
11743       export_dynamic_flag_spec_FC=
11744       whole_archive_flag_spec_FC=
11745     fi
11746   else
11747     # PORTME fill in a description of your system's linker (not GNU ld)
11748     case $host_os in
11749     aix3*)
11750       allow_undefined_flag_FC=unsupported
11751       always_export_symbols_FC=yes
11752       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'
11753       # Note: this linker hardcodes the directories in LIBPATH if there
11754       # are no directories specified by -L.
11755       hardcode_minus_L_FC=yes
11756       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11757         # Neither direct hardcoding nor static linking is supported with a
11758         # broken collect2.
11759         hardcode_direct_FC=unsupported
11760       fi
11761       ;;
11762
11763     aix[4-9]*)
11764       if test "$host_cpu" = ia64; then
11765         # On IA64, the linker does run time linking by default, so we don't
11766         # have to do anything special.
11767         aix_use_runtimelinking=no
11768         exp_sym_flag='-Bexport'
11769         no_entry_flag=""
11770       else
11771         # If we're using GNU nm, then we don't want the "-C" option.
11772         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11773         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11774           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'
11775         else
11776           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'
11777         fi
11778         aix_use_runtimelinking=no
11779
11780         # Test if we are trying to use run time linking or normal
11781         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11782         # need to do runtime linking.
11783         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11784           for ld_flag in $LDFLAGS; do
11785           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11786             aix_use_runtimelinking=yes
11787             break
11788           fi
11789           done
11790           ;;
11791         esac
11792
11793         exp_sym_flag='-bexport'
11794         no_entry_flag='-bnoentry'
11795       fi
11796
11797       # When large executables or shared objects are built, AIX ld can
11798       # have problems creating the table of contents.  If linking a library
11799       # or program results in "error TOC overflow" add -mminimal-toc to
11800       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11801       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11802
11803       archive_cmds_FC=''
11804       hardcode_direct_FC=yes
11805       hardcode_direct_absolute_FC=yes
11806       hardcode_libdir_separator_FC=':'
11807       link_all_deplibs_FC=yes
11808       file_list_spec_FC='${wl}-f,'
11809
11810       if test "$GCC" = yes; then
11811         case $host_os in aix4.[012]|aix4.[012].*)
11812         # We only want to do this on AIX 4.2 and lower, the check
11813         # below for broken collect2 doesn't work under 4.3+
11814           collect2name=`${CC} -print-prog-name=collect2`
11815           if test -f "$collect2name" &&
11816            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11817           then
11818           # We have reworked collect2
11819           :
11820           else
11821           # We have old collect2
11822           hardcode_direct_FC=unsupported
11823           # It fails to find uninstalled libraries when the uninstalled
11824           # path is not listed in the libpath.  Setting hardcode_minus_L
11825           # to unsupported forces relinking
11826           hardcode_minus_L_FC=yes
11827           hardcode_libdir_flag_spec_FC='-L$libdir'
11828           hardcode_libdir_separator_FC=
11829           fi
11830           ;;
11831         esac
11832         shared_flag='-shared'
11833         if test "$aix_use_runtimelinking" = yes; then
11834           shared_flag="$shared_flag "'${wl}-G'
11835         fi
11836       else
11837         # not using gcc
11838         if test "$host_cpu" = ia64; then
11839         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11840         # chokes on -Wl,-G. The following line is correct:
11841           shared_flag='-G'
11842         else
11843           if test "$aix_use_runtimelinking" = yes; then
11844             shared_flag='${wl}-G'
11845           else
11846             shared_flag='${wl}-bM:SRE'
11847           fi
11848         fi
11849       fi
11850
11851       # It seems that -bexpall does not export symbols beginning with
11852       # underscore (_), so it is better to generate a list of symbols to export.
11853       always_export_symbols_FC=yes
11854       if test "$aix_use_runtimelinking" = yes; then
11855         # Warning - without using the other runtime loading flags (-brtl),
11856         # -berok will link without error, but may produce a broken library.
11857         allow_undefined_flag_FC='-berok'
11858         # Determine the default libpath from the value encoded in an
11859         # empty executable.
11860         if test x$gcc_no_link = xyes; then
11861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11863    { (exit 1); exit 1; }; }
11864 fi
11865 cat >conftest.$ac_ext <<_ACEOF
11866       program main
11867
11868       end
11869 _ACEOF
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11872   (eval $ac_link) 2>conftest.er1
11873   ac_status=$?
11874   grep -v '^ *+' conftest.er1 >conftest.err
11875   rm -f conftest.er1
11876   cat conftest.err >&5
11877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878   (exit $ac_status); } &&
11879          { ac_try='test -z "$ac_fc_werror_flag"
11880                          || test ! -s conftest.err'
11881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882   (eval $ac_try) 2>&5
11883   ac_status=$?
11884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885   (exit $ac_status); }; } &&
11886          { ac_try='test -s conftest$ac_exeext'
11887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888   (eval $ac_try) 2>&5
11889   ac_status=$?
11890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891   (exit $ac_status); }; }; then
11892
11893 lt_aix_libpath_sed='
11894     /Import File Strings/,/^$/ {
11895         /^0/ {
11896             s/^0  *\(.*\)$/\1/
11897             p
11898         }
11899     }'
11900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11901 # Check for a 64-bit object if we didn't find anything.
11902 if test -z "$aix_libpath"; then
11903   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11904 fi
11905 else
11906   echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11908
11909 fi
11910 rm -f conftest.err conftest.$ac_objext \
11911       conftest$ac_exeext conftest.$ac_ext
11912 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11913
11914         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11915         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"
11916       else
11917         if test "$host_cpu" = ia64; then
11918           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11919           allow_undefined_flag_FC="-z nodefs"
11920           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"
11921         else
11922          # Determine the default libpath from the value encoded in an
11923          # empty executable.
11924          if test x$gcc_no_link = xyes; then
11925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11927    { (exit 1); exit 1; }; }
11928 fi
11929 cat >conftest.$ac_ext <<_ACEOF
11930       program main
11931
11932       end
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936   (eval $ac_link) 2>conftest.er1
11937   ac_status=$?
11938   grep -v '^ *+' conftest.er1 >conftest.err
11939   rm -f conftest.er1
11940   cat conftest.err >&5
11941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942   (exit $ac_status); } &&
11943          { ac_try='test -z "$ac_fc_werror_flag"
11944                          || test ! -s conftest.err'
11945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946   (eval $ac_try) 2>&5
11947   ac_status=$?
11948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949   (exit $ac_status); }; } &&
11950          { ac_try='test -s conftest$ac_exeext'
11951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952   (eval $ac_try) 2>&5
11953   ac_status=$?
11954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955   (exit $ac_status); }; }; then
11956
11957 lt_aix_libpath_sed='
11958     /Import File Strings/,/^$/ {
11959         /^0/ {
11960             s/^0  *\(.*\)$/\1/
11961             p
11962         }
11963     }'
11964 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11965 # Check for a 64-bit object if we didn't find anything.
11966 if test -z "$aix_libpath"; then
11967   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11968 fi
11969 else
11970   echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11972
11973 fi
11974 rm -f conftest.err conftest.$ac_objext \
11975       conftest$ac_exeext conftest.$ac_ext
11976 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11977
11978          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11979           # Warning - without using the other run time loading flags,
11980           # -berok will link without error, but may produce a broken library.
11981           no_undefined_flag_FC=' ${wl}-bernotok'
11982           allow_undefined_flag_FC=' ${wl}-berok'
11983           # Exported symbols can be pulled into shared objects from archives
11984           whole_archive_flag_spec_FC='$convenience'
11985           archive_cmds_need_lc_FC=yes
11986           # This is similar to how AIX traditionally builds its shared libraries.
11987           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'
11988         fi
11989       fi
11990       ;;
11991
11992     amigaos*)
11993       if test "$host_cpu" = m68k; then
11994         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)'
11995         hardcode_libdir_flag_spec_FC='-L$libdir'
11996         hardcode_minus_L_FC=yes
11997       fi
11998       # see comment about different semantics on the GNU ld section
11999       ld_shlibs_FC=no
12000       ;;
12001
12002     bsdi[45]*)
12003       export_dynamic_flag_spec_FC=-rdynamic
12004       ;;
12005
12006     cygwin* | mingw* | pw32*)
12007       # When not using gcc, we currently assume that we are using
12008       # Microsoft Visual C++.
12009       # hardcode_libdir_flag_spec is actually meaningless, as there is
12010       # no search path for DLLs.
12011       hardcode_libdir_flag_spec_FC=' '
12012       allow_undefined_flag_FC=unsupported
12013       # Tell ltmain to make .lib files, not .a files.
12014       libext=lib
12015       # Tell ltmain to make .dll files, not .so files.
12016       shrext_cmds=".dll"
12017       # FIXME: Setting linknames here is a bad hack.
12018       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12019       # The linker will automatically build a .lib file if we build a DLL.
12020       old_archive_from_new_cmds_FC='true'
12021       # FIXME: Should let the user specify the lib program.
12022       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12023       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12024       enable_shared_with_static_runtimes_FC=yes
12025       ;;
12026
12027     darwin* | rhapsody*)
12028       case $host_os in
12029       rhapsody* | darwin1.[012])
12030         allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12031         ;;
12032       *) # Darwin 1.3 on
12033         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12034         10.[012])
12035           allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12036           ;;
12037         10.*)
12038           allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12039           ;;
12040         esac
12041         ;;
12042       esac
12043       archive_cmds_need_lc_FC=no
12044       hardcode_direct_FC=no
12045       hardcode_automatic_FC=yes
12046       hardcode_shlibpath_var_FC=unsupported
12047       whole_archive_flag_spec_FC=''
12048       link_all_deplibs_FC=yes
12049       if test "$GCC" = yes ; then
12050         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12051   echo $ECHO_N "(cached) $ECHO_C" >&6
12052 else
12053   lt_cv_apple_cc_single_mod=no
12054         if test -z "${LT_MULTI_MODULE}"; then
12055           # By default we will add the -single_module flag. You can override
12056           # by either setting the environment variable LT_MULTI_MODULE
12057           # non-empty at configure time, or by adding -multi-module to the
12058           # link flags.
12059           echo "int foo(void){return 1;}" > conftest.c
12060           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12061               -dynamiclib ${wl}-single_module conftest.c
12062           if test -f libconftest.dylib; then
12063               lt_cv_apple_cc_single_mod=yes
12064               rm libconftest.dylib
12065           fi
12066           rm conftest.$ac_ext
12067         fi
12068 fi
12069
12070         output_verbose_link_cmd=echo
12071         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12072           archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12073           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}'
12074         else
12075           archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12076           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}'
12077         fi
12078         module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12079         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}'
12080       else
12081         case $cc_basename in
12082         xlc*)
12083           output_verbose_link_cmd=echo
12084           archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12085           module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12086           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12087           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}'
12088           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}'
12089           ;;
12090         *)
12091           ld_shlibs_FC=no
12092           ;;
12093         esac
12094       fi
12095       ;;
12096
12097     dgux*)
12098       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12099       hardcode_libdir_flag_spec_FC='-L$libdir'
12100       hardcode_shlibpath_var_FC=no
12101       ;;
12102
12103     freebsd1*)
12104       ld_shlibs_FC=no
12105       ;;
12106
12107     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12108     # support.  Future versions do this automatically, but an explicit c++rt0.o
12109     # does not break anything, and helps significantly (at the cost of a little
12110     # extra space).
12111     freebsd2.2*)
12112       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12113       hardcode_libdir_flag_spec_FC='-R$libdir'
12114       hardcode_direct_FC=yes
12115       hardcode_shlibpath_var_FC=no
12116       ;;
12117
12118     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12119     freebsd2*)
12120       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12121       hardcode_direct_FC=yes
12122       hardcode_minus_L_FC=yes
12123       hardcode_shlibpath_var_FC=no
12124       ;;
12125
12126     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12127     freebsd* | dragonfly*)
12128       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12129       hardcode_libdir_flag_spec_FC='-R$libdir'
12130       hardcode_direct_FC=yes
12131       hardcode_shlibpath_var_FC=no
12132       ;;
12133
12134     hpux9*)
12135       if test "$GCC" = yes; then
12136         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'
12137       else
12138         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'
12139       fi
12140       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12141       hardcode_libdir_separator_FC=:
12142       hardcode_direct_FC=yes
12143
12144       # hardcode_minus_L: Not really in the search PATH,
12145       # but as the default location of the library.
12146       hardcode_minus_L_FC=yes
12147       export_dynamic_flag_spec_FC='${wl}-E'
12148       ;;
12149
12150     hpux10*)
12151       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12152         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12153       else
12154         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12155       fi
12156       if test "$with_gnu_ld" = no; then
12157         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12158         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12159         hardcode_libdir_separator_FC=:
12160         hardcode_direct_FC=yes
12161         hardcode_direct_absolute_FC=yes
12162         export_dynamic_flag_spec_FC='${wl}-E'
12163         # hardcode_minus_L: Not really in the search PATH,
12164         # but as the default location of the library.
12165         hardcode_minus_L_FC=yes
12166       fi
12167       ;;
12168
12169     hpux11*)
12170       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12171         case $host_cpu in
12172         hppa*64*)
12173           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12174           ;;
12175         ia64*)
12176           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12177           ;;
12178         *)
12179           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12180           ;;
12181         esac
12182       else
12183         case $host_cpu in
12184         hppa*64*)
12185           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12186           ;;
12187         ia64*)
12188           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12189           ;;
12190         *)
12191           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12192           ;;
12193         esac
12194       fi
12195       if test "$with_gnu_ld" = no; then
12196         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12197         hardcode_libdir_separator_FC=:
12198
12199         case $host_cpu in
12200         hppa*64*|ia64*)
12201           hardcode_direct_FC=no
12202           hardcode_shlibpath_var_FC=no
12203           ;;
12204         *)
12205           hardcode_direct_FC=yes
12206           hardcode_direct_absolute_FC=yes
12207           export_dynamic_flag_spec_FC='${wl}-E'
12208
12209           # hardcode_minus_L: Not really in the search PATH,
12210           # but as the default location of the library.
12211           hardcode_minus_L_FC=yes
12212           ;;
12213         esac
12214       fi
12215       ;;
12216
12217     irix5* | irix6* | nonstopux*)
12218       if test "$GCC" = yes; then
12219         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'
12220         # Try to use the -exported_symbol ld option, if it does not
12221         # work, assume that -exports_file does not work either and
12222         # implicitly export all symbols.
12223         save_LDFLAGS="$LDFLAGS"
12224         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12225         if test x$gcc_no_link = xyes; then
12226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12228    { (exit 1); exit 1; }; }
12229 fi
12230 cat >conftest.$ac_ext <<_ACEOF
12231 int foo(void) {}
12232 _ACEOF
12233 rm -f conftest.$ac_objext conftest$ac_exeext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12235   (eval $ac_link) 2>conftest.er1
12236   ac_status=$?
12237   grep -v '^ *+' conftest.er1 >conftest.err
12238   rm -f conftest.er1
12239   cat conftest.err >&5
12240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241   (exit $ac_status); } &&
12242          { ac_try='test -z "$ac_fc_werror_flag"
12243                          || test ! -s conftest.err'
12244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245   (eval $ac_try) 2>&5
12246   ac_status=$?
12247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248   (exit $ac_status); }; } &&
12249          { ac_try='test -s conftest$ac_exeext'
12250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251   (eval $ac_try) 2>&5
12252   ac_status=$?
12253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254   (exit $ac_status); }; }; then
12255   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'
12256
12257 else
12258   echo "$as_me: failed program was:" >&5
12259 sed 's/^/| /' conftest.$ac_ext >&5
12260
12261 fi
12262 rm -f conftest.err conftest.$ac_objext \
12263       conftest$ac_exeext conftest.$ac_ext
12264         LDFLAGS="$save_LDFLAGS"
12265       else
12266         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'
12267         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'
12268       fi
12269       archive_cmds_need_lc_FC='no'
12270       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12271       hardcode_libdir_separator_FC=:
12272       inherit_rpath_FC=yes
12273       link_all_deplibs_FC=yes
12274       ;;
12275
12276     netbsd*)
12277       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12278         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12279       else
12280         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12281       fi
12282       hardcode_libdir_flag_spec_FC='-R$libdir'
12283       hardcode_direct_FC=yes
12284       hardcode_shlibpath_var_FC=no
12285       ;;
12286
12287     newsos6)
12288       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12289       hardcode_direct_FC=yes
12290       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12291       hardcode_libdir_separator_FC=:
12292       hardcode_shlibpath_var_FC=no
12293       ;;
12294
12295     *nto* | *qnx*)
12296       ;;
12297
12298     openbsd*)
12299       hardcode_direct_FC=yes
12300       hardcode_shlibpath_var_FC=no
12301       hardcode_direct_absolute_FC=yes
12302       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12303         archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12304         archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12305         hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12306         export_dynamic_flag_spec_FC='${wl}-E'
12307       else
12308         case $host_os in
12309         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12310           archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12311           hardcode_libdir_flag_spec_FC='-R$libdir'
12312           ;;
12313         *)
12314           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12315           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12316           ;;
12317         esac
12318       fi
12319       ;;
12320
12321     os2*)
12322       hardcode_libdir_flag_spec_FC='-L$libdir'
12323       hardcode_minus_L_FC=yes
12324       allow_undefined_flag_FC=unsupported
12325       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'
12326       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12327       ;;
12328
12329     osf3*)
12330       if test "$GCC" = yes; then
12331         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12332         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'
12333       else
12334         allow_undefined_flag_FC=' -expect_unresolved \*'
12335         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'
12336       fi
12337       archive_cmds_need_lc_FC='no'
12338       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12339       hardcode_libdir_separator_FC=:
12340       ;;
12341
12342     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12343       if test "$GCC" = yes; then
12344         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12345         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'
12346         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12347       else
12348         allow_undefined_flag_FC=' -expect_unresolved \*'
12349         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'
12350         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~
12351         $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'
12352
12353         # Both c and cxx compiler support -rpath directly
12354         hardcode_libdir_flag_spec_FC='-rpath $libdir'
12355       fi
12356       archive_cmds_need_lc_FC='no'
12357       hardcode_libdir_separator_FC=:
12358       ;;
12359
12360     solaris*)
12361       no_undefined_flag_FC=' -z defs'
12362       if test "$GCC" = yes; then
12363         wlarc='${wl}'
12364         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12365         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12366           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12367       else
12368         case `$CC -V 2>&1` in
12369         *"Compilers 5.0"*)
12370           wlarc=''
12371           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12372           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12373           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12374           ;;
12375         *)
12376           wlarc='${wl}'
12377           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12378           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12379           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12380           ;;
12381         esac
12382       fi
12383       hardcode_libdir_flag_spec_FC='-R$libdir'
12384       hardcode_shlibpath_var_FC=no
12385       case $host_os in
12386       solaris2.[0-5] | solaris2.[0-5].*) ;;
12387       *)
12388         # The compiler driver will combine and reorder linker options,
12389         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12390         # but is careful enough not to reorder.
12391         # Supported since Solaris 2.6 (maybe 2.5.1?)
12392         if test "$GCC" = yes; then
12393           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12394         else
12395           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12396         fi
12397         ;;
12398       esac
12399       link_all_deplibs_FC=yes
12400       ;;
12401
12402     sunos4*)
12403       if test "x$host_vendor" = xsequent; then
12404         # Use $CC to link under sequent, because it throws in some extra .o
12405         # files that make .init and .fini sections work.
12406         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12407       else
12408         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12409       fi
12410       hardcode_libdir_flag_spec_FC='-L$libdir'
12411       hardcode_direct_FC=yes
12412       hardcode_minus_L_FC=yes
12413       hardcode_shlibpath_var_FC=no
12414       ;;
12415
12416     sysv4)
12417       case $host_vendor in
12418         sni)
12419           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12420           hardcode_direct_FC=yes # is this really true???
12421         ;;
12422         siemens)
12423           ## LD is ld it makes a PLAMLIB
12424           ## CC just makes a GrossModule.
12425           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12426           reload_cmds_FC='$CC -r -o $output$reload_objs'
12427           hardcode_direct_FC=no
12428         ;;
12429         motorola)
12430           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12431           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12432         ;;
12433       esac
12434       runpath_var='LD_RUN_PATH'
12435       hardcode_shlibpath_var_FC=no
12436       ;;
12437
12438     sysv4.3*)
12439       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12440       hardcode_shlibpath_var_FC=no
12441       export_dynamic_flag_spec_FC='-Bexport'
12442       ;;
12443
12444     sysv4*MP*)
12445       if test -d /usr/nec; then
12446         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12447         hardcode_shlibpath_var_FC=no
12448         runpath_var=LD_RUN_PATH
12449         hardcode_runpath_var=yes
12450         ld_shlibs_FC=yes
12451       fi
12452       ;;
12453
12454     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12455       no_undefined_flag_FC='${wl}-z,text'
12456       archive_cmds_need_lc_FC=no
12457       hardcode_shlibpath_var_FC=no
12458       runpath_var='LD_RUN_PATH'
12459
12460       if test "$GCC" = yes; then
12461         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12462         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463       else
12464         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12465         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12466       fi
12467       ;;
12468
12469     sysv5* | sco3.2v5* | sco5v6*)
12470       # Note: We can NOT use -z defs as we might desire, because we do not
12471       # link with -lc, and that would cause any symbols used from libc to
12472       # always be unresolved, which means just about no library would
12473       # ever link correctly.  If we're not using GNU ld we use -z text
12474       # though, which does catch some bad symbols but isn't as heavy-handed
12475       # as -z defs.
12476       no_undefined_flag_FC='${wl}-z,text'
12477       allow_undefined_flag_FC='${wl}-z,nodefs'
12478       archive_cmds_need_lc_FC=no
12479       hardcode_shlibpath_var_FC=no
12480       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12481       hardcode_libdir_separator_FC=':'
12482       link_all_deplibs_FC=yes
12483       export_dynamic_flag_spec_FC='${wl}-Bexport'
12484       runpath_var='LD_RUN_PATH'
12485
12486       if test "$GCC" = yes; then
12487         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12488         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12489       else
12490         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12491         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12492       fi
12493       ;;
12494
12495     uts4*)
12496       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12497       hardcode_libdir_flag_spec_FC='-L$libdir'
12498       hardcode_shlibpath_var_FC=no
12499       ;;
12500
12501     *)
12502       ld_shlibs_FC=no
12503       ;;
12504     esac
12505
12506     if test x$host_vendor = xsni; then
12507       case $host in
12508       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12509         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12510         ;;
12511       esac
12512     fi
12513   fi
12514
12515 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12516 echo "${ECHO_T}$ld_shlibs_FC" >&6
12517 test "$ld_shlibs_FC" = no && can_build_shared=no
12518
12519 with_gnu_ld_FC=$with_gnu_ld
12520
12521
12522
12523
12524
12525
12526 #
12527 # Do we need to explicitly link libc?
12528 #
12529 case "x$archive_cmds_need_lc_FC" in
12530 x|xyes)
12531   # Assume -lc should be added
12532   archive_cmds_need_lc_FC=yes
12533
12534   if test "$enable_shared" = yes && test "$GCC" = yes; then
12535     case $archive_cmds_FC in
12536     *'~'*)
12537       # FIXME: we may have to deal with multi-command sequences.
12538       ;;
12539     '$CC '*)
12540       # Test whether the compiler implicitly links with -lc since on some
12541       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12542       # to ld, don't add -lc before -lgcc.
12543       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12544 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12545       $RM conftest*
12546       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12547
12548       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12549   (eval $ac_compile) 2>&5
12550   ac_status=$?
12551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552   (exit $ac_status); } 2>conftest.err; then
12553         soname=conftest
12554         lib=conftest
12555         libobjs=conftest.$ac_objext
12556         deplibs=
12557         wl=$lt_prog_compiler_wl_FC
12558         pic_flag=$lt_prog_compiler_pic_FC
12559         compiler_flags=-v
12560         linker_flags=-v
12561         verstring=
12562         output_objdir=.
12563         libname=conftest
12564         lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12565         allow_undefined_flag_FC=
12566         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12567   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12568   ac_status=$?
12569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570   (exit $ac_status); }
12571         then
12572           archive_cmds_need_lc_FC=no
12573         else
12574           archive_cmds_need_lc_FC=yes
12575         fi
12576         allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12577       else
12578         cat conftest.err 1>&5
12579       fi
12580       $RM conftest*
12581       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12582 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12583       ;;
12584     esac
12585   fi
12586   ;;
12587 esac
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
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12653 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12654 withGCC=$ac_cv_fc_compiler_gnu
12655 library_names_spec=
12656 libname_spec='lib$name'
12657 soname_spec=
12658 shrext_cmds=".so"
12659 postinstall_cmds=
12660 postuninstall_cmds=
12661 finish_cmds=
12662 finish_eval=
12663 shlibpath_var=
12664 shlibpath_overrides_runpath=unknown
12665 version_type=none
12666 dynamic_linker="$host_os ld.so"
12667 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12668 need_lib_prefix=unknown
12669 hardcode_into_libs=no
12670
12671 # when you set need_version to no, make sure it does not cause -set_version
12672 # flags to be left without arguments
12673 need_version=unknown
12674
12675 case $host_os in
12676 aix3*)
12677   version_type=linux
12678   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12679   shlibpath_var=LIBPATH
12680
12681   # AIX 3 has no versioning support, so we append a major version to the name.
12682   soname_spec='${libname}${release}${shared_ext}$major'
12683   ;;
12684
12685 aix[4-9]*)
12686   version_type=linux
12687   need_lib_prefix=no
12688   need_version=no
12689   hardcode_into_libs=yes
12690   if test "$host_cpu" = ia64; then
12691     # AIX 5 supports IA64
12692     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12693     shlibpath_var=LD_LIBRARY_PATH
12694   else
12695     # With GCC up to 2.95.x, collect2 would create an import file
12696     # for dependence libraries.  The import file would start with
12697     # the line `#! .'.  This would cause the generated library to
12698     # depend on `.', always an invalid library.  This was fixed in
12699     # development snapshots of GCC prior to 3.0.
12700     case $host_os in
12701       aix4 | aix4.[01] | aix4.[01].*)
12702       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12703            echo ' yes '
12704            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12705         :
12706       else
12707         can_build_shared=no
12708       fi
12709       ;;
12710     esac
12711     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12712     # soname into executable. Probably we can add versioning support to
12713     # collect2, so additional links can be useful in future.
12714     if test "$aix_use_runtimelinking" = yes; then
12715       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12716       # instead of lib<name>.a to let people know that these are not
12717       # typical AIX shared libraries.
12718       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12719     else
12720       # We preserve .a as extension for shared libraries through AIX4.2
12721       # and later when we are not doing run time linking.
12722       library_names_spec='${libname}${release}.a $libname.a'
12723       soname_spec='${libname}${release}${shared_ext}$major'
12724     fi
12725     shlibpath_var=LIBPATH
12726   fi
12727   ;;
12728
12729 amigaos*)
12730   if test "$host_cpu" = m68k; then
12731     library_names_spec='$libname.ixlibrary $libname.a'
12732     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12733     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'
12734   else
12735     dynamic_linker=no
12736   fi
12737   ;;
12738
12739 beos*)
12740   library_names_spec='${libname}${shared_ext}'
12741   dynamic_linker="$host_os ld.so"
12742   shlibpath_var=LIBRARY_PATH
12743   ;;
12744
12745 bsdi[45]*)
12746   version_type=linux
12747   need_version=no
12748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12749   soname_spec='${libname}${release}${shared_ext}$major'
12750   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12751   shlibpath_var=LD_LIBRARY_PATH
12752   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12753   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12754   # the default ld.so.conf also contains /usr/contrib/lib and
12755   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12756   # libtool to hard-code these into programs
12757   ;;
12758
12759 cygwin* | mingw* | pw32*)
12760   version_type=windows
12761   shrext_cmds=".dll"
12762   need_version=no
12763   need_lib_prefix=no
12764
12765   case $withGCC,$host_os in
12766   yes,cygwin* | yes,mingw* | yes,pw32*)
12767     library_names_spec='$libname.dll.a'
12768     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12769     postinstall_cmds='base_file=`basename \${file}`~
12770       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12771       dldir=$destdir/`dirname \$dlpath`~
12772       test -d \$dldir || mkdir -p \$dldir~
12773       $install_prog $dir/$dlname \$dldir/$dlname~
12774       chmod a+x \$dldir/$dlname~
12775       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12776         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12777       fi'
12778     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12779       dlpath=$dir/\$dldll~
12780        $RM \$dlpath'
12781     shlibpath_overrides_runpath=yes
12782
12783     case $host_os in
12784     cygwin*)
12785       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12786       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12787       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12788       ;;
12789     mingw*)
12790       # MinGW DLLs use traditional 'lib' prefix
12791       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12792       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12793       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12794         # It is most probably a Windows format PATH printed by
12795         # mingw gcc, but we are running on Cygwin. Gcc prints its search
12796         # path with ; separators, and with drive letters. We can handle the
12797         # drive letters (cygwin fileutils understands them), so leave them,
12798         # especially as we might pass files found there to a mingw objdump,
12799         # which wouldn't understand a cygwinified path. Ahh.
12800         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12801       else
12802         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12803       fi
12804       ;;
12805     pw32*)
12806       # pw32 DLLs use 'pw' prefix rather than 'lib'
12807       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12808       ;;
12809     esac
12810     ;;
12811
12812   *)
12813     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12814     ;;
12815   esac
12816   dynamic_linker='Win32 ld.exe'
12817   # FIXME: first we should search . and the directory the executable is in
12818   shlibpath_var=PATH
12819   ;;
12820
12821 darwin* | rhapsody*)
12822   dynamic_linker="$host_os dyld"
12823   version_type=darwin
12824   need_lib_prefix=no
12825   need_version=no
12826   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12827   soname_spec='${libname}${release}${major}$shared_ext'
12828   shlibpath_overrides_runpath=yes
12829   shlibpath_var=DYLD_LIBRARY_PATH
12830   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12831
12832   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12833   ;;
12834
12835 dgux*)
12836   version_type=linux
12837   need_lib_prefix=no
12838   need_version=no
12839   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12840   soname_spec='${libname}${release}${shared_ext}$major'
12841   shlibpath_var=LD_LIBRARY_PATH
12842   ;;
12843
12844 freebsd1*)
12845   dynamic_linker=no
12846   ;;
12847
12848 freebsd* | dragonfly*)
12849   # DragonFly does not have aout.  When/if they implement a new
12850   # versioning mechanism, adjust this.
12851   if test -x /usr/bin/objformat; then
12852     objformat=`/usr/bin/objformat`
12853   else
12854     case $host_os in
12855     freebsd[123]*) objformat=aout ;;
12856     *) objformat=elf ;;
12857     esac
12858   fi
12859   version_type=freebsd-$objformat
12860   case $version_type in
12861     freebsd-elf*)
12862       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12863       need_version=no
12864       need_lib_prefix=no
12865       ;;
12866     freebsd-*)
12867       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12868       need_version=yes
12869       ;;
12870   esac
12871   shlibpath_var=LD_LIBRARY_PATH
12872   case $host_os in
12873   freebsd2*)
12874     shlibpath_overrides_runpath=yes
12875     ;;
12876   freebsd3.[01]* | freebsdelf3.[01]*)
12877     shlibpath_overrides_runpath=yes
12878     hardcode_into_libs=yes
12879     ;;
12880   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12881   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12882     shlibpath_overrides_runpath=no
12883     hardcode_into_libs=yes
12884     ;;
12885   *) # from 4.6 on, and DragonFly
12886     shlibpath_overrides_runpath=yes
12887     hardcode_into_libs=yes
12888     ;;
12889   esac
12890   ;;
12891
12892 gnu*)
12893   version_type=linux
12894   need_lib_prefix=no
12895   need_version=no
12896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12897   soname_spec='${libname}${release}${shared_ext}$major'
12898   shlibpath_var=LD_LIBRARY_PATH
12899   hardcode_into_libs=yes
12900   ;;
12901
12902 hpux9* | hpux10* | hpux11*)
12903   # Give a soname corresponding to the major version so that dld.sl refuses to
12904   # link against other versions.
12905   version_type=sunos
12906   need_lib_prefix=no
12907   need_version=no
12908   case $host_cpu in
12909   ia64*)
12910     shrext_cmds='.so'
12911     hardcode_into_libs=yes
12912     dynamic_linker="$host_os dld.so"
12913     shlibpath_var=LD_LIBRARY_PATH
12914     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12915     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12916     soname_spec='${libname}${release}${shared_ext}$major'
12917     if test "X$HPUX_IA64_MODE" = X32; then
12918       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12919     else
12920       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12921     fi
12922     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12923     ;;
12924   hppa*64*)
12925     shrext_cmds='.sl'
12926     hardcode_into_libs=yes
12927     dynamic_linker="$host_os dld.sl"
12928     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12929     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12930     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12931     soname_spec='${libname}${release}${shared_ext}$major'
12932     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12933     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12934     ;;
12935   *)
12936     shrext_cmds='.sl'
12937     dynamic_linker="$host_os dld.sl"
12938     shlibpath_var=SHLIB_PATH
12939     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12940     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12941     soname_spec='${libname}${release}${shared_ext}$major'
12942     ;;
12943   esac
12944   # HP-UX runs *really* slowly unless shared libraries are mode 555.
12945   postinstall_cmds='chmod 555 $lib'
12946   ;;
12947
12948 interix[3-9]*)
12949   version_type=linux
12950   need_lib_prefix=no
12951   need_version=no
12952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12953   soname_spec='${libname}${release}${shared_ext}$major'
12954   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12955   shlibpath_var=LD_LIBRARY_PATH
12956   shlibpath_overrides_runpath=no
12957   hardcode_into_libs=yes
12958   ;;
12959
12960 irix5* | irix6* | nonstopux*)
12961   case $host_os in
12962     nonstopux*) version_type=nonstopux ;;
12963     *)
12964         if test "$lt_cv_prog_gnu_ld" = yes; then
12965                 version_type=linux
12966         else
12967                 version_type=irix
12968         fi ;;
12969   esac
12970   need_lib_prefix=no
12971   need_version=no
12972   soname_spec='${libname}${release}${shared_ext}$major'
12973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12974   case $host_os in
12975   irix5* | nonstopux*)
12976     libsuff= shlibsuff=
12977     ;;
12978   *)
12979     case $LD in # libtool.m4 will add one of these switches to LD
12980     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12981       libsuff= shlibsuff= libmagic=32-bit;;
12982     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12983       libsuff=32 shlibsuff=N32 libmagic=N32;;
12984     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12985       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12986     *) libsuff= shlibsuff= libmagic=never-match;;
12987     esac
12988     ;;
12989   esac
12990   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12991   shlibpath_overrides_runpath=no
12992   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12993   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12994   hardcode_into_libs=yes
12995   ;;
12996
12997 # No shared lib support for Linux oldld, aout, or coff.
12998 linux*oldld* | linux*aout* | linux*coff*)
12999   dynamic_linker=no
13000   ;;
13001
13002 # This must be Linux ELF.
13003 linux* | k*bsd*-gnu)
13004   version_type=linux
13005   need_lib_prefix=no
13006   need_version=no
13007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13008   soname_spec='${libname}${release}${shared_ext}$major'
13009   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13010   shlibpath_var=LD_LIBRARY_PATH
13011   shlibpath_overrides_runpath=no
13012   # Some binutils ld are patched to set DT_RUNPATH
13013   save_LDFLAGS=$LDFLAGS
13014   save_libdir=$libdir
13015   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13016        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13017   if test x$gcc_no_link = xyes; then
13018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13020    { (exit 1); exit 1; }; }
13021 fi
13022 cat >conftest.$ac_ext <<_ACEOF
13023       program main
13024
13025       end
13026 _ACEOF
13027 rm -f conftest.$ac_objext conftest$ac_exeext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13029   (eval $ac_link) 2>conftest.er1
13030   ac_status=$?
13031   grep -v '^ *+' conftest.er1 >conftest.err
13032   rm -f conftest.er1
13033   cat conftest.err >&5
13034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035   (exit $ac_status); } &&
13036          { ac_try='test -z "$ac_fc_werror_flag"
13037                          || test ! -s conftest.err'
13038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039   (eval $ac_try) 2>&5
13040   ac_status=$?
13041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042   (exit $ac_status); }; } &&
13043          { ac_try='test -s conftest$ac_exeext'
13044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045   (eval $ac_try) 2>&5
13046   ac_status=$?
13047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048   (exit $ac_status); }; }; then
13049   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13050   shlibpath_overrides_runpath=yes
13051 fi
13052
13053 else
13054   echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13056
13057 fi
13058 rm -f conftest.err conftest.$ac_objext \
13059       conftest$ac_exeext conftest.$ac_ext
13060   LDFLAGS=$save_LDFLAGS
13061   libdir=$save_libdir
13062
13063   # This implies no fast_install, which is unacceptable.
13064   # Some rework will be needed to allow for fast_install
13065   # before this can be enabled.
13066   hardcode_into_libs=yes
13067
13068   # Append ld.so.conf contents to the search path
13069   if test -f /etc/ld.so.conf; then
13070     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' ' '`
13071     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13072   fi
13073
13074   # We used to test for /lib/ld.so.1 and disable shared libraries on
13075   # powerpc, because MkLinux only supported shared libraries with the
13076   # GNU dynamic linker.  Since this was broken with cross compilers,
13077   # most powerpc-linux boxes support dynamic linking these days and
13078   # people can always --disable-shared, the test was removed, and we
13079   # assume the GNU/Linux dynamic linker is in use.
13080   dynamic_linker='GNU/Linux ld.so'
13081   ;;
13082
13083 netbsd*)
13084   version_type=sunos
13085   need_lib_prefix=no
13086   need_version=no
13087   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13088     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13089     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13090     dynamic_linker='NetBSD (a.out) ld.so'
13091   else
13092     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13093     soname_spec='${libname}${release}${shared_ext}$major'
13094     dynamic_linker='NetBSD ld.elf_so'
13095   fi
13096   shlibpath_var=LD_LIBRARY_PATH
13097   shlibpath_overrides_runpath=yes
13098   hardcode_into_libs=yes
13099   ;;
13100
13101 newsos6)
13102   version_type=linux
13103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13104   shlibpath_var=LD_LIBRARY_PATH
13105   shlibpath_overrides_runpath=yes
13106   ;;
13107
13108 *nto* | *qnx*)
13109   version_type=qnx
13110   need_lib_prefix=no
13111   need_version=no
13112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13113   soname_spec='${libname}${release}${shared_ext}$major'
13114   shlibpath_var=LD_LIBRARY_PATH
13115   shlibpath_overrides_runpath=no
13116   hardcode_into_libs=yes
13117   dynamic_linker='ldqnx.so'
13118   ;;
13119
13120 openbsd*)
13121   version_type=sunos
13122   sys_lib_dlsearch_path_spec="/usr/lib"
13123   need_lib_prefix=no
13124   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13125   case $host_os in
13126     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13127     *)                          need_version=no  ;;
13128   esac
13129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13130   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13131   shlibpath_var=LD_LIBRARY_PATH
13132   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13133     case $host_os in
13134       openbsd2.[89] | openbsd2.[89].*)
13135         shlibpath_overrides_runpath=no
13136         ;;
13137       *)
13138         shlibpath_overrides_runpath=yes
13139         ;;
13140       esac
13141   else
13142     shlibpath_overrides_runpath=yes
13143   fi
13144   ;;
13145
13146 os2*)
13147   libname_spec='$name'
13148   shrext_cmds=".dll"
13149   need_lib_prefix=no
13150   library_names_spec='$libname${shared_ext} $libname.a'
13151   dynamic_linker='OS/2 ld.exe'
13152   shlibpath_var=LIBPATH
13153   ;;
13154
13155 osf3* | osf4* | osf5*)
13156   version_type=osf
13157   need_lib_prefix=no
13158   need_version=no
13159   soname_spec='${libname}${release}${shared_ext}$major'
13160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13161   shlibpath_var=LD_LIBRARY_PATH
13162   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13163   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13164   ;;
13165
13166 rdos*)
13167   dynamic_linker=no
13168   ;;
13169
13170 solaris*)
13171   version_type=linux
13172   need_lib_prefix=no
13173   need_version=no
13174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13175   soname_spec='${libname}${release}${shared_ext}$major'
13176   shlibpath_var=LD_LIBRARY_PATH
13177   shlibpath_overrides_runpath=yes
13178   hardcode_into_libs=yes
13179   # ldd complains unless libraries are executable
13180   postinstall_cmds='chmod +x $lib'
13181   ;;
13182
13183 sunos4*)
13184   version_type=sunos
13185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13186   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13187   shlibpath_var=LD_LIBRARY_PATH
13188   shlibpath_overrides_runpath=yes
13189   if test "$with_gnu_ld" = yes; then
13190     need_lib_prefix=no
13191   fi
13192   need_version=yes
13193   ;;
13194
13195 sysv4 | sysv4.3*)
13196   version_type=linux
13197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13198   soname_spec='${libname}${release}${shared_ext}$major'
13199   shlibpath_var=LD_LIBRARY_PATH
13200   case $host_vendor in
13201     sni)
13202       shlibpath_overrides_runpath=no
13203       need_lib_prefix=no
13204       runpath_var=LD_RUN_PATH
13205       ;;
13206     siemens)
13207       need_lib_prefix=no
13208       ;;
13209     motorola)
13210       need_lib_prefix=no
13211       need_version=no
13212       shlibpath_overrides_runpath=no
13213       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13214       ;;
13215   esac
13216   ;;
13217
13218 sysv4*MP*)
13219   if test -d /usr/nec ;then
13220     version_type=linux
13221     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13222     soname_spec='$libname${shared_ext}.$major'
13223     shlibpath_var=LD_LIBRARY_PATH
13224   fi
13225   ;;
13226
13227 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13228   version_type=freebsd-elf
13229   need_lib_prefix=no
13230   need_version=no
13231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13232   soname_spec='${libname}${release}${shared_ext}$major'
13233   shlibpath_var=LD_LIBRARY_PATH
13234   shlibpath_overrides_runpath=yes
13235   hardcode_into_libs=yes
13236   if test "$with_gnu_ld" = yes; then
13237     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13238   else
13239     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13240     case $host_os in
13241       sco3.2v5*)
13242         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13243         ;;
13244     esac
13245   fi
13246   sys_lib_dlsearch_path_spec='/usr/lib'
13247   ;;
13248
13249 tpf*)
13250   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13251   version_type=linux
13252   need_lib_prefix=no
13253   need_version=no
13254   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13255   shlibpath_var=LD_LIBRARY_PATH
13256   shlibpath_overrides_runpath=no
13257   hardcode_into_libs=yes
13258   ;;
13259
13260 uts4*)
13261   version_type=linux
13262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263   soname_spec='${libname}${release}${shared_ext}$major'
13264   shlibpath_var=LD_LIBRARY_PATH
13265   ;;
13266
13267 *)
13268   dynamic_linker=no
13269   ;;
13270 esac
13271 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13272 echo "${ECHO_T}$dynamic_linker" >&6
13273 test "$dynamic_linker" = no && can_build_shared=no
13274
13275 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13276 if test "$GCC" = yes; then
13277   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13278 fi
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13316 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13317 hardcode_action_FC=
13318 if test -n "$hardcode_libdir_flag_spec_FC" ||
13319    test -n "$runpath_var_FC" ||
13320    test "X$hardcode_automatic_FC" = "Xyes" ; then
13321
13322   # We can hardcode non-existent directories.
13323   if test "$hardcode_direct_FC" != no &&
13324      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13325      # have to relink, otherwise we might link with an installed library
13326      # when we should be linking with a yet-to-be-installed one
13327      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13328      test "$hardcode_minus_L_FC" != no; then
13329     # Linking always hardcodes the temporary library directory.
13330     hardcode_action_FC=relink
13331   else
13332     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13333     hardcode_action_FC=immediate
13334   fi
13335 else
13336   # We cannot hardcode anything, or else we can only hardcode existing
13337   # directories.
13338   hardcode_action_FC=unsupported
13339 fi
13340 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13341 echo "${ECHO_T}$hardcode_action_FC" >&6
13342
13343 if test "$hardcode_action_FC" = relink ||
13344    test "$inherit_rpath_FC" = yes; then
13345   # Fast installation is not supported
13346   enable_fast_install=no
13347 elif test "$shlibpath_overrides_runpath" = yes ||
13348      test "$enable_shared" = no; then
13349   # Fast installation is not necessary
13350   enable_fast_install=needless
13351 fi
13352
13353
13354
13355
13356
13357
13358
13359   fi # test -n "$compiler"
13360
13361   CC="$lt_save_CC"
13362 fi # test "$_lt_disable_FC" != yes
13363
13364 ac_ext=c
13365 ac_cpp='$CPP $CPPFLAGS'
13366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13369
13370
13371
13372 # extra LD Flags which are required for targets
13373 case "${host}" in
13374   *-darwin*)
13375     # Darwin needs -single_module when linking libgfortran
13376     extra_ldflags_libgfortran=-Wl,-single_module
13377     ;;
13378 esac
13379
13380
13381 # We need a working compiler at that point, otherwise give a clear
13382 # error message and bail out.
13383
13384 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13385 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13386 ac_ext=${FC_SRCEXT-f}
13387 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13388 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13389 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13390
13391 cat >conftest.$ac_ext <<_ACEOF
13392
13393       program foo
13394       real, parameter :: bar = sin (12.34 / 2.5)
13395       end program foo
13396 _ACEOF
13397 rm -f conftest.$ac_objext
13398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13399   (eval $ac_compile) 2>conftest.er1
13400   ac_status=$?
13401   grep -v '^ *+' conftest.er1 >conftest.err
13402   rm -f conftest.er1
13403   cat conftest.err >&5
13404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405   (exit $ac_status); } &&
13406          { ac_try='test -z "$ac_fc_werror_flag"
13407                          || test ! -s conftest.err'
13408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409   (eval $ac_try) 2>&5
13410   ac_status=$?
13411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412   (exit $ac_status); }; } &&
13413          { ac_try='test -s conftest.$ac_objext'
13414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415   (eval $ac_try) 2>&5
13416   ac_status=$?
13417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418   (exit $ac_status); }; }; then
13419   echo "$as_me:$LINENO: result: yes" >&5
13420 echo "${ECHO_T}yes" >&6
13421 else
13422   echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.$ac_ext >&5
13424
13425 echo "$as_me:$LINENO: result: no" >&5
13426 echo "${ECHO_T}no" >&6
13427      { { 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
13428 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13429    { (exit 1); exit 1; }; }
13430
13431 fi
13432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13433 ac_ext=c
13434 ac_cpp='$CPP $CPPFLAGS'
13435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13438
13439
13440
13441 # Check whether --enable-largefile or --disable-largefile was given.
13442 if test "${enable_largefile+set}" = set; then
13443   enableval="$enable_largefile"
13444
13445 fi;
13446 if test "$enable_largefile" != no; then
13447
13448   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13449 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13450 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13451   echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453   ac_cv_sys_largefile_CC=no
13454      if test "$GCC" != yes; then
13455        ac_save_CC=$CC
13456        while :; do
13457          # IRIX 6.2 and later do not support large files by default,
13458          # so use the C compiler's -n32 option if that helps.
13459          cat >conftest.$ac_ext <<_ACEOF
13460 /* confdefs.h.  */
13461 _ACEOF
13462 cat confdefs.h >>conftest.$ac_ext
13463 cat >>conftest.$ac_ext <<_ACEOF
13464 /* end confdefs.h.  */
13465 #include <sys/types.h>
13466  /* Check that off_t can represent 2**63 - 1 correctly.
13467     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13468     since some C++ compilers masquerading as C compilers
13469     incorrectly reject 9223372036854775807.  */
13470 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13471   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13472                        && LARGE_OFF_T % 2147483647 == 1)
13473                       ? 1 : -1];
13474 int
13475 main ()
13476 {
13477
13478   ;
13479   return 0;
13480 }
13481 _ACEOF
13482          rm -f conftest.$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484   (eval $ac_compile) 2>conftest.er1
13485   ac_status=$?
13486   grep -v '^ *+' conftest.er1 >conftest.err
13487   rm -f conftest.er1
13488   cat conftest.err >&5
13489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490   (exit $ac_status); } &&
13491          { ac_try='test -z "$ac_c_werror_flag"
13492                          || test ! -s conftest.err'
13493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494   (eval $ac_try) 2>&5
13495   ac_status=$?
13496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497   (exit $ac_status); }; } &&
13498          { ac_try='test -s conftest.$ac_objext'
13499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13500   (eval $ac_try) 2>&5
13501   ac_status=$?
13502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503   (exit $ac_status); }; }; then
13504   break
13505 else
13506   echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13508
13509 fi
13510 rm -f conftest.err conftest.$ac_objext
13511          CC="$CC -n32"
13512          rm -f conftest.$ac_objext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13514   (eval $ac_compile) 2>conftest.er1
13515   ac_status=$?
13516   grep -v '^ *+' conftest.er1 >conftest.err
13517   rm -f conftest.er1
13518   cat conftest.err >&5
13519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520   (exit $ac_status); } &&
13521          { ac_try='test -z "$ac_c_werror_flag"
13522                          || test ! -s conftest.err'
13523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524   (eval $ac_try) 2>&5
13525   ac_status=$?
13526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527   (exit $ac_status); }; } &&
13528          { ac_try='test -s conftest.$ac_objext'
13529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530   (eval $ac_try) 2>&5
13531   ac_status=$?
13532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533   (exit $ac_status); }; }; then
13534   ac_cv_sys_largefile_CC=' -n32'; break
13535 else
13536   echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13538
13539 fi
13540 rm -f conftest.err conftest.$ac_objext
13541          break
13542        done
13543        CC=$ac_save_CC
13544        rm -f conftest.$ac_ext
13545     fi
13546 fi
13547 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13548 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13549   if test "$ac_cv_sys_largefile_CC" != no; then
13550     CC=$CC$ac_cv_sys_largefile_CC
13551   fi
13552
13553   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13556   echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13558   while :; do
13559   ac_cv_sys_file_offset_bits=no
13560   cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h.  */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h.  */
13566 #include <sys/types.h>
13567  /* Check that off_t can represent 2**63 - 1 correctly.
13568     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13569     since some C++ compilers masquerading as C compilers
13570     incorrectly reject 9223372036854775807.  */
13571 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13572   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13573                        && LARGE_OFF_T % 2147483647 == 1)
13574                       ? 1 : -1];
13575 int
13576 main ()
13577 {
13578
13579   ;
13580   return 0;
13581 }
13582 _ACEOF
13583 rm -f conftest.$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585   (eval $ac_compile) 2>conftest.er1
13586   ac_status=$?
13587   grep -v '^ *+' conftest.er1 >conftest.err
13588   rm -f conftest.er1
13589   cat conftest.err >&5
13590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591   (exit $ac_status); } &&
13592          { ac_try='test -z "$ac_c_werror_flag"
13593                          || test ! -s conftest.err'
13594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595   (eval $ac_try) 2>&5
13596   ac_status=$?
13597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598   (exit $ac_status); }; } &&
13599          { ac_try='test -s conftest.$ac_objext'
13600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601   (eval $ac_try) 2>&5
13602   ac_status=$?
13603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604   (exit $ac_status); }; }; then
13605   break
13606 else
13607   echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13609
13610 fi
13611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13612   cat >conftest.$ac_ext <<_ACEOF
13613 /* confdefs.h.  */
13614 _ACEOF
13615 cat confdefs.h >>conftest.$ac_ext
13616 cat >>conftest.$ac_ext <<_ACEOF
13617 /* end confdefs.h.  */
13618 #define _FILE_OFFSET_BITS 64
13619 #include <sys/types.h>
13620  /* Check that off_t can represent 2**63 - 1 correctly.
13621     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13622     since some C++ compilers masquerading as C compilers
13623     incorrectly reject 9223372036854775807.  */
13624 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13625   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13626                        && LARGE_OFF_T % 2147483647 == 1)
13627                       ? 1 : -1];
13628 int
13629 main ()
13630 {
13631
13632   ;
13633   return 0;
13634 }
13635 _ACEOF
13636 rm -f conftest.$ac_objext
13637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638   (eval $ac_compile) 2>conftest.er1
13639   ac_status=$?
13640   grep -v '^ *+' conftest.er1 >conftest.err
13641   rm -f conftest.er1
13642   cat conftest.err >&5
13643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644   (exit $ac_status); } &&
13645          { ac_try='test -z "$ac_c_werror_flag"
13646                          || test ! -s conftest.err'
13647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13648   (eval $ac_try) 2>&5
13649   ac_status=$?
13650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651   (exit $ac_status); }; } &&
13652          { ac_try='test -s conftest.$ac_objext'
13653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654   (eval $ac_try) 2>&5
13655   ac_status=$?
13656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657   (exit $ac_status); }; }; then
13658   ac_cv_sys_file_offset_bits=64; break
13659 else
13660   echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13662
13663 fi
13664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13665   break
13666 done
13667 fi
13668 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13669 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13670 if test "$ac_cv_sys_file_offset_bits" != no; then
13671
13672 cat >>confdefs.h <<_ACEOF
13673 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13674 _ACEOF
13675
13676 fi
13677 rm -f conftest*
13678   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13679 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13680 if test "${ac_cv_sys_large_files+set}" = set; then
13681   echo $ECHO_N "(cached) $ECHO_C" >&6
13682 else
13683   while :; do
13684   ac_cv_sys_large_files=no
13685   cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h.  */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h.  */
13691 #include <sys/types.h>
13692  /* Check that off_t can represent 2**63 - 1 correctly.
13693     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13694     since some C++ compilers masquerading as C compilers
13695     incorrectly reject 9223372036854775807.  */
13696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13697   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13698                        && LARGE_OFF_T % 2147483647 == 1)
13699                       ? 1 : -1];
13700 int
13701 main ()
13702 {
13703
13704   ;
13705   return 0;
13706 }
13707 _ACEOF
13708 rm -f conftest.$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710   (eval $ac_compile) 2>conftest.er1
13711   ac_status=$?
13712   grep -v '^ *+' conftest.er1 >conftest.err
13713   rm -f conftest.er1
13714   cat conftest.err >&5
13715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716   (exit $ac_status); } &&
13717          { ac_try='test -z "$ac_c_werror_flag"
13718                          || test ! -s conftest.err'
13719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720   (eval $ac_try) 2>&5
13721   ac_status=$?
13722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723   (exit $ac_status); }; } &&
13724          { ac_try='test -s conftest.$ac_objext'
13725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726   (eval $ac_try) 2>&5
13727   ac_status=$?
13728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729   (exit $ac_status); }; }; then
13730   break
13731 else
13732   echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13734
13735 fi
13736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13737   cat >conftest.$ac_ext <<_ACEOF
13738 /* confdefs.h.  */
13739 _ACEOF
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h.  */
13743 #define _LARGE_FILES 1
13744 #include <sys/types.h>
13745  /* Check that off_t can represent 2**63 - 1 correctly.
13746     We can't simply define LARGE_OFF_T to be 9223372036854775807,
13747     since some C++ compilers masquerading as C compilers
13748     incorrectly reject 9223372036854775807.  */
13749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13750   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13751                        && LARGE_OFF_T % 2147483647 == 1)
13752                       ? 1 : -1];
13753 int
13754 main ()
13755 {
13756
13757   ;
13758   return 0;
13759 }
13760 _ACEOF
13761 rm -f conftest.$ac_objext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13763   (eval $ac_compile) 2>conftest.er1
13764   ac_status=$?
13765   grep -v '^ *+' conftest.er1 >conftest.err
13766   rm -f conftest.er1
13767   cat conftest.err >&5
13768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769   (exit $ac_status); } &&
13770          { ac_try='test -z "$ac_c_werror_flag"
13771                          || test ! -s conftest.err'
13772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773   (eval $ac_try) 2>&5
13774   ac_status=$?
13775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776   (exit $ac_status); }; } &&
13777          { ac_try='test -s conftest.$ac_objext'
13778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779   (eval $ac_try) 2>&5
13780   ac_status=$?
13781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782   (exit $ac_status); }; }; then
13783   ac_cv_sys_large_files=1; break
13784 else
13785   echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13787
13788 fi
13789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13790   break
13791 done
13792 fi
13793 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13794 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13795 if test "$ac_cv_sys_large_files" != no; then
13796
13797 cat >>confdefs.h <<_ACEOF
13798 #define _LARGE_FILES $ac_cv_sys_large_files
13799 _ACEOF
13800
13801 fi
13802 rm -f conftest*
13803 fi
13804
13805 echo "$as_me:$LINENO: checking for off_t" >&5
13806 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13807 if test "${ac_cv_type_off_t+set}" = set; then
13808   echo $ECHO_N "(cached) $ECHO_C" >&6
13809 else
13810   cat >conftest.$ac_ext <<_ACEOF
13811 /* confdefs.h.  */
13812 _ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h.  */
13816 $ac_includes_default
13817 int
13818 main ()
13819 {
13820 if ((off_t *) 0)
13821   return 0;
13822 if (sizeof (off_t))
13823   return 0;
13824   ;
13825   return 0;
13826 }
13827 _ACEOF
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830   (eval $ac_compile) 2>conftest.er1
13831   ac_status=$?
13832   grep -v '^ *+' conftest.er1 >conftest.err
13833   rm -f conftest.er1
13834   cat conftest.err >&5
13835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836   (exit $ac_status); } &&
13837          { ac_try='test -z "$ac_c_werror_flag"
13838                          || test ! -s conftest.err'
13839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840   (eval $ac_try) 2>&5
13841   ac_status=$?
13842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843   (exit $ac_status); }; } &&
13844          { ac_try='test -s conftest.$ac_objext'
13845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846   (eval $ac_try) 2>&5
13847   ac_status=$?
13848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849   (exit $ac_status); }; }; then
13850   ac_cv_type_off_t=yes
13851 else
13852   echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 ac_cv_type_off_t=no
13856 fi
13857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13858 fi
13859 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13860 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13861 if test $ac_cv_type_off_t = yes; then
13862   :
13863 else
13864
13865 cat >>confdefs.h <<_ACEOF
13866 #define off_t long
13867 _ACEOF
13868
13869 fi
13870
13871
13872 # check header files
13873 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13874 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13875 if test "${ac_cv_header_stdc+set}" = set; then
13876   echo $ECHO_N "(cached) $ECHO_C" >&6
13877 else
13878   cat >conftest.$ac_ext <<_ACEOF
13879 /* confdefs.h.  */
13880 _ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h.  */
13884 #include <stdlib.h>
13885 #include <stdarg.h>
13886 #include <string.h>
13887 #include <float.h>
13888
13889 int
13890 main ()
13891 {
13892
13893   ;
13894   return 0;
13895 }
13896 _ACEOF
13897 rm -f conftest.$ac_objext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13899   (eval $ac_compile) 2>conftest.er1
13900   ac_status=$?
13901   grep -v '^ *+' conftest.er1 >conftest.err
13902   rm -f conftest.er1
13903   cat conftest.err >&5
13904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905   (exit $ac_status); } &&
13906          { ac_try='test -z "$ac_c_werror_flag"
13907                          || test ! -s conftest.err'
13908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909   (eval $ac_try) 2>&5
13910   ac_status=$?
13911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912   (exit $ac_status); }; } &&
13913          { ac_try='test -s conftest.$ac_objext'
13914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915   (eval $ac_try) 2>&5
13916   ac_status=$?
13917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918   (exit $ac_status); }; }; then
13919   ac_cv_header_stdc=yes
13920 else
13921   echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.$ac_ext >&5
13923
13924 ac_cv_header_stdc=no
13925 fi
13926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13927
13928 if test $ac_cv_header_stdc = yes; then
13929   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13930   cat >conftest.$ac_ext <<_ACEOF
13931 /* confdefs.h.  */
13932 _ACEOF
13933 cat confdefs.h >>conftest.$ac_ext
13934 cat >>conftest.$ac_ext <<_ACEOF
13935 /* end confdefs.h.  */
13936 #include <string.h>
13937
13938 _ACEOF
13939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13940   $EGREP "memchr" >/dev/null 2>&1; then
13941   :
13942 else
13943   ac_cv_header_stdc=no
13944 fi
13945 rm -f conftest*
13946
13947 fi
13948
13949 if test $ac_cv_header_stdc = yes; then
13950   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13951   cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h.  */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h.  */
13957 #include <stdlib.h>
13958
13959 _ACEOF
13960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13961   $EGREP "free" >/dev/null 2>&1; then
13962   :
13963 else
13964   ac_cv_header_stdc=no
13965 fi
13966 rm -f conftest*
13967
13968 fi
13969
13970 if test $ac_cv_header_stdc = yes; then
13971   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13972   if test "$cross_compiling" = yes; then
13973   :
13974 else
13975   cat >conftest.$ac_ext <<_ACEOF
13976 /* confdefs.h.  */
13977 _ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h.  */
13981 #include <ctype.h>
13982 #if ((' ' & 0x0FF) == 0x020)
13983 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13984 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13985 #else
13986 # define ISLOWER(c) \
13987                    (('a' <= (c) && (c) <= 'i') \
13988                      || ('j' <= (c) && (c) <= 'r') \
13989                      || ('s' <= (c) && (c) <= 'z'))
13990 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13991 #endif
13992
13993 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13994 int
13995 main ()
13996 {
13997   int i;
13998   for (i = 0; i < 256; i++)
13999     if (XOR (islower (i), ISLOWER (i))
14000         || toupper (i) != TOUPPER (i))
14001       exit(2);
14002   exit (0);
14003 }
14004 _ACEOF
14005 rm -f conftest$ac_exeext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14007   (eval $ac_link) 2>&5
14008   ac_status=$?
14009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012   (eval $ac_try) 2>&5
14013   ac_status=$?
14014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015   (exit $ac_status); }; }; then
14016   :
14017 else
14018   echo "$as_me: program exited with status $ac_status" >&5
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.$ac_ext >&5
14021
14022 ( exit $ac_status )
14023 ac_cv_header_stdc=no
14024 fi
14025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14026 fi
14027 fi
14028 fi
14029 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14030 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14031 if test $ac_cv_header_stdc = yes; then
14032
14033 cat >>confdefs.h <<\_ACEOF
14034 #define STDC_HEADERS 1
14035 _ACEOF
14036
14037 fi
14038
14039 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14040 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14041 if test "${ac_cv_header_time+set}" = set; then
14042   echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044   cat >conftest.$ac_ext <<_ACEOF
14045 /* confdefs.h.  */
14046 _ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h.  */
14050 #include <sys/types.h>
14051 #include <sys/time.h>
14052 #include <time.h>
14053
14054 int
14055 main ()
14056 {
14057 if ((struct tm *) 0)
14058 return 0;
14059   ;
14060   return 0;
14061 }
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065   (eval $ac_compile) 2>conftest.er1
14066   ac_status=$?
14067   grep -v '^ *+' conftest.er1 >conftest.err
14068   rm -f conftest.er1
14069   cat conftest.err >&5
14070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071   (exit $ac_status); } &&
14072          { ac_try='test -z "$ac_c_werror_flag"
14073                          || test ! -s conftest.err'
14074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075   (eval $ac_try) 2>&5
14076   ac_status=$?
14077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078   (exit $ac_status); }; } &&
14079          { ac_try='test -s conftest.$ac_objext'
14080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081   (eval $ac_try) 2>&5
14082   ac_status=$?
14083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084   (exit $ac_status); }; }; then
14085   ac_cv_header_time=yes
14086 else
14087   echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14089
14090 ac_cv_header_time=no
14091 fi
14092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14093 fi
14094 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14095 echo "${ECHO_T}$ac_cv_header_time" >&6
14096 if test $ac_cv_header_time = yes; then
14097
14098 cat >>confdefs.h <<\_ACEOF
14099 #define TIME_WITH_SYS_TIME 1
14100 _ACEOF
14101
14102 fi
14103
14104
14105
14106
14107
14108
14109
14110 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14111 do
14112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114   echo "$as_me:$LINENO: checking for $ac_header" >&5
14115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117   echo $ECHO_N "(cached) $ECHO_C" >&6
14118 fi
14119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14121 else
14122   # Is the header compilable?
14123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14125 cat >conftest.$ac_ext <<_ACEOF
14126 /* confdefs.h.  */
14127 _ACEOF
14128 cat confdefs.h >>conftest.$ac_ext
14129 cat >>conftest.$ac_ext <<_ACEOF
14130 /* end confdefs.h.  */
14131 $ac_includes_default
14132 #include <$ac_header>
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136   (eval $ac_compile) 2>conftest.er1
14137   ac_status=$?
14138   grep -v '^ *+' conftest.er1 >conftest.err
14139   rm -f conftest.er1
14140   cat conftest.err >&5
14141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142   (exit $ac_status); } &&
14143          { ac_try='test -z "$ac_c_werror_flag"
14144                          || test ! -s conftest.err'
14145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146   (eval $ac_try) 2>&5
14147   ac_status=$?
14148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149   (exit $ac_status); }; } &&
14150          { ac_try='test -s conftest.$ac_objext'
14151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152   (eval $ac_try) 2>&5
14153   ac_status=$?
14154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155   (exit $ac_status); }; }; then
14156   ac_header_compiler=yes
14157 else
14158   echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14160
14161 ac_header_compiler=no
14162 fi
14163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14165 echo "${ECHO_T}$ac_header_compiler" >&6
14166
14167 # Is the header present?
14168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14170 cat >conftest.$ac_ext <<_ACEOF
14171 /* confdefs.h.  */
14172 _ACEOF
14173 cat confdefs.h >>conftest.$ac_ext
14174 cat >>conftest.$ac_ext <<_ACEOF
14175 /* end confdefs.h.  */
14176 #include <$ac_header>
14177 _ACEOF
14178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14179   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14180   ac_status=$?
14181   grep -v '^ *+' conftest.er1 >conftest.err
14182   rm -f conftest.er1
14183   cat conftest.err >&5
14184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185   (exit $ac_status); } >/dev/null; then
14186   if test -s conftest.err; then
14187     ac_cpp_err=$ac_c_preproc_warn_flag
14188     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14189   else
14190     ac_cpp_err=
14191   fi
14192 else
14193   ac_cpp_err=yes
14194 fi
14195 if test -z "$ac_cpp_err"; then
14196   ac_header_preproc=yes
14197 else
14198   echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14200
14201   ac_header_preproc=no
14202 fi
14203 rm -f conftest.err conftest.$ac_ext
14204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14205 echo "${ECHO_T}$ac_header_preproc" >&6
14206
14207 # So?  What about this header?
14208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14209   yes:no: )
14210     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14214     ac_header_preproc=yes
14215     ;;
14216   no:yes:* )
14217     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14219     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14220 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14221     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14223     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14224 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14225     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14227     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14229     (
14230       cat <<\_ASBOX
14231 ## ------------------------------------------------------ ##
14232 ## Report this to the GNU Fortran Runtime Library lists.  ##
14233 ## ------------------------------------------------------ ##
14234 _ASBOX
14235     ) |
14236       sed "s/^/$as_me: WARNING:     /" >&2
14237     ;;
14238 esac
14239 echo "$as_me:$LINENO: checking for $ac_header" >&5
14240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14242   echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244   eval "$as_ac_Header=\$ac_header_preproc"
14245 fi
14246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14248
14249 fi
14250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14251   cat >>confdefs.h <<_ACEOF
14252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14253 _ACEOF
14254
14255 fi
14256
14257 done
14258
14259
14260
14261
14262
14263 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14264 do
14265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14267   echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14270   echo $ECHO_N "(cached) $ECHO_C" >&6
14271 fi
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 else
14275   # Is the header compilable?
14276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h.  */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h.  */
14284 $ac_includes_default
14285 #include <$ac_header>
14286 _ACEOF
14287 rm -f conftest.$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289   (eval $ac_compile) 2>conftest.er1
14290   ac_status=$?
14291   grep -v '^ *+' conftest.er1 >conftest.err
14292   rm -f conftest.er1
14293   cat conftest.err >&5
14294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295   (exit $ac_status); } &&
14296          { ac_try='test -z "$ac_c_werror_flag"
14297                          || test ! -s conftest.err'
14298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299   (eval $ac_try) 2>&5
14300   ac_status=$?
14301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302   (exit $ac_status); }; } &&
14303          { ac_try='test -s conftest.$ac_objext'
14304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305   (eval $ac_try) 2>&5
14306   ac_status=$?
14307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308   (exit $ac_status); }; }; then
14309   ac_header_compiler=yes
14310 else
14311   echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.$ac_ext >&5
14313
14314 ac_header_compiler=no
14315 fi
14316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14318 echo "${ECHO_T}$ac_header_compiler" >&6
14319
14320 # Is the header present?
14321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14323 cat >conftest.$ac_ext <<_ACEOF
14324 /* confdefs.h.  */
14325 _ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h.  */
14329 #include <$ac_header>
14330 _ACEOF
14331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14332   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14333   ac_status=$?
14334   grep -v '^ *+' conftest.er1 >conftest.err
14335   rm -f conftest.er1
14336   cat conftest.err >&5
14337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338   (exit $ac_status); } >/dev/null; then
14339   if test -s conftest.err; then
14340     ac_cpp_err=$ac_c_preproc_warn_flag
14341     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14342   else
14343     ac_cpp_err=
14344   fi
14345 else
14346   ac_cpp_err=yes
14347 fi
14348 if test -z "$ac_cpp_err"; then
14349   ac_header_preproc=yes
14350 else
14351   echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.$ac_ext >&5
14353
14354   ac_header_preproc=no
14355 fi
14356 rm -f conftest.err conftest.$ac_ext
14357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14358 echo "${ECHO_T}$ac_header_preproc" >&6
14359
14360 # So?  What about this header?
14361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14362   yes:no: )
14363     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14367     ac_header_preproc=yes
14368     ;;
14369   no:yes:* )
14370     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14372     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14373 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14374     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14376     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14377 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14378     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14380     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14382     (
14383       cat <<\_ASBOX
14384 ## ------------------------------------------------------ ##
14385 ## Report this to the GNU Fortran Runtime Library lists.  ##
14386 ## ------------------------------------------------------ ##
14387 _ASBOX
14388     ) |
14389       sed "s/^/$as_me: WARNING:     /" >&2
14390     ;;
14391 esac
14392 echo "$as_me:$LINENO: checking for $ac_header" >&5
14393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395   echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397   eval "$as_ac_Header=\$ac_header_preproc"
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
14402 fi
14403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14404   cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14406 _ACEOF
14407
14408 fi
14409
14410 done
14411
14412
14413
14414
14415
14416
14417 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14418 do
14419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421   echo "$as_me:$LINENO: checking for $ac_header" >&5
14422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14424   echo $ECHO_N "(cached) $ECHO_C" >&6
14425 fi
14426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14428 else
14429   # Is the header compilable?
14430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14432 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h.  */
14434 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h.  */
14438 $ac_includes_default
14439 #include <$ac_header>
14440 _ACEOF
14441 rm -f conftest.$ac_objext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14443   (eval $ac_compile) 2>conftest.er1
14444   ac_status=$?
14445   grep -v '^ *+' conftest.er1 >conftest.err
14446   rm -f conftest.er1
14447   cat conftest.err >&5
14448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449   (exit $ac_status); } &&
14450          { ac_try='test -z "$ac_c_werror_flag"
14451                          || test ! -s conftest.err'
14452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453   (eval $ac_try) 2>&5
14454   ac_status=$?
14455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456   (exit $ac_status); }; } &&
14457          { ac_try='test -s conftest.$ac_objext'
14458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459   (eval $ac_try) 2>&5
14460   ac_status=$?
14461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462   (exit $ac_status); }; }; then
14463   ac_header_compiler=yes
14464 else
14465   echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.$ac_ext >&5
14467
14468 ac_header_compiler=no
14469 fi
14470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14472 echo "${ECHO_T}$ac_header_compiler" >&6
14473
14474 # Is the header present?
14475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14477 cat >conftest.$ac_ext <<_ACEOF
14478 /* confdefs.h.  */
14479 _ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h.  */
14483 #include <$ac_header>
14484 _ACEOF
14485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14486   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14487   ac_status=$?
14488   grep -v '^ *+' conftest.er1 >conftest.err
14489   rm -f conftest.er1
14490   cat conftest.err >&5
14491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492   (exit $ac_status); } >/dev/null; then
14493   if test -s conftest.err; then
14494     ac_cpp_err=$ac_c_preproc_warn_flag
14495     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14496   else
14497     ac_cpp_err=
14498   fi
14499 else
14500   ac_cpp_err=yes
14501 fi
14502 if test -z "$ac_cpp_err"; then
14503   ac_header_preproc=yes
14504 else
14505   echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14507
14508   ac_header_preproc=no
14509 fi
14510 rm -f conftest.err conftest.$ac_ext
14511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14512 echo "${ECHO_T}$ac_header_preproc" >&6
14513
14514 # So?  What about this header?
14515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14516   yes:no: )
14517     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14519     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14521     ac_header_preproc=yes
14522     ;;
14523   no:yes:* )
14524     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14526     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14527 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14528     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14530     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14531 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14532     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14534     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14536     (
14537       cat <<\_ASBOX
14538 ## ------------------------------------------------------ ##
14539 ## Report this to the GNU Fortran Runtime Library lists.  ##
14540 ## ------------------------------------------------------ ##
14541 _ASBOX
14542     ) |
14543       sed "s/^/$as_me: WARNING:     /" >&2
14544     ;;
14545 esac
14546 echo "$as_me:$LINENO: checking for $ac_header" >&5
14547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14549   echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551   eval "$as_ac_Header=\$ac_header_preproc"
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
14556 fi
14557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14558   cat >>confdefs.h <<_ACEOF
14559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14560 _ACEOF
14561
14562 fi
14563
14564 done
14565
14566
14567
14568
14569
14570
14571 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14572 do
14573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14575   echo "$as_me:$LINENO: checking for $ac_header" >&5
14576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14578   echo $ECHO_N "(cached) $ECHO_C" >&6
14579 fi
14580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14582 else
14583   # Is the header compilable?
14584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h.  */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h.  */
14592 $ac_includes_default
14593 #include <$ac_header>
14594 _ACEOF
14595 rm -f conftest.$ac_objext
14596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14597   (eval $ac_compile) 2>conftest.er1
14598   ac_status=$?
14599   grep -v '^ *+' conftest.er1 >conftest.err
14600   rm -f conftest.er1
14601   cat conftest.err >&5
14602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603   (exit $ac_status); } &&
14604          { ac_try='test -z "$ac_c_werror_flag"
14605                          || test ! -s conftest.err'
14606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607   (eval $ac_try) 2>&5
14608   ac_status=$?
14609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610   (exit $ac_status); }; } &&
14611          { ac_try='test -s conftest.$ac_objext'
14612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613   (eval $ac_try) 2>&5
14614   ac_status=$?
14615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616   (exit $ac_status); }; }; then
14617   ac_header_compiler=yes
14618 else
14619   echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14621
14622 ac_header_compiler=no
14623 fi
14624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14626 echo "${ECHO_T}$ac_header_compiler" >&6
14627
14628 # Is the header present?
14629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h.  */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h.  */
14637 #include <$ac_header>
14638 _ACEOF
14639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14640   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14641   ac_status=$?
14642   grep -v '^ *+' conftest.er1 >conftest.err
14643   rm -f conftest.er1
14644   cat conftest.err >&5
14645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646   (exit $ac_status); } >/dev/null; then
14647   if test -s conftest.err; then
14648     ac_cpp_err=$ac_c_preproc_warn_flag
14649     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14650   else
14651     ac_cpp_err=
14652   fi
14653 else
14654   ac_cpp_err=yes
14655 fi
14656 if test -z "$ac_cpp_err"; then
14657   ac_header_preproc=yes
14658 else
14659   echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14661
14662   ac_header_preproc=no
14663 fi
14664 rm -f conftest.err conftest.$ac_ext
14665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14666 echo "${ECHO_T}$ac_header_preproc" >&6
14667
14668 # So?  What about this header?
14669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14670   yes:no: )
14671     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14673     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14675     ac_header_preproc=yes
14676     ;;
14677   no:yes:* )
14678     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14680     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14681 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14682     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14684     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14685 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14686     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14688     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14690     (
14691       cat <<\_ASBOX
14692 ## ------------------------------------------------------ ##
14693 ## Report this to the GNU Fortran Runtime Library lists.  ##
14694 ## ------------------------------------------------------ ##
14695 _ASBOX
14696     ) |
14697       sed "s/^/$as_me: WARNING:     /" >&2
14698     ;;
14699 esac
14700 echo "$as_me:$LINENO: checking for $ac_header" >&5
14701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14703   echo $ECHO_N "(cached) $ECHO_C" >&6
14704 else
14705   eval "$as_ac_Header=\$ac_header_preproc"
14706 fi
14707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14709
14710 fi
14711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14712   cat >>confdefs.h <<_ACEOF
14713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14714 _ACEOF
14715
14716 fi
14717
14718 done
14719
14720 if test "${ac_cv_header_complex_h+set}" = set; then
14721   echo "$as_me:$LINENO: checking for complex.h" >&5
14722 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14723 if test "${ac_cv_header_complex_h+set}" = set; then
14724   echo $ECHO_N "(cached) $ECHO_C" >&6
14725 fi
14726 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14727 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14728 else
14729   # Is the header compilable?
14730 echo "$as_me:$LINENO: checking complex.h usability" >&5
14731 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14732 cat >conftest.$ac_ext <<_ACEOF
14733 /* confdefs.h.  */
14734 _ACEOF
14735 cat confdefs.h >>conftest.$ac_ext
14736 cat >>conftest.$ac_ext <<_ACEOF
14737 /* end confdefs.h.  */
14738 $ac_includes_default
14739 #include <complex.h>
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743   (eval $ac_compile) 2>conftest.er1
14744   ac_status=$?
14745   grep -v '^ *+' conftest.er1 >conftest.err
14746   rm -f conftest.er1
14747   cat conftest.err >&5
14748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749   (exit $ac_status); } &&
14750          { ac_try='test -z "$ac_c_werror_flag"
14751                          || test ! -s conftest.err'
14752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753   (eval $ac_try) 2>&5
14754   ac_status=$?
14755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756   (exit $ac_status); }; } &&
14757          { ac_try='test -s conftest.$ac_objext'
14758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759   (eval $ac_try) 2>&5
14760   ac_status=$?
14761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762   (exit $ac_status); }; }; then
14763   ac_header_compiler=yes
14764 else
14765   echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14767
14768 ac_header_compiler=no
14769 fi
14770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14772 echo "${ECHO_T}$ac_header_compiler" >&6
14773
14774 # Is the header present?
14775 echo "$as_me:$LINENO: checking complex.h presence" >&5
14776 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14777 cat >conftest.$ac_ext <<_ACEOF
14778 /* confdefs.h.  */
14779 _ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h.  */
14783 #include <complex.h>
14784 _ACEOF
14785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14786   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14787   ac_status=$?
14788   grep -v '^ *+' conftest.er1 >conftest.err
14789   rm -f conftest.er1
14790   cat conftest.err >&5
14791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792   (exit $ac_status); } >/dev/null; then
14793   if test -s conftest.err; then
14794     ac_cpp_err=$ac_c_preproc_warn_flag
14795     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14796   else
14797     ac_cpp_err=
14798   fi
14799 else
14800   ac_cpp_err=yes
14801 fi
14802 if test -z "$ac_cpp_err"; then
14803   ac_header_preproc=yes
14804 else
14805   echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.$ac_ext >&5
14807
14808   ac_header_preproc=no
14809 fi
14810 rm -f conftest.err conftest.$ac_ext
14811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14812 echo "${ECHO_T}$ac_header_preproc" >&6
14813
14814 # So?  What about this header?
14815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14816   yes:no: )
14817     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14818 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14819     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14820 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14821     ac_header_preproc=yes
14822     ;;
14823   no:yes:* )
14824     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14825 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14826     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
14827 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
14828     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14829 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14830     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
14831 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
14832     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14833 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14834     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14835 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14836     (
14837       cat <<\_ASBOX
14838 ## ------------------------------------------------------ ##
14839 ## Report this to the GNU Fortran Runtime Library lists.  ##
14840 ## ------------------------------------------------------ ##
14841 _ASBOX
14842     ) |
14843       sed "s/^/$as_me: WARNING:     /" >&2
14844     ;;
14845 esac
14846 echo "$as_me:$LINENO: checking for complex.h" >&5
14847 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14848 if test "${ac_cv_header_complex_h+set}" = set; then
14849   echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851   ac_cv_header_complex_h=$ac_header_preproc
14852 fi
14853 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14854 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14855
14856 fi
14857 if test $ac_cv_header_complex_h = yes; then
14858
14859 cat >>confdefs.h <<\_ACEOF
14860 #define HAVE_COMPLEX_H 1
14861 _ACEOF
14862
14863 fi
14864
14865
14866
14867
14868 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
14869
14870 acx_cv_header_stdint=stddef.h
14871 acx_cv_header_stdint_kind="(already complete)"
14872 for i in stdint.h $inttype_headers; do
14873   unset ac_cv_type_uintptr_t
14874   unset ac_cv_type_uintmax_t
14875   unset ac_cv_type_int_least32_t
14876   unset ac_cv_type_int_fast32_t
14877   unset ac_cv_type_uint64_t
14878   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14879   echo "$as_me:$LINENO: checking for uintmax_t" >&5
14880 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14881 if test "${ac_cv_type_uintmax_t+set}" = set; then
14882   echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884   cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h.  */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h.  */
14890 #include <sys/types.h>
14891 #include <$i>
14892
14893 int
14894 main ()
14895 {
14896 if ((uintmax_t *) 0)
14897   return 0;
14898 if (sizeof (uintmax_t))
14899   return 0;
14900   ;
14901   return 0;
14902 }
14903 _ACEOF
14904 rm -f conftest.$ac_objext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14906   (eval $ac_compile) 2>conftest.er1
14907   ac_status=$?
14908   grep -v '^ *+' conftest.er1 >conftest.err
14909   rm -f conftest.er1
14910   cat conftest.err >&5
14911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912   (exit $ac_status); } &&
14913          { ac_try='test -z "$ac_c_werror_flag"
14914                          || test ! -s conftest.err'
14915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916   (eval $ac_try) 2>&5
14917   ac_status=$?
14918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919   (exit $ac_status); }; } &&
14920          { ac_try='test -s conftest.$ac_objext'
14921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922   (eval $ac_try) 2>&5
14923   ac_status=$?
14924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925   (exit $ac_status); }; }; then
14926   ac_cv_type_uintmax_t=yes
14927 else
14928   echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14930
14931 ac_cv_type_uintmax_t=no
14932 fi
14933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14934 fi
14935 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14936 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14937 if test $ac_cv_type_uintmax_t = yes; then
14938   acx_cv_header_stdint=$i
14939 else
14940   continue
14941 fi
14942
14943   echo "$as_me:$LINENO: checking for uintptr_t" >&5
14944 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14945 if test "${ac_cv_type_uintptr_t+set}" = set; then
14946   echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948   cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h.  */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h.  */
14954 #include <sys/types.h>
14955 #include <$i>
14956
14957 int
14958 main ()
14959 {
14960 if ((uintptr_t *) 0)
14961   return 0;
14962 if (sizeof (uintptr_t))
14963   return 0;
14964   ;
14965   return 0;
14966 }
14967 _ACEOF
14968 rm -f conftest.$ac_objext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970   (eval $ac_compile) 2>conftest.er1
14971   ac_status=$?
14972   grep -v '^ *+' conftest.er1 >conftest.err
14973   rm -f conftest.er1
14974   cat conftest.err >&5
14975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976   (exit $ac_status); } &&
14977          { ac_try='test -z "$ac_c_werror_flag"
14978                          || test ! -s conftest.err'
14979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980   (eval $ac_try) 2>&5
14981   ac_status=$?
14982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983   (exit $ac_status); }; } &&
14984          { ac_try='test -s conftest.$ac_objext'
14985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986   (eval $ac_try) 2>&5
14987   ac_status=$?
14988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989   (exit $ac_status); }; }; then
14990   ac_cv_type_uintptr_t=yes
14991 else
14992   echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.$ac_ext >&5
14994
14995 ac_cv_type_uintptr_t=no
14996 fi
14997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14998 fi
14999 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15000 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15001 if test $ac_cv_type_uintptr_t = yes; then
15002   :
15003 else
15004   acx_cv_header_stdint_kind="(mostly complete)"
15005 fi
15006
15007   echo "$as_me:$LINENO: checking for int_least32_t" >&5
15008 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15009 if test "${ac_cv_type_int_least32_t+set}" = set; then
15010   echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012   cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h.  */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h.  */
15018 #include <sys/types.h>
15019 #include <$i>
15020
15021 int
15022 main ()
15023 {
15024 if ((int_least32_t *) 0)
15025   return 0;
15026 if (sizeof (int_least32_t))
15027   return 0;
15028   ;
15029   return 0;
15030 }
15031 _ACEOF
15032 rm -f conftest.$ac_objext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034   (eval $ac_compile) 2>conftest.er1
15035   ac_status=$?
15036   grep -v '^ *+' conftest.er1 >conftest.err
15037   rm -f conftest.er1
15038   cat conftest.err >&5
15039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040   (exit $ac_status); } &&
15041          { ac_try='test -z "$ac_c_werror_flag"
15042                          || test ! -s conftest.err'
15043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044   (eval $ac_try) 2>&5
15045   ac_status=$?
15046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047   (exit $ac_status); }; } &&
15048          { ac_try='test -s conftest.$ac_objext'
15049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050   (eval $ac_try) 2>&5
15051   ac_status=$?
15052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053   (exit $ac_status); }; }; then
15054   ac_cv_type_int_least32_t=yes
15055 else
15056   echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15058
15059 ac_cv_type_int_least32_t=no
15060 fi
15061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15062 fi
15063 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15064 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15065 if test $ac_cv_type_int_least32_t = yes; then
15066   :
15067 else
15068   acx_cv_header_stdint_kind="(mostly complete)"
15069 fi
15070
15071   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15072 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15073 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15074   echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076   cat >conftest.$ac_ext <<_ACEOF
15077 /* confdefs.h.  */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h.  */
15082 #include <sys/types.h>
15083 #include <$i>
15084
15085 int
15086 main ()
15087 {
15088 if ((int_fast32_t *) 0)
15089   return 0;
15090 if (sizeof (int_fast32_t))
15091   return 0;
15092   ;
15093   return 0;
15094 }
15095 _ACEOF
15096 rm -f conftest.$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098   (eval $ac_compile) 2>conftest.er1
15099   ac_status=$?
15100   grep -v '^ *+' conftest.er1 >conftest.err
15101   rm -f conftest.er1
15102   cat conftest.err >&5
15103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104   (exit $ac_status); } &&
15105          { ac_try='test -z "$ac_c_werror_flag"
15106                          || test ! -s conftest.err'
15107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108   (eval $ac_try) 2>&5
15109   ac_status=$?
15110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111   (exit $ac_status); }; } &&
15112          { ac_try='test -s conftest.$ac_objext'
15113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114   (eval $ac_try) 2>&5
15115   ac_status=$?
15116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117   (exit $ac_status); }; }; then
15118   ac_cv_type_int_fast32_t=yes
15119 else
15120   echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15122
15123 ac_cv_type_int_fast32_t=no
15124 fi
15125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15126 fi
15127 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15128 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15129 if test $ac_cv_type_int_fast32_t = yes; then
15130   :
15131 else
15132   acx_cv_header_stdint_kind="(mostly complete)"
15133 fi
15134
15135   echo "$as_me:$LINENO: checking for uint64_t" >&5
15136 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15137 if test "${ac_cv_type_uint64_t+set}" = set; then
15138   echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140   cat >conftest.$ac_ext <<_ACEOF
15141 /* confdefs.h.  */
15142 _ACEOF
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h.  */
15146 #include <sys/types.h>
15147 #include <$i>
15148
15149 int
15150 main ()
15151 {
15152 if ((uint64_t *) 0)
15153   return 0;
15154 if (sizeof (uint64_t))
15155   return 0;
15156   ;
15157   return 0;
15158 }
15159 _ACEOF
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162   (eval $ac_compile) 2>conftest.er1
15163   ac_status=$?
15164   grep -v '^ *+' conftest.er1 >conftest.err
15165   rm -f conftest.er1
15166   cat conftest.err >&5
15167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168   (exit $ac_status); } &&
15169          { ac_try='test -z "$ac_c_werror_flag"
15170                          || test ! -s conftest.err'
15171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172   (eval $ac_try) 2>&5
15173   ac_status=$?
15174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175   (exit $ac_status); }; } &&
15176          { ac_try='test -s conftest.$ac_objext'
15177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178   (eval $ac_try) 2>&5
15179   ac_status=$?
15180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181   (exit $ac_status); }; }; then
15182   ac_cv_type_uint64_t=yes
15183 else
15184   echo "$as_me: failed program was:" >&5
15185 sed 's/^/| /' conftest.$ac_ext >&5
15186
15187 ac_cv_type_uint64_t=no
15188 fi
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15190 fi
15191 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15192 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15193 if test $ac_cv_type_uint64_t = yes; then
15194   :
15195 else
15196   acx_cv_header_stdint_kind="(lacks uint64_t)"
15197 fi
15198
15199   break
15200 done
15201 if test "$acx_cv_header_stdint" = stddef.h; then
15202   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15203   for i in stdint.h $inttype_headers; do
15204     unset ac_cv_type_uintptr_t
15205     unset ac_cv_type_uint32_t
15206     unset ac_cv_type_uint64_t
15207     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15208     echo "$as_me:$LINENO: checking for uint32_t" >&5
15209 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15210 if test "${ac_cv_type_uint32_t+set}" = set; then
15211   echo $ECHO_N "(cached) $ECHO_C" >&6
15212 else
15213   cat >conftest.$ac_ext <<_ACEOF
15214 /* confdefs.h.  */
15215 _ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h.  */
15219 #include <sys/types.h>
15220 #include <$i>
15221
15222 int
15223 main ()
15224 {
15225 if ((uint32_t *) 0)
15226   return 0;
15227 if (sizeof (uint32_t))
15228   return 0;
15229   ;
15230   return 0;
15231 }
15232 _ACEOF
15233 rm -f conftest.$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235   (eval $ac_compile) 2>conftest.er1
15236   ac_status=$?
15237   grep -v '^ *+' conftest.er1 >conftest.err
15238   rm -f conftest.er1
15239   cat conftest.err >&5
15240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241   (exit $ac_status); } &&
15242          { ac_try='test -z "$ac_c_werror_flag"
15243                          || test ! -s conftest.err'
15244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245   (eval $ac_try) 2>&5
15246   ac_status=$?
15247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248   (exit $ac_status); }; } &&
15249          { ac_try='test -s conftest.$ac_objext'
15250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251   (eval $ac_try) 2>&5
15252   ac_status=$?
15253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254   (exit $ac_status); }; }; then
15255   ac_cv_type_uint32_t=yes
15256 else
15257   echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15259
15260 ac_cv_type_uint32_t=no
15261 fi
15262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15263 fi
15264 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15265 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15266 if test $ac_cv_type_uint32_t = yes; then
15267   acx_cv_header_stdint=$i
15268 else
15269   continue
15270 fi
15271
15272     echo "$as_me:$LINENO: checking for uint64_t" >&5
15273 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15274 if test "${ac_cv_type_uint64_t+set}" = set; then
15275   echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277   cat >conftest.$ac_ext <<_ACEOF
15278 /* confdefs.h.  */
15279 _ACEOF
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h.  */
15283 #include <sys/types.h>
15284 #include <$i>
15285
15286 int
15287 main ()
15288 {
15289 if ((uint64_t *) 0)
15290   return 0;
15291 if (sizeof (uint64_t))
15292   return 0;
15293   ;
15294   return 0;
15295 }
15296 _ACEOF
15297 rm -f conftest.$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299   (eval $ac_compile) 2>conftest.er1
15300   ac_status=$?
15301   grep -v '^ *+' conftest.er1 >conftest.err
15302   rm -f conftest.er1
15303   cat conftest.err >&5
15304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305   (exit $ac_status); } &&
15306          { ac_try='test -z "$ac_c_werror_flag"
15307                          || test ! -s conftest.err'
15308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309   (eval $ac_try) 2>&5
15310   ac_status=$?
15311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312   (exit $ac_status); }; } &&
15313          { ac_try='test -s conftest.$ac_objext'
15314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315   (eval $ac_try) 2>&5
15316   ac_status=$?
15317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318   (exit $ac_status); }; }; then
15319   ac_cv_type_uint64_t=yes
15320 else
15321   echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15323
15324 ac_cv_type_uint64_t=no
15325 fi
15326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15327 fi
15328 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15329 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15330
15331     echo "$as_me:$LINENO: checking for uintptr_t" >&5
15332 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15333 if test "${ac_cv_type_uintptr_t+set}" = set; then
15334   echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336   cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h.  */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h.  */
15342 #include <sys/types.h>
15343 #include <$i>
15344
15345 int
15346 main ()
15347 {
15348 if ((uintptr_t *) 0)
15349   return 0;
15350 if (sizeof (uintptr_t))
15351   return 0;
15352   ;
15353   return 0;
15354 }
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358   (eval $ac_compile) 2>conftest.er1
15359   ac_status=$?
15360   grep -v '^ *+' conftest.er1 >conftest.err
15361   rm -f conftest.er1
15362   cat conftest.err >&5
15363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364   (exit $ac_status); } &&
15365          { ac_try='test -z "$ac_c_werror_flag"
15366                          || test ! -s conftest.err'
15367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368   (eval $ac_try) 2>&5
15369   ac_status=$?
15370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371   (exit $ac_status); }; } &&
15372          { ac_try='test -s conftest.$ac_objext'
15373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374   (eval $ac_try) 2>&5
15375   ac_status=$?
15376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377   (exit $ac_status); }; }; then
15378   ac_cv_type_uintptr_t=yes
15379 else
15380   echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15382
15383 ac_cv_type_uintptr_t=no
15384 fi
15385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15386 fi
15387 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15388 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15389
15390     break
15391   done
15392 fi
15393 if test "$acx_cv_header_stdint" = stddef.h; then
15394   acx_cv_header_stdint_kind="(u_intXX_t style)"
15395   for i in sys/types.h $inttype_headers; do
15396     unset ac_cv_type_u_int32_t
15397     unset ac_cv_type_u_int64_t
15398     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15399     echo "$as_me:$LINENO: checking for u_int32_t" >&5
15400 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15401 if test "${ac_cv_type_u_int32_t+set}" = set; then
15402   echo $ECHO_N "(cached) $ECHO_C" >&6
15403 else
15404   cat >conftest.$ac_ext <<_ACEOF
15405 /* confdefs.h.  */
15406 _ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h.  */
15410 #include <sys/types.h>
15411 #include <$i>
15412
15413 int
15414 main ()
15415 {
15416 if ((u_int32_t *) 0)
15417   return 0;
15418 if (sizeof (u_int32_t))
15419   return 0;
15420   ;
15421   return 0;
15422 }
15423 _ACEOF
15424 rm -f conftest.$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426   (eval $ac_compile) 2>conftest.er1
15427   ac_status=$?
15428   grep -v '^ *+' conftest.er1 >conftest.err
15429   rm -f conftest.er1
15430   cat conftest.err >&5
15431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432   (exit $ac_status); } &&
15433          { ac_try='test -z "$ac_c_werror_flag"
15434                          || test ! -s conftest.err'
15435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436   (eval $ac_try) 2>&5
15437   ac_status=$?
15438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439   (exit $ac_status); }; } &&
15440          { ac_try='test -s conftest.$ac_objext'
15441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442   (eval $ac_try) 2>&5
15443   ac_status=$?
15444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445   (exit $ac_status); }; }; then
15446   ac_cv_type_u_int32_t=yes
15447 else
15448   echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451 ac_cv_type_u_int32_t=no
15452 fi
15453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15456 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15457 if test $ac_cv_type_u_int32_t = yes; then
15458   acx_cv_header_stdint=$i
15459 else
15460   continue
15461 fi
15462
15463     echo "$as_me:$LINENO: checking for u_int64_t" >&5
15464 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15465 if test "${ac_cv_type_u_int64_t+set}" = set; then
15466   echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468   cat >conftest.$ac_ext <<_ACEOF
15469 /* confdefs.h.  */
15470 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h.  */
15474 #include <sys/types.h>
15475 #include <$i>
15476
15477 int
15478 main ()
15479 {
15480 if ((u_int64_t *) 0)
15481   return 0;
15482 if (sizeof (u_int64_t))
15483   return 0;
15484   ;
15485   return 0;
15486 }
15487 _ACEOF
15488 rm -f conftest.$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490   (eval $ac_compile) 2>conftest.er1
15491   ac_status=$?
15492   grep -v '^ *+' conftest.er1 >conftest.err
15493   rm -f conftest.er1
15494   cat conftest.err >&5
15495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496   (exit $ac_status); } &&
15497          { ac_try='test -z "$ac_c_werror_flag"
15498                          || test ! -s conftest.err'
15499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500   (eval $ac_try) 2>&5
15501   ac_status=$?
15502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503   (exit $ac_status); }; } &&
15504          { ac_try='test -s conftest.$ac_objext'
15505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506   (eval $ac_try) 2>&5
15507   ac_status=$?
15508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509   (exit $ac_status); }; }; then
15510   ac_cv_type_u_int64_t=yes
15511 else
15512   echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15514
15515 ac_cv_type_u_int64_t=no
15516 fi
15517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15518 fi
15519 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15520 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15521
15522     break
15523   done
15524 fi
15525 if test "$acx_cv_header_stdint" = stddef.h; then
15526   acx_cv_header_stdint_kind="(using manual detection)"
15527 fi
15528
15529 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15530 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15531 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15532 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15533 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15534
15535 # ----------------- Summarize what we found so far
15536
15537 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15538 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15539
15540 case `$as_basename gstdint.h ||
15541 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15542          Xgstdint.h : 'X\(//\)$' \| \
15543          Xgstdint.h : 'X\(/\)$' \| \
15544          .     : '\(.\)' 2>/dev/null ||
15545 echo X/gstdint.h |
15546     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15547           /^X\/\(\/\/\)$/{ s//\1/; q; }
15548           /^X\/\(\/\).*/{ s//\1/; q; }
15549           s/.*/./; q'` in
15550   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15551 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15552   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15553 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15554   *) ;;
15555 esac
15556
15557 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15558 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15559
15560 # ----------------- done included file, check C basic types --------
15561
15562 # Lacking an uintptr_t?  Test size of void *
15563 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15564   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15565 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15566 if test "${ac_cv_type_void_p+set}" = set; then
15567   echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569   cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h.  */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h.  */
15575 $ac_includes_default
15576 int
15577 main ()
15578 {
15579 if ((void * *) 0)
15580   return 0;
15581 if (sizeof (void *))
15582   return 0;
15583   ;
15584   return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589   (eval $ac_compile) 2>conftest.er1
15590   ac_status=$?
15591   grep -v '^ *+' conftest.er1 >conftest.err
15592   rm -f conftest.er1
15593   cat conftest.err >&5
15594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595   (exit $ac_status); } &&
15596          { ac_try='test -z "$ac_c_werror_flag"
15597                          || test ! -s conftest.err'
15598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599   (eval $ac_try) 2>&5
15600   ac_status=$?
15601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602   (exit $ac_status); }; } &&
15603          { ac_try='test -s conftest.$ac_objext'
15604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605   (eval $ac_try) 2>&5
15606   ac_status=$?
15607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608   (exit $ac_status); }; }; then
15609   ac_cv_type_void_p=yes
15610 else
15611   echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15613
15614 ac_cv_type_void_p=no
15615 fi
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 fi
15618 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15619 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15620
15621 echo "$as_me:$LINENO: checking size of void *" >&5
15622 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15623 if test "${ac_cv_sizeof_void_p+set}" = set; then
15624   echo $ECHO_N "(cached) $ECHO_C" >&6
15625 else
15626   if test "$ac_cv_type_void_p" = yes; then
15627   # The cast to unsigned long works around a bug in the HP C Compiler
15628   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15629   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15630   # This bug is HP SR number 8606223364.
15631   if test "$cross_compiling" = yes; then
15632   # Depending upon the size, compute the lo and hi bounds.
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h.  */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h.  */
15639 $ac_includes_default
15640 int
15641 main ()
15642 {
15643 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15644 test_array [0] = 0
15645
15646   ;
15647   return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15652   (eval $ac_compile) 2>conftest.er1
15653   ac_status=$?
15654   grep -v '^ *+' conftest.er1 >conftest.err
15655   rm -f conftest.er1
15656   cat conftest.err >&5
15657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658   (exit $ac_status); } &&
15659          { ac_try='test -z "$ac_c_werror_flag"
15660                          || test ! -s conftest.err'
15661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662   (eval $ac_try) 2>&5
15663   ac_status=$?
15664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665   (exit $ac_status); }; } &&
15666          { ac_try='test -s conftest.$ac_objext'
15667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668   (eval $ac_try) 2>&5
15669   ac_status=$?
15670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671   (exit $ac_status); }; }; then
15672   ac_lo=0 ac_mid=0
15673   while :; do
15674     cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h.  */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h.  */
15680 $ac_includes_default
15681 int
15682 main ()
15683 {
15684 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15685 test_array [0] = 0
15686
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693   (eval $ac_compile) 2>conftest.er1
15694   ac_status=$?
15695   grep -v '^ *+' conftest.er1 >conftest.err
15696   rm -f conftest.er1
15697   cat conftest.err >&5
15698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699   (exit $ac_status); } &&
15700          { ac_try='test -z "$ac_c_werror_flag"
15701                          || test ! -s conftest.err'
15702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703   (eval $ac_try) 2>&5
15704   ac_status=$?
15705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706   (exit $ac_status); }; } &&
15707          { ac_try='test -s conftest.$ac_objext'
15708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709   (eval $ac_try) 2>&5
15710   ac_status=$?
15711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712   (exit $ac_status); }; }; then
15713   ac_hi=$ac_mid; break
15714 else
15715   echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15717
15718 ac_lo=`expr $ac_mid + 1`
15719                     if test $ac_lo -le $ac_mid; then
15720                       ac_lo= ac_hi=
15721                       break
15722                     fi
15723                     ac_mid=`expr 2 '*' $ac_mid + 1`
15724 fi
15725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726   done
15727 else
15728   echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15730
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h.  */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h.  */
15737 $ac_includes_default
15738 int
15739 main ()
15740 {
15741 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15742 test_array [0] = 0
15743
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750   (eval $ac_compile) 2>conftest.er1
15751   ac_status=$?
15752   grep -v '^ *+' conftest.er1 >conftest.err
15753   rm -f conftest.er1
15754   cat conftest.err >&5
15755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756   (exit $ac_status); } &&
15757          { ac_try='test -z "$ac_c_werror_flag"
15758                          || test ! -s conftest.err'
15759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760   (eval $ac_try) 2>&5
15761   ac_status=$?
15762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763   (exit $ac_status); }; } &&
15764          { ac_try='test -s conftest.$ac_objext'
15765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766   (eval $ac_try) 2>&5
15767   ac_status=$?
15768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769   (exit $ac_status); }; }; then
15770   ac_hi=-1 ac_mid=-1
15771   while :; do
15772     cat >conftest.$ac_ext <<_ACEOF
15773 /* confdefs.h.  */
15774 _ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h.  */
15778 $ac_includes_default
15779 int
15780 main ()
15781 {
15782 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15783 test_array [0] = 0
15784
15785   ;
15786   return 0;
15787 }
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791   (eval $ac_compile) 2>conftest.er1
15792   ac_status=$?
15793   grep -v '^ *+' conftest.er1 >conftest.err
15794   rm -f conftest.er1
15795   cat conftest.err >&5
15796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797   (exit $ac_status); } &&
15798          { ac_try='test -z "$ac_c_werror_flag"
15799                          || test ! -s conftest.err'
15800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801   (eval $ac_try) 2>&5
15802   ac_status=$?
15803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804   (exit $ac_status); }; } &&
15805          { ac_try='test -s conftest.$ac_objext'
15806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807   (eval $ac_try) 2>&5
15808   ac_status=$?
15809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810   (exit $ac_status); }; }; then
15811   ac_lo=$ac_mid; break
15812 else
15813   echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15815
15816 ac_hi=`expr '(' $ac_mid ')' - 1`
15817                        if test $ac_mid -le $ac_hi; then
15818                          ac_lo= ac_hi=
15819                          break
15820                        fi
15821                        ac_mid=`expr 2 '*' $ac_mid`
15822 fi
15823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15824   done
15825 else
15826   echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.$ac_ext >&5
15828
15829 ac_lo= ac_hi=
15830 fi
15831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15832 fi
15833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15834 # Binary search between lo and hi bounds.
15835 while test "x$ac_lo" != "x$ac_hi"; do
15836   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15837   cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h.  */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h.  */
15843 $ac_includes_default
15844 int
15845 main ()
15846 {
15847 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15848 test_array [0] = 0
15849
15850   ;
15851   return 0;
15852 }
15853 _ACEOF
15854 rm -f conftest.$ac_objext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15856   (eval $ac_compile) 2>conftest.er1
15857   ac_status=$?
15858   grep -v '^ *+' conftest.er1 >conftest.err
15859   rm -f conftest.er1
15860   cat conftest.err >&5
15861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862   (exit $ac_status); } &&
15863          { ac_try='test -z "$ac_c_werror_flag"
15864                          || test ! -s conftest.err'
15865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866   (eval $ac_try) 2>&5
15867   ac_status=$?
15868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869   (exit $ac_status); }; } &&
15870          { ac_try='test -s conftest.$ac_objext'
15871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872   (eval $ac_try) 2>&5
15873   ac_status=$?
15874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875   (exit $ac_status); }; }; then
15876   ac_hi=$ac_mid
15877 else
15878   echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 ac_lo=`expr '(' $ac_mid ')' + 1`
15882 fi
15883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15884 done
15885 case $ac_lo in
15886 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15888 See \`config.log' for more details." >&5
15889 echo "$as_me: error: cannot compute sizeof (void *), 77
15890 See \`config.log' for more details." >&2;}
15891    { (exit 1); exit 1; }; } ;;
15892 esac
15893 else
15894   if test "$cross_compiling" = yes; then
15895   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15896 See \`config.log' for more details." >&5
15897 echo "$as_me: error: cannot run test program while cross compiling
15898 See \`config.log' for more details." >&2;}
15899    { (exit 1); exit 1; }; }
15900 else
15901   cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h.  */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h.  */
15907 $ac_includes_default
15908 long longval () { return (long) (sizeof (void *)); }
15909 unsigned long ulongval () { return (long) (sizeof (void *)); }
15910 #include <stdio.h>
15911 #include <stdlib.h>
15912 int
15913 main ()
15914 {
15915
15916   FILE *f = fopen ("conftest.val", "w");
15917   if (! f)
15918     exit (1);
15919   if (((long) (sizeof (void *))) < 0)
15920     {
15921       long i = longval ();
15922       if (i != ((long) (sizeof (void *))))
15923         exit (1);
15924       fprintf (f, "%ld\n", i);
15925     }
15926   else
15927     {
15928       unsigned long i = ulongval ();
15929       if (i != ((long) (sizeof (void *))))
15930         exit (1);
15931       fprintf (f, "%lu\n", i);
15932     }
15933   exit (ferror (f) || fclose (f) != 0);
15934
15935   ;
15936   return 0;
15937 }
15938 _ACEOF
15939 rm -f conftest$ac_exeext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15941   (eval $ac_link) 2>&5
15942   ac_status=$?
15943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946   (eval $ac_try) 2>&5
15947   ac_status=$?
15948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949   (exit $ac_status); }; }; then
15950   ac_cv_sizeof_void_p=`cat conftest.val`
15951 else
15952   echo "$as_me: program exited with status $ac_status" >&5
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15955
15956 ( exit $ac_status )
15957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (void *), 77
15960 See \`config.log' for more details." >&2;}
15961    { (exit 1); exit 1; }; }
15962 fi
15963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15964 fi
15965 fi
15966 rm -f conftest.val
15967 else
15968   ac_cv_sizeof_void_p=0
15969 fi
15970 fi
15971 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15972 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15973 cat >>confdefs.h <<_ACEOF
15974 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15975 _ACEOF
15976
15977  ;;
15978 esac
15979
15980 # Lacking an uint64_t?  Test size of long
15981 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15982   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15983 echo $ECHO_N "checking for long... $ECHO_C" >&6
15984 if test "${ac_cv_type_long+set}" = set; then
15985   echo $ECHO_N "(cached) $ECHO_C" >&6
15986 else
15987   cat >conftest.$ac_ext <<_ACEOF
15988 /* confdefs.h.  */
15989 _ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h.  */
15993 $ac_includes_default
15994 int
15995 main ()
15996 {
15997 if ((long *) 0)
15998   return 0;
15999 if (sizeof (long))
16000   return 0;
16001   ;
16002   return 0;
16003 }
16004 _ACEOF
16005 rm -f conftest.$ac_objext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007   (eval $ac_compile) 2>conftest.er1
16008   ac_status=$?
16009   grep -v '^ *+' conftest.er1 >conftest.err
16010   rm -f conftest.er1
16011   cat conftest.err >&5
16012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013   (exit $ac_status); } &&
16014          { ac_try='test -z "$ac_c_werror_flag"
16015                          || test ! -s conftest.err'
16016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017   (eval $ac_try) 2>&5
16018   ac_status=$?
16019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020   (exit $ac_status); }; } &&
16021          { ac_try='test -s conftest.$ac_objext'
16022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023   (eval $ac_try) 2>&5
16024   ac_status=$?
16025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026   (exit $ac_status); }; }; then
16027   ac_cv_type_long=yes
16028 else
16029   echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.$ac_ext >&5
16031
16032 ac_cv_type_long=no
16033 fi
16034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16035 fi
16036 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16037 echo "${ECHO_T}$ac_cv_type_long" >&6
16038
16039 echo "$as_me:$LINENO: checking size of long" >&5
16040 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16041 if test "${ac_cv_sizeof_long+set}" = set; then
16042   echo $ECHO_N "(cached) $ECHO_C" >&6
16043 else
16044   if test "$ac_cv_type_long" = yes; then
16045   # The cast to unsigned long works around a bug in the HP C Compiler
16046   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16047   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16048   # This bug is HP SR number 8606223364.
16049   if test "$cross_compiling" = yes; then
16050   # Depending upon the size, compute the lo and hi bounds.
16051 cat >conftest.$ac_ext <<_ACEOF
16052 /* confdefs.h.  */
16053 _ACEOF
16054 cat confdefs.h >>conftest.$ac_ext
16055 cat >>conftest.$ac_ext <<_ACEOF
16056 /* end confdefs.h.  */
16057 $ac_includes_default
16058 int
16059 main ()
16060 {
16061 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16062 test_array [0] = 0
16063
16064   ;
16065   return 0;
16066 }
16067 _ACEOF
16068 rm -f conftest.$ac_objext
16069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16070   (eval $ac_compile) 2>conftest.er1
16071   ac_status=$?
16072   grep -v '^ *+' conftest.er1 >conftest.err
16073   rm -f conftest.er1
16074   cat conftest.err >&5
16075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076   (exit $ac_status); } &&
16077          { ac_try='test -z "$ac_c_werror_flag"
16078                          || test ! -s conftest.err'
16079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080   (eval $ac_try) 2>&5
16081   ac_status=$?
16082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083   (exit $ac_status); }; } &&
16084          { ac_try='test -s conftest.$ac_objext'
16085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086   (eval $ac_try) 2>&5
16087   ac_status=$?
16088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089   (exit $ac_status); }; }; then
16090   ac_lo=0 ac_mid=0
16091   while :; do
16092     cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h.  */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h.  */
16098 $ac_includes_default
16099 int
16100 main ()
16101 {
16102 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16103 test_array [0] = 0
16104
16105   ;
16106   return 0;
16107 }
16108 _ACEOF
16109 rm -f conftest.$ac_objext
16110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111   (eval $ac_compile) 2>conftest.er1
16112   ac_status=$?
16113   grep -v '^ *+' conftest.er1 >conftest.err
16114   rm -f conftest.er1
16115   cat conftest.err >&5
16116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117   (exit $ac_status); } &&
16118          { ac_try='test -z "$ac_c_werror_flag"
16119                          || test ! -s conftest.err'
16120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121   (eval $ac_try) 2>&5
16122   ac_status=$?
16123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124   (exit $ac_status); }; } &&
16125          { ac_try='test -s conftest.$ac_objext'
16126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127   (eval $ac_try) 2>&5
16128   ac_status=$?
16129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130   (exit $ac_status); }; }; then
16131   ac_hi=$ac_mid; break
16132 else
16133   echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.$ac_ext >&5
16135
16136 ac_lo=`expr $ac_mid + 1`
16137                     if test $ac_lo -le $ac_mid; then
16138                       ac_lo= ac_hi=
16139                       break
16140                     fi
16141                     ac_mid=`expr 2 '*' $ac_mid + 1`
16142 fi
16143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16144   done
16145 else
16146   echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h.  */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h.  */
16155 $ac_includes_default
16156 int
16157 main ()
16158 {
16159 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16160 test_array [0] = 0
16161
16162   ;
16163   return 0;
16164 }
16165 _ACEOF
16166 rm -f conftest.$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168   (eval $ac_compile) 2>conftest.er1
16169   ac_status=$?
16170   grep -v '^ *+' conftest.er1 >conftest.err
16171   rm -f conftest.er1
16172   cat conftest.err >&5
16173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174   (exit $ac_status); } &&
16175          { ac_try='test -z "$ac_c_werror_flag"
16176                          || test ! -s conftest.err'
16177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178   (eval $ac_try) 2>&5
16179   ac_status=$?
16180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181   (exit $ac_status); }; } &&
16182          { ac_try='test -s conftest.$ac_objext'
16183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184   (eval $ac_try) 2>&5
16185   ac_status=$?
16186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187   (exit $ac_status); }; }; then
16188   ac_hi=-1 ac_mid=-1
16189   while :; do
16190     cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h.  */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h.  */
16196 $ac_includes_default
16197 int
16198 main ()
16199 {
16200 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16201 test_array [0] = 0
16202
16203   ;
16204   return 0;
16205 }
16206 _ACEOF
16207 rm -f conftest.$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209   (eval $ac_compile) 2>conftest.er1
16210   ac_status=$?
16211   grep -v '^ *+' conftest.er1 >conftest.err
16212   rm -f conftest.er1
16213   cat conftest.err >&5
16214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215   (exit $ac_status); } &&
16216          { ac_try='test -z "$ac_c_werror_flag"
16217                          || test ! -s conftest.err'
16218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219   (eval $ac_try) 2>&5
16220   ac_status=$?
16221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222   (exit $ac_status); }; } &&
16223          { ac_try='test -s conftest.$ac_objext'
16224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225   (eval $ac_try) 2>&5
16226   ac_status=$?
16227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228   (exit $ac_status); }; }; then
16229   ac_lo=$ac_mid; break
16230 else
16231   echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16233
16234 ac_hi=`expr '(' $ac_mid ')' - 1`
16235                        if test $ac_mid -le $ac_hi; then
16236                          ac_lo= ac_hi=
16237                          break
16238                        fi
16239                        ac_mid=`expr 2 '*' $ac_mid`
16240 fi
16241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16242   done
16243 else
16244   echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16246
16247 ac_lo= ac_hi=
16248 fi
16249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16250 fi
16251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16252 # Binary search between lo and hi bounds.
16253 while test "x$ac_lo" != "x$ac_hi"; do
16254   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16255   cat >conftest.$ac_ext <<_ACEOF
16256 /* confdefs.h.  */
16257 _ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h.  */
16261 $ac_includes_default
16262 int
16263 main ()
16264 {
16265 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16266 test_array [0] = 0
16267
16268   ;
16269   return 0;
16270 }
16271 _ACEOF
16272 rm -f conftest.$ac_objext
16273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16274   (eval $ac_compile) 2>conftest.er1
16275   ac_status=$?
16276   grep -v '^ *+' conftest.er1 >conftest.err
16277   rm -f conftest.er1
16278   cat conftest.err >&5
16279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280   (exit $ac_status); } &&
16281          { ac_try='test -z "$ac_c_werror_flag"
16282                          || test ! -s conftest.err'
16283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284   (eval $ac_try) 2>&5
16285   ac_status=$?
16286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287   (exit $ac_status); }; } &&
16288          { ac_try='test -s conftest.$ac_objext'
16289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290   (eval $ac_try) 2>&5
16291   ac_status=$?
16292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293   (exit $ac_status); }; }; then
16294   ac_hi=$ac_mid
16295 else
16296   echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16298
16299 ac_lo=`expr '(' $ac_mid ')' + 1`
16300 fi
16301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16302 done
16303 case $ac_lo in
16304 ?*) ac_cv_sizeof_long=$ac_lo;;
16305 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16306 See \`config.log' for more details." >&5
16307 echo "$as_me: error: cannot compute sizeof (long), 77
16308 See \`config.log' for more details." >&2;}
16309    { (exit 1); exit 1; }; } ;;
16310 esac
16311 else
16312   if test "$cross_compiling" = yes; then
16313   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: cannot run test program while cross compiling
16316 See \`config.log' for more details." >&2;}
16317    { (exit 1); exit 1; }; }
16318 else
16319   cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h.  */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h.  */
16325 $ac_includes_default
16326 long longval () { return (long) (sizeof (long)); }
16327 unsigned long ulongval () { return (long) (sizeof (long)); }
16328 #include <stdio.h>
16329 #include <stdlib.h>
16330 int
16331 main ()
16332 {
16333
16334   FILE *f = fopen ("conftest.val", "w");
16335   if (! f)
16336     exit (1);
16337   if (((long) (sizeof (long))) < 0)
16338     {
16339       long i = longval ();
16340       if (i != ((long) (sizeof (long))))
16341         exit (1);
16342       fprintf (f, "%ld\n", i);
16343     }
16344   else
16345     {
16346       unsigned long i = ulongval ();
16347       if (i != ((long) (sizeof (long))))
16348         exit (1);
16349       fprintf (f, "%lu\n", i);
16350     }
16351   exit (ferror (f) || fclose (f) != 0);
16352
16353   ;
16354   return 0;
16355 }
16356 _ACEOF
16357 rm -f conftest$ac_exeext
16358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16359   (eval $ac_link) 2>&5
16360   ac_status=$?
16361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364   (eval $ac_try) 2>&5
16365   ac_status=$?
16366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367   (exit $ac_status); }; }; then
16368   ac_cv_sizeof_long=`cat conftest.val`
16369 else
16370   echo "$as_me: program exited with status $ac_status" >&5
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 ( exit $ac_status )
16375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16376 See \`config.log' for more details." >&5
16377 echo "$as_me: error: cannot compute sizeof (long), 77
16378 See \`config.log' for more details." >&2;}
16379    { (exit 1); exit 1; }; }
16380 fi
16381 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16382 fi
16383 fi
16384 rm -f conftest.val
16385 else
16386   ac_cv_sizeof_long=0
16387 fi
16388 fi
16389 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16390 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16391 cat >>confdefs.h <<_ACEOF
16392 #define SIZEOF_LONG $ac_cv_sizeof_long
16393 _ACEOF
16394
16395  ;;
16396 esac
16397
16398 if test $acx_cv_header_stdint = stddef.h; then
16399   # Lacking a good header?  Test size of everything and deduce all types.
16400   echo "$as_me:$LINENO: checking for int" >&5
16401 echo $ECHO_N "checking for int... $ECHO_C" >&6
16402 if test "${ac_cv_type_int+set}" = set; then
16403   echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405   cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h.  */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h.  */
16411 $ac_includes_default
16412 int
16413 main ()
16414 {
16415 if ((int *) 0)
16416   return 0;
16417 if (sizeof (int))
16418   return 0;
16419   ;
16420   return 0;
16421 }
16422 _ACEOF
16423 rm -f conftest.$ac_objext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16425   (eval $ac_compile) 2>conftest.er1
16426   ac_status=$?
16427   grep -v '^ *+' conftest.er1 >conftest.err
16428   rm -f conftest.er1
16429   cat conftest.err >&5
16430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431   (exit $ac_status); } &&
16432          { ac_try='test -z "$ac_c_werror_flag"
16433                          || test ! -s conftest.err'
16434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435   (eval $ac_try) 2>&5
16436   ac_status=$?
16437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438   (exit $ac_status); }; } &&
16439          { ac_try='test -s conftest.$ac_objext'
16440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16441   (eval $ac_try) 2>&5
16442   ac_status=$?
16443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444   (exit $ac_status); }; }; then
16445   ac_cv_type_int=yes
16446 else
16447   echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16449
16450 ac_cv_type_int=no
16451 fi
16452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16453 fi
16454 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16455 echo "${ECHO_T}$ac_cv_type_int" >&6
16456
16457 echo "$as_me:$LINENO: checking size of int" >&5
16458 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16459 if test "${ac_cv_sizeof_int+set}" = set; then
16460   echo $ECHO_N "(cached) $ECHO_C" >&6
16461 else
16462   if test "$ac_cv_type_int" = yes; then
16463   # The cast to unsigned long works around a bug in the HP C Compiler
16464   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16465   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16466   # This bug is HP SR number 8606223364.
16467   if test "$cross_compiling" = yes; then
16468   # Depending upon the size, compute the lo and hi bounds.
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h.  */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h.  */
16475 $ac_includes_default
16476 int
16477 main ()
16478 {
16479 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16480 test_array [0] = 0
16481
16482   ;
16483   return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488   (eval $ac_compile) 2>conftest.er1
16489   ac_status=$?
16490   grep -v '^ *+' conftest.er1 >conftest.err
16491   rm -f conftest.er1
16492   cat conftest.err >&5
16493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494   (exit $ac_status); } &&
16495          { ac_try='test -z "$ac_c_werror_flag"
16496                          || test ! -s conftest.err'
16497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498   (eval $ac_try) 2>&5
16499   ac_status=$?
16500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501   (exit $ac_status); }; } &&
16502          { ac_try='test -s conftest.$ac_objext'
16503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504   (eval $ac_try) 2>&5
16505   ac_status=$?
16506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507   (exit $ac_status); }; }; then
16508   ac_lo=0 ac_mid=0
16509   while :; do
16510     cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h.  */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h.  */
16516 $ac_includes_default
16517 int
16518 main ()
16519 {
16520 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16521 test_array [0] = 0
16522
16523   ;
16524   return 0;
16525 }
16526 _ACEOF
16527 rm -f conftest.$ac_objext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16529   (eval $ac_compile) 2>conftest.er1
16530   ac_status=$?
16531   grep -v '^ *+' conftest.er1 >conftest.err
16532   rm -f conftest.er1
16533   cat conftest.err >&5
16534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535   (exit $ac_status); } &&
16536          { ac_try='test -z "$ac_c_werror_flag"
16537                          || test ! -s conftest.err'
16538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539   (eval $ac_try) 2>&5
16540   ac_status=$?
16541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542   (exit $ac_status); }; } &&
16543          { ac_try='test -s conftest.$ac_objext'
16544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545   (eval $ac_try) 2>&5
16546   ac_status=$?
16547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548   (exit $ac_status); }; }; then
16549   ac_hi=$ac_mid; break
16550 else
16551   echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16553
16554 ac_lo=`expr $ac_mid + 1`
16555                     if test $ac_lo -le $ac_mid; then
16556                       ac_lo= ac_hi=
16557                       break
16558                     fi
16559                     ac_mid=`expr 2 '*' $ac_mid + 1`
16560 fi
16561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16562   done
16563 else
16564   echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16566
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h.  */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h.  */
16573 $ac_includes_default
16574 int
16575 main ()
16576 {
16577 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16578 test_array [0] = 0
16579
16580   ;
16581   return 0;
16582 }
16583 _ACEOF
16584 rm -f conftest.$ac_objext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16586   (eval $ac_compile) 2>conftest.er1
16587   ac_status=$?
16588   grep -v '^ *+' conftest.er1 >conftest.err
16589   rm -f conftest.er1
16590   cat conftest.err >&5
16591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592   (exit $ac_status); } &&
16593          { ac_try='test -z "$ac_c_werror_flag"
16594                          || test ! -s conftest.err'
16595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596   (eval $ac_try) 2>&5
16597   ac_status=$?
16598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599   (exit $ac_status); }; } &&
16600          { ac_try='test -s conftest.$ac_objext'
16601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602   (eval $ac_try) 2>&5
16603   ac_status=$?
16604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605   (exit $ac_status); }; }; then
16606   ac_hi=-1 ac_mid=-1
16607   while :; do
16608     cat >conftest.$ac_ext <<_ACEOF
16609 /* confdefs.h.  */
16610 _ACEOF
16611 cat confdefs.h >>conftest.$ac_ext
16612 cat >>conftest.$ac_ext <<_ACEOF
16613 /* end confdefs.h.  */
16614 $ac_includes_default
16615 int
16616 main ()
16617 {
16618 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16619 test_array [0] = 0
16620
16621   ;
16622   return 0;
16623 }
16624 _ACEOF
16625 rm -f conftest.$ac_objext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627   (eval $ac_compile) 2>conftest.er1
16628   ac_status=$?
16629   grep -v '^ *+' conftest.er1 >conftest.err
16630   rm -f conftest.er1
16631   cat conftest.err >&5
16632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633   (exit $ac_status); } &&
16634          { ac_try='test -z "$ac_c_werror_flag"
16635                          || test ! -s conftest.err'
16636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637   (eval $ac_try) 2>&5
16638   ac_status=$?
16639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640   (exit $ac_status); }; } &&
16641          { ac_try='test -s conftest.$ac_objext'
16642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643   (eval $ac_try) 2>&5
16644   ac_status=$?
16645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646   (exit $ac_status); }; }; then
16647   ac_lo=$ac_mid; break
16648 else
16649   echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16651
16652 ac_hi=`expr '(' $ac_mid ')' - 1`
16653                        if test $ac_mid -le $ac_hi; then
16654                          ac_lo= ac_hi=
16655                          break
16656                        fi
16657                        ac_mid=`expr 2 '*' $ac_mid`
16658 fi
16659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16660   done
16661 else
16662   echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ac_lo= ac_hi=
16666 fi
16667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16668 fi
16669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16670 # Binary search between lo and hi bounds.
16671 while test "x$ac_lo" != "x$ac_hi"; do
16672   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16673   cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h.  */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h.  */
16679 $ac_includes_default
16680 int
16681 main ()
16682 {
16683 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16684 test_array [0] = 0
16685
16686   ;
16687   return 0;
16688 }
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692   (eval $ac_compile) 2>conftest.er1
16693   ac_status=$?
16694   grep -v '^ *+' conftest.er1 >conftest.err
16695   rm -f conftest.er1
16696   cat conftest.err >&5
16697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698   (exit $ac_status); } &&
16699          { ac_try='test -z "$ac_c_werror_flag"
16700                          || test ! -s conftest.err'
16701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702   (eval $ac_try) 2>&5
16703   ac_status=$?
16704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705   (exit $ac_status); }; } &&
16706          { ac_try='test -s conftest.$ac_objext'
16707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708   (eval $ac_try) 2>&5
16709   ac_status=$?
16710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711   (exit $ac_status); }; }; then
16712   ac_hi=$ac_mid
16713 else
16714   echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16716
16717 ac_lo=`expr '(' $ac_mid ')' + 1`
16718 fi
16719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16720 done
16721 case $ac_lo in
16722 ?*) ac_cv_sizeof_int=$ac_lo;;
16723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot compute sizeof (int), 77
16726 See \`config.log' for more details." >&2;}
16727    { (exit 1); exit 1; }; } ;;
16728 esac
16729 else
16730   if test "$cross_compiling" = yes; then
16731   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16732 See \`config.log' for more details." >&5
16733 echo "$as_me: error: cannot run test program while cross compiling
16734 See \`config.log' for more details." >&2;}
16735    { (exit 1); exit 1; }; }
16736 else
16737   cat >conftest.$ac_ext <<_ACEOF
16738 /* confdefs.h.  */
16739 _ACEOF
16740 cat confdefs.h >>conftest.$ac_ext
16741 cat >>conftest.$ac_ext <<_ACEOF
16742 /* end confdefs.h.  */
16743 $ac_includes_default
16744 long longval () { return (long) (sizeof (int)); }
16745 unsigned long ulongval () { return (long) (sizeof (int)); }
16746 #include <stdio.h>
16747 #include <stdlib.h>
16748 int
16749 main ()
16750 {
16751
16752   FILE *f = fopen ("conftest.val", "w");
16753   if (! f)
16754     exit (1);
16755   if (((long) (sizeof (int))) < 0)
16756     {
16757       long i = longval ();
16758       if (i != ((long) (sizeof (int))))
16759         exit (1);
16760       fprintf (f, "%ld\n", i);
16761     }
16762   else
16763     {
16764       unsigned long i = ulongval ();
16765       if (i != ((long) (sizeof (int))))
16766         exit (1);
16767       fprintf (f, "%lu\n", i);
16768     }
16769   exit (ferror (f) || fclose (f) != 0);
16770
16771   ;
16772   return 0;
16773 }
16774 _ACEOF
16775 rm -f conftest$ac_exeext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16777   (eval $ac_link) 2>&5
16778   ac_status=$?
16779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782   (eval $ac_try) 2>&5
16783   ac_status=$?
16784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785   (exit $ac_status); }; }; then
16786   ac_cv_sizeof_int=`cat conftest.val`
16787 else
16788   echo "$as_me: program exited with status $ac_status" >&5
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16791
16792 ( exit $ac_status )
16793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16794 See \`config.log' for more details." >&5
16795 echo "$as_me: error: cannot compute sizeof (int), 77
16796 See \`config.log' for more details." >&2;}
16797    { (exit 1); exit 1; }; }
16798 fi
16799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16800 fi
16801 fi
16802 rm -f conftest.val
16803 else
16804   ac_cv_sizeof_int=0
16805 fi
16806 fi
16807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16808 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16809 cat >>confdefs.h <<_ACEOF
16810 #define SIZEOF_INT $ac_cv_sizeof_int
16811 _ACEOF
16812
16813
16814   echo "$as_me:$LINENO: checking for short" >&5
16815 echo $ECHO_N "checking for short... $ECHO_C" >&6
16816 if test "${ac_cv_type_short+set}" = set; then
16817   echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819   cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h.  */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h.  */
16825 $ac_includes_default
16826 int
16827 main ()
16828 {
16829 if ((short *) 0)
16830   return 0;
16831 if (sizeof (short))
16832   return 0;
16833   ;
16834   return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839   (eval $ac_compile) 2>conftest.er1
16840   ac_status=$?
16841   grep -v '^ *+' conftest.er1 >conftest.err
16842   rm -f conftest.er1
16843   cat conftest.err >&5
16844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845   (exit $ac_status); } &&
16846          { ac_try='test -z "$ac_c_werror_flag"
16847                          || test ! -s conftest.err'
16848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849   (eval $ac_try) 2>&5
16850   ac_status=$?
16851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852   (exit $ac_status); }; } &&
16853          { ac_try='test -s conftest.$ac_objext'
16854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855   (eval $ac_try) 2>&5
16856   ac_status=$?
16857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858   (exit $ac_status); }; }; then
16859   ac_cv_type_short=yes
16860 else
16861   echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_cv_type_short=no
16865 fi
16866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16869 echo "${ECHO_T}$ac_cv_type_short" >&6
16870
16871 echo "$as_me:$LINENO: checking size of short" >&5
16872 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16873 if test "${ac_cv_sizeof_short+set}" = set; then
16874   echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876   if test "$ac_cv_type_short" = yes; then
16877   # The cast to unsigned long works around a bug in the HP C Compiler
16878   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880   # This bug is HP SR number 8606223364.
16881   if test "$cross_compiling" = yes; then
16882   # Depending upon the size, compute the lo and hi bounds.
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h.  */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h.  */
16889 $ac_includes_default
16890 int
16891 main ()
16892 {
16893 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16894 test_array [0] = 0
16895
16896   ;
16897   return 0;
16898 }
16899 _ACEOF
16900 rm -f conftest.$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902   (eval $ac_compile) 2>conftest.er1
16903   ac_status=$?
16904   grep -v '^ *+' conftest.er1 >conftest.err
16905   rm -f conftest.er1
16906   cat conftest.err >&5
16907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908   (exit $ac_status); } &&
16909          { ac_try='test -z "$ac_c_werror_flag"
16910                          || test ! -s conftest.err'
16911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912   (eval $ac_try) 2>&5
16913   ac_status=$?
16914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915   (exit $ac_status); }; } &&
16916          { ac_try='test -s conftest.$ac_objext'
16917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918   (eval $ac_try) 2>&5
16919   ac_status=$?
16920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921   (exit $ac_status); }; }; then
16922   ac_lo=0 ac_mid=0
16923   while :; do
16924     cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h.  */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h.  */
16930 $ac_includes_default
16931 int
16932 main ()
16933 {
16934 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16935 test_array [0] = 0
16936
16937   ;
16938   return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943   (eval $ac_compile) 2>conftest.er1
16944   ac_status=$?
16945   grep -v '^ *+' conftest.er1 >conftest.err
16946   rm -f conftest.er1
16947   cat conftest.err >&5
16948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949   (exit $ac_status); } &&
16950          { ac_try='test -z "$ac_c_werror_flag"
16951                          || test ! -s conftest.err'
16952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953   (eval $ac_try) 2>&5
16954   ac_status=$?
16955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956   (exit $ac_status); }; } &&
16957          { ac_try='test -s conftest.$ac_objext'
16958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959   (eval $ac_try) 2>&5
16960   ac_status=$?
16961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962   (exit $ac_status); }; }; then
16963   ac_hi=$ac_mid; break
16964 else
16965   echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 ac_lo=`expr $ac_mid + 1`
16969                     if test $ac_lo -le $ac_mid; then
16970                       ac_lo= ac_hi=
16971                       break
16972                     fi
16973                     ac_mid=`expr 2 '*' $ac_mid + 1`
16974 fi
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16976   done
16977 else
16978   echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 cat >conftest.$ac_ext <<_ACEOF
16982 /* confdefs.h.  */
16983 _ACEOF
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h.  */
16987 $ac_includes_default
16988 int
16989 main ()
16990 {
16991 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16992 test_array [0] = 0
16993
16994   ;
16995   return 0;
16996 }
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000   (eval $ac_compile) 2>conftest.er1
17001   ac_status=$?
17002   grep -v '^ *+' conftest.er1 >conftest.err
17003   rm -f conftest.er1
17004   cat conftest.err >&5
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); } &&
17007          { ac_try='test -z "$ac_c_werror_flag"
17008                          || test ! -s conftest.err'
17009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010   (eval $ac_try) 2>&5
17011   ac_status=$?
17012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013   (exit $ac_status); }; } &&
17014          { ac_try='test -s conftest.$ac_objext'
17015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016   (eval $ac_try) 2>&5
17017   ac_status=$?
17018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019   (exit $ac_status); }; }; then
17020   ac_hi=-1 ac_mid=-1
17021   while :; do
17022     cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h.  */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h.  */
17028 $ac_includes_default
17029 int
17030 main ()
17031 {
17032 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17033 test_array [0] = 0
17034
17035   ;
17036   return 0;
17037 }
17038 _ACEOF
17039 rm -f conftest.$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041   (eval $ac_compile) 2>conftest.er1
17042   ac_status=$?
17043   grep -v '^ *+' conftest.er1 >conftest.err
17044   rm -f conftest.er1
17045   cat conftest.err >&5
17046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047   (exit $ac_status); } &&
17048          { ac_try='test -z "$ac_c_werror_flag"
17049                          || test ! -s conftest.err'
17050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051   (eval $ac_try) 2>&5
17052   ac_status=$?
17053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054   (exit $ac_status); }; } &&
17055          { ac_try='test -s conftest.$ac_objext'
17056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057   (eval $ac_try) 2>&5
17058   ac_status=$?
17059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060   (exit $ac_status); }; }; then
17061   ac_lo=$ac_mid; break
17062 else
17063   echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17065
17066 ac_hi=`expr '(' $ac_mid ')' - 1`
17067                        if test $ac_mid -le $ac_hi; then
17068                          ac_lo= ac_hi=
17069                          break
17070                        fi
17071                        ac_mid=`expr 2 '*' $ac_mid`
17072 fi
17073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074   done
17075 else
17076   echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17078
17079 ac_lo= ac_hi=
17080 fi
17081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17082 fi
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17084 # Binary search between lo and hi bounds.
17085 while test "x$ac_lo" != "x$ac_hi"; do
17086   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17087   cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h.  */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h.  */
17093 $ac_includes_default
17094 int
17095 main ()
17096 {
17097 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17098 test_array [0] = 0
17099
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 rm -f conftest.$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106   (eval $ac_compile) 2>conftest.er1
17107   ac_status=$?
17108   grep -v '^ *+' conftest.er1 >conftest.err
17109   rm -f conftest.er1
17110   cat conftest.err >&5
17111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112   (exit $ac_status); } &&
17113          { ac_try='test -z "$ac_c_werror_flag"
17114                          || test ! -s conftest.err'
17115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116   (eval $ac_try) 2>&5
17117   ac_status=$?
17118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119   (exit $ac_status); }; } &&
17120          { ac_try='test -s conftest.$ac_objext'
17121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122   (eval $ac_try) 2>&5
17123   ac_status=$?
17124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125   (exit $ac_status); }; }; then
17126   ac_hi=$ac_mid
17127 else
17128   echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17130
17131 ac_lo=`expr '(' $ac_mid ')' + 1`
17132 fi
17133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17134 done
17135 case $ac_lo in
17136 ?*) ac_cv_sizeof_short=$ac_lo;;
17137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: cannot compute sizeof (short), 77
17140 See \`config.log' for more details." >&2;}
17141    { (exit 1); exit 1; }; } ;;
17142 esac
17143 else
17144   if test "$cross_compiling" = yes; then
17145   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17146 See \`config.log' for more details." >&5
17147 echo "$as_me: error: cannot run test program while cross compiling
17148 See \`config.log' for more details." >&2;}
17149    { (exit 1); exit 1; }; }
17150 else
17151   cat >conftest.$ac_ext <<_ACEOF
17152 /* confdefs.h.  */
17153 _ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h.  */
17157 $ac_includes_default
17158 long longval () { return (long) (sizeof (short)); }
17159 unsigned long ulongval () { return (long) (sizeof (short)); }
17160 #include <stdio.h>
17161 #include <stdlib.h>
17162 int
17163 main ()
17164 {
17165
17166   FILE *f = fopen ("conftest.val", "w");
17167   if (! f)
17168     exit (1);
17169   if (((long) (sizeof (short))) < 0)
17170     {
17171       long i = longval ();
17172       if (i != ((long) (sizeof (short))))
17173         exit (1);
17174       fprintf (f, "%ld\n", i);
17175     }
17176   else
17177     {
17178       unsigned long i = ulongval ();
17179       if (i != ((long) (sizeof (short))))
17180         exit (1);
17181       fprintf (f, "%lu\n", i);
17182     }
17183   exit (ferror (f) || fclose (f) != 0);
17184
17185   ;
17186   return 0;
17187 }
17188 _ACEOF
17189 rm -f conftest$ac_exeext
17190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17191   (eval $ac_link) 2>&5
17192   ac_status=$?
17193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196   (eval $ac_try) 2>&5
17197   ac_status=$?
17198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199   (exit $ac_status); }; }; then
17200   ac_cv_sizeof_short=`cat conftest.val`
17201 else
17202   echo "$as_me: program exited with status $ac_status" >&5
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17205
17206 ( exit $ac_status )
17207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot compute sizeof (short), 77
17210 See \`config.log' for more details." >&2;}
17211    { (exit 1); exit 1; }; }
17212 fi
17213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17214 fi
17215 fi
17216 rm -f conftest.val
17217 else
17218   ac_cv_sizeof_short=0
17219 fi
17220 fi
17221 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17222 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17223 cat >>confdefs.h <<_ACEOF
17224 #define SIZEOF_SHORT $ac_cv_sizeof_short
17225 _ACEOF
17226
17227
17228   echo "$as_me:$LINENO: checking for char" >&5
17229 echo $ECHO_N "checking for char... $ECHO_C" >&6
17230 if test "${ac_cv_type_char+set}" = set; then
17231   echo $ECHO_N "(cached) $ECHO_C" >&6
17232 else
17233   cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h.  */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h.  */
17239 $ac_includes_default
17240 int
17241 main ()
17242 {
17243 if ((char *) 0)
17244   return 0;
17245 if (sizeof (char))
17246   return 0;
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 rm -f conftest.$ac_objext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17253   (eval $ac_compile) 2>conftest.er1
17254   ac_status=$?
17255   grep -v '^ *+' conftest.er1 >conftest.err
17256   rm -f conftest.er1
17257   cat conftest.err >&5
17258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259   (exit $ac_status); } &&
17260          { ac_try='test -z "$ac_c_werror_flag"
17261                          || test ! -s conftest.err'
17262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263   (eval $ac_try) 2>&5
17264   ac_status=$?
17265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266   (exit $ac_status); }; } &&
17267          { ac_try='test -s conftest.$ac_objext'
17268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269   (eval $ac_try) 2>&5
17270   ac_status=$?
17271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272   (exit $ac_status); }; }; then
17273   ac_cv_type_char=yes
17274 else
17275   echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 ac_cv_type_char=no
17279 fi
17280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17281 fi
17282 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17283 echo "${ECHO_T}$ac_cv_type_char" >&6
17284
17285 echo "$as_me:$LINENO: checking size of char" >&5
17286 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17287 if test "${ac_cv_sizeof_char+set}" = set; then
17288   echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290   if test "$ac_cv_type_char" = yes; then
17291   # The cast to unsigned long works around a bug in the HP C Compiler
17292   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17293   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17294   # This bug is HP SR number 8606223364.
17295   if test "$cross_compiling" = yes; then
17296   # Depending upon the size, compute the lo and hi bounds.
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h.  */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h.  */
17303 $ac_includes_default
17304 int
17305 main ()
17306 {
17307 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17308 test_array [0] = 0
17309
17310   ;
17311   return 0;
17312 }
17313 _ACEOF
17314 rm -f conftest.$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316   (eval $ac_compile) 2>conftest.er1
17317   ac_status=$?
17318   grep -v '^ *+' conftest.er1 >conftest.err
17319   rm -f conftest.er1
17320   cat conftest.err >&5
17321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322   (exit $ac_status); } &&
17323          { ac_try='test -z "$ac_c_werror_flag"
17324                          || test ! -s conftest.err'
17325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326   (eval $ac_try) 2>&5
17327   ac_status=$?
17328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329   (exit $ac_status); }; } &&
17330          { ac_try='test -s conftest.$ac_objext'
17331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332   (eval $ac_try) 2>&5
17333   ac_status=$?
17334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335   (exit $ac_status); }; }; then
17336   ac_lo=0 ac_mid=0
17337   while :; do
17338     cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h.  */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h.  */
17344 $ac_includes_default
17345 int
17346 main ()
17347 {
17348 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17349 test_array [0] = 0
17350
17351   ;
17352   return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357   (eval $ac_compile) 2>conftest.er1
17358   ac_status=$?
17359   grep -v '^ *+' conftest.er1 >conftest.err
17360   rm -f conftest.er1
17361   cat conftest.err >&5
17362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363   (exit $ac_status); } &&
17364          { ac_try='test -z "$ac_c_werror_flag"
17365                          || test ! -s conftest.err'
17366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367   (eval $ac_try) 2>&5
17368   ac_status=$?
17369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370   (exit $ac_status); }; } &&
17371          { ac_try='test -s conftest.$ac_objext'
17372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373   (eval $ac_try) 2>&5
17374   ac_status=$?
17375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376   (exit $ac_status); }; }; then
17377   ac_hi=$ac_mid; break
17378 else
17379   echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17381
17382 ac_lo=`expr $ac_mid + 1`
17383                     if test $ac_lo -le $ac_mid; then
17384                       ac_lo= ac_hi=
17385                       break
17386                     fi
17387                     ac_mid=`expr 2 '*' $ac_mid + 1`
17388 fi
17389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17390   done
17391 else
17392   echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h.  */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h.  */
17401 $ac_includes_default
17402 int
17403 main ()
17404 {
17405 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17406 test_array [0] = 0
17407
17408   ;
17409   return 0;
17410 }
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414   (eval $ac_compile) 2>conftest.er1
17415   ac_status=$?
17416   grep -v '^ *+' conftest.er1 >conftest.err
17417   rm -f conftest.er1
17418   cat conftest.err >&5
17419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420   (exit $ac_status); } &&
17421          { ac_try='test -z "$ac_c_werror_flag"
17422                          || test ! -s conftest.err'
17423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424   (eval $ac_try) 2>&5
17425   ac_status=$?
17426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427   (exit $ac_status); }; } &&
17428          { ac_try='test -s conftest.$ac_objext'
17429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430   (eval $ac_try) 2>&5
17431   ac_status=$?
17432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433   (exit $ac_status); }; }; then
17434   ac_hi=-1 ac_mid=-1
17435   while :; do
17436     cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h.  */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h.  */
17442 $ac_includes_default
17443 int
17444 main ()
17445 {
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17447 test_array [0] = 0
17448
17449   ;
17450   return 0;
17451 }
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455   (eval $ac_compile) 2>conftest.er1
17456   ac_status=$?
17457   grep -v '^ *+' conftest.er1 >conftest.err
17458   rm -f conftest.er1
17459   cat conftest.err >&5
17460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461   (exit $ac_status); } &&
17462          { ac_try='test -z "$ac_c_werror_flag"
17463                          || test ! -s conftest.err'
17464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465   (eval $ac_try) 2>&5
17466   ac_status=$?
17467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468   (exit $ac_status); }; } &&
17469          { ac_try='test -s conftest.$ac_objext'
17470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471   (eval $ac_try) 2>&5
17472   ac_status=$?
17473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474   (exit $ac_status); }; }; then
17475   ac_lo=$ac_mid; break
17476 else
17477   echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 ac_hi=`expr '(' $ac_mid ')' - 1`
17481                        if test $ac_mid -le $ac_hi; then
17482                          ac_lo= ac_hi=
17483                          break
17484                        fi
17485                        ac_mid=`expr 2 '*' $ac_mid`
17486 fi
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488   done
17489 else
17490   echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 ac_lo= ac_hi=
17494 fi
17495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17496 fi
17497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17498 # Binary search between lo and hi bounds.
17499 while test "x$ac_lo" != "x$ac_hi"; do
17500   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17501   cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h.  */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h.  */
17507 $ac_includes_default
17508 int
17509 main ()
17510 {
17511 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17512 test_array [0] = 0
17513
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520   (eval $ac_compile) 2>conftest.er1
17521   ac_status=$?
17522   grep -v '^ *+' conftest.er1 >conftest.err
17523   rm -f conftest.er1
17524   cat conftest.err >&5
17525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526   (exit $ac_status); } &&
17527          { ac_try='test -z "$ac_c_werror_flag"
17528                          || test ! -s conftest.err'
17529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530   (eval $ac_try) 2>&5
17531   ac_status=$?
17532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533   (exit $ac_status); }; } &&
17534          { ac_try='test -s conftest.$ac_objext'
17535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536   (eval $ac_try) 2>&5
17537   ac_status=$?
17538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539   (exit $ac_status); }; }; then
17540   ac_hi=$ac_mid
17541 else
17542   echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17544
17545 ac_lo=`expr '(' $ac_mid ')' + 1`
17546 fi
17547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17548 done
17549 case $ac_lo in
17550 ?*) ac_cv_sizeof_char=$ac_lo;;
17551 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17552 See \`config.log' for more details." >&5
17553 echo "$as_me: error: cannot compute sizeof (char), 77
17554 See \`config.log' for more details." >&2;}
17555    { (exit 1); exit 1; }; } ;;
17556 esac
17557 else
17558   if test "$cross_compiling" = yes; then
17559   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: cannot run test program while cross compiling
17562 See \`config.log' for more details." >&2;}
17563    { (exit 1); exit 1; }; }
17564 else
17565   cat >conftest.$ac_ext <<_ACEOF
17566 /* confdefs.h.  */
17567 _ACEOF
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h.  */
17571 $ac_includes_default
17572 long longval () { return (long) (sizeof (char)); }
17573 unsigned long ulongval () { return (long) (sizeof (char)); }
17574 #include <stdio.h>
17575 #include <stdlib.h>
17576 int
17577 main ()
17578 {
17579
17580   FILE *f = fopen ("conftest.val", "w");
17581   if (! f)
17582     exit (1);
17583   if (((long) (sizeof (char))) < 0)
17584     {
17585       long i = longval ();
17586       if (i != ((long) (sizeof (char))))
17587         exit (1);
17588       fprintf (f, "%ld\n", i);
17589     }
17590   else
17591     {
17592       unsigned long i = ulongval ();
17593       if (i != ((long) (sizeof (char))))
17594         exit (1);
17595       fprintf (f, "%lu\n", i);
17596     }
17597   exit (ferror (f) || fclose (f) != 0);
17598
17599   ;
17600   return 0;
17601 }
17602 _ACEOF
17603 rm -f conftest$ac_exeext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17605   (eval $ac_link) 2>&5
17606   ac_status=$?
17607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610   (eval $ac_try) 2>&5
17611   ac_status=$?
17612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613   (exit $ac_status); }; }; then
17614   ac_cv_sizeof_char=`cat conftest.val`
17615 else
17616   echo "$as_me: program exited with status $ac_status" >&5
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 ( exit $ac_status )
17621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17622 See \`config.log' for more details." >&5
17623 echo "$as_me: error: cannot compute sizeof (char), 77
17624 See \`config.log' for more details." >&2;}
17625    { (exit 1); exit 1; }; }
17626 fi
17627 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17628 fi
17629 fi
17630 rm -f conftest.val
17631 else
17632   ac_cv_sizeof_char=0
17633 fi
17634 fi
17635 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17636 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17637 cat >>confdefs.h <<_ACEOF
17638 #define SIZEOF_CHAR $ac_cv_sizeof_char
17639 _ACEOF
17640
17641
17642
17643   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17644 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17645   case "$ac_cv_sizeof_char" in
17646     1) acx_cv_type_int8_t=char ;;
17647     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17648 echo "$as_me: error: no 8-bit type" >&2;}
17649    { (exit please report a bug); exit please report a bug; }; }
17650   esac
17651   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17652 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17653
17654   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17655 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17656   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17657     2:*) acx_cv_type_int16_t=int ;;
17658     *:2) acx_cv_type_int16_t=short ;;
17659     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17660 echo "$as_me: error: no 16-bit type" >&2;}
17661    { (exit please report a bug); exit please report a bug; }; }
17662   esac
17663   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17664 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17665
17666   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17667 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17668   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17669     4:*) acx_cv_type_int32_t=int ;;
17670     *:4) acx_cv_type_int32_t=long ;;
17671     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17672 echo "$as_me: error: no 32-bit type" >&2;}
17673    { (exit please report a bug); exit please report a bug; }; }
17674   esac
17675   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17676 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17677 fi
17678
17679 # These tests are here to make the output prettier
17680
17681 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17682   case "$ac_cv_sizeof_long" in
17683     8) acx_cv_type_int64_t=long ;;
17684   esac
17685   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17686 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17687   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17688 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17689 fi
17690
17691 # Now we can use the above types
17692
17693 if test "$ac_cv_type_uintptr_t" != yes; then
17694   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17695 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17696   case $ac_cv_sizeof_void_p in
17697     2) acx_cv_type_intptr_t=int16_t ;;
17698     4) acx_cv_type_intptr_t=int32_t ;;
17699     8) acx_cv_type_intptr_t=int64_t ;;
17700     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17701 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17702    { (exit please report a bug); exit please report a bug; }; }
17703   esac
17704   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17705 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17706 fi
17707
17708 # ----------------- done all checks, emit header -------------
17709           ac_config_commands="$ac_config_commands gstdint.h"
17710
17711
17712
17713
17714 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17715 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17716 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17717   echo $ECHO_N "(cached) $ECHO_C" >&6
17718 else
17719   cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h.  */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h.  */
17725 $ac_includes_default
17726 int
17727 main ()
17728 {
17729 static struct stat ac_aggr;
17730 if (ac_aggr.st_blksize)
17731 return 0;
17732   ;
17733   return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17738   (eval $ac_compile) 2>conftest.er1
17739   ac_status=$?
17740   grep -v '^ *+' conftest.er1 >conftest.err
17741   rm -f conftest.er1
17742   cat conftest.err >&5
17743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744   (exit $ac_status); } &&
17745          { ac_try='test -z "$ac_c_werror_flag"
17746                          || test ! -s conftest.err'
17747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748   (eval $ac_try) 2>&5
17749   ac_status=$?
17750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751   (exit $ac_status); }; } &&
17752          { ac_try='test -s conftest.$ac_objext'
17753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754   (eval $ac_try) 2>&5
17755   ac_status=$?
17756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757   (exit $ac_status); }; }; then
17758   ac_cv_member_struct_stat_st_blksize=yes
17759 else
17760   echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h.  */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h.  */
17769 $ac_includes_default
17770 int
17771 main ()
17772 {
17773 static struct stat ac_aggr;
17774 if (sizeof ac_aggr.st_blksize)
17775 return 0;
17776   ;
17777   return 0;
17778 }
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782   (eval $ac_compile) 2>conftest.er1
17783   ac_status=$?
17784   grep -v '^ *+' conftest.er1 >conftest.err
17785   rm -f conftest.er1
17786   cat conftest.err >&5
17787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788   (exit $ac_status); } &&
17789          { ac_try='test -z "$ac_c_werror_flag"
17790                          || test ! -s conftest.err'
17791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792   (eval $ac_try) 2>&5
17793   ac_status=$?
17794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795   (exit $ac_status); }; } &&
17796          { ac_try='test -s conftest.$ac_objext'
17797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798   (eval $ac_try) 2>&5
17799   ac_status=$?
17800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801   (exit $ac_status); }; }; then
17802   ac_cv_member_struct_stat_st_blksize=yes
17803 else
17804   echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17806
17807 ac_cv_member_struct_stat_st_blksize=no
17808 fi
17809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17810 fi
17811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17812 fi
17813 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17814 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17815 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17816
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17819 _ACEOF
17820
17821
17822 fi
17823
17824 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17825 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17826 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17827   echo $ECHO_N "(cached) $ECHO_C" >&6
17828 else
17829   cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h.  */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h.  */
17835 $ac_includes_default
17836 int
17837 main ()
17838 {
17839 static struct stat ac_aggr;
17840 if (ac_aggr.st_blocks)
17841 return 0;
17842   ;
17843   return 0;
17844 }
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848   (eval $ac_compile) 2>conftest.er1
17849   ac_status=$?
17850   grep -v '^ *+' conftest.er1 >conftest.err
17851   rm -f conftest.er1
17852   cat conftest.err >&5
17853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854   (exit $ac_status); } &&
17855          { ac_try='test -z "$ac_c_werror_flag"
17856                          || test ! -s conftest.err'
17857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858   (eval $ac_try) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); }; } &&
17862          { ac_try='test -s conftest.$ac_objext'
17863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864   (eval $ac_try) 2>&5
17865   ac_status=$?
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); }; }; then
17868   ac_cv_member_struct_stat_st_blocks=yes
17869 else
17870   echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 cat >conftest.$ac_ext <<_ACEOF
17874 /* confdefs.h.  */
17875 _ACEOF
17876 cat confdefs.h >>conftest.$ac_ext
17877 cat >>conftest.$ac_ext <<_ACEOF
17878 /* end confdefs.h.  */
17879 $ac_includes_default
17880 int
17881 main ()
17882 {
17883 static struct stat ac_aggr;
17884 if (sizeof ac_aggr.st_blocks)
17885 return 0;
17886   ;
17887   return 0;
17888 }
17889 _ACEOF
17890 rm -f conftest.$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892   (eval $ac_compile) 2>conftest.er1
17893   ac_status=$?
17894   grep -v '^ *+' conftest.er1 >conftest.err
17895   rm -f conftest.er1
17896   cat conftest.err >&5
17897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898   (exit $ac_status); } &&
17899          { ac_try='test -z "$ac_c_werror_flag"
17900                          || test ! -s conftest.err'
17901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902   (eval $ac_try) 2>&5
17903   ac_status=$?
17904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905   (exit $ac_status); }; } &&
17906          { ac_try='test -s conftest.$ac_objext'
17907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908   (eval $ac_try) 2>&5
17909   ac_status=$?
17910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911   (exit $ac_status); }; }; then
17912   ac_cv_member_struct_stat_st_blocks=yes
17913 else
17914   echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.$ac_ext >&5
17916
17917 ac_cv_member_struct_stat_st_blocks=no
17918 fi
17919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17920 fi
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17922 fi
17923 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17924 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17925 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17926
17927 cat >>confdefs.h <<_ACEOF
17928 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17929 _ACEOF
17930
17931
17932 fi
17933
17934 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17935 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17936 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17937   echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939   cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h.  */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h.  */
17945 $ac_includes_default
17946 int
17947 main ()
17948 {
17949 static struct stat ac_aggr;
17950 if (ac_aggr.st_rdev)
17951 return 0;
17952   ;
17953   return 0;
17954 }
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958   (eval $ac_compile) 2>conftest.er1
17959   ac_status=$?
17960   grep -v '^ *+' conftest.er1 >conftest.err
17961   rm -f conftest.er1
17962   cat conftest.err >&5
17963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964   (exit $ac_status); } &&
17965          { ac_try='test -z "$ac_c_werror_flag"
17966                          || test ! -s conftest.err'
17967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968   (eval $ac_try) 2>&5
17969   ac_status=$?
17970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971   (exit $ac_status); }; } &&
17972          { ac_try='test -s conftest.$ac_objext'
17973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974   (eval $ac_try) 2>&5
17975   ac_status=$?
17976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977   (exit $ac_status); }; }; then
17978   ac_cv_member_struct_stat_st_rdev=yes
17979 else
17980   echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17982
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h.  */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h.  */
17989 $ac_includes_default
17990 int
17991 main ()
17992 {
17993 static struct stat ac_aggr;
17994 if (sizeof ac_aggr.st_rdev)
17995 return 0;
17996   ;
17997   return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002   (eval $ac_compile) 2>conftest.er1
18003   ac_status=$?
18004   grep -v '^ *+' conftest.er1 >conftest.err
18005   rm -f conftest.er1
18006   cat conftest.err >&5
18007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008   (exit $ac_status); } &&
18009          { ac_try='test -z "$ac_c_werror_flag"
18010                          || test ! -s conftest.err'
18011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012   (eval $ac_try) 2>&5
18013   ac_status=$?
18014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015   (exit $ac_status); }; } &&
18016          { ac_try='test -s conftest.$ac_objext'
18017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018   (eval $ac_try) 2>&5
18019   ac_status=$?
18020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021   (exit $ac_status); }; }; then
18022   ac_cv_member_struct_stat_st_rdev=yes
18023 else
18024   echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18026
18027 ac_cv_member_struct_stat_st_rdev=no
18028 fi
18029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18030 fi
18031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18032 fi
18033 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18034 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18035 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18036
18037 cat >>confdefs.h <<_ACEOF
18038 #define HAVE_STRUCT_STAT_ST_RDEV 1
18039 _ACEOF
18040
18041
18042 fi
18043
18044
18045 # Check for library functions.
18046
18047
18048
18049
18050
18051
18052
18053
18054 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18055 do
18056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18057 echo "$as_me:$LINENO: checking for $ac_func" >&5
18058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18059 if eval "test \"\${$as_ac_var+set}\" = set"; then
18060   echo $ECHO_N "(cached) $ECHO_C" >&6
18061 else
18062   if test x$gcc_no_link = xyes; then
18063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18065    { (exit 1); exit 1; }; }
18066 fi
18067 cat >conftest.$ac_ext <<_ACEOF
18068 /* confdefs.h.  */
18069 _ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h.  */
18073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18075 #define $ac_func innocuous_$ac_func
18076
18077 /* System header to define __stub macros and hopefully few prototypes,
18078     which can conflict with char $ac_func (); below.
18079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18080     <limits.h> exists even on freestanding compilers.  */
18081
18082 #ifdef __STDC__
18083 # include <limits.h>
18084 #else
18085 # include <assert.h>
18086 #endif
18087
18088 #undef $ac_func
18089
18090 /* Override any gcc2 internal prototype to avoid an error.  */
18091 #ifdef __cplusplus
18092 extern "C"
18093 {
18094 #endif
18095 /* We use char because int might match the return type of a gcc2
18096    builtin and then its argument prototype would still apply.  */
18097 char $ac_func ();
18098 /* The GNU C library defines this for functions which it implements
18099     to always fail with ENOSYS.  Some functions are actually named
18100     something starting with __ and the normal name is an alias.  */
18101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18102 choke me
18103 #else
18104 char (*f) () = $ac_func;
18105 #endif
18106 #ifdef __cplusplus
18107 }
18108 #endif
18109
18110 int
18111 main ()
18112 {
18113 return f != $ac_func;
18114   ;
18115   return 0;
18116 }
18117 _ACEOF
18118 rm -f conftest.$ac_objext conftest$ac_exeext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18120   (eval $ac_link) 2>conftest.er1
18121   ac_status=$?
18122   grep -v '^ *+' conftest.er1 >conftest.err
18123   rm -f conftest.er1
18124   cat conftest.err >&5
18125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126   (exit $ac_status); } &&
18127          { ac_try='test -z "$ac_c_werror_flag"
18128                          || test ! -s conftest.err'
18129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130   (eval $ac_try) 2>&5
18131   ac_status=$?
18132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133   (exit $ac_status); }; } &&
18134          { ac_try='test -s conftest$ac_exeext'
18135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136   (eval $ac_try) 2>&5
18137   ac_status=$?
18138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139   (exit $ac_status); }; }; then
18140   eval "$as_ac_var=yes"
18141 else
18142   echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18144
18145 eval "$as_ac_var=no"
18146 fi
18147 rm -f conftest.err conftest.$ac_objext \
18148       conftest$ac_exeext conftest.$ac_ext
18149 fi
18150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18152 if test `eval echo '${'$as_ac_var'}'` = yes; then
18153   cat >>confdefs.h <<_ACEOF
18154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18155 _ACEOF
18156
18157 fi
18158 done
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18169 do
18170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18171 echo "$as_me:$LINENO: checking for $ac_func" >&5
18172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18173 if eval "test \"\${$as_ac_var+set}\" = set"; then
18174   echo $ECHO_N "(cached) $ECHO_C" >&6
18175 else
18176   if test x$gcc_no_link = xyes; then
18177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18179    { (exit 1); exit 1; }; }
18180 fi
18181 cat >conftest.$ac_ext <<_ACEOF
18182 /* confdefs.h.  */
18183 _ACEOF
18184 cat confdefs.h >>conftest.$ac_ext
18185 cat >>conftest.$ac_ext <<_ACEOF
18186 /* end confdefs.h.  */
18187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18189 #define $ac_func innocuous_$ac_func
18190
18191 /* System header to define __stub macros and hopefully few prototypes,
18192     which can conflict with char $ac_func (); below.
18193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18194     <limits.h> exists even on freestanding compilers.  */
18195
18196 #ifdef __STDC__
18197 # include <limits.h>
18198 #else
18199 # include <assert.h>
18200 #endif
18201
18202 #undef $ac_func
18203
18204 /* Override any gcc2 internal prototype to avoid an error.  */
18205 #ifdef __cplusplus
18206 extern "C"
18207 {
18208 #endif
18209 /* We use char because int might match the return type of a gcc2
18210    builtin and then its argument prototype would still apply.  */
18211 char $ac_func ();
18212 /* The GNU C library defines this for functions which it implements
18213     to always fail with ENOSYS.  Some functions are actually named
18214     something starting with __ and the normal name is an alias.  */
18215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18216 choke me
18217 #else
18218 char (*f) () = $ac_func;
18219 #endif
18220 #ifdef __cplusplus
18221 }
18222 #endif
18223
18224 int
18225 main ()
18226 {
18227 return f != $ac_func;
18228   ;
18229   return 0;
18230 }
18231 _ACEOF
18232 rm -f conftest.$ac_objext conftest$ac_exeext
18233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18234   (eval $ac_link) 2>conftest.er1
18235   ac_status=$?
18236   grep -v '^ *+' conftest.er1 >conftest.err
18237   rm -f conftest.er1
18238   cat conftest.err >&5
18239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240   (exit $ac_status); } &&
18241          { ac_try='test -z "$ac_c_werror_flag"
18242                          || test ! -s conftest.err'
18243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244   (eval $ac_try) 2>&5
18245   ac_status=$?
18246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247   (exit $ac_status); }; } &&
18248          { ac_try='test -s conftest$ac_exeext'
18249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250   (eval $ac_try) 2>&5
18251   ac_status=$?
18252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253   (exit $ac_status); }; }; then
18254   eval "$as_ac_var=yes"
18255 else
18256   echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18258
18259 eval "$as_ac_var=no"
18260 fi
18261 rm -f conftest.err conftest.$ac_objext \
18262       conftest$ac_exeext conftest.$ac_ext
18263 fi
18264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18266 if test `eval echo '${'$as_ac_var'}'` = yes; then
18267   cat >>confdefs.h <<_ACEOF
18268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18269 _ACEOF
18270
18271 fi
18272 done
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18285 do
18286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18287 echo "$as_me:$LINENO: checking for $ac_func" >&5
18288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18289 if eval "test \"\${$as_ac_var+set}\" = set"; then
18290   echo $ECHO_N "(cached) $ECHO_C" >&6
18291 else
18292   if test x$gcc_no_link = xyes; then
18293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18295    { (exit 1); exit 1; }; }
18296 fi
18297 cat >conftest.$ac_ext <<_ACEOF
18298 /* confdefs.h.  */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h.  */
18303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18305 #define $ac_func innocuous_$ac_func
18306
18307 /* System header to define __stub macros and hopefully few prototypes,
18308     which can conflict with char $ac_func (); below.
18309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18310     <limits.h> exists even on freestanding compilers.  */
18311
18312 #ifdef __STDC__
18313 # include <limits.h>
18314 #else
18315 # include <assert.h>
18316 #endif
18317
18318 #undef $ac_func
18319
18320 /* Override any gcc2 internal prototype to avoid an error.  */
18321 #ifdef __cplusplus
18322 extern "C"
18323 {
18324 #endif
18325 /* We use char because int might match the return type of a gcc2
18326    builtin and then its argument prototype would still apply.  */
18327 char $ac_func ();
18328 /* The GNU C library defines this for functions which it implements
18329     to always fail with ENOSYS.  Some functions are actually named
18330     something starting with __ and the normal name is an alias.  */
18331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18332 choke me
18333 #else
18334 char (*f) () = $ac_func;
18335 #endif
18336 #ifdef __cplusplus
18337 }
18338 #endif
18339
18340 int
18341 main ()
18342 {
18343 return f != $ac_func;
18344   ;
18345   return 0;
18346 }
18347 _ACEOF
18348 rm -f conftest.$ac_objext conftest$ac_exeext
18349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18350   (eval $ac_link) 2>conftest.er1
18351   ac_status=$?
18352   grep -v '^ *+' conftest.er1 >conftest.err
18353   rm -f conftest.er1
18354   cat conftest.err >&5
18355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356   (exit $ac_status); } &&
18357          { ac_try='test -z "$ac_c_werror_flag"
18358                          || test ! -s conftest.err'
18359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360   (eval $ac_try) 2>&5
18361   ac_status=$?
18362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363   (exit $ac_status); }; } &&
18364          { ac_try='test -s conftest$ac_exeext'
18365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366   (eval $ac_try) 2>&5
18367   ac_status=$?
18368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369   (exit $ac_status); }; }; then
18370   eval "$as_ac_var=yes"
18371 else
18372   echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 eval "$as_ac_var=no"
18376 fi
18377 rm -f conftest.err conftest.$ac_objext \
18378       conftest$ac_exeext conftest.$ac_ext
18379 fi
18380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18382 if test `eval echo '${'$as_ac_var'}'` = yes; then
18383   cat >>confdefs.h <<_ACEOF
18384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18385 _ACEOF
18386
18387 fi
18388 done
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18400 do
18401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18402 echo "$as_me:$LINENO: checking for $ac_func" >&5
18403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18404 if eval "test \"\${$as_ac_var+set}\" = set"; then
18405   echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407   if test x$gcc_no_link = xyes; then
18408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18410    { (exit 1); exit 1; }; }
18411 fi
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h.  */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h.  */
18418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18420 #define $ac_func innocuous_$ac_func
18421
18422 /* System header to define __stub macros and hopefully few prototypes,
18423     which can conflict with char $ac_func (); below.
18424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18425     <limits.h> exists even on freestanding compilers.  */
18426
18427 #ifdef __STDC__
18428 # include <limits.h>
18429 #else
18430 # include <assert.h>
18431 #endif
18432
18433 #undef $ac_func
18434
18435 /* Override any gcc2 internal prototype to avoid an error.  */
18436 #ifdef __cplusplus
18437 extern "C"
18438 {
18439 #endif
18440 /* We use char because int might match the return type of a gcc2
18441    builtin and then its argument prototype would still apply.  */
18442 char $ac_func ();
18443 /* The GNU C library defines this for functions which it implements
18444     to always fail with ENOSYS.  Some functions are actually named
18445     something starting with __ and the normal name is an alias.  */
18446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18447 choke me
18448 #else
18449 char (*f) () = $ac_func;
18450 #endif
18451 #ifdef __cplusplus
18452 }
18453 #endif
18454
18455 int
18456 main ()
18457 {
18458 return f != $ac_func;
18459   ;
18460   return 0;
18461 }
18462 _ACEOF
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465   (eval $ac_link) 2>conftest.er1
18466   ac_status=$?
18467   grep -v '^ *+' conftest.er1 >conftest.err
18468   rm -f conftest.er1
18469   cat conftest.err >&5
18470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471   (exit $ac_status); } &&
18472          { ac_try='test -z "$ac_c_werror_flag"
18473                          || test ! -s conftest.err'
18474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475   (eval $ac_try) 2>&5
18476   ac_status=$?
18477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478   (exit $ac_status); }; } &&
18479          { ac_try='test -s conftest$ac_exeext'
18480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481   (eval $ac_try) 2>&5
18482   ac_status=$?
18483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484   (exit $ac_status); }; }; then
18485   eval "$as_ac_var=yes"
18486 else
18487   echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18489
18490 eval "$as_ac_var=no"
18491 fi
18492 rm -f conftest.err conftest.$ac_objext \
18493       conftest$ac_exeext conftest.$ac_ext
18494 fi
18495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18497 if test `eval echo '${'$as_ac_var'}'` = yes; then
18498   cat >>confdefs.h <<_ACEOF
18499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18500 _ACEOF
18501
18502 fi
18503 done
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18514 do
18515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18516 echo "$as_me:$LINENO: checking for $ac_func" >&5
18517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18518 if eval "test \"\${$as_ac_var+set}\" = set"; then
18519   echo $ECHO_N "(cached) $ECHO_C" >&6
18520 else
18521   if test x$gcc_no_link = xyes; then
18522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18524    { (exit 1); exit 1; }; }
18525 fi
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h.  */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h.  */
18532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18534 #define $ac_func innocuous_$ac_func
18535
18536 /* System header to define __stub macros and hopefully few prototypes,
18537     which can conflict with char $ac_func (); below.
18538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18539     <limits.h> exists even on freestanding compilers.  */
18540
18541 #ifdef __STDC__
18542 # include <limits.h>
18543 #else
18544 # include <assert.h>
18545 #endif
18546
18547 #undef $ac_func
18548
18549 /* Override any gcc2 internal prototype to avoid an error.  */
18550 #ifdef __cplusplus
18551 extern "C"
18552 {
18553 #endif
18554 /* We use char because int might match the return type of a gcc2
18555    builtin and then its argument prototype would still apply.  */
18556 char $ac_func ();
18557 /* The GNU C library defines this for functions which it implements
18558     to always fail with ENOSYS.  Some functions are actually named
18559     something starting with __ and the normal name is an alias.  */
18560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18561 choke me
18562 #else
18563 char (*f) () = $ac_func;
18564 #endif
18565 #ifdef __cplusplus
18566 }
18567 #endif
18568
18569 int
18570 main ()
18571 {
18572 return f != $ac_func;
18573   ;
18574   return 0;
18575 }
18576 _ACEOF
18577 rm -f conftest.$ac_objext conftest$ac_exeext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18579   (eval $ac_link) 2>conftest.er1
18580   ac_status=$?
18581   grep -v '^ *+' conftest.er1 >conftest.err
18582   rm -f conftest.er1
18583   cat conftest.err >&5
18584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585   (exit $ac_status); } &&
18586          { ac_try='test -z "$ac_c_werror_flag"
18587                          || test ! -s conftest.err'
18588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589   (eval $ac_try) 2>&5
18590   ac_status=$?
18591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592   (exit $ac_status); }; } &&
18593          { ac_try='test -s conftest$ac_exeext'
18594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595   (eval $ac_try) 2>&5
18596   ac_status=$?
18597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598   (exit $ac_status); }; }; then
18599   eval "$as_ac_var=yes"
18600 else
18601   echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18603
18604 eval "$as_ac_var=no"
18605 fi
18606 rm -f conftest.err conftest.$ac_objext \
18607       conftest$ac_exeext conftest.$ac_ext
18608 fi
18609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18611 if test `eval echo '${'$as_ac_var'}'` = yes; then
18612   cat >>confdefs.h <<_ACEOF
18613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18614 _ACEOF
18615
18616 fi
18617 done
18618
18619
18620 # Check for glibc backtrace functions
18621
18622
18623 for ac_func in backtrace backtrace_symbols
18624 do
18625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18626 echo "$as_me:$LINENO: checking for $ac_func" >&5
18627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18628 if eval "test \"\${$as_ac_var+set}\" = set"; then
18629   echo $ECHO_N "(cached) $ECHO_C" >&6
18630 else
18631   if test x$gcc_no_link = xyes; then
18632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18634    { (exit 1); exit 1; }; }
18635 fi
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h.  */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h.  */
18642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18644 #define $ac_func innocuous_$ac_func
18645
18646 /* System header to define __stub macros and hopefully few prototypes,
18647     which can conflict with char $ac_func (); below.
18648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18649     <limits.h> exists even on freestanding compilers.  */
18650
18651 #ifdef __STDC__
18652 # include <limits.h>
18653 #else
18654 # include <assert.h>
18655 #endif
18656
18657 #undef $ac_func
18658
18659 /* Override any gcc2 internal prototype to avoid an error.  */
18660 #ifdef __cplusplus
18661 extern "C"
18662 {
18663 #endif
18664 /* We use char because int might match the return type of a gcc2
18665    builtin and then its argument prototype would still apply.  */
18666 char $ac_func ();
18667 /* The GNU C library defines this for functions which it implements
18668     to always fail with ENOSYS.  Some functions are actually named
18669     something starting with __ and the normal name is an alias.  */
18670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18671 choke me
18672 #else
18673 char (*f) () = $ac_func;
18674 #endif
18675 #ifdef __cplusplus
18676 }
18677 #endif
18678
18679 int
18680 main ()
18681 {
18682 return f != $ac_func;
18683   ;
18684   return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest.$ac_objext conftest$ac_exeext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18689   (eval $ac_link) 2>conftest.er1
18690   ac_status=$?
18691   grep -v '^ *+' conftest.er1 >conftest.err
18692   rm -f conftest.er1
18693   cat conftest.err >&5
18694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695   (exit $ac_status); } &&
18696          { ac_try='test -z "$ac_c_werror_flag"
18697                          || test ! -s conftest.err'
18698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699   (eval $ac_try) 2>&5
18700   ac_status=$?
18701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702   (exit $ac_status); }; } &&
18703          { ac_try='test -s conftest$ac_exeext'
18704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705   (eval $ac_try) 2>&5
18706   ac_status=$?
18707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708   (exit $ac_status); }; }; then
18709   eval "$as_ac_var=yes"
18710 else
18711   echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 eval "$as_ac_var=no"
18715 fi
18716 rm -f conftest.err conftest.$ac_objext \
18717       conftest$ac_exeext conftest.$ac_ext
18718 fi
18719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18721 if test `eval echo '${'$as_ac_var'}'` = yes; then
18722   cat >>confdefs.h <<_ACEOF
18723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18724 _ACEOF
18725
18726 fi
18727 done
18728
18729
18730 # Check for types
18731 echo "$as_me:$LINENO: checking for intptr_t" >&5
18732 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18733 if test "${ac_cv_type_intptr_t+set}" = set; then
18734   echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736   cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h.  */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h.  */
18742 $ac_includes_default
18743 int
18744 main ()
18745 {
18746 if ((intptr_t *) 0)
18747   return 0;
18748 if (sizeof (intptr_t))
18749   return 0;
18750   ;
18751   return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756   (eval $ac_compile) 2>conftest.er1
18757   ac_status=$?
18758   grep -v '^ *+' conftest.er1 >conftest.err
18759   rm -f conftest.er1
18760   cat conftest.err >&5
18761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762   (exit $ac_status); } &&
18763          { ac_try='test -z "$ac_c_werror_flag"
18764                          || test ! -s conftest.err'
18765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766   (eval $ac_try) 2>&5
18767   ac_status=$?
18768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769   (exit $ac_status); }; } &&
18770          { ac_try='test -s conftest.$ac_objext'
18771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772   (eval $ac_try) 2>&5
18773   ac_status=$?
18774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775   (exit $ac_status); }; }; then
18776   ac_cv_type_intptr_t=yes
18777 else
18778   echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 ac_cv_type_intptr_t=no
18782 fi
18783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18784 fi
18785 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18786 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18787 if test $ac_cv_type_intptr_t = yes; then
18788
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_INTPTR_T 1
18791 _ACEOF
18792
18793
18794 fi
18795
18796
18797 # Check libc for getgid, getpid, getuid
18798 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18799 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18800 if test "${ac_cv_lib_c_getgid+set}" = set; then
18801   echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803   ac_check_lib_save_LIBS=$LIBS
18804 LIBS="-lc  $LIBS"
18805 if test x$gcc_no_link = xyes; then
18806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808    { (exit 1); exit 1; }; }
18809 fi
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h.  */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h.  */
18816
18817 /* Override any gcc2 internal prototype to avoid an error.  */
18818 #ifdef __cplusplus
18819 extern "C"
18820 #endif
18821 /* We use char because int might match the return type of a gcc2
18822    builtin and then its argument prototype would still apply.  */
18823 char getgid ();
18824 int
18825 main ()
18826 {
18827 getgid ();
18828   ;
18829   return 0;
18830 }
18831 _ACEOF
18832 rm -f conftest.$ac_objext conftest$ac_exeext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18834   (eval $ac_link) 2>conftest.er1
18835   ac_status=$?
18836   grep -v '^ *+' conftest.er1 >conftest.err
18837   rm -f conftest.er1
18838   cat conftest.err >&5
18839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840   (exit $ac_status); } &&
18841          { ac_try='test -z "$ac_c_werror_flag"
18842                          || test ! -s conftest.err'
18843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844   (eval $ac_try) 2>&5
18845   ac_status=$?
18846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847   (exit $ac_status); }; } &&
18848          { ac_try='test -s conftest$ac_exeext'
18849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850   (eval $ac_try) 2>&5
18851   ac_status=$?
18852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853   (exit $ac_status); }; }; then
18854   ac_cv_lib_c_getgid=yes
18855 else
18856   echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18858
18859 ac_cv_lib_c_getgid=no
18860 fi
18861 rm -f conftest.err conftest.$ac_objext \
18862       conftest$ac_exeext conftest.$ac_ext
18863 LIBS=$ac_check_lib_save_LIBS
18864 fi
18865 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18866 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18867 if test $ac_cv_lib_c_getgid = yes; then
18868
18869 cat >>confdefs.h <<\_ACEOF
18870 #define HAVE_GETGID 1
18871 _ACEOF
18872
18873 fi
18874
18875 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18876 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18877 if test "${ac_cv_lib_c_getpid+set}" = set; then
18878   echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880   ac_check_lib_save_LIBS=$LIBS
18881 LIBS="-lc  $LIBS"
18882 if test x$gcc_no_link = xyes; then
18883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18885    { (exit 1); exit 1; }; }
18886 fi
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h.  */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h.  */
18893
18894 /* Override any gcc2 internal prototype to avoid an error.  */
18895 #ifdef __cplusplus
18896 extern "C"
18897 #endif
18898 /* We use char because int might match the return type of a gcc2
18899    builtin and then its argument prototype would still apply.  */
18900 char getpid ();
18901 int
18902 main ()
18903 {
18904 getpid ();
18905   ;
18906   return 0;
18907 }
18908 _ACEOF
18909 rm -f conftest.$ac_objext conftest$ac_exeext
18910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911   (eval $ac_link) 2>conftest.er1
18912   ac_status=$?
18913   grep -v '^ *+' conftest.er1 >conftest.err
18914   rm -f conftest.er1
18915   cat conftest.err >&5
18916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917   (exit $ac_status); } &&
18918          { ac_try='test -z "$ac_c_werror_flag"
18919                          || test ! -s conftest.err'
18920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921   (eval $ac_try) 2>&5
18922   ac_status=$?
18923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924   (exit $ac_status); }; } &&
18925          { ac_try='test -s conftest$ac_exeext'
18926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927   (eval $ac_try) 2>&5
18928   ac_status=$?
18929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930   (exit $ac_status); }; }; then
18931   ac_cv_lib_c_getpid=yes
18932 else
18933   echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18935
18936 ac_cv_lib_c_getpid=no
18937 fi
18938 rm -f conftest.err conftest.$ac_objext \
18939       conftest$ac_exeext conftest.$ac_ext
18940 LIBS=$ac_check_lib_save_LIBS
18941 fi
18942 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18943 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18944 if test $ac_cv_lib_c_getpid = yes; then
18945
18946 cat >>confdefs.h <<\_ACEOF
18947 #define HAVE_GETPID 1
18948 _ACEOF
18949
18950 fi
18951
18952 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18953 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18954 if test "${ac_cv_lib_c_getppid+set}" = set; then
18955   echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957   ac_check_lib_save_LIBS=$LIBS
18958 LIBS="-lc  $LIBS"
18959 if test x$gcc_no_link = xyes; then
18960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18962    { (exit 1); exit 1; }; }
18963 fi
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h.  */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h.  */
18970
18971 /* Override any gcc2 internal prototype to avoid an error.  */
18972 #ifdef __cplusplus
18973 extern "C"
18974 #endif
18975 /* We use char because int might match the return type of a gcc2
18976    builtin and then its argument prototype would still apply.  */
18977 char getppid ();
18978 int
18979 main ()
18980 {
18981 getppid ();
18982   ;
18983   return 0;
18984 }
18985 _ACEOF
18986 rm -f conftest.$ac_objext conftest$ac_exeext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18988   (eval $ac_link) 2>conftest.er1
18989   ac_status=$?
18990   grep -v '^ *+' conftest.er1 >conftest.err
18991   rm -f conftest.er1
18992   cat conftest.err >&5
18993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994   (exit $ac_status); } &&
18995          { ac_try='test -z "$ac_c_werror_flag"
18996                          || test ! -s conftest.err'
18997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998   (eval $ac_try) 2>&5
18999   ac_status=$?
19000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001   (exit $ac_status); }; } &&
19002          { ac_try='test -s conftest$ac_exeext'
19003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004   (eval $ac_try) 2>&5
19005   ac_status=$?
19006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007   (exit $ac_status); }; }; then
19008   ac_cv_lib_c_getppid=yes
19009 else
19010   echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19012
19013 ac_cv_lib_c_getppid=no
19014 fi
19015 rm -f conftest.err conftest.$ac_objext \
19016       conftest$ac_exeext conftest.$ac_ext
19017 LIBS=$ac_check_lib_save_LIBS
19018 fi
19019 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19020 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19021 if test $ac_cv_lib_c_getppid = yes; then
19022
19023 cat >>confdefs.h <<\_ACEOF
19024 #define HAVE_GETPPID 1
19025 _ACEOF
19026
19027 fi
19028
19029 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19030 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19031 if test "${ac_cv_lib_c_getuid+set}" = set; then
19032   echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034   ac_check_lib_save_LIBS=$LIBS
19035 LIBS="-lc  $LIBS"
19036 if test x$gcc_no_link = xyes; then
19037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19039    { (exit 1); exit 1; }; }
19040 fi
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h.  */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h.  */
19047
19048 /* Override any gcc2 internal prototype to avoid an error.  */
19049 #ifdef __cplusplus
19050 extern "C"
19051 #endif
19052 /* We use char because int might match the return type of a gcc2
19053    builtin and then its argument prototype would still apply.  */
19054 char getuid ();
19055 int
19056 main ()
19057 {
19058 getuid ();
19059   ;
19060   return 0;
19061 }
19062 _ACEOF
19063 rm -f conftest.$ac_objext conftest$ac_exeext
19064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19065   (eval $ac_link) 2>conftest.er1
19066   ac_status=$?
19067   grep -v '^ *+' conftest.er1 >conftest.err
19068   rm -f conftest.er1
19069   cat conftest.err >&5
19070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071   (exit $ac_status); } &&
19072          { ac_try='test -z "$ac_c_werror_flag"
19073                          || test ! -s conftest.err'
19074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075   (eval $ac_try) 2>&5
19076   ac_status=$?
19077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078   (exit $ac_status); }; } &&
19079          { ac_try='test -s conftest$ac_exeext'
19080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081   (eval $ac_try) 2>&5
19082   ac_status=$?
19083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084   (exit $ac_status); }; }; then
19085   ac_cv_lib_c_getuid=yes
19086 else
19087   echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19089
19090 ac_cv_lib_c_getuid=no
19091 fi
19092 rm -f conftest.err conftest.$ac_objext \
19093       conftest$ac_exeext conftest.$ac_ext
19094 LIBS=$ac_check_lib_save_LIBS
19095 fi
19096 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19097 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19098 if test $ac_cv_lib_c_getuid = yes; then
19099
19100 cat >>confdefs.h <<\_ACEOF
19101 #define HAVE_GETUID 1
19102 _ACEOF
19103
19104 fi
19105
19106 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19107 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19108 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19109   echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111   ac_check_lib_save_LIBS=$LIBS
19112 LIBS="-lc  $LIBS"
19113 if test x$gcc_no_link = xyes; then
19114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19116    { (exit 1); exit 1; }; }
19117 fi
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h.  */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h.  */
19124
19125 /* Override any gcc2 internal prototype to avoid an error.  */
19126 #ifdef __cplusplus
19127 extern "C"
19128 #endif
19129 /* We use char because int might match the return type of a gcc2
19130    builtin and then its argument prototype would still apply.  */
19131 char geteuid ();
19132 int
19133 main ()
19134 {
19135 geteuid ();
19136   ;
19137   return 0;
19138 }
19139 _ACEOF
19140 rm -f conftest.$ac_objext conftest$ac_exeext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142   (eval $ac_link) 2>conftest.er1
19143   ac_status=$?
19144   grep -v '^ *+' conftest.er1 >conftest.err
19145   rm -f conftest.er1
19146   cat conftest.err >&5
19147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148   (exit $ac_status); } &&
19149          { ac_try='test -z "$ac_c_werror_flag"
19150                          || test ! -s conftest.err'
19151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152   (eval $ac_try) 2>&5
19153   ac_status=$?
19154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155   (exit $ac_status); }; } &&
19156          { ac_try='test -s conftest$ac_exeext'
19157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158   (eval $ac_try) 2>&5
19159   ac_status=$?
19160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161   (exit $ac_status); }; }; then
19162   ac_cv_lib_c_geteuid=yes
19163 else
19164   echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19166
19167 ac_cv_lib_c_geteuid=no
19168 fi
19169 rm -f conftest.err conftest.$ac_objext \
19170       conftest$ac_exeext conftest.$ac_ext
19171 LIBS=$ac_check_lib_save_LIBS
19172 fi
19173 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19174 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19175 if test $ac_cv_lib_c_geteuid = yes; then
19176
19177 cat >>confdefs.h <<\_ACEOF
19178 #define HAVE_GETEUID 1
19179 _ACEOF
19180
19181 fi
19182
19183
19184 # Check for C99 (and other IEEE) math functions
19185 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19186 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19187 if test "${ac_cv_lib_m_acosf+set}" = set; then
19188   echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190   ac_check_lib_save_LIBS=$LIBS
19191 LIBS="-lm  $LIBS"
19192 if test x$gcc_no_link = xyes; then
19193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19195    { (exit 1); exit 1; }; }
19196 fi
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h.  */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h.  */
19203
19204 /* Override any gcc2 internal prototype to avoid an error.  */
19205 #ifdef __cplusplus
19206 extern "C"
19207 #endif
19208 /* We use char because int might match the return type of a gcc2
19209    builtin and then its argument prototype would still apply.  */
19210 char acosf ();
19211 int
19212 main ()
19213 {
19214 acosf ();
19215   ;
19216   return 0;
19217 }
19218 _ACEOF
19219 rm -f conftest.$ac_objext conftest$ac_exeext
19220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19221   (eval $ac_link) 2>conftest.er1
19222   ac_status=$?
19223   grep -v '^ *+' conftest.er1 >conftest.err
19224   rm -f conftest.er1
19225   cat conftest.err >&5
19226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227   (exit $ac_status); } &&
19228          { ac_try='test -z "$ac_c_werror_flag"
19229                          || test ! -s conftest.err'
19230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231   (eval $ac_try) 2>&5
19232   ac_status=$?
19233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234   (exit $ac_status); }; } &&
19235          { ac_try='test -s conftest$ac_exeext'
19236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237   (eval $ac_try) 2>&5
19238   ac_status=$?
19239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240   (exit $ac_status); }; }; then
19241   ac_cv_lib_m_acosf=yes
19242 else
19243   echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19245
19246 ac_cv_lib_m_acosf=no
19247 fi
19248 rm -f conftest.err conftest.$ac_objext \
19249       conftest$ac_exeext conftest.$ac_ext
19250 LIBS=$ac_check_lib_save_LIBS
19251 fi
19252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19253 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19254 if test $ac_cv_lib_m_acosf = yes; then
19255
19256 cat >>confdefs.h <<\_ACEOF
19257 #define HAVE_ACOSF 1
19258 _ACEOF
19259
19260 fi
19261
19262 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19263 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19264 if test "${ac_cv_lib_m_acos+set}" = set; then
19265   echo $ECHO_N "(cached) $ECHO_C" >&6
19266 else
19267   ac_check_lib_save_LIBS=$LIBS
19268 LIBS="-lm  $LIBS"
19269 if test x$gcc_no_link = xyes; then
19270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19272    { (exit 1); exit 1; }; }
19273 fi
19274 cat >conftest.$ac_ext <<_ACEOF
19275 /* confdefs.h.  */
19276 _ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h.  */
19280
19281 /* Override any gcc2 internal prototype to avoid an error.  */
19282 #ifdef __cplusplus
19283 extern "C"
19284 #endif
19285 /* We use char because int might match the return type of a gcc2
19286    builtin and then its argument prototype would still apply.  */
19287 char acos ();
19288 int
19289 main ()
19290 {
19291 acos ();
19292   ;
19293   return 0;
19294 }
19295 _ACEOF
19296 rm -f conftest.$ac_objext conftest$ac_exeext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19298   (eval $ac_link) 2>conftest.er1
19299   ac_status=$?
19300   grep -v '^ *+' conftest.er1 >conftest.err
19301   rm -f conftest.er1
19302   cat conftest.err >&5
19303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304   (exit $ac_status); } &&
19305          { ac_try='test -z "$ac_c_werror_flag"
19306                          || test ! -s conftest.err'
19307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308   (eval $ac_try) 2>&5
19309   ac_status=$?
19310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311   (exit $ac_status); }; } &&
19312          { ac_try='test -s conftest$ac_exeext'
19313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314   (eval $ac_try) 2>&5
19315   ac_status=$?
19316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317   (exit $ac_status); }; }; then
19318   ac_cv_lib_m_acos=yes
19319 else
19320   echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19322
19323 ac_cv_lib_m_acos=no
19324 fi
19325 rm -f conftest.err conftest.$ac_objext \
19326       conftest$ac_exeext conftest.$ac_ext
19327 LIBS=$ac_check_lib_save_LIBS
19328 fi
19329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19330 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19331 if test $ac_cv_lib_m_acos = yes; then
19332
19333 cat >>confdefs.h <<\_ACEOF
19334 #define HAVE_ACOS 1
19335 _ACEOF
19336
19337 fi
19338
19339 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19340 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19341 if test "${ac_cv_lib_m_acosl+set}" = set; then
19342   echo $ECHO_N "(cached) $ECHO_C" >&6
19343 else
19344   ac_check_lib_save_LIBS=$LIBS
19345 LIBS="-lm  $LIBS"
19346 if test x$gcc_no_link = xyes; then
19347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19349    { (exit 1); exit 1; }; }
19350 fi
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h.  */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h.  */
19357
19358 /* Override any gcc2 internal prototype to avoid an error.  */
19359 #ifdef __cplusplus
19360 extern "C"
19361 #endif
19362 /* We use char because int might match the return type of a gcc2
19363    builtin and then its argument prototype would still apply.  */
19364 char acosl ();
19365 int
19366 main ()
19367 {
19368 acosl ();
19369   ;
19370   return 0;
19371 }
19372 _ACEOF
19373 rm -f conftest.$ac_objext conftest$ac_exeext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19375   (eval $ac_link) 2>conftest.er1
19376   ac_status=$?
19377   grep -v '^ *+' conftest.er1 >conftest.err
19378   rm -f conftest.er1
19379   cat conftest.err >&5
19380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381   (exit $ac_status); } &&
19382          { ac_try='test -z "$ac_c_werror_flag"
19383                          || test ! -s conftest.err'
19384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385   (eval $ac_try) 2>&5
19386   ac_status=$?
19387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388   (exit $ac_status); }; } &&
19389          { ac_try='test -s conftest$ac_exeext'
19390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391   (eval $ac_try) 2>&5
19392   ac_status=$?
19393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394   (exit $ac_status); }; }; then
19395   ac_cv_lib_m_acosl=yes
19396 else
19397   echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19399
19400 ac_cv_lib_m_acosl=no
19401 fi
19402 rm -f conftest.err conftest.$ac_objext \
19403       conftest$ac_exeext conftest.$ac_ext
19404 LIBS=$ac_check_lib_save_LIBS
19405 fi
19406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19407 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19408 if test $ac_cv_lib_m_acosl = yes; then
19409
19410 cat >>confdefs.h <<\_ACEOF
19411 #define HAVE_ACOSL 1
19412 _ACEOF
19413
19414 fi
19415
19416 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19417 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19418 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19419   echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19421   ac_check_lib_save_LIBS=$LIBS
19422 LIBS="-lm  $LIBS"
19423 if test x$gcc_no_link = xyes; then
19424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19426    { (exit 1); exit 1; }; }
19427 fi
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h.  */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h.  */
19434
19435 /* Override any gcc2 internal prototype to avoid an error.  */
19436 #ifdef __cplusplus
19437 extern "C"
19438 #endif
19439 /* We use char because int might match the return type of a gcc2
19440    builtin and then its argument prototype would still apply.  */
19441 char acoshf ();
19442 int
19443 main ()
19444 {
19445 acoshf ();
19446   ;
19447   return 0;
19448 }
19449 _ACEOF
19450 rm -f conftest.$ac_objext conftest$ac_exeext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452   (eval $ac_link) 2>conftest.er1
19453   ac_status=$?
19454   grep -v '^ *+' conftest.er1 >conftest.err
19455   rm -f conftest.er1
19456   cat conftest.err >&5
19457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458   (exit $ac_status); } &&
19459          { ac_try='test -z "$ac_c_werror_flag"
19460                          || test ! -s conftest.err'
19461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462   (eval $ac_try) 2>&5
19463   ac_status=$?
19464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465   (exit $ac_status); }; } &&
19466          { ac_try='test -s conftest$ac_exeext'
19467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468   (eval $ac_try) 2>&5
19469   ac_status=$?
19470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471   (exit $ac_status); }; }; then
19472   ac_cv_lib_m_acoshf=yes
19473 else
19474   echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19476
19477 ac_cv_lib_m_acoshf=no
19478 fi
19479 rm -f conftest.err conftest.$ac_objext \
19480       conftest$ac_exeext conftest.$ac_ext
19481 LIBS=$ac_check_lib_save_LIBS
19482 fi
19483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19484 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19485 if test $ac_cv_lib_m_acoshf = yes; then
19486
19487 cat >>confdefs.h <<\_ACEOF
19488 #define HAVE_ACOSHF 1
19489 _ACEOF
19490
19491 fi
19492
19493 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19494 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19495 if test "${ac_cv_lib_m_acosh+set}" = set; then
19496   echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19498   ac_check_lib_save_LIBS=$LIBS
19499 LIBS="-lm  $LIBS"
19500 if test x$gcc_no_link = xyes; then
19501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19503    { (exit 1); exit 1; }; }
19504 fi
19505 cat >conftest.$ac_ext <<_ACEOF
19506 /* confdefs.h.  */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h.  */
19511
19512 /* Override any gcc2 internal prototype to avoid an error.  */
19513 #ifdef __cplusplus
19514 extern "C"
19515 #endif
19516 /* We use char because int might match the return type of a gcc2
19517    builtin and then its argument prototype would still apply.  */
19518 char acosh ();
19519 int
19520 main ()
19521 {
19522 acosh ();
19523   ;
19524   return 0;
19525 }
19526 _ACEOF
19527 rm -f conftest.$ac_objext conftest$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529   (eval $ac_link) 2>conftest.er1
19530   ac_status=$?
19531   grep -v '^ *+' conftest.er1 >conftest.err
19532   rm -f conftest.er1
19533   cat conftest.err >&5
19534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535   (exit $ac_status); } &&
19536          { ac_try='test -z "$ac_c_werror_flag"
19537                          || test ! -s conftest.err'
19538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539   (eval $ac_try) 2>&5
19540   ac_status=$?
19541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542   (exit $ac_status); }; } &&
19543          { ac_try='test -s conftest$ac_exeext'
19544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545   (eval $ac_try) 2>&5
19546   ac_status=$?
19547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548   (exit $ac_status); }; }; then
19549   ac_cv_lib_m_acosh=yes
19550 else
19551   echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_cv_lib_m_acosh=no
19555 fi
19556 rm -f conftest.err conftest.$ac_objext \
19557       conftest$ac_exeext conftest.$ac_ext
19558 LIBS=$ac_check_lib_save_LIBS
19559 fi
19560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19561 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19562 if test $ac_cv_lib_m_acosh = yes; then
19563
19564 cat >>confdefs.h <<\_ACEOF
19565 #define HAVE_ACOSH 1
19566 _ACEOF
19567
19568 fi
19569
19570 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19571 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19572 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19573   echo $ECHO_N "(cached) $ECHO_C" >&6
19574 else
19575   ac_check_lib_save_LIBS=$LIBS
19576 LIBS="-lm  $LIBS"
19577 if test x$gcc_no_link = xyes; then
19578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19580    { (exit 1); exit 1; }; }
19581 fi
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h.  */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h.  */
19588
19589 /* Override any gcc2 internal prototype to avoid an error.  */
19590 #ifdef __cplusplus
19591 extern "C"
19592 #endif
19593 /* We use char because int might match the return type of a gcc2
19594    builtin and then its argument prototype would still apply.  */
19595 char acoshl ();
19596 int
19597 main ()
19598 {
19599 acoshl ();
19600   ;
19601   return 0;
19602 }
19603 _ACEOF
19604 rm -f conftest.$ac_objext conftest$ac_exeext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19606   (eval $ac_link) 2>conftest.er1
19607   ac_status=$?
19608   grep -v '^ *+' conftest.er1 >conftest.err
19609   rm -f conftest.er1
19610   cat conftest.err >&5
19611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612   (exit $ac_status); } &&
19613          { ac_try='test -z "$ac_c_werror_flag"
19614                          || test ! -s conftest.err'
19615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616   (eval $ac_try) 2>&5
19617   ac_status=$?
19618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619   (exit $ac_status); }; } &&
19620          { ac_try='test -s conftest$ac_exeext'
19621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622   (eval $ac_try) 2>&5
19623   ac_status=$?
19624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625   (exit $ac_status); }; }; then
19626   ac_cv_lib_m_acoshl=yes
19627 else
19628   echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19630
19631 ac_cv_lib_m_acoshl=no
19632 fi
19633 rm -f conftest.err conftest.$ac_objext \
19634       conftest$ac_exeext conftest.$ac_ext
19635 LIBS=$ac_check_lib_save_LIBS
19636 fi
19637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19638 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19639 if test $ac_cv_lib_m_acoshl = yes; then
19640
19641 cat >>confdefs.h <<\_ACEOF
19642 #define HAVE_ACOSHL 1
19643 _ACEOF
19644
19645 fi
19646
19647 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19648 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19649 if test "${ac_cv_lib_m_asinf+set}" = set; then
19650   echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19652   ac_check_lib_save_LIBS=$LIBS
19653 LIBS="-lm  $LIBS"
19654 if test x$gcc_no_link = xyes; then
19655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19657    { (exit 1); exit 1; }; }
19658 fi
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h.  */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h.  */
19665
19666 /* Override any gcc2 internal prototype to avoid an error.  */
19667 #ifdef __cplusplus
19668 extern "C"
19669 #endif
19670 /* We use char because int might match the return type of a gcc2
19671    builtin and then its argument prototype would still apply.  */
19672 char asinf ();
19673 int
19674 main ()
19675 {
19676 asinf ();
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 rm -f conftest.$ac_objext conftest$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683   (eval $ac_link) 2>conftest.er1
19684   ac_status=$?
19685   grep -v '^ *+' conftest.er1 >conftest.err
19686   rm -f conftest.er1
19687   cat conftest.err >&5
19688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689   (exit $ac_status); } &&
19690          { ac_try='test -z "$ac_c_werror_flag"
19691                          || test ! -s conftest.err'
19692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693   (eval $ac_try) 2>&5
19694   ac_status=$?
19695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696   (exit $ac_status); }; } &&
19697          { ac_try='test -s conftest$ac_exeext'
19698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699   (eval $ac_try) 2>&5
19700   ac_status=$?
19701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702   (exit $ac_status); }; }; then
19703   ac_cv_lib_m_asinf=yes
19704 else
19705   echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19707
19708 ac_cv_lib_m_asinf=no
19709 fi
19710 rm -f conftest.err conftest.$ac_objext \
19711       conftest$ac_exeext conftest.$ac_ext
19712 LIBS=$ac_check_lib_save_LIBS
19713 fi
19714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19715 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19716 if test $ac_cv_lib_m_asinf = yes; then
19717
19718 cat >>confdefs.h <<\_ACEOF
19719 #define HAVE_ASINF 1
19720 _ACEOF
19721
19722 fi
19723
19724 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19725 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19726 if test "${ac_cv_lib_m_asin+set}" = set; then
19727   echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729   ac_check_lib_save_LIBS=$LIBS
19730 LIBS="-lm  $LIBS"
19731 if test x$gcc_no_link = xyes; then
19732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19734    { (exit 1); exit 1; }; }
19735 fi
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h.  */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h.  */
19742
19743 /* Override any gcc2 internal prototype to avoid an error.  */
19744 #ifdef __cplusplus
19745 extern "C"
19746 #endif
19747 /* We use char because int might match the return type of a gcc2
19748    builtin and then its argument prototype would still apply.  */
19749 char asin ();
19750 int
19751 main ()
19752 {
19753 asin ();
19754   ;
19755   return 0;
19756 }
19757 _ACEOF
19758 rm -f conftest.$ac_objext conftest$ac_exeext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19760   (eval $ac_link) 2>conftest.er1
19761   ac_status=$?
19762   grep -v '^ *+' conftest.er1 >conftest.err
19763   rm -f conftest.er1
19764   cat conftest.err >&5
19765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766   (exit $ac_status); } &&
19767          { ac_try='test -z "$ac_c_werror_flag"
19768                          || test ! -s conftest.err'
19769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770   (eval $ac_try) 2>&5
19771   ac_status=$?
19772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773   (exit $ac_status); }; } &&
19774          { ac_try='test -s conftest$ac_exeext'
19775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776   (eval $ac_try) 2>&5
19777   ac_status=$?
19778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779   (exit $ac_status); }; }; then
19780   ac_cv_lib_m_asin=yes
19781 else
19782   echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19784
19785 ac_cv_lib_m_asin=no
19786 fi
19787 rm -f conftest.err conftest.$ac_objext \
19788       conftest$ac_exeext conftest.$ac_ext
19789 LIBS=$ac_check_lib_save_LIBS
19790 fi
19791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19792 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19793 if test $ac_cv_lib_m_asin = yes; then
19794
19795 cat >>confdefs.h <<\_ACEOF
19796 #define HAVE_ASIN 1
19797 _ACEOF
19798
19799 fi
19800
19801 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19802 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19803 if test "${ac_cv_lib_m_asinl+set}" = set; then
19804   echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806   ac_check_lib_save_LIBS=$LIBS
19807 LIBS="-lm  $LIBS"
19808 if test x$gcc_no_link = xyes; then
19809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19811    { (exit 1); exit 1; }; }
19812 fi
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h.  */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h.  */
19819
19820 /* Override any gcc2 internal prototype to avoid an error.  */
19821 #ifdef __cplusplus
19822 extern "C"
19823 #endif
19824 /* We use char because int might match the return type of a gcc2
19825    builtin and then its argument prototype would still apply.  */
19826 char asinl ();
19827 int
19828 main ()
19829 {
19830 asinl ();
19831   ;
19832   return 0;
19833 }
19834 _ACEOF
19835 rm -f conftest.$ac_objext conftest$ac_exeext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19837   (eval $ac_link) 2>conftest.er1
19838   ac_status=$?
19839   grep -v '^ *+' conftest.er1 >conftest.err
19840   rm -f conftest.er1
19841   cat conftest.err >&5
19842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843   (exit $ac_status); } &&
19844          { ac_try='test -z "$ac_c_werror_flag"
19845                          || test ! -s conftest.err'
19846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847   (eval $ac_try) 2>&5
19848   ac_status=$?
19849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850   (exit $ac_status); }; } &&
19851          { ac_try='test -s conftest$ac_exeext'
19852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853   (eval $ac_try) 2>&5
19854   ac_status=$?
19855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856   (exit $ac_status); }; }; then
19857   ac_cv_lib_m_asinl=yes
19858 else
19859   echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_cv_lib_m_asinl=no
19863 fi
19864 rm -f conftest.err conftest.$ac_objext \
19865       conftest$ac_exeext conftest.$ac_ext
19866 LIBS=$ac_check_lib_save_LIBS
19867 fi
19868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19869 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19870 if test $ac_cv_lib_m_asinl = yes; then
19871
19872 cat >>confdefs.h <<\_ACEOF
19873 #define HAVE_ASINL 1
19874 _ACEOF
19875
19876 fi
19877
19878 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19879 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19880 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19881   echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else
19883   ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lm  $LIBS"
19885 if test x$gcc_no_link = xyes; then
19886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19888    { (exit 1); exit 1; }; }
19889 fi
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h.  */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h.  */
19896
19897 /* Override any gcc2 internal prototype to avoid an error.  */
19898 #ifdef __cplusplus
19899 extern "C"
19900 #endif
19901 /* We use char because int might match the return type of a gcc2
19902    builtin and then its argument prototype would still apply.  */
19903 char asinhf ();
19904 int
19905 main ()
19906 {
19907 asinhf ();
19908   ;
19909   return 0;
19910 }
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19914   (eval $ac_link) 2>conftest.er1
19915   ac_status=$?
19916   grep -v '^ *+' conftest.er1 >conftest.err
19917   rm -f conftest.er1
19918   cat conftest.err >&5
19919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920   (exit $ac_status); } &&
19921          { ac_try='test -z "$ac_c_werror_flag"
19922                          || test ! -s conftest.err'
19923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924   (eval $ac_try) 2>&5
19925   ac_status=$?
19926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927   (exit $ac_status); }; } &&
19928          { ac_try='test -s conftest$ac_exeext'
19929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930   (eval $ac_try) 2>&5
19931   ac_status=$?
19932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933   (exit $ac_status); }; }; then
19934   ac_cv_lib_m_asinhf=yes
19935 else
19936   echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19938
19939 ac_cv_lib_m_asinhf=no
19940 fi
19941 rm -f conftest.err conftest.$ac_objext \
19942       conftest$ac_exeext conftest.$ac_ext
19943 LIBS=$ac_check_lib_save_LIBS
19944 fi
19945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19946 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19947 if test $ac_cv_lib_m_asinhf = yes; then
19948
19949 cat >>confdefs.h <<\_ACEOF
19950 #define HAVE_ASINHF 1
19951 _ACEOF
19952
19953 fi
19954
19955 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19956 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19957 if test "${ac_cv_lib_m_asinh+set}" = set; then
19958   echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19960   ac_check_lib_save_LIBS=$LIBS
19961 LIBS="-lm  $LIBS"
19962 if test x$gcc_no_link = xyes; then
19963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965    { (exit 1); exit 1; }; }
19966 fi
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h.  */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h.  */
19973
19974 /* Override any gcc2 internal prototype to avoid an error.  */
19975 #ifdef __cplusplus
19976 extern "C"
19977 #endif
19978 /* We use char because int might match the return type of a gcc2
19979    builtin and then its argument prototype would still apply.  */
19980 char asinh ();
19981 int
19982 main ()
19983 {
19984 asinh ();
19985   ;
19986   return 0;
19987 }
19988 _ACEOF
19989 rm -f conftest.$ac_objext conftest$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991   (eval $ac_link) 2>conftest.er1
19992   ac_status=$?
19993   grep -v '^ *+' conftest.er1 >conftest.err
19994   rm -f conftest.er1
19995   cat conftest.err >&5
19996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997   (exit $ac_status); } &&
19998          { ac_try='test -z "$ac_c_werror_flag"
19999                          || test ! -s conftest.err'
20000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001   (eval $ac_try) 2>&5
20002   ac_status=$?
20003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004   (exit $ac_status); }; } &&
20005          { ac_try='test -s conftest$ac_exeext'
20006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007   (eval $ac_try) 2>&5
20008   ac_status=$?
20009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010   (exit $ac_status); }; }; then
20011   ac_cv_lib_m_asinh=yes
20012 else
20013   echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20015
20016 ac_cv_lib_m_asinh=no
20017 fi
20018 rm -f conftest.err conftest.$ac_objext \
20019       conftest$ac_exeext conftest.$ac_ext
20020 LIBS=$ac_check_lib_save_LIBS
20021 fi
20022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20023 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20024 if test $ac_cv_lib_m_asinh = yes; then
20025
20026 cat >>confdefs.h <<\_ACEOF
20027 #define HAVE_ASINH 1
20028 _ACEOF
20029
20030 fi
20031
20032 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20033 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20034 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20035   echo $ECHO_N "(cached) $ECHO_C" >&6
20036 else
20037   ac_check_lib_save_LIBS=$LIBS
20038 LIBS="-lm  $LIBS"
20039 if test x$gcc_no_link = xyes; then
20040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20042    { (exit 1); exit 1; }; }
20043 fi
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h.  */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h.  */
20050
20051 /* Override any gcc2 internal prototype to avoid an error.  */
20052 #ifdef __cplusplus
20053 extern "C"
20054 #endif
20055 /* We use char because int might match the return type of a gcc2
20056    builtin and then its argument prototype would still apply.  */
20057 char asinhl ();
20058 int
20059 main ()
20060 {
20061 asinhl ();
20062   ;
20063   return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext conftest$ac_exeext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20068   (eval $ac_link) 2>conftest.er1
20069   ac_status=$?
20070   grep -v '^ *+' conftest.er1 >conftest.err
20071   rm -f conftest.er1
20072   cat conftest.err >&5
20073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074   (exit $ac_status); } &&
20075          { ac_try='test -z "$ac_c_werror_flag"
20076                          || test ! -s conftest.err'
20077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078   (eval $ac_try) 2>&5
20079   ac_status=$?
20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081   (exit $ac_status); }; } &&
20082          { ac_try='test -s conftest$ac_exeext'
20083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084   (eval $ac_try) 2>&5
20085   ac_status=$?
20086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087   (exit $ac_status); }; }; then
20088   ac_cv_lib_m_asinhl=yes
20089 else
20090   echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 ac_cv_lib_m_asinhl=no
20094 fi
20095 rm -f conftest.err conftest.$ac_objext \
20096       conftest$ac_exeext conftest.$ac_ext
20097 LIBS=$ac_check_lib_save_LIBS
20098 fi
20099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20100 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20101 if test $ac_cv_lib_m_asinhl = yes; then
20102
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_ASINHL 1
20105 _ACEOF
20106
20107 fi
20108
20109 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20110 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20111 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20112   echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114   ac_check_lib_save_LIBS=$LIBS
20115 LIBS="-lm  $LIBS"
20116 if test x$gcc_no_link = xyes; then
20117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20119    { (exit 1); exit 1; }; }
20120 fi
20121 cat >conftest.$ac_ext <<_ACEOF
20122 /* confdefs.h.  */
20123 _ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h.  */
20127
20128 /* Override any gcc2 internal prototype to avoid an error.  */
20129 #ifdef __cplusplus
20130 extern "C"
20131 #endif
20132 /* We use char because int might match the return type of a gcc2
20133    builtin and then its argument prototype would still apply.  */
20134 char atan2f ();
20135 int
20136 main ()
20137 {
20138 atan2f ();
20139   ;
20140   return 0;
20141 }
20142 _ACEOF
20143 rm -f conftest.$ac_objext conftest$ac_exeext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20145   (eval $ac_link) 2>conftest.er1
20146   ac_status=$?
20147   grep -v '^ *+' conftest.er1 >conftest.err
20148   rm -f conftest.er1
20149   cat conftest.err >&5
20150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151   (exit $ac_status); } &&
20152          { ac_try='test -z "$ac_c_werror_flag"
20153                          || test ! -s conftest.err'
20154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155   (eval $ac_try) 2>&5
20156   ac_status=$?
20157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158   (exit $ac_status); }; } &&
20159          { ac_try='test -s conftest$ac_exeext'
20160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161   (eval $ac_try) 2>&5
20162   ac_status=$?
20163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164   (exit $ac_status); }; }; then
20165   ac_cv_lib_m_atan2f=yes
20166 else
20167   echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ac_cv_lib_m_atan2f=no
20171 fi
20172 rm -f conftest.err conftest.$ac_objext \
20173       conftest$ac_exeext conftest.$ac_ext
20174 LIBS=$ac_check_lib_save_LIBS
20175 fi
20176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20177 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20178 if test $ac_cv_lib_m_atan2f = yes; then
20179
20180 cat >>confdefs.h <<\_ACEOF
20181 #define HAVE_ATAN2F 1
20182 _ACEOF
20183
20184 fi
20185
20186 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20187 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20188 if test "${ac_cv_lib_m_atan2+set}" = set; then
20189   echo $ECHO_N "(cached) $ECHO_C" >&6
20190 else
20191   ac_check_lib_save_LIBS=$LIBS
20192 LIBS="-lm  $LIBS"
20193 if test x$gcc_no_link = xyes; then
20194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20196    { (exit 1); exit 1; }; }
20197 fi
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h.  */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h.  */
20204
20205 /* Override any gcc2 internal prototype to avoid an error.  */
20206 #ifdef __cplusplus
20207 extern "C"
20208 #endif
20209 /* We use char because int might match the return type of a gcc2
20210    builtin and then its argument prototype would still apply.  */
20211 char atan2 ();
20212 int
20213 main ()
20214 {
20215 atan2 ();
20216   ;
20217   return 0;
20218 }
20219 _ACEOF
20220 rm -f conftest.$ac_objext conftest$ac_exeext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20222   (eval $ac_link) 2>conftest.er1
20223   ac_status=$?
20224   grep -v '^ *+' conftest.er1 >conftest.err
20225   rm -f conftest.er1
20226   cat conftest.err >&5
20227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228   (exit $ac_status); } &&
20229          { ac_try='test -z "$ac_c_werror_flag"
20230                          || test ! -s conftest.err'
20231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232   (eval $ac_try) 2>&5
20233   ac_status=$?
20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235   (exit $ac_status); }; } &&
20236          { ac_try='test -s conftest$ac_exeext'
20237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238   (eval $ac_try) 2>&5
20239   ac_status=$?
20240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241   (exit $ac_status); }; }; then
20242   ac_cv_lib_m_atan2=yes
20243 else
20244   echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20246
20247 ac_cv_lib_m_atan2=no
20248 fi
20249 rm -f conftest.err conftest.$ac_objext \
20250       conftest$ac_exeext conftest.$ac_ext
20251 LIBS=$ac_check_lib_save_LIBS
20252 fi
20253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20254 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20255 if test $ac_cv_lib_m_atan2 = yes; then
20256
20257 cat >>confdefs.h <<\_ACEOF
20258 #define HAVE_ATAN2 1
20259 _ACEOF
20260
20261 fi
20262
20263 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20264 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20265 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20266   echo $ECHO_N "(cached) $ECHO_C" >&6
20267 else
20268   ac_check_lib_save_LIBS=$LIBS
20269 LIBS="-lm  $LIBS"
20270 if test x$gcc_no_link = xyes; then
20271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20273    { (exit 1); exit 1; }; }
20274 fi
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h.  */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h.  */
20281
20282 /* Override any gcc2 internal prototype to avoid an error.  */
20283 #ifdef __cplusplus
20284 extern "C"
20285 #endif
20286 /* We use char because int might match the return type of a gcc2
20287    builtin and then its argument prototype would still apply.  */
20288 char atan2l ();
20289 int
20290 main ()
20291 {
20292 atan2l ();
20293   ;
20294   return 0;
20295 }
20296 _ACEOF
20297 rm -f conftest.$ac_objext conftest$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299   (eval $ac_link) 2>conftest.er1
20300   ac_status=$?
20301   grep -v '^ *+' conftest.er1 >conftest.err
20302   rm -f conftest.er1
20303   cat conftest.err >&5
20304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305   (exit $ac_status); } &&
20306          { ac_try='test -z "$ac_c_werror_flag"
20307                          || test ! -s conftest.err'
20308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309   (eval $ac_try) 2>&5
20310   ac_status=$?
20311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312   (exit $ac_status); }; } &&
20313          { ac_try='test -s conftest$ac_exeext'
20314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315   (eval $ac_try) 2>&5
20316   ac_status=$?
20317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318   (exit $ac_status); }; }; then
20319   ac_cv_lib_m_atan2l=yes
20320 else
20321   echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20323
20324 ac_cv_lib_m_atan2l=no
20325 fi
20326 rm -f conftest.err conftest.$ac_objext \
20327       conftest$ac_exeext conftest.$ac_ext
20328 LIBS=$ac_check_lib_save_LIBS
20329 fi
20330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20331 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20332 if test $ac_cv_lib_m_atan2l = yes; then
20333
20334 cat >>confdefs.h <<\_ACEOF
20335 #define HAVE_ATAN2L 1
20336 _ACEOF
20337
20338 fi
20339
20340 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20341 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20342 if test "${ac_cv_lib_m_atanf+set}" = set; then
20343   echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345   ac_check_lib_save_LIBS=$LIBS
20346 LIBS="-lm  $LIBS"
20347 if test x$gcc_no_link = xyes; then
20348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20350    { (exit 1); exit 1; }; }
20351 fi
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h.  */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h.  */
20358
20359 /* Override any gcc2 internal prototype to avoid an error.  */
20360 #ifdef __cplusplus
20361 extern "C"
20362 #endif
20363 /* We use char because int might match the return type of a gcc2
20364    builtin and then its argument prototype would still apply.  */
20365 char atanf ();
20366 int
20367 main ()
20368 {
20369 atanf ();
20370   ;
20371   return 0;
20372 }
20373 _ACEOF
20374 rm -f conftest.$ac_objext conftest$ac_exeext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20376   (eval $ac_link) 2>conftest.er1
20377   ac_status=$?
20378   grep -v '^ *+' conftest.er1 >conftest.err
20379   rm -f conftest.er1
20380   cat conftest.err >&5
20381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382   (exit $ac_status); } &&
20383          { ac_try='test -z "$ac_c_werror_flag"
20384                          || test ! -s conftest.err'
20385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386   (eval $ac_try) 2>&5
20387   ac_status=$?
20388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389   (exit $ac_status); }; } &&
20390          { ac_try='test -s conftest$ac_exeext'
20391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392   (eval $ac_try) 2>&5
20393   ac_status=$?
20394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395   (exit $ac_status); }; }; then
20396   ac_cv_lib_m_atanf=yes
20397 else
20398   echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20400
20401 ac_cv_lib_m_atanf=no
20402 fi
20403 rm -f conftest.err conftest.$ac_objext \
20404       conftest$ac_exeext conftest.$ac_ext
20405 LIBS=$ac_check_lib_save_LIBS
20406 fi
20407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20408 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20409 if test $ac_cv_lib_m_atanf = yes; then
20410
20411 cat >>confdefs.h <<\_ACEOF
20412 #define HAVE_ATANF 1
20413 _ACEOF
20414
20415 fi
20416
20417 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20418 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20419 if test "${ac_cv_lib_m_atan+set}" = set; then
20420   echo $ECHO_N "(cached) $ECHO_C" >&6
20421 else
20422   ac_check_lib_save_LIBS=$LIBS
20423 LIBS="-lm  $LIBS"
20424 if test x$gcc_no_link = xyes; then
20425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20427    { (exit 1); exit 1; }; }
20428 fi
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h.  */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h.  */
20435
20436 /* Override any gcc2 internal prototype to avoid an error.  */
20437 #ifdef __cplusplus
20438 extern "C"
20439 #endif
20440 /* We use char because int might match the return type of a gcc2
20441    builtin and then its argument prototype would still apply.  */
20442 char atan ();
20443 int
20444 main ()
20445 {
20446 atan ();
20447   ;
20448   return 0;
20449 }
20450 _ACEOF
20451 rm -f conftest.$ac_objext conftest$ac_exeext
20452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20453   (eval $ac_link) 2>conftest.er1
20454   ac_status=$?
20455   grep -v '^ *+' conftest.er1 >conftest.err
20456   rm -f conftest.er1
20457   cat conftest.err >&5
20458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459   (exit $ac_status); } &&
20460          { ac_try='test -z "$ac_c_werror_flag"
20461                          || test ! -s conftest.err'
20462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463   (eval $ac_try) 2>&5
20464   ac_status=$?
20465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466   (exit $ac_status); }; } &&
20467          { ac_try='test -s conftest$ac_exeext'
20468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469   (eval $ac_try) 2>&5
20470   ac_status=$?
20471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472   (exit $ac_status); }; }; then
20473   ac_cv_lib_m_atan=yes
20474 else
20475   echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.$ac_ext >&5
20477
20478 ac_cv_lib_m_atan=no
20479 fi
20480 rm -f conftest.err conftest.$ac_objext \
20481       conftest$ac_exeext conftest.$ac_ext
20482 LIBS=$ac_check_lib_save_LIBS
20483 fi
20484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20485 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20486 if test $ac_cv_lib_m_atan = yes; then
20487
20488 cat >>confdefs.h <<\_ACEOF
20489 #define HAVE_ATAN 1
20490 _ACEOF
20491
20492 fi
20493
20494 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20495 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20496 if test "${ac_cv_lib_m_atanl+set}" = set; then
20497   echo $ECHO_N "(cached) $ECHO_C" >&6
20498 else
20499   ac_check_lib_save_LIBS=$LIBS
20500 LIBS="-lm  $LIBS"
20501 if test x$gcc_no_link = xyes; then
20502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20504    { (exit 1); exit 1; }; }
20505 fi
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h.  */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h.  */
20512
20513 /* Override any gcc2 internal prototype to avoid an error.  */
20514 #ifdef __cplusplus
20515 extern "C"
20516 #endif
20517 /* We use char because int might match the return type of a gcc2
20518    builtin and then its argument prototype would still apply.  */
20519 char atanl ();
20520 int
20521 main ()
20522 {
20523 atanl ();
20524   ;
20525   return 0;
20526 }
20527 _ACEOF
20528 rm -f conftest.$ac_objext conftest$ac_exeext
20529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20530   (eval $ac_link) 2>conftest.er1
20531   ac_status=$?
20532   grep -v '^ *+' conftest.er1 >conftest.err
20533   rm -f conftest.er1
20534   cat conftest.err >&5
20535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536   (exit $ac_status); } &&
20537          { ac_try='test -z "$ac_c_werror_flag"
20538                          || test ! -s conftest.err'
20539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540   (eval $ac_try) 2>&5
20541   ac_status=$?
20542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543   (exit $ac_status); }; } &&
20544          { ac_try='test -s conftest$ac_exeext'
20545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546   (eval $ac_try) 2>&5
20547   ac_status=$?
20548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549   (exit $ac_status); }; }; then
20550   ac_cv_lib_m_atanl=yes
20551 else
20552   echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20554
20555 ac_cv_lib_m_atanl=no
20556 fi
20557 rm -f conftest.err conftest.$ac_objext \
20558       conftest$ac_exeext conftest.$ac_ext
20559 LIBS=$ac_check_lib_save_LIBS
20560 fi
20561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20562 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20563 if test $ac_cv_lib_m_atanl = yes; then
20564
20565 cat >>confdefs.h <<\_ACEOF
20566 #define HAVE_ATANL 1
20567 _ACEOF
20568
20569 fi
20570
20571 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20572 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20573 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20574   echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576   ac_check_lib_save_LIBS=$LIBS
20577 LIBS="-lm  $LIBS"
20578 if test x$gcc_no_link = xyes; then
20579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20581    { (exit 1); exit 1; }; }
20582 fi
20583 cat >conftest.$ac_ext <<_ACEOF
20584 /* confdefs.h.  */
20585 _ACEOF
20586 cat confdefs.h >>conftest.$ac_ext
20587 cat >>conftest.$ac_ext <<_ACEOF
20588 /* end confdefs.h.  */
20589
20590 /* Override any gcc2 internal prototype to avoid an error.  */
20591 #ifdef __cplusplus
20592 extern "C"
20593 #endif
20594 /* We use char because int might match the return type of a gcc2
20595    builtin and then its argument prototype would still apply.  */
20596 char atanhf ();
20597 int
20598 main ()
20599 {
20600 atanhf ();
20601   ;
20602   return 0;
20603 }
20604 _ACEOF
20605 rm -f conftest.$ac_objext conftest$ac_exeext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20607   (eval $ac_link) 2>conftest.er1
20608   ac_status=$?
20609   grep -v '^ *+' conftest.er1 >conftest.err
20610   rm -f conftest.er1
20611   cat conftest.err >&5
20612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613   (exit $ac_status); } &&
20614          { ac_try='test -z "$ac_c_werror_flag"
20615                          || test ! -s conftest.err'
20616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617   (eval $ac_try) 2>&5
20618   ac_status=$?
20619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620   (exit $ac_status); }; } &&
20621          { ac_try='test -s conftest$ac_exeext'
20622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623   (eval $ac_try) 2>&5
20624   ac_status=$?
20625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626   (exit $ac_status); }; }; then
20627   ac_cv_lib_m_atanhf=yes
20628 else
20629   echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 ac_cv_lib_m_atanhf=no
20633 fi
20634 rm -f conftest.err conftest.$ac_objext \
20635       conftest$ac_exeext conftest.$ac_ext
20636 LIBS=$ac_check_lib_save_LIBS
20637 fi
20638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20639 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20640 if test $ac_cv_lib_m_atanhf = yes; then
20641
20642 cat >>confdefs.h <<\_ACEOF
20643 #define HAVE_ATANHF 1
20644 _ACEOF
20645
20646 fi
20647
20648 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20649 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20650 if test "${ac_cv_lib_m_atanh+set}" = set; then
20651   echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653   ac_check_lib_save_LIBS=$LIBS
20654 LIBS="-lm  $LIBS"
20655 if test x$gcc_no_link = xyes; then
20656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20658    { (exit 1); exit 1; }; }
20659 fi
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h.  */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h.  */
20666
20667 /* Override any gcc2 internal prototype to avoid an error.  */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 /* We use char because int might match the return type of a gcc2
20672    builtin and then its argument prototype would still apply.  */
20673 char atanh ();
20674 int
20675 main ()
20676 {
20677 atanh ();
20678   ;
20679   return 0;
20680 }
20681 _ACEOF
20682 rm -f conftest.$ac_objext conftest$ac_exeext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20684   (eval $ac_link) 2>conftest.er1
20685   ac_status=$?
20686   grep -v '^ *+' conftest.er1 >conftest.err
20687   rm -f conftest.er1
20688   cat conftest.err >&5
20689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690   (exit $ac_status); } &&
20691          { ac_try='test -z "$ac_c_werror_flag"
20692                          || test ! -s conftest.err'
20693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694   (eval $ac_try) 2>&5
20695   ac_status=$?
20696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697   (exit $ac_status); }; } &&
20698          { ac_try='test -s conftest$ac_exeext'
20699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700   (eval $ac_try) 2>&5
20701   ac_status=$?
20702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703   (exit $ac_status); }; }; then
20704   ac_cv_lib_m_atanh=yes
20705 else
20706   echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20708
20709 ac_cv_lib_m_atanh=no
20710 fi
20711 rm -f conftest.err conftest.$ac_objext \
20712       conftest$ac_exeext conftest.$ac_ext
20713 LIBS=$ac_check_lib_save_LIBS
20714 fi
20715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20716 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20717 if test $ac_cv_lib_m_atanh = yes; then
20718
20719 cat >>confdefs.h <<\_ACEOF
20720 #define HAVE_ATANH 1
20721 _ACEOF
20722
20723 fi
20724
20725 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20726 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20727 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20728   echo $ECHO_N "(cached) $ECHO_C" >&6
20729 else
20730   ac_check_lib_save_LIBS=$LIBS
20731 LIBS="-lm  $LIBS"
20732 if test x$gcc_no_link = xyes; then
20733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735    { (exit 1); exit 1; }; }
20736 fi
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h.  */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h.  */
20743
20744 /* Override any gcc2 internal prototype to avoid an error.  */
20745 #ifdef __cplusplus
20746 extern "C"
20747 #endif
20748 /* We use char because int might match the return type of a gcc2
20749    builtin and then its argument prototype would still apply.  */
20750 char atanhl ();
20751 int
20752 main ()
20753 {
20754 atanhl ();
20755   ;
20756   return 0;
20757 }
20758 _ACEOF
20759 rm -f conftest.$ac_objext conftest$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761   (eval $ac_link) 2>conftest.er1
20762   ac_status=$?
20763   grep -v '^ *+' conftest.er1 >conftest.err
20764   rm -f conftest.er1
20765   cat conftest.err >&5
20766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767   (exit $ac_status); } &&
20768          { ac_try='test -z "$ac_c_werror_flag"
20769                          || test ! -s conftest.err'
20770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771   (eval $ac_try) 2>&5
20772   ac_status=$?
20773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774   (exit $ac_status); }; } &&
20775          { ac_try='test -s conftest$ac_exeext'
20776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777   (eval $ac_try) 2>&5
20778   ac_status=$?
20779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780   (exit $ac_status); }; }; then
20781   ac_cv_lib_m_atanhl=yes
20782 else
20783   echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 ac_cv_lib_m_atanhl=no
20787 fi
20788 rm -f conftest.err conftest.$ac_objext \
20789       conftest$ac_exeext conftest.$ac_ext
20790 LIBS=$ac_check_lib_save_LIBS
20791 fi
20792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20793 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20794 if test $ac_cv_lib_m_atanhl = yes; then
20795
20796 cat >>confdefs.h <<\_ACEOF
20797 #define HAVE_ATANHL 1
20798 _ACEOF
20799
20800 fi
20801
20802 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20803 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20804 if test "${ac_cv_lib_m_cargf+set}" = set; then
20805   echo $ECHO_N "(cached) $ECHO_C" >&6
20806 else
20807   ac_check_lib_save_LIBS=$LIBS
20808 LIBS="-lm  $LIBS"
20809 if test x$gcc_no_link = xyes; then
20810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20812    { (exit 1); exit 1; }; }
20813 fi
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h.  */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h.  */
20820
20821 /* Override any gcc2 internal prototype to avoid an error.  */
20822 #ifdef __cplusplus
20823 extern "C"
20824 #endif
20825 /* We use char because int might match the return type of a gcc2
20826    builtin and then its argument prototype would still apply.  */
20827 char cargf ();
20828 int
20829 main ()
20830 {
20831 cargf ();
20832   ;
20833   return 0;
20834 }
20835 _ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838   (eval $ac_link) 2>conftest.er1
20839   ac_status=$?
20840   grep -v '^ *+' conftest.er1 >conftest.err
20841   rm -f conftest.er1
20842   cat conftest.err >&5
20843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844   (exit $ac_status); } &&
20845          { ac_try='test -z "$ac_c_werror_flag"
20846                          || test ! -s conftest.err'
20847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848   (eval $ac_try) 2>&5
20849   ac_status=$?
20850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851   (exit $ac_status); }; } &&
20852          { ac_try='test -s conftest$ac_exeext'
20853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854   (eval $ac_try) 2>&5
20855   ac_status=$?
20856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857   (exit $ac_status); }; }; then
20858   ac_cv_lib_m_cargf=yes
20859 else
20860   echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 ac_cv_lib_m_cargf=no
20864 fi
20865 rm -f conftest.err conftest.$ac_objext \
20866       conftest$ac_exeext conftest.$ac_ext
20867 LIBS=$ac_check_lib_save_LIBS
20868 fi
20869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20870 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20871 if test $ac_cv_lib_m_cargf = yes; then
20872
20873 cat >>confdefs.h <<\_ACEOF
20874 #define HAVE_CARGF 1
20875 _ACEOF
20876
20877 fi
20878
20879 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20880 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20881 if test "${ac_cv_lib_m_carg+set}" = set; then
20882   echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20884   ac_check_lib_save_LIBS=$LIBS
20885 LIBS="-lm  $LIBS"
20886 if test x$gcc_no_link = xyes; then
20887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20889    { (exit 1); exit 1; }; }
20890 fi
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h.  */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h.  */
20897
20898 /* Override any gcc2 internal prototype to avoid an error.  */
20899 #ifdef __cplusplus
20900 extern "C"
20901 #endif
20902 /* We use char because int might match the return type of a gcc2
20903    builtin and then its argument prototype would still apply.  */
20904 char carg ();
20905 int
20906 main ()
20907 {
20908 carg ();
20909   ;
20910   return 0;
20911 }
20912 _ACEOF
20913 rm -f conftest.$ac_objext conftest$ac_exeext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20915   (eval $ac_link) 2>conftest.er1
20916   ac_status=$?
20917   grep -v '^ *+' conftest.er1 >conftest.err
20918   rm -f conftest.er1
20919   cat conftest.err >&5
20920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921   (exit $ac_status); } &&
20922          { ac_try='test -z "$ac_c_werror_flag"
20923                          || test ! -s conftest.err'
20924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925   (eval $ac_try) 2>&5
20926   ac_status=$?
20927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928   (exit $ac_status); }; } &&
20929          { ac_try='test -s conftest$ac_exeext'
20930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931   (eval $ac_try) 2>&5
20932   ac_status=$?
20933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934   (exit $ac_status); }; }; then
20935   ac_cv_lib_m_carg=yes
20936 else
20937   echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 ac_cv_lib_m_carg=no
20941 fi
20942 rm -f conftest.err conftest.$ac_objext \
20943       conftest$ac_exeext conftest.$ac_ext
20944 LIBS=$ac_check_lib_save_LIBS
20945 fi
20946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20947 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20948 if test $ac_cv_lib_m_carg = yes; then
20949
20950 cat >>confdefs.h <<\_ACEOF
20951 #define HAVE_CARG 1
20952 _ACEOF
20953
20954 fi
20955
20956 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20957 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20958 if test "${ac_cv_lib_m_cargl+set}" = set; then
20959   echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961   ac_check_lib_save_LIBS=$LIBS
20962 LIBS="-lm  $LIBS"
20963 if test x$gcc_no_link = xyes; then
20964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20966    { (exit 1); exit 1; }; }
20967 fi
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h.  */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h.  */
20974
20975 /* Override any gcc2 internal prototype to avoid an error.  */
20976 #ifdef __cplusplus
20977 extern "C"
20978 #endif
20979 /* We use char because int might match the return type of a gcc2
20980    builtin and then its argument prototype would still apply.  */
20981 char cargl ();
20982 int
20983 main ()
20984 {
20985 cargl ();
20986   ;
20987   return 0;
20988 }
20989 _ACEOF
20990 rm -f conftest.$ac_objext conftest$ac_exeext
20991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20992   (eval $ac_link) 2>conftest.er1
20993   ac_status=$?
20994   grep -v '^ *+' conftest.er1 >conftest.err
20995   rm -f conftest.er1
20996   cat conftest.err >&5
20997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998   (exit $ac_status); } &&
20999          { ac_try='test -z "$ac_c_werror_flag"
21000                          || test ! -s conftest.err'
21001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002   (eval $ac_try) 2>&5
21003   ac_status=$?
21004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005   (exit $ac_status); }; } &&
21006          { ac_try='test -s conftest$ac_exeext'
21007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008   (eval $ac_try) 2>&5
21009   ac_status=$?
21010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011   (exit $ac_status); }; }; then
21012   ac_cv_lib_m_cargl=yes
21013 else
21014   echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21016
21017 ac_cv_lib_m_cargl=no
21018 fi
21019 rm -f conftest.err conftest.$ac_objext \
21020       conftest$ac_exeext conftest.$ac_ext
21021 LIBS=$ac_check_lib_save_LIBS
21022 fi
21023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21024 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21025 if test $ac_cv_lib_m_cargl = yes; then
21026
21027 cat >>confdefs.h <<\_ACEOF
21028 #define HAVE_CARGL 1
21029 _ACEOF
21030
21031 fi
21032
21033 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21034 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21035 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21036   echo $ECHO_N "(cached) $ECHO_C" >&6
21037 else
21038   ac_check_lib_save_LIBS=$LIBS
21039 LIBS="-lm  $LIBS"
21040 if test x$gcc_no_link = xyes; then
21041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21043    { (exit 1); exit 1; }; }
21044 fi
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h.  */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h.  */
21051
21052 /* Override any gcc2 internal prototype to avoid an error.  */
21053 #ifdef __cplusplus
21054 extern "C"
21055 #endif
21056 /* We use char because int might match the return type of a gcc2
21057    builtin and then its argument prototype would still apply.  */
21058 char ceilf ();
21059 int
21060 main ()
21061 {
21062 ceilf ();
21063   ;
21064   return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest.$ac_objext conftest$ac_exeext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21069   (eval $ac_link) 2>conftest.er1
21070   ac_status=$?
21071   grep -v '^ *+' conftest.er1 >conftest.err
21072   rm -f conftest.er1
21073   cat conftest.err >&5
21074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075   (exit $ac_status); } &&
21076          { ac_try='test -z "$ac_c_werror_flag"
21077                          || test ! -s conftest.err'
21078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079   (eval $ac_try) 2>&5
21080   ac_status=$?
21081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082   (exit $ac_status); }; } &&
21083          { ac_try='test -s conftest$ac_exeext'
21084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085   (eval $ac_try) 2>&5
21086   ac_status=$?
21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088   (exit $ac_status); }; }; then
21089   ac_cv_lib_m_ceilf=yes
21090 else
21091   echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 ac_cv_lib_m_ceilf=no
21095 fi
21096 rm -f conftest.err conftest.$ac_objext \
21097       conftest$ac_exeext conftest.$ac_ext
21098 LIBS=$ac_check_lib_save_LIBS
21099 fi
21100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21101 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21102 if test $ac_cv_lib_m_ceilf = yes; then
21103
21104 cat >>confdefs.h <<\_ACEOF
21105 #define HAVE_CEILF 1
21106 _ACEOF
21107
21108 fi
21109
21110 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21111 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21112 if test "${ac_cv_lib_m_ceil+set}" = set; then
21113   echo $ECHO_N "(cached) $ECHO_C" >&6
21114 else
21115   ac_check_lib_save_LIBS=$LIBS
21116 LIBS="-lm  $LIBS"
21117 if test x$gcc_no_link = xyes; then
21118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21120    { (exit 1); exit 1; }; }
21121 fi
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h.  */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h.  */
21128
21129 /* Override any gcc2 internal prototype to avoid an error.  */
21130 #ifdef __cplusplus
21131 extern "C"
21132 #endif
21133 /* We use char because int might match the return type of a gcc2
21134    builtin and then its argument prototype would still apply.  */
21135 char ceil ();
21136 int
21137 main ()
21138 {
21139 ceil ();
21140   ;
21141   return 0;
21142 }
21143 _ACEOF
21144 rm -f conftest.$ac_objext conftest$ac_exeext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21146   (eval $ac_link) 2>conftest.er1
21147   ac_status=$?
21148   grep -v '^ *+' conftest.er1 >conftest.err
21149   rm -f conftest.er1
21150   cat conftest.err >&5
21151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152   (exit $ac_status); } &&
21153          { ac_try='test -z "$ac_c_werror_flag"
21154                          || test ! -s conftest.err'
21155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156   (eval $ac_try) 2>&5
21157   ac_status=$?
21158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159   (exit $ac_status); }; } &&
21160          { ac_try='test -s conftest$ac_exeext'
21161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162   (eval $ac_try) 2>&5
21163   ac_status=$?
21164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165   (exit $ac_status); }; }; then
21166   ac_cv_lib_m_ceil=yes
21167 else
21168   echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21170
21171 ac_cv_lib_m_ceil=no
21172 fi
21173 rm -f conftest.err conftest.$ac_objext \
21174       conftest$ac_exeext conftest.$ac_ext
21175 LIBS=$ac_check_lib_save_LIBS
21176 fi
21177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21178 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21179 if test $ac_cv_lib_m_ceil = yes; then
21180
21181 cat >>confdefs.h <<\_ACEOF
21182 #define HAVE_CEIL 1
21183 _ACEOF
21184
21185 fi
21186
21187 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21188 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21189 if test "${ac_cv_lib_m_ceill+set}" = set; then
21190   echo $ECHO_N "(cached) $ECHO_C" >&6
21191 else
21192   ac_check_lib_save_LIBS=$LIBS
21193 LIBS="-lm  $LIBS"
21194 if test x$gcc_no_link = xyes; then
21195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21197    { (exit 1); exit 1; }; }
21198 fi
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h.  */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h.  */
21205
21206 /* Override any gcc2 internal prototype to avoid an error.  */
21207 #ifdef __cplusplus
21208 extern "C"
21209 #endif
21210 /* We use char because int might match the return type of a gcc2
21211    builtin and then its argument prototype would still apply.  */
21212 char ceill ();
21213 int
21214 main ()
21215 {
21216 ceill ();
21217   ;
21218   return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21223   (eval $ac_link) 2>conftest.er1
21224   ac_status=$?
21225   grep -v '^ *+' conftest.er1 >conftest.err
21226   rm -f conftest.er1
21227   cat conftest.err >&5
21228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229   (exit $ac_status); } &&
21230          { ac_try='test -z "$ac_c_werror_flag"
21231                          || test ! -s conftest.err'
21232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233   (eval $ac_try) 2>&5
21234   ac_status=$?
21235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236   (exit $ac_status); }; } &&
21237          { ac_try='test -s conftest$ac_exeext'
21238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239   (eval $ac_try) 2>&5
21240   ac_status=$?
21241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242   (exit $ac_status); }; }; then
21243   ac_cv_lib_m_ceill=yes
21244 else
21245   echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 ac_cv_lib_m_ceill=no
21249 fi
21250 rm -f conftest.err conftest.$ac_objext \
21251       conftest$ac_exeext conftest.$ac_ext
21252 LIBS=$ac_check_lib_save_LIBS
21253 fi
21254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21255 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21256 if test $ac_cv_lib_m_ceill = yes; then
21257
21258 cat >>confdefs.h <<\_ACEOF
21259 #define HAVE_CEILL 1
21260 _ACEOF
21261
21262 fi
21263
21264 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21265 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21266 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21267   echo $ECHO_N "(cached) $ECHO_C" >&6
21268 else
21269   ac_check_lib_save_LIBS=$LIBS
21270 LIBS="-lm  $LIBS"
21271 if test x$gcc_no_link = xyes; then
21272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21274    { (exit 1); exit 1; }; }
21275 fi
21276 cat >conftest.$ac_ext <<_ACEOF
21277 /* confdefs.h.  */
21278 _ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h.  */
21282
21283 /* Override any gcc2 internal prototype to avoid an error.  */
21284 #ifdef __cplusplus
21285 extern "C"
21286 #endif
21287 /* We use char because int might match the return type of a gcc2
21288    builtin and then its argument prototype would still apply.  */
21289 char copysignf ();
21290 int
21291 main ()
21292 {
21293 copysignf ();
21294   ;
21295   return 0;
21296 }
21297 _ACEOF
21298 rm -f conftest.$ac_objext conftest$ac_exeext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21300   (eval $ac_link) 2>conftest.er1
21301   ac_status=$?
21302   grep -v '^ *+' conftest.er1 >conftest.err
21303   rm -f conftest.er1
21304   cat conftest.err >&5
21305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306   (exit $ac_status); } &&
21307          { ac_try='test -z "$ac_c_werror_flag"
21308                          || test ! -s conftest.err'
21309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310   (eval $ac_try) 2>&5
21311   ac_status=$?
21312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313   (exit $ac_status); }; } &&
21314          { ac_try='test -s conftest$ac_exeext'
21315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316   (eval $ac_try) 2>&5
21317   ac_status=$?
21318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319   (exit $ac_status); }; }; then
21320   ac_cv_lib_m_copysignf=yes
21321 else
21322   echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.$ac_ext >&5
21324
21325 ac_cv_lib_m_copysignf=no
21326 fi
21327 rm -f conftest.err conftest.$ac_objext \
21328       conftest$ac_exeext conftest.$ac_ext
21329 LIBS=$ac_check_lib_save_LIBS
21330 fi
21331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21332 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21333 if test $ac_cv_lib_m_copysignf = yes; then
21334
21335 cat >>confdefs.h <<\_ACEOF
21336 #define HAVE_COPYSIGNF 1
21337 _ACEOF
21338
21339 fi
21340
21341 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21342 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21343 if test "${ac_cv_lib_m_copysign+set}" = set; then
21344   echo $ECHO_N "(cached) $ECHO_C" >&6
21345 else
21346   ac_check_lib_save_LIBS=$LIBS
21347 LIBS="-lm  $LIBS"
21348 if test x$gcc_no_link = xyes; then
21349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21351    { (exit 1); exit 1; }; }
21352 fi
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h.  */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h.  */
21359
21360 /* Override any gcc2 internal prototype to avoid an error.  */
21361 #ifdef __cplusplus
21362 extern "C"
21363 #endif
21364 /* We use char because int might match the return type of a gcc2
21365    builtin and then its argument prototype would still apply.  */
21366 char copysign ();
21367 int
21368 main ()
21369 {
21370 copysign ();
21371   ;
21372   return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext conftest$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377   (eval $ac_link) 2>conftest.er1
21378   ac_status=$?
21379   grep -v '^ *+' conftest.er1 >conftest.err
21380   rm -f conftest.er1
21381   cat conftest.err >&5
21382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383   (exit $ac_status); } &&
21384          { ac_try='test -z "$ac_c_werror_flag"
21385                          || test ! -s conftest.err'
21386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387   (eval $ac_try) 2>&5
21388   ac_status=$?
21389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390   (exit $ac_status); }; } &&
21391          { ac_try='test -s conftest$ac_exeext'
21392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393   (eval $ac_try) 2>&5
21394   ac_status=$?
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); }; }; then
21397   ac_cv_lib_m_copysign=yes
21398 else
21399   echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21401
21402 ac_cv_lib_m_copysign=no
21403 fi
21404 rm -f conftest.err conftest.$ac_objext \
21405       conftest$ac_exeext conftest.$ac_ext
21406 LIBS=$ac_check_lib_save_LIBS
21407 fi
21408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21409 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21410 if test $ac_cv_lib_m_copysign = yes; then
21411
21412 cat >>confdefs.h <<\_ACEOF
21413 #define HAVE_COPYSIGN 1
21414 _ACEOF
21415
21416 fi
21417
21418 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21419 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21420 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21421   echo $ECHO_N "(cached) $ECHO_C" >&6
21422 else
21423   ac_check_lib_save_LIBS=$LIBS
21424 LIBS="-lm  $LIBS"
21425 if test x$gcc_no_link = xyes; then
21426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21428    { (exit 1); exit 1; }; }
21429 fi
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h.  */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h.  */
21436
21437 /* Override any gcc2 internal prototype to avoid an error.  */
21438 #ifdef __cplusplus
21439 extern "C"
21440 #endif
21441 /* We use char because int might match the return type of a gcc2
21442    builtin and then its argument prototype would still apply.  */
21443 char copysignl ();
21444 int
21445 main ()
21446 {
21447 copysignl ();
21448   ;
21449   return 0;
21450 }
21451 _ACEOF
21452 rm -f conftest.$ac_objext conftest$ac_exeext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21454   (eval $ac_link) 2>conftest.er1
21455   ac_status=$?
21456   grep -v '^ *+' conftest.er1 >conftest.err
21457   rm -f conftest.er1
21458   cat conftest.err >&5
21459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460   (exit $ac_status); } &&
21461          { ac_try='test -z "$ac_c_werror_flag"
21462                          || test ! -s conftest.err'
21463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464   (eval $ac_try) 2>&5
21465   ac_status=$?
21466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467   (exit $ac_status); }; } &&
21468          { ac_try='test -s conftest$ac_exeext'
21469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470   (eval $ac_try) 2>&5
21471   ac_status=$?
21472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473   (exit $ac_status); }; }; then
21474   ac_cv_lib_m_copysignl=yes
21475 else
21476   echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ac_cv_lib_m_copysignl=no
21480 fi
21481 rm -f conftest.err conftest.$ac_objext \
21482       conftest$ac_exeext conftest.$ac_ext
21483 LIBS=$ac_check_lib_save_LIBS
21484 fi
21485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21486 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21487 if test $ac_cv_lib_m_copysignl = yes; then
21488
21489 cat >>confdefs.h <<\_ACEOF
21490 #define HAVE_COPYSIGNL 1
21491 _ACEOF
21492
21493 fi
21494
21495 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21496 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21497 if test "${ac_cv_lib_m_cosf+set}" = set; then
21498   echo $ECHO_N "(cached) $ECHO_C" >&6
21499 else
21500   ac_check_lib_save_LIBS=$LIBS
21501 LIBS="-lm  $LIBS"
21502 if test x$gcc_no_link = xyes; then
21503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21505    { (exit 1); exit 1; }; }
21506 fi
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h.  */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h.  */
21513
21514 /* Override any gcc2 internal prototype to avoid an error.  */
21515 #ifdef __cplusplus
21516 extern "C"
21517 #endif
21518 /* We use char because int might match the return type of a gcc2
21519    builtin and then its argument prototype would still apply.  */
21520 char cosf ();
21521 int
21522 main ()
21523 {
21524 cosf ();
21525   ;
21526   return 0;
21527 }
21528 _ACEOF
21529 rm -f conftest.$ac_objext conftest$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531   (eval $ac_link) 2>conftest.er1
21532   ac_status=$?
21533   grep -v '^ *+' conftest.er1 >conftest.err
21534   rm -f conftest.er1
21535   cat conftest.err >&5
21536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537   (exit $ac_status); } &&
21538          { ac_try='test -z "$ac_c_werror_flag"
21539                          || test ! -s conftest.err'
21540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541   (eval $ac_try) 2>&5
21542   ac_status=$?
21543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544   (exit $ac_status); }; } &&
21545          { ac_try='test -s conftest$ac_exeext'
21546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547   (eval $ac_try) 2>&5
21548   ac_status=$?
21549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550   (exit $ac_status); }; }; then
21551   ac_cv_lib_m_cosf=yes
21552 else
21553   echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 ac_cv_lib_m_cosf=no
21557 fi
21558 rm -f conftest.err conftest.$ac_objext \
21559       conftest$ac_exeext conftest.$ac_ext
21560 LIBS=$ac_check_lib_save_LIBS
21561 fi
21562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21563 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21564 if test $ac_cv_lib_m_cosf = yes; then
21565
21566 cat >>confdefs.h <<\_ACEOF
21567 #define HAVE_COSF 1
21568 _ACEOF
21569
21570 fi
21571
21572 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21573 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21574 if test "${ac_cv_lib_m_cos+set}" = set; then
21575   echo $ECHO_N "(cached) $ECHO_C" >&6
21576 else
21577   ac_check_lib_save_LIBS=$LIBS
21578 LIBS="-lm  $LIBS"
21579 if test x$gcc_no_link = xyes; then
21580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21582    { (exit 1); exit 1; }; }
21583 fi
21584 cat >conftest.$ac_ext <<_ACEOF
21585 /* confdefs.h.  */
21586 _ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h.  */
21590
21591 /* Override any gcc2 internal prototype to avoid an error.  */
21592 #ifdef __cplusplus
21593 extern "C"
21594 #endif
21595 /* We use char because int might match the return type of a gcc2
21596    builtin and then its argument prototype would still apply.  */
21597 char cos ();
21598 int
21599 main ()
21600 {
21601 cos ();
21602   ;
21603   return 0;
21604 }
21605 _ACEOF
21606 rm -f conftest.$ac_objext conftest$ac_exeext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21608   (eval $ac_link) 2>conftest.er1
21609   ac_status=$?
21610   grep -v '^ *+' conftest.er1 >conftest.err
21611   rm -f conftest.er1
21612   cat conftest.err >&5
21613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614   (exit $ac_status); } &&
21615          { ac_try='test -z "$ac_c_werror_flag"
21616                          || test ! -s conftest.err'
21617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618   (eval $ac_try) 2>&5
21619   ac_status=$?
21620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621   (exit $ac_status); }; } &&
21622          { ac_try='test -s conftest$ac_exeext'
21623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624   (eval $ac_try) 2>&5
21625   ac_status=$?
21626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627   (exit $ac_status); }; }; then
21628   ac_cv_lib_m_cos=yes
21629 else
21630   echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.$ac_ext >&5
21632
21633 ac_cv_lib_m_cos=no
21634 fi
21635 rm -f conftest.err conftest.$ac_objext \
21636       conftest$ac_exeext conftest.$ac_ext
21637 LIBS=$ac_check_lib_save_LIBS
21638 fi
21639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21640 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21641 if test $ac_cv_lib_m_cos = yes; then
21642
21643 cat >>confdefs.h <<\_ACEOF
21644 #define HAVE_COS 1
21645 _ACEOF
21646
21647 fi
21648
21649 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21650 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21651 if test "${ac_cv_lib_m_cosl+set}" = set; then
21652   echo $ECHO_N "(cached) $ECHO_C" >&6
21653 else
21654   ac_check_lib_save_LIBS=$LIBS
21655 LIBS="-lm  $LIBS"
21656 if test x$gcc_no_link = xyes; then
21657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21659    { (exit 1); exit 1; }; }
21660 fi
21661 cat >conftest.$ac_ext <<_ACEOF
21662 /* confdefs.h.  */
21663 _ACEOF
21664 cat confdefs.h >>conftest.$ac_ext
21665 cat >>conftest.$ac_ext <<_ACEOF
21666 /* end confdefs.h.  */
21667
21668 /* Override any gcc2 internal prototype to avoid an error.  */
21669 #ifdef __cplusplus
21670 extern "C"
21671 #endif
21672 /* We use char because int might match the return type of a gcc2
21673    builtin and then its argument prototype would still apply.  */
21674 char cosl ();
21675 int
21676 main ()
21677 {
21678 cosl ();
21679   ;
21680   return 0;
21681 }
21682 _ACEOF
21683 rm -f conftest.$ac_objext conftest$ac_exeext
21684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21685   (eval $ac_link) 2>conftest.er1
21686   ac_status=$?
21687   grep -v '^ *+' conftest.er1 >conftest.err
21688   rm -f conftest.er1
21689   cat conftest.err >&5
21690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691   (exit $ac_status); } &&
21692          { ac_try='test -z "$ac_c_werror_flag"
21693                          || test ! -s conftest.err'
21694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21695   (eval $ac_try) 2>&5
21696   ac_status=$?
21697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698   (exit $ac_status); }; } &&
21699          { ac_try='test -s conftest$ac_exeext'
21700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701   (eval $ac_try) 2>&5
21702   ac_status=$?
21703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704   (exit $ac_status); }; }; then
21705   ac_cv_lib_m_cosl=yes
21706 else
21707   echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21709
21710 ac_cv_lib_m_cosl=no
21711 fi
21712 rm -f conftest.err conftest.$ac_objext \
21713       conftest$ac_exeext conftest.$ac_ext
21714 LIBS=$ac_check_lib_save_LIBS
21715 fi
21716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21717 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21718 if test $ac_cv_lib_m_cosl = yes; then
21719
21720 cat >>confdefs.h <<\_ACEOF
21721 #define HAVE_COSL 1
21722 _ACEOF
21723
21724 fi
21725
21726 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21727 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21728 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21729   echo $ECHO_N "(cached) $ECHO_C" >&6
21730 else
21731   ac_check_lib_save_LIBS=$LIBS
21732 LIBS="-lm  $LIBS"
21733 if test x$gcc_no_link = xyes; then
21734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21736    { (exit 1); exit 1; }; }
21737 fi
21738 cat >conftest.$ac_ext <<_ACEOF
21739 /* confdefs.h.  */
21740 _ACEOF
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h.  */
21744
21745 /* Override any gcc2 internal prototype to avoid an error.  */
21746 #ifdef __cplusplus
21747 extern "C"
21748 #endif
21749 /* We use char because int might match the return type of a gcc2
21750    builtin and then its argument prototype would still apply.  */
21751 char ccosf ();
21752 int
21753 main ()
21754 {
21755 ccosf ();
21756   ;
21757   return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762   (eval $ac_link) 2>conftest.er1
21763   ac_status=$?
21764   grep -v '^ *+' conftest.er1 >conftest.err
21765   rm -f conftest.er1
21766   cat conftest.err >&5
21767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768   (exit $ac_status); } &&
21769          { ac_try='test -z "$ac_c_werror_flag"
21770                          || test ! -s conftest.err'
21771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772   (eval $ac_try) 2>&5
21773   ac_status=$?
21774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775   (exit $ac_status); }; } &&
21776          { ac_try='test -s conftest$ac_exeext'
21777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778   (eval $ac_try) 2>&5
21779   ac_status=$?
21780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781   (exit $ac_status); }; }; then
21782   ac_cv_lib_m_ccosf=yes
21783 else
21784   echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 ac_cv_lib_m_ccosf=no
21788 fi
21789 rm -f conftest.err conftest.$ac_objext \
21790       conftest$ac_exeext conftest.$ac_ext
21791 LIBS=$ac_check_lib_save_LIBS
21792 fi
21793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21794 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21795 if test $ac_cv_lib_m_ccosf = yes; then
21796
21797 cat >>confdefs.h <<\_ACEOF
21798 #define HAVE_CCOSF 1
21799 _ACEOF
21800
21801 fi
21802
21803 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21804 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21805 if test "${ac_cv_lib_m_ccos+set}" = set; then
21806   echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808   ac_check_lib_save_LIBS=$LIBS
21809 LIBS="-lm  $LIBS"
21810 if test x$gcc_no_link = xyes; then
21811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21813    { (exit 1); exit 1; }; }
21814 fi
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h.  */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h.  */
21821
21822 /* Override any gcc2 internal prototype to avoid an error.  */
21823 #ifdef __cplusplus
21824 extern "C"
21825 #endif
21826 /* We use char because int might match the return type of a gcc2
21827    builtin and then its argument prototype would still apply.  */
21828 char ccos ();
21829 int
21830 main ()
21831 {
21832 ccos ();
21833   ;
21834   return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext conftest$ac_exeext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21839   (eval $ac_link) 2>conftest.er1
21840   ac_status=$?
21841   grep -v '^ *+' conftest.er1 >conftest.err
21842   rm -f conftest.er1
21843   cat conftest.err >&5
21844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845   (exit $ac_status); } &&
21846          { ac_try='test -z "$ac_c_werror_flag"
21847                          || test ! -s conftest.err'
21848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849   (eval $ac_try) 2>&5
21850   ac_status=$?
21851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852   (exit $ac_status); }; } &&
21853          { ac_try='test -s conftest$ac_exeext'
21854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855   (eval $ac_try) 2>&5
21856   ac_status=$?
21857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858   (exit $ac_status); }; }; then
21859   ac_cv_lib_m_ccos=yes
21860 else
21861   echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21863
21864 ac_cv_lib_m_ccos=no
21865 fi
21866 rm -f conftest.err conftest.$ac_objext \
21867       conftest$ac_exeext conftest.$ac_ext
21868 LIBS=$ac_check_lib_save_LIBS
21869 fi
21870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21871 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21872 if test $ac_cv_lib_m_ccos = yes; then
21873
21874 cat >>confdefs.h <<\_ACEOF
21875 #define HAVE_CCOS 1
21876 _ACEOF
21877
21878 fi
21879
21880 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21881 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21882 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21883   echo $ECHO_N "(cached) $ECHO_C" >&6
21884 else
21885   ac_check_lib_save_LIBS=$LIBS
21886 LIBS="-lm  $LIBS"
21887 if test x$gcc_no_link = xyes; then
21888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21890    { (exit 1); exit 1; }; }
21891 fi
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h.  */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h.  */
21898
21899 /* Override any gcc2 internal prototype to avoid an error.  */
21900 #ifdef __cplusplus
21901 extern "C"
21902 #endif
21903 /* We use char because int might match the return type of a gcc2
21904    builtin and then its argument prototype would still apply.  */
21905 char ccosl ();
21906 int
21907 main ()
21908 {
21909 ccosl ();
21910   ;
21911   return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916   (eval $ac_link) 2>conftest.er1
21917   ac_status=$?
21918   grep -v '^ *+' conftest.er1 >conftest.err
21919   rm -f conftest.er1
21920   cat conftest.err >&5
21921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922   (exit $ac_status); } &&
21923          { ac_try='test -z "$ac_c_werror_flag"
21924                          || test ! -s conftest.err'
21925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926   (eval $ac_try) 2>&5
21927   ac_status=$?
21928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929   (exit $ac_status); }; } &&
21930          { ac_try='test -s conftest$ac_exeext'
21931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932   (eval $ac_try) 2>&5
21933   ac_status=$?
21934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935   (exit $ac_status); }; }; then
21936   ac_cv_lib_m_ccosl=yes
21937 else
21938   echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 ac_cv_lib_m_ccosl=no
21942 fi
21943 rm -f conftest.err conftest.$ac_objext \
21944       conftest$ac_exeext conftest.$ac_ext
21945 LIBS=$ac_check_lib_save_LIBS
21946 fi
21947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21948 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21949 if test $ac_cv_lib_m_ccosl = yes; then
21950
21951 cat >>confdefs.h <<\_ACEOF
21952 #define HAVE_CCOSL 1
21953 _ACEOF
21954
21955 fi
21956
21957 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21958 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21959 if test "${ac_cv_lib_m_coshf+set}" = set; then
21960   echo $ECHO_N "(cached) $ECHO_C" >&6
21961 else
21962   ac_check_lib_save_LIBS=$LIBS
21963 LIBS="-lm  $LIBS"
21964 if test x$gcc_no_link = xyes; then
21965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21967    { (exit 1); exit 1; }; }
21968 fi
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h.  */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h.  */
21975
21976 /* Override any gcc2 internal prototype to avoid an error.  */
21977 #ifdef __cplusplus
21978 extern "C"
21979 #endif
21980 /* We use char because int might match the return type of a gcc2
21981    builtin and then its argument prototype would still apply.  */
21982 char coshf ();
21983 int
21984 main ()
21985 {
21986 coshf ();
21987   ;
21988   return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest.$ac_objext conftest$ac_exeext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21993   (eval $ac_link) 2>conftest.er1
21994   ac_status=$?
21995   grep -v '^ *+' conftest.er1 >conftest.err
21996   rm -f conftest.er1
21997   cat conftest.err >&5
21998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999   (exit $ac_status); } &&
22000          { ac_try='test -z "$ac_c_werror_flag"
22001                          || test ! -s conftest.err'
22002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003   (eval $ac_try) 2>&5
22004   ac_status=$?
22005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006   (exit $ac_status); }; } &&
22007          { ac_try='test -s conftest$ac_exeext'
22008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009   (eval $ac_try) 2>&5
22010   ac_status=$?
22011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012   (exit $ac_status); }; }; then
22013   ac_cv_lib_m_coshf=yes
22014 else
22015   echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22017
22018 ac_cv_lib_m_coshf=no
22019 fi
22020 rm -f conftest.err conftest.$ac_objext \
22021       conftest$ac_exeext conftest.$ac_ext
22022 LIBS=$ac_check_lib_save_LIBS
22023 fi
22024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22025 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22026 if test $ac_cv_lib_m_coshf = yes; then
22027
22028 cat >>confdefs.h <<\_ACEOF
22029 #define HAVE_COSHF 1
22030 _ACEOF
22031
22032 fi
22033
22034 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22035 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22036 if test "${ac_cv_lib_m_cosh+set}" = set; then
22037   echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039   ac_check_lib_save_LIBS=$LIBS
22040 LIBS="-lm  $LIBS"
22041 if test x$gcc_no_link = xyes; then
22042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22044    { (exit 1); exit 1; }; }
22045 fi
22046 cat >conftest.$ac_ext <<_ACEOF
22047 /* confdefs.h.  */
22048 _ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h.  */
22052
22053 /* Override any gcc2 internal prototype to avoid an error.  */
22054 #ifdef __cplusplus
22055 extern "C"
22056 #endif
22057 /* We use char because int might match the return type of a gcc2
22058    builtin and then its argument prototype would still apply.  */
22059 char cosh ();
22060 int
22061 main ()
22062 {
22063 cosh ();
22064   ;
22065   return 0;
22066 }
22067 _ACEOF
22068 rm -f conftest.$ac_objext conftest$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070   (eval $ac_link) 2>conftest.er1
22071   ac_status=$?
22072   grep -v '^ *+' conftest.er1 >conftest.err
22073   rm -f conftest.er1
22074   cat conftest.err >&5
22075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076   (exit $ac_status); } &&
22077          { ac_try='test -z "$ac_c_werror_flag"
22078                          || test ! -s conftest.err'
22079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080   (eval $ac_try) 2>&5
22081   ac_status=$?
22082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083   (exit $ac_status); }; } &&
22084          { ac_try='test -s conftest$ac_exeext'
22085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086   (eval $ac_try) 2>&5
22087   ac_status=$?
22088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089   (exit $ac_status); }; }; then
22090   ac_cv_lib_m_cosh=yes
22091 else
22092   echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22094
22095 ac_cv_lib_m_cosh=no
22096 fi
22097 rm -f conftest.err conftest.$ac_objext \
22098       conftest$ac_exeext conftest.$ac_ext
22099 LIBS=$ac_check_lib_save_LIBS
22100 fi
22101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22102 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22103 if test $ac_cv_lib_m_cosh = yes; then
22104
22105 cat >>confdefs.h <<\_ACEOF
22106 #define HAVE_COSH 1
22107 _ACEOF
22108
22109 fi
22110
22111 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22112 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22113 if test "${ac_cv_lib_m_coshl+set}" = set; then
22114   echo $ECHO_N "(cached) $ECHO_C" >&6
22115 else
22116   ac_check_lib_save_LIBS=$LIBS
22117 LIBS="-lm  $LIBS"
22118 if test x$gcc_no_link = xyes; then
22119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22121    { (exit 1); exit 1; }; }
22122 fi
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h.  */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h.  */
22129
22130 /* Override any gcc2 internal prototype to avoid an error.  */
22131 #ifdef __cplusplus
22132 extern "C"
22133 #endif
22134 /* We use char because int might match the return type of a gcc2
22135    builtin and then its argument prototype would still apply.  */
22136 char coshl ();
22137 int
22138 main ()
22139 {
22140 coshl ();
22141   ;
22142   return 0;
22143 }
22144 _ACEOF
22145 rm -f conftest.$ac_objext conftest$ac_exeext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22147   (eval $ac_link) 2>conftest.er1
22148   ac_status=$?
22149   grep -v '^ *+' conftest.er1 >conftest.err
22150   rm -f conftest.er1
22151   cat conftest.err >&5
22152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153   (exit $ac_status); } &&
22154          { ac_try='test -z "$ac_c_werror_flag"
22155                          || test ! -s conftest.err'
22156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22157   (eval $ac_try) 2>&5
22158   ac_status=$?
22159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160   (exit $ac_status); }; } &&
22161          { ac_try='test -s conftest$ac_exeext'
22162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163   (eval $ac_try) 2>&5
22164   ac_status=$?
22165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166   (exit $ac_status); }; }; then
22167   ac_cv_lib_m_coshl=yes
22168 else
22169   echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 ac_cv_lib_m_coshl=no
22173 fi
22174 rm -f conftest.err conftest.$ac_objext \
22175       conftest$ac_exeext conftest.$ac_ext
22176 LIBS=$ac_check_lib_save_LIBS
22177 fi
22178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22179 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22180 if test $ac_cv_lib_m_coshl = yes; then
22181
22182 cat >>confdefs.h <<\_ACEOF
22183 #define HAVE_COSHL 1
22184 _ACEOF
22185
22186 fi
22187
22188 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22189 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22190 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22191   echo $ECHO_N "(cached) $ECHO_C" >&6
22192 else
22193   ac_check_lib_save_LIBS=$LIBS
22194 LIBS="-lm  $LIBS"
22195 if test x$gcc_no_link = xyes; then
22196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22198    { (exit 1); exit 1; }; }
22199 fi
22200 cat >conftest.$ac_ext <<_ACEOF
22201 /* confdefs.h.  */
22202 _ACEOF
22203 cat confdefs.h >>conftest.$ac_ext
22204 cat >>conftest.$ac_ext <<_ACEOF
22205 /* end confdefs.h.  */
22206
22207 /* Override any gcc2 internal prototype to avoid an error.  */
22208 #ifdef __cplusplus
22209 extern "C"
22210 #endif
22211 /* We use char because int might match the return type of a gcc2
22212    builtin and then its argument prototype would still apply.  */
22213 char ccoshf ();
22214 int
22215 main ()
22216 {
22217 ccoshf ();
22218   ;
22219   return 0;
22220 }
22221 _ACEOF
22222 rm -f conftest.$ac_objext conftest$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224   (eval $ac_link) 2>conftest.er1
22225   ac_status=$?
22226   grep -v '^ *+' conftest.er1 >conftest.err
22227   rm -f conftest.er1
22228   cat conftest.err >&5
22229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230   (exit $ac_status); } &&
22231          { ac_try='test -z "$ac_c_werror_flag"
22232                          || test ! -s conftest.err'
22233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234   (eval $ac_try) 2>&5
22235   ac_status=$?
22236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237   (exit $ac_status); }; } &&
22238          { ac_try='test -s conftest$ac_exeext'
22239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240   (eval $ac_try) 2>&5
22241   ac_status=$?
22242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243   (exit $ac_status); }; }; then
22244   ac_cv_lib_m_ccoshf=yes
22245 else
22246   echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_cv_lib_m_ccoshf=no
22250 fi
22251 rm -f conftest.err conftest.$ac_objext \
22252       conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22254 fi
22255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22256 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22257 if test $ac_cv_lib_m_ccoshf = yes; then
22258
22259 cat >>confdefs.h <<\_ACEOF
22260 #define HAVE_CCOSHF 1
22261 _ACEOF
22262
22263 fi
22264
22265 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22266 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22267 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22268   echo $ECHO_N "(cached) $ECHO_C" >&6
22269 else
22270   ac_check_lib_save_LIBS=$LIBS
22271 LIBS="-lm  $LIBS"
22272 if test x$gcc_no_link = xyes; then
22273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22275    { (exit 1); exit 1; }; }
22276 fi
22277 cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h.  */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h.  */
22283
22284 /* Override any gcc2 internal prototype to avoid an error.  */
22285 #ifdef __cplusplus
22286 extern "C"
22287 #endif
22288 /* We use char because int might match the return type of a gcc2
22289    builtin and then its argument prototype would still apply.  */
22290 char ccosh ();
22291 int
22292 main ()
22293 {
22294 ccosh ();
22295   ;
22296   return 0;
22297 }
22298 _ACEOF
22299 rm -f conftest.$ac_objext conftest$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301   (eval $ac_link) 2>conftest.er1
22302   ac_status=$?
22303   grep -v '^ *+' conftest.er1 >conftest.err
22304   rm -f conftest.er1
22305   cat conftest.err >&5
22306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307   (exit $ac_status); } &&
22308          { ac_try='test -z "$ac_c_werror_flag"
22309                          || test ! -s conftest.err'
22310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311   (eval $ac_try) 2>&5
22312   ac_status=$?
22313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314   (exit $ac_status); }; } &&
22315          { ac_try='test -s conftest$ac_exeext'
22316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317   (eval $ac_try) 2>&5
22318   ac_status=$?
22319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320   (exit $ac_status); }; }; then
22321   ac_cv_lib_m_ccosh=yes
22322 else
22323   echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22325
22326 ac_cv_lib_m_ccosh=no
22327 fi
22328 rm -f conftest.err conftest.$ac_objext \
22329       conftest$ac_exeext conftest.$ac_ext
22330 LIBS=$ac_check_lib_save_LIBS
22331 fi
22332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22333 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22334 if test $ac_cv_lib_m_ccosh = yes; then
22335
22336 cat >>confdefs.h <<\_ACEOF
22337 #define HAVE_CCOSH 1
22338 _ACEOF
22339
22340 fi
22341
22342 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22343 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22344 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22345   echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22347   ac_check_lib_save_LIBS=$LIBS
22348 LIBS="-lm  $LIBS"
22349 if test x$gcc_no_link = xyes; then
22350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22352    { (exit 1); exit 1; }; }
22353 fi
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h.  */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h.  */
22360
22361 /* Override any gcc2 internal prototype to avoid an error.  */
22362 #ifdef __cplusplus
22363 extern "C"
22364 #endif
22365 /* We use char because int might match the return type of a gcc2
22366    builtin and then its argument prototype would still apply.  */
22367 char ccoshl ();
22368 int
22369 main ()
22370 {
22371 ccoshl ();
22372   ;
22373   return 0;
22374 }
22375 _ACEOF
22376 rm -f conftest.$ac_objext conftest$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378   (eval $ac_link) 2>conftest.er1
22379   ac_status=$?
22380   grep -v '^ *+' conftest.er1 >conftest.err
22381   rm -f conftest.er1
22382   cat conftest.err >&5
22383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384   (exit $ac_status); } &&
22385          { ac_try='test -z "$ac_c_werror_flag"
22386                          || test ! -s conftest.err'
22387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388   (eval $ac_try) 2>&5
22389   ac_status=$?
22390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391   (exit $ac_status); }; } &&
22392          { ac_try='test -s conftest$ac_exeext'
22393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394   (eval $ac_try) 2>&5
22395   ac_status=$?
22396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397   (exit $ac_status); }; }; then
22398   ac_cv_lib_m_ccoshl=yes
22399 else
22400   echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22402
22403 ac_cv_lib_m_ccoshl=no
22404 fi
22405 rm -f conftest.err conftest.$ac_objext \
22406       conftest$ac_exeext conftest.$ac_ext
22407 LIBS=$ac_check_lib_save_LIBS
22408 fi
22409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22410 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22411 if test $ac_cv_lib_m_ccoshl = yes; then
22412
22413 cat >>confdefs.h <<\_ACEOF
22414 #define HAVE_CCOSHL 1
22415 _ACEOF
22416
22417 fi
22418
22419 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22420 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22421 if test "${ac_cv_lib_m_expf+set}" = set; then
22422   echo $ECHO_N "(cached) $ECHO_C" >&6
22423 else
22424   ac_check_lib_save_LIBS=$LIBS
22425 LIBS="-lm  $LIBS"
22426 if test x$gcc_no_link = xyes; then
22427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22429    { (exit 1); exit 1; }; }
22430 fi
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h.  */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h.  */
22437
22438 /* Override any gcc2 internal prototype to avoid an error.  */
22439 #ifdef __cplusplus
22440 extern "C"
22441 #endif
22442 /* We use char because int might match the return type of a gcc2
22443    builtin and then its argument prototype would still apply.  */
22444 char expf ();
22445 int
22446 main ()
22447 {
22448 expf ();
22449   ;
22450   return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext conftest$ac_exeext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22455   (eval $ac_link) 2>conftest.er1
22456   ac_status=$?
22457   grep -v '^ *+' conftest.er1 >conftest.err
22458   rm -f conftest.er1
22459   cat conftest.err >&5
22460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461   (exit $ac_status); } &&
22462          { ac_try='test -z "$ac_c_werror_flag"
22463                          || test ! -s conftest.err'
22464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465   (eval $ac_try) 2>&5
22466   ac_status=$?
22467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468   (exit $ac_status); }; } &&
22469          { ac_try='test -s conftest$ac_exeext'
22470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471   (eval $ac_try) 2>&5
22472   ac_status=$?
22473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474   (exit $ac_status); }; }; then
22475   ac_cv_lib_m_expf=yes
22476 else
22477   echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ac_cv_lib_m_expf=no
22481 fi
22482 rm -f conftest.err conftest.$ac_objext \
22483       conftest$ac_exeext conftest.$ac_ext
22484 LIBS=$ac_check_lib_save_LIBS
22485 fi
22486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22487 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22488 if test $ac_cv_lib_m_expf = yes; then
22489
22490 cat >>confdefs.h <<\_ACEOF
22491 #define HAVE_EXPF 1
22492 _ACEOF
22493
22494 fi
22495
22496 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22497 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22498 if test "${ac_cv_lib_m_exp+set}" = set; then
22499   echo $ECHO_N "(cached) $ECHO_C" >&6
22500 else
22501   ac_check_lib_save_LIBS=$LIBS
22502 LIBS="-lm  $LIBS"
22503 if test x$gcc_no_link = xyes; then
22504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22506    { (exit 1); exit 1; }; }
22507 fi
22508 cat >conftest.$ac_ext <<_ACEOF
22509 /* confdefs.h.  */
22510 _ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h.  */
22514
22515 /* Override any gcc2 internal prototype to avoid an error.  */
22516 #ifdef __cplusplus
22517 extern "C"
22518 #endif
22519 /* We use char because int might match the return type of a gcc2
22520    builtin and then its argument prototype would still apply.  */
22521 char exp ();
22522 int
22523 main ()
22524 {
22525 exp ();
22526   ;
22527   return 0;
22528 }
22529 _ACEOF
22530 rm -f conftest.$ac_objext conftest$ac_exeext
22531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22532   (eval $ac_link) 2>conftest.er1
22533   ac_status=$?
22534   grep -v '^ *+' conftest.er1 >conftest.err
22535   rm -f conftest.er1
22536   cat conftest.err >&5
22537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538   (exit $ac_status); } &&
22539          { ac_try='test -z "$ac_c_werror_flag"
22540                          || test ! -s conftest.err'
22541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542   (eval $ac_try) 2>&5
22543   ac_status=$?
22544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545   (exit $ac_status); }; } &&
22546          { ac_try='test -s conftest$ac_exeext'
22547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548   (eval $ac_try) 2>&5
22549   ac_status=$?
22550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551   (exit $ac_status); }; }; then
22552   ac_cv_lib_m_exp=yes
22553 else
22554   echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ac_cv_lib_m_exp=no
22558 fi
22559 rm -f conftest.err conftest.$ac_objext \
22560       conftest$ac_exeext conftest.$ac_ext
22561 LIBS=$ac_check_lib_save_LIBS
22562 fi
22563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22564 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22565 if test $ac_cv_lib_m_exp = yes; then
22566
22567 cat >>confdefs.h <<\_ACEOF
22568 #define HAVE_EXP 1
22569 _ACEOF
22570
22571 fi
22572
22573 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22574 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22575 if test "${ac_cv_lib_m_expl+set}" = set; then
22576   echo $ECHO_N "(cached) $ECHO_C" >&6
22577 else
22578   ac_check_lib_save_LIBS=$LIBS
22579 LIBS="-lm  $LIBS"
22580 if test x$gcc_no_link = xyes; then
22581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22583    { (exit 1); exit 1; }; }
22584 fi
22585 cat >conftest.$ac_ext <<_ACEOF
22586 /* confdefs.h.  */
22587 _ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h.  */
22591
22592 /* Override any gcc2 internal prototype to avoid an error.  */
22593 #ifdef __cplusplus
22594 extern "C"
22595 #endif
22596 /* We use char because int might match the return type of a gcc2
22597    builtin and then its argument prototype would still apply.  */
22598 char expl ();
22599 int
22600 main ()
22601 {
22602 expl ();
22603   ;
22604   return 0;
22605 }
22606 _ACEOF
22607 rm -f conftest.$ac_objext conftest$ac_exeext
22608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22609   (eval $ac_link) 2>conftest.er1
22610   ac_status=$?
22611   grep -v '^ *+' conftest.er1 >conftest.err
22612   rm -f conftest.er1
22613   cat conftest.err >&5
22614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615   (exit $ac_status); } &&
22616          { ac_try='test -z "$ac_c_werror_flag"
22617                          || test ! -s conftest.err'
22618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619   (eval $ac_try) 2>&5
22620   ac_status=$?
22621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622   (exit $ac_status); }; } &&
22623          { ac_try='test -s conftest$ac_exeext'
22624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625   (eval $ac_try) 2>&5
22626   ac_status=$?
22627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628   (exit $ac_status); }; }; then
22629   ac_cv_lib_m_expl=yes
22630 else
22631   echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.$ac_ext >&5
22633
22634 ac_cv_lib_m_expl=no
22635 fi
22636 rm -f conftest.err conftest.$ac_objext \
22637       conftest$ac_exeext conftest.$ac_ext
22638 LIBS=$ac_check_lib_save_LIBS
22639 fi
22640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22641 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22642 if test $ac_cv_lib_m_expl = yes; then
22643
22644 cat >>confdefs.h <<\_ACEOF
22645 #define HAVE_EXPL 1
22646 _ACEOF
22647
22648 fi
22649
22650 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22651 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22652 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22653   echo $ECHO_N "(cached) $ECHO_C" >&6
22654 else
22655   ac_check_lib_save_LIBS=$LIBS
22656 LIBS="-lm  $LIBS"
22657 if test x$gcc_no_link = xyes; then
22658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22660    { (exit 1); exit 1; }; }
22661 fi
22662 cat >conftest.$ac_ext <<_ACEOF
22663 /* confdefs.h.  */
22664 _ACEOF
22665 cat confdefs.h >>conftest.$ac_ext
22666 cat >>conftest.$ac_ext <<_ACEOF
22667 /* end confdefs.h.  */
22668
22669 /* Override any gcc2 internal prototype to avoid an error.  */
22670 #ifdef __cplusplus
22671 extern "C"
22672 #endif
22673 /* We use char because int might match the return type of a gcc2
22674    builtin and then its argument prototype would still apply.  */
22675 char cexpf ();
22676 int
22677 main ()
22678 {
22679 cexpf ();
22680   ;
22681   return 0;
22682 }
22683 _ACEOF
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686   (eval $ac_link) 2>conftest.er1
22687   ac_status=$?
22688   grep -v '^ *+' conftest.er1 >conftest.err
22689   rm -f conftest.er1
22690   cat conftest.err >&5
22691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692   (exit $ac_status); } &&
22693          { ac_try='test -z "$ac_c_werror_flag"
22694                          || test ! -s conftest.err'
22695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696   (eval $ac_try) 2>&5
22697   ac_status=$?
22698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699   (exit $ac_status); }; } &&
22700          { ac_try='test -s conftest$ac_exeext'
22701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702   (eval $ac_try) 2>&5
22703   ac_status=$?
22704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705   (exit $ac_status); }; }; then
22706   ac_cv_lib_m_cexpf=yes
22707 else
22708   echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22710
22711 ac_cv_lib_m_cexpf=no
22712 fi
22713 rm -f conftest.err conftest.$ac_objext \
22714       conftest$ac_exeext conftest.$ac_ext
22715 LIBS=$ac_check_lib_save_LIBS
22716 fi
22717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22718 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22719 if test $ac_cv_lib_m_cexpf = yes; then
22720
22721 cat >>confdefs.h <<\_ACEOF
22722 #define HAVE_CEXPF 1
22723 _ACEOF
22724
22725 fi
22726
22727 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22728 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22729 if test "${ac_cv_lib_m_cexp+set}" = set; then
22730   echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732   ac_check_lib_save_LIBS=$LIBS
22733 LIBS="-lm  $LIBS"
22734 if test x$gcc_no_link = xyes; then
22735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22737    { (exit 1); exit 1; }; }
22738 fi
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h.  */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h.  */
22745
22746 /* Override any gcc2 internal prototype to avoid an error.  */
22747 #ifdef __cplusplus
22748 extern "C"
22749 #endif
22750 /* We use char because int might match the return type of a gcc2
22751    builtin and then its argument prototype would still apply.  */
22752 char cexp ();
22753 int
22754 main ()
22755 {
22756 cexp ();
22757   ;
22758   return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest.$ac_objext conftest$ac_exeext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22763   (eval $ac_link) 2>conftest.er1
22764   ac_status=$?
22765   grep -v '^ *+' conftest.er1 >conftest.err
22766   rm -f conftest.er1
22767   cat conftest.err >&5
22768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769   (exit $ac_status); } &&
22770          { ac_try='test -z "$ac_c_werror_flag"
22771                          || test ! -s conftest.err'
22772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773   (eval $ac_try) 2>&5
22774   ac_status=$?
22775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776   (exit $ac_status); }; } &&
22777          { ac_try='test -s conftest$ac_exeext'
22778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779   (eval $ac_try) 2>&5
22780   ac_status=$?
22781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782   (exit $ac_status); }; }; then
22783   ac_cv_lib_m_cexp=yes
22784 else
22785   echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 ac_cv_lib_m_cexp=no
22789 fi
22790 rm -f conftest.err conftest.$ac_objext \
22791       conftest$ac_exeext conftest.$ac_ext
22792 LIBS=$ac_check_lib_save_LIBS
22793 fi
22794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22795 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22796 if test $ac_cv_lib_m_cexp = yes; then
22797
22798 cat >>confdefs.h <<\_ACEOF
22799 #define HAVE_CEXP 1
22800 _ACEOF
22801
22802 fi
22803
22804 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22805 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22806 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22807   echo $ECHO_N "(cached) $ECHO_C" >&6
22808 else
22809   ac_check_lib_save_LIBS=$LIBS
22810 LIBS="-lm  $LIBS"
22811 if test x$gcc_no_link = xyes; then
22812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22814    { (exit 1); exit 1; }; }
22815 fi
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h.  */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h.  */
22822
22823 /* Override any gcc2 internal prototype to avoid an error.  */
22824 #ifdef __cplusplus
22825 extern "C"
22826 #endif
22827 /* We use char because int might match the return type of a gcc2
22828    builtin and then its argument prototype would still apply.  */
22829 char cexpl ();
22830 int
22831 main ()
22832 {
22833 cexpl ();
22834   ;
22835   return 0;
22836 }
22837 _ACEOF
22838 rm -f conftest.$ac_objext conftest$ac_exeext
22839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22840   (eval $ac_link) 2>conftest.er1
22841   ac_status=$?
22842   grep -v '^ *+' conftest.er1 >conftest.err
22843   rm -f conftest.er1
22844   cat conftest.err >&5
22845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846   (exit $ac_status); } &&
22847          { ac_try='test -z "$ac_c_werror_flag"
22848                          || test ! -s conftest.err'
22849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22850   (eval $ac_try) 2>&5
22851   ac_status=$?
22852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853   (exit $ac_status); }; } &&
22854          { ac_try='test -s conftest$ac_exeext'
22855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856   (eval $ac_try) 2>&5
22857   ac_status=$?
22858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859   (exit $ac_status); }; }; then
22860   ac_cv_lib_m_cexpl=yes
22861 else
22862   echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 ac_cv_lib_m_cexpl=no
22866 fi
22867 rm -f conftest.err conftest.$ac_objext \
22868       conftest$ac_exeext conftest.$ac_ext
22869 LIBS=$ac_check_lib_save_LIBS
22870 fi
22871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22872 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22873 if test $ac_cv_lib_m_cexpl = yes; then
22874
22875 cat >>confdefs.h <<\_ACEOF
22876 #define HAVE_CEXPL 1
22877 _ACEOF
22878
22879 fi
22880
22881 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22882 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22883 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22884   echo $ECHO_N "(cached) $ECHO_C" >&6
22885 else
22886   ac_check_lib_save_LIBS=$LIBS
22887 LIBS="-lm  $LIBS"
22888 if test x$gcc_no_link = xyes; then
22889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22891    { (exit 1); exit 1; }; }
22892 fi
22893 cat >conftest.$ac_ext <<_ACEOF
22894 /* confdefs.h.  */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h.  */
22899
22900 /* Override any gcc2 internal prototype to avoid an error.  */
22901 #ifdef __cplusplus
22902 extern "C"
22903 #endif
22904 /* We use char because int might match the return type of a gcc2
22905    builtin and then its argument prototype would still apply.  */
22906 char fabsf ();
22907 int
22908 main ()
22909 {
22910 fabsf ();
22911   ;
22912   return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917   (eval $ac_link) 2>conftest.er1
22918   ac_status=$?
22919   grep -v '^ *+' conftest.er1 >conftest.err
22920   rm -f conftest.er1
22921   cat conftest.err >&5
22922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923   (exit $ac_status); } &&
22924          { ac_try='test -z "$ac_c_werror_flag"
22925                          || test ! -s conftest.err'
22926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927   (eval $ac_try) 2>&5
22928   ac_status=$?
22929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930   (exit $ac_status); }; } &&
22931          { ac_try='test -s conftest$ac_exeext'
22932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933   (eval $ac_try) 2>&5
22934   ac_status=$?
22935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936   (exit $ac_status); }; }; then
22937   ac_cv_lib_m_fabsf=yes
22938 else
22939   echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ac_cv_lib_m_fabsf=no
22943 fi
22944 rm -f conftest.err conftest.$ac_objext \
22945       conftest$ac_exeext conftest.$ac_ext
22946 LIBS=$ac_check_lib_save_LIBS
22947 fi
22948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22949 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22950 if test $ac_cv_lib_m_fabsf = yes; then
22951
22952 cat >>confdefs.h <<\_ACEOF
22953 #define HAVE_FABSF 1
22954 _ACEOF
22955
22956 fi
22957
22958 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22959 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22960 if test "${ac_cv_lib_m_fabs+set}" = set; then
22961   echo $ECHO_N "(cached) $ECHO_C" >&6
22962 else
22963   ac_check_lib_save_LIBS=$LIBS
22964 LIBS="-lm  $LIBS"
22965 if test x$gcc_no_link = xyes; then
22966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22968    { (exit 1); exit 1; }; }
22969 fi
22970 cat >conftest.$ac_ext <<_ACEOF
22971 /* confdefs.h.  */
22972 _ACEOF
22973 cat confdefs.h >>conftest.$ac_ext
22974 cat >>conftest.$ac_ext <<_ACEOF
22975 /* end confdefs.h.  */
22976
22977 /* Override any gcc2 internal prototype to avoid an error.  */
22978 #ifdef __cplusplus
22979 extern "C"
22980 #endif
22981 /* We use char because int might match the return type of a gcc2
22982    builtin and then its argument prototype would still apply.  */
22983 char fabs ();
22984 int
22985 main ()
22986 {
22987 fabs ();
22988   ;
22989   return 0;
22990 }
22991 _ACEOF
22992 rm -f conftest.$ac_objext conftest$ac_exeext
22993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22994   (eval $ac_link) 2>conftest.er1
22995   ac_status=$?
22996   grep -v '^ *+' conftest.er1 >conftest.err
22997   rm -f conftest.er1
22998   cat conftest.err >&5
22999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000   (exit $ac_status); } &&
23001          { ac_try='test -z "$ac_c_werror_flag"
23002                          || test ! -s conftest.err'
23003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004   (eval $ac_try) 2>&5
23005   ac_status=$?
23006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007   (exit $ac_status); }; } &&
23008          { ac_try='test -s conftest$ac_exeext'
23009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010   (eval $ac_try) 2>&5
23011   ac_status=$?
23012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013   (exit $ac_status); }; }; then
23014   ac_cv_lib_m_fabs=yes
23015 else
23016   echo "$as_me: failed program was:" >&5
23017 sed 's/^/| /' conftest.$ac_ext >&5
23018
23019 ac_cv_lib_m_fabs=no
23020 fi
23021 rm -f conftest.err conftest.$ac_objext \
23022       conftest$ac_exeext conftest.$ac_ext
23023 LIBS=$ac_check_lib_save_LIBS
23024 fi
23025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23026 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23027 if test $ac_cv_lib_m_fabs = yes; then
23028
23029 cat >>confdefs.h <<\_ACEOF
23030 #define HAVE_FABS 1
23031 _ACEOF
23032
23033 fi
23034
23035 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23036 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23037 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23038   echo $ECHO_N "(cached) $ECHO_C" >&6
23039 else
23040   ac_check_lib_save_LIBS=$LIBS
23041 LIBS="-lm  $LIBS"
23042 if test x$gcc_no_link = xyes; then
23043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23045    { (exit 1); exit 1; }; }
23046 fi
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h.  */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h.  */
23053
23054 /* Override any gcc2 internal prototype to avoid an error.  */
23055 #ifdef __cplusplus
23056 extern "C"
23057 #endif
23058 /* We use char because int might match the return type of a gcc2
23059    builtin and then its argument prototype would still apply.  */
23060 char fabsl ();
23061 int
23062 main ()
23063 {
23064 fabsl ();
23065   ;
23066   return 0;
23067 }
23068 _ACEOF
23069 rm -f conftest.$ac_objext conftest$ac_exeext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071   (eval $ac_link) 2>conftest.er1
23072   ac_status=$?
23073   grep -v '^ *+' conftest.er1 >conftest.err
23074   rm -f conftest.er1
23075   cat conftest.err >&5
23076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077   (exit $ac_status); } &&
23078          { ac_try='test -z "$ac_c_werror_flag"
23079                          || test ! -s conftest.err'
23080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081   (eval $ac_try) 2>&5
23082   ac_status=$?
23083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084   (exit $ac_status); }; } &&
23085          { ac_try='test -s conftest$ac_exeext'
23086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087   (eval $ac_try) 2>&5
23088   ac_status=$?
23089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090   (exit $ac_status); }; }; then
23091   ac_cv_lib_m_fabsl=yes
23092 else
23093   echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 ac_cv_lib_m_fabsl=no
23097 fi
23098 rm -f conftest.err conftest.$ac_objext \
23099       conftest$ac_exeext conftest.$ac_ext
23100 LIBS=$ac_check_lib_save_LIBS
23101 fi
23102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23103 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23104 if test $ac_cv_lib_m_fabsl = yes; then
23105
23106 cat >>confdefs.h <<\_ACEOF
23107 #define HAVE_FABSL 1
23108 _ACEOF
23109
23110 fi
23111
23112 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23113 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23114 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23115   echo $ECHO_N "(cached) $ECHO_C" >&6
23116 else
23117   ac_check_lib_save_LIBS=$LIBS
23118 LIBS="-lm  $LIBS"
23119 if test x$gcc_no_link = xyes; then
23120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23122    { (exit 1); exit 1; }; }
23123 fi
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h.  */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h.  */
23130
23131 /* Override any gcc2 internal prototype to avoid an error.  */
23132 #ifdef __cplusplus
23133 extern "C"
23134 #endif
23135 /* We use char because int might match the return type of a gcc2
23136    builtin and then its argument prototype would still apply.  */
23137 char cabsf ();
23138 int
23139 main ()
23140 {
23141 cabsf ();
23142   ;
23143   return 0;
23144 }
23145 _ACEOF
23146 rm -f conftest.$ac_objext conftest$ac_exeext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23148   (eval $ac_link) 2>conftest.er1
23149   ac_status=$?
23150   grep -v '^ *+' conftest.er1 >conftest.err
23151   rm -f conftest.er1
23152   cat conftest.err >&5
23153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154   (exit $ac_status); } &&
23155          { ac_try='test -z "$ac_c_werror_flag"
23156                          || test ! -s conftest.err'
23157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158   (eval $ac_try) 2>&5
23159   ac_status=$?
23160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161   (exit $ac_status); }; } &&
23162          { ac_try='test -s conftest$ac_exeext'
23163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164   (eval $ac_try) 2>&5
23165   ac_status=$?
23166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167   (exit $ac_status); }; }; then
23168   ac_cv_lib_m_cabsf=yes
23169 else
23170   echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ac_cv_lib_m_cabsf=no
23174 fi
23175 rm -f conftest.err conftest.$ac_objext \
23176       conftest$ac_exeext conftest.$ac_ext
23177 LIBS=$ac_check_lib_save_LIBS
23178 fi
23179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23180 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23181 if test $ac_cv_lib_m_cabsf = yes; then
23182
23183 cat >>confdefs.h <<\_ACEOF
23184 #define HAVE_CABSF 1
23185 _ACEOF
23186
23187 fi
23188
23189 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23190 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23191 if test "${ac_cv_lib_m_cabs+set}" = set; then
23192   echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194   ac_check_lib_save_LIBS=$LIBS
23195 LIBS="-lm  $LIBS"
23196 if test x$gcc_no_link = xyes; then
23197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23199    { (exit 1); exit 1; }; }
23200 fi
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h.  */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h.  */
23207
23208 /* Override any gcc2 internal prototype to avoid an error.  */
23209 #ifdef __cplusplus
23210 extern "C"
23211 #endif
23212 /* We use char because int might match the return type of a gcc2
23213    builtin and then its argument prototype would still apply.  */
23214 char cabs ();
23215 int
23216 main ()
23217 {
23218 cabs ();
23219   ;
23220   return 0;
23221 }
23222 _ACEOF
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225   (eval $ac_link) 2>conftest.er1
23226   ac_status=$?
23227   grep -v '^ *+' conftest.er1 >conftest.err
23228   rm -f conftest.er1
23229   cat conftest.err >&5
23230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231   (exit $ac_status); } &&
23232          { ac_try='test -z "$ac_c_werror_flag"
23233                          || test ! -s conftest.err'
23234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235   (eval $ac_try) 2>&5
23236   ac_status=$?
23237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238   (exit $ac_status); }; } &&
23239          { ac_try='test -s conftest$ac_exeext'
23240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241   (eval $ac_try) 2>&5
23242   ac_status=$?
23243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244   (exit $ac_status); }; }; then
23245   ac_cv_lib_m_cabs=yes
23246 else
23247   echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23249
23250 ac_cv_lib_m_cabs=no
23251 fi
23252 rm -f conftest.err conftest.$ac_objext \
23253       conftest$ac_exeext conftest.$ac_ext
23254 LIBS=$ac_check_lib_save_LIBS
23255 fi
23256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23257 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23258 if test $ac_cv_lib_m_cabs = yes; then
23259
23260 cat >>confdefs.h <<\_ACEOF
23261 #define HAVE_CABS 1
23262 _ACEOF
23263
23264 fi
23265
23266 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23267 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23268 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23269   echo $ECHO_N "(cached) $ECHO_C" >&6
23270 else
23271   ac_check_lib_save_LIBS=$LIBS
23272 LIBS="-lm  $LIBS"
23273 if test x$gcc_no_link = xyes; then
23274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23276    { (exit 1); exit 1; }; }
23277 fi
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h.  */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h.  */
23284
23285 /* Override any gcc2 internal prototype to avoid an error.  */
23286 #ifdef __cplusplus
23287 extern "C"
23288 #endif
23289 /* We use char because int might match the return type of a gcc2
23290    builtin and then its argument prototype would still apply.  */
23291 char cabsl ();
23292 int
23293 main ()
23294 {
23295 cabsl ();
23296   ;
23297   return 0;
23298 }
23299 _ACEOF
23300 rm -f conftest.$ac_objext conftest$ac_exeext
23301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23302   (eval $ac_link) 2>conftest.er1
23303   ac_status=$?
23304   grep -v '^ *+' conftest.er1 >conftest.err
23305   rm -f conftest.er1
23306   cat conftest.err >&5
23307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308   (exit $ac_status); } &&
23309          { ac_try='test -z "$ac_c_werror_flag"
23310                          || test ! -s conftest.err'
23311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312   (eval $ac_try) 2>&5
23313   ac_status=$?
23314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315   (exit $ac_status); }; } &&
23316          { ac_try='test -s conftest$ac_exeext'
23317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23318   (eval $ac_try) 2>&5
23319   ac_status=$?
23320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321   (exit $ac_status); }; }; then
23322   ac_cv_lib_m_cabsl=yes
23323 else
23324   echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.$ac_ext >&5
23326
23327 ac_cv_lib_m_cabsl=no
23328 fi
23329 rm -f conftest.err conftest.$ac_objext \
23330       conftest$ac_exeext conftest.$ac_ext
23331 LIBS=$ac_check_lib_save_LIBS
23332 fi
23333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23334 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23335 if test $ac_cv_lib_m_cabsl = yes; then
23336
23337 cat >>confdefs.h <<\_ACEOF
23338 #define HAVE_CABSL 1
23339 _ACEOF
23340
23341 fi
23342
23343 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23344 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23345 if test "${ac_cv_lib_m_floorf+set}" = set; then
23346   echo $ECHO_N "(cached) $ECHO_C" >&6
23347 else
23348   ac_check_lib_save_LIBS=$LIBS
23349 LIBS="-lm  $LIBS"
23350 if test x$gcc_no_link = xyes; then
23351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23353    { (exit 1); exit 1; }; }
23354 fi
23355 cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h.  */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h.  */
23361
23362 /* Override any gcc2 internal prototype to avoid an error.  */
23363 #ifdef __cplusplus
23364 extern "C"
23365 #endif
23366 /* We use char because int might match the return type of a gcc2
23367    builtin and then its argument prototype would still apply.  */
23368 char floorf ();
23369 int
23370 main ()
23371 {
23372 floorf ();
23373   ;
23374   return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest.$ac_objext conftest$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379   (eval $ac_link) 2>conftest.er1
23380   ac_status=$?
23381   grep -v '^ *+' conftest.er1 >conftest.err
23382   rm -f conftest.er1
23383   cat conftest.err >&5
23384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385   (exit $ac_status); } &&
23386          { ac_try='test -z "$ac_c_werror_flag"
23387                          || test ! -s conftest.err'
23388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389   (eval $ac_try) 2>&5
23390   ac_status=$?
23391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392   (exit $ac_status); }; } &&
23393          { ac_try='test -s conftest$ac_exeext'
23394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395   (eval $ac_try) 2>&5
23396   ac_status=$?
23397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398   (exit $ac_status); }; }; then
23399   ac_cv_lib_m_floorf=yes
23400 else
23401   echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23403
23404 ac_cv_lib_m_floorf=no
23405 fi
23406 rm -f conftest.err conftest.$ac_objext \
23407       conftest$ac_exeext conftest.$ac_ext
23408 LIBS=$ac_check_lib_save_LIBS
23409 fi
23410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23411 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23412 if test $ac_cv_lib_m_floorf = yes; then
23413
23414 cat >>confdefs.h <<\_ACEOF
23415 #define HAVE_FLOORF 1
23416 _ACEOF
23417
23418 fi
23419
23420 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23421 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23422 if test "${ac_cv_lib_m_floor+set}" = set; then
23423   echo $ECHO_N "(cached) $ECHO_C" >&6
23424 else
23425   ac_check_lib_save_LIBS=$LIBS
23426 LIBS="-lm  $LIBS"
23427 if test x$gcc_no_link = xyes; then
23428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23430    { (exit 1); exit 1; }; }
23431 fi
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h.  */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h.  */
23438
23439 /* Override any gcc2 internal prototype to avoid an error.  */
23440 #ifdef __cplusplus
23441 extern "C"
23442 #endif
23443 /* We use char because int might match the return type of a gcc2
23444    builtin and then its argument prototype would still apply.  */
23445 char floor ();
23446 int
23447 main ()
23448 {
23449 floor ();
23450   ;
23451   return 0;
23452 }
23453 _ACEOF
23454 rm -f conftest.$ac_objext conftest$ac_exeext
23455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23456   (eval $ac_link) 2>conftest.er1
23457   ac_status=$?
23458   grep -v '^ *+' conftest.er1 >conftest.err
23459   rm -f conftest.er1
23460   cat conftest.err >&5
23461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462   (exit $ac_status); } &&
23463          { ac_try='test -z "$ac_c_werror_flag"
23464                          || test ! -s conftest.err'
23465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23466   (eval $ac_try) 2>&5
23467   ac_status=$?
23468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469   (exit $ac_status); }; } &&
23470          { ac_try='test -s conftest$ac_exeext'
23471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472   (eval $ac_try) 2>&5
23473   ac_status=$?
23474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475   (exit $ac_status); }; }; then
23476   ac_cv_lib_m_floor=yes
23477 else
23478   echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481 ac_cv_lib_m_floor=no
23482 fi
23483 rm -f conftest.err conftest.$ac_objext \
23484       conftest$ac_exeext conftest.$ac_ext
23485 LIBS=$ac_check_lib_save_LIBS
23486 fi
23487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23488 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23489 if test $ac_cv_lib_m_floor = yes; then
23490
23491 cat >>confdefs.h <<\_ACEOF
23492 #define HAVE_FLOOR 1
23493 _ACEOF
23494
23495 fi
23496
23497 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23498 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23499 if test "${ac_cv_lib_m_floorl+set}" = set; then
23500   echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502   ac_check_lib_save_LIBS=$LIBS
23503 LIBS="-lm  $LIBS"
23504 if test x$gcc_no_link = xyes; then
23505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507    { (exit 1); exit 1; }; }
23508 fi
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h.  */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h.  */
23515
23516 /* Override any gcc2 internal prototype to avoid an error.  */
23517 #ifdef __cplusplus
23518 extern "C"
23519 #endif
23520 /* We use char because int might match the return type of a gcc2
23521    builtin and then its argument prototype would still apply.  */
23522 char floorl ();
23523 int
23524 main ()
23525 {
23526 floorl ();
23527   ;
23528   return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext conftest$ac_exeext
23532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23533   (eval $ac_link) 2>conftest.er1
23534   ac_status=$?
23535   grep -v '^ *+' conftest.er1 >conftest.err
23536   rm -f conftest.er1
23537   cat conftest.err >&5
23538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539   (exit $ac_status); } &&
23540          { ac_try='test -z "$ac_c_werror_flag"
23541                          || test ! -s conftest.err'
23542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543   (eval $ac_try) 2>&5
23544   ac_status=$?
23545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546   (exit $ac_status); }; } &&
23547          { ac_try='test -s conftest$ac_exeext'
23548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549   (eval $ac_try) 2>&5
23550   ac_status=$?
23551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552   (exit $ac_status); }; }; then
23553   ac_cv_lib_m_floorl=yes
23554 else
23555   echo "$as_me: failed program was:" >&5
23556 sed 's/^/| /' conftest.$ac_ext >&5
23557
23558 ac_cv_lib_m_floorl=no
23559 fi
23560 rm -f conftest.err conftest.$ac_objext \
23561       conftest$ac_exeext conftest.$ac_ext
23562 LIBS=$ac_check_lib_save_LIBS
23563 fi
23564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23565 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23566 if test $ac_cv_lib_m_floorl = yes; then
23567
23568 cat >>confdefs.h <<\_ACEOF
23569 #define HAVE_FLOORL 1
23570 _ACEOF
23571
23572 fi
23573
23574 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23575 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23576 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23577   echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579   ac_check_lib_save_LIBS=$LIBS
23580 LIBS="-lm  $LIBS"
23581 if test x$gcc_no_link = xyes; then
23582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23584    { (exit 1); exit 1; }; }
23585 fi
23586 cat >conftest.$ac_ext <<_ACEOF
23587 /* confdefs.h.  */
23588 _ACEOF
23589 cat confdefs.h >>conftest.$ac_ext
23590 cat >>conftest.$ac_ext <<_ACEOF
23591 /* end confdefs.h.  */
23592
23593 /* Override any gcc2 internal prototype to avoid an error.  */
23594 #ifdef __cplusplus
23595 extern "C"
23596 #endif
23597 /* We use char because int might match the return type of a gcc2
23598    builtin and then its argument prototype would still apply.  */
23599 char fmodf ();
23600 int
23601 main ()
23602 {
23603 fmodf ();
23604   ;
23605   return 0;
23606 }
23607 _ACEOF
23608 rm -f conftest.$ac_objext conftest$ac_exeext
23609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23610   (eval $ac_link) 2>conftest.er1
23611   ac_status=$?
23612   grep -v '^ *+' conftest.er1 >conftest.err
23613   rm -f conftest.er1
23614   cat conftest.err >&5
23615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616   (exit $ac_status); } &&
23617          { ac_try='test -z "$ac_c_werror_flag"
23618                          || test ! -s conftest.err'
23619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620   (eval $ac_try) 2>&5
23621   ac_status=$?
23622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623   (exit $ac_status); }; } &&
23624          { ac_try='test -s conftest$ac_exeext'
23625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626   (eval $ac_try) 2>&5
23627   ac_status=$?
23628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629   (exit $ac_status); }; }; then
23630   ac_cv_lib_m_fmodf=yes
23631 else
23632   echo "$as_me: failed program was:" >&5
23633 sed 's/^/| /' conftest.$ac_ext >&5
23634
23635 ac_cv_lib_m_fmodf=no
23636 fi
23637 rm -f conftest.err conftest.$ac_objext \
23638       conftest$ac_exeext conftest.$ac_ext
23639 LIBS=$ac_check_lib_save_LIBS
23640 fi
23641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23642 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23643 if test $ac_cv_lib_m_fmodf = yes; then
23644
23645 cat >>confdefs.h <<\_ACEOF
23646 #define HAVE_FMODF 1
23647 _ACEOF
23648
23649 fi
23650
23651 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23652 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23653 if test "${ac_cv_lib_m_fmod+set}" = set; then
23654   echo $ECHO_N "(cached) $ECHO_C" >&6
23655 else
23656   ac_check_lib_save_LIBS=$LIBS
23657 LIBS="-lm  $LIBS"
23658 if test x$gcc_no_link = xyes; then
23659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23661    { (exit 1); exit 1; }; }
23662 fi
23663 cat >conftest.$ac_ext <<_ACEOF
23664 /* confdefs.h.  */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h.  */
23669
23670 /* Override any gcc2 internal prototype to avoid an error.  */
23671 #ifdef __cplusplus
23672 extern "C"
23673 #endif
23674 /* We use char because int might match the return type of a gcc2
23675    builtin and then its argument prototype would still apply.  */
23676 char fmod ();
23677 int
23678 main ()
23679 {
23680 fmod ();
23681   ;
23682   return 0;
23683 }
23684 _ACEOF
23685 rm -f conftest.$ac_objext conftest$ac_exeext
23686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23687   (eval $ac_link) 2>conftest.er1
23688   ac_status=$?
23689   grep -v '^ *+' conftest.er1 >conftest.err
23690   rm -f conftest.er1
23691   cat conftest.err >&5
23692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693   (exit $ac_status); } &&
23694          { ac_try='test -z "$ac_c_werror_flag"
23695                          || test ! -s conftest.err'
23696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697   (eval $ac_try) 2>&5
23698   ac_status=$?
23699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700   (exit $ac_status); }; } &&
23701          { ac_try='test -s conftest$ac_exeext'
23702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703   (eval $ac_try) 2>&5
23704   ac_status=$?
23705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706   (exit $ac_status); }; }; then
23707   ac_cv_lib_m_fmod=yes
23708 else
23709   echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23711
23712 ac_cv_lib_m_fmod=no
23713 fi
23714 rm -f conftest.err conftest.$ac_objext \
23715       conftest$ac_exeext conftest.$ac_ext
23716 LIBS=$ac_check_lib_save_LIBS
23717 fi
23718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23719 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23720 if test $ac_cv_lib_m_fmod = yes; then
23721
23722 cat >>confdefs.h <<\_ACEOF
23723 #define HAVE_FMOD 1
23724 _ACEOF
23725
23726 fi
23727
23728 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23729 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23730 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23731   echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733   ac_check_lib_save_LIBS=$LIBS
23734 LIBS="-lm  $LIBS"
23735 if test x$gcc_no_link = xyes; then
23736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23738    { (exit 1); exit 1; }; }
23739 fi
23740 cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h.  */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h.  */
23746
23747 /* Override any gcc2 internal prototype to avoid an error.  */
23748 #ifdef __cplusplus
23749 extern "C"
23750 #endif
23751 /* We use char because int might match the return type of a gcc2
23752    builtin and then its argument prototype would still apply.  */
23753 char fmodl ();
23754 int
23755 main ()
23756 {
23757 fmodl ();
23758   ;
23759   return 0;
23760 }
23761 _ACEOF
23762 rm -f conftest.$ac_objext conftest$ac_exeext
23763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23764   (eval $ac_link) 2>conftest.er1
23765   ac_status=$?
23766   grep -v '^ *+' conftest.er1 >conftest.err
23767   rm -f conftest.er1
23768   cat conftest.err >&5
23769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770   (exit $ac_status); } &&
23771          { ac_try='test -z "$ac_c_werror_flag"
23772                          || test ! -s conftest.err'
23773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774   (eval $ac_try) 2>&5
23775   ac_status=$?
23776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777   (exit $ac_status); }; } &&
23778          { ac_try='test -s conftest$ac_exeext'
23779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780   (eval $ac_try) 2>&5
23781   ac_status=$?
23782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783   (exit $ac_status); }; }; then
23784   ac_cv_lib_m_fmodl=yes
23785 else
23786   echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.$ac_ext >&5
23788
23789 ac_cv_lib_m_fmodl=no
23790 fi
23791 rm -f conftest.err conftest.$ac_objext \
23792       conftest$ac_exeext conftest.$ac_ext
23793 LIBS=$ac_check_lib_save_LIBS
23794 fi
23795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23796 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23797 if test $ac_cv_lib_m_fmodl = yes; then
23798
23799 cat >>confdefs.h <<\_ACEOF
23800 #define HAVE_FMODL 1
23801 _ACEOF
23802
23803 fi
23804
23805 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23806 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23807 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23808   echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810   ac_check_lib_save_LIBS=$LIBS
23811 LIBS="-lm  $LIBS"
23812 if test x$gcc_no_link = xyes; then
23813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23815    { (exit 1); exit 1; }; }
23816 fi
23817 cat >conftest.$ac_ext <<_ACEOF
23818 /* confdefs.h.  */
23819 _ACEOF
23820 cat confdefs.h >>conftest.$ac_ext
23821 cat >>conftest.$ac_ext <<_ACEOF
23822 /* end confdefs.h.  */
23823
23824 /* Override any gcc2 internal prototype to avoid an error.  */
23825 #ifdef __cplusplus
23826 extern "C"
23827 #endif
23828 /* We use char because int might match the return type of a gcc2
23829    builtin and then its argument prototype would still apply.  */
23830 char frexpf ();
23831 int
23832 main ()
23833 {
23834 frexpf ();
23835   ;
23836   return 0;
23837 }
23838 _ACEOF
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841   (eval $ac_link) 2>conftest.er1
23842   ac_status=$?
23843   grep -v '^ *+' conftest.er1 >conftest.err
23844   rm -f conftest.er1
23845   cat conftest.err >&5
23846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847   (exit $ac_status); } &&
23848          { ac_try='test -z "$ac_c_werror_flag"
23849                          || test ! -s conftest.err'
23850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851   (eval $ac_try) 2>&5
23852   ac_status=$?
23853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854   (exit $ac_status); }; } &&
23855          { ac_try='test -s conftest$ac_exeext'
23856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857   (eval $ac_try) 2>&5
23858   ac_status=$?
23859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860   (exit $ac_status); }; }; then
23861   ac_cv_lib_m_frexpf=yes
23862 else
23863   echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23865
23866 ac_cv_lib_m_frexpf=no
23867 fi
23868 rm -f conftest.err conftest.$ac_objext \
23869       conftest$ac_exeext conftest.$ac_ext
23870 LIBS=$ac_check_lib_save_LIBS
23871 fi
23872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23873 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23874 if test $ac_cv_lib_m_frexpf = yes; then
23875
23876 cat >>confdefs.h <<\_ACEOF
23877 #define HAVE_FREXPF 1
23878 _ACEOF
23879
23880 fi
23881
23882 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23883 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23884 if test "${ac_cv_lib_m_frexp+set}" = set; then
23885   echo $ECHO_N "(cached) $ECHO_C" >&6
23886 else
23887   ac_check_lib_save_LIBS=$LIBS
23888 LIBS="-lm  $LIBS"
23889 if test x$gcc_no_link = xyes; then
23890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23892    { (exit 1); exit 1; }; }
23893 fi
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h.  */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h.  */
23900
23901 /* Override any gcc2 internal prototype to avoid an error.  */
23902 #ifdef __cplusplus
23903 extern "C"
23904 #endif
23905 /* We use char because int might match the return type of a gcc2
23906    builtin and then its argument prototype would still apply.  */
23907 char frexp ();
23908 int
23909 main ()
23910 {
23911 frexp ();
23912   ;
23913   return 0;
23914 }
23915 _ACEOF
23916 rm -f conftest.$ac_objext conftest$ac_exeext
23917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23918   (eval $ac_link) 2>conftest.er1
23919   ac_status=$?
23920   grep -v '^ *+' conftest.er1 >conftest.err
23921   rm -f conftest.er1
23922   cat conftest.err >&5
23923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924   (exit $ac_status); } &&
23925          { ac_try='test -z "$ac_c_werror_flag"
23926                          || test ! -s conftest.err'
23927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928   (eval $ac_try) 2>&5
23929   ac_status=$?
23930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931   (exit $ac_status); }; } &&
23932          { ac_try='test -s conftest$ac_exeext'
23933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934   (eval $ac_try) 2>&5
23935   ac_status=$?
23936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937   (exit $ac_status); }; }; then
23938   ac_cv_lib_m_frexp=yes
23939 else
23940   echo "$as_me: failed program was:" >&5
23941 sed 's/^/| /' conftest.$ac_ext >&5
23942
23943 ac_cv_lib_m_frexp=no
23944 fi
23945 rm -f conftest.err conftest.$ac_objext \
23946       conftest$ac_exeext conftest.$ac_ext
23947 LIBS=$ac_check_lib_save_LIBS
23948 fi
23949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23950 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23951 if test $ac_cv_lib_m_frexp = yes; then
23952
23953 cat >>confdefs.h <<\_ACEOF
23954 #define HAVE_FREXP 1
23955 _ACEOF
23956
23957 fi
23958
23959 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23960 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23961 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23962   echo $ECHO_N "(cached) $ECHO_C" >&6
23963 else
23964   ac_check_lib_save_LIBS=$LIBS
23965 LIBS="-lm  $LIBS"
23966 if test x$gcc_no_link = xyes; then
23967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969    { (exit 1); exit 1; }; }
23970 fi
23971 cat >conftest.$ac_ext <<_ACEOF
23972 /* confdefs.h.  */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h.  */
23977
23978 /* Override any gcc2 internal prototype to avoid an error.  */
23979 #ifdef __cplusplus
23980 extern "C"
23981 #endif
23982 /* We use char because int might match the return type of a gcc2
23983    builtin and then its argument prototype would still apply.  */
23984 char frexpl ();
23985 int
23986 main ()
23987 {
23988 frexpl ();
23989   ;
23990   return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext conftest$ac_exeext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23995   (eval $ac_link) 2>conftest.er1
23996   ac_status=$?
23997   grep -v '^ *+' conftest.er1 >conftest.err
23998   rm -f conftest.er1
23999   cat conftest.err >&5
24000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001   (exit $ac_status); } &&
24002          { ac_try='test -z "$ac_c_werror_flag"
24003                          || test ! -s conftest.err'
24004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24005   (eval $ac_try) 2>&5
24006   ac_status=$?
24007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008   (exit $ac_status); }; } &&
24009          { ac_try='test -s conftest$ac_exeext'
24010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011   (eval $ac_try) 2>&5
24012   ac_status=$?
24013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014   (exit $ac_status); }; }; then
24015   ac_cv_lib_m_frexpl=yes
24016 else
24017   echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.$ac_ext >&5
24019
24020 ac_cv_lib_m_frexpl=no
24021 fi
24022 rm -f conftest.err conftest.$ac_objext \
24023       conftest$ac_exeext conftest.$ac_ext
24024 LIBS=$ac_check_lib_save_LIBS
24025 fi
24026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24027 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24028 if test $ac_cv_lib_m_frexpl = yes; then
24029
24030 cat >>confdefs.h <<\_ACEOF
24031 #define HAVE_FREXPL 1
24032 _ACEOF
24033
24034 fi
24035
24036 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24037 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24038 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24039   echo $ECHO_N "(cached) $ECHO_C" >&6
24040 else
24041   ac_check_lib_save_LIBS=$LIBS
24042 LIBS="-lm  $LIBS"
24043 if test x$gcc_no_link = xyes; then
24044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24046    { (exit 1); exit 1; }; }
24047 fi
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h.  */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h.  */
24054
24055 /* Override any gcc2 internal prototype to avoid an error.  */
24056 #ifdef __cplusplus
24057 extern "C"
24058 #endif
24059 /* We use char because int might match the return type of a gcc2
24060    builtin and then its argument prototype would still apply.  */
24061 char hypotf ();
24062 int
24063 main ()
24064 {
24065 hypotf ();
24066   ;
24067   return 0;
24068 }
24069 _ACEOF
24070 rm -f conftest.$ac_objext conftest$ac_exeext
24071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24072   (eval $ac_link) 2>conftest.er1
24073   ac_status=$?
24074   grep -v '^ *+' conftest.er1 >conftest.err
24075   rm -f conftest.er1
24076   cat conftest.err >&5
24077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078   (exit $ac_status); } &&
24079          { ac_try='test -z "$ac_c_werror_flag"
24080                          || test ! -s conftest.err'
24081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082   (eval $ac_try) 2>&5
24083   ac_status=$?
24084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085   (exit $ac_status); }; } &&
24086          { ac_try='test -s conftest$ac_exeext'
24087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24088   (eval $ac_try) 2>&5
24089   ac_status=$?
24090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091   (exit $ac_status); }; }; then
24092   ac_cv_lib_m_hypotf=yes
24093 else
24094   echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.$ac_ext >&5
24096
24097 ac_cv_lib_m_hypotf=no
24098 fi
24099 rm -f conftest.err conftest.$ac_objext \
24100       conftest$ac_exeext conftest.$ac_ext
24101 LIBS=$ac_check_lib_save_LIBS
24102 fi
24103 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24104 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24105 if test $ac_cv_lib_m_hypotf = yes; then
24106
24107 cat >>confdefs.h <<\_ACEOF
24108 #define HAVE_HYPOTF 1
24109 _ACEOF
24110
24111 fi
24112
24113 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24114 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24115 if test "${ac_cv_lib_m_hypot+set}" = set; then
24116   echo $ECHO_N "(cached) $ECHO_C" >&6
24117 else
24118   ac_check_lib_save_LIBS=$LIBS
24119 LIBS="-lm  $LIBS"
24120 if test x$gcc_no_link = xyes; then
24121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24123    { (exit 1); exit 1; }; }
24124 fi
24125 cat >conftest.$ac_ext <<_ACEOF
24126 /* confdefs.h.  */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h.  */
24131
24132 /* Override any gcc2 internal prototype to avoid an error.  */
24133 #ifdef __cplusplus
24134 extern "C"
24135 #endif
24136 /* We use char because int might match the return type of a gcc2
24137    builtin and then its argument prototype would still apply.  */
24138 char hypot ();
24139 int
24140 main ()
24141 {
24142 hypot ();
24143   ;
24144   return 0;
24145 }
24146 _ACEOF
24147 rm -f conftest.$ac_objext conftest$ac_exeext
24148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24149   (eval $ac_link) 2>conftest.er1
24150   ac_status=$?
24151   grep -v '^ *+' conftest.er1 >conftest.err
24152   rm -f conftest.er1
24153   cat conftest.err >&5
24154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155   (exit $ac_status); } &&
24156          { ac_try='test -z "$ac_c_werror_flag"
24157                          || test ! -s conftest.err'
24158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159   (eval $ac_try) 2>&5
24160   ac_status=$?
24161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162   (exit $ac_status); }; } &&
24163          { ac_try='test -s conftest$ac_exeext'
24164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165   (eval $ac_try) 2>&5
24166   ac_status=$?
24167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168   (exit $ac_status); }; }; then
24169   ac_cv_lib_m_hypot=yes
24170 else
24171   echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174 ac_cv_lib_m_hypot=no
24175 fi
24176 rm -f conftest.err conftest.$ac_objext \
24177       conftest$ac_exeext conftest.$ac_ext
24178 LIBS=$ac_check_lib_save_LIBS
24179 fi
24180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24181 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24182 if test $ac_cv_lib_m_hypot = yes; then
24183
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_HYPOT 1
24186 _ACEOF
24187
24188 fi
24189
24190 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24191 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24192 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24193   echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195   ac_check_lib_save_LIBS=$LIBS
24196 LIBS="-lm  $LIBS"
24197 if test x$gcc_no_link = xyes; then
24198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24200    { (exit 1); exit 1; }; }
24201 fi
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h.  */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h.  */
24208
24209 /* Override any gcc2 internal prototype to avoid an error.  */
24210 #ifdef __cplusplus
24211 extern "C"
24212 #endif
24213 /* We use char because int might match the return type of a gcc2
24214    builtin and then its argument prototype would still apply.  */
24215 char hypotl ();
24216 int
24217 main ()
24218 {
24219 hypotl ();
24220   ;
24221   return 0;
24222 }
24223 _ACEOF
24224 rm -f conftest.$ac_objext conftest$ac_exeext
24225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24226   (eval $ac_link) 2>conftest.er1
24227   ac_status=$?
24228   grep -v '^ *+' conftest.er1 >conftest.err
24229   rm -f conftest.er1
24230   cat conftest.err >&5
24231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232   (exit $ac_status); } &&
24233          { ac_try='test -z "$ac_c_werror_flag"
24234                          || test ! -s conftest.err'
24235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236   (eval $ac_try) 2>&5
24237   ac_status=$?
24238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239   (exit $ac_status); }; } &&
24240          { ac_try='test -s conftest$ac_exeext'
24241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242   (eval $ac_try) 2>&5
24243   ac_status=$?
24244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245   (exit $ac_status); }; }; then
24246   ac_cv_lib_m_hypotl=yes
24247 else
24248   echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.$ac_ext >&5
24250
24251 ac_cv_lib_m_hypotl=no
24252 fi
24253 rm -f conftest.err conftest.$ac_objext \
24254       conftest$ac_exeext conftest.$ac_ext
24255 LIBS=$ac_check_lib_save_LIBS
24256 fi
24257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24258 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24259 if test $ac_cv_lib_m_hypotl = yes; then
24260
24261 cat >>confdefs.h <<\_ACEOF
24262 #define HAVE_HYPOTL 1
24263 _ACEOF
24264
24265 fi
24266
24267 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24268 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24269 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24270   echo $ECHO_N "(cached) $ECHO_C" >&6
24271 else
24272   ac_check_lib_save_LIBS=$LIBS
24273 LIBS="-lm  $LIBS"
24274 if test x$gcc_no_link = xyes; then
24275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24277    { (exit 1); exit 1; }; }
24278 fi
24279 cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h.  */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h.  */
24285
24286 /* Override any gcc2 internal prototype to avoid an error.  */
24287 #ifdef __cplusplus
24288 extern "C"
24289 #endif
24290 /* We use char because int might match the return type of a gcc2
24291    builtin and then its argument prototype would still apply.  */
24292 char ldexpf ();
24293 int
24294 main ()
24295 {
24296 ldexpf ();
24297   ;
24298   return 0;
24299 }
24300 _ACEOF
24301 rm -f conftest.$ac_objext conftest$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303   (eval $ac_link) 2>conftest.er1
24304   ac_status=$?
24305   grep -v '^ *+' conftest.er1 >conftest.err
24306   rm -f conftest.er1
24307   cat conftest.err >&5
24308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309   (exit $ac_status); } &&
24310          { ac_try='test -z "$ac_c_werror_flag"
24311                          || test ! -s conftest.err'
24312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313   (eval $ac_try) 2>&5
24314   ac_status=$?
24315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316   (exit $ac_status); }; } &&
24317          { ac_try='test -s conftest$ac_exeext'
24318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319   (eval $ac_try) 2>&5
24320   ac_status=$?
24321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322   (exit $ac_status); }; }; then
24323   ac_cv_lib_m_ldexpf=yes
24324 else
24325   echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.$ac_ext >&5
24327
24328 ac_cv_lib_m_ldexpf=no
24329 fi
24330 rm -f conftest.err conftest.$ac_objext \
24331       conftest$ac_exeext conftest.$ac_ext
24332 LIBS=$ac_check_lib_save_LIBS
24333 fi
24334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24335 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24336 if test $ac_cv_lib_m_ldexpf = yes; then
24337
24338 cat >>confdefs.h <<\_ACEOF
24339 #define HAVE_LDEXPF 1
24340 _ACEOF
24341
24342 fi
24343
24344 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24345 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24346 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24347   echo $ECHO_N "(cached) $ECHO_C" >&6
24348 else
24349   ac_check_lib_save_LIBS=$LIBS
24350 LIBS="-lm  $LIBS"
24351 if test x$gcc_no_link = xyes; then
24352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24354    { (exit 1); exit 1; }; }
24355 fi
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h.  */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h.  */
24362
24363 /* Override any gcc2 internal prototype to avoid an error.  */
24364 #ifdef __cplusplus
24365 extern "C"
24366 #endif
24367 /* We use char because int might match the return type of a gcc2
24368    builtin and then its argument prototype would still apply.  */
24369 char ldexp ();
24370 int
24371 main ()
24372 {
24373 ldexp ();
24374   ;
24375   return 0;
24376 }
24377 _ACEOF
24378 rm -f conftest.$ac_objext conftest$ac_exeext
24379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24380   (eval $ac_link) 2>conftest.er1
24381   ac_status=$?
24382   grep -v '^ *+' conftest.er1 >conftest.err
24383   rm -f conftest.er1
24384   cat conftest.err >&5
24385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386   (exit $ac_status); } &&
24387          { ac_try='test -z "$ac_c_werror_flag"
24388                          || test ! -s conftest.err'
24389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390   (eval $ac_try) 2>&5
24391   ac_status=$?
24392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393   (exit $ac_status); }; } &&
24394          { ac_try='test -s conftest$ac_exeext'
24395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396   (eval $ac_try) 2>&5
24397   ac_status=$?
24398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399   (exit $ac_status); }; }; then
24400   ac_cv_lib_m_ldexp=yes
24401 else
24402   echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24404
24405 ac_cv_lib_m_ldexp=no
24406 fi
24407 rm -f conftest.err conftest.$ac_objext \
24408       conftest$ac_exeext conftest.$ac_ext
24409 LIBS=$ac_check_lib_save_LIBS
24410 fi
24411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24412 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24413 if test $ac_cv_lib_m_ldexp = yes; then
24414
24415 cat >>confdefs.h <<\_ACEOF
24416 #define HAVE_LDEXP 1
24417 _ACEOF
24418
24419 fi
24420
24421 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24422 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24423 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24424   echo $ECHO_N "(cached) $ECHO_C" >&6
24425 else
24426   ac_check_lib_save_LIBS=$LIBS
24427 LIBS="-lm  $LIBS"
24428 if test x$gcc_no_link = xyes; then
24429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24431    { (exit 1); exit 1; }; }
24432 fi
24433 cat >conftest.$ac_ext <<_ACEOF
24434 /* confdefs.h.  */
24435 _ACEOF
24436 cat confdefs.h >>conftest.$ac_ext
24437 cat >>conftest.$ac_ext <<_ACEOF
24438 /* end confdefs.h.  */
24439
24440 /* Override any gcc2 internal prototype to avoid an error.  */
24441 #ifdef __cplusplus
24442 extern "C"
24443 #endif
24444 /* We use char because int might match the return type of a gcc2
24445    builtin and then its argument prototype would still apply.  */
24446 char ldexpl ();
24447 int
24448 main ()
24449 {
24450 ldexpl ();
24451   ;
24452   return 0;
24453 }
24454 _ACEOF
24455 rm -f conftest.$ac_objext conftest$ac_exeext
24456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24457   (eval $ac_link) 2>conftest.er1
24458   ac_status=$?
24459   grep -v '^ *+' conftest.er1 >conftest.err
24460   rm -f conftest.er1
24461   cat conftest.err >&5
24462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463   (exit $ac_status); } &&
24464          { ac_try='test -z "$ac_c_werror_flag"
24465                          || test ! -s conftest.err'
24466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467   (eval $ac_try) 2>&5
24468   ac_status=$?
24469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470   (exit $ac_status); }; } &&
24471          { ac_try='test -s conftest$ac_exeext'
24472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473   (eval $ac_try) 2>&5
24474   ac_status=$?
24475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476   (exit $ac_status); }; }; then
24477   ac_cv_lib_m_ldexpl=yes
24478 else
24479   echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.$ac_ext >&5
24481
24482 ac_cv_lib_m_ldexpl=no
24483 fi
24484 rm -f conftest.err conftest.$ac_objext \
24485       conftest$ac_exeext conftest.$ac_ext
24486 LIBS=$ac_check_lib_save_LIBS
24487 fi
24488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24489 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24490 if test $ac_cv_lib_m_ldexpl = yes; then
24491
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_LDEXPL 1
24494 _ACEOF
24495
24496 fi
24497
24498 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24499 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24500 if test "${ac_cv_lib_m_logf+set}" = set; then
24501   echo $ECHO_N "(cached) $ECHO_C" >&6
24502 else
24503   ac_check_lib_save_LIBS=$LIBS
24504 LIBS="-lm  $LIBS"
24505 if test x$gcc_no_link = xyes; then
24506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24508    { (exit 1); exit 1; }; }
24509 fi
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h.  */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h.  */
24516
24517 /* Override any gcc2 internal prototype to avoid an error.  */
24518 #ifdef __cplusplus
24519 extern "C"
24520 #endif
24521 /* We use char because int might match the return type of a gcc2
24522    builtin and then its argument prototype would still apply.  */
24523 char logf ();
24524 int
24525 main ()
24526 {
24527 logf ();
24528   ;
24529   return 0;
24530 }
24531 _ACEOF
24532 rm -f conftest.$ac_objext conftest$ac_exeext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24534   (eval $ac_link) 2>conftest.er1
24535   ac_status=$?
24536   grep -v '^ *+' conftest.er1 >conftest.err
24537   rm -f conftest.er1
24538   cat conftest.err >&5
24539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540   (exit $ac_status); } &&
24541          { ac_try='test -z "$ac_c_werror_flag"
24542                          || test ! -s conftest.err'
24543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544   (eval $ac_try) 2>&5
24545   ac_status=$?
24546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547   (exit $ac_status); }; } &&
24548          { ac_try='test -s conftest$ac_exeext'
24549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550   (eval $ac_try) 2>&5
24551   ac_status=$?
24552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553   (exit $ac_status); }; }; then
24554   ac_cv_lib_m_logf=yes
24555 else
24556   echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24558
24559 ac_cv_lib_m_logf=no
24560 fi
24561 rm -f conftest.err conftest.$ac_objext \
24562       conftest$ac_exeext conftest.$ac_ext
24563 LIBS=$ac_check_lib_save_LIBS
24564 fi
24565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24566 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24567 if test $ac_cv_lib_m_logf = yes; then
24568
24569 cat >>confdefs.h <<\_ACEOF
24570 #define HAVE_LOGF 1
24571 _ACEOF
24572
24573 fi
24574
24575 echo "$as_me:$LINENO: checking for log in -lm" >&5
24576 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24577 if test "${ac_cv_lib_m_log+set}" = set; then
24578   echo $ECHO_N "(cached) $ECHO_C" >&6
24579 else
24580   ac_check_lib_save_LIBS=$LIBS
24581 LIBS="-lm  $LIBS"
24582 if test x$gcc_no_link = xyes; then
24583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24585    { (exit 1); exit 1; }; }
24586 fi
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h.  */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h.  */
24593
24594 /* Override any gcc2 internal prototype to avoid an error.  */
24595 #ifdef __cplusplus
24596 extern "C"
24597 #endif
24598 /* We use char because int might match the return type of a gcc2
24599    builtin and then its argument prototype would still apply.  */
24600 char log ();
24601 int
24602 main ()
24603 {
24604 log ();
24605   ;
24606   return 0;
24607 }
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611   (eval $ac_link) 2>conftest.er1
24612   ac_status=$?
24613   grep -v '^ *+' conftest.er1 >conftest.err
24614   rm -f conftest.er1
24615   cat conftest.err >&5
24616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617   (exit $ac_status); } &&
24618          { ac_try='test -z "$ac_c_werror_flag"
24619                          || test ! -s conftest.err'
24620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621   (eval $ac_try) 2>&5
24622   ac_status=$?
24623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624   (exit $ac_status); }; } &&
24625          { ac_try='test -s conftest$ac_exeext'
24626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627   (eval $ac_try) 2>&5
24628   ac_status=$?
24629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630   (exit $ac_status); }; }; then
24631   ac_cv_lib_m_log=yes
24632 else
24633   echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 ac_cv_lib_m_log=no
24637 fi
24638 rm -f conftest.err conftest.$ac_objext \
24639       conftest$ac_exeext conftest.$ac_ext
24640 LIBS=$ac_check_lib_save_LIBS
24641 fi
24642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24643 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24644 if test $ac_cv_lib_m_log = yes; then
24645
24646 cat >>confdefs.h <<\_ACEOF
24647 #define HAVE_LOG 1
24648 _ACEOF
24649
24650 fi
24651
24652 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24653 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24654 if test "${ac_cv_lib_m_logl+set}" = set; then
24655   echo $ECHO_N "(cached) $ECHO_C" >&6
24656 else
24657   ac_check_lib_save_LIBS=$LIBS
24658 LIBS="-lm  $LIBS"
24659 if test x$gcc_no_link = xyes; then
24660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24662    { (exit 1); exit 1; }; }
24663 fi
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h.  */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h.  */
24670
24671 /* Override any gcc2 internal prototype to avoid an error.  */
24672 #ifdef __cplusplus
24673 extern "C"
24674 #endif
24675 /* We use char because int might match the return type of a gcc2
24676    builtin and then its argument prototype would still apply.  */
24677 char logl ();
24678 int
24679 main ()
24680 {
24681 logl ();
24682   ;
24683   return 0;
24684 }
24685 _ACEOF
24686 rm -f conftest.$ac_objext conftest$ac_exeext
24687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24688   (eval $ac_link) 2>conftest.er1
24689   ac_status=$?
24690   grep -v '^ *+' conftest.er1 >conftest.err
24691   rm -f conftest.er1
24692   cat conftest.err >&5
24693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694   (exit $ac_status); } &&
24695          { ac_try='test -z "$ac_c_werror_flag"
24696                          || test ! -s conftest.err'
24697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698   (eval $ac_try) 2>&5
24699   ac_status=$?
24700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701   (exit $ac_status); }; } &&
24702          { ac_try='test -s conftest$ac_exeext'
24703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704   (eval $ac_try) 2>&5
24705   ac_status=$?
24706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707   (exit $ac_status); }; }; then
24708   ac_cv_lib_m_logl=yes
24709 else
24710   echo "$as_me: failed program was:" >&5
24711 sed 's/^/| /' conftest.$ac_ext >&5
24712
24713 ac_cv_lib_m_logl=no
24714 fi
24715 rm -f conftest.err conftest.$ac_objext \
24716       conftest$ac_exeext conftest.$ac_ext
24717 LIBS=$ac_check_lib_save_LIBS
24718 fi
24719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24720 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24721 if test $ac_cv_lib_m_logl = yes; then
24722
24723 cat >>confdefs.h <<\_ACEOF
24724 #define HAVE_LOGL 1
24725 _ACEOF
24726
24727 fi
24728
24729 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24730 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24731 if test "${ac_cv_lib_m_clogf+set}" = set; then
24732   echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734   ac_check_lib_save_LIBS=$LIBS
24735 LIBS="-lm  $LIBS"
24736 if test x$gcc_no_link = xyes; then
24737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24739    { (exit 1); exit 1; }; }
24740 fi
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h.  */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h.  */
24747
24748 /* Override any gcc2 internal prototype to avoid an error.  */
24749 #ifdef __cplusplus
24750 extern "C"
24751 #endif
24752 /* We use char because int might match the return type of a gcc2
24753    builtin and then its argument prototype would still apply.  */
24754 char clogf ();
24755 int
24756 main ()
24757 {
24758 clogf ();
24759   ;
24760   return 0;
24761 }
24762 _ACEOF
24763 rm -f conftest.$ac_objext conftest$ac_exeext
24764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24765   (eval $ac_link) 2>conftest.er1
24766   ac_status=$?
24767   grep -v '^ *+' conftest.er1 >conftest.err
24768   rm -f conftest.er1
24769   cat conftest.err >&5
24770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771   (exit $ac_status); } &&
24772          { ac_try='test -z "$ac_c_werror_flag"
24773                          || test ! -s conftest.err'
24774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775   (eval $ac_try) 2>&5
24776   ac_status=$?
24777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778   (exit $ac_status); }; } &&
24779          { ac_try='test -s conftest$ac_exeext'
24780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781   (eval $ac_try) 2>&5
24782   ac_status=$?
24783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784   (exit $ac_status); }; }; then
24785   ac_cv_lib_m_clogf=yes
24786 else
24787   echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 ac_cv_lib_m_clogf=no
24791 fi
24792 rm -f conftest.err conftest.$ac_objext \
24793       conftest$ac_exeext conftest.$ac_ext
24794 LIBS=$ac_check_lib_save_LIBS
24795 fi
24796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24797 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24798 if test $ac_cv_lib_m_clogf = yes; then
24799
24800 cat >>confdefs.h <<\_ACEOF
24801 #define HAVE_CLOGF 1
24802 _ACEOF
24803
24804 fi
24805
24806 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24807 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24808 if test "${ac_cv_lib_m_clog+set}" = set; then
24809   echo $ECHO_N "(cached) $ECHO_C" >&6
24810 else
24811   ac_check_lib_save_LIBS=$LIBS
24812 LIBS="-lm  $LIBS"
24813 if test x$gcc_no_link = xyes; then
24814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24816    { (exit 1); exit 1; }; }
24817 fi
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h.  */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h.  */
24824
24825 /* Override any gcc2 internal prototype to avoid an error.  */
24826 #ifdef __cplusplus
24827 extern "C"
24828 #endif
24829 /* We use char because int might match the return type of a gcc2
24830    builtin and then its argument prototype would still apply.  */
24831 char clog ();
24832 int
24833 main ()
24834 {
24835 clog ();
24836   ;
24837   return 0;
24838 }
24839 _ACEOF
24840 rm -f conftest.$ac_objext conftest$ac_exeext
24841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24842   (eval $ac_link) 2>conftest.er1
24843   ac_status=$?
24844   grep -v '^ *+' conftest.er1 >conftest.err
24845   rm -f conftest.er1
24846   cat conftest.err >&5
24847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848   (exit $ac_status); } &&
24849          { ac_try='test -z "$ac_c_werror_flag"
24850                          || test ! -s conftest.err'
24851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24852   (eval $ac_try) 2>&5
24853   ac_status=$?
24854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855   (exit $ac_status); }; } &&
24856          { ac_try='test -s conftest$ac_exeext'
24857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24858   (eval $ac_try) 2>&5
24859   ac_status=$?
24860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861   (exit $ac_status); }; }; then
24862   ac_cv_lib_m_clog=yes
24863 else
24864   echo "$as_me: failed program was:" >&5
24865 sed 's/^/| /' conftest.$ac_ext >&5
24866
24867 ac_cv_lib_m_clog=no
24868 fi
24869 rm -f conftest.err conftest.$ac_objext \
24870       conftest$ac_exeext conftest.$ac_ext
24871 LIBS=$ac_check_lib_save_LIBS
24872 fi
24873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24874 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24875 if test $ac_cv_lib_m_clog = yes; then
24876
24877 cat >>confdefs.h <<\_ACEOF
24878 #define HAVE_CLOG 1
24879 _ACEOF
24880
24881 fi
24882
24883 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24884 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24885 if test "${ac_cv_lib_m_clogl+set}" = set; then
24886   echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888   ac_check_lib_save_LIBS=$LIBS
24889 LIBS="-lm  $LIBS"
24890 if test x$gcc_no_link = xyes; then
24891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24893    { (exit 1); exit 1; }; }
24894 fi
24895 cat >conftest.$ac_ext <<_ACEOF
24896 /* confdefs.h.  */
24897 _ACEOF
24898 cat confdefs.h >>conftest.$ac_ext
24899 cat >>conftest.$ac_ext <<_ACEOF
24900 /* end confdefs.h.  */
24901
24902 /* Override any gcc2 internal prototype to avoid an error.  */
24903 #ifdef __cplusplus
24904 extern "C"
24905 #endif
24906 /* We use char because int might match the return type of a gcc2
24907    builtin and then its argument prototype would still apply.  */
24908 char clogl ();
24909 int
24910 main ()
24911 {
24912 clogl ();
24913   ;
24914   return 0;
24915 }
24916 _ACEOF
24917 rm -f conftest.$ac_objext conftest$ac_exeext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24919   (eval $ac_link) 2>conftest.er1
24920   ac_status=$?
24921   grep -v '^ *+' conftest.er1 >conftest.err
24922   rm -f conftest.er1
24923   cat conftest.err >&5
24924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925   (exit $ac_status); } &&
24926          { ac_try='test -z "$ac_c_werror_flag"
24927                          || test ! -s conftest.err'
24928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929   (eval $ac_try) 2>&5
24930   ac_status=$?
24931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932   (exit $ac_status); }; } &&
24933          { ac_try='test -s conftest$ac_exeext'
24934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24935   (eval $ac_try) 2>&5
24936   ac_status=$?
24937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938   (exit $ac_status); }; }; then
24939   ac_cv_lib_m_clogl=yes
24940 else
24941   echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 ac_cv_lib_m_clogl=no
24945 fi
24946 rm -f conftest.err conftest.$ac_objext \
24947       conftest$ac_exeext conftest.$ac_ext
24948 LIBS=$ac_check_lib_save_LIBS
24949 fi
24950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24951 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24952 if test $ac_cv_lib_m_clogl = yes; then
24953
24954 cat >>confdefs.h <<\_ACEOF
24955 #define HAVE_CLOGL 1
24956 _ACEOF
24957
24958 fi
24959
24960 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24961 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24962 if test "${ac_cv_lib_m_log10f+set}" = set; then
24963   echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965   ac_check_lib_save_LIBS=$LIBS
24966 LIBS="-lm  $LIBS"
24967 if test x$gcc_no_link = xyes; then
24968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24970    { (exit 1); exit 1; }; }
24971 fi
24972 cat >conftest.$ac_ext <<_ACEOF
24973 /* confdefs.h.  */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h.  */
24978
24979 /* Override any gcc2 internal prototype to avoid an error.  */
24980 #ifdef __cplusplus
24981 extern "C"
24982 #endif
24983 /* We use char because int might match the return type of a gcc2
24984    builtin and then its argument prototype would still apply.  */
24985 char log10f ();
24986 int
24987 main ()
24988 {
24989 log10f ();
24990   ;
24991   return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext conftest$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996   (eval $ac_link) 2>conftest.er1
24997   ac_status=$?
24998   grep -v '^ *+' conftest.er1 >conftest.err
24999   rm -f conftest.er1
25000   cat conftest.err >&5
25001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002   (exit $ac_status); } &&
25003          { ac_try='test -z "$ac_c_werror_flag"
25004                          || test ! -s conftest.err'
25005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006   (eval $ac_try) 2>&5
25007   ac_status=$?
25008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009   (exit $ac_status); }; } &&
25010          { ac_try='test -s conftest$ac_exeext'
25011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012   (eval $ac_try) 2>&5
25013   ac_status=$?
25014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015   (exit $ac_status); }; }; then
25016   ac_cv_lib_m_log10f=yes
25017 else
25018   echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25020
25021 ac_cv_lib_m_log10f=no
25022 fi
25023 rm -f conftest.err conftest.$ac_objext \
25024       conftest$ac_exeext conftest.$ac_ext
25025 LIBS=$ac_check_lib_save_LIBS
25026 fi
25027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25028 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25029 if test $ac_cv_lib_m_log10f = yes; then
25030
25031 cat >>confdefs.h <<\_ACEOF
25032 #define HAVE_LOG10F 1
25033 _ACEOF
25034
25035 fi
25036
25037 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25038 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25039 if test "${ac_cv_lib_m_log10+set}" = set; then
25040   echo $ECHO_N "(cached) $ECHO_C" >&6
25041 else
25042   ac_check_lib_save_LIBS=$LIBS
25043 LIBS="-lm  $LIBS"
25044 if test x$gcc_no_link = xyes; then
25045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25047    { (exit 1); exit 1; }; }
25048 fi
25049 cat >conftest.$ac_ext <<_ACEOF
25050 /* confdefs.h.  */
25051 _ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h.  */
25055
25056 /* Override any gcc2 internal prototype to avoid an error.  */
25057 #ifdef __cplusplus
25058 extern "C"
25059 #endif
25060 /* We use char because int might match the return type of a gcc2
25061    builtin and then its argument prototype would still apply.  */
25062 char log10 ();
25063 int
25064 main ()
25065 {
25066 log10 ();
25067   ;
25068   return 0;
25069 }
25070 _ACEOF
25071 rm -f conftest.$ac_objext conftest$ac_exeext
25072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25073   (eval $ac_link) 2>conftest.er1
25074   ac_status=$?
25075   grep -v '^ *+' conftest.er1 >conftest.err
25076   rm -f conftest.er1
25077   cat conftest.err >&5
25078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079   (exit $ac_status); } &&
25080          { ac_try='test -z "$ac_c_werror_flag"
25081                          || test ! -s conftest.err'
25082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25083   (eval $ac_try) 2>&5
25084   ac_status=$?
25085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086   (exit $ac_status); }; } &&
25087          { ac_try='test -s conftest$ac_exeext'
25088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25089   (eval $ac_try) 2>&5
25090   ac_status=$?
25091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092   (exit $ac_status); }; }; then
25093   ac_cv_lib_m_log10=yes
25094 else
25095   echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25097
25098 ac_cv_lib_m_log10=no
25099 fi
25100 rm -f conftest.err conftest.$ac_objext \
25101       conftest$ac_exeext conftest.$ac_ext
25102 LIBS=$ac_check_lib_save_LIBS
25103 fi
25104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25105 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25106 if test $ac_cv_lib_m_log10 = yes; then
25107
25108 cat >>confdefs.h <<\_ACEOF
25109 #define HAVE_LOG10 1
25110 _ACEOF
25111
25112 fi
25113
25114 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25115 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25116 if test "${ac_cv_lib_m_log10l+set}" = set; then
25117   echo $ECHO_N "(cached) $ECHO_C" >&6
25118 else
25119   ac_check_lib_save_LIBS=$LIBS
25120 LIBS="-lm  $LIBS"
25121 if test x$gcc_no_link = xyes; then
25122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25124    { (exit 1); exit 1; }; }
25125 fi
25126 cat >conftest.$ac_ext <<_ACEOF
25127 /* confdefs.h.  */
25128 _ACEOF
25129 cat confdefs.h >>conftest.$ac_ext
25130 cat >>conftest.$ac_ext <<_ACEOF
25131 /* end confdefs.h.  */
25132
25133 /* Override any gcc2 internal prototype to avoid an error.  */
25134 #ifdef __cplusplus
25135 extern "C"
25136 #endif
25137 /* We use char because int might match the return type of a gcc2
25138    builtin and then its argument prototype would still apply.  */
25139 char log10l ();
25140 int
25141 main ()
25142 {
25143 log10l ();
25144   ;
25145   return 0;
25146 }
25147 _ACEOF
25148 rm -f conftest.$ac_objext conftest$ac_exeext
25149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25150   (eval $ac_link) 2>conftest.er1
25151   ac_status=$?
25152   grep -v '^ *+' conftest.er1 >conftest.err
25153   rm -f conftest.er1
25154   cat conftest.err >&5
25155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156   (exit $ac_status); } &&
25157          { ac_try='test -z "$ac_c_werror_flag"
25158                          || test ! -s conftest.err'
25159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160   (eval $ac_try) 2>&5
25161   ac_status=$?
25162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163   (exit $ac_status); }; } &&
25164          { ac_try='test -s conftest$ac_exeext'
25165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25166   (eval $ac_try) 2>&5
25167   ac_status=$?
25168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169   (exit $ac_status); }; }; then
25170   ac_cv_lib_m_log10l=yes
25171 else
25172   echo "$as_me: failed program was:" >&5
25173 sed 's/^/| /' conftest.$ac_ext >&5
25174
25175 ac_cv_lib_m_log10l=no
25176 fi
25177 rm -f conftest.err conftest.$ac_objext \
25178       conftest$ac_exeext conftest.$ac_ext
25179 LIBS=$ac_check_lib_save_LIBS
25180 fi
25181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25182 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25183 if test $ac_cv_lib_m_log10l = yes; then
25184
25185 cat >>confdefs.h <<\_ACEOF
25186 #define HAVE_LOG10L 1
25187 _ACEOF
25188
25189 fi
25190
25191 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25192 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25193 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25194   echo $ECHO_N "(cached) $ECHO_C" >&6
25195 else
25196   ac_check_lib_save_LIBS=$LIBS
25197 LIBS="-lm  $LIBS"
25198 if test x$gcc_no_link = xyes; then
25199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25201    { (exit 1); exit 1; }; }
25202 fi
25203 cat >conftest.$ac_ext <<_ACEOF
25204 /* confdefs.h.  */
25205 _ACEOF
25206 cat confdefs.h >>conftest.$ac_ext
25207 cat >>conftest.$ac_ext <<_ACEOF
25208 /* end confdefs.h.  */
25209
25210 /* Override any gcc2 internal prototype to avoid an error.  */
25211 #ifdef __cplusplus
25212 extern "C"
25213 #endif
25214 /* We use char because int might match the return type of a gcc2
25215    builtin and then its argument prototype would still apply.  */
25216 char clog10f ();
25217 int
25218 main ()
25219 {
25220 clog10f ();
25221   ;
25222   return 0;
25223 }
25224 _ACEOF
25225 rm -f conftest.$ac_objext conftest$ac_exeext
25226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25227   (eval $ac_link) 2>conftest.er1
25228   ac_status=$?
25229   grep -v '^ *+' conftest.er1 >conftest.err
25230   rm -f conftest.er1
25231   cat conftest.err >&5
25232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233   (exit $ac_status); } &&
25234          { ac_try='test -z "$ac_c_werror_flag"
25235                          || test ! -s conftest.err'
25236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237   (eval $ac_try) 2>&5
25238   ac_status=$?
25239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240   (exit $ac_status); }; } &&
25241          { ac_try='test -s conftest$ac_exeext'
25242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25243   (eval $ac_try) 2>&5
25244   ac_status=$?
25245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246   (exit $ac_status); }; }; then
25247   ac_cv_lib_m_clog10f=yes
25248 else
25249   echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25251
25252 ac_cv_lib_m_clog10f=no
25253 fi
25254 rm -f conftest.err conftest.$ac_objext \
25255       conftest$ac_exeext conftest.$ac_ext
25256 LIBS=$ac_check_lib_save_LIBS
25257 fi
25258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25259 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25260 if test $ac_cv_lib_m_clog10f = yes; then
25261
25262 cat >>confdefs.h <<\_ACEOF
25263 #define HAVE_CLOG10F 1
25264 _ACEOF
25265
25266 fi
25267
25268 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25269 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25270 if test "${ac_cv_lib_m_clog10+set}" = set; then
25271   echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273   ac_check_lib_save_LIBS=$LIBS
25274 LIBS="-lm  $LIBS"
25275 if test x$gcc_no_link = xyes; then
25276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25278    { (exit 1); exit 1; }; }
25279 fi
25280 cat >conftest.$ac_ext <<_ACEOF
25281 /* confdefs.h.  */
25282 _ACEOF
25283 cat confdefs.h >>conftest.$ac_ext
25284 cat >>conftest.$ac_ext <<_ACEOF
25285 /* end confdefs.h.  */
25286
25287 /* Override any gcc2 internal prototype to avoid an error.  */
25288 #ifdef __cplusplus
25289 extern "C"
25290 #endif
25291 /* We use char because int might match the return type of a gcc2
25292    builtin and then its argument prototype would still apply.  */
25293 char clog10 ();
25294 int
25295 main ()
25296 {
25297 clog10 ();
25298   ;
25299   return 0;
25300 }
25301 _ACEOF
25302 rm -f conftest.$ac_objext conftest$ac_exeext
25303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304   (eval $ac_link) 2>conftest.er1
25305   ac_status=$?
25306   grep -v '^ *+' conftest.er1 >conftest.err
25307   rm -f conftest.er1
25308   cat conftest.err >&5
25309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310   (exit $ac_status); } &&
25311          { ac_try='test -z "$ac_c_werror_flag"
25312                          || test ! -s conftest.err'
25313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25314   (eval $ac_try) 2>&5
25315   ac_status=$?
25316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317   (exit $ac_status); }; } &&
25318          { ac_try='test -s conftest$ac_exeext'
25319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25320   (eval $ac_try) 2>&5
25321   ac_status=$?
25322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323   (exit $ac_status); }; }; then
25324   ac_cv_lib_m_clog10=yes
25325 else
25326   echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.$ac_ext >&5
25328
25329 ac_cv_lib_m_clog10=no
25330 fi
25331 rm -f conftest.err conftest.$ac_objext \
25332       conftest$ac_exeext conftest.$ac_ext
25333 LIBS=$ac_check_lib_save_LIBS
25334 fi
25335 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25336 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25337 if test $ac_cv_lib_m_clog10 = yes; then
25338
25339 cat >>confdefs.h <<\_ACEOF
25340 #define HAVE_CLOG10 1
25341 _ACEOF
25342
25343 fi
25344
25345 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25346 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25347 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25348   echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350   ac_check_lib_save_LIBS=$LIBS
25351 LIBS="-lm  $LIBS"
25352 if test x$gcc_no_link = xyes; then
25353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25355    { (exit 1); exit 1; }; }
25356 fi
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h.  */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h.  */
25363
25364 /* Override any gcc2 internal prototype to avoid an error.  */
25365 #ifdef __cplusplus
25366 extern "C"
25367 #endif
25368 /* We use char because int might match the return type of a gcc2
25369    builtin and then its argument prototype would still apply.  */
25370 char clog10l ();
25371 int
25372 main ()
25373 {
25374 clog10l ();
25375   ;
25376   return 0;
25377 }
25378 _ACEOF
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25381   (eval $ac_link) 2>conftest.er1
25382   ac_status=$?
25383   grep -v '^ *+' conftest.er1 >conftest.err
25384   rm -f conftest.er1
25385   cat conftest.err >&5
25386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387   (exit $ac_status); } &&
25388          { ac_try='test -z "$ac_c_werror_flag"
25389                          || test ! -s conftest.err'
25390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391   (eval $ac_try) 2>&5
25392   ac_status=$?
25393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394   (exit $ac_status); }; } &&
25395          { ac_try='test -s conftest$ac_exeext'
25396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397   (eval $ac_try) 2>&5
25398   ac_status=$?
25399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400   (exit $ac_status); }; }; then
25401   ac_cv_lib_m_clog10l=yes
25402 else
25403   echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25405
25406 ac_cv_lib_m_clog10l=no
25407 fi
25408 rm -f conftest.err conftest.$ac_objext \
25409       conftest$ac_exeext conftest.$ac_ext
25410 LIBS=$ac_check_lib_save_LIBS
25411 fi
25412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25413 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25414 if test $ac_cv_lib_m_clog10l = yes; then
25415
25416 cat >>confdefs.h <<\_ACEOF
25417 #define HAVE_CLOG10L 1
25418 _ACEOF
25419
25420 fi
25421
25422 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25423 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25424 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25425   echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427   ac_check_lib_save_LIBS=$LIBS
25428 LIBS="-lm  $LIBS"
25429 if test x$gcc_no_link = xyes; then
25430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25432    { (exit 1); exit 1; }; }
25433 fi
25434 cat >conftest.$ac_ext <<_ACEOF
25435 /* confdefs.h.  */
25436 _ACEOF
25437 cat confdefs.h >>conftest.$ac_ext
25438 cat >>conftest.$ac_ext <<_ACEOF
25439 /* end confdefs.h.  */
25440
25441 /* Override any gcc2 internal prototype to avoid an error.  */
25442 #ifdef __cplusplus
25443 extern "C"
25444 #endif
25445 /* We use char because int might match the return type of a gcc2
25446    builtin and then its argument prototype would still apply.  */
25447 char nextafterf ();
25448 int
25449 main ()
25450 {
25451 nextafterf ();
25452   ;
25453   return 0;
25454 }
25455 _ACEOF
25456 rm -f conftest.$ac_objext conftest$ac_exeext
25457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25458   (eval $ac_link) 2>conftest.er1
25459   ac_status=$?
25460   grep -v '^ *+' conftest.er1 >conftest.err
25461   rm -f conftest.er1
25462   cat conftest.err >&5
25463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464   (exit $ac_status); } &&
25465          { ac_try='test -z "$ac_c_werror_flag"
25466                          || test ! -s conftest.err'
25467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468   (eval $ac_try) 2>&5
25469   ac_status=$?
25470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471   (exit $ac_status); }; } &&
25472          { ac_try='test -s conftest$ac_exeext'
25473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474   (eval $ac_try) 2>&5
25475   ac_status=$?
25476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477   (exit $ac_status); }; }; then
25478   ac_cv_lib_m_nextafterf=yes
25479 else
25480   echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25482
25483 ac_cv_lib_m_nextafterf=no
25484 fi
25485 rm -f conftest.err conftest.$ac_objext \
25486       conftest$ac_exeext conftest.$ac_ext
25487 LIBS=$ac_check_lib_save_LIBS
25488 fi
25489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25490 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25491 if test $ac_cv_lib_m_nextafterf = yes; then
25492
25493 cat >>confdefs.h <<\_ACEOF
25494 #define HAVE_NEXTAFTERF 1
25495 _ACEOF
25496
25497 fi
25498
25499 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25500 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25501 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25502   echo $ECHO_N "(cached) $ECHO_C" >&6
25503 else
25504   ac_check_lib_save_LIBS=$LIBS
25505 LIBS="-lm  $LIBS"
25506 if test x$gcc_no_link = xyes; then
25507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25509    { (exit 1); exit 1; }; }
25510 fi
25511 cat >conftest.$ac_ext <<_ACEOF
25512 /* confdefs.h.  */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h.  */
25517
25518 /* Override any gcc2 internal prototype to avoid an error.  */
25519 #ifdef __cplusplus
25520 extern "C"
25521 #endif
25522 /* We use char because int might match the return type of a gcc2
25523    builtin and then its argument prototype would still apply.  */
25524 char nextafter ();
25525 int
25526 main ()
25527 {
25528 nextafter ();
25529   ;
25530   return 0;
25531 }
25532 _ACEOF
25533 rm -f conftest.$ac_objext conftest$ac_exeext
25534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25535   (eval $ac_link) 2>conftest.er1
25536   ac_status=$?
25537   grep -v '^ *+' conftest.er1 >conftest.err
25538   rm -f conftest.er1
25539   cat conftest.err >&5
25540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541   (exit $ac_status); } &&
25542          { ac_try='test -z "$ac_c_werror_flag"
25543                          || test ! -s conftest.err'
25544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545   (eval $ac_try) 2>&5
25546   ac_status=$?
25547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548   (exit $ac_status); }; } &&
25549          { ac_try='test -s conftest$ac_exeext'
25550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551   (eval $ac_try) 2>&5
25552   ac_status=$?
25553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554   (exit $ac_status); }; }; then
25555   ac_cv_lib_m_nextafter=yes
25556 else
25557   echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25559
25560 ac_cv_lib_m_nextafter=no
25561 fi
25562 rm -f conftest.err conftest.$ac_objext \
25563       conftest$ac_exeext conftest.$ac_ext
25564 LIBS=$ac_check_lib_save_LIBS
25565 fi
25566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25567 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25568 if test $ac_cv_lib_m_nextafter = yes; then
25569
25570 cat >>confdefs.h <<\_ACEOF
25571 #define HAVE_NEXTAFTER 1
25572 _ACEOF
25573
25574 fi
25575
25576 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25577 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25578 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25579   echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581   ac_check_lib_save_LIBS=$LIBS
25582 LIBS="-lm  $LIBS"
25583 if test x$gcc_no_link = xyes; then
25584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25586    { (exit 1); exit 1; }; }
25587 fi
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h.  */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h.  */
25594
25595 /* Override any gcc2 internal prototype to avoid an error.  */
25596 #ifdef __cplusplus
25597 extern "C"
25598 #endif
25599 /* We use char because int might match the return type of a gcc2
25600    builtin and then its argument prototype would still apply.  */
25601 char nextafterl ();
25602 int
25603 main ()
25604 {
25605 nextafterl ();
25606   ;
25607   return 0;
25608 }
25609 _ACEOF
25610 rm -f conftest.$ac_objext conftest$ac_exeext
25611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25612   (eval $ac_link) 2>conftest.er1
25613   ac_status=$?
25614   grep -v '^ *+' conftest.er1 >conftest.err
25615   rm -f conftest.er1
25616   cat conftest.err >&5
25617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618   (exit $ac_status); } &&
25619          { ac_try='test -z "$ac_c_werror_flag"
25620                          || test ! -s conftest.err'
25621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622   (eval $ac_try) 2>&5
25623   ac_status=$?
25624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625   (exit $ac_status); }; } &&
25626          { ac_try='test -s conftest$ac_exeext'
25627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628   (eval $ac_try) 2>&5
25629   ac_status=$?
25630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631   (exit $ac_status); }; }; then
25632   ac_cv_lib_m_nextafterl=yes
25633 else
25634   echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 ac_cv_lib_m_nextafterl=no
25638 fi
25639 rm -f conftest.err conftest.$ac_objext \
25640       conftest$ac_exeext conftest.$ac_ext
25641 LIBS=$ac_check_lib_save_LIBS
25642 fi
25643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25644 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25645 if test $ac_cv_lib_m_nextafterl = yes; then
25646
25647 cat >>confdefs.h <<\_ACEOF
25648 #define HAVE_NEXTAFTERL 1
25649 _ACEOF
25650
25651 fi
25652
25653 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25654 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25655 if test "${ac_cv_lib_m_powf+set}" = set; then
25656   echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658   ac_check_lib_save_LIBS=$LIBS
25659 LIBS="-lm  $LIBS"
25660 if test x$gcc_no_link = xyes; then
25661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25663    { (exit 1); exit 1; }; }
25664 fi
25665 cat >conftest.$ac_ext <<_ACEOF
25666 /* confdefs.h.  */
25667 _ACEOF
25668 cat confdefs.h >>conftest.$ac_ext
25669 cat >>conftest.$ac_ext <<_ACEOF
25670 /* end confdefs.h.  */
25671
25672 /* Override any gcc2 internal prototype to avoid an error.  */
25673 #ifdef __cplusplus
25674 extern "C"
25675 #endif
25676 /* We use char because int might match the return type of a gcc2
25677    builtin and then its argument prototype would still apply.  */
25678 char powf ();
25679 int
25680 main ()
25681 {
25682 powf ();
25683   ;
25684   return 0;
25685 }
25686 _ACEOF
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689   (eval $ac_link) 2>conftest.er1
25690   ac_status=$?
25691   grep -v '^ *+' conftest.er1 >conftest.err
25692   rm -f conftest.er1
25693   cat conftest.err >&5
25694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695   (exit $ac_status); } &&
25696          { ac_try='test -z "$ac_c_werror_flag"
25697                          || test ! -s conftest.err'
25698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699   (eval $ac_try) 2>&5
25700   ac_status=$?
25701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702   (exit $ac_status); }; } &&
25703          { ac_try='test -s conftest$ac_exeext'
25704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705   (eval $ac_try) 2>&5
25706   ac_status=$?
25707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708   (exit $ac_status); }; }; then
25709   ac_cv_lib_m_powf=yes
25710 else
25711   echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25713
25714 ac_cv_lib_m_powf=no
25715 fi
25716 rm -f conftest.err conftest.$ac_objext \
25717       conftest$ac_exeext conftest.$ac_ext
25718 LIBS=$ac_check_lib_save_LIBS
25719 fi
25720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25721 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25722 if test $ac_cv_lib_m_powf = yes; then
25723
25724 cat >>confdefs.h <<\_ACEOF
25725 #define HAVE_POWF 1
25726 _ACEOF
25727
25728 fi
25729
25730 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25731 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25732 if test "${ac_cv_lib_m_pow+set}" = set; then
25733   echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735   ac_check_lib_save_LIBS=$LIBS
25736 LIBS="-lm  $LIBS"
25737 if test x$gcc_no_link = xyes; then
25738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25740    { (exit 1); exit 1; }; }
25741 fi
25742 cat >conftest.$ac_ext <<_ACEOF
25743 /* confdefs.h.  */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h.  */
25748
25749 /* Override any gcc2 internal prototype to avoid an error.  */
25750 #ifdef __cplusplus
25751 extern "C"
25752 #endif
25753 /* We use char because int might match the return type of a gcc2
25754    builtin and then its argument prototype would still apply.  */
25755 char pow ();
25756 int
25757 main ()
25758 {
25759 pow ();
25760   ;
25761   return 0;
25762 }
25763 _ACEOF
25764 rm -f conftest.$ac_objext conftest$ac_exeext
25765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25766   (eval $ac_link) 2>conftest.er1
25767   ac_status=$?
25768   grep -v '^ *+' conftest.er1 >conftest.err
25769   rm -f conftest.er1
25770   cat conftest.err >&5
25771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772   (exit $ac_status); } &&
25773          { ac_try='test -z "$ac_c_werror_flag"
25774                          || test ! -s conftest.err'
25775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776   (eval $ac_try) 2>&5
25777   ac_status=$?
25778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779   (exit $ac_status); }; } &&
25780          { ac_try='test -s conftest$ac_exeext'
25781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782   (eval $ac_try) 2>&5
25783   ac_status=$?
25784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785   (exit $ac_status); }; }; then
25786   ac_cv_lib_m_pow=yes
25787 else
25788   echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.$ac_ext >&5
25790
25791 ac_cv_lib_m_pow=no
25792 fi
25793 rm -f conftest.err conftest.$ac_objext \
25794       conftest$ac_exeext conftest.$ac_ext
25795 LIBS=$ac_check_lib_save_LIBS
25796 fi
25797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25798 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25799 if test $ac_cv_lib_m_pow = yes; then
25800
25801 cat >>confdefs.h <<\_ACEOF
25802 #define HAVE_POW 1
25803 _ACEOF
25804
25805 fi
25806
25807 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25808 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25809 if test "${ac_cv_lib_m_powl+set}" = set; then
25810   echo $ECHO_N "(cached) $ECHO_C" >&6
25811 else
25812   ac_check_lib_save_LIBS=$LIBS
25813 LIBS="-lm  $LIBS"
25814 if test x$gcc_no_link = xyes; then
25815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25817    { (exit 1); exit 1; }; }
25818 fi
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h.  */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h.  */
25825
25826 /* Override any gcc2 internal prototype to avoid an error.  */
25827 #ifdef __cplusplus
25828 extern "C"
25829 #endif
25830 /* We use char because int might match the return type of a gcc2
25831    builtin and then its argument prototype would still apply.  */
25832 char powl ();
25833 int
25834 main ()
25835 {
25836 powl ();
25837   ;
25838   return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25843   (eval $ac_link) 2>conftest.er1
25844   ac_status=$?
25845   grep -v '^ *+' conftest.er1 >conftest.err
25846   rm -f conftest.er1
25847   cat conftest.err >&5
25848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849   (exit $ac_status); } &&
25850          { ac_try='test -z "$ac_c_werror_flag"
25851                          || test ! -s conftest.err'
25852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853   (eval $ac_try) 2>&5
25854   ac_status=$?
25855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856   (exit $ac_status); }; } &&
25857          { ac_try='test -s conftest$ac_exeext'
25858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859   (eval $ac_try) 2>&5
25860   ac_status=$?
25861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862   (exit $ac_status); }; }; then
25863   ac_cv_lib_m_powl=yes
25864 else
25865   echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 ac_cv_lib_m_powl=no
25869 fi
25870 rm -f conftest.err conftest.$ac_objext \
25871       conftest$ac_exeext conftest.$ac_ext
25872 LIBS=$ac_check_lib_save_LIBS
25873 fi
25874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25875 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25876 if test $ac_cv_lib_m_powl = yes; then
25877
25878 cat >>confdefs.h <<\_ACEOF
25879 #define HAVE_POWL 1
25880 _ACEOF
25881
25882 fi
25883
25884 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25885 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25886 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25887   echo $ECHO_N "(cached) $ECHO_C" >&6
25888 else
25889   ac_check_lib_save_LIBS=$LIBS
25890 LIBS="-lm  $LIBS"
25891 if test x$gcc_no_link = xyes; then
25892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25894    { (exit 1); exit 1; }; }
25895 fi
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h.  */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h.  */
25902
25903 /* Override any gcc2 internal prototype to avoid an error.  */
25904 #ifdef __cplusplus
25905 extern "C"
25906 #endif
25907 /* We use char because int might match the return type of a gcc2
25908    builtin and then its argument prototype would still apply.  */
25909 char cpowf ();
25910 int
25911 main ()
25912 {
25913 cpowf ();
25914   ;
25915   return 0;
25916 }
25917 _ACEOF
25918 rm -f conftest.$ac_objext conftest$ac_exeext
25919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25920   (eval $ac_link) 2>conftest.er1
25921   ac_status=$?
25922   grep -v '^ *+' conftest.er1 >conftest.err
25923   rm -f conftest.er1
25924   cat conftest.err >&5
25925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926   (exit $ac_status); } &&
25927          { ac_try='test -z "$ac_c_werror_flag"
25928                          || test ! -s conftest.err'
25929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25930   (eval $ac_try) 2>&5
25931   ac_status=$?
25932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933   (exit $ac_status); }; } &&
25934          { ac_try='test -s conftest$ac_exeext'
25935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936   (eval $ac_try) 2>&5
25937   ac_status=$?
25938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939   (exit $ac_status); }; }; then
25940   ac_cv_lib_m_cpowf=yes
25941 else
25942   echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25944
25945 ac_cv_lib_m_cpowf=no
25946 fi
25947 rm -f conftest.err conftest.$ac_objext \
25948       conftest$ac_exeext conftest.$ac_ext
25949 LIBS=$ac_check_lib_save_LIBS
25950 fi
25951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25952 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25953 if test $ac_cv_lib_m_cpowf = yes; then
25954
25955 cat >>confdefs.h <<\_ACEOF
25956 #define HAVE_CPOWF 1
25957 _ACEOF
25958
25959 fi
25960
25961 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25962 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25963 if test "${ac_cv_lib_m_cpow+set}" = set; then
25964   echo $ECHO_N "(cached) $ECHO_C" >&6
25965 else
25966   ac_check_lib_save_LIBS=$LIBS
25967 LIBS="-lm  $LIBS"
25968 if test x$gcc_no_link = xyes; then
25969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25971    { (exit 1); exit 1; }; }
25972 fi
25973 cat >conftest.$ac_ext <<_ACEOF
25974 /* confdefs.h.  */
25975 _ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h.  */
25979
25980 /* Override any gcc2 internal prototype to avoid an error.  */
25981 #ifdef __cplusplus
25982 extern "C"
25983 #endif
25984 /* We use char because int might match the return type of a gcc2
25985    builtin and then its argument prototype would still apply.  */
25986 char cpow ();
25987 int
25988 main ()
25989 {
25990 cpow ();
25991   ;
25992   return 0;
25993 }
25994 _ACEOF
25995 rm -f conftest.$ac_objext conftest$ac_exeext
25996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25997   (eval $ac_link) 2>conftest.er1
25998   ac_status=$?
25999   grep -v '^ *+' conftest.er1 >conftest.err
26000   rm -f conftest.er1
26001   cat conftest.err >&5
26002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003   (exit $ac_status); } &&
26004          { ac_try='test -z "$ac_c_werror_flag"
26005                          || test ! -s conftest.err'
26006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007   (eval $ac_try) 2>&5
26008   ac_status=$?
26009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010   (exit $ac_status); }; } &&
26011          { ac_try='test -s conftest$ac_exeext'
26012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013   (eval $ac_try) 2>&5
26014   ac_status=$?
26015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016   (exit $ac_status); }; }; then
26017   ac_cv_lib_m_cpow=yes
26018 else
26019   echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26021
26022 ac_cv_lib_m_cpow=no
26023 fi
26024 rm -f conftest.err conftest.$ac_objext \
26025       conftest$ac_exeext conftest.$ac_ext
26026 LIBS=$ac_check_lib_save_LIBS
26027 fi
26028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26029 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26030 if test $ac_cv_lib_m_cpow = yes; then
26031
26032 cat >>confdefs.h <<\_ACEOF
26033 #define HAVE_CPOW 1
26034 _ACEOF
26035
26036 fi
26037
26038 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26039 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26040 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26041   echo $ECHO_N "(cached) $ECHO_C" >&6
26042 else
26043   ac_check_lib_save_LIBS=$LIBS
26044 LIBS="-lm  $LIBS"
26045 if test x$gcc_no_link = xyes; then
26046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26048    { (exit 1); exit 1; }; }
26049 fi
26050 cat >conftest.$ac_ext <<_ACEOF
26051 /* confdefs.h.  */
26052 _ACEOF
26053 cat confdefs.h >>conftest.$ac_ext
26054 cat >>conftest.$ac_ext <<_ACEOF
26055 /* end confdefs.h.  */
26056
26057 /* Override any gcc2 internal prototype to avoid an error.  */
26058 #ifdef __cplusplus
26059 extern "C"
26060 #endif
26061 /* We use char because int might match the return type of a gcc2
26062    builtin and then its argument prototype would still apply.  */
26063 char cpowl ();
26064 int
26065 main ()
26066 {
26067 cpowl ();
26068   ;
26069   return 0;
26070 }
26071 _ACEOF
26072 rm -f conftest.$ac_objext conftest$ac_exeext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074   (eval $ac_link) 2>conftest.er1
26075   ac_status=$?
26076   grep -v '^ *+' conftest.er1 >conftest.err
26077   rm -f conftest.er1
26078   cat conftest.err >&5
26079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080   (exit $ac_status); } &&
26081          { ac_try='test -z "$ac_c_werror_flag"
26082                          || test ! -s conftest.err'
26083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084   (eval $ac_try) 2>&5
26085   ac_status=$?
26086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087   (exit $ac_status); }; } &&
26088          { ac_try='test -s conftest$ac_exeext'
26089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090   (eval $ac_try) 2>&5
26091   ac_status=$?
26092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093   (exit $ac_status); }; }; then
26094   ac_cv_lib_m_cpowl=yes
26095 else
26096   echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 ac_cv_lib_m_cpowl=no
26100 fi
26101 rm -f conftest.err conftest.$ac_objext \
26102       conftest$ac_exeext conftest.$ac_ext
26103 LIBS=$ac_check_lib_save_LIBS
26104 fi
26105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26106 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26107 if test $ac_cv_lib_m_cpowl = yes; then
26108
26109 cat >>confdefs.h <<\_ACEOF
26110 #define HAVE_CPOWL 1
26111 _ACEOF
26112
26113 fi
26114
26115 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26116 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26117 if test "${ac_cv_lib_m_roundf+set}" = set; then
26118   echo $ECHO_N "(cached) $ECHO_C" >&6
26119 else
26120   ac_check_lib_save_LIBS=$LIBS
26121 LIBS="-lm  $LIBS"
26122 if test x$gcc_no_link = xyes; then
26123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125    { (exit 1); exit 1; }; }
26126 fi
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h.  */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h.  */
26133
26134 /* Override any gcc2 internal prototype to avoid an error.  */
26135 #ifdef __cplusplus
26136 extern "C"
26137 #endif
26138 /* We use char because int might match the return type of a gcc2
26139    builtin and then its argument prototype would still apply.  */
26140 char roundf ();
26141 int
26142 main ()
26143 {
26144 roundf ();
26145   ;
26146   return 0;
26147 }
26148 _ACEOF
26149 rm -f conftest.$ac_objext conftest$ac_exeext
26150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26151   (eval $ac_link) 2>conftest.er1
26152   ac_status=$?
26153   grep -v '^ *+' conftest.er1 >conftest.err
26154   rm -f conftest.er1
26155   cat conftest.err >&5
26156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157   (exit $ac_status); } &&
26158          { ac_try='test -z "$ac_c_werror_flag"
26159                          || test ! -s conftest.err'
26160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161   (eval $ac_try) 2>&5
26162   ac_status=$?
26163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164   (exit $ac_status); }; } &&
26165          { ac_try='test -s conftest$ac_exeext'
26166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26167   (eval $ac_try) 2>&5
26168   ac_status=$?
26169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170   (exit $ac_status); }; }; then
26171   ac_cv_lib_m_roundf=yes
26172 else
26173   echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26175
26176 ac_cv_lib_m_roundf=no
26177 fi
26178 rm -f conftest.err conftest.$ac_objext \
26179       conftest$ac_exeext conftest.$ac_ext
26180 LIBS=$ac_check_lib_save_LIBS
26181 fi
26182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26183 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26184 if test $ac_cv_lib_m_roundf = yes; then
26185
26186 cat >>confdefs.h <<\_ACEOF
26187 #define HAVE_ROUNDF 1
26188 _ACEOF
26189
26190 fi
26191
26192 echo "$as_me:$LINENO: checking for round in -lm" >&5
26193 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26194 if test "${ac_cv_lib_m_round+set}" = set; then
26195   echo $ECHO_N "(cached) $ECHO_C" >&6
26196 else
26197   ac_check_lib_save_LIBS=$LIBS
26198 LIBS="-lm  $LIBS"
26199 if test x$gcc_no_link = xyes; then
26200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26202    { (exit 1); exit 1; }; }
26203 fi
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h.  */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h.  */
26210
26211 /* Override any gcc2 internal prototype to avoid an error.  */
26212 #ifdef __cplusplus
26213 extern "C"
26214 #endif
26215 /* We use char because int might match the return type of a gcc2
26216    builtin and then its argument prototype would still apply.  */
26217 char round ();
26218 int
26219 main ()
26220 {
26221 round ();
26222   ;
26223   return 0;
26224 }
26225 _ACEOF
26226 rm -f conftest.$ac_objext conftest$ac_exeext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26228   (eval $ac_link) 2>conftest.er1
26229   ac_status=$?
26230   grep -v '^ *+' conftest.er1 >conftest.err
26231   rm -f conftest.er1
26232   cat conftest.err >&5
26233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234   (exit $ac_status); } &&
26235          { ac_try='test -z "$ac_c_werror_flag"
26236                          || test ! -s conftest.err'
26237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238   (eval $ac_try) 2>&5
26239   ac_status=$?
26240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241   (exit $ac_status); }; } &&
26242          { ac_try='test -s conftest$ac_exeext'
26243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244   (eval $ac_try) 2>&5
26245   ac_status=$?
26246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247   (exit $ac_status); }; }; then
26248   ac_cv_lib_m_round=yes
26249 else
26250   echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26252
26253 ac_cv_lib_m_round=no
26254 fi
26255 rm -f conftest.err conftest.$ac_objext \
26256       conftest$ac_exeext conftest.$ac_ext
26257 LIBS=$ac_check_lib_save_LIBS
26258 fi
26259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26260 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26261 if test $ac_cv_lib_m_round = yes; then
26262
26263 cat >>confdefs.h <<\_ACEOF
26264 #define HAVE_ROUND 1
26265 _ACEOF
26266
26267 fi
26268
26269 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26270 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26271 if test "${ac_cv_lib_m_roundl+set}" = set; then
26272   echo $ECHO_N "(cached) $ECHO_C" >&6
26273 else
26274   ac_check_lib_save_LIBS=$LIBS
26275 LIBS="-lm  $LIBS"
26276 if test x$gcc_no_link = xyes; then
26277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26279    { (exit 1); exit 1; }; }
26280 fi
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h.  */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h.  */
26287
26288 /* Override any gcc2 internal prototype to avoid an error.  */
26289 #ifdef __cplusplus
26290 extern "C"
26291 #endif
26292 /* We use char because int might match the return type of a gcc2
26293    builtin and then its argument prototype would still apply.  */
26294 char roundl ();
26295 int
26296 main ()
26297 {
26298 roundl ();
26299   ;
26300   return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext conftest$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305   (eval $ac_link) 2>conftest.er1
26306   ac_status=$?
26307   grep -v '^ *+' conftest.er1 >conftest.err
26308   rm -f conftest.er1
26309   cat conftest.err >&5
26310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311   (exit $ac_status); } &&
26312          { ac_try='test -z "$ac_c_werror_flag"
26313                          || test ! -s conftest.err'
26314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315   (eval $ac_try) 2>&5
26316   ac_status=$?
26317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318   (exit $ac_status); }; } &&
26319          { ac_try='test -s conftest$ac_exeext'
26320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321   (eval $ac_try) 2>&5
26322   ac_status=$?
26323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324   (exit $ac_status); }; }; then
26325   ac_cv_lib_m_roundl=yes
26326 else
26327   echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 ac_cv_lib_m_roundl=no
26331 fi
26332 rm -f conftest.err conftest.$ac_objext \
26333       conftest$ac_exeext conftest.$ac_ext
26334 LIBS=$ac_check_lib_save_LIBS
26335 fi
26336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26337 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26338 if test $ac_cv_lib_m_roundl = yes; then
26339
26340 cat >>confdefs.h <<\_ACEOF
26341 #define HAVE_ROUNDL 1
26342 _ACEOF
26343
26344 fi
26345
26346 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26347 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26348 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26349   echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351   ac_check_lib_save_LIBS=$LIBS
26352 LIBS="-lm  $LIBS"
26353 if test x$gcc_no_link = xyes; then
26354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26356    { (exit 1); exit 1; }; }
26357 fi
26358 cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h.  */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h.  */
26364
26365 /* Override any gcc2 internal prototype to avoid an error.  */
26366 #ifdef __cplusplus
26367 extern "C"
26368 #endif
26369 /* We use char because int might match the return type of a gcc2
26370    builtin and then its argument prototype would still apply.  */
26371 char lroundf ();
26372 int
26373 main ()
26374 {
26375 lroundf ();
26376   ;
26377   return 0;
26378 }
26379 _ACEOF
26380 rm -f conftest.$ac_objext conftest$ac_exeext
26381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26382   (eval $ac_link) 2>conftest.er1
26383   ac_status=$?
26384   grep -v '^ *+' conftest.er1 >conftest.err
26385   rm -f conftest.er1
26386   cat conftest.err >&5
26387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388   (exit $ac_status); } &&
26389          { ac_try='test -z "$ac_c_werror_flag"
26390                          || test ! -s conftest.err'
26391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26392   (eval $ac_try) 2>&5
26393   ac_status=$?
26394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395   (exit $ac_status); }; } &&
26396          { ac_try='test -s conftest$ac_exeext'
26397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398   (eval $ac_try) 2>&5
26399   ac_status=$?
26400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401   (exit $ac_status); }; }; then
26402   ac_cv_lib_m_lroundf=yes
26403 else
26404   echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26406
26407 ac_cv_lib_m_lroundf=no
26408 fi
26409 rm -f conftest.err conftest.$ac_objext \
26410       conftest$ac_exeext conftest.$ac_ext
26411 LIBS=$ac_check_lib_save_LIBS
26412 fi
26413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26414 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26415 if test $ac_cv_lib_m_lroundf = yes; then
26416
26417 cat >>confdefs.h <<\_ACEOF
26418 #define HAVE_LROUNDF 1
26419 _ACEOF
26420
26421 fi
26422
26423 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26424 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26425 if test "${ac_cv_lib_m_lround+set}" = set; then
26426   echo $ECHO_N "(cached) $ECHO_C" >&6
26427 else
26428   ac_check_lib_save_LIBS=$LIBS
26429 LIBS="-lm  $LIBS"
26430 if test x$gcc_no_link = xyes; then
26431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26433    { (exit 1); exit 1; }; }
26434 fi
26435 cat >conftest.$ac_ext <<_ACEOF
26436 /* confdefs.h.  */
26437 _ACEOF
26438 cat confdefs.h >>conftest.$ac_ext
26439 cat >>conftest.$ac_ext <<_ACEOF
26440 /* end confdefs.h.  */
26441
26442 /* Override any gcc2 internal prototype to avoid an error.  */
26443 #ifdef __cplusplus
26444 extern "C"
26445 #endif
26446 /* We use char because int might match the return type of a gcc2
26447    builtin and then its argument prototype would still apply.  */
26448 char lround ();
26449 int
26450 main ()
26451 {
26452 lround ();
26453   ;
26454   return 0;
26455 }
26456 _ACEOF
26457 rm -f conftest.$ac_objext conftest$ac_exeext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26459   (eval $ac_link) 2>conftest.er1
26460   ac_status=$?
26461   grep -v '^ *+' conftest.er1 >conftest.err
26462   rm -f conftest.er1
26463   cat conftest.err >&5
26464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465   (exit $ac_status); } &&
26466          { ac_try='test -z "$ac_c_werror_flag"
26467                          || test ! -s conftest.err'
26468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469   (eval $ac_try) 2>&5
26470   ac_status=$?
26471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472   (exit $ac_status); }; } &&
26473          { ac_try='test -s conftest$ac_exeext'
26474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475   (eval $ac_try) 2>&5
26476   ac_status=$?
26477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478   (exit $ac_status); }; }; then
26479   ac_cv_lib_m_lround=yes
26480 else
26481   echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.$ac_ext >&5
26483
26484 ac_cv_lib_m_lround=no
26485 fi
26486 rm -f conftest.err conftest.$ac_objext \
26487       conftest$ac_exeext conftest.$ac_ext
26488 LIBS=$ac_check_lib_save_LIBS
26489 fi
26490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26491 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26492 if test $ac_cv_lib_m_lround = yes; then
26493
26494 cat >>confdefs.h <<\_ACEOF
26495 #define HAVE_LROUND 1
26496 _ACEOF
26497
26498 fi
26499
26500 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26501 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26502 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26503   echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505   ac_check_lib_save_LIBS=$LIBS
26506 LIBS="-lm  $LIBS"
26507 if test x$gcc_no_link = xyes; then
26508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26510    { (exit 1); exit 1; }; }
26511 fi
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h.  */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h.  */
26518
26519 /* Override any gcc2 internal prototype to avoid an error.  */
26520 #ifdef __cplusplus
26521 extern "C"
26522 #endif
26523 /* We use char because int might match the return type of a gcc2
26524    builtin and then its argument prototype would still apply.  */
26525 char lroundl ();
26526 int
26527 main ()
26528 {
26529 lroundl ();
26530   ;
26531   return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536   (eval $ac_link) 2>conftest.er1
26537   ac_status=$?
26538   grep -v '^ *+' conftest.er1 >conftest.err
26539   rm -f conftest.er1
26540   cat conftest.err >&5
26541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542   (exit $ac_status); } &&
26543          { ac_try='test -z "$ac_c_werror_flag"
26544                          || test ! -s conftest.err'
26545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546   (eval $ac_try) 2>&5
26547   ac_status=$?
26548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549   (exit $ac_status); }; } &&
26550          { ac_try='test -s conftest$ac_exeext'
26551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552   (eval $ac_try) 2>&5
26553   ac_status=$?
26554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555   (exit $ac_status); }; }; then
26556   ac_cv_lib_m_lroundl=yes
26557 else
26558   echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26560
26561 ac_cv_lib_m_lroundl=no
26562 fi
26563 rm -f conftest.err conftest.$ac_objext \
26564       conftest$ac_exeext conftest.$ac_ext
26565 LIBS=$ac_check_lib_save_LIBS
26566 fi
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26568 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26569 if test $ac_cv_lib_m_lroundl = yes; then
26570
26571 cat >>confdefs.h <<\_ACEOF
26572 #define HAVE_LROUNDL 1
26573 _ACEOF
26574
26575 fi
26576
26577 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26578 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26579 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26580   echo $ECHO_N "(cached) $ECHO_C" >&6
26581 else
26582   ac_check_lib_save_LIBS=$LIBS
26583 LIBS="-lm  $LIBS"
26584 if test x$gcc_no_link = xyes; then
26585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26587    { (exit 1); exit 1; }; }
26588 fi
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h.  */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h.  */
26595
26596 /* Override any gcc2 internal prototype to avoid an error.  */
26597 #ifdef __cplusplus
26598 extern "C"
26599 #endif
26600 /* We use char because int might match the return type of a gcc2
26601    builtin and then its argument prototype would still apply.  */
26602 char llroundf ();
26603 int
26604 main ()
26605 {
26606 llroundf ();
26607   ;
26608   return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26613   (eval $ac_link) 2>conftest.er1
26614   ac_status=$?
26615   grep -v '^ *+' conftest.er1 >conftest.err
26616   rm -f conftest.er1
26617   cat conftest.err >&5
26618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619   (exit $ac_status); } &&
26620          { ac_try='test -z "$ac_c_werror_flag"
26621                          || test ! -s conftest.err'
26622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623   (eval $ac_try) 2>&5
26624   ac_status=$?
26625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626   (exit $ac_status); }; } &&
26627          { ac_try='test -s conftest$ac_exeext'
26628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629   (eval $ac_try) 2>&5
26630   ac_status=$?
26631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632   (exit $ac_status); }; }; then
26633   ac_cv_lib_m_llroundf=yes
26634 else
26635   echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_cv_lib_m_llroundf=no
26639 fi
26640 rm -f conftest.err conftest.$ac_objext \
26641       conftest$ac_exeext conftest.$ac_ext
26642 LIBS=$ac_check_lib_save_LIBS
26643 fi
26644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26645 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26646 if test $ac_cv_lib_m_llroundf = yes; then
26647
26648 cat >>confdefs.h <<\_ACEOF
26649 #define HAVE_LLROUNDF 1
26650 _ACEOF
26651
26652 fi
26653
26654 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26655 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26656 if test "${ac_cv_lib_m_llround+set}" = set; then
26657   echo $ECHO_N "(cached) $ECHO_C" >&6
26658 else
26659   ac_check_lib_save_LIBS=$LIBS
26660 LIBS="-lm  $LIBS"
26661 if test x$gcc_no_link = xyes; then
26662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26664    { (exit 1); exit 1; }; }
26665 fi
26666 cat >conftest.$ac_ext <<_ACEOF
26667 /* confdefs.h.  */
26668 _ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h.  */
26672
26673 /* Override any gcc2 internal prototype to avoid an error.  */
26674 #ifdef __cplusplus
26675 extern "C"
26676 #endif
26677 /* We use char because int might match the return type of a gcc2
26678    builtin and then its argument prototype would still apply.  */
26679 char llround ();
26680 int
26681 main ()
26682 {
26683 llround ();
26684   ;
26685   return 0;
26686 }
26687 _ACEOF
26688 rm -f conftest.$ac_objext conftest$ac_exeext
26689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26690   (eval $ac_link) 2>conftest.er1
26691   ac_status=$?
26692   grep -v '^ *+' conftest.er1 >conftest.err
26693   rm -f conftest.er1
26694   cat conftest.err >&5
26695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696   (exit $ac_status); } &&
26697          { ac_try='test -z "$ac_c_werror_flag"
26698                          || test ! -s conftest.err'
26699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700   (eval $ac_try) 2>&5
26701   ac_status=$?
26702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703   (exit $ac_status); }; } &&
26704          { ac_try='test -s conftest$ac_exeext'
26705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706   (eval $ac_try) 2>&5
26707   ac_status=$?
26708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709   (exit $ac_status); }; }; then
26710   ac_cv_lib_m_llround=yes
26711 else
26712   echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26714
26715 ac_cv_lib_m_llround=no
26716 fi
26717 rm -f conftest.err conftest.$ac_objext \
26718       conftest$ac_exeext conftest.$ac_ext
26719 LIBS=$ac_check_lib_save_LIBS
26720 fi
26721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26722 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26723 if test $ac_cv_lib_m_llround = yes; then
26724
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_LLROUND 1
26727 _ACEOF
26728
26729 fi
26730
26731 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26732 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26733 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26734   echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26736   ac_check_lib_save_LIBS=$LIBS
26737 LIBS="-lm  $LIBS"
26738 if test x$gcc_no_link = xyes; then
26739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26741    { (exit 1); exit 1; }; }
26742 fi
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h.  */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h.  */
26749
26750 /* Override any gcc2 internal prototype to avoid an error.  */
26751 #ifdef __cplusplus
26752 extern "C"
26753 #endif
26754 /* We use char because int might match the return type of a gcc2
26755    builtin and then its argument prototype would still apply.  */
26756 char llroundl ();
26757 int
26758 main ()
26759 {
26760 llroundl ();
26761   ;
26762   return 0;
26763 }
26764 _ACEOF
26765 rm -f conftest.$ac_objext conftest$ac_exeext
26766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26767   (eval $ac_link) 2>conftest.er1
26768   ac_status=$?
26769   grep -v '^ *+' conftest.er1 >conftest.err
26770   rm -f conftest.er1
26771   cat conftest.err >&5
26772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773   (exit $ac_status); } &&
26774          { ac_try='test -z "$ac_c_werror_flag"
26775                          || test ! -s conftest.err'
26776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777   (eval $ac_try) 2>&5
26778   ac_status=$?
26779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780   (exit $ac_status); }; } &&
26781          { ac_try='test -s conftest$ac_exeext'
26782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783   (eval $ac_try) 2>&5
26784   ac_status=$?
26785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786   (exit $ac_status); }; }; then
26787   ac_cv_lib_m_llroundl=yes
26788 else
26789   echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26791
26792 ac_cv_lib_m_llroundl=no
26793 fi
26794 rm -f conftest.err conftest.$ac_objext \
26795       conftest$ac_exeext conftest.$ac_ext
26796 LIBS=$ac_check_lib_save_LIBS
26797 fi
26798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26799 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26800 if test $ac_cv_lib_m_llroundl = yes; then
26801
26802 cat >>confdefs.h <<\_ACEOF
26803 #define HAVE_LLROUNDL 1
26804 _ACEOF
26805
26806 fi
26807
26808 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26809 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26810 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26811   echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26813   ac_check_lib_save_LIBS=$LIBS
26814 LIBS="-lm  $LIBS"
26815 if test x$gcc_no_link = xyes; then
26816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26818    { (exit 1); exit 1; }; }
26819 fi
26820 cat >conftest.$ac_ext <<_ACEOF
26821 /* confdefs.h.  */
26822 _ACEOF
26823 cat confdefs.h >>conftest.$ac_ext
26824 cat >>conftest.$ac_ext <<_ACEOF
26825 /* end confdefs.h.  */
26826
26827 /* Override any gcc2 internal prototype to avoid an error.  */
26828 #ifdef __cplusplus
26829 extern "C"
26830 #endif
26831 /* We use char because int might match the return type of a gcc2
26832    builtin and then its argument prototype would still apply.  */
26833 char scalbnf ();
26834 int
26835 main ()
26836 {
26837 scalbnf ();
26838   ;
26839   return 0;
26840 }
26841 _ACEOF
26842 rm -f conftest.$ac_objext conftest$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844   (eval $ac_link) 2>conftest.er1
26845   ac_status=$?
26846   grep -v '^ *+' conftest.er1 >conftest.err
26847   rm -f conftest.er1
26848   cat conftest.err >&5
26849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850   (exit $ac_status); } &&
26851          { ac_try='test -z "$ac_c_werror_flag"
26852                          || test ! -s conftest.err'
26853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854   (eval $ac_try) 2>&5
26855   ac_status=$?
26856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857   (exit $ac_status); }; } &&
26858          { ac_try='test -s conftest$ac_exeext'
26859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860   (eval $ac_try) 2>&5
26861   ac_status=$?
26862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863   (exit $ac_status); }; }; then
26864   ac_cv_lib_m_scalbnf=yes
26865 else
26866   echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.$ac_ext >&5
26868
26869 ac_cv_lib_m_scalbnf=no
26870 fi
26871 rm -f conftest.err conftest.$ac_objext \
26872       conftest$ac_exeext conftest.$ac_ext
26873 LIBS=$ac_check_lib_save_LIBS
26874 fi
26875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26876 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26877 if test $ac_cv_lib_m_scalbnf = yes; then
26878
26879 cat >>confdefs.h <<\_ACEOF
26880 #define HAVE_SCALBNF 1
26881 _ACEOF
26882
26883 fi
26884
26885 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26886 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26887 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26888   echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890   ac_check_lib_save_LIBS=$LIBS
26891 LIBS="-lm  $LIBS"
26892 if test x$gcc_no_link = xyes; then
26893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26895    { (exit 1); exit 1; }; }
26896 fi
26897 cat >conftest.$ac_ext <<_ACEOF
26898 /* confdefs.h.  */
26899 _ACEOF
26900 cat confdefs.h >>conftest.$ac_ext
26901 cat >>conftest.$ac_ext <<_ACEOF
26902 /* end confdefs.h.  */
26903
26904 /* Override any gcc2 internal prototype to avoid an error.  */
26905 #ifdef __cplusplus
26906 extern "C"
26907 #endif
26908 /* We use char because int might match the return type of a gcc2
26909    builtin and then its argument prototype would still apply.  */
26910 char scalbn ();
26911 int
26912 main ()
26913 {
26914 scalbn ();
26915   ;
26916   return 0;
26917 }
26918 _ACEOF
26919 rm -f conftest.$ac_objext conftest$ac_exeext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26921   (eval $ac_link) 2>conftest.er1
26922   ac_status=$?
26923   grep -v '^ *+' conftest.er1 >conftest.err
26924   rm -f conftest.er1
26925   cat conftest.err >&5
26926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927   (exit $ac_status); } &&
26928          { ac_try='test -z "$ac_c_werror_flag"
26929                          || test ! -s conftest.err'
26930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931   (eval $ac_try) 2>&5
26932   ac_status=$?
26933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934   (exit $ac_status); }; } &&
26935          { ac_try='test -s conftest$ac_exeext'
26936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937   (eval $ac_try) 2>&5
26938   ac_status=$?
26939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940   (exit $ac_status); }; }; then
26941   ac_cv_lib_m_scalbn=yes
26942 else
26943   echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26945
26946 ac_cv_lib_m_scalbn=no
26947 fi
26948 rm -f conftest.err conftest.$ac_objext \
26949       conftest$ac_exeext conftest.$ac_ext
26950 LIBS=$ac_check_lib_save_LIBS
26951 fi
26952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26953 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26954 if test $ac_cv_lib_m_scalbn = yes; then
26955
26956 cat >>confdefs.h <<\_ACEOF
26957 #define HAVE_SCALBN 1
26958 _ACEOF
26959
26960 fi
26961
26962 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26963 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26964 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26965   echo $ECHO_N "(cached) $ECHO_C" >&6
26966 else
26967   ac_check_lib_save_LIBS=$LIBS
26968 LIBS="-lm  $LIBS"
26969 if test x$gcc_no_link = xyes; then
26970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26972    { (exit 1); exit 1; }; }
26973 fi
26974 cat >conftest.$ac_ext <<_ACEOF
26975 /* confdefs.h.  */
26976 _ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h.  */
26980
26981 /* Override any gcc2 internal prototype to avoid an error.  */
26982 #ifdef __cplusplus
26983 extern "C"
26984 #endif
26985 /* We use char because int might match the return type of a gcc2
26986    builtin and then its argument prototype would still apply.  */
26987 char scalbnl ();
26988 int
26989 main ()
26990 {
26991 scalbnl ();
26992   ;
26993   return 0;
26994 }
26995 _ACEOF
26996 rm -f conftest.$ac_objext conftest$ac_exeext
26997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26998   (eval $ac_link) 2>conftest.er1
26999   ac_status=$?
27000   grep -v '^ *+' conftest.er1 >conftest.err
27001   rm -f conftest.er1
27002   cat conftest.err >&5
27003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004   (exit $ac_status); } &&
27005          { ac_try='test -z "$ac_c_werror_flag"
27006                          || test ! -s conftest.err'
27007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008   (eval $ac_try) 2>&5
27009   ac_status=$?
27010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011   (exit $ac_status); }; } &&
27012          { ac_try='test -s conftest$ac_exeext'
27013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014   (eval $ac_try) 2>&5
27015   ac_status=$?
27016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017   (exit $ac_status); }; }; then
27018   ac_cv_lib_m_scalbnl=yes
27019 else
27020   echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.$ac_ext >&5
27022
27023 ac_cv_lib_m_scalbnl=no
27024 fi
27025 rm -f conftest.err conftest.$ac_objext \
27026       conftest$ac_exeext conftest.$ac_ext
27027 LIBS=$ac_check_lib_save_LIBS
27028 fi
27029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27030 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27031 if test $ac_cv_lib_m_scalbnl = yes; then
27032
27033 cat >>confdefs.h <<\_ACEOF
27034 #define HAVE_SCALBNL 1
27035 _ACEOF
27036
27037 fi
27038
27039 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27040 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27041 if test "${ac_cv_lib_m_sinf+set}" = set; then
27042   echo $ECHO_N "(cached) $ECHO_C" >&6
27043 else
27044   ac_check_lib_save_LIBS=$LIBS
27045 LIBS="-lm  $LIBS"
27046 if test x$gcc_no_link = xyes; then
27047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27049    { (exit 1); exit 1; }; }
27050 fi
27051 cat >conftest.$ac_ext <<_ACEOF
27052 /* confdefs.h.  */
27053 _ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h.  */
27057
27058 /* Override any gcc2 internal prototype to avoid an error.  */
27059 #ifdef __cplusplus
27060 extern "C"
27061 #endif
27062 /* We use char because int might match the return type of a gcc2
27063    builtin and then its argument prototype would still apply.  */
27064 char sinf ();
27065 int
27066 main ()
27067 {
27068 sinf ();
27069   ;
27070   return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075   (eval $ac_link) 2>conftest.er1
27076   ac_status=$?
27077   grep -v '^ *+' conftest.er1 >conftest.err
27078   rm -f conftest.er1
27079   cat conftest.err >&5
27080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081   (exit $ac_status); } &&
27082          { ac_try='test -z "$ac_c_werror_flag"
27083                          || test ! -s conftest.err'
27084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085   (eval $ac_try) 2>&5
27086   ac_status=$?
27087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088   (exit $ac_status); }; } &&
27089          { ac_try='test -s conftest$ac_exeext'
27090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091   (eval $ac_try) 2>&5
27092   ac_status=$?
27093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094   (exit $ac_status); }; }; then
27095   ac_cv_lib_m_sinf=yes
27096 else
27097   echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 ac_cv_lib_m_sinf=no
27101 fi
27102 rm -f conftest.err conftest.$ac_objext \
27103       conftest$ac_exeext conftest.$ac_ext
27104 LIBS=$ac_check_lib_save_LIBS
27105 fi
27106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27107 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27108 if test $ac_cv_lib_m_sinf = yes; then
27109
27110 cat >>confdefs.h <<\_ACEOF
27111 #define HAVE_SINF 1
27112 _ACEOF
27113
27114 fi
27115
27116 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27117 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27118 if test "${ac_cv_lib_m_sin+set}" = set; then
27119   echo $ECHO_N "(cached) $ECHO_C" >&6
27120 else
27121   ac_check_lib_save_LIBS=$LIBS
27122 LIBS="-lm  $LIBS"
27123 if test x$gcc_no_link = xyes; then
27124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27126    { (exit 1); exit 1; }; }
27127 fi
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h.  */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h.  */
27134
27135 /* Override any gcc2 internal prototype to avoid an error.  */
27136 #ifdef __cplusplus
27137 extern "C"
27138 #endif
27139 /* We use char because int might match the return type of a gcc2
27140    builtin and then its argument prototype would still apply.  */
27141 char sin ();
27142 int
27143 main ()
27144 {
27145 sin ();
27146   ;
27147   return 0;
27148 }
27149 _ACEOF
27150 rm -f conftest.$ac_objext conftest$ac_exeext
27151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27152   (eval $ac_link) 2>conftest.er1
27153   ac_status=$?
27154   grep -v '^ *+' conftest.er1 >conftest.err
27155   rm -f conftest.er1
27156   cat conftest.err >&5
27157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158   (exit $ac_status); } &&
27159          { ac_try='test -z "$ac_c_werror_flag"
27160                          || test ! -s conftest.err'
27161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27162   (eval $ac_try) 2>&5
27163   ac_status=$?
27164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165   (exit $ac_status); }; } &&
27166          { ac_try='test -s conftest$ac_exeext'
27167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27168   (eval $ac_try) 2>&5
27169   ac_status=$?
27170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171   (exit $ac_status); }; }; then
27172   ac_cv_lib_m_sin=yes
27173 else
27174   echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27176
27177 ac_cv_lib_m_sin=no
27178 fi
27179 rm -f conftest.err conftest.$ac_objext \
27180       conftest$ac_exeext conftest.$ac_ext
27181 LIBS=$ac_check_lib_save_LIBS
27182 fi
27183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27184 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27185 if test $ac_cv_lib_m_sin = yes; then
27186
27187 cat >>confdefs.h <<\_ACEOF
27188 #define HAVE_SIN 1
27189 _ACEOF
27190
27191 fi
27192
27193 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27194 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27195 if test "${ac_cv_lib_m_sinl+set}" = set; then
27196   echo $ECHO_N "(cached) $ECHO_C" >&6
27197 else
27198   ac_check_lib_save_LIBS=$LIBS
27199 LIBS="-lm  $LIBS"
27200 if test x$gcc_no_link = xyes; then
27201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27203    { (exit 1); exit 1; }; }
27204 fi
27205 cat >conftest.$ac_ext <<_ACEOF
27206 /* confdefs.h.  */
27207 _ACEOF
27208 cat confdefs.h >>conftest.$ac_ext
27209 cat >>conftest.$ac_ext <<_ACEOF
27210 /* end confdefs.h.  */
27211
27212 /* Override any gcc2 internal prototype to avoid an error.  */
27213 #ifdef __cplusplus
27214 extern "C"
27215 #endif
27216 /* We use char because int might match the return type of a gcc2
27217    builtin and then its argument prototype would still apply.  */
27218 char sinl ();
27219 int
27220 main ()
27221 {
27222 sinl ();
27223   ;
27224   return 0;
27225 }
27226 _ACEOF
27227 rm -f conftest.$ac_objext conftest$ac_exeext
27228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27229   (eval $ac_link) 2>conftest.er1
27230   ac_status=$?
27231   grep -v '^ *+' conftest.er1 >conftest.err
27232   rm -f conftest.er1
27233   cat conftest.err >&5
27234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235   (exit $ac_status); } &&
27236          { ac_try='test -z "$ac_c_werror_flag"
27237                          || test ! -s conftest.err'
27238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239   (eval $ac_try) 2>&5
27240   ac_status=$?
27241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242   (exit $ac_status); }; } &&
27243          { ac_try='test -s conftest$ac_exeext'
27244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245   (eval $ac_try) 2>&5
27246   ac_status=$?
27247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248   (exit $ac_status); }; }; then
27249   ac_cv_lib_m_sinl=yes
27250 else
27251   echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.$ac_ext >&5
27253
27254 ac_cv_lib_m_sinl=no
27255 fi
27256 rm -f conftest.err conftest.$ac_objext \
27257       conftest$ac_exeext conftest.$ac_ext
27258 LIBS=$ac_check_lib_save_LIBS
27259 fi
27260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27261 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27262 if test $ac_cv_lib_m_sinl = yes; then
27263
27264 cat >>confdefs.h <<\_ACEOF
27265 #define HAVE_SINL 1
27266 _ACEOF
27267
27268 fi
27269
27270 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27271 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27272 if test "${ac_cv_lib_m_csinf+set}" = set; then
27273   echo $ECHO_N "(cached) $ECHO_C" >&6
27274 else
27275   ac_check_lib_save_LIBS=$LIBS
27276 LIBS="-lm  $LIBS"
27277 if test x$gcc_no_link = xyes; then
27278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27280    { (exit 1); exit 1; }; }
27281 fi
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h.  */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h.  */
27288
27289 /* Override any gcc2 internal prototype to avoid an error.  */
27290 #ifdef __cplusplus
27291 extern "C"
27292 #endif
27293 /* We use char because int might match the return type of a gcc2
27294    builtin and then its argument prototype would still apply.  */
27295 char csinf ();
27296 int
27297 main ()
27298 {
27299 csinf ();
27300   ;
27301   return 0;
27302 }
27303 _ACEOF
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306   (eval $ac_link) 2>conftest.er1
27307   ac_status=$?
27308   grep -v '^ *+' conftest.er1 >conftest.err
27309   rm -f conftest.er1
27310   cat conftest.err >&5
27311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312   (exit $ac_status); } &&
27313          { ac_try='test -z "$ac_c_werror_flag"
27314                          || test ! -s conftest.err'
27315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316   (eval $ac_try) 2>&5
27317   ac_status=$?
27318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319   (exit $ac_status); }; } &&
27320          { ac_try='test -s conftest$ac_exeext'
27321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322   (eval $ac_try) 2>&5
27323   ac_status=$?
27324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325   (exit $ac_status); }; }; then
27326   ac_cv_lib_m_csinf=yes
27327 else
27328   echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 ac_cv_lib_m_csinf=no
27332 fi
27333 rm -f conftest.err conftest.$ac_objext \
27334       conftest$ac_exeext conftest.$ac_ext
27335 LIBS=$ac_check_lib_save_LIBS
27336 fi
27337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27338 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27339 if test $ac_cv_lib_m_csinf = yes; then
27340
27341 cat >>confdefs.h <<\_ACEOF
27342 #define HAVE_CSINF 1
27343 _ACEOF
27344
27345 fi
27346
27347 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27348 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27349 if test "${ac_cv_lib_m_csin+set}" = set; then
27350   echo $ECHO_N "(cached) $ECHO_C" >&6
27351 else
27352   ac_check_lib_save_LIBS=$LIBS
27353 LIBS="-lm  $LIBS"
27354 if test x$gcc_no_link = xyes; then
27355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27357    { (exit 1); exit 1; }; }
27358 fi
27359 cat >conftest.$ac_ext <<_ACEOF
27360 /* confdefs.h.  */
27361 _ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h.  */
27365
27366 /* Override any gcc2 internal prototype to avoid an error.  */
27367 #ifdef __cplusplus
27368 extern "C"
27369 #endif
27370 /* We use char because int might match the return type of a gcc2
27371    builtin and then its argument prototype would still apply.  */
27372 char csin ();
27373 int
27374 main ()
27375 {
27376 csin ();
27377   ;
27378   return 0;
27379 }
27380 _ACEOF
27381 rm -f conftest.$ac_objext conftest$ac_exeext
27382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27383   (eval $ac_link) 2>conftest.er1
27384   ac_status=$?
27385   grep -v '^ *+' conftest.er1 >conftest.err
27386   rm -f conftest.er1
27387   cat conftest.err >&5
27388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389   (exit $ac_status); } &&
27390          { ac_try='test -z "$ac_c_werror_flag"
27391                          || test ! -s conftest.err'
27392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27393   (eval $ac_try) 2>&5
27394   ac_status=$?
27395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396   (exit $ac_status); }; } &&
27397          { ac_try='test -s conftest$ac_exeext'
27398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399   (eval $ac_try) 2>&5
27400   ac_status=$?
27401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402   (exit $ac_status); }; }; then
27403   ac_cv_lib_m_csin=yes
27404 else
27405   echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.$ac_ext >&5
27407
27408 ac_cv_lib_m_csin=no
27409 fi
27410 rm -f conftest.err conftest.$ac_objext \
27411       conftest$ac_exeext conftest.$ac_ext
27412 LIBS=$ac_check_lib_save_LIBS
27413 fi
27414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27415 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27416 if test $ac_cv_lib_m_csin = yes; then
27417
27418 cat >>confdefs.h <<\_ACEOF
27419 #define HAVE_CSIN 1
27420 _ACEOF
27421
27422 fi
27423
27424 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27425 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27426 if test "${ac_cv_lib_m_csinl+set}" = set; then
27427   echo $ECHO_N "(cached) $ECHO_C" >&6
27428 else
27429   ac_check_lib_save_LIBS=$LIBS
27430 LIBS="-lm  $LIBS"
27431 if test x$gcc_no_link = xyes; then
27432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27434    { (exit 1); exit 1; }; }
27435 fi
27436 cat >conftest.$ac_ext <<_ACEOF
27437 /* confdefs.h.  */
27438 _ACEOF
27439 cat confdefs.h >>conftest.$ac_ext
27440 cat >>conftest.$ac_ext <<_ACEOF
27441 /* end confdefs.h.  */
27442
27443 /* Override any gcc2 internal prototype to avoid an error.  */
27444 #ifdef __cplusplus
27445 extern "C"
27446 #endif
27447 /* We use char because int might match the return type of a gcc2
27448    builtin and then its argument prototype would still apply.  */
27449 char csinl ();
27450 int
27451 main ()
27452 {
27453 csinl ();
27454   ;
27455   return 0;
27456 }
27457 _ACEOF
27458 rm -f conftest.$ac_objext conftest$ac_exeext
27459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27460   (eval $ac_link) 2>conftest.er1
27461   ac_status=$?
27462   grep -v '^ *+' conftest.er1 >conftest.err
27463   rm -f conftest.er1
27464   cat conftest.err >&5
27465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466   (exit $ac_status); } &&
27467          { ac_try='test -z "$ac_c_werror_flag"
27468                          || test ! -s conftest.err'
27469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27470   (eval $ac_try) 2>&5
27471   ac_status=$?
27472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473   (exit $ac_status); }; } &&
27474          { ac_try='test -s conftest$ac_exeext'
27475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27476   (eval $ac_try) 2>&5
27477   ac_status=$?
27478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479   (exit $ac_status); }; }; then
27480   ac_cv_lib_m_csinl=yes
27481 else
27482   echo "$as_me: failed program was:" >&5
27483 sed 's/^/| /' conftest.$ac_ext >&5
27484
27485 ac_cv_lib_m_csinl=no
27486 fi
27487 rm -f conftest.err conftest.$ac_objext \
27488       conftest$ac_exeext conftest.$ac_ext
27489 LIBS=$ac_check_lib_save_LIBS
27490 fi
27491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27492 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27493 if test $ac_cv_lib_m_csinl = yes; then
27494
27495 cat >>confdefs.h <<\_ACEOF
27496 #define HAVE_CSINL 1
27497 _ACEOF
27498
27499 fi
27500
27501 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27502 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27503 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27504   echo $ECHO_N "(cached) $ECHO_C" >&6
27505 else
27506   ac_check_lib_save_LIBS=$LIBS
27507 LIBS="-lm  $LIBS"
27508 if test x$gcc_no_link = xyes; then
27509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27511    { (exit 1); exit 1; }; }
27512 fi
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h.  */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h.  */
27519
27520 /* Override any gcc2 internal prototype to avoid an error.  */
27521 #ifdef __cplusplus
27522 extern "C"
27523 #endif
27524 /* We use char because int might match the return type of a gcc2
27525    builtin and then its argument prototype would still apply.  */
27526 char sinhf ();
27527 int
27528 main ()
27529 {
27530 sinhf ();
27531   ;
27532   return 0;
27533 }
27534 _ACEOF
27535 rm -f conftest.$ac_objext conftest$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537   (eval $ac_link) 2>conftest.er1
27538   ac_status=$?
27539   grep -v '^ *+' conftest.er1 >conftest.err
27540   rm -f conftest.er1
27541   cat conftest.err >&5
27542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543   (exit $ac_status); } &&
27544          { ac_try='test -z "$ac_c_werror_flag"
27545                          || test ! -s conftest.err'
27546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547   (eval $ac_try) 2>&5
27548   ac_status=$?
27549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550   (exit $ac_status); }; } &&
27551          { ac_try='test -s conftest$ac_exeext'
27552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553   (eval $ac_try) 2>&5
27554   ac_status=$?
27555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556   (exit $ac_status); }; }; then
27557   ac_cv_lib_m_sinhf=yes
27558 else
27559   echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ac_cv_lib_m_sinhf=no
27563 fi
27564 rm -f conftest.err conftest.$ac_objext \
27565       conftest$ac_exeext conftest.$ac_ext
27566 LIBS=$ac_check_lib_save_LIBS
27567 fi
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27569 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27570 if test $ac_cv_lib_m_sinhf = yes; then
27571
27572 cat >>confdefs.h <<\_ACEOF
27573 #define HAVE_SINHF 1
27574 _ACEOF
27575
27576 fi
27577
27578 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27579 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27580 if test "${ac_cv_lib_m_sinh+set}" = set; then
27581   echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583   ac_check_lib_save_LIBS=$LIBS
27584 LIBS="-lm  $LIBS"
27585 if test x$gcc_no_link = xyes; then
27586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27588    { (exit 1); exit 1; }; }
27589 fi
27590 cat >conftest.$ac_ext <<_ACEOF
27591 /* confdefs.h.  */
27592 _ACEOF
27593 cat confdefs.h >>conftest.$ac_ext
27594 cat >>conftest.$ac_ext <<_ACEOF
27595 /* end confdefs.h.  */
27596
27597 /* Override any gcc2 internal prototype to avoid an error.  */
27598 #ifdef __cplusplus
27599 extern "C"
27600 #endif
27601 /* We use char because int might match the return type of a gcc2
27602    builtin and then its argument prototype would still apply.  */
27603 char sinh ();
27604 int
27605 main ()
27606 {
27607 sinh ();
27608   ;
27609   return 0;
27610 }
27611 _ACEOF
27612 rm -f conftest.$ac_objext conftest$ac_exeext
27613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27614   (eval $ac_link) 2>conftest.er1
27615   ac_status=$?
27616   grep -v '^ *+' conftest.er1 >conftest.err
27617   rm -f conftest.er1
27618   cat conftest.err >&5
27619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620   (exit $ac_status); } &&
27621          { ac_try='test -z "$ac_c_werror_flag"
27622                          || test ! -s conftest.err'
27623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624   (eval $ac_try) 2>&5
27625   ac_status=$?
27626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627   (exit $ac_status); }; } &&
27628          { ac_try='test -s conftest$ac_exeext'
27629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27630   (eval $ac_try) 2>&5
27631   ac_status=$?
27632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633   (exit $ac_status); }; }; then
27634   ac_cv_lib_m_sinh=yes
27635 else
27636   echo "$as_me: failed program was:" >&5
27637 sed 's/^/| /' conftest.$ac_ext >&5
27638
27639 ac_cv_lib_m_sinh=no
27640 fi
27641 rm -f conftest.err conftest.$ac_objext \
27642       conftest$ac_exeext conftest.$ac_ext
27643 LIBS=$ac_check_lib_save_LIBS
27644 fi
27645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27646 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27647 if test $ac_cv_lib_m_sinh = yes; then
27648
27649 cat >>confdefs.h <<\_ACEOF
27650 #define HAVE_SINH 1
27651 _ACEOF
27652
27653 fi
27654
27655 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27656 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27657 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27658   echo $ECHO_N "(cached) $ECHO_C" >&6
27659 else
27660   ac_check_lib_save_LIBS=$LIBS
27661 LIBS="-lm  $LIBS"
27662 if test x$gcc_no_link = xyes; then
27663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27665    { (exit 1); exit 1; }; }
27666 fi
27667 cat >conftest.$ac_ext <<_ACEOF
27668 /* confdefs.h.  */
27669 _ACEOF
27670 cat confdefs.h >>conftest.$ac_ext
27671 cat >>conftest.$ac_ext <<_ACEOF
27672 /* end confdefs.h.  */
27673
27674 /* Override any gcc2 internal prototype to avoid an error.  */
27675 #ifdef __cplusplus
27676 extern "C"
27677 #endif
27678 /* We use char because int might match the return type of a gcc2
27679    builtin and then its argument prototype would still apply.  */
27680 char sinhl ();
27681 int
27682 main ()
27683 {
27684 sinhl ();
27685   ;
27686   return 0;
27687 }
27688 _ACEOF
27689 rm -f conftest.$ac_objext conftest$ac_exeext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27691   (eval $ac_link) 2>conftest.er1
27692   ac_status=$?
27693   grep -v '^ *+' conftest.er1 >conftest.err
27694   rm -f conftest.er1
27695   cat conftest.err >&5
27696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697   (exit $ac_status); } &&
27698          { ac_try='test -z "$ac_c_werror_flag"
27699                          || test ! -s conftest.err'
27700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701   (eval $ac_try) 2>&5
27702   ac_status=$?
27703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704   (exit $ac_status); }; } &&
27705          { ac_try='test -s conftest$ac_exeext'
27706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707   (eval $ac_try) 2>&5
27708   ac_status=$?
27709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710   (exit $ac_status); }; }; then
27711   ac_cv_lib_m_sinhl=yes
27712 else
27713   echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 ac_cv_lib_m_sinhl=no
27717 fi
27718 rm -f conftest.err conftest.$ac_objext \
27719       conftest$ac_exeext conftest.$ac_ext
27720 LIBS=$ac_check_lib_save_LIBS
27721 fi
27722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27723 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27724 if test $ac_cv_lib_m_sinhl = yes; then
27725
27726 cat >>confdefs.h <<\_ACEOF
27727 #define HAVE_SINHL 1
27728 _ACEOF
27729
27730 fi
27731
27732 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27733 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27734 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27735   echo $ECHO_N "(cached) $ECHO_C" >&6
27736 else
27737   ac_check_lib_save_LIBS=$LIBS
27738 LIBS="-lm  $LIBS"
27739 if test x$gcc_no_link = xyes; then
27740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27742    { (exit 1); exit 1; }; }
27743 fi
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h.  */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h.  */
27750
27751 /* Override any gcc2 internal prototype to avoid an error.  */
27752 #ifdef __cplusplus
27753 extern "C"
27754 #endif
27755 /* We use char because int might match the return type of a gcc2
27756    builtin and then its argument prototype would still apply.  */
27757 char csinhf ();
27758 int
27759 main ()
27760 {
27761 csinhf ();
27762   ;
27763   return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768   (eval $ac_link) 2>conftest.er1
27769   ac_status=$?
27770   grep -v '^ *+' conftest.er1 >conftest.err
27771   rm -f conftest.er1
27772   cat conftest.err >&5
27773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774   (exit $ac_status); } &&
27775          { ac_try='test -z "$ac_c_werror_flag"
27776                          || test ! -s conftest.err'
27777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778   (eval $ac_try) 2>&5
27779   ac_status=$?
27780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781   (exit $ac_status); }; } &&
27782          { ac_try='test -s conftest$ac_exeext'
27783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784   (eval $ac_try) 2>&5
27785   ac_status=$?
27786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787   (exit $ac_status); }; }; then
27788   ac_cv_lib_m_csinhf=yes
27789 else
27790   echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 ac_cv_lib_m_csinhf=no
27794 fi
27795 rm -f conftest.err conftest.$ac_objext \
27796       conftest$ac_exeext conftest.$ac_ext
27797 LIBS=$ac_check_lib_save_LIBS
27798 fi
27799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27800 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27801 if test $ac_cv_lib_m_csinhf = yes; then
27802
27803 cat >>confdefs.h <<\_ACEOF
27804 #define HAVE_CSINHF 1
27805 _ACEOF
27806
27807 fi
27808
27809 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27810 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27811 if test "${ac_cv_lib_m_csinh+set}" = set; then
27812   echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814   ac_check_lib_save_LIBS=$LIBS
27815 LIBS="-lm  $LIBS"
27816 if test x$gcc_no_link = xyes; then
27817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27819    { (exit 1); exit 1; }; }
27820 fi
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h.  */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h.  */
27827
27828 /* Override any gcc2 internal prototype to avoid an error.  */
27829 #ifdef __cplusplus
27830 extern "C"
27831 #endif
27832 /* We use char because int might match the return type of a gcc2
27833    builtin and then its argument prototype would still apply.  */
27834 char csinh ();
27835 int
27836 main ()
27837 {
27838 csinh ();
27839   ;
27840   return 0;
27841 }
27842 _ACEOF
27843 rm -f conftest.$ac_objext conftest$ac_exeext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27845   (eval $ac_link) 2>conftest.er1
27846   ac_status=$?
27847   grep -v '^ *+' conftest.er1 >conftest.err
27848   rm -f conftest.er1
27849   cat conftest.err >&5
27850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851   (exit $ac_status); } &&
27852          { ac_try='test -z "$ac_c_werror_flag"
27853                          || test ! -s conftest.err'
27854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855   (eval $ac_try) 2>&5
27856   ac_status=$?
27857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858   (exit $ac_status); }; } &&
27859          { ac_try='test -s conftest$ac_exeext'
27860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861   (eval $ac_try) 2>&5
27862   ac_status=$?
27863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864   (exit $ac_status); }; }; then
27865   ac_cv_lib_m_csinh=yes
27866 else
27867   echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27869
27870 ac_cv_lib_m_csinh=no
27871 fi
27872 rm -f conftest.err conftest.$ac_objext \
27873       conftest$ac_exeext conftest.$ac_ext
27874 LIBS=$ac_check_lib_save_LIBS
27875 fi
27876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27877 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27878 if test $ac_cv_lib_m_csinh = yes; then
27879
27880 cat >>confdefs.h <<\_ACEOF
27881 #define HAVE_CSINH 1
27882 _ACEOF
27883
27884 fi
27885
27886 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27887 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27888 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27889   echo $ECHO_N "(cached) $ECHO_C" >&6
27890 else
27891   ac_check_lib_save_LIBS=$LIBS
27892 LIBS="-lm  $LIBS"
27893 if test x$gcc_no_link = xyes; then
27894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27896    { (exit 1); exit 1; }; }
27897 fi
27898 cat >conftest.$ac_ext <<_ACEOF
27899 /* confdefs.h.  */
27900 _ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h.  */
27904
27905 /* Override any gcc2 internal prototype to avoid an error.  */
27906 #ifdef __cplusplus
27907 extern "C"
27908 #endif
27909 /* We use char because int might match the return type of a gcc2
27910    builtin and then its argument prototype would still apply.  */
27911 char csinhl ();
27912 int
27913 main ()
27914 {
27915 csinhl ();
27916   ;
27917   return 0;
27918 }
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27922   (eval $ac_link) 2>conftest.er1
27923   ac_status=$?
27924   grep -v '^ *+' conftest.er1 >conftest.err
27925   rm -f conftest.er1
27926   cat conftest.err >&5
27927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928   (exit $ac_status); } &&
27929          { ac_try='test -z "$ac_c_werror_flag"
27930                          || test ! -s conftest.err'
27931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932   (eval $ac_try) 2>&5
27933   ac_status=$?
27934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935   (exit $ac_status); }; } &&
27936          { ac_try='test -s conftest$ac_exeext'
27937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938   (eval $ac_try) 2>&5
27939   ac_status=$?
27940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941   (exit $ac_status); }; }; then
27942   ac_cv_lib_m_csinhl=yes
27943 else
27944   echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 ac_cv_lib_m_csinhl=no
27948 fi
27949 rm -f conftest.err conftest.$ac_objext \
27950       conftest$ac_exeext conftest.$ac_ext
27951 LIBS=$ac_check_lib_save_LIBS
27952 fi
27953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27954 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27955 if test $ac_cv_lib_m_csinhl = yes; then
27956
27957 cat >>confdefs.h <<\_ACEOF
27958 #define HAVE_CSINHL 1
27959 _ACEOF
27960
27961 fi
27962
27963 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27964 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27965 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27966   echo $ECHO_N "(cached) $ECHO_C" >&6
27967 else
27968   ac_check_lib_save_LIBS=$LIBS
27969 LIBS="-lm  $LIBS"
27970 if test x$gcc_no_link = xyes; then
27971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27973    { (exit 1); exit 1; }; }
27974 fi
27975 cat >conftest.$ac_ext <<_ACEOF
27976 /* confdefs.h.  */
27977 _ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h.  */
27981
27982 /* Override any gcc2 internal prototype to avoid an error.  */
27983 #ifdef __cplusplus
27984 extern "C"
27985 #endif
27986 /* We use char because int might match the return type of a gcc2
27987    builtin and then its argument prototype would still apply.  */
27988 char sqrtf ();
27989 int
27990 main ()
27991 {
27992 sqrtf ();
27993   ;
27994   return 0;
27995 }
27996 _ACEOF
27997 rm -f conftest.$ac_objext conftest$ac_exeext
27998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27999   (eval $ac_link) 2>conftest.er1
28000   ac_status=$?
28001   grep -v '^ *+' conftest.er1 >conftest.err
28002   rm -f conftest.er1
28003   cat conftest.err >&5
28004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005   (exit $ac_status); } &&
28006          { ac_try='test -z "$ac_c_werror_flag"
28007                          || test ! -s conftest.err'
28008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009   (eval $ac_try) 2>&5
28010   ac_status=$?
28011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012   (exit $ac_status); }; } &&
28013          { ac_try='test -s conftest$ac_exeext'
28014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015   (eval $ac_try) 2>&5
28016   ac_status=$?
28017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018   (exit $ac_status); }; }; then
28019   ac_cv_lib_m_sqrtf=yes
28020 else
28021   echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28023
28024 ac_cv_lib_m_sqrtf=no
28025 fi
28026 rm -f conftest.err conftest.$ac_objext \
28027       conftest$ac_exeext conftest.$ac_ext
28028 LIBS=$ac_check_lib_save_LIBS
28029 fi
28030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28031 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28032 if test $ac_cv_lib_m_sqrtf = yes; then
28033
28034 cat >>confdefs.h <<\_ACEOF
28035 #define HAVE_SQRTF 1
28036 _ACEOF
28037
28038 fi
28039
28040 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28041 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28042 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28043   echo $ECHO_N "(cached) $ECHO_C" >&6
28044 else
28045   ac_check_lib_save_LIBS=$LIBS
28046 LIBS="-lm  $LIBS"
28047 if test x$gcc_no_link = xyes; then
28048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28050    { (exit 1); exit 1; }; }
28051 fi
28052 cat >conftest.$ac_ext <<_ACEOF
28053 /* confdefs.h.  */
28054 _ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h.  */
28058
28059 /* Override any gcc2 internal prototype to avoid an error.  */
28060 #ifdef __cplusplus
28061 extern "C"
28062 #endif
28063 /* We use char because int might match the return type of a gcc2
28064    builtin and then its argument prototype would still apply.  */
28065 char sqrt ();
28066 int
28067 main ()
28068 {
28069 sqrt ();
28070   ;
28071   return 0;
28072 }
28073 _ACEOF
28074 rm -f conftest.$ac_objext conftest$ac_exeext
28075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28076   (eval $ac_link) 2>conftest.er1
28077   ac_status=$?
28078   grep -v '^ *+' conftest.er1 >conftest.err
28079   rm -f conftest.er1
28080   cat conftest.err >&5
28081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082   (exit $ac_status); } &&
28083          { ac_try='test -z "$ac_c_werror_flag"
28084                          || test ! -s conftest.err'
28085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086   (eval $ac_try) 2>&5
28087   ac_status=$?
28088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089   (exit $ac_status); }; } &&
28090          { ac_try='test -s conftest$ac_exeext'
28091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092   (eval $ac_try) 2>&5
28093   ac_status=$?
28094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095   (exit $ac_status); }; }; then
28096   ac_cv_lib_m_sqrt=yes
28097 else
28098   echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.$ac_ext >&5
28100
28101 ac_cv_lib_m_sqrt=no
28102 fi
28103 rm -f conftest.err conftest.$ac_objext \
28104       conftest$ac_exeext conftest.$ac_ext
28105 LIBS=$ac_check_lib_save_LIBS
28106 fi
28107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28108 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28109 if test $ac_cv_lib_m_sqrt = yes; then
28110
28111 cat >>confdefs.h <<\_ACEOF
28112 #define HAVE_SQRT 1
28113 _ACEOF
28114
28115 fi
28116
28117 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28118 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28119 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28120   echo $ECHO_N "(cached) $ECHO_C" >&6
28121 else
28122   ac_check_lib_save_LIBS=$LIBS
28123 LIBS="-lm  $LIBS"
28124 if test x$gcc_no_link = xyes; then
28125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28127    { (exit 1); exit 1; }; }
28128 fi
28129 cat >conftest.$ac_ext <<_ACEOF
28130 /* confdefs.h.  */
28131 _ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h.  */
28135
28136 /* Override any gcc2 internal prototype to avoid an error.  */
28137 #ifdef __cplusplus
28138 extern "C"
28139 #endif
28140 /* We use char because int might match the return type of a gcc2
28141    builtin and then its argument prototype would still apply.  */
28142 char sqrtl ();
28143 int
28144 main ()
28145 {
28146 sqrtl ();
28147   ;
28148   return 0;
28149 }
28150 _ACEOF
28151 rm -f conftest.$ac_objext conftest$ac_exeext
28152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28153   (eval $ac_link) 2>conftest.er1
28154   ac_status=$?
28155   grep -v '^ *+' conftest.er1 >conftest.err
28156   rm -f conftest.er1
28157   cat conftest.err >&5
28158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159   (exit $ac_status); } &&
28160          { ac_try='test -z "$ac_c_werror_flag"
28161                          || test ! -s conftest.err'
28162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163   (eval $ac_try) 2>&5
28164   ac_status=$?
28165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166   (exit $ac_status); }; } &&
28167          { ac_try='test -s conftest$ac_exeext'
28168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169   (eval $ac_try) 2>&5
28170   ac_status=$?
28171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172   (exit $ac_status); }; }; then
28173   ac_cv_lib_m_sqrtl=yes
28174 else
28175   echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178 ac_cv_lib_m_sqrtl=no
28179 fi
28180 rm -f conftest.err conftest.$ac_objext \
28181       conftest$ac_exeext conftest.$ac_ext
28182 LIBS=$ac_check_lib_save_LIBS
28183 fi
28184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28185 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28186 if test $ac_cv_lib_m_sqrtl = yes; then
28187
28188 cat >>confdefs.h <<\_ACEOF
28189 #define HAVE_SQRTL 1
28190 _ACEOF
28191
28192 fi
28193
28194 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28195 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28196 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28197   echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28199   ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lm  $LIBS"
28201 if test x$gcc_no_link = xyes; then
28202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28204    { (exit 1); exit 1; }; }
28205 fi
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h.  */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h.  */
28212
28213 /* Override any gcc2 internal prototype to avoid an error.  */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 /* We use char because int might match the return type of a gcc2
28218    builtin and then its argument prototype would still apply.  */
28219 char csqrtf ();
28220 int
28221 main ()
28222 {
28223 csqrtf ();
28224   ;
28225   return 0;
28226 }
28227 _ACEOF
28228 rm -f conftest.$ac_objext conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230   (eval $ac_link) 2>conftest.er1
28231   ac_status=$?
28232   grep -v '^ *+' conftest.er1 >conftest.err
28233   rm -f conftest.er1
28234   cat conftest.err >&5
28235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236   (exit $ac_status); } &&
28237          { ac_try='test -z "$ac_c_werror_flag"
28238                          || test ! -s conftest.err'
28239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240   (eval $ac_try) 2>&5
28241   ac_status=$?
28242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243   (exit $ac_status); }; } &&
28244          { ac_try='test -s conftest$ac_exeext'
28245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246   (eval $ac_try) 2>&5
28247   ac_status=$?
28248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249   (exit $ac_status); }; }; then
28250   ac_cv_lib_m_csqrtf=yes
28251 else
28252   echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ac_cv_lib_m_csqrtf=no
28256 fi
28257 rm -f conftest.err conftest.$ac_objext \
28258       conftest$ac_exeext conftest.$ac_ext
28259 LIBS=$ac_check_lib_save_LIBS
28260 fi
28261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28262 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28263 if test $ac_cv_lib_m_csqrtf = yes; then
28264
28265 cat >>confdefs.h <<\_ACEOF
28266 #define HAVE_CSQRTF 1
28267 _ACEOF
28268
28269 fi
28270
28271 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28272 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28273 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28274   echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276   ac_check_lib_save_LIBS=$LIBS
28277 LIBS="-lm  $LIBS"
28278 if test x$gcc_no_link = xyes; then
28279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28281    { (exit 1); exit 1; }; }
28282 fi
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h.  */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h.  */
28289
28290 /* Override any gcc2 internal prototype to avoid an error.  */
28291 #ifdef __cplusplus
28292 extern "C"
28293 #endif
28294 /* We use char because int might match the return type of a gcc2
28295    builtin and then its argument prototype would still apply.  */
28296 char csqrt ();
28297 int
28298 main ()
28299 {
28300 csqrt ();
28301   ;
28302   return 0;
28303 }
28304 _ACEOF
28305 rm -f conftest.$ac_objext conftest$ac_exeext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28307   (eval $ac_link) 2>conftest.er1
28308   ac_status=$?
28309   grep -v '^ *+' conftest.er1 >conftest.err
28310   rm -f conftest.er1
28311   cat conftest.err >&5
28312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313   (exit $ac_status); } &&
28314          { ac_try='test -z "$ac_c_werror_flag"
28315                          || test ! -s conftest.err'
28316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317   (eval $ac_try) 2>&5
28318   ac_status=$?
28319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320   (exit $ac_status); }; } &&
28321          { ac_try='test -s conftest$ac_exeext'
28322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323   (eval $ac_try) 2>&5
28324   ac_status=$?
28325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326   (exit $ac_status); }; }; then
28327   ac_cv_lib_m_csqrt=yes
28328 else
28329   echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.$ac_ext >&5
28331
28332 ac_cv_lib_m_csqrt=no
28333 fi
28334 rm -f conftest.err conftest.$ac_objext \
28335       conftest$ac_exeext conftest.$ac_ext
28336 LIBS=$ac_check_lib_save_LIBS
28337 fi
28338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28339 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28340 if test $ac_cv_lib_m_csqrt = yes; then
28341
28342 cat >>confdefs.h <<\_ACEOF
28343 #define HAVE_CSQRT 1
28344 _ACEOF
28345
28346 fi
28347
28348 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28349 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28350 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28351   echo $ECHO_N "(cached) $ECHO_C" >&6
28352 else
28353   ac_check_lib_save_LIBS=$LIBS
28354 LIBS="-lm  $LIBS"
28355 if test x$gcc_no_link = xyes; then
28356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28358    { (exit 1); exit 1; }; }
28359 fi
28360 cat >conftest.$ac_ext <<_ACEOF
28361 /* confdefs.h.  */
28362 _ACEOF
28363 cat confdefs.h >>conftest.$ac_ext
28364 cat >>conftest.$ac_ext <<_ACEOF
28365 /* end confdefs.h.  */
28366
28367 /* Override any gcc2 internal prototype to avoid an error.  */
28368 #ifdef __cplusplus
28369 extern "C"
28370 #endif
28371 /* We use char because int might match the return type of a gcc2
28372    builtin and then its argument prototype would still apply.  */
28373 char csqrtl ();
28374 int
28375 main ()
28376 {
28377 csqrtl ();
28378   ;
28379   return 0;
28380 }
28381 _ACEOF
28382 rm -f conftest.$ac_objext conftest$ac_exeext
28383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28384   (eval $ac_link) 2>conftest.er1
28385   ac_status=$?
28386   grep -v '^ *+' conftest.er1 >conftest.err
28387   rm -f conftest.er1
28388   cat conftest.err >&5
28389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390   (exit $ac_status); } &&
28391          { ac_try='test -z "$ac_c_werror_flag"
28392                          || test ! -s conftest.err'
28393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394   (eval $ac_try) 2>&5
28395   ac_status=$?
28396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397   (exit $ac_status); }; } &&
28398          { ac_try='test -s conftest$ac_exeext'
28399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400   (eval $ac_try) 2>&5
28401   ac_status=$?
28402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403   (exit $ac_status); }; }; then
28404   ac_cv_lib_m_csqrtl=yes
28405 else
28406   echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28408
28409 ac_cv_lib_m_csqrtl=no
28410 fi
28411 rm -f conftest.err conftest.$ac_objext \
28412       conftest$ac_exeext conftest.$ac_ext
28413 LIBS=$ac_check_lib_save_LIBS
28414 fi
28415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28416 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28417 if test $ac_cv_lib_m_csqrtl = yes; then
28418
28419 cat >>confdefs.h <<\_ACEOF
28420 #define HAVE_CSQRTL 1
28421 _ACEOF
28422
28423 fi
28424
28425 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28426 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28427 if test "${ac_cv_lib_m_tanf+set}" = set; then
28428   echo $ECHO_N "(cached) $ECHO_C" >&6
28429 else
28430   ac_check_lib_save_LIBS=$LIBS
28431 LIBS="-lm  $LIBS"
28432 if test x$gcc_no_link = xyes; then
28433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28435    { (exit 1); exit 1; }; }
28436 fi
28437 cat >conftest.$ac_ext <<_ACEOF
28438 /* confdefs.h.  */
28439 _ACEOF
28440 cat confdefs.h >>conftest.$ac_ext
28441 cat >>conftest.$ac_ext <<_ACEOF
28442 /* end confdefs.h.  */
28443
28444 /* Override any gcc2 internal prototype to avoid an error.  */
28445 #ifdef __cplusplus
28446 extern "C"
28447 #endif
28448 /* We use char because int might match the return type of a gcc2
28449    builtin and then its argument prototype would still apply.  */
28450 char tanf ();
28451 int
28452 main ()
28453 {
28454 tanf ();
28455   ;
28456   return 0;
28457 }
28458 _ACEOF
28459 rm -f conftest.$ac_objext conftest$ac_exeext
28460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28461   (eval $ac_link) 2>conftest.er1
28462   ac_status=$?
28463   grep -v '^ *+' conftest.er1 >conftest.err
28464   rm -f conftest.er1
28465   cat conftest.err >&5
28466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467   (exit $ac_status); } &&
28468          { ac_try='test -z "$ac_c_werror_flag"
28469                          || test ! -s conftest.err'
28470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471   (eval $ac_try) 2>&5
28472   ac_status=$?
28473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474   (exit $ac_status); }; } &&
28475          { ac_try='test -s conftest$ac_exeext'
28476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477   (eval $ac_try) 2>&5
28478   ac_status=$?
28479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480   (exit $ac_status); }; }; then
28481   ac_cv_lib_m_tanf=yes
28482 else
28483   echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28485
28486 ac_cv_lib_m_tanf=no
28487 fi
28488 rm -f conftest.err conftest.$ac_objext \
28489       conftest$ac_exeext conftest.$ac_ext
28490 LIBS=$ac_check_lib_save_LIBS
28491 fi
28492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28493 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28494 if test $ac_cv_lib_m_tanf = yes; then
28495
28496 cat >>confdefs.h <<\_ACEOF
28497 #define HAVE_TANF 1
28498 _ACEOF
28499
28500 fi
28501
28502 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28503 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28504 if test "${ac_cv_lib_m_tan+set}" = set; then
28505   echo $ECHO_N "(cached) $ECHO_C" >&6
28506 else
28507   ac_check_lib_save_LIBS=$LIBS
28508 LIBS="-lm  $LIBS"
28509 if test x$gcc_no_link = xyes; then
28510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28512    { (exit 1); exit 1; }; }
28513 fi
28514 cat >conftest.$ac_ext <<_ACEOF
28515 /* confdefs.h.  */
28516 _ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h.  */
28520
28521 /* Override any gcc2 internal prototype to avoid an error.  */
28522 #ifdef __cplusplus
28523 extern "C"
28524 #endif
28525 /* We use char because int might match the return type of a gcc2
28526    builtin and then its argument prototype would still apply.  */
28527 char tan ();
28528 int
28529 main ()
28530 {
28531 tan ();
28532   ;
28533   return 0;
28534 }
28535 _ACEOF
28536 rm -f conftest.$ac_objext conftest$ac_exeext
28537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538   (eval $ac_link) 2>conftest.er1
28539   ac_status=$?
28540   grep -v '^ *+' conftest.er1 >conftest.err
28541   rm -f conftest.er1
28542   cat conftest.err >&5
28543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544   (exit $ac_status); } &&
28545          { ac_try='test -z "$ac_c_werror_flag"
28546                          || test ! -s conftest.err'
28547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548   (eval $ac_try) 2>&5
28549   ac_status=$?
28550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551   (exit $ac_status); }; } &&
28552          { ac_try='test -s conftest$ac_exeext'
28553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554   (eval $ac_try) 2>&5
28555   ac_status=$?
28556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557   (exit $ac_status); }; }; then
28558   ac_cv_lib_m_tan=yes
28559 else
28560   echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.$ac_ext >&5
28562
28563 ac_cv_lib_m_tan=no
28564 fi
28565 rm -f conftest.err conftest.$ac_objext \
28566       conftest$ac_exeext conftest.$ac_ext
28567 LIBS=$ac_check_lib_save_LIBS
28568 fi
28569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28570 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28571 if test $ac_cv_lib_m_tan = yes; then
28572
28573 cat >>confdefs.h <<\_ACEOF
28574 #define HAVE_TAN 1
28575 _ACEOF
28576
28577 fi
28578
28579 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28580 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28581 if test "${ac_cv_lib_m_tanl+set}" = set; then
28582   echo $ECHO_N "(cached) $ECHO_C" >&6
28583 else
28584   ac_check_lib_save_LIBS=$LIBS
28585 LIBS="-lm  $LIBS"
28586 if test x$gcc_no_link = xyes; then
28587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28589    { (exit 1); exit 1; }; }
28590 fi
28591 cat >conftest.$ac_ext <<_ACEOF
28592 /* confdefs.h.  */
28593 _ACEOF
28594 cat confdefs.h >>conftest.$ac_ext
28595 cat >>conftest.$ac_ext <<_ACEOF
28596 /* end confdefs.h.  */
28597
28598 /* Override any gcc2 internal prototype to avoid an error.  */
28599 #ifdef __cplusplus
28600 extern "C"
28601 #endif
28602 /* We use char because int might match the return type of a gcc2
28603    builtin and then its argument prototype would still apply.  */
28604 char tanl ();
28605 int
28606 main ()
28607 {
28608 tanl ();
28609   ;
28610   return 0;
28611 }
28612 _ACEOF
28613 rm -f conftest.$ac_objext conftest$ac_exeext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28615   (eval $ac_link) 2>conftest.er1
28616   ac_status=$?
28617   grep -v '^ *+' conftest.er1 >conftest.err
28618   rm -f conftest.er1
28619   cat conftest.err >&5
28620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621   (exit $ac_status); } &&
28622          { ac_try='test -z "$ac_c_werror_flag"
28623                          || test ! -s conftest.err'
28624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625   (eval $ac_try) 2>&5
28626   ac_status=$?
28627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628   (exit $ac_status); }; } &&
28629          { ac_try='test -s conftest$ac_exeext'
28630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28631   (eval $ac_try) 2>&5
28632   ac_status=$?
28633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634   (exit $ac_status); }; }; then
28635   ac_cv_lib_m_tanl=yes
28636 else
28637   echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28639
28640 ac_cv_lib_m_tanl=no
28641 fi
28642 rm -f conftest.err conftest.$ac_objext \
28643       conftest$ac_exeext conftest.$ac_ext
28644 LIBS=$ac_check_lib_save_LIBS
28645 fi
28646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28647 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28648 if test $ac_cv_lib_m_tanl = yes; then
28649
28650 cat >>confdefs.h <<\_ACEOF
28651 #define HAVE_TANL 1
28652 _ACEOF
28653
28654 fi
28655
28656 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28657 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28658 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28659   echo $ECHO_N "(cached) $ECHO_C" >&6
28660 else
28661   ac_check_lib_save_LIBS=$LIBS
28662 LIBS="-lm  $LIBS"
28663 if test x$gcc_no_link = xyes; then
28664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28666    { (exit 1); exit 1; }; }
28667 fi
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h.  */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h.  */
28674
28675 /* Override any gcc2 internal prototype to avoid an error.  */
28676 #ifdef __cplusplus
28677 extern "C"
28678 #endif
28679 /* We use char because int might match the return type of a gcc2
28680    builtin and then its argument prototype would still apply.  */
28681 char ctanf ();
28682 int
28683 main ()
28684 {
28685 ctanf ();
28686   ;
28687   return 0;
28688 }
28689 _ACEOF
28690 rm -f conftest.$ac_objext conftest$ac_exeext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28692   (eval $ac_link) 2>conftest.er1
28693   ac_status=$?
28694   grep -v '^ *+' conftest.er1 >conftest.err
28695   rm -f conftest.er1
28696   cat conftest.err >&5
28697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698   (exit $ac_status); } &&
28699          { ac_try='test -z "$ac_c_werror_flag"
28700                          || test ! -s conftest.err'
28701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702   (eval $ac_try) 2>&5
28703   ac_status=$?
28704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705   (exit $ac_status); }; } &&
28706          { ac_try='test -s conftest$ac_exeext'
28707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708   (eval $ac_try) 2>&5
28709   ac_status=$?
28710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711   (exit $ac_status); }; }; then
28712   ac_cv_lib_m_ctanf=yes
28713 else
28714   echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 ac_cv_lib_m_ctanf=no
28718 fi
28719 rm -f conftest.err conftest.$ac_objext \
28720       conftest$ac_exeext conftest.$ac_ext
28721 LIBS=$ac_check_lib_save_LIBS
28722 fi
28723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28724 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28725 if test $ac_cv_lib_m_ctanf = yes; then
28726
28727 cat >>confdefs.h <<\_ACEOF
28728 #define HAVE_CTANF 1
28729 _ACEOF
28730
28731 fi
28732
28733 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28734 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28735 if test "${ac_cv_lib_m_ctan+set}" = set; then
28736   echo $ECHO_N "(cached) $ECHO_C" >&6
28737 else
28738   ac_check_lib_save_LIBS=$LIBS
28739 LIBS="-lm  $LIBS"
28740 if test x$gcc_no_link = xyes; then
28741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28743    { (exit 1); exit 1; }; }
28744 fi
28745 cat >conftest.$ac_ext <<_ACEOF
28746 /* confdefs.h.  */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h.  */
28751
28752 /* Override any gcc2 internal prototype to avoid an error.  */
28753 #ifdef __cplusplus
28754 extern "C"
28755 #endif
28756 /* We use char because int might match the return type of a gcc2
28757    builtin and then its argument prototype would still apply.  */
28758 char ctan ();
28759 int
28760 main ()
28761 {
28762 ctan ();
28763   ;
28764   return 0;
28765 }
28766 _ACEOF
28767 rm -f conftest.$ac_objext conftest$ac_exeext
28768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28769   (eval $ac_link) 2>conftest.er1
28770   ac_status=$?
28771   grep -v '^ *+' conftest.er1 >conftest.err
28772   rm -f conftest.er1
28773   cat conftest.err >&5
28774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775   (exit $ac_status); } &&
28776          { ac_try='test -z "$ac_c_werror_flag"
28777                          || test ! -s conftest.err'
28778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779   (eval $ac_try) 2>&5
28780   ac_status=$?
28781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782   (exit $ac_status); }; } &&
28783          { ac_try='test -s conftest$ac_exeext'
28784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785   (eval $ac_try) 2>&5
28786   ac_status=$?
28787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788   (exit $ac_status); }; }; then
28789   ac_cv_lib_m_ctan=yes
28790 else
28791   echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.$ac_ext >&5
28793
28794 ac_cv_lib_m_ctan=no
28795 fi
28796 rm -f conftest.err conftest.$ac_objext \
28797       conftest$ac_exeext conftest.$ac_ext
28798 LIBS=$ac_check_lib_save_LIBS
28799 fi
28800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28801 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28802 if test $ac_cv_lib_m_ctan = yes; then
28803
28804 cat >>confdefs.h <<\_ACEOF
28805 #define HAVE_CTAN 1
28806 _ACEOF
28807
28808 fi
28809
28810 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28811 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28812 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28813   echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815   ac_check_lib_save_LIBS=$LIBS
28816 LIBS="-lm  $LIBS"
28817 if test x$gcc_no_link = xyes; then
28818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28820    { (exit 1); exit 1; }; }
28821 fi
28822 cat >conftest.$ac_ext <<_ACEOF
28823 /* confdefs.h.  */
28824 _ACEOF
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h.  */
28828
28829 /* Override any gcc2 internal prototype to avoid an error.  */
28830 #ifdef __cplusplus
28831 extern "C"
28832 #endif
28833 /* We use char because int might match the return type of a gcc2
28834    builtin and then its argument prototype would still apply.  */
28835 char ctanl ();
28836 int
28837 main ()
28838 {
28839 ctanl ();
28840   ;
28841   return 0;
28842 }
28843 _ACEOF
28844 rm -f conftest.$ac_objext conftest$ac_exeext
28845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28846   (eval $ac_link) 2>conftest.er1
28847   ac_status=$?
28848   grep -v '^ *+' conftest.er1 >conftest.err
28849   rm -f conftest.er1
28850   cat conftest.err >&5
28851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852   (exit $ac_status); } &&
28853          { ac_try='test -z "$ac_c_werror_flag"
28854                          || test ! -s conftest.err'
28855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856   (eval $ac_try) 2>&5
28857   ac_status=$?
28858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859   (exit $ac_status); }; } &&
28860          { ac_try='test -s conftest$ac_exeext'
28861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862   (eval $ac_try) 2>&5
28863   ac_status=$?
28864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865   (exit $ac_status); }; }; then
28866   ac_cv_lib_m_ctanl=yes
28867 else
28868   echo "$as_me: failed program was:" >&5
28869 sed 's/^/| /' conftest.$ac_ext >&5
28870
28871 ac_cv_lib_m_ctanl=no
28872 fi
28873 rm -f conftest.err conftest.$ac_objext \
28874       conftest$ac_exeext conftest.$ac_ext
28875 LIBS=$ac_check_lib_save_LIBS
28876 fi
28877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28878 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28879 if test $ac_cv_lib_m_ctanl = yes; then
28880
28881 cat >>confdefs.h <<\_ACEOF
28882 #define HAVE_CTANL 1
28883 _ACEOF
28884
28885 fi
28886
28887 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28888 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28889 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28890   echo $ECHO_N "(cached) $ECHO_C" >&6
28891 else
28892   ac_check_lib_save_LIBS=$LIBS
28893 LIBS="-lm  $LIBS"
28894 if test x$gcc_no_link = xyes; then
28895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28897    { (exit 1); exit 1; }; }
28898 fi
28899 cat >conftest.$ac_ext <<_ACEOF
28900 /* confdefs.h.  */
28901 _ACEOF
28902 cat confdefs.h >>conftest.$ac_ext
28903 cat >>conftest.$ac_ext <<_ACEOF
28904 /* end confdefs.h.  */
28905
28906 /* Override any gcc2 internal prototype to avoid an error.  */
28907 #ifdef __cplusplus
28908 extern "C"
28909 #endif
28910 /* We use char because int might match the return type of a gcc2
28911    builtin and then its argument prototype would still apply.  */
28912 char tanhf ();
28913 int
28914 main ()
28915 {
28916 tanhf ();
28917   ;
28918   return 0;
28919 }
28920 _ACEOF
28921 rm -f conftest.$ac_objext conftest$ac_exeext
28922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28923   (eval $ac_link) 2>conftest.er1
28924   ac_status=$?
28925   grep -v '^ *+' conftest.er1 >conftest.err
28926   rm -f conftest.er1
28927   cat conftest.err >&5
28928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929   (exit $ac_status); } &&
28930          { ac_try='test -z "$ac_c_werror_flag"
28931                          || test ! -s conftest.err'
28932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933   (eval $ac_try) 2>&5
28934   ac_status=$?
28935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936   (exit $ac_status); }; } &&
28937          { ac_try='test -s conftest$ac_exeext'
28938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28939   (eval $ac_try) 2>&5
28940   ac_status=$?
28941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942   (exit $ac_status); }; }; then
28943   ac_cv_lib_m_tanhf=yes
28944 else
28945   echo "$as_me: failed program was:" >&5
28946 sed 's/^/| /' conftest.$ac_ext >&5
28947
28948 ac_cv_lib_m_tanhf=no
28949 fi
28950 rm -f conftest.err conftest.$ac_objext \
28951       conftest$ac_exeext conftest.$ac_ext
28952 LIBS=$ac_check_lib_save_LIBS
28953 fi
28954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28955 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28956 if test $ac_cv_lib_m_tanhf = yes; then
28957
28958 cat >>confdefs.h <<\_ACEOF
28959 #define HAVE_TANHF 1
28960 _ACEOF
28961
28962 fi
28963
28964 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28965 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28966 if test "${ac_cv_lib_m_tanh+set}" = set; then
28967   echo $ECHO_N "(cached) $ECHO_C" >&6
28968 else
28969   ac_check_lib_save_LIBS=$LIBS
28970 LIBS="-lm  $LIBS"
28971 if test x$gcc_no_link = xyes; then
28972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28974    { (exit 1); exit 1; }; }
28975 fi
28976 cat >conftest.$ac_ext <<_ACEOF
28977 /* confdefs.h.  */
28978 _ACEOF
28979 cat confdefs.h >>conftest.$ac_ext
28980 cat >>conftest.$ac_ext <<_ACEOF
28981 /* end confdefs.h.  */
28982
28983 /* Override any gcc2 internal prototype to avoid an error.  */
28984 #ifdef __cplusplus
28985 extern "C"
28986 #endif
28987 /* We use char because int might match the return type of a gcc2
28988    builtin and then its argument prototype would still apply.  */
28989 char tanh ();
28990 int
28991 main ()
28992 {
28993 tanh ();
28994   ;
28995   return 0;
28996 }
28997 _ACEOF
28998 rm -f conftest.$ac_objext conftest$ac_exeext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29000   (eval $ac_link) 2>conftest.er1
29001   ac_status=$?
29002   grep -v '^ *+' conftest.er1 >conftest.err
29003   rm -f conftest.er1
29004   cat conftest.err >&5
29005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006   (exit $ac_status); } &&
29007          { ac_try='test -z "$ac_c_werror_flag"
29008                          || test ! -s conftest.err'
29009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010   (eval $ac_try) 2>&5
29011   ac_status=$?
29012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013   (exit $ac_status); }; } &&
29014          { ac_try='test -s conftest$ac_exeext'
29015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016   (eval $ac_try) 2>&5
29017   ac_status=$?
29018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019   (exit $ac_status); }; }; then
29020   ac_cv_lib_m_tanh=yes
29021 else
29022   echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 ac_cv_lib_m_tanh=no
29026 fi
29027 rm -f conftest.err conftest.$ac_objext \
29028       conftest$ac_exeext conftest.$ac_ext
29029 LIBS=$ac_check_lib_save_LIBS
29030 fi
29031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29032 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29033 if test $ac_cv_lib_m_tanh = yes; then
29034
29035 cat >>confdefs.h <<\_ACEOF
29036 #define HAVE_TANH 1
29037 _ACEOF
29038
29039 fi
29040
29041 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29042 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29043 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29044   echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046   ac_check_lib_save_LIBS=$LIBS
29047 LIBS="-lm  $LIBS"
29048 if test x$gcc_no_link = xyes; then
29049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29051    { (exit 1); exit 1; }; }
29052 fi
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h.  */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h.  */
29059
29060 /* Override any gcc2 internal prototype to avoid an error.  */
29061 #ifdef __cplusplus
29062 extern "C"
29063 #endif
29064 /* We use char because int might match the return type of a gcc2
29065    builtin and then its argument prototype would still apply.  */
29066 char tanhl ();
29067 int
29068 main ()
29069 {
29070 tanhl ();
29071   ;
29072   return 0;
29073 }
29074 _ACEOF
29075 rm -f conftest.$ac_objext conftest$ac_exeext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29077   (eval $ac_link) 2>conftest.er1
29078   ac_status=$?
29079   grep -v '^ *+' conftest.er1 >conftest.err
29080   rm -f conftest.er1
29081   cat conftest.err >&5
29082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083   (exit $ac_status); } &&
29084          { ac_try='test -z "$ac_c_werror_flag"
29085                          || test ! -s conftest.err'
29086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087   (eval $ac_try) 2>&5
29088   ac_status=$?
29089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090   (exit $ac_status); }; } &&
29091          { ac_try='test -s conftest$ac_exeext'
29092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093   (eval $ac_try) 2>&5
29094   ac_status=$?
29095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096   (exit $ac_status); }; }; then
29097   ac_cv_lib_m_tanhl=yes
29098 else
29099   echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102 ac_cv_lib_m_tanhl=no
29103 fi
29104 rm -f conftest.err conftest.$ac_objext \
29105       conftest$ac_exeext conftest.$ac_ext
29106 LIBS=$ac_check_lib_save_LIBS
29107 fi
29108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29109 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29110 if test $ac_cv_lib_m_tanhl = yes; then
29111
29112 cat >>confdefs.h <<\_ACEOF
29113 #define HAVE_TANHL 1
29114 _ACEOF
29115
29116 fi
29117
29118 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29119 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29120 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29121   echo $ECHO_N "(cached) $ECHO_C" >&6
29122 else
29123   ac_check_lib_save_LIBS=$LIBS
29124 LIBS="-lm  $LIBS"
29125 if test x$gcc_no_link = xyes; then
29126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29128    { (exit 1); exit 1; }; }
29129 fi
29130 cat >conftest.$ac_ext <<_ACEOF
29131 /* confdefs.h.  */
29132 _ACEOF
29133 cat confdefs.h >>conftest.$ac_ext
29134 cat >>conftest.$ac_ext <<_ACEOF
29135 /* end confdefs.h.  */
29136
29137 /* Override any gcc2 internal prototype to avoid an error.  */
29138 #ifdef __cplusplus
29139 extern "C"
29140 #endif
29141 /* We use char because int might match the return type of a gcc2
29142    builtin and then its argument prototype would still apply.  */
29143 char ctanhf ();
29144 int
29145 main ()
29146 {
29147 ctanhf ();
29148   ;
29149   return 0;
29150 }
29151 _ACEOF
29152 rm -f conftest.$ac_objext conftest$ac_exeext
29153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29154   (eval $ac_link) 2>conftest.er1
29155   ac_status=$?
29156   grep -v '^ *+' conftest.er1 >conftest.err
29157   rm -f conftest.er1
29158   cat conftest.err >&5
29159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160   (exit $ac_status); } &&
29161          { ac_try='test -z "$ac_c_werror_flag"
29162                          || test ! -s conftest.err'
29163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164   (eval $ac_try) 2>&5
29165   ac_status=$?
29166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167   (exit $ac_status); }; } &&
29168          { ac_try='test -s conftest$ac_exeext'
29169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170   (eval $ac_try) 2>&5
29171   ac_status=$?
29172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173   (exit $ac_status); }; }; then
29174   ac_cv_lib_m_ctanhf=yes
29175 else
29176   echo "$as_me: failed program was:" >&5
29177 sed 's/^/| /' conftest.$ac_ext >&5
29178
29179 ac_cv_lib_m_ctanhf=no
29180 fi
29181 rm -f conftest.err conftest.$ac_objext \
29182       conftest$ac_exeext conftest.$ac_ext
29183 LIBS=$ac_check_lib_save_LIBS
29184 fi
29185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29186 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29187 if test $ac_cv_lib_m_ctanhf = yes; then
29188
29189 cat >>confdefs.h <<\_ACEOF
29190 #define HAVE_CTANHF 1
29191 _ACEOF
29192
29193 fi
29194
29195 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29196 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29197 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29198   echo $ECHO_N "(cached) $ECHO_C" >&6
29199 else
29200   ac_check_lib_save_LIBS=$LIBS
29201 LIBS="-lm  $LIBS"
29202 if test x$gcc_no_link = xyes; then
29203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29205    { (exit 1); exit 1; }; }
29206 fi
29207 cat >conftest.$ac_ext <<_ACEOF
29208 /* confdefs.h.  */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h.  */
29213
29214 /* Override any gcc2 internal prototype to avoid an error.  */
29215 #ifdef __cplusplus
29216 extern "C"
29217 #endif
29218 /* We use char because int might match the return type of a gcc2
29219    builtin and then its argument prototype would still apply.  */
29220 char ctanh ();
29221 int
29222 main ()
29223 {
29224 ctanh ();
29225   ;
29226   return 0;
29227 }
29228 _ACEOF
29229 rm -f conftest.$ac_objext conftest$ac_exeext
29230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29231   (eval $ac_link) 2>conftest.er1
29232   ac_status=$?
29233   grep -v '^ *+' conftest.er1 >conftest.err
29234   rm -f conftest.er1
29235   cat conftest.err >&5
29236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237   (exit $ac_status); } &&
29238          { ac_try='test -z "$ac_c_werror_flag"
29239                          || test ! -s conftest.err'
29240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241   (eval $ac_try) 2>&5
29242   ac_status=$?
29243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244   (exit $ac_status); }; } &&
29245          { ac_try='test -s conftest$ac_exeext'
29246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247   (eval $ac_try) 2>&5
29248   ac_status=$?
29249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250   (exit $ac_status); }; }; then
29251   ac_cv_lib_m_ctanh=yes
29252 else
29253   echo "$as_me: failed program was:" >&5
29254 sed 's/^/| /' conftest.$ac_ext >&5
29255
29256 ac_cv_lib_m_ctanh=no
29257 fi
29258 rm -f conftest.err conftest.$ac_objext \
29259       conftest$ac_exeext conftest.$ac_ext
29260 LIBS=$ac_check_lib_save_LIBS
29261 fi
29262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29263 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29264 if test $ac_cv_lib_m_ctanh = yes; then
29265
29266 cat >>confdefs.h <<\_ACEOF
29267 #define HAVE_CTANH 1
29268 _ACEOF
29269
29270 fi
29271
29272 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29273 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29274 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29275   echo $ECHO_N "(cached) $ECHO_C" >&6
29276 else
29277   ac_check_lib_save_LIBS=$LIBS
29278 LIBS="-lm  $LIBS"
29279 if test x$gcc_no_link = xyes; then
29280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29282    { (exit 1); exit 1; }; }
29283 fi
29284 cat >conftest.$ac_ext <<_ACEOF
29285 /* confdefs.h.  */
29286 _ACEOF
29287 cat confdefs.h >>conftest.$ac_ext
29288 cat >>conftest.$ac_ext <<_ACEOF
29289 /* end confdefs.h.  */
29290
29291 /* Override any gcc2 internal prototype to avoid an error.  */
29292 #ifdef __cplusplus
29293 extern "C"
29294 #endif
29295 /* We use char because int might match the return type of a gcc2
29296    builtin and then its argument prototype would still apply.  */
29297 char ctanhl ();
29298 int
29299 main ()
29300 {
29301 ctanhl ();
29302   ;
29303   return 0;
29304 }
29305 _ACEOF
29306 rm -f conftest.$ac_objext conftest$ac_exeext
29307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29308   (eval $ac_link) 2>conftest.er1
29309   ac_status=$?
29310   grep -v '^ *+' conftest.er1 >conftest.err
29311   rm -f conftest.er1
29312   cat conftest.err >&5
29313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314   (exit $ac_status); } &&
29315          { ac_try='test -z "$ac_c_werror_flag"
29316                          || test ! -s conftest.err'
29317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318   (eval $ac_try) 2>&5
29319   ac_status=$?
29320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321   (exit $ac_status); }; } &&
29322          { ac_try='test -s conftest$ac_exeext'
29323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324   (eval $ac_try) 2>&5
29325   ac_status=$?
29326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327   (exit $ac_status); }; }; then
29328   ac_cv_lib_m_ctanhl=yes
29329 else
29330   echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29332
29333 ac_cv_lib_m_ctanhl=no
29334 fi
29335 rm -f conftest.err conftest.$ac_objext \
29336       conftest$ac_exeext conftest.$ac_ext
29337 LIBS=$ac_check_lib_save_LIBS
29338 fi
29339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29340 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29341 if test $ac_cv_lib_m_ctanhl = yes; then
29342
29343 cat >>confdefs.h <<\_ACEOF
29344 #define HAVE_CTANHL 1
29345 _ACEOF
29346
29347 fi
29348
29349 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29350 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29351 if test "${ac_cv_lib_m_truncf+set}" = set; then
29352   echo $ECHO_N "(cached) $ECHO_C" >&6
29353 else
29354   ac_check_lib_save_LIBS=$LIBS
29355 LIBS="-lm  $LIBS"
29356 if test x$gcc_no_link = xyes; then
29357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29359    { (exit 1); exit 1; }; }
29360 fi
29361 cat >conftest.$ac_ext <<_ACEOF
29362 /* confdefs.h.  */
29363 _ACEOF
29364 cat confdefs.h >>conftest.$ac_ext
29365 cat >>conftest.$ac_ext <<_ACEOF
29366 /* end confdefs.h.  */
29367
29368 /* Override any gcc2 internal prototype to avoid an error.  */
29369 #ifdef __cplusplus
29370 extern "C"
29371 #endif
29372 /* We use char because int might match the return type of a gcc2
29373    builtin and then its argument prototype would still apply.  */
29374 char truncf ();
29375 int
29376 main ()
29377 {
29378 truncf ();
29379   ;
29380   return 0;
29381 }
29382 _ACEOF
29383 rm -f conftest.$ac_objext conftest$ac_exeext
29384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29385   (eval $ac_link) 2>conftest.er1
29386   ac_status=$?
29387   grep -v '^ *+' conftest.er1 >conftest.err
29388   rm -f conftest.er1
29389   cat conftest.err >&5
29390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391   (exit $ac_status); } &&
29392          { ac_try='test -z "$ac_c_werror_flag"
29393                          || test ! -s conftest.err'
29394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395   (eval $ac_try) 2>&5
29396   ac_status=$?
29397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398   (exit $ac_status); }; } &&
29399          { ac_try='test -s conftest$ac_exeext'
29400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401   (eval $ac_try) 2>&5
29402   ac_status=$?
29403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404   (exit $ac_status); }; }; then
29405   ac_cv_lib_m_truncf=yes
29406 else
29407   echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29409
29410 ac_cv_lib_m_truncf=no
29411 fi
29412 rm -f conftest.err conftest.$ac_objext \
29413       conftest$ac_exeext conftest.$ac_ext
29414 LIBS=$ac_check_lib_save_LIBS
29415 fi
29416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29417 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29418 if test $ac_cv_lib_m_truncf = yes; then
29419
29420 cat >>confdefs.h <<\_ACEOF
29421 #define HAVE_TRUNCF 1
29422 _ACEOF
29423
29424 fi
29425
29426 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29427 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29428 if test "${ac_cv_lib_m_trunc+set}" = set; then
29429   echo $ECHO_N "(cached) $ECHO_C" >&6
29430 else
29431   ac_check_lib_save_LIBS=$LIBS
29432 LIBS="-lm  $LIBS"
29433 if test x$gcc_no_link = xyes; then
29434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29436    { (exit 1); exit 1; }; }
29437 fi
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h.  */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h.  */
29444
29445 /* Override any gcc2 internal prototype to avoid an error.  */
29446 #ifdef __cplusplus
29447 extern "C"
29448 #endif
29449 /* We use char because int might match the return type of a gcc2
29450    builtin and then its argument prototype would still apply.  */
29451 char trunc ();
29452 int
29453 main ()
29454 {
29455 trunc ();
29456   ;
29457   return 0;
29458 }
29459 _ACEOF
29460 rm -f conftest.$ac_objext conftest$ac_exeext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29462   (eval $ac_link) 2>conftest.er1
29463   ac_status=$?
29464   grep -v '^ *+' conftest.er1 >conftest.err
29465   rm -f conftest.er1
29466   cat conftest.err >&5
29467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468   (exit $ac_status); } &&
29469          { ac_try='test -z "$ac_c_werror_flag"
29470                          || test ! -s conftest.err'
29471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472   (eval $ac_try) 2>&5
29473   ac_status=$?
29474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475   (exit $ac_status); }; } &&
29476          { ac_try='test -s conftest$ac_exeext'
29477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478   (eval $ac_try) 2>&5
29479   ac_status=$?
29480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481   (exit $ac_status); }; }; then
29482   ac_cv_lib_m_trunc=yes
29483 else
29484   echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487 ac_cv_lib_m_trunc=no
29488 fi
29489 rm -f conftest.err conftest.$ac_objext \
29490       conftest$ac_exeext conftest.$ac_ext
29491 LIBS=$ac_check_lib_save_LIBS
29492 fi
29493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29494 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29495 if test $ac_cv_lib_m_trunc = yes; then
29496
29497 cat >>confdefs.h <<\_ACEOF
29498 #define HAVE_TRUNC 1
29499 _ACEOF
29500
29501 fi
29502
29503 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29504 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29505 if test "${ac_cv_lib_m_truncl+set}" = set; then
29506   echo $ECHO_N "(cached) $ECHO_C" >&6
29507 else
29508   ac_check_lib_save_LIBS=$LIBS
29509 LIBS="-lm  $LIBS"
29510 if test x$gcc_no_link = xyes; then
29511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29513    { (exit 1); exit 1; }; }
29514 fi
29515 cat >conftest.$ac_ext <<_ACEOF
29516 /* confdefs.h.  */
29517 _ACEOF
29518 cat confdefs.h >>conftest.$ac_ext
29519 cat >>conftest.$ac_ext <<_ACEOF
29520 /* end confdefs.h.  */
29521
29522 /* Override any gcc2 internal prototype to avoid an error.  */
29523 #ifdef __cplusplus
29524 extern "C"
29525 #endif
29526 /* We use char because int might match the return type of a gcc2
29527    builtin and then its argument prototype would still apply.  */
29528 char truncl ();
29529 int
29530 main ()
29531 {
29532 truncl ();
29533   ;
29534   return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29539   (eval $ac_link) 2>conftest.er1
29540   ac_status=$?
29541   grep -v '^ *+' conftest.er1 >conftest.err
29542   rm -f conftest.er1
29543   cat conftest.err >&5
29544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545   (exit $ac_status); } &&
29546          { ac_try='test -z "$ac_c_werror_flag"
29547                          || test ! -s conftest.err'
29548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29549   (eval $ac_try) 2>&5
29550   ac_status=$?
29551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552   (exit $ac_status); }; } &&
29553          { ac_try='test -s conftest$ac_exeext'
29554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555   (eval $ac_try) 2>&5
29556   ac_status=$?
29557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558   (exit $ac_status); }; }; then
29559   ac_cv_lib_m_truncl=yes
29560 else
29561   echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.$ac_ext >&5
29563
29564 ac_cv_lib_m_truncl=no
29565 fi
29566 rm -f conftest.err conftest.$ac_objext \
29567       conftest$ac_exeext conftest.$ac_ext
29568 LIBS=$ac_check_lib_save_LIBS
29569 fi
29570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29571 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29572 if test $ac_cv_lib_m_truncl = yes; then
29573
29574 cat >>confdefs.h <<\_ACEOF
29575 #define HAVE_TRUNCL 1
29576 _ACEOF
29577
29578 fi
29579
29580 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29581 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29582 if test "${ac_cv_lib_m_erff+set}" = set; then
29583   echo $ECHO_N "(cached) $ECHO_C" >&6
29584 else
29585   ac_check_lib_save_LIBS=$LIBS
29586 LIBS="-lm  $LIBS"
29587 if test x$gcc_no_link = xyes; then
29588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29590    { (exit 1); exit 1; }; }
29591 fi
29592 cat >conftest.$ac_ext <<_ACEOF
29593 /* confdefs.h.  */
29594 _ACEOF
29595 cat confdefs.h >>conftest.$ac_ext
29596 cat >>conftest.$ac_ext <<_ACEOF
29597 /* end confdefs.h.  */
29598
29599 /* Override any gcc2 internal prototype to avoid an error.  */
29600 #ifdef __cplusplus
29601 extern "C"
29602 #endif
29603 /* We use char because int might match the return type of a gcc2
29604    builtin and then its argument prototype would still apply.  */
29605 char erff ();
29606 int
29607 main ()
29608 {
29609 erff ();
29610   ;
29611   return 0;
29612 }
29613 _ACEOF
29614 rm -f conftest.$ac_objext conftest$ac_exeext
29615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29616   (eval $ac_link) 2>conftest.er1
29617   ac_status=$?
29618   grep -v '^ *+' conftest.er1 >conftest.err
29619   rm -f conftest.er1
29620   cat conftest.err >&5
29621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622   (exit $ac_status); } &&
29623          { ac_try='test -z "$ac_c_werror_flag"
29624                          || test ! -s conftest.err'
29625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626   (eval $ac_try) 2>&5
29627   ac_status=$?
29628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629   (exit $ac_status); }; } &&
29630          { ac_try='test -s conftest$ac_exeext'
29631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632   (eval $ac_try) 2>&5
29633   ac_status=$?
29634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635   (exit $ac_status); }; }; then
29636   ac_cv_lib_m_erff=yes
29637 else
29638   echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29640
29641 ac_cv_lib_m_erff=no
29642 fi
29643 rm -f conftest.err conftest.$ac_objext \
29644       conftest$ac_exeext conftest.$ac_ext
29645 LIBS=$ac_check_lib_save_LIBS
29646 fi
29647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29648 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29649 if test $ac_cv_lib_m_erff = yes; then
29650
29651 cat >>confdefs.h <<\_ACEOF
29652 #define HAVE_ERFF 1
29653 _ACEOF
29654
29655 fi
29656
29657 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29658 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29659 if test "${ac_cv_lib_m_erf+set}" = set; then
29660   echo $ECHO_N "(cached) $ECHO_C" >&6
29661 else
29662   ac_check_lib_save_LIBS=$LIBS
29663 LIBS="-lm  $LIBS"
29664 if test x$gcc_no_link = xyes; then
29665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29667    { (exit 1); exit 1; }; }
29668 fi
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h.  */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h.  */
29675
29676 /* Override any gcc2 internal prototype to avoid an error.  */
29677 #ifdef __cplusplus
29678 extern "C"
29679 #endif
29680 /* We use char because int might match the return type of a gcc2
29681    builtin and then its argument prototype would still apply.  */
29682 char erf ();
29683 int
29684 main ()
29685 {
29686 erf ();
29687   ;
29688   return 0;
29689 }
29690 _ACEOF
29691 rm -f conftest.$ac_objext conftest$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693   (eval $ac_link) 2>conftest.er1
29694   ac_status=$?
29695   grep -v '^ *+' conftest.er1 >conftest.err
29696   rm -f conftest.er1
29697   cat conftest.err >&5
29698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699   (exit $ac_status); } &&
29700          { ac_try='test -z "$ac_c_werror_flag"
29701                          || test ! -s conftest.err'
29702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703   (eval $ac_try) 2>&5
29704   ac_status=$?
29705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706   (exit $ac_status); }; } &&
29707          { ac_try='test -s conftest$ac_exeext'
29708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709   (eval $ac_try) 2>&5
29710   ac_status=$?
29711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712   (exit $ac_status); }; }; then
29713   ac_cv_lib_m_erf=yes
29714 else
29715   echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29717
29718 ac_cv_lib_m_erf=no
29719 fi
29720 rm -f conftest.err conftest.$ac_objext \
29721       conftest$ac_exeext conftest.$ac_ext
29722 LIBS=$ac_check_lib_save_LIBS
29723 fi
29724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29725 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29726 if test $ac_cv_lib_m_erf = yes; then
29727
29728 cat >>confdefs.h <<\_ACEOF
29729 #define HAVE_ERF 1
29730 _ACEOF
29731
29732 fi
29733
29734 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29735 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29736 if test "${ac_cv_lib_m_erfl+set}" = set; then
29737   echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29739   ac_check_lib_save_LIBS=$LIBS
29740 LIBS="-lm  $LIBS"
29741 if test x$gcc_no_link = xyes; then
29742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29744    { (exit 1); exit 1; }; }
29745 fi
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h.  */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h.  */
29752
29753 /* Override any gcc2 internal prototype to avoid an error.  */
29754 #ifdef __cplusplus
29755 extern "C"
29756 #endif
29757 /* We use char because int might match the return type of a gcc2
29758    builtin and then its argument prototype would still apply.  */
29759 char erfl ();
29760 int
29761 main ()
29762 {
29763 erfl ();
29764   ;
29765   return 0;
29766 }
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770   (eval $ac_link) 2>conftest.er1
29771   ac_status=$?
29772   grep -v '^ *+' conftest.er1 >conftest.err
29773   rm -f conftest.er1
29774   cat conftest.err >&5
29775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776   (exit $ac_status); } &&
29777          { ac_try='test -z "$ac_c_werror_flag"
29778                          || test ! -s conftest.err'
29779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780   (eval $ac_try) 2>&5
29781   ac_status=$?
29782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783   (exit $ac_status); }; } &&
29784          { ac_try='test -s conftest$ac_exeext'
29785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786   (eval $ac_try) 2>&5
29787   ac_status=$?
29788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789   (exit $ac_status); }; }; then
29790   ac_cv_lib_m_erfl=yes
29791 else
29792   echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 ac_cv_lib_m_erfl=no
29796 fi
29797 rm -f conftest.err conftest.$ac_objext \
29798       conftest$ac_exeext conftest.$ac_ext
29799 LIBS=$ac_check_lib_save_LIBS
29800 fi
29801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29802 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29803 if test $ac_cv_lib_m_erfl = yes; then
29804
29805 cat >>confdefs.h <<\_ACEOF
29806 #define HAVE_ERFL 1
29807 _ACEOF
29808
29809 fi
29810
29811 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29812 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29813 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29814   echo $ECHO_N "(cached) $ECHO_C" >&6
29815 else
29816   ac_check_lib_save_LIBS=$LIBS
29817 LIBS="-lm  $LIBS"
29818 if test x$gcc_no_link = xyes; then
29819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29821    { (exit 1); exit 1; }; }
29822 fi
29823 cat >conftest.$ac_ext <<_ACEOF
29824 /* confdefs.h.  */
29825 _ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h.  */
29829
29830 /* Override any gcc2 internal prototype to avoid an error.  */
29831 #ifdef __cplusplus
29832 extern "C"
29833 #endif
29834 /* We use char because int might match the return type of a gcc2
29835    builtin and then its argument prototype would still apply.  */
29836 char erfcf ();
29837 int
29838 main ()
29839 {
29840 erfcf ();
29841   ;
29842   return 0;
29843 }
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847   (eval $ac_link) 2>conftest.er1
29848   ac_status=$?
29849   grep -v '^ *+' conftest.er1 >conftest.err
29850   rm -f conftest.er1
29851   cat conftest.err >&5
29852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853   (exit $ac_status); } &&
29854          { ac_try='test -z "$ac_c_werror_flag"
29855                          || test ! -s conftest.err'
29856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857   (eval $ac_try) 2>&5
29858   ac_status=$?
29859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860   (exit $ac_status); }; } &&
29861          { ac_try='test -s conftest$ac_exeext'
29862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863   (eval $ac_try) 2>&5
29864   ac_status=$?
29865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866   (exit $ac_status); }; }; then
29867   ac_cv_lib_m_erfcf=yes
29868 else
29869   echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29871
29872 ac_cv_lib_m_erfcf=no
29873 fi
29874 rm -f conftest.err conftest.$ac_objext \
29875       conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29877 fi
29878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29879 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29880 if test $ac_cv_lib_m_erfcf = yes; then
29881
29882 cat >>confdefs.h <<\_ACEOF
29883 #define HAVE_ERFCF 1
29884 _ACEOF
29885
29886 fi
29887
29888 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29889 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29890 if test "${ac_cv_lib_m_erfc+set}" = set; then
29891   echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893   ac_check_lib_save_LIBS=$LIBS
29894 LIBS="-lm  $LIBS"
29895 if test x$gcc_no_link = xyes; then
29896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29898    { (exit 1); exit 1; }; }
29899 fi
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h.  */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h.  */
29906
29907 /* Override any gcc2 internal prototype to avoid an error.  */
29908 #ifdef __cplusplus
29909 extern "C"
29910 #endif
29911 /* We use char because int might match the return type of a gcc2
29912    builtin and then its argument prototype would still apply.  */
29913 char erfc ();
29914 int
29915 main ()
29916 {
29917 erfc ();
29918   ;
29919   return 0;
29920 }
29921 _ACEOF
29922 rm -f conftest.$ac_objext conftest$ac_exeext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29924   (eval $ac_link) 2>conftest.er1
29925   ac_status=$?
29926   grep -v '^ *+' conftest.er1 >conftest.err
29927   rm -f conftest.er1
29928   cat conftest.err >&5
29929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930   (exit $ac_status); } &&
29931          { ac_try='test -z "$ac_c_werror_flag"
29932                          || test ! -s conftest.err'
29933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934   (eval $ac_try) 2>&5
29935   ac_status=$?
29936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937   (exit $ac_status); }; } &&
29938          { ac_try='test -s conftest$ac_exeext'
29939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940   (eval $ac_try) 2>&5
29941   ac_status=$?
29942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943   (exit $ac_status); }; }; then
29944   ac_cv_lib_m_erfc=yes
29945 else
29946   echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29948
29949 ac_cv_lib_m_erfc=no
29950 fi
29951 rm -f conftest.err conftest.$ac_objext \
29952       conftest$ac_exeext conftest.$ac_ext
29953 LIBS=$ac_check_lib_save_LIBS
29954 fi
29955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29956 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29957 if test $ac_cv_lib_m_erfc = yes; then
29958
29959 cat >>confdefs.h <<\_ACEOF
29960 #define HAVE_ERFC 1
29961 _ACEOF
29962
29963 fi
29964
29965 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29966 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29967 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29968   echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970   ac_check_lib_save_LIBS=$LIBS
29971 LIBS="-lm  $LIBS"
29972 if test x$gcc_no_link = xyes; then
29973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29975    { (exit 1); exit 1; }; }
29976 fi
29977 cat >conftest.$ac_ext <<_ACEOF
29978 /* confdefs.h.  */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h.  */
29983
29984 /* Override any gcc2 internal prototype to avoid an error.  */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 /* We use char because int might match the return type of a gcc2
29989    builtin and then its argument prototype would still apply.  */
29990 char erfcl ();
29991 int
29992 main ()
29993 {
29994 erfcl ();
29995   ;
29996   return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext conftest$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001   (eval $ac_link) 2>conftest.er1
30002   ac_status=$?
30003   grep -v '^ *+' conftest.er1 >conftest.err
30004   rm -f conftest.er1
30005   cat conftest.err >&5
30006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007   (exit $ac_status); } &&
30008          { ac_try='test -z "$ac_c_werror_flag"
30009                          || test ! -s conftest.err'
30010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011   (eval $ac_try) 2>&5
30012   ac_status=$?
30013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014   (exit $ac_status); }; } &&
30015          { ac_try='test -s conftest$ac_exeext'
30016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017   (eval $ac_try) 2>&5
30018   ac_status=$?
30019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020   (exit $ac_status); }; }; then
30021   ac_cv_lib_m_erfcl=yes
30022 else
30023   echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30025
30026 ac_cv_lib_m_erfcl=no
30027 fi
30028 rm -f conftest.err conftest.$ac_objext \
30029       conftest$ac_exeext conftest.$ac_ext
30030 LIBS=$ac_check_lib_save_LIBS
30031 fi
30032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30033 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30034 if test $ac_cv_lib_m_erfcl = yes; then
30035
30036 cat >>confdefs.h <<\_ACEOF
30037 #define HAVE_ERFCL 1
30038 _ACEOF
30039
30040 fi
30041
30042 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30043 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30044 if test "${ac_cv_lib_m_j0f+set}" = set; then
30045   echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047   ac_check_lib_save_LIBS=$LIBS
30048 LIBS="-lm  $LIBS"
30049 if test x$gcc_no_link = xyes; then
30050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30052    { (exit 1); exit 1; }; }
30053 fi
30054 cat >conftest.$ac_ext <<_ACEOF
30055 /* confdefs.h.  */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h.  */
30060
30061 /* Override any gcc2 internal prototype to avoid an error.  */
30062 #ifdef __cplusplus
30063 extern "C"
30064 #endif
30065 /* We use char because int might match the return type of a gcc2
30066    builtin and then its argument prototype would still apply.  */
30067 char j0f ();
30068 int
30069 main ()
30070 {
30071 j0f ();
30072   ;
30073   return 0;
30074 }
30075 _ACEOF
30076 rm -f conftest.$ac_objext conftest$ac_exeext
30077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30078   (eval $ac_link) 2>conftest.er1
30079   ac_status=$?
30080   grep -v '^ *+' conftest.er1 >conftest.err
30081   rm -f conftest.er1
30082   cat conftest.err >&5
30083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084   (exit $ac_status); } &&
30085          { ac_try='test -z "$ac_c_werror_flag"
30086                          || test ! -s conftest.err'
30087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088   (eval $ac_try) 2>&5
30089   ac_status=$?
30090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091   (exit $ac_status); }; } &&
30092          { ac_try='test -s conftest$ac_exeext'
30093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094   (eval $ac_try) 2>&5
30095   ac_status=$?
30096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097   (exit $ac_status); }; }; then
30098   ac_cv_lib_m_j0f=yes
30099 else
30100   echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30102
30103 ac_cv_lib_m_j0f=no
30104 fi
30105 rm -f conftest.err conftest.$ac_objext \
30106       conftest$ac_exeext conftest.$ac_ext
30107 LIBS=$ac_check_lib_save_LIBS
30108 fi
30109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30110 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30111 if test $ac_cv_lib_m_j0f = yes; then
30112
30113 cat >>confdefs.h <<\_ACEOF
30114 #define HAVE_J0F 1
30115 _ACEOF
30116
30117 fi
30118
30119 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30120 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30121 if test "${ac_cv_lib_m_j0+set}" = set; then
30122   echo $ECHO_N "(cached) $ECHO_C" >&6
30123 else
30124   ac_check_lib_save_LIBS=$LIBS
30125 LIBS="-lm  $LIBS"
30126 if test x$gcc_no_link = xyes; then
30127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30129    { (exit 1); exit 1; }; }
30130 fi
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h.  */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h.  */
30137
30138 /* Override any gcc2 internal prototype to avoid an error.  */
30139 #ifdef __cplusplus
30140 extern "C"
30141 #endif
30142 /* We use char because int might match the return type of a gcc2
30143    builtin and then its argument prototype would still apply.  */
30144 char j0 ();
30145 int
30146 main ()
30147 {
30148 j0 ();
30149   ;
30150   return 0;
30151 }
30152 _ACEOF
30153 rm -f conftest.$ac_objext conftest$ac_exeext
30154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30155   (eval $ac_link) 2>conftest.er1
30156   ac_status=$?
30157   grep -v '^ *+' conftest.er1 >conftest.err
30158   rm -f conftest.er1
30159   cat conftest.err >&5
30160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161   (exit $ac_status); } &&
30162          { ac_try='test -z "$ac_c_werror_flag"
30163                          || test ! -s conftest.err'
30164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165   (eval $ac_try) 2>&5
30166   ac_status=$?
30167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168   (exit $ac_status); }; } &&
30169          { ac_try='test -s conftest$ac_exeext'
30170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171   (eval $ac_try) 2>&5
30172   ac_status=$?
30173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174   (exit $ac_status); }; }; then
30175   ac_cv_lib_m_j0=yes
30176 else
30177   echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30179
30180 ac_cv_lib_m_j0=no
30181 fi
30182 rm -f conftest.err conftest.$ac_objext \
30183       conftest$ac_exeext conftest.$ac_ext
30184 LIBS=$ac_check_lib_save_LIBS
30185 fi
30186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30187 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30188 if test $ac_cv_lib_m_j0 = yes; then
30189
30190 cat >>confdefs.h <<\_ACEOF
30191 #define HAVE_J0 1
30192 _ACEOF
30193
30194 fi
30195
30196 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30197 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30198 if test "${ac_cv_lib_m_j0l+set}" = set; then
30199   echo $ECHO_N "(cached) $ECHO_C" >&6
30200 else
30201   ac_check_lib_save_LIBS=$LIBS
30202 LIBS="-lm  $LIBS"
30203 if test x$gcc_no_link = xyes; then
30204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30206    { (exit 1); exit 1; }; }
30207 fi
30208 cat >conftest.$ac_ext <<_ACEOF
30209 /* confdefs.h.  */
30210 _ACEOF
30211 cat confdefs.h >>conftest.$ac_ext
30212 cat >>conftest.$ac_ext <<_ACEOF
30213 /* end confdefs.h.  */
30214
30215 /* Override any gcc2 internal prototype to avoid an error.  */
30216 #ifdef __cplusplus
30217 extern "C"
30218 #endif
30219 /* We use char because int might match the return type of a gcc2
30220    builtin and then its argument prototype would still apply.  */
30221 char j0l ();
30222 int
30223 main ()
30224 {
30225 j0l ();
30226   ;
30227   return 0;
30228 }
30229 _ACEOF
30230 rm -f conftest.$ac_objext conftest$ac_exeext
30231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30232   (eval $ac_link) 2>conftest.er1
30233   ac_status=$?
30234   grep -v '^ *+' conftest.er1 >conftest.err
30235   rm -f conftest.er1
30236   cat conftest.err >&5
30237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238   (exit $ac_status); } &&
30239          { ac_try='test -z "$ac_c_werror_flag"
30240                          || test ! -s conftest.err'
30241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242   (eval $ac_try) 2>&5
30243   ac_status=$?
30244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245   (exit $ac_status); }; } &&
30246          { ac_try='test -s conftest$ac_exeext'
30247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30248   (eval $ac_try) 2>&5
30249   ac_status=$?
30250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251   (exit $ac_status); }; }; then
30252   ac_cv_lib_m_j0l=yes
30253 else
30254   echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.$ac_ext >&5
30256
30257 ac_cv_lib_m_j0l=no
30258 fi
30259 rm -f conftest.err conftest.$ac_objext \
30260       conftest$ac_exeext conftest.$ac_ext
30261 LIBS=$ac_check_lib_save_LIBS
30262 fi
30263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30264 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30265 if test $ac_cv_lib_m_j0l = yes; then
30266
30267 cat >>confdefs.h <<\_ACEOF
30268 #define HAVE_J0L 1
30269 _ACEOF
30270
30271 fi
30272
30273 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30274 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30275 if test "${ac_cv_lib_m_j1f+set}" = set; then
30276   echo $ECHO_N "(cached) $ECHO_C" >&6
30277 else
30278   ac_check_lib_save_LIBS=$LIBS
30279 LIBS="-lm  $LIBS"
30280 if test x$gcc_no_link = xyes; then
30281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30283    { (exit 1); exit 1; }; }
30284 fi
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h.  */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h.  */
30291
30292 /* Override any gcc2 internal prototype to avoid an error.  */
30293 #ifdef __cplusplus
30294 extern "C"
30295 #endif
30296 /* We use char because int might match the return type of a gcc2
30297    builtin and then its argument prototype would still apply.  */
30298 char j1f ();
30299 int
30300 main ()
30301 {
30302 j1f ();
30303   ;
30304   return 0;
30305 }
30306 _ACEOF
30307 rm -f conftest.$ac_objext conftest$ac_exeext
30308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30309   (eval $ac_link) 2>conftest.er1
30310   ac_status=$?
30311   grep -v '^ *+' conftest.er1 >conftest.err
30312   rm -f conftest.er1
30313   cat conftest.err >&5
30314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315   (exit $ac_status); } &&
30316          { ac_try='test -z "$ac_c_werror_flag"
30317                          || test ! -s conftest.err'
30318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319   (eval $ac_try) 2>&5
30320   ac_status=$?
30321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322   (exit $ac_status); }; } &&
30323          { ac_try='test -s conftest$ac_exeext'
30324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325   (eval $ac_try) 2>&5
30326   ac_status=$?
30327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328   (exit $ac_status); }; }; then
30329   ac_cv_lib_m_j1f=yes
30330 else
30331   echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.$ac_ext >&5
30333
30334 ac_cv_lib_m_j1f=no
30335 fi
30336 rm -f conftest.err conftest.$ac_objext \
30337       conftest$ac_exeext conftest.$ac_ext
30338 LIBS=$ac_check_lib_save_LIBS
30339 fi
30340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30341 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30342 if test $ac_cv_lib_m_j1f = yes; then
30343
30344 cat >>confdefs.h <<\_ACEOF
30345 #define HAVE_J1F 1
30346 _ACEOF
30347
30348 fi
30349
30350 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30351 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30352 if test "${ac_cv_lib_m_j1+set}" = set; then
30353   echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355   ac_check_lib_save_LIBS=$LIBS
30356 LIBS="-lm  $LIBS"
30357 if test x$gcc_no_link = xyes; then
30358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30360    { (exit 1); exit 1; }; }
30361 fi
30362 cat >conftest.$ac_ext <<_ACEOF
30363 /* confdefs.h.  */
30364 _ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h.  */
30368
30369 /* Override any gcc2 internal prototype to avoid an error.  */
30370 #ifdef __cplusplus
30371 extern "C"
30372 #endif
30373 /* We use char because int might match the return type of a gcc2
30374    builtin and then its argument prototype would still apply.  */
30375 char j1 ();
30376 int
30377 main ()
30378 {
30379 j1 ();
30380   ;
30381   return 0;
30382 }
30383 _ACEOF
30384 rm -f conftest.$ac_objext conftest$ac_exeext
30385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30386   (eval $ac_link) 2>conftest.er1
30387   ac_status=$?
30388   grep -v '^ *+' conftest.er1 >conftest.err
30389   rm -f conftest.er1
30390   cat conftest.err >&5
30391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392   (exit $ac_status); } &&
30393          { ac_try='test -z "$ac_c_werror_flag"
30394                          || test ! -s conftest.err'
30395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396   (eval $ac_try) 2>&5
30397   ac_status=$?
30398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399   (exit $ac_status); }; } &&
30400          { ac_try='test -s conftest$ac_exeext'
30401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30402   (eval $ac_try) 2>&5
30403   ac_status=$?
30404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405   (exit $ac_status); }; }; then
30406   ac_cv_lib_m_j1=yes
30407 else
30408   echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30410
30411 ac_cv_lib_m_j1=no
30412 fi
30413 rm -f conftest.err conftest.$ac_objext \
30414       conftest$ac_exeext conftest.$ac_ext
30415 LIBS=$ac_check_lib_save_LIBS
30416 fi
30417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30418 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30419 if test $ac_cv_lib_m_j1 = yes; then
30420
30421 cat >>confdefs.h <<\_ACEOF
30422 #define HAVE_J1 1
30423 _ACEOF
30424
30425 fi
30426
30427 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30428 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30429 if test "${ac_cv_lib_m_j1l+set}" = set; then
30430   echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432   ac_check_lib_save_LIBS=$LIBS
30433 LIBS="-lm  $LIBS"
30434 if test x$gcc_no_link = xyes; then
30435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30437    { (exit 1); exit 1; }; }
30438 fi
30439 cat >conftest.$ac_ext <<_ACEOF
30440 /* confdefs.h.  */
30441 _ACEOF
30442 cat confdefs.h >>conftest.$ac_ext
30443 cat >>conftest.$ac_ext <<_ACEOF
30444 /* end confdefs.h.  */
30445
30446 /* Override any gcc2 internal prototype to avoid an error.  */
30447 #ifdef __cplusplus
30448 extern "C"
30449 #endif
30450 /* We use char because int might match the return type of a gcc2
30451    builtin and then its argument prototype would still apply.  */
30452 char j1l ();
30453 int
30454 main ()
30455 {
30456 j1l ();
30457   ;
30458   return 0;
30459 }
30460 _ACEOF
30461 rm -f conftest.$ac_objext conftest$ac_exeext
30462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30463   (eval $ac_link) 2>conftest.er1
30464   ac_status=$?
30465   grep -v '^ *+' conftest.er1 >conftest.err
30466   rm -f conftest.er1
30467   cat conftest.err >&5
30468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469   (exit $ac_status); } &&
30470          { ac_try='test -z "$ac_c_werror_flag"
30471                          || test ! -s conftest.err'
30472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473   (eval $ac_try) 2>&5
30474   ac_status=$?
30475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476   (exit $ac_status); }; } &&
30477          { ac_try='test -s conftest$ac_exeext'
30478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479   (eval $ac_try) 2>&5
30480   ac_status=$?
30481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482   (exit $ac_status); }; }; then
30483   ac_cv_lib_m_j1l=yes
30484 else
30485   echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30487
30488 ac_cv_lib_m_j1l=no
30489 fi
30490 rm -f conftest.err conftest.$ac_objext \
30491       conftest$ac_exeext conftest.$ac_ext
30492 LIBS=$ac_check_lib_save_LIBS
30493 fi
30494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30495 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30496 if test $ac_cv_lib_m_j1l = yes; then
30497
30498 cat >>confdefs.h <<\_ACEOF
30499 #define HAVE_J1L 1
30500 _ACEOF
30501
30502 fi
30503
30504 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30505 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30506 if test "${ac_cv_lib_m_jnf+set}" = set; then
30507   echo $ECHO_N "(cached) $ECHO_C" >&6
30508 else
30509   ac_check_lib_save_LIBS=$LIBS
30510 LIBS="-lm  $LIBS"
30511 if test x$gcc_no_link = xyes; then
30512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30514    { (exit 1); exit 1; }; }
30515 fi
30516 cat >conftest.$ac_ext <<_ACEOF
30517 /* confdefs.h.  */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h.  */
30522
30523 /* Override any gcc2 internal prototype to avoid an error.  */
30524 #ifdef __cplusplus
30525 extern "C"
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528    builtin and then its argument prototype would still apply.  */
30529 char jnf ();
30530 int
30531 main ()
30532 {
30533 jnf ();
30534   ;
30535   return 0;
30536 }
30537 _ACEOF
30538 rm -f conftest.$ac_objext conftest$ac_exeext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30540   (eval $ac_link) 2>conftest.er1
30541   ac_status=$?
30542   grep -v '^ *+' conftest.er1 >conftest.err
30543   rm -f conftest.er1
30544   cat conftest.err >&5
30545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546   (exit $ac_status); } &&
30547          { ac_try='test -z "$ac_c_werror_flag"
30548                          || test ! -s conftest.err'
30549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550   (eval $ac_try) 2>&5
30551   ac_status=$?
30552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553   (exit $ac_status); }; } &&
30554          { ac_try='test -s conftest$ac_exeext'
30555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556   (eval $ac_try) 2>&5
30557   ac_status=$?
30558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559   (exit $ac_status); }; }; then
30560   ac_cv_lib_m_jnf=yes
30561 else
30562   echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30564
30565 ac_cv_lib_m_jnf=no
30566 fi
30567 rm -f conftest.err conftest.$ac_objext \
30568       conftest$ac_exeext conftest.$ac_ext
30569 LIBS=$ac_check_lib_save_LIBS
30570 fi
30571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30572 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30573 if test $ac_cv_lib_m_jnf = yes; then
30574
30575 cat >>confdefs.h <<\_ACEOF
30576 #define HAVE_JNF 1
30577 _ACEOF
30578
30579 fi
30580
30581 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30582 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30583 if test "${ac_cv_lib_m_jn+set}" = set; then
30584   echo $ECHO_N "(cached) $ECHO_C" >&6
30585 else
30586   ac_check_lib_save_LIBS=$LIBS
30587 LIBS="-lm  $LIBS"
30588 if test x$gcc_no_link = xyes; then
30589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30591    { (exit 1); exit 1; }; }
30592 fi
30593 cat >conftest.$ac_ext <<_ACEOF
30594 /* confdefs.h.  */
30595 _ACEOF
30596 cat confdefs.h >>conftest.$ac_ext
30597 cat >>conftest.$ac_ext <<_ACEOF
30598 /* end confdefs.h.  */
30599
30600 /* Override any gcc2 internal prototype to avoid an error.  */
30601 #ifdef __cplusplus
30602 extern "C"
30603 #endif
30604 /* We use char because int might match the return type of a gcc2
30605    builtin and then its argument prototype would still apply.  */
30606 char jn ();
30607 int
30608 main ()
30609 {
30610 jn ();
30611   ;
30612   return 0;
30613 }
30614 _ACEOF
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30617   (eval $ac_link) 2>conftest.er1
30618   ac_status=$?
30619   grep -v '^ *+' conftest.er1 >conftest.err
30620   rm -f conftest.er1
30621   cat conftest.err >&5
30622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623   (exit $ac_status); } &&
30624          { ac_try='test -z "$ac_c_werror_flag"
30625                          || test ! -s conftest.err'
30626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627   (eval $ac_try) 2>&5
30628   ac_status=$?
30629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630   (exit $ac_status); }; } &&
30631          { ac_try='test -s conftest$ac_exeext'
30632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633   (eval $ac_try) 2>&5
30634   ac_status=$?
30635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636   (exit $ac_status); }; }; then
30637   ac_cv_lib_m_jn=yes
30638 else
30639   echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30641
30642 ac_cv_lib_m_jn=no
30643 fi
30644 rm -f conftest.err conftest.$ac_objext \
30645       conftest$ac_exeext conftest.$ac_ext
30646 LIBS=$ac_check_lib_save_LIBS
30647 fi
30648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30649 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30650 if test $ac_cv_lib_m_jn = yes; then
30651
30652 cat >>confdefs.h <<\_ACEOF
30653 #define HAVE_JN 1
30654 _ACEOF
30655
30656 fi
30657
30658 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30659 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30660 if test "${ac_cv_lib_m_jnl+set}" = set; then
30661   echo $ECHO_N "(cached) $ECHO_C" >&6
30662 else
30663   ac_check_lib_save_LIBS=$LIBS
30664 LIBS="-lm  $LIBS"
30665 if test x$gcc_no_link = xyes; then
30666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30668    { (exit 1); exit 1; }; }
30669 fi
30670 cat >conftest.$ac_ext <<_ACEOF
30671 /* confdefs.h.  */
30672 _ACEOF
30673 cat confdefs.h >>conftest.$ac_ext
30674 cat >>conftest.$ac_ext <<_ACEOF
30675 /* end confdefs.h.  */
30676
30677 /* Override any gcc2 internal prototype to avoid an error.  */
30678 #ifdef __cplusplus
30679 extern "C"
30680 #endif
30681 /* We use char because int might match the return type of a gcc2
30682    builtin and then its argument prototype would still apply.  */
30683 char jnl ();
30684 int
30685 main ()
30686 {
30687 jnl ();
30688   ;
30689   return 0;
30690 }
30691 _ACEOF
30692 rm -f conftest.$ac_objext conftest$ac_exeext
30693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30694   (eval $ac_link) 2>conftest.er1
30695   ac_status=$?
30696   grep -v '^ *+' conftest.er1 >conftest.err
30697   rm -f conftest.er1
30698   cat conftest.err >&5
30699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700   (exit $ac_status); } &&
30701          { ac_try='test -z "$ac_c_werror_flag"
30702                          || test ! -s conftest.err'
30703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704   (eval $ac_try) 2>&5
30705   ac_status=$?
30706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707   (exit $ac_status); }; } &&
30708          { ac_try='test -s conftest$ac_exeext'
30709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710   (eval $ac_try) 2>&5
30711   ac_status=$?
30712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713   (exit $ac_status); }; }; then
30714   ac_cv_lib_m_jnl=yes
30715 else
30716   echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30718
30719 ac_cv_lib_m_jnl=no
30720 fi
30721 rm -f conftest.err conftest.$ac_objext \
30722       conftest$ac_exeext conftest.$ac_ext
30723 LIBS=$ac_check_lib_save_LIBS
30724 fi
30725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30726 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30727 if test $ac_cv_lib_m_jnl = yes; then
30728
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_JNL 1
30731 _ACEOF
30732
30733 fi
30734
30735 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30736 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30737 if test "${ac_cv_lib_m_y0f+set}" = set; then
30738   echo $ECHO_N "(cached) $ECHO_C" >&6
30739 else
30740   ac_check_lib_save_LIBS=$LIBS
30741 LIBS="-lm  $LIBS"
30742 if test x$gcc_no_link = xyes; then
30743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30745    { (exit 1); exit 1; }; }
30746 fi
30747 cat >conftest.$ac_ext <<_ACEOF
30748 /* confdefs.h.  */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h.  */
30753
30754 /* Override any gcc2 internal prototype to avoid an error.  */
30755 #ifdef __cplusplus
30756 extern "C"
30757 #endif
30758 /* We use char because int might match the return type of a gcc2
30759    builtin and then its argument prototype would still apply.  */
30760 char y0f ();
30761 int
30762 main ()
30763 {
30764 y0f ();
30765   ;
30766   return 0;
30767 }
30768 _ACEOF
30769 rm -f conftest.$ac_objext conftest$ac_exeext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30771   (eval $ac_link) 2>conftest.er1
30772   ac_status=$?
30773   grep -v '^ *+' conftest.er1 >conftest.err
30774   rm -f conftest.er1
30775   cat conftest.err >&5
30776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777   (exit $ac_status); } &&
30778          { ac_try='test -z "$ac_c_werror_flag"
30779                          || test ! -s conftest.err'
30780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781   (eval $ac_try) 2>&5
30782   ac_status=$?
30783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784   (exit $ac_status); }; } &&
30785          { ac_try='test -s conftest$ac_exeext'
30786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787   (eval $ac_try) 2>&5
30788   ac_status=$?
30789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790   (exit $ac_status); }; }; then
30791   ac_cv_lib_m_y0f=yes
30792 else
30793   echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30795
30796 ac_cv_lib_m_y0f=no
30797 fi
30798 rm -f conftest.err conftest.$ac_objext \
30799       conftest$ac_exeext conftest.$ac_ext
30800 LIBS=$ac_check_lib_save_LIBS
30801 fi
30802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30803 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30804 if test $ac_cv_lib_m_y0f = yes; then
30805
30806 cat >>confdefs.h <<\_ACEOF
30807 #define HAVE_Y0F 1
30808 _ACEOF
30809
30810 fi
30811
30812 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30813 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30814 if test "${ac_cv_lib_m_y0+set}" = set; then
30815   echo $ECHO_N "(cached) $ECHO_C" >&6
30816 else
30817   ac_check_lib_save_LIBS=$LIBS
30818 LIBS="-lm  $LIBS"
30819 if test x$gcc_no_link = xyes; then
30820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30822    { (exit 1); exit 1; }; }
30823 fi
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h.  */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h.  */
30830
30831 /* Override any gcc2 internal prototype to avoid an error.  */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 /* We use char because int might match the return type of a gcc2
30836    builtin and then its argument prototype would still apply.  */
30837 char y0 ();
30838 int
30839 main ()
30840 {
30841 y0 ();
30842   ;
30843   return 0;
30844 }
30845 _ACEOF
30846 rm -f conftest.$ac_objext conftest$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848   (eval $ac_link) 2>conftest.er1
30849   ac_status=$?
30850   grep -v '^ *+' conftest.er1 >conftest.err
30851   rm -f conftest.er1
30852   cat conftest.err >&5
30853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854   (exit $ac_status); } &&
30855          { ac_try='test -z "$ac_c_werror_flag"
30856                          || test ! -s conftest.err'
30857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858   (eval $ac_try) 2>&5
30859   ac_status=$?
30860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861   (exit $ac_status); }; } &&
30862          { ac_try='test -s conftest$ac_exeext'
30863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30864   (eval $ac_try) 2>&5
30865   ac_status=$?
30866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867   (exit $ac_status); }; }; then
30868   ac_cv_lib_m_y0=yes
30869 else
30870   echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.$ac_ext >&5
30872
30873 ac_cv_lib_m_y0=no
30874 fi
30875 rm -f conftest.err conftest.$ac_objext \
30876       conftest$ac_exeext conftest.$ac_ext
30877 LIBS=$ac_check_lib_save_LIBS
30878 fi
30879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30880 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30881 if test $ac_cv_lib_m_y0 = yes; then
30882
30883 cat >>confdefs.h <<\_ACEOF
30884 #define HAVE_Y0 1
30885 _ACEOF
30886
30887 fi
30888
30889 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30890 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30891 if test "${ac_cv_lib_m_y0l+set}" = set; then
30892   echo $ECHO_N "(cached) $ECHO_C" >&6
30893 else
30894   ac_check_lib_save_LIBS=$LIBS
30895 LIBS="-lm  $LIBS"
30896 if test x$gcc_no_link = xyes; then
30897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30899    { (exit 1); exit 1; }; }
30900 fi
30901 cat >conftest.$ac_ext <<_ACEOF
30902 /* confdefs.h.  */
30903 _ACEOF
30904 cat confdefs.h >>conftest.$ac_ext
30905 cat >>conftest.$ac_ext <<_ACEOF
30906 /* end confdefs.h.  */
30907
30908 /* Override any gcc2 internal prototype to avoid an error.  */
30909 #ifdef __cplusplus
30910 extern "C"
30911 #endif
30912 /* We use char because int might match the return type of a gcc2
30913    builtin and then its argument prototype would still apply.  */
30914 char y0l ();
30915 int
30916 main ()
30917 {
30918 y0l ();
30919   ;
30920   return 0;
30921 }
30922 _ACEOF
30923 rm -f conftest.$ac_objext conftest$ac_exeext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925   (eval $ac_link) 2>conftest.er1
30926   ac_status=$?
30927   grep -v '^ *+' conftest.er1 >conftest.err
30928   rm -f conftest.er1
30929   cat conftest.err >&5
30930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931   (exit $ac_status); } &&
30932          { ac_try='test -z "$ac_c_werror_flag"
30933                          || test ! -s conftest.err'
30934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935   (eval $ac_try) 2>&5
30936   ac_status=$?
30937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938   (exit $ac_status); }; } &&
30939          { ac_try='test -s conftest$ac_exeext'
30940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941   (eval $ac_try) 2>&5
30942   ac_status=$?
30943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944   (exit $ac_status); }; }; then
30945   ac_cv_lib_m_y0l=yes
30946 else
30947   echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950 ac_cv_lib_m_y0l=no
30951 fi
30952 rm -f conftest.err conftest.$ac_objext \
30953       conftest$ac_exeext conftest.$ac_ext
30954 LIBS=$ac_check_lib_save_LIBS
30955 fi
30956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30957 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30958 if test $ac_cv_lib_m_y0l = yes; then
30959
30960 cat >>confdefs.h <<\_ACEOF
30961 #define HAVE_Y0L 1
30962 _ACEOF
30963
30964 fi
30965
30966 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30967 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30968 if test "${ac_cv_lib_m_y1f+set}" = set; then
30969   echo $ECHO_N "(cached) $ECHO_C" >&6
30970 else
30971   ac_check_lib_save_LIBS=$LIBS
30972 LIBS="-lm  $LIBS"
30973 if test x$gcc_no_link = xyes; then
30974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30976    { (exit 1); exit 1; }; }
30977 fi
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h.  */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h.  */
30984
30985 /* Override any gcc2 internal prototype to avoid an error.  */
30986 #ifdef __cplusplus
30987 extern "C"
30988 #endif
30989 /* We use char because int might match the return type of a gcc2
30990    builtin and then its argument prototype would still apply.  */
30991 char y1f ();
30992 int
30993 main ()
30994 {
30995 y1f ();
30996   ;
30997   return 0;
30998 }
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31002   (eval $ac_link) 2>conftest.er1
31003   ac_status=$?
31004   grep -v '^ *+' conftest.er1 >conftest.err
31005   rm -f conftest.er1
31006   cat conftest.err >&5
31007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008   (exit $ac_status); } &&
31009          { ac_try='test -z "$ac_c_werror_flag"
31010                          || test ! -s conftest.err'
31011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012   (eval $ac_try) 2>&5
31013   ac_status=$?
31014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015   (exit $ac_status); }; } &&
31016          { ac_try='test -s conftest$ac_exeext'
31017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018   (eval $ac_try) 2>&5
31019   ac_status=$?
31020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021   (exit $ac_status); }; }; then
31022   ac_cv_lib_m_y1f=yes
31023 else
31024   echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31026
31027 ac_cv_lib_m_y1f=no
31028 fi
31029 rm -f conftest.err conftest.$ac_objext \
31030       conftest$ac_exeext conftest.$ac_ext
31031 LIBS=$ac_check_lib_save_LIBS
31032 fi
31033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31034 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31035 if test $ac_cv_lib_m_y1f = yes; then
31036
31037 cat >>confdefs.h <<\_ACEOF
31038 #define HAVE_Y1F 1
31039 _ACEOF
31040
31041 fi
31042
31043 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31044 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31045 if test "${ac_cv_lib_m_y1+set}" = set; then
31046   echo $ECHO_N "(cached) $ECHO_C" >&6
31047 else
31048   ac_check_lib_save_LIBS=$LIBS
31049 LIBS="-lm  $LIBS"
31050 if test x$gcc_no_link = xyes; then
31051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31053    { (exit 1); exit 1; }; }
31054 fi
31055 cat >conftest.$ac_ext <<_ACEOF
31056 /* confdefs.h.  */
31057 _ACEOF
31058 cat confdefs.h >>conftest.$ac_ext
31059 cat >>conftest.$ac_ext <<_ACEOF
31060 /* end confdefs.h.  */
31061
31062 /* Override any gcc2 internal prototype to avoid an error.  */
31063 #ifdef __cplusplus
31064 extern "C"
31065 #endif
31066 /* We use char because int might match the return type of a gcc2
31067    builtin and then its argument prototype would still apply.  */
31068 char y1 ();
31069 int
31070 main ()
31071 {
31072 y1 ();
31073   ;
31074   return 0;
31075 }
31076 _ACEOF
31077 rm -f conftest.$ac_objext conftest$ac_exeext
31078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31079   (eval $ac_link) 2>conftest.er1
31080   ac_status=$?
31081   grep -v '^ *+' conftest.er1 >conftest.err
31082   rm -f conftest.er1
31083   cat conftest.err >&5
31084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085   (exit $ac_status); } &&
31086          { ac_try='test -z "$ac_c_werror_flag"
31087                          || test ! -s conftest.err'
31088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31089   (eval $ac_try) 2>&5
31090   ac_status=$?
31091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092   (exit $ac_status); }; } &&
31093          { ac_try='test -s conftest$ac_exeext'
31094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31095   (eval $ac_try) 2>&5
31096   ac_status=$?
31097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098   (exit $ac_status); }; }; then
31099   ac_cv_lib_m_y1=yes
31100 else
31101   echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.$ac_ext >&5
31103
31104 ac_cv_lib_m_y1=no
31105 fi
31106 rm -f conftest.err conftest.$ac_objext \
31107       conftest$ac_exeext conftest.$ac_ext
31108 LIBS=$ac_check_lib_save_LIBS
31109 fi
31110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31111 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31112 if test $ac_cv_lib_m_y1 = yes; then
31113
31114 cat >>confdefs.h <<\_ACEOF
31115 #define HAVE_Y1 1
31116 _ACEOF
31117
31118 fi
31119
31120 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31121 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31122 if test "${ac_cv_lib_m_y1l+set}" = set; then
31123   echo $ECHO_N "(cached) $ECHO_C" >&6
31124 else
31125   ac_check_lib_save_LIBS=$LIBS
31126 LIBS="-lm  $LIBS"
31127 if test x$gcc_no_link = xyes; then
31128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31130    { (exit 1); exit 1; }; }
31131 fi
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h.  */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h.  */
31138
31139 /* Override any gcc2 internal prototype to avoid an error.  */
31140 #ifdef __cplusplus
31141 extern "C"
31142 #endif
31143 /* We use char because int might match the return type of a gcc2
31144    builtin and then its argument prototype would still apply.  */
31145 char y1l ();
31146 int
31147 main ()
31148 {
31149 y1l ();
31150   ;
31151   return 0;
31152 }
31153 _ACEOF
31154 rm -f conftest.$ac_objext conftest$ac_exeext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31156   (eval $ac_link) 2>conftest.er1
31157   ac_status=$?
31158   grep -v '^ *+' conftest.er1 >conftest.err
31159   rm -f conftest.er1
31160   cat conftest.err >&5
31161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162   (exit $ac_status); } &&
31163          { ac_try='test -z "$ac_c_werror_flag"
31164                          || test ! -s conftest.err'
31165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31166   (eval $ac_try) 2>&5
31167   ac_status=$?
31168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169   (exit $ac_status); }; } &&
31170          { ac_try='test -s conftest$ac_exeext'
31171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31172   (eval $ac_try) 2>&5
31173   ac_status=$?
31174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175   (exit $ac_status); }; }; then
31176   ac_cv_lib_m_y1l=yes
31177 else
31178   echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.$ac_ext >&5
31180
31181 ac_cv_lib_m_y1l=no
31182 fi
31183 rm -f conftest.err conftest.$ac_objext \
31184       conftest$ac_exeext conftest.$ac_ext
31185 LIBS=$ac_check_lib_save_LIBS
31186 fi
31187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31188 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31189 if test $ac_cv_lib_m_y1l = yes; then
31190
31191 cat >>confdefs.h <<\_ACEOF
31192 #define HAVE_Y1L 1
31193 _ACEOF
31194
31195 fi
31196
31197 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31198 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31199 if test "${ac_cv_lib_m_ynf+set}" = set; then
31200   echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31202   ac_check_lib_save_LIBS=$LIBS
31203 LIBS="-lm  $LIBS"
31204 if test x$gcc_no_link = xyes; then
31205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31207    { (exit 1); exit 1; }; }
31208 fi
31209 cat >conftest.$ac_ext <<_ACEOF
31210 /* confdefs.h.  */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h.  */
31215
31216 /* Override any gcc2 internal prototype to avoid an error.  */
31217 #ifdef __cplusplus
31218 extern "C"
31219 #endif
31220 /* We use char because int might match the return type of a gcc2
31221    builtin and then its argument prototype would still apply.  */
31222 char ynf ();
31223 int
31224 main ()
31225 {
31226 ynf ();
31227   ;
31228   return 0;
31229 }
31230 _ACEOF
31231 rm -f conftest.$ac_objext conftest$ac_exeext
31232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31233   (eval $ac_link) 2>conftest.er1
31234   ac_status=$?
31235   grep -v '^ *+' conftest.er1 >conftest.err
31236   rm -f conftest.er1
31237   cat conftest.err >&5
31238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239   (exit $ac_status); } &&
31240          { ac_try='test -z "$ac_c_werror_flag"
31241                          || test ! -s conftest.err'
31242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243   (eval $ac_try) 2>&5
31244   ac_status=$?
31245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246   (exit $ac_status); }; } &&
31247          { ac_try='test -s conftest$ac_exeext'
31248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31249   (eval $ac_try) 2>&5
31250   ac_status=$?
31251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252   (exit $ac_status); }; }; then
31253   ac_cv_lib_m_ynf=yes
31254 else
31255   echo "$as_me: failed program was:" >&5
31256 sed 's/^/| /' conftest.$ac_ext >&5
31257
31258 ac_cv_lib_m_ynf=no
31259 fi
31260 rm -f conftest.err conftest.$ac_objext \
31261       conftest$ac_exeext conftest.$ac_ext
31262 LIBS=$ac_check_lib_save_LIBS
31263 fi
31264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31265 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31266 if test $ac_cv_lib_m_ynf = yes; then
31267
31268 cat >>confdefs.h <<\_ACEOF
31269 #define HAVE_YNF 1
31270 _ACEOF
31271
31272 fi
31273
31274 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31275 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31276 if test "${ac_cv_lib_m_yn+set}" = set; then
31277   echo $ECHO_N "(cached) $ECHO_C" >&6
31278 else
31279   ac_check_lib_save_LIBS=$LIBS
31280 LIBS="-lm  $LIBS"
31281 if test x$gcc_no_link = xyes; then
31282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31284    { (exit 1); exit 1; }; }
31285 fi
31286 cat >conftest.$ac_ext <<_ACEOF
31287 /* confdefs.h.  */
31288 _ACEOF
31289 cat confdefs.h >>conftest.$ac_ext
31290 cat >>conftest.$ac_ext <<_ACEOF
31291 /* end confdefs.h.  */
31292
31293 /* Override any gcc2 internal prototype to avoid an error.  */
31294 #ifdef __cplusplus
31295 extern "C"
31296 #endif
31297 /* We use char because int might match the return type of a gcc2
31298    builtin and then its argument prototype would still apply.  */
31299 char yn ();
31300 int
31301 main ()
31302 {
31303 yn ();
31304   ;
31305   return 0;
31306 }
31307 _ACEOF
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310   (eval $ac_link) 2>conftest.er1
31311   ac_status=$?
31312   grep -v '^ *+' conftest.er1 >conftest.err
31313   rm -f conftest.er1
31314   cat conftest.err >&5
31315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316   (exit $ac_status); } &&
31317          { ac_try='test -z "$ac_c_werror_flag"
31318                          || test ! -s conftest.err'
31319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320   (eval $ac_try) 2>&5
31321   ac_status=$?
31322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323   (exit $ac_status); }; } &&
31324          { ac_try='test -s conftest$ac_exeext'
31325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326   (eval $ac_try) 2>&5
31327   ac_status=$?
31328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329   (exit $ac_status); }; }; then
31330   ac_cv_lib_m_yn=yes
31331 else
31332   echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335 ac_cv_lib_m_yn=no
31336 fi
31337 rm -f conftest.err conftest.$ac_objext \
31338       conftest$ac_exeext conftest.$ac_ext
31339 LIBS=$ac_check_lib_save_LIBS
31340 fi
31341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31342 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31343 if test $ac_cv_lib_m_yn = yes; then
31344
31345 cat >>confdefs.h <<\_ACEOF
31346 #define HAVE_YN 1
31347 _ACEOF
31348
31349 fi
31350
31351 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31352 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31353 if test "${ac_cv_lib_m_ynl+set}" = set; then
31354   echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356   ac_check_lib_save_LIBS=$LIBS
31357 LIBS="-lm  $LIBS"
31358 if test x$gcc_no_link = xyes; then
31359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31361    { (exit 1); exit 1; }; }
31362 fi
31363 cat >conftest.$ac_ext <<_ACEOF
31364 /* confdefs.h.  */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h.  */
31369
31370 /* Override any gcc2 internal prototype to avoid an error.  */
31371 #ifdef __cplusplus
31372 extern "C"
31373 #endif
31374 /* We use char because int might match the return type of a gcc2
31375    builtin and then its argument prototype would still apply.  */
31376 char ynl ();
31377 int
31378 main ()
31379 {
31380 ynl ();
31381   ;
31382   return 0;
31383 }
31384 _ACEOF
31385 rm -f conftest.$ac_objext conftest$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387   (eval $ac_link) 2>conftest.er1
31388   ac_status=$?
31389   grep -v '^ *+' conftest.er1 >conftest.err
31390   rm -f conftest.er1
31391   cat conftest.err >&5
31392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393   (exit $ac_status); } &&
31394          { ac_try='test -z "$ac_c_werror_flag"
31395                          || test ! -s conftest.err'
31396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397   (eval $ac_try) 2>&5
31398   ac_status=$?
31399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400   (exit $ac_status); }; } &&
31401          { ac_try='test -s conftest$ac_exeext'
31402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403   (eval $ac_try) 2>&5
31404   ac_status=$?
31405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406   (exit $ac_status); }; }; then
31407   ac_cv_lib_m_ynl=yes
31408 else
31409   echo "$as_me: failed program was:" >&5
31410 sed 's/^/| /' conftest.$ac_ext >&5
31411
31412 ac_cv_lib_m_ynl=no
31413 fi
31414 rm -f conftest.err conftest.$ac_objext \
31415       conftest$ac_exeext conftest.$ac_ext
31416 LIBS=$ac_check_lib_save_LIBS
31417 fi
31418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31419 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31420 if test $ac_cv_lib_m_ynl = yes; then
31421
31422 cat >>confdefs.h <<\_ACEOF
31423 #define HAVE_YNL 1
31424 _ACEOF
31425
31426 fi
31427
31428 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31429 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31430 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31431   echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433   ac_check_lib_save_LIBS=$LIBS
31434 LIBS="-lm  $LIBS"
31435 if test x$gcc_no_link = xyes; then
31436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31438    { (exit 1); exit 1; }; }
31439 fi
31440 cat >conftest.$ac_ext <<_ACEOF
31441 /* confdefs.h.  */
31442 _ACEOF
31443 cat confdefs.h >>conftest.$ac_ext
31444 cat >>conftest.$ac_ext <<_ACEOF
31445 /* end confdefs.h.  */
31446
31447 /* Override any gcc2 internal prototype to avoid an error.  */
31448 #ifdef __cplusplus
31449 extern "C"
31450 #endif
31451 /* We use char because int might match the return type of a gcc2
31452    builtin and then its argument prototype would still apply.  */
31453 char tgamma ();
31454 int
31455 main ()
31456 {
31457 tgamma ();
31458   ;
31459   return 0;
31460 }
31461 _ACEOF
31462 rm -f conftest.$ac_objext conftest$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464   (eval $ac_link) 2>conftest.er1
31465   ac_status=$?
31466   grep -v '^ *+' conftest.er1 >conftest.err
31467   rm -f conftest.er1
31468   cat conftest.err >&5
31469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470   (exit $ac_status); } &&
31471          { ac_try='test -z "$ac_c_werror_flag"
31472                          || test ! -s conftest.err'
31473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474   (eval $ac_try) 2>&5
31475   ac_status=$?
31476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477   (exit $ac_status); }; } &&
31478          { ac_try='test -s conftest$ac_exeext'
31479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480   (eval $ac_try) 2>&5
31481   ac_status=$?
31482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483   (exit $ac_status); }; }; then
31484   ac_cv_lib_m_tgamma=yes
31485 else
31486   echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.$ac_ext >&5
31488
31489 ac_cv_lib_m_tgamma=no
31490 fi
31491 rm -f conftest.err conftest.$ac_objext \
31492       conftest$ac_exeext conftest.$ac_ext
31493 LIBS=$ac_check_lib_save_LIBS
31494 fi
31495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31496 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31497 if test $ac_cv_lib_m_tgamma = yes; then
31498
31499 cat >>confdefs.h <<\_ACEOF
31500 #define HAVE_TGAMMA 1
31501 _ACEOF
31502
31503 fi
31504
31505 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31506 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31507 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31508   echo $ECHO_N "(cached) $ECHO_C" >&6
31509 else
31510   ac_check_lib_save_LIBS=$LIBS
31511 LIBS="-lm  $LIBS"
31512 if test x$gcc_no_link = xyes; then
31513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31515    { (exit 1); exit 1; }; }
31516 fi
31517 cat >conftest.$ac_ext <<_ACEOF
31518 /* confdefs.h.  */
31519 _ACEOF
31520 cat confdefs.h >>conftest.$ac_ext
31521 cat >>conftest.$ac_ext <<_ACEOF
31522 /* end confdefs.h.  */
31523
31524 /* Override any gcc2 internal prototype to avoid an error.  */
31525 #ifdef __cplusplus
31526 extern "C"
31527 #endif
31528 /* We use char because int might match the return type of a gcc2
31529    builtin and then its argument prototype would still apply.  */
31530 char tgammaf ();
31531 int
31532 main ()
31533 {
31534 tgammaf ();
31535   ;
31536   return 0;
31537 }
31538 _ACEOF
31539 rm -f conftest.$ac_objext conftest$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541   (eval $ac_link) 2>conftest.er1
31542   ac_status=$?
31543   grep -v '^ *+' conftest.er1 >conftest.err
31544   rm -f conftest.er1
31545   cat conftest.err >&5
31546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547   (exit $ac_status); } &&
31548          { ac_try='test -z "$ac_c_werror_flag"
31549                          || test ! -s conftest.err'
31550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551   (eval $ac_try) 2>&5
31552   ac_status=$?
31553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554   (exit $ac_status); }; } &&
31555          { ac_try='test -s conftest$ac_exeext'
31556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557   (eval $ac_try) 2>&5
31558   ac_status=$?
31559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560   (exit $ac_status); }; }; then
31561   ac_cv_lib_m_tgammaf=yes
31562 else
31563   echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 ac_cv_lib_m_tgammaf=no
31567 fi
31568 rm -f conftest.err conftest.$ac_objext \
31569       conftest$ac_exeext conftest.$ac_ext
31570 LIBS=$ac_check_lib_save_LIBS
31571 fi
31572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31573 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31574 if test $ac_cv_lib_m_tgammaf = yes; then
31575
31576 cat >>confdefs.h <<\_ACEOF
31577 #define HAVE_TGAMMAF 1
31578 _ACEOF
31579
31580 fi
31581
31582 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31583 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31584 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31585   echo $ECHO_N "(cached) $ECHO_C" >&6
31586 else
31587   ac_check_lib_save_LIBS=$LIBS
31588 LIBS="-lm  $LIBS"
31589 if test x$gcc_no_link = xyes; then
31590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31592    { (exit 1); exit 1; }; }
31593 fi
31594 cat >conftest.$ac_ext <<_ACEOF
31595 /* confdefs.h.  */
31596 _ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h.  */
31600
31601 /* Override any gcc2 internal prototype to avoid an error.  */
31602 #ifdef __cplusplus
31603 extern "C"
31604 #endif
31605 /* We use char because int might match the return type of a gcc2
31606    builtin and then its argument prototype would still apply.  */
31607 char tgammal ();
31608 int
31609 main ()
31610 {
31611 tgammal ();
31612   ;
31613   return 0;
31614 }
31615 _ACEOF
31616 rm -f conftest.$ac_objext conftest$ac_exeext
31617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31618   (eval $ac_link) 2>conftest.er1
31619   ac_status=$?
31620   grep -v '^ *+' conftest.er1 >conftest.err
31621   rm -f conftest.er1
31622   cat conftest.err >&5
31623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624   (exit $ac_status); } &&
31625          { ac_try='test -z "$ac_c_werror_flag"
31626                          || test ! -s conftest.err'
31627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628   (eval $ac_try) 2>&5
31629   ac_status=$?
31630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631   (exit $ac_status); }; } &&
31632          { ac_try='test -s conftest$ac_exeext'
31633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634   (eval $ac_try) 2>&5
31635   ac_status=$?
31636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637   (exit $ac_status); }; }; then
31638   ac_cv_lib_m_tgammal=yes
31639 else
31640   echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.$ac_ext >&5
31642
31643 ac_cv_lib_m_tgammal=no
31644 fi
31645 rm -f conftest.err conftest.$ac_objext \
31646       conftest$ac_exeext conftest.$ac_ext
31647 LIBS=$ac_check_lib_save_LIBS
31648 fi
31649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31650 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31651 if test $ac_cv_lib_m_tgammal = yes; then
31652
31653 cat >>confdefs.h <<\_ACEOF
31654 #define HAVE_TGAMMAL 1
31655 _ACEOF
31656
31657 fi
31658
31659 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31660 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31661 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31662   echo $ECHO_N "(cached) $ECHO_C" >&6
31663 else
31664   ac_check_lib_save_LIBS=$LIBS
31665 LIBS="-lm  $LIBS"
31666 if test x$gcc_no_link = xyes; then
31667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31669    { (exit 1); exit 1; }; }
31670 fi
31671 cat >conftest.$ac_ext <<_ACEOF
31672 /* confdefs.h.  */
31673 _ACEOF
31674 cat confdefs.h >>conftest.$ac_ext
31675 cat >>conftest.$ac_ext <<_ACEOF
31676 /* end confdefs.h.  */
31677
31678 /* Override any gcc2 internal prototype to avoid an error.  */
31679 #ifdef __cplusplus
31680 extern "C"
31681 #endif
31682 /* We use char because int might match the return type of a gcc2
31683    builtin and then its argument prototype would still apply.  */
31684 char lgamma ();
31685 int
31686 main ()
31687 {
31688 lgamma ();
31689   ;
31690   return 0;
31691 }
31692 _ACEOF
31693 rm -f conftest.$ac_objext conftest$ac_exeext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31695   (eval $ac_link) 2>conftest.er1
31696   ac_status=$?
31697   grep -v '^ *+' conftest.er1 >conftest.err
31698   rm -f conftest.er1
31699   cat conftest.err >&5
31700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701   (exit $ac_status); } &&
31702          { ac_try='test -z "$ac_c_werror_flag"
31703                          || test ! -s conftest.err'
31704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705   (eval $ac_try) 2>&5
31706   ac_status=$?
31707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708   (exit $ac_status); }; } &&
31709          { ac_try='test -s conftest$ac_exeext'
31710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711   (eval $ac_try) 2>&5
31712   ac_status=$?
31713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714   (exit $ac_status); }; }; then
31715   ac_cv_lib_m_lgamma=yes
31716 else
31717   echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31719
31720 ac_cv_lib_m_lgamma=no
31721 fi
31722 rm -f conftest.err conftest.$ac_objext \
31723       conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31725 fi
31726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31727 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31728 if test $ac_cv_lib_m_lgamma = yes; then
31729
31730 cat >>confdefs.h <<\_ACEOF
31731 #define HAVE_LGAMMA 1
31732 _ACEOF
31733
31734 fi
31735
31736 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31737 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31738 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31739   echo $ECHO_N "(cached) $ECHO_C" >&6
31740 else
31741   ac_check_lib_save_LIBS=$LIBS
31742 LIBS="-lm  $LIBS"
31743 if test x$gcc_no_link = xyes; then
31744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31746    { (exit 1); exit 1; }; }
31747 fi
31748 cat >conftest.$ac_ext <<_ACEOF
31749 /* confdefs.h.  */
31750 _ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h.  */
31754
31755 /* Override any gcc2 internal prototype to avoid an error.  */
31756 #ifdef __cplusplus
31757 extern "C"
31758 #endif
31759 /* We use char because int might match the return type of a gcc2
31760    builtin and then its argument prototype would still apply.  */
31761 char lgammaf ();
31762 int
31763 main ()
31764 {
31765 lgammaf ();
31766   ;
31767   return 0;
31768 }
31769 _ACEOF
31770 rm -f conftest.$ac_objext conftest$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772   (eval $ac_link) 2>conftest.er1
31773   ac_status=$?
31774   grep -v '^ *+' conftest.er1 >conftest.err
31775   rm -f conftest.er1
31776   cat conftest.err >&5
31777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778   (exit $ac_status); } &&
31779          { ac_try='test -z "$ac_c_werror_flag"
31780                          || test ! -s conftest.err'
31781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782   (eval $ac_try) 2>&5
31783   ac_status=$?
31784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785   (exit $ac_status); }; } &&
31786          { ac_try='test -s conftest$ac_exeext'
31787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31788   (eval $ac_try) 2>&5
31789   ac_status=$?
31790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791   (exit $ac_status); }; }; then
31792   ac_cv_lib_m_lgammaf=yes
31793 else
31794   echo "$as_me: failed program was:" >&5
31795 sed 's/^/| /' conftest.$ac_ext >&5
31796
31797 ac_cv_lib_m_lgammaf=no
31798 fi
31799 rm -f conftest.err conftest.$ac_objext \
31800       conftest$ac_exeext conftest.$ac_ext
31801 LIBS=$ac_check_lib_save_LIBS
31802 fi
31803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31804 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31805 if test $ac_cv_lib_m_lgammaf = yes; then
31806
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_LGAMMAF 1
31809 _ACEOF
31810
31811 fi
31812
31813 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31814 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31815 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31816   echo $ECHO_N "(cached) $ECHO_C" >&6
31817 else
31818   ac_check_lib_save_LIBS=$LIBS
31819 LIBS="-lm  $LIBS"
31820 if test x$gcc_no_link = xyes; then
31821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31823    { (exit 1); exit 1; }; }
31824 fi
31825 cat >conftest.$ac_ext <<_ACEOF
31826 /* confdefs.h.  */
31827 _ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h.  */
31831
31832 /* Override any gcc2 internal prototype to avoid an error.  */
31833 #ifdef __cplusplus
31834 extern "C"
31835 #endif
31836 /* We use char because int might match the return type of a gcc2
31837    builtin and then its argument prototype would still apply.  */
31838 char lgammal ();
31839 int
31840 main ()
31841 {
31842 lgammal ();
31843   ;
31844   return 0;
31845 }
31846 _ACEOF
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31849   (eval $ac_link) 2>conftest.er1
31850   ac_status=$?
31851   grep -v '^ *+' conftest.er1 >conftest.err
31852   rm -f conftest.er1
31853   cat conftest.err >&5
31854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855   (exit $ac_status); } &&
31856          { ac_try='test -z "$ac_c_werror_flag"
31857                          || test ! -s conftest.err'
31858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859   (eval $ac_try) 2>&5
31860   ac_status=$?
31861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862   (exit $ac_status); }; } &&
31863          { ac_try='test -s conftest$ac_exeext'
31864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865   (eval $ac_try) 2>&5
31866   ac_status=$?
31867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868   (exit $ac_status); }; }; then
31869   ac_cv_lib_m_lgammal=yes
31870 else
31871   echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31873
31874 ac_cv_lib_m_lgammal=no
31875 fi
31876 rm -f conftest.err conftest.$ac_objext \
31877       conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31879 fi
31880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
31881 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
31882 if test $ac_cv_lib_m_lgammal = yes; then
31883
31884 cat >>confdefs.h <<\_ACEOF
31885 #define HAVE_LGAMMAL 1
31886 _ACEOF
31887
31888 fi
31889
31890
31891 # On AIX, clog is present in libm as __clog
31892 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31893 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31894 if test "${ac_cv_lib_m___clog+set}" = set; then
31895   echo $ECHO_N "(cached) $ECHO_C" >&6
31896 else
31897   ac_check_lib_save_LIBS=$LIBS
31898 LIBS="-lm  $LIBS"
31899 if test x$gcc_no_link = xyes; then
31900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31902    { (exit 1); exit 1; }; }
31903 fi
31904 cat >conftest.$ac_ext <<_ACEOF
31905 /* confdefs.h.  */
31906 _ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h.  */
31910
31911 /* Override any gcc2 internal prototype to avoid an error.  */
31912 #ifdef __cplusplus
31913 extern "C"
31914 #endif
31915 /* We use char because int might match the return type of a gcc2
31916    builtin and then its argument prototype would still apply.  */
31917 char __clog ();
31918 int
31919 main ()
31920 {
31921 __clog ();
31922   ;
31923   return 0;
31924 }
31925 _ACEOF
31926 rm -f conftest.$ac_objext conftest$ac_exeext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31928   (eval $ac_link) 2>conftest.er1
31929   ac_status=$?
31930   grep -v '^ *+' conftest.er1 >conftest.err
31931   rm -f conftest.er1
31932   cat conftest.err >&5
31933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934   (exit $ac_status); } &&
31935          { ac_try='test -z "$ac_c_werror_flag"
31936                          || test ! -s conftest.err'
31937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938   (eval $ac_try) 2>&5
31939   ac_status=$?
31940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941   (exit $ac_status); }; } &&
31942          { ac_try='test -s conftest$ac_exeext'
31943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944   (eval $ac_try) 2>&5
31945   ac_status=$?
31946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947   (exit $ac_status); }; }; then
31948   ac_cv_lib_m___clog=yes
31949 else
31950   echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 ac_cv_lib_m___clog=no
31954 fi
31955 rm -f conftest.err conftest.$ac_objext \
31956       conftest$ac_exeext conftest.$ac_ext
31957 LIBS=$ac_check_lib_save_LIBS
31958 fi
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31960 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31961 if test $ac_cv_lib_m___clog = yes; then
31962
31963 cat >>confdefs.h <<\_ACEOF
31964 #define HAVE_CLOG 1
31965 _ACEOF
31966
31967 fi
31968
31969
31970 # Check for a isfinite macro that works on long doubles.
31971
31972   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31973 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31974 if test "${have_broken_isfinite+set}" = set; then
31975   echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31977
31978   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31979   LIBS="$LIBS -lm"
31980   if test "$cross_compiling" = yes; then
31981
31982 case "${target}" in
31983   hppa*-*-hpux*) have_broken_isfinite=yes ;;
31984   *) have_broken_isfinite=no ;;
31985 esac
31986 else
31987   cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h.  */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h.  */
31993
31994 #include <math.h>
31995 #include <float.h>
31996 int main ()
31997 {
31998 #ifdef isfinite
31999 #ifdef LDBL_MAX
32000   if (!isfinite(LDBL_MAX)) return 1;
32001 #endif
32002 #ifdef DBL_MAX
32003   if (!isfinite(DBL_MAX)) return 1;
32004 #endif
32005 #endif
32006 return 0;
32007 }
32008 _ACEOF
32009 rm -f conftest$ac_exeext
32010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32011   (eval $ac_link) 2>&5
32012   ac_status=$?
32013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016   (eval $ac_try) 2>&5
32017   ac_status=$?
32018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019   (exit $ac_status); }; }; then
32020   have_broken_isfinite=no
32021 else
32022   echo "$as_me: program exited with status $ac_status" >&5
32023 echo "$as_me: failed program was:" >&5
32024 sed 's/^/| /' conftest.$ac_ext >&5
32025
32026 ( exit $ac_status )
32027 have_broken_isfinite=yes
32028 fi
32029 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32030 fi
32031   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32032 fi
32033 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32034 echo "${ECHO_T}$have_broken_isfinite" >&6
32035 if test x"$have_broken_isfinite" = xyes; then
32036
32037 cat >>confdefs.h <<\_ACEOF
32038 #define HAVE_BROKEN_ISFINITE 1
32039 _ACEOF
32040
32041 fi
32042
32043 # Check for a isnan macro that works on long doubles.
32044
32045   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32046 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32047 if test "${have_broken_isnan+set}" = set; then
32048   echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32050
32051   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32052   LIBS="$LIBS -lm"
32053   if test "$cross_compiling" = yes; then
32054
32055 case "${target}" in
32056   hppa*-*-hpux*) have_broken_isnan=yes ;;
32057   *) have_broken_isnan=no ;;
32058 esac
32059 else
32060   cat >conftest.$ac_ext <<_ACEOF
32061 /* confdefs.h.  */
32062 _ACEOF
32063 cat confdefs.h >>conftest.$ac_ext
32064 cat >>conftest.$ac_ext <<_ACEOF
32065 /* end confdefs.h.  */
32066
32067 #include <math.h>
32068 #include <float.h>
32069 int main ()
32070 {
32071 #ifdef isnan
32072 #ifdef LDBL_MAX
32073   {
32074     long double x;
32075     x = __builtin_nanl ("");
32076     if (!isnan(x)) return 1;
32077     if (isnan(LDBL_MAX)) return 1;
32078 #ifdef NAN
32079     x = (long double) NAN;
32080     if (!isnan(x)) return 1;
32081 #endif
32082   }
32083 #endif
32084 #ifdef DBL_MAX
32085   {
32086     double y;
32087     y = __builtin_nan ("");
32088     if (!isnan(y)) return 1;
32089     if (isnan(DBL_MAX)) return 1;
32090 #ifdef NAN
32091     y = (double) NAN;
32092     if (!isnan(y)) return 1;
32093 #endif
32094   }
32095 #endif
32096 #endif
32097 return 0;
32098 }
32099 _ACEOF
32100 rm -f conftest$ac_exeext
32101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32102   (eval $ac_link) 2>&5
32103   ac_status=$?
32104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107   (eval $ac_try) 2>&5
32108   ac_status=$?
32109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110   (exit $ac_status); }; }; then
32111   have_broken_isnan=no
32112 else
32113   echo "$as_me: program exited with status $ac_status" >&5
32114 echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.$ac_ext >&5
32116
32117 ( exit $ac_status )
32118 have_broken_isnan=yes
32119 fi
32120 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32121 fi
32122   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32123 fi
32124 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32125 echo "${ECHO_T}$have_broken_isnan" >&6
32126 if test x"$have_broken_isnan" = xyes; then
32127
32128 cat >>confdefs.h <<\_ACEOF
32129 #define HAVE_BROKEN_ISNAN 1
32130 _ACEOF
32131
32132 fi
32133
32134 # Check for a fpclassify macro that works on long doubles.
32135
32136   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32137 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32138 if test "${have_broken_fpclassify+set}" = set; then
32139   echo $ECHO_N "(cached) $ECHO_C" >&6
32140 else
32141
32142   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32143   LIBS="$LIBS -lm"
32144   if test "$cross_compiling" = yes; then
32145
32146 case "${target}" in
32147   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32148   *) have_broken_fpclassify=no ;;
32149 esac
32150 else
32151   cat >conftest.$ac_ext <<_ACEOF
32152 /* confdefs.h.  */
32153 _ACEOF
32154 cat confdefs.h >>conftest.$ac_ext
32155 cat >>conftest.$ac_ext <<_ACEOF
32156 /* end confdefs.h.  */
32157
32158 #include <math.h>
32159 #include <float.h>
32160 int main ()
32161 {
32162 #ifdef fpclassify
32163 #ifdef LDBL_MAX
32164         if (fpclassify(LDBL_MAX) == FP_NAN
32165             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32166 #endif
32167 #ifdef DBL_MAX
32168         if (fpclassify(DBL_MAX) == FP_NAN
32169             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32170 #endif
32171 #endif
32172 return 0;
32173 }
32174 _ACEOF
32175 rm -f conftest$ac_exeext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32177   (eval $ac_link) 2>&5
32178   ac_status=$?
32179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32182   (eval $ac_try) 2>&5
32183   ac_status=$?
32184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185   (exit $ac_status); }; }; then
32186   have_broken_fpclassify=no
32187 else
32188   echo "$as_me: program exited with status $ac_status" >&5
32189 echo "$as_me: failed program was:" >&5
32190 sed 's/^/| /' conftest.$ac_ext >&5
32191
32192 ( exit $ac_status )
32193 have_broken_fpclassify=yes
32194 fi
32195 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32196 fi
32197   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32198 fi
32199 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32200 echo "${ECHO_T}$have_broken_fpclassify" >&6
32201 if test x"$have_broken_fpclassify" = xyes; then
32202
32203 cat >>confdefs.h <<\_ACEOF
32204 #define HAVE_BROKEN_FPCLASSIFY 1
32205 _ACEOF
32206
32207 fi
32208
32209 # Check whether the system has a working stat()
32210
32211   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32212 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32213 if test "${have_working_stat+set}" = set; then
32214   echo $ECHO_N "(cached) $ECHO_C" >&6
32215 else
32216
32217   if test "$cross_compiling" = yes; then
32218
32219 case "${target}" in
32220   *mingw*) have_working_stat=no ;;
32221   *) have_working_stat=yes;;
32222 esac
32223 else
32224   cat >conftest.$ac_ext <<_ACEOF
32225 /* confdefs.h.  */
32226 _ACEOF
32227 cat confdefs.h >>conftest.$ac_ext
32228 cat >>conftest.$ac_ext <<_ACEOF
32229 /* end confdefs.h.  */
32230
32231 #include <stdio.h>
32232 #include <sys/types.h>
32233 #include <sys/stat.h>
32234 #include <unistd.h>
32235
32236 int main ()
32237 {
32238   FILE *f, *g;
32239   struct stat st1, st2;
32240
32241   f = fopen ("foo", "w");
32242   g = fopen ("bar", "w");
32243   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32244     return 1;
32245   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32246     return 1;
32247   fclose(f);
32248   fclose(g);
32249   return 0;
32250 }
32251 _ACEOF
32252 rm -f conftest$ac_exeext
32253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32254   (eval $ac_link) 2>&5
32255   ac_status=$?
32256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259   (eval $ac_try) 2>&5
32260   ac_status=$?
32261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262   (exit $ac_status); }; }; then
32263   have_working_stat=yes
32264 else
32265   echo "$as_me: program exited with status $ac_status" >&5
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.$ac_ext >&5
32268
32269 ( exit $ac_status )
32270 have_working_stat=no
32271 fi
32272 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32273 fi
32274 fi
32275 echo "$as_me:$LINENO: result: $have_working_stat" >&5
32276 echo "${ECHO_T}$have_working_stat" >&6
32277 if test x"$have_working_stat" = xyes; then
32278
32279 cat >>confdefs.h <<\_ACEOF
32280 #define HAVE_WORKING_STAT 1
32281 _ACEOF
32282
32283 fi
32284
32285 # Check whether __mingw_snprintf() is present
32286
32287   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32288 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32289 if test "${have_mingw_snprintf+set}" = set; then
32290   echo $ECHO_N "(cached) $ECHO_C" >&6
32291 else
32292
32293     if test x$gcc_no_link = xyes; then
32294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32296    { (exit 1); exit 1; }; }
32297 fi
32298 cat >conftest.$ac_ext <<_ACEOF
32299 /* confdefs.h.  */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h.  */
32304
32305 #include <stdio.h>
32306 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32307
32308 int
32309 main ()
32310 {
32311
32312 __mingw_snprintf (NULL, 0, "%d\n", 1);
32313
32314   ;
32315   return 0;
32316 }
32317 _ACEOF
32318 rm -f conftest.$ac_objext conftest$ac_exeext
32319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32320   (eval $ac_link) 2>conftest.er1
32321   ac_status=$?
32322   grep -v '^ *+' conftest.er1 >conftest.err
32323   rm -f conftest.er1
32324   cat conftest.err >&5
32325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326   (exit $ac_status); } &&
32327          { ac_try='test -z "$ac_c_werror_flag"
32328                          || test ! -s conftest.err'
32329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330   (eval $ac_try) 2>&5
32331   ac_status=$?
32332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333   (exit $ac_status); }; } &&
32334          { ac_try='test -s conftest$ac_exeext'
32335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336   (eval $ac_try) 2>&5
32337   ac_status=$?
32338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339   (exit $ac_status); }; }; then
32340   eval "have_mingw_snprintf=yes"
32341 else
32342   echo "$as_me: failed program was:" >&5
32343 sed 's/^/| /' conftest.$ac_ext >&5
32344
32345 eval "have_mingw_snprintf=no"
32346 fi
32347 rm -f conftest.err conftest.$ac_objext \
32348       conftest$ac_exeext conftest.$ac_ext
32349
32350 fi
32351 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32352 echo "${ECHO_T}$have_mingw_snprintf" >&6
32353   if test x"$have_mingw_snprintf" = xyes; then
32354
32355 cat >>confdefs.h <<\_ACEOF
32356 #define HAVE_MINGW_SNPRINTF 1
32357 _ACEOF
32358
32359   fi
32360
32361
32362 # Check for GNU libc feenableexcept
32363 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32364 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32365 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32366   echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368   ac_check_lib_save_LIBS=$LIBS
32369 LIBS="-lm  $LIBS"
32370 if test x$gcc_no_link = xyes; then
32371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32373    { (exit 1); exit 1; }; }
32374 fi
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h.  */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h.  */
32381
32382 /* Override any gcc2 internal prototype to avoid an error.  */
32383 #ifdef __cplusplus
32384 extern "C"
32385 #endif
32386 /* We use char because int might match the return type of a gcc2
32387    builtin and then its argument prototype would still apply.  */
32388 char feenableexcept ();
32389 int
32390 main ()
32391 {
32392 feenableexcept ();
32393   ;
32394   return 0;
32395 }
32396 _ACEOF
32397 rm -f conftest.$ac_objext conftest$ac_exeext
32398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32399   (eval $ac_link) 2>conftest.er1
32400   ac_status=$?
32401   grep -v '^ *+' conftest.er1 >conftest.err
32402   rm -f conftest.er1
32403   cat conftest.err >&5
32404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405   (exit $ac_status); } &&
32406          { ac_try='test -z "$ac_c_werror_flag"
32407                          || test ! -s conftest.err'
32408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409   (eval $ac_try) 2>&5
32410   ac_status=$?
32411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412   (exit $ac_status); }; } &&
32413          { ac_try='test -s conftest$ac_exeext'
32414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415   (eval $ac_try) 2>&5
32416   ac_status=$?
32417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418   (exit $ac_status); }; }; then
32419   ac_cv_lib_m_feenableexcept=yes
32420 else
32421   echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.$ac_ext >&5
32423
32424 ac_cv_lib_m_feenableexcept=no
32425 fi
32426 rm -f conftest.err conftest.$ac_objext \
32427       conftest$ac_exeext conftest.$ac_ext
32428 LIBS=$ac_check_lib_save_LIBS
32429 fi
32430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32431 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32432 if test $ac_cv_lib_m_feenableexcept = yes; then
32433   have_feenableexcept=yes
32434 cat >>confdefs.h <<\_ACEOF
32435 #define HAVE_FEENABLEEXCEPT 1
32436 _ACEOF
32437
32438 fi
32439
32440
32441 # Check for SysV fpsetmask
32442
32443   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32444 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32445 if test "${have_fpsetmask+set}" = set; then
32446   echo $ECHO_N "(cached) $ECHO_C" >&6
32447 else
32448
32449     if test x$gcc_no_link = xyes; then
32450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32452    { (exit 1); exit 1; }; }
32453 fi
32454 cat >conftest.$ac_ext <<_ACEOF
32455 /* confdefs.h.  */
32456 _ACEOF
32457 cat confdefs.h >>conftest.$ac_ext
32458 cat >>conftest.$ac_ext <<_ACEOF
32459 /* end confdefs.h.  */
32460
32461 #if HAVE_FLOATINGPOINT_H
32462 # include <floatingpoint.h>
32463 #endif /* HAVE_FLOATINGPOINT_H */
32464 #if HAVE_IEEEFP_H
32465 # include <ieeefp.h>
32466 #endif /* HAVE_IEEEFP_H */
32467 int
32468 main ()
32469 {
32470 fpsetmask(0);
32471   ;
32472   return 0;
32473 }
32474 _ACEOF
32475 rm -f conftest.$ac_objext conftest$ac_exeext
32476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32477   (eval $ac_link) 2>conftest.er1
32478   ac_status=$?
32479   grep -v '^ *+' conftest.er1 >conftest.err
32480   rm -f conftest.er1
32481   cat conftest.err >&5
32482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483   (exit $ac_status); } &&
32484          { ac_try='test -z "$ac_c_werror_flag"
32485                          || test ! -s conftest.err'
32486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32487   (eval $ac_try) 2>&5
32488   ac_status=$?
32489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32490   (exit $ac_status); }; } &&
32491          { ac_try='test -s conftest$ac_exeext'
32492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32493   (eval $ac_try) 2>&5
32494   ac_status=$?
32495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496   (exit $ac_status); }; }; then
32497   eval "have_fpsetmask=yes"
32498 else
32499   echo "$as_me: failed program was:" >&5
32500 sed 's/^/| /' conftest.$ac_ext >&5
32501
32502 eval "have_fpsetmask=no"
32503 fi
32504 rm -f conftest.err conftest.$ac_objext \
32505       conftest$ac_exeext conftest.$ac_ext
32506
32507 fi
32508 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32509 echo "${ECHO_T}$have_fpsetmask" >&6
32510   if test x"$have_fpsetmask" = xyes; then
32511
32512 cat >>confdefs.h <<\_ACEOF
32513 #define HAVE_FPSETMASK 1
32514 _ACEOF
32515
32516   fi
32517
32518
32519 # Check for AIX fp_trap and fp_enable
32520 echo "$as_me:$LINENO: checking for fp_trap" >&5
32521 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32522 if test "${ac_cv_func_fp_trap+set}" = set; then
32523   echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525   if test x$gcc_no_link = xyes; then
32526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32528    { (exit 1); exit 1; }; }
32529 fi
32530 cat >conftest.$ac_ext <<_ACEOF
32531 /* confdefs.h.  */
32532 _ACEOF
32533 cat confdefs.h >>conftest.$ac_ext
32534 cat >>conftest.$ac_ext <<_ACEOF
32535 /* end confdefs.h.  */
32536 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32538 #define fp_trap innocuous_fp_trap
32539
32540 /* System header to define __stub macros and hopefully few prototypes,
32541     which can conflict with char fp_trap (); below.
32542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32543     <limits.h> exists even on freestanding compilers.  */
32544
32545 #ifdef __STDC__
32546 # include <limits.h>
32547 #else
32548 # include <assert.h>
32549 #endif
32550
32551 #undef fp_trap
32552
32553 /* Override any gcc2 internal prototype to avoid an error.  */
32554 #ifdef __cplusplus
32555 extern "C"
32556 {
32557 #endif
32558 /* We use char because int might match the return type of a gcc2
32559    builtin and then its argument prototype would still apply.  */
32560 char fp_trap ();
32561 /* The GNU C library defines this for functions which it implements
32562     to always fail with ENOSYS.  Some functions are actually named
32563     something starting with __ and the normal name is an alias.  */
32564 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32565 choke me
32566 #else
32567 char (*f) () = fp_trap;
32568 #endif
32569 #ifdef __cplusplus
32570 }
32571 #endif
32572
32573 int
32574 main ()
32575 {
32576 return f != fp_trap;
32577   ;
32578   return 0;
32579 }
32580 _ACEOF
32581 rm -f conftest.$ac_objext conftest$ac_exeext
32582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32583   (eval $ac_link) 2>conftest.er1
32584   ac_status=$?
32585   grep -v '^ *+' conftest.er1 >conftest.err
32586   rm -f conftest.er1
32587   cat conftest.err >&5
32588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589   (exit $ac_status); } &&
32590          { ac_try='test -z "$ac_c_werror_flag"
32591                          || test ! -s conftest.err'
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); }; } &&
32597          { ac_try='test -s conftest$ac_exeext'
32598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599   (eval $ac_try) 2>&5
32600   ac_status=$?
32601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602   (exit $ac_status); }; }; then
32603   ac_cv_func_fp_trap=yes
32604 else
32605   echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.$ac_ext >&5
32607
32608 ac_cv_func_fp_trap=no
32609 fi
32610 rm -f conftest.err conftest.$ac_objext \
32611       conftest$ac_exeext conftest.$ac_ext
32612 fi
32613 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32614 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32615 if test $ac_cv_func_fp_trap = yes; then
32616   have_fp_trap=yes
32617 cat >>confdefs.h <<\_ACEOF
32618 #define HAVE_FP_TRAP 1
32619 _ACEOF
32620
32621 fi
32622
32623 echo "$as_me:$LINENO: checking for fp_enable" >&5
32624 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32625 if test "${ac_cv_func_fp_enable+set}" = set; then
32626   echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628   if test x$gcc_no_link = xyes; then
32629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32631    { (exit 1); exit 1; }; }
32632 fi
32633 cat >conftest.$ac_ext <<_ACEOF
32634 /* confdefs.h.  */
32635 _ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h.  */
32639 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32641 #define fp_enable innocuous_fp_enable
32642
32643 /* System header to define __stub macros and hopefully few prototypes,
32644     which can conflict with char fp_enable (); below.
32645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32646     <limits.h> exists even on freestanding compilers.  */
32647
32648 #ifdef __STDC__
32649 # include <limits.h>
32650 #else
32651 # include <assert.h>
32652 #endif
32653
32654 #undef fp_enable
32655
32656 /* Override any gcc2 internal prototype to avoid an error.  */
32657 #ifdef __cplusplus
32658 extern "C"
32659 {
32660 #endif
32661 /* We use char because int might match the return type of a gcc2
32662    builtin and then its argument prototype would still apply.  */
32663 char fp_enable ();
32664 /* The GNU C library defines this for functions which it implements
32665     to always fail with ENOSYS.  Some functions are actually named
32666     something starting with __ and the normal name is an alias.  */
32667 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32668 choke me
32669 #else
32670 char (*f) () = fp_enable;
32671 #endif
32672 #ifdef __cplusplus
32673 }
32674 #endif
32675
32676 int
32677 main ()
32678 {
32679 return f != fp_enable;
32680   ;
32681   return 0;
32682 }
32683 _ACEOF
32684 rm -f conftest.$ac_objext conftest$ac_exeext
32685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32686   (eval $ac_link) 2>conftest.er1
32687   ac_status=$?
32688   grep -v '^ *+' conftest.er1 >conftest.err
32689   rm -f conftest.er1
32690   cat conftest.err >&5
32691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692   (exit $ac_status); } &&
32693          { ac_try='test -z "$ac_c_werror_flag"
32694                          || test ! -s conftest.err'
32695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696   (eval $ac_try) 2>&5
32697   ac_status=$?
32698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699   (exit $ac_status); }; } &&
32700          { ac_try='test -s conftest$ac_exeext'
32701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702   (eval $ac_try) 2>&5
32703   ac_status=$?
32704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705   (exit $ac_status); }; }; then
32706   ac_cv_func_fp_enable=yes
32707 else
32708   echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.$ac_ext >&5
32710
32711 ac_cv_func_fp_enable=no
32712 fi
32713 rm -f conftest.err conftest.$ac_objext \
32714       conftest$ac_exeext conftest.$ac_ext
32715 fi
32716 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32717 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32718 if test $ac_cv_func_fp_enable = yes; then
32719   have_fp_enable=yes
32720 cat >>confdefs.h <<\_ACEOF
32721 #define HAVE_FP_ENABLE 1
32722 _ACEOF
32723
32724 fi
32725
32726
32727 # Runs configure.host to set up necessary host-dependent shell variables.
32728 # We then display a message about it, and propagate them through the
32729 # build chain.
32730 . ${srcdir}/configure.host
32731 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32732 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32733 FPU_HOST_HEADER=config/${fpu_host}.h
32734
32735
32736 # Check out attribute support.
32737
32738   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32739 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32740 if test "${have_attribute_visibility+set}" = set; then
32741   echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32743
32744   save_CFLAGS="$CFLAGS"
32745   CFLAGS="$CFLAGS -Werror"
32746   cat >conftest.$ac_ext <<_ACEOF
32747 /* confdefs.h.  */
32748 _ACEOF
32749 cat confdefs.h >>conftest.$ac_ext
32750 cat >>conftest.$ac_ext <<_ACEOF
32751 /* end confdefs.h.  */
32752 void __attribute__((visibility("hidden"))) foo(void) { }
32753 int
32754 main ()
32755 {
32756
32757   ;
32758   return 0;
32759 }
32760 _ACEOF
32761 rm -f conftest.$ac_objext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32763   (eval $ac_compile) 2>conftest.er1
32764   ac_status=$?
32765   grep -v '^ *+' conftest.er1 >conftest.err
32766   rm -f conftest.er1
32767   cat conftest.err >&5
32768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769   (exit $ac_status); } &&
32770          { ac_try='test -z "$ac_c_werror_flag"
32771                          || test ! -s conftest.err'
32772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773   (eval $ac_try) 2>&5
32774   ac_status=$?
32775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776   (exit $ac_status); }; } &&
32777          { ac_try='test -s conftest.$ac_objext'
32778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779   (eval $ac_try) 2>&5
32780   ac_status=$?
32781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782   (exit $ac_status); }; }; then
32783   have_attribute_visibility=yes
32784 else
32785   echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.$ac_ext >&5
32787
32788 have_attribute_visibility=no
32789 fi
32790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32791   CFLAGS="$save_CFLAGS"
32792 fi
32793 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32794 echo "${ECHO_T}$have_attribute_visibility" >&6
32795   if test $have_attribute_visibility = yes; then
32796
32797 cat >>confdefs.h <<\_ACEOF
32798 #define HAVE_ATTRIBUTE_VISIBILITY 1
32799 _ACEOF
32800
32801   fi
32802
32803   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32804 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32805 if test "${have_attribute_dllexport+set}" = set; then
32806   echo $ECHO_N "(cached) $ECHO_C" >&6
32807 else
32808
32809   save_CFLAGS="$CFLAGS"
32810   CFLAGS="$CFLAGS -Werror"
32811   cat >conftest.$ac_ext <<_ACEOF
32812 /* confdefs.h.  */
32813 _ACEOF
32814 cat confdefs.h >>conftest.$ac_ext
32815 cat >>conftest.$ac_ext <<_ACEOF
32816 /* end confdefs.h.  */
32817 void __attribute__((dllexport)) foo(void) { }
32818 int
32819 main ()
32820 {
32821
32822   ;
32823   return 0;
32824 }
32825 _ACEOF
32826 rm -f conftest.$ac_objext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32828   (eval $ac_compile) 2>conftest.er1
32829   ac_status=$?
32830   grep -v '^ *+' conftest.er1 >conftest.err
32831   rm -f conftest.er1
32832   cat conftest.err >&5
32833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834   (exit $ac_status); } &&
32835          { ac_try='test -z "$ac_c_werror_flag"
32836                          || test ! -s conftest.err'
32837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838   (eval $ac_try) 2>&5
32839   ac_status=$?
32840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841   (exit $ac_status); }; } &&
32842          { ac_try='test -s conftest.$ac_objext'
32843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844   (eval $ac_try) 2>&5
32845   ac_status=$?
32846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847   (exit $ac_status); }; }; then
32848   have_attribute_dllexport=yes
32849 else
32850   echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 have_attribute_dllexport=no
32854 fi
32855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32856   CFLAGS="$save_CFLAGS"
32857 fi
32858 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32859 echo "${ECHO_T}$have_attribute_dllexport" >&6
32860   if test $have_attribute_dllexport = yes; then
32861
32862 cat >>confdefs.h <<\_ACEOF
32863 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32864 _ACEOF
32865
32866   fi
32867
32868   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32869 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32870 if test "${have_attribute_alias+set}" = set; then
32871   echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873
32874   if test x$gcc_no_link = xyes; then
32875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32877    { (exit 1); exit 1; }; }
32878 fi
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h.  */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h.  */
32885
32886 void foo(void) { }
32887 extern void bar(void) __attribute__((alias("foo")));
32888 int
32889 main ()
32890 {
32891 bar();
32892   ;
32893   return 0;
32894 }
32895 _ACEOF
32896 rm -f conftest.$ac_objext conftest$ac_exeext
32897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32898   (eval $ac_link) 2>conftest.er1
32899   ac_status=$?
32900   grep -v '^ *+' conftest.er1 >conftest.err
32901   rm -f conftest.er1
32902   cat conftest.err >&5
32903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904   (exit $ac_status); } &&
32905          { ac_try='test -z "$ac_c_werror_flag"
32906                          || test ! -s conftest.err'
32907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32908   (eval $ac_try) 2>&5
32909   ac_status=$?
32910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911   (exit $ac_status); }; } &&
32912          { ac_try='test -s conftest$ac_exeext'
32913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914   (eval $ac_try) 2>&5
32915   ac_status=$?
32916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917   (exit $ac_status); }; }; then
32918   have_attribute_alias=yes
32919 else
32920   echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.$ac_ext >&5
32922
32923 have_attribute_alias=no
32924 fi
32925 rm -f conftest.err conftest.$ac_objext \
32926       conftest$ac_exeext conftest.$ac_ext
32927 fi
32928 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32929 echo "${ECHO_T}$have_attribute_alias" >&6
32930   if test $have_attribute_alias = yes; then
32931
32932 cat >>confdefs.h <<\_ACEOF
32933 #define HAVE_ATTRIBUTE_ALIAS 1
32934 _ACEOF
32935
32936   fi
32937
32938 # Check out sync builtins support.
32939
32940   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32941 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32942 if test "${have_sync_fetch_and_add+set}" = set; then
32943   echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945
32946   if test x$gcc_no_link = xyes; then
32947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32949    { (exit 1); exit 1; }; }
32950 fi
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h.  */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h.  */
32957 int foovar = 0;
32958 int
32959 main ()
32960 {
32961
32962 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32963 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32964   ;
32965   return 0;
32966 }
32967 _ACEOF
32968 rm -f conftest.$ac_objext conftest$ac_exeext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32970   (eval $ac_link) 2>conftest.er1
32971   ac_status=$?
32972   grep -v '^ *+' conftest.er1 >conftest.err
32973   rm -f conftest.er1
32974   cat conftest.err >&5
32975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976   (exit $ac_status); } &&
32977          { ac_try='test -z "$ac_c_werror_flag"
32978                          || test ! -s conftest.err'
32979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32980   (eval $ac_try) 2>&5
32981   ac_status=$?
32982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983   (exit $ac_status); }; } &&
32984          { ac_try='test -s conftest$ac_exeext'
32985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986   (eval $ac_try) 2>&5
32987   ac_status=$?
32988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989   (exit $ac_status); }; }; then
32990   have_sync_fetch_and_add=yes
32991 else
32992   echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995 have_sync_fetch_and_add=no
32996 fi
32997 rm -f conftest.err conftest.$ac_objext \
32998       conftest$ac_exeext conftest.$ac_ext
32999 fi
33000 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33001 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
33002   if test $have_sync_fetch_and_add = yes; then
33003
33004 cat >>confdefs.h <<\_ACEOF
33005 #define HAVE_SYNC_FETCH_AND_ADD 1
33006 _ACEOF
33007
33008   fi
33009
33010 # Check out thread support.
33011
33012   echo "$as_me:$LINENO: checking configured target thread model" >&5
33013 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33014 if test "${target_thread_file+set}" = set; then
33015   echo $ECHO_N "(cached) $ECHO_C" >&6
33016 else
33017
33018 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33019 fi
33020 echo "$as_me:$LINENO: result: $target_thread_file" >&5
33021 echo "${ECHO_T}$target_thread_file" >&6
33022
33023   if test $target_thread_file != single; then
33024
33025 cat >>confdefs.h <<\_ACEOF
33026 #define HAVE_GTHR_DEFAULT 1
33027 _ACEOF
33028
33029   fi
33030
33031 # Check out #pragma weak.
33032
33033   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33034 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33035 if test "${have_pragma_weak+set}" = set; then
33036   echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038
33039   gfor_save_CFLAGS="$CFLAGS"
33040   CFLAGS="$CFLAGS -Wunknown-pragmas"
33041   cat >conftest.$ac_ext <<_ACEOF
33042 /* confdefs.h.  */
33043 _ACEOF
33044 cat confdefs.h >>conftest.$ac_ext
33045 cat >>conftest.$ac_ext <<_ACEOF
33046 /* end confdefs.h.  */
33047 void foo (void);
33048 #pragma weak foo
33049 int
33050 main ()
33051 {
33052 if (foo) foo ();
33053   ;
33054   return 0;
33055 }
33056 _ACEOF
33057 rm -f conftest.$ac_objext
33058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33059   (eval $ac_compile) 2>conftest.er1
33060   ac_status=$?
33061   grep -v '^ *+' conftest.er1 >conftest.err
33062   rm -f conftest.er1
33063   cat conftest.err >&5
33064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065   (exit $ac_status); } &&
33066          { ac_try='test -z "$ac_c_werror_flag"
33067                          || test ! -s conftest.err'
33068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069   (eval $ac_try) 2>&5
33070   ac_status=$?
33071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072   (exit $ac_status); }; } &&
33073          { ac_try='test -s conftest.$ac_objext'
33074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075   (eval $ac_try) 2>&5
33076   ac_status=$?
33077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078   (exit $ac_status); }; }; then
33079   have_pragma_weak=yes
33080 else
33081   echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.$ac_ext >&5
33083
33084 have_pragma_weak=no
33085 fi
33086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33087 fi
33088 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33089 echo "${ECHO_T}$have_pragma_weak" >&6
33090   if test $have_pragma_weak = yes; then
33091
33092 cat >>confdefs.h <<\_ACEOF
33093 #define SUPPORTS_WEAK 1
33094 _ACEOF
33095
33096   fi
33097   case "$host" in
33098     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33099
33100 cat >>confdefs.h <<\_ACEOF
33101 #define GTHREAD_USE_WEAK 0
33102 _ACEOF
33103
33104       ;;
33105   esac
33106
33107 # Various other checks on target
33108
33109   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33110 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33111 if test "${have_unlink_open_file+set}" = set; then
33112   echo $ECHO_N "(cached) $ECHO_C" >&6
33113 else
33114
33115   if test "$cross_compiling" = yes; then
33116
33117 case "${target}" in
33118   *mingw*) have_unlink_open_file=no ;;
33119   *) have_unlink_open_file=yes;;
33120 esac
33121 else
33122   cat >conftest.$ac_ext <<_ACEOF
33123 /* confdefs.h.  */
33124 _ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h.  */
33128
33129 #include <errno.h>
33130 #include <fcntl.h>
33131 #include <unistd.h>
33132 #include <sys/stat.h>
33133
33134 int main ()
33135 {
33136   int fd;
33137
33138   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33139   if (fd <= 0)
33140     return 0;
33141   if (unlink ("testfile") == -1)
33142     return 1;
33143   write (fd, "This is a test\n", 15);
33144   close (fd);
33145
33146   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33147     return 0;
33148   else
33149     return 1;
33150 }
33151 _ACEOF
33152 rm -f conftest$ac_exeext
33153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33154   (eval $ac_link) 2>&5
33155   ac_status=$?
33156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159   (eval $ac_try) 2>&5
33160   ac_status=$?
33161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162   (exit $ac_status); }; }; then
33163   have_unlink_open_file=yes
33164 else
33165   echo "$as_me: program exited with status $ac_status" >&5
33166 echo "$as_me: failed program was:" >&5
33167 sed 's/^/| /' conftest.$ac_ext >&5
33168
33169 ( exit $ac_status )
33170 have_unlink_open_file=no
33171 fi
33172 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33173 fi
33174 fi
33175 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33176 echo "${ECHO_T}$have_unlink_open_file" >&6
33177 if test x"$have_unlink_open_file" = xyes; then
33178
33179 cat >>confdefs.h <<\_ACEOF
33180 #define HAVE_UNLINK_OPEN_FILE 1
33181 _ACEOF
33182
33183 fi
33184
33185 # Check whether line terminator is LF or CRLF
33186
33187   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33188 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33189 if test "${have_crlf+set}" = set; then
33190   echo $ECHO_N "(cached) $ECHO_C" >&6
33191 else
33192
33193   if test "$cross_compiling" = yes; then
33194
33195 case "${target}" in
33196   *mingw*) have_crlf=yes ;;
33197   *) have_crlf=no;;
33198 esac
33199 else
33200   cat >conftest.$ac_ext <<_ACEOF
33201 /* confdefs.h.  */
33202 _ACEOF
33203 cat confdefs.h >>conftest.$ac_ext
33204 cat >>conftest.$ac_ext <<_ACEOF
33205 /* end confdefs.h.  */
33206
33207 /* This test program should exit with status 0 if system uses a CRLF as
33208    line terminator, and status 1 otherwise.
33209    Since it is used to check for mingw systems, and should return 0 in any
33210    other case, in case of a failure we will not use CRLF.  */
33211 #include <sys/stat.h>
33212 #include <stdlib.h>
33213 #include <fcntl.h>
33214 #include <stdio.h>
33215
33216 int main ()
33217 {
33218 #ifndef O_BINARY
33219   exit(1);
33220 #else
33221   int fd, bytes;
33222   char buff[5];
33223
33224   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33225   if (fd < 0)
33226     exit(1);
33227   if (write (fd, "\n", 1) < 0)
33228     perror ("write");
33229
33230   close (fd);
33231
33232   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33233     exit(1);
33234   bytes = read (fd, buff, 5);
33235   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33236     exit(0);
33237   else
33238     exit(1);
33239 #endif
33240 }
33241 _ACEOF
33242 rm -f conftest$ac_exeext
33243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33244   (eval $ac_link) 2>&5
33245   ac_status=$?
33246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249   (eval $ac_try) 2>&5
33250   ac_status=$?
33251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252   (exit $ac_status); }; }; then
33253   have_crlf=yes
33254 else
33255   echo "$as_me: program exited with status $ac_status" >&5
33256 echo "$as_me: failed program was:" >&5
33257 sed 's/^/| /' conftest.$ac_ext >&5
33258
33259 ( exit $ac_status )
33260 have_crlf=no
33261 fi
33262 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33263 fi
33264 fi
33265 echo "$as_me:$LINENO: result: $have_crlf" >&5
33266 echo "${ECHO_T}$have_crlf" >&6
33267 if test x"$have_crlf" = xyes; then
33268
33269 cat >>confdefs.h <<\_ACEOF
33270 #define HAVE_CRLF 1
33271 _ACEOF
33272
33273 fi
33274
33275 cat >confcache <<\_ACEOF
33276 # This file is a shell script that caches the results of configure
33277 # tests run on this system so they can be shared between configure
33278 # scripts and configure runs, see configure's option --config-cache.
33279 # It is not useful on other systems.  If it contains results you don't
33280 # want to keep, you may remove or edit it.
33281 #
33282 # config.status only pays attention to the cache file if you give it
33283 # the --recheck option to rerun configure.
33284 #
33285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33287 # following values.
33288
33289 _ACEOF
33290
33291 # The following way of writing the cache mishandles newlines in values,
33292 # but we know of no workaround that is simple, portable, and efficient.
33293 # So, don't put newlines in cache variables' values.
33294 # Ultrix sh set writes to stderr and can't be redirected directly,
33295 # and sets the high bit in the cache file unless we assign to the vars.
33296 {
33297   (set) 2>&1 |
33298     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33299     *ac_space=\ *)
33300       # `set' does not quote correctly, so add quotes (double-quote
33301       # substitution turns \\\\ into \\, and sed turns \\ into \).
33302       sed -n \
33303         "s/'/'\\\\''/g;
33304           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33305       ;;
33306     *)
33307       # `set' quotes correctly as required by POSIX, so do not add quotes.
33308       sed -n \
33309         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33310       ;;
33311     esac;
33312 } |
33313   sed '
33314      t clear
33315      : clear
33316      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33317      t end
33318      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33319      : end' >>confcache
33320 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33321   if test -w $cache_file; then
33322     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33323     cat confcache >$cache_file
33324   else
33325     echo "not updating unwritable cache $cache_file"
33326   fi
33327 fi
33328 rm -f confcache
33329
33330 if test ${multilib} = yes; then
33331   multilib_arg="--enable-multilib"
33332 else
33333   multilib_arg=
33334 fi
33335
33336 # Write our Makefile.
33337           ac_config_files="$ac_config_files Makefile"
33338
33339 cat >confcache <<\_ACEOF
33340 # This file is a shell script that caches the results of configure
33341 # tests run on this system so they can be shared between configure
33342 # scripts and configure runs, see configure's option --config-cache.
33343 # It is not useful on other systems.  If it contains results you don't
33344 # want to keep, you may remove or edit it.
33345 #
33346 # config.status only pays attention to the cache file if you give it
33347 # the --recheck option to rerun configure.
33348 #
33349 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33350 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33351 # following values.
33352
33353 _ACEOF
33354
33355 # The following way of writing the cache mishandles newlines in values,
33356 # but we know of no workaround that is simple, portable, and efficient.
33357 # So, don't put newlines in cache variables' values.
33358 # Ultrix sh set writes to stderr and can't be redirected directly,
33359 # and sets the high bit in the cache file unless we assign to the vars.
33360 {
33361   (set) 2>&1 |
33362     case `(ac_space=' '; set | grep ac_space) 2>&1` in
33363     *ac_space=\ *)
33364       # `set' does not quote correctly, so add quotes (double-quote
33365       # substitution turns \\\\ into \\, and sed turns \\ into \).
33366       sed -n \
33367         "s/'/'\\\\''/g;
33368           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33369       ;;
33370     *)
33371       # `set' quotes correctly as required by POSIX, so do not add quotes.
33372       sed -n \
33373         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33374       ;;
33375     esac;
33376 } |
33377   sed '
33378      t clear
33379      : clear
33380      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33381      t end
33382      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33383      : end' >>confcache
33384 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33385   if test -w $cache_file; then
33386     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33387     cat confcache >$cache_file
33388   else
33389     echo "not updating unwritable cache $cache_file"
33390   fi
33391 fi
33392 rm -f confcache
33393
33394 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33395 # Let make expand exec_prefix.
33396 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33397
33398 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33399 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33400 # trailing colons and then remove the whole line if VPATH becomes empty
33401 # (actually we leave an empty line to preserve line numbers).
33402 if test "x$srcdir" = x.; then
33403   ac_vpsub='/^[  ]*VPATH[        ]*=/{
33404 s/:*\$(srcdir):*/:/;
33405 s/:*\${srcdir}:*/:/;
33406 s/:*@srcdir@:*/:/;
33407 s/^\([^=]*=[     ]*\):*/\1/;
33408 s/:*$//;
33409 s/^[^=]*=[       ]*$//;
33410 }'
33411 fi
33412
33413 DEFS=-DHAVE_CONFIG_H
33414
33415 ac_libobjs=
33416 ac_ltlibobjs=
33417 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33418   # 1. Remove the extension, and $U if already installed.
33419   ac_i=`echo "$ac_i" |
33420          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33421   # 2. Add them.
33422   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33423   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33424 done
33425 LIBOBJS=$ac_libobjs
33426
33427 LTLIBOBJS=$ac_ltlibobjs
33428
33429
33430 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33431   { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33432 Usually this means the macro was only invoked conditionally." >&5
33433 echo "$as_me: error: conditional \"onestep\" was never defined.
33434 Usually this means the macro was only invoked conditionally." >&2;}
33435    { (exit 1); exit 1; }; }
33436 fi
33437 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33438   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33439 Usually this means the macro was only invoked conditionally." >&5
33440 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33441 Usually this means the macro was only invoked conditionally." >&2;}
33442    { (exit 1); exit 1; }; }
33443 fi
33444 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33445   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33446 Usually this means the macro was only invoked conditionally." >&5
33447 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33448 Usually this means the macro was only invoked conditionally." >&2;}
33449    { (exit 1); exit 1; }; }
33450 fi
33451 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33452   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33453 Usually this means the macro was only invoked conditionally." >&5
33454 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33455 Usually this means the macro was only invoked conditionally." >&2;}
33456    { (exit 1); exit 1; }; }
33457 fi
33458 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33459   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33460 Usually this means the macro was only invoked conditionally." >&5
33461 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33462 Usually this means the macro was only invoked conditionally." >&2;}
33463    { (exit 1); exit 1; }; }
33464 fi
33465
33466 : ${CONFIG_STATUS=./config.status}
33467 ac_clean_files_save=$ac_clean_files
33468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33469 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33470 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33471 cat >$CONFIG_STATUS <<_ACEOF
33472 #! $SHELL
33473 # Generated by $as_me.
33474 # Run this file to recreate the current configuration.
33475 # Compiler output produced by configure, useful for debugging
33476 # configure, is in config.log if it exists.
33477
33478 debug=false
33479 ac_cs_recheck=false
33480 ac_cs_silent=false
33481 SHELL=\${CONFIG_SHELL-$SHELL}
33482 _ACEOF
33483
33484 cat >>$CONFIG_STATUS <<\_ACEOF
33485 ## --------------------- ##
33486 ## M4sh Initialization.  ##
33487 ## --------------------- ##
33488
33489 # Be Bourne compatible
33490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33491   emulate sh
33492   NULLCMD=:
33493   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33494   # is contrary to our usage.  Disable this feature.
33495   alias -g '${1+"$@"}'='"$@"'
33496 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33497   set -o posix
33498 fi
33499 DUALCASE=1; export DUALCASE # for MKS sh
33500
33501 # Support unset when possible.
33502 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33503   as_unset=unset
33504 else
33505   as_unset=false
33506 fi
33507
33508
33509 # Work around bugs in pre-3.0 UWIN ksh.
33510 $as_unset ENV MAIL MAILPATH
33511 PS1='$ '
33512 PS2='> '
33513 PS4='+ '
33514
33515 # NLS nuisances.
33516 for as_var in \
33517   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33518   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33519   LC_TELEPHONE LC_TIME
33520 do
33521   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33522     eval $as_var=C; export $as_var
33523   else
33524     $as_unset $as_var
33525   fi
33526 done
33527
33528 # Required to use basename.
33529 if expr a : '\(a\)' >/dev/null 2>&1; then
33530   as_expr=expr
33531 else
33532   as_expr=false
33533 fi
33534
33535 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33536   as_basename=basename
33537 else
33538   as_basename=false
33539 fi
33540
33541
33542 # Name of the executable.
33543 as_me=`$as_basename "$0" ||
33544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33545          X"$0" : 'X\(//\)$' \| \
33546          X"$0" : 'X\(/\)$' \| \
33547          .     : '\(.\)' 2>/dev/null ||
33548 echo X/"$0" |
33549     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33550           /^X\/\(\/\/\)$/{ s//\1/; q; }
33551           /^X\/\(\/\).*/{ s//\1/; q; }
33552           s/.*/./; q'`
33553
33554
33555 # PATH needs CR, and LINENO needs CR and PATH.
33556 # Avoid depending upon Character Ranges.
33557 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33558 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33559 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33560 as_cr_digits='0123456789'
33561 as_cr_alnum=$as_cr_Letters$as_cr_digits
33562
33563 # The user is always right.
33564 if test "${PATH_SEPARATOR+set}" != set; then
33565   echo "#! /bin/sh" >conf$$.sh
33566   echo  "exit 0"   >>conf$$.sh
33567   chmod +x conf$$.sh
33568   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33569     PATH_SEPARATOR=';'
33570   else
33571     PATH_SEPARATOR=:
33572   fi
33573   rm -f conf$$.sh
33574 fi
33575
33576
33577   as_lineno_1=$LINENO
33578   as_lineno_2=$LINENO
33579   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33580   test "x$as_lineno_1" != "x$as_lineno_2" &&
33581   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
33582   # Find who we are.  Look in the path if we contain no path at all
33583   # relative or not.
33584   case $0 in
33585     *[\\/]* ) as_myself=$0 ;;
33586     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33587 for as_dir in $PATH
33588 do
33589   IFS=$as_save_IFS
33590   test -z "$as_dir" && as_dir=.
33591   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33592 done
33593
33594        ;;
33595   esac
33596   # We did not find ourselves, most probably we were run as `sh COMMAND'
33597   # in which case we are not to be found in the path.
33598   if test "x$as_myself" = x; then
33599     as_myself=$0
33600   fi
33601   if test ! -f "$as_myself"; then
33602     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33603 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33604    { (exit 1); exit 1; }; }
33605   fi
33606   case $CONFIG_SHELL in
33607   '')
33608     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33609 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33610 do
33611   IFS=$as_save_IFS
33612   test -z "$as_dir" && as_dir=.
33613   for as_base in sh bash ksh sh5; do
33614          case $as_dir in
33615          /*)
33616            if ("$as_dir/$as_base" -c '
33617   as_lineno_1=$LINENO
33618   as_lineno_2=$LINENO
33619   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33620   test "x$as_lineno_1" != "x$as_lineno_2" &&
33621   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
33622              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33623              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33624              CONFIG_SHELL=$as_dir/$as_base
33625              export CONFIG_SHELL
33626              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33627            fi;;
33628          esac
33629        done
33630 done
33631 ;;
33632   esac
33633
33634   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33635   # uniformly replaced by the line number.  The first 'sed' inserts a
33636   # line-number line before each line; the second 'sed' does the real
33637   # work.  The second script uses 'N' to pair each line-number line
33638   # with the numbered line, and appends trailing '-' during
33639   # substitution so that $LINENO is not a special case at line end.
33640   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33641   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
33642   sed '=' <$as_myself |
33643     sed '
33644       N
33645       s,$,-,
33646       : loop
33647       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33648       t loop
33649       s,-$,,
33650       s,^['$as_cr_digits']*\n,,
33651     ' >$as_me.lineno &&
33652   chmod +x $as_me.lineno ||
33653     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33654 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33655    { (exit 1); exit 1; }; }
33656
33657   # Don't try to exec as it changes $[0], causing all sort of problems
33658   # (the dirname of $[0] is not the place where we might find the
33659   # original and so on.  Autoconf is especially sensible to this).
33660   . ./$as_me.lineno
33661   # Exit status is that of the last command.
33662   exit
33663 }
33664
33665
33666 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33667   *c*,-n*) ECHO_N= ECHO_C='
33668 ' ECHO_T='      ' ;;
33669   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33670   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
33671 esac
33672
33673 if expr a : '\(a\)' >/dev/null 2>&1; then
33674   as_expr=expr
33675 else
33676   as_expr=false
33677 fi
33678
33679 rm -f conf$$ conf$$.exe conf$$.file
33680 echo >conf$$.file
33681 if ln -s conf$$.file conf$$ 2>/dev/null; then
33682   # We could just check for DJGPP; but this test a) works b) is more generic
33683   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33684   if test -f conf$$.exe; then
33685     # Don't use ln at all; we don't have any links
33686     as_ln_s='cp -p'
33687   else
33688     as_ln_s='ln -s'
33689   fi
33690 elif ln conf$$.file conf$$ 2>/dev/null; then
33691   as_ln_s=ln
33692 else
33693   as_ln_s='cp -p'
33694 fi
33695 rm -f conf$$ conf$$.exe conf$$.file
33696
33697 if mkdir -p . 2>/dev/null; then
33698   as_mkdir_p=:
33699 else
33700   test -d ./-p && rmdir ./-p
33701   as_mkdir_p=false
33702 fi
33703
33704 as_executable_p="test -f"
33705
33706 # Sed expression to map a string onto a valid CPP name.
33707 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33708
33709 # Sed expression to map a string onto a valid variable name.
33710 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33711
33712
33713 # IFS
33714 # We need space, tab and new line, in precisely that order.
33715 as_nl='
33716 '
33717 IFS="   $as_nl"
33718
33719 # CDPATH.
33720 $as_unset CDPATH
33721
33722 exec 6>&1
33723
33724 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33725 # report actual input values of CONFIG_FILES etc. instead of their
33726 # values after options handling.  Logging --version etc. is OK.
33727 exec 5>>config.log
33728 {
33729   echo
33730   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33731 ## Running $as_me. ##
33732 _ASBOX
33733 } >&5
33734 cat >&5 <<_CSEOF
33735
33736 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33737 generated by GNU Autoconf 2.59.  Invocation command line was
33738
33739   CONFIG_FILES    = $CONFIG_FILES
33740   CONFIG_HEADERS  = $CONFIG_HEADERS
33741   CONFIG_LINKS    = $CONFIG_LINKS
33742   CONFIG_COMMANDS = $CONFIG_COMMANDS
33743   $ $0 $@
33744
33745 _CSEOF
33746 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33747 echo >&5
33748 _ACEOF
33749
33750 # Files that config.status was made for.
33751 if test -n "$ac_config_files"; then
33752   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33753 fi
33754
33755 if test -n "$ac_config_headers"; then
33756   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33757 fi
33758
33759 if test -n "$ac_config_links"; then
33760   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33761 fi
33762
33763 if test -n "$ac_config_commands"; then
33764   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33765 fi
33766
33767 cat >>$CONFIG_STATUS <<\_ACEOF
33768
33769 ac_cs_usage="\
33770 \`$as_me' instantiates files from templates according to the
33771 current configuration.
33772
33773 Usage: $0 [OPTIONS] [FILE]...
33774
33775   -h, --help       print this help, then exit
33776   -V, --version    print version number, then exit
33777   -q, --quiet      do not print progress messages
33778   -d, --debug      don't remove temporary files
33779       --recheck    update $as_me by reconfiguring in the same conditions
33780   --file=FILE[:TEMPLATE]
33781                    instantiate the configuration file FILE
33782   --header=FILE[:TEMPLATE]
33783                    instantiate the configuration header FILE
33784
33785 Configuration files:
33786 $config_files
33787
33788 Configuration headers:
33789 $config_headers
33790
33791 Configuration commands:
33792 $config_commands
33793
33794 Report bugs to <bug-autoconf@gnu.org>."
33795 _ACEOF
33796
33797 cat >>$CONFIG_STATUS <<_ACEOF
33798 ac_cs_version="\\
33799 GNU Fortran Runtime Library config.status 0.3
33800 configured by $0, generated by GNU Autoconf 2.59,
33801   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33802
33803 Copyright (C) 2003 Free Software Foundation, Inc.
33804 This config.status script is free software; the Free Software Foundation
33805 gives unlimited permission to copy, distribute and modify it."
33806 srcdir=$srcdir
33807 INSTALL="$INSTALL"
33808 _ACEOF
33809
33810 cat >>$CONFIG_STATUS <<\_ACEOF
33811 # If no file are specified by the user, then we need to provide default
33812 # value.  By we need to know if files were specified by the user.
33813 ac_need_defaults=:
33814 while test $# != 0
33815 do
33816   case $1 in
33817   --*=*)
33818     ac_option=`expr "x$1" : 'x\([^=]*\)='`
33819     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33820     ac_shift=:
33821     ;;
33822   -*)
33823     ac_option=$1
33824     ac_optarg=$2
33825     ac_shift=shift
33826     ;;
33827   *) # This is not an option, so the user has probably given explicit
33828      # arguments.
33829      ac_option=$1
33830      ac_need_defaults=false;;
33831   esac
33832
33833   case $ac_option in
33834   # Handling of the options.
33835 _ACEOF
33836 cat >>$CONFIG_STATUS <<\_ACEOF
33837   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33838     ac_cs_recheck=: ;;
33839   --version | --vers* | -V )
33840     echo "$ac_cs_version"; exit 0 ;;
33841   --he | --h)
33842     # Conflict between --help and --header
33843     { { echo "$as_me:$LINENO: error: ambiguous option: $1
33844 Try \`$0 --help' for more information." >&5
33845 echo "$as_me: error: ambiguous option: $1
33846 Try \`$0 --help' for more information." >&2;}
33847    { (exit 1); exit 1; }; };;
33848   --help | --hel | -h )
33849     echo "$ac_cs_usage"; exit 0 ;;
33850   --debug | --d* | -d )
33851     debug=: ;;
33852   --file | --fil | --fi | --f )
33853     $ac_shift
33854     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33855     ac_need_defaults=false;;
33856   --header | --heade | --head | --hea )
33857     $ac_shift
33858     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33859     ac_need_defaults=false;;
33860   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33861   | -silent | --silent | --silen | --sile | --sil | --si | --s)
33862     ac_cs_silent=: ;;
33863
33864   # This is an error.
33865   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33866 Try \`$0 --help' for more information." >&5
33867 echo "$as_me: error: unrecognized option: $1
33868 Try \`$0 --help' for more information." >&2;}
33869    { (exit 1); exit 1; }; } ;;
33870
33871   *) ac_config_targets="$ac_config_targets $1" ;;
33872
33873   esac
33874   shift
33875 done
33876
33877 ac_configure_extra_args=
33878
33879 if $ac_cs_silent; then
33880   exec 6>/dev/null
33881   ac_configure_extra_args="$ac_configure_extra_args --silent"
33882 fi
33883
33884 _ACEOF
33885 cat >>$CONFIG_STATUS <<_ACEOF
33886 if \$ac_cs_recheck; then
33887   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33888   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33889 fi
33890
33891 _ACEOF
33892
33893 cat >>$CONFIG_STATUS <<_ACEOF
33894 #
33895 # INIT-COMMANDS section.
33896 #
33897
33898
33899 srcdir="$srcdir"
33900 host="$host"
33901 target="$target"
33902 with_multisubdir="$with_multisubdir"
33903 with_multisrctop="$with_multisrctop"
33904 with_target_subdir="$with_target_subdir"
33905 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33906 multi_basedir="$multi_basedir"
33907 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33908 CC="$CC"
33909 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33910
33911
33912 # The HP-UX ksh and POSIX shell print the target directory to stdout
33913 # if CDPATH is set.
33914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33915
33916 sed_quote_subst='$sed_quote_subst'
33917 double_quote_subst='$double_quote_subst'
33918 delay_variable_subst='$delay_variable_subst'
33919 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33920 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33921 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33922 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33923 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33924 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33925 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33926 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33927 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33928 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33929 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33930 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33931 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33932 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33933 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33934 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33935 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33936 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33937 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33938 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33939 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33940 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33941 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33942 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33943 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33944 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33945 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33946 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33947 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33948 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33949 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33950 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33951 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33952 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33953 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33954 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33955 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33956 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33957 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33958 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33959 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33960 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33961 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33962 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"`'
33963 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33964 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33965 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33966 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33967 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33968 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33969 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33970 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33971 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33972 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33973 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33974 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33975 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33976 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33977 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33978 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33979 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33980 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33981 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33982 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33983 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33984 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33985 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33986 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33987 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33988 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33989 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33990 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33991 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33992 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33993 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33994 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33995 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33996 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33997 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33998 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33999 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34000 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34001 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34002 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34003 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34004 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34005 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34006 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34007 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34008 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34009 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34010 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34011 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34012 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34013 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34014 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34015 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34016 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34017 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34018 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34019 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34020 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34021 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34022 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34023 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34024 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34025 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34026 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34027 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34028 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34029 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34030 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34031 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34032 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34033 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34034 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34035 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34036 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34037 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34038 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34039 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34040 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34041 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34042 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34043 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34044 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34045 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34046 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34047 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34048 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34049 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34050 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34051 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34052 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34053 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34054 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34055 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34056 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34057 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34058 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34059 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34060 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34061 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34062 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34063 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34064 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34065 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34066 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34067 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34068 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34069 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34070 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34071 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34072 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34073 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34074 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34075 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34076 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34077 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34078 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34079 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34080 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34081
34082 LTCC='$LTCC'
34083 LTCFLAGS='$LTCFLAGS'
34084 compiler='$compiler_DEFAULT'
34085
34086 # Quote evaled strings.
34087 for var in SED \
34088 GREP \
34089 EGREP \
34090 FGREP \
34091 LD \
34092 NM \
34093 LN_S \
34094 lt_SP2NL \
34095 lt_NL2SP \
34096 reload_flag \
34097 deplibs_check_method \
34098 file_magic_cmd \
34099 AR \
34100 AR_FLAGS \
34101 STRIP \
34102 RANLIB \
34103 CC \
34104 CFLAGS \
34105 compiler \
34106 lt_cv_sys_global_symbol_pipe \
34107 lt_cv_sys_global_symbol_to_cdecl \
34108 lt_cv_sys_global_symbol_to_c_name_address \
34109 SHELL \
34110 ECHO \
34111 lt_prog_compiler_no_builtin_flag \
34112 lt_prog_compiler_wl \
34113 lt_prog_compiler_pic \
34114 lt_prog_compiler_static \
34115 lt_cv_prog_compiler_c_o \
34116 need_locks \
34117 shrext_cmds \
34118 export_dynamic_flag_spec \
34119 whole_archive_flag_spec \
34120 compiler_needs_object \
34121 with_gnu_ld \
34122 allow_undefined_flag \
34123 no_undefined_flag \
34124 hardcode_libdir_flag_spec \
34125 hardcode_libdir_flag_spec_ld \
34126 hardcode_libdir_separator \
34127 fix_srcfile_path \
34128 exclude_expsyms \
34129 include_expsyms \
34130 file_list_spec \
34131 variables_saved_for_relink \
34132 libname_spec \
34133 library_names_spec \
34134 soname_spec \
34135 finish_eval \
34136 old_striplib \
34137 striplib \
34138 predep_objects \
34139 postdep_objects \
34140 predeps \
34141 postdeps \
34142 compiler_lib_search_path \
34143 LD_FC \
34144 compiler_FC \
34145 lt_prog_compiler_no_builtin_flag_FC \
34146 lt_prog_compiler_wl_FC \
34147 lt_prog_compiler_pic_FC \
34148 lt_prog_compiler_static_FC \
34149 lt_cv_prog_compiler_c_o_FC \
34150 export_dynamic_flag_spec_FC \
34151 whole_archive_flag_spec_FC \
34152 compiler_needs_object_FC \
34153 with_gnu_ld_FC \
34154 allow_undefined_flag_FC \
34155 no_undefined_flag_FC \
34156 hardcode_libdir_flag_spec_FC \
34157 hardcode_libdir_flag_spec_ld_FC \
34158 hardcode_libdir_separator_FC \
34159 fix_srcfile_path_FC \
34160 exclude_expsyms_FC \
34161 include_expsyms_FC \
34162 file_list_spec_FC \
34163 predep_objects_FC \
34164 postdep_objects_FC \
34165 predeps_FC \
34166 postdeps_FC \
34167 compiler_lib_search_path_FC; do
34168     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34169     *[\\\\\\\`\\"\\\$]*)
34170       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34171       ;;
34172     *)
34173       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34174       ;;
34175     esac
34176 done
34177
34178 # Double-quote double-evaled strings.
34179 for var in reload_cmds \
34180 old_postinstall_cmds \
34181 old_postuninstall_cmds \
34182 old_archive_cmds \
34183 extract_expsyms_cmds \
34184 old_archive_from_new_cmds \
34185 old_archive_from_expsyms_cmds \
34186 archive_cmds \
34187 archive_expsym_cmds \
34188 module_cmds \
34189 module_expsym_cmds \
34190 export_symbols_cmds \
34191 prelink_cmds \
34192 postinstall_cmds \
34193 postuninstall_cmds \
34194 finish_cmds \
34195 sys_lib_search_path_spec \
34196 sys_lib_dlsearch_path_spec \
34197 old_archive_cmds_FC \
34198 old_archive_from_new_cmds_FC \
34199 old_archive_from_expsyms_cmds_FC \
34200 archive_cmds_FC \
34201 archive_expsym_cmds_FC \
34202 module_cmds_FC \
34203 module_expsym_cmds_FC \
34204 export_symbols_cmds_FC \
34205 prelink_cmds_FC; do
34206     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34207     *[\\\\\\\`\\"\\\$]*)
34208       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34209       ;;
34210     *)
34211       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34212       ;;
34213     esac
34214 done
34215
34216 # Fix-up fallback echo if it was mangled by the above quoting rules.
34217 case \$lt_ECHO in
34218 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34219   ;;
34220 esac
34221
34222 ac_aux_dir='$ac_aux_dir'
34223 xsi_shell='$xsi_shell'
34224 lt_shell_append='$lt_shell_append'
34225
34226 # See if we are running on zsh, and set the options which allow our
34227 # commands through without removal of \ escapes INIT.
34228 if test -n "\${ZSH_VERSION+set}" ; then
34229    setopt NO_GLOB_SUBST
34230 fi
34231
34232
34233     PACKAGE='$PACKAGE'
34234     VERSION='$VERSION'
34235     TIMESTAMP='$TIMESTAMP'
34236     RM='$RM'
34237     ofile='$ofile'
34238
34239
34240
34241
34242
34243
34244 GCC="$GCC"
34245 CC="$CC"
34246 acx_cv_header_stdint="$acx_cv_header_stdint"
34247 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34248 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34249 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34250 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34251 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34252 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34253 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34254 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34255 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34256 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34257 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34258 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34259 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34260
34261
34262 _ACEOF
34263
34264
34265
34266 cat >>$CONFIG_STATUS <<\_ACEOF
34267 for ac_config_target in $ac_config_targets
34268 do
34269   case "$ac_config_target" in
34270   # Handling of arguments.
34271   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34272   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34273   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34274   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34275   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34276   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34277   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34278 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34279    { (exit 1); exit 1; }; };;
34280   esac
34281 done
34282
34283 # If the user did not use the arguments to specify the items to instantiate,
34284 # then the envvar interface is used.  Set only those that are not.
34285 # We use the long form for the default assignment because of an extremely
34286 # bizarre bug on SunOS 4.1.3.
34287 if $ac_need_defaults; then
34288   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34289   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34290   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34291 fi
34292
34293 # Have a temporary directory for convenience.  Make it in the build tree
34294 # simply because there is no reason to put it here, and in addition,
34295 # creating and moving files from /tmp can sometimes cause problems.
34296 # Create a temporary directory, and hook for its removal unless debugging.
34297 $debug ||
34298 {
34299   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34300   trap '{ (exit 1); exit 1; }' 1 2 13 15
34301 }
34302
34303 # Create a (secure) tmp directory for tmp files.
34304
34305 {
34306   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34307   test -n "$tmp" && test -d "$tmp"
34308 }  ||
34309 {
34310   tmp=./confstat$$-$RANDOM
34311   (umask 077 && mkdir $tmp)
34312 } ||
34313 {
34314    echo "$me: cannot create a temporary directory in ." >&2
34315    { (exit 1); exit 1; }
34316 }
34317
34318 _ACEOF
34319
34320 cat >>$CONFIG_STATUS <<_ACEOF
34321
34322 #
34323 # CONFIG_FILES section.
34324 #
34325
34326 # No need to generate the scripts if there are no CONFIG_FILES.
34327 # This happens for instance when ./config.status config.h
34328 if test -n "\$CONFIG_FILES"; then
34329   # Protect against being on the right side of a sed subst in config.status.
34330   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34331    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34332 s,@SHELL@,$SHELL,;t t
34333 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34334 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34335 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34336 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34337 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34338 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34339 s,@exec_prefix@,$exec_prefix,;t t
34340 s,@prefix@,$prefix,;t t
34341 s,@program_transform_name@,$program_transform_name,;t t
34342 s,@bindir@,$bindir,;t t
34343 s,@sbindir@,$sbindir,;t t
34344 s,@libexecdir@,$libexecdir,;t t
34345 s,@datadir@,$datadir,;t t
34346 s,@sysconfdir@,$sysconfdir,;t t
34347 s,@sharedstatedir@,$sharedstatedir,;t t
34348 s,@localstatedir@,$localstatedir,;t t
34349 s,@libdir@,$libdir,;t t
34350 s,@includedir@,$includedir,;t t
34351 s,@oldincludedir@,$oldincludedir,;t t
34352 s,@infodir@,$infodir,;t t
34353 s,@mandir@,$mandir,;t t
34354 s,@build_alias@,$build_alias,;t t
34355 s,@host_alias@,$host_alias,;t t
34356 s,@target_alias@,$target_alias,;t t
34357 s,@DEFS@,$DEFS,;t t
34358 s,@ECHO_C@,$ECHO_C,;t t
34359 s,@ECHO_N@,$ECHO_N,;t t
34360 s,@ECHO_T@,$ECHO_T,;t t
34361 s,@LIBS@,$LIBS,;t t
34362 s,@build@,$build,;t t
34363 s,@build_cpu@,$build_cpu,;t t
34364 s,@build_vendor@,$build_vendor,;t t
34365 s,@build_os@,$build_os,;t t
34366 s,@build_libsubdir@,$build_libsubdir,;t t
34367 s,@build_subdir@,$build_subdir,;t t
34368 s,@host_subdir@,$host_subdir,;t t
34369 s,@target_subdir@,$target_subdir,;t t
34370 s,@onestep_TRUE@,$onestep_TRUE,;t t
34371 s,@onestep_FALSE@,$onestep_FALSE,;t t
34372 s,@onestep@,$onestep,;t t
34373 s,@host@,$host,;t t
34374 s,@host_cpu@,$host_cpu,;t t
34375 s,@host_vendor@,$host_vendor,;t t
34376 s,@host_os@,$host_os,;t t
34377 s,@target@,$target,;t t
34378 s,@target_cpu@,$target_cpu,;t t
34379 s,@target_vendor@,$target_vendor,;t t
34380 s,@target_os@,$target_os,;t t
34381 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34382 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34383 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34384 s,@CYGPATH_W@,$CYGPATH_W,;t t
34385 s,@PACKAGE@,$PACKAGE,;t t
34386 s,@VERSION@,$VERSION,;t t
34387 s,@ACLOCAL@,$ACLOCAL,;t t
34388 s,@AUTOCONF@,$AUTOCONF,;t t
34389 s,@AUTOMAKE@,$AUTOMAKE,;t t
34390 s,@AUTOHEADER@,$AUTOHEADER,;t t
34391 s,@MAKEINFO@,$MAKEINFO,;t t
34392 s,@install_sh@,$install_sh,;t t
34393 s,@STRIP@,$STRIP,;t t
34394 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34395 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34396 s,@mkdir_p@,$mkdir_p,;t t
34397 s,@AWK@,$AWK,;t t
34398 s,@SET_MAKE@,$SET_MAKE,;t t
34399 s,@am__leading_dot@,$am__leading_dot,;t t
34400 s,@AMTAR@,$AMTAR,;t t
34401 s,@am__tar@,$am__tar,;t t
34402 s,@am__untar@,$am__untar,;t t
34403 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34404 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34405 s,@MAINT@,$MAINT,;t t
34406 s,@multi_basedir@,$multi_basedir,;t t
34407 s,@toolexecdir@,$toolexecdir,;t t
34408 s,@toolexeclibdir@,$toolexeclibdir,;t t
34409 s,@CC@,$CC,;t t
34410 s,@ac_ct_CC@,$ac_ct_CC,;t t
34411 s,@EXEEXT@,$EXEEXT,;t t
34412 s,@OBJEXT@,$OBJEXT,;t t
34413 s,@DEPDIR@,$DEPDIR,;t t
34414 s,@am__include@,$am__include,;t t
34415 s,@am__quote@,$am__quote,;t t
34416 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34417 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34418 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34419 s,@CCDEPMODE@,$CCDEPMODE,;t t
34420 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34421 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34422 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34423 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34424 s,@CFLAGS@,$CFLAGS,;t t
34425 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34426 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34427 s,@AS@,$AS,;t t
34428 s,@ac_ct_AS@,$ac_ct_AS,;t t
34429 s,@AR@,$AR,;t t
34430 s,@ac_ct_AR@,$ac_ct_AR,;t t
34431 s,@RANLIB@,$RANLIB,;t t
34432 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34433 s,@LIBTOOL@,$LIBTOOL,;t t
34434 s,@SED@,$SED,;t t
34435 s,@EGREP@,$EGREP,;t t
34436 s,@FGREP@,$FGREP,;t t
34437 s,@GREP@,$GREP,;t t
34438 s,@LD@,$LD,;t t
34439 s,@DUMPBIN@,$DUMPBIN,;t t
34440 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34441 s,@NM@,$NM,;t t
34442 s,@LN_S@,$LN_S,;t t
34443 s,@lt_ECHO@,$lt_ECHO,;t t
34444 s,@CPP@,$CPP,;t t
34445 s,@CPPFLAGS@,$CPPFLAGS,;t t
34446 s,@enable_shared@,$enable_shared,;t t
34447 s,@enable_static@,$enable_static,;t t
34448 s,@FC@,$FC,;t t
34449 s,@FCFLAGS@,$FCFLAGS,;t t
34450 s,@LDFLAGS@,$LDFLAGS,;t t
34451 s,@ac_ct_FC@,$ac_ct_FC,;t t
34452 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34453 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34454 s,@LIBOBJS@,$LIBOBJS,;t t
34455 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34456 CEOF
34457
34458 _ACEOF
34459
34460   cat >>$CONFIG_STATUS <<\_ACEOF
34461   # Split the substitutions into bite-sized pieces for seds with
34462   # small command number limits, like on Digital OSF/1 and HP-UX.
34463   ac_max_sed_lines=48
34464   ac_sed_frag=1 # Number of current file.
34465   ac_beg=1 # First line for current file.
34466   ac_end=$ac_max_sed_lines # Line after last line for current file.
34467   ac_more_lines=:
34468   ac_sed_cmds=
34469   while $ac_more_lines; do
34470     if test $ac_beg -gt 1; then
34471       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34472     else
34473       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34474     fi
34475     if test ! -s $tmp/subs.frag; then
34476       ac_more_lines=false
34477     else
34478       # The purpose of the label and of the branching condition is to
34479       # speed up the sed processing (if there are no `@' at all, there
34480       # is no need to browse any of the substitutions).
34481       # These are the two extra sed commands mentioned above.
34482       (echo ':t
34483   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34484       if test -z "$ac_sed_cmds"; then
34485         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34486       else
34487         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34488       fi
34489       ac_sed_frag=`expr $ac_sed_frag + 1`
34490       ac_beg=$ac_end
34491       ac_end=`expr $ac_end + $ac_max_sed_lines`
34492     fi
34493   done
34494   if test -z "$ac_sed_cmds"; then
34495     ac_sed_cmds=cat
34496   fi
34497 fi # test -n "$CONFIG_FILES"
34498
34499 _ACEOF
34500 cat >>$CONFIG_STATUS <<\_ACEOF
34501 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34502   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34503   case $ac_file in
34504   - | *:- | *:-:* ) # input from stdin
34505         cat >$tmp/stdin
34506         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34507         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34508   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34509         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34510   * )   ac_file_in=$ac_file.in ;;
34511   esac
34512
34513   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34514   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34515 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34516          X"$ac_file" : 'X\(//\)[^/]' \| \
34517          X"$ac_file" : 'X\(//\)$' \| \
34518          X"$ac_file" : 'X\(/\)' \| \
34519          .     : '\(.\)' 2>/dev/null ||
34520 echo X"$ac_file" |
34521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34522           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34523           /^X\(\/\/\)$/{ s//\1/; q; }
34524           /^X\(\/\).*/{ s//\1/; q; }
34525           s/.*/./; q'`
34526   { if $as_mkdir_p; then
34527     mkdir -p "$ac_dir"
34528   else
34529     as_dir="$ac_dir"
34530     as_dirs=
34531     while test ! -d "$as_dir"; do
34532       as_dirs="$as_dir $as_dirs"
34533       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34535          X"$as_dir" : 'X\(//\)[^/]' \| \
34536          X"$as_dir" : 'X\(//\)$' \| \
34537          X"$as_dir" : 'X\(/\)' \| \
34538          .     : '\(.\)' 2>/dev/null ||
34539 echo X"$as_dir" |
34540     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34541           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34542           /^X\(\/\/\)$/{ s//\1/; q; }
34543           /^X\(\/\).*/{ s//\1/; q; }
34544           s/.*/./; q'`
34545     done
34546     test ! -n "$as_dirs" || mkdir $as_dirs
34547   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34549    { (exit 1); exit 1; }; }; }
34550
34551   ac_builddir=.
34552
34553 if test "$ac_dir" != .; then
34554   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34555   # A "../" for each directory in $ac_dir_suffix.
34556   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34557 else
34558   ac_dir_suffix= ac_top_builddir=
34559 fi
34560
34561 case $srcdir in
34562   .)  # No --srcdir option.  We are building in place.
34563     ac_srcdir=.
34564     if test -z "$ac_top_builddir"; then
34565        ac_top_srcdir=.
34566     else
34567        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34568     fi ;;
34569   [\\/]* | ?:[\\/]* )  # Absolute path.
34570     ac_srcdir=$srcdir$ac_dir_suffix;
34571     ac_top_srcdir=$srcdir ;;
34572   *) # Relative path.
34573     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34574     ac_top_srcdir=$ac_top_builddir$srcdir ;;
34575 esac
34576
34577 # Do not use `cd foo && pwd` to compute absolute paths, because
34578 # the directories may not exist.
34579 case `pwd` in
34580 .) ac_abs_builddir="$ac_dir";;
34581 *)
34582   case "$ac_dir" in
34583   .) ac_abs_builddir=`pwd`;;
34584   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34585   *) ac_abs_builddir=`pwd`/"$ac_dir";;
34586   esac;;
34587 esac
34588 case $ac_abs_builddir in
34589 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34590 *)
34591   case ${ac_top_builddir}. in
34592   .) ac_abs_top_builddir=$ac_abs_builddir;;
34593   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34594   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34595   esac;;
34596 esac
34597 case $ac_abs_builddir in
34598 .) ac_abs_srcdir=$ac_srcdir;;
34599 *)
34600   case $ac_srcdir in
34601   .) ac_abs_srcdir=$ac_abs_builddir;;
34602   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34603   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34604   esac;;
34605 esac
34606 case $ac_abs_builddir in
34607 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34608 *)
34609   case $ac_top_srcdir in
34610   .) ac_abs_top_srcdir=$ac_abs_builddir;;
34611   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34612   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34613   esac;;
34614 esac
34615
34616
34617   case $INSTALL in
34618   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34619   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34620   esac
34621
34622   if test x"$ac_file" != x-; then
34623     { echo "$as_me:$LINENO: creating $ac_file" >&5
34624 echo "$as_me: creating $ac_file" >&6;}
34625     rm -f "$ac_file"
34626   fi
34627   # Let's still pretend it is `configure' which instantiates (i.e., don't
34628   # use $as_me), people would be surprised to read:
34629   #    /* config.h.  Generated by config.status.  */
34630   if test x"$ac_file" = x-; then
34631     configure_input=
34632   else
34633     configure_input="$ac_file.  "
34634   fi
34635   configure_input=$configure_input"Generated from `echo $ac_file_in |
34636                                      sed 's,.*/,,'` by configure."
34637
34638   # First look for the input files in the build tree, otherwise in the
34639   # src tree.
34640   ac_file_inputs=`IFS=:
34641     for f in $ac_file_in; do
34642       case $f in
34643       -) echo $tmp/stdin ;;
34644       [\\/$]*)
34645          # Absolute (can't be DOS-style, as IFS=:)
34646          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34647 echo "$as_me: error: cannot find input file: $f" >&2;}
34648    { (exit 1); exit 1; }; }
34649          echo "$f";;
34650       *) # Relative
34651          if test -f "$f"; then
34652            # Build tree
34653            echo "$f"
34654          elif test -f "$srcdir/$f"; then
34655            # Source tree
34656            echo "$srcdir/$f"
34657          else
34658            # /dev/null tree
34659            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34660 echo "$as_me: error: cannot find input file: $f" >&2;}
34661    { (exit 1); exit 1; }; }
34662          fi;;
34663       esac
34664     done` || { (exit 1); exit 1; }
34665 _ACEOF
34666 cat >>$CONFIG_STATUS <<_ACEOF
34667   sed "$ac_vpsub
34668 $extrasub
34669 _ACEOF
34670 cat >>$CONFIG_STATUS <<\_ACEOF
34671 :t
34672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34673 s,@configure_input@,$configure_input,;t t
34674 s,@srcdir@,$ac_srcdir,;t t
34675 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34676 s,@top_srcdir@,$ac_top_srcdir,;t t
34677 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34678 s,@builddir@,$ac_builddir,;t t
34679 s,@abs_builddir@,$ac_abs_builddir,;t t
34680 s,@top_builddir@,$ac_top_builddir,;t t
34681 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34682 s,@INSTALL@,$ac_INSTALL,;t t
34683 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34684   rm -f $tmp/stdin
34685   if test x"$ac_file" != x-; then
34686     mv $tmp/out $ac_file
34687   else
34688     cat $tmp/out
34689     rm -f $tmp/out
34690   fi
34691
34692 done
34693 _ACEOF
34694 cat >>$CONFIG_STATUS <<\_ACEOF
34695
34696 #
34697 # CONFIG_HEADER section.
34698 #
34699
34700 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34701 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34702 #
34703 # ac_d sets the value in "#define NAME VALUE" lines.
34704 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
34705 ac_dB='[         ].*$,\1#\2'
34706 ac_dC=' '
34707 ac_dD=',;t'
34708 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34709 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
34710 ac_uB='$,\1#\2define\3'
34711 ac_uC=' '
34712 ac_uD=',;t'
34713
34714 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34715   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34716   case $ac_file in
34717   - | *:- | *:-:* ) # input from stdin
34718         cat >$tmp/stdin
34719         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34720         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34721   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34722         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34723   * )   ac_file_in=$ac_file.in ;;
34724   esac
34725
34726   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34727 echo "$as_me: creating $ac_file" >&6;}
34728
34729   # First look for the input files in the build tree, otherwise in the
34730   # src tree.
34731   ac_file_inputs=`IFS=:
34732     for f in $ac_file_in; do
34733       case $f in
34734       -) echo $tmp/stdin ;;
34735       [\\/$]*)
34736          # Absolute (can't be DOS-style, as IFS=:)
34737          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34738 echo "$as_me: error: cannot find input file: $f" >&2;}
34739    { (exit 1); exit 1; }; }
34740          # Do quote $f, to prevent DOS paths from being IFS'd.
34741          echo "$f";;
34742       *) # Relative
34743          if test -f "$f"; then
34744            # Build tree
34745            echo "$f"
34746          elif test -f "$srcdir/$f"; then
34747            # Source tree
34748            echo "$srcdir/$f"
34749          else
34750            # /dev/null tree
34751            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34752 echo "$as_me: error: cannot find input file: $f" >&2;}
34753    { (exit 1); exit 1; }; }
34754          fi;;
34755       esac
34756     done` || { (exit 1); exit 1; }
34757   # Remove the trailing spaces.
34758   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
34759
34760 _ACEOF
34761
34762 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34763 # `conftest.undefs', that substitutes the proper values into
34764 # config.h.in to produce config.h.  The first handles `#define'
34765 # templates, and the second `#undef' templates.
34766 # And first: Protect against being on the right side of a sed subst in
34767 # config.status.  Protect against being in an unquoted here document
34768 # in config.status.
34769 rm -f conftest.defines conftest.undefs
34770 # Using a here document instead of a string reduces the quoting nightmare.
34771 # Putting comments in sed scripts is not portable.
34772 #
34773 # `end' is used to avoid that the second main sed command (meant for
34774 # 0-ary CPP macros) applies to n-ary macro definitions.
34775 # See the Autoconf documentation for `clear'.
34776 cat >confdef2sed.sed <<\_ACEOF
34777 s/[\\&,]/\\&/g
34778 s,[\\$`],\\&,g
34779 t clear
34780 : clear
34781 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34782 t end
34783 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34784 : end
34785 _ACEOF
34786 # If some macros were called several times there might be several times
34787 # the same #defines, which is useless.  Nevertheless, we may not want to
34788 # sort them, since we want the *last* AC-DEFINE to be honored.
34789 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34790 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34791 rm -f confdef2sed.sed
34792
34793 # This sed command replaces #undef with comments.  This is necessary, for
34794 # example, in the case of _POSIX_SOURCE, which is predefined and required
34795 # on some systems where configure will not decide to define it.
34796 cat >>conftest.undefs <<\_ACEOF
34797 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34798 _ACEOF
34799
34800 # Break up conftest.defines because some shells have a limit on the size
34801 # of here documents, and old seds have small limits too (100 cmds).
34802 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34803 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34804 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34805 echo '  :' >>$CONFIG_STATUS
34806 rm -f conftest.tail
34807 while grep . conftest.defines >/dev/null
34808 do
34809   # Write a limited-size here document to $tmp/defines.sed.
34810   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34811   # Speed up: don't consider the non `#define' lines.
34812   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
34813   # Work around the forget-to-reset-the-flag bug.
34814   echo 't clr' >>$CONFIG_STATUS
34815   echo ': clr' >>$CONFIG_STATUS
34816   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34817   echo 'CEOF
34818   sed -f $tmp/defines.sed $tmp/in >$tmp/out
34819   rm -f $tmp/in
34820   mv $tmp/out $tmp/in
34821 ' >>$CONFIG_STATUS
34822   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34823   rm -f conftest.defines
34824   mv conftest.tail conftest.defines
34825 done
34826 rm -f conftest.defines
34827 echo '  fi # grep' >>$CONFIG_STATUS
34828 echo >>$CONFIG_STATUS
34829
34830 # Break up conftest.undefs because some shells have a limit on the size
34831 # of here documents, and old seds have small limits too (100 cmds).
34832 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
34833 rm -f conftest.tail
34834 while grep . conftest.undefs >/dev/null
34835 do
34836   # Write a limited-size here document to $tmp/undefs.sed.
34837   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34838   # Speed up: don't consider the non `#undef'
34839   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
34840   # Work around the forget-to-reset-the-flag bug.
34841   echo 't clr' >>$CONFIG_STATUS
34842   echo ': clr' >>$CONFIG_STATUS
34843   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34844   echo 'CEOF
34845   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34846   rm -f $tmp/in
34847   mv $tmp/out $tmp/in
34848 ' >>$CONFIG_STATUS
34849   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34850   rm -f conftest.undefs
34851   mv conftest.tail conftest.undefs
34852 done
34853 rm -f conftest.undefs
34854
34855 cat >>$CONFIG_STATUS <<\_ACEOF
34856   # Let's still pretend it is `configure' which instantiates (i.e., don't
34857   # use $as_me), people would be surprised to read:
34858   #    /* config.h.  Generated by config.status.  */
34859   if test x"$ac_file" = x-; then
34860     echo "/* Generated by configure.  */" >$tmp/config.h
34861   else
34862     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
34863   fi
34864   cat $tmp/in >>$tmp/config.h
34865   rm -f $tmp/in
34866   if test x"$ac_file" != x-; then
34867     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34868       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34869 echo "$as_me: $ac_file is unchanged" >&6;}
34870     else
34871       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34873          X"$ac_file" : 'X\(//\)[^/]' \| \
34874          X"$ac_file" : 'X\(//\)$' \| \
34875          X"$ac_file" : 'X\(/\)' \| \
34876          .     : '\(.\)' 2>/dev/null ||
34877 echo X"$ac_file" |
34878     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34879           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34880           /^X\(\/\/\)$/{ s//\1/; q; }
34881           /^X\(\/\).*/{ s//\1/; q; }
34882           s/.*/./; q'`
34883       { if $as_mkdir_p; then
34884     mkdir -p "$ac_dir"
34885   else
34886     as_dir="$ac_dir"
34887     as_dirs=
34888     while test ! -d "$as_dir"; do
34889       as_dirs="$as_dir $as_dirs"
34890       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34891 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34892          X"$as_dir" : 'X\(//\)[^/]' \| \
34893          X"$as_dir" : 'X\(//\)$' \| \
34894          X"$as_dir" : 'X\(/\)' \| \
34895          .     : '\(.\)' 2>/dev/null ||
34896 echo X"$as_dir" |
34897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34898           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34899           /^X\(\/\/\)$/{ s//\1/; q; }
34900           /^X\(\/\).*/{ s//\1/; q; }
34901           s/.*/./; q'`
34902     done
34903     test ! -n "$as_dirs" || mkdir $as_dirs
34904   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34905 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34906    { (exit 1); exit 1; }; }; }
34907
34908       rm -f $ac_file
34909       mv $tmp/config.h $ac_file
34910     fi
34911   else
34912     cat $tmp/config.h
34913     rm -f $tmp/config.h
34914   fi
34915 # Compute $ac_file's index in $config_headers.
34916 _am_stamp_count=1
34917 for _am_header in $config_headers :; do
34918   case $_am_header in
34919     $ac_file | $ac_file:* )
34920       break ;;
34921     * )
34922       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34923   esac
34924 done
34925 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34926 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34927          X$ac_file : 'X\(//\)[^/]' \| \
34928          X$ac_file : 'X\(//\)$' \| \
34929          X$ac_file : 'X\(/\)' \| \
34930          .     : '\(.\)' 2>/dev/null ||
34931 echo X$ac_file |
34932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34933           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34934           /^X\(\/\/\)$/{ s//\1/; q; }
34935           /^X\(\/\).*/{ s//\1/; q; }
34936           s/.*/./; q'`/stamp-h$_am_stamp_count
34937 done
34938 _ACEOF
34939 cat >>$CONFIG_STATUS <<\_ACEOF
34940
34941 #
34942 # CONFIG_COMMANDS section.
34943 #
34944 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34945   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34946   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34947   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34948 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34949          X"$ac_dest" : 'X\(//\)[^/]' \| \
34950          X"$ac_dest" : 'X\(//\)$' \| \
34951          X"$ac_dest" : 'X\(/\)' \| \
34952          .     : '\(.\)' 2>/dev/null ||
34953 echo X"$ac_dest" |
34954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34955           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34956           /^X\(\/\/\)$/{ s//\1/; q; }
34957           /^X\(\/\).*/{ s//\1/; q; }
34958           s/.*/./; q'`
34959   { if $as_mkdir_p; then
34960     mkdir -p "$ac_dir"
34961   else
34962     as_dir="$ac_dir"
34963     as_dirs=
34964     while test ! -d "$as_dir"; do
34965       as_dirs="$as_dir $as_dirs"
34966       as_dir=`(dirname "$as_dir") 2>/dev/null ||
34967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34968          X"$as_dir" : 'X\(//\)[^/]' \| \
34969          X"$as_dir" : 'X\(//\)$' \| \
34970          X"$as_dir" : 'X\(/\)' \| \
34971          .     : '\(.\)' 2>/dev/null ||
34972 echo X"$as_dir" |
34973     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34974           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34975           /^X\(\/\/\)$/{ s//\1/; q; }
34976           /^X\(\/\).*/{ s//\1/; q; }
34977           s/.*/./; q'`
34978     done
34979     test ! -n "$as_dirs" || mkdir $as_dirs
34980   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34981 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34982    { (exit 1); exit 1; }; }; }
34983
34984   ac_builddir=.
34985
34986 if test "$ac_dir" != .; then
34987   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34988   # A "../" for each directory in $ac_dir_suffix.
34989   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34990 else
34991   ac_dir_suffix= ac_top_builddir=
34992 fi
34993
34994 case $srcdir in
34995   .)  # No --srcdir option.  We are building in place.
34996     ac_srcdir=.
34997     if test -z "$ac_top_builddir"; then
34998        ac_top_srcdir=.
34999     else
35000        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35001     fi ;;
35002   [\\/]* | ?:[\\/]* )  # Absolute path.
35003     ac_srcdir=$srcdir$ac_dir_suffix;
35004     ac_top_srcdir=$srcdir ;;
35005   *) # Relative path.
35006     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35007     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35008 esac
35009
35010 # Do not use `cd foo && pwd` to compute absolute paths, because
35011 # the directories may not exist.
35012 case `pwd` in
35013 .) ac_abs_builddir="$ac_dir";;
35014 *)
35015   case "$ac_dir" in
35016   .) ac_abs_builddir=`pwd`;;
35017   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35018   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35019   esac;;
35020 esac
35021 case $ac_abs_builddir in
35022 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35023 *)
35024   case ${ac_top_builddir}. in
35025   .) ac_abs_top_builddir=$ac_abs_builddir;;
35026   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35027   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35028   esac;;
35029 esac
35030 case $ac_abs_builddir in
35031 .) ac_abs_srcdir=$ac_srcdir;;
35032 *)
35033   case $ac_srcdir in
35034   .) ac_abs_srcdir=$ac_abs_builddir;;
35035   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35036   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35037   esac;;
35038 esac
35039 case $ac_abs_builddir in
35040 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35041 *)
35042   case $ac_top_srcdir in
35043   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35044   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35045   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35046   esac;;
35047 esac
35048
35049
35050   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35051 echo "$as_me: executing $ac_dest commands" >&6;}
35052   case $ac_dest in
35053     default-1 )
35054 # Only add multilib support code if we just rebuilt the top-level
35055 # Makefile.
35056 case " $CONFIG_FILES " in
35057  *" Makefile "*)
35058    ac_file=Makefile . ${multi_basedir}/config-ml.in
35059    ;;
35060 esac ;;
35061     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35062   # Strip MF so we end up with the name of the file.
35063   mf=`echo "$mf" | sed -e 's/:.*$//'`
35064   # Check whether this is an Automake generated Makefile or not.
35065   # We used to match only the files named `Makefile.in', but
35066   # some people rename them; so instead we look at the file content.
35067   # Grep'ing the first line is not enough: some people post-process
35068   # each Makefile.in and add a new line on top of each file to say so.
35069   # So let's grep whole file.
35070   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35071     dirpart=`(dirname "$mf") 2>/dev/null ||
35072 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35073          X"$mf" : 'X\(//\)[^/]' \| \
35074          X"$mf" : 'X\(//\)$' \| \
35075          X"$mf" : 'X\(/\)' \| \
35076          .     : '\(.\)' 2>/dev/null ||
35077 echo X"$mf" |
35078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35079           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35080           /^X\(\/\/\)$/{ s//\1/; q; }
35081           /^X\(\/\).*/{ s//\1/; q; }
35082           s/.*/./; q'`
35083   else
35084     continue
35085   fi
35086   # Extract the definition of DEPDIR, am__include, and am__quote
35087   # from the Makefile without running `make'.
35088   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35089   test -z "$DEPDIR" && continue
35090   am__include=`sed -n 's/^am__include = //p' < "$mf"`
35091   test -z "am__include" && continue
35092   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35093   # When using ansi2knr, U may be empty or an underscore; expand it
35094   U=`sed -n 's/^U = //p' < "$mf"`
35095   # Find all dependency output files, they are included files with
35096   # $(DEPDIR) in their names.  We invoke sed twice because it is the
35097   # simplest approach to changing $(DEPDIR) to its actual value in the
35098   # expansion.
35099   for file in `sed -n "
35100     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35101        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35102     # Make sure the directory exists.
35103     test -f "$dirpart/$file" && continue
35104     fdir=`(dirname "$file") 2>/dev/null ||
35105 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35106          X"$file" : 'X\(//\)[^/]' \| \
35107          X"$file" : 'X\(//\)$' \| \
35108          X"$file" : 'X\(/\)' \| \
35109          .     : '\(.\)' 2>/dev/null ||
35110 echo X"$file" |
35111     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35112           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35113           /^X\(\/\/\)$/{ s//\1/; q; }
35114           /^X\(\/\).*/{ s//\1/; q; }
35115           s/.*/./; q'`
35116     { if $as_mkdir_p; then
35117     mkdir -p $dirpart/$fdir
35118   else
35119     as_dir=$dirpart/$fdir
35120     as_dirs=
35121     while test ! -d "$as_dir"; do
35122       as_dirs="$as_dir $as_dirs"
35123       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35125          X"$as_dir" : 'X\(//\)[^/]' \| \
35126          X"$as_dir" : 'X\(//\)$' \| \
35127          X"$as_dir" : 'X\(/\)' \| \
35128          .     : '\(.\)' 2>/dev/null ||
35129 echo X"$as_dir" |
35130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35131           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35132           /^X\(\/\/\)$/{ s//\1/; q; }
35133           /^X\(\/\).*/{ s//\1/; q; }
35134           s/.*/./; q'`
35135     done
35136     test ! -n "$as_dirs" || mkdir $as_dirs
35137   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35138 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35139    { (exit 1); exit 1; }; }; }
35140
35141     # echo "creating $dirpart/$file"
35142     echo '# dummy' > "$dirpart/$file"
35143   done
35144 done
35145  ;;
35146     libtool )
35147
35148     # See if we are running on zsh, and set the options which allow our
35149     # commands through without removal of \ escapes.
35150     if test -n "${ZSH_VERSION+set}" ; then
35151       setopt NO_GLOB_SUBST
35152     fi
35153
35154     cfgfile="${ofile}T"
35155     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35156     $RM "$cfgfile"
35157
35158     cat <<_LT_EOF >> "$cfgfile"
35159 #! $SHELL
35160
35161 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35162 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35163 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35164 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35165 #
35166 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35167 # 2006, 2007 Free Software Foundation, Inc.
35168 #
35169 # This file is part of GNU Libtool:
35170 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35171 #
35172 # This program is free software; you can redistribute it and/or modify
35173 # it under the terms of the GNU General Public License as published by
35174 # the Free Software Foundation; either version 2 of the License, or
35175 # (at your option) any later version.
35176 #
35177 # This program is distributed in the hope that it will be useful, but
35178 # WITHOUT ANY WARRANTY; without even the implied warranty of
35179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35180 # General Public License for more details.
35181 #
35182 # You should have received a copy of the GNU General Public License
35183 # along with this program; if not, a copy can be downloaded from
35184 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35185 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35186 # MA 02110-1301, USA.
35187 #
35188 # As a special exception to the GNU General Public License, if you
35189 # distribute this file as part of a program that contains a
35190 # configuration script generated by Autoconf, you may include it under
35191 # the same distribution terms that you use for the rest of that program.
35192
35193
35194 # The names of the tagged configurations supported by this script.
35195 available_tags="FC "
35196
35197 # ### BEGIN LIBTOOL CONFIG
35198
35199 # Which release of libtool.m4 was used?
35200 macro_version=$macro_version
35201 macro_revision=$macro_revision
35202
35203 # Whether or not to build shared libraries.
35204 build_libtool_libs=$enable_shared
35205
35206 # Whether or not to build static libraries.
35207 build_old_libs=$enable_static
35208
35209 # What type of objects to build.
35210 pic_mode=$pic_mode
35211
35212 # Whether or not to optimize for fast installation.
35213 fast_install=$enable_fast_install
35214
35215 # The host system.
35216 host_alias=$host_alias
35217 host=$host
35218 host_os=$host_os
35219
35220 # The build system.
35221 build_alias=$build_alias
35222 build=$build
35223 build_os=$build_os
35224
35225 # A sed program that does not truncate output.
35226 SED=$lt_SED
35227
35228 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35229 Xsed="\$SED -e 1s/^X//"
35230
35231 # A grep program that handles long lines.
35232 GREP=$lt_GREP
35233
35234 # An ERE matcher.
35235 EGREP=$lt_EGREP
35236
35237 # A literal string matcher.
35238 FGREP=$lt_FGREP
35239
35240 # A BSD- or MS-compatible name lister.
35241 NM=$lt_NM
35242
35243 # Whether we need soft or hard links.
35244 LN_S=$lt_LN_S
35245
35246 # What is the maximum length of a command?
35247 max_cmd_len=$max_cmd_len
35248
35249 # Object file suffix (normally "o").
35250 objext=$ac_objext
35251
35252 # Executable file suffix (normally "").
35253 exeext=$exeext
35254
35255 # whether the shell understands "unset".
35256 lt_unset=$lt_unset
35257
35258 # turn spaces into newlines.
35259 SP2NL=$lt_lt_SP2NL
35260
35261 # turn newlines into spaces.
35262 NL2SP=$lt_lt_NL2SP
35263
35264 # How to create reloadable object files.
35265 reload_flag=$lt_reload_flag
35266 reload_cmds=$lt_reload_cmds
35267
35268 # Method to check whether dependent libraries are shared objects.
35269 deplibs_check_method=$lt_deplibs_check_method
35270
35271 # Command to use when deplibs_check_method == "file_magic".
35272 file_magic_cmd=$lt_file_magic_cmd
35273
35274 # The archiver.
35275 AR=$lt_AR
35276 AR_FLAGS=$lt_AR_FLAGS
35277
35278 # A symbol stripping program.
35279 STRIP=$lt_STRIP
35280
35281 # Commands used to install an old-style archive.
35282 RANLIB=$lt_RANLIB
35283 old_postinstall_cmds=$lt_old_postinstall_cmds
35284 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35285
35286 # A C compiler.
35287 LTCC=$lt_CC
35288
35289 # LTCC compiler flags.
35290 LTCFLAGS=$lt_CFLAGS
35291
35292 # Take the output of nm and produce a listing of raw symbols and C names.
35293 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35294
35295 # Transform the output of nm in a proper C declaration.
35296 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35297
35298 # Transform the output of nm in a C name address pair.
35299 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35300
35301 # The name of the directory that contains temporary libtool files.
35302 objdir=$objdir
35303
35304 # Shell to use when invoking shell scripts.
35305 SHELL=$lt_SHELL
35306
35307 # An echo program that does not interpret backslashes.
35308 ECHO=$lt_ECHO
35309
35310 # Used to examine libraries when file_magic_cmd begins with "file".
35311 MAGIC_CMD=$MAGIC_CMD
35312
35313 # Must we lock files when doing compilation?
35314 need_locks=$lt_need_locks
35315
35316 # Old archive suffix (normally "a").
35317 libext=$libext
35318
35319 # Shared library suffix (normally ".so").
35320 shrext_cmds=$lt_shrext_cmds
35321
35322 # The commands to extract the exported symbol list from a shared archive.
35323 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35324
35325 # Variables whose values should be saved in libtool wrapper scripts and
35326 # restored at link time.
35327 variables_saved_for_relink=$lt_variables_saved_for_relink
35328
35329 # Do we need the "lib" prefix for modules?
35330 need_lib_prefix=$need_lib_prefix
35331
35332 # Do we need a version for libraries?
35333 need_version=$need_version
35334
35335 # Library versioning type.
35336 version_type=$version_type
35337
35338 # Shared library runtime path variable.
35339 runpath_var=$runpath_var
35340
35341 # Shared library path variable.
35342 shlibpath_var=$shlibpath_var
35343
35344 # Is shlibpath searched before the hard-coded library search path?
35345 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35346
35347 # Format of library name prefix.
35348 libname_spec=$lt_libname_spec
35349
35350 # List of archive names.  First name is the real one, the rest are links.
35351 # The last name is the one that the linker finds with -lNAME
35352 library_names_spec=$lt_library_names_spec
35353
35354 # The coded name of the library, if different from the real name.
35355 soname_spec=$lt_soname_spec
35356
35357 # Command to use after installation of a shared archive.
35358 postinstall_cmds=$lt_postinstall_cmds
35359
35360 # Command to use after uninstallation of a shared archive.
35361 postuninstall_cmds=$lt_postuninstall_cmds
35362
35363 # Commands used to finish a libtool library installation in a directory.
35364 finish_cmds=$lt_finish_cmds
35365
35366 # As "finish_cmds", except a single script fragment to be evaled but
35367 # not shown.
35368 finish_eval=$lt_finish_eval
35369
35370 # Whether we should hardcode library paths into libraries.
35371 hardcode_into_libs=$hardcode_into_libs
35372
35373 # Compile-time system search path for libraries.
35374 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35375
35376 # Run-time system search path for libraries.
35377 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35378
35379 # Whether dlopen is supported.
35380 dlopen_support=$enable_dlopen
35381
35382 # Whether dlopen of programs is supported.
35383 dlopen_self=$enable_dlopen_self
35384
35385 # Whether dlopen of statically linked programs is supported.
35386 dlopen_self_static=$enable_dlopen_self_static
35387
35388 # Commands to strip libraries.
35389 old_striplib=$lt_old_striplib
35390 striplib=$lt_striplib
35391
35392
35393 # The linker used to build libraries.
35394 LD=$lt_LD
35395
35396 # Commands used to build an old-style archive.
35397 old_archive_cmds=$lt_old_archive_cmds
35398
35399 # A language specific compiler.
35400 CC=$lt_compiler
35401
35402 # Is the compiler the GNU compiler?
35403 with_gcc=$GCC
35404
35405 # Compiler flag to turn off builtin functions.
35406 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35407
35408 # How to pass a linker flag through the compiler.
35409 wl=$lt_lt_prog_compiler_wl
35410
35411 # Additional compiler flags for building library objects.
35412 pic_flag=$lt_lt_prog_compiler_pic
35413
35414 # Compiler flag to prevent dynamic linking.
35415 link_static_flag=$lt_lt_prog_compiler_static
35416
35417 # Does compiler simultaneously support -c and -o options?
35418 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35419
35420 # Whether or not to add -lc for building shared libraries.
35421 build_libtool_need_lc=$archive_cmds_need_lc
35422
35423 # Whether or not to disallow shared libs when runtime libs are static.
35424 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35425
35426 # Compiler flag to allow reflexive dlopens.
35427 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35428
35429 # Compiler flag to generate shared objects directly from archives.
35430 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35431
35432 # Whether the compiler copes with passing no objects directly.
35433 compiler_needs_object=$lt_compiler_needs_object
35434
35435 # Create an old-style archive from a shared archive.
35436 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35437
35438 # Create a temporary old-style archive to link instead of a shared archive.
35439 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35440
35441 # Commands used to build a shared archive.
35442 archive_cmds=$lt_archive_cmds
35443 archive_expsym_cmds=$lt_archive_expsym_cmds
35444
35445 # Commands used to build a loadable module if different from building
35446 # a shared archive.
35447 module_cmds=$lt_module_cmds
35448 module_expsym_cmds=$lt_module_expsym_cmds
35449
35450 # Whether we are building with GNU ld or not.
35451 with_gnu_ld=$lt_with_gnu_ld
35452
35453 # Flag that allows shared libraries with undefined symbols to be built.
35454 allow_undefined_flag=$lt_allow_undefined_flag
35455
35456 # Flag that enforces no undefined symbols.
35457 no_undefined_flag=$lt_no_undefined_flag
35458
35459 # Flag to hardcode \$libdir into a binary during linking.
35460 # This must work even if \$libdir does not exist
35461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35462
35463 # If ld is used when linking, flag to hardcode \$libdir into a binary
35464 # during linking.  This must work even if \$libdir does not exist.
35465 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35466
35467 # Whether we need a single "-rpath" flag with a separated argument.
35468 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35469
35470 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35471 # DIR into the resulting binary.
35472 hardcode_direct=$hardcode_direct
35473
35474 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35475 # DIR into the resulting binary and the resulting library dependency is
35476 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35477 # library is relocated.
35478 hardcode_direct_absolute=$hardcode_direct_absolute
35479
35480 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35481 # into the resulting binary.
35482 hardcode_minus_L=$hardcode_minus_L
35483
35484 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35485 # into the resulting binary.
35486 hardcode_shlibpath_var=$hardcode_shlibpath_var
35487
35488 # Set to "yes" if building a shared library automatically hardcodes DIR
35489 # into the library and all subsequent libraries and executables linked
35490 # against it.
35491 hardcode_automatic=$hardcode_automatic
35492
35493 # Set to yes if linker adds runtime paths of dependent libraries
35494 # to runtime path list.
35495 inherit_rpath=$inherit_rpath
35496
35497 # Whether libtool must link a program against all its dependency libraries.
35498 link_all_deplibs=$link_all_deplibs
35499
35500 # Fix the shell variable \$srcfile for the compiler.
35501 fix_srcfile_path=$lt_fix_srcfile_path
35502
35503 # Set to "yes" if exported symbols are required.
35504 always_export_symbols=$always_export_symbols
35505
35506 # The commands to list exported symbols.
35507 export_symbols_cmds=$lt_export_symbols_cmds
35508
35509 # Symbols that should not be listed in the preloaded symbols.
35510 exclude_expsyms=$lt_exclude_expsyms
35511
35512 # Symbols that must always be exported.
35513 include_expsyms=$lt_include_expsyms
35514
35515 # Commands necessary for linking programs (against libraries) with templates.
35516 prelink_cmds=$lt_prelink_cmds
35517
35518 # Specify filename containing input files.
35519 file_list_spec=$lt_file_list_spec
35520
35521 # How to hardcode a shared library path into an executable.
35522 hardcode_action=$hardcode_action
35523
35524 # Dependencies to place before and after the objects being linked to
35525 # create a shared library.
35526 predep_objects=$lt_predep_objects
35527 postdep_objects=$lt_postdep_objects
35528 predeps=$lt_predeps
35529 postdeps=$lt_postdeps
35530
35531 # The library search path used internally by the compiler when linking
35532 # a shared library.
35533 compiler_lib_search_path=$lt_compiler_lib_search_path
35534
35535 # ### END LIBTOOL CONFIG
35536
35537 _LT_EOF
35538
35539   case $host_os in
35540   aix3*)
35541     cat <<\_LT_EOF >> "$cfgfile"
35542 # AIX sometimes has problems with the GCC collect2 program.  For some
35543 # reason, if we set the COLLECT_NAMES environment variable, the problems
35544 # vanish in a puff of smoke.
35545 if test "X${COLLECT_NAMES+set}" != Xset; then
35546   COLLECT_NAMES=
35547   export COLLECT_NAMES
35548 fi
35549 _LT_EOF
35550     ;;
35551   esac
35552
35553
35554 ltmain="$ac_aux_dir/ltmain.sh"
35555
35556
35557   # We use sed instead of cat because bash on DJGPP gets confused if
35558   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
35559   # text mode, it properly converts lines to CR/LF.  This bash problem
35560   # is reportedly fixed, but why not run on old versions too?
35561   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35562     || (rm -f "$cfgfile"; exit 1)
35563
35564   case $xsi_shell in
35565   yes)
35566     cat << \_LT_EOF >> "$cfgfile"
35567 # func_dirname file append nondir_replacement
35568 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35569 # otherwise set result to NONDIR_REPLACEMENT.
35570 func_dirname ()
35571 {
35572   case ${1} in
35573     */*) func_dirname_result="${1%/*}${2}" ;;
35574     *  ) func_dirname_result="${3}" ;;
35575   esac
35576 }
35577
35578 # func_basename file
35579 func_basename ()
35580 {
35581   func_basename_result="${1##*/}"
35582 }
35583
35584 # func_stripname prefix suffix name
35585 # strip PREFIX and SUFFIX off of NAME.
35586 # PREFIX and SUFFIX must not contain globbing or regex special
35587 # characters, hashes, percent signs, but SUFFIX may contain a leading
35588 # dot (in which case that matches only a dot).
35589 func_stripname ()
35590 {
35591   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35592   # positional parameters, so assign one to ordinary parameter first.
35593   func_stripname_result=${3}
35594   func_stripname_result=${func_stripname_result#"${1}"}
35595   func_stripname_result=${func_stripname_result%"${2}"}
35596 }
35597
35598 # func_opt_split
35599 func_opt_split ()
35600 {
35601   func_opt_split_opt=${1%%=*}
35602   func_opt_split_arg=${1#*=}
35603 }
35604
35605 # func_lo2o object
35606 func_lo2o ()
35607 {
35608   case ${1} in
35609     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35610     *)    func_lo2o_result=${1} ;;
35611   esac
35612 }
35613 _LT_EOF
35614     ;;
35615   *) # Bourne compatible functions.
35616     cat << \_LT_EOF >> "$cfgfile"
35617 # func_dirname file append nondir_replacement
35618 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
35619 # otherwise set result to NONDIR_REPLACEMENT.
35620 func_dirname ()
35621 {
35622   # Extract subdirectory from the argument.
35623   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35624   if test "X$func_dirname_result" = "X${1}"; then
35625     func_dirname_result="${3}"
35626   else
35627     func_dirname_result="$func_dirname_result${2}"
35628   fi
35629 }
35630
35631 # func_basename file
35632 func_basename ()
35633 {
35634   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35635 }
35636
35637 # func_stripname prefix suffix name
35638 # strip PREFIX and SUFFIX off of NAME.
35639 # PREFIX and SUFFIX must not contain globbing or regex special
35640 # characters, hashes, percent signs, but SUFFIX may contain a leading
35641 # dot (in which case that matches only a dot).
35642 # func_strip_suffix prefix name
35643 func_stripname ()
35644 {
35645   case ${2} in
35646     .*) func_stripname_result=`$ECHO "X${3}" \
35647            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35648     *)  func_stripname_result=`$ECHO "X${3}" \
35649            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35650   esac
35651 }
35652
35653 # sed scripts:
35654 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35655 my_sed_long_arg='1s/^-[^=]*=//'
35656
35657 # func_opt_split
35658 func_opt_split ()
35659 {
35660   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35661   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35662 }
35663
35664 # func_lo2o object
35665 func_lo2o ()
35666 {
35667   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35668 }
35669 _LT_EOF
35670 esac
35671
35672 case $lt_shell_append in
35673   yes)
35674     cat << \_LT_EOF >> "$cfgfile"
35675
35676 # func_append var value
35677 # Append VALUE to the end of shell variable VAR.
35678 func_append ()
35679 {
35680   eval "$1+=\$2"
35681 }
35682 _LT_EOF
35683     ;;
35684   *)
35685     cat << \_LT_EOF >> "$cfgfile"
35686
35687 # func_append var value
35688 # Append VALUE to the end of shell variable VAR.
35689 func_append ()
35690 {
35691   eval "$1=\$$1\$2"
35692 }
35693 _LT_EOF
35694     ;;
35695   esac
35696
35697
35698   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35699     || (rm -f "$cfgfile"; exit 1)
35700
35701   mv -f "$cfgfile" "$ofile" ||
35702     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35703   chmod +x "$ofile"
35704
35705
35706     cat <<_LT_EOF >> "$ofile"
35707
35708 # ### BEGIN LIBTOOL TAG CONFIG: FC
35709
35710 # The linker used to build libraries.
35711 LD=$lt_LD_FC
35712
35713 # Commands used to build an old-style archive.
35714 old_archive_cmds=$lt_old_archive_cmds_FC
35715
35716 # A language specific compiler.
35717 CC=$lt_compiler_FC
35718
35719 # Is the compiler the GNU compiler?
35720 with_gcc=$GCC_FC
35721
35722 # Compiler flag to turn off builtin functions.
35723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35724
35725 # How to pass a linker flag through the compiler.
35726 wl=$lt_lt_prog_compiler_wl_FC
35727
35728 # Additional compiler flags for building library objects.
35729 pic_flag=$lt_lt_prog_compiler_pic_FC
35730
35731 # Compiler flag to prevent dynamic linking.
35732 link_static_flag=$lt_lt_prog_compiler_static_FC
35733
35734 # Does compiler simultaneously support -c and -o options?
35735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35736
35737 # Whether or not to add -lc for building shared libraries.
35738 build_libtool_need_lc=$archive_cmds_need_lc_FC
35739
35740 # Whether or not to disallow shared libs when runtime libs are static.
35741 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35742
35743 # Compiler flag to allow reflexive dlopens.
35744 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35745
35746 # Compiler flag to generate shared objects directly from archives.
35747 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35748
35749 # Whether the compiler copes with passing no objects directly.
35750 compiler_needs_object=$lt_compiler_needs_object_FC
35751
35752 # Create an old-style archive from a shared archive.
35753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35754
35755 # Create a temporary old-style archive to link instead of a shared archive.
35756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35757
35758 # Commands used to build a shared archive.
35759 archive_cmds=$lt_archive_cmds_FC
35760 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35761
35762 # Commands used to build a loadable module if different from building
35763 # a shared archive.
35764 module_cmds=$lt_module_cmds_FC
35765 module_expsym_cmds=$lt_module_expsym_cmds_FC
35766
35767 # Whether we are building with GNU ld or not.
35768 with_gnu_ld=$lt_with_gnu_ld_FC
35769
35770 # Flag that allows shared libraries with undefined symbols to be built.
35771 allow_undefined_flag=$lt_allow_undefined_flag_FC
35772
35773 # Flag that enforces no undefined symbols.
35774 no_undefined_flag=$lt_no_undefined_flag_FC
35775
35776 # Flag to hardcode \$libdir into a binary during linking.
35777 # This must work even if \$libdir does not exist
35778 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35779
35780 # If ld is used when linking, flag to hardcode \$libdir into a binary
35781 # during linking.  This must work even if \$libdir does not exist.
35782 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35783
35784 # Whether we need a single "-rpath" flag with a separated argument.
35785 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35786
35787 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35788 # DIR into the resulting binary.
35789 hardcode_direct=$hardcode_direct_FC
35790
35791 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35792 # DIR into the resulting binary and the resulting library dependency is
35793 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35794 # library is relocated.
35795 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35796
35797 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35798 # into the resulting binary.
35799 hardcode_minus_L=$hardcode_minus_L_FC
35800
35801 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35802 # into the resulting binary.
35803 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35804
35805 # Set to "yes" if building a shared library automatically hardcodes DIR
35806 # into the library and all subsequent libraries and executables linked
35807 # against it.
35808 hardcode_automatic=$hardcode_automatic_FC
35809
35810 # Set to yes if linker adds runtime paths of dependent libraries
35811 # to runtime path list.
35812 inherit_rpath=$inherit_rpath_FC
35813
35814 # Whether libtool must link a program against all its dependency libraries.
35815 link_all_deplibs=$link_all_deplibs_FC
35816
35817 # Fix the shell variable \$srcfile for the compiler.
35818 fix_srcfile_path=$lt_fix_srcfile_path_FC
35819
35820 # Set to "yes" if exported symbols are required.
35821 always_export_symbols=$always_export_symbols_FC
35822
35823 # The commands to list exported symbols.
35824 export_symbols_cmds=$lt_export_symbols_cmds_FC
35825
35826 # Symbols that should not be listed in the preloaded symbols.
35827 exclude_expsyms=$lt_exclude_expsyms_FC
35828
35829 # Symbols that must always be exported.
35830 include_expsyms=$lt_include_expsyms_FC
35831
35832 # Commands necessary for linking programs (against libraries) with templates.
35833 prelink_cmds=$lt_prelink_cmds_FC
35834
35835 # Specify filename containing input files.
35836 file_list_spec=$lt_file_list_spec_FC
35837
35838 # How to hardcode a shared library path into an executable.
35839 hardcode_action=$hardcode_action_FC
35840
35841 # Dependencies to place before and after the objects being linked to
35842 # create a shared library.
35843 predep_objects=$lt_predep_objects_FC
35844 postdep_objects=$lt_postdep_objects_FC
35845 predeps=$lt_predeps_FC
35846 postdeps=$lt_postdeps_FC
35847
35848 # The library search path used internally by the compiler when linking
35849 # a shared library.
35850 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35851
35852 # ### END LIBTOOL TAG CONFIG: FC
35853 _LT_EOF
35854
35855  ;;
35856     gstdint.h )
35857 if test "$GCC" = yes; then
35858   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35859 else
35860   echo "/* generated for $CC */" > tmp-stdint.h
35861 fi
35862
35863 sed 's/^ *//' >> tmp-stdint.h <<EOF
35864
35865   #ifndef GCC_GENERATED_STDINT_H
35866   #define GCC_GENERATED_STDINT_H 1
35867
35868   #include <sys/types.h>
35869 EOF
35870
35871 if test "$acx_cv_header_stdint" != stdint.h; then
35872   echo "#include <stddef.h>" >> tmp-stdint.h
35873 fi
35874 if test "$acx_cv_header_stdint" != stddef.h; then
35875   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35876 fi
35877
35878 sed 's/^ *//' >> tmp-stdint.h <<EOF
35879   /* glibc uses these symbols as guards to prevent redefinitions.  */
35880   #ifdef __int8_t_defined
35881   #define _INT8_T
35882   #define _INT16_T
35883   #define _INT32_T
35884   #endif
35885   #ifdef __uint32_t_defined
35886   #define _UINT32_T
35887   #endif
35888
35889 EOF
35890
35891 # ----------------- done header, emit basic int types -------------
35892 if test "$acx_cv_header_stdint" = stddef.h; then
35893   sed 's/^ *//' >> tmp-stdint.h <<EOF
35894
35895     #ifndef _UINT8_T
35896     #define _UINT8_T
35897     #ifndef __uint8_t_defined
35898     #define __uint8_t_defined
35899     typedef unsigned $acx_cv_type_int8_t uint8_t;
35900     #endif
35901     #endif
35902
35903     #ifndef _UINT16_T
35904     #define _UINT16_T
35905     #ifndef __uint16_t_defined
35906     #define __uint16_t_defined
35907     typedef unsigned $acx_cv_type_int16_t uint16_t;
35908     #endif
35909     #endif
35910
35911     #ifndef _UINT32_T
35912     #define _UINT32_T
35913     #ifndef __uint32_t_defined
35914     #define __uint32_t_defined
35915     typedef unsigned $acx_cv_type_int32_t uint32_t;
35916     #endif
35917     #endif
35918
35919     #ifndef _INT8_T
35920     #define _INT8_T
35921     #ifndef __int8_t_defined
35922     #define __int8_t_defined
35923     typedef $acx_cv_type_int8_t int8_t;
35924     #endif
35925     #endif
35926
35927     #ifndef _INT16_T
35928     #define _INT16_T
35929     #ifndef __int16_t_defined
35930     #define __int16_t_defined
35931     typedef $acx_cv_type_int16_t int16_t;
35932     #endif
35933     #endif
35934
35935     #ifndef _INT32_T
35936     #define _INT32_T
35937     #ifndef __int32_t_defined
35938     #define __int32_t_defined
35939     typedef $acx_cv_type_int32_t int32_t;
35940     #endif
35941     #endif
35942 EOF
35943 elif test "$ac_cv_type_u_int32_t" = yes; then
35944   sed 's/^ *//' >> tmp-stdint.h <<EOF
35945
35946     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35947     #ifndef _INT8_T
35948     #define _INT8_T
35949     #endif
35950     #ifndef _INT16_T
35951     #define _INT16_T
35952     #endif
35953     #ifndef _INT32_T
35954     #define _INT32_T
35955     #endif
35956
35957     #ifndef _UINT8_T
35958     #define _UINT8_T
35959     #ifndef __uint8_t_defined
35960     #define __uint8_t_defined
35961     typedef u_int8_t uint8_t;
35962     #endif
35963     #endif
35964
35965     #ifndef _UINT16_T
35966     #define _UINT16_T
35967     #ifndef __uint16_t_defined
35968     #define __uint16_t_defined
35969     typedef u_int16_t uint16_t;
35970     #endif
35971     #endif
35972
35973     #ifndef _UINT32_T
35974     #define _UINT32_T
35975     #ifndef __uint32_t_defined
35976     #define __uint32_t_defined
35977     typedef u_int32_t uint32_t;
35978     #endif
35979     #endif
35980 EOF
35981 else
35982   sed 's/^ *//' >> tmp-stdint.h <<EOF
35983
35984     /* Some systems have guard macros to prevent redefinitions, define them.  */
35985     #ifndef _INT8_T
35986     #define _INT8_T
35987     #endif
35988     #ifndef _INT16_T
35989     #define _INT16_T
35990     #endif
35991     #ifndef _INT32_T
35992     #define _INT32_T
35993     #endif
35994     #ifndef _UINT8_T
35995     #define _UINT8_T
35996     #endif
35997     #ifndef _UINT16_T
35998     #define _UINT16_T
35999     #endif
36000     #ifndef _UINT32_T
36001     #define _UINT32_T
36002     #endif
36003 EOF
36004 fi
36005
36006 # ------------- done basic int types, emit int64_t types ------------
36007 if test "$ac_cv_type_uint64_t" = yes; then
36008   sed 's/^ *//' >> tmp-stdint.h <<EOF
36009
36010     /* system headers have good uint64_t and int64_t */
36011     #ifndef _INT64_T
36012     #define _INT64_T
36013     #endif
36014     #ifndef _UINT64_T
36015     #define _UINT64_T
36016     #endif
36017 EOF
36018 elif test "$ac_cv_type_u_int64_t" = yes; then
36019   sed 's/^ *//' >> tmp-stdint.h <<EOF
36020
36021     /* system headers have an u_int64_t (and int64_t) */
36022     #ifndef _INT64_T
36023     #define _INT64_T
36024     #endif
36025     #ifndef _UINT64_T
36026     #define _UINT64_T
36027     #ifndef __uint64_t_defined
36028     #define __uint64_t_defined
36029     typedef u_int64_t uint64_t;
36030     #endif
36031     #endif
36032 EOF
36033 elif test -n "$acx_cv_type_int64_t"; then
36034   sed 's/^ *//' >> tmp-stdint.h <<EOF
36035
36036     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36037     #ifndef _INT64_T
36038     #define _INT64_T
36039     typedef $acx_cv_type_int64_t int64_t;
36040     #endif
36041     #ifndef _UINT64_T
36042     #define _UINT64_T
36043     #ifndef __uint64_t_defined
36044     #define __uint64_t_defined
36045     typedef unsigned $acx_cv_type_int64_t uint64_t;
36046     #endif
36047     #endif
36048 EOF
36049 else
36050   sed 's/^ *//' >> tmp-stdint.h <<EOF
36051
36052     /* some common heuristics for int64_t, using compiler-specific tests */
36053     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36054     #ifndef _INT64_T
36055     #define _INT64_T
36056     #ifndef __int64_t_defined
36057     typedef long long int64_t;
36058     #endif
36059     #endif
36060     #ifndef _UINT64_T
36061     #define _UINT64_T
36062     typedef unsigned long long uint64_t;
36063     #endif
36064
36065     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36066     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36067        does not implement __extension__.  But that compiler doesn't define
36068        __GNUC_MINOR__.  */
36069     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36070     # define __extension__
36071     # endif
36072
36073     # ifndef _INT64_T
36074     # define _INT64_T
36075     __extension__ typedef long long int64_t;
36076     # endif
36077     # ifndef _UINT64_T
36078     # define _UINT64_T
36079     __extension__ typedef unsigned long long uint64_t;
36080     # endif
36081
36082     #elif !defined __STRICT_ANSI__
36083     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36084
36085     #  ifndef _INT64_T
36086     #  define _INT64_T
36087     typedef __int64 int64_t;
36088     #  endif
36089     #  ifndef _UINT64_T
36090     #  define _UINT64_T
36091     typedef unsigned __int64 uint64_t;
36092     #  endif
36093     # endif /* compiler */
36094
36095     #endif /* ANSI version */
36096 EOF
36097 fi
36098
36099 # ------------- done int64_t types, emit intptr types ------------
36100 if test "$ac_cv_type_uintptr_t" != yes; then
36101   sed 's/^ *//' >> tmp-stdint.h <<EOF
36102
36103     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36104     #ifndef __uintptr_t_defined
36105     typedef u$acx_cv_type_intptr_t uintptr_t;
36106     #endif
36107     #ifndef __intptr_t_defined
36108     typedef $acx_cv_type_intptr_t  intptr_t;
36109     #endif
36110 EOF
36111 fi
36112
36113 # ------------- done intptr types, emit int_least types ------------
36114 if test "$ac_cv_type_int_least32_t" != yes; then
36115   sed 's/^ *//' >> tmp-stdint.h <<EOF
36116
36117     /* Define int_least types */
36118     typedef int8_t     int_least8_t;
36119     typedef int16_t    int_least16_t;
36120     typedef int32_t    int_least32_t;
36121     #ifdef _INT64_T
36122     typedef int64_t    int_least64_t;
36123     #endif
36124
36125     typedef uint8_t    uint_least8_t;
36126     typedef uint16_t   uint_least16_t;
36127     typedef uint32_t   uint_least32_t;
36128     #ifdef _UINT64_T
36129     typedef uint64_t   uint_least64_t;
36130     #endif
36131 EOF
36132 fi
36133
36134 # ------------- done intptr types, emit int_fast types ------------
36135 if test "$ac_cv_type_int_fast32_t" != yes; then
36136       sed 's/^ *//' >> tmp-stdint.h <<EOF
36137
36138     /* Define int_fast types.  short is often slow */
36139     typedef int8_t       int_fast8_t;
36140     typedef int          int_fast16_t;
36141     typedef int32_t      int_fast32_t;
36142     #ifdef _INT64_T
36143     typedef int64_t      int_fast64_t;
36144     #endif
36145
36146     typedef uint8_t      uint_fast8_t;
36147     typedef unsigned int uint_fast16_t;
36148     typedef uint32_t     uint_fast32_t;
36149     #ifdef _UINT64_T
36150     typedef uint64_t     uint_fast64_t;
36151     #endif
36152 EOF
36153 fi
36154
36155 if test "$ac_cv_type_uintmax_t" != yes; then
36156   sed 's/^ *//' >> tmp-stdint.h <<EOF
36157
36158     /* Define intmax based on what we found */
36159     #ifdef _INT64_T
36160     typedef int64_t       intmax_t;
36161     #else
36162     typedef long          intmax_t;
36163     #endif
36164     #ifdef _UINT64_T
36165     typedef uint64_t      uintmax_t;
36166     #else
36167     typedef unsigned long uintmax_t;
36168     #endif
36169 EOF
36170 fi
36171
36172 sed 's/^ *//' >> tmp-stdint.h <<EOF
36173
36174   #endif /* GCC_GENERATED_STDINT_H */
36175 EOF
36176
36177 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36178   rm -f tmp-stdint.h
36179 else
36180   mv -f tmp-stdint.h gstdint.h
36181 fi
36182
36183  ;;
36184   esac
36185 done
36186 _ACEOF
36187
36188 cat >>$CONFIG_STATUS <<\_ACEOF
36189
36190 { (exit 0); exit 0; }
36191 _ACEOF
36192 chmod +x $CONFIG_STATUS
36193 ac_clean_files=$ac_clean_files_save
36194
36195
36196 # configure is writing to config.log, and then calls config.status.
36197 # config.status does its own redirection, appending to config.log.
36198 # Unfortunately, on DOS this fails, as config.log is still kept open
36199 # by configure, so config.status won't be able to write to it; its
36200 # output is simply discarded.  So we exec the FD to /dev/null,
36201 # effectively closing config.log, so it can be properly (re)opened and
36202 # appended to by config.status.  When coming back to configure, we
36203 # need to make the FD available again.
36204 if test "$no_create" != yes; then
36205   ac_cs_success=:
36206   ac_config_status_args=
36207   test "$silent" = yes &&
36208     ac_config_status_args="$ac_config_status_args --quiet"
36209   exec 5>/dev/null
36210   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36211   exec 5>>config.log
36212   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36213   # would make configure fail if this is the last instruction.
36214   $ac_cs_success || { (exit 1); exit 1; }
36215 fi
36216