OSDN Git Service

* configure: Regenerate for new libtool.
[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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
462 ac_pwd=`pwd`
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505   # If the previous option needs an argument, assign it.
506   if test -n "$ac_prev"; then
507     eval "$ac_prev=\$ac_option"
508     ac_prev=
509     continue
510   fi
511
512   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514   # Accept the important Cygnus configure options, so we can diagnose typos.
515
516   case $ac_option in
517
518   -bindir | --bindir | --bindi | --bind | --bin | --bi)
519     ac_prev=bindir ;;
520   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521     bindir=$ac_optarg ;;
522
523   -build | --build | --buil | --bui | --bu)
524     ac_prev=build_alias ;;
525   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526     build_alias=$ac_optarg ;;
527
528   -cache-file | --cache-file | --cache-fil | --cache-fi \
529   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530     ac_prev=cache_file ;;
531   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533     cache_file=$ac_optarg ;;
534
535   --config-cache | -C)
536     cache_file=config.cache ;;
537
538   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539     ac_prev=datadir ;;
540   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541   | --da=*)
542     datadir=$ac_optarg ;;
543
544   -disable-* | --disable-*)
545     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546     # Reject names that are not valid shell variable names.
547     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549    { (exit 1); exit 1; }; }
550     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551     eval "enable_$ac_feature=no" ;;
552
553   -enable-* | --enable-*)
554     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555     # Reject names that are not valid shell variable names.
556     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558    { (exit 1); exit 1; }; }
559     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560     case $ac_option in
561       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562       *) ac_optarg=yes ;;
563     esac
564     eval "enable_$ac_feature='$ac_optarg'" ;;
565
566   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568   | --exec | --exe | --ex)
569     ac_prev=exec_prefix ;;
570   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572   | --exec=* | --exe=* | --ex=*)
573     exec_prefix=$ac_optarg ;;
574
575   -gas | --gas | --ga | --g)
576     # Obsolete; use --with-gas.
577     with_gas=yes ;;
578
579   -help | --help | --hel | --he | -h)
580     ac_init_help=long ;;
581   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582     ac_init_help=recursive ;;
583   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584     ac_init_help=short ;;
585
586   -host | --host | --hos | --ho)
587     ac_prev=host_alias ;;
588   -host=* | --host=* | --hos=* | --ho=*)
589     host_alias=$ac_optarg ;;
590
591   -includedir | --includedir | --includedi | --included | --include \
592   | --includ | --inclu | --incl | --inc)
593     ac_prev=includedir ;;
594   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595   | --includ=* | --inclu=* | --incl=* | --inc=*)
596     includedir=$ac_optarg ;;
597
598   -infodir | --infodir | --infodi | --infod | --info | --inf)
599     ac_prev=infodir ;;
600   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601     infodir=$ac_optarg ;;
602
603   -libdir | --libdir | --libdi | --libd)
604     ac_prev=libdir ;;
605   -libdir=* | --libdir=* | --libdi=* | --libd=*)
606     libdir=$ac_optarg ;;
607
608   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609   | --libexe | --libex | --libe)
610     ac_prev=libexecdir ;;
611   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612   | --libexe=* | --libex=* | --libe=*)
613     libexecdir=$ac_optarg ;;
614
615   -localstatedir | --localstatedir | --localstatedi | --localstated \
616   | --localstate | --localstat | --localsta | --localst \
617   | --locals | --local | --loca | --loc | --lo)
618     ac_prev=localstatedir ;;
619   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622     localstatedir=$ac_optarg ;;
623
624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625     ac_prev=mandir ;;
626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627     mandir=$ac_optarg ;;
628
629   -nfp | --nfp | --nf)
630     # Obsolete; use --without-fp.
631     with_fp=no ;;
632
633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634   | --no-cr | --no-c | -n)
635     no_create=yes ;;
636
637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639     no_recursion=yes ;;
640
641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643   | --oldin | --oldi | --old | --ol | --o)
644     ac_prev=oldincludedir ;;
645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648     oldincludedir=$ac_optarg ;;
649
650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651     ac_prev=prefix ;;
652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653     prefix=$ac_optarg ;;
654
655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
656   | --program-pre | --program-pr | --program-p)
657     ac_prev=program_prefix ;;
658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660     program_prefix=$ac_optarg ;;
661
662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
663   | --program-suf | --program-su | --program-s)
664     ac_prev=program_suffix ;;
665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667     program_suffix=$ac_optarg ;;
668
669   -program-transform-name | --program-transform-name \
670   | --program-transform-nam | --program-transform-na \
671   | --program-transform-n | --program-transform- \
672   | --program-transform | --program-transfor \
673   | --program-transfo | --program-transf \
674   | --program-trans | --program-tran \
675   | --progr-tra | --program-tr | --program-t)
676     ac_prev=program_transform_name ;;
677   -program-transform-name=* | --program-transform-name=* \
678   | --program-transform-nam=* | --program-transform-na=* \
679   | --program-transform-n=* | --program-transform-=* \
680   | --program-transform=* | --program-transfor=* \
681   | --program-transfo=* | --program-transf=* \
682   | --program-trans=* | --program-tran=* \
683   | --progr-tra=* | --program-tr=* | --program-t=*)
684     program_transform_name=$ac_optarg ;;
685
686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687   | -silent | --silent | --silen | --sile | --sil)
688     silent=yes ;;
689
690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691     ac_prev=sbindir ;;
692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693   | --sbi=* | --sb=*)
694     sbindir=$ac_optarg ;;
695
696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698   | --sharedst | --shareds | --shared | --share | --shar \
699   | --sha | --sh)
700     ac_prev=sharedstatedir ;;
701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704   | --sha=* | --sh=*)
705     sharedstatedir=$ac_optarg ;;
706
707   -site | --site | --sit)
708     ac_prev=site ;;
709   -site=* | --site=* | --sit=*)
710     site=$ac_optarg ;;
711
712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713     ac_prev=srcdir ;;
714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715     srcdir=$ac_optarg ;;
716
717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718   | --syscon | --sysco | --sysc | --sys | --sy)
719     ac_prev=sysconfdir ;;
720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722     sysconfdir=$ac_optarg ;;
723
724   -target | --target | --targe | --targ | --tar | --ta | --t)
725     ac_prev=target_alias ;;
726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727     target_alias=$ac_optarg ;;
728
729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
730     verbose=yes ;;
731
732   -version | --version | --versio | --versi | --vers | -V)
733     ac_init_version=: ;;
734
735   -with-* | --with-*)
736     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737     # Reject names that are not valid shell variable names.
738     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739       { echo "$as_me: error: invalid package name: $ac_package" >&2
740    { (exit 1); exit 1; }; }
741     ac_package=`echo $ac_package| sed 's/-/_/g'`
742     case $ac_option in
743       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744       *) ac_optarg=yes ;;
745     esac
746     eval "with_$ac_package='$ac_optarg'" ;;
747
748   -without-* | --without-*)
749     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750     # Reject names that are not valid shell variable names.
751     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752       { echo "$as_me: error: invalid package name: $ac_package" >&2
753    { (exit 1); exit 1; }; }
754     ac_package=`echo $ac_package | sed 's/-/_/g'`
755     eval "with_$ac_package=no" ;;
756
757   --x)
758     # Obsolete; use --with-x.
759     with_x=yes ;;
760
761   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762   | --x-incl | --x-inc | --x-in | --x-i)
763     ac_prev=x_includes ;;
764   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766     x_includes=$ac_optarg ;;
767
768   -x-libraries | --x-libraries | --x-librarie | --x-librari \
769   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770     ac_prev=x_libraries ;;
771   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773     x_libraries=$ac_optarg ;;
774
775   -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777    { (exit 1); exit 1; }; }
778     ;;
779
780   *=*)
781     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782     # Reject names that are not valid shell variable names.
783     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785    { (exit 1); exit 1; }; }
786     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787     eval "$ac_envvar='$ac_optarg'"
788     export $ac_envvar ;;
789
790   *)
791     # FIXME: should be removed in autoconf 3.0.
792     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796     ;;
797
798   esac
799 done
800
801 if test -n "$ac_prev"; then
802   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803   { echo "$as_me: error: missing argument to $ac_option" >&2
804    { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810   eval ac_val=$`echo $ac_var`
811   case $ac_val in
812     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814    { (exit 1); exit 1; }; };;
815   esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820               localstatedir libdir includedir oldincludedir infodir mandir
821 do
822   eval ac_val=$`echo $ac_var`
823   case $ac_val in
824     [\\/$]* | ?:[\\/]* ) ;;
825     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826    { (exit 1); exit 1; }; };;
827   esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839   if test "x$build_alias" = x; then
840     cross_compiling=maybe
841     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842     If a cross compiler is detected then cross compile mode will be used." >&2
843   elif test "x$build_alias" != "x$host_alias"; then
844     cross_compiling=yes
845   fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856   ac_srcdir_defaulted=yes
857   # Try the directory containing this script, then its parent.
858   ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860          X"$0" : 'X\(//\)[^/]' \| \
861          X"$0" : 'X\(//\)$' \| \
862          X"$0" : 'X\(/\)' \| \
863          .     : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867           /^X\(\/\/\)$/{ s//\1/; q; }
868           /^X\(\/\).*/{ s//\1/; q; }
869           s/.*/./; q'`
870   srcdir=$ac_confdir
871   if test ! -r $srcdir/$ac_unique_file; then
872     srcdir=..
873   fi
874 else
875   ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878   if test "$ac_srcdir_defaulted" = yes; then
879     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880    { (exit 1); exit 1; }; }
881   else
882     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883    { (exit 1); exit 1; }; }
884   fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888    { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_FC_set=${FC+set}
911 ac_env_FC_value=$FC
912 ac_cv_env_FC_set=${FC+set}
913 ac_cv_env_FC_value=$FC
914 ac_env_FCFLAGS_set=${FCFLAGS+set}
915 ac_env_FCFLAGS_value=$FCFLAGS
916 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value=$FCFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922
923 #
924 # Report the --help message.
925 #
926 if test "$ac_init_help" = "long"; then
927   # Omit some internal or obsolete options to make the list less imposing.
928   # This message is too long to be a string in the A/UX 3.1 sh.
929   cat <<_ACEOF
930 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
931
932 Usage: $0 [OPTION]... [VAR=VALUE]...
933
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE.  See below for descriptions of some of the useful variables.
936
937 Defaults for the options are specified in brackets.
938
939 Configuration:
940   -h, --help              display this help and exit
941       --help=short        display options specific to this package
942       --help=recursive    display the short help of all the included packages
943   -V, --version           display version information and exit
944   -q, --quiet, --silent   do not print \`checking...' messages
945       --cache-file=FILE   cache test results in FILE [disabled]
946   -C, --config-cache      alias for \`--cache-file=config.cache'
947   -n, --no-create         do not create output files
948       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
949
950 _ACEOF
951
952   cat <<_ACEOF
953 Installation directories:
954   --prefix=PREFIX         install architecture-independent files in PREFIX
955                           [$ac_default_prefix]
956   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
957                           [PREFIX]
958
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
963
964 For better control, use the options below.
965
966 Fine tuning of the installation directories:
967   --bindir=DIR           user executables [EPREFIX/bin]
968   --sbindir=DIR          system admin executables [EPREFIX/sbin]
969   --libexecdir=DIR       program executables [EPREFIX/libexec]
970   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
971   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
972   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
973   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
974   --libdir=DIR           object code libraries [EPREFIX/lib]
975   --includedir=DIR       C header files [PREFIX/include]
976   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
977   --infodir=DIR          info documentation [PREFIX/info]
978   --mandir=DIR           man documentation [PREFIX/man]
979 _ACEOF
980
981   cat <<\_ACEOF
982
983 Program names:
984   --program-prefix=PREFIX            prepend PREFIX to installed program names
985   --program-suffix=SUFFIX            append SUFFIX to installed program names
986   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
987
988 System types:
989   --build=BUILD     configure for building on BUILD [guessed]
990   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
991   --target=TARGET   configure for building compilers for TARGET [HOST]
992 _ACEOF
993 fi
994
995 if test -n "$ac_init_help"; then
996   case $ac_init_help in
997      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
998    esac
999   cat <<\_ACEOF
1000
1001 Optional Features:
1002   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1003   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1004   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1005   --enable-intermodule    build the library in one step
1006   --enable-maintainer-mode  enable make rules and dependencies not useful
1007                           (and sometimes confusing) to the casual installer
1008   --enable-multilib       build many library versions (default)
1009   --disable-dependency-tracking  speeds up one-time build
1010   --enable-dependency-tracking   do not reject slow dependency extractors
1011   --enable-shared[=PKGS]
1012                           build shared libraries [default=yes]
1013   --enable-static[=PKGS]
1014                           build static libraries [default=yes]
1015   --enable-fast-install[=PKGS]
1016                           optimize for fast installation [default=yes]
1017   --disable-libtool-lock  avoid locking (might break parallel builds)
1018   --disable-largefile     omit support for large files
1019
1020 Optional Packages:
1021   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1022   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1023   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1024   --with-pic              try to use only PIC/non-PIC objects [default=use
1025                           both]
1026   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1027
1028 Some influential environment variables:
1029   CC          C compiler command
1030   CFLAGS      C compiler flags
1031   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1032               nonstandard directory <lib dir>
1033   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1034               headers in a nonstandard directory <include dir>
1035   CPP         C preprocessor
1036   FC          Fortran compiler command
1037   FCFLAGS     Fortran compiler flags
1038
1039 Use these variables to override the choices made by `configure' or to help
1040 it to find libraries and programs with nonstandard names/locations.
1041
1042 _ACEOF
1043 fi
1044
1045 if test "$ac_init_help" = "recursive"; then
1046   # If there are subdirs, report their specific --help.
1047   ac_popdir=`pwd`
1048   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1049     test -d $ac_dir || continue
1050     ac_builddir=.
1051
1052 if test "$ac_dir" != .; then
1053   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1054   # A "../" for each directory in $ac_dir_suffix.
1055   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1056 else
1057   ac_dir_suffix= ac_top_builddir=
1058 fi
1059
1060 case $srcdir in
1061   .)  # No --srcdir option.  We are building in place.
1062     ac_srcdir=.
1063     if test -z "$ac_top_builddir"; then
1064        ac_top_srcdir=.
1065     else
1066        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1067     fi ;;
1068   [\\/]* | ?:[\\/]* )  # Absolute path.
1069     ac_srcdir=$srcdir$ac_dir_suffix;
1070     ac_top_srcdir=$srcdir ;;
1071   *) # Relative path.
1072     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1073     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 esac
1075
1076 # Do not use `cd foo && pwd` to compute absolute paths, because
1077 # the directories may not exist.
1078 case `pwd` in
1079 .) ac_abs_builddir="$ac_dir";;
1080 *)
1081   case "$ac_dir" in
1082   .) ac_abs_builddir=`pwd`;;
1083   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1084   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085   esac;;
1086 esac
1087 case $ac_abs_builddir in
1088 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 *)
1090   case ${ac_top_builddir}. in
1091   .) ac_abs_top_builddir=$ac_abs_builddir;;
1092   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1093   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094   esac;;
1095 esac
1096 case $ac_abs_builddir in
1097 .) ac_abs_srcdir=$ac_srcdir;;
1098 *)
1099   case $ac_srcdir in
1100   .) ac_abs_srcdir=$ac_abs_builddir;;
1101   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1102   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103   esac;;
1104 esac
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 *)
1108   case $ac_top_srcdir in
1109   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1110   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1111   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1112   esac;;
1113 esac
1114
1115     cd $ac_dir
1116     # Check for guested configure; otherwise get Cygnus style configure.
1117     if test -f $ac_srcdir/configure.gnu; then
1118       echo
1119       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1120     elif test -f $ac_srcdir/configure; then
1121       echo
1122       $SHELL $ac_srcdir/configure  --help=recursive
1123     elif test -f $ac_srcdir/configure.ac ||
1124            test -f $ac_srcdir/configure.in; then
1125       echo
1126       $ac_configure --help
1127     else
1128       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129     fi
1130     cd $ac_popdir
1131   done
1132 fi
1133
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1136   cat <<\_ACEOF
1137 GNU Fortran Runtime Library configure 0.3
1138 generated by GNU Autoconf 2.59
1139
1140 Copyright (C) 2003 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1143 _ACEOF
1144   exit 0
1145 fi
1146 exec 5>config.log
1147 cat >&5 <<_ACEOF
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1150
1151 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1152 generated by GNU Autoconf 2.59.  Invocation command line was
1153
1154   $ $0 $@
1155
1156 _ACEOF
1157 {
1158 cat <<_ASUNAME
1159 ## --------- ##
1160 ## Platform. ##
1161 ## --------- ##
1162
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1171
1172 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1173 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1176 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1177 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1178 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1179
1180 _ASUNAME
1181
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1183 for as_dir in $PATH
1184 do
1185   IFS=$as_save_IFS
1186   test -z "$as_dir" && as_dir=.
1187   echo "PATH: $as_dir"
1188 done
1189
1190 } >&5
1191
1192 cat >&5 <<_ACEOF
1193
1194
1195 ## ----------- ##
1196 ## Core tests. ##
1197 ## ----------- ##
1198
1199 _ACEOF
1200
1201
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_configure_args=
1208 ac_configure_args0=
1209 ac_configure_args1=
1210 ac_sep=
1211 ac_must_keep_next=false
1212 for ac_pass in 1 2
1213 do
1214   for ac_arg
1215   do
1216     case $ac_arg in
1217     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219     | -silent | --silent | --silen | --sile | --sil)
1220       continue ;;
1221     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223     esac
1224     case $ac_pass in
1225     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226     2)
1227       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228       if test $ac_must_keep_next = true; then
1229         ac_must_keep_next=false # Got value, back to normal.
1230       else
1231         case $ac_arg in
1232           *=* | --config-cache | -C | -disable-* | --disable-* \
1233           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235           | -with-* | --with-* | -without-* | --without-* | --x)
1236             case "$ac_configure_args0 " in
1237               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238             esac
1239             ;;
1240           -* ) ac_must_keep_next=true ;;
1241         esac
1242       fi
1243       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244       # Get rid of the leading space.
1245       ac_sep=" "
1246       ;;
1247     esac
1248   done
1249 done
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log.  We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259   # Save into config.log some information that might help in debugging.
1260   {
1261     echo
1262
1263     cat <<\_ASBOX
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1267 _ASBOX
1268     echo
1269     # The following way of writing the cache mishandles newlines in values,
1270 {
1271   (set) 2>&1 |
1272     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273     *ac_space=\ *)
1274       sed -n \
1275         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277       ;;
1278     *)
1279       sed -n \
1280         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281       ;;
1282     esac;
1283 }
1284     echo
1285
1286     cat <<\_ASBOX
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1290 _ASBOX
1291     echo
1292     for ac_var in $ac_subst_vars
1293     do
1294       eval ac_val=$`echo $ac_var`
1295       echo "$ac_var='"'"'$ac_val'"'"'"
1296     done | sort
1297     echo
1298
1299     if test -n "$ac_subst_files"; then
1300       cat <<\_ASBOX
1301 ## ------------- ##
1302 ## Output files. ##
1303 ## ------------- ##
1304 _ASBOX
1305       echo
1306       for ac_var in $ac_subst_files
1307       do
1308         eval ac_val=$`echo $ac_var`
1309         echo "$ac_var='"'"'$ac_val'"'"'"
1310       done | sort
1311       echo
1312     fi
1313
1314     if test -s confdefs.h; then
1315       cat <<\_ASBOX
1316 ## ----------- ##
1317 ## confdefs.h. ##
1318 ## ----------- ##
1319 _ASBOX
1320       echo
1321       sed "/^$/d" confdefs.h | sort
1322       echo
1323     fi
1324     test "$ac_signal" != 0 &&
1325       echo "$as_me: caught signal $ac_signal"
1326     echo "$as_me: exit $exit_status"
1327   } >&5
1328   rm -f core *.core &&
1329   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330     exit $exit_status
1331      ' 0
1332 for ac_signal in 1 2 13 15; do
1333   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1334 done
1335 ac_signal=0
1336
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 echo >confdefs.h
1341
1342 # Predefined preprocessor variables.
1343
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1346 _ACEOF
1347
1348
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1351 _ACEOF
1352
1353
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1356 _ACEOF
1357
1358
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1361 _ACEOF
1362
1363
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1366 _ACEOF
1367
1368
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372   if test "x$prefix" != xNONE; then
1373     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374   else
1375     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376   fi
1377 fi
1378 for ac_site_file in $CONFIG_SITE; do
1379   if test -r "$ac_site_file"; then
1380     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382     sed 's/^/| /' "$ac_site_file" >&5
1383     . "$ac_site_file"
1384   fi
1385 done
1386
1387 if test -r "$cache_file"; then
1388   # Some versions of bash will fail to source /dev/null (special
1389   # files actually), so we avoid doing that.
1390   if test -f "$cache_file"; then
1391     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1393     case $cache_file in
1394       [\\/]* | ?:[\\/]* ) . $cache_file;;
1395       *)                      . ./$cache_file;;
1396     esac
1397   fi
1398 else
1399   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1401   >$cache_file
1402 fi
1403
1404 # Check that the precious variables saved in the cache have kept the same
1405 # value.
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410   eval ac_new_set=\$ac_env_${ac_var}_set
1411   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412   eval ac_new_val="\$ac_env_${ac_var}_value"
1413   case $ac_old_set,$ac_new_set in
1414     set,)
1415       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417       ac_cache_corrupted=: ;;
1418     ,set)
1419       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421       ac_cache_corrupted=: ;;
1422     ,);;
1423     *)
1424       if test "x$ac_old_val" != "x$ac_new_val"; then
1425         # differences in whitespace do not lead to failure.
1426         ac_old_val_w=`echo x $ac_old_val`
1427         ac_new_val_w=`echo x $ac_new_val`
1428         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431           ac_cache_corrupted=:
1432         else
1433           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1435           eval $ac_var=\$ac_old_val
1436         fi
1437         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1438 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1439         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1440 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1441       fi;;
1442   esac
1443   # Pass precious variables to config.status.
1444   if test "$ac_new_set" = set; then
1445     case $ac_new_val in
1446     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1448     *) ac_arg=$ac_var=$ac_new_val ;;
1449     esac
1450     case " $ac_configure_args " in
1451       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1452       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453     esac
1454   fi
1455 done
1456 if $ac_cache_corrupted; then
1457   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463    { (exit 1); exit 1; }; }
1464 fi
1465
1466 ac_ext=c
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501           ac_config_headers="$ac_config_headers config.h"
1502
1503 ac_aux_dir=
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505   if test -f $ac_dir/install-sh; then
1506     ac_aux_dir=$ac_dir
1507     ac_install_sh="$ac_aux_dir/install-sh -c"
1508     break
1509   elif test -f $ac_dir/install.sh; then
1510     ac_aux_dir=$ac_dir
1511     ac_install_sh="$ac_aux_dir/install.sh -c"
1512     break
1513   elif test -f $ac_dir/shtool; then
1514     ac_aux_dir=$ac_dir
1515     ac_install_sh="$ac_aux_dir/shtool install -c"
1516     break
1517   fi
1518 done
1519 if test -z "$ac_aux_dir"; then
1520   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522    { (exit 1); exit 1; }; }
1523 fi
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532    { (exit 1); exit 1; }; }
1533
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537   echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539   ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541   ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545    { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549    { (exit 1); exit 1; }; }
1550
1551 fi
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1554 build=$ac_cv_build
1555 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558
1559
1560  case ${build_alias} in
1561   "") build_noncanonical=${build} ;;
1562   *) build_noncanonical=${build_alias} ;;
1563 esac
1564
1565  case ${host_alias} in
1566   "") host_noncanonical=${build_noncanonical} ;;
1567   *) host_noncanonical=${host_alias} ;;
1568 esac
1569
1570  case ${target_alias} in
1571   "") target_noncanonical=${host_noncanonical} ;;
1572   *) target_noncanonical=${target_alias} ;;
1573 esac
1574
1575
1576 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1577 # have matching libraries, they should use host libraries: Makefile.tpl
1578 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1579 # However, they still use the build modules, because the corresponding
1580 # host modules (e.g. bison) are only built for the host when bootstrap
1581 # finishes. So:
1582 # - build_subdir is where we find build modules, and never changes.
1583 # - build_libsubdir is where we find build libraries, and can be overridden.
1584
1585 # Prefix 'build-' so this never conflicts with target_subdir.
1586 build_subdir="build-${build_noncanonical}"
1587
1588 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1589 if test "${with_build_libsubdir+set}" = set; then
1590   withval="$with_build_libsubdir"
1591   build_libsubdir="$withval"
1592 else
1593   build_libsubdir="$build_subdir"
1594 fi;
1595 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1596 if ( test $srcdir = . && test -d gcc ) \
1597    || test -d $srcdir/../host-${host_noncanonical}; then
1598   host_subdir="host-${host_noncanonical}"
1599 else
1600   host_subdir=.
1601 fi
1602 # No prefix.
1603 target_subdir=${target_noncanonical}
1604
1605
1606 # -------
1607 # Options
1608 # -------
1609
1610 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1611 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1612 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1613 if test "${enable_version_specific_runtime_libs+set}" = set; then
1614   enableval="$enable_version_specific_runtime_libs"
1615   case "$enableval" in
1616  yes) version_specific_libs=yes ;;
1617  no)  version_specific_libs=no ;;
1618  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1619 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1620    { (exit 1); exit 1; }; };;
1621  esac
1622 else
1623   version_specific_libs=no
1624 fi;
1625 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1626 echo "${ECHO_T}$version_specific_libs" >&6
1627
1628 # Build with intermodule optimisations
1629 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1630 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1631 # Check whether --enable-intermodule or --disable-intermodule was given.
1632 if test "${enable_intermodule+set}" = set; then
1633   enableval="$enable_intermodule"
1634   case "$enable_intermodule" in
1635   yes) onestep="-onestep";;
1636     *) onestep="";;
1637 esac
1638 else
1639   onestep=""
1640 fi;
1641 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1642 echo "${ECHO_T}$enable_intermodule" >&6
1643
1644
1645 if test x$onestep = x-onestep; then
1646   onestep_TRUE=
1647   onestep_FALSE='#'
1648 else
1649   onestep_TRUE='#'
1650   onestep_FALSE=
1651 fi
1652
1653
1654
1655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1656 #
1657 # You will slowly go insane if you do not grok the following fact:  when
1658 # building this library, the top-level /target/ becomes the library's /host/.
1659 #
1660 # configure then causes --target to default to --host, exactly like any
1661 # other package using autoconf.  Therefore, 'target' and 'host' will
1662 # always be the same.  This makes sense both for native and cross compilers
1663 # just think about it for a little while.  :-)
1664 #
1665 # Also, if this library is being configured as part of a cross compiler, the
1666 # top-level configure script will pass the "real" host as $with_cross_host.
1667 #
1668 # Do not delete or change the following two lines.  For why, see
1669 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1670 echo "$as_me:$LINENO: checking host system type" >&5
1671 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1672 if test "${ac_cv_host+set}" = set; then
1673   echo $ECHO_N "(cached) $ECHO_C" >&6
1674 else
1675   ac_cv_host_alias=$host_alias
1676 test -z "$ac_cv_host_alias" &&
1677   ac_cv_host_alias=$ac_cv_build_alias
1678 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1679   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1681    { (exit 1); exit 1; }; }
1682
1683 fi
1684 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1685 echo "${ECHO_T}$ac_cv_host" >&6
1686 host=$ac_cv_host
1687 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1690
1691
1692 echo "$as_me:$LINENO: checking target system type" >&5
1693 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1694 if test "${ac_cv_target+set}" = set; then
1695   echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697   ac_cv_target_alias=$target_alias
1698 test "x$ac_cv_target_alias" = "x" &&
1699   ac_cv_target_alias=$ac_cv_host_alias
1700 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1701   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1703    { (exit 1); exit 1; }; }
1704
1705 fi
1706 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1707 echo "${ECHO_T}$ac_cv_target" >&6
1708 target=$ac_cv_target
1709 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1712
1713
1714 # The aliases save the names the user supplied, while $host etc.
1715 # will get canonicalized.
1716 test -n "$target_alias" &&
1717   test "$program_prefix$program_suffix$program_transform_name" = \
1718     NONENONEs,x,x, &&
1719   program_prefix=${target_alias}-
1720 target_alias=${target_alias-$host_alias}
1721
1722 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1723 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1724 #  1.9.6:  minimum required version
1725 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1726 #              of other PACKAGE_* variables will, however, and there's nothing
1727 #              we can do about that; they come from AC_INIT).
1728 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1729 #            file in the top srcdir, etc, etc), so stop complaining.
1730 #  -Wall:  turns on all automake warnings...
1731 #  -Wno-portability:  ...except this one, since GNU make is required.
1732 am__api_version="1.9"
1733 # Find a good install program.  We prefer a C program (faster),
1734 # so one script is as good as another.  But avoid the broken or
1735 # incompatible versions:
1736 # SysV /etc/install, /usr/sbin/install
1737 # SunOS /usr/etc/install
1738 # IRIX /sbin/install
1739 # AIX /bin/install
1740 # AmigaOS /C/install, which installs bootblocks on floppy discs
1741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1744 # OS/2's system install, which has a completely different semantic
1745 # ./install, which can be erroneously created by make from ./install.sh.
1746 # Reject install programs that cannot install multiple files.
1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1749 if test -z "$INSTALL"; then
1750 if test "${ac_cv_path_install+set}" = set; then
1751   echo $ECHO_N "(cached) $ECHO_C" >&6
1752 else
1753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1755 do
1756   IFS=$as_save_IFS
1757   test -z "$as_dir" && as_dir=.
1758   # Account for people who put trailing slashes in PATH elements.
1759 case $as_dir/ in
1760   ./ | .// | /cC/* | \
1761   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1762   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1763   /usr/ucb/* ) ;;
1764   *)
1765     # OSF1 and SCO ODT 3.0 have their own names for install.
1766     # Don't use installbsd from OSF since it installs stuff as root
1767     # by default.
1768     for ac_prog in ginstall scoinst install; do
1769       for ac_exec_ext in '' $ac_executable_extensions; do
1770         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1771           if test $ac_prog = install &&
1772             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1773             # AIX install.  It has an incompatible calling convention.
1774             :
1775           elif test $ac_prog = install &&
1776             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1777             # program-specific install script used by HP pwplus--don't use.
1778             :
1779           else
1780             rm -rf conftest.one conftest.two conftest.dir
1781             echo one > conftest.one
1782             echo two > conftest.two
1783             mkdir conftest.dir
1784             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1785               test -s conftest.one && test -s conftest.two &&
1786               test -s conftest.dir/conftest.one &&
1787               test -s conftest.dir/conftest.two
1788             then
1789               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1790               break 3
1791             fi
1792           fi
1793         fi
1794       done
1795     done
1796     ;;
1797 esac
1798 done
1799
1800 rm -rf conftest.one conftest.two conftest.dir
1801
1802 fi
1803   if test "${ac_cv_path_install+set}" = set; then
1804     INSTALL=$ac_cv_path_install
1805   else
1806     # As a last resort, use the slow shell script.  Don't cache a
1807     # value for INSTALL within a source directory, because that will
1808     # break other packages using the cache if that directory is
1809     # removed, or if the value is a relative name.
1810     INSTALL=$ac_install_sh
1811   fi
1812 fi
1813 echo "$as_me:$LINENO: result: $INSTALL" >&5
1814 echo "${ECHO_T}$INSTALL" >&6
1815
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1819
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1821
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1823
1824 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1825 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1826 # Just in case
1827 sleep 1
1828 echo timestamp > conftest.file
1829 # Do `set' in a subshell so we don't clobber the current shell's
1830 # arguments.  Must try -L first in case configure is actually a
1831 # symlink; some systems play weird games with the mod time of symlinks
1832 # (eg FreeBSD returns the mod time of the symlink's containing
1833 # directory).
1834 if (
1835    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1836    if test "$*" = "X"; then
1837       # -L didn't work.
1838       set X `ls -t $srcdir/configure conftest.file`
1839    fi
1840    rm -f conftest.file
1841    if test "$*" != "X $srcdir/configure conftest.file" \
1842       && test "$*" != "X conftest.file $srcdir/configure"; then
1843
1844       # If neither matched, then we have a broken ls.  This can happen
1845       # if, for instance, CONFIG_SHELL is bash and it inherits a
1846       # broken ls alias from the environment.  This has actually
1847       # happened.  Such a system could not be considered "sane".
1848       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1849 alias in your environment" >&5
1850 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1851 alias in your environment" >&2;}
1852    { (exit 1); exit 1; }; }
1853    fi
1854
1855    test "$2" = conftest.file
1856    )
1857 then
1858    # Ok.
1859    :
1860 else
1861    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1862 Check your system clock" >&5
1863 echo "$as_me: error: newly created file is older than distributed files!
1864 Check your system clock" >&2;}
1865    { (exit 1); exit 1; }; }
1866 fi
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1869 test "$program_prefix" != NONE &&
1870   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1871 # Use a double $ so make ignores it.
1872 test "$program_suffix" != NONE &&
1873   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1874 # Double any \ or $.  echo might interpret backslashes.
1875 # By default was `s,x,x', remove it if useless.
1876 cat <<\_ACEOF >conftest.sed
1877 s/[\\$]/&&/g;s/;s,x,x,$//
1878 _ACEOF
1879 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1880 rm conftest.sed
1881
1882 # expand $ac_aux_dir to an absolute path
1883 am_aux_dir=`cd $ac_aux_dir && pwd`
1884
1885 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1886 # Use eval to expand $SHELL
1887 if eval "$MISSING --run true"; then
1888   am_missing_run="$MISSING --run "
1889 else
1890   am_missing_run=
1891   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1892 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1893 fi
1894
1895 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1896   # We used to keeping the `.' as first argument, in order to
1897   # allow $(mkdir_p) to be used without argument.  As in
1898   #   $(mkdir_p) $(somedir)
1899   # where $(somedir) is conditionally defined.  However this is wrong
1900   # for two reasons:
1901   #  1. if the package is installed by a user who cannot write `.'
1902   #     make install will fail,
1903   #  2. the above comment should most certainly read
1904   #     $(mkdir_p) $(DESTDIR)$(somedir)
1905   #     so it does not work when $(somedir) is undefined and
1906   #     $(DESTDIR) is not.
1907   #  To support the latter case, we have to write
1908   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1909   #  so the `.' trick is pointless.
1910   mkdir_p='mkdir -p --'
1911 else
1912   # On NextStep and OpenStep, the `mkdir' command does not
1913   # recognize any option.  It will interpret all options as
1914   # directories to create, and then abort because `.' already
1915   # exists.
1916   for d in ./-p ./--version;
1917   do
1918     test -d $d && rmdir $d
1919   done
1920   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1921   if test -f "$ac_aux_dir/mkinstalldirs"; then
1922     mkdir_p='$(mkinstalldirs)'
1923   else
1924     mkdir_p='$(install_sh) -d'
1925   fi
1926 fi
1927
1928 for ac_prog in gawk mawk nawk awk
1929 do
1930   # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy $ac_prog; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935   echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937   if test -n "$AWK"; then
1938   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1942 do
1943   IFS=$as_save_IFS
1944   test -z "$as_dir" && as_dir=.
1945   for ac_exec_ext in '' $ac_executable_extensions; do
1946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947     ac_cv_prog_AWK="$ac_prog"
1948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949     break 2
1950   fi
1951 done
1952 done
1953
1954 fi
1955 fi
1956 AWK=$ac_cv_prog_AWK
1957 if test -n "$AWK"; then
1958   echo "$as_me:$LINENO: result: $AWK" >&5
1959 echo "${ECHO_T}$AWK" >&6
1960 else
1961   echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1963 fi
1964
1965   test -n "$AWK" && break
1966 done
1967
1968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1970 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1972   echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974   cat >conftest.make <<\_ACEOF
1975 all:
1976         @echo 'ac_maketemp="$(MAKE)"'
1977 _ACEOF
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1980 if test -n "$ac_maketemp"; then
1981   eval ac_cv_prog_make_${ac_make}_set=yes
1982 else
1983   eval ac_cv_prog_make_${ac_make}_set=no
1984 fi
1985 rm -f conftest.make
1986 fi
1987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1988   echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1990   SET_MAKE=
1991 else
1992   echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994   SET_MAKE="MAKE=${MAKE-make}"
1995 fi
1996
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2000   am__leading_dot=.
2001 else
2002   am__leading_dot=_
2003 fi
2004 rmdir .tst 2>/dev/null
2005
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008    test -f $srcdir/config.status; then
2009   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011    { (exit 1); exit 1; }; }
2012 fi
2013
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016   if (cygpath --version) >/dev/null 2>/dev/null; then
2017     CYGPATH_W='cygpath -w'
2018   else
2019     CYGPATH_W=echo
2020   fi
2021 fi
2022
2023
2024 # Define the identity of the package.
2025  PACKAGE='libgfortran'
2026  VERSION='0.3'
2027
2028
2029 # Some tools Automake needs.
2030
2031 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2032
2033
2034 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2035
2036
2037 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2038
2039
2040 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2041
2042
2043 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2044
2045 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2046
2047 # Installed binaries are usually stripped using `strip' when the user
2048 # run `make install-strip'.  However `strip' might not be the right
2049 # tool to use in cross-compilation environments, therefore Automake
2050 # will honor the `STRIP' environment variable to overrule this program.
2051 if test "$cross_compiling" != no; then
2052   if test -n "$ac_tool_prefix"; then
2053   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}strip; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_STRIP+set}" = set; then
2058   echo $ECHO_N "(cached) $ECHO_C" >&6
2059 else
2060   if test -n "$STRIP"; then
2061   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
2067   test -z "$as_dir" && as_dir=.
2068   for ac_exec_ext in '' $ac_executable_extensions; do
2069   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072     break 2
2073   fi
2074 done
2075 done
2076
2077 fi
2078 fi
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081   echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6
2083 else
2084   echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2086 fi
2087
2088 fi
2089 if test -z "$ac_cv_prog_STRIP"; then
2090   ac_ct_STRIP=$STRIP
2091   # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096   echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098   if test -n "$ac_ct_STRIP"; then
2099   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104   IFS=$as_save_IFS
2105   test -z "$as_dir" && as_dir=.
2106   for ac_exec_ext in '' $ac_executable_extensions; do
2107   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108     ac_cv_prog_ac_ct_STRIP="strip"
2109     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110     break 2
2111   fi
2112 done
2113 done
2114
2115   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2116 fi
2117 fi
2118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6
2122 else
2123   echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2125 fi
2126
2127   STRIP=$ac_ct_STRIP
2128 else
2129   STRIP="$ac_cv_prog_STRIP"
2130 fi
2131
2132 fi
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2134
2135 # We need awk for the "check" target.  The system "awk" is bad on
2136 # some platforms.
2137 # Always define AMTAR for backward compatibility.
2138
2139 AMTAR=${AMTAR-"${am_missing_run}tar"}
2140
2141 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2142
2143
2144
2145
2146
2147
2148 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2149 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2150     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2151 if test "${enable_maintainer_mode+set}" = set; then
2152   enableval="$enable_maintainer_mode"
2153   USE_MAINTAINER_MODE=$enableval
2154 else
2155   USE_MAINTAINER_MODE=no
2156 fi;
2157   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2158 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2159
2160
2161 if test $USE_MAINTAINER_MODE = yes; then
2162   MAINTAINER_MODE_TRUE=
2163   MAINTAINER_MODE_FALSE='#'
2164 else
2165   MAINTAINER_MODE_TRUE='#'
2166   MAINTAINER_MODE_FALSE=
2167 fi
2168
2169   MAINT=$MAINTAINER_MODE_TRUE
2170
2171
2172 # Default to --enable-multilib
2173 # Check whether --enable-multilib or --disable-multilib was given.
2174 if test "${enable_multilib+set}" = set; then
2175   enableval="$enable_multilib"
2176   case "$enableval" in
2177   yes) multilib=yes ;;
2178   no)  multilib=no ;;
2179   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2180 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2181    { (exit 1); exit 1; }; } ;;
2182  esac
2183 else
2184   multilib=yes
2185 fi;
2186
2187 # We may get other options which we leave undocumented:
2188 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2189 # See config-ml.in if you want the gory details.
2190
2191 if test "$srcdir" = "."; then
2192   if test "$with_target_subdir" != "."; then
2193     multi_basedir="$srcdir/$with_multisrctop../.."
2194   else
2195     multi_basedir="$srcdir/$with_multisrctop.."
2196   fi
2197 else
2198   multi_basedir="$srcdir/.."
2199 fi
2200
2201
2202 # Even if the default multilib is not a cross compilation,
2203 # it may be that some of the other multilibs are.
2204 if test $cross_compiling = no && test $multilib = yes \
2205    && test "x${with_multisubdir}" != x ; then
2206    cross_compiling=maybe
2207 fi
2208
2209           ac_config_commands="$ac_config_commands default-1"
2210
2211
2212 # Handy for debugging:
2213 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2214
2215 # Are we being configured with some form of cross compiler?
2216 # NB: We don't actually need to know this just now, but when, say, a test
2217 #     suite is included, we'll have to know.
2218 if test "$build" != "$host"; then
2219   LIBGFOR_IS_NATIVE=false
2220
2221 else
2222   LIBGFOR_IS_NATIVE=true
2223 fi
2224
2225 # Calculate toolexeclibdir
2226 # Also toolexecdir, though it's only used in toolexeclibdir
2227 case ${version_specific_libs} in
2228   yes)
2229     # Need the gcc compiler version to know where to install libraries
2230     # and header files if --enable-version-specific-runtime-libs option
2231     # is selected.
2232     toolexecdir='$(libdir)/gcc/$(target_alias)'
2233     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2234     ;;
2235   no)
2236     if test -n "$with_cross_host" &&
2237        test x"$with_cross_host" != x"no"; then
2238       # Install a library built with a cross compiler in tooldir, not libdir.
2239       toolexecdir='$(exec_prefix)/$(target_alias)'
2240       toolexeclibdir='$(toolexecdir)/lib'
2241     else
2242       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2243       toolexeclibdir='$(libdir)'
2244     fi
2245     multi_os_directory=`$CC -print-multi-os-directory`
2246     case $multi_os_directory in
2247       .) ;; # Avoid trailing /.
2248       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2249     esac
2250     ;;
2251 esac
2252
2253
2254
2255 # Check the compiler.
2256 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2257 # We must force CC to /not/ be precious variables; otherwise
2258 # the wrong, non-multilib-adjusted value will be used in multilibs.
2259 # As a side effect, we have to subst CFLAGS ourselves.
2260
2261
2262
2263 ac_ext=c
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274   echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276   if test -n "$CC"; then
2277   ac_cv_prog_CC="$CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284   for ac_exec_ext in '' $ac_executable_extensions; do
2285   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288     break 2
2289   fi
2290 done
2291 done
2292
2293 fi
2294 fi
2295 CC=$ac_cv_prog_CC
2296 if test -n "$CC"; then
2297   echo "$as_me:$LINENO: result: $CC" >&5
2298 echo "${ECHO_T}$CC" >&6
2299 else
2300   echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2302 fi
2303
2304 fi
2305 if test -z "$ac_cv_prog_CC"; then
2306   ac_ct_CC=$CC
2307   # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312   echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314   if test -n "$ac_ct_CC"; then
2315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 else
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 for as_dir in $PATH
2319 do
2320   IFS=$as_save_IFS
2321   test -z "$as_dir" && as_dir=.
2322   for ac_exec_ext in '' $ac_executable_extensions; do
2323   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324     ac_cv_prog_ac_ct_CC="gcc"
2325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326     break 2
2327   fi
2328 done
2329 done
2330
2331 fi
2332 fi
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2337 else
2338   echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2340 fi
2341
2342   CC=$ac_ct_CC
2343 else
2344   CC="$ac_cv_prog_CC"
2345 fi
2346
2347 if test -z "$CC"; then
2348   if test -n "$ac_tool_prefix"; then
2349   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354   echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356   if test -n "$CC"; then
2357   ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2361 do
2362   IFS=$as_save_IFS
2363   test -z "$as_dir" && as_dir=.
2364   for ac_exec_ext in '' $ac_executable_extensions; do
2365   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366     ac_cv_prog_CC="${ac_tool_prefix}cc"
2367     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368     break 2
2369   fi
2370 done
2371 done
2372
2373 fi
2374 fi
2375 CC=$ac_cv_prog_CC
2376 if test -n "$CC"; then
2377   echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6
2379 else
2380   echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2382 fi
2383
2384 fi
2385 if test -z "$ac_cv_prog_CC"; then
2386   ac_ct_CC=$CC
2387   # Extract the first word of "cc", so it can be a program name with args.
2388 set dummy cc; ac_word=$2
2389 echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2392   echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394   if test -n "$ac_ct_CC"; then
2395   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400   IFS=$as_save_IFS
2401   test -z "$as_dir" && as_dir=.
2402   for ac_exec_ext in '' $ac_executable_extensions; do
2403   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404     ac_cv_prog_ac_ct_CC="cc"
2405     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406     break 2
2407   fi
2408 done
2409 done
2410
2411 fi
2412 fi
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6
2417 else
2418   echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2420 fi
2421
2422   CC=$ac_ct_CC
2423 else
2424   CC="$ac_cv_prog_CC"
2425 fi
2426
2427 fi
2428 if test -z "$CC"; then
2429   # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434   echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436   if test -n "$CC"; then
2437   ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439   ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2442 do
2443   IFS=$as_save_IFS
2444   test -z "$as_dir" && as_dir=.
2445   for ac_exec_ext in '' $ac_executable_extensions; do
2446   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448        ac_prog_rejected=yes
2449        continue
2450      fi
2451     ac_cv_prog_CC="cc"
2452     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453     break 2
2454   fi
2455 done
2456 done
2457
2458 if test $ac_prog_rejected = yes; then
2459   # We found a bogon in the path, so make sure we never use it.
2460   set dummy $ac_cv_prog_CC
2461   shift
2462   if test $# != 0; then
2463     # We chose a different compiler from the bogus one.
2464     # However, it has the same basename, so the bogon will be chosen
2465     # first if we set CC to just the basename; use the full file name.
2466     shift
2467     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2468   fi
2469 fi
2470 fi
2471 fi
2472 CC=$ac_cv_prog_CC
2473 if test -n "$CC"; then
2474   echo "$as_me:$LINENO: result: $CC" >&5
2475 echo "${ECHO_T}$CC" >&6
2476 else
2477   echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2479 fi
2480
2481 fi
2482 if test -z "$CC"; then
2483   if test -n "$ac_tool_prefix"; then
2484   for ac_prog in cl
2485   do
2486     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491   echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493   if test -n "$CC"; then
2494   ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2498 do
2499   IFS=$as_save_IFS
2500   test -z "$as_dir" && as_dir=.
2501   for ac_exec_ext in '' $ac_executable_extensions; do
2502   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505     break 2
2506   fi
2507 done
2508 done
2509
2510 fi
2511 fi
2512 CC=$ac_cv_prog_CC
2513 if test -n "$CC"; then
2514   echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6
2516 else
2517   echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2519 fi
2520
2521     test -n "$CC" && break
2522   done
2523 fi
2524 if test -z "$CC"; then
2525   ac_ct_CC=$CC
2526   for ac_prog in cl
2527 do
2528   # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy $ac_prog; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533   echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535   if test -n "$ac_ct_CC"; then
2536   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543   for ac_exec_ext in '' $ac_executable_extensions; do
2544   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545     ac_cv_prog_ac_ct_CC="$ac_prog"
2546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547     break 2
2548   fi
2549 done
2550 done
2551
2552 fi
2553 fi
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559   echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563   test -n "$ac_ct_CC" && break
2564 done
2565
2566   CC=$ac_ct_CC
2567 fi
2568
2569 fi
2570
2571
2572 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578    { (exit 1); exit 1; }; }; }
2579
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO:" \
2582      "checking for C compiler version" >&5
2583 ac_compiler=`set X $ac_compile; echo $2`
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2585   (eval $ac_compiler --version </dev/null >&5) 2>&5
2586   ac_status=$?
2587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588   (exit $ac_status); }
2589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2590   (eval $ac_compiler -v </dev/null >&5) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); }
2594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2595   (eval $ac_compiler -V </dev/null >&5) 2>&5
2596   ac_status=$?
2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598   (exit $ac_status); }
2599
2600 cat >conftest.$ac_ext <<_ACEOF
2601 /* confdefs.h.  */
2602 _ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h.  */
2606
2607 int
2608 main ()
2609 {
2610
2611   ;
2612   return 0;
2613 }
2614 _ACEOF
2615 # FIXME: Cleanup?
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617   (eval $ac_link) 2>&5
2618   ac_status=$?
2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620   (exit $ac_status); }; then
2621   gcc_no_link=no
2622 else
2623   gcc_no_link=yes
2624 fi
2625
2626 if test x$gcc_no_link = xyes; then
2627   # Setting cross_compile will disable run tests; it will
2628   # also disable AC_CHECK_FILE but that's generally
2629   # correct if we can't link.
2630   cross_compiling=yes
2631   EXEEXT=
2632 else
2633   cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h.  */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h.  */
2639
2640 int
2641 main ()
2642 {
2643
2644   ;
2645   return 0;
2646 }
2647 _ACEOF
2648 ac_clean_files_save=$ac_clean_files
2649 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2650 # Try to create an executable without -o first, disregard a.out.
2651 # It will help us diagnose broken compilers, and finding out an intuition
2652 # of exeext.
2653 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2654 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2655 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2657   (eval $ac_link_default) 2>&5
2658   ac_status=$?
2659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660   (exit $ac_status); }; then
2661   # Find the output, starting from the most likely.  This scheme is
2662 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2663 # resort.
2664
2665 # Be careful to initialize this variable, since it used to be cached.
2666 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2667 ac_cv_exeext=
2668 # b.out is created by i960 compilers.
2669 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2670 do
2671   test -f "$ac_file" || continue
2672   case $ac_file in
2673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2674         ;;
2675     conftest.$ac_ext )
2676         # This is the source file.
2677         ;;
2678     [ab].out )
2679         # We found the default executable, but exeext='' is most
2680         # certainly right.
2681         break;;
2682     *.* )
2683         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684         # FIXME: I believe we export ac_cv_exeext for Libtool,
2685         # but it would be cool to find out if it's true.  Does anybody
2686         # maintain Libtool? --akim.
2687         export ac_cv_exeext
2688         break;;
2689     * )
2690         break;;
2691   esac
2692 done
2693 else
2694   echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2696
2697 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2700 See \`config.log' for more details." >&5
2701 echo "$as_me: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&2;}
2703    { (exit 77); exit 77; }; }; }
2704 fi
2705
2706 ac_exeext=$ac_cv_exeext
2707 echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6
2709
2710 # Check the compiler produces executables we can run.  If not, either
2711 # the compiler is broken, or we cross compile.
2712 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717   if { ac_try='./$ac_file'
2718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719   (eval $ac_try) 2>&5
2720   ac_status=$?
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); }; }; then
2723     cross_compiling=no
2724   else
2725     if test "$cross_compiling" = maybe; then
2726         cross_compiling=yes
2727     else
2728         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2731 If you meant to cross compile, use \`--host'.
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot run C compiled programs.
2734 If you meant to cross compile, use \`--host'.
2735 See \`config.log' for more details." >&2;}
2736    { (exit 1); exit 1; }; }; }
2737     fi
2738   fi
2739 fi
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742
2743 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2744 ac_clean_files=$ac_clean_files_save
2745 # Check the compiler produces executables we can run.  If not, either
2746 # the compiler is broken, or we cross compile.
2747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2750 echo "${ECHO_T}$cross_compiling" >&6
2751
2752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755   (eval $ac_link) 2>&5
2756   ac_status=$?
2757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758   (exit $ac_status); }; then
2759   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2762 # `rm'.
2763 for ac_file in conftest.exe conftest conftest.*; do
2764   test -f "$ac_file" || continue
2765   case $ac_file in
2766     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2767     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768           export ac_cv_exeext
2769           break;;
2770     * ) break;;
2771   esac
2772 done
2773 else
2774   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2775 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details." >&2;}
2780    { (exit 1); exit 1; }; }; }
2781 fi
2782
2783 rm -f conftest$ac_cv_exeext
2784 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 echo "${ECHO_T}$ac_cv_exeext" >&6
2786
2787 rm -f conftest.$ac_ext
2788 EXEEXT=$ac_cv_exeext
2789 ac_exeext=$EXEEXT
2790 fi
2791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2793 if test "${ac_cv_objext+set}" = set; then
2794   echo $ECHO_N "(cached) $ECHO_C" >&6
2795 else
2796   cat >conftest.$ac_ext <<_ACEOF
2797 /* confdefs.h.  */
2798 _ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h.  */
2802
2803 int
2804 main ()
2805 {
2806
2807   ;
2808   return 0;
2809 }
2810 _ACEOF
2811 rm -f conftest.o conftest.obj
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813   (eval $ac_compile) 2>&5
2814   ac_status=$?
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); }; then
2817   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2818   case $ac_file in
2819     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2820     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821        break;;
2822   esac
2823 done
2824 else
2825   echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2827
2828 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&5
2832 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833 See \`config.log' for more details." >&2;}
2834    { (exit 1); exit 1; }; }; }
2835 fi
2836
2837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2838 fi
2839 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840 echo "${ECHO_T}$ac_cv_objext" >&6
2841 OBJEXT=$ac_cv_objext
2842 ac_objext=$OBJEXT
2843 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846   echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848   cat >conftest.$ac_ext <<_ACEOF
2849 /* confdefs.h.  */
2850 _ACEOF
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h.  */
2854
2855 int
2856 main ()
2857 {
2858 #ifndef __GNUC__
2859        choke me
2860 #endif
2861
2862   ;
2863   return 0;
2864 }
2865 _ACEOF
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868   (eval $ac_compile) 2>conftest.er1
2869   ac_status=$?
2870   grep -v '^ *+' conftest.er1 >conftest.err
2871   rm -f conftest.er1
2872   cat conftest.err >&5
2873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874   (exit $ac_status); } &&
2875          { ac_try='test -z "$ac_c_werror_flag"
2876                          || test ! -s conftest.err'
2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878   (eval $ac_try) 2>&5
2879   ac_status=$?
2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); }; } &&
2882          { ac_try='test -s conftest.$ac_objext'
2883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884   (eval $ac_try) 2>&5
2885   ac_status=$?
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); }; }; then
2888   ac_compiler_gnu=yes
2889 else
2890   echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2892
2893 ac_compiler_gnu=no
2894 fi
2895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2897
2898 fi
2899 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2900 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2901 GCC=`test $ac_compiler_gnu = yes && echo yes`
2902 ac_test_CFLAGS=${CFLAGS+set}
2903 ac_save_CFLAGS=$CFLAGS
2904 CFLAGS="-g"
2905 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2906 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2907 if test "${ac_cv_prog_cc_g+set}" = set; then
2908   echo $ECHO_N "(cached) $ECHO_C" >&6
2909 else
2910   cat >conftest.$ac_ext <<_ACEOF
2911 /* confdefs.h.  */
2912 _ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h.  */
2916
2917 int
2918 main ()
2919 {
2920
2921   ;
2922   return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927   (eval $ac_compile) 2>conftest.er1
2928   ac_status=$?
2929   grep -v '^ *+' conftest.er1 >conftest.err
2930   rm -f conftest.er1
2931   cat conftest.err >&5
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); } &&
2934          { ac_try='test -z "$ac_c_werror_flag"
2935                          || test ! -s conftest.err'
2936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937   (eval $ac_try) 2>&5
2938   ac_status=$?
2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940   (exit $ac_status); }; } &&
2941          { ac_try='test -s conftest.$ac_objext'
2942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943   (eval $ac_try) 2>&5
2944   ac_status=$?
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946   (exit $ac_status); }; }; then
2947   ac_cv_prog_cc_g=yes
2948 else
2949   echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 ac_cv_prog_cc_g=no
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 fi
2956 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2958 if test "$ac_test_CFLAGS" = set; then
2959   CFLAGS=$ac_save_CFLAGS
2960 elif test $ac_cv_prog_cc_g = yes; then
2961   if test "$GCC" = yes; then
2962     CFLAGS="-g -O2"
2963   else
2964     CFLAGS="-g"
2965   fi
2966 else
2967   if test "$GCC" = yes; then
2968     CFLAGS="-O2"
2969   else
2970     CFLAGS=
2971   fi
2972 fi
2973 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2974 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2976   echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978   ac_cv_prog_cc_stdc=no
2979 ac_save_CC=$CC
2980 cat >conftest.$ac_ext <<_ACEOF
2981 /* confdefs.h.  */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h.  */
2986 #include <stdarg.h>
2987 #include <stdio.h>
2988 #include <sys/types.h>
2989 #include <sys/stat.h>
2990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2991 struct buf { int x; };
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2993 static char *e (p, i)
2994      char **p;
2995      int i;
2996 {
2997   return p[i];
2998 }
2999 static char *f (char * (*g) (char **, int), char **p, ...)
3000 {
3001   char *s;
3002   va_list v;
3003   va_start (v,p);
3004   s = g (p, va_arg (v,int));
3005   va_end (v);
3006   return s;
3007 }
3008
3009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3010    function prototypes and stuff, but not '\xHH' hex character constants.
3011    These don't provoke an error unfortunately, instead are silently treated
3012    as 'x'.  The following induces an error, until -std1 is added to get
3013    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3014    array size at least.  It's necessary to write '\x00'==0 to get something
3015    that's true only with -std1.  */
3016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3017
3018 int test (int i, double x);
3019 struct s1 {int (*f) (int a);};
3020 struct s2 {int (*f) (double a);};
3021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3022 int argc;
3023 char **argv;
3024 int
3025 main ()
3026 {
3027 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3028   ;
3029   return 0;
3030 }
3031 _ACEOF
3032 # Don't try gcc -ansi; that turns off useful extensions and
3033 # breaks some systems' header files.
3034 # AIX                   -qlanglvl=ansi
3035 # Ultrix and OSF/1      -std1
3036 # HP-UX 10.20 and later -Ae
3037 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3038 # SVR4                  -Xc -D__EXTENSIONS__
3039 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3040 do
3041   CC="$ac_save_CC $ac_arg"
3042   rm -f conftest.$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044   (eval $ac_compile) 2>conftest.er1
3045   ac_status=$?
3046   grep -v '^ *+' conftest.er1 >conftest.err
3047   rm -f conftest.er1
3048   cat conftest.err >&5
3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050   (exit $ac_status); } &&
3051          { ac_try='test -z "$ac_c_werror_flag"
3052                          || test ! -s conftest.err'
3053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054   (eval $ac_try) 2>&5
3055   ac_status=$?
3056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057   (exit $ac_status); }; } &&
3058          { ac_try='test -s conftest.$ac_objext'
3059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060   (eval $ac_try) 2>&5
3061   ac_status=$?
3062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063   (exit $ac_status); }; }; then
3064   ac_cv_prog_cc_stdc=$ac_arg
3065 break
3066 else
3067   echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 fi
3071 rm -f conftest.err conftest.$ac_objext
3072 done
3073 rm -f conftest.$ac_ext conftest.$ac_objext
3074 CC=$ac_save_CC
3075
3076 fi
3077
3078 case "x$ac_cv_prog_cc_stdc" in
3079   x|xno)
3080     echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3082   *)
3083     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085     CC="$CC $ac_cv_prog_cc_stdc" ;;
3086 esac
3087
3088 # Some people use a C++ compiler to compile C.  Since we use `exit',
3089 # in C++ we need to declare it.  In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.$ac_ext <<_ACEOF
3093 #ifndef __cplusplus
3094   choke me
3095 #endif
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099   (eval $ac_compile) 2>conftest.er1
3100   ac_status=$?
3101   grep -v '^ *+' conftest.er1 >conftest.err
3102   rm -f conftest.er1
3103   cat conftest.err >&5
3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105   (exit $ac_status); } &&
3106          { ac_try='test -z "$ac_c_werror_flag"
3107                          || test ! -s conftest.err'
3108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109   (eval $ac_try) 2>&5
3110   ac_status=$?
3111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112   (exit $ac_status); }; } &&
3113          { ac_try='test -s conftest.$ac_objext'
3114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115   (eval $ac_try) 2>&5
3116   ac_status=$?
3117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118   (exit $ac_status); }; }; then
3119   for ac_declaration in \
3120    '' \
3121    'extern "C" void std::exit (int) throw (); using std::exit;' \
3122    'extern "C" void std::exit (int); using std::exit;' \
3123    'extern "C" void exit (int) throw ();' \
3124    'extern "C" void exit (int);' \
3125    'void exit (int);'
3126 do
3127   cat >conftest.$ac_ext <<_ACEOF
3128 /* confdefs.h.  */
3129 _ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h.  */
3133 $ac_declaration
3134 #include <stdlib.h>
3135 int
3136 main ()
3137 {
3138 exit (42);
3139   ;
3140   return 0;
3141 }
3142 _ACEOF
3143 rm -f conftest.$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145   (eval $ac_compile) 2>conftest.er1
3146   ac_status=$?
3147   grep -v '^ *+' conftest.er1 >conftest.err
3148   rm -f conftest.er1
3149   cat conftest.err >&5
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); } &&
3152          { ac_try='test -z "$ac_c_werror_flag"
3153                          || test ! -s conftest.err'
3154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155   (eval $ac_try) 2>&5
3156   ac_status=$?
3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158   (exit $ac_status); }; } &&
3159          { ac_try='test -s conftest.$ac_objext'
3160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161   (eval $ac_try) 2>&5
3162   ac_status=$?
3163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164   (exit $ac_status); }; }; then
3165   :
3166 else
3167   echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3169
3170 continue
3171 fi
3172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3173   cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h.  */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h.  */
3179 $ac_declaration
3180 int
3181 main ()
3182 {
3183 exit (42);
3184   ;
3185   return 0;
3186 }
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190   (eval $ac_compile) 2>conftest.er1
3191   ac_status=$?
3192   grep -v '^ *+' conftest.er1 >conftest.err
3193   rm -f conftest.er1
3194   cat conftest.err >&5
3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196   (exit $ac_status); } &&
3197          { ac_try='test -z "$ac_c_werror_flag"
3198                          || test ! -s conftest.err'
3199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200   (eval $ac_try) 2>&5
3201   ac_status=$?
3202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203   (exit $ac_status); }; } &&
3204          { ac_try='test -s conftest.$ac_objext'
3205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206   (eval $ac_try) 2>&5
3207   ac_status=$?
3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); }; }; then
3210   break
3211 else
3212   echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3214
3215 fi
3216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3217 done
3218 rm -f conftest*
3219 if test -n "$ac_declaration"; then
3220   echo '#ifdef __cplusplus' >>confdefs.h
3221   echo $ac_declaration      >>confdefs.h
3222   echo '#endif'             >>confdefs.h
3223 fi
3224
3225 else
3226   echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3228
3229 fi
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_ext=c
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3237
3238           ac_config_commands="$ac_config_commands depfiles"
3239
3240
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3243 am__doit:
3244         @echo done
3245 .PHONY: am__doit
3246 END
3247 # If we don't find an include directive, just comment out the code.
3248 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3249 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3250 am__include="#"
3251 am__quote=
3252 _am_result=none
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # We grep out `Entering directory' and `Leaving directory'
3256 # messages which can occur if `w' ends up in MAKEFLAGS.
3257 # In particular we don't look at `^make:' because GNU make might
3258 # be invoked under some other name (usually "gmake"), in which
3259 # case it prints its new name instead of `make'.
3260 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3261    am__include=include
3262    am__quote=
3263    _am_result=GNU
3264 fi
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267    echo '.include "confinc"' > confmf
3268    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3269       am__include=.include
3270       am__quote="\""
3271       _am_result=BSD
3272    fi
3273 fi
3274
3275
3276 echo "$as_me:$LINENO: result: $_am_result" >&5
3277 echo "${ECHO_T}$_am_result" >&6
3278 rm -f confinc confmf
3279
3280 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282   enableval="$enable_dependency_tracking"
3283
3284 fi;
3285 if test "x$enable_dependency_tracking" != xno; then
3286   am_depcomp="$ac_aux_dir/depcomp"
3287   AMDEPBACKSLASH='\'
3288 fi
3289
3290
3291 if test "x$enable_dependency_tracking" != xno; then
3292   AMDEP_TRUE=
3293   AMDEP_FALSE='#'
3294 else
3295   AMDEP_TRUE='#'
3296   AMDEP_FALSE=
3297 fi
3298
3299
3300
3301
3302 depcc="$CC"   am_compiler_list=
3303
3304 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3306 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3307   echo $ECHO_N "(cached) $ECHO_C" >&6
3308 else
3309   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310   # We make a subdir and do the tests there.  Otherwise we can end up
3311   # making bogus files that we don't know about and never remove.  For
3312   # instance it was reported that on HP-UX the gcc test will end up
3313   # making a dummy file named `D' -- because `-MD' means `put the output
3314   # in D'.
3315   mkdir conftest.dir
3316   # Copy depcomp to subdir because otherwise we won't find it if we're
3317   # using a relative directory.
3318   cp "$am_depcomp" conftest.dir
3319   cd conftest.dir
3320   # We will build objects and dependencies in a subdirectory because
3321   # it helps to detect inapplicable dependency modes.  For instance
3322   # both Tru64's cc and ICC support -MD to output dependencies as a
3323   # side effect of compilation, but ICC will put the dependencies in
3324   # the current directory while Tru64 will put them in the object
3325   # directory.
3326   mkdir sub
3327
3328   am_cv_CC_dependencies_compiler_type=none
3329   if test "$am_compiler_list" = ""; then
3330      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3331   fi
3332   for depmode in $am_compiler_list; do
3333     # Setup a source with many dependencies, because some compilers
3334     # like to wrap large dependency lists on column 80 (with \), and
3335     # we should not choose a depcomp mode which is confused by this.
3336     #
3337     # We need to recreate these files for each test, as the compiler may
3338     # overwrite some of them when testing with obscure command lines.
3339     # This happens at least with the AIX C compiler.
3340     : > sub/conftest.c
3341     for i in 1 2 3 4 5 6; do
3342       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344       # Solaris 8's {/usr,}/bin/sh.
3345       touch sub/conftst$i.h
3346     done
3347     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3348
3349     case $depmode in
3350     nosideeffect)
3351       # after this tag, mechanisms are not by side-effect, so they'll
3352       # only be used when explicitly requested
3353       if test "x$enable_dependency_tracking" = xyes; then
3354         continue
3355       else
3356         break
3357       fi
3358       ;;
3359     none) break ;;
3360     esac
3361     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362     # mode.  It turns out that the SunPro C++ compiler does not properly
3363     # handle `-M -o', and we need to detect this.
3364     if depmode=$depmode \
3365        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3366        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3367        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3368          >/dev/null 2>conftest.err &&
3369        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3370        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3371        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3372       # icc doesn't choke on unknown options, it will just issue warnings
3373       # or remarks (even with -Werror).  So we grep stderr for any message
3374       # that says an option was ignored or not supported.
3375       # When given -MP, icc 7.0 and 7.1 complain thusly:
3376       #   icc: Command line warning: ignoring option '-M'; no argument required
3377       # The diagnosis changed in icc 8.0:
3378       #   icc: Command line remark: option '-MP' not supported
3379       if (grep 'ignoring option' conftest.err ||
3380           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3381         am_cv_CC_dependencies_compiler_type=$depmode
3382         break
3383       fi
3384     fi
3385   done
3386
3387   cd ..
3388   rm -rf conftest.dir
3389 else
3390   am_cv_CC_dependencies_compiler_type=none
3391 fi
3392
3393 fi
3394 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3395 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3396 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3397
3398
3399
3400 if
3401   test "x$enable_dependency_tracking" != xno \
3402   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3403   am__fastdepCC_TRUE=
3404   am__fastdepCC_FALSE='#'
3405 else
3406   am__fastdepCC_TRUE='#'
3407   am__fastdepCC_FALSE=
3408 fi
3409
3410
3411
3412
3413 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3414 if test "x$GCC" = "xyes"; then
3415   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3416   ## We like to use C99 routines when available.  This makes sure that
3417   ## __STDC_VERSION__ is set such that libc includes make them available.
3418   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3419   ## Compile the following tests with the same system header contents
3420   ## that we'll encounter when compiling our own source files.
3421   CFLAGS="-std=gnu99 $CFLAGS"
3422 fi
3423
3424
3425
3426
3427 # Check for symbol versioning (copied from libssp).
3428 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3429 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3430 cat > conftest.map <<EOF
3431 FOO_1.0 {
3432   global: *foo*; bar; local: *;
3433 };
3434 EOF
3435 save_LDFLAGS="$LDFLAGS"
3436 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3437
3438 if test x$gcc_no_link = xyes; then
3439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3441    { (exit 1); exit 1; }; }
3442 fi
3443 cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h.  */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h.  */
3449 int foo;
3450 int
3451 main ()
3452 {
3453
3454   ;
3455   return 0;
3456 }
3457 _ACEOF
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460   (eval $ac_link) 2>conftest.er1
3461   ac_status=$?
3462   grep -v '^ *+' conftest.er1 >conftest.err
3463   rm -f conftest.er1
3464   cat conftest.err >&5
3465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466   (exit $ac_status); } &&
3467          { ac_try='test -z "$ac_c_werror_flag"
3468                          || test ! -s conftest.err'
3469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470   (eval $ac_try) 2>&5
3471   ac_status=$?
3472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473   (exit $ac_status); }; } &&
3474          { ac_try='test -s conftest$ac_exeext'
3475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476   (eval $ac_try) 2>&5
3477   ac_status=$?
3478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479   (exit $ac_status); }; }; then
3480   gfortran_use_symver=yes
3481 else
3482   echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3484
3485 gfortran_use_symver=no
3486 fi
3487 rm -f conftest.err conftest.$ac_objext \
3488       conftest$ac_exeext conftest.$ac_ext
3489 LDFLAGS="$save_LDFLAGS"
3490 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3491 echo "${ECHO_T}$gfortran_use_symver" >&6
3492
3493
3494 if test "x$gfortran_use_symver" = xyes; then
3495   LIBGFOR_USE_SYMVER_TRUE=
3496   LIBGFOR_USE_SYMVER_FALSE='#'
3497 else
3498   LIBGFOR_USE_SYMVER_TRUE='#'
3499   LIBGFOR_USE_SYMVER_FALSE=
3500 fi
3501
3502
3503 # Find other programs we need.
3504 if test -n "$ac_tool_prefix"; then
3505   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}as; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_AS+set}" = set; then
3510   echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512   if test -n "$AS"; then
3513   ac_cv_prog_AS="$AS" # Let the user override the test.
3514 else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3517 do
3518   IFS=$as_save_IFS
3519   test -z "$as_dir" && as_dir=.
3520   for ac_exec_ext in '' $ac_executable_extensions; do
3521   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522     ac_cv_prog_AS="${ac_tool_prefix}as"
3523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3524     break 2
3525   fi
3526 done
3527 done
3528
3529 fi
3530 fi
3531 AS=$ac_cv_prog_AS
3532 if test -n "$AS"; then
3533   echo "$as_me:$LINENO: result: $AS" >&5
3534 echo "${ECHO_T}$AS" >&6
3535 else
3536   echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 fi
3539
3540 fi
3541 if test -z "$ac_cv_prog_AS"; then
3542   ac_ct_AS=$AS
3543   # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548   echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550   if test -n "$ac_ct_AS"; then
3551   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3555 do
3556   IFS=$as_save_IFS
3557   test -z "$as_dir" && as_dir=.
3558   for ac_exec_ext in '' $ac_executable_extensions; do
3559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560     ac_cv_prog_ac_ct_AS="as"
3561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562     break 2
3563   fi
3564 done
3565 done
3566
3567 fi
3568 fi
3569 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3570 if test -n "$ac_ct_AS"; then
3571   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3572 echo "${ECHO_T}$ac_ct_AS" >&6
3573 else
3574   echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3576 fi
3577
3578   AS=$ac_ct_AS
3579 else
3580   AS="$ac_cv_prog_AS"
3581 fi
3582
3583 if test -n "$ac_tool_prefix"; then
3584   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}ar; ac_word=$2
3586 echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588 if test "${ac_cv_prog_AR+set}" = set; then
3589   echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591   if test -n "$AR"; then
3592   ac_cv_prog_AR="$AR" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3596 do
3597   IFS=$as_save_IFS
3598   test -z "$as_dir" && as_dir=.
3599   for ac_exec_ext in '' $ac_executable_extensions; do
3600   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3601     ac_cv_prog_AR="${ac_tool_prefix}ar"
3602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603     break 2
3604   fi
3605 done
3606 done
3607
3608 fi
3609 fi
3610 AR=$ac_cv_prog_AR
3611 if test -n "$AR"; then
3612   echo "$as_me:$LINENO: result: $AR" >&5
3613 echo "${ECHO_T}$AR" >&6
3614 else
3615   echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3617 fi
3618
3619 fi
3620 if test -z "$ac_cv_prog_AR"; then
3621   ac_ct_AR=$AR
3622   # Extract the first word of "ar", so it can be a program name with args.
3623 set dummy ar; ac_word=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3627   echo $ECHO_N "(cached) $ECHO_C" >&6
3628 else
3629   if test -n "$ac_ct_AR"; then
3630   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3634 do
3635   IFS=$as_save_IFS
3636   test -z "$as_dir" && as_dir=.
3637   for ac_exec_ext in '' $ac_executable_extensions; do
3638   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639     ac_cv_prog_ac_ct_AR="ar"
3640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641     break 2
3642   fi
3643 done
3644 done
3645
3646 fi
3647 fi
3648 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3649 if test -n "$ac_ct_AR"; then
3650   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3651 echo "${ECHO_T}$ac_ct_AR" >&6
3652 else
3653   echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3655 fi
3656
3657   AR=$ac_ct_AR
3658 else
3659   AR="$ac_cv_prog_AR"
3660 fi
3661
3662 if test -n "$ac_tool_prefix"; then
3663   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3664 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3665 echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3667 if test "${ac_cv_prog_RANLIB+set}" = set; then
3668   echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670   if test -n "$RANLIB"; then
3671   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3675 do
3676   IFS=$as_save_IFS
3677   test -z "$as_dir" && as_dir=.
3678   for ac_exec_ext in '' $ac_executable_extensions; do
3679   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682     break 2
3683   fi
3684 done
3685 done
3686
3687 fi
3688 fi
3689 RANLIB=$ac_cv_prog_RANLIB
3690 if test -n "$RANLIB"; then
3691   echo "$as_me:$LINENO: result: $RANLIB" >&5
3692 echo "${ECHO_T}$RANLIB" >&6
3693 else
3694   echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3696 fi
3697
3698 fi
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700   ac_ct_RANLIB=$RANLIB
3701   # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib; ac_word=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706   echo $ECHO_N "(cached) $ECHO_C" >&6
3707 else
3708   if test -n "$ac_ct_RANLIB"; then
3709   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714   IFS=$as_save_IFS
3715   test -z "$as_dir" && as_dir=.
3716   for ac_exec_ext in '' $ac_executable_extensions; do
3717   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718     ac_cv_prog_ac_ct_RANLIB="ranlib"
3719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720     break 2
3721   fi
3722 done
3723 done
3724
3725   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3726 fi
3727 fi
3728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3732 else
3733   echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3735 fi
3736
3737   RANLIB=$ac_ct_RANLIB
3738 else
3739   RANLIB="$ac_cv_prog_RANLIB"
3740 fi
3741
3742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3746   echo $ECHO_N "(cached) $ECHO_C" >&6
3747 else
3748   cat >conftest.make <<\_ACEOF
3749 all:
3750         @echo 'ac_maketemp="$(MAKE)"'
3751 _ACEOF
3752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3754 if test -n "$ac_maketemp"; then
3755   eval ac_cv_prog_make_${ac_make}_set=yes
3756 else
3757   eval ac_cv_prog_make_${ac_make}_set=no
3758 fi
3759 rm -f conftest.make
3760 fi
3761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3762   echo "$as_me:$LINENO: result: yes" >&5
3763 echo "${ECHO_T}yes" >&6
3764   SET_MAKE=
3765 else
3766   echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768   SET_MAKE="MAKE=${MAKE-make}"
3769 fi
3770
3771 # Find a good install program.  We prefer a C program (faster),
3772 # so one script is as good as another.  But avoid the broken or
3773 # incompatible versions:
3774 # SysV /etc/install, /usr/sbin/install
3775 # SunOS /usr/etc/install
3776 # IRIX /sbin/install
3777 # AIX /bin/install
3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3782 # OS/2's system install, which has a completely different semantic
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 # Reject install programs that cannot install multiple files.
3785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3787 if test -z "$INSTALL"; then
3788 if test "${ac_cv_path_install+set}" = set; then
3789   echo $ECHO_N "(cached) $ECHO_C" >&6
3790 else
3791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 for as_dir in $PATH
3793 do
3794   IFS=$as_save_IFS
3795   test -z "$as_dir" && as_dir=.
3796   # Account for people who put trailing slashes in PATH elements.
3797 case $as_dir/ in
3798   ./ | .// | /cC/* | \
3799   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3800   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3801   /usr/ucb/* ) ;;
3802   *)
3803     # OSF1 and SCO ODT 3.0 have their own names for install.
3804     # Don't use installbsd from OSF since it installs stuff as root
3805     # by default.
3806     for ac_prog in ginstall scoinst install; do
3807       for ac_exec_ext in '' $ac_executable_extensions; do
3808         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3809           if test $ac_prog = install &&
3810             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3811             # AIX install.  It has an incompatible calling convention.
3812             :
3813           elif test $ac_prog = install &&
3814             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3815             # program-specific install script used by HP pwplus--don't use.
3816             :
3817           else
3818             rm -rf conftest.one conftest.two conftest.dir
3819             echo one > conftest.one
3820             echo two > conftest.two
3821             mkdir conftest.dir
3822             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3823               test -s conftest.one && test -s conftest.two &&
3824               test -s conftest.dir/conftest.one &&
3825               test -s conftest.dir/conftest.two
3826             then
3827               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3828               break 3
3829             fi
3830           fi
3831         fi
3832       done
3833     done
3834     ;;
3835 esac
3836 done
3837
3838 rm -rf conftest.one conftest.two conftest.dir
3839
3840 fi
3841   if test "${ac_cv_path_install+set}" = set; then
3842     INSTALL=$ac_cv_path_install
3843   else
3844     # As a last resort, use the slow shell script.  Don't cache a
3845     # value for INSTALL within a source directory, because that will
3846     # break other packages using the cache if that directory is
3847     # removed, or if the value is a relative name.
3848     INSTALL=$ac_install_sh
3849   fi
3850 fi
3851 echo "$as_me:$LINENO: result: $INSTALL" >&5
3852 echo "${ECHO_T}$INSTALL" >&6
3853
3854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3855 # It thinks the first close brace ends the variable substitution.
3856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3857
3858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3859
3860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3861
3862
3863 # Configure libtool
3864 #AC_MSG_NOTICE([====== Starting libtool configuration])
3865 enable_dlopen=yes
3866
3867
3868
3869 case `pwd` in
3870   *\ * | *\     *)
3871     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3872 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3873 esac
3874
3875
3876
3877 macro_version='2.2.6'
3878 macro_revision='1.3012'
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892 ltmain="$ac_aux_dir/ltmain.sh"
3893
3894 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3895 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3896 if test "${lt_cv_path_SED+set}" = set; then
3897   echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899   # Loop through the user's path and test for sed and gsed.
3900 # Then use that list of sed's as ones to test for truncation.
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 for as_dir in $PATH
3903 do
3904   IFS=$as_save_IFS
3905   test -z "$as_dir" && as_dir=.
3906   for lt_ac_prog in sed gsed; do
3907     for ac_exec_ext in '' $ac_executable_extensions; do
3908       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3909         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3910       fi
3911     done
3912   done
3913 done
3914 IFS=$as_save_IFS
3915 lt_ac_max=0
3916 lt_ac_count=0
3917 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3918 # along with /bin/sed that truncates output.
3919 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3920   test ! -f $lt_ac_sed && continue
3921   cat /dev/null > conftest.in
3922   lt_ac_count=0
3923   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3924   # Check for GNU sed and select it if it is found.
3925   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3926     lt_cv_path_SED=$lt_ac_sed
3927     break
3928   fi
3929   while true; do
3930     cat conftest.in conftest.in >conftest.tmp
3931     mv conftest.tmp conftest.in
3932     cp conftest.in conftest.nl
3933     echo >>conftest.nl
3934     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3935     cmp -s conftest.out conftest.nl || break
3936     # 10000 chars as input seems more than enough
3937     test $lt_ac_count -gt 10 && break
3938     lt_ac_count=`expr $lt_ac_count + 1`
3939     if test $lt_ac_count -gt $lt_ac_max; then
3940       lt_ac_max=$lt_ac_count
3941       lt_cv_path_SED=$lt_ac_sed
3942     fi
3943   done
3944 done
3945
3946 fi
3947
3948 SED=$lt_cv_path_SED
3949
3950 echo "$as_me:$LINENO: result: $SED" >&5
3951 echo "${ECHO_T}$SED" >&6
3952
3953 test -z "$SED" && SED=sed
3954 Xsed="$SED -e 1s/^X//"
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966 echo "$as_me:$LINENO: checking for egrep" >&5
3967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968 if test "${ac_cv_prog_egrep+set}" = set; then
3969   echo $ECHO_N "(cached) $ECHO_C" >&6
3970 else
3971   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3972     then ac_cv_prog_egrep='grep -E'
3973     else ac_cv_prog_egrep='egrep'
3974     fi
3975 fi
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978  EGREP=$ac_cv_prog_egrep
3979
3980
3981 echo "$as_me:$LINENO: checking for fgrep" >&5
3982 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3983 if test "${ac_cv_prog_fgrep+set}" = set; then
3984   echo $ECHO_N "(cached) $ECHO_C" >&6
3985 else
3986   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3987     then ac_cv_prog_fgrep='grep -F'
3988     else ac_cv_prog_fgrep='fgrep'
3989     fi
3990 fi
3991 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3992 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3993  FGREP=$ac_cv_prog_fgrep
3994
3995
3996 test -z "$GREP" && GREP=grep
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4017 if test "${with_gnu_ld+set}" = set; then
4018   withval="$with_gnu_ld"
4019   test "$withval" = no || with_gnu_ld=yes
4020 else
4021   with_gnu_ld=no
4022 fi;
4023 ac_prog=ld
4024 if test "$GCC" = yes; then
4025   # Check if gcc -print-prog-name=ld gives a path.
4026   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4027 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4028   case $host in
4029   *-*-mingw*)
4030     # gcc leaves a trailing carriage return which upsets mingw
4031     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4032   *)
4033     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4034   esac
4035   case $ac_prog in
4036     # Accept absolute paths.
4037     [\\/]* | ?:[\\/]*)
4038       re_direlt='/[^/][^/]*/\.\./'
4039       # Canonicalize the pathname of ld
4040       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4041       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4042         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4043       done
4044       test -z "$LD" && LD="$ac_prog"
4045       ;;
4046   "")
4047     # If it fails, then pretend we aren't using GCC.
4048     ac_prog=ld
4049     ;;
4050   *)
4051     # If it is relative, then search for the first ld in PATH.
4052     with_gnu_ld=unknown
4053     ;;
4054   esac
4055 elif test "$with_gnu_ld" = yes; then
4056   echo "$as_me:$LINENO: checking for GNU ld" >&5
4057 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4058 else
4059   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4060 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4061 fi
4062 if test "${lt_cv_path_LD+set}" = set; then
4063   echo $ECHO_N "(cached) $ECHO_C" >&6
4064 else
4065   if test -z "$LD"; then
4066   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4067   for ac_dir in $PATH; do
4068     IFS="$lt_save_ifs"
4069     test -z "$ac_dir" && ac_dir=.
4070     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4071       lt_cv_path_LD="$ac_dir/$ac_prog"
4072       # Check to see if the program is GNU ld.  I'd rather use --version,
4073       # but apparently some variants of GNU ld only accept -v.
4074       # Break only if it was the GNU/non-GNU ld that we prefer.
4075       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4076       *GNU* | *'with BFD'*)
4077         test "$with_gnu_ld" != no && break
4078         ;;
4079       *)
4080         test "$with_gnu_ld" != yes && break
4081         ;;
4082       esac
4083     fi
4084   done
4085   IFS="$lt_save_ifs"
4086 else
4087   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4088 fi
4089 fi
4090
4091 LD="$lt_cv_path_LD"
4092 if test -n "$LD"; then
4093   echo "$as_me:$LINENO: result: $LD" >&5
4094 echo "${ECHO_T}$LD" >&6
4095 else
4096   echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4098 fi
4099 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4100 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4101    { (exit 1); exit 1; }; }
4102 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4103 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4104 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4105   echo $ECHO_N "(cached) $ECHO_C" >&6
4106 else
4107   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4108 case `$LD -v 2>&1 </dev/null` in
4109 *GNU* | *'with BFD'*)
4110   lt_cv_prog_gnu_ld=yes
4111   ;;
4112 *)
4113   lt_cv_prog_gnu_ld=no
4114   ;;
4115 esac
4116 fi
4117 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4118 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4119 with_gnu_ld=$lt_cv_prog_gnu_ld
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4130 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132   echo $ECHO_N "(cached) $ECHO_C" >&6
4133 else
4134   if test -n "$NM"; then
4135   # Let the user override the test.
4136   lt_cv_path_NM="$NM"
4137 else
4138   lt_nm_to_check="${ac_tool_prefix}nm"
4139   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4140     lt_nm_to_check="$lt_nm_to_check nm"
4141   fi
4142   for lt_tmp_nm in $lt_nm_to_check; do
4143     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4144     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4145       IFS="$lt_save_ifs"
4146       test -z "$ac_dir" && ac_dir=.
4147       tmp_nm="$ac_dir/$lt_tmp_nm"
4148       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4149         # Check to see if the nm accepts a BSD-compat flag.
4150         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4151         #   nm: unknown option "B" ignored
4152         # Tru64's nm complains that /dev/null is an invalid object file
4153         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4154         */dev/null* | *'Invalid file or object type'*)
4155           lt_cv_path_NM="$tmp_nm -B"
4156           break
4157           ;;
4158         *)
4159           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4160           */dev/null*)
4161             lt_cv_path_NM="$tmp_nm -p"
4162             break
4163             ;;
4164           *)
4165             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4166             continue # so that we can try to find one that supports BSD flags
4167             ;;
4168           esac
4169           ;;
4170         esac
4171       fi
4172     done
4173     IFS="$lt_save_ifs"
4174   done
4175   : ${lt_cv_path_NM=no}
4176 fi
4177 fi
4178 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4179 echo "${ECHO_T}$lt_cv_path_NM" >&6
4180 if test "$lt_cv_path_NM" != "no"; then
4181   NM="$lt_cv_path_NM"
4182 else
4183   # Didn't find any BSD compatible name lister, look for dumpbin.
4184   if test -n "$ac_tool_prefix"; then
4185   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4186   do
4187     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4189 echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4191 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4192   echo $ECHO_N "(cached) $ECHO_C" >&6
4193 else
4194   if test -n "$DUMPBIN"; then
4195   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4196 else
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH
4199 do
4200   IFS=$as_save_IFS
4201   test -z "$as_dir" && as_dir=.
4202   for ac_exec_ext in '' $ac_executable_extensions; do
4203   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4206     break 2
4207   fi
4208 done
4209 done
4210
4211 fi
4212 fi
4213 DUMPBIN=$ac_cv_prog_DUMPBIN
4214 if test -n "$DUMPBIN"; then
4215   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4216 echo "${ECHO_T}$DUMPBIN" >&6
4217 else
4218   echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4220 fi
4221
4222     test -n "$DUMPBIN" && break
4223   done
4224 fi
4225 if test -z "$DUMPBIN"; then
4226   ac_ct_DUMPBIN=$DUMPBIN
4227   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4228 do
4229   # Extract the first word of "$ac_prog", so it can be a program name with args.
4230 set dummy $ac_prog; ac_word=$2
4231 echo "$as_me:$LINENO: checking for $ac_word" >&5
4232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4233 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4234   echo $ECHO_N "(cached) $ECHO_C" >&6
4235 else
4236   if test -n "$ac_ct_DUMPBIN"; then
4237   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4238 else
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 for as_dir in $PATH
4241 do
4242   IFS=$as_save_IFS
4243   test -z "$as_dir" && as_dir=.
4244   for ac_exec_ext in '' $ac_executable_extensions; do
4245   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4247     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4248     break 2
4249   fi
4250 done
4251 done
4252
4253 fi
4254 fi
4255 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4256 if test -n "$ac_ct_DUMPBIN"; then
4257   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4258 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4259 else
4260   echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4262 fi
4263
4264   test -n "$ac_ct_DUMPBIN" && break
4265 done
4266 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4267
4268   DUMPBIN=$ac_ct_DUMPBIN
4269 fi
4270
4271
4272   if test "$DUMPBIN" != ":"; then
4273     NM="$DUMPBIN"
4274   fi
4275 fi
4276 test -z "$NM" && NM=nm
4277
4278
4279
4280
4281
4282
4283 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4284 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4285 if test "${lt_cv_nm_interface+set}" = set; then
4286   echo $ECHO_N "(cached) $ECHO_C" >&6
4287 else
4288   lt_cv_nm_interface="BSD nm"
4289   echo "int some_variable = 0;" > conftest.$ac_ext
4290   (eval echo "\"\$as_me:4290: $ac_compile\"" >&5)
4291   (eval "$ac_compile" 2>conftest.err)
4292   cat conftest.err >&5
4293   (eval echo "\"\$as_me:4293: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4294   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4295   cat conftest.err >&5
4296   (eval echo "\"\$as_me:4296: output\"" >&5)
4297   cat conftest.out >&5
4298   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4299     lt_cv_nm_interface="MS dumpbin"
4300   fi
4301   rm -f conftest*
4302 fi
4303 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4304 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4305
4306 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4307 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4308 LN_S=$as_ln_s
4309 if test "$LN_S" = "ln -s"; then
4310   echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4312 else
4313   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4314 echo "${ECHO_T}no, using $LN_S" >&6
4315 fi
4316
4317 # find the maximum length of command line arguments
4318 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4319 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4320 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4321   echo $ECHO_N "(cached) $ECHO_C" >&6
4322 else
4323     i=0
4324   teststring="ABCD"
4325
4326   case $build_os in
4327   msdosdjgpp*)
4328     # On DJGPP, this test can blow up pretty badly due to problems in libc
4329     # (any single argument exceeding 2000 bytes causes a buffer overrun
4330     # during glob expansion).  Even if it were fixed, the result of this
4331     # check would be larger than it should be.
4332     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4333     ;;
4334
4335   gnu*)
4336     # Under GNU Hurd, this test is not required because there is
4337     # no limit to the length of command line arguments.
4338     # Libtool will interpret -1 as no limit whatsoever
4339     lt_cv_sys_max_cmd_len=-1;
4340     ;;
4341
4342   cygwin* | mingw* | cegcc*)
4343     # On Win9x/ME, this test blows up -- it succeeds, but takes
4344     # about 5 minutes as the teststring grows exponentially.
4345     # Worse, since 9x/ME are not pre-emptively multitasking,
4346     # you end up with a "frozen" computer, even though with patience
4347     # the test eventually succeeds (with a max line length of 256k).
4348     # Instead, let's just punt: use the minimum linelength reported by
4349     # all of the supported platforms: 8192 (on NT/2K/XP).
4350     lt_cv_sys_max_cmd_len=8192;
4351     ;;
4352
4353   amigaos*)
4354     # On AmigaOS with pdksh, this test takes hours, literally.
4355     # So we just punt and use a minimum line length of 8192.
4356     lt_cv_sys_max_cmd_len=8192;
4357     ;;
4358
4359   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4360     # This has been around since 386BSD, at least.  Likely further.
4361     if test -x /sbin/sysctl; then
4362       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4363     elif test -x /usr/sbin/sysctl; then
4364       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4365     else
4366       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4367     fi
4368     # And add a safety zone
4369     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4370     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4371     ;;
4372
4373   interix*)
4374     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4375     lt_cv_sys_max_cmd_len=196608
4376     ;;
4377
4378   osf*)
4379     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4380     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4381     # nice to cause kernel panics so lets avoid the loop below.
4382     # First set a reasonable default.
4383     lt_cv_sys_max_cmd_len=16384
4384     #
4385     if test -x /sbin/sysconfig; then
4386       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4387         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4388       esac
4389     fi
4390     ;;
4391   sco3.2v5*)
4392     lt_cv_sys_max_cmd_len=102400
4393     ;;
4394   sysv5* | sco5v6* | sysv4.2uw2*)
4395     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4396     if test -n "$kargmax"; then
4397       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4398     else
4399       lt_cv_sys_max_cmd_len=32768
4400     fi
4401     ;;
4402   *)
4403     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4404     if test -n "$lt_cv_sys_max_cmd_len"; then
4405       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4406       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4407     else
4408       # Make teststring a little bigger before we do anything with it.
4409       # a 1K string should be a reasonable start.
4410       for i in 1 2 3 4 5 6 7 8 ; do
4411         teststring=$teststring$teststring
4412       done
4413       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4414       # If test is not a shell built-in, we'll probably end up computing a
4415       # maximum length that is only half of the actual maximum length, but
4416       # we can't tell.
4417       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4418                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4419               test $i != 17 # 1/2 MB should be enough
4420       do
4421         i=`expr $i + 1`
4422         teststring=$teststring$teststring
4423       done
4424       # Only check the string length outside the loop.
4425       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4426       teststring=
4427       # Add a significant safety factor because C++ compilers can tack on
4428       # massive amounts of additional arguments before passing them to the
4429       # linker.  It appears as though 1/2 is a usable value.
4430       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4431     fi
4432     ;;
4433   esac
4434
4435 fi
4436
4437 if test -n $lt_cv_sys_max_cmd_len ; then
4438   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4439 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4440 else
4441   echo "$as_me:$LINENO: result: none" >&5
4442 echo "${ECHO_T}none" >&6
4443 fi
4444 max_cmd_len=$lt_cv_sys_max_cmd_len
4445
4446
4447
4448
4449
4450
4451 : ${CP="cp -f"}
4452 : ${MV="mv -f"}
4453 : ${RM="rm -f"}
4454
4455 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4456 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4457 # Try some XSI features
4458 xsi_shell=no
4459 ( _lt_dummy="a/b/c"
4460   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4461       = c,a/b,, \
4462     && eval 'test $(( 1 + 1 )) -eq 2 \
4463     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4464   && xsi_shell=yes
4465 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4466 echo "${ECHO_T}$xsi_shell" >&6
4467
4468
4469 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4470 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4471 lt_shell_append=no
4472 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4473     >/dev/null 2>&1 \
4474   && lt_shell_append=yes
4475 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4476 echo "${ECHO_T}$lt_shell_append" >&6
4477
4478
4479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4480   lt_unset=unset
4481 else
4482   lt_unset=false
4483 fi
4484
4485
4486
4487
4488
4489 # test EBCDIC or ASCII
4490 case `echo X|tr X '\101'` in
4491  A) # ASCII based system
4492     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4493   lt_SP2NL='tr \040 \012'
4494   lt_NL2SP='tr \015\012 \040\040'
4495   ;;
4496  *) # EBCDIC based system
4497   lt_SP2NL='tr \100 \n'
4498   lt_NL2SP='tr \r\n \100\100'
4499   ;;
4500 esac
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4511 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4512 if test "${lt_cv_ld_reload_flag+set}" = set; then
4513   echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else
4515   lt_cv_ld_reload_flag='-r'
4516 fi
4517 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4519 reload_flag=$lt_cv_ld_reload_flag
4520 case $reload_flag in
4521 "" | " "*) ;;
4522 *) reload_flag=" $reload_flag" ;;
4523 esac
4524 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4525 case $host_os in
4526   darwin*)
4527     if test "$GCC" = yes; then
4528       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4529     else
4530       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4531     fi
4532     ;;
4533 esac
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543 if test -n "$ac_tool_prefix"; then
4544   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4545 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4546 echo "$as_me:$LINENO: checking for $ac_word" >&5
4547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4548 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4549   echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551   if test -n "$OBJDUMP"; then
4552   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4553 else
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4556 do
4557   IFS=$as_save_IFS
4558   test -z "$as_dir" && as_dir=.
4559   for ac_exec_ext in '' $ac_executable_extensions; do
4560   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4562     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563     break 2
4564   fi
4565 done
4566 done
4567
4568 fi
4569 fi
4570 OBJDUMP=$ac_cv_prog_OBJDUMP
4571 if test -n "$OBJDUMP"; then
4572   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4573 echo "${ECHO_T}$OBJDUMP" >&6
4574 else
4575   echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4577 fi
4578
4579 fi
4580 if test -z "$ac_cv_prog_OBJDUMP"; then
4581   ac_ct_OBJDUMP=$OBJDUMP
4582   # Extract the first word of "objdump", so it can be a program name with args.
4583 set dummy objdump; ac_word=$2
4584 echo "$as_me:$LINENO: checking for $ac_word" >&5
4585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4586 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4587   echo $ECHO_N "(cached) $ECHO_C" >&6
4588 else
4589   if test -n "$ac_ct_OBJDUMP"; then
4590   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4594 do
4595   IFS=$as_save_IFS
4596   test -z "$as_dir" && as_dir=.
4597   for ac_exec_ext in '' $ac_executable_extensions; do
4598   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4601     break 2
4602   fi
4603 done
4604 done
4605
4606   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4607 fi
4608 fi
4609 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4610 if test -n "$ac_ct_OBJDUMP"; then
4611   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4612 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4613 else
4614   echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4616 fi
4617
4618   OBJDUMP=$ac_ct_OBJDUMP
4619 else
4620   OBJDUMP="$ac_cv_prog_OBJDUMP"
4621 fi
4622
4623 test -z "$OBJDUMP" && OBJDUMP=objdump
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4634 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4635 if test "${lt_cv_deplibs_check_method+set}" = set; then
4636   echo $ECHO_N "(cached) $ECHO_C" >&6
4637 else
4638   lt_cv_file_magic_cmd='$MAGIC_CMD'
4639 lt_cv_file_magic_test_file=
4640 lt_cv_deplibs_check_method='unknown'
4641 # Need to set the preceding variable on all platforms that support
4642 # interlibrary dependencies.
4643 # 'none' -- dependencies not supported.
4644 # `unknown' -- same as none, but documents that we really don't know.
4645 # 'pass_all' -- all dependencies passed with no checks.
4646 # 'test_compile' -- check by making test program.
4647 # 'file_magic [[regex]]' -- check by looking for files in library path
4648 # which responds to the $file_magic_cmd with a given extended regex.
4649 # If you have `file' or equivalent on your system and you're not sure
4650 # whether `pass_all' will *always* work, you probably want this one.
4651
4652 case $host_os in
4653 aix[4-9]*)
4654   lt_cv_deplibs_check_method=pass_all
4655   ;;
4656
4657 beos*)
4658   lt_cv_deplibs_check_method=pass_all
4659   ;;
4660
4661 bsdi[45]*)
4662   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4663   lt_cv_file_magic_cmd='/usr/bin/file -L'
4664   lt_cv_file_magic_test_file=/shlib/libc.so
4665   ;;
4666
4667 cygwin*)
4668   # func_win32_libid is a shell function defined in ltmain.sh
4669   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4670   lt_cv_file_magic_cmd='func_win32_libid'
4671   ;;
4672
4673 mingw* | pw32*)
4674   # Base MSYS/MinGW do not provide the 'file' command needed by
4675   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4676   # unless we find 'file', for example because we are cross-compiling.
4677   if ( file / ) >/dev/null 2>&1; then
4678     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4679     lt_cv_file_magic_cmd='func_win32_libid'
4680   else
4681     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4682     lt_cv_file_magic_cmd='$OBJDUMP -f'
4683   fi
4684   ;;
4685
4686 cegcc)
4687   # use the weaker test based on 'objdump'. See mingw*.
4688   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4689   lt_cv_file_magic_cmd='$OBJDUMP -f'
4690   ;;
4691
4692 darwin* | rhapsody*)
4693   lt_cv_deplibs_check_method=pass_all
4694   ;;
4695
4696 freebsd* | dragonfly*)
4697   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4698     case $host_cpu in
4699     i*86 )
4700       # Not sure whether the presence of OpenBSD here was a mistake.
4701       # Let's accept both of them until this is cleared up.
4702       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4703       lt_cv_file_magic_cmd=/usr/bin/file
4704       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4705       ;;
4706     esac
4707   else
4708     lt_cv_deplibs_check_method=pass_all
4709   fi
4710   ;;
4711
4712 gnu*)
4713   lt_cv_deplibs_check_method=pass_all
4714   ;;
4715
4716 hpux10.20* | hpux11*)
4717   lt_cv_file_magic_cmd=/usr/bin/file
4718   case $host_cpu in
4719   ia64*)
4720     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4721     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4722     ;;
4723   hppa*64*)
4724     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]'
4725     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4726     ;;
4727   *)
4728     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4729     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4730     ;;
4731   esac
4732   ;;
4733
4734 interix[3-9]*)
4735   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4736   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4737   ;;
4738
4739 irix5* | irix6* | nonstopux*)
4740   case $LD in
4741   *-32|*"-32 ") libmagic=32-bit;;
4742   *-n32|*"-n32 ") libmagic=N32;;
4743   *-64|*"-64 ") libmagic=64-bit;;
4744   *) libmagic=never-match;;
4745   esac
4746   lt_cv_deplibs_check_method=pass_all
4747   ;;
4748
4749 # This must be Linux ELF.
4750 linux* | k*bsd*-gnu)
4751   lt_cv_deplibs_check_method=pass_all
4752   ;;
4753
4754 netbsd*)
4755   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4756     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4757   else
4758     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4759   fi
4760   ;;
4761
4762 newos6*)
4763   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4764   lt_cv_file_magic_cmd=/usr/bin/file
4765   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4766   ;;
4767
4768 *nto* | *qnx*)
4769   lt_cv_deplibs_check_method=pass_all
4770   ;;
4771
4772 openbsd*)
4773   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4774     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4775   else
4776     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4777   fi
4778   ;;
4779
4780 osf3* | osf4* | osf5*)
4781   lt_cv_deplibs_check_method=pass_all
4782   ;;
4783
4784 rdos*)
4785   lt_cv_deplibs_check_method=pass_all
4786   ;;
4787
4788 solaris*)
4789   lt_cv_deplibs_check_method=pass_all
4790   ;;
4791
4792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4793   lt_cv_deplibs_check_method=pass_all
4794   ;;
4795
4796 sysv4 | sysv4.3*)
4797   case $host_vendor in
4798   motorola)
4799     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]'
4800     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4801     ;;
4802   ncr)
4803     lt_cv_deplibs_check_method=pass_all
4804     ;;
4805   sequent)
4806     lt_cv_file_magic_cmd='/bin/file'
4807     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4808     ;;
4809   sni)
4810     lt_cv_file_magic_cmd='/bin/file'
4811     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4812     lt_cv_file_magic_test_file=/lib/libc.so
4813     ;;
4814   siemens)
4815     lt_cv_deplibs_check_method=pass_all
4816     ;;
4817   pc)
4818     lt_cv_deplibs_check_method=pass_all
4819     ;;
4820   esac
4821   ;;
4822
4823 tpf*)
4824   lt_cv_deplibs_check_method=pass_all
4825   ;;
4826 esac
4827
4828 fi
4829 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4830 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4831 file_magic_cmd=$lt_cv_file_magic_cmd
4832 deplibs_check_method=$lt_cv_deplibs_check_method
4833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846 if test -n "$ac_tool_prefix"; then
4847   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4848 set dummy ${ac_tool_prefix}ar; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_AR+set}" = set; then
4852   echo $ECHO_N "(cached) $ECHO_C" >&6
4853 else
4854   if test -n "$AR"; then
4855   ac_cv_prog_AR="$AR" # Let the user override the test.
4856 else
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 for as_dir in $PATH
4859 do
4860   IFS=$as_save_IFS
4861   test -z "$as_dir" && as_dir=.
4862   for ac_exec_ext in '' $ac_executable_extensions; do
4863   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864     ac_cv_prog_AR="${ac_tool_prefix}ar"
4865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4866     break 2
4867   fi
4868 done
4869 done
4870
4871 fi
4872 fi
4873 AR=$ac_cv_prog_AR
4874 if test -n "$AR"; then
4875   echo "$as_me:$LINENO: result: $AR" >&5
4876 echo "${ECHO_T}$AR" >&6
4877 else
4878   echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882 fi
4883 if test -z "$ac_cv_prog_AR"; then
4884   ac_ct_AR=$AR
4885   # Extract the first word of "ar", so it can be a program name with args.
4886 set dummy ar; ac_word=$2
4887 echo "$as_me:$LINENO: checking for $ac_word" >&5
4888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4889 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4890   echo $ECHO_N "(cached) $ECHO_C" >&6
4891 else
4892   if test -n "$ac_ct_AR"; then
4893   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4897 do
4898   IFS=$as_save_IFS
4899   test -z "$as_dir" && as_dir=.
4900   for ac_exec_ext in '' $ac_executable_extensions; do
4901   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902     ac_cv_prog_ac_ct_AR="ar"
4903     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904     break 2
4905   fi
4906 done
4907 done
4908
4909   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4910 fi
4911 fi
4912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4913 if test -n "$ac_ct_AR"; then
4914   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4915 echo "${ECHO_T}$ac_ct_AR" >&6
4916 else
4917   echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4919 fi
4920
4921   AR=$ac_ct_AR
4922 else
4923   AR="$ac_cv_prog_AR"
4924 fi
4925
4926 test -z "$AR" && AR=ar
4927 test -z "$AR_FLAGS" && AR_FLAGS=cru
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939 if test -n "$ac_tool_prefix"; then
4940   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4941 set dummy ${ac_tool_prefix}strip; ac_word=$2
4942 echo "$as_me:$LINENO: checking for $ac_word" >&5
4943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4944 if test "${ac_cv_prog_STRIP+set}" = set; then
4945   echo $ECHO_N "(cached) $ECHO_C" >&6
4946 else
4947   if test -n "$STRIP"; then
4948   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4952 do
4953   IFS=$as_save_IFS
4954   test -z "$as_dir" && as_dir=.
4955   for ac_exec_ext in '' $ac_executable_extensions; do
4956   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4959     break 2
4960   fi
4961 done
4962 done
4963
4964 fi
4965 fi
4966 STRIP=$ac_cv_prog_STRIP
4967 if test -n "$STRIP"; then
4968   echo "$as_me:$LINENO: result: $STRIP" >&5
4969 echo "${ECHO_T}$STRIP" >&6
4970 else
4971   echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4973 fi
4974
4975 fi
4976 if test -z "$ac_cv_prog_STRIP"; then
4977   ac_ct_STRIP=$STRIP
4978   # Extract the first word of "strip", so it can be a program name with args.
4979 set dummy strip; ac_word=$2
4980 echo "$as_me:$LINENO: checking for $ac_word" >&5
4981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4983   echo $ECHO_N "(cached) $ECHO_C" >&6
4984 else
4985   if test -n "$ac_ct_STRIP"; then
4986   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4990 do
4991   IFS=$as_save_IFS
4992   test -z "$as_dir" && as_dir=.
4993   for ac_exec_ext in '' $ac_executable_extensions; do
4994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995     ac_cv_prog_ac_ct_STRIP="strip"
4996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4997     break 2
4998   fi
4999 done
5000 done
5001
5002   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5003 fi
5004 fi
5005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5006 if test -n "$ac_ct_STRIP"; then
5007   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5008 echo "${ECHO_T}$ac_ct_STRIP" >&6
5009 else
5010   echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5012 fi
5013
5014   STRIP=$ac_ct_STRIP
5015 else
5016   STRIP="$ac_cv_prog_STRIP"
5017 fi
5018
5019 test -z "$STRIP" && STRIP=:
5020
5021
5022
5023
5024
5025
5026 if test -n "$ac_tool_prefix"; then
5027   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5029 echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5031 if test "${ac_cv_prog_RANLIB+set}" = set; then
5032   echo $ECHO_N "(cached) $ECHO_C" >&6
5033 else
5034   if test -n "$RANLIB"; then
5035   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5039 do
5040   IFS=$as_save_IFS
5041   test -z "$as_dir" && as_dir=.
5042   for ac_exec_ext in '' $ac_executable_extensions; do
5043   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5045     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5046     break 2
5047   fi
5048 done
5049 done
5050
5051 fi
5052 fi
5053 RANLIB=$ac_cv_prog_RANLIB
5054 if test -n "$RANLIB"; then
5055   echo "$as_me:$LINENO: result: $RANLIB" >&5
5056 echo "${ECHO_T}$RANLIB" >&6
5057 else
5058   echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5060 fi
5061
5062 fi
5063 if test -z "$ac_cv_prog_RANLIB"; then
5064   ac_ct_RANLIB=$RANLIB
5065   # Extract the first word of "ranlib", so it can be a program name with args.
5066 set dummy ranlib; ac_word=$2
5067 echo "$as_me:$LINENO: checking for $ac_word" >&5
5068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5069 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5070   echo $ECHO_N "(cached) $ECHO_C" >&6
5071 else
5072   if test -n "$ac_ct_RANLIB"; then
5073   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5077 do
5078   IFS=$as_save_IFS
5079   test -z "$as_dir" && as_dir=.
5080   for ac_exec_ext in '' $ac_executable_extensions; do
5081   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082     ac_cv_prog_ac_ct_RANLIB="ranlib"
5083     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5084     break 2
5085   fi
5086 done
5087 done
5088
5089   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5090 fi
5091 fi
5092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5093 if test -n "$ac_ct_RANLIB"; then
5094   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5095 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5096 else
5097   echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6
5099 fi
5100
5101   RANLIB=$ac_ct_RANLIB
5102 else
5103   RANLIB="$ac_cv_prog_RANLIB"
5104 fi
5105
5106 test -z "$RANLIB" && RANLIB=:
5107
5108
5109
5110
5111
5112
5113 # Determine commands to create old-style static archives.
5114 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5115 old_postinstall_cmds='chmod 644 $oldlib'
5116 old_postuninstall_cmds=
5117
5118 if test -n "$RANLIB"; then
5119   case $host_os in
5120   openbsd*)
5121     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5122     ;;
5123   *)
5124     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5125     ;;
5126   esac
5127   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5128 fi
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163 # If no C compiler was specified, use CC.
5164 LTCC=${LTCC-"$CC"}
5165
5166 # If no C compiler flags were specified, use CFLAGS.
5167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5168
5169 # Allow CC to be a program name with arguments.
5170 compiler=$CC
5171
5172
5173 # Check for command to grab the raw symbol name followed by C symbol from nm.
5174 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5175 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5176 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5177   echo $ECHO_N "(cached) $ECHO_C" >&6
5178 else
5179
5180 # These are sane defaults that work on at least a few old systems.
5181 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5182
5183 # Character class describing NM global symbol codes.
5184 symcode='[BCDEGRST]'
5185
5186 # Regexp to match symbols that can be accessed directly from C.
5187 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5188
5189 # Define system-specific variables.
5190 case $host_os in
5191 aix*)
5192   symcode='[BCDT]'
5193   ;;
5194 cygwin* | mingw* | pw32* | cegcc*)
5195   symcode='[ABCDGISTW]'
5196   ;;
5197 hpux*)
5198   if test "$host_cpu" = ia64; then
5199     symcode='[ABCDEGRST]'
5200   fi
5201   ;;
5202 irix* | nonstopux*)
5203   symcode='[BCDEGRST]'
5204   ;;
5205 osf*)
5206   symcode='[BCDEGQRST]'
5207   ;;
5208 solaris*)
5209   symcode='[BDRT]'
5210   ;;
5211 sco3.2v5*)
5212   symcode='[DT]'
5213   ;;
5214 sysv4.2uw2*)
5215   symcode='[DT]'
5216   ;;
5217 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5218   symcode='[ABDT]'
5219   ;;
5220 sysv4)
5221   symcode='[DFNSTU]'
5222   ;;
5223 esac
5224
5225 # If we're using GNU nm, then use its standard symbol codes.
5226 case `$NM -V 2>&1` in
5227 *GNU* | *'with BFD'*)
5228   symcode='[ABCDGIRSTW]' ;;
5229 esac
5230
5231 # Transform an extracted symbol line into a proper C declaration.
5232 # Some systems (esp. on ia64) link data and code symbols differently,
5233 # so use this general approach.
5234 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5235
5236 # Transform an extracted symbol line into symbol name and symbol address
5237 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5239
5240 # Handle CRLF in mingw tool chain
5241 opt_cr=
5242 case $build_os in
5243 mingw*)
5244   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5245   ;;
5246 esac
5247
5248 # Try without a prefix underscore, then with it.
5249 for ac_symprfx in "" "_"; do
5250
5251   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5252   symxfrm="\\1 $ac_symprfx\\2 \\2"
5253
5254   # Write the raw and C identifiers.
5255   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5256     # Fake it for dumpbin and say T for any non-static function
5257     # and D for any global variable.
5258     # Also find C++ and __fastcall symbols from MSVC++,
5259     # which start with @ or ?.
5260     lt_cv_sys_global_symbol_pipe="$AWK '"\
5261 "     {last_section=section; section=\$ 3};"\
5262 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5263 "     \$ 0!~/External *\|/{next};"\
5264 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5265 "     {if(hide[section]) next};"\
5266 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5267 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5268 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5269 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5270 "     ' prfx=^$ac_symprfx"
5271   else
5272     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5273   fi
5274
5275   # Check to see that the pipe works correctly.
5276   pipe_works=no
5277
5278   rm -f conftest*
5279   cat > conftest.$ac_ext <<_LT_EOF
5280 #ifdef __cplusplus
5281 extern "C" {
5282 #endif
5283 char nm_test_var;
5284 void nm_test_func(void);
5285 void nm_test_func(void){}
5286 #ifdef __cplusplus
5287 }
5288 #endif
5289 int main(){nm_test_var='a';nm_test_func();return(0);}
5290 _LT_EOF
5291
5292   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293   (eval $ac_compile) 2>&5
5294   ac_status=$?
5295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296   (exit $ac_status); }; then
5297     # Now try to grab the symbols.
5298     nlist=conftest.nm
5299     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5300   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5301   ac_status=$?
5302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303   (exit $ac_status); } && test -s "$nlist"; then
5304       # Try sorting and uniquifying the output.
5305       if sort "$nlist" | uniq > "$nlist"T; then
5306         mv -f "$nlist"T "$nlist"
5307       else
5308         rm -f "$nlist"T
5309       fi
5310
5311       # Make sure that we snagged all the symbols we need.
5312       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5313         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5314           cat <<_LT_EOF > conftest.$ac_ext
5315 #ifdef __cplusplus
5316 extern "C" {
5317 #endif
5318
5319 _LT_EOF
5320           # Now generate the symbol file.
5321           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5322
5323           cat <<_LT_EOF >> conftest.$ac_ext
5324
5325 /* The mapping between symbol names and symbols.  */
5326 const struct {
5327   const char *name;
5328   void       *address;
5329 }
5330 lt__PROGRAM__LTX_preloaded_symbols[] =
5331 {
5332   { "@PROGRAM@", (void *) 0 },
5333 _LT_EOF
5334           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5335           cat <<\_LT_EOF >> conftest.$ac_ext
5336   {0, (void *) 0}
5337 };
5338
5339 /* This works around a problem in FreeBSD linker */
5340 #ifdef FREEBSD_WORKAROUND
5341 static const void *lt_preloaded_setup() {
5342   return lt__PROGRAM__LTX_preloaded_symbols;
5343 }
5344 #endif
5345
5346 #ifdef __cplusplus
5347 }
5348 #endif
5349 _LT_EOF
5350           # Now try linking the two files.
5351           mv conftest.$ac_objext conftstm.$ac_objext
5352           lt_save_LIBS="$LIBS"
5353           lt_save_CFLAGS="$CFLAGS"
5354           LIBS="conftstm.$ac_objext"
5355           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5356           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5357   (eval $ac_link) 2>&5
5358   ac_status=$?
5359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5361             pipe_works=yes
5362           fi
5363           LIBS="$lt_save_LIBS"
5364           CFLAGS="$lt_save_CFLAGS"
5365         else
5366           echo "cannot find nm_test_func in $nlist" >&5
5367         fi
5368       else
5369         echo "cannot find nm_test_var in $nlist" >&5
5370       fi
5371     else
5372       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5373     fi
5374   else
5375     echo "$progname: failed program was:" >&5
5376     cat conftest.$ac_ext >&5
5377   fi
5378   rm -rf conftest* conftst*
5379
5380   # Do not use the global_symbol_pipe unless it works.
5381   if test "$pipe_works" = yes; then
5382     break
5383   else
5384     lt_cv_sys_global_symbol_pipe=
5385   fi
5386 done
5387
5388 fi
5389
5390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5391   lt_cv_sys_global_symbol_to_cdecl=
5392 fi
5393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5394   echo "$as_me:$LINENO: result: failed" >&5
5395 echo "${ECHO_T}failed" >&6
5396 else
5397   echo "$as_me:$LINENO: result: ok" >&5
5398 echo "${ECHO_T}ok" >&6
5399 fi
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5423 if test "${enable_libtool_lock+set}" = set; then
5424   enableval="$enable_libtool_lock"
5425
5426 fi;
5427 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5428
5429 # Some flags need to be propagated to the compiler or linker for good
5430 # libtool support.
5431 case $host in
5432 ia64-*-hpux*)
5433   # Find out which ABI we are using.
5434   echo 'int i;' > conftest.$ac_ext
5435   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436   (eval $ac_compile) 2>&5
5437   ac_status=$?
5438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439   (exit $ac_status); }; then
5440     case `/usr/bin/file conftest.$ac_objext` in
5441       *ELF-32*)
5442         HPUX_IA64_MODE="32"
5443         ;;
5444       *ELF-64*)
5445         HPUX_IA64_MODE="64"
5446         ;;
5447     esac
5448   fi
5449   rm -rf conftest*
5450   ;;
5451 *-*-irix6*)
5452   # Find out which ABI we are using.
5453   echo '#line 5453 "configure"' > conftest.$ac_ext
5454   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455   (eval $ac_compile) 2>&5
5456   ac_status=$?
5457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458   (exit $ac_status); }; then
5459     if test "$lt_cv_prog_gnu_ld" = yes; then
5460       case `/usr/bin/file conftest.$ac_objext` in
5461         *32-bit*)
5462           LD="${LD-ld} -melf32bsmip"
5463           ;;
5464         *N32*)
5465           LD="${LD-ld} -melf32bmipn32"
5466           ;;
5467         *64-bit*)
5468           LD="${LD-ld} -melf64bmip"
5469         ;;
5470       esac
5471     else
5472       case `/usr/bin/file conftest.$ac_objext` in
5473         *32-bit*)
5474           LD="${LD-ld} -32"
5475           ;;
5476         *N32*)
5477           LD="${LD-ld} -n32"
5478           ;;
5479         *64-bit*)
5480           LD="${LD-ld} -64"
5481           ;;
5482       esac
5483     fi
5484   fi
5485   rm -rf conftest*
5486   ;;
5487
5488 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5489 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5490   # Find out which ABI we are using.
5491   echo 'int i;' > conftest.$ac_ext
5492   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493   (eval $ac_compile) 2>&5
5494   ac_status=$?
5495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496   (exit $ac_status); }; then
5497     case `/usr/bin/file conftest.o` in
5498       *32-bit*)
5499         case $host in
5500           x86_64-*kfreebsd*-gnu)
5501             LD="${LD-ld} -m elf_i386_fbsd"
5502             ;;
5503           x86_64-*linux*)
5504             LD="${LD-ld} -m elf_i386"
5505             ;;
5506           ppc64-*linux*|powerpc64-*linux*)
5507             LD="${LD-ld} -m elf32ppclinux"
5508             ;;
5509           s390x-*linux*)
5510             LD="${LD-ld} -m elf_s390"
5511             ;;
5512           sparc64-*linux*)
5513             LD="${LD-ld} -m elf32_sparc"
5514             ;;
5515         esac
5516         ;;
5517       *64-bit*)
5518         case $host in
5519           x86_64-*kfreebsd*-gnu)
5520             LD="${LD-ld} -m elf_x86_64_fbsd"
5521             ;;
5522           x86_64-*linux*)
5523             LD="${LD-ld} -m elf_x86_64"
5524             ;;
5525           ppc*-*linux*|powerpc*-*linux*)
5526             LD="${LD-ld} -m elf64ppc"
5527             ;;
5528           s390*-*linux*|s390*-*tpf*)
5529             LD="${LD-ld} -m elf64_s390"
5530             ;;
5531           sparc*-*linux*)
5532             LD="${LD-ld} -m elf64_sparc"
5533             ;;
5534         esac
5535         ;;
5536     esac
5537   fi
5538   rm -rf conftest*
5539   ;;
5540
5541 *-*-sco3.2v5*)
5542   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5543   SAVE_CFLAGS="$CFLAGS"
5544   CFLAGS="$CFLAGS -belf"
5545   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5546 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5547 if test "${lt_cv_cc_needs_belf+set}" = set; then
5548   echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550   ac_ext=c
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555
5556      if test x$gcc_no_link = xyes; then
5557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5559    { (exit 1); exit 1; }; }
5560 fi
5561 cat >conftest.$ac_ext <<_ACEOF
5562 /* confdefs.h.  */
5563 _ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h.  */
5567
5568 int
5569 main ()
5570 {
5571
5572   ;
5573   return 0;
5574 }
5575 _ACEOF
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5578   (eval $ac_link) 2>conftest.er1
5579   ac_status=$?
5580   grep -v '^ *+' conftest.er1 >conftest.err
5581   rm -f conftest.er1
5582   cat conftest.err >&5
5583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584   (exit $ac_status); } &&
5585          { ac_try='test -z "$ac_c_werror_flag"
5586                          || test ! -s conftest.err'
5587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588   (eval $ac_try) 2>&5
5589   ac_status=$?
5590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591   (exit $ac_status); }; } &&
5592          { ac_try='test -s conftest$ac_exeext'
5593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594   (eval $ac_try) 2>&5
5595   ac_status=$?
5596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597   (exit $ac_status); }; }; then
5598   lt_cv_cc_needs_belf=yes
5599 else
5600   echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5602
5603 lt_cv_cc_needs_belf=no
5604 fi
5605 rm -f conftest.err conftest.$ac_objext \
5606       conftest$ac_exeext conftest.$ac_ext
5607      ac_ext=c
5608 ac_cpp='$CPP $CPPFLAGS'
5609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5612
5613 fi
5614 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5615 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5616   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5617     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5618     CFLAGS="$SAVE_CFLAGS"
5619   fi
5620   ;;
5621 sparc*-*solaris*)
5622   # Find out which ABI we are using.
5623   echo 'int i;' > conftest.$ac_ext
5624   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625   (eval $ac_compile) 2>&5
5626   ac_status=$?
5627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628   (exit $ac_status); }; then
5629     case `/usr/bin/file conftest.o` in
5630     *64-bit*)
5631       case $lt_cv_prog_gnu_ld in
5632       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5633       *)
5634         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5635           LD="${LD-ld} -64"
5636         fi
5637         ;;
5638       esac
5639       ;;
5640     esac
5641   fi
5642   rm -rf conftest*
5643   ;;
5644 esac
5645
5646 need_locks="$enable_libtool_lock"
5647
5648
5649   case $host_os in
5650     rhapsody* | darwin*)
5651     if test -n "$ac_tool_prefix"; then
5652   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5654 echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5656 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5657   echo $ECHO_N "(cached) $ECHO_C" >&6
5658 else
5659   if test -n "$DSYMUTIL"; then
5660   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5664 do
5665   IFS=$as_save_IFS
5666   test -z "$as_dir" && as_dir=.
5667   for ac_exec_ext in '' $ac_executable_extensions; do
5668   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5670     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671     break 2
5672   fi
5673 done
5674 done
5675
5676 fi
5677 fi
5678 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5679 if test -n "$DSYMUTIL"; then
5680   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5681 echo "${ECHO_T}$DSYMUTIL" >&6
5682 else
5683   echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5685 fi
5686
5687 fi
5688 if test -z "$ac_cv_prog_DSYMUTIL"; then
5689   ac_ct_DSYMUTIL=$DSYMUTIL
5690   # Extract the first word of "dsymutil", so it can be a program name with args.
5691 set dummy dsymutil; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5695   echo $ECHO_N "(cached) $ECHO_C" >&6
5696 else
5697   if test -n "$ac_ct_DSYMUTIL"; then
5698   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5699 else
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5702 do
5703   IFS=$as_save_IFS
5704   test -z "$as_dir" && as_dir=.
5705   for ac_exec_ext in '' $ac_executable_extensions; do
5706   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5708     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5709     break 2
5710   fi
5711 done
5712 done
5713
5714   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5715 fi
5716 fi
5717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5718 if test -n "$ac_ct_DSYMUTIL"; then
5719   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5720 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5721 else
5722   echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726   DSYMUTIL=$ac_ct_DSYMUTIL
5727 else
5728   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5729 fi
5730
5731     if test -n "$ac_tool_prefix"; then
5732   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5733 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5734 echo "$as_me:$LINENO: checking for $ac_word" >&5
5735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5736 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5737   echo $ECHO_N "(cached) $ECHO_C" >&6
5738 else
5739   if test -n "$NMEDIT"; then
5740   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745   IFS=$as_save_IFS
5746   test -z "$as_dir" && as_dir=.
5747   for ac_exec_ext in '' $ac_executable_extensions; do
5748   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5751     break 2
5752   fi
5753 done
5754 done
5755
5756 fi
5757 fi
5758 NMEDIT=$ac_cv_prog_NMEDIT
5759 if test -n "$NMEDIT"; then
5760   echo "$as_me:$LINENO: result: $NMEDIT" >&5
5761 echo "${ECHO_T}$NMEDIT" >&6
5762 else
5763   echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767 fi
5768 if test -z "$ac_cv_prog_NMEDIT"; then
5769   ac_ct_NMEDIT=$NMEDIT
5770   # Extract the first word of "nmedit", so it can be a program name with args.
5771 set dummy nmedit; ac_word=$2
5772 echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5774 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5775   echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777   if test -n "$ac_ct_NMEDIT"; then
5778   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783   IFS=$as_save_IFS
5784   test -z "$as_dir" && as_dir=.
5785   for ac_exec_ext in '' $ac_executable_extensions; do
5786   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787     ac_cv_prog_ac_ct_NMEDIT="nmedit"
5788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789     break 2
5790   fi
5791 done
5792 done
5793
5794   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5795 fi
5796 fi
5797 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5798 if test -n "$ac_ct_NMEDIT"; then
5799   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5800 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5801 else
5802   echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5804 fi
5805
5806   NMEDIT=$ac_ct_NMEDIT
5807 else
5808   NMEDIT="$ac_cv_prog_NMEDIT"
5809 fi
5810
5811     if test -n "$ac_tool_prefix"; then
5812   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5814 echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5816 if test "${ac_cv_prog_LIPO+set}" = set; then
5817   echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819   if test -n "$LIPO"; then
5820   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5824 do
5825   IFS=$as_save_IFS
5826   test -z "$as_dir" && as_dir=.
5827   for ac_exec_ext in '' $ac_executable_extensions; do
5828   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5830     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831     break 2
5832   fi
5833 done
5834 done
5835
5836 fi
5837 fi
5838 LIPO=$ac_cv_prog_LIPO
5839 if test -n "$LIPO"; then
5840   echo "$as_me:$LINENO: result: $LIPO" >&5
5841 echo "${ECHO_T}$LIPO" >&6
5842 else
5843   echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5845 fi
5846
5847 fi
5848 if test -z "$ac_cv_prog_LIPO"; then
5849   ac_ct_LIPO=$LIPO
5850   # Extract the first word of "lipo", so it can be a program name with args.
5851 set dummy lipo; ac_word=$2
5852 echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5854 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5855   echo $ECHO_N "(cached) $ECHO_C" >&6
5856 else
5857   if test -n "$ac_ct_LIPO"; then
5858   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5862 do
5863   IFS=$as_save_IFS
5864   test -z "$as_dir" && as_dir=.
5865   for ac_exec_ext in '' $ac_executable_extensions; do
5866   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867     ac_cv_prog_ac_ct_LIPO="lipo"
5868     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869     break 2
5870   fi
5871 done
5872 done
5873
5874   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5875 fi
5876 fi
5877 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5878 if test -n "$ac_ct_LIPO"; then
5879   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5880 echo "${ECHO_T}$ac_ct_LIPO" >&6
5881 else
5882   echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5884 fi
5885
5886   LIPO=$ac_ct_LIPO
5887 else
5888   LIPO="$ac_cv_prog_LIPO"
5889 fi
5890
5891     if test -n "$ac_tool_prefix"; then
5892   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}otool; ac_word=$2
5894 echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5896 if test "${ac_cv_prog_OTOOL+set}" = set; then
5897   echo $ECHO_N "(cached) $ECHO_C" >&6
5898 else
5899   if test -n "$OTOOL"; then
5900   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5904 do
5905   IFS=$as_save_IFS
5906   test -z "$as_dir" && as_dir=.
5907   for ac_exec_ext in '' $ac_executable_extensions; do
5908   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911     break 2
5912   fi
5913 done
5914 done
5915
5916 fi
5917 fi
5918 OTOOL=$ac_cv_prog_OTOOL
5919 if test -n "$OTOOL"; then
5920   echo "$as_me:$LINENO: result: $OTOOL" >&5
5921 echo "${ECHO_T}$OTOOL" >&6
5922 else
5923   echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5925 fi
5926
5927 fi
5928 if test -z "$ac_cv_prog_OTOOL"; then
5929   ac_ct_OTOOL=$OTOOL
5930   # Extract the first word of "otool", so it can be a program name with args.
5931 set dummy otool; ac_word=$2
5932 echo "$as_me:$LINENO: checking for $ac_word" >&5
5933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5934 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5935   echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937   if test -n "$ac_ct_OTOOL"; then
5938   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5942 do
5943   IFS=$as_save_IFS
5944   test -z "$as_dir" && as_dir=.
5945   for ac_exec_ext in '' $ac_executable_extensions; do
5946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947     ac_cv_prog_ac_ct_OTOOL="otool"
5948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5949     break 2
5950   fi
5951 done
5952 done
5953
5954   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5955 fi
5956 fi
5957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5958 if test -n "$ac_ct_OTOOL"; then
5959   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5960 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5961 else
5962   echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5964 fi
5965
5966   OTOOL=$ac_ct_OTOOL
5967 else
5968   OTOOL="$ac_cv_prog_OTOOL"
5969 fi
5970
5971     if test -n "$ac_tool_prefix"; then
5972   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5974 echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5976 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5977   echo $ECHO_N "(cached) $ECHO_C" >&6
5978 else
5979   if test -n "$OTOOL64"; then
5980   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5984 do
5985   IFS=$as_save_IFS
5986   test -z "$as_dir" && as_dir=.
5987   for ac_exec_ext in '' $ac_executable_extensions; do
5988   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5991     break 2
5992   fi
5993 done
5994 done
5995
5996 fi
5997 fi
5998 OTOOL64=$ac_cv_prog_OTOOL64
5999 if test -n "$OTOOL64"; then
6000   echo "$as_me:$LINENO: result: $OTOOL64" >&5
6001 echo "${ECHO_T}$OTOOL64" >&6
6002 else
6003   echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007 fi
6008 if test -z "$ac_cv_prog_OTOOL64"; then
6009   ac_ct_OTOOL64=$OTOOL64
6010   # Extract the first word of "otool64", so it can be a program name with args.
6011 set dummy otool64; ac_word=$2
6012 echo "$as_me:$LINENO: checking for $ac_word" >&5
6013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6014 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6015   echo $ECHO_N "(cached) $ECHO_C" >&6
6016 else
6017   if test -n "$ac_ct_OTOOL64"; then
6018   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6022 do
6023   IFS=$as_save_IFS
6024   test -z "$as_dir" && as_dir=.
6025   for ac_exec_ext in '' $ac_executable_extensions; do
6026   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027     ac_cv_prog_ac_ct_OTOOL64="otool64"
6028     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029     break 2
6030   fi
6031 done
6032 done
6033
6034   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6035 fi
6036 fi
6037 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6038 if test -n "$ac_ct_OTOOL64"; then
6039   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6040 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6041 else
6042   echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046   OTOOL64=$ac_ct_OTOOL64
6047 else
6048   OTOOL64="$ac_cv_prog_OTOOL64"
6049 fi
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6078 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6079 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6080   echo $ECHO_N "(cached) $ECHO_C" >&6
6081 else
6082   lt_cv_apple_cc_single_mod=no
6083       if test -z "${LT_MULTI_MODULE}"; then
6084         # By default we will add the -single_module flag. You can override
6085         # by either setting the environment variable LT_MULTI_MODULE
6086         # non-empty at configure time, or by adding -multi_module to the
6087         # link flags.
6088         rm -rf libconftest.dylib*
6089         echo "int foo(void){return 1;}" > conftest.c
6090         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6091 -dynamiclib -Wl,-single_module conftest.c" >&5
6092         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6093           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6094         _lt_result=$?
6095         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6096           lt_cv_apple_cc_single_mod=yes
6097         else
6098           cat conftest.err >&5
6099         fi
6100         rm -rf libconftest.dylib*
6101         rm -f conftest.*
6102       fi
6103 fi
6104 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6105 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6106     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6107 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6108 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6109   echo $ECHO_N "(cached) $ECHO_C" >&6
6110 else
6111   lt_cv_ld_exported_symbols_list=no
6112       save_LDFLAGS=$LDFLAGS
6113       echo "_main" > conftest.sym
6114       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6115       if test x$gcc_no_link = xyes; then
6116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6118    { (exit 1); exit 1; }; }
6119 fi
6120 cat >conftest.$ac_ext <<_ACEOF
6121 /* confdefs.h.  */
6122 _ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h.  */
6126
6127 int
6128 main ()
6129 {
6130
6131   ;
6132   return 0;
6133 }
6134 _ACEOF
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137   (eval $ac_link) 2>conftest.er1
6138   ac_status=$?
6139   grep -v '^ *+' conftest.er1 >conftest.err
6140   rm -f conftest.er1
6141   cat conftest.err >&5
6142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143   (exit $ac_status); } &&
6144          { ac_try='test -z "$ac_c_werror_flag"
6145                          || test ! -s conftest.err'
6146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147   (eval $ac_try) 2>&5
6148   ac_status=$?
6149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150   (exit $ac_status); }; } &&
6151          { ac_try='test -s conftest$ac_exeext'
6152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153   (eval $ac_try) 2>&5
6154   ac_status=$?
6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156   (exit $ac_status); }; }; then
6157   lt_cv_ld_exported_symbols_list=yes
6158 else
6159   echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6161
6162 lt_cv_ld_exported_symbols_list=no
6163 fi
6164 rm -f conftest.err conftest.$ac_objext \
6165       conftest$ac_exeext conftest.$ac_ext
6166         LDFLAGS="$save_LDFLAGS"
6167
6168 fi
6169 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6170 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6171     case $host_os in
6172     rhapsody* | darwin1.[012])
6173       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6174     darwin1.*)
6175       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6176     darwin*) # darwin 5.x on
6177       # if running on 10.5 or later, the deployment target defaults
6178       # to the OS version, if on x86, and 10.4, the deployment
6179       # target defaults to 10.4. Don't you love it?
6180       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6181         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6182           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6183         10.[012]*)
6184           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6185         10.*)
6186           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6187       esac
6188     ;;
6189   esac
6190     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6191       _lt_dar_single_mod='$single_module'
6192     fi
6193     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6194       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6195     else
6196       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6197     fi
6198     if test "$DSYMUTIL" != ":"; then
6199       _lt_dsymutil='~$DSYMUTIL $lib || :'
6200     else
6201       _lt_dsymutil=
6202     fi
6203     ;;
6204   esac
6205
6206 ac_ext=c
6207 ac_cpp='$CPP $CPPFLAGS'
6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6212 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6213 # On Suns, sometimes $CPP names a directory.
6214 if test -n "$CPP" && test -d "$CPP"; then
6215   CPP=
6216 fi
6217 if test -z "$CPP"; then
6218   if test "${ac_cv_prog_CPP+set}" = set; then
6219   echo $ECHO_N "(cached) $ECHO_C" >&6
6220 else
6221       # Double quotes because CPP needs to be expanded
6222     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6223     do
6224       ac_preproc_ok=false
6225 for ac_c_preproc_warn_flag in '' yes
6226 do
6227   # Use a header file that comes with gcc, so configuring glibc
6228   # with a fresh cross-compiler works.
6229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6230   # <limits.h> exists even on freestanding compilers.
6231   # On the NeXT, cc -E runs the code through the compiler's parser,
6232   # not just through cpp. "Syntax error" is here to catch this case.
6233   cat >conftest.$ac_ext <<_ACEOF
6234 /* confdefs.h.  */
6235 _ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h.  */
6239 #ifdef __STDC__
6240 # include <limits.h>
6241 #else
6242 # include <assert.h>
6243 #endif
6244                      Syntax error
6245 _ACEOF
6246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6247   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6248   ac_status=$?
6249   grep -v '^ *+' conftest.er1 >conftest.err
6250   rm -f conftest.er1
6251   cat conftest.err >&5
6252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253   (exit $ac_status); } >/dev/null; then
6254   if test -s conftest.err; then
6255     ac_cpp_err=$ac_c_preproc_warn_flag
6256     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6257   else
6258     ac_cpp_err=
6259   fi
6260 else
6261   ac_cpp_err=yes
6262 fi
6263 if test -z "$ac_cpp_err"; then
6264   :
6265 else
6266   echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6268
6269   # Broken: fails on valid input.
6270 continue
6271 fi
6272 rm -f conftest.err conftest.$ac_ext
6273
6274   # OK, works on sane cases.  Now check whether non-existent headers
6275   # can be detected and how.
6276   cat >conftest.$ac_ext <<_ACEOF
6277 /* confdefs.h.  */
6278 _ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h.  */
6282 #include <ac_nonexistent.h>
6283 _ACEOF
6284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6285   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6286   ac_status=$?
6287   grep -v '^ *+' conftest.er1 >conftest.err
6288   rm -f conftest.er1
6289   cat conftest.err >&5
6290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); } >/dev/null; then
6292   if test -s conftest.err; then
6293     ac_cpp_err=$ac_c_preproc_warn_flag
6294     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6295   else
6296     ac_cpp_err=
6297   fi
6298 else
6299   ac_cpp_err=yes
6300 fi
6301 if test -z "$ac_cpp_err"; then
6302   # Broken: success on invalid input.
6303 continue
6304 else
6305   echo "$as_me: failed program was:" >&5
6306 sed 's/^/| /' conftest.$ac_ext >&5
6307
6308   # Passes both tests.
6309 ac_preproc_ok=:
6310 break
6311 fi
6312 rm -f conftest.err conftest.$ac_ext
6313
6314 done
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.err conftest.$ac_ext
6317 if $ac_preproc_ok; then
6318   break
6319 fi
6320
6321     done
6322     ac_cv_prog_CPP=$CPP
6323
6324 fi
6325   CPP=$ac_cv_prog_CPP
6326 else
6327   ac_cv_prog_CPP=$CPP
6328 fi
6329 echo "$as_me:$LINENO: result: $CPP" >&5
6330 echo "${ECHO_T}$CPP" >&6
6331 ac_preproc_ok=false
6332 for ac_c_preproc_warn_flag in '' yes
6333 do
6334   # Use a header file that comes with gcc, so configuring glibc
6335   # with a fresh cross-compiler works.
6336   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337   # <limits.h> exists even on freestanding compilers.
6338   # On the NeXT, cc -E runs the code through the compiler's parser,
6339   # not just through cpp. "Syntax error" is here to catch this case.
6340   cat >conftest.$ac_ext <<_ACEOF
6341 /* confdefs.h.  */
6342 _ACEOF
6343 cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h.  */
6346 #ifdef __STDC__
6347 # include <limits.h>
6348 #else
6349 # include <assert.h>
6350 #endif
6351                      Syntax error
6352 _ACEOF
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6354   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6355   ac_status=$?
6356   grep -v '^ *+' conftest.er1 >conftest.err
6357   rm -f conftest.er1
6358   cat conftest.err >&5
6359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360   (exit $ac_status); } >/dev/null; then
6361   if test -s conftest.err; then
6362     ac_cpp_err=$ac_c_preproc_warn_flag
6363     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6364   else
6365     ac_cpp_err=
6366   fi
6367 else
6368   ac_cpp_err=yes
6369 fi
6370 if test -z "$ac_cpp_err"; then
6371   :
6372 else
6373   echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6375
6376   # Broken: fails on valid input.
6377 continue
6378 fi
6379 rm -f conftest.err conftest.$ac_ext
6380
6381   # OK, works on sane cases.  Now check whether non-existent headers
6382   # can be detected and how.
6383   cat >conftest.$ac_ext <<_ACEOF
6384 /* confdefs.h.  */
6385 _ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h.  */
6389 #include <ac_nonexistent.h>
6390 _ACEOF
6391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6392   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6393   ac_status=$?
6394   grep -v '^ *+' conftest.er1 >conftest.err
6395   rm -f conftest.er1
6396   cat conftest.err >&5
6397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398   (exit $ac_status); } >/dev/null; then
6399   if test -s conftest.err; then
6400     ac_cpp_err=$ac_c_preproc_warn_flag
6401     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6402   else
6403     ac_cpp_err=
6404   fi
6405 else
6406   ac_cpp_err=yes
6407 fi
6408 if test -z "$ac_cpp_err"; then
6409   # Broken: success on invalid input.
6410 continue
6411 else
6412   echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6414
6415   # Passes both tests.
6416 ac_preproc_ok=:
6417 break
6418 fi
6419 rm -f conftest.err conftest.$ac_ext
6420
6421 done
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then
6425   :
6426 else
6427   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6428 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6429 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6430 See \`config.log' for more details." >&5
6431 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details." >&2;}
6433    { (exit 1); exit 1; }; }; }
6434 fi
6435
6436 ac_ext=c
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6441
6442
6443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6445 if test "${ac_cv_header_stdc+set}" = set; then
6446   echo $ECHO_N "(cached) $ECHO_C" >&6
6447 else
6448   cat >conftest.$ac_ext <<_ACEOF
6449 /* confdefs.h.  */
6450 _ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h.  */
6454 #include <stdlib.h>
6455 #include <stdarg.h>
6456 #include <string.h>
6457 #include <float.h>
6458
6459 int
6460 main ()
6461 {
6462
6463   ;
6464   return 0;
6465 }
6466 _ACEOF
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469   (eval $ac_compile) 2>conftest.er1
6470   ac_status=$?
6471   grep -v '^ *+' conftest.er1 >conftest.err
6472   rm -f conftest.er1
6473   cat conftest.err >&5
6474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475   (exit $ac_status); } &&
6476          { ac_try='test -z "$ac_c_werror_flag"
6477                          || test ! -s conftest.err'
6478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479   (eval $ac_try) 2>&5
6480   ac_status=$?
6481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482   (exit $ac_status); }; } &&
6483          { ac_try='test -s conftest.$ac_objext'
6484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485   (eval $ac_try) 2>&5
6486   ac_status=$?
6487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488   (exit $ac_status); }; }; then
6489   ac_cv_header_stdc=yes
6490 else
6491   echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6493
6494 ac_cv_header_stdc=no
6495 fi
6496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6497
6498 if test $ac_cv_header_stdc = yes; then
6499   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6500   cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h.  */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h.  */
6506 #include <string.h>
6507
6508 _ACEOF
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510   $EGREP "memchr" >/dev/null 2>&1; then
6511   :
6512 else
6513   ac_cv_header_stdc=no
6514 fi
6515 rm -f conftest*
6516
6517 fi
6518
6519 if test $ac_cv_header_stdc = yes; then
6520   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6521   cat >conftest.$ac_ext <<_ACEOF
6522 /* confdefs.h.  */
6523 _ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h.  */
6527 #include <stdlib.h>
6528
6529 _ACEOF
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531   $EGREP "free" >/dev/null 2>&1; then
6532   :
6533 else
6534   ac_cv_header_stdc=no
6535 fi
6536 rm -f conftest*
6537
6538 fi
6539
6540 if test $ac_cv_header_stdc = yes; then
6541   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6542   if test "$cross_compiling" = yes; then
6543   :
6544 else
6545   cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h.  */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h.  */
6551 #include <ctype.h>
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6555 #else
6556 # define ISLOWER(c) \
6557                    (('a' <= (c) && (c) <= 'i') \
6558                      || ('j' <= (c) && (c) <= 'r') \
6559                      || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6561 #endif
6562
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6564 int
6565 main ()
6566 {
6567   int i;
6568   for (i = 0; i < 256; i++)
6569     if (XOR (islower (i), ISLOWER (i))
6570         || toupper (i) != TOUPPER (i))
6571       exit(2);
6572   exit (0);
6573 }
6574 _ACEOF
6575 rm -f conftest$ac_exeext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6577   (eval $ac_link) 2>&5
6578   ac_status=$?
6579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582   (eval $ac_try) 2>&5
6583   ac_status=$?
6584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585   (exit $ac_status); }; }; then
6586   :
6587 else
6588   echo "$as_me: program exited with status $ac_status" >&5
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6591
6592 ( exit $ac_status )
6593 ac_cv_header_stdc=no
6594 fi
6595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6596 fi
6597 fi
6598 fi
6599 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6600 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6601 if test $ac_cv_header_stdc = yes; then
6602
6603 cat >>confdefs.h <<\_ACEOF
6604 #define STDC_HEADERS 1
6605 _ACEOF
6606
6607 fi
6608
6609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6620                   inttypes.h stdint.h unistd.h
6621 do
6622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 echo "$as_me:$LINENO: checking for $ac_header" >&5
6624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6626   echo $ECHO_N "(cached) $ECHO_C" >&6
6627 else
6628   cat >conftest.$ac_ext <<_ACEOF
6629 /* confdefs.h.  */
6630 _ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h.  */
6634 $ac_includes_default
6635
6636 #include <$ac_header>
6637 _ACEOF
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640   (eval $ac_compile) 2>conftest.er1
6641   ac_status=$?
6642   grep -v '^ *+' conftest.er1 >conftest.err
6643   rm -f conftest.er1
6644   cat conftest.err >&5
6645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646   (exit $ac_status); } &&
6647          { ac_try='test -z "$ac_c_werror_flag"
6648                          || test ! -s conftest.err'
6649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650   (eval $ac_try) 2>&5
6651   ac_status=$?
6652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653   (exit $ac_status); }; } &&
6654          { ac_try='test -s conftest.$ac_objext'
6655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656   (eval $ac_try) 2>&5
6657   ac_status=$?
6658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659   (exit $ac_status); }; }; then
6660   eval "$as_ac_Header=yes"
6661 else
6662   echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.$ac_ext >&5
6664
6665 eval "$as_ac_Header=no"
6666 fi
6667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6668 fi
6669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6672   cat >>confdefs.h <<_ACEOF
6673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6674 _ACEOF
6675
6676 fi
6677
6678 done
6679
6680
6681
6682 for ac_header in dlfcn.h
6683 do
6684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 echo "$as_me:$LINENO: checking for $ac_header" >&5
6686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6688   echo $ECHO_N "(cached) $ECHO_C" >&6
6689 else
6690   cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h.  */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h.  */
6696 $ac_includes_default
6697
6698 #include <$ac_header>
6699 _ACEOF
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702   (eval $ac_compile) 2>conftest.er1
6703   ac_status=$?
6704   grep -v '^ *+' conftest.er1 >conftest.err
6705   rm -f conftest.er1
6706   cat conftest.err >&5
6707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708   (exit $ac_status); } &&
6709          { ac_try='test -z "$ac_c_werror_flag"
6710                          || test ! -s conftest.err'
6711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712   (eval $ac_try) 2>&5
6713   ac_status=$?
6714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715   (exit $ac_status); }; } &&
6716          { ac_try='test -s conftest.$ac_objext'
6717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6718   (eval $ac_try) 2>&5
6719   ac_status=$?
6720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721   (exit $ac_status); }; }; then
6722   eval "$as_ac_Header=yes"
6723 else
6724   echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6726
6727 eval "$as_ac_Header=no"
6728 fi
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6730 fi
6731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6734   cat >>confdefs.h <<_ACEOF
6735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6736 _ACEOF
6737
6738 fi
6739
6740 done
6741
6742
6743
6744 # Set options
6745
6746
6747
6748
6749   enable_win32_dll=no
6750
6751
6752             # Check whether --enable-shared or --disable-shared was given.
6753 if test "${enable_shared+set}" = set; then
6754   enableval="$enable_shared"
6755   p=${PACKAGE-default}
6756     case $enableval in
6757     yes) enable_shared=yes ;;
6758     no) enable_shared=no ;;
6759     *)
6760       enable_shared=no
6761       # Look at the argument we got.  We use all the common list separators.
6762       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6763       for pkg in $enableval; do
6764         IFS="$lt_save_ifs"
6765         if test "X$pkg" = "X$p"; then
6766           enable_shared=yes
6767         fi
6768       done
6769       IFS="$lt_save_ifs"
6770       ;;
6771     esac
6772 else
6773   enable_shared=yes
6774 fi;
6775
6776
6777
6778
6779
6780
6781
6782
6783   # Check whether --enable-static or --disable-static was given.
6784 if test "${enable_static+set}" = set; then
6785   enableval="$enable_static"
6786   p=${PACKAGE-default}
6787     case $enableval in
6788     yes) enable_static=yes ;;
6789     no) enable_static=no ;;
6790     *)
6791      enable_static=no
6792       # Look at the argument we got.  We use all the common list separators.
6793       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6794       for pkg in $enableval; do
6795         IFS="$lt_save_ifs"
6796         if test "X$pkg" = "X$p"; then
6797           enable_static=yes
6798         fi
6799       done
6800       IFS="$lt_save_ifs"
6801       ;;
6802     esac
6803 else
6804   enable_static=yes
6805 fi;
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815 # Check whether --with-pic or --without-pic was given.
6816 if test "${with_pic+set}" = set; then
6817   withval="$with_pic"
6818   pic_mode="$withval"
6819 else
6820   pic_mode=default
6821 fi;
6822
6823 test -z "$pic_mode" && pic_mode=default
6824
6825
6826
6827
6828
6829
6830
6831   # Check whether --enable-fast-install or --disable-fast-install was given.
6832 if test "${enable_fast_install+set}" = set; then
6833   enableval="$enable_fast_install"
6834   p=${PACKAGE-default}
6835     case $enableval in
6836     yes) enable_fast_install=yes ;;
6837     no) enable_fast_install=no ;;
6838     *)
6839       enable_fast_install=no
6840       # Look at the argument we got.  We use all the common list separators.
6841       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6842       for pkg in $enableval; do
6843         IFS="$lt_save_ifs"
6844         if test "X$pkg" = "X$p"; then
6845           enable_fast_install=yes
6846         fi
6847       done
6848       IFS="$lt_save_ifs"
6849       ;;
6850     esac
6851 else
6852   enable_fast_install=yes
6853 fi;
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864 # This can be used to rebuild libtool when needed
6865 LIBTOOL_DEPS="$ltmain"
6866
6867 # Always use our own libtool.
6868 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894 test -z "$LN_S" && LN_S="ln -s"
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909 if test -n "${ZSH_VERSION+set}" ; then
6910    setopt NO_GLOB_SUBST
6911 fi
6912
6913 echo "$as_me:$LINENO: checking for objdir" >&5
6914 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6915 if test "${lt_cv_objdir+set}" = set; then
6916   echo $ECHO_N "(cached) $ECHO_C" >&6
6917 else
6918   rm -f .libs 2>/dev/null
6919 mkdir .libs 2>/dev/null
6920 if test -d .libs; then
6921   lt_cv_objdir=.libs
6922 else
6923   # MS-DOS does not allow filenames that begin with a dot.
6924   lt_cv_objdir=_libs
6925 fi
6926 rmdir .libs 2>/dev/null
6927 fi
6928 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6929 echo "${ECHO_T}$lt_cv_objdir" >&6
6930 objdir=$lt_cv_objdir
6931
6932
6933
6934
6935
6936 cat >>confdefs.h <<_ACEOF
6937 #define LT_OBJDIR "$lt_cv_objdir/"
6938 _ACEOF
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956 case $host_os in
6957 aix3*)
6958   # AIX sometimes has problems with the GCC collect2 program.  For some
6959   # reason, if we set the COLLECT_NAMES environment variable, the problems
6960   # vanish in a puff of smoke.
6961   if test "X${COLLECT_NAMES+set}" != Xset; then
6962     COLLECT_NAMES=
6963     export COLLECT_NAMES
6964   fi
6965   ;;
6966 esac
6967
6968 # Sed substitution that helps us do robust quoting.  It backslashifies
6969 # metacharacters that are still active within double-quoted strings.
6970 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6971
6972 # Same as above, but do not quote variable references.
6973 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6974
6975 # Sed substitution to delay expansion of an escaped shell variable in a
6976 # double_quote_subst'ed string.
6977 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6978
6979 # Sed substitution to delay expansion of an escaped single quote.
6980 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6981
6982 # Sed substitution to avoid accidental globbing in evaled expressions
6983 no_glob_subst='s/\*/\\\*/g'
6984
6985 # Global variables:
6986 ofile=libtool
6987 can_build_shared=yes
6988
6989 # All known linkers require a `.a' archive for static linking (except MSVC,
6990 # which needs '.lib').
6991 libext=a
6992
6993 with_gnu_ld="$lt_cv_prog_gnu_ld"
6994
6995 old_CC="$CC"
6996 old_CFLAGS="$CFLAGS"
6997
6998 # Set sane defaults for various variables
6999 test -z "$CC" && CC=cc
7000 test -z "$LTCC" && LTCC=$CC
7001 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7002 test -z "$LD" && LD=ld
7003 test -z "$ac_objext" && ac_objext=o
7004
7005 for cc_temp in $compiler""; do
7006   case $cc_temp in
7007     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7008     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7009     \-*) ;;
7010     *) break;;
7011   esac
7012 done
7013 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7014
7015
7016 # Only perform the check for file, if the check method requires it
7017 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7018 case $deplibs_check_method in
7019 file_magic*)
7020   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7021     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7022 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7024   echo $ECHO_N "(cached) $ECHO_C" >&6
7025 else
7026   case $MAGIC_CMD in
7027 [\\/*] |  ?:[\\/]*)
7028   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7029   ;;
7030 *)
7031   lt_save_MAGIC_CMD="$MAGIC_CMD"
7032   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7033   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7034   for ac_dir in $ac_dummy; do
7035     IFS="$lt_save_ifs"
7036     test -z "$ac_dir" && ac_dir=.
7037     if test -f $ac_dir/${ac_tool_prefix}file; then
7038       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7039       if test -n "$file_magic_test_file"; then
7040         case $deplibs_check_method in
7041         "file_magic "*)
7042           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7043           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7044           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7045             $EGREP "$file_magic_regex" > /dev/null; then
7046             :
7047           else
7048             cat <<_LT_EOF 1>&2
7049
7050 *** Warning: the command libtool uses to detect shared libraries,
7051 *** $file_magic_cmd, produces output that libtool cannot recognize.
7052 *** The result is that libtool may fail to recognize shared libraries
7053 *** as such.  This will affect the creation of libtool libraries that
7054 *** depend on shared libraries, but programs linked with such libtool
7055 *** libraries will work regardless of this problem.  Nevertheless, you
7056 *** may want to report the problem to your system manager and/or to
7057 *** bug-libtool@gnu.org
7058
7059 _LT_EOF
7060           fi ;;
7061         esac
7062       fi
7063       break
7064     fi
7065   done
7066   IFS="$lt_save_ifs"
7067   MAGIC_CMD="$lt_save_MAGIC_CMD"
7068   ;;
7069 esac
7070 fi
7071
7072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073 if test -n "$MAGIC_CMD"; then
7074   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7075 echo "${ECHO_T}$MAGIC_CMD" >&6
7076 else
7077   echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7079 fi
7080
7081
7082
7083
7084
7085 if test -z "$lt_cv_path_MAGIC_CMD"; then
7086   if test -n "$ac_tool_prefix"; then
7087     echo "$as_me:$LINENO: checking for file" >&5
7088 echo $ECHO_N "checking for file... $ECHO_C" >&6
7089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7090   echo $ECHO_N "(cached) $ECHO_C" >&6
7091 else
7092   case $MAGIC_CMD in
7093 [\\/*] |  ?:[\\/]*)
7094   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7095   ;;
7096 *)
7097   lt_save_MAGIC_CMD="$MAGIC_CMD"
7098   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7099   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7100   for ac_dir in $ac_dummy; do
7101     IFS="$lt_save_ifs"
7102     test -z "$ac_dir" && ac_dir=.
7103     if test -f $ac_dir/file; then
7104       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7105       if test -n "$file_magic_test_file"; then
7106         case $deplibs_check_method in
7107         "file_magic "*)
7108           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7109           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7110           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7111             $EGREP "$file_magic_regex" > /dev/null; then
7112             :
7113           else
7114             cat <<_LT_EOF 1>&2
7115
7116 *** Warning: the command libtool uses to detect shared libraries,
7117 *** $file_magic_cmd, produces output that libtool cannot recognize.
7118 *** The result is that libtool may fail to recognize shared libraries
7119 *** as such.  This will affect the creation of libtool libraries that
7120 *** depend on shared libraries, but programs linked with such libtool
7121 *** libraries will work regardless of this problem.  Nevertheless, you
7122 *** may want to report the problem to your system manager and/or to
7123 *** bug-libtool@gnu.org
7124
7125 _LT_EOF
7126           fi ;;
7127         esac
7128       fi
7129       break
7130     fi
7131   done
7132   IFS="$lt_save_ifs"
7133   MAGIC_CMD="$lt_save_MAGIC_CMD"
7134   ;;
7135 esac
7136 fi
7137
7138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7139 if test -n "$MAGIC_CMD"; then
7140   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7141 echo "${ECHO_T}$MAGIC_CMD" >&6
7142 else
7143   echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7145 fi
7146
7147
7148   else
7149     MAGIC_CMD=:
7150   fi
7151 fi
7152
7153   fi
7154   ;;
7155 esac
7156
7157 # Use C for the default configuration in the libtool script
7158
7159 lt_save_CC="$CC"
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165
7166
7167 # Source file extension for C test sources.
7168 ac_ext=c
7169
7170 # Object file extension for compiled C test sources.
7171 objext=o
7172 objext=$objext
7173
7174 # Code to be used in simple compile tests
7175 lt_simple_compile_test_code="int some_variable = 0;"
7176
7177 # Code to be used in simple link tests
7178 lt_simple_link_test_code='int main(){return(0);}'
7179
7180
7181
7182
7183
7184
7185
7186 # If no C compiler was specified, use CC.
7187 LTCC=${LTCC-"$CC"}
7188
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7191
7192 # Allow CC to be a program name with arguments.
7193 compiler=$CC
7194
7195 # Save the default compiler, since it gets overwritten when the other
7196 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7197 compiler_DEFAULT=$CC
7198
7199 # save warnings/boilerplate of simple test code
7200 ac_outfile=conftest.$ac_objext
7201 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7202 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7203 _lt_compiler_boilerplate=`cat conftest.err`
7204 $RM conftest*
7205
7206 ac_outfile=conftest.$ac_objext
7207 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7208 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7209 _lt_linker_boilerplate=`cat conftest.err`
7210 $RM -r conftest*
7211
7212
7213 ## CAVEAT EMPTOR:
7214 ## There is no encapsulation within the following macros, do not change
7215 ## the running order or otherwise move them around unless you know exactly
7216 ## what you are doing...
7217 if test -n "$compiler"; then
7218
7219 lt_prog_compiler_no_builtin_flag=
7220
7221 if test "$GCC" = yes; then
7222   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7223
7224   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7225 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7226 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7227   echo $ECHO_N "(cached) $ECHO_C" >&6
7228 else
7229   lt_cv_prog_compiler_rtti_exceptions=no
7230    ac_outfile=conftest.$ac_objext
7231    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7232    lt_compiler_flag="-fno-rtti -fno-exceptions"
7233    # Insert the option either (1) after the last *FLAGS variable, or
7234    # (2) before a word containing "conftest.", or (3) at the end.
7235    # Note that $ac_compile itself does not contain backslashes and begins
7236    # with a dollar sign (not a hyphen), so the echo should work correctly.
7237    # The option is referenced via a variable to avoid confusing sed.
7238    lt_compile=`echo "$ac_compile" | $SED \
7239    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7240    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7241    -e 's:$: $lt_compiler_flag:'`
7242    (eval echo "\"\$as_me:7242: $lt_compile\"" >&5)
7243    (eval "$lt_compile" 2>conftest.err)
7244    ac_status=$?
7245    cat conftest.err >&5
7246    echo "$as_me:7246: \$? = $ac_status" >&5
7247    if (exit $ac_status) && test -s "$ac_outfile"; then
7248      # The compiler can only warn and ignore the option if not recognized
7249      # So say no if there are warnings other than the usual output.
7250      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7251      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7252      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7253        lt_cv_prog_compiler_rtti_exceptions=yes
7254      fi
7255    fi
7256    $RM conftest*
7257
7258 fi
7259 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7260 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7261
7262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7263     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7264 else
7265     :
7266 fi
7267
7268 fi
7269
7270
7271
7272
7273
7274
7275   lt_prog_compiler_wl=
7276 lt_prog_compiler_pic=
7277 lt_prog_compiler_static=
7278
7279 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7280 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7281
7282   if test "$GCC" = yes; then
7283     lt_prog_compiler_wl='-Wl,'
7284     lt_prog_compiler_static='-static'
7285
7286     case $host_os in
7287       aix*)
7288       # All AIX code is PIC.
7289       if test "$host_cpu" = ia64; then
7290         # AIX 5 now supports IA64 processor
7291         lt_prog_compiler_static='-Bstatic'
7292       fi
7293       ;;
7294
7295     amigaos*)
7296       case $host_cpu in
7297       powerpc)
7298             # see comment about AmigaOS4 .so support
7299             lt_prog_compiler_pic='-fPIC'
7300         ;;
7301       m68k)
7302             # FIXME: we need at least 68020 code to build shared libraries, but
7303             # adding the `-m68020' flag to GCC prevents building anything better,
7304             # like `-m68040'.
7305             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7306         ;;
7307       esac
7308       ;;
7309
7310     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7311       # PIC is the default for these OSes.
7312       ;;
7313
7314     mingw* | cygwin* | pw32* | os2* | cegcc*)
7315       # This hack is so that the source file can tell whether it is being
7316       # built for inclusion in a dll (and should export symbols for example).
7317       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7318       # (--disable-auto-import) libraries
7319       lt_prog_compiler_pic='-DDLL_EXPORT'
7320       ;;
7321
7322     darwin* | rhapsody*)
7323       # PIC is the default on this platform
7324       # Common symbols not allowed in MH_DYLIB files
7325       lt_prog_compiler_pic='-fno-common'
7326       ;;
7327
7328     hpux*)
7329       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7330       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7331       # sets the default TLS model and affects inlining.
7332       case $host_cpu in
7333       hppa*64*)
7334         # +Z the default
7335         ;;
7336       *)
7337         lt_prog_compiler_pic='-fPIC'
7338         ;;
7339       esac
7340       ;;
7341
7342     interix[3-9]*)
7343       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7344       # Instead, we relocate shared libraries at runtime.
7345       ;;
7346
7347     msdosdjgpp*)
7348       # Just because we use GCC doesn't mean we suddenly get shared libraries
7349       # on systems that don't support them.
7350       lt_prog_compiler_can_build_shared=no
7351       enable_shared=no
7352       ;;
7353
7354     *nto* | *qnx*)
7355       # QNX uses GNU C++, but need to define -shared option too, otherwise
7356       # it will coredump.
7357       lt_prog_compiler_pic='-fPIC -shared'
7358       ;;
7359
7360     sysv4*MP*)
7361       if test -d /usr/nec; then
7362         lt_prog_compiler_pic=-Kconform_pic
7363       fi
7364       ;;
7365
7366     *)
7367       lt_prog_compiler_pic='-fPIC'
7368       ;;
7369     esac
7370   else
7371     # PORTME Check for flag to pass linker flags through the system compiler.
7372     case $host_os in
7373     aix*)
7374       lt_prog_compiler_wl='-Wl,'
7375       if test "$host_cpu" = ia64; then
7376         # AIX 5 now supports IA64 processor
7377         lt_prog_compiler_static='-Bstatic'
7378       else
7379         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7380       fi
7381       ;;
7382
7383     mingw* | cygwin* | pw32* | os2* | cegcc*)
7384       # This hack is so that the source file can tell whether it is being
7385       # built for inclusion in a dll (and should export symbols for example).
7386       lt_prog_compiler_pic='-DDLL_EXPORT'
7387       ;;
7388
7389     hpux9* | hpux10* | hpux11*)
7390       lt_prog_compiler_wl='-Wl,'
7391       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7392       # not for PA HP-UX.
7393       case $host_cpu in
7394       hppa*64*|ia64*)
7395         # +Z the default
7396         ;;
7397       *)
7398         lt_prog_compiler_pic='+Z'
7399         ;;
7400       esac
7401       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7402       lt_prog_compiler_static='${wl}-a ${wl}archive'
7403       ;;
7404
7405     irix5* | irix6* | nonstopux*)
7406       lt_prog_compiler_wl='-Wl,'
7407       # PIC (with -KPIC) is the default.
7408       lt_prog_compiler_static='-non_shared'
7409       ;;
7410
7411     linux* | k*bsd*-gnu)
7412       case $cc_basename in
7413       # old Intel for x86_64 which still supported -KPIC.
7414       ecc*)
7415         lt_prog_compiler_wl='-Wl,'
7416         lt_prog_compiler_pic='-KPIC'
7417         lt_prog_compiler_static='-static'
7418         ;;
7419       # icc used to be incompatible with GCC.
7420       # ICC 10 doesn't accept -KPIC any more.
7421       icc* | ifort*)
7422         lt_prog_compiler_wl='-Wl,'
7423         lt_prog_compiler_pic='-fPIC'
7424         lt_prog_compiler_static='-static'
7425         ;;
7426       # Lahey Fortran 8.1.
7427       lf95*)
7428         lt_prog_compiler_wl='-Wl,'
7429         lt_prog_compiler_pic='--shared'
7430         lt_prog_compiler_static='--static'
7431         ;;
7432       pgcc* | pgf77* | pgf90* | pgf95*)
7433         # Portland Group compilers (*not* the Pentium gcc compiler,
7434         # which looks to be a dead project)
7435         lt_prog_compiler_wl='-Wl,'
7436         lt_prog_compiler_pic='-fpic'
7437         lt_prog_compiler_static='-Bstatic'
7438         ;;
7439       ccc*)
7440         lt_prog_compiler_wl='-Wl,'
7441         # All Alpha code is PIC.
7442         lt_prog_compiler_static='-non_shared'
7443         ;;
7444       xl*)
7445         # IBM XL C 8.0/Fortran 10.1 on PPC
7446         lt_prog_compiler_wl='-Wl,'
7447         lt_prog_compiler_pic='-qpic'
7448         lt_prog_compiler_static='-qstaticlink'
7449         ;;
7450       *)
7451         case `$CC -V 2>&1 | sed 5q` in
7452         *Sun\ C*)
7453           # Sun C 5.9
7454           lt_prog_compiler_pic='-KPIC'
7455           lt_prog_compiler_static='-Bstatic'
7456           lt_prog_compiler_wl='-Wl,'
7457           ;;
7458         *Sun\ F*)
7459           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7460           lt_prog_compiler_pic='-KPIC'
7461           lt_prog_compiler_static='-Bstatic'
7462           lt_prog_compiler_wl=''
7463           ;;
7464         esac
7465         ;;
7466       esac
7467       ;;
7468
7469     newsos6)
7470       lt_prog_compiler_pic='-KPIC'
7471       lt_prog_compiler_static='-Bstatic'
7472       ;;
7473
7474     *nto* | *qnx*)
7475       # QNX uses GNU C++, but need to define -shared option too, otherwise
7476       # it will coredump.
7477       lt_prog_compiler_pic='-fPIC -shared'
7478       ;;
7479
7480     osf3* | osf4* | osf5*)
7481       lt_prog_compiler_wl='-Wl,'
7482       # All OSF/1 code is PIC.
7483       lt_prog_compiler_static='-non_shared'
7484       ;;
7485
7486     rdos*)
7487       lt_prog_compiler_static='-non_shared'
7488       ;;
7489
7490     solaris*)
7491       lt_prog_compiler_pic='-KPIC'
7492       lt_prog_compiler_static='-Bstatic'
7493       case $cc_basename in
7494       f77* | f90* | f95*)
7495         lt_prog_compiler_wl='-Qoption ld ';;
7496       *)
7497         lt_prog_compiler_wl='-Wl,';;
7498       esac
7499       ;;
7500
7501     sunos4*)
7502       lt_prog_compiler_wl='-Qoption ld '
7503       lt_prog_compiler_pic='-PIC'
7504       lt_prog_compiler_static='-Bstatic'
7505       ;;
7506
7507     sysv4 | sysv4.2uw2* | sysv4.3*)
7508       lt_prog_compiler_wl='-Wl,'
7509       lt_prog_compiler_pic='-KPIC'
7510       lt_prog_compiler_static='-Bstatic'
7511       ;;
7512
7513     sysv4*MP*)
7514       if test -d /usr/nec ;then
7515         lt_prog_compiler_pic='-Kconform_pic'
7516         lt_prog_compiler_static='-Bstatic'
7517       fi
7518       ;;
7519
7520     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7521       lt_prog_compiler_wl='-Wl,'
7522       lt_prog_compiler_pic='-KPIC'
7523       lt_prog_compiler_static='-Bstatic'
7524       ;;
7525
7526     unicos*)
7527       lt_prog_compiler_wl='-Wl,'
7528       lt_prog_compiler_can_build_shared=no
7529       ;;
7530
7531     uts4*)
7532       lt_prog_compiler_pic='-pic'
7533       lt_prog_compiler_static='-Bstatic'
7534       ;;
7535
7536     *)
7537       lt_prog_compiler_can_build_shared=no
7538       ;;
7539     esac
7540   fi
7541
7542 case $host_os in
7543   # For platforms which do not support PIC, -DPIC is meaningless:
7544   *djgpp*)
7545     lt_prog_compiler_pic=
7546     ;;
7547   *)
7548     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7549     ;;
7550 esac
7551 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7553
7554
7555
7556
7557
7558
7559 #
7560 # Check to make sure the PIC flag actually works.
7561 #
7562 if test -n "$lt_prog_compiler_pic"; then
7563   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7565 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7566   echo $ECHO_N "(cached) $ECHO_C" >&6
7567 else
7568   lt_cv_prog_compiler_pic_works=no
7569    ac_outfile=conftest.$ac_objext
7570    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572    # Insert the option either (1) after the last *FLAGS variable, or
7573    # (2) before a word containing "conftest.", or (3) at the end.
7574    # Note that $ac_compile itself does not contain backslashes and begins
7575    # with a dollar sign (not a hyphen), so the echo should work correctly.
7576    # The option is referenced via a variable to avoid confusing sed.
7577    lt_compile=`echo "$ac_compile" | $SED \
7578    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580    -e 's:$: $lt_compiler_flag:'`
7581    (eval echo "\"\$as_me:7581: $lt_compile\"" >&5)
7582    (eval "$lt_compile" 2>conftest.err)
7583    ac_status=$?
7584    cat conftest.err >&5
7585    echo "$as_me:7585: \$? = $ac_status" >&5
7586    if (exit $ac_status) && test -s "$ac_outfile"; then
7587      # The compiler can only warn and ignore the option if not recognized
7588      # So say no if there are warnings other than the usual output.
7589      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7590      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7591      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7592        lt_cv_prog_compiler_pic_works=yes
7593      fi
7594    fi
7595    $RM conftest*
7596
7597 fi
7598 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7599 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7600
7601 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7602     case $lt_prog_compiler_pic in
7603      "" | " "*) ;;
7604      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7605      esac
7606 else
7607     lt_prog_compiler_pic=
7608      lt_prog_compiler_can_build_shared=no
7609 fi
7610
7611 fi
7612
7613
7614
7615
7616
7617
7618 #
7619 # Check to make sure the static flag actually works.
7620 #
7621 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7622 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7623 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7624 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7625   echo $ECHO_N "(cached) $ECHO_C" >&6
7626 else
7627   lt_cv_prog_compiler_static_works=no
7628    save_LDFLAGS="$LDFLAGS"
7629    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7630    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7631    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7632      # The linker can only warn and ignore the option if not recognized
7633      # So say no if there are warnings
7634      if test -s conftest.err; then
7635        # Append any errors to the config.log.
7636        cat conftest.err 1>&5
7637        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7638        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639        if diff conftest.exp conftest.er2 >/dev/null; then
7640          lt_cv_prog_compiler_static_works=yes
7641        fi
7642      else
7643        lt_cv_prog_compiler_static_works=yes
7644      fi
7645    fi
7646    $RM -r conftest*
7647    LDFLAGS="$save_LDFLAGS"
7648
7649 fi
7650 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7651 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7652
7653 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7654     :
7655 else
7656     lt_prog_compiler_static=
7657 fi
7658
7659
7660
7661
7662
7663
7664
7665   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7666 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7667 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7668   echo $ECHO_N "(cached) $ECHO_C" >&6
7669 else
7670   lt_cv_prog_compiler_c_o=no
7671    $RM -r conftest 2>/dev/null
7672    mkdir conftest
7673    cd conftest
7674    mkdir out
7675    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7676
7677    lt_compiler_flag="-o out/conftest2.$ac_objext"
7678    # Insert the option either (1) after the last *FLAGS variable, or
7679    # (2) before a word containing "conftest.", or (3) at the end.
7680    # Note that $ac_compile itself does not contain backslashes and begins
7681    # with a dollar sign (not a hyphen), so the echo should work correctly.
7682    lt_compile=`echo "$ac_compile" | $SED \
7683    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685    -e 's:$: $lt_compiler_flag:'`
7686    (eval echo "\"\$as_me:7686: $lt_compile\"" >&5)
7687    (eval "$lt_compile" 2>out/conftest.err)
7688    ac_status=$?
7689    cat out/conftest.err >&5
7690    echo "$as_me:7690: \$? = $ac_status" >&5
7691    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7692    then
7693      # The compiler can only warn and ignore the option if not recognized
7694      # So say no if there are warnings
7695      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7696      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7697      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7698        lt_cv_prog_compiler_c_o=yes
7699      fi
7700    fi
7701    chmod u+w . 2>&5
7702    $RM conftest*
7703    # SGI C++ compiler will create directory out/ii_files/ for
7704    # template instantiation
7705    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7706    $RM out/* && rmdir out
7707    cd ..
7708    $RM -r conftest
7709    $RM conftest*
7710
7711 fi
7712 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7713 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7714
7715
7716
7717
7718
7719
7720   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7721 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7722 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7723   echo $ECHO_N "(cached) $ECHO_C" >&6
7724 else
7725   lt_cv_prog_compiler_c_o=no
7726    $RM -r conftest 2>/dev/null
7727    mkdir conftest
7728    cd conftest
7729    mkdir out
7730    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7731
7732    lt_compiler_flag="-o out/conftest2.$ac_objext"
7733    # Insert the option either (1) after the last *FLAGS variable, or
7734    # (2) before a word containing "conftest.", or (3) at the end.
7735    # Note that $ac_compile itself does not contain backslashes and begins
7736    # with a dollar sign (not a hyphen), so the echo should work correctly.
7737    lt_compile=`echo "$ac_compile" | $SED \
7738    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7739    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7740    -e 's:$: $lt_compiler_flag:'`
7741    (eval echo "\"\$as_me:7741: $lt_compile\"" >&5)
7742    (eval "$lt_compile" 2>out/conftest.err)
7743    ac_status=$?
7744    cat out/conftest.err >&5
7745    echo "$as_me:7745: \$? = $ac_status" >&5
7746    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7747    then
7748      # The compiler can only warn and ignore the option if not recognized
7749      # So say no if there are warnings
7750      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7751      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7752      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7753        lt_cv_prog_compiler_c_o=yes
7754      fi
7755    fi
7756    chmod u+w . 2>&5
7757    $RM conftest*
7758    # SGI C++ compiler will create directory out/ii_files/ for
7759    # template instantiation
7760    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7761    $RM out/* && rmdir out
7762    cd ..
7763    $RM -r conftest
7764    $RM conftest*
7765
7766 fi
7767 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7769
7770
7771
7772
7773 hard_links="nottested"
7774 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7775   # do not overwrite the value of need_locks provided by the user
7776   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7777 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7778   hard_links=yes
7779   $RM conftest*
7780   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7781   touch conftest.a
7782   ln conftest.a conftest.b 2>&5 || hard_links=no
7783   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7784   echo "$as_me:$LINENO: result: $hard_links" >&5
7785 echo "${ECHO_T}$hard_links" >&6
7786   if test "$hard_links" = no; then
7787     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7788 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7789     need_locks=warn
7790   fi
7791 else
7792   need_locks=no
7793 fi
7794
7795
7796
7797
7798
7799
7800   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7801 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7802
7803   runpath_var=
7804   allow_undefined_flag=
7805   always_export_symbols=no
7806   archive_cmds=
7807   archive_expsym_cmds=
7808   compiler_needs_object=no
7809   enable_shared_with_static_runtimes=no
7810   export_dynamic_flag_spec=
7811   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7812   hardcode_automatic=no
7813   hardcode_direct=no
7814   hardcode_direct_absolute=no
7815   hardcode_libdir_flag_spec=
7816   hardcode_libdir_flag_spec_ld=
7817   hardcode_libdir_separator=
7818   hardcode_minus_L=no
7819   hardcode_shlibpath_var=unsupported
7820   inherit_rpath=no
7821   link_all_deplibs=unknown
7822   module_cmds=
7823   module_expsym_cmds=
7824   old_archive_from_new_cmds=
7825   old_archive_from_expsyms_cmds=
7826   thread_safe_flag_spec=
7827   whole_archive_flag_spec=
7828   # include_expsyms should be a list of space-separated symbols to be *always*
7829   # included in the symbol list
7830   include_expsyms=
7831   # exclude_expsyms can be an extended regexp of symbols to exclude
7832   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7833   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7834   # as well as any symbol that contains `d'.
7835   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7836   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7837   # platforms (ab)use it in PIC code, but their linkers get confused if
7838   # the symbol is explicitly referenced.  Since portable code cannot
7839   # rely on this symbol name, it's probably fine to never include it in
7840   # preloaded symbol tables.
7841   # Exclude shared library initialization/finalization symbols.
7842   extract_expsyms_cmds=
7843
7844   case $host_os in
7845   cygwin* | mingw* | pw32* | cegcc*)
7846     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7847     # When not using gcc, we currently assume that we are using
7848     # Microsoft Visual C++.
7849     if test "$GCC" != yes; then
7850       with_gnu_ld=no
7851     fi
7852     ;;
7853   interix*)
7854     # we just hope/assume this is gcc and not c89 (= MSVC++)
7855     with_gnu_ld=yes
7856     ;;
7857   openbsd*)
7858     with_gnu_ld=no
7859     ;;
7860   esac
7861
7862   ld_shlibs=yes
7863   if test "$with_gnu_ld" = yes; then
7864     # If archive_cmds runs LD, not CC, wlarc should be empty
7865     wlarc='${wl}'
7866
7867     # Set some defaults for GNU ld with shared library support. These
7868     # are reset later if shared libraries are not supported. Putting them
7869     # here allows them to be overridden if necessary.
7870     runpath_var=LD_RUN_PATH
7871     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7872     export_dynamic_flag_spec='${wl}--export-dynamic'
7873     # ancient GNU ld didn't support --whole-archive et. al.
7874     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7875       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7876     else
7877       whole_archive_flag_spec=
7878     fi
7879     supports_anon_versioning=no
7880     case `$LD -v 2>&1` in
7881       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7882       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7883       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7884       *\ 2.11.*) ;; # other 2.11 versions
7885       *) supports_anon_versioning=yes ;;
7886     esac
7887
7888     # See if GNU ld supports shared libraries.
7889     case $host_os in
7890     aix[3-9]*)
7891       # On AIX/PPC, the GNU linker is very broken
7892       if test "$host_cpu" != ia64; then
7893         ld_shlibs=no
7894         cat <<_LT_EOF 1>&2
7895
7896 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7897 *** to be unable to reliably create shared libraries on AIX.
7898 *** Therefore, libtool is disabling shared libraries support.  If you
7899 *** really care for shared libraries, you may want to modify your PATH
7900 *** so that a non-GNU linker is found, and then restart.
7901
7902 _LT_EOF
7903       fi
7904       ;;
7905
7906     amigaos*)
7907       case $host_cpu in
7908       powerpc)
7909             # see comment about AmigaOS4 .so support
7910             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911             archive_expsym_cmds=''
7912         ;;
7913       m68k)
7914             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)'
7915             hardcode_libdir_flag_spec='-L$libdir'
7916             hardcode_minus_L=yes
7917         ;;
7918       esac
7919       ;;
7920
7921     beos*)
7922       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7923         allow_undefined_flag=unsupported
7924         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7925         # support --undefined.  This deserves some investigation.  FIXME
7926         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7927       else
7928         ld_shlibs=no
7929       fi
7930       ;;
7931
7932     cygwin* | mingw* | pw32* | cegcc*)
7933       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7934       # as there is no search path for DLLs.
7935       hardcode_libdir_flag_spec='-L$libdir'
7936       allow_undefined_flag=unsupported
7937       always_export_symbols=no
7938       enable_shared_with_static_runtimes=yes
7939       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7940
7941       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7942         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7943         # If the export-symbols file already is a .def file (1st line
7944         # is EXPORTS), use it as is; otherwise, prepend...
7945         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7946           cp $export_symbols $output_objdir/$soname.def;
7947         else
7948           echo EXPORTS > $output_objdir/$soname.def;
7949           cat $export_symbols >> $output_objdir/$soname.def;
7950         fi~
7951         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7952       else
7953         ld_shlibs=no
7954       fi
7955       ;;
7956
7957     interix[3-9]*)
7958       hardcode_direct=no
7959       hardcode_shlibpath_var=no
7960       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7961       export_dynamic_flag_spec='${wl}-E'
7962       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7963       # Instead, shared libraries are loaded at an image base (0x10000000 by
7964       # default) and relocated if they conflict, which is a slow very memory
7965       # consuming and fragmenting process.  To avoid this, we pick a random,
7966       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7967       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7968       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7969       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'
7970       ;;
7971
7972     gnu* | linux* | tpf* | k*bsd*-gnu)
7973       tmp_diet=no
7974       if test "$host_os" = linux-dietlibc; then
7975         case $cc_basename in
7976           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7977         esac
7978       fi
7979       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7980          && test "$tmp_diet" = no
7981       then
7982         tmp_addflag=
7983         tmp_sharedflag='-shared'
7984         case $cc_basename,$host_cpu in
7985         pgcc*)                          # Portland Group C compiler
7986           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'
7987           tmp_addflag=' $pic_flag'
7988           ;;
7989         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7990           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'
7991           tmp_addflag=' $pic_flag -Mnomain' ;;
7992         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7993           tmp_addflag=' -i_dynamic' ;;
7994         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7995           tmp_addflag=' -i_dynamic -nofor_main' ;;
7996         ifc* | ifort*)                  # Intel Fortran compiler
7997           tmp_addflag=' -nofor_main' ;;
7998         lf95*)                          # Lahey Fortran 8.1
7999           whole_archive_flag_spec=
8000           tmp_sharedflag='--shared' ;;
8001         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8002           tmp_sharedflag='-qmkshrobj'
8003           tmp_addflag= ;;
8004         esac
8005         case `$CC -V 2>&1 | sed 5q` in
8006         *Sun\ C*)                       # Sun C 5.9
8007           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'
8008           compiler_needs_object=yes
8009           tmp_sharedflag='-G' ;;
8010         *Sun\ F*)                       # Sun Fortran 8.3
8011           tmp_sharedflag='-G' ;;
8012         esac
8013         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8014
8015         if test "x$supports_anon_versioning" = xyes; then
8016           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8017             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8018             echo "local: *; };" >> $output_objdir/$libname.ver~
8019             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8020         fi
8021
8022         case $cc_basename in
8023         xlf*)
8024           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8025           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8026           hardcode_libdir_flag_spec=
8027           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8028           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8029           if test "x$supports_anon_versioning" = xyes; then
8030             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8031               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8032               echo "local: *; };" >> $output_objdir/$libname.ver~
8033               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8034           fi
8035           ;;
8036         esac
8037       else
8038         ld_shlibs=no
8039       fi
8040       ;;
8041
8042     netbsd*)
8043       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8044         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8045         wlarc=
8046       else
8047         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8048         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8049       fi
8050       ;;
8051
8052     solaris*)
8053       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8054         ld_shlibs=no
8055         cat <<_LT_EOF 1>&2
8056
8057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8058 *** create shared libraries on Solaris systems.  Therefore, libtool
8059 *** is disabling shared libraries support.  We urge you to upgrade GNU
8060 *** binutils to release 2.9.1 or newer.  Another option is to modify
8061 *** your PATH or compiler configuration so that the native linker is
8062 *** used, and then restart.
8063
8064 _LT_EOF
8065       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8066         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8068       else
8069         ld_shlibs=no
8070       fi
8071       ;;
8072
8073     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8074       case `$LD -v 2>&1` in
8075         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8076         ld_shlibs=no
8077         cat <<_LT_EOF 1>&2
8078
8079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8080 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8081 *** is disabling shared libraries support.  We urge you to upgrade GNU
8082 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8083 *** your PATH or compiler configuration so that the native linker is
8084 *** used, and then restart.
8085
8086 _LT_EOF
8087         ;;
8088         *)
8089           # For security reasons, it is highly recommended that you always
8090           # use absolute paths for naming shared libraries, and exclude the
8091           # DT_RUNPATH tag from executables and libraries.  But doing so
8092           # requires that you compile everything twice, which is a pain.
8093           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8094             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8095             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8096             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8097           else
8098             ld_shlibs=no
8099           fi
8100         ;;
8101       esac
8102       ;;
8103
8104     sunos4*)
8105       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8106       wlarc=
8107       hardcode_direct=yes
8108       hardcode_shlibpath_var=no
8109       ;;
8110
8111     *)
8112       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8113         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8114         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8115       else
8116         ld_shlibs=no
8117       fi
8118       ;;
8119     esac
8120
8121     if test "$ld_shlibs" = no; then
8122       runpath_var=
8123       hardcode_libdir_flag_spec=
8124       export_dynamic_flag_spec=
8125       whole_archive_flag_spec=
8126     fi
8127   else
8128     # PORTME fill in a description of your system's linker (not GNU ld)
8129     case $host_os in
8130     aix3*)
8131       allow_undefined_flag=unsupported
8132       always_export_symbols=yes
8133       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'
8134       # Note: this linker hardcodes the directories in LIBPATH if there
8135       # are no directories specified by -L.
8136       hardcode_minus_L=yes
8137       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8138         # Neither direct hardcoding nor static linking is supported with a
8139         # broken collect2.
8140         hardcode_direct=unsupported
8141       fi
8142       ;;
8143
8144     aix[4-9]*)
8145       if test "$host_cpu" = ia64; then
8146         # On IA64, the linker does run time linking by default, so we don't
8147         # have to do anything special.
8148         aix_use_runtimelinking=no
8149         exp_sym_flag='-Bexport'
8150         no_entry_flag=""
8151       else
8152         # If we're using GNU nm, then we don't want the "-C" option.
8153         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8154         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8155           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'
8156         else
8157           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'
8158         fi
8159         aix_use_runtimelinking=no
8160
8161         # Test if we are trying to use run time linking or normal
8162         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8163         # need to do runtime linking.
8164         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8165           for ld_flag in $LDFLAGS; do
8166           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8167             aix_use_runtimelinking=yes
8168             break
8169           fi
8170           done
8171           ;;
8172         esac
8173
8174         exp_sym_flag='-bexport'
8175         no_entry_flag='-bnoentry'
8176       fi
8177
8178       # When large executables or shared objects are built, AIX ld can
8179       # have problems creating the table of contents.  If linking a library
8180       # or program results in "error TOC overflow" add -mminimal-toc to
8181       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8182       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8183
8184       archive_cmds=''
8185       hardcode_direct=yes
8186       hardcode_direct_absolute=yes
8187       hardcode_libdir_separator=':'
8188       link_all_deplibs=yes
8189       file_list_spec='${wl}-f,'
8190
8191       if test "$GCC" = yes; then
8192         case $host_os in aix4.[012]|aix4.[012].*)
8193         # We only want to do this on AIX 4.2 and lower, the check
8194         # below for broken collect2 doesn't work under 4.3+
8195           collect2name=`${CC} -print-prog-name=collect2`
8196           if test -f "$collect2name" &&
8197            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8198           then
8199           # We have reworked collect2
8200           :
8201           else
8202           # We have old collect2
8203           hardcode_direct=unsupported
8204           # It fails to find uninstalled libraries when the uninstalled
8205           # path is not listed in the libpath.  Setting hardcode_minus_L
8206           # to unsupported forces relinking
8207           hardcode_minus_L=yes
8208           hardcode_libdir_flag_spec='-L$libdir'
8209           hardcode_libdir_separator=
8210           fi
8211           ;;
8212         esac
8213         shared_flag='-shared'
8214         if test "$aix_use_runtimelinking" = yes; then
8215           shared_flag="$shared_flag "'${wl}-G'
8216         fi
8217       else
8218         # not using gcc
8219         if test "$host_cpu" = ia64; then
8220         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8221         # chokes on -Wl,-G. The following line is correct:
8222           shared_flag='-G'
8223         else
8224           if test "$aix_use_runtimelinking" = yes; then
8225             shared_flag='${wl}-G'
8226           else
8227             shared_flag='${wl}-bM:SRE'
8228           fi
8229         fi
8230       fi
8231
8232       export_dynamic_flag_spec='${wl}-bexpall'
8233       # It seems that -bexpall does not export symbols beginning with
8234       # underscore (_), so it is better to generate a list of symbols to export.
8235       always_export_symbols=yes
8236       if test "$aix_use_runtimelinking" = yes; then
8237         # Warning - without using the other runtime loading flags (-brtl),
8238         # -berok will link without error, but may produce a broken library.
8239         allow_undefined_flag='-berok'
8240         # Determine the default libpath from the value encoded in an
8241         # empty executable.
8242         if test x$gcc_no_link = xyes; then
8243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8245    { (exit 1); exit 1; }; }
8246 fi
8247 cat >conftest.$ac_ext <<_ACEOF
8248 /* confdefs.h.  */
8249 _ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h.  */
8253
8254 int
8255 main ()
8256 {
8257
8258   ;
8259   return 0;
8260 }
8261 _ACEOF
8262 rm -f conftest.$ac_objext conftest$ac_exeext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264   (eval $ac_link) 2>conftest.er1
8265   ac_status=$?
8266   grep -v '^ *+' conftest.er1 >conftest.err
8267   rm -f conftest.er1
8268   cat conftest.err >&5
8269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270   (exit $ac_status); } &&
8271          { ac_try='test -z "$ac_c_werror_flag"
8272                          || test ! -s conftest.err'
8273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274   (eval $ac_try) 2>&5
8275   ac_status=$?
8276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277   (exit $ac_status); }; } &&
8278          { ac_try='test -s conftest$ac_exeext'
8279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280   (eval $ac_try) 2>&5
8281   ac_status=$?
8282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283   (exit $ac_status); }; }; then
8284
8285 lt_aix_libpath_sed='
8286     /Import File Strings/,/^$/ {
8287         /^0/ {
8288             s/^0  *\(.*\)$/\1/
8289             p
8290         }
8291     }'
8292 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 # Check for a 64-bit object if we didn't find anything.
8294 if test -z "$aix_libpath"; then
8295   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8296 fi
8297 else
8298   echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8300
8301 fi
8302 rm -f conftest.err conftest.$ac_objext \
8303       conftest$ac_exeext conftest.$ac_ext
8304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8305
8306         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8307         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"
8308       else
8309         if test "$host_cpu" = ia64; then
8310           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8311           allow_undefined_flag="-z nodefs"
8312           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"
8313         else
8314          # Determine the default libpath from the value encoded in an
8315          # empty executable.
8316          if test x$gcc_no_link = xyes; then
8317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8319    { (exit 1); exit 1; }; }
8320 fi
8321 cat >conftest.$ac_ext <<_ACEOF
8322 /* confdefs.h.  */
8323 _ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h.  */
8327
8328 int
8329 main ()
8330 {
8331
8332   ;
8333   return 0;
8334 }
8335 _ACEOF
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8338   (eval $ac_link) 2>conftest.er1
8339   ac_status=$?
8340   grep -v '^ *+' conftest.er1 >conftest.err
8341   rm -f conftest.er1
8342   cat conftest.err >&5
8343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344   (exit $ac_status); } &&
8345          { ac_try='test -z "$ac_c_werror_flag"
8346                          || test ! -s conftest.err'
8347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348   (eval $ac_try) 2>&5
8349   ac_status=$?
8350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351   (exit $ac_status); }; } &&
8352          { ac_try='test -s conftest$ac_exeext'
8353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354   (eval $ac_try) 2>&5
8355   ac_status=$?
8356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357   (exit $ac_status); }; }; then
8358
8359 lt_aix_libpath_sed='
8360     /Import File Strings/,/^$/ {
8361         /^0/ {
8362             s/^0  *\(.*\)$/\1/
8363             p
8364         }
8365     }'
8366 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8367 # Check for a 64-bit object if we didn't find anything.
8368 if test -z "$aix_libpath"; then
8369   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8370 fi
8371 else
8372   echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.$ac_ext >&5
8374
8375 fi
8376 rm -f conftest.err conftest.$ac_objext \
8377       conftest$ac_exeext conftest.$ac_ext
8378 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8379
8380          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8381           # Warning - without using the other run time loading flags,
8382           # -berok will link without error, but may produce a broken library.
8383           no_undefined_flag=' ${wl}-bernotok'
8384           allow_undefined_flag=' ${wl}-berok'
8385           # Exported symbols can be pulled into shared objects from archives
8386           whole_archive_flag_spec='$convenience'
8387           archive_cmds_need_lc=yes
8388           # This is similar to how AIX traditionally builds its shared libraries.
8389           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'
8390         fi
8391       fi
8392       ;;
8393
8394     amigaos*)
8395       case $host_cpu in
8396       powerpc)
8397             # see comment about AmigaOS4 .so support
8398             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399             archive_expsym_cmds=''
8400         ;;
8401       m68k)
8402             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)'
8403             hardcode_libdir_flag_spec='-L$libdir'
8404             hardcode_minus_L=yes
8405         ;;
8406       esac
8407       ;;
8408
8409     bsdi[45]*)
8410       export_dynamic_flag_spec=-rdynamic
8411       ;;
8412
8413     cygwin* | mingw* | pw32* | cegcc*)
8414       # When not using gcc, we currently assume that we are using
8415       # Microsoft Visual C++.
8416       # hardcode_libdir_flag_spec is actually meaningless, as there is
8417       # no search path for DLLs.
8418       hardcode_libdir_flag_spec=' '
8419       allow_undefined_flag=unsupported
8420       # Tell ltmain to make .lib files, not .a files.
8421       libext=lib
8422       # Tell ltmain to make .dll files, not .so files.
8423       shrext_cmds=".dll"
8424       # FIXME: Setting linknames here is a bad hack.
8425       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8426       # The linker will automatically build a .lib file if we build a DLL.
8427       old_archive_from_new_cmds='true'
8428       # FIXME: Should let the user specify the lib program.
8429       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8430       fix_srcfile_path='`cygpath -w "$srcfile"`'
8431       enable_shared_with_static_runtimes=yes
8432       ;;
8433
8434     darwin* | rhapsody*)
8435
8436
8437   archive_cmds_need_lc=no
8438   hardcode_direct=no
8439   hardcode_automatic=yes
8440   hardcode_shlibpath_var=unsupported
8441   whole_archive_flag_spec=''
8442   link_all_deplibs=yes
8443   allow_undefined_flag="$_lt_dar_allow_undefined"
8444   case $cc_basename in
8445      ifort*) _lt_dar_can_shared=yes ;;
8446      *) _lt_dar_can_shared=$GCC ;;
8447   esac
8448   if test "$_lt_dar_can_shared" = "yes"; then
8449     output_verbose_link_cmd=echo
8450     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8451     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8452     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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8453     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8454
8455   else
8456   ld_shlibs=no
8457   fi
8458
8459       ;;
8460
8461     dgux*)
8462       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463       hardcode_libdir_flag_spec='-L$libdir'
8464       hardcode_shlibpath_var=no
8465       ;;
8466
8467     freebsd1*)
8468       ld_shlibs=no
8469       ;;
8470
8471     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8472     # support.  Future versions do this automatically, but an explicit c++rt0.o
8473     # does not break anything, and helps significantly (at the cost of a little
8474     # extra space).
8475     freebsd2.2*)
8476       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8477       hardcode_libdir_flag_spec='-R$libdir'
8478       hardcode_direct=yes
8479       hardcode_shlibpath_var=no
8480       ;;
8481
8482     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8483     freebsd2*)
8484       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8485       hardcode_direct=yes
8486       hardcode_minus_L=yes
8487       hardcode_shlibpath_var=no
8488       ;;
8489
8490     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8491     freebsd* | dragonfly*)
8492       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8493       hardcode_libdir_flag_spec='-R$libdir'
8494       hardcode_direct=yes
8495       hardcode_shlibpath_var=no
8496       ;;
8497
8498     hpux9*)
8499       if test "$GCC" = yes; then
8500         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'
8501       else
8502         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'
8503       fi
8504       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8505       hardcode_libdir_separator=:
8506       hardcode_direct=yes
8507
8508       # hardcode_minus_L: Not really in the search PATH,
8509       # but as the default location of the library.
8510       hardcode_minus_L=yes
8511       export_dynamic_flag_spec='${wl}-E'
8512       ;;
8513
8514     hpux10*)
8515       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8516         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8517       else
8518         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8519       fi
8520       if test "$with_gnu_ld" = no; then
8521         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8522         hardcode_libdir_flag_spec_ld='+b $libdir'
8523         hardcode_libdir_separator=:
8524         hardcode_direct=yes
8525         hardcode_direct_absolute=yes
8526         export_dynamic_flag_spec='${wl}-E'
8527         # hardcode_minus_L: Not really in the search PATH,
8528         # but as the default location of the library.
8529         hardcode_minus_L=yes
8530       fi
8531       ;;
8532
8533     hpux11*)
8534       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8535         case $host_cpu in
8536         hppa*64*)
8537           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8538           ;;
8539         ia64*)
8540           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8541           ;;
8542         *)
8543           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8544           ;;
8545         esac
8546       else
8547         case $host_cpu in
8548         hppa*64*)
8549           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8550           ;;
8551         ia64*)
8552           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8553           ;;
8554         *)
8555           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8556           ;;
8557         esac
8558       fi
8559       if test "$with_gnu_ld" = no; then
8560         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8561         hardcode_libdir_separator=:
8562
8563         case $host_cpu in
8564         hppa*64*|ia64*)
8565           hardcode_direct=no
8566           hardcode_shlibpath_var=no
8567           ;;
8568         *)
8569           hardcode_direct=yes
8570           hardcode_direct_absolute=yes
8571           export_dynamic_flag_spec='${wl}-E'
8572
8573           # hardcode_minus_L: Not really in the search PATH,
8574           # but as the default location of the library.
8575           hardcode_minus_L=yes
8576           ;;
8577         esac
8578       fi
8579       ;;
8580
8581     irix5* | irix6* | nonstopux*)
8582       if test "$GCC" = yes; then
8583         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'
8584         # Try to use the -exported_symbol ld option, if it does not
8585         # work, assume that -exports_file does not work either and
8586         # implicitly export all symbols.
8587         save_LDFLAGS="$LDFLAGS"
8588         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8589         if test x$gcc_no_link = xyes; then
8590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8592    { (exit 1); exit 1; }; }
8593 fi
8594 cat >conftest.$ac_ext <<_ACEOF
8595 int foo(void) {}
8596 _ACEOF
8597 rm -f conftest.$ac_objext conftest$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599   (eval $ac_link) 2>conftest.er1
8600   ac_status=$?
8601   grep -v '^ *+' conftest.er1 >conftest.err
8602   rm -f conftest.er1
8603   cat conftest.err >&5
8604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605   (exit $ac_status); } &&
8606          { ac_try='test -z "$ac_c_werror_flag"
8607                          || test ! -s conftest.err'
8608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609   (eval $ac_try) 2>&5
8610   ac_status=$?
8611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612   (exit $ac_status); }; } &&
8613          { ac_try='test -s conftest$ac_exeext'
8614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615   (eval $ac_try) 2>&5
8616   ac_status=$?
8617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618   (exit $ac_status); }; }; then
8619   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'
8620
8621 else
8622   echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8624
8625 fi
8626 rm -f conftest.err conftest.$ac_objext \
8627       conftest$ac_exeext conftest.$ac_ext
8628         LDFLAGS="$save_LDFLAGS"
8629       else
8630         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'
8631         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'
8632       fi
8633       archive_cmds_need_lc='no'
8634       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8635       hardcode_libdir_separator=:
8636       inherit_rpath=yes
8637       link_all_deplibs=yes
8638       ;;
8639
8640     netbsd*)
8641       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8642         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8643       else
8644         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8645       fi
8646       hardcode_libdir_flag_spec='-R$libdir'
8647       hardcode_direct=yes
8648       hardcode_shlibpath_var=no
8649       ;;
8650
8651     newsos6)
8652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8653       hardcode_direct=yes
8654       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655       hardcode_libdir_separator=:
8656       hardcode_shlibpath_var=no
8657       ;;
8658
8659     *nto* | *qnx*)
8660       ;;
8661
8662     openbsd*)
8663       if test -f /usr/libexec/ld.so; then
8664         hardcode_direct=yes
8665         hardcode_shlibpath_var=no
8666         hardcode_direct_absolute=yes
8667         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8668           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8669           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8670           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8671           export_dynamic_flag_spec='${wl}-E'
8672         else
8673           case $host_os in
8674            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8675              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8676              hardcode_libdir_flag_spec='-R$libdir'
8677              ;;
8678            *)
8679              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8680              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8681              ;;
8682           esac
8683         fi
8684       else
8685         ld_shlibs=no
8686       fi
8687       ;;
8688
8689     os2*)
8690       hardcode_libdir_flag_spec='-L$libdir'
8691       hardcode_minus_L=yes
8692       allow_undefined_flag=unsupported
8693       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'
8694       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8695       ;;
8696
8697     osf3*)
8698       if test "$GCC" = yes; then
8699         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8700         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'
8701       else
8702         allow_undefined_flag=' -expect_unresolved \*'
8703         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'
8704       fi
8705       archive_cmds_need_lc='no'
8706       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8707       hardcode_libdir_separator=:
8708       ;;
8709
8710     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8711       if test "$GCC" = yes; then
8712         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8713         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'
8714         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8715       else
8716         allow_undefined_flag=' -expect_unresolved \*'
8717         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'
8718         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~
8719         $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'
8720
8721         # Both c and cxx compiler support -rpath directly
8722         hardcode_libdir_flag_spec='-rpath $libdir'
8723       fi
8724       archive_cmds_need_lc='no'
8725       hardcode_libdir_separator=:
8726       ;;
8727
8728     solaris*)
8729       no_undefined_flag=' -z defs'
8730       if test "$GCC" = yes; then
8731         wlarc='${wl}'
8732         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8734           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8735       else
8736         case `$CC -V 2>&1` in
8737         *"Compilers 5.0"*)
8738           wlarc=''
8739           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8741           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8742           ;;
8743         *)
8744           wlarc='${wl}'
8745           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8746           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8747           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8748           ;;
8749         esac
8750       fi
8751       hardcode_libdir_flag_spec='-R$libdir'
8752       hardcode_shlibpath_var=no
8753       case $host_os in
8754       solaris2.[0-5] | solaris2.[0-5].*) ;;
8755       *)
8756         # The compiler driver will combine and reorder linker options,
8757         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8758         # but is careful enough not to reorder.
8759         # Supported since Solaris 2.6 (maybe 2.5.1?)
8760         if test "$GCC" = yes; then
8761           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8762         else
8763           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8764         fi
8765         ;;
8766       esac
8767       link_all_deplibs=yes
8768       ;;
8769
8770     sunos4*)
8771       if test "x$host_vendor" = xsequent; then
8772         # Use $CC to link under sequent, because it throws in some extra .o
8773         # files that make .init and .fini sections work.
8774         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8775       else
8776         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8777       fi
8778       hardcode_libdir_flag_spec='-L$libdir'
8779       hardcode_direct=yes
8780       hardcode_minus_L=yes
8781       hardcode_shlibpath_var=no
8782       ;;
8783
8784     sysv4)
8785       case $host_vendor in
8786         sni)
8787           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788           hardcode_direct=yes # is this really true???
8789         ;;
8790         siemens)
8791           ## LD is ld it makes a PLAMLIB
8792           ## CC just makes a GrossModule.
8793           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8794           reload_cmds='$CC -r -o $output$reload_objs'
8795           hardcode_direct=no
8796         ;;
8797         motorola)
8798           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8799           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8800         ;;
8801       esac
8802       runpath_var='LD_RUN_PATH'
8803       hardcode_shlibpath_var=no
8804       ;;
8805
8806     sysv4.3*)
8807       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808       hardcode_shlibpath_var=no
8809       export_dynamic_flag_spec='-Bexport'
8810       ;;
8811
8812     sysv4*MP*)
8813       if test -d /usr/nec; then
8814         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8815         hardcode_shlibpath_var=no
8816         runpath_var=LD_RUN_PATH
8817         hardcode_runpath_var=yes
8818         ld_shlibs=yes
8819       fi
8820       ;;
8821
8822     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8823       no_undefined_flag='${wl}-z,text'
8824       archive_cmds_need_lc=no
8825       hardcode_shlibpath_var=no
8826       runpath_var='LD_RUN_PATH'
8827
8828       if test "$GCC" = yes; then
8829         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8830         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8831       else
8832         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8833         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8834       fi
8835       ;;
8836
8837     sysv5* | sco3.2v5* | sco5v6*)
8838       # Note: We can NOT use -z defs as we might desire, because we do not
8839       # link with -lc, and that would cause any symbols used from libc to
8840       # always be unresolved, which means just about no library would
8841       # ever link correctly.  If we're not using GNU ld we use -z text
8842       # though, which does catch some bad symbols but isn't as heavy-handed
8843       # as -z defs.
8844       no_undefined_flag='${wl}-z,text'
8845       allow_undefined_flag='${wl}-z,nodefs'
8846       archive_cmds_need_lc=no
8847       hardcode_shlibpath_var=no
8848       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8849       hardcode_libdir_separator=':'
8850       link_all_deplibs=yes
8851       export_dynamic_flag_spec='${wl}-Bexport'
8852       runpath_var='LD_RUN_PATH'
8853
8854       if test "$GCC" = yes; then
8855         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8856         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8857       else
8858         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8859         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8860       fi
8861       ;;
8862
8863     uts4*)
8864       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865       hardcode_libdir_flag_spec='-L$libdir'
8866       hardcode_shlibpath_var=no
8867       ;;
8868
8869     *)
8870       ld_shlibs=no
8871       ;;
8872     esac
8873
8874     if test x$host_vendor = xsni; then
8875       case $host in
8876       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8877         export_dynamic_flag_spec='${wl}-Blargedynsym'
8878         ;;
8879       esac
8880     fi
8881   fi
8882
8883 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8884 echo "${ECHO_T}$ld_shlibs" >&6
8885 test "$ld_shlibs" = no && can_build_shared=no
8886
8887 with_gnu_ld=$with_gnu_ld
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903 #
8904 # Do we need to explicitly link libc?
8905 #
8906 case "x$archive_cmds_need_lc" in
8907 x|xyes)
8908   # Assume -lc should be added
8909   archive_cmds_need_lc=yes
8910
8911   if test "$enable_shared" = yes && test "$GCC" = yes; then
8912     case $archive_cmds in
8913     *'~'*)
8914       # FIXME: we may have to deal with multi-command sequences.
8915       ;;
8916     '$CC '*)
8917       # Test whether the compiler implicitly links with -lc since on some
8918       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8919       # to ld, don't add -lc before -lgcc.
8920       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8921 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8922       $RM conftest*
8923       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8924
8925       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8926   (eval $ac_compile) 2>&5
8927   ac_status=$?
8928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929   (exit $ac_status); } 2>conftest.err; then
8930         soname=conftest
8931         lib=conftest
8932         libobjs=conftest.$ac_objext
8933         deplibs=
8934         wl=$lt_prog_compiler_wl
8935         pic_flag=$lt_prog_compiler_pic
8936         compiler_flags=-v
8937         linker_flags=-v
8938         verstring=
8939         output_objdir=.
8940         libname=conftest
8941         lt_save_allow_undefined_flag=$allow_undefined_flag
8942         allow_undefined_flag=
8943         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8944   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8945   ac_status=$?
8946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947   (exit $ac_status); }
8948         then
8949           archive_cmds_need_lc=no
8950         else
8951           archive_cmds_need_lc=yes
8952         fi
8953         allow_undefined_flag=$lt_save_allow_undefined_flag
8954       else
8955         cat conftest.err 1>&5
8956       fi
8957       $RM conftest*
8958       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8959 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8960       ;;
8961     esac
8962   fi
8963   ;;
8964 esac
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9123 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9124
9125 if test "$GCC" = yes; then
9126   case $host_os in
9127     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9128     *) lt_awk_arg="/^libraries:/" ;;
9129   esac
9130   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9131   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9132     # if the path contains ";" then we assume it to be the separator
9133     # otherwise default to the standard path separator (i.e. ":") - it is
9134     # assumed that no part of a normal pathname contains ";" but that should
9135     # okay in the real world where ";" in dirpaths is itself problematic.
9136     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9137   else
9138     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9139   fi
9140   # Ok, now we have the path, separated by spaces, we can step through it
9141   # and add multilib dir if necessary.
9142   lt_tmp_lt_search_path_spec=
9143   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9144   for lt_sys_path in $lt_search_path_spec; do
9145     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9146       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9147     else
9148       test -d "$lt_sys_path" && \
9149         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9150     fi
9151   done
9152   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9153 BEGIN {RS=" "; FS="/|\n";} {
9154   lt_foo="";
9155   lt_count=0;
9156   for (lt_i = NF; lt_i > 0; lt_i--) {
9157     if ($lt_i != "" && $lt_i != ".") {
9158       if ($lt_i == "..") {
9159         lt_count++;
9160       } else {
9161         if (lt_count == 0) {
9162           lt_foo="/" $lt_i lt_foo;
9163         } else {
9164           lt_count--;
9165         }
9166       }
9167     }
9168   }
9169   if (lt_foo != "") { lt_freq[lt_foo]++; }
9170   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9171 }'`
9172   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9173 else
9174   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9175 fi
9176 library_names_spec=
9177 libname_spec='lib$name'
9178 soname_spec=
9179 shrext_cmds=".so"
9180 postinstall_cmds=
9181 postuninstall_cmds=
9182 finish_cmds=
9183 finish_eval=
9184 shlibpath_var=
9185 shlibpath_overrides_runpath=unknown
9186 version_type=none
9187 dynamic_linker="$host_os ld.so"
9188 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9189 need_lib_prefix=unknown
9190 hardcode_into_libs=no
9191
9192 # when you set need_version to no, make sure it does not cause -set_version
9193 # flags to be left without arguments
9194 need_version=unknown
9195
9196 case $host_os in
9197 aix3*)
9198   version_type=linux
9199   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9200   shlibpath_var=LIBPATH
9201
9202   # AIX 3 has no versioning support, so we append a major version to the name.
9203   soname_spec='${libname}${release}${shared_ext}$major'
9204   ;;
9205
9206 aix[4-9]*)
9207   version_type=linux
9208   need_lib_prefix=no
9209   need_version=no
9210   hardcode_into_libs=yes
9211   if test "$host_cpu" = ia64; then
9212     # AIX 5 supports IA64
9213     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9214     shlibpath_var=LD_LIBRARY_PATH
9215   else
9216     # With GCC up to 2.95.x, collect2 would create an import file
9217     # for dependence libraries.  The import file would start with
9218     # the line `#! .'.  This would cause the generated library to
9219     # depend on `.', always an invalid library.  This was fixed in
9220     # development snapshots of GCC prior to 3.0.
9221     case $host_os in
9222       aix4 | aix4.[01] | aix4.[01].*)
9223       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9224            echo ' yes '
9225            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9226         :
9227       else
9228         can_build_shared=no
9229       fi
9230       ;;
9231     esac
9232     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9233     # soname into executable. Probably we can add versioning support to
9234     # collect2, so additional links can be useful in future.
9235     if test "$aix_use_runtimelinking" = yes; then
9236       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9237       # instead of lib<name>.a to let people know that these are not
9238       # typical AIX shared libraries.
9239       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9240     else
9241       # We preserve .a as extension for shared libraries through AIX4.2
9242       # and later when we are not doing run time linking.
9243       library_names_spec='${libname}${release}.a $libname.a'
9244       soname_spec='${libname}${release}${shared_ext}$major'
9245     fi
9246     shlibpath_var=LIBPATH
9247   fi
9248   ;;
9249
9250 amigaos*)
9251   case $host_cpu in
9252   powerpc)
9253     # Since July 2007 AmigaOS4 officially supports .so libraries.
9254     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9255     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9256     ;;
9257   m68k)
9258     library_names_spec='$libname.ixlibrary $libname.a'
9259     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9260     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'
9261     ;;
9262   esac
9263   ;;
9264
9265 beos*)
9266   library_names_spec='${libname}${shared_ext}'
9267   dynamic_linker="$host_os ld.so"
9268   shlibpath_var=LIBRARY_PATH
9269   ;;
9270
9271 bsdi[45]*)
9272   version_type=linux
9273   need_version=no
9274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9275   soname_spec='${libname}${release}${shared_ext}$major'
9276   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9277   shlibpath_var=LD_LIBRARY_PATH
9278   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9279   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9280   # the default ld.so.conf also contains /usr/contrib/lib and
9281   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9282   # libtool to hard-code these into programs
9283   ;;
9284
9285 cygwin* | mingw* | pw32* | cegcc*)
9286   version_type=windows
9287   shrext_cmds=".dll"
9288   need_version=no
9289   need_lib_prefix=no
9290
9291   case $GCC,$host_os in
9292   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9293     library_names_spec='$libname.dll.a'
9294     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9295     postinstall_cmds='base_file=`basename \${file}`~
9296       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9297       dldir=$destdir/`dirname \$dlpath`~
9298       test -d \$dldir || mkdir -p \$dldir~
9299       $install_prog $dir/$dlname \$dldir/$dlname~
9300       chmod a+x \$dldir/$dlname~
9301       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9302         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9303       fi'
9304     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9305       dlpath=$dir/\$dldll~
9306        $RM \$dlpath'
9307     shlibpath_overrides_runpath=yes
9308
9309     case $host_os in
9310     cygwin*)
9311       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9312       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9313       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9314       ;;
9315     mingw* | cegcc*)
9316       # MinGW DLLs use traditional 'lib' prefix
9317       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9318       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9319       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9320         # It is most probably a Windows format PATH printed by
9321         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9322         # path with ; separators, and with drive letters. We can handle the
9323         # drive letters (cygwin fileutils understands them), so leave them,
9324         # especially as we might pass files found there to a mingw objdump,
9325         # which wouldn't understand a cygwinified path. Ahh.
9326         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9327       else
9328         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9329       fi
9330       ;;
9331     pw32*)
9332       # pw32 DLLs use 'pw' prefix rather than 'lib'
9333       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9334       ;;
9335     esac
9336     ;;
9337
9338   *)
9339     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9340     ;;
9341   esac
9342   dynamic_linker='Win32 ld.exe'
9343   # FIXME: first we should search . and the directory the executable is in
9344   shlibpath_var=PATH
9345   ;;
9346
9347 darwin* | rhapsody*)
9348   dynamic_linker="$host_os dyld"
9349   version_type=darwin
9350   need_lib_prefix=no
9351   need_version=no
9352   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9353   soname_spec='${libname}${release}${major}$shared_ext'
9354   shlibpath_overrides_runpath=yes
9355   shlibpath_var=DYLD_LIBRARY_PATH
9356   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9357
9358   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9359   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9360   ;;
9361
9362 dgux*)
9363   version_type=linux
9364   need_lib_prefix=no
9365   need_version=no
9366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9367   soname_spec='${libname}${release}${shared_ext}$major'
9368   shlibpath_var=LD_LIBRARY_PATH
9369   ;;
9370
9371 freebsd1*)
9372   dynamic_linker=no
9373   ;;
9374
9375 freebsd* | dragonfly*)
9376   # DragonFly does not have aout.  When/if they implement a new
9377   # versioning mechanism, adjust this.
9378   if test -x /usr/bin/objformat; then
9379     objformat=`/usr/bin/objformat`
9380   else
9381     case $host_os in
9382     freebsd[123]*) objformat=aout ;;
9383     *) objformat=elf ;;
9384     esac
9385   fi
9386   version_type=freebsd-$objformat
9387   case $version_type in
9388     freebsd-elf*)
9389       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9390       need_version=no
9391       need_lib_prefix=no
9392       ;;
9393     freebsd-*)
9394       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9395       need_version=yes
9396       ;;
9397   esac
9398   shlibpath_var=LD_LIBRARY_PATH
9399   case $host_os in
9400   freebsd2*)
9401     shlibpath_overrides_runpath=yes
9402     ;;
9403   freebsd3.[01]* | freebsdelf3.[01]*)
9404     shlibpath_overrides_runpath=yes
9405     hardcode_into_libs=yes
9406     ;;
9407   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9408   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9409     shlibpath_overrides_runpath=no
9410     hardcode_into_libs=yes
9411     ;;
9412   *) # from 4.6 on, and DragonFly
9413     shlibpath_overrides_runpath=yes
9414     hardcode_into_libs=yes
9415     ;;
9416   esac
9417   ;;
9418
9419 gnu*)
9420   version_type=linux
9421   need_lib_prefix=no
9422   need_version=no
9423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9424   soname_spec='${libname}${release}${shared_ext}$major'
9425   shlibpath_var=LD_LIBRARY_PATH
9426   hardcode_into_libs=yes
9427   ;;
9428
9429 hpux9* | hpux10* | hpux11*)
9430   # Give a soname corresponding to the major version so that dld.sl refuses to
9431   # link against other versions.
9432   version_type=sunos
9433   need_lib_prefix=no
9434   need_version=no
9435   case $host_cpu in
9436   ia64*)
9437     shrext_cmds='.so'
9438     hardcode_into_libs=yes
9439     dynamic_linker="$host_os dld.so"
9440     shlibpath_var=LD_LIBRARY_PATH
9441     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9442     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443     soname_spec='${libname}${release}${shared_ext}$major'
9444     if test "X$HPUX_IA64_MODE" = X32; then
9445       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9446     else
9447       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9448     fi
9449     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9450     ;;
9451   hppa*64*)
9452     shrext_cmds='.sl'
9453     hardcode_into_libs=yes
9454     dynamic_linker="$host_os dld.sl"
9455     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9456     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9457     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9458     soname_spec='${libname}${release}${shared_ext}$major'
9459     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9460     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9461     ;;
9462   *)
9463     shrext_cmds='.sl'
9464     dynamic_linker="$host_os dld.sl"
9465     shlibpath_var=SHLIB_PATH
9466     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9467     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9468     soname_spec='${libname}${release}${shared_ext}$major'
9469     ;;
9470   esac
9471   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9472   postinstall_cmds='chmod 555 $lib'
9473   ;;
9474
9475 interix[3-9]*)
9476   version_type=linux
9477   need_lib_prefix=no
9478   need_version=no
9479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9480   soname_spec='${libname}${release}${shared_ext}$major'
9481   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9482   shlibpath_var=LD_LIBRARY_PATH
9483   shlibpath_overrides_runpath=no
9484   hardcode_into_libs=yes
9485   ;;
9486
9487 irix5* | irix6* | nonstopux*)
9488   case $host_os in
9489     nonstopux*) version_type=nonstopux ;;
9490     *)
9491         if test "$lt_cv_prog_gnu_ld" = yes; then
9492                 version_type=linux
9493         else
9494                 version_type=irix
9495         fi ;;
9496   esac
9497   need_lib_prefix=no
9498   need_version=no
9499   soname_spec='${libname}${release}${shared_ext}$major'
9500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9501   case $host_os in
9502   irix5* | nonstopux*)
9503     libsuff= shlibsuff=
9504     ;;
9505   *)
9506     case $LD in # libtool.m4 will add one of these switches to LD
9507     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9508       libsuff= shlibsuff= libmagic=32-bit;;
9509     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9510       libsuff=32 shlibsuff=N32 libmagic=N32;;
9511     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9512       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9513     *) libsuff= shlibsuff= libmagic=never-match;;
9514     esac
9515     ;;
9516   esac
9517   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9518   shlibpath_overrides_runpath=no
9519   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9520   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9521   hardcode_into_libs=yes
9522   ;;
9523
9524 # No shared lib support for Linux oldld, aout, or coff.
9525 linux*oldld* | linux*aout* | linux*coff*)
9526   dynamic_linker=no
9527   ;;
9528
9529 # This must be Linux ELF.
9530 linux* | k*bsd*-gnu)
9531   version_type=linux
9532   need_lib_prefix=no
9533   need_version=no
9534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9535   soname_spec='${libname}${release}${shared_ext}$major'
9536   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9537   shlibpath_var=LD_LIBRARY_PATH
9538   shlibpath_overrides_runpath=no
9539   # Some binutils ld are patched to set DT_RUNPATH
9540   save_LDFLAGS=$LDFLAGS
9541   save_libdir=$libdir
9542   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9543        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9544   if test x$gcc_no_link = xyes; then
9545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9547    { (exit 1); exit 1; }; }
9548 fi
9549 cat >conftest.$ac_ext <<_ACEOF
9550 /* confdefs.h.  */
9551 _ACEOF
9552 cat confdefs.h >>conftest.$ac_ext
9553 cat >>conftest.$ac_ext <<_ACEOF
9554 /* end confdefs.h.  */
9555
9556 int
9557 main ()
9558 {
9559
9560   ;
9561   return 0;
9562 }
9563 _ACEOF
9564 rm -f conftest.$ac_objext conftest$ac_exeext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9566   (eval $ac_link) 2>conftest.er1
9567   ac_status=$?
9568   grep -v '^ *+' conftest.er1 >conftest.err
9569   rm -f conftest.er1
9570   cat conftest.err >&5
9571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572   (exit $ac_status); } &&
9573          { ac_try='test -z "$ac_c_werror_flag"
9574                          || test ! -s conftest.err'
9575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576   (eval $ac_try) 2>&5
9577   ac_status=$?
9578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579   (exit $ac_status); }; } &&
9580          { ac_try='test -s conftest$ac_exeext'
9581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9582   (eval $ac_try) 2>&5
9583   ac_status=$?
9584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585   (exit $ac_status); }; }; then
9586   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9587   shlibpath_overrides_runpath=yes
9588 fi
9589
9590 else
9591   echo "$as_me: failed program was:" >&5
9592 sed 's/^/| /' conftest.$ac_ext >&5
9593
9594 fi
9595 rm -f conftest.err conftest.$ac_objext \
9596       conftest$ac_exeext conftest.$ac_ext
9597   LDFLAGS=$save_LDFLAGS
9598   libdir=$save_libdir
9599
9600   # This implies no fast_install, which is unacceptable.
9601   # Some rework will be needed to allow for fast_install
9602   # before this can be enabled.
9603   hardcode_into_libs=yes
9604
9605   # Append ld.so.conf contents to the search path
9606   if test -f /etc/ld.so.conf; then
9607     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9608     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9609   fi
9610
9611   # We used to test for /lib/ld.so.1 and disable shared libraries on
9612   # powerpc, because MkLinux only supported shared libraries with the
9613   # GNU dynamic linker.  Since this was broken with cross compilers,
9614   # most powerpc-linux boxes support dynamic linking these days and
9615   # people can always --disable-shared, the test was removed, and we
9616   # assume the GNU/Linux dynamic linker is in use.
9617   dynamic_linker='GNU/Linux ld.so'
9618   ;;
9619
9620 netbsd*)
9621   version_type=sunos
9622   need_lib_prefix=no
9623   need_version=no
9624   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9625     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9626     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9627     dynamic_linker='NetBSD (a.out) ld.so'
9628   else
9629     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9630     soname_spec='${libname}${release}${shared_ext}$major'
9631     dynamic_linker='NetBSD ld.elf_so'
9632   fi
9633   shlibpath_var=LD_LIBRARY_PATH
9634   shlibpath_overrides_runpath=yes
9635   hardcode_into_libs=yes
9636   ;;
9637
9638 newsos6)
9639   version_type=linux
9640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641   shlibpath_var=LD_LIBRARY_PATH
9642   shlibpath_overrides_runpath=yes
9643   ;;
9644
9645 *nto* | *qnx*)
9646   version_type=qnx
9647   need_lib_prefix=no
9648   need_version=no
9649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9650   soname_spec='${libname}${release}${shared_ext}$major'
9651   shlibpath_var=LD_LIBRARY_PATH
9652   shlibpath_overrides_runpath=no
9653   hardcode_into_libs=yes
9654   dynamic_linker='ldqnx.so'
9655   ;;
9656
9657 openbsd*)
9658   version_type=sunos
9659   sys_lib_dlsearch_path_spec="/usr/lib"
9660   need_lib_prefix=no
9661   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9662   case $host_os in
9663     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9664     *)                          need_version=no  ;;
9665   esac
9666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9667   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9668   shlibpath_var=LD_LIBRARY_PATH
9669   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9670     case $host_os in
9671       openbsd2.[89] | openbsd2.[89].*)
9672         shlibpath_overrides_runpath=no
9673         ;;
9674       *)
9675         shlibpath_overrides_runpath=yes
9676         ;;
9677       esac
9678   else
9679     shlibpath_overrides_runpath=yes
9680   fi
9681   ;;
9682
9683 os2*)
9684   libname_spec='$name'
9685   shrext_cmds=".dll"
9686   need_lib_prefix=no
9687   library_names_spec='$libname${shared_ext} $libname.a'
9688   dynamic_linker='OS/2 ld.exe'
9689   shlibpath_var=LIBPATH
9690   ;;
9691
9692 osf3* | osf4* | osf5*)
9693   version_type=osf
9694   need_lib_prefix=no
9695   need_version=no
9696   soname_spec='${libname}${release}${shared_ext}$major'
9697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698   shlibpath_var=LD_LIBRARY_PATH
9699   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9700   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9701   ;;
9702
9703 rdos*)
9704   dynamic_linker=no
9705   ;;
9706
9707 solaris*)
9708   version_type=linux
9709   need_lib_prefix=no
9710   need_version=no
9711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9712   soname_spec='${libname}${release}${shared_ext}$major'
9713   shlibpath_var=LD_LIBRARY_PATH
9714   shlibpath_overrides_runpath=yes
9715   hardcode_into_libs=yes
9716   # ldd complains unless libraries are executable
9717   postinstall_cmds='chmod +x $lib'
9718   ;;
9719
9720 sunos4*)
9721   version_type=sunos
9722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9723   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9724   shlibpath_var=LD_LIBRARY_PATH
9725   shlibpath_overrides_runpath=yes
9726   if test "$with_gnu_ld" = yes; then
9727     need_lib_prefix=no
9728   fi
9729   need_version=yes
9730   ;;
9731
9732 sysv4 | sysv4.3*)
9733   version_type=linux
9734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735   soname_spec='${libname}${release}${shared_ext}$major'
9736   shlibpath_var=LD_LIBRARY_PATH
9737   case $host_vendor in
9738     sni)
9739       shlibpath_overrides_runpath=no
9740       need_lib_prefix=no
9741       runpath_var=LD_RUN_PATH
9742       ;;
9743     siemens)
9744       need_lib_prefix=no
9745       ;;
9746     motorola)
9747       need_lib_prefix=no
9748       need_version=no
9749       shlibpath_overrides_runpath=no
9750       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9751       ;;
9752   esac
9753   ;;
9754
9755 sysv4*MP*)
9756   if test -d /usr/nec ;then
9757     version_type=linux
9758     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9759     soname_spec='$libname${shared_ext}.$major'
9760     shlibpath_var=LD_LIBRARY_PATH
9761   fi
9762   ;;
9763
9764 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9765   version_type=freebsd-elf
9766   need_lib_prefix=no
9767   need_version=no
9768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9769   soname_spec='${libname}${release}${shared_ext}$major'
9770   shlibpath_var=LD_LIBRARY_PATH
9771   shlibpath_overrides_runpath=yes
9772   hardcode_into_libs=yes
9773   if test "$with_gnu_ld" = yes; then
9774     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9775   else
9776     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9777     case $host_os in
9778       sco3.2v5*)
9779         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9780         ;;
9781     esac
9782   fi
9783   sys_lib_dlsearch_path_spec='/usr/lib'
9784   ;;
9785
9786 tpf*)
9787   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9788   version_type=linux
9789   need_lib_prefix=no
9790   need_version=no
9791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792   shlibpath_var=LD_LIBRARY_PATH
9793   shlibpath_overrides_runpath=no
9794   hardcode_into_libs=yes
9795   ;;
9796
9797 uts4*)
9798   version_type=linux
9799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800   soname_spec='${libname}${release}${shared_ext}$major'
9801   shlibpath_var=LD_LIBRARY_PATH
9802   ;;
9803
9804 *)
9805   dynamic_linker=no
9806   ;;
9807 esac
9808 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9809 echo "${ECHO_T}$dynamic_linker" >&6
9810 test "$dynamic_linker" = no && can_build_shared=no
9811
9812 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9813 if test "$GCC" = yes; then
9814   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9815 fi
9816
9817 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9818   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9819 fi
9820 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9821   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9822 fi
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9911 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9912 hardcode_action=
9913 if test -n "$hardcode_libdir_flag_spec" ||
9914    test -n "$runpath_var" ||
9915    test "X$hardcode_automatic" = "Xyes" ; then
9916
9917   # We can hardcode non-existent directories.
9918   if test "$hardcode_direct" != no &&
9919      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9920      # have to relink, otherwise we might link with an installed library
9921      # when we should be linking with a yet-to-be-installed one
9922      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9923      test "$hardcode_minus_L" != no; then
9924     # Linking always hardcodes the temporary library directory.
9925     hardcode_action=relink
9926   else
9927     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9928     hardcode_action=immediate
9929   fi
9930 else
9931   # We cannot hardcode anything, or else we can only hardcode existing
9932   # directories.
9933   hardcode_action=unsupported
9934 fi
9935 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9936 echo "${ECHO_T}$hardcode_action" >&6
9937
9938 if test "$hardcode_action" = relink ||
9939    test "$inherit_rpath" = yes; then
9940   # Fast installation is not supported
9941   enable_fast_install=no
9942 elif test "$shlibpath_overrides_runpath" = yes ||
9943      test "$enable_shared" = no; then
9944   # Fast installation is not necessary
9945   enable_fast_install=needless
9946 fi
9947
9948
9949
9950
9951
9952
9953   if test "x$enable_dlopen" != xyes; then
9954   enable_dlopen=unknown
9955   enable_dlopen_self=unknown
9956   enable_dlopen_self_static=unknown
9957 else
9958   lt_cv_dlopen=no
9959   lt_cv_dlopen_libs=
9960
9961   case $host_os in
9962   beos*)
9963     lt_cv_dlopen="load_add_on"
9964     lt_cv_dlopen_libs=
9965     lt_cv_dlopen_self=yes
9966     ;;
9967
9968   mingw* | pw32* | cegcc*)
9969     lt_cv_dlopen="LoadLibrary"
9970     lt_cv_dlopen_libs=
9971     ;;
9972
9973   cygwin*)
9974     lt_cv_dlopen="dlopen"
9975     lt_cv_dlopen_libs=
9976     ;;
9977
9978   darwin*)
9979   # if libdl is installed we need to link against it
9980     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9981 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9982 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9983   echo $ECHO_N "(cached) $ECHO_C" >&6
9984 else
9985   ac_check_lib_save_LIBS=$LIBS
9986 LIBS="-ldl  $LIBS"
9987 if test x$gcc_no_link = xyes; then
9988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9990    { (exit 1); exit 1; }; }
9991 fi
9992 cat >conftest.$ac_ext <<_ACEOF
9993 /* confdefs.h.  */
9994 _ACEOF
9995 cat confdefs.h >>conftest.$ac_ext
9996 cat >>conftest.$ac_ext <<_ACEOF
9997 /* end confdefs.h.  */
9998
9999 /* Override any gcc2 internal prototype to avoid an error.  */
10000 #ifdef __cplusplus
10001 extern "C"
10002 #endif
10003 /* We use char because int might match the return type of a gcc2
10004    builtin and then its argument prototype would still apply.  */
10005 char dlopen ();
10006 int
10007 main ()
10008 {
10009 dlopen ();
10010   ;
10011   return 0;
10012 }
10013 _ACEOF
10014 rm -f conftest.$ac_objext conftest$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016   (eval $ac_link) 2>conftest.er1
10017   ac_status=$?
10018   grep -v '^ *+' conftest.er1 >conftest.err
10019   rm -f conftest.er1
10020   cat conftest.err >&5
10021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022   (exit $ac_status); } &&
10023          { ac_try='test -z "$ac_c_werror_flag"
10024                          || test ! -s conftest.err'
10025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026   (eval $ac_try) 2>&5
10027   ac_status=$?
10028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029   (exit $ac_status); }; } &&
10030          { ac_try='test -s conftest$ac_exeext'
10031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032   (eval $ac_try) 2>&5
10033   ac_status=$?
10034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035   (exit $ac_status); }; }; then
10036   ac_cv_lib_dl_dlopen=yes
10037 else
10038   echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10040
10041 ac_cv_lib_dl_dlopen=no
10042 fi
10043 rm -f conftest.err conftest.$ac_objext \
10044       conftest$ac_exeext conftest.$ac_ext
10045 LIBS=$ac_check_lib_save_LIBS
10046 fi
10047 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10048 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10049 if test $ac_cv_lib_dl_dlopen = yes; then
10050   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10051 else
10052
10053     lt_cv_dlopen="dyld"
10054     lt_cv_dlopen_libs=
10055     lt_cv_dlopen_self=yes
10056
10057 fi
10058
10059     ;;
10060
10061   *)
10062     echo "$as_me:$LINENO: checking for shl_load" >&5
10063 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10064 if test "${ac_cv_func_shl_load+set}" = set; then
10065   echo $ECHO_N "(cached) $ECHO_C" >&6
10066 else
10067   if test x$gcc_no_link = xyes; then
10068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10070    { (exit 1); exit 1; }; }
10071 fi
10072 cat >conftest.$ac_ext <<_ACEOF
10073 /* confdefs.h.  */
10074 _ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h.  */
10078 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10080 #define shl_load innocuous_shl_load
10081
10082 /* System header to define __stub macros and hopefully few prototypes,
10083     which can conflict with char shl_load (); below.
10084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10085     <limits.h> exists even on freestanding compilers.  */
10086
10087 #ifdef __STDC__
10088 # include <limits.h>
10089 #else
10090 # include <assert.h>
10091 #endif
10092
10093 #undef shl_load
10094
10095 /* Override any gcc2 internal prototype to avoid an error.  */
10096 #ifdef __cplusplus
10097 extern "C"
10098 {
10099 #endif
10100 /* We use char because int might match the return type of a gcc2
10101    builtin and then its argument prototype would still apply.  */
10102 char shl_load ();
10103 /* The GNU C library defines this for functions which it implements
10104     to always fail with ENOSYS.  Some functions are actually named
10105     something starting with __ and the normal name is an alias.  */
10106 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10107 choke me
10108 #else
10109 char (*f) () = shl_load;
10110 #endif
10111 #ifdef __cplusplus
10112 }
10113 #endif
10114
10115 int
10116 main ()
10117 {
10118 return f != shl_load;
10119   ;
10120   return 0;
10121 }
10122 _ACEOF
10123 rm -f conftest.$ac_objext conftest$ac_exeext
10124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10125   (eval $ac_link) 2>conftest.er1
10126   ac_status=$?
10127   grep -v '^ *+' conftest.er1 >conftest.err
10128   rm -f conftest.er1
10129   cat conftest.err >&5
10130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131   (exit $ac_status); } &&
10132          { ac_try='test -z "$ac_c_werror_flag"
10133                          || test ! -s conftest.err'
10134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10135   (eval $ac_try) 2>&5
10136   ac_status=$?
10137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138   (exit $ac_status); }; } &&
10139          { ac_try='test -s conftest$ac_exeext'
10140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141   (eval $ac_try) 2>&5
10142   ac_status=$?
10143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144   (exit $ac_status); }; }; then
10145   ac_cv_func_shl_load=yes
10146 else
10147   echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.$ac_ext >&5
10149
10150 ac_cv_func_shl_load=no
10151 fi
10152 rm -f conftest.err conftest.$ac_objext \
10153       conftest$ac_exeext conftest.$ac_ext
10154 fi
10155 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10156 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10157 if test $ac_cv_func_shl_load = yes; then
10158   lt_cv_dlopen="shl_load"
10159 else
10160   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10161 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10162 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10163   echo $ECHO_N "(cached) $ECHO_C" >&6
10164 else
10165   ac_check_lib_save_LIBS=$LIBS
10166 LIBS="-ldld  $LIBS"
10167 if test x$gcc_no_link = xyes; then
10168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10170    { (exit 1); exit 1; }; }
10171 fi
10172 cat >conftest.$ac_ext <<_ACEOF
10173 /* confdefs.h.  */
10174 _ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h.  */
10178
10179 /* Override any gcc2 internal prototype to avoid an error.  */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 /* We use char because int might match the return type of a gcc2
10184    builtin and then its argument prototype would still apply.  */
10185 char shl_load ();
10186 int
10187 main ()
10188 {
10189 shl_load ();
10190   ;
10191   return 0;
10192 }
10193 _ACEOF
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10196   (eval $ac_link) 2>conftest.er1
10197   ac_status=$?
10198   grep -v '^ *+' conftest.er1 >conftest.err
10199   rm -f conftest.er1
10200   cat conftest.err >&5
10201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202   (exit $ac_status); } &&
10203          { ac_try='test -z "$ac_c_werror_flag"
10204                          || test ! -s conftest.err'
10205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206   (eval $ac_try) 2>&5
10207   ac_status=$?
10208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209   (exit $ac_status); }; } &&
10210          { ac_try='test -s conftest$ac_exeext'
10211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212   (eval $ac_try) 2>&5
10213   ac_status=$?
10214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215   (exit $ac_status); }; }; then
10216   ac_cv_lib_dld_shl_load=yes
10217 else
10218   echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10220
10221 ac_cv_lib_dld_shl_load=no
10222 fi
10223 rm -f conftest.err conftest.$ac_objext \
10224       conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_lib_save_LIBS
10226 fi
10227 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10228 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10229 if test $ac_cv_lib_dld_shl_load = yes; then
10230   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10231 else
10232   echo "$as_me:$LINENO: checking for dlopen" >&5
10233 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10234 if test "${ac_cv_func_dlopen+set}" = set; then
10235   echo $ECHO_N "(cached) $ECHO_C" >&6
10236 else
10237   if test x$gcc_no_link = xyes; then
10238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10240    { (exit 1); exit 1; }; }
10241 fi
10242 cat >conftest.$ac_ext <<_ACEOF
10243 /* confdefs.h.  */
10244 _ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h.  */
10248 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10250 #define dlopen innocuous_dlopen
10251
10252 /* System header to define __stub macros and hopefully few prototypes,
10253     which can conflict with char dlopen (); below.
10254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10255     <limits.h> exists even on freestanding compilers.  */
10256
10257 #ifdef __STDC__
10258 # include <limits.h>
10259 #else
10260 # include <assert.h>
10261 #endif
10262
10263 #undef dlopen
10264
10265 /* Override any gcc2 internal prototype to avoid an error.  */
10266 #ifdef __cplusplus
10267 extern "C"
10268 {
10269 #endif
10270 /* We use char because int might match the return type of a gcc2
10271    builtin and then its argument prototype would still apply.  */
10272 char dlopen ();
10273 /* The GNU C library defines this for functions which it implements
10274     to always fail with ENOSYS.  Some functions are actually named
10275     something starting with __ and the normal name is an alias.  */
10276 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10277 choke me
10278 #else
10279 char (*f) () = dlopen;
10280 #endif
10281 #ifdef __cplusplus
10282 }
10283 #endif
10284
10285 int
10286 main ()
10287 {
10288 return f != dlopen;
10289   ;
10290   return 0;
10291 }
10292 _ACEOF
10293 rm -f conftest.$ac_objext conftest$ac_exeext
10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295   (eval $ac_link) 2>conftest.er1
10296   ac_status=$?
10297   grep -v '^ *+' conftest.er1 >conftest.err
10298   rm -f conftest.er1
10299   cat conftest.err >&5
10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301   (exit $ac_status); } &&
10302          { ac_try='test -z "$ac_c_werror_flag"
10303                          || test ! -s conftest.err'
10304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305   (eval $ac_try) 2>&5
10306   ac_status=$?
10307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308   (exit $ac_status); }; } &&
10309          { ac_try='test -s conftest$ac_exeext'
10310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311   (eval $ac_try) 2>&5
10312   ac_status=$?
10313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314   (exit $ac_status); }; }; then
10315   ac_cv_func_dlopen=yes
10316 else
10317   echo "$as_me: failed program was:" >&5
10318 sed 's/^/| /' conftest.$ac_ext >&5
10319
10320 ac_cv_func_dlopen=no
10321 fi
10322 rm -f conftest.err conftest.$ac_objext \
10323       conftest$ac_exeext conftest.$ac_ext
10324 fi
10325 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10326 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10327 if test $ac_cv_func_dlopen = yes; then
10328   lt_cv_dlopen="dlopen"
10329 else
10330   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10331 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10332 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10333   echo $ECHO_N "(cached) $ECHO_C" >&6
10334 else
10335   ac_check_lib_save_LIBS=$LIBS
10336 LIBS="-ldl  $LIBS"
10337 if test x$gcc_no_link = xyes; then
10338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10340    { (exit 1); exit 1; }; }
10341 fi
10342 cat >conftest.$ac_ext <<_ACEOF
10343 /* confdefs.h.  */
10344 _ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h.  */
10348
10349 /* Override any gcc2 internal prototype to avoid an error.  */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 /* We use char because int might match the return type of a gcc2
10354    builtin and then its argument prototype would still apply.  */
10355 char dlopen ();
10356 int
10357 main ()
10358 {
10359 dlopen ();
10360   ;
10361   return 0;
10362 }
10363 _ACEOF
10364 rm -f conftest.$ac_objext conftest$ac_exeext
10365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10366   (eval $ac_link) 2>conftest.er1
10367   ac_status=$?
10368   grep -v '^ *+' conftest.er1 >conftest.err
10369   rm -f conftest.er1
10370   cat conftest.err >&5
10371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372   (exit $ac_status); } &&
10373          { ac_try='test -z "$ac_c_werror_flag"
10374                          || test ! -s conftest.err'
10375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376   (eval $ac_try) 2>&5
10377   ac_status=$?
10378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379   (exit $ac_status); }; } &&
10380          { ac_try='test -s conftest$ac_exeext'
10381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382   (eval $ac_try) 2>&5
10383   ac_status=$?
10384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385   (exit $ac_status); }; }; then
10386   ac_cv_lib_dl_dlopen=yes
10387 else
10388   echo "$as_me: failed program was:" >&5
10389 sed 's/^/| /' conftest.$ac_ext >&5
10390
10391 ac_cv_lib_dl_dlopen=no
10392 fi
10393 rm -f conftest.err conftest.$ac_objext \
10394       conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_lib_save_LIBS
10396 fi
10397 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10398 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10399 if test $ac_cv_lib_dl_dlopen = yes; then
10400   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10401 else
10402   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10403 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10404 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10405   echo $ECHO_N "(cached) $ECHO_C" >&6
10406 else
10407   ac_check_lib_save_LIBS=$LIBS
10408 LIBS="-lsvld  $LIBS"
10409 if test x$gcc_no_link = xyes; then
10410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10412    { (exit 1); exit 1; }; }
10413 fi
10414 cat >conftest.$ac_ext <<_ACEOF
10415 /* confdefs.h.  */
10416 _ACEOF
10417 cat confdefs.h >>conftest.$ac_ext
10418 cat >>conftest.$ac_ext <<_ACEOF
10419 /* end confdefs.h.  */
10420
10421 /* Override any gcc2 internal prototype to avoid an error.  */
10422 #ifdef __cplusplus
10423 extern "C"
10424 #endif
10425 /* We use char because int might match the return type of a gcc2
10426    builtin and then its argument prototype would still apply.  */
10427 char dlopen ();
10428 int
10429 main ()
10430 {
10431 dlopen ();
10432   ;
10433   return 0;
10434 }
10435 _ACEOF
10436 rm -f conftest.$ac_objext conftest$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438   (eval $ac_link) 2>conftest.er1
10439   ac_status=$?
10440   grep -v '^ *+' conftest.er1 >conftest.err
10441   rm -f conftest.er1
10442   cat conftest.err >&5
10443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444   (exit $ac_status); } &&
10445          { ac_try='test -z "$ac_c_werror_flag"
10446                          || test ! -s conftest.err'
10447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448   (eval $ac_try) 2>&5
10449   ac_status=$?
10450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451   (exit $ac_status); }; } &&
10452          { ac_try='test -s conftest$ac_exeext'
10453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454   (eval $ac_try) 2>&5
10455   ac_status=$?
10456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457   (exit $ac_status); }; }; then
10458   ac_cv_lib_svld_dlopen=yes
10459 else
10460   echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10462
10463 ac_cv_lib_svld_dlopen=no
10464 fi
10465 rm -f conftest.err conftest.$ac_objext \
10466       conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_lib_save_LIBS
10468 fi
10469 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10470 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10471 if test $ac_cv_lib_svld_dlopen = yes; then
10472   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10473 else
10474   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10475 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10476 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10477   echo $ECHO_N "(cached) $ECHO_C" >&6
10478 else
10479   ac_check_lib_save_LIBS=$LIBS
10480 LIBS="-ldld  $LIBS"
10481 if test x$gcc_no_link = xyes; then
10482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10484    { (exit 1); exit 1; }; }
10485 fi
10486 cat >conftest.$ac_ext <<_ACEOF
10487 /* confdefs.h.  */
10488 _ACEOF
10489 cat confdefs.h >>conftest.$ac_ext
10490 cat >>conftest.$ac_ext <<_ACEOF
10491 /* end confdefs.h.  */
10492
10493 /* Override any gcc2 internal prototype to avoid an error.  */
10494 #ifdef __cplusplus
10495 extern "C"
10496 #endif
10497 /* We use char because int might match the return type of a gcc2
10498    builtin and then its argument prototype would still apply.  */
10499 char dld_link ();
10500 int
10501 main ()
10502 {
10503 dld_link ();
10504   ;
10505   return 0;
10506 }
10507 _ACEOF
10508 rm -f conftest.$ac_objext conftest$ac_exeext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510   (eval $ac_link) 2>conftest.er1
10511   ac_status=$?
10512   grep -v '^ *+' conftest.er1 >conftest.err
10513   rm -f conftest.er1
10514   cat conftest.err >&5
10515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516   (exit $ac_status); } &&
10517          { ac_try='test -z "$ac_c_werror_flag"
10518                          || test ! -s conftest.err'
10519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520   (eval $ac_try) 2>&5
10521   ac_status=$?
10522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523   (exit $ac_status); }; } &&
10524          { ac_try='test -s conftest$ac_exeext'
10525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526   (eval $ac_try) 2>&5
10527   ac_status=$?
10528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529   (exit $ac_status); }; }; then
10530   ac_cv_lib_dld_dld_link=yes
10531 else
10532   echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10534
10535 ac_cv_lib_dld_dld_link=no
10536 fi
10537 rm -f conftest.err conftest.$ac_objext \
10538       conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10540 fi
10541 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10542 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10543 if test $ac_cv_lib_dld_dld_link = yes; then
10544   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10545 fi
10546
10547
10548 fi
10549
10550
10551 fi
10552
10553
10554 fi
10555
10556
10557 fi
10558
10559
10560 fi
10561
10562     ;;
10563   esac
10564
10565   if test "x$lt_cv_dlopen" != xno; then
10566     enable_dlopen=yes
10567   else
10568     enable_dlopen=no
10569   fi
10570
10571   case $lt_cv_dlopen in
10572   dlopen)
10573     save_CPPFLAGS="$CPPFLAGS"
10574     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10575
10576     save_LDFLAGS="$LDFLAGS"
10577     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10578
10579     save_LIBS="$LIBS"
10580     LIBS="$lt_cv_dlopen_libs $LIBS"
10581
10582     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10583 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10584 if test "${lt_cv_dlopen_self+set}" = set; then
10585   echo $ECHO_N "(cached) $ECHO_C" >&6
10586 else
10587           if test "$cross_compiling" = yes; then :
10588   lt_cv_dlopen_self=cross
10589 else
10590   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10591   lt_status=$lt_dlunknown
10592   cat > conftest.$ac_ext <<_LT_EOF
10593 #line 10593 "configure"
10594 #include "confdefs.h"
10595
10596 #if HAVE_DLFCN_H
10597 #include <dlfcn.h>
10598 #endif
10599
10600 #include <stdio.h>
10601
10602 #ifdef RTLD_GLOBAL
10603 #  define LT_DLGLOBAL           RTLD_GLOBAL
10604 #else
10605 #  ifdef DL_GLOBAL
10606 #    define LT_DLGLOBAL         DL_GLOBAL
10607 #  else
10608 #    define LT_DLGLOBAL         0
10609 #  endif
10610 #endif
10611
10612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10613    find out it does not work in some platform. */
10614 #ifndef LT_DLLAZY_OR_NOW
10615 #  ifdef RTLD_LAZY
10616 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10617 #  else
10618 #    ifdef DL_LAZY
10619 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10620 #    else
10621 #      ifdef RTLD_NOW
10622 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10623 #      else
10624 #        ifdef DL_NOW
10625 #          define LT_DLLAZY_OR_NOW      DL_NOW
10626 #        else
10627 #          define LT_DLLAZY_OR_NOW      0
10628 #        endif
10629 #      endif
10630 #    endif
10631 #  endif
10632 #endif
10633
10634 void fnord() { int i=42;}
10635 int main ()
10636 {
10637   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10638   int status = $lt_dlunknown;
10639
10640   if (self)
10641     {
10642       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10643       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10644       /* dlclose (self); */
10645     }
10646   else
10647     puts (dlerror ());
10648
10649   return status;
10650 }
10651 _LT_EOF
10652   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10653   (eval $ac_link) 2>&5
10654   ac_status=$?
10655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10657     (./conftest; exit; ) >&5 2>/dev/null
10658     lt_status=$?
10659     case x$lt_status in
10660       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10661       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10662       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10663     esac
10664   else :
10665     # compilation failed
10666     lt_cv_dlopen_self=no
10667   fi
10668 fi
10669 rm -fr conftest*
10670
10671
10672 fi
10673 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10674 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10675
10676     if test "x$lt_cv_dlopen_self" = xyes; then
10677       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10678       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10679 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10680 if test "${lt_cv_dlopen_self_static+set}" = set; then
10681   echo $ECHO_N "(cached) $ECHO_C" >&6
10682 else
10683           if test "$cross_compiling" = yes; then :
10684   lt_cv_dlopen_self_static=cross
10685 else
10686   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10687   lt_status=$lt_dlunknown
10688   cat > conftest.$ac_ext <<_LT_EOF
10689 #line 10689 "configure"
10690 #include "confdefs.h"
10691
10692 #if HAVE_DLFCN_H
10693 #include <dlfcn.h>
10694 #endif
10695
10696 #include <stdio.h>
10697
10698 #ifdef RTLD_GLOBAL
10699 #  define LT_DLGLOBAL           RTLD_GLOBAL
10700 #else
10701 #  ifdef DL_GLOBAL
10702 #    define LT_DLGLOBAL         DL_GLOBAL
10703 #  else
10704 #    define LT_DLGLOBAL         0
10705 #  endif
10706 #endif
10707
10708 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10709    find out it does not work in some platform. */
10710 #ifndef LT_DLLAZY_OR_NOW
10711 #  ifdef RTLD_LAZY
10712 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10713 #  else
10714 #    ifdef DL_LAZY
10715 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10716 #    else
10717 #      ifdef RTLD_NOW
10718 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10719 #      else
10720 #        ifdef DL_NOW
10721 #          define LT_DLLAZY_OR_NOW      DL_NOW
10722 #        else
10723 #          define LT_DLLAZY_OR_NOW      0
10724 #        endif
10725 #      endif
10726 #    endif
10727 #  endif
10728 #endif
10729
10730 void fnord() { int i=42;}
10731 int main ()
10732 {
10733   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10734   int status = $lt_dlunknown;
10735
10736   if (self)
10737     {
10738       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10739       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10740       /* dlclose (self); */
10741     }
10742   else
10743     puts (dlerror ());
10744
10745   return status;
10746 }
10747 _LT_EOF
10748   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10749   (eval $ac_link) 2>&5
10750   ac_status=$?
10751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10753     (./conftest; exit; ) >&5 2>/dev/null
10754     lt_status=$?
10755     case x$lt_status in
10756       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10757       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10758       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10759     esac
10760   else :
10761     # compilation failed
10762     lt_cv_dlopen_self_static=no
10763   fi
10764 fi
10765 rm -fr conftest*
10766
10767
10768 fi
10769 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10770 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10771     fi
10772
10773     CPPFLAGS="$save_CPPFLAGS"
10774     LDFLAGS="$save_LDFLAGS"
10775     LIBS="$save_LIBS"
10776     ;;
10777   esac
10778
10779   case $lt_cv_dlopen_self in
10780   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10781   *) enable_dlopen_self=unknown ;;
10782   esac
10783
10784   case $lt_cv_dlopen_self_static in
10785   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10786   *) enable_dlopen_self_static=unknown ;;
10787   esac
10788 fi
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806 striplib=
10807 old_striplib=
10808 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10809 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10810 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10811   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10812   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10813   echo "$as_me:$LINENO: result: yes" >&5
10814 echo "${ECHO_T}yes" >&6
10815 else
10816 # FIXME - insert some real tests, host_os isn't really good enough
10817   case $host_os in
10818   darwin*)
10819     if test -n "$STRIP" ; then
10820       striplib="$STRIP -x"
10821       old_striplib="$STRIP -S"
10822       echo "$as_me:$LINENO: result: yes" >&5
10823 echo "${ECHO_T}yes" >&6
10824     else
10825       echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10827     fi
10828     ;;
10829   *)
10830     echo "$as_me:$LINENO: result: no" >&5
10831 echo "${ECHO_T}no" >&6
10832     ;;
10833   esac
10834 fi
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847   # Report which library types will actually be built
10848   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10849 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10850   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10851 echo "${ECHO_T}$can_build_shared" >&6
10852
10853   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10854 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10855   test "$can_build_shared" = "no" && enable_shared=no
10856
10857   # On AIX, shared libraries and static libraries use the same namespace, and
10858   # are all built from PIC.
10859   case $host_os in
10860   aix3*)
10861     test "$enable_shared" = yes && enable_static=no
10862     if test -n "$RANLIB"; then
10863       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10864       postinstall_cmds='$RANLIB $lib'
10865     fi
10866     ;;
10867
10868   aix[4-9]*)
10869     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10870       test "$enable_shared" = yes && enable_static=no
10871     fi
10872     ;;
10873   esac
10874   echo "$as_me:$LINENO: result: $enable_shared" >&5
10875 echo "${ECHO_T}$enable_shared" >&6
10876
10877   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10878 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10879   # Make sure either enable_shared or enable_static is yes.
10880   test "$enable_shared" = yes || enable_static=yes
10881   echo "$as_me:$LINENO: result: $enable_static" >&5
10882 echo "${ECHO_T}$enable_static" >&6
10883
10884
10885
10886
10887 fi
10888 ac_ext=c
10889 ac_cpp='$CPP $CPPFLAGS'
10890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10893
10894 CC="$lt_save_CC"
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908                   ac_config_commands="$ac_config_commands libtool"
10909
10910
10911
10912
10913 # Only expand once:
10914
10915
10916
10917
10918 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10919
10920 # We need gfortran to compile parts of the library
10921 #AC_PROG_FC(gfortran)
10922 FC="$GFORTRAN"
10923 ac_ext=${FC_SRCEXT-f}
10924 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10925 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10926 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10927 if test -n "$ac_tool_prefix"; then
10928   for ac_prog in gfortran
10929   do
10930     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10932 echo "$as_me:$LINENO: checking for $ac_word" >&5
10933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10934 if test "${ac_cv_prog_FC+set}" = set; then
10935   echo $ECHO_N "(cached) $ECHO_C" >&6
10936 else
10937   if test -n "$FC"; then
10938   ac_cv_prog_FC="$FC" # Let the user override the test.
10939 else
10940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10941 for as_dir in $PATH
10942 do
10943   IFS=$as_save_IFS
10944   test -z "$as_dir" && as_dir=.
10945   for ac_exec_ext in '' $ac_executable_extensions; do
10946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10947     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10949     break 2
10950   fi
10951 done
10952 done
10953
10954 fi
10955 fi
10956 FC=$ac_cv_prog_FC
10957 if test -n "$FC"; then
10958   echo "$as_me:$LINENO: result: $FC" >&5
10959 echo "${ECHO_T}$FC" >&6
10960 else
10961   echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6
10963 fi
10964
10965     test -n "$FC" && break
10966   done
10967 fi
10968 if test -z "$FC"; then
10969   ac_ct_FC=$FC
10970   for ac_prog in gfortran
10971 do
10972   # Extract the first word of "$ac_prog", so it can be a program name with args.
10973 set dummy $ac_prog; ac_word=$2
10974 echo "$as_me:$LINENO: checking for $ac_word" >&5
10975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10976 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10977   echo $ECHO_N "(cached) $ECHO_C" >&6
10978 else
10979   if test -n "$ac_ct_FC"; then
10980   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10981 else
10982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10983 for as_dir in $PATH
10984 do
10985   IFS=$as_save_IFS
10986   test -z "$as_dir" && as_dir=.
10987   for ac_exec_ext in '' $ac_executable_extensions; do
10988   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10989     ac_cv_prog_ac_ct_FC="$ac_prog"
10990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10991     break 2
10992   fi
10993 done
10994 done
10995
10996 fi
10997 fi
10998 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10999 if test -n "$ac_ct_FC"; then
11000   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11001 echo "${ECHO_T}$ac_ct_FC" >&6
11002 else
11003   echo "$as_me:$LINENO: result: no" >&5
11004 echo "${ECHO_T}no" >&6
11005 fi
11006
11007   test -n "$ac_ct_FC" && break
11008 done
11009
11010   FC=$ac_ct_FC
11011 fi
11012
11013
11014 # Provide some information about the compiler.
11015 echo "$as_me:11015:" \
11016      "checking for Fortran compiler version" >&5
11017 ac_compiler=`set X $ac_compile; echo $2`
11018 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11019   (eval $ac_compiler --version </dev/null >&5) 2>&5
11020   ac_status=$?
11021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022   (exit $ac_status); }
11023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11024   (eval $ac_compiler -v </dev/null >&5) 2>&5
11025   ac_status=$?
11026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027   (exit $ac_status); }
11028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11029   (eval $ac_compiler -V </dev/null >&5) 2>&5
11030   ac_status=$?
11031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032   (exit $ac_status); }
11033 rm -f a.out
11034
11035 # If we don't use `.F' as extension, the preprocessor is not run on the
11036 # input file.  (Note that this only needs to work for GNU compilers.)
11037 ac_save_ext=$ac_ext
11038 ac_ext=F
11039 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11040 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11041 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11042   echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044   cat >conftest.$ac_ext <<_ACEOF
11045       program main
11046 #ifndef __GNUC__
11047        choke me
11048 #endif
11049
11050       end
11051 _ACEOF
11052 rm -f conftest.$ac_objext
11053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11054   (eval $ac_compile) 2>conftest.er1
11055   ac_status=$?
11056   grep -v '^ *+' conftest.er1 >conftest.err
11057   rm -f conftest.er1
11058   cat conftest.err >&5
11059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060   (exit $ac_status); } &&
11061          { ac_try='test -z "$ac_fc_werror_flag"
11062                          || test ! -s conftest.err'
11063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064   (eval $ac_try) 2>&5
11065   ac_status=$?
11066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067   (exit $ac_status); }; } &&
11068          { ac_try='test -s conftest.$ac_objext'
11069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070   (eval $ac_try) 2>&5
11071   ac_status=$?
11072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073   (exit $ac_status); }; }; then
11074   ac_compiler_gnu=yes
11075 else
11076   echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.$ac_ext >&5
11078
11079 ac_compiler_gnu=no
11080 fi
11081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11082 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11083
11084 fi
11085 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11086 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11087 ac_ext=$ac_save_ext
11088 ac_test_FFLAGS=${FCFLAGS+set}
11089 ac_save_FFLAGS=$FCFLAGS
11090 FCFLAGS=
11091 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11092 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11093 if test "${ac_cv_prog_fc_g+set}" = set; then
11094   echo $ECHO_N "(cached) $ECHO_C" >&6
11095 else
11096   FCFLAGS=-g
11097 cat >conftest.$ac_ext <<_ACEOF
11098       program main
11099
11100       end
11101 _ACEOF
11102 rm -f conftest.$ac_objext
11103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11104   (eval $ac_compile) 2>conftest.er1
11105   ac_status=$?
11106   grep -v '^ *+' conftest.er1 >conftest.err
11107   rm -f conftest.er1
11108   cat conftest.err >&5
11109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110   (exit $ac_status); } &&
11111          { ac_try='test -z "$ac_fc_werror_flag"
11112                          || test ! -s conftest.err'
11113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114   (eval $ac_try) 2>&5
11115   ac_status=$?
11116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117   (exit $ac_status); }; } &&
11118          { ac_try='test -s conftest.$ac_objext'
11119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120   (eval $ac_try) 2>&5
11121   ac_status=$?
11122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123   (exit $ac_status); }; }; then
11124   ac_cv_prog_fc_g=yes
11125 else
11126   echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5
11128
11129 ac_cv_prog_fc_g=no
11130 fi
11131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11132
11133 fi
11134 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11135 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11136 if test "$ac_test_FFLAGS" = set; then
11137   FCFLAGS=$ac_save_FFLAGS
11138 elif test $ac_cv_prog_fc_g = yes; then
11139   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11140     FCFLAGS="-g -O2"
11141   else
11142     FCFLAGS="-g"
11143   fi
11144 else
11145   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11146     FCFLAGS="-O2"
11147   else
11148     FCFLAGS=
11149   fi
11150 fi
11151
11152 ac_ext=c
11153 ac_cpp='$CPP $CPPFLAGS'
11154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11157
11158
11159 ac_ext=${FC_SRCEXT-f}
11160 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11161 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11162 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11163 if test -n "$ac_tool_prefix"; then
11164   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11165   do
11166     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11168 echo "$as_me:$LINENO: checking for $ac_word" >&5
11169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11170 if test "${ac_cv_prog_FC+set}" = set; then
11171   echo $ECHO_N "(cached) $ECHO_C" >&6
11172 else
11173   if test -n "$FC"; then
11174   ac_cv_prog_FC="$FC" # Let the user override the test.
11175 else
11176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11177 for as_dir in $PATH
11178 do
11179   IFS=$as_save_IFS
11180   test -z "$as_dir" && as_dir=.
11181   for ac_exec_ext in '' $ac_executable_extensions; do
11182   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11183     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11184     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11185     break 2
11186   fi
11187 done
11188 done
11189
11190 fi
11191 fi
11192 FC=$ac_cv_prog_FC
11193 if test -n "$FC"; then
11194   echo "$as_me:$LINENO: result: $FC" >&5
11195 echo "${ECHO_T}$FC" >&6
11196 else
11197   echo "$as_me:$LINENO: result: no" >&5
11198 echo "${ECHO_T}no" >&6
11199 fi
11200
11201     test -n "$FC" && break
11202   done
11203 fi
11204 if test -z "$FC"; then
11205   ac_ct_FC=$FC
11206   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11207 do
11208   # Extract the first word of "$ac_prog", so it can be a program name with args.
11209 set dummy $ac_prog; ac_word=$2
11210 echo "$as_me:$LINENO: checking for $ac_word" >&5
11211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11212 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11213   echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215   if test -n "$ac_ct_FC"; then
11216   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11217 else
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11220 do
11221   IFS=$as_save_IFS
11222   test -z "$as_dir" && as_dir=.
11223   for ac_exec_ext in '' $ac_executable_extensions; do
11224   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11225     ac_cv_prog_ac_ct_FC="$ac_prog"
11226     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11227     break 2
11228   fi
11229 done
11230 done
11231
11232 fi
11233 fi
11234 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11235 if test -n "$ac_ct_FC"; then
11236   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11237 echo "${ECHO_T}$ac_ct_FC" >&6
11238 else
11239   echo "$as_me:$LINENO: result: no" >&5
11240 echo "${ECHO_T}no" >&6
11241 fi
11242
11243   test -n "$ac_ct_FC" && break
11244 done
11245
11246   FC=$ac_ct_FC
11247 fi
11248
11249
11250 # Provide some information about the compiler.
11251 echo "$as_me:11251:" \
11252      "checking for Fortran compiler version" >&5
11253 ac_compiler=`set X $ac_compile; echo $2`
11254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11255   (eval $ac_compiler --version </dev/null >&5) 2>&5
11256   ac_status=$?
11257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258   (exit $ac_status); }
11259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11260   (eval $ac_compiler -v </dev/null >&5) 2>&5
11261   ac_status=$?
11262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263   (exit $ac_status); }
11264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11265   (eval $ac_compiler -V </dev/null >&5) 2>&5
11266   ac_status=$?
11267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268   (exit $ac_status); }
11269 rm -f a.out
11270
11271 # If we don't use `.F' as extension, the preprocessor is not run on the
11272 # input file.  (Note that this only needs to work for GNU compilers.)
11273 ac_save_ext=$ac_ext
11274 ac_ext=F
11275 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11276 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11277 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11278   echo $ECHO_N "(cached) $ECHO_C" >&6
11279 else
11280   cat >conftest.$ac_ext <<_ACEOF
11281       program main
11282 #ifndef __GNUC__
11283        choke me
11284 #endif
11285
11286       end
11287 _ACEOF
11288 rm -f conftest.$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290   (eval $ac_compile) 2>conftest.er1
11291   ac_status=$?
11292   grep -v '^ *+' conftest.er1 >conftest.err
11293   rm -f conftest.er1
11294   cat conftest.err >&5
11295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296   (exit $ac_status); } &&
11297          { ac_try='test -z "$ac_fc_werror_flag"
11298                          || test ! -s conftest.err'
11299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300   (eval $ac_try) 2>&5
11301   ac_status=$?
11302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303   (exit $ac_status); }; } &&
11304          { ac_try='test -s conftest.$ac_objext'
11305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306   (eval $ac_try) 2>&5
11307   ac_status=$?
11308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309   (exit $ac_status); }; }; then
11310   ac_compiler_gnu=yes
11311 else
11312   echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11314
11315 ac_compiler_gnu=no
11316 fi
11317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11318 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11319
11320 fi
11321 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11322 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11323 ac_ext=$ac_save_ext
11324 ac_test_FFLAGS=${FCFLAGS+set}
11325 ac_save_FFLAGS=$FCFLAGS
11326 FCFLAGS=
11327 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11328 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11329 if test "${ac_cv_prog_fc_g+set}" = set; then
11330   echo $ECHO_N "(cached) $ECHO_C" >&6
11331 else
11332   FCFLAGS=-g
11333 cat >conftest.$ac_ext <<_ACEOF
11334       program main
11335
11336       end
11337 _ACEOF
11338 rm -f conftest.$ac_objext
11339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11340   (eval $ac_compile) 2>conftest.er1
11341   ac_status=$?
11342   grep -v '^ *+' conftest.er1 >conftest.err
11343   rm -f conftest.er1
11344   cat conftest.err >&5
11345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346   (exit $ac_status); } &&
11347          { ac_try='test -z "$ac_fc_werror_flag"
11348                          || test ! -s conftest.err'
11349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350   (eval $ac_try) 2>&5
11351   ac_status=$?
11352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353   (exit $ac_status); }; } &&
11354          { ac_try='test -s conftest.$ac_objext'
11355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356   (eval $ac_try) 2>&5
11357   ac_status=$?
11358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359   (exit $ac_status); }; }; then
11360   ac_cv_prog_fc_g=yes
11361 else
11362   echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.$ac_ext >&5
11364
11365 ac_cv_prog_fc_g=no
11366 fi
11367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11368
11369 fi
11370 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11371 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11372 if test "$ac_test_FFLAGS" = set; then
11373   FCFLAGS=$ac_save_FFLAGS
11374 elif test $ac_cv_prog_fc_g = yes; then
11375   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11376     FCFLAGS="-g -O2"
11377   else
11378     FCFLAGS="-g"
11379   fi
11380 else
11381   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11382     FCFLAGS="-O2"
11383   else
11384     FCFLAGS=
11385   fi
11386 fi
11387
11388 ac_ext=c
11389 ac_cpp='$CPP $CPPFLAGS'
11390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11393
11394 if test -z "$FC" || test "X$FC" = "Xno"; then
11395   _lt_disable_FC=yes
11396 fi
11397
11398
11399
11400       ac_ext=${FC_SRCEXT-f}
11401 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11402 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11404
11405
11406 archive_cmds_need_lc_FC=no
11407 allow_undefined_flag_FC=
11408 always_export_symbols_FC=no
11409 archive_expsym_cmds_FC=
11410 export_dynamic_flag_spec_FC=
11411 hardcode_direct_FC=no
11412 hardcode_direct_absolute_FC=no
11413 hardcode_libdir_flag_spec_FC=
11414 hardcode_libdir_flag_spec_ld_FC=
11415 hardcode_libdir_separator_FC=
11416 hardcode_minus_L_FC=no
11417 hardcode_automatic_FC=no
11418 inherit_rpath_FC=no
11419 module_cmds_FC=
11420 module_expsym_cmds_FC=
11421 link_all_deplibs_FC=unknown
11422 old_archive_cmds_FC=$old_archive_cmds
11423 no_undefined_flag_FC=
11424 whole_archive_flag_spec_FC=
11425 enable_shared_with_static_runtimes_FC=no
11426
11427 # Source file extension for fc test sources.
11428 ac_ext=${ac_fc_srcext-f}
11429
11430 # Object file extension for compiled fc test sources.
11431 objext=o
11432 objext_FC=$objext
11433
11434 # No sense in running all these tests if we already determined that
11435 # the FC compiler isn't working.  Some variables (like enable_shared)
11436 # are currently assumed to apply to all compilers on this platform,
11437 # and will be corrupted by setting them based on a non-working compiler.
11438 if test "$_lt_disable_FC" != yes; then
11439   # Code to be used in simple compile tests
11440   lt_simple_compile_test_code="\
11441       subroutine t
11442       return
11443       end
11444 "
11445
11446   # Code to be used in simple link tests
11447   lt_simple_link_test_code="\
11448       program t
11449       end
11450 "
11451
11452   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11453
11454
11455
11456
11457
11458
11459 # If no C compiler was specified, use CC.
11460 LTCC=${LTCC-"$CC"}
11461
11462 # If no C compiler flags were specified, use CFLAGS.
11463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11464
11465 # Allow CC to be a program name with arguments.
11466 compiler=$CC
11467
11468
11469   # save warnings/boilerplate of simple test code
11470   ac_outfile=conftest.$ac_objext
11471 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11472 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11473 _lt_compiler_boilerplate=`cat conftest.err`
11474 $RM conftest*
11475
11476   ac_outfile=conftest.$ac_objext
11477 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11478 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11479 _lt_linker_boilerplate=`cat conftest.err`
11480 $RM -r conftest*
11481
11482
11483   # Allow CC to be a program name with arguments.
11484   lt_save_CC="$CC"
11485   lt_save_GCC=$GCC
11486   CC=${FC-"f95"}
11487   compiler=$CC
11488   GCC=$ac_cv_fc_compiler_gnu
11489
11490   compiler_FC=$CC
11491   for cc_temp in $compiler""; do
11492   case $cc_temp in
11493     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11494     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11495     \-*) ;;
11496     *) break;;
11497   esac
11498 done
11499 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11500
11501
11502   if test -n "$compiler"; then
11503     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11504 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11505     echo "$as_me:$LINENO: result: $can_build_shared" >&5
11506 echo "${ECHO_T}$can_build_shared" >&6
11507
11508     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11509 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11510     test "$can_build_shared" = "no" && enable_shared=no
11511
11512     # On AIX, shared libraries and static libraries use the same namespace, and
11513     # are all built from PIC.
11514     case $host_os in
11515       aix3*)
11516         test "$enable_shared" = yes && enable_static=no
11517         if test -n "$RANLIB"; then
11518           archive_cmds="$archive_cmds~\$RANLIB \$lib"
11519           postinstall_cmds='$RANLIB $lib'
11520         fi
11521         ;;
11522       aix[4-9]*)
11523         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11524           test "$enable_shared" = yes && enable_static=no
11525         fi
11526         ;;
11527     esac
11528     echo "$as_me:$LINENO: result: $enable_shared" >&5
11529 echo "${ECHO_T}$enable_shared" >&6
11530
11531     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11532 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11533     # Make sure either enable_shared or enable_static is yes.
11534     test "$enable_shared" = yes || enable_static=yes
11535     echo "$as_me:$LINENO: result: $enable_static" >&5
11536 echo "${ECHO_T}$enable_static" >&6
11537
11538     GCC_FC="$ac_cv_fc_compiler_gnu"
11539     LD_FC="$LD"
11540
11541     ## CAVEAT EMPTOR:
11542     ## There is no encapsulation within the following macros, do not change
11543     ## the running order or otherwise move them around unless you know exactly
11544     ## what you are doing...
11545     # Dependencies to place before and after the object being linked:
11546 predep_objects_FC=
11547 postdep_objects_FC=
11548 predeps_FC=
11549 postdeps_FC=
11550 compiler_lib_search_path_FC=
11551
11552 cat > conftest.$ac_ext <<_LT_EOF
11553       subroutine foo
11554       implicit none
11555       integer a
11556       a=0
11557       return
11558       end
11559 _LT_EOF
11560
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562   (eval $ac_compile) 2>&5
11563   ac_status=$?
11564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565   (exit $ac_status); }; then
11566   # Parse the compiler output and extract the necessary
11567   # objects, libraries and library flags.
11568
11569   # Sentinel used to keep track of whether or not we are before
11570   # the conftest object file.
11571   pre_test_object_deps_done=no
11572
11573   for p in `eval "$output_verbose_link_cmd"`; do
11574     case $p in
11575
11576     -L* | -R* | -l*)
11577        # Some compilers place space between "-{L,R}" and the path.
11578        # Remove the space.
11579        if test $p = "-L" ||
11580           test $p = "-R"; then
11581          prev=$p
11582          continue
11583        else
11584          prev=
11585        fi
11586
11587        if test "$pre_test_object_deps_done" = no; then
11588          case $p in
11589          -L* | -R*)
11590            # Internal compiler library paths should come after those
11591            # provided the user.  The postdeps already come after the
11592            # user supplied libs so there is no need to process them.
11593            if test -z "$compiler_lib_search_path_FC"; then
11594              compiler_lib_search_path_FC="${prev}${p}"
11595            else
11596              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11597            fi
11598            ;;
11599          # The "-l" case would never come before the object being
11600          # linked, so don't bother handling this case.
11601          esac
11602        else
11603          if test -z "$postdeps_FC"; then
11604            postdeps_FC="${prev}${p}"
11605          else
11606            postdeps_FC="${postdeps_FC} ${prev}${p}"
11607          fi
11608        fi
11609        ;;
11610
11611     *.$objext)
11612        # This assumes that the test object file only shows up
11613        # once in the compiler output.
11614        if test "$p" = "conftest.$objext"; then
11615          pre_test_object_deps_done=yes
11616          continue
11617        fi
11618
11619        if test "$pre_test_object_deps_done" = no; then
11620          if test -z "$predep_objects_FC"; then
11621            predep_objects_FC="$p"
11622          else
11623            predep_objects_FC="$predep_objects_FC $p"
11624          fi
11625        else
11626          if test -z "$postdep_objects_FC"; then
11627            postdep_objects_FC="$p"
11628          else
11629            postdep_objects_FC="$postdep_objects_FC $p"
11630          fi
11631        fi
11632        ;;
11633
11634     *) ;; # Ignore the rest.
11635
11636     esac
11637   done
11638
11639   # Clean up.
11640   rm -f a.out a.exe
11641 else
11642   echo "libtool.m4: error: problem compiling FC test program"
11643 fi
11644
11645 $RM -f confest.$objext
11646
11647 # PORTME: override above test on systems where it is broken
11648
11649
11650 case " $postdeps_FC " in
11651 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11652 esac
11653  compiler_lib_search_dirs_FC=
11654 if test -n "${compiler_lib_search_path_FC}"; then
11655  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11656 fi
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688     lt_prog_compiler_wl_FC=
11689 lt_prog_compiler_pic_FC=
11690 lt_prog_compiler_static_FC=
11691
11692 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11693 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11694
11695   if test "$GCC" = yes; then
11696     lt_prog_compiler_wl_FC='-Wl,'
11697     lt_prog_compiler_static_FC='-static'
11698
11699     case $host_os in
11700       aix*)
11701       # All AIX code is PIC.
11702       if test "$host_cpu" = ia64; then
11703         # AIX 5 now supports IA64 processor
11704         lt_prog_compiler_static_FC='-Bstatic'
11705       fi
11706       ;;
11707
11708     amigaos*)
11709       case $host_cpu in
11710       powerpc)
11711             # see comment about AmigaOS4 .so support
11712             lt_prog_compiler_pic_FC='-fPIC'
11713         ;;
11714       m68k)
11715             # FIXME: we need at least 68020 code to build shared libraries, but
11716             # adding the `-m68020' flag to GCC prevents building anything better,
11717             # like `-m68040'.
11718             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11719         ;;
11720       esac
11721       ;;
11722
11723     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11724       # PIC is the default for these OSes.
11725       ;;
11726
11727     mingw* | cygwin* | pw32* | os2* | cegcc*)
11728       # This hack is so that the source file can tell whether it is being
11729       # built for inclusion in a dll (and should export symbols for example).
11730       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11731       # (--disable-auto-import) libraries
11732       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11733       ;;
11734
11735     darwin* | rhapsody*)
11736       # PIC is the default on this platform
11737       # Common symbols not allowed in MH_DYLIB files
11738       lt_prog_compiler_pic_FC='-fno-common'
11739       ;;
11740
11741     hpux*)
11742       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11743       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11744       # sets the default TLS model and affects inlining.
11745       case $host_cpu in
11746       hppa*64*)
11747         # +Z the default
11748         ;;
11749       *)
11750         lt_prog_compiler_pic_FC='-fPIC'
11751         ;;
11752       esac
11753       ;;
11754
11755     interix[3-9]*)
11756       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11757       # Instead, we relocate shared libraries at runtime.
11758       ;;
11759
11760     msdosdjgpp*)
11761       # Just because we use GCC doesn't mean we suddenly get shared libraries
11762       # on systems that don't support them.
11763       lt_prog_compiler_can_build_shared_FC=no
11764       enable_shared=no
11765       ;;
11766
11767     *nto* | *qnx*)
11768       # QNX uses GNU C++, but need to define -shared option too, otherwise
11769       # it will coredump.
11770       lt_prog_compiler_pic_FC='-fPIC -shared'
11771       ;;
11772
11773     sysv4*MP*)
11774       if test -d /usr/nec; then
11775         lt_prog_compiler_pic_FC=-Kconform_pic
11776       fi
11777       ;;
11778
11779     *)
11780       lt_prog_compiler_pic_FC='-fPIC'
11781       ;;
11782     esac
11783   else
11784     # PORTME Check for flag to pass linker flags through the system compiler.
11785     case $host_os in
11786     aix*)
11787       lt_prog_compiler_wl_FC='-Wl,'
11788       if test "$host_cpu" = ia64; then
11789         # AIX 5 now supports IA64 processor
11790         lt_prog_compiler_static_FC='-Bstatic'
11791       else
11792         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11793       fi
11794       ;;
11795
11796     mingw* | cygwin* | pw32* | os2* | cegcc*)
11797       # This hack is so that the source file can tell whether it is being
11798       # built for inclusion in a dll (and should export symbols for example).
11799       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11800       ;;
11801
11802     hpux9* | hpux10* | hpux11*)
11803       lt_prog_compiler_wl_FC='-Wl,'
11804       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11805       # not for PA HP-UX.
11806       case $host_cpu in
11807       hppa*64*|ia64*)
11808         # +Z the default
11809         ;;
11810       *)
11811         lt_prog_compiler_pic_FC='+Z'
11812         ;;
11813       esac
11814       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11815       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11816       ;;
11817
11818     irix5* | irix6* | nonstopux*)
11819       lt_prog_compiler_wl_FC='-Wl,'
11820       # PIC (with -KPIC) is the default.
11821       lt_prog_compiler_static_FC='-non_shared'
11822       ;;
11823
11824     linux* | k*bsd*-gnu)
11825       case $cc_basename in
11826       # old Intel for x86_64 which still supported -KPIC.
11827       ecc*)
11828         lt_prog_compiler_wl_FC='-Wl,'
11829         lt_prog_compiler_pic_FC='-KPIC'
11830         lt_prog_compiler_static_FC='-static'
11831         ;;
11832       # icc used to be incompatible with GCC.
11833       # ICC 10 doesn't accept -KPIC any more.
11834       icc* | ifort*)
11835         lt_prog_compiler_wl_FC='-Wl,'
11836         lt_prog_compiler_pic_FC='-fPIC'
11837         lt_prog_compiler_static_FC='-static'
11838         ;;
11839       # Lahey Fortran 8.1.
11840       lf95*)
11841         lt_prog_compiler_wl_FC='-Wl,'
11842         lt_prog_compiler_pic_FC='--shared'
11843         lt_prog_compiler_static_FC='--static'
11844         ;;
11845       pgcc* | pgf77* | pgf90* | pgf95*)
11846         # Portland Group compilers (*not* the Pentium gcc compiler,
11847         # which looks to be a dead project)
11848         lt_prog_compiler_wl_FC='-Wl,'
11849         lt_prog_compiler_pic_FC='-fpic'
11850         lt_prog_compiler_static_FC='-Bstatic'
11851         ;;
11852       ccc*)
11853         lt_prog_compiler_wl_FC='-Wl,'
11854         # All Alpha code is PIC.
11855         lt_prog_compiler_static_FC='-non_shared'
11856         ;;
11857       xl*)
11858         # IBM XL C 8.0/Fortran 10.1 on PPC
11859         lt_prog_compiler_wl_FC='-Wl,'
11860         lt_prog_compiler_pic_FC='-qpic'
11861         lt_prog_compiler_static_FC='-qstaticlink'
11862         ;;
11863       *)
11864         case `$CC -V 2>&1 | sed 5q` in
11865         *Sun\ C*)
11866           # Sun C 5.9
11867           lt_prog_compiler_pic_FC='-KPIC'
11868           lt_prog_compiler_static_FC='-Bstatic'
11869           lt_prog_compiler_wl_FC='-Wl,'
11870           ;;
11871         *Sun\ F*)
11872           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11873           lt_prog_compiler_pic_FC='-KPIC'
11874           lt_prog_compiler_static_FC='-Bstatic'
11875           lt_prog_compiler_wl_FC=''
11876           ;;
11877         esac
11878         ;;
11879       esac
11880       ;;
11881
11882     newsos6)
11883       lt_prog_compiler_pic_FC='-KPIC'
11884       lt_prog_compiler_static_FC='-Bstatic'
11885       ;;
11886
11887     *nto* | *qnx*)
11888       # QNX uses GNU C++, but need to define -shared option too, otherwise
11889       # it will coredump.
11890       lt_prog_compiler_pic_FC='-fPIC -shared'
11891       ;;
11892
11893     osf3* | osf4* | osf5*)
11894       lt_prog_compiler_wl_FC='-Wl,'
11895       # All OSF/1 code is PIC.
11896       lt_prog_compiler_static_FC='-non_shared'
11897       ;;
11898
11899     rdos*)
11900       lt_prog_compiler_static_FC='-non_shared'
11901       ;;
11902
11903     solaris*)
11904       lt_prog_compiler_pic_FC='-KPIC'
11905       lt_prog_compiler_static_FC='-Bstatic'
11906       case $cc_basename in
11907       f77* | f90* | f95*)
11908         lt_prog_compiler_wl_FC='-Qoption ld ';;
11909       *)
11910         lt_prog_compiler_wl_FC='-Wl,';;
11911       esac
11912       ;;
11913
11914     sunos4*)
11915       lt_prog_compiler_wl_FC='-Qoption ld '
11916       lt_prog_compiler_pic_FC='-PIC'
11917       lt_prog_compiler_static_FC='-Bstatic'
11918       ;;
11919
11920     sysv4 | sysv4.2uw2* | sysv4.3*)
11921       lt_prog_compiler_wl_FC='-Wl,'
11922       lt_prog_compiler_pic_FC='-KPIC'
11923       lt_prog_compiler_static_FC='-Bstatic'
11924       ;;
11925
11926     sysv4*MP*)
11927       if test -d /usr/nec ;then
11928         lt_prog_compiler_pic_FC='-Kconform_pic'
11929         lt_prog_compiler_static_FC='-Bstatic'
11930       fi
11931       ;;
11932
11933     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11934       lt_prog_compiler_wl_FC='-Wl,'
11935       lt_prog_compiler_pic_FC='-KPIC'
11936       lt_prog_compiler_static_FC='-Bstatic'
11937       ;;
11938
11939     unicos*)
11940       lt_prog_compiler_wl_FC='-Wl,'
11941       lt_prog_compiler_can_build_shared_FC=no
11942       ;;
11943
11944     uts4*)
11945       lt_prog_compiler_pic_FC='-pic'
11946       lt_prog_compiler_static_FC='-Bstatic'
11947       ;;
11948
11949     *)
11950       lt_prog_compiler_can_build_shared_FC=no
11951       ;;
11952     esac
11953   fi
11954
11955 case $host_os in
11956   # For platforms which do not support PIC, -DPIC is meaningless:
11957   *djgpp*)
11958     lt_prog_compiler_pic_FC=
11959     ;;
11960   *)
11961     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11962     ;;
11963 esac
11964 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11965 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11966
11967
11968
11969 #
11970 # Check to make sure the PIC flag actually works.
11971 #
11972 if test -n "$lt_prog_compiler_pic_FC"; then
11973   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11974 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11975 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11976   echo $ECHO_N "(cached) $ECHO_C" >&6
11977 else
11978   lt_cv_prog_compiler_pic_works_FC=no
11979    ac_outfile=conftest.$ac_objext
11980    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11981    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11982    # Insert the option either (1) after the last *FLAGS variable, or
11983    # (2) before a word containing "conftest.", or (3) at the end.
11984    # Note that $ac_compile itself does not contain backslashes and begins
11985    # with a dollar sign (not a hyphen), so the echo should work correctly.
11986    # The option is referenced via a variable to avoid confusing sed.
11987    lt_compile=`echo "$ac_compile" | $SED \
11988    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11989    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11990    -e 's:$: $lt_compiler_flag:'`
11991    (eval echo "\"\$as_me:11991: $lt_compile\"" >&5)
11992    (eval "$lt_compile" 2>conftest.err)
11993    ac_status=$?
11994    cat conftest.err >&5
11995    echo "$as_me:11995: \$? = $ac_status" >&5
11996    if (exit $ac_status) && test -s "$ac_outfile"; then
11997      # The compiler can only warn and ignore the option if not recognized
11998      # So say no if there are warnings other than the usual output.
11999      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12000      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12001      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12002        lt_cv_prog_compiler_pic_works_FC=yes
12003      fi
12004    fi
12005    $RM conftest*
12006
12007 fi
12008 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12009 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12010
12011 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12012     case $lt_prog_compiler_pic_FC in
12013      "" | " "*) ;;
12014      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12015      esac
12016 else
12017     lt_prog_compiler_pic_FC=
12018      lt_prog_compiler_can_build_shared_FC=no
12019 fi
12020
12021 fi
12022
12023
12024
12025 #
12026 # Check to make sure the static flag actually works.
12027 #
12028 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12029 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12030 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12031 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12032   echo $ECHO_N "(cached) $ECHO_C" >&6
12033 else
12034   lt_cv_prog_compiler_static_works_FC=no
12035    save_LDFLAGS="$LDFLAGS"
12036    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12037    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12038    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12039      # The linker can only warn and ignore the option if not recognized
12040      # So say no if there are warnings
12041      if test -s conftest.err; then
12042        # Append any errors to the config.log.
12043        cat conftest.err 1>&5
12044        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12045        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12046        if diff conftest.exp conftest.er2 >/dev/null; then
12047          lt_cv_prog_compiler_static_works_FC=yes
12048        fi
12049      else
12050        lt_cv_prog_compiler_static_works_FC=yes
12051      fi
12052    fi
12053    $RM -r conftest*
12054    LDFLAGS="$save_LDFLAGS"
12055
12056 fi
12057 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12058 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12059
12060 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12061     :
12062 else
12063     lt_prog_compiler_static_FC=
12064 fi
12065
12066
12067
12068
12069     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12070 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12071 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12072   echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074   lt_cv_prog_compiler_c_o_FC=no
12075    $RM -r conftest 2>/dev/null
12076    mkdir conftest
12077    cd conftest
12078    mkdir out
12079    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12080
12081    lt_compiler_flag="-o out/conftest2.$ac_objext"
12082    # Insert the option either (1) after the last *FLAGS variable, or
12083    # (2) before a word containing "conftest.", or (3) at the end.
12084    # Note that $ac_compile itself does not contain backslashes and begins
12085    # with a dollar sign (not a hyphen), so the echo should work correctly.
12086    lt_compile=`echo "$ac_compile" | $SED \
12087    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12088    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12089    -e 's:$: $lt_compiler_flag:'`
12090    (eval echo "\"\$as_me:12090: $lt_compile\"" >&5)
12091    (eval "$lt_compile" 2>out/conftest.err)
12092    ac_status=$?
12093    cat out/conftest.err >&5
12094    echo "$as_me:12094: \$? = $ac_status" >&5
12095    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12096    then
12097      # The compiler can only warn and ignore the option if not recognized
12098      # So say no if there are warnings
12099      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12100      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12101      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12102        lt_cv_prog_compiler_c_o_FC=yes
12103      fi
12104    fi
12105    chmod u+w . 2>&5
12106    $RM conftest*
12107    # SGI C++ compiler will create directory out/ii_files/ for
12108    # template instantiation
12109    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12110    $RM out/* && rmdir out
12111    cd ..
12112    $RM -r conftest
12113    $RM conftest*
12114
12115 fi
12116 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12117 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12118
12119
12120
12121     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12122 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12123 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12124   echo $ECHO_N "(cached) $ECHO_C" >&6
12125 else
12126   lt_cv_prog_compiler_c_o_FC=no
12127    $RM -r conftest 2>/dev/null
12128    mkdir conftest
12129    cd conftest
12130    mkdir out
12131    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12132
12133    lt_compiler_flag="-o out/conftest2.$ac_objext"
12134    # Insert the option either (1) after the last *FLAGS variable, or
12135    # (2) before a word containing "conftest.", or (3) at the end.
12136    # Note that $ac_compile itself does not contain backslashes and begins
12137    # with a dollar sign (not a hyphen), so the echo should work correctly.
12138    lt_compile=`echo "$ac_compile" | $SED \
12139    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12140    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12141    -e 's:$: $lt_compiler_flag:'`
12142    (eval echo "\"\$as_me:12142: $lt_compile\"" >&5)
12143    (eval "$lt_compile" 2>out/conftest.err)
12144    ac_status=$?
12145    cat out/conftest.err >&5
12146    echo "$as_me:12146: \$? = $ac_status" >&5
12147    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12148    then
12149      # The compiler can only warn and ignore the option if not recognized
12150      # So say no if there are warnings
12151      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12152      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12153      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12154        lt_cv_prog_compiler_c_o_FC=yes
12155      fi
12156    fi
12157    chmod u+w . 2>&5
12158    $RM conftest*
12159    # SGI C++ compiler will create directory out/ii_files/ for
12160    # template instantiation
12161    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12162    $RM out/* && rmdir out
12163    cd ..
12164    $RM -r conftest
12165    $RM conftest*
12166
12167 fi
12168 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12169 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12170
12171
12172
12173
12174 hard_links="nottested"
12175 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12176   # do not overwrite the value of need_locks provided by the user
12177   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12178 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12179   hard_links=yes
12180   $RM conftest*
12181   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12182   touch conftest.a
12183   ln conftest.a conftest.b 2>&5 || hard_links=no
12184   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12185   echo "$as_me:$LINENO: result: $hard_links" >&5
12186 echo "${ECHO_T}$hard_links" >&6
12187   if test "$hard_links" = no; then
12188     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12189 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12190     need_locks=warn
12191   fi
12192 else
12193   need_locks=no
12194 fi
12195
12196
12197
12198     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12199 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12200
12201   runpath_var=
12202   allow_undefined_flag_FC=
12203   always_export_symbols_FC=no
12204   archive_cmds_FC=
12205   archive_expsym_cmds_FC=
12206   compiler_needs_object_FC=no
12207   enable_shared_with_static_runtimes_FC=no
12208   export_dynamic_flag_spec_FC=
12209   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12210   hardcode_automatic_FC=no
12211   hardcode_direct_FC=no
12212   hardcode_direct_absolute_FC=no
12213   hardcode_libdir_flag_spec_FC=
12214   hardcode_libdir_flag_spec_ld_FC=
12215   hardcode_libdir_separator_FC=
12216   hardcode_minus_L_FC=no
12217   hardcode_shlibpath_var_FC=unsupported
12218   inherit_rpath_FC=no
12219   link_all_deplibs_FC=unknown
12220   module_cmds_FC=
12221   module_expsym_cmds_FC=
12222   old_archive_from_new_cmds_FC=
12223   old_archive_from_expsyms_cmds_FC=
12224   thread_safe_flag_spec_FC=
12225   whole_archive_flag_spec_FC=
12226   # include_expsyms should be a list of space-separated symbols to be *always*
12227   # included in the symbol list
12228   include_expsyms_FC=
12229   # exclude_expsyms can be an extended regexp of symbols to exclude
12230   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12231   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12232   # as well as any symbol that contains `d'.
12233   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12234   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12235   # platforms (ab)use it in PIC code, but their linkers get confused if
12236   # the symbol is explicitly referenced.  Since portable code cannot
12237   # rely on this symbol name, it's probably fine to never include it in
12238   # preloaded symbol tables.
12239   # Exclude shared library initialization/finalization symbols.
12240   extract_expsyms_cmds=
12241
12242   case $host_os in
12243   cygwin* | mingw* | pw32* | cegcc*)
12244     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12245     # When not using gcc, we currently assume that we are using
12246     # Microsoft Visual C++.
12247     if test "$GCC" != yes; then
12248       with_gnu_ld=no
12249     fi
12250     ;;
12251   interix*)
12252     # we just hope/assume this is gcc and not c89 (= MSVC++)
12253     with_gnu_ld=yes
12254     ;;
12255   openbsd*)
12256     with_gnu_ld=no
12257     ;;
12258   esac
12259
12260   ld_shlibs_FC=yes
12261   if test "$with_gnu_ld" = yes; then
12262     # If archive_cmds runs LD, not CC, wlarc should be empty
12263     wlarc='${wl}'
12264
12265     # Set some defaults for GNU ld with shared library support. These
12266     # are reset later if shared libraries are not supported. Putting them
12267     # here allows them to be overridden if necessary.
12268     runpath_var=LD_RUN_PATH
12269     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12270     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12271     # ancient GNU ld didn't support --whole-archive et. al.
12272     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12273       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12274     else
12275       whole_archive_flag_spec_FC=
12276     fi
12277     supports_anon_versioning=no
12278     case `$LD -v 2>&1` in
12279       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12280       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12281       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12282       *\ 2.11.*) ;; # other 2.11 versions
12283       *) supports_anon_versioning=yes ;;
12284     esac
12285
12286     # See if GNU ld supports shared libraries.
12287     case $host_os in
12288     aix[3-9]*)
12289       # On AIX/PPC, the GNU linker is very broken
12290       if test "$host_cpu" != ia64; then
12291         ld_shlibs_FC=no
12292         cat <<_LT_EOF 1>&2
12293
12294 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12295 *** to be unable to reliably create shared libraries on AIX.
12296 *** Therefore, libtool is disabling shared libraries support.  If you
12297 *** really care for shared libraries, you may want to modify your PATH
12298 *** so that a non-GNU linker is found, and then restart.
12299
12300 _LT_EOF
12301       fi
12302       ;;
12303
12304     amigaos*)
12305       case $host_cpu in
12306       powerpc)
12307             # see comment about AmigaOS4 .so support
12308             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309             archive_expsym_cmds_FC=''
12310         ;;
12311       m68k)
12312             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)'
12313             hardcode_libdir_flag_spec_FC='-L$libdir'
12314             hardcode_minus_L_FC=yes
12315         ;;
12316       esac
12317       ;;
12318
12319     beos*)
12320       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12321         allow_undefined_flag_FC=unsupported
12322         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12323         # support --undefined.  This deserves some investigation.  FIXME
12324         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12325       else
12326         ld_shlibs_FC=no
12327       fi
12328       ;;
12329
12330     cygwin* | mingw* | pw32* | cegcc*)
12331       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12332       # as there is no search path for DLLs.
12333       hardcode_libdir_flag_spec_FC='-L$libdir'
12334       allow_undefined_flag_FC=unsupported
12335       always_export_symbols_FC=no
12336       enable_shared_with_static_runtimes_FC=yes
12337       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12338
12339       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12340         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12341         # If the export-symbols file already is a .def file (1st line
12342         # is EXPORTS), use it as is; otherwise, prepend...
12343         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12344           cp $export_symbols $output_objdir/$soname.def;
12345         else
12346           echo EXPORTS > $output_objdir/$soname.def;
12347           cat $export_symbols >> $output_objdir/$soname.def;
12348         fi~
12349         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12350       else
12351         ld_shlibs_FC=no
12352       fi
12353       ;;
12354
12355     interix[3-9]*)
12356       hardcode_direct_FC=no
12357       hardcode_shlibpath_var_FC=no
12358       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12359       export_dynamic_flag_spec_FC='${wl}-E'
12360       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12361       # Instead, shared libraries are loaded at an image base (0x10000000 by
12362       # default) and relocated if they conflict, which is a slow very memory
12363       # consuming and fragmenting process.  To avoid this, we pick a random,
12364       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12365       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12366       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'
12367       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'
12368       ;;
12369
12370     gnu* | linux* | tpf* | k*bsd*-gnu)
12371       tmp_diet=no
12372       if test "$host_os" = linux-dietlibc; then
12373         case $cc_basename in
12374           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12375         esac
12376       fi
12377       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12378          && test "$tmp_diet" = no
12379       then
12380         tmp_addflag=
12381         tmp_sharedflag='-shared'
12382         case $cc_basename,$host_cpu in
12383         pgcc*)                          # Portland Group C compiler
12384           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'
12385           tmp_addflag=' $pic_flag'
12386           ;;
12387         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
12388           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'
12389           tmp_addflag=' $pic_flag -Mnomain' ;;
12390         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12391           tmp_addflag=' -i_dynamic' ;;
12392         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12393           tmp_addflag=' -i_dynamic -nofor_main' ;;
12394         ifc* | ifort*)                  # Intel Fortran compiler
12395           tmp_addflag=' -nofor_main' ;;
12396         lf95*)                          # Lahey Fortran 8.1
12397           whole_archive_flag_spec_FC=
12398           tmp_sharedflag='--shared' ;;
12399         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
12400           tmp_sharedflag='-qmkshrobj'
12401           tmp_addflag= ;;
12402         esac
12403         case `$CC -V 2>&1 | sed 5q` in
12404         *Sun\ C*)                       # Sun C 5.9
12405           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'
12406           compiler_needs_object_FC=yes
12407           tmp_sharedflag='-G' ;;
12408         *Sun\ F*)                       # Sun Fortran 8.3
12409           tmp_sharedflag='-G' ;;
12410         esac
12411         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12412
12413         if test "x$supports_anon_versioning" = xyes; then
12414           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12415             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12416             echo "local: *; };" >> $output_objdir/$libname.ver~
12417             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12418         fi
12419
12420         case $cc_basename in
12421         xlf*)
12422           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12423           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12424           hardcode_libdir_flag_spec_FC=
12425           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12426           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12427           if test "x$supports_anon_versioning" = xyes; then
12428             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12429               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12430               echo "local: *; };" >> $output_objdir/$libname.ver~
12431               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12432           fi
12433           ;;
12434         esac
12435       else
12436         ld_shlibs_FC=no
12437       fi
12438       ;;
12439
12440     netbsd*)
12441       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12442         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12443         wlarc=
12444       else
12445         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12446         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12447       fi
12448       ;;
12449
12450     solaris*)
12451       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12452         ld_shlibs_FC=no
12453         cat <<_LT_EOF 1>&2
12454
12455 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12456 *** create shared libraries on Solaris systems.  Therefore, libtool
12457 *** is disabling shared libraries support.  We urge you to upgrade GNU
12458 *** binutils to release 2.9.1 or newer.  Another option is to modify
12459 *** your PATH or compiler configuration so that the native linker is
12460 *** used, and then restart.
12461
12462 _LT_EOF
12463       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12464         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12465         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12466       else
12467         ld_shlibs_FC=no
12468       fi
12469       ;;
12470
12471     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12472       case `$LD -v 2>&1` in
12473         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12474         ld_shlibs_FC=no
12475         cat <<_LT_EOF 1>&2
12476
12477 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12478 *** reliably create shared libraries on SCO systems.  Therefore, libtool
12479 *** is disabling shared libraries support.  We urge you to upgrade GNU
12480 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12481 *** your PATH or compiler configuration so that the native linker is
12482 *** used, and then restart.
12483
12484 _LT_EOF
12485         ;;
12486         *)
12487           # For security reasons, it is highly recommended that you always
12488           # use absolute paths for naming shared libraries, and exclude the
12489           # DT_RUNPATH tag from executables and libraries.  But doing so
12490           # requires that you compile everything twice, which is a pain.
12491           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12492             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12493             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12494             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12495           else
12496             ld_shlibs_FC=no
12497           fi
12498         ;;
12499       esac
12500       ;;
12501
12502     sunos4*)
12503       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12504       wlarc=
12505       hardcode_direct_FC=yes
12506       hardcode_shlibpath_var_FC=no
12507       ;;
12508
12509     *)
12510       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12511         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12512         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12513       else
12514         ld_shlibs_FC=no
12515       fi
12516       ;;
12517     esac
12518
12519     if test "$ld_shlibs_FC" = no; then
12520       runpath_var=
12521       hardcode_libdir_flag_spec_FC=
12522       export_dynamic_flag_spec_FC=
12523       whole_archive_flag_spec_FC=
12524     fi
12525   else
12526     # PORTME fill in a description of your system's linker (not GNU ld)
12527     case $host_os in
12528     aix3*)
12529       allow_undefined_flag_FC=unsupported
12530       always_export_symbols_FC=yes
12531       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'
12532       # Note: this linker hardcodes the directories in LIBPATH if there
12533       # are no directories specified by -L.
12534       hardcode_minus_L_FC=yes
12535       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12536         # Neither direct hardcoding nor static linking is supported with a
12537         # broken collect2.
12538         hardcode_direct_FC=unsupported
12539       fi
12540       ;;
12541
12542     aix[4-9]*)
12543       if test "$host_cpu" = ia64; then
12544         # On IA64, the linker does run time linking by default, so we don't
12545         # have to do anything special.
12546         aix_use_runtimelinking=no
12547         exp_sym_flag='-Bexport'
12548         no_entry_flag=""
12549       else
12550         # If we're using GNU nm, then we don't want the "-C" option.
12551         # -C means demangle to AIX nm, but means don't demangle with GNU nm
12552         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12553           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'
12554         else
12555           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'
12556         fi
12557         aix_use_runtimelinking=no
12558
12559         # Test if we are trying to use run time linking or normal
12560         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12561         # need to do runtime linking.
12562         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12563           for ld_flag in $LDFLAGS; do
12564           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12565             aix_use_runtimelinking=yes
12566             break
12567           fi
12568           done
12569           ;;
12570         esac
12571
12572         exp_sym_flag='-bexport'
12573         no_entry_flag='-bnoentry'
12574       fi
12575
12576       # When large executables or shared objects are built, AIX ld can
12577       # have problems creating the table of contents.  If linking a library
12578       # or program results in "error TOC overflow" add -mminimal-toc to
12579       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12580       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12581
12582       archive_cmds_FC=''
12583       hardcode_direct_FC=yes
12584       hardcode_direct_absolute_FC=yes
12585       hardcode_libdir_separator_FC=':'
12586       link_all_deplibs_FC=yes
12587       file_list_spec_FC='${wl}-f,'
12588
12589       if test "$GCC" = yes; then
12590         case $host_os in aix4.[012]|aix4.[012].*)
12591         # We only want to do this on AIX 4.2 and lower, the check
12592         # below for broken collect2 doesn't work under 4.3+
12593           collect2name=`${CC} -print-prog-name=collect2`
12594           if test -f "$collect2name" &&
12595            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12596           then
12597           # We have reworked collect2
12598           :
12599           else
12600           # We have old collect2
12601           hardcode_direct_FC=unsupported
12602           # It fails to find uninstalled libraries when the uninstalled
12603           # path is not listed in the libpath.  Setting hardcode_minus_L
12604           # to unsupported forces relinking
12605           hardcode_minus_L_FC=yes
12606           hardcode_libdir_flag_spec_FC='-L$libdir'
12607           hardcode_libdir_separator_FC=
12608           fi
12609           ;;
12610         esac
12611         shared_flag='-shared'
12612         if test "$aix_use_runtimelinking" = yes; then
12613           shared_flag="$shared_flag "'${wl}-G'
12614         fi
12615       else
12616         # not using gcc
12617         if test "$host_cpu" = ia64; then
12618         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12619         # chokes on -Wl,-G. The following line is correct:
12620           shared_flag='-G'
12621         else
12622           if test "$aix_use_runtimelinking" = yes; then
12623             shared_flag='${wl}-G'
12624           else
12625             shared_flag='${wl}-bM:SRE'
12626           fi
12627         fi
12628       fi
12629
12630       export_dynamic_flag_spec_FC='${wl}-bexpall'
12631       # It seems that -bexpall does not export symbols beginning with
12632       # underscore (_), so it is better to generate a list of symbols to export.
12633       always_export_symbols_FC=yes
12634       if test "$aix_use_runtimelinking" = yes; then
12635         # Warning - without using the other runtime loading flags (-brtl),
12636         # -berok will link without error, but may produce a broken library.
12637         allow_undefined_flag_FC='-berok'
12638         # Determine the default libpath from the value encoded in an
12639         # empty executable.
12640         if test x$gcc_no_link = xyes; then
12641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12643    { (exit 1); exit 1; }; }
12644 fi
12645 cat >conftest.$ac_ext <<_ACEOF
12646       program main
12647
12648       end
12649 _ACEOF
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12652   (eval $ac_link) 2>conftest.er1
12653   ac_status=$?
12654   grep -v '^ *+' conftest.er1 >conftest.err
12655   rm -f conftest.er1
12656   cat conftest.err >&5
12657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658   (exit $ac_status); } &&
12659          { ac_try='test -z "$ac_fc_werror_flag"
12660                          || test ! -s conftest.err'
12661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662   (eval $ac_try) 2>&5
12663   ac_status=$?
12664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665   (exit $ac_status); }; } &&
12666          { ac_try='test -s conftest$ac_exeext'
12667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668   (eval $ac_try) 2>&5
12669   ac_status=$?
12670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671   (exit $ac_status); }; }; then
12672
12673 lt_aix_libpath_sed='
12674     /Import File Strings/,/^$/ {
12675         /^0/ {
12676             s/^0  *\(.*\)$/\1/
12677             p
12678         }
12679     }'
12680 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12681 # Check for a 64-bit object if we didn't find anything.
12682 if test -z "$aix_libpath"; then
12683   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12684 fi
12685 else
12686   echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12688
12689 fi
12690 rm -f conftest.err conftest.$ac_objext \
12691       conftest$ac_exeext conftest.$ac_ext
12692 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12693
12694         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12695         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"
12696       else
12697         if test "$host_cpu" = ia64; then
12698           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12699           allow_undefined_flag_FC="-z nodefs"
12700           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"
12701         else
12702          # Determine the default libpath from the value encoded in an
12703          # empty executable.
12704          if test x$gcc_no_link = xyes; then
12705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12707    { (exit 1); exit 1; }; }
12708 fi
12709 cat >conftest.$ac_ext <<_ACEOF
12710       program main
12711
12712       end
12713 _ACEOF
12714 rm -f conftest.$ac_objext conftest$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716   (eval $ac_link) 2>conftest.er1
12717   ac_status=$?
12718   grep -v '^ *+' conftest.er1 >conftest.err
12719   rm -f conftest.er1
12720   cat conftest.err >&5
12721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722   (exit $ac_status); } &&
12723          { ac_try='test -z "$ac_fc_werror_flag"
12724                          || test ! -s conftest.err'
12725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726   (eval $ac_try) 2>&5
12727   ac_status=$?
12728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729   (exit $ac_status); }; } &&
12730          { ac_try='test -s conftest$ac_exeext'
12731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732   (eval $ac_try) 2>&5
12733   ac_status=$?
12734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735   (exit $ac_status); }; }; then
12736
12737 lt_aix_libpath_sed='
12738     /Import File Strings/,/^$/ {
12739         /^0/ {
12740             s/^0  *\(.*\)$/\1/
12741             p
12742         }
12743     }'
12744 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12745 # Check for a 64-bit object if we didn't find anything.
12746 if test -z "$aix_libpath"; then
12747   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12748 fi
12749 else
12750   echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 fi
12754 rm -f conftest.err conftest.$ac_objext \
12755       conftest$ac_exeext conftest.$ac_ext
12756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12757
12758          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12759           # Warning - without using the other run time loading flags,
12760           # -berok will link without error, but may produce a broken library.
12761           no_undefined_flag_FC=' ${wl}-bernotok'
12762           allow_undefined_flag_FC=' ${wl}-berok'
12763           # Exported symbols can be pulled into shared objects from archives
12764           whole_archive_flag_spec_FC='$convenience'
12765           archive_cmds_need_lc_FC=yes
12766           # This is similar to how AIX traditionally builds its shared libraries.
12767           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'
12768         fi
12769       fi
12770       ;;
12771
12772     amigaos*)
12773       case $host_cpu in
12774       powerpc)
12775             # see comment about AmigaOS4 .so support
12776             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777             archive_expsym_cmds_FC=''
12778         ;;
12779       m68k)
12780             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)'
12781             hardcode_libdir_flag_spec_FC='-L$libdir'
12782             hardcode_minus_L_FC=yes
12783         ;;
12784       esac
12785       ;;
12786
12787     bsdi[45]*)
12788       export_dynamic_flag_spec_FC=-rdynamic
12789       ;;
12790
12791     cygwin* | mingw* | pw32* | cegcc*)
12792       # When not using gcc, we currently assume that we are using
12793       # Microsoft Visual C++.
12794       # hardcode_libdir_flag_spec is actually meaningless, as there is
12795       # no search path for DLLs.
12796       hardcode_libdir_flag_spec_FC=' '
12797       allow_undefined_flag_FC=unsupported
12798       # Tell ltmain to make .lib files, not .a files.
12799       libext=lib
12800       # Tell ltmain to make .dll files, not .so files.
12801       shrext_cmds=".dll"
12802       # FIXME: Setting linknames here is a bad hack.
12803       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12804       # The linker will automatically build a .lib file if we build a DLL.
12805       old_archive_from_new_cmds_FC='true'
12806       # FIXME: Should let the user specify the lib program.
12807       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12808       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12809       enable_shared_with_static_runtimes_FC=yes
12810       ;;
12811
12812     darwin* | rhapsody*)
12813
12814
12815   archive_cmds_need_lc_FC=no
12816   hardcode_direct_FC=no
12817   hardcode_automatic_FC=yes
12818   hardcode_shlibpath_var_FC=unsupported
12819   whole_archive_flag_spec_FC=''
12820   link_all_deplibs_FC=yes
12821   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12822   case $cc_basename in
12823      ifort*) _lt_dar_can_shared=yes ;;
12824      *) _lt_dar_can_shared=$GCC ;;
12825   esac
12826   if test "$_lt_dar_can_shared" = "yes"; then
12827     output_verbose_link_cmd=echo
12828     archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12829     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12830     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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12831     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${_lt_dar_export_syms}${_lt_dsymutil}"
12832
12833   else
12834   ld_shlibs_FC=no
12835   fi
12836
12837       ;;
12838
12839     dgux*)
12840       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12841       hardcode_libdir_flag_spec_FC='-L$libdir'
12842       hardcode_shlibpath_var_FC=no
12843       ;;
12844
12845     freebsd1*)
12846       ld_shlibs_FC=no
12847       ;;
12848
12849     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12850     # support.  Future versions do this automatically, but an explicit c++rt0.o
12851     # does not break anything, and helps significantly (at the cost of a little
12852     # extra space).
12853     freebsd2.2*)
12854       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12855       hardcode_libdir_flag_spec_FC='-R$libdir'
12856       hardcode_direct_FC=yes
12857       hardcode_shlibpath_var_FC=no
12858       ;;
12859
12860     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12861     freebsd2*)
12862       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12863       hardcode_direct_FC=yes
12864       hardcode_minus_L_FC=yes
12865       hardcode_shlibpath_var_FC=no
12866       ;;
12867
12868     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12869     freebsd* | dragonfly*)
12870       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12871       hardcode_libdir_flag_spec_FC='-R$libdir'
12872       hardcode_direct_FC=yes
12873       hardcode_shlibpath_var_FC=no
12874       ;;
12875
12876     hpux9*)
12877       if test "$GCC" = yes; then
12878         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'
12879       else
12880         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'
12881       fi
12882       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12883       hardcode_libdir_separator_FC=:
12884       hardcode_direct_FC=yes
12885
12886       # hardcode_minus_L: Not really in the search PATH,
12887       # but as the default location of the library.
12888       hardcode_minus_L_FC=yes
12889       export_dynamic_flag_spec_FC='${wl}-E'
12890       ;;
12891
12892     hpux10*)
12893       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12894         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12895       else
12896         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12897       fi
12898       if test "$with_gnu_ld" = no; then
12899         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12900         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12901         hardcode_libdir_separator_FC=:
12902         hardcode_direct_FC=yes
12903         hardcode_direct_absolute_FC=yes
12904         export_dynamic_flag_spec_FC='${wl}-E'
12905         # hardcode_minus_L: Not really in the search PATH,
12906         # but as the default location of the library.
12907         hardcode_minus_L_FC=yes
12908       fi
12909       ;;
12910
12911     hpux11*)
12912       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12913         case $host_cpu in
12914         hppa*64*)
12915           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12916           ;;
12917         ia64*)
12918           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12919           ;;
12920         *)
12921           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12922           ;;
12923         esac
12924       else
12925         case $host_cpu in
12926         hppa*64*)
12927           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12928           ;;
12929         ia64*)
12930           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12931           ;;
12932         *)
12933           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12934           ;;
12935         esac
12936       fi
12937       if test "$with_gnu_ld" = no; then
12938         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12939         hardcode_libdir_separator_FC=:
12940
12941         case $host_cpu in
12942         hppa*64*|ia64*)
12943           hardcode_direct_FC=no
12944           hardcode_shlibpath_var_FC=no
12945           ;;
12946         *)
12947           hardcode_direct_FC=yes
12948           hardcode_direct_absolute_FC=yes
12949           export_dynamic_flag_spec_FC='${wl}-E'
12950
12951           # hardcode_minus_L: Not really in the search PATH,
12952           # but as the default location of the library.
12953           hardcode_minus_L_FC=yes
12954           ;;
12955         esac
12956       fi
12957       ;;
12958
12959     irix5* | irix6* | nonstopux*)
12960       if test "$GCC" = yes; then
12961         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'
12962         # Try to use the -exported_symbol ld option, if it does not
12963         # work, assume that -exports_file does not work either and
12964         # implicitly export all symbols.
12965         save_LDFLAGS="$LDFLAGS"
12966         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12967         if test x$gcc_no_link = xyes; then
12968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12970    { (exit 1); exit 1; }; }
12971 fi
12972 cat >conftest.$ac_ext <<_ACEOF
12973 int foo(void) {}
12974 _ACEOF
12975 rm -f conftest.$ac_objext conftest$ac_exeext
12976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12977   (eval $ac_link) 2>conftest.er1
12978   ac_status=$?
12979   grep -v '^ *+' conftest.er1 >conftest.err
12980   rm -f conftest.er1
12981   cat conftest.err >&5
12982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983   (exit $ac_status); } &&
12984          { ac_try='test -z "$ac_fc_werror_flag"
12985                          || test ! -s conftest.err'
12986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987   (eval $ac_try) 2>&5
12988   ac_status=$?
12989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990   (exit $ac_status); }; } &&
12991          { ac_try='test -s conftest$ac_exeext'
12992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993   (eval $ac_try) 2>&5
12994   ac_status=$?
12995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996   (exit $ac_status); }; }; then
12997   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'
12998
12999 else
13000   echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13002
13003 fi
13004 rm -f conftest.err conftest.$ac_objext \
13005       conftest$ac_exeext conftest.$ac_ext
13006         LDFLAGS="$save_LDFLAGS"
13007       else
13008         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'
13009         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'
13010       fi
13011       archive_cmds_need_lc_FC='no'
13012       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13013       hardcode_libdir_separator_FC=:
13014       inherit_rpath_FC=yes
13015       link_all_deplibs_FC=yes
13016       ;;
13017
13018     netbsd*)
13019       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13020         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13021       else
13022         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13023       fi
13024       hardcode_libdir_flag_spec_FC='-R$libdir'
13025       hardcode_direct_FC=yes
13026       hardcode_shlibpath_var_FC=no
13027       ;;
13028
13029     newsos6)
13030       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13031       hardcode_direct_FC=yes
13032       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13033       hardcode_libdir_separator_FC=:
13034       hardcode_shlibpath_var_FC=no
13035       ;;
13036
13037     *nto* | *qnx*)
13038       ;;
13039
13040     openbsd*)
13041       if test -f /usr/libexec/ld.so; then
13042         hardcode_direct_FC=yes
13043         hardcode_shlibpath_var_FC=no
13044         hardcode_direct_absolute_FC=yes
13045         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13046           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13047           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13048           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13049           export_dynamic_flag_spec_FC='${wl}-E'
13050         else
13051           case $host_os in
13052            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13053              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13054              hardcode_libdir_flag_spec_FC='-R$libdir'
13055              ;;
13056            *)
13057              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13058              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13059              ;;
13060           esac
13061         fi
13062       else
13063         ld_shlibs_FC=no
13064       fi
13065       ;;
13066
13067     os2*)
13068       hardcode_libdir_flag_spec_FC='-L$libdir'
13069       hardcode_minus_L_FC=yes
13070       allow_undefined_flag_FC=unsupported
13071       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'
13072       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13073       ;;
13074
13075     osf3*)
13076       if test "$GCC" = yes; then
13077         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13078         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'
13079       else
13080         allow_undefined_flag_FC=' -expect_unresolved \*'
13081         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'
13082       fi
13083       archive_cmds_need_lc_FC='no'
13084       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13085       hardcode_libdir_separator_FC=:
13086       ;;
13087
13088     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13089       if test "$GCC" = yes; then
13090         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13091         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'
13092         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13093       else
13094         allow_undefined_flag_FC=' -expect_unresolved \*'
13095         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'
13096         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~
13097         $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'
13098
13099         # Both c and cxx compiler support -rpath directly
13100         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13101       fi
13102       archive_cmds_need_lc_FC='no'
13103       hardcode_libdir_separator_FC=:
13104       ;;
13105
13106     solaris*)
13107       no_undefined_flag_FC=' -z defs'
13108       if test "$GCC" = yes; then
13109         wlarc='${wl}'
13110         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13111         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13112           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13113       else
13114         case `$CC -V 2>&1` in
13115         *"Compilers 5.0"*)
13116           wlarc=''
13117           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13118           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13120           ;;
13121         *)
13122           wlarc='${wl}'
13123           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13124           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13125           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13126           ;;
13127         esac
13128       fi
13129       hardcode_libdir_flag_spec_FC='-R$libdir'
13130       hardcode_shlibpath_var_FC=no
13131       case $host_os in
13132       solaris2.[0-5] | solaris2.[0-5].*) ;;
13133       *)
13134         # The compiler driver will combine and reorder linker options,
13135         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13136         # but is careful enough not to reorder.
13137         # Supported since Solaris 2.6 (maybe 2.5.1?)
13138         if test "$GCC" = yes; then
13139           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13140         else
13141           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13142         fi
13143         ;;
13144       esac
13145       link_all_deplibs_FC=yes
13146       ;;
13147
13148     sunos4*)
13149       if test "x$host_vendor" = xsequent; then
13150         # Use $CC to link under sequent, because it throws in some extra .o
13151         # files that make .init and .fini sections work.
13152         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13153       else
13154         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13155       fi
13156       hardcode_libdir_flag_spec_FC='-L$libdir'
13157       hardcode_direct_FC=yes
13158       hardcode_minus_L_FC=yes
13159       hardcode_shlibpath_var_FC=no
13160       ;;
13161
13162     sysv4)
13163       case $host_vendor in
13164         sni)
13165           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13166           hardcode_direct_FC=yes # is this really true???
13167         ;;
13168         siemens)
13169           ## LD is ld it makes a PLAMLIB
13170           ## CC just makes a GrossModule.
13171           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13172           reload_cmds_FC='$CC -r -o $output$reload_objs'
13173           hardcode_direct_FC=no
13174         ;;
13175         motorola)
13176           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13177           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13178         ;;
13179       esac
13180       runpath_var='LD_RUN_PATH'
13181       hardcode_shlibpath_var_FC=no
13182       ;;
13183
13184     sysv4.3*)
13185       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13186       hardcode_shlibpath_var_FC=no
13187       export_dynamic_flag_spec_FC='-Bexport'
13188       ;;
13189
13190     sysv4*MP*)
13191       if test -d /usr/nec; then
13192         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13193         hardcode_shlibpath_var_FC=no
13194         runpath_var=LD_RUN_PATH
13195         hardcode_runpath_var=yes
13196         ld_shlibs_FC=yes
13197       fi
13198       ;;
13199
13200     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13201       no_undefined_flag_FC='${wl}-z,text'
13202       archive_cmds_need_lc_FC=no
13203       hardcode_shlibpath_var_FC=no
13204       runpath_var='LD_RUN_PATH'
13205
13206       if test "$GCC" = yes; then
13207         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209       else
13210         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212       fi
13213       ;;
13214
13215     sysv5* | sco3.2v5* | sco5v6*)
13216       # Note: We can NOT use -z defs as we might desire, because we do not
13217       # link with -lc, and that would cause any symbols used from libc to
13218       # always be unresolved, which means just about no library would
13219       # ever link correctly.  If we're not using GNU ld we use -z text
13220       # though, which does catch some bad symbols but isn't as heavy-handed
13221       # as -z defs.
13222       no_undefined_flag_FC='${wl}-z,text'
13223       allow_undefined_flag_FC='${wl}-z,nodefs'
13224       archive_cmds_need_lc_FC=no
13225       hardcode_shlibpath_var_FC=no
13226       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13227       hardcode_libdir_separator_FC=':'
13228       link_all_deplibs_FC=yes
13229       export_dynamic_flag_spec_FC='${wl}-Bexport'
13230       runpath_var='LD_RUN_PATH'
13231
13232       if test "$GCC" = yes; then
13233         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13235       else
13236         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13237         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13238       fi
13239       ;;
13240
13241     uts4*)
13242       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13243       hardcode_libdir_flag_spec_FC='-L$libdir'
13244       hardcode_shlibpath_var_FC=no
13245       ;;
13246
13247     *)
13248       ld_shlibs_FC=no
13249       ;;
13250     esac
13251
13252     if test x$host_vendor = xsni; then
13253       case $host in
13254       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13255         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13256         ;;
13257       esac
13258     fi
13259   fi
13260
13261 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13262 echo "${ECHO_T}$ld_shlibs_FC" >&6
13263 test "$ld_shlibs_FC" = no && can_build_shared=no
13264
13265 with_gnu_ld_FC=$with_gnu_ld
13266
13267
13268
13269
13270
13271
13272 #
13273 # Do we need to explicitly link libc?
13274 #
13275 case "x$archive_cmds_need_lc_FC" in
13276 x|xyes)
13277   # Assume -lc should be added
13278   archive_cmds_need_lc_FC=yes
13279
13280   if test "$enable_shared" = yes && test "$GCC" = yes; then
13281     case $archive_cmds_FC in
13282     *'~'*)
13283       # FIXME: we may have to deal with multi-command sequences.
13284       ;;
13285     '$CC '*)
13286       # Test whether the compiler implicitly links with -lc since on some
13287       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13288       # to ld, don't add -lc before -lgcc.
13289       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13290 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13291       $RM conftest*
13292       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13293
13294       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13295   (eval $ac_compile) 2>&5
13296   ac_status=$?
13297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298   (exit $ac_status); } 2>conftest.err; then
13299         soname=conftest
13300         lib=conftest
13301         libobjs=conftest.$ac_objext
13302         deplibs=
13303         wl=$lt_prog_compiler_wl_FC
13304         pic_flag=$lt_prog_compiler_pic_FC
13305         compiler_flags=-v
13306         linker_flags=-v
13307         verstring=
13308         output_objdir=.
13309         libname=conftest
13310         lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13311         allow_undefined_flag_FC=
13312         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13313   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13314   ac_status=$?
13315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316   (exit $ac_status); }
13317         then
13318           archive_cmds_need_lc_FC=no
13319         else
13320           archive_cmds_need_lc_FC=yes
13321         fi
13322         allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13323       else
13324         cat conftest.err 1>&5
13325       fi
13326       $RM conftest*
13327       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
13328 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
13329       ;;
13330     esac
13331   fi
13332   ;;
13333 esac
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13399 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13400
13401 library_names_spec=
13402 libname_spec='lib$name'
13403 soname_spec=
13404 shrext_cmds=".so"
13405 postinstall_cmds=
13406 postuninstall_cmds=
13407 finish_cmds=
13408 finish_eval=
13409 shlibpath_var=
13410 shlibpath_overrides_runpath=unknown
13411 version_type=none
13412 dynamic_linker="$host_os ld.so"
13413 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13414 need_lib_prefix=unknown
13415 hardcode_into_libs=no
13416
13417 # when you set need_version to no, make sure it does not cause -set_version
13418 # flags to be left without arguments
13419 need_version=unknown
13420
13421 case $host_os in
13422 aix3*)
13423   version_type=linux
13424   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13425   shlibpath_var=LIBPATH
13426
13427   # AIX 3 has no versioning support, so we append a major version to the name.
13428   soname_spec='${libname}${release}${shared_ext}$major'
13429   ;;
13430
13431 aix[4-9]*)
13432   version_type=linux
13433   need_lib_prefix=no
13434   need_version=no
13435   hardcode_into_libs=yes
13436   if test "$host_cpu" = ia64; then
13437     # AIX 5 supports IA64
13438     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13439     shlibpath_var=LD_LIBRARY_PATH
13440   else
13441     # With GCC up to 2.95.x, collect2 would create an import file
13442     # for dependence libraries.  The import file would start with
13443     # the line `#! .'.  This would cause the generated library to
13444     # depend on `.', always an invalid library.  This was fixed in
13445     # development snapshots of GCC prior to 3.0.
13446     case $host_os in
13447       aix4 | aix4.[01] | aix4.[01].*)
13448       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13449            echo ' yes '
13450            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13451         :
13452       else
13453         can_build_shared=no
13454       fi
13455       ;;
13456     esac
13457     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13458     # soname into executable. Probably we can add versioning support to
13459     # collect2, so additional links can be useful in future.
13460     if test "$aix_use_runtimelinking" = yes; then
13461       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13462       # instead of lib<name>.a to let people know that these are not
13463       # typical AIX shared libraries.
13464       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13465     else
13466       # We preserve .a as extension for shared libraries through AIX4.2
13467       # and later when we are not doing run time linking.
13468       library_names_spec='${libname}${release}.a $libname.a'
13469       soname_spec='${libname}${release}${shared_ext}$major'
13470     fi
13471     shlibpath_var=LIBPATH
13472   fi
13473   ;;
13474
13475 amigaos*)
13476   case $host_cpu in
13477   powerpc)
13478     # Since July 2007 AmigaOS4 officially supports .so libraries.
13479     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13480     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13481     ;;
13482   m68k)
13483     library_names_spec='$libname.ixlibrary $libname.a'
13484     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13485     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'
13486     ;;
13487   esac
13488   ;;
13489
13490 beos*)
13491   library_names_spec='${libname}${shared_ext}'
13492   dynamic_linker="$host_os ld.so"
13493   shlibpath_var=LIBRARY_PATH
13494   ;;
13495
13496 bsdi[45]*)
13497   version_type=linux
13498   need_version=no
13499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13500   soname_spec='${libname}${release}${shared_ext}$major'
13501   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13502   shlibpath_var=LD_LIBRARY_PATH
13503   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13504   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13505   # the default ld.so.conf also contains /usr/contrib/lib and
13506   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13507   # libtool to hard-code these into programs
13508   ;;
13509
13510 cygwin* | mingw* | pw32* | cegcc*)
13511   version_type=windows
13512   shrext_cmds=".dll"
13513   need_version=no
13514   need_lib_prefix=no
13515
13516   case $GCC,$host_os in
13517   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13518     library_names_spec='$libname.dll.a'
13519     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13520     postinstall_cmds='base_file=`basename \${file}`~
13521       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13522       dldir=$destdir/`dirname \$dlpath`~
13523       test -d \$dldir || mkdir -p \$dldir~
13524       $install_prog $dir/$dlname \$dldir/$dlname~
13525       chmod a+x \$dldir/$dlname~
13526       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13527         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13528       fi'
13529     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13530       dlpath=$dir/\$dldll~
13531        $RM \$dlpath'
13532     shlibpath_overrides_runpath=yes
13533
13534     case $host_os in
13535     cygwin*)
13536       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13537       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13538       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13539       ;;
13540     mingw* | cegcc*)
13541       # MinGW DLLs use traditional 'lib' prefix
13542       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13543       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13544       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13545         # It is most probably a Windows format PATH printed by
13546         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13547         # path with ; separators, and with drive letters. We can handle the
13548         # drive letters (cygwin fileutils understands them), so leave them,
13549         # especially as we might pass files found there to a mingw objdump,
13550         # which wouldn't understand a cygwinified path. Ahh.
13551         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13552       else
13553         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13554       fi
13555       ;;
13556     pw32*)
13557       # pw32 DLLs use 'pw' prefix rather than 'lib'
13558       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13559       ;;
13560     esac
13561     ;;
13562
13563   *)
13564     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13565     ;;
13566   esac
13567   dynamic_linker='Win32 ld.exe'
13568   # FIXME: first we should search . and the directory the executable is in
13569   shlibpath_var=PATH
13570   ;;
13571
13572 darwin* | rhapsody*)
13573   dynamic_linker="$host_os dyld"
13574   version_type=darwin
13575   need_lib_prefix=no
13576   need_version=no
13577   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13578   soname_spec='${libname}${release}${major}$shared_ext'
13579   shlibpath_overrides_runpath=yes
13580   shlibpath_var=DYLD_LIBRARY_PATH
13581   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13582
13583   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13584   ;;
13585
13586 dgux*)
13587   version_type=linux
13588   need_lib_prefix=no
13589   need_version=no
13590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13591   soname_spec='${libname}${release}${shared_ext}$major'
13592   shlibpath_var=LD_LIBRARY_PATH
13593   ;;
13594
13595 freebsd1*)
13596   dynamic_linker=no
13597   ;;
13598
13599 freebsd* | dragonfly*)
13600   # DragonFly does not have aout.  When/if they implement a new
13601   # versioning mechanism, adjust this.
13602   if test -x /usr/bin/objformat; then
13603     objformat=`/usr/bin/objformat`
13604   else
13605     case $host_os in
13606     freebsd[123]*) objformat=aout ;;
13607     *) objformat=elf ;;
13608     esac
13609   fi
13610   version_type=freebsd-$objformat
13611   case $version_type in
13612     freebsd-elf*)
13613       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13614       need_version=no
13615       need_lib_prefix=no
13616       ;;
13617     freebsd-*)
13618       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13619       need_version=yes
13620       ;;
13621   esac
13622   shlibpath_var=LD_LIBRARY_PATH
13623   case $host_os in
13624   freebsd2*)
13625     shlibpath_overrides_runpath=yes
13626     ;;
13627   freebsd3.[01]* | freebsdelf3.[01]*)
13628     shlibpath_overrides_runpath=yes
13629     hardcode_into_libs=yes
13630     ;;
13631   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13632   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13633     shlibpath_overrides_runpath=no
13634     hardcode_into_libs=yes
13635     ;;
13636   *) # from 4.6 on, and DragonFly
13637     shlibpath_overrides_runpath=yes
13638     hardcode_into_libs=yes
13639     ;;
13640   esac
13641   ;;
13642
13643 gnu*)
13644   version_type=linux
13645   need_lib_prefix=no
13646   need_version=no
13647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13648   soname_spec='${libname}${release}${shared_ext}$major'
13649   shlibpath_var=LD_LIBRARY_PATH
13650   hardcode_into_libs=yes
13651   ;;
13652
13653 hpux9* | hpux10* | hpux11*)
13654   # Give a soname corresponding to the major version so that dld.sl refuses to
13655   # link against other versions.
13656   version_type=sunos
13657   need_lib_prefix=no
13658   need_version=no
13659   case $host_cpu in
13660   ia64*)
13661     shrext_cmds='.so'
13662     hardcode_into_libs=yes
13663     dynamic_linker="$host_os dld.so"
13664     shlibpath_var=LD_LIBRARY_PATH
13665     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13667     soname_spec='${libname}${release}${shared_ext}$major'
13668     if test "X$HPUX_IA64_MODE" = X32; then
13669       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13670     else
13671       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13672     fi
13673     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13674     ;;
13675   hppa*64*)
13676     shrext_cmds='.sl'
13677     hardcode_into_libs=yes
13678     dynamic_linker="$host_os dld.sl"
13679     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13680     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13681     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13682     soname_spec='${libname}${release}${shared_ext}$major'
13683     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13684     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13685     ;;
13686   *)
13687     shrext_cmds='.sl'
13688     dynamic_linker="$host_os dld.sl"
13689     shlibpath_var=SHLIB_PATH
13690     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13691     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13692     soname_spec='${libname}${release}${shared_ext}$major'
13693     ;;
13694   esac
13695   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13696   postinstall_cmds='chmod 555 $lib'
13697   ;;
13698
13699 interix[3-9]*)
13700   version_type=linux
13701   need_lib_prefix=no
13702   need_version=no
13703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13704   soname_spec='${libname}${release}${shared_ext}$major'
13705   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13706   shlibpath_var=LD_LIBRARY_PATH
13707   shlibpath_overrides_runpath=no
13708   hardcode_into_libs=yes
13709   ;;
13710
13711 irix5* | irix6* | nonstopux*)
13712   case $host_os in
13713     nonstopux*) version_type=nonstopux ;;
13714     *)
13715         if test "$lt_cv_prog_gnu_ld" = yes; then
13716                 version_type=linux
13717         else
13718                 version_type=irix
13719         fi ;;
13720   esac
13721   need_lib_prefix=no
13722   need_version=no
13723   soname_spec='${libname}${release}${shared_ext}$major'
13724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13725   case $host_os in
13726   irix5* | nonstopux*)
13727     libsuff= shlibsuff=
13728     ;;
13729   *)
13730     case $LD in # libtool.m4 will add one of these switches to LD
13731     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13732       libsuff= shlibsuff= libmagic=32-bit;;
13733     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13734       libsuff=32 shlibsuff=N32 libmagic=N32;;
13735     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13736       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13737     *) libsuff= shlibsuff= libmagic=never-match;;
13738     esac
13739     ;;
13740   esac
13741   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13742   shlibpath_overrides_runpath=no
13743   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13744   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13745   hardcode_into_libs=yes
13746   ;;
13747
13748 # No shared lib support for Linux oldld, aout, or coff.
13749 linux*oldld* | linux*aout* | linux*coff*)
13750   dynamic_linker=no
13751   ;;
13752
13753 # This must be Linux ELF.
13754 linux* | k*bsd*-gnu)
13755   version_type=linux
13756   need_lib_prefix=no
13757   need_version=no
13758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13759   soname_spec='${libname}${release}${shared_ext}$major'
13760   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13761   shlibpath_var=LD_LIBRARY_PATH
13762   shlibpath_overrides_runpath=no
13763   # Some binutils ld are patched to set DT_RUNPATH
13764   save_LDFLAGS=$LDFLAGS
13765   save_libdir=$libdir
13766   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13767        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13768   if test x$gcc_no_link = xyes; then
13769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13771    { (exit 1); exit 1; }; }
13772 fi
13773 cat >conftest.$ac_ext <<_ACEOF
13774       program main
13775
13776       end
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13780   (eval $ac_link) 2>conftest.er1
13781   ac_status=$?
13782   grep -v '^ *+' conftest.er1 >conftest.err
13783   rm -f conftest.er1
13784   cat conftest.err >&5
13785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786   (exit $ac_status); } &&
13787          { ac_try='test -z "$ac_fc_werror_flag"
13788                          || test ! -s conftest.err'
13789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790   (eval $ac_try) 2>&5
13791   ac_status=$?
13792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793   (exit $ac_status); }; } &&
13794          { ac_try='test -s conftest$ac_exeext'
13795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796   (eval $ac_try) 2>&5
13797   ac_status=$?
13798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799   (exit $ac_status); }; }; then
13800   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13801   shlibpath_overrides_runpath=yes
13802 fi
13803
13804 else
13805   echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808 fi
13809 rm -f conftest.err conftest.$ac_objext \
13810       conftest$ac_exeext conftest.$ac_ext
13811   LDFLAGS=$save_LDFLAGS
13812   libdir=$save_libdir
13813
13814   # This implies no fast_install, which is unacceptable.
13815   # Some rework will be needed to allow for fast_install
13816   # before this can be enabled.
13817   hardcode_into_libs=yes
13818
13819   # Append ld.so.conf contents to the search path
13820   if test -f /etc/ld.so.conf; then
13821     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13822     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13823   fi
13824
13825   # We used to test for /lib/ld.so.1 and disable shared libraries on
13826   # powerpc, because MkLinux only supported shared libraries with the
13827   # GNU dynamic linker.  Since this was broken with cross compilers,
13828   # most powerpc-linux boxes support dynamic linking these days and
13829   # people can always --disable-shared, the test was removed, and we
13830   # assume the GNU/Linux dynamic linker is in use.
13831   dynamic_linker='GNU/Linux ld.so'
13832   ;;
13833
13834 netbsd*)
13835   version_type=sunos
13836   need_lib_prefix=no
13837   need_version=no
13838   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13839     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13840     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13841     dynamic_linker='NetBSD (a.out) ld.so'
13842   else
13843     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13844     soname_spec='${libname}${release}${shared_ext}$major'
13845     dynamic_linker='NetBSD ld.elf_so'
13846   fi
13847   shlibpath_var=LD_LIBRARY_PATH
13848   shlibpath_overrides_runpath=yes
13849   hardcode_into_libs=yes
13850   ;;
13851
13852 newsos6)
13853   version_type=linux
13854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13855   shlibpath_var=LD_LIBRARY_PATH
13856   shlibpath_overrides_runpath=yes
13857   ;;
13858
13859 *nto* | *qnx*)
13860   version_type=qnx
13861   need_lib_prefix=no
13862   need_version=no
13863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13864   soname_spec='${libname}${release}${shared_ext}$major'
13865   shlibpath_var=LD_LIBRARY_PATH
13866   shlibpath_overrides_runpath=no
13867   hardcode_into_libs=yes
13868   dynamic_linker='ldqnx.so'
13869   ;;
13870
13871 openbsd*)
13872   version_type=sunos
13873   sys_lib_dlsearch_path_spec="/usr/lib"
13874   need_lib_prefix=no
13875   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13876   case $host_os in
13877     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13878     *)                          need_version=no  ;;
13879   esac
13880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13881   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13882   shlibpath_var=LD_LIBRARY_PATH
13883   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13884     case $host_os in
13885       openbsd2.[89] | openbsd2.[89].*)
13886         shlibpath_overrides_runpath=no
13887         ;;
13888       *)
13889         shlibpath_overrides_runpath=yes
13890         ;;
13891       esac
13892   else
13893     shlibpath_overrides_runpath=yes
13894   fi
13895   ;;
13896
13897 os2*)
13898   libname_spec='$name'
13899   shrext_cmds=".dll"
13900   need_lib_prefix=no
13901   library_names_spec='$libname${shared_ext} $libname.a'
13902   dynamic_linker='OS/2 ld.exe'
13903   shlibpath_var=LIBPATH
13904   ;;
13905
13906 osf3* | osf4* | osf5*)
13907   version_type=osf
13908   need_lib_prefix=no
13909   need_version=no
13910   soname_spec='${libname}${release}${shared_ext}$major'
13911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13912   shlibpath_var=LD_LIBRARY_PATH
13913   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13914   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13915   ;;
13916
13917 rdos*)
13918   dynamic_linker=no
13919   ;;
13920
13921 solaris*)
13922   version_type=linux
13923   need_lib_prefix=no
13924   need_version=no
13925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13926   soname_spec='${libname}${release}${shared_ext}$major'
13927   shlibpath_var=LD_LIBRARY_PATH
13928   shlibpath_overrides_runpath=yes
13929   hardcode_into_libs=yes
13930   # ldd complains unless libraries are executable
13931   postinstall_cmds='chmod +x $lib'
13932   ;;
13933
13934 sunos4*)
13935   version_type=sunos
13936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13937   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13938   shlibpath_var=LD_LIBRARY_PATH
13939   shlibpath_overrides_runpath=yes
13940   if test "$with_gnu_ld" = yes; then
13941     need_lib_prefix=no
13942   fi
13943   need_version=yes
13944   ;;
13945
13946 sysv4 | sysv4.3*)
13947   version_type=linux
13948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13949   soname_spec='${libname}${release}${shared_ext}$major'
13950   shlibpath_var=LD_LIBRARY_PATH
13951   case $host_vendor in
13952     sni)
13953       shlibpath_overrides_runpath=no
13954       need_lib_prefix=no
13955       runpath_var=LD_RUN_PATH
13956       ;;
13957     siemens)
13958       need_lib_prefix=no
13959       ;;
13960     motorola)
13961       need_lib_prefix=no
13962       need_version=no
13963       shlibpath_overrides_runpath=no
13964       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13965       ;;
13966   esac
13967   ;;
13968
13969 sysv4*MP*)
13970   if test -d /usr/nec ;then
13971     version_type=linux
13972     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13973     soname_spec='$libname${shared_ext}.$major'
13974     shlibpath_var=LD_LIBRARY_PATH
13975   fi
13976   ;;
13977
13978 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13979   version_type=freebsd-elf
13980   need_lib_prefix=no
13981   need_version=no
13982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13983   soname_spec='${libname}${release}${shared_ext}$major'
13984   shlibpath_var=LD_LIBRARY_PATH
13985   shlibpath_overrides_runpath=yes
13986   hardcode_into_libs=yes
13987   if test "$with_gnu_ld" = yes; then
13988     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13989   else
13990     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13991     case $host_os in
13992       sco3.2v5*)
13993         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13994         ;;
13995     esac
13996   fi
13997   sys_lib_dlsearch_path_spec='/usr/lib'
13998   ;;
13999
14000 tpf*)
14001   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14002   version_type=linux
14003   need_lib_prefix=no
14004   need_version=no
14005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006   shlibpath_var=LD_LIBRARY_PATH
14007   shlibpath_overrides_runpath=no
14008   hardcode_into_libs=yes
14009   ;;
14010
14011 uts4*)
14012   version_type=linux
14013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14014   soname_spec='${libname}${release}${shared_ext}$major'
14015   shlibpath_var=LD_LIBRARY_PATH
14016   ;;
14017
14018 *)
14019   dynamic_linker=no
14020   ;;
14021 esac
14022 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14023 echo "${ECHO_T}$dynamic_linker" >&6
14024 test "$dynamic_linker" = no && can_build_shared=no
14025
14026 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14027 if test "$GCC" = yes; then
14028   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14029 fi
14030
14031 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14032   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14033 fi
14034 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14035   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14036 fi
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14074 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14075 hardcode_action_FC=
14076 if test -n "$hardcode_libdir_flag_spec_FC" ||
14077    test -n "$runpath_var_FC" ||
14078    test "X$hardcode_automatic_FC" = "Xyes" ; then
14079
14080   # We can hardcode non-existent directories.
14081   if test "$hardcode_direct_FC" != no &&
14082      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14083      # have to relink, otherwise we might link with an installed library
14084      # when we should be linking with a yet-to-be-installed one
14085      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14086      test "$hardcode_minus_L_FC" != no; then
14087     # Linking always hardcodes the temporary library directory.
14088     hardcode_action_FC=relink
14089   else
14090     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14091     hardcode_action_FC=immediate
14092   fi
14093 else
14094   # We cannot hardcode anything, or else we can only hardcode existing
14095   # directories.
14096   hardcode_action_FC=unsupported
14097 fi
14098 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14099 echo "${ECHO_T}$hardcode_action_FC" >&6
14100
14101 if test "$hardcode_action_FC" = relink ||
14102    test "$inherit_rpath_FC" = yes; then
14103   # Fast installation is not supported
14104   enable_fast_install=no
14105 elif test "$shlibpath_overrides_runpath" = yes ||
14106      test "$enable_shared" = no; then
14107   # Fast installation is not necessary
14108   enable_fast_install=needless
14109 fi
14110
14111
14112
14113
14114
14115
14116
14117   fi # test -n "$compiler"
14118
14119   GCC=$lt_save_GCC
14120   CC="$lt_save_CC"
14121 fi # test "$_lt_disable_FC" != yes
14122
14123 ac_ext=c
14124 ac_cpp='$CPP $CPPFLAGS'
14125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14128
14129
14130
14131 # extra LD Flags which are required for targets
14132 case "${host}" in
14133   *-darwin*)
14134     # Darwin needs -single_module when linking libgfortran
14135     extra_ldflags_libgfortran=-Wl,-single_module
14136     ;;
14137 esac
14138
14139
14140 # We need a working compiler at that point, otherwise give a clear
14141 # error message and bail out.
14142
14143 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14144 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14145 ac_ext=${FC_SRCEXT-f}
14146 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14147 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14149
14150 cat >conftest.$ac_ext <<_ACEOF
14151
14152       program foo
14153       real, parameter :: bar = sin (12.34 / 2.5)
14154       end program foo
14155 _ACEOF
14156 rm -f conftest.$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158   (eval $ac_compile) 2>conftest.er1
14159   ac_status=$?
14160   grep -v '^ *+' conftest.er1 >conftest.err
14161   rm -f conftest.er1
14162   cat conftest.err >&5
14163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164   (exit $ac_status); } &&
14165          { ac_try='test -z "$ac_fc_werror_flag"
14166                          || test ! -s conftest.err'
14167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168   (eval $ac_try) 2>&5
14169   ac_status=$?
14170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171   (exit $ac_status); }; } &&
14172          { ac_try='test -s conftest.$ac_objext'
14173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174   (eval $ac_try) 2>&5
14175   ac_status=$?
14176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177   (exit $ac_status); }; }; then
14178   echo "$as_me:$LINENO: result: yes" >&5
14179 echo "${ECHO_T}yes" >&6
14180 else
14181   echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14183
14184 echo "$as_me:$LINENO: result: no" >&5
14185 echo "${ECHO_T}no" >&6
14186      { { 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
14187 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14188    { (exit 1); exit 1; }; }
14189
14190 fi
14191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14192 ac_ext=c
14193 ac_cpp='$CPP $CPPFLAGS'
14194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14197
14198
14199
14200 # Check whether --enable-largefile or --disable-largefile was given.
14201 if test "${enable_largefile+set}" = set; then
14202   enableval="$enable_largefile"
14203
14204 fi;
14205 if test "$enable_largefile" != no; then
14206
14207   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14208 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14209 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14210   echo $ECHO_N "(cached) $ECHO_C" >&6
14211 else
14212   ac_cv_sys_largefile_CC=no
14213      if test "$GCC" != yes; then
14214        ac_save_CC=$CC
14215        while :; do
14216          # IRIX 6.2 and later do not support large files by default,
14217          # so use the C compiler's -n32 option if that helps.
14218          cat >conftest.$ac_ext <<_ACEOF
14219 /* confdefs.h.  */
14220 _ACEOF
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h.  */
14224 #include <sys/types.h>
14225  /* Check that off_t can represent 2**63 - 1 correctly.
14226     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14227     since some C++ compilers masquerading as C compilers
14228     incorrectly reject 9223372036854775807.  */
14229 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14230   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14231                        && LARGE_OFF_T % 2147483647 == 1)
14232                       ? 1 : -1];
14233 int
14234 main ()
14235 {
14236
14237   ;
14238   return 0;
14239 }
14240 _ACEOF
14241          rm -f conftest.$ac_objext
14242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14243   (eval $ac_compile) 2>conftest.er1
14244   ac_status=$?
14245   grep -v '^ *+' conftest.er1 >conftest.err
14246   rm -f conftest.er1
14247   cat conftest.err >&5
14248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249   (exit $ac_status); } &&
14250          { ac_try='test -z "$ac_c_werror_flag"
14251                          || test ! -s conftest.err'
14252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253   (eval $ac_try) 2>&5
14254   ac_status=$?
14255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256   (exit $ac_status); }; } &&
14257          { ac_try='test -s conftest.$ac_objext'
14258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259   (eval $ac_try) 2>&5
14260   ac_status=$?
14261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262   (exit $ac_status); }; }; then
14263   break
14264 else
14265   echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.$ac_ext >&5
14267
14268 fi
14269 rm -f conftest.err conftest.$ac_objext
14270          CC="$CC -n32"
14271          rm -f conftest.$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273   (eval $ac_compile) 2>conftest.er1
14274   ac_status=$?
14275   grep -v '^ *+' conftest.er1 >conftest.err
14276   rm -f conftest.er1
14277   cat conftest.err >&5
14278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279   (exit $ac_status); } &&
14280          { ac_try='test -z "$ac_c_werror_flag"
14281                          || test ! -s conftest.err'
14282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283   (eval $ac_try) 2>&5
14284   ac_status=$?
14285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286   (exit $ac_status); }; } &&
14287          { ac_try='test -s conftest.$ac_objext'
14288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289   (eval $ac_try) 2>&5
14290   ac_status=$?
14291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292   (exit $ac_status); }; }; then
14293   ac_cv_sys_largefile_CC=' -n32'; break
14294 else
14295   echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14297
14298 fi
14299 rm -f conftest.err conftest.$ac_objext
14300          break
14301        done
14302        CC=$ac_save_CC
14303        rm -f conftest.$ac_ext
14304     fi
14305 fi
14306 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14307 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14308   if test "$ac_cv_sys_largefile_CC" != no; then
14309     CC=$CC$ac_cv_sys_largefile_CC
14310   fi
14311
14312   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14313 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14314 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14315   echo $ECHO_N "(cached) $ECHO_C" >&6
14316 else
14317   while :; do
14318   ac_cv_sys_file_offset_bits=no
14319   cat >conftest.$ac_ext <<_ACEOF
14320 /* confdefs.h.  */
14321 _ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h.  */
14325 #include <sys/types.h>
14326  /* Check that off_t can represent 2**63 - 1 correctly.
14327     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14328     since some C++ compilers masquerading as C compilers
14329     incorrectly reject 9223372036854775807.  */
14330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14331   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14332                        && LARGE_OFF_T % 2147483647 == 1)
14333                       ? 1 : -1];
14334 int
14335 main ()
14336 {
14337
14338   ;
14339   return 0;
14340 }
14341 _ACEOF
14342 rm -f conftest.$ac_objext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14344   (eval $ac_compile) 2>conftest.er1
14345   ac_status=$?
14346   grep -v '^ *+' conftest.er1 >conftest.err
14347   rm -f conftest.er1
14348   cat conftest.err >&5
14349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350   (exit $ac_status); } &&
14351          { ac_try='test -z "$ac_c_werror_flag"
14352                          || test ! -s conftest.err'
14353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354   (eval $ac_try) 2>&5
14355   ac_status=$?
14356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357   (exit $ac_status); }; } &&
14358          { ac_try='test -s conftest.$ac_objext'
14359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360   (eval $ac_try) 2>&5
14361   ac_status=$?
14362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363   (exit $ac_status); }; }; then
14364   break
14365 else
14366   echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14368
14369 fi
14370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14371   cat >conftest.$ac_ext <<_ACEOF
14372 /* confdefs.h.  */
14373 _ACEOF
14374 cat confdefs.h >>conftest.$ac_ext
14375 cat >>conftest.$ac_ext <<_ACEOF
14376 /* end confdefs.h.  */
14377 #define _FILE_OFFSET_BITS 64
14378 #include <sys/types.h>
14379  /* Check that off_t can represent 2**63 - 1 correctly.
14380     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14381     since some C++ compilers masquerading as C compilers
14382     incorrectly reject 9223372036854775807.  */
14383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14384   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14385                        && LARGE_OFF_T % 2147483647 == 1)
14386                       ? 1 : -1];
14387 int
14388 main ()
14389 {
14390
14391   ;
14392   return 0;
14393 }
14394 _ACEOF
14395 rm -f conftest.$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397   (eval $ac_compile) 2>conftest.er1
14398   ac_status=$?
14399   grep -v '^ *+' conftest.er1 >conftest.err
14400   rm -f conftest.er1
14401   cat conftest.err >&5
14402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403   (exit $ac_status); } &&
14404          { ac_try='test -z "$ac_c_werror_flag"
14405                          || test ! -s conftest.err'
14406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14407   (eval $ac_try) 2>&5
14408   ac_status=$?
14409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410   (exit $ac_status); }; } &&
14411          { ac_try='test -s conftest.$ac_objext'
14412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413   (eval $ac_try) 2>&5
14414   ac_status=$?
14415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416   (exit $ac_status); }; }; then
14417   ac_cv_sys_file_offset_bits=64; break
14418 else
14419   echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14421
14422 fi
14423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14424   break
14425 done
14426 fi
14427 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14428 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14429 if test "$ac_cv_sys_file_offset_bits" != no; then
14430
14431 cat >>confdefs.h <<_ACEOF
14432 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14433 _ACEOF
14434
14435 fi
14436 rm -f conftest*
14437   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14438 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14439 if test "${ac_cv_sys_large_files+set}" = set; then
14440   echo $ECHO_N "(cached) $ECHO_C" >&6
14441 else
14442   while :; do
14443   ac_cv_sys_large_files=no
14444   cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h.  */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h.  */
14450 #include <sys/types.h>
14451  /* Check that off_t can represent 2**63 - 1 correctly.
14452     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14453     since some C++ compilers masquerading as C compilers
14454     incorrectly reject 9223372036854775807.  */
14455 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14456   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14457                        && LARGE_OFF_T % 2147483647 == 1)
14458                       ? 1 : -1];
14459 int
14460 main ()
14461 {
14462
14463   ;
14464   return 0;
14465 }
14466 _ACEOF
14467 rm -f conftest.$ac_objext
14468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14469   (eval $ac_compile) 2>conftest.er1
14470   ac_status=$?
14471   grep -v '^ *+' conftest.er1 >conftest.err
14472   rm -f conftest.er1
14473   cat conftest.err >&5
14474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475   (exit $ac_status); } &&
14476          { ac_try='test -z "$ac_c_werror_flag"
14477                          || test ! -s conftest.err'
14478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479   (eval $ac_try) 2>&5
14480   ac_status=$?
14481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482   (exit $ac_status); }; } &&
14483          { ac_try='test -s conftest.$ac_objext'
14484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485   (eval $ac_try) 2>&5
14486   ac_status=$?
14487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488   (exit $ac_status); }; }; then
14489   break
14490 else
14491   echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14493
14494 fi
14495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14496   cat >conftest.$ac_ext <<_ACEOF
14497 /* confdefs.h.  */
14498 _ACEOF
14499 cat confdefs.h >>conftest.$ac_ext
14500 cat >>conftest.$ac_ext <<_ACEOF
14501 /* end confdefs.h.  */
14502 #define _LARGE_FILES 1
14503 #include <sys/types.h>
14504  /* Check that off_t can represent 2**63 - 1 correctly.
14505     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14506     since some C++ compilers masquerading as C compilers
14507     incorrectly reject 9223372036854775807.  */
14508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14509   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14510                        && LARGE_OFF_T % 2147483647 == 1)
14511                       ? 1 : -1];
14512 int
14513 main ()
14514 {
14515
14516   ;
14517   return 0;
14518 }
14519 _ACEOF
14520 rm -f conftest.$ac_objext
14521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522   (eval $ac_compile) 2>conftest.er1
14523   ac_status=$?
14524   grep -v '^ *+' conftest.er1 >conftest.err
14525   rm -f conftest.er1
14526   cat conftest.err >&5
14527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528   (exit $ac_status); } &&
14529          { ac_try='test -z "$ac_c_werror_flag"
14530                          || test ! -s conftest.err'
14531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532   (eval $ac_try) 2>&5
14533   ac_status=$?
14534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535   (exit $ac_status); }; } &&
14536          { ac_try='test -s conftest.$ac_objext'
14537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538   (eval $ac_try) 2>&5
14539   ac_status=$?
14540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541   (exit $ac_status); }; }; then
14542   ac_cv_sys_large_files=1; break
14543 else
14544   echo "$as_me: failed program was:" >&5
14545 sed 's/^/| /' conftest.$ac_ext >&5
14546
14547 fi
14548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14549   break
14550 done
14551 fi
14552 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14553 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14554 if test "$ac_cv_sys_large_files" != no; then
14555
14556 cat >>confdefs.h <<_ACEOF
14557 #define _LARGE_FILES $ac_cv_sys_large_files
14558 _ACEOF
14559
14560 fi
14561 rm -f conftest*
14562 fi
14563
14564 echo "$as_me:$LINENO: checking for off_t" >&5
14565 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14566 if test "${ac_cv_type_off_t+set}" = set; then
14567   echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569   cat >conftest.$ac_ext <<_ACEOF
14570 /* confdefs.h.  */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h.  */
14575 $ac_includes_default
14576 int
14577 main ()
14578 {
14579 if ((off_t *) 0)
14580   return 0;
14581 if (sizeof (off_t))
14582   return 0;
14583   ;
14584   return 0;
14585 }
14586 _ACEOF
14587 rm -f conftest.$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589   (eval $ac_compile) 2>conftest.er1
14590   ac_status=$?
14591   grep -v '^ *+' conftest.er1 >conftest.err
14592   rm -f conftest.er1
14593   cat conftest.err >&5
14594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595   (exit $ac_status); } &&
14596          { ac_try='test -z "$ac_c_werror_flag"
14597                          || test ! -s conftest.err'
14598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599   (eval $ac_try) 2>&5
14600   ac_status=$?
14601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602   (exit $ac_status); }; } &&
14603          { ac_try='test -s conftest.$ac_objext'
14604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605   (eval $ac_try) 2>&5
14606   ac_status=$?
14607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608   (exit $ac_status); }; }; then
14609   ac_cv_type_off_t=yes
14610 else
14611   echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_type_off_t=no
14615 fi
14616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14617 fi
14618 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14619 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14620 if test $ac_cv_type_off_t = yes; then
14621   :
14622 else
14623
14624 cat >>confdefs.h <<_ACEOF
14625 #define off_t long
14626 _ACEOF
14627
14628 fi
14629
14630
14631 # check header files
14632 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14633 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14634 if test "${ac_cv_header_stdc+set}" = set; then
14635   echo $ECHO_N "(cached) $ECHO_C" >&6
14636 else
14637   cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h.  */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h.  */
14643 #include <stdlib.h>
14644 #include <stdarg.h>
14645 #include <string.h>
14646 #include <float.h>
14647
14648 int
14649 main ()
14650 {
14651
14652   ;
14653   return 0;
14654 }
14655 _ACEOF
14656 rm -f conftest.$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658   (eval $ac_compile) 2>conftest.er1
14659   ac_status=$?
14660   grep -v '^ *+' conftest.er1 >conftest.err
14661   rm -f conftest.er1
14662   cat conftest.err >&5
14663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664   (exit $ac_status); } &&
14665          { ac_try='test -z "$ac_c_werror_flag"
14666                          || test ! -s conftest.err'
14667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668   (eval $ac_try) 2>&5
14669   ac_status=$?
14670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671   (exit $ac_status); }; } &&
14672          { ac_try='test -s conftest.$ac_objext'
14673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674   (eval $ac_try) 2>&5
14675   ac_status=$?
14676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677   (exit $ac_status); }; }; then
14678   ac_cv_header_stdc=yes
14679 else
14680   echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ac_cv_header_stdc=no
14684 fi
14685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14686
14687 if test $ac_cv_header_stdc = yes; then
14688   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14689   cat >conftest.$ac_ext <<_ACEOF
14690 /* confdefs.h.  */
14691 _ACEOF
14692 cat confdefs.h >>conftest.$ac_ext
14693 cat >>conftest.$ac_ext <<_ACEOF
14694 /* end confdefs.h.  */
14695 #include <string.h>
14696
14697 _ACEOF
14698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14699   $EGREP "memchr" >/dev/null 2>&1; then
14700   :
14701 else
14702   ac_cv_header_stdc=no
14703 fi
14704 rm -f conftest*
14705
14706 fi
14707
14708 if test $ac_cv_header_stdc = yes; then
14709   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14710   cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h.  */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h.  */
14716 #include <stdlib.h>
14717
14718 _ACEOF
14719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14720   $EGREP "free" >/dev/null 2>&1; then
14721   :
14722 else
14723   ac_cv_header_stdc=no
14724 fi
14725 rm -f conftest*
14726
14727 fi
14728
14729 if test $ac_cv_header_stdc = yes; then
14730   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14731   if test "$cross_compiling" = yes; then
14732   :
14733 else
14734   cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h.  */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h.  */
14740 #include <ctype.h>
14741 #if ((' ' & 0x0FF) == 0x020)
14742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14744 #else
14745 # define ISLOWER(c) \
14746                    (('a' <= (c) && (c) <= 'i') \
14747                      || ('j' <= (c) && (c) <= 'r') \
14748                      || ('s' <= (c) && (c) <= 'z'))
14749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14750 #endif
14751
14752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14753 int
14754 main ()
14755 {
14756   int i;
14757   for (i = 0; i < 256; i++)
14758     if (XOR (islower (i), ISLOWER (i))
14759         || toupper (i) != TOUPPER (i))
14760       exit(2);
14761   exit (0);
14762 }
14763 _ACEOF
14764 rm -f conftest$ac_exeext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14766   (eval $ac_link) 2>&5
14767   ac_status=$?
14768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771   (eval $ac_try) 2>&5
14772   ac_status=$?
14773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774   (exit $ac_status); }; }; then
14775   :
14776 else
14777   echo "$as_me: program exited with status $ac_status" >&5
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14780
14781 ( exit $ac_status )
14782 ac_cv_header_stdc=no
14783 fi
14784 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14785 fi
14786 fi
14787 fi
14788 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14789 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14790 if test $ac_cv_header_stdc = yes; then
14791
14792 cat >>confdefs.h <<\_ACEOF
14793 #define STDC_HEADERS 1
14794 _ACEOF
14795
14796 fi
14797
14798 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14799 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14800 if test "${ac_cv_header_time+set}" = set; then
14801   echo $ECHO_N "(cached) $ECHO_C" >&6
14802 else
14803   cat >conftest.$ac_ext <<_ACEOF
14804 /* confdefs.h.  */
14805 _ACEOF
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h.  */
14809 #include <sys/types.h>
14810 #include <sys/time.h>
14811 #include <time.h>
14812
14813 int
14814 main ()
14815 {
14816 if ((struct tm *) 0)
14817 return 0;
14818   ;
14819   return 0;
14820 }
14821 _ACEOF
14822 rm -f conftest.$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824   (eval $ac_compile) 2>conftest.er1
14825   ac_status=$?
14826   grep -v '^ *+' conftest.er1 >conftest.err
14827   rm -f conftest.er1
14828   cat conftest.err >&5
14829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830   (exit $ac_status); } &&
14831          { ac_try='test -z "$ac_c_werror_flag"
14832                          || test ! -s conftest.err'
14833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834   (eval $ac_try) 2>&5
14835   ac_status=$?
14836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837   (exit $ac_status); }; } &&
14838          { ac_try='test -s conftest.$ac_objext'
14839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840   (eval $ac_try) 2>&5
14841   ac_status=$?
14842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843   (exit $ac_status); }; }; then
14844   ac_cv_header_time=yes
14845 else
14846   echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14848
14849 ac_cv_header_time=no
14850 fi
14851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14852 fi
14853 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14854 echo "${ECHO_T}$ac_cv_header_time" >&6
14855 if test $ac_cv_header_time = yes; then
14856
14857 cat >>confdefs.h <<\_ACEOF
14858 #define TIME_WITH_SYS_TIME 1
14859 _ACEOF
14860
14861 fi
14862
14863
14864
14865
14866
14867
14868
14869 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14870 do
14871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14873   echo "$as_me:$LINENO: checking for $ac_header" >&5
14874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14876   echo $ECHO_N "(cached) $ECHO_C" >&6
14877 fi
14878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14880 else
14881   # Is the header compilable?
14882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
14891 #include <$ac_header>
14892 _ACEOF
14893 rm -f conftest.$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895   (eval $ac_compile) 2>conftest.er1
14896   ac_status=$?
14897   grep -v '^ *+' conftest.er1 >conftest.err
14898   rm -f conftest.er1
14899   cat conftest.err >&5
14900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901   (exit $ac_status); } &&
14902          { ac_try='test -z "$ac_c_werror_flag"
14903                          || test ! -s conftest.err'
14904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905   (eval $ac_try) 2>&5
14906   ac_status=$?
14907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908   (exit $ac_status); }; } &&
14909          { ac_try='test -s conftest.$ac_objext'
14910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911   (eval $ac_try) 2>&5
14912   ac_status=$?
14913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914   (exit $ac_status); }; }; then
14915   ac_header_compiler=yes
14916 else
14917   echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14919
14920 ac_header_compiler=no
14921 fi
14922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14924 echo "${ECHO_T}$ac_header_compiler" >&6
14925
14926 # Is the header present?
14927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h.  */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h.  */
14935 #include <$ac_header>
14936 _ACEOF
14937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14938   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14939   ac_status=$?
14940   grep -v '^ *+' conftest.er1 >conftest.err
14941   rm -f conftest.er1
14942   cat conftest.err >&5
14943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944   (exit $ac_status); } >/dev/null; then
14945   if test -s conftest.err; then
14946     ac_cpp_err=$ac_c_preproc_warn_flag
14947     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14948   else
14949     ac_cpp_err=
14950   fi
14951 else
14952   ac_cpp_err=yes
14953 fi
14954 if test -z "$ac_cpp_err"; then
14955   ac_header_preproc=yes
14956 else
14957   echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960   ac_header_preproc=no
14961 fi
14962 rm -f conftest.err conftest.$ac_ext
14963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14964 echo "${ECHO_T}$ac_header_preproc" >&6
14965
14966 # So?  What about this header?
14967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14968   yes:no: )
14969     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14971     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14973     ac_header_preproc=yes
14974     ;;
14975   no:yes:* )
14976     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14978     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14979 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14980     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14982     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14983 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14984     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14986     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14988     (
14989       cat <<\_ASBOX
14990 ## ------------------------------------------------------ ##
14991 ## Report this to the GNU Fortran Runtime Library lists.  ##
14992 ## ------------------------------------------------------ ##
14993 _ASBOX
14994     ) |
14995       sed "s/^/$as_me: WARNING:     /" >&2
14996     ;;
14997 esac
14998 echo "$as_me:$LINENO: checking for $ac_header" >&5
14999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15001   echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003   eval "$as_ac_Header=\$ac_header_preproc"
15004 fi
15005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15007
15008 fi
15009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15010   cat >>confdefs.h <<_ACEOF
15011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15012 _ACEOF
15013
15014 fi
15015
15016 done
15017
15018
15019
15020
15021
15022 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15023 do
15024 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15026   echo "$as_me:$LINENO: checking for $ac_header" >&5
15027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15029   echo $ECHO_N "(cached) $ECHO_C" >&6
15030 fi
15031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15033 else
15034   # Is the header compilable?
15035 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15037 cat >conftest.$ac_ext <<_ACEOF
15038 /* confdefs.h.  */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h.  */
15043 $ac_includes_default
15044 #include <$ac_header>
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15048   (eval $ac_compile) 2>conftest.er1
15049   ac_status=$?
15050   grep -v '^ *+' conftest.er1 >conftest.err
15051   rm -f conftest.er1
15052   cat conftest.err >&5
15053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054   (exit $ac_status); } &&
15055          { ac_try='test -z "$ac_c_werror_flag"
15056                          || test ! -s conftest.err'
15057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058   (eval $ac_try) 2>&5
15059   ac_status=$?
15060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061   (exit $ac_status); }; } &&
15062          { ac_try='test -s conftest.$ac_objext'
15063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064   (eval $ac_try) 2>&5
15065   ac_status=$?
15066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067   (exit $ac_status); }; }; then
15068   ac_header_compiler=yes
15069 else
15070   echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 ac_header_compiler=no
15074 fi
15075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15077 echo "${ECHO_T}$ac_header_compiler" >&6
15078
15079 # Is the header present?
15080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15082 cat >conftest.$ac_ext <<_ACEOF
15083 /* confdefs.h.  */
15084 _ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h.  */
15088 #include <$ac_header>
15089 _ACEOF
15090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15091   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15092   ac_status=$?
15093   grep -v '^ *+' conftest.er1 >conftest.err
15094   rm -f conftest.er1
15095   cat conftest.err >&5
15096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097   (exit $ac_status); } >/dev/null; then
15098   if test -s conftest.err; then
15099     ac_cpp_err=$ac_c_preproc_warn_flag
15100     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15101   else
15102     ac_cpp_err=
15103   fi
15104 else
15105   ac_cpp_err=yes
15106 fi
15107 if test -z "$ac_cpp_err"; then
15108   ac_header_preproc=yes
15109 else
15110   echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15112
15113   ac_header_preproc=no
15114 fi
15115 rm -f conftest.err conftest.$ac_ext
15116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15117 echo "${ECHO_T}$ac_header_preproc" >&6
15118
15119 # So?  What about this header?
15120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15121   yes:no: )
15122     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15124     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15126     ac_header_preproc=yes
15127     ;;
15128   no:yes:* )
15129     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15131     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15132 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15133     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15135     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15136 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15137     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15139     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15141     (
15142       cat <<\_ASBOX
15143 ## ------------------------------------------------------ ##
15144 ## Report this to the GNU Fortran Runtime Library lists.  ##
15145 ## ------------------------------------------------------ ##
15146 _ASBOX
15147     ) |
15148       sed "s/^/$as_me: WARNING:     /" >&2
15149     ;;
15150 esac
15151 echo "$as_me:$LINENO: checking for $ac_header" >&5
15152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15154   echo $ECHO_N "(cached) $ECHO_C" >&6
15155 else
15156   eval "$as_ac_Header=\$ac_header_preproc"
15157 fi
15158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15160
15161 fi
15162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15163   cat >>confdefs.h <<_ACEOF
15164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15165 _ACEOF
15166
15167 fi
15168
15169 done
15170
15171
15172
15173
15174
15175
15176 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15177 do
15178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15180   echo "$as_me:$LINENO: checking for $ac_header" >&5
15181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15183   echo $ECHO_N "(cached) $ECHO_C" >&6
15184 fi
15185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15187 else
15188   # Is the header compilable?
15189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15191 cat >conftest.$ac_ext <<_ACEOF
15192 /* confdefs.h.  */
15193 _ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h.  */
15197 $ac_includes_default
15198 #include <$ac_header>
15199 _ACEOF
15200 rm -f conftest.$ac_objext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202   (eval $ac_compile) 2>conftest.er1
15203   ac_status=$?
15204   grep -v '^ *+' conftest.er1 >conftest.err
15205   rm -f conftest.er1
15206   cat conftest.err >&5
15207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208   (exit $ac_status); } &&
15209          { ac_try='test -z "$ac_c_werror_flag"
15210                          || test ! -s conftest.err'
15211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212   (eval $ac_try) 2>&5
15213   ac_status=$?
15214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215   (exit $ac_status); }; } &&
15216          { ac_try='test -s conftest.$ac_objext'
15217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218   (eval $ac_try) 2>&5
15219   ac_status=$?
15220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221   (exit $ac_status); }; }; then
15222   ac_header_compiler=yes
15223 else
15224   echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15226
15227 ac_header_compiler=no
15228 fi
15229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15231 echo "${ECHO_T}$ac_header_compiler" >&6
15232
15233 # Is the header present?
15234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15236 cat >conftest.$ac_ext <<_ACEOF
15237 /* confdefs.h.  */
15238 _ACEOF
15239 cat confdefs.h >>conftest.$ac_ext
15240 cat >>conftest.$ac_ext <<_ACEOF
15241 /* end confdefs.h.  */
15242 #include <$ac_header>
15243 _ACEOF
15244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15245   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15246   ac_status=$?
15247   grep -v '^ *+' conftest.er1 >conftest.err
15248   rm -f conftest.er1
15249   cat conftest.err >&5
15250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251   (exit $ac_status); } >/dev/null; then
15252   if test -s conftest.err; then
15253     ac_cpp_err=$ac_c_preproc_warn_flag
15254     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15255   else
15256     ac_cpp_err=
15257   fi
15258 else
15259   ac_cpp_err=yes
15260 fi
15261 if test -z "$ac_cpp_err"; then
15262   ac_header_preproc=yes
15263 else
15264   echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15266
15267   ac_header_preproc=no
15268 fi
15269 rm -f conftest.err conftest.$ac_ext
15270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15271 echo "${ECHO_T}$ac_header_preproc" >&6
15272
15273 # So?  What about this header?
15274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15275   yes:no: )
15276     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15278     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15280     ac_header_preproc=yes
15281     ;;
15282   no:yes:* )
15283     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15285     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15286 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15287     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15289     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15290 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15291     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15293     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15295     (
15296       cat <<\_ASBOX
15297 ## ------------------------------------------------------ ##
15298 ## Report this to the GNU Fortran Runtime Library lists.  ##
15299 ## ------------------------------------------------------ ##
15300 _ASBOX
15301     ) |
15302       sed "s/^/$as_me: WARNING:     /" >&2
15303     ;;
15304 esac
15305 echo "$as_me:$LINENO: checking for $ac_header" >&5
15306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15308   echo $ECHO_N "(cached) $ECHO_C" >&6
15309 else
15310   eval "$as_ac_Header=\$ac_header_preproc"
15311 fi
15312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15314
15315 fi
15316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15317   cat >>confdefs.h <<_ACEOF
15318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15319 _ACEOF
15320
15321 fi
15322
15323 done
15324
15325
15326
15327
15328
15329
15330 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15331 do
15332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15334   echo "$as_me:$LINENO: checking for $ac_header" >&5
15335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15337   echo $ECHO_N "(cached) $ECHO_C" >&6
15338 fi
15339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15341 else
15342   # Is the header compilable?
15343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15345 cat >conftest.$ac_ext <<_ACEOF
15346 /* confdefs.h.  */
15347 _ACEOF
15348 cat confdefs.h >>conftest.$ac_ext
15349 cat >>conftest.$ac_ext <<_ACEOF
15350 /* end confdefs.h.  */
15351 $ac_includes_default
15352 #include <$ac_header>
15353 _ACEOF
15354 rm -f conftest.$ac_objext
15355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356   (eval $ac_compile) 2>conftest.er1
15357   ac_status=$?
15358   grep -v '^ *+' conftest.er1 >conftest.err
15359   rm -f conftest.er1
15360   cat conftest.err >&5
15361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362   (exit $ac_status); } &&
15363          { ac_try='test -z "$ac_c_werror_flag"
15364                          || test ! -s conftest.err'
15365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366   (eval $ac_try) 2>&5
15367   ac_status=$?
15368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369   (exit $ac_status); }; } &&
15370          { ac_try='test -s conftest.$ac_objext'
15371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372   (eval $ac_try) 2>&5
15373   ac_status=$?
15374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375   (exit $ac_status); }; }; then
15376   ac_header_compiler=yes
15377 else
15378   echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15380
15381 ac_header_compiler=no
15382 fi
15383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385 echo "${ECHO_T}$ac_header_compiler" >&6
15386
15387 # Is the header present?
15388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390 cat >conftest.$ac_ext <<_ACEOF
15391 /* confdefs.h.  */
15392 _ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h.  */
15396 #include <$ac_header>
15397 _ACEOF
15398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15399   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15400   ac_status=$?
15401   grep -v '^ *+' conftest.er1 >conftest.err
15402   rm -f conftest.er1
15403   cat conftest.err >&5
15404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405   (exit $ac_status); } >/dev/null; then
15406   if test -s conftest.err; then
15407     ac_cpp_err=$ac_c_preproc_warn_flag
15408     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15409   else
15410     ac_cpp_err=
15411   fi
15412 else
15413   ac_cpp_err=yes
15414 fi
15415 if test -z "$ac_cpp_err"; then
15416   ac_header_preproc=yes
15417 else
15418   echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15420
15421   ac_header_preproc=no
15422 fi
15423 rm -f conftest.err conftest.$ac_ext
15424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15425 echo "${ECHO_T}$ac_header_preproc" >&6
15426
15427 # So?  What about this header?
15428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15429   yes:no: )
15430     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15432     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15434     ac_header_preproc=yes
15435     ;;
15436   no:yes:* )
15437     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15439     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15440 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15441     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15443     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15444 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15445     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15447     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15449     (
15450       cat <<\_ASBOX
15451 ## ------------------------------------------------------ ##
15452 ## Report this to the GNU Fortran Runtime Library lists.  ##
15453 ## ------------------------------------------------------ ##
15454 _ASBOX
15455     ) |
15456       sed "s/^/$as_me: WARNING:     /" >&2
15457     ;;
15458 esac
15459 echo "$as_me:$LINENO: checking for $ac_header" >&5
15460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15462   echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464   eval "$as_ac_Header=\$ac_header_preproc"
15465 fi
15466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15468
15469 fi
15470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15471   cat >>confdefs.h <<_ACEOF
15472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15473 _ACEOF
15474
15475 fi
15476
15477 done
15478
15479 if test "${ac_cv_header_complex_h+set}" = set; then
15480   echo "$as_me:$LINENO: checking for complex.h" >&5
15481 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15482 if test "${ac_cv_header_complex_h+set}" = set; then
15483   echo $ECHO_N "(cached) $ECHO_C" >&6
15484 fi
15485 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15486 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15487 else
15488   # Is the header compilable?
15489 echo "$as_me:$LINENO: checking complex.h usability" >&5
15490 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h.  */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h.  */
15497 $ac_includes_default
15498 #include <complex.h>
15499 _ACEOF
15500 rm -f conftest.$ac_objext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502   (eval $ac_compile) 2>conftest.er1
15503   ac_status=$?
15504   grep -v '^ *+' conftest.er1 >conftest.err
15505   rm -f conftest.er1
15506   cat conftest.err >&5
15507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508   (exit $ac_status); } &&
15509          { ac_try='test -z "$ac_c_werror_flag"
15510                          || test ! -s conftest.err'
15511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512   (eval $ac_try) 2>&5
15513   ac_status=$?
15514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515   (exit $ac_status); }; } &&
15516          { ac_try='test -s conftest.$ac_objext'
15517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518   (eval $ac_try) 2>&5
15519   ac_status=$?
15520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521   (exit $ac_status); }; }; then
15522   ac_header_compiler=yes
15523 else
15524   echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15526
15527 ac_header_compiler=no
15528 fi
15529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15531 echo "${ECHO_T}$ac_header_compiler" >&6
15532
15533 # Is the header present?
15534 echo "$as_me:$LINENO: checking complex.h presence" >&5
15535 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h.  */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h.  */
15542 #include <complex.h>
15543 _ACEOF
15544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15545   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15546   ac_status=$?
15547   grep -v '^ *+' conftest.er1 >conftest.err
15548   rm -f conftest.er1
15549   cat conftest.err >&5
15550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551   (exit $ac_status); } >/dev/null; then
15552   if test -s conftest.err; then
15553     ac_cpp_err=$ac_c_preproc_warn_flag
15554     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15555   else
15556     ac_cpp_err=
15557   fi
15558 else
15559   ac_cpp_err=yes
15560 fi
15561 if test -z "$ac_cpp_err"; then
15562   ac_header_preproc=yes
15563 else
15564   echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15566
15567   ac_header_preproc=no
15568 fi
15569 rm -f conftest.err conftest.$ac_ext
15570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15571 echo "${ECHO_T}$ac_header_preproc" >&6
15572
15573 # So?  What about this header?
15574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15575   yes:no: )
15576     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15577 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15578     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15579 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15580     ac_header_preproc=yes
15581     ;;
15582   no:yes:* )
15583     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15584 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15585     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
15586 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
15587     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15588 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15589     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
15590 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
15591     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15592 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15593     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15594 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15595     (
15596       cat <<\_ASBOX
15597 ## ------------------------------------------------------ ##
15598 ## Report this to the GNU Fortran Runtime Library lists.  ##
15599 ## ------------------------------------------------------ ##
15600 _ASBOX
15601     ) |
15602       sed "s/^/$as_me: WARNING:     /" >&2
15603     ;;
15604 esac
15605 echo "$as_me:$LINENO: checking for complex.h" >&5
15606 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15607 if test "${ac_cv_header_complex_h+set}" = set; then
15608   echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15610   ac_cv_header_complex_h=$ac_header_preproc
15611 fi
15612 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15613 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15614
15615 fi
15616 if test $ac_cv_header_complex_h = yes; then
15617
15618 cat >>confdefs.h <<\_ACEOF
15619 #define HAVE_COMPLEX_H 1
15620 _ACEOF
15621
15622 fi
15623
15624
15625
15626
15627 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15628
15629 acx_cv_header_stdint=stddef.h
15630 acx_cv_header_stdint_kind="(already complete)"
15631 for i in stdint.h $inttype_headers; do
15632   unset ac_cv_type_uintptr_t
15633   unset ac_cv_type_uintmax_t
15634   unset ac_cv_type_int_least32_t
15635   unset ac_cv_type_int_fast32_t
15636   unset ac_cv_type_uint64_t
15637   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15638   echo "$as_me:$LINENO: checking for uintmax_t" >&5
15639 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15640 if test "${ac_cv_type_uintmax_t+set}" = set; then
15641   echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643   cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h.  */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h.  */
15649 #include <sys/types.h>
15650 #include <$i>
15651
15652 int
15653 main ()
15654 {
15655 if ((uintmax_t *) 0)
15656   return 0;
15657 if (sizeof (uintmax_t))
15658   return 0;
15659   ;
15660   return 0;
15661 }
15662 _ACEOF
15663 rm -f conftest.$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665   (eval $ac_compile) 2>conftest.er1
15666   ac_status=$?
15667   grep -v '^ *+' conftest.er1 >conftest.err
15668   rm -f conftest.er1
15669   cat conftest.err >&5
15670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671   (exit $ac_status); } &&
15672          { ac_try='test -z "$ac_c_werror_flag"
15673                          || test ! -s conftest.err'
15674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675   (eval $ac_try) 2>&5
15676   ac_status=$?
15677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678   (exit $ac_status); }; } &&
15679          { ac_try='test -s conftest.$ac_objext'
15680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681   (eval $ac_try) 2>&5
15682   ac_status=$?
15683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684   (exit $ac_status); }; }; then
15685   ac_cv_type_uintmax_t=yes
15686 else
15687   echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690 ac_cv_type_uintmax_t=no
15691 fi
15692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15693 fi
15694 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15695 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15696 if test $ac_cv_type_uintmax_t = yes; then
15697   acx_cv_header_stdint=$i
15698 else
15699   continue
15700 fi
15701
15702   echo "$as_me:$LINENO: checking for uintptr_t" >&5
15703 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15704 if test "${ac_cv_type_uintptr_t+set}" = set; then
15705   echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707   cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h.  */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h.  */
15713 #include <sys/types.h>
15714 #include <$i>
15715
15716 int
15717 main ()
15718 {
15719 if ((uintptr_t *) 0)
15720   return 0;
15721 if (sizeof (uintptr_t))
15722   return 0;
15723   ;
15724   return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729   (eval $ac_compile) 2>conftest.er1
15730   ac_status=$?
15731   grep -v '^ *+' conftest.er1 >conftest.err
15732   rm -f conftest.er1
15733   cat conftest.err >&5
15734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735   (exit $ac_status); } &&
15736          { ac_try='test -z "$ac_c_werror_flag"
15737                          || test ! -s conftest.err'
15738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739   (eval $ac_try) 2>&5
15740   ac_status=$?
15741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742   (exit $ac_status); }; } &&
15743          { ac_try='test -s conftest.$ac_objext'
15744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745   (eval $ac_try) 2>&5
15746   ac_status=$?
15747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748   (exit $ac_status); }; }; then
15749   ac_cv_type_uintptr_t=yes
15750 else
15751   echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 ac_cv_type_uintptr_t=no
15755 fi
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 fi
15758 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15759 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15760 if test $ac_cv_type_uintptr_t = yes; then
15761   :
15762 else
15763   acx_cv_header_stdint_kind="(mostly complete)"
15764 fi
15765
15766   echo "$as_me:$LINENO: checking for int_least32_t" >&5
15767 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15768 if test "${ac_cv_type_int_least32_t+set}" = set; then
15769   echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771   cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h.  */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h.  */
15777 #include <sys/types.h>
15778 #include <$i>
15779
15780 int
15781 main ()
15782 {
15783 if ((int_least32_t *) 0)
15784   return 0;
15785 if (sizeof (int_least32_t))
15786   return 0;
15787   ;
15788   return 0;
15789 }
15790 _ACEOF
15791 rm -f conftest.$ac_objext
15792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15793   (eval $ac_compile) 2>conftest.er1
15794   ac_status=$?
15795   grep -v '^ *+' conftest.er1 >conftest.err
15796   rm -f conftest.er1
15797   cat conftest.err >&5
15798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799   (exit $ac_status); } &&
15800          { ac_try='test -z "$ac_c_werror_flag"
15801                          || test ! -s conftest.err'
15802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803   (eval $ac_try) 2>&5
15804   ac_status=$?
15805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806   (exit $ac_status); }; } &&
15807          { ac_try='test -s conftest.$ac_objext'
15808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809   (eval $ac_try) 2>&5
15810   ac_status=$?
15811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812   (exit $ac_status); }; }; then
15813   ac_cv_type_int_least32_t=yes
15814 else
15815   echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15817
15818 ac_cv_type_int_least32_t=no
15819 fi
15820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15821 fi
15822 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15823 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15824 if test $ac_cv_type_int_least32_t = yes; then
15825   :
15826 else
15827   acx_cv_header_stdint_kind="(mostly complete)"
15828 fi
15829
15830   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15831 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15832 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15833   echo $ECHO_N "(cached) $ECHO_C" >&6
15834 else
15835   cat >conftest.$ac_ext <<_ACEOF
15836 /* confdefs.h.  */
15837 _ACEOF
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h.  */
15841 #include <sys/types.h>
15842 #include <$i>
15843
15844 int
15845 main ()
15846 {
15847 if ((int_fast32_t *) 0)
15848   return 0;
15849 if (sizeof (int_fast32_t))
15850   return 0;
15851   ;
15852   return 0;
15853 }
15854 _ACEOF
15855 rm -f conftest.$ac_objext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15857   (eval $ac_compile) 2>conftest.er1
15858   ac_status=$?
15859   grep -v '^ *+' conftest.er1 >conftest.err
15860   rm -f conftest.er1
15861   cat conftest.err >&5
15862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863   (exit $ac_status); } &&
15864          { ac_try='test -z "$ac_c_werror_flag"
15865                          || test ! -s conftest.err'
15866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867   (eval $ac_try) 2>&5
15868   ac_status=$?
15869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870   (exit $ac_status); }; } &&
15871          { ac_try='test -s conftest.$ac_objext'
15872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873   (eval $ac_try) 2>&5
15874   ac_status=$?
15875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876   (exit $ac_status); }; }; then
15877   ac_cv_type_int_fast32_t=yes
15878 else
15879   echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15881
15882 ac_cv_type_int_fast32_t=no
15883 fi
15884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15885 fi
15886 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15887 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15888 if test $ac_cv_type_int_fast32_t = yes; then
15889   :
15890 else
15891   acx_cv_header_stdint_kind="(mostly complete)"
15892 fi
15893
15894   echo "$as_me:$LINENO: checking for uint64_t" >&5
15895 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15896 if test "${ac_cv_type_uint64_t+set}" = set; then
15897   echo $ECHO_N "(cached) $ECHO_C" >&6
15898 else
15899   cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h.  */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h.  */
15905 #include <sys/types.h>
15906 #include <$i>
15907
15908 int
15909 main ()
15910 {
15911 if ((uint64_t *) 0)
15912   return 0;
15913 if (sizeof (uint64_t))
15914   return 0;
15915   ;
15916   return 0;
15917 }
15918 _ACEOF
15919 rm -f conftest.$ac_objext
15920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15921   (eval $ac_compile) 2>conftest.er1
15922   ac_status=$?
15923   grep -v '^ *+' conftest.er1 >conftest.err
15924   rm -f conftest.er1
15925   cat conftest.err >&5
15926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927   (exit $ac_status); } &&
15928          { ac_try='test -z "$ac_c_werror_flag"
15929                          || test ! -s conftest.err'
15930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931   (eval $ac_try) 2>&5
15932   ac_status=$?
15933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934   (exit $ac_status); }; } &&
15935          { ac_try='test -s conftest.$ac_objext'
15936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937   (eval $ac_try) 2>&5
15938   ac_status=$?
15939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940   (exit $ac_status); }; }; then
15941   ac_cv_type_uint64_t=yes
15942 else
15943   echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946 ac_cv_type_uint64_t=no
15947 fi
15948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15949 fi
15950 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15951 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15952 if test $ac_cv_type_uint64_t = yes; then
15953   :
15954 else
15955   acx_cv_header_stdint_kind="(lacks uint64_t)"
15956 fi
15957
15958   break
15959 done
15960 if test "$acx_cv_header_stdint" = stddef.h; then
15961   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15962   for i in stdint.h $inttype_headers; do
15963     unset ac_cv_type_uintptr_t
15964     unset ac_cv_type_uint32_t
15965     unset ac_cv_type_uint64_t
15966     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15967     echo "$as_me:$LINENO: checking for uint32_t" >&5
15968 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15969 if test "${ac_cv_type_uint32_t+set}" = set; then
15970   echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972   cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h.  */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h.  */
15978 #include <sys/types.h>
15979 #include <$i>
15980
15981 int
15982 main ()
15983 {
15984 if ((uint32_t *) 0)
15985   return 0;
15986 if (sizeof (uint32_t))
15987   return 0;
15988   ;
15989   return 0;
15990 }
15991 _ACEOF
15992 rm -f conftest.$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994   (eval $ac_compile) 2>conftest.er1
15995   ac_status=$?
15996   grep -v '^ *+' conftest.er1 >conftest.err
15997   rm -f conftest.er1
15998   cat conftest.err >&5
15999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000   (exit $ac_status); } &&
16001          { ac_try='test -z "$ac_c_werror_flag"
16002                          || test ! -s conftest.err'
16003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004   (eval $ac_try) 2>&5
16005   ac_status=$?
16006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007   (exit $ac_status); }; } &&
16008          { ac_try='test -s conftest.$ac_objext'
16009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010   (eval $ac_try) 2>&5
16011   ac_status=$?
16012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013   (exit $ac_status); }; }; then
16014   ac_cv_type_uint32_t=yes
16015 else
16016   echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 ac_cv_type_uint32_t=no
16020 fi
16021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16022 fi
16023 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16024 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16025 if test $ac_cv_type_uint32_t = yes; then
16026   acx_cv_header_stdint=$i
16027 else
16028   continue
16029 fi
16030
16031     echo "$as_me:$LINENO: checking for uint64_t" >&5
16032 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16033 if test "${ac_cv_type_uint64_t+set}" = set; then
16034   echo $ECHO_N "(cached) $ECHO_C" >&6
16035 else
16036   cat >conftest.$ac_ext <<_ACEOF
16037 /* confdefs.h.  */
16038 _ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h.  */
16042 #include <sys/types.h>
16043 #include <$i>
16044
16045 int
16046 main ()
16047 {
16048 if ((uint64_t *) 0)
16049   return 0;
16050 if (sizeof (uint64_t))
16051   return 0;
16052   ;
16053   return 0;
16054 }
16055 _ACEOF
16056 rm -f conftest.$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058   (eval $ac_compile) 2>conftest.er1
16059   ac_status=$?
16060   grep -v '^ *+' conftest.er1 >conftest.err
16061   rm -f conftest.er1
16062   cat conftest.err >&5
16063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064   (exit $ac_status); } &&
16065          { ac_try='test -z "$ac_c_werror_flag"
16066                          || test ! -s conftest.err'
16067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068   (eval $ac_try) 2>&5
16069   ac_status=$?
16070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071   (exit $ac_status); }; } &&
16072          { ac_try='test -s conftest.$ac_objext'
16073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074   (eval $ac_try) 2>&5
16075   ac_status=$?
16076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077   (exit $ac_status); }; }; then
16078   ac_cv_type_uint64_t=yes
16079 else
16080   echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16082
16083 ac_cv_type_uint64_t=no
16084 fi
16085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16086 fi
16087 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16088 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16089
16090     echo "$as_me:$LINENO: checking for uintptr_t" >&5
16091 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16092 if test "${ac_cv_type_uintptr_t+set}" = set; then
16093   echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095   cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h.  */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h.  */
16101 #include <sys/types.h>
16102 #include <$i>
16103
16104 int
16105 main ()
16106 {
16107 if ((uintptr_t *) 0)
16108   return 0;
16109 if (sizeof (uintptr_t))
16110   return 0;
16111   ;
16112   return 0;
16113 }
16114 _ACEOF
16115 rm -f conftest.$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117   (eval $ac_compile) 2>conftest.er1
16118   ac_status=$?
16119   grep -v '^ *+' conftest.er1 >conftest.err
16120   rm -f conftest.er1
16121   cat conftest.err >&5
16122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123   (exit $ac_status); } &&
16124          { ac_try='test -z "$ac_c_werror_flag"
16125                          || test ! -s conftest.err'
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); }; } &&
16131          { ac_try='test -s conftest.$ac_objext'
16132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133   (eval $ac_try) 2>&5
16134   ac_status=$?
16135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136   (exit $ac_status); }; }; then
16137   ac_cv_type_uintptr_t=yes
16138 else
16139   echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16141
16142 ac_cv_type_uintptr_t=no
16143 fi
16144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16145 fi
16146 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16147 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16148
16149     break
16150   done
16151 fi
16152 if test "$acx_cv_header_stdint" = stddef.h; then
16153   acx_cv_header_stdint_kind="(u_intXX_t style)"
16154   for i in sys/types.h $inttype_headers; do
16155     unset ac_cv_type_u_int32_t
16156     unset ac_cv_type_u_int64_t
16157     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16158     echo "$as_me:$LINENO: checking for u_int32_t" >&5
16159 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16160 if test "${ac_cv_type_u_int32_t+set}" = set; then
16161   echo $ECHO_N "(cached) $ECHO_C" >&6
16162 else
16163   cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h.  */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h.  */
16169 #include <sys/types.h>
16170 #include <$i>
16171
16172 int
16173 main ()
16174 {
16175 if ((u_int32_t *) 0)
16176   return 0;
16177 if (sizeof (u_int32_t))
16178   return 0;
16179   ;
16180   return 0;
16181 }
16182 _ACEOF
16183 rm -f conftest.$ac_objext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185   (eval $ac_compile) 2>conftest.er1
16186   ac_status=$?
16187   grep -v '^ *+' conftest.er1 >conftest.err
16188   rm -f conftest.er1
16189   cat conftest.err >&5
16190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191   (exit $ac_status); } &&
16192          { ac_try='test -z "$ac_c_werror_flag"
16193                          || test ! -s conftest.err'
16194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195   (eval $ac_try) 2>&5
16196   ac_status=$?
16197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198   (exit $ac_status); }; } &&
16199          { ac_try='test -s conftest.$ac_objext'
16200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201   (eval $ac_try) 2>&5
16202   ac_status=$?
16203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204   (exit $ac_status); }; }; then
16205   ac_cv_type_u_int32_t=yes
16206 else
16207   echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 ac_cv_type_u_int32_t=no
16211 fi
16212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16213 fi
16214 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16215 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16216 if test $ac_cv_type_u_int32_t = yes; then
16217   acx_cv_header_stdint=$i
16218 else
16219   continue
16220 fi
16221
16222     echo "$as_me:$LINENO: checking for u_int64_t" >&5
16223 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16224 if test "${ac_cv_type_u_int64_t+set}" = set; then
16225   echo $ECHO_N "(cached) $ECHO_C" >&6
16226 else
16227   cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h.  */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h.  */
16233 #include <sys/types.h>
16234 #include <$i>
16235
16236 int
16237 main ()
16238 {
16239 if ((u_int64_t *) 0)
16240   return 0;
16241 if (sizeof (u_int64_t))
16242   return 0;
16243   ;
16244   return 0;
16245 }
16246 _ACEOF
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249   (eval $ac_compile) 2>conftest.er1
16250   ac_status=$?
16251   grep -v '^ *+' conftest.er1 >conftest.err
16252   rm -f conftest.er1
16253   cat conftest.err >&5
16254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255   (exit $ac_status); } &&
16256          { ac_try='test -z "$ac_c_werror_flag"
16257                          || test ! -s conftest.err'
16258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259   (eval $ac_try) 2>&5
16260   ac_status=$?
16261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262   (exit $ac_status); }; } &&
16263          { ac_try='test -s conftest.$ac_objext'
16264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265   (eval $ac_try) 2>&5
16266   ac_status=$?
16267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268   (exit $ac_status); }; }; then
16269   ac_cv_type_u_int64_t=yes
16270 else
16271   echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.$ac_ext >&5
16273
16274 ac_cv_type_u_int64_t=no
16275 fi
16276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16277 fi
16278 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16279 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16280
16281     break
16282   done
16283 fi
16284 if test "$acx_cv_header_stdint" = stddef.h; then
16285   acx_cv_header_stdint_kind="(using manual detection)"
16286 fi
16287
16288 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16289 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16290 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16291 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16292 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16293
16294 # ----------------- Summarize what we found so far
16295
16296 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16297 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16298
16299 case `$as_basename gstdint.h ||
16300 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16301          Xgstdint.h : 'X\(//\)$' \| \
16302          Xgstdint.h : 'X\(/\)$' \| \
16303          .     : '\(.\)' 2>/dev/null ||
16304 echo X/gstdint.h |
16305     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16306           /^X\/\(\/\/\)$/{ s//\1/; q; }
16307           /^X\/\(\/\).*/{ s//\1/; q; }
16308           s/.*/./; q'` in
16309   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16310 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16311   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16312 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16313   *) ;;
16314 esac
16315
16316 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16317 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16318
16319 # ----------------- done included file, check C basic types --------
16320
16321 # Lacking an uintptr_t?  Test size of void *
16322 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16323   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16324 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16325 if test "${ac_cv_type_void_p+set}" = set; then
16326   echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328   cat >conftest.$ac_ext <<_ACEOF
16329 /* confdefs.h.  */
16330 _ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h.  */
16334 $ac_includes_default
16335 int
16336 main ()
16337 {
16338 if ((void * *) 0)
16339   return 0;
16340 if (sizeof (void *))
16341   return 0;
16342   ;
16343   return 0;
16344 }
16345 _ACEOF
16346 rm -f conftest.$ac_objext
16347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348   (eval $ac_compile) 2>conftest.er1
16349   ac_status=$?
16350   grep -v '^ *+' conftest.er1 >conftest.err
16351   rm -f conftest.er1
16352   cat conftest.err >&5
16353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354   (exit $ac_status); } &&
16355          { ac_try='test -z "$ac_c_werror_flag"
16356                          || test ! -s conftest.err'
16357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358   (eval $ac_try) 2>&5
16359   ac_status=$?
16360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361   (exit $ac_status); }; } &&
16362          { ac_try='test -s conftest.$ac_objext'
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_type_void_p=yes
16369 else
16370   echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16372
16373 ac_cv_type_void_p=no
16374 fi
16375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16376 fi
16377 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16378 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16379
16380 echo "$as_me:$LINENO: checking size of void *" >&5
16381 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16382 if test "${ac_cv_sizeof_void_p+set}" = set; then
16383   echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385   if test "$ac_cv_type_void_p" = yes; then
16386   # The cast to unsigned long works around a bug in the HP C Compiler
16387   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16388   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16389   # This bug is HP SR number 8606223364.
16390   if test "$cross_compiling" = yes; then
16391   # Depending upon the size, compute the lo and hi bounds.
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h.  */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h.  */
16398 $ac_includes_default
16399 int
16400 main ()
16401 {
16402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16403 test_array [0] = 0
16404
16405   ;
16406   return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411   (eval $ac_compile) 2>conftest.er1
16412   ac_status=$?
16413   grep -v '^ *+' conftest.er1 >conftest.err
16414   rm -f conftest.er1
16415   cat conftest.err >&5
16416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417   (exit $ac_status); } &&
16418          { ac_try='test -z "$ac_c_werror_flag"
16419                          || test ! -s conftest.err'
16420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421   (eval $ac_try) 2>&5
16422   ac_status=$?
16423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424   (exit $ac_status); }; } &&
16425          { ac_try='test -s conftest.$ac_objext'
16426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427   (eval $ac_try) 2>&5
16428   ac_status=$?
16429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430   (exit $ac_status); }; }; then
16431   ac_lo=0 ac_mid=0
16432   while :; do
16433     cat >conftest.$ac_ext <<_ACEOF
16434 /* confdefs.h.  */
16435 _ACEOF
16436 cat confdefs.h >>conftest.$ac_ext
16437 cat >>conftest.$ac_ext <<_ACEOF
16438 /* end confdefs.h.  */
16439 $ac_includes_default
16440 int
16441 main ()
16442 {
16443 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16444 test_array [0] = 0
16445
16446   ;
16447   return 0;
16448 }
16449 _ACEOF
16450 rm -f conftest.$ac_objext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16452   (eval $ac_compile) 2>conftest.er1
16453   ac_status=$?
16454   grep -v '^ *+' conftest.er1 >conftest.err
16455   rm -f conftest.er1
16456   cat conftest.err >&5
16457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458   (exit $ac_status); } &&
16459          { ac_try='test -z "$ac_c_werror_flag"
16460                          || test ! -s conftest.err'
16461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462   (eval $ac_try) 2>&5
16463   ac_status=$?
16464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465   (exit $ac_status); }; } &&
16466          { ac_try='test -s conftest.$ac_objext'
16467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468   (eval $ac_try) 2>&5
16469   ac_status=$?
16470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471   (exit $ac_status); }; }; then
16472   ac_hi=$ac_mid; break
16473 else
16474   echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16476
16477 ac_lo=`expr $ac_mid + 1`
16478                     if test $ac_lo -le $ac_mid; then
16479                       ac_lo= ac_hi=
16480                       break
16481                     fi
16482                     ac_mid=`expr 2 '*' $ac_mid + 1`
16483 fi
16484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16485   done
16486 else
16487   echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16489
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h.  */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h.  */
16496 $ac_includes_default
16497 int
16498 main ()
16499 {
16500 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16501 test_array [0] = 0
16502
16503   ;
16504   return 0;
16505 }
16506 _ACEOF
16507 rm -f conftest.$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509   (eval $ac_compile) 2>conftest.er1
16510   ac_status=$?
16511   grep -v '^ *+' conftest.er1 >conftest.err
16512   rm -f conftest.er1
16513   cat conftest.err >&5
16514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515   (exit $ac_status); } &&
16516          { ac_try='test -z "$ac_c_werror_flag"
16517                          || test ! -s conftest.err'
16518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519   (eval $ac_try) 2>&5
16520   ac_status=$?
16521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522   (exit $ac_status); }; } &&
16523          { ac_try='test -s conftest.$ac_objext'
16524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525   (eval $ac_try) 2>&5
16526   ac_status=$?
16527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528   (exit $ac_status); }; }; then
16529   ac_hi=-1 ac_mid=-1
16530   while :; do
16531     cat >conftest.$ac_ext <<_ACEOF
16532 /* confdefs.h.  */
16533 _ACEOF
16534 cat confdefs.h >>conftest.$ac_ext
16535 cat >>conftest.$ac_ext <<_ACEOF
16536 /* end confdefs.h.  */
16537 $ac_includes_default
16538 int
16539 main ()
16540 {
16541 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16542 test_array [0] = 0
16543
16544   ;
16545   return 0;
16546 }
16547 _ACEOF
16548 rm -f conftest.$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550   (eval $ac_compile) 2>conftest.er1
16551   ac_status=$?
16552   grep -v '^ *+' conftest.er1 >conftest.err
16553   rm -f conftest.er1
16554   cat conftest.err >&5
16555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556   (exit $ac_status); } &&
16557          { ac_try='test -z "$ac_c_werror_flag"
16558                          || test ! -s conftest.err'
16559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560   (eval $ac_try) 2>&5
16561   ac_status=$?
16562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563   (exit $ac_status); }; } &&
16564          { ac_try='test -s conftest.$ac_objext'
16565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566   (eval $ac_try) 2>&5
16567   ac_status=$?
16568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569   (exit $ac_status); }; }; then
16570   ac_lo=$ac_mid; break
16571 else
16572   echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16574
16575 ac_hi=`expr '(' $ac_mid ')' - 1`
16576                        if test $ac_mid -le $ac_hi; then
16577                          ac_lo= ac_hi=
16578                          break
16579                        fi
16580                        ac_mid=`expr 2 '*' $ac_mid`
16581 fi
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583   done
16584 else
16585   echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.$ac_ext >&5
16587
16588 ac_lo= ac_hi=
16589 fi
16590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16591 fi
16592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16593 # Binary search between lo and hi bounds.
16594 while test "x$ac_lo" != "x$ac_hi"; do
16595   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16596   cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h.  */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h.  */
16602 $ac_includes_default
16603 int
16604 main ()
16605 {
16606 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16607 test_array [0] = 0
16608
16609   ;
16610   return 0;
16611 }
16612 _ACEOF
16613 rm -f conftest.$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615   (eval $ac_compile) 2>conftest.er1
16616   ac_status=$?
16617   grep -v '^ *+' conftest.er1 >conftest.err
16618   rm -f conftest.er1
16619   cat conftest.err >&5
16620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621   (exit $ac_status); } &&
16622          { ac_try='test -z "$ac_c_werror_flag"
16623                          || test ! -s conftest.err'
16624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625   (eval $ac_try) 2>&5
16626   ac_status=$?
16627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628   (exit $ac_status); }; } &&
16629          { ac_try='test -s conftest.$ac_objext'
16630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631   (eval $ac_try) 2>&5
16632   ac_status=$?
16633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634   (exit $ac_status); }; }; then
16635   ac_hi=$ac_mid
16636 else
16637   echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.$ac_ext >&5
16639
16640 ac_lo=`expr '(' $ac_mid ')' + 1`
16641 fi
16642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 done
16644 case $ac_lo in
16645 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16646 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16647 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: cannot compute sizeof (void *), 77
16651 See \`config.log' for more details." >&2;}
16652    { (exit 1); exit 1; }; }; } ;;
16653 esac
16654 else
16655   if test "$cross_compiling" = yes; then
16656   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16657 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16658 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16659 See \`config.log' for more details." >&5
16660 echo "$as_me: error: cannot run test program while cross compiling
16661 See \`config.log' for more details." >&2;}
16662    { (exit 1); exit 1; }; }; }
16663 else
16664   cat >conftest.$ac_ext <<_ACEOF
16665 /* confdefs.h.  */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h.  */
16670 $ac_includes_default
16671 long longval () { return (long) (sizeof (void *)); }
16672 unsigned long ulongval () { return (long) (sizeof (void *)); }
16673 #include <stdio.h>
16674 #include <stdlib.h>
16675 int
16676 main ()
16677 {
16678
16679   FILE *f = fopen ("conftest.val", "w");
16680   if (! f)
16681     exit (1);
16682   if (((long) (sizeof (void *))) < 0)
16683     {
16684       long i = longval ();
16685       if (i != ((long) (sizeof (void *))))
16686         exit (1);
16687       fprintf (f, "%ld\n", i);
16688     }
16689   else
16690     {
16691       unsigned long i = ulongval ();
16692       if (i != ((long) (sizeof (void *))))
16693         exit (1);
16694       fprintf (f, "%lu\n", i);
16695     }
16696   exit (ferror (f) || fclose (f) != 0);
16697
16698   ;
16699   return 0;
16700 }
16701 _ACEOF
16702 rm -f conftest$ac_exeext
16703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16704   (eval $ac_link) 2>&5
16705   ac_status=$?
16706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709   (eval $ac_try) 2>&5
16710   ac_status=$?
16711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712   (exit $ac_status); }; }; then
16713   ac_cv_sizeof_void_p=`cat conftest.val`
16714 else
16715   echo "$as_me: program exited with status $ac_status" >&5
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16718
16719 ( exit $ac_status )
16720 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16721 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16723 See \`config.log' for more details." >&5
16724 echo "$as_me: error: cannot compute sizeof (void *), 77
16725 See \`config.log' for more details." >&2;}
16726    { (exit 1); exit 1; }; }; }
16727 fi
16728 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16729 fi
16730 fi
16731 rm -f conftest.val
16732 else
16733   ac_cv_sizeof_void_p=0
16734 fi
16735 fi
16736 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16737 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16738 cat >>confdefs.h <<_ACEOF
16739 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16740 _ACEOF
16741
16742  ;;
16743 esac
16744
16745 # Lacking an uint64_t?  Test size of long
16746 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16747   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16748 echo $ECHO_N "checking for long... $ECHO_C" >&6
16749 if test "${ac_cv_type_long+set}" = set; then
16750   echo $ECHO_N "(cached) $ECHO_C" >&6
16751 else
16752   cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h.  */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h.  */
16758 $ac_includes_default
16759 int
16760 main ()
16761 {
16762 if ((long *) 0)
16763   return 0;
16764 if (sizeof (long))
16765   return 0;
16766   ;
16767   return 0;
16768 }
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772   (eval $ac_compile) 2>conftest.er1
16773   ac_status=$?
16774   grep -v '^ *+' conftest.er1 >conftest.err
16775   rm -f conftest.er1
16776   cat conftest.err >&5
16777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778   (exit $ac_status); } &&
16779          { ac_try='test -z "$ac_c_werror_flag"
16780                          || test ! -s conftest.err'
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); }; } &&
16786          { ac_try='test -s conftest.$ac_objext'
16787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788   (eval $ac_try) 2>&5
16789   ac_status=$?
16790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791   (exit $ac_status); }; }; then
16792   ac_cv_type_long=yes
16793 else
16794   echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16796
16797 ac_cv_type_long=no
16798 fi
16799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16800 fi
16801 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16802 echo "${ECHO_T}$ac_cv_type_long" >&6
16803
16804 echo "$as_me:$LINENO: checking size of long" >&5
16805 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16806 if test "${ac_cv_sizeof_long+set}" = set; then
16807   echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809   if test "$ac_cv_type_long" = yes; then
16810   # The cast to unsigned long works around a bug in the HP C Compiler
16811   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16812   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16813   # This bug is HP SR number 8606223364.
16814   if test "$cross_compiling" = yes; then
16815   # Depending upon the size, compute the lo and hi bounds.
16816 cat >conftest.$ac_ext <<_ACEOF
16817 /* confdefs.h.  */
16818 _ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h.  */
16822 $ac_includes_default
16823 int
16824 main ()
16825 {
16826 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16827 test_array [0] = 0
16828
16829   ;
16830   return 0;
16831 }
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16835   (eval $ac_compile) 2>conftest.er1
16836   ac_status=$?
16837   grep -v '^ *+' conftest.er1 >conftest.err
16838   rm -f conftest.er1
16839   cat conftest.err >&5
16840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841   (exit $ac_status); } &&
16842          { ac_try='test -z "$ac_c_werror_flag"
16843                          || test ! -s conftest.err'
16844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845   (eval $ac_try) 2>&5
16846   ac_status=$?
16847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848   (exit $ac_status); }; } &&
16849          { ac_try='test -s conftest.$ac_objext'
16850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851   (eval $ac_try) 2>&5
16852   ac_status=$?
16853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854   (exit $ac_status); }; }; then
16855   ac_lo=0 ac_mid=0
16856   while :; do
16857     cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h.  */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h.  */
16863 $ac_includes_default
16864 int
16865 main ()
16866 {
16867 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16868 test_array [0] = 0
16869
16870   ;
16871   return 0;
16872 }
16873 _ACEOF
16874 rm -f conftest.$ac_objext
16875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16876   (eval $ac_compile) 2>conftest.er1
16877   ac_status=$?
16878   grep -v '^ *+' conftest.er1 >conftest.err
16879   rm -f conftest.er1
16880   cat conftest.err >&5
16881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882   (exit $ac_status); } &&
16883          { ac_try='test -z "$ac_c_werror_flag"
16884                          || test ! -s conftest.err'
16885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886   (eval $ac_try) 2>&5
16887   ac_status=$?
16888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889   (exit $ac_status); }; } &&
16890          { ac_try='test -s conftest.$ac_objext'
16891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892   (eval $ac_try) 2>&5
16893   ac_status=$?
16894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895   (exit $ac_status); }; }; then
16896   ac_hi=$ac_mid; break
16897 else
16898   echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16900
16901 ac_lo=`expr $ac_mid + 1`
16902                     if test $ac_lo -le $ac_mid; then
16903                       ac_lo= ac_hi=
16904                       break
16905                     fi
16906                     ac_mid=`expr 2 '*' $ac_mid + 1`
16907 fi
16908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16909   done
16910 else
16911   echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16913
16914 cat >conftest.$ac_ext <<_ACEOF
16915 /* confdefs.h.  */
16916 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h.  */
16920 $ac_includes_default
16921 int
16922 main ()
16923 {
16924 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16925 test_array [0] = 0
16926
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 rm -f conftest.$ac_objext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16933   (eval $ac_compile) 2>conftest.er1
16934   ac_status=$?
16935   grep -v '^ *+' conftest.er1 >conftest.err
16936   rm -f conftest.er1
16937   cat conftest.err >&5
16938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939   (exit $ac_status); } &&
16940          { ac_try='test -z "$ac_c_werror_flag"
16941                          || test ! -s conftest.err'
16942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943   (eval $ac_try) 2>&5
16944   ac_status=$?
16945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946   (exit $ac_status); }; } &&
16947          { ac_try='test -s conftest.$ac_objext'
16948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949   (eval $ac_try) 2>&5
16950   ac_status=$?
16951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952   (exit $ac_status); }; }; then
16953   ac_hi=-1 ac_mid=-1
16954   while :; do
16955     cat >conftest.$ac_ext <<_ACEOF
16956 /* confdefs.h.  */
16957 _ACEOF
16958 cat confdefs.h >>conftest.$ac_ext
16959 cat >>conftest.$ac_ext <<_ACEOF
16960 /* end confdefs.h.  */
16961 $ac_includes_default
16962 int
16963 main ()
16964 {
16965 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16966 test_array [0] = 0
16967
16968   ;
16969   return 0;
16970 }
16971 _ACEOF
16972 rm -f conftest.$ac_objext
16973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16974   (eval $ac_compile) 2>conftest.er1
16975   ac_status=$?
16976   grep -v '^ *+' conftest.er1 >conftest.err
16977   rm -f conftest.er1
16978   cat conftest.err >&5
16979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980   (exit $ac_status); } &&
16981          { ac_try='test -z "$ac_c_werror_flag"
16982                          || test ! -s conftest.err'
16983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984   (eval $ac_try) 2>&5
16985   ac_status=$?
16986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987   (exit $ac_status); }; } &&
16988          { ac_try='test -s conftest.$ac_objext'
16989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990   (eval $ac_try) 2>&5
16991   ac_status=$?
16992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993   (exit $ac_status); }; }; then
16994   ac_lo=$ac_mid; break
16995 else
16996   echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.$ac_ext >&5
16998
16999 ac_hi=`expr '(' $ac_mid ')' - 1`
17000                        if test $ac_mid -le $ac_hi; then
17001                          ac_lo= ac_hi=
17002                          break
17003                        fi
17004                        ac_mid=`expr 2 '*' $ac_mid`
17005 fi
17006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17007   done
17008 else
17009   echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17011
17012 ac_lo= ac_hi=
17013 fi
17014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17015 fi
17016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17017 # Binary search between lo and hi bounds.
17018 while test "x$ac_lo" != "x$ac_hi"; do
17019   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17020   cat >conftest.$ac_ext <<_ACEOF
17021 /* confdefs.h.  */
17022 _ACEOF
17023 cat confdefs.h >>conftest.$ac_ext
17024 cat >>conftest.$ac_ext <<_ACEOF
17025 /* end confdefs.h.  */
17026 $ac_includes_default
17027 int
17028 main ()
17029 {
17030 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17031 test_array [0] = 0
17032
17033   ;
17034   return 0;
17035 }
17036 _ACEOF
17037 rm -f conftest.$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039   (eval $ac_compile) 2>conftest.er1
17040   ac_status=$?
17041   grep -v '^ *+' conftest.er1 >conftest.err
17042   rm -f conftest.er1
17043   cat conftest.err >&5
17044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045   (exit $ac_status); } &&
17046          { ac_try='test -z "$ac_c_werror_flag"
17047                          || test ! -s conftest.err'
17048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049   (eval $ac_try) 2>&5
17050   ac_status=$?
17051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052   (exit $ac_status); }; } &&
17053          { ac_try='test -s conftest.$ac_objext'
17054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055   (eval $ac_try) 2>&5
17056   ac_status=$?
17057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058   (exit $ac_status); }; }; then
17059   ac_hi=$ac_mid
17060 else
17061   echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.$ac_ext >&5
17063
17064 ac_lo=`expr '(' $ac_mid ')' + 1`
17065 fi
17066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17067 done
17068 case $ac_lo in
17069 ?*) ac_cv_sizeof_long=$ac_lo;;
17070 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17071 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17073 See \`config.log' for more details." >&5
17074 echo "$as_me: error: cannot compute sizeof (long), 77
17075 See \`config.log' for more details." >&2;}
17076    { (exit 1); exit 1; }; }; } ;;
17077 esac
17078 else
17079   if test "$cross_compiling" = yes; then
17080   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17082 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17083 See \`config.log' for more details." >&5
17084 echo "$as_me: error: cannot run test program while cross compiling
17085 See \`config.log' for more details." >&2;}
17086    { (exit 1); exit 1; }; }; }
17087 else
17088   cat >conftest.$ac_ext <<_ACEOF
17089 /* confdefs.h.  */
17090 _ACEOF
17091 cat confdefs.h >>conftest.$ac_ext
17092 cat >>conftest.$ac_ext <<_ACEOF
17093 /* end confdefs.h.  */
17094 $ac_includes_default
17095 long longval () { return (long) (sizeof (long)); }
17096 unsigned long ulongval () { return (long) (sizeof (long)); }
17097 #include <stdio.h>
17098 #include <stdlib.h>
17099 int
17100 main ()
17101 {
17102
17103   FILE *f = fopen ("conftest.val", "w");
17104   if (! f)
17105     exit (1);
17106   if (((long) (sizeof (long))) < 0)
17107     {
17108       long i = longval ();
17109       if (i != ((long) (sizeof (long))))
17110         exit (1);
17111       fprintf (f, "%ld\n", i);
17112     }
17113   else
17114     {
17115       unsigned long i = ulongval ();
17116       if (i != ((long) (sizeof (long))))
17117         exit (1);
17118       fprintf (f, "%lu\n", i);
17119     }
17120   exit (ferror (f) || fclose (f) != 0);
17121
17122   ;
17123   return 0;
17124 }
17125 _ACEOF
17126 rm -f conftest$ac_exeext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17128   (eval $ac_link) 2>&5
17129   ac_status=$?
17130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133   (eval $ac_try) 2>&5
17134   ac_status=$?
17135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136   (exit $ac_status); }; }; then
17137   ac_cv_sizeof_long=`cat conftest.val`
17138 else
17139   echo "$as_me: program exited with status $ac_status" >&5
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17142
17143 ( exit $ac_status )
17144 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17145 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17147 See \`config.log' for more details." >&5
17148 echo "$as_me: error: cannot compute sizeof (long), 77
17149 See \`config.log' for more details." >&2;}
17150    { (exit 1); exit 1; }; }; }
17151 fi
17152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17153 fi
17154 fi
17155 rm -f conftest.val
17156 else
17157   ac_cv_sizeof_long=0
17158 fi
17159 fi
17160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17161 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17162 cat >>confdefs.h <<_ACEOF
17163 #define SIZEOF_LONG $ac_cv_sizeof_long
17164 _ACEOF
17165
17166  ;;
17167 esac
17168
17169 if test $acx_cv_header_stdint = stddef.h; then
17170   # Lacking a good header?  Test size of everything and deduce all types.
17171   echo "$as_me:$LINENO: checking for int" >&5
17172 echo $ECHO_N "checking for int... $ECHO_C" >&6
17173 if test "${ac_cv_type_int+set}" = set; then
17174   echo $ECHO_N "(cached) $ECHO_C" >&6
17175 else
17176   cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h.  */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h.  */
17182 $ac_includes_default
17183 int
17184 main ()
17185 {
17186 if ((int *) 0)
17187   return 0;
17188 if (sizeof (int))
17189   return 0;
17190   ;
17191   return 0;
17192 }
17193 _ACEOF
17194 rm -f conftest.$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196   (eval $ac_compile) 2>conftest.er1
17197   ac_status=$?
17198   grep -v '^ *+' conftest.er1 >conftest.err
17199   rm -f conftest.er1
17200   cat conftest.err >&5
17201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202   (exit $ac_status); } &&
17203          { ac_try='test -z "$ac_c_werror_flag"
17204                          || test ! -s conftest.err'
17205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206   (eval $ac_try) 2>&5
17207   ac_status=$?
17208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209   (exit $ac_status); }; } &&
17210          { ac_try='test -s conftest.$ac_objext'
17211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212   (eval $ac_try) 2>&5
17213   ac_status=$?
17214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215   (exit $ac_status); }; }; then
17216   ac_cv_type_int=yes
17217 else
17218   echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17220
17221 ac_cv_type_int=no
17222 fi
17223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17224 fi
17225 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17226 echo "${ECHO_T}$ac_cv_type_int" >&6
17227
17228 echo "$as_me:$LINENO: checking size of int" >&5
17229 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17230 if test "${ac_cv_sizeof_int+set}" = set; then
17231   echo $ECHO_N "(cached) $ECHO_C" >&6
17232 else
17233   if test "$ac_cv_type_int" = yes; then
17234   # The cast to unsigned long works around a bug in the HP C Compiler
17235   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17236   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17237   # This bug is HP SR number 8606223364.
17238   if test "$cross_compiling" = yes; then
17239   # Depending upon the size, compute the lo and hi bounds.
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h.  */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h.  */
17246 $ac_includes_default
17247 int
17248 main ()
17249 {
17250 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17251 test_array [0] = 0
17252
17253   ;
17254   return 0;
17255 }
17256 _ACEOF
17257 rm -f conftest.$ac_objext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17259   (eval $ac_compile) 2>conftest.er1
17260   ac_status=$?
17261   grep -v '^ *+' conftest.er1 >conftest.err
17262   rm -f conftest.er1
17263   cat conftest.err >&5
17264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265   (exit $ac_status); } &&
17266          { ac_try='test -z "$ac_c_werror_flag"
17267                          || test ! -s conftest.err'
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); }; } &&
17273          { ac_try='test -s conftest.$ac_objext'
17274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275   (eval $ac_try) 2>&5
17276   ac_status=$?
17277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278   (exit $ac_status); }; }; then
17279   ac_lo=0 ac_mid=0
17280   while :; do
17281     cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h.  */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h.  */
17287 $ac_includes_default
17288 int
17289 main ()
17290 {
17291 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17292 test_array [0] = 0
17293
17294   ;
17295   return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300   (eval $ac_compile) 2>conftest.er1
17301   ac_status=$?
17302   grep -v '^ *+' conftest.er1 >conftest.err
17303   rm -f conftest.er1
17304   cat conftest.err >&5
17305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306   (exit $ac_status); } &&
17307          { ac_try='test -z "$ac_c_werror_flag"
17308                          || test ! -s conftest.err'
17309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310   (eval $ac_try) 2>&5
17311   ac_status=$?
17312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313   (exit $ac_status); }; } &&
17314          { ac_try='test -s conftest.$ac_objext'
17315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316   (eval $ac_try) 2>&5
17317   ac_status=$?
17318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319   (exit $ac_status); }; }; then
17320   ac_hi=$ac_mid; break
17321 else
17322   echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17324
17325 ac_lo=`expr $ac_mid + 1`
17326                     if test $ac_lo -le $ac_mid; then
17327                       ac_lo= ac_hi=
17328                       break
17329                     fi
17330                     ac_mid=`expr 2 '*' $ac_mid + 1`
17331 fi
17332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17333   done
17334 else
17335   echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17337
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 (int))) < 0)];
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=-1 ac_mid=-1
17378   while :; do
17379     cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h.  */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h.  */
17385 $ac_includes_default
17386 int
17387 main ()
17388 {
17389 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17390 test_array [0] = 0
17391
17392   ;
17393   return 0;
17394 }
17395 _ACEOF
17396 rm -f conftest.$ac_objext
17397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17398   (eval $ac_compile) 2>conftest.er1
17399   ac_status=$?
17400   grep -v '^ *+' conftest.er1 >conftest.err
17401   rm -f conftest.er1
17402   cat conftest.err >&5
17403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404   (exit $ac_status); } &&
17405          { ac_try='test -z "$ac_c_werror_flag"
17406                          || test ! -s conftest.err'
17407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408   (eval $ac_try) 2>&5
17409   ac_status=$?
17410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411   (exit $ac_status); }; } &&
17412          { ac_try='test -s conftest.$ac_objext'
17413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414   (eval $ac_try) 2>&5
17415   ac_status=$?
17416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417   (exit $ac_status); }; }; then
17418   ac_lo=$ac_mid; break
17419 else
17420   echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17422
17423 ac_hi=`expr '(' $ac_mid ')' - 1`
17424                        if test $ac_mid -le $ac_hi; then
17425                          ac_lo= ac_hi=
17426                          break
17427                        fi
17428                        ac_mid=`expr 2 '*' $ac_mid`
17429 fi
17430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17431   done
17432 else
17433   echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.$ac_ext >&5
17435
17436 ac_lo= ac_hi=
17437 fi
17438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17439 fi
17440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17441 # Binary search between lo and hi bounds.
17442 while test "x$ac_lo" != "x$ac_hi"; do
17443   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17444   cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h.  */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h.  */
17450 $ac_includes_default
17451 int
17452 main ()
17453 {
17454 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17455 test_array [0] = 0
17456
17457   ;
17458   return 0;
17459 }
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463   (eval $ac_compile) 2>conftest.er1
17464   ac_status=$?
17465   grep -v '^ *+' conftest.er1 >conftest.err
17466   rm -f conftest.er1
17467   cat conftest.err >&5
17468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469   (exit $ac_status); } &&
17470          { ac_try='test -z "$ac_c_werror_flag"
17471                          || test ! -s conftest.err'
17472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473   (eval $ac_try) 2>&5
17474   ac_status=$?
17475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476   (exit $ac_status); }; } &&
17477          { ac_try='test -s conftest.$ac_objext'
17478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479   (eval $ac_try) 2>&5
17480   ac_status=$?
17481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482   (exit $ac_status); }; }; then
17483   ac_hi=$ac_mid
17484 else
17485   echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17487
17488 ac_lo=`expr '(' $ac_mid ')' + 1`
17489 fi
17490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17491 done
17492 case $ac_lo in
17493 ?*) ac_cv_sizeof_int=$ac_lo;;
17494 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17495 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17497 See \`config.log' for more details." >&5
17498 echo "$as_me: error: cannot compute sizeof (int), 77
17499 See \`config.log' for more details." >&2;}
17500    { (exit 1); exit 1; }; }; } ;;
17501 esac
17502 else
17503   if test "$cross_compiling" = yes; then
17504   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17505 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17506 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17507 See \`config.log' for more details." >&5
17508 echo "$as_me: error: cannot run test program while cross compiling
17509 See \`config.log' for more details." >&2;}
17510    { (exit 1); exit 1; }; }; }
17511 else
17512   cat >conftest.$ac_ext <<_ACEOF
17513 /* confdefs.h.  */
17514 _ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h.  */
17518 $ac_includes_default
17519 long longval () { return (long) (sizeof (int)); }
17520 unsigned long ulongval () { return (long) (sizeof (int)); }
17521 #include <stdio.h>
17522 #include <stdlib.h>
17523 int
17524 main ()
17525 {
17526
17527   FILE *f = fopen ("conftest.val", "w");
17528   if (! f)
17529     exit (1);
17530   if (((long) (sizeof (int))) < 0)
17531     {
17532       long i = longval ();
17533       if (i != ((long) (sizeof (int))))
17534         exit (1);
17535       fprintf (f, "%ld\n", i);
17536     }
17537   else
17538     {
17539       unsigned long i = ulongval ();
17540       if (i != ((long) (sizeof (int))))
17541         exit (1);
17542       fprintf (f, "%lu\n", i);
17543     }
17544   exit (ferror (f) || fclose (f) != 0);
17545
17546   ;
17547   return 0;
17548 }
17549 _ACEOF
17550 rm -f conftest$ac_exeext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17552   (eval $ac_link) 2>&5
17553   ac_status=$?
17554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557   (eval $ac_try) 2>&5
17558   ac_status=$?
17559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560   (exit $ac_status); }; }; then
17561   ac_cv_sizeof_int=`cat conftest.val`
17562 else
17563   echo "$as_me: program exited with status $ac_status" >&5
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17566
17567 ( exit $ac_status )
17568 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17569 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17571 See \`config.log' for more details." >&5
17572 echo "$as_me: error: cannot compute sizeof (int), 77
17573 See \`config.log' for more details." >&2;}
17574    { (exit 1); exit 1; }; }; }
17575 fi
17576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17577 fi
17578 fi
17579 rm -f conftest.val
17580 else
17581   ac_cv_sizeof_int=0
17582 fi
17583 fi
17584 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17585 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17586 cat >>confdefs.h <<_ACEOF
17587 #define SIZEOF_INT $ac_cv_sizeof_int
17588 _ACEOF
17589
17590
17591   echo "$as_me:$LINENO: checking for short" >&5
17592 echo $ECHO_N "checking for short... $ECHO_C" >&6
17593 if test "${ac_cv_type_short+set}" = set; then
17594   echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17596   cat >conftest.$ac_ext <<_ACEOF
17597 /* confdefs.h.  */
17598 _ACEOF
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h.  */
17602 $ac_includes_default
17603 int
17604 main ()
17605 {
17606 if ((short *) 0)
17607   return 0;
17608 if (sizeof (short))
17609   return 0;
17610   ;
17611   return 0;
17612 }
17613 _ACEOF
17614 rm -f conftest.$ac_objext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17616   (eval $ac_compile) 2>conftest.er1
17617   ac_status=$?
17618   grep -v '^ *+' conftest.er1 >conftest.err
17619   rm -f conftest.er1
17620   cat conftest.err >&5
17621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622   (exit $ac_status); } &&
17623          { ac_try='test -z "$ac_c_werror_flag"
17624                          || test ! -s conftest.err'
17625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626   (eval $ac_try) 2>&5
17627   ac_status=$?
17628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629   (exit $ac_status); }; } &&
17630          { ac_try='test -s conftest.$ac_objext'
17631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632   (eval $ac_try) 2>&5
17633   ac_status=$?
17634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635   (exit $ac_status); }; }; then
17636   ac_cv_type_short=yes
17637 else
17638   echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17640
17641 ac_cv_type_short=no
17642 fi
17643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17644 fi
17645 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17646 echo "${ECHO_T}$ac_cv_type_short" >&6
17647
17648 echo "$as_me:$LINENO: checking size of short" >&5
17649 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17650 if test "${ac_cv_sizeof_short+set}" = set; then
17651   echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653   if test "$ac_cv_type_short" = yes; then
17654   # The cast to unsigned long works around a bug in the HP C Compiler
17655   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17656   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17657   # This bug is HP SR number 8606223364.
17658   if test "$cross_compiling" = yes; then
17659   # Depending upon the size, compute the lo and hi bounds.
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h.  */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h.  */
17666 $ac_includes_default
17667 int
17668 main ()
17669 {
17670 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17671 test_array [0] = 0
17672
17673   ;
17674   return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679   (eval $ac_compile) 2>conftest.er1
17680   ac_status=$?
17681   grep -v '^ *+' conftest.er1 >conftest.err
17682   rm -f conftest.er1
17683   cat conftest.err >&5
17684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685   (exit $ac_status); } &&
17686          { ac_try='test -z "$ac_c_werror_flag"
17687                          || test ! -s conftest.err'
17688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689   (eval $ac_try) 2>&5
17690   ac_status=$?
17691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692   (exit $ac_status); }; } &&
17693          { ac_try='test -s conftest.$ac_objext'
17694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695   (eval $ac_try) 2>&5
17696   ac_status=$?
17697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698   (exit $ac_status); }; }; then
17699   ac_lo=0 ac_mid=0
17700   while :; do
17701     cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h.  */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h.  */
17707 $ac_includes_default
17708 int
17709 main ()
17710 {
17711 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17712 test_array [0] = 0
17713
17714   ;
17715   return 0;
17716 }
17717 _ACEOF
17718 rm -f conftest.$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720   (eval $ac_compile) 2>conftest.er1
17721   ac_status=$?
17722   grep -v '^ *+' conftest.er1 >conftest.err
17723   rm -f conftest.er1
17724   cat conftest.err >&5
17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726   (exit $ac_status); } &&
17727          { ac_try='test -z "$ac_c_werror_flag"
17728                          || test ! -s conftest.err'
17729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730   (eval $ac_try) 2>&5
17731   ac_status=$?
17732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733   (exit $ac_status); }; } &&
17734          { ac_try='test -s conftest.$ac_objext'
17735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736   (eval $ac_try) 2>&5
17737   ac_status=$?
17738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739   (exit $ac_status); }; }; then
17740   ac_hi=$ac_mid; break
17741 else
17742   echo "$as_me: failed program was:" >&5
17743 sed 's/^/| /' conftest.$ac_ext >&5
17744
17745 ac_lo=`expr $ac_mid + 1`
17746                     if test $ac_lo -le $ac_mid; then
17747                       ac_lo= ac_hi=
17748                       break
17749                     fi
17750                     ac_mid=`expr 2 '*' $ac_mid + 1`
17751 fi
17752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17753   done
17754 else
17755   echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 cat >conftest.$ac_ext <<_ACEOF
17759 /* confdefs.h.  */
17760 _ACEOF
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h.  */
17764 $ac_includes_default
17765 int
17766 main ()
17767 {
17768 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17769 test_array [0] = 0
17770
17771   ;
17772   return 0;
17773 }
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777   (eval $ac_compile) 2>conftest.er1
17778   ac_status=$?
17779   grep -v '^ *+' conftest.er1 >conftest.err
17780   rm -f conftest.er1
17781   cat conftest.err >&5
17782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783   (exit $ac_status); } &&
17784          { ac_try='test -z "$ac_c_werror_flag"
17785                          || test ! -s conftest.err'
17786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787   (eval $ac_try) 2>&5
17788   ac_status=$?
17789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790   (exit $ac_status); }; } &&
17791          { ac_try='test -s conftest.$ac_objext'
17792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793   (eval $ac_try) 2>&5
17794   ac_status=$?
17795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796   (exit $ac_status); }; }; then
17797   ac_hi=-1 ac_mid=-1
17798   while :; do
17799     cat >conftest.$ac_ext <<_ACEOF
17800 /* confdefs.h.  */
17801 _ACEOF
17802 cat confdefs.h >>conftest.$ac_ext
17803 cat >>conftest.$ac_ext <<_ACEOF
17804 /* end confdefs.h.  */
17805 $ac_includes_default
17806 int
17807 main ()
17808 {
17809 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17810 test_array [0] = 0
17811
17812   ;
17813   return 0;
17814 }
17815 _ACEOF
17816 rm -f conftest.$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818   (eval $ac_compile) 2>conftest.er1
17819   ac_status=$?
17820   grep -v '^ *+' conftest.er1 >conftest.err
17821   rm -f conftest.er1
17822   cat conftest.err >&5
17823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824   (exit $ac_status); } &&
17825          { ac_try='test -z "$ac_c_werror_flag"
17826                          || test ! -s conftest.err'
17827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828   (eval $ac_try) 2>&5
17829   ac_status=$?
17830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831   (exit $ac_status); }; } &&
17832          { ac_try='test -s conftest.$ac_objext'
17833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834   (eval $ac_try) 2>&5
17835   ac_status=$?
17836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837   (exit $ac_status); }; }; then
17838   ac_lo=$ac_mid; break
17839 else
17840   echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17842
17843 ac_hi=`expr '(' $ac_mid ')' - 1`
17844                        if test $ac_mid -le $ac_hi; then
17845                          ac_lo= ac_hi=
17846                          break
17847                        fi
17848                        ac_mid=`expr 2 '*' $ac_mid`
17849 fi
17850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17851   done
17852 else
17853   echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17855
17856 ac_lo= ac_hi=
17857 fi
17858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17859 fi
17860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17861 # Binary search between lo and hi bounds.
17862 while test "x$ac_lo" != "x$ac_hi"; do
17863   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17864   cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h.  */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h.  */
17870 $ac_includes_default
17871 int
17872 main ()
17873 {
17874 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17875 test_array [0] = 0
17876
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883   (eval $ac_compile) 2>conftest.er1
17884   ac_status=$?
17885   grep -v '^ *+' conftest.er1 >conftest.err
17886   rm -f conftest.er1
17887   cat conftest.err >&5
17888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889   (exit $ac_status); } &&
17890          { ac_try='test -z "$ac_c_werror_flag"
17891                          || test ! -s conftest.err'
17892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893   (eval $ac_try) 2>&5
17894   ac_status=$?
17895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896   (exit $ac_status); }; } &&
17897          { ac_try='test -s conftest.$ac_objext'
17898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899   (eval $ac_try) 2>&5
17900   ac_status=$?
17901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902   (exit $ac_status); }; }; then
17903   ac_hi=$ac_mid
17904 else
17905   echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17907
17908 ac_lo=`expr '(' $ac_mid ')' + 1`
17909 fi
17910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17911 done
17912 case $ac_lo in
17913 ?*) ac_cv_sizeof_short=$ac_lo;;
17914 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17915 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17917 See \`config.log' for more details." >&5
17918 echo "$as_me: error: cannot compute sizeof (short), 77
17919 See \`config.log' for more details." >&2;}
17920    { (exit 1); exit 1; }; }; } ;;
17921 esac
17922 else
17923   if test "$cross_compiling" = yes; then
17924   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17925 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17926 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17927 See \`config.log' for more details." >&5
17928 echo "$as_me: error: cannot run test program while cross compiling
17929 See \`config.log' for more details." >&2;}
17930    { (exit 1); exit 1; }; }; }
17931 else
17932   cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h.  */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h.  */
17938 $ac_includes_default
17939 long longval () { return (long) (sizeof (short)); }
17940 unsigned long ulongval () { return (long) (sizeof (short)); }
17941 #include <stdio.h>
17942 #include <stdlib.h>
17943 int
17944 main ()
17945 {
17946
17947   FILE *f = fopen ("conftest.val", "w");
17948   if (! f)
17949     exit (1);
17950   if (((long) (sizeof (short))) < 0)
17951     {
17952       long i = longval ();
17953       if (i != ((long) (sizeof (short))))
17954         exit (1);
17955       fprintf (f, "%ld\n", i);
17956     }
17957   else
17958     {
17959       unsigned long i = ulongval ();
17960       if (i != ((long) (sizeof (short))))
17961         exit (1);
17962       fprintf (f, "%lu\n", i);
17963     }
17964   exit (ferror (f) || fclose (f) != 0);
17965
17966   ;
17967   return 0;
17968 }
17969 _ACEOF
17970 rm -f conftest$ac_exeext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17972   (eval $ac_link) 2>&5
17973   ac_status=$?
17974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977   (eval $ac_try) 2>&5
17978   ac_status=$?
17979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980   (exit $ac_status); }; }; then
17981   ac_cv_sizeof_short=`cat conftest.val`
17982 else
17983   echo "$as_me: program exited with status $ac_status" >&5
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17986
17987 ( exit $ac_status )
17988 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17989 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17991 See \`config.log' for more details." >&5
17992 echo "$as_me: error: cannot compute sizeof (short), 77
17993 See \`config.log' for more details." >&2;}
17994    { (exit 1); exit 1; }; }; }
17995 fi
17996 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17997 fi
17998 fi
17999 rm -f conftest.val
18000 else
18001   ac_cv_sizeof_short=0
18002 fi
18003 fi
18004 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18005 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18006 cat >>confdefs.h <<_ACEOF
18007 #define SIZEOF_SHORT $ac_cv_sizeof_short
18008 _ACEOF
18009
18010
18011   echo "$as_me:$LINENO: checking for char" >&5
18012 echo $ECHO_N "checking for char... $ECHO_C" >&6
18013 if test "${ac_cv_type_char+set}" = set; then
18014   echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016   cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h.  */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h.  */
18022 $ac_includes_default
18023 int
18024 main ()
18025 {
18026 if ((char *) 0)
18027   return 0;
18028 if (sizeof (char))
18029   return 0;
18030   ;
18031   return 0;
18032 }
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036   (eval $ac_compile) 2>conftest.er1
18037   ac_status=$?
18038   grep -v '^ *+' conftest.er1 >conftest.err
18039   rm -f conftest.er1
18040   cat conftest.err >&5
18041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042   (exit $ac_status); } &&
18043          { ac_try='test -z "$ac_c_werror_flag"
18044                          || test ! -s conftest.err'
18045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046   (eval $ac_try) 2>&5
18047   ac_status=$?
18048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049   (exit $ac_status); }; } &&
18050          { ac_try='test -s conftest.$ac_objext'
18051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052   (eval $ac_try) 2>&5
18053   ac_status=$?
18054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055   (exit $ac_status); }; }; then
18056   ac_cv_type_char=yes
18057 else
18058   echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 ac_cv_type_char=no
18062 fi
18063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18064 fi
18065 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18066 echo "${ECHO_T}$ac_cv_type_char" >&6
18067
18068 echo "$as_me:$LINENO: checking size of char" >&5
18069 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_char+set}" = set; then
18071   echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073   if test "$ac_cv_type_char" = yes; then
18074   # The cast to unsigned long works around a bug in the HP C Compiler
18075   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077   # This bug is HP SR number 8606223364.
18078   if test "$cross_compiling" = yes; then
18079   # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h.  */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h.  */
18086 $ac_includes_default
18087 int
18088 main ()
18089 {
18090 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18091 test_array [0] = 0
18092
18093   ;
18094   return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099   (eval $ac_compile) 2>conftest.er1
18100   ac_status=$?
18101   grep -v '^ *+' conftest.er1 >conftest.err
18102   rm -f conftest.er1
18103   cat conftest.err >&5
18104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105   (exit $ac_status); } &&
18106          { ac_try='test -z "$ac_c_werror_flag"
18107                          || test ! -s conftest.err'
18108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109   (eval $ac_try) 2>&5
18110   ac_status=$?
18111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112   (exit $ac_status); }; } &&
18113          { ac_try='test -s conftest.$ac_objext'
18114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115   (eval $ac_try) 2>&5
18116   ac_status=$?
18117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118   (exit $ac_status); }; }; then
18119   ac_lo=0 ac_mid=0
18120   while :; do
18121     cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h.  */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h.  */
18127 $ac_includes_default
18128 int
18129 main ()
18130 {
18131 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18132 test_array [0] = 0
18133
18134   ;
18135   return 0;
18136 }
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140   (eval $ac_compile) 2>conftest.er1
18141   ac_status=$?
18142   grep -v '^ *+' conftest.er1 >conftest.err
18143   rm -f conftest.er1
18144   cat conftest.err >&5
18145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146   (exit $ac_status); } &&
18147          { ac_try='test -z "$ac_c_werror_flag"
18148                          || test ! -s conftest.err'
18149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150   (eval $ac_try) 2>&5
18151   ac_status=$?
18152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153   (exit $ac_status); }; } &&
18154          { ac_try='test -s conftest.$ac_objext'
18155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156   (eval $ac_try) 2>&5
18157   ac_status=$?
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); }; }; then
18160   ac_hi=$ac_mid; break
18161 else
18162   echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_lo=`expr $ac_mid + 1`
18166                     if test $ac_lo -le $ac_mid; then
18167                       ac_lo= ac_hi=
18168                       break
18169                     fi
18170                     ac_mid=`expr 2 '*' $ac_mid + 1`
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173   done
18174 else
18175   echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h.  */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h.  */
18184 $ac_includes_default
18185 int
18186 main ()
18187 {
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18189 test_array [0] = 0
18190
18191   ;
18192   return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197   (eval $ac_compile) 2>conftest.er1
18198   ac_status=$?
18199   grep -v '^ *+' conftest.er1 >conftest.err
18200   rm -f conftest.er1
18201   cat conftest.err >&5
18202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203   (exit $ac_status); } &&
18204          { ac_try='test -z "$ac_c_werror_flag"
18205                          || test ! -s conftest.err'
18206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207   (eval $ac_try) 2>&5
18208   ac_status=$?
18209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210   (exit $ac_status); }; } &&
18211          { ac_try='test -s conftest.$ac_objext'
18212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213   (eval $ac_try) 2>&5
18214   ac_status=$?
18215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216   (exit $ac_status); }; }; then
18217   ac_hi=-1 ac_mid=-1
18218   while :; do
18219     cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h.  */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h.  */
18225 $ac_includes_default
18226 int
18227 main ()
18228 {
18229 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18230 test_array [0] = 0
18231
18232   ;
18233   return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238   (eval $ac_compile) 2>conftest.er1
18239   ac_status=$?
18240   grep -v '^ *+' conftest.er1 >conftest.err
18241   rm -f conftest.er1
18242   cat conftest.err >&5
18243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244   (exit $ac_status); } &&
18245          { ac_try='test -z "$ac_c_werror_flag"
18246                          || test ! -s conftest.err'
18247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248   (eval $ac_try) 2>&5
18249   ac_status=$?
18250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251   (exit $ac_status); }; } &&
18252          { ac_try='test -s conftest.$ac_objext'
18253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254   (eval $ac_try) 2>&5
18255   ac_status=$?
18256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257   (exit $ac_status); }; }; then
18258   ac_lo=$ac_mid; break
18259 else
18260   echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18262
18263 ac_hi=`expr '(' $ac_mid ')' - 1`
18264                        if test $ac_mid -le $ac_hi; then
18265                          ac_lo= ac_hi=
18266                          break
18267                        fi
18268                        ac_mid=`expr 2 '*' $ac_mid`
18269 fi
18270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18271   done
18272 else
18273   echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18275
18276 ac_lo= ac_hi=
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 fi
18280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284   cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h.  */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h.  */
18290 $ac_includes_default
18291 int
18292 main ()
18293 {
18294 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18295 test_array [0] = 0
18296
18297   ;
18298   return 0;
18299 }
18300 _ACEOF
18301 rm -f conftest.$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303   (eval $ac_compile) 2>conftest.er1
18304   ac_status=$?
18305   grep -v '^ *+' conftest.er1 >conftest.err
18306   rm -f conftest.er1
18307   cat conftest.err >&5
18308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309   (exit $ac_status); } &&
18310          { ac_try='test -z "$ac_c_werror_flag"
18311                          || test ! -s conftest.err'
18312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313   (eval $ac_try) 2>&5
18314   ac_status=$?
18315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316   (exit $ac_status); }; } &&
18317          { ac_try='test -s conftest.$ac_objext'
18318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319   (eval $ac_try) 2>&5
18320   ac_status=$?
18321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322   (exit $ac_status); }; }; then
18323   ac_hi=$ac_mid
18324 else
18325   echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18327
18328 ac_lo=`expr '(' $ac_mid ')' + 1`
18329 fi
18330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18331 done
18332 case $ac_lo in
18333 ?*) ac_cv_sizeof_char=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18335 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18337 See \`config.log' for more details." >&5
18338 echo "$as_me: error: cannot compute sizeof (char), 77
18339 See \`config.log' for more details." >&2;}
18340    { (exit 1); exit 1; }; }; } ;;
18341 esac
18342 else
18343   if test "$cross_compiling" = yes; then
18344   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18345 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18346 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18347 See \`config.log' for more details." >&5
18348 echo "$as_me: error: cannot run test program while cross compiling
18349 See \`config.log' for more details." >&2;}
18350    { (exit 1); exit 1; }; }; }
18351 else
18352   cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h.  */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h.  */
18358 $ac_includes_default
18359 long longval () { return (long) (sizeof (char)); }
18360 unsigned long ulongval () { return (long) (sizeof (char)); }
18361 #include <stdio.h>
18362 #include <stdlib.h>
18363 int
18364 main ()
18365 {
18366
18367   FILE *f = fopen ("conftest.val", "w");
18368   if (! f)
18369     exit (1);
18370   if (((long) (sizeof (char))) < 0)
18371     {
18372       long i = longval ();
18373       if (i != ((long) (sizeof (char))))
18374         exit (1);
18375       fprintf (f, "%ld\n", i);
18376     }
18377   else
18378     {
18379       unsigned long i = ulongval ();
18380       if (i != ((long) (sizeof (char))))
18381         exit (1);
18382       fprintf (f, "%lu\n", i);
18383     }
18384   exit (ferror (f) || fclose (f) != 0);
18385
18386   ;
18387   return 0;
18388 }
18389 _ACEOF
18390 rm -f conftest$ac_exeext
18391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18392   (eval $ac_link) 2>&5
18393   ac_status=$?
18394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397   (eval $ac_try) 2>&5
18398   ac_status=$?
18399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400   (exit $ac_status); }; }; then
18401   ac_cv_sizeof_char=`cat conftest.val`
18402 else
18403   echo "$as_me: program exited with status $ac_status" >&5
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 ( exit $ac_status )
18408 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18409 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18411 See \`config.log' for more details." >&5
18412 echo "$as_me: error: cannot compute sizeof (char), 77
18413 See \`config.log' for more details." >&2;}
18414    { (exit 1); exit 1; }; }; }
18415 fi
18416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18417 fi
18418 fi
18419 rm -f conftest.val
18420 else
18421   ac_cv_sizeof_char=0
18422 fi
18423 fi
18424 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18425 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18426 cat >>confdefs.h <<_ACEOF
18427 #define SIZEOF_CHAR $ac_cv_sizeof_char
18428 _ACEOF
18429
18430
18431
18432   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18433 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18434   case "$ac_cv_sizeof_char" in
18435     1) acx_cv_type_int8_t=char ;;
18436     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18437 echo "$as_me: error: no 8-bit type" >&2;}
18438    { (exit please report a bug); exit please report a bug; }; }
18439   esac
18440   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18441 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18442
18443   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18444 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18445   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18446     2:*) acx_cv_type_int16_t=int ;;
18447     *:2) acx_cv_type_int16_t=short ;;
18448     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18449 echo "$as_me: error: no 16-bit type" >&2;}
18450    { (exit please report a bug); exit please report a bug; }; }
18451   esac
18452   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18453 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18454
18455   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18456 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18457   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18458     4:*) acx_cv_type_int32_t=int ;;
18459     *:4) acx_cv_type_int32_t=long ;;
18460     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18461 echo "$as_me: error: no 32-bit type" >&2;}
18462    { (exit please report a bug); exit please report a bug; }; }
18463   esac
18464   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18465 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18466 fi
18467
18468 # These tests are here to make the output prettier
18469
18470 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18471   case "$ac_cv_sizeof_long" in
18472     8) acx_cv_type_int64_t=long ;;
18473   esac
18474   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18475 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18476   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18477 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18478 fi
18479
18480 # Now we can use the above types
18481
18482 if test "$ac_cv_type_uintptr_t" != yes; then
18483   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18484 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18485   case $ac_cv_sizeof_void_p in
18486     2) acx_cv_type_intptr_t=int16_t ;;
18487     4) acx_cv_type_intptr_t=int32_t ;;
18488     8) acx_cv_type_intptr_t=int64_t ;;
18489     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18490 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18491    { (exit please report a bug); exit please report a bug; }; }
18492   esac
18493   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18494 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18495 fi
18496
18497 # ----------------- done all checks, emit header -------------
18498           ac_config_commands="$ac_config_commands gstdint.h"
18499
18500
18501
18502
18503 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18504 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18505 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18506   echo $ECHO_N "(cached) $ECHO_C" >&6
18507 else
18508   cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h.  */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h.  */
18514 $ac_includes_default
18515 int
18516 main ()
18517 {
18518 static struct stat ac_aggr;
18519 if (ac_aggr.st_blksize)
18520 return 0;
18521   ;
18522   return 0;
18523 }
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527   (eval $ac_compile) 2>conftest.er1
18528   ac_status=$?
18529   grep -v '^ *+' conftest.er1 >conftest.err
18530   rm -f conftest.er1
18531   cat conftest.err >&5
18532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533   (exit $ac_status); } &&
18534          { ac_try='test -z "$ac_c_werror_flag"
18535                          || test ! -s conftest.err'
18536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537   (eval $ac_try) 2>&5
18538   ac_status=$?
18539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540   (exit $ac_status); }; } &&
18541          { ac_try='test -s conftest.$ac_objext'
18542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543   (eval $ac_try) 2>&5
18544   ac_status=$?
18545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546   (exit $ac_status); }; }; then
18547   ac_cv_member_struct_stat_st_blksize=yes
18548 else
18549   echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18551
18552 cat >conftest.$ac_ext <<_ACEOF
18553 /* confdefs.h.  */
18554 _ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h.  */
18558 $ac_includes_default
18559 int
18560 main ()
18561 {
18562 static struct stat ac_aggr;
18563 if (sizeof ac_aggr.st_blksize)
18564 return 0;
18565   ;
18566   return 0;
18567 }
18568 _ACEOF
18569 rm -f conftest.$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571   (eval $ac_compile) 2>conftest.er1
18572   ac_status=$?
18573   grep -v '^ *+' conftest.er1 >conftest.err
18574   rm -f conftest.er1
18575   cat conftest.err >&5
18576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577   (exit $ac_status); } &&
18578          { ac_try='test -z "$ac_c_werror_flag"
18579                          || test ! -s conftest.err'
18580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581   (eval $ac_try) 2>&5
18582   ac_status=$?
18583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584   (exit $ac_status); }; } &&
18585          { ac_try='test -s conftest.$ac_objext'
18586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587   (eval $ac_try) 2>&5
18588   ac_status=$?
18589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590   (exit $ac_status); }; }; then
18591   ac_cv_member_struct_stat_st_blksize=yes
18592 else
18593   echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 ac_cv_member_struct_stat_st_blksize=no
18597 fi
18598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18599 fi
18600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18601 fi
18602 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18603 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18604 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18605
18606 cat >>confdefs.h <<_ACEOF
18607 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18608 _ACEOF
18609
18610
18611 fi
18612
18613 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18614 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18615 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18616   echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18618   cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h.  */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h.  */
18624 $ac_includes_default
18625 int
18626 main ()
18627 {
18628 static struct stat ac_aggr;
18629 if (ac_aggr.st_blocks)
18630 return 0;
18631   ;
18632   return 0;
18633 }
18634 _ACEOF
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637   (eval $ac_compile) 2>conftest.er1
18638   ac_status=$?
18639   grep -v '^ *+' conftest.er1 >conftest.err
18640   rm -f conftest.er1
18641   cat conftest.err >&5
18642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643   (exit $ac_status); } &&
18644          { ac_try='test -z "$ac_c_werror_flag"
18645                          || test ! -s conftest.err'
18646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647   (eval $ac_try) 2>&5
18648   ac_status=$?
18649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650   (exit $ac_status); }; } &&
18651          { ac_try='test -s conftest.$ac_objext'
18652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653   (eval $ac_try) 2>&5
18654   ac_status=$?
18655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656   (exit $ac_status); }; }; then
18657   ac_cv_member_struct_stat_st_blocks=yes
18658 else
18659   echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h.  */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h.  */
18668 $ac_includes_default
18669 int
18670 main ()
18671 {
18672 static struct stat ac_aggr;
18673 if (sizeof ac_aggr.st_blocks)
18674 return 0;
18675   ;
18676   return 0;
18677 }
18678 _ACEOF
18679 rm -f conftest.$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681   (eval $ac_compile) 2>conftest.er1
18682   ac_status=$?
18683   grep -v '^ *+' conftest.er1 >conftest.err
18684   rm -f conftest.er1
18685   cat conftest.err >&5
18686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687   (exit $ac_status); } &&
18688          { ac_try='test -z "$ac_c_werror_flag"
18689                          || test ! -s conftest.err'
18690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691   (eval $ac_try) 2>&5
18692   ac_status=$?
18693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694   (exit $ac_status); }; } &&
18695          { ac_try='test -s conftest.$ac_objext'
18696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697   (eval $ac_try) 2>&5
18698   ac_status=$?
18699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700   (exit $ac_status); }; }; then
18701   ac_cv_member_struct_stat_st_blocks=yes
18702 else
18703   echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 ac_cv_member_struct_stat_st_blocks=no
18707 fi
18708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18709 fi
18710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18711 fi
18712 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18713 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18714 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18715
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18718 _ACEOF
18719
18720
18721 fi
18722
18723 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18724 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18725 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18726   echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18728   cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h.  */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h.  */
18734 $ac_includes_default
18735 int
18736 main ()
18737 {
18738 static struct stat ac_aggr;
18739 if (ac_aggr.st_rdev)
18740 return 0;
18741   ;
18742   return 0;
18743 }
18744 _ACEOF
18745 rm -f conftest.$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747   (eval $ac_compile) 2>conftest.er1
18748   ac_status=$?
18749   grep -v '^ *+' conftest.er1 >conftest.err
18750   rm -f conftest.er1
18751   cat conftest.err >&5
18752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753   (exit $ac_status); } &&
18754          { ac_try='test -z "$ac_c_werror_flag"
18755                          || test ! -s conftest.err'
18756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757   (eval $ac_try) 2>&5
18758   ac_status=$?
18759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760   (exit $ac_status); }; } &&
18761          { ac_try='test -s conftest.$ac_objext'
18762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763   (eval $ac_try) 2>&5
18764   ac_status=$?
18765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766   (exit $ac_status); }; }; then
18767   ac_cv_member_struct_stat_st_rdev=yes
18768 else
18769   echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18771
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h.  */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h.  */
18778 $ac_includes_default
18779 int
18780 main ()
18781 {
18782 static struct stat ac_aggr;
18783 if (sizeof ac_aggr.st_rdev)
18784 return 0;
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18791   (eval $ac_compile) 2>conftest.er1
18792   ac_status=$?
18793   grep -v '^ *+' conftest.er1 >conftest.err
18794   rm -f conftest.er1
18795   cat conftest.err >&5
18796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797   (exit $ac_status); } &&
18798          { ac_try='test -z "$ac_c_werror_flag"
18799                          || test ! -s conftest.err'
18800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801   (eval $ac_try) 2>&5
18802   ac_status=$?
18803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804   (exit $ac_status); }; } &&
18805          { ac_try='test -s conftest.$ac_objext'
18806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807   (eval $ac_try) 2>&5
18808   ac_status=$?
18809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810   (exit $ac_status); }; }; then
18811   ac_cv_member_struct_stat_st_rdev=yes
18812 else
18813   echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 ac_cv_member_struct_stat_st_rdev=no
18817 fi
18818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819 fi
18820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18821 fi
18822 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18823 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18824 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18825
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STAT_ST_RDEV 1
18828 _ACEOF
18829
18830
18831 fi
18832
18833
18834 # Check for library functions.
18835
18836
18837
18838
18839
18840
18841
18842
18843 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18844 do
18845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18846 echo "$as_me:$LINENO: checking for $ac_func" >&5
18847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18848 if eval "test \"\${$as_ac_var+set}\" = set"; then
18849   echo $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851   if test x$gcc_no_link = xyes; then
18852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18854    { (exit 1); exit 1; }; }
18855 fi
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h.  */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h.  */
18862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18864 #define $ac_func innocuous_$ac_func
18865
18866 /* System header to define __stub macros and hopefully few prototypes,
18867     which can conflict with char $ac_func (); below.
18868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18869     <limits.h> exists even on freestanding compilers.  */
18870
18871 #ifdef __STDC__
18872 # include <limits.h>
18873 #else
18874 # include <assert.h>
18875 #endif
18876
18877 #undef $ac_func
18878
18879 /* Override any gcc2 internal prototype to avoid an error.  */
18880 #ifdef __cplusplus
18881 extern "C"
18882 {
18883 #endif
18884 /* We use char because int might match the return type of a gcc2
18885    builtin and then its argument prototype would still apply.  */
18886 char $ac_func ();
18887 /* The GNU C library defines this for functions which it implements
18888     to always fail with ENOSYS.  Some functions are actually named
18889     something starting with __ and the normal name is an alias.  */
18890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18891 choke me
18892 #else
18893 char (*f) () = $ac_func;
18894 #endif
18895 #ifdef __cplusplus
18896 }
18897 #endif
18898
18899 int
18900 main ()
18901 {
18902 return f != $ac_func;
18903   ;
18904   return 0;
18905 }
18906 _ACEOF
18907 rm -f conftest.$ac_objext conftest$ac_exeext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18909   (eval $ac_link) 2>conftest.er1
18910   ac_status=$?
18911   grep -v '^ *+' conftest.er1 >conftest.err
18912   rm -f conftest.er1
18913   cat conftest.err >&5
18914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915   (exit $ac_status); } &&
18916          { ac_try='test -z "$ac_c_werror_flag"
18917                          || test ! -s conftest.err'
18918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919   (eval $ac_try) 2>&5
18920   ac_status=$?
18921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922   (exit $ac_status); }; } &&
18923          { ac_try='test -s conftest$ac_exeext'
18924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925   (eval $ac_try) 2>&5
18926   ac_status=$?
18927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928   (exit $ac_status); }; }; then
18929   eval "$as_ac_var=yes"
18930 else
18931   echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18933
18934 eval "$as_ac_var=no"
18935 fi
18936 rm -f conftest.err conftest.$ac_objext \
18937       conftest$ac_exeext conftest.$ac_ext
18938 fi
18939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18941 if test `eval echo '${'$as_ac_var'}'` = yes; then
18942   cat >>confdefs.h <<_ACEOF
18943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18944 _ACEOF
18945
18946 fi
18947 done
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18958 do
18959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18960 echo "$as_me:$LINENO: checking for $ac_func" >&5
18961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18962 if eval "test \"\${$as_ac_var+set}\" = set"; then
18963   echo $ECHO_N "(cached) $ECHO_C" >&6
18964 else
18965   if test x$gcc_no_link = xyes; then
18966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18968    { (exit 1); exit 1; }; }
18969 fi
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h.  */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h.  */
18976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18978 #define $ac_func innocuous_$ac_func
18979
18980 /* System header to define __stub macros and hopefully few prototypes,
18981     which can conflict with char $ac_func (); below.
18982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18983     <limits.h> exists even on freestanding compilers.  */
18984
18985 #ifdef __STDC__
18986 # include <limits.h>
18987 #else
18988 # include <assert.h>
18989 #endif
18990
18991 #undef $ac_func
18992
18993 /* Override any gcc2 internal prototype to avoid an error.  */
18994 #ifdef __cplusplus
18995 extern "C"
18996 {
18997 #endif
18998 /* We use char because int might match the return type of a gcc2
18999    builtin and then its argument prototype would still apply.  */
19000 char $ac_func ();
19001 /* The GNU C library defines this for functions which it implements
19002     to always fail with ENOSYS.  Some functions are actually named
19003     something starting with __ and the normal name is an alias.  */
19004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19005 choke me
19006 #else
19007 char (*f) () = $ac_func;
19008 #endif
19009 #ifdef __cplusplus
19010 }
19011 #endif
19012
19013 int
19014 main ()
19015 {
19016 return f != $ac_func;
19017   ;
19018   return 0;
19019 }
19020 _ACEOF
19021 rm -f conftest.$ac_objext conftest$ac_exeext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19023   (eval $ac_link) 2>conftest.er1
19024   ac_status=$?
19025   grep -v '^ *+' conftest.er1 >conftest.err
19026   rm -f conftest.er1
19027   cat conftest.err >&5
19028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029   (exit $ac_status); } &&
19030          { ac_try='test -z "$ac_c_werror_flag"
19031                          || test ! -s conftest.err'
19032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033   (eval $ac_try) 2>&5
19034   ac_status=$?
19035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036   (exit $ac_status); }; } &&
19037          { ac_try='test -s conftest$ac_exeext'
19038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039   (eval $ac_try) 2>&5
19040   ac_status=$?
19041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042   (exit $ac_status); }; }; then
19043   eval "$as_ac_var=yes"
19044 else
19045   echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19047
19048 eval "$as_ac_var=no"
19049 fi
19050 rm -f conftest.err conftest.$ac_objext \
19051       conftest$ac_exeext conftest.$ac_ext
19052 fi
19053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19055 if test `eval echo '${'$as_ac_var'}'` = yes; then
19056   cat >>confdefs.h <<_ACEOF
19057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19058 _ACEOF
19059
19060 fi
19061 done
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19074 do
19075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19076 echo "$as_me:$LINENO: checking for $ac_func" >&5
19077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19078 if eval "test \"\${$as_ac_var+set}\" = set"; then
19079   echo $ECHO_N "(cached) $ECHO_C" >&6
19080 else
19081   if test x$gcc_no_link = xyes; then
19082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19084    { (exit 1); exit 1; }; }
19085 fi
19086 cat >conftest.$ac_ext <<_ACEOF
19087 /* confdefs.h.  */
19088 _ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h.  */
19092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19094 #define $ac_func innocuous_$ac_func
19095
19096 /* System header to define __stub macros and hopefully few prototypes,
19097     which can conflict with char $ac_func (); below.
19098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19099     <limits.h> exists even on freestanding compilers.  */
19100
19101 #ifdef __STDC__
19102 # include <limits.h>
19103 #else
19104 # include <assert.h>
19105 #endif
19106
19107 #undef $ac_func
19108
19109 /* Override any gcc2 internal prototype to avoid an error.  */
19110 #ifdef __cplusplus
19111 extern "C"
19112 {
19113 #endif
19114 /* We use char because int might match the return type of a gcc2
19115    builtin and then its argument prototype would still apply.  */
19116 char $ac_func ();
19117 /* The GNU C library defines this for functions which it implements
19118     to always fail with ENOSYS.  Some functions are actually named
19119     something starting with __ and the normal name is an alias.  */
19120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19121 choke me
19122 #else
19123 char (*f) () = $ac_func;
19124 #endif
19125 #ifdef __cplusplus
19126 }
19127 #endif
19128
19129 int
19130 main ()
19131 {
19132 return f != $ac_func;
19133   ;
19134   return 0;
19135 }
19136 _ACEOF
19137 rm -f conftest.$ac_objext conftest$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139   (eval $ac_link) 2>conftest.er1
19140   ac_status=$?
19141   grep -v '^ *+' conftest.er1 >conftest.err
19142   rm -f conftest.er1
19143   cat conftest.err >&5
19144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145   (exit $ac_status); } &&
19146          { ac_try='test -z "$ac_c_werror_flag"
19147                          || test ! -s conftest.err'
19148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149   (eval $ac_try) 2>&5
19150   ac_status=$?
19151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152   (exit $ac_status); }; } &&
19153          { ac_try='test -s conftest$ac_exeext'
19154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155   (eval $ac_try) 2>&5
19156   ac_status=$?
19157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158   (exit $ac_status); }; }; then
19159   eval "$as_ac_var=yes"
19160 else
19161   echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19163
19164 eval "$as_ac_var=no"
19165 fi
19166 rm -f conftest.err conftest.$ac_objext \
19167       conftest$ac_exeext conftest.$ac_ext
19168 fi
19169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19171 if test `eval echo '${'$as_ac_var'}'` = yes; then
19172   cat >>confdefs.h <<_ACEOF
19173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19174 _ACEOF
19175
19176 fi
19177 done
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19189 do
19190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19191 echo "$as_me:$LINENO: checking for $ac_func" >&5
19192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19193 if eval "test \"\${$as_ac_var+set}\" = set"; then
19194   echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19196   if test x$gcc_no_link = xyes; then
19197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19199    { (exit 1); exit 1; }; }
19200 fi
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h.  */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h.  */
19207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19209 #define $ac_func innocuous_$ac_func
19210
19211 /* System header to define __stub macros and hopefully few prototypes,
19212     which can conflict with char $ac_func (); below.
19213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19214     <limits.h> exists even on freestanding compilers.  */
19215
19216 #ifdef __STDC__
19217 # include <limits.h>
19218 #else
19219 # include <assert.h>
19220 #endif
19221
19222 #undef $ac_func
19223
19224 /* Override any gcc2 internal prototype to avoid an error.  */
19225 #ifdef __cplusplus
19226 extern "C"
19227 {
19228 #endif
19229 /* We use char because int might match the return type of a gcc2
19230    builtin and then its argument prototype would still apply.  */
19231 char $ac_func ();
19232 /* The GNU C library defines this for functions which it implements
19233     to always fail with ENOSYS.  Some functions are actually named
19234     something starting with __ and the normal name is an alias.  */
19235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19236 choke me
19237 #else
19238 char (*f) () = $ac_func;
19239 #endif
19240 #ifdef __cplusplus
19241 }
19242 #endif
19243
19244 int
19245 main ()
19246 {
19247 return f != $ac_func;
19248   ;
19249   return 0;
19250 }
19251 _ACEOF
19252 rm -f conftest.$ac_objext conftest$ac_exeext
19253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19254   (eval $ac_link) 2>conftest.er1
19255   ac_status=$?
19256   grep -v '^ *+' conftest.er1 >conftest.err
19257   rm -f conftest.er1
19258   cat conftest.err >&5
19259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260   (exit $ac_status); } &&
19261          { ac_try='test -z "$ac_c_werror_flag"
19262                          || test ! -s conftest.err'
19263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264   (eval $ac_try) 2>&5
19265   ac_status=$?
19266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267   (exit $ac_status); }; } &&
19268          { ac_try='test -s conftest$ac_exeext'
19269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270   (eval $ac_try) 2>&5
19271   ac_status=$?
19272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273   (exit $ac_status); }; }; then
19274   eval "$as_ac_var=yes"
19275 else
19276   echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 eval "$as_ac_var=no"
19280 fi
19281 rm -f conftest.err conftest.$ac_objext \
19282       conftest$ac_exeext conftest.$ac_ext
19283 fi
19284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19286 if test `eval echo '${'$as_ac_var'}'` = yes; then
19287   cat >>confdefs.h <<_ACEOF
19288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19289 _ACEOF
19290
19291 fi
19292 done
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19303 do
19304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19305 echo "$as_me:$LINENO: checking for $ac_func" >&5
19306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19307 if eval "test \"\${$as_ac_var+set}\" = set"; then
19308   echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310   if test x$gcc_no_link = xyes; then
19311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19313    { (exit 1); exit 1; }; }
19314 fi
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h.  */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h.  */
19321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19323 #define $ac_func innocuous_$ac_func
19324
19325 /* System header to define __stub macros and hopefully few prototypes,
19326     which can conflict with char $ac_func (); below.
19327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19328     <limits.h> exists even on freestanding compilers.  */
19329
19330 #ifdef __STDC__
19331 # include <limits.h>
19332 #else
19333 # include <assert.h>
19334 #endif
19335
19336 #undef $ac_func
19337
19338 /* Override any gcc2 internal prototype to avoid an error.  */
19339 #ifdef __cplusplus
19340 extern "C"
19341 {
19342 #endif
19343 /* We use char because int might match the return type of a gcc2
19344    builtin and then its argument prototype would still apply.  */
19345 char $ac_func ();
19346 /* The GNU C library defines this for functions which it implements
19347     to always fail with ENOSYS.  Some functions are actually named
19348     something starting with __ and the normal name is an alias.  */
19349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19350 choke me
19351 #else
19352 char (*f) () = $ac_func;
19353 #endif
19354 #ifdef __cplusplus
19355 }
19356 #endif
19357
19358 int
19359 main ()
19360 {
19361 return f != $ac_func;
19362   ;
19363   return 0;
19364 }
19365 _ACEOF
19366 rm -f conftest.$ac_objext conftest$ac_exeext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19368   (eval $ac_link) 2>conftest.er1
19369   ac_status=$?
19370   grep -v '^ *+' conftest.er1 >conftest.err
19371   rm -f conftest.er1
19372   cat conftest.err >&5
19373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374   (exit $ac_status); } &&
19375          { ac_try='test -z "$ac_c_werror_flag"
19376                          || test ! -s conftest.err'
19377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378   (eval $ac_try) 2>&5
19379   ac_status=$?
19380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381   (exit $ac_status); }; } &&
19382          { ac_try='test -s conftest$ac_exeext'
19383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384   (eval $ac_try) 2>&5
19385   ac_status=$?
19386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387   (exit $ac_status); }; }; then
19388   eval "$as_ac_var=yes"
19389 else
19390   echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.$ac_ext >&5
19392
19393 eval "$as_ac_var=no"
19394 fi
19395 rm -f conftest.err conftest.$ac_objext \
19396       conftest$ac_exeext conftest.$ac_ext
19397 fi
19398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19400 if test `eval echo '${'$as_ac_var'}'` = yes; then
19401   cat >>confdefs.h <<_ACEOF
19402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19403 _ACEOF
19404
19405 fi
19406 done
19407
19408
19409 # Check for glibc backtrace functions
19410
19411
19412 for ac_func in backtrace backtrace_symbols
19413 do
19414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19415 echo "$as_me:$LINENO: checking for $ac_func" >&5
19416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19417 if eval "test \"\${$as_ac_var+set}\" = set"; then
19418   echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else
19420   if test x$gcc_no_link = xyes; then
19421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19423    { (exit 1); exit 1; }; }
19424 fi
19425 cat >conftest.$ac_ext <<_ACEOF
19426 /* confdefs.h.  */
19427 _ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h.  */
19431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19433 #define $ac_func innocuous_$ac_func
19434
19435 /* System header to define __stub macros and hopefully few prototypes,
19436     which can conflict with char $ac_func (); below.
19437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19438     <limits.h> exists even on freestanding compilers.  */
19439
19440 #ifdef __STDC__
19441 # include <limits.h>
19442 #else
19443 # include <assert.h>
19444 #endif
19445
19446 #undef $ac_func
19447
19448 /* Override any gcc2 internal prototype to avoid an error.  */
19449 #ifdef __cplusplus
19450 extern "C"
19451 {
19452 #endif
19453 /* We use char because int might match the return type of a gcc2
19454    builtin and then its argument prototype would still apply.  */
19455 char $ac_func ();
19456 /* The GNU C library defines this for functions which it implements
19457     to always fail with ENOSYS.  Some functions are actually named
19458     something starting with __ and the normal name is an alias.  */
19459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19460 choke me
19461 #else
19462 char (*f) () = $ac_func;
19463 #endif
19464 #ifdef __cplusplus
19465 }
19466 #endif
19467
19468 int
19469 main ()
19470 {
19471 return f != $ac_func;
19472   ;
19473   return 0;
19474 }
19475 _ACEOF
19476 rm -f conftest.$ac_objext conftest$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478   (eval $ac_link) 2>conftest.er1
19479   ac_status=$?
19480   grep -v '^ *+' conftest.er1 >conftest.err
19481   rm -f conftest.er1
19482   cat conftest.err >&5
19483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484   (exit $ac_status); } &&
19485          { ac_try='test -z "$ac_c_werror_flag"
19486                          || test ! -s conftest.err'
19487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488   (eval $ac_try) 2>&5
19489   ac_status=$?
19490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491   (exit $ac_status); }; } &&
19492          { ac_try='test -s conftest$ac_exeext'
19493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494   (eval $ac_try) 2>&5
19495   ac_status=$?
19496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497   (exit $ac_status); }; }; then
19498   eval "$as_ac_var=yes"
19499 else
19500   echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.$ac_ext >&5
19502
19503 eval "$as_ac_var=no"
19504 fi
19505 rm -f conftest.err conftest.$ac_objext \
19506       conftest$ac_exeext conftest.$ac_ext
19507 fi
19508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19510 if test `eval echo '${'$as_ac_var'}'` = yes; then
19511   cat >>confdefs.h <<_ACEOF
19512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19513 _ACEOF
19514
19515 fi
19516 done
19517
19518
19519 # Check for types
19520 echo "$as_me:$LINENO: checking for intptr_t" >&5
19521 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19522 if test "${ac_cv_type_intptr_t+set}" = set; then
19523   echo $ECHO_N "(cached) $ECHO_C" >&6
19524 else
19525   cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h.  */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h.  */
19531 $ac_includes_default
19532 int
19533 main ()
19534 {
19535 if ((intptr_t *) 0)
19536   return 0;
19537 if (sizeof (intptr_t))
19538   return 0;
19539   ;
19540   return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545   (eval $ac_compile) 2>conftest.er1
19546   ac_status=$?
19547   grep -v '^ *+' conftest.er1 >conftest.err
19548   rm -f conftest.er1
19549   cat conftest.err >&5
19550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551   (exit $ac_status); } &&
19552          { ac_try='test -z "$ac_c_werror_flag"
19553                          || test ! -s conftest.err'
19554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555   (eval $ac_try) 2>&5
19556   ac_status=$?
19557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558   (exit $ac_status); }; } &&
19559          { ac_try='test -s conftest.$ac_objext'
19560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561   (eval $ac_try) 2>&5
19562   ac_status=$?
19563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564   (exit $ac_status); }; }; then
19565   ac_cv_type_intptr_t=yes
19566 else
19567   echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19569
19570 ac_cv_type_intptr_t=no
19571 fi
19572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19573 fi
19574 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19575 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19576 if test $ac_cv_type_intptr_t = yes; then
19577
19578 cat >>confdefs.h <<_ACEOF
19579 #define HAVE_INTPTR_T 1
19580 _ACEOF
19581
19582
19583 fi
19584
19585 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19586 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19587 if test "${ac_cv_type_uintptr_t+set}" = set; then
19588   echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590   cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h.  */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h.  */
19596 $ac_includes_default
19597 int
19598 main ()
19599 {
19600 if ((uintptr_t *) 0)
19601   return 0;
19602 if (sizeof (uintptr_t))
19603   return 0;
19604   ;
19605   return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610   (eval $ac_compile) 2>conftest.er1
19611   ac_status=$?
19612   grep -v '^ *+' conftest.er1 >conftest.err
19613   rm -f conftest.er1
19614   cat conftest.err >&5
19615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616   (exit $ac_status); } &&
19617          { ac_try='test -z "$ac_c_werror_flag"
19618                          || test ! -s conftest.err'
19619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620   (eval $ac_try) 2>&5
19621   ac_status=$?
19622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623   (exit $ac_status); }; } &&
19624          { ac_try='test -s conftest.$ac_objext'
19625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626   (eval $ac_try) 2>&5
19627   ac_status=$?
19628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629   (exit $ac_status); }; }; then
19630   ac_cv_type_uintptr_t=yes
19631 else
19632   echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 ac_cv_type_uintptr_t=no
19636 fi
19637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19638 fi
19639 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19640 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19641 if test $ac_cv_type_uintptr_t = yes; then
19642
19643 cat >>confdefs.h <<_ACEOF
19644 #define HAVE_UINTPTR_T 1
19645 _ACEOF
19646
19647
19648 fi
19649
19650
19651 # Check libc for getgid, getpid, getuid
19652 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19653 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19654 if test "${ac_cv_lib_c_getgid+set}" = set; then
19655   echo $ECHO_N "(cached) $ECHO_C" >&6
19656 else
19657   ac_check_lib_save_LIBS=$LIBS
19658 LIBS="-lc  $LIBS"
19659 if test x$gcc_no_link = xyes; then
19660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19662    { (exit 1); exit 1; }; }
19663 fi
19664 cat >conftest.$ac_ext <<_ACEOF
19665 /* confdefs.h.  */
19666 _ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h.  */
19670
19671 /* Override any gcc2 internal prototype to avoid an error.  */
19672 #ifdef __cplusplus
19673 extern "C"
19674 #endif
19675 /* We use char because int might match the return type of a gcc2
19676    builtin and then its argument prototype would still apply.  */
19677 char getgid ();
19678 int
19679 main ()
19680 {
19681 getgid ();
19682   ;
19683   return 0;
19684 }
19685 _ACEOF
19686 rm -f conftest.$ac_objext conftest$ac_exeext
19687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19688   (eval $ac_link) 2>conftest.er1
19689   ac_status=$?
19690   grep -v '^ *+' conftest.er1 >conftest.err
19691   rm -f conftest.er1
19692   cat conftest.err >&5
19693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694   (exit $ac_status); } &&
19695          { ac_try='test -z "$ac_c_werror_flag"
19696                          || test ! -s conftest.err'
19697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698   (eval $ac_try) 2>&5
19699   ac_status=$?
19700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701   (exit $ac_status); }; } &&
19702          { ac_try='test -s conftest$ac_exeext'
19703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704   (eval $ac_try) 2>&5
19705   ac_status=$?
19706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707   (exit $ac_status); }; }; then
19708   ac_cv_lib_c_getgid=yes
19709 else
19710   echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19712
19713 ac_cv_lib_c_getgid=no
19714 fi
19715 rm -f conftest.err conftest.$ac_objext \
19716       conftest$ac_exeext conftest.$ac_ext
19717 LIBS=$ac_check_lib_save_LIBS
19718 fi
19719 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19720 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19721 if test $ac_cv_lib_c_getgid = yes; then
19722
19723 cat >>confdefs.h <<\_ACEOF
19724 #define HAVE_GETGID 1
19725 _ACEOF
19726
19727 fi
19728
19729 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19730 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19731 if test "${ac_cv_lib_c_getpid+set}" = set; then
19732   echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734   ac_check_lib_save_LIBS=$LIBS
19735 LIBS="-lc  $LIBS"
19736 if test x$gcc_no_link = xyes; then
19737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19739    { (exit 1); exit 1; }; }
19740 fi
19741 cat >conftest.$ac_ext <<_ACEOF
19742 /* confdefs.h.  */
19743 _ACEOF
19744 cat confdefs.h >>conftest.$ac_ext
19745 cat >>conftest.$ac_ext <<_ACEOF
19746 /* end confdefs.h.  */
19747
19748 /* Override any gcc2 internal prototype to avoid an error.  */
19749 #ifdef __cplusplus
19750 extern "C"
19751 #endif
19752 /* We use char because int might match the return type of a gcc2
19753    builtin and then its argument prototype would still apply.  */
19754 char getpid ();
19755 int
19756 main ()
19757 {
19758 getpid ();
19759   ;
19760   return 0;
19761 }
19762 _ACEOF
19763 rm -f conftest.$ac_objext conftest$ac_exeext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19765   (eval $ac_link) 2>conftest.er1
19766   ac_status=$?
19767   grep -v '^ *+' conftest.er1 >conftest.err
19768   rm -f conftest.er1
19769   cat conftest.err >&5
19770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771   (exit $ac_status); } &&
19772          { ac_try='test -z "$ac_c_werror_flag"
19773                          || test ! -s conftest.err'
19774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775   (eval $ac_try) 2>&5
19776   ac_status=$?
19777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778   (exit $ac_status); }; } &&
19779          { ac_try='test -s conftest$ac_exeext'
19780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781   (eval $ac_try) 2>&5
19782   ac_status=$?
19783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784   (exit $ac_status); }; }; then
19785   ac_cv_lib_c_getpid=yes
19786 else
19787   echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 ac_cv_lib_c_getpid=no
19791 fi
19792 rm -f conftest.err conftest.$ac_objext \
19793       conftest$ac_exeext conftest.$ac_ext
19794 LIBS=$ac_check_lib_save_LIBS
19795 fi
19796 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19797 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19798 if test $ac_cv_lib_c_getpid = yes; then
19799
19800 cat >>confdefs.h <<\_ACEOF
19801 #define HAVE_GETPID 1
19802 _ACEOF
19803
19804 fi
19805
19806 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19807 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19808 if test "${ac_cv_lib_c_getppid+set}" = set; then
19809   echo $ECHO_N "(cached) $ECHO_C" >&6
19810 else
19811   ac_check_lib_save_LIBS=$LIBS
19812 LIBS="-lc  $LIBS"
19813 if test x$gcc_no_link = xyes; then
19814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19816    { (exit 1); exit 1; }; }
19817 fi
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h.  */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h.  */
19824
19825 /* Override any gcc2 internal prototype to avoid an error.  */
19826 #ifdef __cplusplus
19827 extern "C"
19828 #endif
19829 /* We use char because int might match the return type of a gcc2
19830    builtin and then its argument prototype would still apply.  */
19831 char getppid ();
19832 int
19833 main ()
19834 {
19835 getppid ();
19836   ;
19837   return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext conftest$ac_exeext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19842   (eval $ac_link) 2>conftest.er1
19843   ac_status=$?
19844   grep -v '^ *+' conftest.er1 >conftest.err
19845   rm -f conftest.er1
19846   cat conftest.err >&5
19847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848   (exit $ac_status); } &&
19849          { ac_try='test -z "$ac_c_werror_flag"
19850                          || test ! -s conftest.err'
19851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852   (eval $ac_try) 2>&5
19853   ac_status=$?
19854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855   (exit $ac_status); }; } &&
19856          { ac_try='test -s conftest$ac_exeext'
19857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858   (eval $ac_try) 2>&5
19859   ac_status=$?
19860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861   (exit $ac_status); }; }; then
19862   ac_cv_lib_c_getppid=yes
19863 else
19864   echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19866
19867 ac_cv_lib_c_getppid=no
19868 fi
19869 rm -f conftest.err conftest.$ac_objext \
19870       conftest$ac_exeext conftest.$ac_ext
19871 LIBS=$ac_check_lib_save_LIBS
19872 fi
19873 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19874 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19875 if test $ac_cv_lib_c_getppid = yes; then
19876
19877 cat >>confdefs.h <<\_ACEOF
19878 #define HAVE_GETPPID 1
19879 _ACEOF
19880
19881 fi
19882
19883 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19884 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19885 if test "${ac_cv_lib_c_getuid+set}" = set; then
19886   echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888   ac_check_lib_save_LIBS=$LIBS
19889 LIBS="-lc  $LIBS"
19890 if test x$gcc_no_link = xyes; then
19891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19893    { (exit 1); exit 1; }; }
19894 fi
19895 cat >conftest.$ac_ext <<_ACEOF
19896 /* confdefs.h.  */
19897 _ACEOF
19898 cat confdefs.h >>conftest.$ac_ext
19899 cat >>conftest.$ac_ext <<_ACEOF
19900 /* end confdefs.h.  */
19901
19902 /* Override any gcc2 internal prototype to avoid an error.  */
19903 #ifdef __cplusplus
19904 extern "C"
19905 #endif
19906 /* We use char because int might match the return type of a gcc2
19907    builtin and then its argument prototype would still apply.  */
19908 char getuid ();
19909 int
19910 main ()
19911 {
19912 getuid ();
19913   ;
19914   return 0;
19915 }
19916 _ACEOF
19917 rm -f conftest.$ac_objext conftest$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919   (eval $ac_link) 2>conftest.er1
19920   ac_status=$?
19921   grep -v '^ *+' conftest.er1 >conftest.err
19922   rm -f conftest.er1
19923   cat conftest.err >&5
19924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925   (exit $ac_status); } &&
19926          { ac_try='test -z "$ac_c_werror_flag"
19927                          || test ! -s conftest.err'
19928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929   (eval $ac_try) 2>&5
19930   ac_status=$?
19931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932   (exit $ac_status); }; } &&
19933          { ac_try='test -s conftest$ac_exeext'
19934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935   (eval $ac_try) 2>&5
19936   ac_status=$?
19937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938   (exit $ac_status); }; }; then
19939   ac_cv_lib_c_getuid=yes
19940 else
19941   echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19943
19944 ac_cv_lib_c_getuid=no
19945 fi
19946 rm -f conftest.err conftest.$ac_objext \
19947       conftest$ac_exeext conftest.$ac_ext
19948 LIBS=$ac_check_lib_save_LIBS
19949 fi
19950 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19951 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19952 if test $ac_cv_lib_c_getuid = yes; then
19953
19954 cat >>confdefs.h <<\_ACEOF
19955 #define HAVE_GETUID 1
19956 _ACEOF
19957
19958 fi
19959
19960 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19961 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19962 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19963   echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965   ac_check_lib_save_LIBS=$LIBS
19966 LIBS="-lc  $LIBS"
19967 if test x$gcc_no_link = xyes; then
19968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19970    { (exit 1); exit 1; }; }
19971 fi
19972 cat >conftest.$ac_ext <<_ACEOF
19973 /* confdefs.h.  */
19974 _ACEOF
19975 cat confdefs.h >>conftest.$ac_ext
19976 cat >>conftest.$ac_ext <<_ACEOF
19977 /* end confdefs.h.  */
19978
19979 /* Override any gcc2 internal prototype to avoid an error.  */
19980 #ifdef __cplusplus
19981 extern "C"
19982 #endif
19983 /* We use char because int might match the return type of a gcc2
19984    builtin and then its argument prototype would still apply.  */
19985 char geteuid ();
19986 int
19987 main ()
19988 {
19989 geteuid ();
19990   ;
19991   return 0;
19992 }
19993 _ACEOF
19994 rm -f conftest.$ac_objext conftest$ac_exeext
19995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19996   (eval $ac_link) 2>conftest.er1
19997   ac_status=$?
19998   grep -v '^ *+' conftest.er1 >conftest.err
19999   rm -f conftest.er1
20000   cat conftest.err >&5
20001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002   (exit $ac_status); } &&
20003          { ac_try='test -z "$ac_c_werror_flag"
20004                          || test ! -s conftest.err'
20005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006   (eval $ac_try) 2>&5
20007   ac_status=$?
20008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009   (exit $ac_status); }; } &&
20010          { ac_try='test -s conftest$ac_exeext'
20011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012   (eval $ac_try) 2>&5
20013   ac_status=$?
20014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015   (exit $ac_status); }; }; then
20016   ac_cv_lib_c_geteuid=yes
20017 else
20018   echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20020
20021 ac_cv_lib_c_geteuid=no
20022 fi
20023 rm -f conftest.err conftest.$ac_objext \
20024       conftest$ac_exeext conftest.$ac_ext
20025 LIBS=$ac_check_lib_save_LIBS
20026 fi
20027 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20028 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20029 if test $ac_cv_lib_c_geteuid = yes; then
20030
20031 cat >>confdefs.h <<\_ACEOF
20032 #define HAVE_GETEUID 1
20033 _ACEOF
20034
20035 fi
20036
20037
20038 # Check for C99 (and other IEEE) math functions
20039 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20040 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20041 if test "${ac_cv_lib_m_acosf+set}" = set; then
20042   echo $ECHO_N "(cached) $ECHO_C" >&6
20043 else
20044   ac_check_lib_save_LIBS=$LIBS
20045 LIBS="-lm  $LIBS"
20046 if test x$gcc_no_link = xyes; then
20047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20049    { (exit 1); exit 1; }; }
20050 fi
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h.  */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h.  */
20057
20058 /* Override any gcc2 internal prototype to avoid an error.  */
20059 #ifdef __cplusplus
20060 extern "C"
20061 #endif
20062 /* We use char because int might match the return type of a gcc2
20063    builtin and then its argument prototype would still apply.  */
20064 char acosf ();
20065 int
20066 main ()
20067 {
20068 acosf ();
20069   ;
20070   return 0;
20071 }
20072 _ACEOF
20073 rm -f conftest.$ac_objext conftest$ac_exeext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20075   (eval $ac_link) 2>conftest.er1
20076   ac_status=$?
20077   grep -v '^ *+' conftest.er1 >conftest.err
20078   rm -f conftest.er1
20079   cat conftest.err >&5
20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081   (exit $ac_status); } &&
20082          { ac_try='test -z "$ac_c_werror_flag"
20083                          || test ! -s conftest.err'
20084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085   (eval $ac_try) 2>&5
20086   ac_status=$?
20087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088   (exit $ac_status); }; } &&
20089          { ac_try='test -s conftest$ac_exeext'
20090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091   (eval $ac_try) 2>&5
20092   ac_status=$?
20093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094   (exit $ac_status); }; }; then
20095   ac_cv_lib_m_acosf=yes
20096 else
20097   echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20099
20100 ac_cv_lib_m_acosf=no
20101 fi
20102 rm -f conftest.err conftest.$ac_objext \
20103       conftest$ac_exeext conftest.$ac_ext
20104 LIBS=$ac_check_lib_save_LIBS
20105 fi
20106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20107 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20108 if test $ac_cv_lib_m_acosf = yes; then
20109
20110 cat >>confdefs.h <<\_ACEOF
20111 #define HAVE_ACOSF 1
20112 _ACEOF
20113
20114 fi
20115
20116 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20117 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20118 if test "${ac_cv_lib_m_acos+set}" = set; then
20119   echo $ECHO_N "(cached) $ECHO_C" >&6
20120 else
20121   ac_check_lib_save_LIBS=$LIBS
20122 LIBS="-lm  $LIBS"
20123 if test x$gcc_no_link = xyes; then
20124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20126    { (exit 1); exit 1; }; }
20127 fi
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h.  */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h.  */
20134
20135 /* Override any gcc2 internal prototype to avoid an error.  */
20136 #ifdef __cplusplus
20137 extern "C"
20138 #endif
20139 /* We use char because int might match the return type of a gcc2
20140    builtin and then its argument prototype would still apply.  */
20141 char acos ();
20142 int
20143 main ()
20144 {
20145 acos ();
20146   ;
20147   return 0;
20148 }
20149 _ACEOF
20150 rm -f conftest.$ac_objext conftest$ac_exeext
20151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20152   (eval $ac_link) 2>conftest.er1
20153   ac_status=$?
20154   grep -v '^ *+' conftest.er1 >conftest.err
20155   rm -f conftest.er1
20156   cat conftest.err >&5
20157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158   (exit $ac_status); } &&
20159          { ac_try='test -z "$ac_c_werror_flag"
20160                          || test ! -s conftest.err'
20161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162   (eval $ac_try) 2>&5
20163   ac_status=$?
20164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165   (exit $ac_status); }; } &&
20166          { ac_try='test -s conftest$ac_exeext'
20167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168   (eval $ac_try) 2>&5
20169   ac_status=$?
20170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171   (exit $ac_status); }; }; then
20172   ac_cv_lib_m_acos=yes
20173 else
20174   echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20176
20177 ac_cv_lib_m_acos=no
20178 fi
20179 rm -f conftest.err conftest.$ac_objext \
20180       conftest$ac_exeext conftest.$ac_ext
20181 LIBS=$ac_check_lib_save_LIBS
20182 fi
20183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20184 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20185 if test $ac_cv_lib_m_acos = yes; then
20186
20187 cat >>confdefs.h <<\_ACEOF
20188 #define HAVE_ACOS 1
20189 _ACEOF
20190
20191 fi
20192
20193 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20194 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20195 if test "${ac_cv_lib_m_acosl+set}" = set; then
20196   echo $ECHO_N "(cached) $ECHO_C" >&6
20197 else
20198   ac_check_lib_save_LIBS=$LIBS
20199 LIBS="-lm  $LIBS"
20200 if test x$gcc_no_link = xyes; then
20201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20203    { (exit 1); exit 1; }; }
20204 fi
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h.  */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h.  */
20211
20212 /* Override any gcc2 internal prototype to avoid an error.  */
20213 #ifdef __cplusplus
20214 extern "C"
20215 #endif
20216 /* We use char because int might match the return type of a gcc2
20217    builtin and then its argument prototype would still apply.  */
20218 char acosl ();
20219 int
20220 main ()
20221 {
20222 acosl ();
20223   ;
20224   return 0;
20225 }
20226 _ACEOF
20227 rm -f conftest.$ac_objext conftest$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229   (eval $ac_link) 2>conftest.er1
20230   ac_status=$?
20231   grep -v '^ *+' conftest.er1 >conftest.err
20232   rm -f conftest.er1
20233   cat conftest.err >&5
20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235   (exit $ac_status); } &&
20236          { ac_try='test -z "$ac_c_werror_flag"
20237                          || test ! -s conftest.err'
20238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239   (eval $ac_try) 2>&5
20240   ac_status=$?
20241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242   (exit $ac_status); }; } &&
20243          { ac_try='test -s conftest$ac_exeext'
20244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245   (eval $ac_try) 2>&5
20246   ac_status=$?
20247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248   (exit $ac_status); }; }; then
20249   ac_cv_lib_m_acosl=yes
20250 else
20251   echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20253
20254 ac_cv_lib_m_acosl=no
20255 fi
20256 rm -f conftest.err conftest.$ac_objext \
20257       conftest$ac_exeext conftest.$ac_ext
20258 LIBS=$ac_check_lib_save_LIBS
20259 fi
20260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20261 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20262 if test $ac_cv_lib_m_acosl = yes; then
20263
20264 cat >>confdefs.h <<\_ACEOF
20265 #define HAVE_ACOSL 1
20266 _ACEOF
20267
20268 fi
20269
20270 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20271 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20272 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20273   echo $ECHO_N "(cached) $ECHO_C" >&6
20274 else
20275   ac_check_lib_save_LIBS=$LIBS
20276 LIBS="-lm  $LIBS"
20277 if test x$gcc_no_link = xyes; then
20278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20280    { (exit 1); exit 1; }; }
20281 fi
20282 cat >conftest.$ac_ext <<_ACEOF
20283 /* confdefs.h.  */
20284 _ACEOF
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h.  */
20288
20289 /* Override any gcc2 internal prototype to avoid an error.  */
20290 #ifdef __cplusplus
20291 extern "C"
20292 #endif
20293 /* We use char because int might match the return type of a gcc2
20294    builtin and then its argument prototype would still apply.  */
20295 char acoshf ();
20296 int
20297 main ()
20298 {
20299 acoshf ();
20300   ;
20301   return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext conftest$ac_exeext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20306   (eval $ac_link) 2>conftest.er1
20307   ac_status=$?
20308   grep -v '^ *+' conftest.er1 >conftest.err
20309   rm -f conftest.er1
20310   cat conftest.err >&5
20311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312   (exit $ac_status); } &&
20313          { ac_try='test -z "$ac_c_werror_flag"
20314                          || test ! -s conftest.err'
20315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316   (eval $ac_try) 2>&5
20317   ac_status=$?
20318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319   (exit $ac_status); }; } &&
20320          { ac_try='test -s conftest$ac_exeext'
20321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322   (eval $ac_try) 2>&5
20323   ac_status=$?
20324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325   (exit $ac_status); }; }; then
20326   ac_cv_lib_m_acoshf=yes
20327 else
20328   echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20330
20331 ac_cv_lib_m_acoshf=no
20332 fi
20333 rm -f conftest.err conftest.$ac_objext \
20334       conftest$ac_exeext conftest.$ac_ext
20335 LIBS=$ac_check_lib_save_LIBS
20336 fi
20337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20338 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20339 if test $ac_cv_lib_m_acoshf = yes; then
20340
20341 cat >>confdefs.h <<\_ACEOF
20342 #define HAVE_ACOSHF 1
20343 _ACEOF
20344
20345 fi
20346
20347 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20348 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20349 if test "${ac_cv_lib_m_acosh+set}" = set; then
20350   echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352   ac_check_lib_save_LIBS=$LIBS
20353 LIBS="-lm  $LIBS"
20354 if test x$gcc_no_link = xyes; then
20355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20357    { (exit 1); exit 1; }; }
20358 fi
20359 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h.  */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h.  */
20365
20366 /* Override any gcc2 internal prototype to avoid an error.  */
20367 #ifdef __cplusplus
20368 extern "C"
20369 #endif
20370 /* We use char because int might match the return type of a gcc2
20371    builtin and then its argument prototype would still apply.  */
20372 char acosh ();
20373 int
20374 main ()
20375 {
20376 acosh ();
20377   ;
20378   return 0;
20379 }
20380 _ACEOF
20381 rm -f conftest.$ac_objext conftest$ac_exeext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20383   (eval $ac_link) 2>conftest.er1
20384   ac_status=$?
20385   grep -v '^ *+' conftest.er1 >conftest.err
20386   rm -f conftest.er1
20387   cat conftest.err >&5
20388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389   (exit $ac_status); } &&
20390          { ac_try='test -z "$ac_c_werror_flag"
20391                          || test ! -s conftest.err'
20392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393   (eval $ac_try) 2>&5
20394   ac_status=$?
20395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396   (exit $ac_status); }; } &&
20397          { ac_try='test -s conftest$ac_exeext'
20398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399   (eval $ac_try) 2>&5
20400   ac_status=$?
20401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402   (exit $ac_status); }; }; then
20403   ac_cv_lib_m_acosh=yes
20404 else
20405   echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 ac_cv_lib_m_acosh=no
20409 fi
20410 rm -f conftest.err conftest.$ac_objext \
20411       conftest$ac_exeext conftest.$ac_ext
20412 LIBS=$ac_check_lib_save_LIBS
20413 fi
20414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20415 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20416 if test $ac_cv_lib_m_acosh = yes; then
20417
20418 cat >>confdefs.h <<\_ACEOF
20419 #define HAVE_ACOSH 1
20420 _ACEOF
20421
20422 fi
20423
20424 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20425 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20426 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20427   echo $ECHO_N "(cached) $ECHO_C" >&6
20428 else
20429   ac_check_lib_save_LIBS=$LIBS
20430 LIBS="-lm  $LIBS"
20431 if test x$gcc_no_link = xyes; then
20432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20434    { (exit 1); exit 1; }; }
20435 fi
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h.  */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h.  */
20442
20443 /* Override any gcc2 internal prototype to avoid an error.  */
20444 #ifdef __cplusplus
20445 extern "C"
20446 #endif
20447 /* We use char because int might match the return type of a gcc2
20448    builtin and then its argument prototype would still apply.  */
20449 char acoshl ();
20450 int
20451 main ()
20452 {
20453 acoshl ();
20454   ;
20455   return 0;
20456 }
20457 _ACEOF
20458 rm -f conftest.$ac_objext conftest$ac_exeext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20460   (eval $ac_link) 2>conftest.er1
20461   ac_status=$?
20462   grep -v '^ *+' conftest.er1 >conftest.err
20463   rm -f conftest.er1
20464   cat conftest.err >&5
20465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466   (exit $ac_status); } &&
20467          { ac_try='test -z "$ac_c_werror_flag"
20468                          || test ! -s conftest.err'
20469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470   (eval $ac_try) 2>&5
20471   ac_status=$?
20472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473   (exit $ac_status); }; } &&
20474          { ac_try='test -s conftest$ac_exeext'
20475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476   (eval $ac_try) 2>&5
20477   ac_status=$?
20478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479   (exit $ac_status); }; }; then
20480   ac_cv_lib_m_acoshl=yes
20481 else
20482   echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 ac_cv_lib_m_acoshl=no
20486 fi
20487 rm -f conftest.err conftest.$ac_objext \
20488       conftest$ac_exeext conftest.$ac_ext
20489 LIBS=$ac_check_lib_save_LIBS
20490 fi
20491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20492 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20493 if test $ac_cv_lib_m_acoshl = yes; then
20494
20495 cat >>confdefs.h <<\_ACEOF
20496 #define HAVE_ACOSHL 1
20497 _ACEOF
20498
20499 fi
20500
20501 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20502 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20503 if test "${ac_cv_lib_m_asinf+set}" = set; then
20504   echo $ECHO_N "(cached) $ECHO_C" >&6
20505 else
20506   ac_check_lib_save_LIBS=$LIBS
20507 LIBS="-lm  $LIBS"
20508 if test x$gcc_no_link = xyes; then
20509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20511    { (exit 1); exit 1; }; }
20512 fi
20513 cat >conftest.$ac_ext <<_ACEOF
20514 /* confdefs.h.  */
20515 _ACEOF
20516 cat confdefs.h >>conftest.$ac_ext
20517 cat >>conftest.$ac_ext <<_ACEOF
20518 /* end confdefs.h.  */
20519
20520 /* Override any gcc2 internal prototype to avoid an error.  */
20521 #ifdef __cplusplus
20522 extern "C"
20523 #endif
20524 /* We use char because int might match the return type of a gcc2
20525    builtin and then its argument prototype would still apply.  */
20526 char asinf ();
20527 int
20528 main ()
20529 {
20530 asinf ();
20531   ;
20532   return 0;
20533 }
20534 _ACEOF
20535 rm -f conftest.$ac_objext conftest$ac_exeext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20537   (eval $ac_link) 2>conftest.er1
20538   ac_status=$?
20539   grep -v '^ *+' conftest.er1 >conftest.err
20540   rm -f conftest.er1
20541   cat conftest.err >&5
20542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543   (exit $ac_status); } &&
20544          { ac_try='test -z "$ac_c_werror_flag"
20545                          || test ! -s conftest.err'
20546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547   (eval $ac_try) 2>&5
20548   ac_status=$?
20549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550   (exit $ac_status); }; } &&
20551          { ac_try='test -s conftest$ac_exeext'
20552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553   (eval $ac_try) 2>&5
20554   ac_status=$?
20555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556   (exit $ac_status); }; }; then
20557   ac_cv_lib_m_asinf=yes
20558 else
20559   echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 ac_cv_lib_m_asinf=no
20563 fi
20564 rm -f conftest.err conftest.$ac_objext \
20565       conftest$ac_exeext conftest.$ac_ext
20566 LIBS=$ac_check_lib_save_LIBS
20567 fi
20568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20569 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20570 if test $ac_cv_lib_m_asinf = yes; then
20571
20572 cat >>confdefs.h <<\_ACEOF
20573 #define HAVE_ASINF 1
20574 _ACEOF
20575
20576 fi
20577
20578 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20579 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20580 if test "${ac_cv_lib_m_asin+set}" = set; then
20581   echo $ECHO_N "(cached) $ECHO_C" >&6
20582 else
20583   ac_check_lib_save_LIBS=$LIBS
20584 LIBS="-lm  $LIBS"
20585 if test x$gcc_no_link = xyes; then
20586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20588    { (exit 1); exit 1; }; }
20589 fi
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h.  */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h.  */
20596
20597 /* Override any gcc2 internal prototype to avoid an error.  */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 /* We use char because int might match the return type of a gcc2
20602    builtin and then its argument prototype would still apply.  */
20603 char asin ();
20604 int
20605 main ()
20606 {
20607 asin ();
20608   ;
20609   return 0;
20610 }
20611 _ACEOF
20612 rm -f conftest.$ac_objext conftest$ac_exeext
20613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20614   (eval $ac_link) 2>conftest.er1
20615   ac_status=$?
20616   grep -v '^ *+' conftest.er1 >conftest.err
20617   rm -f conftest.er1
20618   cat conftest.err >&5
20619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620   (exit $ac_status); } &&
20621          { ac_try='test -z "$ac_c_werror_flag"
20622                          || test ! -s conftest.err'
20623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624   (eval $ac_try) 2>&5
20625   ac_status=$?
20626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627   (exit $ac_status); }; } &&
20628          { ac_try='test -s conftest$ac_exeext'
20629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20630   (eval $ac_try) 2>&5
20631   ac_status=$?
20632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633   (exit $ac_status); }; }; then
20634   ac_cv_lib_m_asin=yes
20635 else
20636   echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.$ac_ext >&5
20638
20639 ac_cv_lib_m_asin=no
20640 fi
20641 rm -f conftest.err conftest.$ac_objext \
20642       conftest$ac_exeext conftest.$ac_ext
20643 LIBS=$ac_check_lib_save_LIBS
20644 fi
20645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20646 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20647 if test $ac_cv_lib_m_asin = yes; then
20648
20649 cat >>confdefs.h <<\_ACEOF
20650 #define HAVE_ASIN 1
20651 _ACEOF
20652
20653 fi
20654
20655 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20656 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20657 if test "${ac_cv_lib_m_asinl+set}" = set; then
20658   echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660   ac_check_lib_save_LIBS=$LIBS
20661 LIBS="-lm  $LIBS"
20662 if test x$gcc_no_link = xyes; then
20663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665    { (exit 1); exit 1; }; }
20666 fi
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h.  */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h.  */
20673
20674 /* Override any gcc2 internal prototype to avoid an error.  */
20675 #ifdef __cplusplus
20676 extern "C"
20677 #endif
20678 /* We use char because int might match the return type of a gcc2
20679    builtin and then its argument prototype would still apply.  */
20680 char asinl ();
20681 int
20682 main ()
20683 {
20684 asinl ();
20685   ;
20686   return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest.$ac_objext conftest$ac_exeext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20691   (eval $ac_link) 2>conftest.er1
20692   ac_status=$?
20693   grep -v '^ *+' conftest.er1 >conftest.err
20694   rm -f conftest.er1
20695   cat conftest.err >&5
20696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697   (exit $ac_status); } &&
20698          { ac_try='test -z "$ac_c_werror_flag"
20699                          || test ! -s conftest.err'
20700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701   (eval $ac_try) 2>&5
20702   ac_status=$?
20703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704   (exit $ac_status); }; } &&
20705          { ac_try='test -s conftest$ac_exeext'
20706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707   (eval $ac_try) 2>&5
20708   ac_status=$?
20709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710   (exit $ac_status); }; }; then
20711   ac_cv_lib_m_asinl=yes
20712 else
20713   echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20715
20716 ac_cv_lib_m_asinl=no
20717 fi
20718 rm -f conftest.err conftest.$ac_objext \
20719       conftest$ac_exeext conftest.$ac_ext
20720 LIBS=$ac_check_lib_save_LIBS
20721 fi
20722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20723 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20724 if test $ac_cv_lib_m_asinl = yes; then
20725
20726 cat >>confdefs.h <<\_ACEOF
20727 #define HAVE_ASINL 1
20728 _ACEOF
20729
20730 fi
20731
20732 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20733 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20734 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20735   echo $ECHO_N "(cached) $ECHO_C" >&6
20736 else
20737   ac_check_lib_save_LIBS=$LIBS
20738 LIBS="-lm  $LIBS"
20739 if test x$gcc_no_link = xyes; then
20740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20742    { (exit 1); exit 1; }; }
20743 fi
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h.  */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h.  */
20750
20751 /* Override any gcc2 internal prototype to avoid an error.  */
20752 #ifdef __cplusplus
20753 extern "C"
20754 #endif
20755 /* We use char because int might match the return type of a gcc2
20756    builtin and then its argument prototype would still apply.  */
20757 char asinhf ();
20758 int
20759 main ()
20760 {
20761 asinhf ();
20762   ;
20763   return 0;
20764 }
20765 _ACEOF
20766 rm -f conftest.$ac_objext conftest$ac_exeext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20768   (eval $ac_link) 2>conftest.er1
20769   ac_status=$?
20770   grep -v '^ *+' conftest.er1 >conftest.err
20771   rm -f conftest.er1
20772   cat conftest.err >&5
20773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774   (exit $ac_status); } &&
20775          { ac_try='test -z "$ac_c_werror_flag"
20776                          || test ! -s conftest.err'
20777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778   (eval $ac_try) 2>&5
20779   ac_status=$?
20780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781   (exit $ac_status); }; } &&
20782          { ac_try='test -s conftest$ac_exeext'
20783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784   (eval $ac_try) 2>&5
20785   ac_status=$?
20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787   (exit $ac_status); }; }; then
20788   ac_cv_lib_m_asinhf=yes
20789 else
20790   echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20792
20793 ac_cv_lib_m_asinhf=no
20794 fi
20795 rm -f conftest.err conftest.$ac_objext \
20796       conftest$ac_exeext conftest.$ac_ext
20797 LIBS=$ac_check_lib_save_LIBS
20798 fi
20799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20800 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20801 if test $ac_cv_lib_m_asinhf = yes; then
20802
20803 cat >>confdefs.h <<\_ACEOF
20804 #define HAVE_ASINHF 1
20805 _ACEOF
20806
20807 fi
20808
20809 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20810 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20811 if test "${ac_cv_lib_m_asinh+set}" = set; then
20812   echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20814   ac_check_lib_save_LIBS=$LIBS
20815 LIBS="-lm  $LIBS"
20816 if test x$gcc_no_link = xyes; then
20817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20819    { (exit 1); exit 1; }; }
20820 fi
20821 cat >conftest.$ac_ext <<_ACEOF
20822 /* confdefs.h.  */
20823 _ACEOF
20824 cat confdefs.h >>conftest.$ac_ext
20825 cat >>conftest.$ac_ext <<_ACEOF
20826 /* end confdefs.h.  */
20827
20828 /* Override any gcc2 internal prototype to avoid an error.  */
20829 #ifdef __cplusplus
20830 extern "C"
20831 #endif
20832 /* We use char because int might match the return type of a gcc2
20833    builtin and then its argument prototype would still apply.  */
20834 char asinh ();
20835 int
20836 main ()
20837 {
20838 asinh ();
20839   ;
20840   return 0;
20841 }
20842 _ACEOF
20843 rm -f conftest.$ac_objext conftest$ac_exeext
20844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20845   (eval $ac_link) 2>conftest.er1
20846   ac_status=$?
20847   grep -v '^ *+' conftest.er1 >conftest.err
20848   rm -f conftest.er1
20849   cat conftest.err >&5
20850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851   (exit $ac_status); } &&
20852          { ac_try='test -z "$ac_c_werror_flag"
20853                          || test ! -s conftest.err'
20854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855   (eval $ac_try) 2>&5
20856   ac_status=$?
20857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858   (exit $ac_status); }; } &&
20859          { ac_try='test -s conftest$ac_exeext'
20860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861   (eval $ac_try) 2>&5
20862   ac_status=$?
20863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864   (exit $ac_status); }; }; then
20865   ac_cv_lib_m_asinh=yes
20866 else
20867   echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.$ac_ext >&5
20869
20870 ac_cv_lib_m_asinh=no
20871 fi
20872 rm -f conftest.err conftest.$ac_objext \
20873       conftest$ac_exeext conftest.$ac_ext
20874 LIBS=$ac_check_lib_save_LIBS
20875 fi
20876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20877 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20878 if test $ac_cv_lib_m_asinh = yes; then
20879
20880 cat >>confdefs.h <<\_ACEOF
20881 #define HAVE_ASINH 1
20882 _ACEOF
20883
20884 fi
20885
20886 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20887 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20888 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20889   echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891   ac_check_lib_save_LIBS=$LIBS
20892 LIBS="-lm  $LIBS"
20893 if test x$gcc_no_link = xyes; then
20894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20896    { (exit 1); exit 1; }; }
20897 fi
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h.  */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h.  */
20904
20905 /* Override any gcc2 internal prototype to avoid an error.  */
20906 #ifdef __cplusplus
20907 extern "C"
20908 #endif
20909 /* We use char because int might match the return type of a gcc2
20910    builtin and then its argument prototype would still apply.  */
20911 char asinhl ();
20912 int
20913 main ()
20914 {
20915 asinhl ();
20916   ;
20917   return 0;
20918 }
20919 _ACEOF
20920 rm -f conftest.$ac_objext conftest$ac_exeext
20921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20922   (eval $ac_link) 2>conftest.er1
20923   ac_status=$?
20924   grep -v '^ *+' conftest.er1 >conftest.err
20925   rm -f conftest.er1
20926   cat conftest.err >&5
20927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928   (exit $ac_status); } &&
20929          { ac_try='test -z "$ac_c_werror_flag"
20930                          || test ! -s conftest.err'
20931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932   (eval $ac_try) 2>&5
20933   ac_status=$?
20934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935   (exit $ac_status); }; } &&
20936          { ac_try='test -s conftest$ac_exeext'
20937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938   (eval $ac_try) 2>&5
20939   ac_status=$?
20940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941   (exit $ac_status); }; }; then
20942   ac_cv_lib_m_asinhl=yes
20943 else
20944   echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947 ac_cv_lib_m_asinhl=no
20948 fi
20949 rm -f conftest.err conftest.$ac_objext \
20950       conftest$ac_exeext conftest.$ac_ext
20951 LIBS=$ac_check_lib_save_LIBS
20952 fi
20953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20954 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20955 if test $ac_cv_lib_m_asinhl = yes; then
20956
20957 cat >>confdefs.h <<\_ACEOF
20958 #define HAVE_ASINHL 1
20959 _ACEOF
20960
20961 fi
20962
20963 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20964 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20965 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20966   echo $ECHO_N "(cached) $ECHO_C" >&6
20967 else
20968   ac_check_lib_save_LIBS=$LIBS
20969 LIBS="-lm  $LIBS"
20970 if test x$gcc_no_link = xyes; then
20971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20973    { (exit 1); exit 1; }; }
20974 fi
20975 cat >conftest.$ac_ext <<_ACEOF
20976 /* confdefs.h.  */
20977 _ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h.  */
20981
20982 /* Override any gcc2 internal prototype to avoid an error.  */
20983 #ifdef __cplusplus
20984 extern "C"
20985 #endif
20986 /* We use char because int might match the return type of a gcc2
20987    builtin and then its argument prototype would still apply.  */
20988 char atan2f ();
20989 int
20990 main ()
20991 {
20992 atan2f ();
20993   ;
20994   return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest.$ac_objext conftest$ac_exeext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20999   (eval $ac_link) 2>conftest.er1
21000   ac_status=$?
21001   grep -v '^ *+' conftest.er1 >conftest.err
21002   rm -f conftest.er1
21003   cat conftest.err >&5
21004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005   (exit $ac_status); } &&
21006          { ac_try='test -z "$ac_c_werror_flag"
21007                          || test ! -s conftest.err'
21008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009   (eval $ac_try) 2>&5
21010   ac_status=$?
21011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012   (exit $ac_status); }; } &&
21013          { ac_try='test -s conftest$ac_exeext'
21014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015   (eval $ac_try) 2>&5
21016   ac_status=$?
21017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018   (exit $ac_status); }; }; then
21019   ac_cv_lib_m_atan2f=yes
21020 else
21021   echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21023
21024 ac_cv_lib_m_atan2f=no
21025 fi
21026 rm -f conftest.err conftest.$ac_objext \
21027       conftest$ac_exeext conftest.$ac_ext
21028 LIBS=$ac_check_lib_save_LIBS
21029 fi
21030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21031 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21032 if test $ac_cv_lib_m_atan2f = yes; then
21033
21034 cat >>confdefs.h <<\_ACEOF
21035 #define HAVE_ATAN2F 1
21036 _ACEOF
21037
21038 fi
21039
21040 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21041 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21042 if test "${ac_cv_lib_m_atan2+set}" = set; then
21043   echo $ECHO_N "(cached) $ECHO_C" >&6
21044 else
21045   ac_check_lib_save_LIBS=$LIBS
21046 LIBS="-lm  $LIBS"
21047 if test x$gcc_no_link = xyes; then
21048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21050    { (exit 1); exit 1; }; }
21051 fi
21052 cat >conftest.$ac_ext <<_ACEOF
21053 /* confdefs.h.  */
21054 _ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h.  */
21058
21059 /* Override any gcc2 internal prototype to avoid an error.  */
21060 #ifdef __cplusplus
21061 extern "C"
21062 #endif
21063 /* We use char because int might match the return type of a gcc2
21064    builtin and then its argument prototype would still apply.  */
21065 char atan2 ();
21066 int
21067 main ()
21068 {
21069 atan2 ();
21070   ;
21071   return 0;
21072 }
21073 _ACEOF
21074 rm -f conftest.$ac_objext conftest$ac_exeext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21076   (eval $ac_link) 2>conftest.er1
21077   ac_status=$?
21078   grep -v '^ *+' conftest.er1 >conftest.err
21079   rm -f conftest.er1
21080   cat conftest.err >&5
21081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082   (exit $ac_status); } &&
21083          { ac_try='test -z "$ac_c_werror_flag"
21084                          || test ! -s conftest.err'
21085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086   (eval $ac_try) 2>&5
21087   ac_status=$?
21088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089   (exit $ac_status); }; } &&
21090          { ac_try='test -s conftest$ac_exeext'
21091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092   (eval $ac_try) 2>&5
21093   ac_status=$?
21094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095   (exit $ac_status); }; }; then
21096   ac_cv_lib_m_atan2=yes
21097 else
21098   echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21100
21101 ac_cv_lib_m_atan2=no
21102 fi
21103 rm -f conftest.err conftest.$ac_objext \
21104       conftest$ac_exeext conftest.$ac_ext
21105 LIBS=$ac_check_lib_save_LIBS
21106 fi
21107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21108 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21109 if test $ac_cv_lib_m_atan2 = yes; then
21110
21111 cat >>confdefs.h <<\_ACEOF
21112 #define HAVE_ATAN2 1
21113 _ACEOF
21114
21115 fi
21116
21117 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21118 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21119 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21120   echo $ECHO_N "(cached) $ECHO_C" >&6
21121 else
21122   ac_check_lib_save_LIBS=$LIBS
21123 LIBS="-lm  $LIBS"
21124 if test x$gcc_no_link = xyes; then
21125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21127    { (exit 1); exit 1; }; }
21128 fi
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h.  */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h.  */
21135
21136 /* Override any gcc2 internal prototype to avoid an error.  */
21137 #ifdef __cplusplus
21138 extern "C"
21139 #endif
21140 /* We use char because int might match the return type of a gcc2
21141    builtin and then its argument prototype would still apply.  */
21142 char atan2l ();
21143 int
21144 main ()
21145 {
21146 atan2l ();
21147   ;
21148   return 0;
21149 }
21150 _ACEOF
21151 rm -f conftest.$ac_objext conftest$ac_exeext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21153   (eval $ac_link) 2>conftest.er1
21154   ac_status=$?
21155   grep -v '^ *+' conftest.er1 >conftest.err
21156   rm -f conftest.er1
21157   cat conftest.err >&5
21158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159   (exit $ac_status); } &&
21160          { ac_try='test -z "$ac_c_werror_flag"
21161                          || test ! -s conftest.err'
21162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163   (eval $ac_try) 2>&5
21164   ac_status=$?
21165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166   (exit $ac_status); }; } &&
21167          { ac_try='test -s conftest$ac_exeext'
21168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169   (eval $ac_try) 2>&5
21170   ac_status=$?
21171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172   (exit $ac_status); }; }; then
21173   ac_cv_lib_m_atan2l=yes
21174 else
21175   echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 ac_cv_lib_m_atan2l=no
21179 fi
21180 rm -f conftest.err conftest.$ac_objext \
21181       conftest$ac_exeext conftest.$ac_ext
21182 LIBS=$ac_check_lib_save_LIBS
21183 fi
21184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21185 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21186 if test $ac_cv_lib_m_atan2l = yes; then
21187
21188 cat >>confdefs.h <<\_ACEOF
21189 #define HAVE_ATAN2L 1
21190 _ACEOF
21191
21192 fi
21193
21194 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21195 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21196 if test "${ac_cv_lib_m_atanf+set}" = set; then
21197   echo $ECHO_N "(cached) $ECHO_C" >&6
21198 else
21199   ac_check_lib_save_LIBS=$LIBS
21200 LIBS="-lm  $LIBS"
21201 if test x$gcc_no_link = xyes; then
21202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21204    { (exit 1); exit 1; }; }
21205 fi
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h.  */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h.  */
21212
21213 /* Override any gcc2 internal prototype to avoid an error.  */
21214 #ifdef __cplusplus
21215 extern "C"
21216 #endif
21217 /* We use char because int might match the return type of a gcc2
21218    builtin and then its argument prototype would still apply.  */
21219 char atanf ();
21220 int
21221 main ()
21222 {
21223 atanf ();
21224   ;
21225   return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest.$ac_objext conftest$ac_exeext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21230   (eval $ac_link) 2>conftest.er1
21231   ac_status=$?
21232   grep -v '^ *+' conftest.er1 >conftest.err
21233   rm -f conftest.er1
21234   cat conftest.err >&5
21235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236   (exit $ac_status); } &&
21237          { ac_try='test -z "$ac_c_werror_flag"
21238                          || test ! -s conftest.err'
21239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240   (eval $ac_try) 2>&5
21241   ac_status=$?
21242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243   (exit $ac_status); }; } &&
21244          { ac_try='test -s conftest$ac_exeext'
21245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246   (eval $ac_try) 2>&5
21247   ac_status=$?
21248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249   (exit $ac_status); }; }; then
21250   ac_cv_lib_m_atanf=yes
21251 else
21252   echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 ac_cv_lib_m_atanf=no
21256 fi
21257 rm -f conftest.err conftest.$ac_objext \
21258       conftest$ac_exeext conftest.$ac_ext
21259 LIBS=$ac_check_lib_save_LIBS
21260 fi
21261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21262 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21263 if test $ac_cv_lib_m_atanf = yes; then
21264
21265 cat >>confdefs.h <<\_ACEOF
21266 #define HAVE_ATANF 1
21267 _ACEOF
21268
21269 fi
21270
21271 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21272 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21273 if test "${ac_cv_lib_m_atan+set}" = set; then
21274   echo $ECHO_N "(cached) $ECHO_C" >&6
21275 else
21276   ac_check_lib_save_LIBS=$LIBS
21277 LIBS="-lm  $LIBS"
21278 if test x$gcc_no_link = xyes; then
21279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21281    { (exit 1); exit 1; }; }
21282 fi
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h.  */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h.  */
21289
21290 /* Override any gcc2 internal prototype to avoid an error.  */
21291 #ifdef __cplusplus
21292 extern "C"
21293 #endif
21294 /* We use char because int might match the return type of a gcc2
21295    builtin and then its argument prototype would still apply.  */
21296 char atan ();
21297 int
21298 main ()
21299 {
21300 atan ();
21301   ;
21302   return 0;
21303 }
21304 _ACEOF
21305 rm -f conftest.$ac_objext conftest$ac_exeext
21306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21307   (eval $ac_link) 2>conftest.er1
21308   ac_status=$?
21309   grep -v '^ *+' conftest.er1 >conftest.err
21310   rm -f conftest.er1
21311   cat conftest.err >&5
21312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313   (exit $ac_status); } &&
21314          { ac_try='test -z "$ac_c_werror_flag"
21315                          || test ! -s conftest.err'
21316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317   (eval $ac_try) 2>&5
21318   ac_status=$?
21319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320   (exit $ac_status); }; } &&
21321          { ac_try='test -s conftest$ac_exeext'
21322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323   (eval $ac_try) 2>&5
21324   ac_status=$?
21325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326   (exit $ac_status); }; }; then
21327   ac_cv_lib_m_atan=yes
21328 else
21329   echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21331
21332 ac_cv_lib_m_atan=no
21333 fi
21334 rm -f conftest.err conftest.$ac_objext \
21335       conftest$ac_exeext conftest.$ac_ext
21336 LIBS=$ac_check_lib_save_LIBS
21337 fi
21338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21339 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21340 if test $ac_cv_lib_m_atan = yes; then
21341
21342 cat >>confdefs.h <<\_ACEOF
21343 #define HAVE_ATAN 1
21344 _ACEOF
21345
21346 fi
21347
21348 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21349 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21350 if test "${ac_cv_lib_m_atanl+set}" = set; then
21351   echo $ECHO_N "(cached) $ECHO_C" >&6
21352 else
21353   ac_check_lib_save_LIBS=$LIBS
21354 LIBS="-lm  $LIBS"
21355 if test x$gcc_no_link = xyes; then
21356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21358    { (exit 1); exit 1; }; }
21359 fi
21360 cat >conftest.$ac_ext <<_ACEOF
21361 /* confdefs.h.  */
21362 _ACEOF
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h.  */
21366
21367 /* Override any gcc2 internal prototype to avoid an error.  */
21368 #ifdef __cplusplus
21369 extern "C"
21370 #endif
21371 /* We use char because int might match the return type of a gcc2
21372    builtin and then its argument prototype would still apply.  */
21373 char atanl ();
21374 int
21375 main ()
21376 {
21377 atanl ();
21378   ;
21379   return 0;
21380 }
21381 _ACEOF
21382 rm -f conftest.$ac_objext conftest$ac_exeext
21383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21384   (eval $ac_link) 2>conftest.er1
21385   ac_status=$?
21386   grep -v '^ *+' conftest.er1 >conftest.err
21387   rm -f conftest.er1
21388   cat conftest.err >&5
21389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390   (exit $ac_status); } &&
21391          { ac_try='test -z "$ac_c_werror_flag"
21392                          || test ! -s conftest.err'
21393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394   (eval $ac_try) 2>&5
21395   ac_status=$?
21396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397   (exit $ac_status); }; } &&
21398          { ac_try='test -s conftest$ac_exeext'
21399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400   (eval $ac_try) 2>&5
21401   ac_status=$?
21402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403   (exit $ac_status); }; }; then
21404   ac_cv_lib_m_atanl=yes
21405 else
21406   echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.$ac_ext >&5
21408
21409 ac_cv_lib_m_atanl=no
21410 fi
21411 rm -f conftest.err conftest.$ac_objext \
21412       conftest$ac_exeext conftest.$ac_ext
21413 LIBS=$ac_check_lib_save_LIBS
21414 fi
21415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21416 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21417 if test $ac_cv_lib_m_atanl = yes; then
21418
21419 cat >>confdefs.h <<\_ACEOF
21420 #define HAVE_ATANL 1
21421 _ACEOF
21422
21423 fi
21424
21425 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21426 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21427 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21428   echo $ECHO_N "(cached) $ECHO_C" >&6
21429 else
21430   ac_check_lib_save_LIBS=$LIBS
21431 LIBS="-lm  $LIBS"
21432 if test x$gcc_no_link = xyes; then
21433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21435    { (exit 1); exit 1; }; }
21436 fi
21437 cat >conftest.$ac_ext <<_ACEOF
21438 /* confdefs.h.  */
21439 _ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h.  */
21443
21444 /* Override any gcc2 internal prototype to avoid an error.  */
21445 #ifdef __cplusplus
21446 extern "C"
21447 #endif
21448 /* We use char because int might match the return type of a gcc2
21449    builtin and then its argument prototype would still apply.  */
21450 char atanhf ();
21451 int
21452 main ()
21453 {
21454 atanhf ();
21455   ;
21456   return 0;
21457 }
21458 _ACEOF
21459 rm -f conftest.$ac_objext conftest$ac_exeext
21460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21461   (eval $ac_link) 2>conftest.er1
21462   ac_status=$?
21463   grep -v '^ *+' conftest.er1 >conftest.err
21464   rm -f conftest.er1
21465   cat conftest.err >&5
21466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467   (exit $ac_status); } &&
21468          { ac_try='test -z "$ac_c_werror_flag"
21469                          || test ! -s conftest.err'
21470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471   (eval $ac_try) 2>&5
21472   ac_status=$?
21473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474   (exit $ac_status); }; } &&
21475          { ac_try='test -s conftest$ac_exeext'
21476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477   (eval $ac_try) 2>&5
21478   ac_status=$?
21479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480   (exit $ac_status); }; }; then
21481   ac_cv_lib_m_atanhf=yes
21482 else
21483   echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21485
21486 ac_cv_lib_m_atanhf=no
21487 fi
21488 rm -f conftest.err conftest.$ac_objext \
21489       conftest$ac_exeext conftest.$ac_ext
21490 LIBS=$ac_check_lib_save_LIBS
21491 fi
21492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21493 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21494 if test $ac_cv_lib_m_atanhf = yes; then
21495
21496 cat >>confdefs.h <<\_ACEOF
21497 #define HAVE_ATANHF 1
21498 _ACEOF
21499
21500 fi
21501
21502 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21503 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21504 if test "${ac_cv_lib_m_atanh+set}" = set; then
21505   echo $ECHO_N "(cached) $ECHO_C" >&6
21506 else
21507   ac_check_lib_save_LIBS=$LIBS
21508 LIBS="-lm  $LIBS"
21509 if test x$gcc_no_link = xyes; then
21510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21512    { (exit 1); exit 1; }; }
21513 fi
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h.  */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h.  */
21520
21521 /* Override any gcc2 internal prototype to avoid an error.  */
21522 #ifdef __cplusplus
21523 extern "C"
21524 #endif
21525 /* We use char because int might match the return type of a gcc2
21526    builtin and then its argument prototype would still apply.  */
21527 char atanh ();
21528 int
21529 main ()
21530 {
21531 atanh ();
21532   ;
21533   return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538   (eval $ac_link) 2>conftest.er1
21539   ac_status=$?
21540   grep -v '^ *+' conftest.er1 >conftest.err
21541   rm -f conftest.er1
21542   cat conftest.err >&5
21543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544   (exit $ac_status); } &&
21545          { ac_try='test -z "$ac_c_werror_flag"
21546                          || test ! -s conftest.err'
21547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548   (eval $ac_try) 2>&5
21549   ac_status=$?
21550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551   (exit $ac_status); }; } &&
21552          { ac_try='test -s conftest$ac_exeext'
21553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554   (eval $ac_try) 2>&5
21555   ac_status=$?
21556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557   (exit $ac_status); }; }; then
21558   ac_cv_lib_m_atanh=yes
21559 else
21560   echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 ac_cv_lib_m_atanh=no
21564 fi
21565 rm -f conftest.err conftest.$ac_objext \
21566       conftest$ac_exeext conftest.$ac_ext
21567 LIBS=$ac_check_lib_save_LIBS
21568 fi
21569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21570 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21571 if test $ac_cv_lib_m_atanh = yes; then
21572
21573 cat >>confdefs.h <<\_ACEOF
21574 #define HAVE_ATANH 1
21575 _ACEOF
21576
21577 fi
21578
21579 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21580 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21581 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21582   echo $ECHO_N "(cached) $ECHO_C" >&6
21583 else
21584   ac_check_lib_save_LIBS=$LIBS
21585 LIBS="-lm  $LIBS"
21586 if test x$gcc_no_link = xyes; then
21587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21589    { (exit 1); exit 1; }; }
21590 fi
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h.  */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h.  */
21597
21598 /* Override any gcc2 internal prototype to avoid an error.  */
21599 #ifdef __cplusplus
21600 extern "C"
21601 #endif
21602 /* We use char because int might match the return type of a gcc2
21603    builtin and then its argument prototype would still apply.  */
21604 char atanhl ();
21605 int
21606 main ()
21607 {
21608 atanhl ();
21609   ;
21610   return 0;
21611 }
21612 _ACEOF
21613 rm -f conftest.$ac_objext conftest$ac_exeext
21614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21615   (eval $ac_link) 2>conftest.er1
21616   ac_status=$?
21617   grep -v '^ *+' conftest.er1 >conftest.err
21618   rm -f conftest.er1
21619   cat conftest.err >&5
21620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621   (exit $ac_status); } &&
21622          { ac_try='test -z "$ac_c_werror_flag"
21623                          || test ! -s conftest.err'
21624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625   (eval $ac_try) 2>&5
21626   ac_status=$?
21627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628   (exit $ac_status); }; } &&
21629          { ac_try='test -s conftest$ac_exeext'
21630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631   (eval $ac_try) 2>&5
21632   ac_status=$?
21633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634   (exit $ac_status); }; }; then
21635   ac_cv_lib_m_atanhl=yes
21636 else
21637   echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21639
21640 ac_cv_lib_m_atanhl=no
21641 fi
21642 rm -f conftest.err conftest.$ac_objext \
21643       conftest$ac_exeext conftest.$ac_ext
21644 LIBS=$ac_check_lib_save_LIBS
21645 fi
21646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21647 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21648 if test $ac_cv_lib_m_atanhl = yes; then
21649
21650 cat >>confdefs.h <<\_ACEOF
21651 #define HAVE_ATANHL 1
21652 _ACEOF
21653
21654 fi
21655
21656 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21657 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21658 if test "${ac_cv_lib_m_cargf+set}" = set; then
21659   echo $ECHO_N "(cached) $ECHO_C" >&6
21660 else
21661   ac_check_lib_save_LIBS=$LIBS
21662 LIBS="-lm  $LIBS"
21663 if test x$gcc_no_link = xyes; then
21664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21666    { (exit 1); exit 1; }; }
21667 fi
21668 cat >conftest.$ac_ext <<_ACEOF
21669 /* confdefs.h.  */
21670 _ACEOF
21671 cat confdefs.h >>conftest.$ac_ext
21672 cat >>conftest.$ac_ext <<_ACEOF
21673 /* end confdefs.h.  */
21674
21675 /* Override any gcc2 internal prototype to avoid an error.  */
21676 #ifdef __cplusplus
21677 extern "C"
21678 #endif
21679 /* We use char because int might match the return type of a gcc2
21680    builtin and then its argument prototype would still apply.  */
21681 char cargf ();
21682 int
21683 main ()
21684 {
21685 cargf ();
21686   ;
21687   return 0;
21688 }
21689 _ACEOF
21690 rm -f conftest.$ac_objext conftest$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692   (eval $ac_link) 2>conftest.er1
21693   ac_status=$?
21694   grep -v '^ *+' conftest.er1 >conftest.err
21695   rm -f conftest.er1
21696   cat conftest.err >&5
21697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698   (exit $ac_status); } &&
21699          { ac_try='test -z "$ac_c_werror_flag"
21700                          || test ! -s conftest.err'
21701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702   (eval $ac_try) 2>&5
21703   ac_status=$?
21704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705   (exit $ac_status); }; } &&
21706          { ac_try='test -s conftest$ac_exeext'
21707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21708   (eval $ac_try) 2>&5
21709   ac_status=$?
21710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711   (exit $ac_status); }; }; then
21712   ac_cv_lib_m_cargf=yes
21713 else
21714   echo "$as_me: failed program was:" >&5
21715 sed 's/^/| /' conftest.$ac_ext >&5
21716
21717 ac_cv_lib_m_cargf=no
21718 fi
21719 rm -f conftest.err conftest.$ac_objext \
21720       conftest$ac_exeext conftest.$ac_ext
21721 LIBS=$ac_check_lib_save_LIBS
21722 fi
21723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21724 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21725 if test $ac_cv_lib_m_cargf = yes; then
21726
21727 cat >>confdefs.h <<\_ACEOF
21728 #define HAVE_CARGF 1
21729 _ACEOF
21730
21731 fi
21732
21733 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21734 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21735 if test "${ac_cv_lib_m_carg+set}" = set; then
21736   echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21738   ac_check_lib_save_LIBS=$LIBS
21739 LIBS="-lm  $LIBS"
21740 if test x$gcc_no_link = xyes; then
21741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21743    { (exit 1); exit 1; }; }
21744 fi
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h.  */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h.  */
21751
21752 /* Override any gcc2 internal prototype to avoid an error.  */
21753 #ifdef __cplusplus
21754 extern "C"
21755 #endif
21756 /* We use char because int might match the return type of a gcc2
21757    builtin and then its argument prototype would still apply.  */
21758 char carg ();
21759 int
21760 main ()
21761 {
21762 carg ();
21763   ;
21764   return 0;
21765 }
21766 _ACEOF
21767 rm -f conftest.$ac_objext conftest$ac_exeext
21768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21769   (eval $ac_link) 2>conftest.er1
21770   ac_status=$?
21771   grep -v '^ *+' conftest.er1 >conftest.err
21772   rm -f conftest.er1
21773   cat conftest.err >&5
21774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775   (exit $ac_status); } &&
21776          { ac_try='test -z "$ac_c_werror_flag"
21777                          || test ! -s conftest.err'
21778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779   (eval $ac_try) 2>&5
21780   ac_status=$?
21781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782   (exit $ac_status); }; } &&
21783          { ac_try='test -s conftest$ac_exeext'
21784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785   (eval $ac_try) 2>&5
21786   ac_status=$?
21787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788   (exit $ac_status); }; }; then
21789   ac_cv_lib_m_carg=yes
21790 else
21791   echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.$ac_ext >&5
21793
21794 ac_cv_lib_m_carg=no
21795 fi
21796 rm -f conftest.err conftest.$ac_objext \
21797       conftest$ac_exeext conftest.$ac_ext
21798 LIBS=$ac_check_lib_save_LIBS
21799 fi
21800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21801 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21802 if test $ac_cv_lib_m_carg = yes; then
21803
21804 cat >>confdefs.h <<\_ACEOF
21805 #define HAVE_CARG 1
21806 _ACEOF
21807
21808 fi
21809
21810 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21811 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21812 if test "${ac_cv_lib_m_cargl+set}" = set; then
21813   echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815   ac_check_lib_save_LIBS=$LIBS
21816 LIBS="-lm  $LIBS"
21817 if test x$gcc_no_link = xyes; then
21818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21820    { (exit 1); exit 1; }; }
21821 fi
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h.  */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h.  */
21828
21829 /* Override any gcc2 internal prototype to avoid an error.  */
21830 #ifdef __cplusplus
21831 extern "C"
21832 #endif
21833 /* We use char because int might match the return type of a gcc2
21834    builtin and then its argument prototype would still apply.  */
21835 char cargl ();
21836 int
21837 main ()
21838 {
21839 cargl ();
21840   ;
21841   return 0;
21842 }
21843 _ACEOF
21844 rm -f conftest.$ac_objext conftest$ac_exeext
21845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21846   (eval $ac_link) 2>conftest.er1
21847   ac_status=$?
21848   grep -v '^ *+' conftest.er1 >conftest.err
21849   rm -f conftest.er1
21850   cat conftest.err >&5
21851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852   (exit $ac_status); } &&
21853          { ac_try='test -z "$ac_c_werror_flag"
21854                          || test ! -s conftest.err'
21855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856   (eval $ac_try) 2>&5
21857   ac_status=$?
21858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859   (exit $ac_status); }; } &&
21860          { ac_try='test -s conftest$ac_exeext'
21861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862   (eval $ac_try) 2>&5
21863   ac_status=$?
21864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865   (exit $ac_status); }; }; then
21866   ac_cv_lib_m_cargl=yes
21867 else
21868   echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871 ac_cv_lib_m_cargl=no
21872 fi
21873 rm -f conftest.err conftest.$ac_objext \
21874       conftest$ac_exeext conftest.$ac_ext
21875 LIBS=$ac_check_lib_save_LIBS
21876 fi
21877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21878 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21879 if test $ac_cv_lib_m_cargl = yes; then
21880
21881 cat >>confdefs.h <<\_ACEOF
21882 #define HAVE_CARGL 1
21883 _ACEOF
21884
21885 fi
21886
21887 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21888 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21889 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21890   echo $ECHO_N "(cached) $ECHO_C" >&6
21891 else
21892   ac_check_lib_save_LIBS=$LIBS
21893 LIBS="-lm  $LIBS"
21894 if test x$gcc_no_link = xyes; then
21895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21897    { (exit 1); exit 1; }; }
21898 fi
21899 cat >conftest.$ac_ext <<_ACEOF
21900 /* confdefs.h.  */
21901 _ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h.  */
21905
21906 /* Override any gcc2 internal prototype to avoid an error.  */
21907 #ifdef __cplusplus
21908 extern "C"
21909 #endif
21910 /* We use char because int might match the return type of a gcc2
21911    builtin and then its argument prototype would still apply.  */
21912 char ceilf ();
21913 int
21914 main ()
21915 {
21916 ceilf ();
21917   ;
21918   return 0;
21919 }
21920 _ACEOF
21921 rm -f conftest.$ac_objext conftest$ac_exeext
21922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21923   (eval $ac_link) 2>conftest.er1
21924   ac_status=$?
21925   grep -v '^ *+' conftest.er1 >conftest.err
21926   rm -f conftest.er1
21927   cat conftest.err >&5
21928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929   (exit $ac_status); } &&
21930          { ac_try='test -z "$ac_c_werror_flag"
21931                          || test ! -s conftest.err'
21932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933   (eval $ac_try) 2>&5
21934   ac_status=$?
21935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936   (exit $ac_status); }; } &&
21937          { ac_try='test -s conftest$ac_exeext'
21938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939   (eval $ac_try) 2>&5
21940   ac_status=$?
21941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942   (exit $ac_status); }; }; then
21943   ac_cv_lib_m_ceilf=yes
21944 else
21945   echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21947
21948 ac_cv_lib_m_ceilf=no
21949 fi
21950 rm -f conftest.err conftest.$ac_objext \
21951       conftest$ac_exeext conftest.$ac_ext
21952 LIBS=$ac_check_lib_save_LIBS
21953 fi
21954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21955 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21956 if test $ac_cv_lib_m_ceilf = yes; then
21957
21958 cat >>confdefs.h <<\_ACEOF
21959 #define HAVE_CEILF 1
21960 _ACEOF
21961
21962 fi
21963
21964 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21965 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21966 if test "${ac_cv_lib_m_ceil+set}" = set; then
21967   echo $ECHO_N "(cached) $ECHO_C" >&6
21968 else
21969   ac_check_lib_save_LIBS=$LIBS
21970 LIBS="-lm  $LIBS"
21971 if test x$gcc_no_link = xyes; then
21972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21974    { (exit 1); exit 1; }; }
21975 fi
21976 cat >conftest.$ac_ext <<_ACEOF
21977 /* confdefs.h.  */
21978 _ACEOF
21979 cat confdefs.h >>conftest.$ac_ext
21980 cat >>conftest.$ac_ext <<_ACEOF
21981 /* end confdefs.h.  */
21982
21983 /* Override any gcc2 internal prototype to avoid an error.  */
21984 #ifdef __cplusplus
21985 extern "C"
21986 #endif
21987 /* We use char because int might match the return type of a gcc2
21988    builtin and then its argument prototype would still apply.  */
21989 char ceil ();
21990 int
21991 main ()
21992 {
21993 ceil ();
21994   ;
21995   return 0;
21996 }
21997 _ACEOF
21998 rm -f conftest.$ac_objext conftest$ac_exeext
21999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22000   (eval $ac_link) 2>conftest.er1
22001   ac_status=$?
22002   grep -v '^ *+' conftest.er1 >conftest.err
22003   rm -f conftest.er1
22004   cat conftest.err >&5
22005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006   (exit $ac_status); } &&
22007          { ac_try='test -z "$ac_c_werror_flag"
22008                          || test ! -s conftest.err'
22009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010   (eval $ac_try) 2>&5
22011   ac_status=$?
22012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013   (exit $ac_status); }; } &&
22014          { ac_try='test -s conftest$ac_exeext'
22015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016   (eval $ac_try) 2>&5
22017   ac_status=$?
22018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019   (exit $ac_status); }; }; then
22020   ac_cv_lib_m_ceil=yes
22021 else
22022   echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_cv_lib_m_ceil=no
22026 fi
22027 rm -f conftest.err conftest.$ac_objext \
22028       conftest$ac_exeext conftest.$ac_ext
22029 LIBS=$ac_check_lib_save_LIBS
22030 fi
22031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22032 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22033 if test $ac_cv_lib_m_ceil = yes; then
22034
22035 cat >>confdefs.h <<\_ACEOF
22036 #define HAVE_CEIL 1
22037 _ACEOF
22038
22039 fi
22040
22041 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22042 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22043 if test "${ac_cv_lib_m_ceill+set}" = set; then
22044   echo $ECHO_N "(cached) $ECHO_C" >&6
22045 else
22046   ac_check_lib_save_LIBS=$LIBS
22047 LIBS="-lm  $LIBS"
22048 if test x$gcc_no_link = xyes; then
22049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22051    { (exit 1); exit 1; }; }
22052 fi
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h.  */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h.  */
22059
22060 /* Override any gcc2 internal prototype to avoid an error.  */
22061 #ifdef __cplusplus
22062 extern "C"
22063 #endif
22064 /* We use char because int might match the return type of a gcc2
22065    builtin and then its argument prototype would still apply.  */
22066 char ceill ();
22067 int
22068 main ()
22069 {
22070 ceill ();
22071   ;
22072   return 0;
22073 }
22074 _ACEOF
22075 rm -f conftest.$ac_objext conftest$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077   (eval $ac_link) 2>conftest.er1
22078   ac_status=$?
22079   grep -v '^ *+' conftest.er1 >conftest.err
22080   rm -f conftest.er1
22081   cat conftest.err >&5
22082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083   (exit $ac_status); } &&
22084          { ac_try='test -z "$ac_c_werror_flag"
22085                          || test ! -s conftest.err'
22086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087   (eval $ac_try) 2>&5
22088   ac_status=$?
22089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090   (exit $ac_status); }; } &&
22091          { ac_try='test -s conftest$ac_exeext'
22092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093   (eval $ac_try) 2>&5
22094   ac_status=$?
22095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096   (exit $ac_status); }; }; then
22097   ac_cv_lib_m_ceill=yes
22098 else
22099   echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_cv_lib_m_ceill=no
22103 fi
22104 rm -f conftest.err conftest.$ac_objext \
22105       conftest$ac_exeext conftest.$ac_ext
22106 LIBS=$ac_check_lib_save_LIBS
22107 fi
22108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22109 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22110 if test $ac_cv_lib_m_ceill = yes; then
22111
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_CEILL 1
22114 _ACEOF
22115
22116 fi
22117
22118 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22119 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22120 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22121   echo $ECHO_N "(cached) $ECHO_C" >&6
22122 else
22123   ac_check_lib_save_LIBS=$LIBS
22124 LIBS="-lm  $LIBS"
22125 if test x$gcc_no_link = xyes; then
22126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22128    { (exit 1); exit 1; }; }
22129 fi
22130 cat >conftest.$ac_ext <<_ACEOF
22131 /* confdefs.h.  */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h.  */
22136
22137 /* Override any gcc2 internal prototype to avoid an error.  */
22138 #ifdef __cplusplus
22139 extern "C"
22140 #endif
22141 /* We use char because int might match the return type of a gcc2
22142    builtin and then its argument prototype would still apply.  */
22143 char copysignf ();
22144 int
22145 main ()
22146 {
22147 copysignf ();
22148   ;
22149   return 0;
22150 }
22151 _ACEOF
22152 rm -f conftest.$ac_objext conftest$ac_exeext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22154   (eval $ac_link) 2>conftest.er1
22155   ac_status=$?
22156   grep -v '^ *+' conftest.er1 >conftest.err
22157   rm -f conftest.er1
22158   cat conftest.err >&5
22159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160   (exit $ac_status); } &&
22161          { ac_try='test -z "$ac_c_werror_flag"
22162                          || test ! -s conftest.err'
22163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164   (eval $ac_try) 2>&5
22165   ac_status=$?
22166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167   (exit $ac_status); }; } &&
22168          { ac_try='test -s conftest$ac_exeext'
22169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170   (eval $ac_try) 2>&5
22171   ac_status=$?
22172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173   (exit $ac_status); }; }; then
22174   ac_cv_lib_m_copysignf=yes
22175 else
22176   echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.$ac_ext >&5
22178
22179 ac_cv_lib_m_copysignf=no
22180 fi
22181 rm -f conftest.err conftest.$ac_objext \
22182       conftest$ac_exeext conftest.$ac_ext
22183 LIBS=$ac_check_lib_save_LIBS
22184 fi
22185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22186 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22187 if test $ac_cv_lib_m_copysignf = yes; then
22188
22189 cat >>confdefs.h <<\_ACEOF
22190 #define HAVE_COPYSIGNF 1
22191 _ACEOF
22192
22193 fi
22194
22195 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22196 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22197 if test "${ac_cv_lib_m_copysign+set}" = set; then
22198   echo $ECHO_N "(cached) $ECHO_C" >&6
22199 else
22200   ac_check_lib_save_LIBS=$LIBS
22201 LIBS="-lm  $LIBS"
22202 if test x$gcc_no_link = xyes; then
22203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22205    { (exit 1); exit 1; }; }
22206 fi
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h.  */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h.  */
22213
22214 /* Override any gcc2 internal prototype to avoid an error.  */
22215 #ifdef __cplusplus
22216 extern "C"
22217 #endif
22218 /* We use char because int might match the return type of a gcc2
22219    builtin and then its argument prototype would still apply.  */
22220 char copysign ();
22221 int
22222 main ()
22223 {
22224 copysign ();
22225   ;
22226   return 0;
22227 }
22228 _ACEOF
22229 rm -f conftest.$ac_objext conftest$ac_exeext
22230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22231   (eval $ac_link) 2>conftest.er1
22232   ac_status=$?
22233   grep -v '^ *+' conftest.er1 >conftest.err
22234   rm -f conftest.er1
22235   cat conftest.err >&5
22236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237   (exit $ac_status); } &&
22238          { ac_try='test -z "$ac_c_werror_flag"
22239                          || test ! -s conftest.err'
22240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241   (eval $ac_try) 2>&5
22242   ac_status=$?
22243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244   (exit $ac_status); }; } &&
22245          { ac_try='test -s conftest$ac_exeext'
22246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247   (eval $ac_try) 2>&5
22248   ac_status=$?
22249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250   (exit $ac_status); }; }; then
22251   ac_cv_lib_m_copysign=yes
22252 else
22253   echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22255
22256 ac_cv_lib_m_copysign=no
22257 fi
22258 rm -f conftest.err conftest.$ac_objext \
22259       conftest$ac_exeext conftest.$ac_ext
22260 LIBS=$ac_check_lib_save_LIBS
22261 fi
22262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22263 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22264 if test $ac_cv_lib_m_copysign = yes; then
22265
22266 cat >>confdefs.h <<\_ACEOF
22267 #define HAVE_COPYSIGN 1
22268 _ACEOF
22269
22270 fi
22271
22272 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22273 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22274 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22275   echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22277   ac_check_lib_save_LIBS=$LIBS
22278 LIBS="-lm  $LIBS"
22279 if test x$gcc_no_link = xyes; then
22280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22282    { (exit 1); exit 1; }; }
22283 fi
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h.  */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h.  */
22290
22291 /* Override any gcc2 internal prototype to avoid an error.  */
22292 #ifdef __cplusplus
22293 extern "C"
22294 #endif
22295 /* We use char because int might match the return type of a gcc2
22296    builtin and then its argument prototype would still apply.  */
22297 char copysignl ();
22298 int
22299 main ()
22300 {
22301 copysignl ();
22302   ;
22303   return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308   (eval $ac_link) 2>conftest.er1
22309   ac_status=$?
22310   grep -v '^ *+' conftest.er1 >conftest.err
22311   rm -f conftest.er1
22312   cat conftest.err >&5
22313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314   (exit $ac_status); } &&
22315          { ac_try='test -z "$ac_c_werror_flag"
22316                          || test ! -s conftest.err'
22317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318   (eval $ac_try) 2>&5
22319   ac_status=$?
22320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321   (exit $ac_status); }; } &&
22322          { ac_try='test -s conftest$ac_exeext'
22323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324   (eval $ac_try) 2>&5
22325   ac_status=$?
22326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327   (exit $ac_status); }; }; then
22328   ac_cv_lib_m_copysignl=yes
22329 else
22330   echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ac_cv_lib_m_copysignl=no
22334 fi
22335 rm -f conftest.err conftest.$ac_objext \
22336       conftest$ac_exeext conftest.$ac_ext
22337 LIBS=$ac_check_lib_save_LIBS
22338 fi
22339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22340 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22341 if test $ac_cv_lib_m_copysignl = yes; then
22342
22343 cat >>confdefs.h <<\_ACEOF
22344 #define HAVE_COPYSIGNL 1
22345 _ACEOF
22346
22347 fi
22348
22349 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22350 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22351 if test "${ac_cv_lib_m_cosf+set}" = set; then
22352   echo $ECHO_N "(cached) $ECHO_C" >&6
22353 else
22354   ac_check_lib_save_LIBS=$LIBS
22355 LIBS="-lm  $LIBS"
22356 if test x$gcc_no_link = xyes; then
22357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22359    { (exit 1); exit 1; }; }
22360 fi
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h.  */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h.  */
22367
22368 /* Override any gcc2 internal prototype to avoid an error.  */
22369 #ifdef __cplusplus
22370 extern "C"
22371 #endif
22372 /* We use char because int might match the return type of a gcc2
22373    builtin and then its argument prototype would still apply.  */
22374 char cosf ();
22375 int
22376 main ()
22377 {
22378 cosf ();
22379   ;
22380   return 0;
22381 }
22382 _ACEOF
22383 rm -f conftest.$ac_objext conftest$ac_exeext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22385   (eval $ac_link) 2>conftest.er1
22386   ac_status=$?
22387   grep -v '^ *+' conftest.er1 >conftest.err
22388   rm -f conftest.er1
22389   cat conftest.err >&5
22390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391   (exit $ac_status); } &&
22392          { ac_try='test -z "$ac_c_werror_flag"
22393                          || test ! -s conftest.err'
22394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395   (eval $ac_try) 2>&5
22396   ac_status=$?
22397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398   (exit $ac_status); }; } &&
22399          { ac_try='test -s conftest$ac_exeext'
22400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401   (eval $ac_try) 2>&5
22402   ac_status=$?
22403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404   (exit $ac_status); }; }; then
22405   ac_cv_lib_m_cosf=yes
22406 else
22407   echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22409
22410 ac_cv_lib_m_cosf=no
22411 fi
22412 rm -f conftest.err conftest.$ac_objext \
22413       conftest$ac_exeext conftest.$ac_ext
22414 LIBS=$ac_check_lib_save_LIBS
22415 fi
22416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22417 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22418 if test $ac_cv_lib_m_cosf = yes; then
22419
22420 cat >>confdefs.h <<\_ACEOF
22421 #define HAVE_COSF 1
22422 _ACEOF
22423
22424 fi
22425
22426 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22427 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22428 if test "${ac_cv_lib_m_cos+set}" = set; then
22429   echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22431   ac_check_lib_save_LIBS=$LIBS
22432 LIBS="-lm  $LIBS"
22433 if test x$gcc_no_link = xyes; then
22434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22436    { (exit 1); exit 1; }; }
22437 fi
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h.  */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h.  */
22444
22445 /* Override any gcc2 internal prototype to avoid an error.  */
22446 #ifdef __cplusplus
22447 extern "C"
22448 #endif
22449 /* We use char because int might match the return type of a gcc2
22450    builtin and then its argument prototype would still apply.  */
22451 char cos ();
22452 int
22453 main ()
22454 {
22455 cos ();
22456   ;
22457   return 0;
22458 }
22459 _ACEOF
22460 rm -f conftest.$ac_objext conftest$ac_exeext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22462   (eval $ac_link) 2>conftest.er1
22463   ac_status=$?
22464   grep -v '^ *+' conftest.er1 >conftest.err
22465   rm -f conftest.er1
22466   cat conftest.err >&5
22467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468   (exit $ac_status); } &&
22469          { ac_try='test -z "$ac_c_werror_flag"
22470                          || test ! -s conftest.err'
22471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472   (eval $ac_try) 2>&5
22473   ac_status=$?
22474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475   (exit $ac_status); }; } &&
22476          { ac_try='test -s conftest$ac_exeext'
22477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478   (eval $ac_try) 2>&5
22479   ac_status=$?
22480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481   (exit $ac_status); }; }; then
22482   ac_cv_lib_m_cos=yes
22483 else
22484   echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22486
22487 ac_cv_lib_m_cos=no
22488 fi
22489 rm -f conftest.err conftest.$ac_objext \
22490       conftest$ac_exeext conftest.$ac_ext
22491 LIBS=$ac_check_lib_save_LIBS
22492 fi
22493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22494 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22495 if test $ac_cv_lib_m_cos = yes; then
22496
22497 cat >>confdefs.h <<\_ACEOF
22498 #define HAVE_COS 1
22499 _ACEOF
22500
22501 fi
22502
22503 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22504 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22505 if test "${ac_cv_lib_m_cosl+set}" = set; then
22506   echo $ECHO_N "(cached) $ECHO_C" >&6
22507 else
22508   ac_check_lib_save_LIBS=$LIBS
22509 LIBS="-lm  $LIBS"
22510 if test x$gcc_no_link = xyes; then
22511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22513    { (exit 1); exit 1; }; }
22514 fi
22515 cat >conftest.$ac_ext <<_ACEOF
22516 /* confdefs.h.  */
22517 _ACEOF
22518 cat confdefs.h >>conftest.$ac_ext
22519 cat >>conftest.$ac_ext <<_ACEOF
22520 /* end confdefs.h.  */
22521
22522 /* Override any gcc2 internal prototype to avoid an error.  */
22523 #ifdef __cplusplus
22524 extern "C"
22525 #endif
22526 /* We use char because int might match the return type of a gcc2
22527    builtin and then its argument prototype would still apply.  */
22528 char cosl ();
22529 int
22530 main ()
22531 {
22532 cosl ();
22533   ;
22534   return 0;
22535 }
22536 _ACEOF
22537 rm -f conftest.$ac_objext conftest$ac_exeext
22538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22539   (eval $ac_link) 2>conftest.er1
22540   ac_status=$?
22541   grep -v '^ *+' conftest.er1 >conftest.err
22542   rm -f conftest.er1
22543   cat conftest.err >&5
22544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545   (exit $ac_status); } &&
22546          { ac_try='test -z "$ac_c_werror_flag"
22547                          || test ! -s conftest.err'
22548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22549   (eval $ac_try) 2>&5
22550   ac_status=$?
22551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552   (exit $ac_status); }; } &&
22553          { ac_try='test -s conftest$ac_exeext'
22554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555   (eval $ac_try) 2>&5
22556   ac_status=$?
22557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558   (exit $ac_status); }; }; then
22559   ac_cv_lib_m_cosl=yes
22560 else
22561   echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.$ac_ext >&5
22563
22564 ac_cv_lib_m_cosl=no
22565 fi
22566 rm -f conftest.err conftest.$ac_objext \
22567       conftest$ac_exeext conftest.$ac_ext
22568 LIBS=$ac_check_lib_save_LIBS
22569 fi
22570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22571 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22572 if test $ac_cv_lib_m_cosl = yes; then
22573
22574 cat >>confdefs.h <<\_ACEOF
22575 #define HAVE_COSL 1
22576 _ACEOF
22577
22578 fi
22579
22580 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22581 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22582 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22583   echo $ECHO_N "(cached) $ECHO_C" >&6
22584 else
22585   ac_check_lib_save_LIBS=$LIBS
22586 LIBS="-lm  $LIBS"
22587 if test x$gcc_no_link = xyes; then
22588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22590    { (exit 1); exit 1; }; }
22591 fi
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h.  */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h.  */
22598
22599 /* Override any gcc2 internal prototype to avoid an error.  */
22600 #ifdef __cplusplus
22601 extern "C"
22602 #endif
22603 /* We use char because int might match the return type of a gcc2
22604    builtin and then its argument prototype would still apply.  */
22605 char ccosf ();
22606 int
22607 main ()
22608 {
22609 ccosf ();
22610   ;
22611   return 0;
22612 }
22613 _ACEOF
22614 rm -f conftest.$ac_objext conftest$ac_exeext
22615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22616   (eval $ac_link) 2>conftest.er1
22617   ac_status=$?
22618   grep -v '^ *+' conftest.er1 >conftest.err
22619   rm -f conftest.er1
22620   cat conftest.err >&5
22621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622   (exit $ac_status); } &&
22623          { ac_try='test -z "$ac_c_werror_flag"
22624                          || test ! -s conftest.err'
22625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626   (eval $ac_try) 2>&5
22627   ac_status=$?
22628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629   (exit $ac_status); }; } &&
22630          { ac_try='test -s conftest$ac_exeext'
22631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632   (eval $ac_try) 2>&5
22633   ac_status=$?
22634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635   (exit $ac_status); }; }; then
22636   ac_cv_lib_m_ccosf=yes
22637 else
22638   echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22640
22641 ac_cv_lib_m_ccosf=no
22642 fi
22643 rm -f conftest.err conftest.$ac_objext \
22644       conftest$ac_exeext conftest.$ac_ext
22645 LIBS=$ac_check_lib_save_LIBS
22646 fi
22647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22648 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22649 if test $ac_cv_lib_m_ccosf = yes; then
22650
22651 cat >>confdefs.h <<\_ACEOF
22652 #define HAVE_CCOSF 1
22653 _ACEOF
22654
22655 fi
22656
22657 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22658 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22659 if test "${ac_cv_lib_m_ccos+set}" = set; then
22660   echo $ECHO_N "(cached) $ECHO_C" >&6
22661 else
22662   ac_check_lib_save_LIBS=$LIBS
22663 LIBS="-lm  $LIBS"
22664 if test x$gcc_no_link = xyes; then
22665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22667    { (exit 1); exit 1; }; }
22668 fi
22669 cat >conftest.$ac_ext <<_ACEOF
22670 /* confdefs.h.  */
22671 _ACEOF
22672 cat confdefs.h >>conftest.$ac_ext
22673 cat >>conftest.$ac_ext <<_ACEOF
22674 /* end confdefs.h.  */
22675
22676 /* Override any gcc2 internal prototype to avoid an error.  */
22677 #ifdef __cplusplus
22678 extern "C"
22679 #endif
22680 /* We use char because int might match the return type of a gcc2
22681    builtin and then its argument prototype would still apply.  */
22682 char ccos ();
22683 int
22684 main ()
22685 {
22686 ccos ();
22687   ;
22688   return 0;
22689 }
22690 _ACEOF
22691 rm -f conftest.$ac_objext conftest$ac_exeext
22692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22693   (eval $ac_link) 2>conftest.er1
22694   ac_status=$?
22695   grep -v '^ *+' conftest.er1 >conftest.err
22696   rm -f conftest.er1
22697   cat conftest.err >&5
22698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699   (exit $ac_status); } &&
22700          { ac_try='test -z "$ac_c_werror_flag"
22701                          || test ! -s conftest.err'
22702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703   (eval $ac_try) 2>&5
22704   ac_status=$?
22705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706   (exit $ac_status); }; } &&
22707          { ac_try='test -s conftest$ac_exeext'
22708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709   (eval $ac_try) 2>&5
22710   ac_status=$?
22711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712   (exit $ac_status); }; }; then
22713   ac_cv_lib_m_ccos=yes
22714 else
22715   echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22717
22718 ac_cv_lib_m_ccos=no
22719 fi
22720 rm -f conftest.err conftest.$ac_objext \
22721       conftest$ac_exeext conftest.$ac_ext
22722 LIBS=$ac_check_lib_save_LIBS
22723 fi
22724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22725 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22726 if test $ac_cv_lib_m_ccos = yes; then
22727
22728 cat >>confdefs.h <<\_ACEOF
22729 #define HAVE_CCOS 1
22730 _ACEOF
22731
22732 fi
22733
22734 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22735 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22736 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22737   echo $ECHO_N "(cached) $ECHO_C" >&6
22738 else
22739   ac_check_lib_save_LIBS=$LIBS
22740 LIBS="-lm  $LIBS"
22741 if test x$gcc_no_link = xyes; then
22742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22744    { (exit 1); exit 1; }; }
22745 fi
22746 cat >conftest.$ac_ext <<_ACEOF
22747 /* confdefs.h.  */
22748 _ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h.  */
22752
22753 /* Override any gcc2 internal prototype to avoid an error.  */
22754 #ifdef __cplusplus
22755 extern "C"
22756 #endif
22757 /* We use char because int might match the return type of a gcc2
22758    builtin and then its argument prototype would still apply.  */
22759 char ccosl ();
22760 int
22761 main ()
22762 {
22763 ccosl ();
22764   ;
22765   return 0;
22766 }
22767 _ACEOF
22768 rm -f conftest.$ac_objext conftest$ac_exeext
22769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22770   (eval $ac_link) 2>conftest.er1
22771   ac_status=$?
22772   grep -v '^ *+' conftest.er1 >conftest.err
22773   rm -f conftest.er1
22774   cat conftest.err >&5
22775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776   (exit $ac_status); } &&
22777          { ac_try='test -z "$ac_c_werror_flag"
22778                          || test ! -s conftest.err'
22779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780   (eval $ac_try) 2>&5
22781   ac_status=$?
22782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783   (exit $ac_status); }; } &&
22784          { ac_try='test -s conftest$ac_exeext'
22785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786   (eval $ac_try) 2>&5
22787   ac_status=$?
22788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789   (exit $ac_status); }; }; then
22790   ac_cv_lib_m_ccosl=yes
22791 else
22792   echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 ac_cv_lib_m_ccosl=no
22796 fi
22797 rm -f conftest.err conftest.$ac_objext \
22798       conftest$ac_exeext conftest.$ac_ext
22799 LIBS=$ac_check_lib_save_LIBS
22800 fi
22801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22802 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22803 if test $ac_cv_lib_m_ccosl = yes; then
22804
22805 cat >>confdefs.h <<\_ACEOF
22806 #define HAVE_CCOSL 1
22807 _ACEOF
22808
22809 fi
22810
22811 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22812 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22813 if test "${ac_cv_lib_m_coshf+set}" = set; then
22814   echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816   ac_check_lib_save_LIBS=$LIBS
22817 LIBS="-lm  $LIBS"
22818 if test x$gcc_no_link = xyes; then
22819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22821    { (exit 1); exit 1; }; }
22822 fi
22823 cat >conftest.$ac_ext <<_ACEOF
22824 /* confdefs.h.  */
22825 _ACEOF
22826 cat confdefs.h >>conftest.$ac_ext
22827 cat >>conftest.$ac_ext <<_ACEOF
22828 /* end confdefs.h.  */
22829
22830 /* Override any gcc2 internal prototype to avoid an error.  */
22831 #ifdef __cplusplus
22832 extern "C"
22833 #endif
22834 /* We use char because int might match the return type of a gcc2
22835    builtin and then its argument prototype would still apply.  */
22836 char coshf ();
22837 int
22838 main ()
22839 {
22840 coshf ();
22841   ;
22842   return 0;
22843 }
22844 _ACEOF
22845 rm -f conftest.$ac_objext conftest$ac_exeext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22847   (eval $ac_link) 2>conftest.er1
22848   ac_status=$?
22849   grep -v '^ *+' conftest.er1 >conftest.err
22850   rm -f conftest.er1
22851   cat conftest.err >&5
22852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853   (exit $ac_status); } &&
22854          { ac_try='test -z "$ac_c_werror_flag"
22855                          || test ! -s conftest.err'
22856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857   (eval $ac_try) 2>&5
22858   ac_status=$?
22859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860   (exit $ac_status); }; } &&
22861          { ac_try='test -s conftest$ac_exeext'
22862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863   (eval $ac_try) 2>&5
22864   ac_status=$?
22865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866   (exit $ac_status); }; }; then
22867   ac_cv_lib_m_coshf=yes
22868 else
22869   echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22871
22872 ac_cv_lib_m_coshf=no
22873 fi
22874 rm -f conftest.err conftest.$ac_objext \
22875       conftest$ac_exeext conftest.$ac_ext
22876 LIBS=$ac_check_lib_save_LIBS
22877 fi
22878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22879 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22880 if test $ac_cv_lib_m_coshf = yes; then
22881
22882 cat >>confdefs.h <<\_ACEOF
22883 #define HAVE_COSHF 1
22884 _ACEOF
22885
22886 fi
22887
22888 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22889 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22890 if test "${ac_cv_lib_m_cosh+set}" = set; then
22891   echo $ECHO_N "(cached) $ECHO_C" >&6
22892 else
22893   ac_check_lib_save_LIBS=$LIBS
22894 LIBS="-lm  $LIBS"
22895 if test x$gcc_no_link = xyes; then
22896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22898    { (exit 1); exit 1; }; }
22899 fi
22900 cat >conftest.$ac_ext <<_ACEOF
22901 /* confdefs.h.  */
22902 _ACEOF
22903 cat confdefs.h >>conftest.$ac_ext
22904 cat >>conftest.$ac_ext <<_ACEOF
22905 /* end confdefs.h.  */
22906
22907 /* Override any gcc2 internal prototype to avoid an error.  */
22908 #ifdef __cplusplus
22909 extern "C"
22910 #endif
22911 /* We use char because int might match the return type of a gcc2
22912    builtin and then its argument prototype would still apply.  */
22913 char cosh ();
22914 int
22915 main ()
22916 {
22917 cosh ();
22918   ;
22919   return 0;
22920 }
22921 _ACEOF
22922 rm -f conftest.$ac_objext conftest$ac_exeext
22923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22924   (eval $ac_link) 2>conftest.er1
22925   ac_status=$?
22926   grep -v '^ *+' conftest.er1 >conftest.err
22927   rm -f conftest.er1
22928   cat conftest.err >&5
22929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930   (exit $ac_status); } &&
22931          { ac_try='test -z "$ac_c_werror_flag"
22932                          || test ! -s conftest.err'
22933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934   (eval $ac_try) 2>&5
22935   ac_status=$?
22936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937   (exit $ac_status); }; } &&
22938          { ac_try='test -s conftest$ac_exeext'
22939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940   (eval $ac_try) 2>&5
22941   ac_status=$?
22942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943   (exit $ac_status); }; }; then
22944   ac_cv_lib_m_cosh=yes
22945 else
22946   echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 ac_cv_lib_m_cosh=no
22950 fi
22951 rm -f conftest.err conftest.$ac_objext \
22952       conftest$ac_exeext conftest.$ac_ext
22953 LIBS=$ac_check_lib_save_LIBS
22954 fi
22955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22956 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22957 if test $ac_cv_lib_m_cosh = yes; then
22958
22959 cat >>confdefs.h <<\_ACEOF
22960 #define HAVE_COSH 1
22961 _ACEOF
22962
22963 fi
22964
22965 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22966 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22967 if test "${ac_cv_lib_m_coshl+set}" = set; then
22968   echo $ECHO_N "(cached) $ECHO_C" >&6
22969 else
22970   ac_check_lib_save_LIBS=$LIBS
22971 LIBS="-lm  $LIBS"
22972 if test x$gcc_no_link = xyes; then
22973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22975    { (exit 1); exit 1; }; }
22976 fi
22977 cat >conftest.$ac_ext <<_ACEOF
22978 /* confdefs.h.  */
22979 _ACEOF
22980 cat confdefs.h >>conftest.$ac_ext
22981 cat >>conftest.$ac_ext <<_ACEOF
22982 /* end confdefs.h.  */
22983
22984 /* Override any gcc2 internal prototype to avoid an error.  */
22985 #ifdef __cplusplus
22986 extern "C"
22987 #endif
22988 /* We use char because int might match the return type of a gcc2
22989    builtin and then its argument prototype would still apply.  */
22990 char coshl ();
22991 int
22992 main ()
22993 {
22994 coshl ();
22995   ;
22996   return 0;
22997 }
22998 _ACEOF
22999 rm -f conftest.$ac_objext conftest$ac_exeext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23001   (eval $ac_link) 2>conftest.er1
23002   ac_status=$?
23003   grep -v '^ *+' conftest.er1 >conftest.err
23004   rm -f conftest.er1
23005   cat conftest.err >&5
23006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007   (exit $ac_status); } &&
23008          { ac_try='test -z "$ac_c_werror_flag"
23009                          || test ! -s conftest.err'
23010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23011   (eval $ac_try) 2>&5
23012   ac_status=$?
23013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014   (exit $ac_status); }; } &&
23015          { ac_try='test -s conftest$ac_exeext'
23016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017   (eval $ac_try) 2>&5
23018   ac_status=$?
23019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020   (exit $ac_status); }; }; then
23021   ac_cv_lib_m_coshl=yes
23022 else
23023   echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23025
23026 ac_cv_lib_m_coshl=no
23027 fi
23028 rm -f conftest.err conftest.$ac_objext \
23029       conftest$ac_exeext conftest.$ac_ext
23030 LIBS=$ac_check_lib_save_LIBS
23031 fi
23032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23033 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23034 if test $ac_cv_lib_m_coshl = yes; then
23035
23036 cat >>confdefs.h <<\_ACEOF
23037 #define HAVE_COSHL 1
23038 _ACEOF
23039
23040 fi
23041
23042 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23043 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23044 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23045   echo $ECHO_N "(cached) $ECHO_C" >&6
23046 else
23047   ac_check_lib_save_LIBS=$LIBS
23048 LIBS="-lm  $LIBS"
23049 if test x$gcc_no_link = xyes; then
23050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23052    { (exit 1); exit 1; }; }
23053 fi
23054 cat >conftest.$ac_ext <<_ACEOF
23055 /* confdefs.h.  */
23056 _ACEOF
23057 cat confdefs.h >>conftest.$ac_ext
23058 cat >>conftest.$ac_ext <<_ACEOF
23059 /* end confdefs.h.  */
23060
23061 /* Override any gcc2 internal prototype to avoid an error.  */
23062 #ifdef __cplusplus
23063 extern "C"
23064 #endif
23065 /* We use char because int might match the return type of a gcc2
23066    builtin and then its argument prototype would still apply.  */
23067 char ccoshf ();
23068 int
23069 main ()
23070 {
23071 ccoshf ();
23072   ;
23073   return 0;
23074 }
23075 _ACEOF
23076 rm -f conftest.$ac_objext conftest$ac_exeext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23078   (eval $ac_link) 2>conftest.er1
23079   ac_status=$?
23080   grep -v '^ *+' conftest.er1 >conftest.err
23081   rm -f conftest.er1
23082   cat conftest.err >&5
23083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084   (exit $ac_status); } &&
23085          { ac_try='test -z "$ac_c_werror_flag"
23086                          || test ! -s conftest.err'
23087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088   (eval $ac_try) 2>&5
23089   ac_status=$?
23090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091   (exit $ac_status); }; } &&
23092          { ac_try='test -s conftest$ac_exeext'
23093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094   (eval $ac_try) 2>&5
23095   ac_status=$?
23096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097   (exit $ac_status); }; }; then
23098   ac_cv_lib_m_ccoshf=yes
23099 else
23100   echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.$ac_ext >&5
23102
23103 ac_cv_lib_m_ccoshf=no
23104 fi
23105 rm -f conftest.err conftest.$ac_objext \
23106       conftest$ac_exeext conftest.$ac_ext
23107 LIBS=$ac_check_lib_save_LIBS
23108 fi
23109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23110 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23111 if test $ac_cv_lib_m_ccoshf = yes; then
23112
23113 cat >>confdefs.h <<\_ACEOF
23114 #define HAVE_CCOSHF 1
23115 _ACEOF
23116
23117 fi
23118
23119 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23120 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23121 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23122   echo $ECHO_N "(cached) $ECHO_C" >&6
23123 else
23124   ac_check_lib_save_LIBS=$LIBS
23125 LIBS="-lm  $LIBS"
23126 if test x$gcc_no_link = xyes; then
23127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23129    { (exit 1); exit 1; }; }
23130 fi
23131 cat >conftest.$ac_ext <<_ACEOF
23132 /* confdefs.h.  */
23133 _ACEOF
23134 cat confdefs.h >>conftest.$ac_ext
23135 cat >>conftest.$ac_ext <<_ACEOF
23136 /* end confdefs.h.  */
23137
23138 /* Override any gcc2 internal prototype to avoid an error.  */
23139 #ifdef __cplusplus
23140 extern "C"
23141 #endif
23142 /* We use char because int might match the return type of a gcc2
23143    builtin and then its argument prototype would still apply.  */
23144 char ccosh ();
23145 int
23146 main ()
23147 {
23148 ccosh ();
23149   ;
23150   return 0;
23151 }
23152 _ACEOF
23153 rm -f conftest.$ac_objext conftest$ac_exeext
23154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23155   (eval $ac_link) 2>conftest.er1
23156   ac_status=$?
23157   grep -v '^ *+' conftest.er1 >conftest.err
23158   rm -f conftest.er1
23159   cat conftest.err >&5
23160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161   (exit $ac_status); } &&
23162          { ac_try='test -z "$ac_c_werror_flag"
23163                          || test ! -s conftest.err'
23164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23165   (eval $ac_try) 2>&5
23166   ac_status=$?
23167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168   (exit $ac_status); }; } &&
23169          { ac_try='test -s conftest$ac_exeext'
23170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171   (eval $ac_try) 2>&5
23172   ac_status=$?
23173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174   (exit $ac_status); }; }; then
23175   ac_cv_lib_m_ccosh=yes
23176 else
23177   echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5
23179
23180 ac_cv_lib_m_ccosh=no
23181 fi
23182 rm -f conftest.err conftest.$ac_objext \
23183       conftest$ac_exeext conftest.$ac_ext
23184 LIBS=$ac_check_lib_save_LIBS
23185 fi
23186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23187 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23188 if test $ac_cv_lib_m_ccosh = yes; then
23189
23190 cat >>confdefs.h <<\_ACEOF
23191 #define HAVE_CCOSH 1
23192 _ACEOF
23193
23194 fi
23195
23196 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23197 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23198 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23199   echo $ECHO_N "(cached) $ECHO_C" >&6
23200 else
23201   ac_check_lib_save_LIBS=$LIBS
23202 LIBS="-lm  $LIBS"
23203 if test x$gcc_no_link = xyes; then
23204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23206    { (exit 1); exit 1; }; }
23207 fi
23208 cat >conftest.$ac_ext <<_ACEOF
23209 /* confdefs.h.  */
23210 _ACEOF
23211 cat confdefs.h >>conftest.$ac_ext
23212 cat >>conftest.$ac_ext <<_ACEOF
23213 /* end confdefs.h.  */
23214
23215 /* Override any gcc2 internal prototype to avoid an error.  */
23216 #ifdef __cplusplus
23217 extern "C"
23218 #endif
23219 /* We use char because int might match the return type of a gcc2
23220    builtin and then its argument prototype would still apply.  */
23221 char ccoshl ();
23222 int
23223 main ()
23224 {
23225 ccoshl ();
23226   ;
23227   return 0;
23228 }
23229 _ACEOF
23230 rm -f conftest.$ac_objext conftest$ac_exeext
23231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23232   (eval $ac_link) 2>conftest.er1
23233   ac_status=$?
23234   grep -v '^ *+' conftest.er1 >conftest.err
23235   rm -f conftest.er1
23236   cat conftest.err >&5
23237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238   (exit $ac_status); } &&
23239          { ac_try='test -z "$ac_c_werror_flag"
23240                          || test ! -s conftest.err'
23241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242   (eval $ac_try) 2>&5
23243   ac_status=$?
23244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245   (exit $ac_status); }; } &&
23246          { ac_try='test -s conftest$ac_exeext'
23247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248   (eval $ac_try) 2>&5
23249   ac_status=$?
23250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251   (exit $ac_status); }; }; then
23252   ac_cv_lib_m_ccoshl=yes
23253 else
23254   echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23256
23257 ac_cv_lib_m_ccoshl=no
23258 fi
23259 rm -f conftest.err conftest.$ac_objext \
23260       conftest$ac_exeext conftest.$ac_ext
23261 LIBS=$ac_check_lib_save_LIBS
23262 fi
23263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23264 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23265 if test $ac_cv_lib_m_ccoshl = yes; then
23266
23267 cat >>confdefs.h <<\_ACEOF
23268 #define HAVE_CCOSHL 1
23269 _ACEOF
23270
23271 fi
23272
23273 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23274 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23275 if test "${ac_cv_lib_m_expf+set}" = set; then
23276   echo $ECHO_N "(cached) $ECHO_C" >&6
23277 else
23278   ac_check_lib_save_LIBS=$LIBS
23279 LIBS="-lm  $LIBS"
23280 if test x$gcc_no_link = xyes; then
23281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23283    { (exit 1); exit 1; }; }
23284 fi
23285 cat >conftest.$ac_ext <<_ACEOF
23286 /* confdefs.h.  */
23287 _ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h.  */
23291
23292 /* Override any gcc2 internal prototype to avoid an error.  */
23293 #ifdef __cplusplus
23294 extern "C"
23295 #endif
23296 /* We use char because int might match the return type of a gcc2
23297    builtin and then its argument prototype would still apply.  */
23298 char expf ();
23299 int
23300 main ()
23301 {
23302 expf ();
23303   ;
23304   return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest.$ac_objext conftest$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309   (eval $ac_link) 2>conftest.er1
23310   ac_status=$?
23311   grep -v '^ *+' conftest.er1 >conftest.err
23312   rm -f conftest.er1
23313   cat conftest.err >&5
23314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315   (exit $ac_status); } &&
23316          { ac_try='test -z "$ac_c_werror_flag"
23317                          || test ! -s conftest.err'
23318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319   (eval $ac_try) 2>&5
23320   ac_status=$?
23321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322   (exit $ac_status); }; } &&
23323          { ac_try='test -s conftest$ac_exeext'
23324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325   (eval $ac_try) 2>&5
23326   ac_status=$?
23327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328   (exit $ac_status); }; }; then
23329   ac_cv_lib_m_expf=yes
23330 else
23331   echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 ac_cv_lib_m_expf=no
23335 fi
23336 rm -f conftest.err conftest.$ac_objext \
23337       conftest$ac_exeext conftest.$ac_ext
23338 LIBS=$ac_check_lib_save_LIBS
23339 fi
23340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23341 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23342 if test $ac_cv_lib_m_expf = yes; then
23343
23344 cat >>confdefs.h <<\_ACEOF
23345 #define HAVE_EXPF 1
23346 _ACEOF
23347
23348 fi
23349
23350 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23351 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23352 if test "${ac_cv_lib_m_exp+set}" = set; then
23353   echo $ECHO_N "(cached) $ECHO_C" >&6
23354 else
23355   ac_check_lib_save_LIBS=$LIBS
23356 LIBS="-lm  $LIBS"
23357 if test x$gcc_no_link = xyes; then
23358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23360    { (exit 1); exit 1; }; }
23361 fi
23362 cat >conftest.$ac_ext <<_ACEOF
23363 /* confdefs.h.  */
23364 _ACEOF
23365 cat confdefs.h >>conftest.$ac_ext
23366 cat >>conftest.$ac_ext <<_ACEOF
23367 /* end confdefs.h.  */
23368
23369 /* Override any gcc2 internal prototype to avoid an error.  */
23370 #ifdef __cplusplus
23371 extern "C"
23372 #endif
23373 /* We use char because int might match the return type of a gcc2
23374    builtin and then its argument prototype would still apply.  */
23375 char exp ();
23376 int
23377 main ()
23378 {
23379 exp ();
23380   ;
23381   return 0;
23382 }
23383 _ACEOF
23384 rm -f conftest.$ac_objext conftest$ac_exeext
23385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23386   (eval $ac_link) 2>conftest.er1
23387   ac_status=$?
23388   grep -v '^ *+' conftest.er1 >conftest.err
23389   rm -f conftest.er1
23390   cat conftest.err >&5
23391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392   (exit $ac_status); } &&
23393          { ac_try='test -z "$ac_c_werror_flag"
23394                          || test ! -s conftest.err'
23395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396   (eval $ac_try) 2>&5
23397   ac_status=$?
23398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399   (exit $ac_status); }; } &&
23400          { ac_try='test -s conftest$ac_exeext'
23401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402   (eval $ac_try) 2>&5
23403   ac_status=$?
23404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405   (exit $ac_status); }; }; then
23406   ac_cv_lib_m_exp=yes
23407 else
23408   echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 ac_cv_lib_m_exp=no
23412 fi
23413 rm -f conftest.err conftest.$ac_objext \
23414       conftest$ac_exeext conftest.$ac_ext
23415 LIBS=$ac_check_lib_save_LIBS
23416 fi
23417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23418 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23419 if test $ac_cv_lib_m_exp = yes; then
23420
23421 cat >>confdefs.h <<\_ACEOF
23422 #define HAVE_EXP 1
23423 _ACEOF
23424
23425 fi
23426
23427 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23428 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23429 if test "${ac_cv_lib_m_expl+set}" = set; then
23430   echo $ECHO_N "(cached) $ECHO_C" >&6
23431 else
23432   ac_check_lib_save_LIBS=$LIBS
23433 LIBS="-lm  $LIBS"
23434 if test x$gcc_no_link = xyes; then
23435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23437    { (exit 1); exit 1; }; }
23438 fi
23439 cat >conftest.$ac_ext <<_ACEOF
23440 /* confdefs.h.  */
23441 _ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h.  */
23445
23446 /* Override any gcc2 internal prototype to avoid an error.  */
23447 #ifdef __cplusplus
23448 extern "C"
23449 #endif
23450 /* We use char because int might match the return type of a gcc2
23451    builtin and then its argument prototype would still apply.  */
23452 char expl ();
23453 int
23454 main ()
23455 {
23456 expl ();
23457   ;
23458   return 0;
23459 }
23460 _ACEOF
23461 rm -f conftest.$ac_objext conftest$ac_exeext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463   (eval $ac_link) 2>conftest.er1
23464   ac_status=$?
23465   grep -v '^ *+' conftest.er1 >conftest.err
23466   rm -f conftest.er1
23467   cat conftest.err >&5
23468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469   (exit $ac_status); } &&
23470          { ac_try='test -z "$ac_c_werror_flag"
23471                          || test ! -s conftest.err'
23472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473   (eval $ac_try) 2>&5
23474   ac_status=$?
23475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476   (exit $ac_status); }; } &&
23477          { ac_try='test -s conftest$ac_exeext'
23478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479   (eval $ac_try) 2>&5
23480   ac_status=$?
23481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482   (exit $ac_status); }; }; then
23483   ac_cv_lib_m_expl=yes
23484 else
23485   echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.$ac_ext >&5
23487
23488 ac_cv_lib_m_expl=no
23489 fi
23490 rm -f conftest.err conftest.$ac_objext \
23491       conftest$ac_exeext conftest.$ac_ext
23492 LIBS=$ac_check_lib_save_LIBS
23493 fi
23494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23495 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23496 if test $ac_cv_lib_m_expl = yes; then
23497
23498 cat >>confdefs.h <<\_ACEOF
23499 #define HAVE_EXPL 1
23500 _ACEOF
23501
23502 fi
23503
23504 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23505 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23506 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23507   echo $ECHO_N "(cached) $ECHO_C" >&6
23508 else
23509   ac_check_lib_save_LIBS=$LIBS
23510 LIBS="-lm  $LIBS"
23511 if test x$gcc_no_link = xyes; then
23512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23514    { (exit 1); exit 1; }; }
23515 fi
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h.  */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h.  */
23522
23523 /* Override any gcc2 internal prototype to avoid an error.  */
23524 #ifdef __cplusplus
23525 extern "C"
23526 #endif
23527 /* We use char because int might match the return type of a gcc2
23528    builtin and then its argument prototype would still apply.  */
23529 char cexpf ();
23530 int
23531 main ()
23532 {
23533 cexpf ();
23534   ;
23535   return 0;
23536 }
23537 _ACEOF
23538 rm -f conftest.$ac_objext conftest$ac_exeext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23540   (eval $ac_link) 2>conftest.er1
23541   ac_status=$?
23542   grep -v '^ *+' conftest.er1 >conftest.err
23543   rm -f conftest.er1
23544   cat conftest.err >&5
23545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546   (exit $ac_status); } &&
23547          { ac_try='test -z "$ac_c_werror_flag"
23548                          || test ! -s conftest.err'
23549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550   (eval $ac_try) 2>&5
23551   ac_status=$?
23552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553   (exit $ac_status); }; } &&
23554          { ac_try='test -s conftest$ac_exeext'
23555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556   (eval $ac_try) 2>&5
23557   ac_status=$?
23558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559   (exit $ac_status); }; }; then
23560   ac_cv_lib_m_cexpf=yes
23561 else
23562   echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23564
23565 ac_cv_lib_m_cexpf=no
23566 fi
23567 rm -f conftest.err conftest.$ac_objext \
23568       conftest$ac_exeext conftest.$ac_ext
23569 LIBS=$ac_check_lib_save_LIBS
23570 fi
23571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23572 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23573 if test $ac_cv_lib_m_cexpf = yes; then
23574
23575 cat >>confdefs.h <<\_ACEOF
23576 #define HAVE_CEXPF 1
23577 _ACEOF
23578
23579 fi
23580
23581 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23582 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23583 if test "${ac_cv_lib_m_cexp+set}" = set; then
23584   echo $ECHO_N "(cached) $ECHO_C" >&6
23585 else
23586   ac_check_lib_save_LIBS=$LIBS
23587 LIBS="-lm  $LIBS"
23588 if test x$gcc_no_link = xyes; then
23589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23591    { (exit 1); exit 1; }; }
23592 fi
23593 cat >conftest.$ac_ext <<_ACEOF
23594 /* confdefs.h.  */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h.  */
23599
23600 /* Override any gcc2 internal prototype to avoid an error.  */
23601 #ifdef __cplusplus
23602 extern "C"
23603 #endif
23604 /* We use char because int might match the return type of a gcc2
23605    builtin and then its argument prototype would still apply.  */
23606 char cexp ();
23607 int
23608 main ()
23609 {
23610 cexp ();
23611   ;
23612   return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext conftest$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617   (eval $ac_link) 2>conftest.er1
23618   ac_status=$?
23619   grep -v '^ *+' conftest.er1 >conftest.err
23620   rm -f conftest.er1
23621   cat conftest.err >&5
23622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623   (exit $ac_status); } &&
23624          { ac_try='test -z "$ac_c_werror_flag"
23625                          || test ! -s conftest.err'
23626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23627   (eval $ac_try) 2>&5
23628   ac_status=$?
23629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630   (exit $ac_status); }; } &&
23631          { ac_try='test -s conftest$ac_exeext'
23632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633   (eval $ac_try) 2>&5
23634   ac_status=$?
23635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636   (exit $ac_status); }; }; then
23637   ac_cv_lib_m_cexp=yes
23638 else
23639   echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.$ac_ext >&5
23641
23642 ac_cv_lib_m_cexp=no
23643 fi
23644 rm -f conftest.err conftest.$ac_objext \
23645       conftest$ac_exeext conftest.$ac_ext
23646 LIBS=$ac_check_lib_save_LIBS
23647 fi
23648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23649 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23650 if test $ac_cv_lib_m_cexp = yes; then
23651
23652 cat >>confdefs.h <<\_ACEOF
23653 #define HAVE_CEXP 1
23654 _ACEOF
23655
23656 fi
23657
23658 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23659 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23660 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23661   echo $ECHO_N "(cached) $ECHO_C" >&6
23662 else
23663   ac_check_lib_save_LIBS=$LIBS
23664 LIBS="-lm  $LIBS"
23665 if test x$gcc_no_link = xyes; then
23666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23668    { (exit 1); exit 1; }; }
23669 fi
23670 cat >conftest.$ac_ext <<_ACEOF
23671 /* confdefs.h.  */
23672 _ACEOF
23673 cat confdefs.h >>conftest.$ac_ext
23674 cat >>conftest.$ac_ext <<_ACEOF
23675 /* end confdefs.h.  */
23676
23677 /* Override any gcc2 internal prototype to avoid an error.  */
23678 #ifdef __cplusplus
23679 extern "C"
23680 #endif
23681 /* We use char because int might match the return type of a gcc2
23682    builtin and then its argument prototype would still apply.  */
23683 char cexpl ();
23684 int
23685 main ()
23686 {
23687 cexpl ();
23688   ;
23689   return 0;
23690 }
23691 _ACEOF
23692 rm -f conftest.$ac_objext conftest$ac_exeext
23693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23694   (eval $ac_link) 2>conftest.er1
23695   ac_status=$?
23696   grep -v '^ *+' conftest.er1 >conftest.err
23697   rm -f conftest.er1
23698   cat conftest.err >&5
23699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700   (exit $ac_status); } &&
23701          { ac_try='test -z "$ac_c_werror_flag"
23702                          || test ! -s conftest.err'
23703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704   (eval $ac_try) 2>&5
23705   ac_status=$?
23706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707   (exit $ac_status); }; } &&
23708          { ac_try='test -s conftest$ac_exeext'
23709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710   (eval $ac_try) 2>&5
23711   ac_status=$?
23712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713   (exit $ac_status); }; }; then
23714   ac_cv_lib_m_cexpl=yes
23715 else
23716   echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 ac_cv_lib_m_cexpl=no
23720 fi
23721 rm -f conftest.err conftest.$ac_objext \
23722       conftest$ac_exeext conftest.$ac_ext
23723 LIBS=$ac_check_lib_save_LIBS
23724 fi
23725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23726 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23727 if test $ac_cv_lib_m_cexpl = yes; then
23728
23729 cat >>confdefs.h <<\_ACEOF
23730 #define HAVE_CEXPL 1
23731 _ACEOF
23732
23733 fi
23734
23735 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23736 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23737 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23738   echo $ECHO_N "(cached) $ECHO_C" >&6
23739 else
23740   ac_check_lib_save_LIBS=$LIBS
23741 LIBS="-lm  $LIBS"
23742 if test x$gcc_no_link = xyes; then
23743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23745    { (exit 1); exit 1; }; }
23746 fi
23747 cat >conftest.$ac_ext <<_ACEOF
23748 /* confdefs.h.  */
23749 _ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h.  */
23753
23754 /* Override any gcc2 internal prototype to avoid an error.  */
23755 #ifdef __cplusplus
23756 extern "C"
23757 #endif
23758 /* We use char because int might match the return type of a gcc2
23759    builtin and then its argument prototype would still apply.  */
23760 char fabsf ();
23761 int
23762 main ()
23763 {
23764 fabsf ();
23765   ;
23766   return 0;
23767 }
23768 _ACEOF
23769 rm -f conftest.$ac_objext conftest$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771   (eval $ac_link) 2>conftest.er1
23772   ac_status=$?
23773   grep -v '^ *+' conftest.er1 >conftest.err
23774   rm -f conftest.er1
23775   cat conftest.err >&5
23776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777   (exit $ac_status); } &&
23778          { ac_try='test -z "$ac_c_werror_flag"
23779                          || test ! -s conftest.err'
23780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781   (eval $ac_try) 2>&5
23782   ac_status=$?
23783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784   (exit $ac_status); }; } &&
23785          { ac_try='test -s conftest$ac_exeext'
23786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787   (eval $ac_try) 2>&5
23788   ac_status=$?
23789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790   (exit $ac_status); }; }; then
23791   ac_cv_lib_m_fabsf=yes
23792 else
23793   echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23795
23796 ac_cv_lib_m_fabsf=no
23797 fi
23798 rm -f conftest.err conftest.$ac_objext \
23799       conftest$ac_exeext conftest.$ac_ext
23800 LIBS=$ac_check_lib_save_LIBS
23801 fi
23802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23803 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23804 if test $ac_cv_lib_m_fabsf = yes; then
23805
23806 cat >>confdefs.h <<\_ACEOF
23807 #define HAVE_FABSF 1
23808 _ACEOF
23809
23810 fi
23811
23812 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23813 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23814 if test "${ac_cv_lib_m_fabs+set}" = set; then
23815   echo $ECHO_N "(cached) $ECHO_C" >&6
23816 else
23817   ac_check_lib_save_LIBS=$LIBS
23818 LIBS="-lm  $LIBS"
23819 if test x$gcc_no_link = xyes; then
23820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23822    { (exit 1); exit 1; }; }
23823 fi
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h.  */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h.  */
23830
23831 /* Override any gcc2 internal prototype to avoid an error.  */
23832 #ifdef __cplusplus
23833 extern "C"
23834 #endif
23835 /* We use char because int might match the return type of a gcc2
23836    builtin and then its argument prototype would still apply.  */
23837 char fabs ();
23838 int
23839 main ()
23840 {
23841 fabs ();
23842   ;
23843   return 0;
23844 }
23845 _ACEOF
23846 rm -f conftest.$ac_objext conftest$ac_exeext
23847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23848   (eval $ac_link) 2>conftest.er1
23849   ac_status=$?
23850   grep -v '^ *+' conftest.er1 >conftest.err
23851   rm -f conftest.er1
23852   cat conftest.err >&5
23853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854   (exit $ac_status); } &&
23855          { ac_try='test -z "$ac_c_werror_flag"
23856                          || test ! -s conftest.err'
23857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858   (eval $ac_try) 2>&5
23859   ac_status=$?
23860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861   (exit $ac_status); }; } &&
23862          { ac_try='test -s conftest$ac_exeext'
23863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23864   (eval $ac_try) 2>&5
23865   ac_status=$?
23866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867   (exit $ac_status); }; }; then
23868   ac_cv_lib_m_fabs=yes
23869 else
23870   echo "$as_me: failed program was:" >&5
23871 sed 's/^/| /' conftest.$ac_ext >&5
23872
23873 ac_cv_lib_m_fabs=no
23874 fi
23875 rm -f conftest.err conftest.$ac_objext \
23876       conftest$ac_exeext conftest.$ac_ext
23877 LIBS=$ac_check_lib_save_LIBS
23878 fi
23879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23880 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23881 if test $ac_cv_lib_m_fabs = yes; then
23882
23883 cat >>confdefs.h <<\_ACEOF
23884 #define HAVE_FABS 1
23885 _ACEOF
23886
23887 fi
23888
23889 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23890 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23891 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23892   echo $ECHO_N "(cached) $ECHO_C" >&6
23893 else
23894   ac_check_lib_save_LIBS=$LIBS
23895 LIBS="-lm  $LIBS"
23896 if test x$gcc_no_link = xyes; then
23897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23899    { (exit 1); exit 1; }; }
23900 fi
23901 cat >conftest.$ac_ext <<_ACEOF
23902 /* confdefs.h.  */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h.  */
23907
23908 /* Override any gcc2 internal prototype to avoid an error.  */
23909 #ifdef __cplusplus
23910 extern "C"
23911 #endif
23912 /* We use char because int might match the return type of a gcc2
23913    builtin and then its argument prototype would still apply.  */
23914 char fabsl ();
23915 int
23916 main ()
23917 {
23918 fabsl ();
23919   ;
23920   return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext conftest$ac_exeext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23925   (eval $ac_link) 2>conftest.er1
23926   ac_status=$?
23927   grep -v '^ *+' conftest.er1 >conftest.err
23928   rm -f conftest.er1
23929   cat conftest.err >&5
23930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931   (exit $ac_status); } &&
23932          { ac_try='test -z "$ac_c_werror_flag"
23933                          || test ! -s conftest.err'
23934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935   (eval $ac_try) 2>&5
23936   ac_status=$?
23937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938   (exit $ac_status); }; } &&
23939          { ac_try='test -s conftest$ac_exeext'
23940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941   (eval $ac_try) 2>&5
23942   ac_status=$?
23943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944   (exit $ac_status); }; }; then
23945   ac_cv_lib_m_fabsl=yes
23946 else
23947   echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23949
23950 ac_cv_lib_m_fabsl=no
23951 fi
23952 rm -f conftest.err conftest.$ac_objext \
23953       conftest$ac_exeext conftest.$ac_ext
23954 LIBS=$ac_check_lib_save_LIBS
23955 fi
23956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23957 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23958 if test $ac_cv_lib_m_fabsl = yes; then
23959
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_FABSL 1
23962 _ACEOF
23963
23964 fi
23965
23966 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23967 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23968 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23969   echo $ECHO_N "(cached) $ECHO_C" >&6
23970 else
23971   ac_check_lib_save_LIBS=$LIBS
23972 LIBS="-lm  $LIBS"
23973 if test x$gcc_no_link = xyes; then
23974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23976    { (exit 1); exit 1; }; }
23977 fi
23978 cat >conftest.$ac_ext <<_ACEOF
23979 /* confdefs.h.  */
23980 _ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h.  */
23984
23985 /* Override any gcc2 internal prototype to avoid an error.  */
23986 #ifdef __cplusplus
23987 extern "C"
23988 #endif
23989 /* We use char because int might match the return type of a gcc2
23990    builtin and then its argument prototype would still apply.  */
23991 char cabsf ();
23992 int
23993 main ()
23994 {
23995 cabsf ();
23996   ;
23997   return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext conftest$ac_exeext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24002   (eval $ac_link) 2>conftest.er1
24003   ac_status=$?
24004   grep -v '^ *+' conftest.er1 >conftest.err
24005   rm -f conftest.er1
24006   cat conftest.err >&5
24007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008   (exit $ac_status); } &&
24009          { ac_try='test -z "$ac_c_werror_flag"
24010                          || test ! -s conftest.err'
24011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012   (eval $ac_try) 2>&5
24013   ac_status=$?
24014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015   (exit $ac_status); }; } &&
24016          { ac_try='test -s conftest$ac_exeext'
24017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24018   (eval $ac_try) 2>&5
24019   ac_status=$?
24020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021   (exit $ac_status); }; }; then
24022   ac_cv_lib_m_cabsf=yes
24023 else
24024   echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027 ac_cv_lib_m_cabsf=no
24028 fi
24029 rm -f conftest.err conftest.$ac_objext \
24030       conftest$ac_exeext conftest.$ac_ext
24031 LIBS=$ac_check_lib_save_LIBS
24032 fi
24033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24034 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24035 if test $ac_cv_lib_m_cabsf = yes; then
24036
24037 cat >>confdefs.h <<\_ACEOF
24038 #define HAVE_CABSF 1
24039 _ACEOF
24040
24041 fi
24042
24043 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24044 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24045 if test "${ac_cv_lib_m_cabs+set}" = set; then
24046   echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else
24048   ac_check_lib_save_LIBS=$LIBS
24049 LIBS="-lm  $LIBS"
24050 if test x$gcc_no_link = xyes; then
24051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24053    { (exit 1); exit 1; }; }
24054 fi
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h.  */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h.  */
24061
24062 /* Override any gcc2 internal prototype to avoid an error.  */
24063 #ifdef __cplusplus
24064 extern "C"
24065 #endif
24066 /* We use char because int might match the return type of a gcc2
24067    builtin and then its argument prototype would still apply.  */
24068 char cabs ();
24069 int
24070 main ()
24071 {
24072 cabs ();
24073   ;
24074   return 0;
24075 }
24076 _ACEOF
24077 rm -f conftest.$ac_objext conftest$ac_exeext
24078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24079   (eval $ac_link) 2>conftest.er1
24080   ac_status=$?
24081   grep -v '^ *+' conftest.er1 >conftest.err
24082   rm -f conftest.er1
24083   cat conftest.err >&5
24084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085   (exit $ac_status); } &&
24086          { ac_try='test -z "$ac_c_werror_flag"
24087                          || test ! -s conftest.err'
24088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089   (eval $ac_try) 2>&5
24090   ac_status=$?
24091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092   (exit $ac_status); }; } &&
24093          { ac_try='test -s conftest$ac_exeext'
24094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095   (eval $ac_try) 2>&5
24096   ac_status=$?
24097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098   (exit $ac_status); }; }; then
24099   ac_cv_lib_m_cabs=yes
24100 else
24101   echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.$ac_ext >&5
24103
24104 ac_cv_lib_m_cabs=no
24105 fi
24106 rm -f conftest.err conftest.$ac_objext \
24107       conftest$ac_exeext conftest.$ac_ext
24108 LIBS=$ac_check_lib_save_LIBS
24109 fi
24110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24111 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24112 if test $ac_cv_lib_m_cabs = yes; then
24113
24114 cat >>confdefs.h <<\_ACEOF
24115 #define HAVE_CABS 1
24116 _ACEOF
24117
24118 fi
24119
24120 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24121 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24122 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24123   echo $ECHO_N "(cached) $ECHO_C" >&6
24124 else
24125   ac_check_lib_save_LIBS=$LIBS
24126 LIBS="-lm  $LIBS"
24127 if test x$gcc_no_link = xyes; then
24128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24130    { (exit 1); exit 1; }; }
24131 fi
24132 cat >conftest.$ac_ext <<_ACEOF
24133 /* confdefs.h.  */
24134 _ACEOF
24135 cat confdefs.h >>conftest.$ac_ext
24136 cat >>conftest.$ac_ext <<_ACEOF
24137 /* end confdefs.h.  */
24138
24139 /* Override any gcc2 internal prototype to avoid an error.  */
24140 #ifdef __cplusplus
24141 extern "C"
24142 #endif
24143 /* We use char because int might match the return type of a gcc2
24144    builtin and then its argument prototype would still apply.  */
24145 char cabsl ();
24146 int
24147 main ()
24148 {
24149 cabsl ();
24150   ;
24151   return 0;
24152 }
24153 _ACEOF
24154 rm -f conftest.$ac_objext conftest$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156   (eval $ac_link) 2>conftest.er1
24157   ac_status=$?
24158   grep -v '^ *+' conftest.er1 >conftest.err
24159   rm -f conftest.er1
24160   cat conftest.err >&5
24161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162   (exit $ac_status); } &&
24163          { ac_try='test -z "$ac_c_werror_flag"
24164                          || test ! -s conftest.err'
24165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166   (eval $ac_try) 2>&5
24167   ac_status=$?
24168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169   (exit $ac_status); }; } &&
24170          { ac_try='test -s conftest$ac_exeext'
24171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172   (eval $ac_try) 2>&5
24173   ac_status=$?
24174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175   (exit $ac_status); }; }; then
24176   ac_cv_lib_m_cabsl=yes
24177 else
24178   echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24180
24181 ac_cv_lib_m_cabsl=no
24182 fi
24183 rm -f conftest.err conftest.$ac_objext \
24184       conftest$ac_exeext conftest.$ac_ext
24185 LIBS=$ac_check_lib_save_LIBS
24186 fi
24187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24188 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24189 if test $ac_cv_lib_m_cabsl = yes; then
24190
24191 cat >>confdefs.h <<\_ACEOF
24192 #define HAVE_CABSL 1
24193 _ACEOF
24194
24195 fi
24196
24197 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24198 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24199 if test "${ac_cv_lib_m_floorf+set}" = set; then
24200   echo $ECHO_N "(cached) $ECHO_C" >&6
24201 else
24202   ac_check_lib_save_LIBS=$LIBS
24203 LIBS="-lm  $LIBS"
24204 if test x$gcc_no_link = xyes; then
24205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24207    { (exit 1); exit 1; }; }
24208 fi
24209 cat >conftest.$ac_ext <<_ACEOF
24210 /* confdefs.h.  */
24211 _ACEOF
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h.  */
24215
24216 /* Override any gcc2 internal prototype to avoid an error.  */
24217 #ifdef __cplusplus
24218 extern "C"
24219 #endif
24220 /* We use char because int might match the return type of a gcc2
24221    builtin and then its argument prototype would still apply.  */
24222 char floorf ();
24223 int
24224 main ()
24225 {
24226 floorf ();
24227   ;
24228   return 0;
24229 }
24230 _ACEOF
24231 rm -f conftest.$ac_objext conftest$ac_exeext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24233   (eval $ac_link) 2>conftest.er1
24234   ac_status=$?
24235   grep -v '^ *+' conftest.er1 >conftest.err
24236   rm -f conftest.er1
24237   cat conftest.err >&5
24238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239   (exit $ac_status); } &&
24240          { ac_try='test -z "$ac_c_werror_flag"
24241                          || test ! -s conftest.err'
24242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243   (eval $ac_try) 2>&5
24244   ac_status=$?
24245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246   (exit $ac_status); }; } &&
24247          { ac_try='test -s conftest$ac_exeext'
24248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249   (eval $ac_try) 2>&5
24250   ac_status=$?
24251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252   (exit $ac_status); }; }; then
24253   ac_cv_lib_m_floorf=yes
24254 else
24255   echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24257
24258 ac_cv_lib_m_floorf=no
24259 fi
24260 rm -f conftest.err conftest.$ac_objext \
24261       conftest$ac_exeext conftest.$ac_ext
24262 LIBS=$ac_check_lib_save_LIBS
24263 fi
24264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24265 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24266 if test $ac_cv_lib_m_floorf = yes; then
24267
24268 cat >>confdefs.h <<\_ACEOF
24269 #define HAVE_FLOORF 1
24270 _ACEOF
24271
24272 fi
24273
24274 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24275 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24276 if test "${ac_cv_lib_m_floor+set}" = set; then
24277   echo $ECHO_N "(cached) $ECHO_C" >&6
24278 else
24279   ac_check_lib_save_LIBS=$LIBS
24280 LIBS="-lm  $LIBS"
24281 if test x$gcc_no_link = xyes; then
24282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24284    { (exit 1); exit 1; }; }
24285 fi
24286 cat >conftest.$ac_ext <<_ACEOF
24287 /* confdefs.h.  */
24288 _ACEOF
24289 cat confdefs.h >>conftest.$ac_ext
24290 cat >>conftest.$ac_ext <<_ACEOF
24291 /* end confdefs.h.  */
24292
24293 /* Override any gcc2 internal prototype to avoid an error.  */
24294 #ifdef __cplusplus
24295 extern "C"
24296 #endif
24297 /* We use char because int might match the return type of a gcc2
24298    builtin and then its argument prototype would still apply.  */
24299 char floor ();
24300 int
24301 main ()
24302 {
24303 floor ();
24304   ;
24305   return 0;
24306 }
24307 _ACEOF
24308 rm -f conftest.$ac_objext conftest$ac_exeext
24309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24310   (eval $ac_link) 2>conftest.er1
24311   ac_status=$?
24312   grep -v '^ *+' conftest.er1 >conftest.err
24313   rm -f conftest.er1
24314   cat conftest.err >&5
24315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316   (exit $ac_status); } &&
24317          { ac_try='test -z "$ac_c_werror_flag"
24318                          || test ! -s conftest.err'
24319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320   (eval $ac_try) 2>&5
24321   ac_status=$?
24322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323   (exit $ac_status); }; } &&
24324          { ac_try='test -s conftest$ac_exeext'
24325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326   (eval $ac_try) 2>&5
24327   ac_status=$?
24328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329   (exit $ac_status); }; }; then
24330   ac_cv_lib_m_floor=yes
24331 else
24332   echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 ac_cv_lib_m_floor=no
24336 fi
24337 rm -f conftest.err conftest.$ac_objext \
24338       conftest$ac_exeext conftest.$ac_ext
24339 LIBS=$ac_check_lib_save_LIBS
24340 fi
24341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24342 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24343 if test $ac_cv_lib_m_floor = yes; then
24344
24345 cat >>confdefs.h <<\_ACEOF
24346 #define HAVE_FLOOR 1
24347 _ACEOF
24348
24349 fi
24350
24351 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24352 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24353 if test "${ac_cv_lib_m_floorl+set}" = set; then
24354   echo $ECHO_N "(cached) $ECHO_C" >&6
24355 else
24356   ac_check_lib_save_LIBS=$LIBS
24357 LIBS="-lm  $LIBS"
24358 if test x$gcc_no_link = xyes; then
24359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24361    { (exit 1); exit 1; }; }
24362 fi
24363 cat >conftest.$ac_ext <<_ACEOF
24364 /* confdefs.h.  */
24365 _ACEOF
24366 cat confdefs.h >>conftest.$ac_ext
24367 cat >>conftest.$ac_ext <<_ACEOF
24368 /* end confdefs.h.  */
24369
24370 /* Override any gcc2 internal prototype to avoid an error.  */
24371 #ifdef __cplusplus
24372 extern "C"
24373 #endif
24374 /* We use char because int might match the return type of a gcc2
24375    builtin and then its argument prototype would still apply.  */
24376 char floorl ();
24377 int
24378 main ()
24379 {
24380 floorl ();
24381   ;
24382   return 0;
24383 }
24384 _ACEOF
24385 rm -f conftest.$ac_objext conftest$ac_exeext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24387   (eval $ac_link) 2>conftest.er1
24388   ac_status=$?
24389   grep -v '^ *+' conftest.er1 >conftest.err
24390   rm -f conftest.er1
24391   cat conftest.err >&5
24392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393   (exit $ac_status); } &&
24394          { ac_try='test -z "$ac_c_werror_flag"
24395                          || test ! -s conftest.err'
24396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397   (eval $ac_try) 2>&5
24398   ac_status=$?
24399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400   (exit $ac_status); }; } &&
24401          { ac_try='test -s conftest$ac_exeext'
24402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403   (eval $ac_try) 2>&5
24404   ac_status=$?
24405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406   (exit $ac_status); }; }; then
24407   ac_cv_lib_m_floorl=yes
24408 else
24409   echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.$ac_ext >&5
24411
24412 ac_cv_lib_m_floorl=no
24413 fi
24414 rm -f conftest.err conftest.$ac_objext \
24415       conftest$ac_exeext conftest.$ac_ext
24416 LIBS=$ac_check_lib_save_LIBS
24417 fi
24418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24419 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24420 if test $ac_cv_lib_m_floorl = yes; then
24421
24422 cat >>confdefs.h <<\_ACEOF
24423 #define HAVE_FLOORL 1
24424 _ACEOF
24425
24426 fi
24427
24428 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24429 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24430 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24431   echo $ECHO_N "(cached) $ECHO_C" >&6
24432 else
24433   ac_check_lib_save_LIBS=$LIBS
24434 LIBS="-lm  $LIBS"
24435 if test x$gcc_no_link = xyes; then
24436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24438    { (exit 1); exit 1; }; }
24439 fi
24440 cat >conftest.$ac_ext <<_ACEOF
24441 /* confdefs.h.  */
24442 _ACEOF
24443 cat confdefs.h >>conftest.$ac_ext
24444 cat >>conftest.$ac_ext <<_ACEOF
24445 /* end confdefs.h.  */
24446
24447 /* Override any gcc2 internal prototype to avoid an error.  */
24448 #ifdef __cplusplus
24449 extern "C"
24450 #endif
24451 /* We use char because int might match the return type of a gcc2
24452    builtin and then its argument prototype would still apply.  */
24453 char fmodf ();
24454 int
24455 main ()
24456 {
24457 fmodf ();
24458   ;
24459   return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext conftest$ac_exeext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24464   (eval $ac_link) 2>conftest.er1
24465   ac_status=$?
24466   grep -v '^ *+' conftest.er1 >conftest.err
24467   rm -f conftest.er1
24468   cat conftest.err >&5
24469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470   (exit $ac_status); } &&
24471          { ac_try='test -z "$ac_c_werror_flag"
24472                          || test ! -s conftest.err'
24473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474   (eval $ac_try) 2>&5
24475   ac_status=$?
24476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477   (exit $ac_status); }; } &&
24478          { ac_try='test -s conftest$ac_exeext'
24479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480   (eval $ac_try) 2>&5
24481   ac_status=$?
24482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483   (exit $ac_status); }; }; then
24484   ac_cv_lib_m_fmodf=yes
24485 else
24486   echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 ac_cv_lib_m_fmodf=no
24490 fi
24491 rm -f conftest.err conftest.$ac_objext \
24492       conftest$ac_exeext conftest.$ac_ext
24493 LIBS=$ac_check_lib_save_LIBS
24494 fi
24495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24496 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24497 if test $ac_cv_lib_m_fmodf = yes; then
24498
24499 cat >>confdefs.h <<\_ACEOF
24500 #define HAVE_FMODF 1
24501 _ACEOF
24502
24503 fi
24504
24505 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24506 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24507 if test "${ac_cv_lib_m_fmod+set}" = set; then
24508   echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510   ac_check_lib_save_LIBS=$LIBS
24511 LIBS="-lm  $LIBS"
24512 if test x$gcc_no_link = xyes; then
24513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24515    { (exit 1); exit 1; }; }
24516 fi
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h.  */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h.  */
24523
24524 /* Override any gcc2 internal prototype to avoid an error.  */
24525 #ifdef __cplusplus
24526 extern "C"
24527 #endif
24528 /* We use char because int might match the return type of a gcc2
24529    builtin and then its argument prototype would still apply.  */
24530 char fmod ();
24531 int
24532 main ()
24533 {
24534 fmod ();
24535   ;
24536   return 0;
24537 }
24538 _ACEOF
24539 rm -f conftest.$ac_objext conftest$ac_exeext
24540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24541   (eval $ac_link) 2>conftest.er1
24542   ac_status=$?
24543   grep -v '^ *+' conftest.er1 >conftest.err
24544   rm -f conftest.er1
24545   cat conftest.err >&5
24546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547   (exit $ac_status); } &&
24548          { ac_try='test -z "$ac_c_werror_flag"
24549                          || test ! -s conftest.err'
24550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24551   (eval $ac_try) 2>&5
24552   ac_status=$?
24553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554   (exit $ac_status); }; } &&
24555          { ac_try='test -s conftest$ac_exeext'
24556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24557   (eval $ac_try) 2>&5
24558   ac_status=$?
24559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560   (exit $ac_status); }; }; then
24561   ac_cv_lib_m_fmod=yes
24562 else
24563   echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.$ac_ext >&5
24565
24566 ac_cv_lib_m_fmod=no
24567 fi
24568 rm -f conftest.err conftest.$ac_objext \
24569       conftest$ac_exeext conftest.$ac_ext
24570 LIBS=$ac_check_lib_save_LIBS
24571 fi
24572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24573 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24574 if test $ac_cv_lib_m_fmod = yes; then
24575
24576 cat >>confdefs.h <<\_ACEOF
24577 #define HAVE_FMOD 1
24578 _ACEOF
24579
24580 fi
24581
24582 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24583 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24584 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24585   echo $ECHO_N "(cached) $ECHO_C" >&6
24586 else
24587   ac_check_lib_save_LIBS=$LIBS
24588 LIBS="-lm  $LIBS"
24589 if test x$gcc_no_link = xyes; then
24590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24592    { (exit 1); exit 1; }; }
24593 fi
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h.  */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h.  */
24600
24601 /* Override any gcc2 internal prototype to avoid an error.  */
24602 #ifdef __cplusplus
24603 extern "C"
24604 #endif
24605 /* We use char because int might match the return type of a gcc2
24606    builtin and then its argument prototype would still apply.  */
24607 char fmodl ();
24608 int
24609 main ()
24610 {
24611 fmodl ();
24612   ;
24613   return 0;
24614 }
24615 _ACEOF
24616 rm -f conftest.$ac_objext conftest$ac_exeext
24617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24618   (eval $ac_link) 2>conftest.er1
24619   ac_status=$?
24620   grep -v '^ *+' conftest.er1 >conftest.err
24621   rm -f conftest.er1
24622   cat conftest.err >&5
24623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624   (exit $ac_status); } &&
24625          { ac_try='test -z "$ac_c_werror_flag"
24626                          || test ! -s conftest.err'
24627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628   (eval $ac_try) 2>&5
24629   ac_status=$?
24630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631   (exit $ac_status); }; } &&
24632          { ac_try='test -s conftest$ac_exeext'
24633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634   (eval $ac_try) 2>&5
24635   ac_status=$?
24636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637   (exit $ac_status); }; }; then
24638   ac_cv_lib_m_fmodl=yes
24639 else
24640   echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24642
24643 ac_cv_lib_m_fmodl=no
24644 fi
24645 rm -f conftest.err conftest.$ac_objext \
24646       conftest$ac_exeext conftest.$ac_ext
24647 LIBS=$ac_check_lib_save_LIBS
24648 fi
24649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24650 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24651 if test $ac_cv_lib_m_fmodl = yes; then
24652
24653 cat >>confdefs.h <<\_ACEOF
24654 #define HAVE_FMODL 1
24655 _ACEOF
24656
24657 fi
24658
24659 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24660 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24661 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24662   echo $ECHO_N "(cached) $ECHO_C" >&6
24663 else
24664   ac_check_lib_save_LIBS=$LIBS
24665 LIBS="-lm  $LIBS"
24666 if test x$gcc_no_link = xyes; then
24667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24669    { (exit 1); exit 1; }; }
24670 fi
24671 cat >conftest.$ac_ext <<_ACEOF
24672 /* confdefs.h.  */
24673 _ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h.  */
24677
24678 /* Override any gcc2 internal prototype to avoid an error.  */
24679 #ifdef __cplusplus
24680 extern "C"
24681 #endif
24682 /* We use char because int might match the return type of a gcc2
24683    builtin and then its argument prototype would still apply.  */
24684 char frexpf ();
24685 int
24686 main ()
24687 {
24688 frexpf ();
24689   ;
24690   return 0;
24691 }
24692 _ACEOF
24693 rm -f conftest.$ac_objext conftest$ac_exeext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24695   (eval $ac_link) 2>conftest.er1
24696   ac_status=$?
24697   grep -v '^ *+' conftest.er1 >conftest.err
24698   rm -f conftest.er1
24699   cat conftest.err >&5
24700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701   (exit $ac_status); } &&
24702          { ac_try='test -z "$ac_c_werror_flag"
24703                          || test ! -s conftest.err'
24704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705   (eval $ac_try) 2>&5
24706   ac_status=$?
24707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708   (exit $ac_status); }; } &&
24709          { ac_try='test -s conftest$ac_exeext'
24710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711   (eval $ac_try) 2>&5
24712   ac_status=$?
24713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714   (exit $ac_status); }; }; then
24715   ac_cv_lib_m_frexpf=yes
24716 else
24717   echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.$ac_ext >&5
24719
24720 ac_cv_lib_m_frexpf=no
24721 fi
24722 rm -f conftest.err conftest.$ac_objext \
24723       conftest$ac_exeext conftest.$ac_ext
24724 LIBS=$ac_check_lib_save_LIBS
24725 fi
24726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24727 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24728 if test $ac_cv_lib_m_frexpf = yes; then
24729
24730 cat >>confdefs.h <<\_ACEOF
24731 #define HAVE_FREXPF 1
24732 _ACEOF
24733
24734 fi
24735
24736 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24737 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24738 if test "${ac_cv_lib_m_frexp+set}" = set; then
24739   echo $ECHO_N "(cached) $ECHO_C" >&6
24740 else
24741   ac_check_lib_save_LIBS=$LIBS
24742 LIBS="-lm  $LIBS"
24743 if test x$gcc_no_link = xyes; then
24744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24746    { (exit 1); exit 1; }; }
24747 fi
24748 cat >conftest.$ac_ext <<_ACEOF
24749 /* confdefs.h.  */
24750 _ACEOF
24751 cat confdefs.h >>conftest.$ac_ext
24752 cat >>conftest.$ac_ext <<_ACEOF
24753 /* end confdefs.h.  */
24754
24755 /* Override any gcc2 internal prototype to avoid an error.  */
24756 #ifdef __cplusplus
24757 extern "C"
24758 #endif
24759 /* We use char because int might match the return type of a gcc2
24760    builtin and then its argument prototype would still apply.  */
24761 char frexp ();
24762 int
24763 main ()
24764 {
24765 frexp ();
24766   ;
24767   return 0;
24768 }
24769 _ACEOF
24770 rm -f conftest.$ac_objext conftest$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772   (eval $ac_link) 2>conftest.er1
24773   ac_status=$?
24774   grep -v '^ *+' conftest.er1 >conftest.err
24775   rm -f conftest.er1
24776   cat conftest.err >&5
24777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778   (exit $ac_status); } &&
24779          { ac_try='test -z "$ac_c_werror_flag"
24780                          || test ! -s conftest.err'
24781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782   (eval $ac_try) 2>&5
24783   ac_status=$?
24784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785   (exit $ac_status); }; } &&
24786          { ac_try='test -s conftest$ac_exeext'
24787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788   (eval $ac_try) 2>&5
24789   ac_status=$?
24790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791   (exit $ac_status); }; }; then
24792   ac_cv_lib_m_frexp=yes
24793 else
24794   echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.$ac_ext >&5
24796
24797 ac_cv_lib_m_frexp=no
24798 fi
24799 rm -f conftest.err conftest.$ac_objext \
24800       conftest$ac_exeext conftest.$ac_ext
24801 LIBS=$ac_check_lib_save_LIBS
24802 fi
24803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24804 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24805 if test $ac_cv_lib_m_frexp = yes; then
24806
24807 cat >>confdefs.h <<\_ACEOF
24808 #define HAVE_FREXP 1
24809 _ACEOF
24810
24811 fi
24812
24813 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24814 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24815 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24816   echo $ECHO_N "(cached) $ECHO_C" >&6
24817 else
24818   ac_check_lib_save_LIBS=$LIBS
24819 LIBS="-lm  $LIBS"
24820 if test x$gcc_no_link = xyes; then
24821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24823    { (exit 1); exit 1; }; }
24824 fi
24825 cat >conftest.$ac_ext <<_ACEOF
24826 /* confdefs.h.  */
24827 _ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h.  */
24831
24832 /* Override any gcc2 internal prototype to avoid an error.  */
24833 #ifdef __cplusplus
24834 extern "C"
24835 #endif
24836 /* We use char because int might match the return type of a gcc2
24837    builtin and then its argument prototype would still apply.  */
24838 char frexpl ();
24839 int
24840 main ()
24841 {
24842 frexpl ();
24843   ;
24844   return 0;
24845 }
24846 _ACEOF
24847 rm -f conftest.$ac_objext conftest$ac_exeext
24848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24849   (eval $ac_link) 2>conftest.er1
24850   ac_status=$?
24851   grep -v '^ *+' conftest.er1 >conftest.err
24852   rm -f conftest.er1
24853   cat conftest.err >&5
24854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855   (exit $ac_status); } &&
24856          { ac_try='test -z "$ac_c_werror_flag"
24857                          || test ! -s conftest.err'
24858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859   (eval $ac_try) 2>&5
24860   ac_status=$?
24861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862   (exit $ac_status); }; } &&
24863          { ac_try='test -s conftest$ac_exeext'
24864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865   (eval $ac_try) 2>&5
24866   ac_status=$?
24867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868   (exit $ac_status); }; }; then
24869   ac_cv_lib_m_frexpl=yes
24870 else
24871   echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.$ac_ext >&5
24873
24874 ac_cv_lib_m_frexpl=no
24875 fi
24876 rm -f conftest.err conftest.$ac_objext \
24877       conftest$ac_exeext conftest.$ac_ext
24878 LIBS=$ac_check_lib_save_LIBS
24879 fi
24880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24881 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24882 if test $ac_cv_lib_m_frexpl = yes; then
24883
24884 cat >>confdefs.h <<\_ACEOF
24885 #define HAVE_FREXPL 1
24886 _ACEOF
24887
24888 fi
24889
24890 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24891 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24892 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24893   echo $ECHO_N "(cached) $ECHO_C" >&6
24894 else
24895   ac_check_lib_save_LIBS=$LIBS
24896 LIBS="-lm  $LIBS"
24897 if test x$gcc_no_link = xyes; then
24898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24900    { (exit 1); exit 1; }; }
24901 fi
24902 cat >conftest.$ac_ext <<_ACEOF
24903 /* confdefs.h.  */
24904 _ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
24907 /* end confdefs.h.  */
24908
24909 /* Override any gcc2 internal prototype to avoid an error.  */
24910 #ifdef __cplusplus
24911 extern "C"
24912 #endif
24913 /* We use char because int might match the return type of a gcc2
24914    builtin and then its argument prototype would still apply.  */
24915 char hypotf ();
24916 int
24917 main ()
24918 {
24919 hypotf ();
24920   ;
24921   return 0;
24922 }
24923 _ACEOF
24924 rm -f conftest.$ac_objext conftest$ac_exeext
24925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24926   (eval $ac_link) 2>conftest.er1
24927   ac_status=$?
24928   grep -v '^ *+' conftest.er1 >conftest.err
24929   rm -f conftest.er1
24930   cat conftest.err >&5
24931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932   (exit $ac_status); } &&
24933          { ac_try='test -z "$ac_c_werror_flag"
24934                          || test ! -s conftest.err'
24935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936   (eval $ac_try) 2>&5
24937   ac_status=$?
24938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939   (exit $ac_status); }; } &&
24940          { ac_try='test -s conftest$ac_exeext'
24941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942   (eval $ac_try) 2>&5
24943   ac_status=$?
24944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945   (exit $ac_status); }; }; then
24946   ac_cv_lib_m_hypotf=yes
24947 else
24948   echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.$ac_ext >&5
24950
24951 ac_cv_lib_m_hypotf=no
24952 fi
24953 rm -f conftest.err conftest.$ac_objext \
24954       conftest$ac_exeext conftest.$ac_ext
24955 LIBS=$ac_check_lib_save_LIBS
24956 fi
24957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24958 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24959 if test $ac_cv_lib_m_hypotf = yes; then
24960
24961 cat >>confdefs.h <<\_ACEOF
24962 #define HAVE_HYPOTF 1
24963 _ACEOF
24964
24965 fi
24966
24967 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24968 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24969 if test "${ac_cv_lib_m_hypot+set}" = set; then
24970   echo $ECHO_N "(cached) $ECHO_C" >&6
24971 else
24972   ac_check_lib_save_LIBS=$LIBS
24973 LIBS="-lm  $LIBS"
24974 if test x$gcc_no_link = xyes; then
24975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24977    { (exit 1); exit 1; }; }
24978 fi
24979 cat >conftest.$ac_ext <<_ACEOF
24980 /* confdefs.h.  */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h.  */
24985
24986 /* Override any gcc2 internal prototype to avoid an error.  */
24987 #ifdef __cplusplus
24988 extern "C"
24989 #endif
24990 /* We use char because int might match the return type of a gcc2
24991    builtin and then its argument prototype would still apply.  */
24992 char hypot ();
24993 int
24994 main ()
24995 {
24996 hypot ();
24997   ;
24998   return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest.$ac_objext conftest$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003   (eval $ac_link) 2>conftest.er1
25004   ac_status=$?
25005   grep -v '^ *+' conftest.er1 >conftest.err
25006   rm -f conftest.er1
25007   cat conftest.err >&5
25008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009   (exit $ac_status); } &&
25010          { ac_try='test -z "$ac_c_werror_flag"
25011                          || test ! -s conftest.err'
25012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013   (eval $ac_try) 2>&5
25014   ac_status=$?
25015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016   (exit $ac_status); }; } &&
25017          { ac_try='test -s conftest$ac_exeext'
25018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019   (eval $ac_try) 2>&5
25020   ac_status=$?
25021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022   (exit $ac_status); }; }; then
25023   ac_cv_lib_m_hypot=yes
25024 else
25025   echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.$ac_ext >&5
25027
25028 ac_cv_lib_m_hypot=no
25029 fi
25030 rm -f conftest.err conftest.$ac_objext \
25031       conftest$ac_exeext conftest.$ac_ext
25032 LIBS=$ac_check_lib_save_LIBS
25033 fi
25034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25035 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25036 if test $ac_cv_lib_m_hypot = yes; then
25037
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_HYPOT 1
25040 _ACEOF
25041
25042 fi
25043
25044 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25045 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25046 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25047   echo $ECHO_N "(cached) $ECHO_C" >&6
25048 else
25049   ac_check_lib_save_LIBS=$LIBS
25050 LIBS="-lm  $LIBS"
25051 if test x$gcc_no_link = xyes; then
25052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25054    { (exit 1); exit 1; }; }
25055 fi
25056 cat >conftest.$ac_ext <<_ACEOF
25057 /* confdefs.h.  */
25058 _ACEOF
25059 cat confdefs.h >>conftest.$ac_ext
25060 cat >>conftest.$ac_ext <<_ACEOF
25061 /* end confdefs.h.  */
25062
25063 /* Override any gcc2 internal prototype to avoid an error.  */
25064 #ifdef __cplusplus
25065 extern "C"
25066 #endif
25067 /* We use char because int might match the return type of a gcc2
25068    builtin and then its argument prototype would still apply.  */
25069 char hypotl ();
25070 int
25071 main ()
25072 {
25073 hypotl ();
25074   ;
25075   return 0;
25076 }
25077 _ACEOF
25078 rm -f conftest.$ac_objext conftest$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080   (eval $ac_link) 2>conftest.er1
25081   ac_status=$?
25082   grep -v '^ *+' conftest.er1 >conftest.err
25083   rm -f conftest.er1
25084   cat conftest.err >&5
25085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086   (exit $ac_status); } &&
25087          { ac_try='test -z "$ac_c_werror_flag"
25088                          || test ! -s conftest.err'
25089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090   (eval $ac_try) 2>&5
25091   ac_status=$?
25092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093   (exit $ac_status); }; } &&
25094          { ac_try='test -s conftest$ac_exeext'
25095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096   (eval $ac_try) 2>&5
25097   ac_status=$?
25098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099   (exit $ac_status); }; }; then
25100   ac_cv_lib_m_hypotl=yes
25101 else
25102   echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25104
25105 ac_cv_lib_m_hypotl=no
25106 fi
25107 rm -f conftest.err conftest.$ac_objext \
25108       conftest$ac_exeext conftest.$ac_ext
25109 LIBS=$ac_check_lib_save_LIBS
25110 fi
25111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25112 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25113 if test $ac_cv_lib_m_hypotl = yes; then
25114
25115 cat >>confdefs.h <<\_ACEOF
25116 #define HAVE_HYPOTL 1
25117 _ACEOF
25118
25119 fi
25120
25121 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25122 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25123 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25124   echo $ECHO_N "(cached) $ECHO_C" >&6
25125 else
25126   ac_check_lib_save_LIBS=$LIBS
25127 LIBS="-lm  $LIBS"
25128 if test x$gcc_no_link = xyes; then
25129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25131    { (exit 1); exit 1; }; }
25132 fi
25133 cat >conftest.$ac_ext <<_ACEOF
25134 /* confdefs.h.  */
25135 _ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h.  */
25139
25140 /* Override any gcc2 internal prototype to avoid an error.  */
25141 #ifdef __cplusplus
25142 extern "C"
25143 #endif
25144 /* We use char because int might match the return type of a gcc2
25145    builtin and then its argument prototype would still apply.  */
25146 char ldexpf ();
25147 int
25148 main ()
25149 {
25150 ldexpf ();
25151   ;
25152   return 0;
25153 }
25154 _ACEOF
25155 rm -f conftest.$ac_objext conftest$ac_exeext
25156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25157   (eval $ac_link) 2>conftest.er1
25158   ac_status=$?
25159   grep -v '^ *+' conftest.er1 >conftest.err
25160   rm -f conftest.er1
25161   cat conftest.err >&5
25162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163   (exit $ac_status); } &&
25164          { ac_try='test -z "$ac_c_werror_flag"
25165                          || test ! -s conftest.err'
25166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167   (eval $ac_try) 2>&5
25168   ac_status=$?
25169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170   (exit $ac_status); }; } &&
25171          { ac_try='test -s conftest$ac_exeext'
25172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173   (eval $ac_try) 2>&5
25174   ac_status=$?
25175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176   (exit $ac_status); }; }; then
25177   ac_cv_lib_m_ldexpf=yes
25178 else
25179   echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182 ac_cv_lib_m_ldexpf=no
25183 fi
25184 rm -f conftest.err conftest.$ac_objext \
25185       conftest$ac_exeext conftest.$ac_ext
25186 LIBS=$ac_check_lib_save_LIBS
25187 fi
25188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25189 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25190 if test $ac_cv_lib_m_ldexpf = yes; then
25191
25192 cat >>confdefs.h <<\_ACEOF
25193 #define HAVE_LDEXPF 1
25194 _ACEOF
25195
25196 fi
25197
25198 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25199 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25200 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25201   echo $ECHO_N "(cached) $ECHO_C" >&6
25202 else
25203   ac_check_lib_save_LIBS=$LIBS
25204 LIBS="-lm  $LIBS"
25205 if test x$gcc_no_link = xyes; then
25206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25208    { (exit 1); exit 1; }; }
25209 fi
25210 cat >conftest.$ac_ext <<_ACEOF
25211 /* confdefs.h.  */
25212 _ACEOF
25213 cat confdefs.h >>conftest.$ac_ext
25214 cat >>conftest.$ac_ext <<_ACEOF
25215 /* end confdefs.h.  */
25216
25217 /* Override any gcc2 internal prototype to avoid an error.  */
25218 #ifdef __cplusplus
25219 extern "C"
25220 #endif
25221 /* We use char because int might match the return type of a gcc2
25222    builtin and then its argument prototype would still apply.  */
25223 char ldexp ();
25224 int
25225 main ()
25226 {
25227 ldexp ();
25228   ;
25229   return 0;
25230 }
25231 _ACEOF
25232 rm -f conftest.$ac_objext conftest$ac_exeext
25233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25234   (eval $ac_link) 2>conftest.er1
25235   ac_status=$?
25236   grep -v '^ *+' conftest.er1 >conftest.err
25237   rm -f conftest.er1
25238   cat conftest.err >&5
25239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240   (exit $ac_status); } &&
25241          { ac_try='test -z "$ac_c_werror_flag"
25242                          || test ! -s conftest.err'
25243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244   (eval $ac_try) 2>&5
25245   ac_status=$?
25246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247   (exit $ac_status); }; } &&
25248          { ac_try='test -s conftest$ac_exeext'
25249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250   (eval $ac_try) 2>&5
25251   ac_status=$?
25252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253   (exit $ac_status); }; }; then
25254   ac_cv_lib_m_ldexp=yes
25255 else
25256   echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25258
25259 ac_cv_lib_m_ldexp=no
25260 fi
25261 rm -f conftest.err conftest.$ac_objext \
25262       conftest$ac_exeext conftest.$ac_ext
25263 LIBS=$ac_check_lib_save_LIBS
25264 fi
25265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25266 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25267 if test $ac_cv_lib_m_ldexp = yes; then
25268
25269 cat >>confdefs.h <<\_ACEOF
25270 #define HAVE_LDEXP 1
25271 _ACEOF
25272
25273 fi
25274
25275 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25276 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25277 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25278   echo $ECHO_N "(cached) $ECHO_C" >&6
25279 else
25280   ac_check_lib_save_LIBS=$LIBS
25281 LIBS="-lm  $LIBS"
25282 if test x$gcc_no_link = xyes; then
25283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25285    { (exit 1); exit 1; }; }
25286 fi
25287 cat >conftest.$ac_ext <<_ACEOF
25288 /* confdefs.h.  */
25289 _ACEOF
25290 cat confdefs.h >>conftest.$ac_ext
25291 cat >>conftest.$ac_ext <<_ACEOF
25292 /* end confdefs.h.  */
25293
25294 /* Override any gcc2 internal prototype to avoid an error.  */
25295 #ifdef __cplusplus
25296 extern "C"
25297 #endif
25298 /* We use char because int might match the return type of a gcc2
25299    builtin and then its argument prototype would still apply.  */
25300 char ldexpl ();
25301 int
25302 main ()
25303 {
25304 ldexpl ();
25305   ;
25306   return 0;
25307 }
25308 _ACEOF
25309 rm -f conftest.$ac_objext conftest$ac_exeext
25310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25311   (eval $ac_link) 2>conftest.er1
25312   ac_status=$?
25313   grep -v '^ *+' conftest.er1 >conftest.err
25314   rm -f conftest.er1
25315   cat conftest.err >&5
25316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317   (exit $ac_status); } &&
25318          { ac_try='test -z "$ac_c_werror_flag"
25319                          || test ! -s conftest.err'
25320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25321   (eval $ac_try) 2>&5
25322   ac_status=$?
25323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324   (exit $ac_status); }; } &&
25325          { ac_try='test -s conftest$ac_exeext'
25326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327   (eval $ac_try) 2>&5
25328   ac_status=$?
25329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330   (exit $ac_status); }; }; then
25331   ac_cv_lib_m_ldexpl=yes
25332 else
25333   echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.$ac_ext >&5
25335
25336 ac_cv_lib_m_ldexpl=no
25337 fi
25338 rm -f conftest.err conftest.$ac_objext \
25339       conftest$ac_exeext conftest.$ac_ext
25340 LIBS=$ac_check_lib_save_LIBS
25341 fi
25342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25343 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25344 if test $ac_cv_lib_m_ldexpl = yes; then
25345
25346 cat >>confdefs.h <<\_ACEOF
25347 #define HAVE_LDEXPL 1
25348 _ACEOF
25349
25350 fi
25351
25352 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25353 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25354 if test "${ac_cv_lib_m_logf+set}" = set; then
25355   echo $ECHO_N "(cached) $ECHO_C" >&6
25356 else
25357   ac_check_lib_save_LIBS=$LIBS
25358 LIBS="-lm  $LIBS"
25359 if test x$gcc_no_link = xyes; then
25360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25362    { (exit 1); exit 1; }; }
25363 fi
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h.  */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h.  */
25370
25371 /* Override any gcc2 internal prototype to avoid an error.  */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 /* We use char because int might match the return type of a gcc2
25376    builtin and then its argument prototype would still apply.  */
25377 char logf ();
25378 int
25379 main ()
25380 {
25381 logf ();
25382   ;
25383   return 0;
25384 }
25385 _ACEOF
25386 rm -f conftest.$ac_objext conftest$ac_exeext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25388   (eval $ac_link) 2>conftest.er1
25389   ac_status=$?
25390   grep -v '^ *+' conftest.er1 >conftest.err
25391   rm -f conftest.er1
25392   cat conftest.err >&5
25393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394   (exit $ac_status); } &&
25395          { ac_try='test -z "$ac_c_werror_flag"
25396                          || test ! -s conftest.err'
25397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398   (eval $ac_try) 2>&5
25399   ac_status=$?
25400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401   (exit $ac_status); }; } &&
25402          { ac_try='test -s conftest$ac_exeext'
25403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404   (eval $ac_try) 2>&5
25405   ac_status=$?
25406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407   (exit $ac_status); }; }; then
25408   ac_cv_lib_m_logf=yes
25409 else
25410   echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25412
25413 ac_cv_lib_m_logf=no
25414 fi
25415 rm -f conftest.err conftest.$ac_objext \
25416       conftest$ac_exeext conftest.$ac_ext
25417 LIBS=$ac_check_lib_save_LIBS
25418 fi
25419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25420 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25421 if test $ac_cv_lib_m_logf = yes; then
25422
25423 cat >>confdefs.h <<\_ACEOF
25424 #define HAVE_LOGF 1
25425 _ACEOF
25426
25427 fi
25428
25429 echo "$as_me:$LINENO: checking for log in -lm" >&5
25430 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25431 if test "${ac_cv_lib_m_log+set}" = set; then
25432   echo $ECHO_N "(cached) $ECHO_C" >&6
25433 else
25434   ac_check_lib_save_LIBS=$LIBS
25435 LIBS="-lm  $LIBS"
25436 if test x$gcc_no_link = xyes; then
25437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25439    { (exit 1); exit 1; }; }
25440 fi
25441 cat >conftest.$ac_ext <<_ACEOF
25442 /* confdefs.h.  */
25443 _ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h.  */
25447
25448 /* Override any gcc2 internal prototype to avoid an error.  */
25449 #ifdef __cplusplus
25450 extern "C"
25451 #endif
25452 /* We use char because int might match the return type of a gcc2
25453    builtin and then its argument prototype would still apply.  */
25454 char log ();
25455 int
25456 main ()
25457 {
25458 log ();
25459   ;
25460   return 0;
25461 }
25462 _ACEOF
25463 rm -f conftest.$ac_objext conftest$ac_exeext
25464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25465   (eval $ac_link) 2>conftest.er1
25466   ac_status=$?
25467   grep -v '^ *+' conftest.er1 >conftest.err
25468   rm -f conftest.er1
25469   cat conftest.err >&5
25470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471   (exit $ac_status); } &&
25472          { ac_try='test -z "$ac_c_werror_flag"
25473                          || test ! -s conftest.err'
25474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475   (eval $ac_try) 2>&5
25476   ac_status=$?
25477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478   (exit $ac_status); }; } &&
25479          { ac_try='test -s conftest$ac_exeext'
25480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481   (eval $ac_try) 2>&5
25482   ac_status=$?
25483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484   (exit $ac_status); }; }; then
25485   ac_cv_lib_m_log=yes
25486 else
25487   echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.$ac_ext >&5
25489
25490 ac_cv_lib_m_log=no
25491 fi
25492 rm -f conftest.err conftest.$ac_objext \
25493       conftest$ac_exeext conftest.$ac_ext
25494 LIBS=$ac_check_lib_save_LIBS
25495 fi
25496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25497 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25498 if test $ac_cv_lib_m_log = yes; then
25499
25500 cat >>confdefs.h <<\_ACEOF
25501 #define HAVE_LOG 1
25502 _ACEOF
25503
25504 fi
25505
25506 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25507 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25508 if test "${ac_cv_lib_m_logl+set}" = set; then
25509   echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511   ac_check_lib_save_LIBS=$LIBS
25512 LIBS="-lm  $LIBS"
25513 if test x$gcc_no_link = xyes; then
25514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25516    { (exit 1); exit 1; }; }
25517 fi
25518 cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h.  */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h.  */
25524
25525 /* Override any gcc2 internal prototype to avoid an error.  */
25526 #ifdef __cplusplus
25527 extern "C"
25528 #endif
25529 /* We use char because int might match the return type of a gcc2
25530    builtin and then its argument prototype would still apply.  */
25531 char logl ();
25532 int
25533 main ()
25534 {
25535 logl ();
25536   ;
25537   return 0;
25538 }
25539 _ACEOF
25540 rm -f conftest.$ac_objext conftest$ac_exeext
25541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25542   (eval $ac_link) 2>conftest.er1
25543   ac_status=$?
25544   grep -v '^ *+' conftest.er1 >conftest.err
25545   rm -f conftest.er1
25546   cat conftest.err >&5
25547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548   (exit $ac_status); } &&
25549          { ac_try='test -z "$ac_c_werror_flag"
25550                          || test ! -s conftest.err'
25551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552   (eval $ac_try) 2>&5
25553   ac_status=$?
25554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555   (exit $ac_status); }; } &&
25556          { ac_try='test -s conftest$ac_exeext'
25557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558   (eval $ac_try) 2>&5
25559   ac_status=$?
25560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561   (exit $ac_status); }; }; then
25562   ac_cv_lib_m_logl=yes
25563 else
25564   echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.$ac_ext >&5
25566
25567 ac_cv_lib_m_logl=no
25568 fi
25569 rm -f conftest.err conftest.$ac_objext \
25570       conftest$ac_exeext conftest.$ac_ext
25571 LIBS=$ac_check_lib_save_LIBS
25572 fi
25573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25574 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25575 if test $ac_cv_lib_m_logl = yes; then
25576
25577 cat >>confdefs.h <<\_ACEOF
25578 #define HAVE_LOGL 1
25579 _ACEOF
25580
25581 fi
25582
25583 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25584 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25585 if test "${ac_cv_lib_m_clogf+set}" = set; then
25586   echo $ECHO_N "(cached) $ECHO_C" >&6
25587 else
25588   ac_check_lib_save_LIBS=$LIBS
25589 LIBS="-lm  $LIBS"
25590 if test x$gcc_no_link = xyes; then
25591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25593    { (exit 1); exit 1; }; }
25594 fi
25595 cat >conftest.$ac_ext <<_ACEOF
25596 /* confdefs.h.  */
25597 _ACEOF
25598 cat confdefs.h >>conftest.$ac_ext
25599 cat >>conftest.$ac_ext <<_ACEOF
25600 /* end confdefs.h.  */
25601
25602 /* Override any gcc2 internal prototype to avoid an error.  */
25603 #ifdef __cplusplus
25604 extern "C"
25605 #endif
25606 /* We use char because int might match the return type of a gcc2
25607    builtin and then its argument prototype would still apply.  */
25608 char clogf ();
25609 int
25610 main ()
25611 {
25612 clogf ();
25613   ;
25614   return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25619   (eval $ac_link) 2>conftest.er1
25620   ac_status=$?
25621   grep -v '^ *+' conftest.er1 >conftest.err
25622   rm -f conftest.er1
25623   cat conftest.err >&5
25624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625   (exit $ac_status); } &&
25626          { ac_try='test -z "$ac_c_werror_flag"
25627                          || test ! -s conftest.err'
25628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629   (eval $ac_try) 2>&5
25630   ac_status=$?
25631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632   (exit $ac_status); }; } &&
25633          { ac_try='test -s conftest$ac_exeext'
25634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635   (eval $ac_try) 2>&5
25636   ac_status=$?
25637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638   (exit $ac_status); }; }; then
25639   ac_cv_lib_m_clogf=yes
25640 else
25641   echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.$ac_ext >&5
25643
25644 ac_cv_lib_m_clogf=no
25645 fi
25646 rm -f conftest.err conftest.$ac_objext \
25647       conftest$ac_exeext conftest.$ac_ext
25648 LIBS=$ac_check_lib_save_LIBS
25649 fi
25650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25651 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25652 if test $ac_cv_lib_m_clogf = yes; then
25653
25654 cat >>confdefs.h <<\_ACEOF
25655 #define HAVE_CLOGF 1
25656 _ACEOF
25657
25658 fi
25659
25660 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25661 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25662 if test "${ac_cv_lib_m_clog+set}" = set; then
25663   echo $ECHO_N "(cached) $ECHO_C" >&6
25664 else
25665   ac_check_lib_save_LIBS=$LIBS
25666 LIBS="-lm  $LIBS"
25667 if test x$gcc_no_link = xyes; then
25668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25670    { (exit 1); exit 1; }; }
25671 fi
25672 cat >conftest.$ac_ext <<_ACEOF
25673 /* confdefs.h.  */
25674 _ACEOF
25675 cat confdefs.h >>conftest.$ac_ext
25676 cat >>conftest.$ac_ext <<_ACEOF
25677 /* end confdefs.h.  */
25678
25679 /* Override any gcc2 internal prototype to avoid an error.  */
25680 #ifdef __cplusplus
25681 extern "C"
25682 #endif
25683 /* We use char because int might match the return type of a gcc2
25684    builtin and then its argument prototype would still apply.  */
25685 char clog ();
25686 int
25687 main ()
25688 {
25689 clog ();
25690   ;
25691   return 0;
25692 }
25693 _ACEOF
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25696   (eval $ac_link) 2>conftest.er1
25697   ac_status=$?
25698   grep -v '^ *+' conftest.er1 >conftest.err
25699   rm -f conftest.er1
25700   cat conftest.err >&5
25701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702   (exit $ac_status); } &&
25703          { ac_try='test -z "$ac_c_werror_flag"
25704                          || test ! -s conftest.err'
25705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706   (eval $ac_try) 2>&5
25707   ac_status=$?
25708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709   (exit $ac_status); }; } &&
25710          { ac_try='test -s conftest$ac_exeext'
25711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712   (eval $ac_try) 2>&5
25713   ac_status=$?
25714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715   (exit $ac_status); }; }; then
25716   ac_cv_lib_m_clog=yes
25717 else
25718   echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 ac_cv_lib_m_clog=no
25722 fi
25723 rm -f conftest.err conftest.$ac_objext \
25724       conftest$ac_exeext conftest.$ac_ext
25725 LIBS=$ac_check_lib_save_LIBS
25726 fi
25727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25728 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25729 if test $ac_cv_lib_m_clog = yes; then
25730
25731 cat >>confdefs.h <<\_ACEOF
25732 #define HAVE_CLOG 1
25733 _ACEOF
25734
25735 fi
25736
25737 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25738 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25739 if test "${ac_cv_lib_m_clogl+set}" = set; then
25740   echo $ECHO_N "(cached) $ECHO_C" >&6
25741 else
25742   ac_check_lib_save_LIBS=$LIBS
25743 LIBS="-lm  $LIBS"
25744 if test x$gcc_no_link = xyes; then
25745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25747    { (exit 1); exit 1; }; }
25748 fi
25749 cat >conftest.$ac_ext <<_ACEOF
25750 /* confdefs.h.  */
25751 _ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h.  */
25755
25756 /* Override any gcc2 internal prototype to avoid an error.  */
25757 #ifdef __cplusplus
25758 extern "C"
25759 #endif
25760 /* We use char because int might match the return type of a gcc2
25761    builtin and then its argument prototype would still apply.  */
25762 char clogl ();
25763 int
25764 main ()
25765 {
25766 clogl ();
25767   ;
25768   return 0;
25769 }
25770 _ACEOF
25771 rm -f conftest.$ac_objext conftest$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773   (eval $ac_link) 2>conftest.er1
25774   ac_status=$?
25775   grep -v '^ *+' conftest.er1 >conftest.err
25776   rm -f conftest.er1
25777   cat conftest.err >&5
25778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779   (exit $ac_status); } &&
25780          { ac_try='test -z "$ac_c_werror_flag"
25781                          || test ! -s conftest.err'
25782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783   (eval $ac_try) 2>&5
25784   ac_status=$?
25785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786   (exit $ac_status); }; } &&
25787          { ac_try='test -s conftest$ac_exeext'
25788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789   (eval $ac_try) 2>&5
25790   ac_status=$?
25791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792   (exit $ac_status); }; }; then
25793   ac_cv_lib_m_clogl=yes
25794 else
25795   echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25797
25798 ac_cv_lib_m_clogl=no
25799 fi
25800 rm -f conftest.err conftest.$ac_objext \
25801       conftest$ac_exeext conftest.$ac_ext
25802 LIBS=$ac_check_lib_save_LIBS
25803 fi
25804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25805 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25806 if test $ac_cv_lib_m_clogl = yes; then
25807
25808 cat >>confdefs.h <<\_ACEOF
25809 #define HAVE_CLOGL 1
25810 _ACEOF
25811
25812 fi
25813
25814 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25815 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25816 if test "${ac_cv_lib_m_log10f+set}" = set; then
25817   echo $ECHO_N "(cached) $ECHO_C" >&6
25818 else
25819   ac_check_lib_save_LIBS=$LIBS
25820 LIBS="-lm  $LIBS"
25821 if test x$gcc_no_link = xyes; then
25822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25824    { (exit 1); exit 1; }; }
25825 fi
25826 cat >conftest.$ac_ext <<_ACEOF
25827 /* confdefs.h.  */
25828 _ACEOF
25829 cat confdefs.h >>conftest.$ac_ext
25830 cat >>conftest.$ac_ext <<_ACEOF
25831 /* end confdefs.h.  */
25832
25833 /* Override any gcc2 internal prototype to avoid an error.  */
25834 #ifdef __cplusplus
25835 extern "C"
25836 #endif
25837 /* We use char because int might match the return type of a gcc2
25838    builtin and then its argument prototype would still apply.  */
25839 char log10f ();
25840 int
25841 main ()
25842 {
25843 log10f ();
25844   ;
25845   return 0;
25846 }
25847 _ACEOF
25848 rm -f conftest.$ac_objext conftest$ac_exeext
25849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25850   (eval $ac_link) 2>conftest.er1
25851   ac_status=$?
25852   grep -v '^ *+' conftest.er1 >conftest.err
25853   rm -f conftest.er1
25854   cat conftest.err >&5
25855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856   (exit $ac_status); } &&
25857          { ac_try='test -z "$ac_c_werror_flag"
25858                          || test ! -s conftest.err'
25859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860   (eval $ac_try) 2>&5
25861   ac_status=$?
25862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863   (exit $ac_status); }; } &&
25864          { ac_try='test -s conftest$ac_exeext'
25865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866   (eval $ac_try) 2>&5
25867   ac_status=$?
25868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869   (exit $ac_status); }; }; then
25870   ac_cv_lib_m_log10f=yes
25871 else
25872   echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.$ac_ext >&5
25874
25875 ac_cv_lib_m_log10f=no
25876 fi
25877 rm -f conftest.err conftest.$ac_objext \
25878       conftest$ac_exeext conftest.$ac_ext
25879 LIBS=$ac_check_lib_save_LIBS
25880 fi
25881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25882 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25883 if test $ac_cv_lib_m_log10f = yes; then
25884
25885 cat >>confdefs.h <<\_ACEOF
25886 #define HAVE_LOG10F 1
25887 _ACEOF
25888
25889 fi
25890
25891 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25892 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25893 if test "${ac_cv_lib_m_log10+set}" = set; then
25894   echo $ECHO_N "(cached) $ECHO_C" >&6
25895 else
25896   ac_check_lib_save_LIBS=$LIBS
25897 LIBS="-lm  $LIBS"
25898 if test x$gcc_no_link = xyes; then
25899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25901    { (exit 1); exit 1; }; }
25902 fi
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h.  */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h.  */
25909
25910 /* Override any gcc2 internal prototype to avoid an error.  */
25911 #ifdef __cplusplus
25912 extern "C"
25913 #endif
25914 /* We use char because int might match the return type of a gcc2
25915    builtin and then its argument prototype would still apply.  */
25916 char log10 ();
25917 int
25918 main ()
25919 {
25920 log10 ();
25921   ;
25922   return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext conftest$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927   (eval $ac_link) 2>conftest.er1
25928   ac_status=$?
25929   grep -v '^ *+' conftest.er1 >conftest.err
25930   rm -f conftest.er1
25931   cat conftest.err >&5
25932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933   (exit $ac_status); } &&
25934          { ac_try='test -z "$ac_c_werror_flag"
25935                          || test ! -s conftest.err'
25936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937   (eval $ac_try) 2>&5
25938   ac_status=$?
25939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940   (exit $ac_status); }; } &&
25941          { ac_try='test -s conftest$ac_exeext'
25942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943   (eval $ac_try) 2>&5
25944   ac_status=$?
25945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946   (exit $ac_status); }; }; then
25947   ac_cv_lib_m_log10=yes
25948 else
25949   echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25951
25952 ac_cv_lib_m_log10=no
25953 fi
25954 rm -f conftest.err conftest.$ac_objext \
25955       conftest$ac_exeext conftest.$ac_ext
25956 LIBS=$ac_check_lib_save_LIBS
25957 fi
25958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25959 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25960 if test $ac_cv_lib_m_log10 = yes; then
25961
25962 cat >>confdefs.h <<\_ACEOF
25963 #define HAVE_LOG10 1
25964 _ACEOF
25965
25966 fi
25967
25968 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25969 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25970 if test "${ac_cv_lib_m_log10l+set}" = set; then
25971   echo $ECHO_N "(cached) $ECHO_C" >&6
25972 else
25973   ac_check_lib_save_LIBS=$LIBS
25974 LIBS="-lm  $LIBS"
25975 if test x$gcc_no_link = xyes; then
25976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25978    { (exit 1); exit 1; }; }
25979 fi
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h.  */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h.  */
25986
25987 /* Override any gcc2 internal prototype to avoid an error.  */
25988 #ifdef __cplusplus
25989 extern "C"
25990 #endif
25991 /* We use char because int might match the return type of a gcc2
25992    builtin and then its argument prototype would still apply.  */
25993 char log10l ();
25994 int
25995 main ()
25996 {
25997 log10l ();
25998   ;
25999   return 0;
26000 }
26001 _ACEOF
26002 rm -f conftest.$ac_objext conftest$ac_exeext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26004   (eval $ac_link) 2>conftest.er1
26005   ac_status=$?
26006   grep -v '^ *+' conftest.er1 >conftest.err
26007   rm -f conftest.er1
26008   cat conftest.err >&5
26009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010   (exit $ac_status); } &&
26011          { ac_try='test -z "$ac_c_werror_flag"
26012                          || test ! -s conftest.err'
26013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014   (eval $ac_try) 2>&5
26015   ac_status=$?
26016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017   (exit $ac_status); }; } &&
26018          { ac_try='test -s conftest$ac_exeext'
26019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020   (eval $ac_try) 2>&5
26021   ac_status=$?
26022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023   (exit $ac_status); }; }; then
26024   ac_cv_lib_m_log10l=yes
26025 else
26026   echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26028
26029 ac_cv_lib_m_log10l=no
26030 fi
26031 rm -f conftest.err conftest.$ac_objext \
26032       conftest$ac_exeext conftest.$ac_ext
26033 LIBS=$ac_check_lib_save_LIBS
26034 fi
26035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26036 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26037 if test $ac_cv_lib_m_log10l = yes; then
26038
26039 cat >>confdefs.h <<\_ACEOF
26040 #define HAVE_LOG10L 1
26041 _ACEOF
26042
26043 fi
26044
26045 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26046 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26047 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26048   echo $ECHO_N "(cached) $ECHO_C" >&6
26049 else
26050   ac_check_lib_save_LIBS=$LIBS
26051 LIBS="-lm  $LIBS"
26052 if test x$gcc_no_link = xyes; then
26053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26055    { (exit 1); exit 1; }; }
26056 fi
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h.  */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h.  */
26063
26064 /* Override any gcc2 internal prototype to avoid an error.  */
26065 #ifdef __cplusplus
26066 extern "C"
26067 #endif
26068 /* We use char because int might match the return type of a gcc2
26069    builtin and then its argument prototype would still apply.  */
26070 char clog10f ();
26071 int
26072 main ()
26073 {
26074 clog10f ();
26075   ;
26076   return 0;
26077 }
26078 _ACEOF
26079 rm -f conftest.$ac_objext conftest$ac_exeext
26080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26081   (eval $ac_link) 2>conftest.er1
26082   ac_status=$?
26083   grep -v '^ *+' conftest.er1 >conftest.err
26084   rm -f conftest.er1
26085   cat conftest.err >&5
26086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087   (exit $ac_status); } &&
26088          { ac_try='test -z "$ac_c_werror_flag"
26089                          || test ! -s conftest.err'
26090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091   (eval $ac_try) 2>&5
26092   ac_status=$?
26093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094   (exit $ac_status); }; } &&
26095          { ac_try='test -s conftest$ac_exeext'
26096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097   (eval $ac_try) 2>&5
26098   ac_status=$?
26099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100   (exit $ac_status); }; }; then
26101   ac_cv_lib_m_clog10f=yes
26102 else
26103   echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26105
26106 ac_cv_lib_m_clog10f=no
26107 fi
26108 rm -f conftest.err conftest.$ac_objext \
26109       conftest$ac_exeext conftest.$ac_ext
26110 LIBS=$ac_check_lib_save_LIBS
26111 fi
26112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26113 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26114 if test $ac_cv_lib_m_clog10f = yes; then
26115
26116 cat >>confdefs.h <<\_ACEOF
26117 #define HAVE_CLOG10F 1
26118 _ACEOF
26119
26120 fi
26121
26122 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26123 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26124 if test "${ac_cv_lib_m_clog10+set}" = set; then
26125   echo $ECHO_N "(cached) $ECHO_C" >&6
26126 else
26127   ac_check_lib_save_LIBS=$LIBS
26128 LIBS="-lm  $LIBS"
26129 if test x$gcc_no_link = xyes; then
26130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26132    { (exit 1); exit 1; }; }
26133 fi
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h.  */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h.  */
26140
26141 /* Override any gcc2 internal prototype to avoid an error.  */
26142 #ifdef __cplusplus
26143 extern "C"
26144 #endif
26145 /* We use char because int might match the return type of a gcc2
26146    builtin and then its argument prototype would still apply.  */
26147 char clog10 ();
26148 int
26149 main ()
26150 {
26151 clog10 ();
26152   ;
26153   return 0;
26154 }
26155 _ACEOF
26156 rm -f conftest.$ac_objext conftest$ac_exeext
26157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26158   (eval $ac_link) 2>conftest.er1
26159   ac_status=$?
26160   grep -v '^ *+' conftest.er1 >conftest.err
26161   rm -f conftest.er1
26162   cat conftest.err >&5
26163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164   (exit $ac_status); } &&
26165          { ac_try='test -z "$ac_c_werror_flag"
26166                          || test ! -s conftest.err'
26167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168   (eval $ac_try) 2>&5
26169   ac_status=$?
26170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171   (exit $ac_status); }; } &&
26172          { ac_try='test -s conftest$ac_exeext'
26173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26174   (eval $ac_try) 2>&5
26175   ac_status=$?
26176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177   (exit $ac_status); }; }; then
26178   ac_cv_lib_m_clog10=yes
26179 else
26180   echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26182
26183 ac_cv_lib_m_clog10=no
26184 fi
26185 rm -f conftest.err conftest.$ac_objext \
26186       conftest$ac_exeext conftest.$ac_ext
26187 LIBS=$ac_check_lib_save_LIBS
26188 fi
26189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26190 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26191 if test $ac_cv_lib_m_clog10 = yes; then
26192
26193 cat >>confdefs.h <<\_ACEOF
26194 #define HAVE_CLOG10 1
26195 _ACEOF
26196
26197 fi
26198
26199 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26200 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26201 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26202   echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204   ac_check_lib_save_LIBS=$LIBS
26205 LIBS="-lm  $LIBS"
26206 if test x$gcc_no_link = xyes; then
26207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26209    { (exit 1); exit 1; }; }
26210 fi
26211 cat >conftest.$ac_ext <<_ACEOF
26212 /* confdefs.h.  */
26213 _ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h.  */
26217
26218 /* Override any gcc2 internal prototype to avoid an error.  */
26219 #ifdef __cplusplus
26220 extern "C"
26221 #endif
26222 /* We use char because int might match the return type of a gcc2
26223    builtin and then its argument prototype would still apply.  */
26224 char clog10l ();
26225 int
26226 main ()
26227 {
26228 clog10l ();
26229   ;
26230   return 0;
26231 }
26232 _ACEOF
26233 rm -f conftest.$ac_objext conftest$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235   (eval $ac_link) 2>conftest.er1
26236   ac_status=$?
26237   grep -v '^ *+' conftest.er1 >conftest.err
26238   rm -f conftest.er1
26239   cat conftest.err >&5
26240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241   (exit $ac_status); } &&
26242          { ac_try='test -z "$ac_c_werror_flag"
26243                          || test ! -s conftest.err'
26244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245   (eval $ac_try) 2>&5
26246   ac_status=$?
26247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248   (exit $ac_status); }; } &&
26249          { ac_try='test -s conftest$ac_exeext'
26250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251   (eval $ac_try) 2>&5
26252   ac_status=$?
26253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254   (exit $ac_status); }; }; then
26255   ac_cv_lib_m_clog10l=yes
26256 else
26257   echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26259
26260 ac_cv_lib_m_clog10l=no
26261 fi
26262 rm -f conftest.err conftest.$ac_objext \
26263       conftest$ac_exeext conftest.$ac_ext
26264 LIBS=$ac_check_lib_save_LIBS
26265 fi
26266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26267 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26268 if test $ac_cv_lib_m_clog10l = yes; then
26269
26270 cat >>confdefs.h <<\_ACEOF
26271 #define HAVE_CLOG10L 1
26272 _ACEOF
26273
26274 fi
26275
26276 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26277 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26278 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26279   echo $ECHO_N "(cached) $ECHO_C" >&6
26280 else
26281   ac_check_lib_save_LIBS=$LIBS
26282 LIBS="-lm  $LIBS"
26283 if test x$gcc_no_link = xyes; then
26284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26286    { (exit 1); exit 1; }; }
26287 fi
26288 cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h.  */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h.  */
26294
26295 /* Override any gcc2 internal prototype to avoid an error.  */
26296 #ifdef __cplusplus
26297 extern "C"
26298 #endif
26299 /* We use char because int might match the return type of a gcc2
26300    builtin and then its argument prototype would still apply.  */
26301 char nextafterf ();
26302 int
26303 main ()
26304 {
26305 nextafterf ();
26306   ;
26307   return 0;
26308 }
26309 _ACEOF
26310 rm -f conftest.$ac_objext conftest$ac_exeext
26311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26312   (eval $ac_link) 2>conftest.er1
26313   ac_status=$?
26314   grep -v '^ *+' conftest.er1 >conftest.err
26315   rm -f conftest.er1
26316   cat conftest.err >&5
26317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318   (exit $ac_status); } &&
26319          { ac_try='test -z "$ac_c_werror_flag"
26320                          || test ! -s conftest.err'
26321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322   (eval $ac_try) 2>&5
26323   ac_status=$?
26324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325   (exit $ac_status); }; } &&
26326          { ac_try='test -s conftest$ac_exeext'
26327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328   (eval $ac_try) 2>&5
26329   ac_status=$?
26330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331   (exit $ac_status); }; }; then
26332   ac_cv_lib_m_nextafterf=yes
26333 else
26334   echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.$ac_ext >&5
26336
26337 ac_cv_lib_m_nextafterf=no
26338 fi
26339 rm -f conftest.err conftest.$ac_objext \
26340       conftest$ac_exeext conftest.$ac_ext
26341 LIBS=$ac_check_lib_save_LIBS
26342 fi
26343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26344 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26345 if test $ac_cv_lib_m_nextafterf = yes; then
26346
26347 cat >>confdefs.h <<\_ACEOF
26348 #define HAVE_NEXTAFTERF 1
26349 _ACEOF
26350
26351 fi
26352
26353 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26354 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26355 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26356   echo $ECHO_N "(cached) $ECHO_C" >&6
26357 else
26358   ac_check_lib_save_LIBS=$LIBS
26359 LIBS="-lm  $LIBS"
26360 if test x$gcc_no_link = xyes; then
26361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26363    { (exit 1); exit 1; }; }
26364 fi
26365 cat >conftest.$ac_ext <<_ACEOF
26366 /* confdefs.h.  */
26367 _ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h.  */
26371
26372 /* Override any gcc2 internal prototype to avoid an error.  */
26373 #ifdef __cplusplus
26374 extern "C"
26375 #endif
26376 /* We use char because int might match the return type of a gcc2
26377    builtin and then its argument prototype would still apply.  */
26378 char nextafter ();
26379 int
26380 main ()
26381 {
26382 nextafter ();
26383   ;
26384   return 0;
26385 }
26386 _ACEOF
26387 rm -f conftest.$ac_objext conftest$ac_exeext
26388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26389   (eval $ac_link) 2>conftest.er1
26390   ac_status=$?
26391   grep -v '^ *+' conftest.er1 >conftest.err
26392   rm -f conftest.er1
26393   cat conftest.err >&5
26394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395   (exit $ac_status); } &&
26396          { ac_try='test -z "$ac_c_werror_flag"
26397                          || test ! -s conftest.err'
26398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399   (eval $ac_try) 2>&5
26400   ac_status=$?
26401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402   (exit $ac_status); }; } &&
26403          { ac_try='test -s conftest$ac_exeext'
26404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405   (eval $ac_try) 2>&5
26406   ac_status=$?
26407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408   (exit $ac_status); }; }; then
26409   ac_cv_lib_m_nextafter=yes
26410 else
26411   echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.$ac_ext >&5
26413
26414 ac_cv_lib_m_nextafter=no
26415 fi
26416 rm -f conftest.err conftest.$ac_objext \
26417       conftest$ac_exeext conftest.$ac_ext
26418 LIBS=$ac_check_lib_save_LIBS
26419 fi
26420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26421 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26422 if test $ac_cv_lib_m_nextafter = yes; then
26423
26424 cat >>confdefs.h <<\_ACEOF
26425 #define HAVE_NEXTAFTER 1
26426 _ACEOF
26427
26428 fi
26429
26430 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26431 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26432 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26433   echo $ECHO_N "(cached) $ECHO_C" >&6
26434 else
26435   ac_check_lib_save_LIBS=$LIBS
26436 LIBS="-lm  $LIBS"
26437 if test x$gcc_no_link = xyes; then
26438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26440    { (exit 1); exit 1; }; }
26441 fi
26442 cat >conftest.$ac_ext <<_ACEOF
26443 /* confdefs.h.  */
26444 _ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h.  */
26448
26449 /* Override any gcc2 internal prototype to avoid an error.  */
26450 #ifdef __cplusplus
26451 extern "C"
26452 #endif
26453 /* We use char because int might match the return type of a gcc2
26454    builtin and then its argument prototype would still apply.  */
26455 char nextafterl ();
26456 int
26457 main ()
26458 {
26459 nextafterl ();
26460   ;
26461   return 0;
26462 }
26463 _ACEOF
26464 rm -f conftest.$ac_objext conftest$ac_exeext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26466   (eval $ac_link) 2>conftest.er1
26467   ac_status=$?
26468   grep -v '^ *+' conftest.er1 >conftest.err
26469   rm -f conftest.er1
26470   cat conftest.err >&5
26471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472   (exit $ac_status); } &&
26473          { ac_try='test -z "$ac_c_werror_flag"
26474                          || test ! -s conftest.err'
26475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476   (eval $ac_try) 2>&5
26477   ac_status=$?
26478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479   (exit $ac_status); }; } &&
26480          { ac_try='test -s conftest$ac_exeext'
26481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482   (eval $ac_try) 2>&5
26483   ac_status=$?
26484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485   (exit $ac_status); }; }; then
26486   ac_cv_lib_m_nextafterl=yes
26487 else
26488   echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.$ac_ext >&5
26490
26491 ac_cv_lib_m_nextafterl=no
26492 fi
26493 rm -f conftest.err conftest.$ac_objext \
26494       conftest$ac_exeext conftest.$ac_ext
26495 LIBS=$ac_check_lib_save_LIBS
26496 fi
26497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26498 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26499 if test $ac_cv_lib_m_nextafterl = yes; then
26500
26501 cat >>confdefs.h <<\_ACEOF
26502 #define HAVE_NEXTAFTERL 1
26503 _ACEOF
26504
26505 fi
26506
26507 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26508 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26509 if test "${ac_cv_lib_m_powf+set}" = set; then
26510   echo $ECHO_N "(cached) $ECHO_C" >&6
26511 else
26512   ac_check_lib_save_LIBS=$LIBS
26513 LIBS="-lm  $LIBS"
26514 if test x$gcc_no_link = xyes; then
26515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26517    { (exit 1); exit 1; }; }
26518 fi
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h.  */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h.  */
26525
26526 /* Override any gcc2 internal prototype to avoid an error.  */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 /* We use char because int might match the return type of a gcc2
26531    builtin and then its argument prototype would still apply.  */
26532 char powf ();
26533 int
26534 main ()
26535 {
26536 powf ();
26537   ;
26538   return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543   (eval $ac_link) 2>conftest.er1
26544   ac_status=$?
26545   grep -v '^ *+' conftest.er1 >conftest.err
26546   rm -f conftest.er1
26547   cat conftest.err >&5
26548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549   (exit $ac_status); } &&
26550          { ac_try='test -z "$ac_c_werror_flag"
26551                          || test ! -s conftest.err'
26552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553   (eval $ac_try) 2>&5
26554   ac_status=$?
26555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556   (exit $ac_status); }; } &&
26557          { ac_try='test -s conftest$ac_exeext'
26558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559   (eval $ac_try) 2>&5
26560   ac_status=$?
26561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562   (exit $ac_status); }; }; then
26563   ac_cv_lib_m_powf=yes
26564 else
26565   echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 ac_cv_lib_m_powf=no
26569 fi
26570 rm -f conftest.err conftest.$ac_objext \
26571       conftest$ac_exeext conftest.$ac_ext
26572 LIBS=$ac_check_lib_save_LIBS
26573 fi
26574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26575 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26576 if test $ac_cv_lib_m_powf = yes; then
26577
26578 cat >>confdefs.h <<\_ACEOF
26579 #define HAVE_POWF 1
26580 _ACEOF
26581
26582 fi
26583
26584 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26585 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26586 if test "${ac_cv_lib_m_pow+set}" = set; then
26587   echo $ECHO_N "(cached) $ECHO_C" >&6
26588 else
26589   ac_check_lib_save_LIBS=$LIBS
26590 LIBS="-lm  $LIBS"
26591 if test x$gcc_no_link = xyes; then
26592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26594    { (exit 1); exit 1; }; }
26595 fi
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h.  */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h.  */
26602
26603 /* Override any gcc2 internal prototype to avoid an error.  */
26604 #ifdef __cplusplus
26605 extern "C"
26606 #endif
26607 /* We use char because int might match the return type of a gcc2
26608    builtin and then its argument prototype would still apply.  */
26609 char pow ();
26610 int
26611 main ()
26612 {
26613 pow ();
26614   ;
26615   return 0;
26616 }
26617 _ACEOF
26618 rm -f conftest.$ac_objext conftest$ac_exeext
26619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26620   (eval $ac_link) 2>conftest.er1
26621   ac_status=$?
26622   grep -v '^ *+' conftest.er1 >conftest.err
26623   rm -f conftest.er1
26624   cat conftest.err >&5
26625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626   (exit $ac_status); } &&
26627          { ac_try='test -z "$ac_c_werror_flag"
26628                          || test ! -s conftest.err'
26629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630   (eval $ac_try) 2>&5
26631   ac_status=$?
26632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633   (exit $ac_status); }; } &&
26634          { ac_try='test -s conftest$ac_exeext'
26635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636   (eval $ac_try) 2>&5
26637   ac_status=$?
26638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639   (exit $ac_status); }; }; then
26640   ac_cv_lib_m_pow=yes
26641 else
26642   echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.$ac_ext >&5
26644
26645 ac_cv_lib_m_pow=no
26646 fi
26647 rm -f conftest.err conftest.$ac_objext \
26648       conftest$ac_exeext conftest.$ac_ext
26649 LIBS=$ac_check_lib_save_LIBS
26650 fi
26651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26652 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26653 if test $ac_cv_lib_m_pow = yes; then
26654
26655 cat >>confdefs.h <<\_ACEOF
26656 #define HAVE_POW 1
26657 _ACEOF
26658
26659 fi
26660
26661 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26662 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26663 if test "${ac_cv_lib_m_powl+set}" = set; then
26664   echo $ECHO_N "(cached) $ECHO_C" >&6
26665 else
26666   ac_check_lib_save_LIBS=$LIBS
26667 LIBS="-lm  $LIBS"
26668 if test x$gcc_no_link = xyes; then
26669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26671    { (exit 1); exit 1; }; }
26672 fi
26673 cat >conftest.$ac_ext <<_ACEOF
26674 /* confdefs.h.  */
26675 _ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h.  */
26679
26680 /* Override any gcc2 internal prototype to avoid an error.  */
26681 #ifdef __cplusplus
26682 extern "C"
26683 #endif
26684 /* We use char because int might match the return type of a gcc2
26685    builtin and then its argument prototype would still apply.  */
26686 char powl ();
26687 int
26688 main ()
26689 {
26690 powl ();
26691   ;
26692   return 0;
26693 }
26694 _ACEOF
26695 rm -f conftest.$ac_objext conftest$ac_exeext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26697   (eval $ac_link) 2>conftest.er1
26698   ac_status=$?
26699   grep -v '^ *+' conftest.er1 >conftest.err
26700   rm -f conftest.er1
26701   cat conftest.err >&5
26702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703   (exit $ac_status); } &&
26704          { ac_try='test -z "$ac_c_werror_flag"
26705                          || test ! -s conftest.err'
26706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707   (eval $ac_try) 2>&5
26708   ac_status=$?
26709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710   (exit $ac_status); }; } &&
26711          { ac_try='test -s conftest$ac_exeext'
26712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713   (eval $ac_try) 2>&5
26714   ac_status=$?
26715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716   (exit $ac_status); }; }; then
26717   ac_cv_lib_m_powl=yes
26718 else
26719   echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.$ac_ext >&5
26721
26722 ac_cv_lib_m_powl=no
26723 fi
26724 rm -f conftest.err conftest.$ac_objext \
26725       conftest$ac_exeext conftest.$ac_ext
26726 LIBS=$ac_check_lib_save_LIBS
26727 fi
26728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26729 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26730 if test $ac_cv_lib_m_powl = yes; then
26731
26732 cat >>confdefs.h <<\_ACEOF
26733 #define HAVE_POWL 1
26734 _ACEOF
26735
26736 fi
26737
26738 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26739 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26740 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26741   echo $ECHO_N "(cached) $ECHO_C" >&6
26742 else
26743   ac_check_lib_save_LIBS=$LIBS
26744 LIBS="-lm  $LIBS"
26745 if test x$gcc_no_link = xyes; then
26746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26748    { (exit 1); exit 1; }; }
26749 fi
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h.  */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h.  */
26756
26757 /* Override any gcc2 internal prototype to avoid an error.  */
26758 #ifdef __cplusplus
26759 extern "C"
26760 #endif
26761 /* We use char because int might match the return type of a gcc2
26762    builtin and then its argument prototype would still apply.  */
26763 char cpowf ();
26764 int
26765 main ()
26766 {
26767 cpowf ();
26768   ;
26769   return 0;
26770 }
26771 _ACEOF
26772 rm -f conftest.$ac_objext conftest$ac_exeext
26773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26774   (eval $ac_link) 2>conftest.er1
26775   ac_status=$?
26776   grep -v '^ *+' conftest.er1 >conftest.err
26777   rm -f conftest.er1
26778   cat conftest.err >&5
26779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780   (exit $ac_status); } &&
26781          { ac_try='test -z "$ac_c_werror_flag"
26782                          || test ! -s conftest.err'
26783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784   (eval $ac_try) 2>&5
26785   ac_status=$?
26786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787   (exit $ac_status); }; } &&
26788          { ac_try='test -s conftest$ac_exeext'
26789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790   (eval $ac_try) 2>&5
26791   ac_status=$?
26792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793   (exit $ac_status); }; }; then
26794   ac_cv_lib_m_cpowf=yes
26795 else
26796   echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.$ac_ext >&5
26798
26799 ac_cv_lib_m_cpowf=no
26800 fi
26801 rm -f conftest.err conftest.$ac_objext \
26802       conftest$ac_exeext conftest.$ac_ext
26803 LIBS=$ac_check_lib_save_LIBS
26804 fi
26805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26806 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26807 if test $ac_cv_lib_m_cpowf = yes; then
26808
26809 cat >>confdefs.h <<\_ACEOF
26810 #define HAVE_CPOWF 1
26811 _ACEOF
26812
26813 fi
26814
26815 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26816 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26817 if test "${ac_cv_lib_m_cpow+set}" = set; then
26818   echo $ECHO_N "(cached) $ECHO_C" >&6
26819 else
26820   ac_check_lib_save_LIBS=$LIBS
26821 LIBS="-lm  $LIBS"
26822 if test x$gcc_no_link = xyes; then
26823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26825    { (exit 1); exit 1; }; }
26826 fi
26827 cat >conftest.$ac_ext <<_ACEOF
26828 /* confdefs.h.  */
26829 _ACEOF
26830 cat confdefs.h >>conftest.$ac_ext
26831 cat >>conftest.$ac_ext <<_ACEOF
26832 /* end confdefs.h.  */
26833
26834 /* Override any gcc2 internal prototype to avoid an error.  */
26835 #ifdef __cplusplus
26836 extern "C"
26837 #endif
26838 /* We use char because int might match the return type of a gcc2
26839    builtin and then its argument prototype would still apply.  */
26840 char cpow ();
26841 int
26842 main ()
26843 {
26844 cpow ();
26845   ;
26846   return 0;
26847 }
26848 _ACEOF
26849 rm -f conftest.$ac_objext conftest$ac_exeext
26850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26851   (eval $ac_link) 2>conftest.er1
26852   ac_status=$?
26853   grep -v '^ *+' conftest.er1 >conftest.err
26854   rm -f conftest.er1
26855   cat conftest.err >&5
26856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857   (exit $ac_status); } &&
26858          { ac_try='test -z "$ac_c_werror_flag"
26859                          || test ! -s conftest.err'
26860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861   (eval $ac_try) 2>&5
26862   ac_status=$?
26863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864   (exit $ac_status); }; } &&
26865          { ac_try='test -s conftest$ac_exeext'
26866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867   (eval $ac_try) 2>&5
26868   ac_status=$?
26869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870   (exit $ac_status); }; }; then
26871   ac_cv_lib_m_cpow=yes
26872 else
26873   echo "$as_me: failed program was:" >&5
26874 sed 's/^/| /' conftest.$ac_ext >&5
26875
26876 ac_cv_lib_m_cpow=no
26877 fi
26878 rm -f conftest.err conftest.$ac_objext \
26879       conftest$ac_exeext conftest.$ac_ext
26880 LIBS=$ac_check_lib_save_LIBS
26881 fi
26882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26883 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26884 if test $ac_cv_lib_m_cpow = yes; then
26885
26886 cat >>confdefs.h <<\_ACEOF
26887 #define HAVE_CPOW 1
26888 _ACEOF
26889
26890 fi
26891
26892 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26893 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26894 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26895   echo $ECHO_N "(cached) $ECHO_C" >&6
26896 else
26897   ac_check_lib_save_LIBS=$LIBS
26898 LIBS="-lm  $LIBS"
26899 if test x$gcc_no_link = xyes; then
26900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26902    { (exit 1); exit 1; }; }
26903 fi
26904 cat >conftest.$ac_ext <<_ACEOF
26905 /* confdefs.h.  */
26906 _ACEOF
26907 cat confdefs.h >>conftest.$ac_ext
26908 cat >>conftest.$ac_ext <<_ACEOF
26909 /* end confdefs.h.  */
26910
26911 /* Override any gcc2 internal prototype to avoid an error.  */
26912 #ifdef __cplusplus
26913 extern "C"
26914 #endif
26915 /* We use char because int might match the return type of a gcc2
26916    builtin and then its argument prototype would still apply.  */
26917 char cpowl ();
26918 int
26919 main ()
26920 {
26921 cpowl ();
26922   ;
26923   return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26928   (eval $ac_link) 2>conftest.er1
26929   ac_status=$?
26930   grep -v '^ *+' conftest.er1 >conftest.err
26931   rm -f conftest.er1
26932   cat conftest.err >&5
26933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934   (exit $ac_status); } &&
26935          { ac_try='test -z "$ac_c_werror_flag"
26936                          || test ! -s conftest.err'
26937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938   (eval $ac_try) 2>&5
26939   ac_status=$?
26940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941   (exit $ac_status); }; } &&
26942          { ac_try='test -s conftest$ac_exeext'
26943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944   (eval $ac_try) 2>&5
26945   ac_status=$?
26946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947   (exit $ac_status); }; }; then
26948   ac_cv_lib_m_cpowl=yes
26949 else
26950   echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.$ac_ext >&5
26952
26953 ac_cv_lib_m_cpowl=no
26954 fi
26955 rm -f conftest.err conftest.$ac_objext \
26956       conftest$ac_exeext conftest.$ac_ext
26957 LIBS=$ac_check_lib_save_LIBS
26958 fi
26959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26960 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26961 if test $ac_cv_lib_m_cpowl = yes; then
26962
26963 cat >>confdefs.h <<\_ACEOF
26964 #define HAVE_CPOWL 1
26965 _ACEOF
26966
26967 fi
26968
26969 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26970 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26971 if test "${ac_cv_lib_m_roundf+set}" = set; then
26972   echo $ECHO_N "(cached) $ECHO_C" >&6
26973 else
26974   ac_check_lib_save_LIBS=$LIBS
26975 LIBS="-lm  $LIBS"
26976 if test x$gcc_no_link = xyes; then
26977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26979    { (exit 1); exit 1; }; }
26980 fi
26981 cat >conftest.$ac_ext <<_ACEOF
26982 /* confdefs.h.  */
26983 _ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h.  */
26987
26988 /* Override any gcc2 internal prototype to avoid an error.  */
26989 #ifdef __cplusplus
26990 extern "C"
26991 #endif
26992 /* We use char because int might match the return type of a gcc2
26993    builtin and then its argument prototype would still apply.  */
26994 char roundf ();
26995 int
26996 main ()
26997 {
26998 roundf ();
26999   ;
27000   return 0;
27001 }
27002 _ACEOF
27003 rm -f conftest.$ac_objext conftest$ac_exeext
27004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27005   (eval $ac_link) 2>conftest.er1
27006   ac_status=$?
27007   grep -v '^ *+' conftest.er1 >conftest.err
27008   rm -f conftest.er1
27009   cat conftest.err >&5
27010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011   (exit $ac_status); } &&
27012          { ac_try='test -z "$ac_c_werror_flag"
27013                          || test ! -s conftest.err'
27014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015   (eval $ac_try) 2>&5
27016   ac_status=$?
27017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018   (exit $ac_status); }; } &&
27019          { ac_try='test -s conftest$ac_exeext'
27020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021   (eval $ac_try) 2>&5
27022   ac_status=$?
27023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024   (exit $ac_status); }; }; then
27025   ac_cv_lib_m_roundf=yes
27026 else
27027   echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27029
27030 ac_cv_lib_m_roundf=no
27031 fi
27032 rm -f conftest.err conftest.$ac_objext \
27033       conftest$ac_exeext conftest.$ac_ext
27034 LIBS=$ac_check_lib_save_LIBS
27035 fi
27036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27037 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27038 if test $ac_cv_lib_m_roundf = yes; then
27039
27040 cat >>confdefs.h <<\_ACEOF
27041 #define HAVE_ROUNDF 1
27042 _ACEOF
27043
27044 fi
27045
27046 echo "$as_me:$LINENO: checking for round in -lm" >&5
27047 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27048 if test "${ac_cv_lib_m_round+set}" = set; then
27049   echo $ECHO_N "(cached) $ECHO_C" >&6
27050 else
27051   ac_check_lib_save_LIBS=$LIBS
27052 LIBS="-lm  $LIBS"
27053 if test x$gcc_no_link = xyes; then
27054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27056    { (exit 1); exit 1; }; }
27057 fi
27058 cat >conftest.$ac_ext <<_ACEOF
27059 /* confdefs.h.  */
27060 _ACEOF
27061 cat confdefs.h >>conftest.$ac_ext
27062 cat >>conftest.$ac_ext <<_ACEOF
27063 /* end confdefs.h.  */
27064
27065 /* Override any gcc2 internal prototype to avoid an error.  */
27066 #ifdef __cplusplus
27067 extern "C"
27068 #endif
27069 /* We use char because int might match the return type of a gcc2
27070    builtin and then its argument prototype would still apply.  */
27071 char round ();
27072 int
27073 main ()
27074 {
27075 round ();
27076   ;
27077   return 0;
27078 }
27079 _ACEOF
27080 rm -f conftest.$ac_objext conftest$ac_exeext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27082   (eval $ac_link) 2>conftest.er1
27083   ac_status=$?
27084   grep -v '^ *+' conftest.er1 >conftest.err
27085   rm -f conftest.er1
27086   cat conftest.err >&5
27087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088   (exit $ac_status); } &&
27089          { ac_try='test -z "$ac_c_werror_flag"
27090                          || test ! -s conftest.err'
27091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092   (eval $ac_try) 2>&5
27093   ac_status=$?
27094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095   (exit $ac_status); }; } &&
27096          { ac_try='test -s conftest$ac_exeext'
27097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098   (eval $ac_try) 2>&5
27099   ac_status=$?
27100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101   (exit $ac_status); }; }; then
27102   ac_cv_lib_m_round=yes
27103 else
27104   echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27106
27107 ac_cv_lib_m_round=no
27108 fi
27109 rm -f conftest.err conftest.$ac_objext \
27110       conftest$ac_exeext conftest.$ac_ext
27111 LIBS=$ac_check_lib_save_LIBS
27112 fi
27113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27114 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27115 if test $ac_cv_lib_m_round = yes; then
27116
27117 cat >>confdefs.h <<\_ACEOF
27118 #define HAVE_ROUND 1
27119 _ACEOF
27120
27121 fi
27122
27123 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27124 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27125 if test "${ac_cv_lib_m_roundl+set}" = set; then
27126   echo $ECHO_N "(cached) $ECHO_C" >&6
27127 else
27128   ac_check_lib_save_LIBS=$LIBS
27129 LIBS="-lm  $LIBS"
27130 if test x$gcc_no_link = xyes; then
27131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27133    { (exit 1); exit 1; }; }
27134 fi
27135 cat >conftest.$ac_ext <<_ACEOF
27136 /* confdefs.h.  */
27137 _ACEOF
27138 cat confdefs.h >>conftest.$ac_ext
27139 cat >>conftest.$ac_ext <<_ACEOF
27140 /* end confdefs.h.  */
27141
27142 /* Override any gcc2 internal prototype to avoid an error.  */
27143 #ifdef __cplusplus
27144 extern "C"
27145 #endif
27146 /* We use char because int might match the return type of a gcc2
27147    builtin and then its argument prototype would still apply.  */
27148 char roundl ();
27149 int
27150 main ()
27151 {
27152 roundl ();
27153   ;
27154   return 0;
27155 }
27156 _ACEOF
27157 rm -f conftest.$ac_objext conftest$ac_exeext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27159   (eval $ac_link) 2>conftest.er1
27160   ac_status=$?
27161   grep -v '^ *+' conftest.er1 >conftest.err
27162   rm -f conftest.er1
27163   cat conftest.err >&5
27164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165   (exit $ac_status); } &&
27166          { ac_try='test -z "$ac_c_werror_flag"
27167                          || test ! -s conftest.err'
27168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169   (eval $ac_try) 2>&5
27170   ac_status=$?
27171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172   (exit $ac_status); }; } &&
27173          { ac_try='test -s conftest$ac_exeext'
27174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175   (eval $ac_try) 2>&5
27176   ac_status=$?
27177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178   (exit $ac_status); }; }; then
27179   ac_cv_lib_m_roundl=yes
27180 else
27181   echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27183
27184 ac_cv_lib_m_roundl=no
27185 fi
27186 rm -f conftest.err conftest.$ac_objext \
27187       conftest$ac_exeext conftest.$ac_ext
27188 LIBS=$ac_check_lib_save_LIBS
27189 fi
27190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27191 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27192 if test $ac_cv_lib_m_roundl = yes; then
27193
27194 cat >>confdefs.h <<\_ACEOF
27195 #define HAVE_ROUNDL 1
27196 _ACEOF
27197
27198 fi
27199
27200 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27201 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27202 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27203   echo $ECHO_N "(cached) $ECHO_C" >&6
27204 else
27205   ac_check_lib_save_LIBS=$LIBS
27206 LIBS="-lm  $LIBS"
27207 if test x$gcc_no_link = xyes; then
27208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27210    { (exit 1); exit 1; }; }
27211 fi
27212 cat >conftest.$ac_ext <<_ACEOF
27213 /* confdefs.h.  */
27214 _ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h.  */
27218
27219 /* Override any gcc2 internal prototype to avoid an error.  */
27220 #ifdef __cplusplus
27221 extern "C"
27222 #endif
27223 /* We use char because int might match the return type of a gcc2
27224    builtin and then its argument prototype would still apply.  */
27225 char lroundf ();
27226 int
27227 main ()
27228 {
27229 lroundf ();
27230   ;
27231   return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext conftest$ac_exeext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27236   (eval $ac_link) 2>conftest.er1
27237   ac_status=$?
27238   grep -v '^ *+' conftest.er1 >conftest.err
27239   rm -f conftest.er1
27240   cat conftest.err >&5
27241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242   (exit $ac_status); } &&
27243          { ac_try='test -z "$ac_c_werror_flag"
27244                          || test ! -s conftest.err'
27245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246   (eval $ac_try) 2>&5
27247   ac_status=$?
27248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249   (exit $ac_status); }; } &&
27250          { ac_try='test -s conftest$ac_exeext'
27251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252   (eval $ac_try) 2>&5
27253   ac_status=$?
27254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255   (exit $ac_status); }; }; then
27256   ac_cv_lib_m_lroundf=yes
27257 else
27258   echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261 ac_cv_lib_m_lroundf=no
27262 fi
27263 rm -f conftest.err conftest.$ac_objext \
27264       conftest$ac_exeext conftest.$ac_ext
27265 LIBS=$ac_check_lib_save_LIBS
27266 fi
27267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27268 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27269 if test $ac_cv_lib_m_lroundf = yes; then
27270
27271 cat >>confdefs.h <<\_ACEOF
27272 #define HAVE_LROUNDF 1
27273 _ACEOF
27274
27275 fi
27276
27277 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27278 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27279 if test "${ac_cv_lib_m_lround+set}" = set; then
27280   echo $ECHO_N "(cached) $ECHO_C" >&6
27281 else
27282   ac_check_lib_save_LIBS=$LIBS
27283 LIBS="-lm  $LIBS"
27284 if test x$gcc_no_link = xyes; then
27285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27287    { (exit 1); exit 1; }; }
27288 fi
27289 cat >conftest.$ac_ext <<_ACEOF
27290 /* confdefs.h.  */
27291 _ACEOF
27292 cat confdefs.h >>conftest.$ac_ext
27293 cat >>conftest.$ac_ext <<_ACEOF
27294 /* end confdefs.h.  */
27295
27296 /* Override any gcc2 internal prototype to avoid an error.  */
27297 #ifdef __cplusplus
27298 extern "C"
27299 #endif
27300 /* We use char because int might match the return type of a gcc2
27301    builtin and then its argument prototype would still apply.  */
27302 char lround ();
27303 int
27304 main ()
27305 {
27306 lround ();
27307   ;
27308   return 0;
27309 }
27310 _ACEOF
27311 rm -f conftest.$ac_objext conftest$ac_exeext
27312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27313   (eval $ac_link) 2>conftest.er1
27314   ac_status=$?
27315   grep -v '^ *+' conftest.er1 >conftest.err
27316   rm -f conftest.er1
27317   cat conftest.err >&5
27318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319   (exit $ac_status); } &&
27320          { ac_try='test -z "$ac_c_werror_flag"
27321                          || test ! -s conftest.err'
27322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27323   (eval $ac_try) 2>&5
27324   ac_status=$?
27325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326   (exit $ac_status); }; } &&
27327          { ac_try='test -s conftest$ac_exeext'
27328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329   (eval $ac_try) 2>&5
27330   ac_status=$?
27331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332   (exit $ac_status); }; }; then
27333   ac_cv_lib_m_lround=yes
27334 else
27335   echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 ac_cv_lib_m_lround=no
27339 fi
27340 rm -f conftest.err conftest.$ac_objext \
27341       conftest$ac_exeext conftest.$ac_ext
27342 LIBS=$ac_check_lib_save_LIBS
27343 fi
27344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27345 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27346 if test $ac_cv_lib_m_lround = yes; then
27347
27348 cat >>confdefs.h <<\_ACEOF
27349 #define HAVE_LROUND 1
27350 _ACEOF
27351
27352 fi
27353
27354 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27355 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27356 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27357   echo $ECHO_N "(cached) $ECHO_C" >&6
27358 else
27359   ac_check_lib_save_LIBS=$LIBS
27360 LIBS="-lm  $LIBS"
27361 if test x$gcc_no_link = xyes; then
27362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27364    { (exit 1); exit 1; }; }
27365 fi
27366 cat >conftest.$ac_ext <<_ACEOF
27367 /* confdefs.h.  */
27368 _ACEOF
27369 cat confdefs.h >>conftest.$ac_ext
27370 cat >>conftest.$ac_ext <<_ACEOF
27371 /* end confdefs.h.  */
27372
27373 /* Override any gcc2 internal prototype to avoid an error.  */
27374 #ifdef __cplusplus
27375 extern "C"
27376 #endif
27377 /* We use char because int might match the return type of a gcc2
27378    builtin and then its argument prototype would still apply.  */
27379 char lroundl ();
27380 int
27381 main ()
27382 {
27383 lroundl ();
27384   ;
27385   return 0;
27386 }
27387 _ACEOF
27388 rm -f conftest.$ac_objext conftest$ac_exeext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27390   (eval $ac_link) 2>conftest.er1
27391   ac_status=$?
27392   grep -v '^ *+' conftest.er1 >conftest.err
27393   rm -f conftest.er1
27394   cat conftest.err >&5
27395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396   (exit $ac_status); } &&
27397          { ac_try='test -z "$ac_c_werror_flag"
27398                          || test ! -s conftest.err'
27399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400   (eval $ac_try) 2>&5
27401   ac_status=$?
27402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403   (exit $ac_status); }; } &&
27404          { ac_try='test -s conftest$ac_exeext'
27405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406   (eval $ac_try) 2>&5
27407   ac_status=$?
27408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409   (exit $ac_status); }; }; then
27410   ac_cv_lib_m_lroundl=yes
27411 else
27412   echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.$ac_ext >&5
27414
27415 ac_cv_lib_m_lroundl=no
27416 fi
27417 rm -f conftest.err conftest.$ac_objext \
27418       conftest$ac_exeext conftest.$ac_ext
27419 LIBS=$ac_check_lib_save_LIBS
27420 fi
27421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27422 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27423 if test $ac_cv_lib_m_lroundl = yes; then
27424
27425 cat >>confdefs.h <<\_ACEOF
27426 #define HAVE_LROUNDL 1
27427 _ACEOF
27428
27429 fi
27430
27431 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27432 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27433 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27434   echo $ECHO_N "(cached) $ECHO_C" >&6
27435 else
27436   ac_check_lib_save_LIBS=$LIBS
27437 LIBS="-lm  $LIBS"
27438 if test x$gcc_no_link = xyes; then
27439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27441    { (exit 1); exit 1; }; }
27442 fi
27443 cat >conftest.$ac_ext <<_ACEOF
27444 /* confdefs.h.  */
27445 _ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h.  */
27449
27450 /* Override any gcc2 internal prototype to avoid an error.  */
27451 #ifdef __cplusplus
27452 extern "C"
27453 #endif
27454 /* We use char because int might match the return type of a gcc2
27455    builtin and then its argument prototype would still apply.  */
27456 char llroundf ();
27457 int
27458 main ()
27459 {
27460 llroundf ();
27461   ;
27462   return 0;
27463 }
27464 _ACEOF
27465 rm -f conftest.$ac_objext conftest$ac_exeext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27467   (eval $ac_link) 2>conftest.er1
27468   ac_status=$?
27469   grep -v '^ *+' conftest.er1 >conftest.err
27470   rm -f conftest.er1
27471   cat conftest.err >&5
27472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473   (exit $ac_status); } &&
27474          { ac_try='test -z "$ac_c_werror_flag"
27475                          || test ! -s conftest.err'
27476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477   (eval $ac_try) 2>&5
27478   ac_status=$?
27479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480   (exit $ac_status); }; } &&
27481          { ac_try='test -s conftest$ac_exeext'
27482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483   (eval $ac_try) 2>&5
27484   ac_status=$?
27485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486   (exit $ac_status); }; }; then
27487   ac_cv_lib_m_llroundf=yes
27488 else
27489   echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 ac_cv_lib_m_llroundf=no
27493 fi
27494 rm -f conftest.err conftest.$ac_objext \
27495       conftest$ac_exeext conftest.$ac_ext
27496 LIBS=$ac_check_lib_save_LIBS
27497 fi
27498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27499 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27500 if test $ac_cv_lib_m_llroundf = yes; then
27501
27502 cat >>confdefs.h <<\_ACEOF
27503 #define HAVE_LLROUNDF 1
27504 _ACEOF
27505
27506 fi
27507
27508 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27509 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27510 if test "${ac_cv_lib_m_llround+set}" = set; then
27511   echo $ECHO_N "(cached) $ECHO_C" >&6
27512 else
27513   ac_check_lib_save_LIBS=$LIBS
27514 LIBS="-lm  $LIBS"
27515 if test x$gcc_no_link = xyes; then
27516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27518    { (exit 1); exit 1; }; }
27519 fi
27520 cat >conftest.$ac_ext <<_ACEOF
27521 /* confdefs.h.  */
27522 _ACEOF
27523 cat confdefs.h >>conftest.$ac_ext
27524 cat >>conftest.$ac_ext <<_ACEOF
27525 /* end confdefs.h.  */
27526
27527 /* Override any gcc2 internal prototype to avoid an error.  */
27528 #ifdef __cplusplus
27529 extern "C"
27530 #endif
27531 /* We use char because int might match the return type of a gcc2
27532    builtin and then its argument prototype would still apply.  */
27533 char llround ();
27534 int
27535 main ()
27536 {
27537 llround ();
27538   ;
27539   return 0;
27540 }
27541 _ACEOF
27542 rm -f conftest.$ac_objext conftest$ac_exeext
27543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27544   (eval $ac_link) 2>conftest.er1
27545   ac_status=$?
27546   grep -v '^ *+' conftest.er1 >conftest.err
27547   rm -f conftest.er1
27548   cat conftest.err >&5
27549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550   (exit $ac_status); } &&
27551          { ac_try='test -z "$ac_c_werror_flag"
27552                          || test ! -s conftest.err'
27553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554   (eval $ac_try) 2>&5
27555   ac_status=$?
27556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557   (exit $ac_status); }; } &&
27558          { ac_try='test -s conftest$ac_exeext'
27559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560   (eval $ac_try) 2>&5
27561   ac_status=$?
27562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563   (exit $ac_status); }; }; then
27564   ac_cv_lib_m_llround=yes
27565 else
27566   echo "$as_me: failed program was:" >&5
27567 sed 's/^/| /' conftest.$ac_ext >&5
27568
27569 ac_cv_lib_m_llround=no
27570 fi
27571 rm -f conftest.err conftest.$ac_objext \
27572       conftest$ac_exeext conftest.$ac_ext
27573 LIBS=$ac_check_lib_save_LIBS
27574 fi
27575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27576 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27577 if test $ac_cv_lib_m_llround = yes; then
27578
27579 cat >>confdefs.h <<\_ACEOF
27580 #define HAVE_LLROUND 1
27581 _ACEOF
27582
27583 fi
27584
27585 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27586 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27587 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27588   echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590   ac_check_lib_save_LIBS=$LIBS
27591 LIBS="-lm  $LIBS"
27592 if test x$gcc_no_link = xyes; then
27593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27595    { (exit 1); exit 1; }; }
27596 fi
27597 cat >conftest.$ac_ext <<_ACEOF
27598 /* confdefs.h.  */
27599 _ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h.  */
27603
27604 /* Override any gcc2 internal prototype to avoid an error.  */
27605 #ifdef __cplusplus
27606 extern "C"
27607 #endif
27608 /* We use char because int might match the return type of a gcc2
27609    builtin and then its argument prototype would still apply.  */
27610 char llroundl ();
27611 int
27612 main ()
27613 {
27614 llroundl ();
27615   ;
27616   return 0;
27617 }
27618 _ACEOF
27619 rm -f conftest.$ac_objext conftest$ac_exeext
27620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27621   (eval $ac_link) 2>conftest.er1
27622   ac_status=$?
27623   grep -v '^ *+' conftest.er1 >conftest.err
27624   rm -f conftest.er1
27625   cat conftest.err >&5
27626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627   (exit $ac_status); } &&
27628          { ac_try='test -z "$ac_c_werror_flag"
27629                          || test ! -s conftest.err'
27630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631   (eval $ac_try) 2>&5
27632   ac_status=$?
27633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634   (exit $ac_status); }; } &&
27635          { ac_try='test -s conftest$ac_exeext'
27636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637   (eval $ac_try) 2>&5
27638   ac_status=$?
27639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640   (exit $ac_status); }; }; then
27641   ac_cv_lib_m_llroundl=yes
27642 else
27643   echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.$ac_ext >&5
27645
27646 ac_cv_lib_m_llroundl=no
27647 fi
27648 rm -f conftest.err conftest.$ac_objext \
27649       conftest$ac_exeext conftest.$ac_ext
27650 LIBS=$ac_check_lib_save_LIBS
27651 fi
27652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27653 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27654 if test $ac_cv_lib_m_llroundl = yes; then
27655
27656 cat >>confdefs.h <<\_ACEOF
27657 #define HAVE_LLROUNDL 1
27658 _ACEOF
27659
27660 fi
27661
27662 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27663 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27664 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27665   echo $ECHO_N "(cached) $ECHO_C" >&6
27666 else
27667   ac_check_lib_save_LIBS=$LIBS
27668 LIBS="-lm  $LIBS"
27669 if test x$gcc_no_link = xyes; then
27670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27672    { (exit 1); exit 1; }; }
27673 fi
27674 cat >conftest.$ac_ext <<_ACEOF
27675 /* confdefs.h.  */
27676 _ACEOF
27677 cat confdefs.h >>conftest.$ac_ext
27678 cat >>conftest.$ac_ext <<_ACEOF
27679 /* end confdefs.h.  */
27680
27681 /* Override any gcc2 internal prototype to avoid an error.  */
27682 #ifdef __cplusplus
27683 extern "C"
27684 #endif
27685 /* We use char because int might match the return type of a gcc2
27686    builtin and then its argument prototype would still apply.  */
27687 char scalbnf ();
27688 int
27689 main ()
27690 {
27691 scalbnf ();
27692   ;
27693   return 0;
27694 }
27695 _ACEOF
27696 rm -f conftest.$ac_objext conftest$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698   (eval $ac_link) 2>conftest.er1
27699   ac_status=$?
27700   grep -v '^ *+' conftest.er1 >conftest.err
27701   rm -f conftest.er1
27702   cat conftest.err >&5
27703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704   (exit $ac_status); } &&
27705          { ac_try='test -z "$ac_c_werror_flag"
27706                          || test ! -s conftest.err'
27707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708   (eval $ac_try) 2>&5
27709   ac_status=$?
27710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711   (exit $ac_status); }; } &&
27712          { ac_try='test -s conftest$ac_exeext'
27713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714   (eval $ac_try) 2>&5
27715   ac_status=$?
27716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717   (exit $ac_status); }; }; then
27718   ac_cv_lib_m_scalbnf=yes
27719 else
27720   echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.$ac_ext >&5
27722
27723 ac_cv_lib_m_scalbnf=no
27724 fi
27725 rm -f conftest.err conftest.$ac_objext \
27726       conftest$ac_exeext conftest.$ac_ext
27727 LIBS=$ac_check_lib_save_LIBS
27728 fi
27729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27730 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27731 if test $ac_cv_lib_m_scalbnf = yes; then
27732
27733 cat >>confdefs.h <<\_ACEOF
27734 #define HAVE_SCALBNF 1
27735 _ACEOF
27736
27737 fi
27738
27739 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27740 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27741 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27742   echo $ECHO_N "(cached) $ECHO_C" >&6
27743 else
27744   ac_check_lib_save_LIBS=$LIBS
27745 LIBS="-lm  $LIBS"
27746 if test x$gcc_no_link = xyes; then
27747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27749    { (exit 1); exit 1; }; }
27750 fi
27751 cat >conftest.$ac_ext <<_ACEOF
27752 /* confdefs.h.  */
27753 _ACEOF
27754 cat confdefs.h >>conftest.$ac_ext
27755 cat >>conftest.$ac_ext <<_ACEOF
27756 /* end confdefs.h.  */
27757
27758 /* Override any gcc2 internal prototype to avoid an error.  */
27759 #ifdef __cplusplus
27760 extern "C"
27761 #endif
27762 /* We use char because int might match the return type of a gcc2
27763    builtin and then its argument prototype would still apply.  */
27764 char scalbn ();
27765 int
27766 main ()
27767 {
27768 scalbn ();
27769   ;
27770   return 0;
27771 }
27772 _ACEOF
27773 rm -f conftest.$ac_objext conftest$ac_exeext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775   (eval $ac_link) 2>conftest.er1
27776   ac_status=$?
27777   grep -v '^ *+' conftest.er1 >conftest.err
27778   rm -f conftest.er1
27779   cat conftest.err >&5
27780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781   (exit $ac_status); } &&
27782          { ac_try='test -z "$ac_c_werror_flag"
27783                          || test ! -s conftest.err'
27784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27785   (eval $ac_try) 2>&5
27786   ac_status=$?
27787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788   (exit $ac_status); }; } &&
27789          { ac_try='test -s conftest$ac_exeext'
27790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791   (eval $ac_try) 2>&5
27792   ac_status=$?
27793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794   (exit $ac_status); }; }; then
27795   ac_cv_lib_m_scalbn=yes
27796 else
27797   echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27799
27800 ac_cv_lib_m_scalbn=no
27801 fi
27802 rm -f conftest.err conftest.$ac_objext \
27803       conftest$ac_exeext conftest.$ac_ext
27804 LIBS=$ac_check_lib_save_LIBS
27805 fi
27806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27807 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27808 if test $ac_cv_lib_m_scalbn = yes; then
27809
27810 cat >>confdefs.h <<\_ACEOF
27811 #define HAVE_SCALBN 1
27812 _ACEOF
27813
27814 fi
27815
27816 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27817 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27818 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27819   echo $ECHO_N "(cached) $ECHO_C" >&6
27820 else
27821   ac_check_lib_save_LIBS=$LIBS
27822 LIBS="-lm  $LIBS"
27823 if test x$gcc_no_link = xyes; then
27824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27826    { (exit 1); exit 1; }; }
27827 fi
27828 cat >conftest.$ac_ext <<_ACEOF
27829 /* confdefs.h.  */
27830 _ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h.  */
27834
27835 /* Override any gcc2 internal prototype to avoid an error.  */
27836 #ifdef __cplusplus
27837 extern "C"
27838 #endif
27839 /* We use char because int might match the return type of a gcc2
27840    builtin and then its argument prototype would still apply.  */
27841 char scalbnl ();
27842 int
27843 main ()
27844 {
27845 scalbnl ();
27846   ;
27847   return 0;
27848 }
27849 _ACEOF
27850 rm -f conftest.$ac_objext conftest$ac_exeext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27852   (eval $ac_link) 2>conftest.er1
27853   ac_status=$?
27854   grep -v '^ *+' conftest.er1 >conftest.err
27855   rm -f conftest.er1
27856   cat conftest.err >&5
27857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858   (exit $ac_status); } &&
27859          { ac_try='test -z "$ac_c_werror_flag"
27860                          || test ! -s conftest.err'
27861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862   (eval $ac_try) 2>&5
27863   ac_status=$?
27864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865   (exit $ac_status); }; } &&
27866          { ac_try='test -s conftest$ac_exeext'
27867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868   (eval $ac_try) 2>&5
27869   ac_status=$?
27870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871   (exit $ac_status); }; }; then
27872   ac_cv_lib_m_scalbnl=yes
27873 else
27874   echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27876
27877 ac_cv_lib_m_scalbnl=no
27878 fi
27879 rm -f conftest.err conftest.$ac_objext \
27880       conftest$ac_exeext conftest.$ac_ext
27881 LIBS=$ac_check_lib_save_LIBS
27882 fi
27883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27884 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27885 if test $ac_cv_lib_m_scalbnl = yes; then
27886
27887 cat >>confdefs.h <<\_ACEOF
27888 #define HAVE_SCALBNL 1
27889 _ACEOF
27890
27891 fi
27892
27893 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27894 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27895 if test "${ac_cv_lib_m_sinf+set}" = set; then
27896   echo $ECHO_N "(cached) $ECHO_C" >&6
27897 else
27898   ac_check_lib_save_LIBS=$LIBS
27899 LIBS="-lm  $LIBS"
27900 if test x$gcc_no_link = xyes; then
27901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27903    { (exit 1); exit 1; }; }
27904 fi
27905 cat >conftest.$ac_ext <<_ACEOF
27906 /* confdefs.h.  */
27907 _ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h.  */
27911
27912 /* Override any gcc2 internal prototype to avoid an error.  */
27913 #ifdef __cplusplus
27914 extern "C"
27915 #endif
27916 /* We use char because int might match the return type of a gcc2
27917    builtin and then its argument prototype would still apply.  */
27918 char sinf ();
27919 int
27920 main ()
27921 {
27922 sinf ();
27923   ;
27924   return 0;
27925 }
27926 _ACEOF
27927 rm -f conftest.$ac_objext conftest$ac_exeext
27928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27929   (eval $ac_link) 2>conftest.er1
27930   ac_status=$?
27931   grep -v '^ *+' conftest.er1 >conftest.err
27932   rm -f conftest.er1
27933   cat conftest.err >&5
27934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935   (exit $ac_status); } &&
27936          { ac_try='test -z "$ac_c_werror_flag"
27937                          || test ! -s conftest.err'
27938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939   (eval $ac_try) 2>&5
27940   ac_status=$?
27941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942   (exit $ac_status); }; } &&
27943          { ac_try='test -s conftest$ac_exeext'
27944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945   (eval $ac_try) 2>&5
27946   ac_status=$?
27947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948   (exit $ac_status); }; }; then
27949   ac_cv_lib_m_sinf=yes
27950 else
27951   echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27953
27954 ac_cv_lib_m_sinf=no
27955 fi
27956 rm -f conftest.err conftest.$ac_objext \
27957       conftest$ac_exeext conftest.$ac_ext
27958 LIBS=$ac_check_lib_save_LIBS
27959 fi
27960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27961 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27962 if test $ac_cv_lib_m_sinf = yes; then
27963
27964 cat >>confdefs.h <<\_ACEOF
27965 #define HAVE_SINF 1
27966 _ACEOF
27967
27968 fi
27969
27970 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27971 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27972 if test "${ac_cv_lib_m_sin+set}" = set; then
27973   echo $ECHO_N "(cached) $ECHO_C" >&6
27974 else
27975   ac_check_lib_save_LIBS=$LIBS
27976 LIBS="-lm  $LIBS"
27977 if test x$gcc_no_link = xyes; then
27978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27980    { (exit 1); exit 1; }; }
27981 fi
27982 cat >conftest.$ac_ext <<_ACEOF
27983 /* confdefs.h.  */
27984 _ACEOF
27985 cat confdefs.h >>conftest.$ac_ext
27986 cat >>conftest.$ac_ext <<_ACEOF
27987 /* end confdefs.h.  */
27988
27989 /* Override any gcc2 internal prototype to avoid an error.  */
27990 #ifdef __cplusplus
27991 extern "C"
27992 #endif
27993 /* We use char because int might match the return type of a gcc2
27994    builtin and then its argument prototype would still apply.  */
27995 char sin ();
27996 int
27997 main ()
27998 {
27999 sin ();
28000   ;
28001   return 0;
28002 }
28003 _ACEOF
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006   (eval $ac_link) 2>conftest.er1
28007   ac_status=$?
28008   grep -v '^ *+' conftest.er1 >conftest.err
28009   rm -f conftest.er1
28010   cat conftest.err >&5
28011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012   (exit $ac_status); } &&
28013          { ac_try='test -z "$ac_c_werror_flag"
28014                          || test ! -s conftest.err'
28015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016   (eval $ac_try) 2>&5
28017   ac_status=$?
28018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019   (exit $ac_status); }; } &&
28020          { ac_try='test -s conftest$ac_exeext'
28021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022   (eval $ac_try) 2>&5
28023   ac_status=$?
28024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025   (exit $ac_status); }; }; then
28026   ac_cv_lib_m_sin=yes
28027 else
28028   echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28030
28031 ac_cv_lib_m_sin=no
28032 fi
28033 rm -f conftest.err conftest.$ac_objext \
28034       conftest$ac_exeext conftest.$ac_ext
28035 LIBS=$ac_check_lib_save_LIBS
28036 fi
28037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28038 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28039 if test $ac_cv_lib_m_sin = yes; then
28040
28041 cat >>confdefs.h <<\_ACEOF
28042 #define HAVE_SIN 1
28043 _ACEOF
28044
28045 fi
28046
28047 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28048 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28049 if test "${ac_cv_lib_m_sinl+set}" = set; then
28050   echo $ECHO_N "(cached) $ECHO_C" >&6
28051 else
28052   ac_check_lib_save_LIBS=$LIBS
28053 LIBS="-lm  $LIBS"
28054 if test x$gcc_no_link = xyes; then
28055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28057    { (exit 1); exit 1; }; }
28058 fi
28059 cat >conftest.$ac_ext <<_ACEOF
28060 /* confdefs.h.  */
28061 _ACEOF
28062 cat confdefs.h >>conftest.$ac_ext
28063 cat >>conftest.$ac_ext <<_ACEOF
28064 /* end confdefs.h.  */
28065
28066 /* Override any gcc2 internal prototype to avoid an error.  */
28067 #ifdef __cplusplus
28068 extern "C"
28069 #endif
28070 /* We use char because int might match the return type of a gcc2
28071    builtin and then its argument prototype would still apply.  */
28072 char sinl ();
28073 int
28074 main ()
28075 {
28076 sinl ();
28077   ;
28078   return 0;
28079 }
28080 _ACEOF
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28083   (eval $ac_link) 2>conftest.er1
28084   ac_status=$?
28085   grep -v '^ *+' conftest.er1 >conftest.err
28086   rm -f conftest.er1
28087   cat conftest.err >&5
28088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089   (exit $ac_status); } &&
28090          { ac_try='test -z "$ac_c_werror_flag"
28091                          || test ! -s conftest.err'
28092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093   (eval $ac_try) 2>&5
28094   ac_status=$?
28095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096   (exit $ac_status); }; } &&
28097          { ac_try='test -s conftest$ac_exeext'
28098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28099   (eval $ac_try) 2>&5
28100   ac_status=$?
28101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102   (exit $ac_status); }; }; then
28103   ac_cv_lib_m_sinl=yes
28104 else
28105   echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.$ac_ext >&5
28107
28108 ac_cv_lib_m_sinl=no
28109 fi
28110 rm -f conftest.err conftest.$ac_objext \
28111       conftest$ac_exeext conftest.$ac_ext
28112 LIBS=$ac_check_lib_save_LIBS
28113 fi
28114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28115 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28116 if test $ac_cv_lib_m_sinl = yes; then
28117
28118 cat >>confdefs.h <<\_ACEOF
28119 #define HAVE_SINL 1
28120 _ACEOF
28121
28122 fi
28123
28124 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28125 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28126 if test "${ac_cv_lib_m_csinf+set}" = set; then
28127   echo $ECHO_N "(cached) $ECHO_C" >&6
28128 else
28129   ac_check_lib_save_LIBS=$LIBS
28130 LIBS="-lm  $LIBS"
28131 if test x$gcc_no_link = xyes; then
28132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28134    { (exit 1); exit 1; }; }
28135 fi
28136 cat >conftest.$ac_ext <<_ACEOF
28137 /* confdefs.h.  */
28138 _ACEOF
28139 cat confdefs.h >>conftest.$ac_ext
28140 cat >>conftest.$ac_ext <<_ACEOF
28141 /* end confdefs.h.  */
28142
28143 /* Override any gcc2 internal prototype to avoid an error.  */
28144 #ifdef __cplusplus
28145 extern "C"
28146 #endif
28147 /* We use char because int might match the return type of a gcc2
28148    builtin and then its argument prototype would still apply.  */
28149 char csinf ();
28150 int
28151 main ()
28152 {
28153 csinf ();
28154   ;
28155   return 0;
28156 }
28157 _ACEOF
28158 rm -f conftest.$ac_objext conftest$ac_exeext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28160   (eval $ac_link) 2>conftest.er1
28161   ac_status=$?
28162   grep -v '^ *+' conftest.er1 >conftest.err
28163   rm -f conftest.er1
28164   cat conftest.err >&5
28165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166   (exit $ac_status); } &&
28167          { ac_try='test -z "$ac_c_werror_flag"
28168                          || test ! -s conftest.err'
28169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170   (eval $ac_try) 2>&5
28171   ac_status=$?
28172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173   (exit $ac_status); }; } &&
28174          { ac_try='test -s conftest$ac_exeext'
28175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176   (eval $ac_try) 2>&5
28177   ac_status=$?
28178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179   (exit $ac_status); }; }; then
28180   ac_cv_lib_m_csinf=yes
28181 else
28182   echo "$as_me: failed program was:" >&5
28183 sed 's/^/| /' conftest.$ac_ext >&5
28184
28185 ac_cv_lib_m_csinf=no
28186 fi
28187 rm -f conftest.err conftest.$ac_objext \
28188       conftest$ac_exeext conftest.$ac_ext
28189 LIBS=$ac_check_lib_save_LIBS
28190 fi
28191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28192 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28193 if test $ac_cv_lib_m_csinf = yes; then
28194
28195 cat >>confdefs.h <<\_ACEOF
28196 #define HAVE_CSINF 1
28197 _ACEOF
28198
28199 fi
28200
28201 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28202 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28203 if test "${ac_cv_lib_m_csin+set}" = set; then
28204   echo $ECHO_N "(cached) $ECHO_C" >&6
28205 else
28206   ac_check_lib_save_LIBS=$LIBS
28207 LIBS="-lm  $LIBS"
28208 if test x$gcc_no_link = xyes; then
28209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28211    { (exit 1); exit 1; }; }
28212 fi
28213 cat >conftest.$ac_ext <<_ACEOF
28214 /* confdefs.h.  */
28215 _ACEOF
28216 cat confdefs.h >>conftest.$ac_ext
28217 cat >>conftest.$ac_ext <<_ACEOF
28218 /* end confdefs.h.  */
28219
28220 /* Override any gcc2 internal prototype to avoid an error.  */
28221 #ifdef __cplusplus
28222 extern "C"
28223 #endif
28224 /* We use char because int might match the return type of a gcc2
28225    builtin and then its argument prototype would still apply.  */
28226 char csin ();
28227 int
28228 main ()
28229 {
28230 csin ();
28231   ;
28232   return 0;
28233 }
28234 _ACEOF
28235 rm -f conftest.$ac_objext conftest$ac_exeext
28236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28237   (eval $ac_link) 2>conftest.er1
28238   ac_status=$?
28239   grep -v '^ *+' conftest.er1 >conftest.err
28240   rm -f conftest.er1
28241   cat conftest.err >&5
28242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243   (exit $ac_status); } &&
28244          { ac_try='test -z "$ac_c_werror_flag"
28245                          || test ! -s conftest.err'
28246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28247   (eval $ac_try) 2>&5
28248   ac_status=$?
28249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250   (exit $ac_status); }; } &&
28251          { ac_try='test -s conftest$ac_exeext'
28252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28253   (eval $ac_try) 2>&5
28254   ac_status=$?
28255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256   (exit $ac_status); }; }; then
28257   ac_cv_lib_m_csin=yes
28258 else
28259   echo "$as_me: failed program was:" >&5
28260 sed 's/^/| /' conftest.$ac_ext >&5
28261
28262 ac_cv_lib_m_csin=no
28263 fi
28264 rm -f conftest.err conftest.$ac_objext \
28265       conftest$ac_exeext conftest.$ac_ext
28266 LIBS=$ac_check_lib_save_LIBS
28267 fi
28268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28269 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28270 if test $ac_cv_lib_m_csin = yes; then
28271
28272 cat >>confdefs.h <<\_ACEOF
28273 #define HAVE_CSIN 1
28274 _ACEOF
28275
28276 fi
28277
28278 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28279 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28280 if test "${ac_cv_lib_m_csinl+set}" = set; then
28281   echo $ECHO_N "(cached) $ECHO_C" >&6
28282 else
28283   ac_check_lib_save_LIBS=$LIBS
28284 LIBS="-lm  $LIBS"
28285 if test x$gcc_no_link = xyes; then
28286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28288    { (exit 1); exit 1; }; }
28289 fi
28290 cat >conftest.$ac_ext <<_ACEOF
28291 /* confdefs.h.  */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h.  */
28296
28297 /* Override any gcc2 internal prototype to avoid an error.  */
28298 #ifdef __cplusplus
28299 extern "C"
28300 #endif
28301 /* We use char because int might match the return type of a gcc2
28302    builtin and then its argument prototype would still apply.  */
28303 char csinl ();
28304 int
28305 main ()
28306 {
28307 csinl ();
28308   ;
28309   return 0;
28310 }
28311 _ACEOF
28312 rm -f conftest.$ac_objext conftest$ac_exeext
28313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28314   (eval $ac_link) 2>conftest.er1
28315   ac_status=$?
28316   grep -v '^ *+' conftest.er1 >conftest.err
28317   rm -f conftest.er1
28318   cat conftest.err >&5
28319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320   (exit $ac_status); } &&
28321          { ac_try='test -z "$ac_c_werror_flag"
28322                          || test ! -s conftest.err'
28323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28324   (eval $ac_try) 2>&5
28325   ac_status=$?
28326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327   (exit $ac_status); }; } &&
28328          { ac_try='test -s conftest$ac_exeext'
28329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330   (eval $ac_try) 2>&5
28331   ac_status=$?
28332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333   (exit $ac_status); }; }; then
28334   ac_cv_lib_m_csinl=yes
28335 else
28336   echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28338
28339 ac_cv_lib_m_csinl=no
28340 fi
28341 rm -f conftest.err conftest.$ac_objext \
28342       conftest$ac_exeext conftest.$ac_ext
28343 LIBS=$ac_check_lib_save_LIBS
28344 fi
28345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28346 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28347 if test $ac_cv_lib_m_csinl = yes; then
28348
28349 cat >>confdefs.h <<\_ACEOF
28350 #define HAVE_CSINL 1
28351 _ACEOF
28352
28353 fi
28354
28355 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28356 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28357 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28358   echo $ECHO_N "(cached) $ECHO_C" >&6
28359 else
28360   ac_check_lib_save_LIBS=$LIBS
28361 LIBS="-lm  $LIBS"
28362 if test x$gcc_no_link = xyes; then
28363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28365    { (exit 1); exit 1; }; }
28366 fi
28367 cat >conftest.$ac_ext <<_ACEOF
28368 /* confdefs.h.  */
28369 _ACEOF
28370 cat confdefs.h >>conftest.$ac_ext
28371 cat >>conftest.$ac_ext <<_ACEOF
28372 /* end confdefs.h.  */
28373
28374 /* Override any gcc2 internal prototype to avoid an error.  */
28375 #ifdef __cplusplus
28376 extern "C"
28377 #endif
28378 /* We use char because int might match the return type of a gcc2
28379    builtin and then its argument prototype would still apply.  */
28380 char sinhf ();
28381 int
28382 main ()
28383 {
28384 sinhf ();
28385   ;
28386   return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext conftest$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391   (eval $ac_link) 2>conftest.er1
28392   ac_status=$?
28393   grep -v '^ *+' conftest.er1 >conftest.err
28394   rm -f conftest.er1
28395   cat conftest.err >&5
28396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397   (exit $ac_status); } &&
28398          { ac_try='test -z "$ac_c_werror_flag"
28399                          || test ! -s conftest.err'
28400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401   (eval $ac_try) 2>&5
28402   ac_status=$?
28403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404   (exit $ac_status); }; } &&
28405          { ac_try='test -s conftest$ac_exeext'
28406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407   (eval $ac_try) 2>&5
28408   ac_status=$?
28409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410   (exit $ac_status); }; }; then
28411   ac_cv_lib_m_sinhf=yes
28412 else
28413   echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 ac_cv_lib_m_sinhf=no
28417 fi
28418 rm -f conftest.err conftest.$ac_objext \
28419       conftest$ac_exeext conftest.$ac_ext
28420 LIBS=$ac_check_lib_save_LIBS
28421 fi
28422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28423 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28424 if test $ac_cv_lib_m_sinhf = yes; then
28425
28426 cat >>confdefs.h <<\_ACEOF
28427 #define HAVE_SINHF 1
28428 _ACEOF
28429
28430 fi
28431
28432 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28433 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28434 if test "${ac_cv_lib_m_sinh+set}" = set; then
28435   echo $ECHO_N "(cached) $ECHO_C" >&6
28436 else
28437   ac_check_lib_save_LIBS=$LIBS
28438 LIBS="-lm  $LIBS"
28439 if test x$gcc_no_link = xyes; then
28440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28442    { (exit 1); exit 1; }; }
28443 fi
28444 cat >conftest.$ac_ext <<_ACEOF
28445 /* confdefs.h.  */
28446 _ACEOF
28447 cat confdefs.h >>conftest.$ac_ext
28448 cat >>conftest.$ac_ext <<_ACEOF
28449 /* end confdefs.h.  */
28450
28451 /* Override any gcc2 internal prototype to avoid an error.  */
28452 #ifdef __cplusplus
28453 extern "C"
28454 #endif
28455 /* We use char because int might match the return type of a gcc2
28456    builtin and then its argument prototype would still apply.  */
28457 char sinh ();
28458 int
28459 main ()
28460 {
28461 sinh ();
28462   ;
28463   return 0;
28464 }
28465 _ACEOF
28466 rm -f conftest.$ac_objext conftest$ac_exeext
28467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28468   (eval $ac_link) 2>conftest.er1
28469   ac_status=$?
28470   grep -v '^ *+' conftest.er1 >conftest.err
28471   rm -f conftest.er1
28472   cat conftest.err >&5
28473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474   (exit $ac_status); } &&
28475          { ac_try='test -z "$ac_c_werror_flag"
28476                          || test ! -s conftest.err'
28477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478   (eval $ac_try) 2>&5
28479   ac_status=$?
28480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481   (exit $ac_status); }; } &&
28482          { ac_try='test -s conftest$ac_exeext'
28483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28484   (eval $ac_try) 2>&5
28485   ac_status=$?
28486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487   (exit $ac_status); }; }; then
28488   ac_cv_lib_m_sinh=yes
28489 else
28490   echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.$ac_ext >&5
28492
28493 ac_cv_lib_m_sinh=no
28494 fi
28495 rm -f conftest.err conftest.$ac_objext \
28496       conftest$ac_exeext conftest.$ac_ext
28497 LIBS=$ac_check_lib_save_LIBS
28498 fi
28499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28500 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28501 if test $ac_cv_lib_m_sinh = yes; then
28502
28503 cat >>confdefs.h <<\_ACEOF
28504 #define HAVE_SINH 1
28505 _ACEOF
28506
28507 fi
28508
28509 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28510 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28511 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28512   echo $ECHO_N "(cached) $ECHO_C" >&6
28513 else
28514   ac_check_lib_save_LIBS=$LIBS
28515 LIBS="-lm  $LIBS"
28516 if test x$gcc_no_link = xyes; then
28517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28519    { (exit 1); exit 1; }; }
28520 fi
28521 cat >conftest.$ac_ext <<_ACEOF
28522 /* confdefs.h.  */
28523 _ACEOF
28524 cat confdefs.h >>conftest.$ac_ext
28525 cat >>conftest.$ac_ext <<_ACEOF
28526 /* end confdefs.h.  */
28527
28528 /* Override any gcc2 internal prototype to avoid an error.  */
28529 #ifdef __cplusplus
28530 extern "C"
28531 #endif
28532 /* We use char because int might match the return type of a gcc2
28533    builtin and then its argument prototype would still apply.  */
28534 char sinhl ();
28535 int
28536 main ()
28537 {
28538 sinhl ();
28539   ;
28540   return 0;
28541 }
28542 _ACEOF
28543 rm -f conftest.$ac_objext conftest$ac_exeext
28544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28545   (eval $ac_link) 2>conftest.er1
28546   ac_status=$?
28547   grep -v '^ *+' conftest.er1 >conftest.err
28548   rm -f conftest.er1
28549   cat conftest.err >&5
28550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551   (exit $ac_status); } &&
28552          { ac_try='test -z "$ac_c_werror_flag"
28553                          || test ! -s conftest.err'
28554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555   (eval $ac_try) 2>&5
28556   ac_status=$?
28557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558   (exit $ac_status); }; } &&
28559          { ac_try='test -s conftest$ac_exeext'
28560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28561   (eval $ac_try) 2>&5
28562   ac_status=$?
28563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564   (exit $ac_status); }; }; then
28565   ac_cv_lib_m_sinhl=yes
28566 else
28567   echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.$ac_ext >&5
28569
28570 ac_cv_lib_m_sinhl=no
28571 fi
28572 rm -f conftest.err conftest.$ac_objext \
28573       conftest$ac_exeext conftest.$ac_ext
28574 LIBS=$ac_check_lib_save_LIBS
28575 fi
28576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28577 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28578 if test $ac_cv_lib_m_sinhl = yes; then
28579
28580 cat >>confdefs.h <<\_ACEOF
28581 #define HAVE_SINHL 1
28582 _ACEOF
28583
28584 fi
28585
28586 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28587 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28588 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28589   echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591   ac_check_lib_save_LIBS=$LIBS
28592 LIBS="-lm  $LIBS"
28593 if test x$gcc_no_link = xyes; then
28594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28596    { (exit 1); exit 1; }; }
28597 fi
28598 cat >conftest.$ac_ext <<_ACEOF
28599 /* confdefs.h.  */
28600 _ACEOF
28601 cat confdefs.h >>conftest.$ac_ext
28602 cat >>conftest.$ac_ext <<_ACEOF
28603 /* end confdefs.h.  */
28604
28605 /* Override any gcc2 internal prototype to avoid an error.  */
28606 #ifdef __cplusplus
28607 extern "C"
28608 #endif
28609 /* We use char because int might match the return type of a gcc2
28610    builtin and then its argument prototype would still apply.  */
28611 char csinhf ();
28612 int
28613 main ()
28614 {
28615 csinhf ();
28616   ;
28617   return 0;
28618 }
28619 _ACEOF
28620 rm -f conftest.$ac_objext conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622   (eval $ac_link) 2>conftest.er1
28623   ac_status=$?
28624   grep -v '^ *+' conftest.er1 >conftest.err
28625   rm -f conftest.er1
28626   cat conftest.err >&5
28627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628   (exit $ac_status); } &&
28629          { ac_try='test -z "$ac_c_werror_flag"
28630                          || test ! -s conftest.err'
28631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632   (eval $ac_try) 2>&5
28633   ac_status=$?
28634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635   (exit $ac_status); }; } &&
28636          { ac_try='test -s conftest$ac_exeext'
28637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638   (eval $ac_try) 2>&5
28639   ac_status=$?
28640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641   (exit $ac_status); }; }; then
28642   ac_cv_lib_m_csinhf=yes
28643 else
28644   echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28646
28647 ac_cv_lib_m_csinhf=no
28648 fi
28649 rm -f conftest.err conftest.$ac_objext \
28650       conftest$ac_exeext conftest.$ac_ext
28651 LIBS=$ac_check_lib_save_LIBS
28652 fi
28653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28654 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28655 if test $ac_cv_lib_m_csinhf = yes; then
28656
28657 cat >>confdefs.h <<\_ACEOF
28658 #define HAVE_CSINHF 1
28659 _ACEOF
28660
28661 fi
28662
28663 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28664 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28665 if test "${ac_cv_lib_m_csinh+set}" = set; then
28666   echo $ECHO_N "(cached) $ECHO_C" >&6
28667 else
28668   ac_check_lib_save_LIBS=$LIBS
28669 LIBS="-lm  $LIBS"
28670 if test x$gcc_no_link = xyes; then
28671   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28673    { (exit 1); exit 1; }; }
28674 fi
28675 cat >conftest.$ac_ext <<_ACEOF
28676 /* confdefs.h.  */
28677 _ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h.  */
28681
28682 /* Override any gcc2 internal prototype to avoid an error.  */
28683 #ifdef __cplusplus
28684 extern "C"
28685 #endif
28686 /* We use char because int might match the return type of a gcc2
28687    builtin and then its argument prototype would still apply.  */
28688 char csinh ();
28689 int
28690 main ()
28691 {
28692 csinh ();
28693   ;
28694   return 0;
28695 }
28696 _ACEOF
28697 rm -f conftest.$ac_objext conftest$ac_exeext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28699   (eval $ac_link) 2>conftest.er1
28700   ac_status=$?
28701   grep -v '^ *+' conftest.er1 >conftest.err
28702   rm -f conftest.er1
28703   cat conftest.err >&5
28704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705   (exit $ac_status); } &&
28706          { ac_try='test -z "$ac_c_werror_flag"
28707                          || test ! -s conftest.err'
28708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709   (eval $ac_try) 2>&5
28710   ac_status=$?
28711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712   (exit $ac_status); }; } &&
28713          { ac_try='test -s conftest$ac_exeext'
28714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715   (eval $ac_try) 2>&5
28716   ac_status=$?
28717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718   (exit $ac_status); }; }; then
28719   ac_cv_lib_m_csinh=yes
28720 else
28721   echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28723
28724 ac_cv_lib_m_csinh=no
28725 fi
28726 rm -f conftest.err conftest.$ac_objext \
28727       conftest$ac_exeext conftest.$ac_ext
28728 LIBS=$ac_check_lib_save_LIBS
28729 fi
28730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28731 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28732 if test $ac_cv_lib_m_csinh = yes; then
28733
28734 cat >>confdefs.h <<\_ACEOF
28735 #define HAVE_CSINH 1
28736 _ACEOF
28737
28738 fi
28739
28740 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28741 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28742 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28743   echo $ECHO_N "(cached) $ECHO_C" >&6
28744 else
28745   ac_check_lib_save_LIBS=$LIBS
28746 LIBS="-lm  $LIBS"
28747 if test x$gcc_no_link = xyes; then
28748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28750    { (exit 1); exit 1; }; }
28751 fi
28752 cat >conftest.$ac_ext <<_ACEOF
28753 /* confdefs.h.  */
28754 _ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h.  */
28758
28759 /* Override any gcc2 internal prototype to avoid an error.  */
28760 #ifdef __cplusplus
28761 extern "C"
28762 #endif
28763 /* We use char because int might match the return type of a gcc2
28764    builtin and then its argument prototype would still apply.  */
28765 char csinhl ();
28766 int
28767 main ()
28768 {
28769 csinhl ();
28770   ;
28771   return 0;
28772 }
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776   (eval $ac_link) 2>conftest.er1
28777   ac_status=$?
28778   grep -v '^ *+' conftest.er1 >conftest.err
28779   rm -f conftest.er1
28780   cat conftest.err >&5
28781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782   (exit $ac_status); } &&
28783          { ac_try='test -z "$ac_c_werror_flag"
28784                          || test ! -s conftest.err'
28785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786   (eval $ac_try) 2>&5
28787   ac_status=$?
28788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789   (exit $ac_status); }; } &&
28790          { ac_try='test -s conftest$ac_exeext'
28791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792   (eval $ac_try) 2>&5
28793   ac_status=$?
28794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795   (exit $ac_status); }; }; then
28796   ac_cv_lib_m_csinhl=yes
28797 else
28798   echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.$ac_ext >&5
28800
28801 ac_cv_lib_m_csinhl=no
28802 fi
28803 rm -f conftest.err conftest.$ac_objext \
28804       conftest$ac_exeext conftest.$ac_ext
28805 LIBS=$ac_check_lib_save_LIBS
28806 fi
28807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28808 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28809 if test $ac_cv_lib_m_csinhl = yes; then
28810
28811 cat >>confdefs.h <<\_ACEOF
28812 #define HAVE_CSINHL 1
28813 _ACEOF
28814
28815 fi
28816
28817 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28818 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28819 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28820   echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822   ac_check_lib_save_LIBS=$LIBS
28823 LIBS="-lm  $LIBS"
28824 if test x$gcc_no_link = xyes; then
28825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28827    { (exit 1); exit 1; }; }
28828 fi
28829 cat >conftest.$ac_ext <<_ACEOF
28830 /* confdefs.h.  */
28831 _ACEOF
28832 cat confdefs.h >>conftest.$ac_ext
28833 cat >>conftest.$ac_ext <<_ACEOF
28834 /* end confdefs.h.  */
28835
28836 /* Override any gcc2 internal prototype to avoid an error.  */
28837 #ifdef __cplusplus
28838 extern "C"
28839 #endif
28840 /* We use char because int might match the return type of a gcc2
28841    builtin and then its argument prototype would still apply.  */
28842 char sqrtf ();
28843 int
28844 main ()
28845 {
28846 sqrtf ();
28847   ;
28848   return 0;
28849 }
28850 _ACEOF
28851 rm -f conftest.$ac_objext conftest$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853   (eval $ac_link) 2>conftest.er1
28854   ac_status=$?
28855   grep -v '^ *+' conftest.er1 >conftest.err
28856   rm -f conftest.er1
28857   cat conftest.err >&5
28858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859   (exit $ac_status); } &&
28860          { ac_try='test -z "$ac_c_werror_flag"
28861                          || test ! -s conftest.err'
28862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863   (eval $ac_try) 2>&5
28864   ac_status=$?
28865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866   (exit $ac_status); }; } &&
28867          { ac_try='test -s conftest$ac_exeext'
28868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869   (eval $ac_try) 2>&5
28870   ac_status=$?
28871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872   (exit $ac_status); }; }; then
28873   ac_cv_lib_m_sqrtf=yes
28874 else
28875   echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28877
28878 ac_cv_lib_m_sqrtf=no
28879 fi
28880 rm -f conftest.err conftest.$ac_objext \
28881       conftest$ac_exeext conftest.$ac_ext
28882 LIBS=$ac_check_lib_save_LIBS
28883 fi
28884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28885 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28886 if test $ac_cv_lib_m_sqrtf = yes; then
28887
28888 cat >>confdefs.h <<\_ACEOF
28889 #define HAVE_SQRTF 1
28890 _ACEOF
28891
28892 fi
28893
28894 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28895 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28896 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28897   echo $ECHO_N "(cached) $ECHO_C" >&6
28898 else
28899   ac_check_lib_save_LIBS=$LIBS
28900 LIBS="-lm  $LIBS"
28901 if test x$gcc_no_link = xyes; then
28902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28904    { (exit 1); exit 1; }; }
28905 fi
28906 cat >conftest.$ac_ext <<_ACEOF
28907 /* confdefs.h.  */
28908 _ACEOF
28909 cat confdefs.h >>conftest.$ac_ext
28910 cat >>conftest.$ac_ext <<_ACEOF
28911 /* end confdefs.h.  */
28912
28913 /* Override any gcc2 internal prototype to avoid an error.  */
28914 #ifdef __cplusplus
28915 extern "C"
28916 #endif
28917 /* We use char because int might match the return type of a gcc2
28918    builtin and then its argument prototype would still apply.  */
28919 char sqrt ();
28920 int
28921 main ()
28922 {
28923 sqrt ();
28924   ;
28925   return 0;
28926 }
28927 _ACEOF
28928 rm -f conftest.$ac_objext conftest$ac_exeext
28929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28930   (eval $ac_link) 2>conftest.er1
28931   ac_status=$?
28932   grep -v '^ *+' conftest.er1 >conftest.err
28933   rm -f conftest.er1
28934   cat conftest.err >&5
28935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936   (exit $ac_status); } &&
28937          { ac_try='test -z "$ac_c_werror_flag"
28938                          || test ! -s conftest.err'
28939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28940   (eval $ac_try) 2>&5
28941   ac_status=$?
28942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943   (exit $ac_status); }; } &&
28944          { ac_try='test -s conftest$ac_exeext'
28945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946   (eval $ac_try) 2>&5
28947   ac_status=$?
28948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949   (exit $ac_status); }; }; then
28950   ac_cv_lib_m_sqrt=yes
28951 else
28952   echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.$ac_ext >&5
28954
28955 ac_cv_lib_m_sqrt=no
28956 fi
28957 rm -f conftest.err conftest.$ac_objext \
28958       conftest$ac_exeext conftest.$ac_ext
28959 LIBS=$ac_check_lib_save_LIBS
28960 fi
28961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28962 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28963 if test $ac_cv_lib_m_sqrt = yes; then
28964
28965 cat >>confdefs.h <<\_ACEOF
28966 #define HAVE_SQRT 1
28967 _ACEOF
28968
28969 fi
28970
28971 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28972 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28973 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28974   echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976   ac_check_lib_save_LIBS=$LIBS
28977 LIBS="-lm  $LIBS"
28978 if test x$gcc_no_link = xyes; then
28979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28981    { (exit 1); exit 1; }; }
28982 fi
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h.  */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h.  */
28989
28990 /* Override any gcc2 internal prototype to avoid an error.  */
28991 #ifdef __cplusplus
28992 extern "C"
28993 #endif
28994 /* We use char because int might match the return type of a gcc2
28995    builtin and then its argument prototype would still apply.  */
28996 char sqrtl ();
28997 int
28998 main ()
28999 {
29000 sqrtl ();
29001   ;
29002   return 0;
29003 }
29004 _ACEOF
29005 rm -f conftest.$ac_objext conftest$ac_exeext
29006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29007   (eval $ac_link) 2>conftest.er1
29008   ac_status=$?
29009   grep -v '^ *+' conftest.er1 >conftest.err
29010   rm -f conftest.er1
29011   cat conftest.err >&5
29012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013   (exit $ac_status); } &&
29014          { ac_try='test -z "$ac_c_werror_flag"
29015                          || test ! -s conftest.err'
29016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29017   (eval $ac_try) 2>&5
29018   ac_status=$?
29019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020   (exit $ac_status); }; } &&
29021          { ac_try='test -s conftest$ac_exeext'
29022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023   (eval $ac_try) 2>&5
29024   ac_status=$?
29025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026   (exit $ac_status); }; }; then
29027   ac_cv_lib_m_sqrtl=yes
29028 else
29029   echo "$as_me: failed program was:" >&5
29030 sed 's/^/| /' conftest.$ac_ext >&5
29031
29032 ac_cv_lib_m_sqrtl=no
29033 fi
29034 rm -f conftest.err conftest.$ac_objext \
29035       conftest$ac_exeext conftest.$ac_ext
29036 LIBS=$ac_check_lib_save_LIBS
29037 fi
29038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29039 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29040 if test $ac_cv_lib_m_sqrtl = yes; then
29041
29042 cat >>confdefs.h <<\_ACEOF
29043 #define HAVE_SQRTL 1
29044 _ACEOF
29045
29046 fi
29047
29048 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29049 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29050 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29051   echo $ECHO_N "(cached) $ECHO_C" >&6
29052 else
29053   ac_check_lib_save_LIBS=$LIBS
29054 LIBS="-lm  $LIBS"
29055 if test x$gcc_no_link = xyes; then
29056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29058    { (exit 1); exit 1; }; }
29059 fi
29060 cat >conftest.$ac_ext <<_ACEOF
29061 /* confdefs.h.  */
29062 _ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h.  */
29066
29067 /* Override any gcc2 internal prototype to avoid an error.  */
29068 #ifdef __cplusplus
29069 extern "C"
29070 #endif
29071 /* We use char because int might match the return type of a gcc2
29072    builtin and then its argument prototype would still apply.  */
29073 char csqrtf ();
29074 int
29075 main ()
29076 {
29077 csqrtf ();
29078   ;
29079   return 0;
29080 }
29081 _ACEOF
29082 rm -f conftest.$ac_objext conftest$ac_exeext
29083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29084   (eval $ac_link) 2>conftest.er1
29085   ac_status=$?
29086   grep -v '^ *+' conftest.er1 >conftest.err
29087   rm -f conftest.er1
29088   cat conftest.err >&5
29089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090   (exit $ac_status); } &&
29091          { ac_try='test -z "$ac_c_werror_flag"
29092                          || test ! -s conftest.err'
29093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094   (eval $ac_try) 2>&5
29095   ac_status=$?
29096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097   (exit $ac_status); }; } &&
29098          { ac_try='test -s conftest$ac_exeext'
29099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100   (eval $ac_try) 2>&5
29101   ac_status=$?
29102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103   (exit $ac_status); }; }; then
29104   ac_cv_lib_m_csqrtf=yes
29105 else
29106   echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.$ac_ext >&5
29108
29109 ac_cv_lib_m_csqrtf=no
29110 fi
29111 rm -f conftest.err conftest.$ac_objext \
29112       conftest$ac_exeext conftest.$ac_ext
29113 LIBS=$ac_check_lib_save_LIBS
29114 fi
29115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29116 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29117 if test $ac_cv_lib_m_csqrtf = yes; then
29118
29119 cat >>confdefs.h <<\_ACEOF
29120 #define HAVE_CSQRTF 1
29121 _ACEOF
29122
29123 fi
29124
29125 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29126 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29127 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29128   echo $ECHO_N "(cached) $ECHO_C" >&6
29129 else
29130   ac_check_lib_save_LIBS=$LIBS
29131 LIBS="-lm  $LIBS"
29132 if test x$gcc_no_link = xyes; then
29133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29135    { (exit 1); exit 1; }; }
29136 fi
29137 cat >conftest.$ac_ext <<_ACEOF
29138 /* confdefs.h.  */
29139 _ACEOF
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h.  */
29143
29144 /* Override any gcc2 internal prototype to avoid an error.  */
29145 #ifdef __cplusplus
29146 extern "C"
29147 #endif
29148 /* We use char because int might match the return type of a gcc2
29149    builtin and then its argument prototype would still apply.  */
29150 char csqrt ();
29151 int
29152 main ()
29153 {
29154 csqrt ();
29155   ;
29156   return 0;
29157 }
29158 _ACEOF
29159 rm -f conftest.$ac_objext conftest$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161   (eval $ac_link) 2>conftest.er1
29162   ac_status=$?
29163   grep -v '^ *+' conftest.er1 >conftest.err
29164   rm -f conftest.er1
29165   cat conftest.err >&5
29166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167   (exit $ac_status); } &&
29168          { ac_try='test -z "$ac_c_werror_flag"
29169                          || test ! -s conftest.err'
29170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171   (eval $ac_try) 2>&5
29172   ac_status=$?
29173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174   (exit $ac_status); }; } &&
29175          { ac_try='test -s conftest$ac_exeext'
29176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29177   (eval $ac_try) 2>&5
29178   ac_status=$?
29179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180   (exit $ac_status); }; }; then
29181   ac_cv_lib_m_csqrt=yes
29182 else
29183   echo "$as_me: failed program was:" >&5
29184 sed 's/^/| /' conftest.$ac_ext >&5
29185
29186 ac_cv_lib_m_csqrt=no
29187 fi
29188 rm -f conftest.err conftest.$ac_objext \
29189       conftest$ac_exeext conftest.$ac_ext
29190 LIBS=$ac_check_lib_save_LIBS
29191 fi
29192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29193 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29194 if test $ac_cv_lib_m_csqrt = yes; then
29195
29196 cat >>confdefs.h <<\_ACEOF
29197 #define HAVE_CSQRT 1
29198 _ACEOF
29199
29200 fi
29201
29202 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29203 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29204 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29205   echo $ECHO_N "(cached) $ECHO_C" >&6
29206 else
29207   ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-lm  $LIBS"
29209 if test x$gcc_no_link = xyes; then
29210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29212    { (exit 1); exit 1; }; }
29213 fi
29214 cat >conftest.$ac_ext <<_ACEOF
29215 /* confdefs.h.  */
29216 _ACEOF
29217 cat confdefs.h >>conftest.$ac_ext
29218 cat >>conftest.$ac_ext <<_ACEOF
29219 /* end confdefs.h.  */
29220
29221 /* Override any gcc2 internal prototype to avoid an error.  */
29222 #ifdef __cplusplus
29223 extern "C"
29224 #endif
29225 /* We use char because int might match the return type of a gcc2
29226    builtin and then its argument prototype would still apply.  */
29227 char csqrtl ();
29228 int
29229 main ()
29230 {
29231 csqrtl ();
29232   ;
29233   return 0;
29234 }
29235 _ACEOF
29236 rm -f conftest.$ac_objext conftest$ac_exeext
29237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29238   (eval $ac_link) 2>conftest.er1
29239   ac_status=$?
29240   grep -v '^ *+' conftest.er1 >conftest.err
29241   rm -f conftest.er1
29242   cat conftest.err >&5
29243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244   (exit $ac_status); } &&
29245          { ac_try='test -z "$ac_c_werror_flag"
29246                          || test ! -s conftest.err'
29247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248   (eval $ac_try) 2>&5
29249   ac_status=$?
29250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251   (exit $ac_status); }; } &&
29252          { ac_try='test -s conftest$ac_exeext'
29253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254   (eval $ac_try) 2>&5
29255   ac_status=$?
29256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257   (exit $ac_status); }; }; then
29258   ac_cv_lib_m_csqrtl=yes
29259 else
29260   echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29262
29263 ac_cv_lib_m_csqrtl=no
29264 fi
29265 rm -f conftest.err conftest.$ac_objext \
29266       conftest$ac_exeext conftest.$ac_ext
29267 LIBS=$ac_check_lib_save_LIBS
29268 fi
29269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29270 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29271 if test $ac_cv_lib_m_csqrtl = yes; then
29272
29273 cat >>confdefs.h <<\_ACEOF
29274 #define HAVE_CSQRTL 1
29275 _ACEOF
29276
29277 fi
29278
29279 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29280 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29281 if test "${ac_cv_lib_m_tanf+set}" = set; then
29282   echo $ECHO_N "(cached) $ECHO_C" >&6
29283 else
29284   ac_check_lib_save_LIBS=$LIBS
29285 LIBS="-lm  $LIBS"
29286 if test x$gcc_no_link = xyes; then
29287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29289    { (exit 1); exit 1; }; }
29290 fi
29291 cat >conftest.$ac_ext <<_ACEOF
29292 /* confdefs.h.  */
29293 _ACEOF
29294 cat confdefs.h >>conftest.$ac_ext
29295 cat >>conftest.$ac_ext <<_ACEOF
29296 /* end confdefs.h.  */
29297
29298 /* Override any gcc2 internal prototype to avoid an error.  */
29299 #ifdef __cplusplus
29300 extern "C"
29301 #endif
29302 /* We use char because int might match the return type of a gcc2
29303    builtin and then its argument prototype would still apply.  */
29304 char tanf ();
29305 int
29306 main ()
29307 {
29308 tanf ();
29309   ;
29310   return 0;
29311 }
29312 _ACEOF
29313 rm -f conftest.$ac_objext conftest$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315   (eval $ac_link) 2>conftest.er1
29316   ac_status=$?
29317   grep -v '^ *+' conftest.er1 >conftest.err
29318   rm -f conftest.er1
29319   cat conftest.err >&5
29320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321   (exit $ac_status); } &&
29322          { ac_try='test -z "$ac_c_werror_flag"
29323                          || test ! -s conftest.err'
29324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325   (eval $ac_try) 2>&5
29326   ac_status=$?
29327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328   (exit $ac_status); }; } &&
29329          { ac_try='test -s conftest$ac_exeext'
29330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331   (eval $ac_try) 2>&5
29332   ac_status=$?
29333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334   (exit $ac_status); }; }; then
29335   ac_cv_lib_m_tanf=yes
29336 else
29337   echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.$ac_ext >&5
29339
29340 ac_cv_lib_m_tanf=no
29341 fi
29342 rm -f conftest.err conftest.$ac_objext \
29343       conftest$ac_exeext conftest.$ac_ext
29344 LIBS=$ac_check_lib_save_LIBS
29345 fi
29346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29347 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29348 if test $ac_cv_lib_m_tanf = yes; then
29349
29350 cat >>confdefs.h <<\_ACEOF
29351 #define HAVE_TANF 1
29352 _ACEOF
29353
29354 fi
29355
29356 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29357 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29358 if test "${ac_cv_lib_m_tan+set}" = set; then
29359   echo $ECHO_N "(cached) $ECHO_C" >&6
29360 else
29361   ac_check_lib_save_LIBS=$LIBS
29362 LIBS="-lm  $LIBS"
29363 if test x$gcc_no_link = xyes; then
29364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29366    { (exit 1); exit 1; }; }
29367 fi
29368 cat >conftest.$ac_ext <<_ACEOF
29369 /* confdefs.h.  */
29370 _ACEOF
29371 cat confdefs.h >>conftest.$ac_ext
29372 cat >>conftest.$ac_ext <<_ACEOF
29373 /* end confdefs.h.  */
29374
29375 /* Override any gcc2 internal prototype to avoid an error.  */
29376 #ifdef __cplusplus
29377 extern "C"
29378 #endif
29379 /* We use char because int might match the return type of a gcc2
29380    builtin and then its argument prototype would still apply.  */
29381 char tan ();
29382 int
29383 main ()
29384 {
29385 tan ();
29386   ;
29387   return 0;
29388 }
29389 _ACEOF
29390 rm -f conftest.$ac_objext conftest$ac_exeext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29392   (eval $ac_link) 2>conftest.er1
29393   ac_status=$?
29394   grep -v '^ *+' conftest.er1 >conftest.err
29395   rm -f conftest.er1
29396   cat conftest.err >&5
29397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398   (exit $ac_status); } &&
29399          { ac_try='test -z "$ac_c_werror_flag"
29400                          || test ! -s conftest.err'
29401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402   (eval $ac_try) 2>&5
29403   ac_status=$?
29404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405   (exit $ac_status); }; } &&
29406          { ac_try='test -s conftest$ac_exeext'
29407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408   (eval $ac_try) 2>&5
29409   ac_status=$?
29410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411   (exit $ac_status); }; }; then
29412   ac_cv_lib_m_tan=yes
29413 else
29414   echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.$ac_ext >&5
29416
29417 ac_cv_lib_m_tan=no
29418 fi
29419 rm -f conftest.err conftest.$ac_objext \
29420       conftest$ac_exeext conftest.$ac_ext
29421 LIBS=$ac_check_lib_save_LIBS
29422 fi
29423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29424 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29425 if test $ac_cv_lib_m_tan = yes; then
29426
29427 cat >>confdefs.h <<\_ACEOF
29428 #define HAVE_TAN 1
29429 _ACEOF
29430
29431 fi
29432
29433 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29434 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29435 if test "${ac_cv_lib_m_tanl+set}" = set; then
29436   echo $ECHO_N "(cached) $ECHO_C" >&6
29437 else
29438   ac_check_lib_save_LIBS=$LIBS
29439 LIBS="-lm  $LIBS"
29440 if test x$gcc_no_link = xyes; then
29441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29443    { (exit 1); exit 1; }; }
29444 fi
29445 cat >conftest.$ac_ext <<_ACEOF
29446 /* confdefs.h.  */
29447 _ACEOF
29448 cat confdefs.h >>conftest.$ac_ext
29449 cat >>conftest.$ac_ext <<_ACEOF
29450 /* end confdefs.h.  */
29451
29452 /* Override any gcc2 internal prototype to avoid an error.  */
29453 #ifdef __cplusplus
29454 extern "C"
29455 #endif
29456 /* We use char because int might match the return type of a gcc2
29457    builtin and then its argument prototype would still apply.  */
29458 char tanl ();
29459 int
29460 main ()
29461 {
29462 tanl ();
29463   ;
29464   return 0;
29465 }
29466 _ACEOF
29467 rm -f conftest.$ac_objext conftest$ac_exeext
29468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29469   (eval $ac_link) 2>conftest.er1
29470   ac_status=$?
29471   grep -v '^ *+' conftest.er1 >conftest.err
29472   rm -f conftest.er1
29473   cat conftest.err >&5
29474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475   (exit $ac_status); } &&
29476          { ac_try='test -z "$ac_c_werror_flag"
29477                          || test ! -s conftest.err'
29478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29479   (eval $ac_try) 2>&5
29480   ac_status=$?
29481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482   (exit $ac_status); }; } &&
29483          { ac_try='test -s conftest$ac_exeext'
29484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485   (eval $ac_try) 2>&5
29486   ac_status=$?
29487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488   (exit $ac_status); }; }; then
29489   ac_cv_lib_m_tanl=yes
29490 else
29491   echo "$as_me: failed program was:" >&5
29492 sed 's/^/| /' conftest.$ac_ext >&5
29493
29494 ac_cv_lib_m_tanl=no
29495 fi
29496 rm -f conftest.err conftest.$ac_objext \
29497       conftest$ac_exeext conftest.$ac_ext
29498 LIBS=$ac_check_lib_save_LIBS
29499 fi
29500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29501 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29502 if test $ac_cv_lib_m_tanl = yes; then
29503
29504 cat >>confdefs.h <<\_ACEOF
29505 #define HAVE_TANL 1
29506 _ACEOF
29507
29508 fi
29509
29510 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29511 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29512 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29513   echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29515   ac_check_lib_save_LIBS=$LIBS
29516 LIBS="-lm  $LIBS"
29517 if test x$gcc_no_link = xyes; then
29518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29520    { (exit 1); exit 1; }; }
29521 fi
29522 cat >conftest.$ac_ext <<_ACEOF
29523 /* confdefs.h.  */
29524 _ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h.  */
29528
29529 /* Override any gcc2 internal prototype to avoid an error.  */
29530 #ifdef __cplusplus
29531 extern "C"
29532 #endif
29533 /* We use char because int might match the return type of a gcc2
29534    builtin and then its argument prototype would still apply.  */
29535 char ctanf ();
29536 int
29537 main ()
29538 {
29539 ctanf ();
29540   ;
29541   return 0;
29542 }
29543 _ACEOF
29544 rm -f conftest.$ac_objext conftest$ac_exeext
29545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29546   (eval $ac_link) 2>conftest.er1
29547   ac_status=$?
29548   grep -v '^ *+' conftest.er1 >conftest.err
29549   rm -f conftest.er1
29550   cat conftest.err >&5
29551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552   (exit $ac_status); } &&
29553          { ac_try='test -z "$ac_c_werror_flag"
29554                          || test ! -s conftest.err'
29555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556   (eval $ac_try) 2>&5
29557   ac_status=$?
29558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559   (exit $ac_status); }; } &&
29560          { ac_try='test -s conftest$ac_exeext'
29561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562   (eval $ac_try) 2>&5
29563   ac_status=$?
29564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565   (exit $ac_status); }; }; then
29566   ac_cv_lib_m_ctanf=yes
29567 else
29568   echo "$as_me: failed program was:" >&5
29569 sed 's/^/| /' conftest.$ac_ext >&5
29570
29571 ac_cv_lib_m_ctanf=no
29572 fi
29573 rm -f conftest.err conftest.$ac_objext \
29574       conftest$ac_exeext conftest.$ac_ext
29575 LIBS=$ac_check_lib_save_LIBS
29576 fi
29577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29578 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29579 if test $ac_cv_lib_m_ctanf = yes; then
29580
29581 cat >>confdefs.h <<\_ACEOF
29582 #define HAVE_CTANF 1
29583 _ACEOF
29584
29585 fi
29586
29587 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29588 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29589 if test "${ac_cv_lib_m_ctan+set}" = set; then
29590   echo $ECHO_N "(cached) $ECHO_C" >&6
29591 else
29592   ac_check_lib_save_LIBS=$LIBS
29593 LIBS="-lm  $LIBS"
29594 if test x$gcc_no_link = xyes; then
29595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29597    { (exit 1); exit 1; }; }
29598 fi
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h.  */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h.  */
29605
29606 /* Override any gcc2 internal prototype to avoid an error.  */
29607 #ifdef __cplusplus
29608 extern "C"
29609 #endif
29610 /* We use char because int might match the return type of a gcc2
29611    builtin and then its argument prototype would still apply.  */
29612 char ctan ();
29613 int
29614 main ()
29615 {
29616 ctan ();
29617   ;
29618   return 0;
29619 }
29620 _ACEOF
29621 rm -f conftest.$ac_objext conftest$ac_exeext
29622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29623   (eval $ac_link) 2>conftest.er1
29624   ac_status=$?
29625   grep -v '^ *+' conftest.er1 >conftest.err
29626   rm -f conftest.er1
29627   cat conftest.err >&5
29628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629   (exit $ac_status); } &&
29630          { ac_try='test -z "$ac_c_werror_flag"
29631                          || test ! -s conftest.err'
29632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29633   (eval $ac_try) 2>&5
29634   ac_status=$?
29635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636   (exit $ac_status); }; } &&
29637          { ac_try='test -s conftest$ac_exeext'
29638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639   (eval $ac_try) 2>&5
29640   ac_status=$?
29641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642   (exit $ac_status); }; }; then
29643   ac_cv_lib_m_ctan=yes
29644 else
29645   echo "$as_me: failed program was:" >&5
29646 sed 's/^/| /' conftest.$ac_ext >&5
29647
29648 ac_cv_lib_m_ctan=no
29649 fi
29650 rm -f conftest.err conftest.$ac_objext \
29651       conftest$ac_exeext conftest.$ac_ext
29652 LIBS=$ac_check_lib_save_LIBS
29653 fi
29654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29655 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29656 if test $ac_cv_lib_m_ctan = yes; then
29657
29658 cat >>confdefs.h <<\_ACEOF
29659 #define HAVE_CTAN 1
29660 _ACEOF
29661
29662 fi
29663
29664 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29665 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29666 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29667   echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29669   ac_check_lib_save_LIBS=$LIBS
29670 LIBS="-lm  $LIBS"
29671 if test x$gcc_no_link = xyes; then
29672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29674    { (exit 1); exit 1; }; }
29675 fi
29676 cat >conftest.$ac_ext <<_ACEOF
29677 /* confdefs.h.  */
29678 _ACEOF
29679 cat confdefs.h >>conftest.$ac_ext
29680 cat >>conftest.$ac_ext <<_ACEOF
29681 /* end confdefs.h.  */
29682
29683 /* Override any gcc2 internal prototype to avoid an error.  */
29684 #ifdef __cplusplus
29685 extern "C"
29686 #endif
29687 /* We use char because int might match the return type of a gcc2
29688    builtin and then its argument prototype would still apply.  */
29689 char ctanl ();
29690 int
29691 main ()
29692 {
29693 ctanl ();
29694   ;
29695   return 0;
29696 }
29697 _ACEOF
29698 rm -f conftest.$ac_objext conftest$ac_exeext
29699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29700   (eval $ac_link) 2>conftest.er1
29701   ac_status=$?
29702   grep -v '^ *+' conftest.er1 >conftest.err
29703   rm -f conftest.er1
29704   cat conftest.err >&5
29705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706   (exit $ac_status); } &&
29707          { ac_try='test -z "$ac_c_werror_flag"
29708                          || test ! -s conftest.err'
29709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710   (eval $ac_try) 2>&5
29711   ac_status=$?
29712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713   (exit $ac_status); }; } &&
29714          { ac_try='test -s conftest$ac_exeext'
29715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716   (eval $ac_try) 2>&5
29717   ac_status=$?
29718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719   (exit $ac_status); }; }; then
29720   ac_cv_lib_m_ctanl=yes
29721 else
29722   echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29724
29725 ac_cv_lib_m_ctanl=no
29726 fi
29727 rm -f conftest.err conftest.$ac_objext \
29728       conftest$ac_exeext conftest.$ac_ext
29729 LIBS=$ac_check_lib_save_LIBS
29730 fi
29731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29732 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29733 if test $ac_cv_lib_m_ctanl = yes; then
29734
29735 cat >>confdefs.h <<\_ACEOF
29736 #define HAVE_CTANL 1
29737 _ACEOF
29738
29739 fi
29740
29741 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29742 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29743 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29744   echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746   ac_check_lib_save_LIBS=$LIBS
29747 LIBS="-lm  $LIBS"
29748 if test x$gcc_no_link = xyes; then
29749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29751    { (exit 1); exit 1; }; }
29752 fi
29753 cat >conftest.$ac_ext <<_ACEOF
29754 /* confdefs.h.  */
29755 _ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h.  */
29759
29760 /* Override any gcc2 internal prototype to avoid an error.  */
29761 #ifdef __cplusplus
29762 extern "C"
29763 #endif
29764 /* We use char because int might match the return type of a gcc2
29765    builtin and then its argument prototype would still apply.  */
29766 char tanhf ();
29767 int
29768 main ()
29769 {
29770 tanhf ();
29771   ;
29772   return 0;
29773 }
29774 _ACEOF
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777   (eval $ac_link) 2>conftest.er1
29778   ac_status=$?
29779   grep -v '^ *+' conftest.er1 >conftest.err
29780   rm -f conftest.er1
29781   cat conftest.err >&5
29782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783   (exit $ac_status); } &&
29784          { ac_try='test -z "$ac_c_werror_flag"
29785                          || test ! -s conftest.err'
29786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787   (eval $ac_try) 2>&5
29788   ac_status=$?
29789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790   (exit $ac_status); }; } &&
29791          { ac_try='test -s conftest$ac_exeext'
29792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793   (eval $ac_try) 2>&5
29794   ac_status=$?
29795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796   (exit $ac_status); }; }; then
29797   ac_cv_lib_m_tanhf=yes
29798 else
29799   echo "$as_me: failed program was:" >&5
29800 sed 's/^/| /' conftest.$ac_ext >&5
29801
29802 ac_cv_lib_m_tanhf=no
29803 fi
29804 rm -f conftest.err conftest.$ac_objext \
29805       conftest$ac_exeext conftest.$ac_ext
29806 LIBS=$ac_check_lib_save_LIBS
29807 fi
29808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29809 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29810 if test $ac_cv_lib_m_tanhf = yes; then
29811
29812 cat >>confdefs.h <<\_ACEOF
29813 #define HAVE_TANHF 1
29814 _ACEOF
29815
29816 fi
29817
29818 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29819 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29820 if test "${ac_cv_lib_m_tanh+set}" = set; then
29821   echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823   ac_check_lib_save_LIBS=$LIBS
29824 LIBS="-lm  $LIBS"
29825 if test x$gcc_no_link = xyes; then
29826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29828    { (exit 1); exit 1; }; }
29829 fi
29830 cat >conftest.$ac_ext <<_ACEOF
29831 /* confdefs.h.  */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h.  */
29836
29837 /* Override any gcc2 internal prototype to avoid an error.  */
29838 #ifdef __cplusplus
29839 extern "C"
29840 #endif
29841 /* We use char because int might match the return type of a gcc2
29842    builtin and then its argument prototype would still apply.  */
29843 char tanh ();
29844 int
29845 main ()
29846 {
29847 tanh ();
29848   ;
29849   return 0;
29850 }
29851 _ACEOF
29852 rm -f conftest.$ac_objext conftest$ac_exeext
29853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29854   (eval $ac_link) 2>conftest.er1
29855   ac_status=$?
29856   grep -v '^ *+' conftest.er1 >conftest.err
29857   rm -f conftest.er1
29858   cat conftest.err >&5
29859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860   (exit $ac_status); } &&
29861          { ac_try='test -z "$ac_c_werror_flag"
29862                          || test ! -s conftest.err'
29863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864   (eval $ac_try) 2>&5
29865   ac_status=$?
29866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867   (exit $ac_status); }; } &&
29868          { ac_try='test -s conftest$ac_exeext'
29869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870   (eval $ac_try) 2>&5
29871   ac_status=$?
29872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873   (exit $ac_status); }; }; then
29874   ac_cv_lib_m_tanh=yes
29875 else
29876   echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.$ac_ext >&5
29878
29879 ac_cv_lib_m_tanh=no
29880 fi
29881 rm -f conftest.err conftest.$ac_objext \
29882       conftest$ac_exeext conftest.$ac_ext
29883 LIBS=$ac_check_lib_save_LIBS
29884 fi
29885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29886 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29887 if test $ac_cv_lib_m_tanh = yes; then
29888
29889 cat >>confdefs.h <<\_ACEOF
29890 #define HAVE_TANH 1
29891 _ACEOF
29892
29893 fi
29894
29895 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29896 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29897 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29898   echo $ECHO_N "(cached) $ECHO_C" >&6
29899 else
29900   ac_check_lib_save_LIBS=$LIBS
29901 LIBS="-lm  $LIBS"
29902 if test x$gcc_no_link = xyes; then
29903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29905    { (exit 1); exit 1; }; }
29906 fi
29907 cat >conftest.$ac_ext <<_ACEOF
29908 /* confdefs.h.  */
29909 _ACEOF
29910 cat confdefs.h >>conftest.$ac_ext
29911 cat >>conftest.$ac_ext <<_ACEOF
29912 /* end confdefs.h.  */
29913
29914 /* Override any gcc2 internal prototype to avoid an error.  */
29915 #ifdef __cplusplus
29916 extern "C"
29917 #endif
29918 /* We use char because int might match the return type of a gcc2
29919    builtin and then its argument prototype would still apply.  */
29920 char tanhl ();
29921 int
29922 main ()
29923 {
29924 tanhl ();
29925   ;
29926   return 0;
29927 }
29928 _ACEOF
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29931   (eval $ac_link) 2>conftest.er1
29932   ac_status=$?
29933   grep -v '^ *+' conftest.er1 >conftest.err
29934   rm -f conftest.er1
29935   cat conftest.err >&5
29936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937   (exit $ac_status); } &&
29938          { ac_try='test -z "$ac_c_werror_flag"
29939                          || test ! -s conftest.err'
29940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941   (eval $ac_try) 2>&5
29942   ac_status=$?
29943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944   (exit $ac_status); }; } &&
29945          { ac_try='test -s conftest$ac_exeext'
29946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947   (eval $ac_try) 2>&5
29948   ac_status=$?
29949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950   (exit $ac_status); }; }; then
29951   ac_cv_lib_m_tanhl=yes
29952 else
29953   echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29955
29956 ac_cv_lib_m_tanhl=no
29957 fi
29958 rm -f conftest.err conftest.$ac_objext \
29959       conftest$ac_exeext conftest.$ac_ext
29960 LIBS=$ac_check_lib_save_LIBS
29961 fi
29962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29963 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29964 if test $ac_cv_lib_m_tanhl = yes; then
29965
29966 cat >>confdefs.h <<\_ACEOF
29967 #define HAVE_TANHL 1
29968 _ACEOF
29969
29970 fi
29971
29972 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29973 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29974 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29975   echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977   ac_check_lib_save_LIBS=$LIBS
29978 LIBS="-lm  $LIBS"
29979 if test x$gcc_no_link = xyes; then
29980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29982    { (exit 1); exit 1; }; }
29983 fi
29984 cat >conftest.$ac_ext <<_ACEOF
29985 /* confdefs.h.  */
29986 _ACEOF
29987 cat confdefs.h >>conftest.$ac_ext
29988 cat >>conftest.$ac_ext <<_ACEOF
29989 /* end confdefs.h.  */
29990
29991 /* Override any gcc2 internal prototype to avoid an error.  */
29992 #ifdef __cplusplus
29993 extern "C"
29994 #endif
29995 /* We use char because int might match the return type of a gcc2
29996    builtin and then its argument prototype would still apply.  */
29997 char ctanhf ();
29998 int
29999 main ()
30000 {
30001 ctanhf ();
30002   ;
30003   return 0;
30004 }
30005 _ACEOF
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30008   (eval $ac_link) 2>conftest.er1
30009   ac_status=$?
30010   grep -v '^ *+' conftest.er1 >conftest.err
30011   rm -f conftest.er1
30012   cat conftest.err >&5
30013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014   (exit $ac_status); } &&
30015          { ac_try='test -z "$ac_c_werror_flag"
30016                          || test ! -s conftest.err'
30017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018   (eval $ac_try) 2>&5
30019   ac_status=$?
30020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021   (exit $ac_status); }; } &&
30022          { ac_try='test -s conftest$ac_exeext'
30023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024   (eval $ac_try) 2>&5
30025   ac_status=$?
30026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027   (exit $ac_status); }; }; then
30028   ac_cv_lib_m_ctanhf=yes
30029 else
30030   echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.$ac_ext >&5
30032
30033 ac_cv_lib_m_ctanhf=no
30034 fi
30035 rm -f conftest.err conftest.$ac_objext \
30036       conftest$ac_exeext conftest.$ac_ext
30037 LIBS=$ac_check_lib_save_LIBS
30038 fi
30039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30040 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30041 if test $ac_cv_lib_m_ctanhf = yes; then
30042
30043 cat >>confdefs.h <<\_ACEOF
30044 #define HAVE_CTANHF 1
30045 _ACEOF
30046
30047 fi
30048
30049 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30050 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30051 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30052   echo $ECHO_N "(cached) $ECHO_C" >&6
30053 else
30054   ac_check_lib_save_LIBS=$LIBS
30055 LIBS="-lm  $LIBS"
30056 if test x$gcc_no_link = xyes; then
30057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30059    { (exit 1); exit 1; }; }
30060 fi
30061 cat >conftest.$ac_ext <<_ACEOF
30062 /* confdefs.h.  */
30063 _ACEOF
30064 cat confdefs.h >>conftest.$ac_ext
30065 cat >>conftest.$ac_ext <<_ACEOF
30066 /* end confdefs.h.  */
30067
30068 /* Override any gcc2 internal prototype to avoid an error.  */
30069 #ifdef __cplusplus
30070 extern "C"
30071 #endif
30072 /* We use char because int might match the return type of a gcc2
30073    builtin and then its argument prototype would still apply.  */
30074 char ctanh ();
30075 int
30076 main ()
30077 {
30078 ctanh ();
30079   ;
30080   return 0;
30081 }
30082 _ACEOF
30083 rm -f conftest.$ac_objext conftest$ac_exeext
30084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30085   (eval $ac_link) 2>conftest.er1
30086   ac_status=$?
30087   grep -v '^ *+' conftest.er1 >conftest.err
30088   rm -f conftest.er1
30089   cat conftest.err >&5
30090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091   (exit $ac_status); } &&
30092          { ac_try='test -z "$ac_c_werror_flag"
30093                          || test ! -s conftest.err'
30094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095   (eval $ac_try) 2>&5
30096   ac_status=$?
30097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098   (exit $ac_status); }; } &&
30099          { ac_try='test -s conftest$ac_exeext'
30100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101   (eval $ac_try) 2>&5
30102   ac_status=$?
30103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104   (exit $ac_status); }; }; then
30105   ac_cv_lib_m_ctanh=yes
30106 else
30107   echo "$as_me: failed program was:" >&5
30108 sed 's/^/| /' conftest.$ac_ext >&5
30109
30110 ac_cv_lib_m_ctanh=no
30111 fi
30112 rm -f conftest.err conftest.$ac_objext \
30113       conftest$ac_exeext conftest.$ac_ext
30114 LIBS=$ac_check_lib_save_LIBS
30115 fi
30116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30117 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30118 if test $ac_cv_lib_m_ctanh = yes; then
30119
30120 cat >>confdefs.h <<\_ACEOF
30121 #define HAVE_CTANH 1
30122 _ACEOF
30123
30124 fi
30125
30126 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30127 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30128 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30129   echo $ECHO_N "(cached) $ECHO_C" >&6
30130 else
30131   ac_check_lib_save_LIBS=$LIBS
30132 LIBS="-lm  $LIBS"
30133 if test x$gcc_no_link = xyes; then
30134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30136    { (exit 1); exit 1; }; }
30137 fi
30138 cat >conftest.$ac_ext <<_ACEOF
30139 /* confdefs.h.  */
30140 _ACEOF
30141 cat confdefs.h >>conftest.$ac_ext
30142 cat >>conftest.$ac_ext <<_ACEOF
30143 /* end confdefs.h.  */
30144
30145 /* Override any gcc2 internal prototype to avoid an error.  */
30146 #ifdef __cplusplus
30147 extern "C"
30148 #endif
30149 /* We use char because int might match the return type of a gcc2
30150    builtin and then its argument prototype would still apply.  */
30151 char ctanhl ();
30152 int
30153 main ()
30154 {
30155 ctanhl ();
30156   ;
30157   return 0;
30158 }
30159 _ACEOF
30160 rm -f conftest.$ac_objext conftest$ac_exeext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30162   (eval $ac_link) 2>conftest.er1
30163   ac_status=$?
30164   grep -v '^ *+' conftest.er1 >conftest.err
30165   rm -f conftest.er1
30166   cat conftest.err >&5
30167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168   (exit $ac_status); } &&
30169          { ac_try='test -z "$ac_c_werror_flag"
30170                          || test ! -s conftest.err'
30171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30172   (eval $ac_try) 2>&5
30173   ac_status=$?
30174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175   (exit $ac_status); }; } &&
30176          { ac_try='test -s conftest$ac_exeext'
30177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178   (eval $ac_try) 2>&5
30179   ac_status=$?
30180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181   (exit $ac_status); }; }; then
30182   ac_cv_lib_m_ctanhl=yes
30183 else
30184   echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30186
30187 ac_cv_lib_m_ctanhl=no
30188 fi
30189 rm -f conftest.err conftest.$ac_objext \
30190       conftest$ac_exeext conftest.$ac_ext
30191 LIBS=$ac_check_lib_save_LIBS
30192 fi
30193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30194 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30195 if test $ac_cv_lib_m_ctanhl = yes; then
30196
30197 cat >>confdefs.h <<\_ACEOF
30198 #define HAVE_CTANHL 1
30199 _ACEOF
30200
30201 fi
30202
30203 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30204 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30205 if test "${ac_cv_lib_m_truncf+set}" = set; then
30206   echo $ECHO_N "(cached) $ECHO_C" >&6
30207 else
30208   ac_check_lib_save_LIBS=$LIBS
30209 LIBS="-lm  $LIBS"
30210 if test x$gcc_no_link = xyes; then
30211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30213    { (exit 1); exit 1; }; }
30214 fi
30215 cat >conftest.$ac_ext <<_ACEOF
30216 /* confdefs.h.  */
30217 _ACEOF
30218 cat confdefs.h >>conftest.$ac_ext
30219 cat >>conftest.$ac_ext <<_ACEOF
30220 /* end confdefs.h.  */
30221
30222 /* Override any gcc2 internal prototype to avoid an error.  */
30223 #ifdef __cplusplus
30224 extern "C"
30225 #endif
30226 /* We use char because int might match the return type of a gcc2
30227    builtin and then its argument prototype would still apply.  */
30228 char truncf ();
30229 int
30230 main ()
30231 {
30232 truncf ();
30233   ;
30234   return 0;
30235 }
30236 _ACEOF
30237 rm -f conftest.$ac_objext conftest$ac_exeext
30238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30239   (eval $ac_link) 2>conftest.er1
30240   ac_status=$?
30241   grep -v '^ *+' conftest.er1 >conftest.err
30242   rm -f conftest.er1
30243   cat conftest.err >&5
30244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245   (exit $ac_status); } &&
30246          { ac_try='test -z "$ac_c_werror_flag"
30247                          || test ! -s conftest.err'
30248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249   (eval $ac_try) 2>&5
30250   ac_status=$?
30251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252   (exit $ac_status); }; } &&
30253          { ac_try='test -s conftest$ac_exeext'
30254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255   (eval $ac_try) 2>&5
30256   ac_status=$?
30257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258   (exit $ac_status); }; }; then
30259   ac_cv_lib_m_truncf=yes
30260 else
30261   echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30263
30264 ac_cv_lib_m_truncf=no
30265 fi
30266 rm -f conftest.err conftest.$ac_objext \
30267       conftest$ac_exeext conftest.$ac_ext
30268 LIBS=$ac_check_lib_save_LIBS
30269 fi
30270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30271 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30272 if test $ac_cv_lib_m_truncf = yes; then
30273
30274 cat >>confdefs.h <<\_ACEOF
30275 #define HAVE_TRUNCF 1
30276 _ACEOF
30277
30278 fi
30279
30280 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30281 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30282 if test "${ac_cv_lib_m_trunc+set}" = set; then
30283   echo $ECHO_N "(cached) $ECHO_C" >&6
30284 else
30285   ac_check_lib_save_LIBS=$LIBS
30286 LIBS="-lm  $LIBS"
30287 if test x$gcc_no_link = xyes; then
30288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30290    { (exit 1); exit 1; }; }
30291 fi
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h.  */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h.  */
30298
30299 /* Override any gcc2 internal prototype to avoid an error.  */
30300 #ifdef __cplusplus
30301 extern "C"
30302 #endif
30303 /* We use char because int might match the return type of a gcc2
30304    builtin and then its argument prototype would still apply.  */
30305 char trunc ();
30306 int
30307 main ()
30308 {
30309 trunc ();
30310   ;
30311   return 0;
30312 }
30313 _ACEOF
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30316   (eval $ac_link) 2>conftest.er1
30317   ac_status=$?
30318   grep -v '^ *+' conftest.er1 >conftest.err
30319   rm -f conftest.er1
30320   cat conftest.err >&5
30321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322   (exit $ac_status); } &&
30323          { ac_try='test -z "$ac_c_werror_flag"
30324                          || test ! -s conftest.err'
30325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326   (eval $ac_try) 2>&5
30327   ac_status=$?
30328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329   (exit $ac_status); }; } &&
30330          { ac_try='test -s conftest$ac_exeext'
30331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332   (eval $ac_try) 2>&5
30333   ac_status=$?
30334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335   (exit $ac_status); }; }; then
30336   ac_cv_lib_m_trunc=yes
30337 else
30338   echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341 ac_cv_lib_m_trunc=no
30342 fi
30343 rm -f conftest.err conftest.$ac_objext \
30344       conftest$ac_exeext conftest.$ac_ext
30345 LIBS=$ac_check_lib_save_LIBS
30346 fi
30347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30348 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30349 if test $ac_cv_lib_m_trunc = yes; then
30350
30351 cat >>confdefs.h <<\_ACEOF
30352 #define HAVE_TRUNC 1
30353 _ACEOF
30354
30355 fi
30356
30357 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30358 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30359 if test "${ac_cv_lib_m_truncl+set}" = set; then
30360   echo $ECHO_N "(cached) $ECHO_C" >&6
30361 else
30362   ac_check_lib_save_LIBS=$LIBS
30363 LIBS="-lm  $LIBS"
30364 if test x$gcc_no_link = xyes; then
30365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30367    { (exit 1); exit 1; }; }
30368 fi
30369 cat >conftest.$ac_ext <<_ACEOF
30370 /* confdefs.h.  */
30371 _ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h.  */
30375
30376 /* Override any gcc2 internal prototype to avoid an error.  */
30377 #ifdef __cplusplus
30378 extern "C"
30379 #endif
30380 /* We use char because int might match the return type of a gcc2
30381    builtin and then its argument prototype would still apply.  */
30382 char truncl ();
30383 int
30384 main ()
30385 {
30386 truncl ();
30387   ;
30388   return 0;
30389 }
30390 _ACEOF
30391 rm -f conftest.$ac_objext conftest$ac_exeext
30392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30393   (eval $ac_link) 2>conftest.er1
30394   ac_status=$?
30395   grep -v '^ *+' conftest.er1 >conftest.err
30396   rm -f conftest.er1
30397   cat conftest.err >&5
30398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399   (exit $ac_status); } &&
30400          { ac_try='test -z "$ac_c_werror_flag"
30401                          || test ! -s conftest.err'
30402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403   (eval $ac_try) 2>&5
30404   ac_status=$?
30405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406   (exit $ac_status); }; } &&
30407          { ac_try='test -s conftest$ac_exeext'
30408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409   (eval $ac_try) 2>&5
30410   ac_status=$?
30411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412   (exit $ac_status); }; }; then
30413   ac_cv_lib_m_truncl=yes
30414 else
30415   echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.$ac_ext >&5
30417
30418 ac_cv_lib_m_truncl=no
30419 fi
30420 rm -f conftest.err conftest.$ac_objext \
30421       conftest$ac_exeext conftest.$ac_ext
30422 LIBS=$ac_check_lib_save_LIBS
30423 fi
30424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30425 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30426 if test $ac_cv_lib_m_truncl = yes; then
30427
30428 cat >>confdefs.h <<\_ACEOF
30429 #define HAVE_TRUNCL 1
30430 _ACEOF
30431
30432 fi
30433
30434 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30435 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30436 if test "${ac_cv_lib_m_erff+set}" = set; then
30437   echo $ECHO_N "(cached) $ECHO_C" >&6
30438 else
30439   ac_check_lib_save_LIBS=$LIBS
30440 LIBS="-lm  $LIBS"
30441 if test x$gcc_no_link = xyes; then
30442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30444    { (exit 1); exit 1; }; }
30445 fi
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h.  */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h.  */
30452
30453 /* Override any gcc2 internal prototype to avoid an error.  */
30454 #ifdef __cplusplus
30455 extern "C"
30456 #endif
30457 /* We use char because int might match the return type of a gcc2
30458    builtin and then its argument prototype would still apply.  */
30459 char erff ();
30460 int
30461 main ()
30462 {
30463 erff ();
30464   ;
30465   return 0;
30466 }
30467 _ACEOF
30468 rm -f conftest.$ac_objext conftest$ac_exeext
30469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30470   (eval $ac_link) 2>conftest.er1
30471   ac_status=$?
30472   grep -v '^ *+' conftest.er1 >conftest.err
30473   rm -f conftest.er1
30474   cat conftest.err >&5
30475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476   (exit $ac_status); } &&
30477          { ac_try='test -z "$ac_c_werror_flag"
30478                          || test ! -s conftest.err'
30479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480   (eval $ac_try) 2>&5
30481   ac_status=$?
30482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483   (exit $ac_status); }; } &&
30484          { ac_try='test -s conftest$ac_exeext'
30485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30486   (eval $ac_try) 2>&5
30487   ac_status=$?
30488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489   (exit $ac_status); }; }; then
30490   ac_cv_lib_m_erff=yes
30491 else
30492   echo "$as_me: failed program was:" >&5
30493 sed 's/^/| /' conftest.$ac_ext >&5
30494
30495 ac_cv_lib_m_erff=no
30496 fi
30497 rm -f conftest.err conftest.$ac_objext \
30498       conftest$ac_exeext conftest.$ac_ext
30499 LIBS=$ac_check_lib_save_LIBS
30500 fi
30501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30502 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30503 if test $ac_cv_lib_m_erff = yes; then
30504
30505 cat >>confdefs.h <<\_ACEOF
30506 #define HAVE_ERFF 1
30507 _ACEOF
30508
30509 fi
30510
30511 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30512 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30513 if test "${ac_cv_lib_m_erf+set}" = set; then
30514   echo $ECHO_N "(cached) $ECHO_C" >&6
30515 else
30516   ac_check_lib_save_LIBS=$LIBS
30517 LIBS="-lm  $LIBS"
30518 if test x$gcc_no_link = xyes; then
30519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30521    { (exit 1); exit 1; }; }
30522 fi
30523 cat >conftest.$ac_ext <<_ACEOF
30524 /* confdefs.h.  */
30525 _ACEOF
30526 cat confdefs.h >>conftest.$ac_ext
30527 cat >>conftest.$ac_ext <<_ACEOF
30528 /* end confdefs.h.  */
30529
30530 /* Override any gcc2 internal prototype to avoid an error.  */
30531 #ifdef __cplusplus
30532 extern "C"
30533 #endif
30534 /* We use char because int might match the return type of a gcc2
30535    builtin and then its argument prototype would still apply.  */
30536 char erf ();
30537 int
30538 main ()
30539 {
30540 erf ();
30541   ;
30542   return 0;
30543 }
30544 _ACEOF
30545 rm -f conftest.$ac_objext conftest$ac_exeext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30547   (eval $ac_link) 2>conftest.er1
30548   ac_status=$?
30549   grep -v '^ *+' conftest.er1 >conftest.err
30550   rm -f conftest.er1
30551   cat conftest.err >&5
30552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553   (exit $ac_status); } &&
30554          { ac_try='test -z "$ac_c_werror_flag"
30555                          || test ! -s conftest.err'
30556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557   (eval $ac_try) 2>&5
30558   ac_status=$?
30559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560   (exit $ac_status); }; } &&
30561          { ac_try='test -s conftest$ac_exeext'
30562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563   (eval $ac_try) 2>&5
30564   ac_status=$?
30565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566   (exit $ac_status); }; }; then
30567   ac_cv_lib_m_erf=yes
30568 else
30569   echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30571
30572 ac_cv_lib_m_erf=no
30573 fi
30574 rm -f conftest.err conftest.$ac_objext \
30575       conftest$ac_exeext conftest.$ac_ext
30576 LIBS=$ac_check_lib_save_LIBS
30577 fi
30578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30579 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30580 if test $ac_cv_lib_m_erf = yes; then
30581
30582 cat >>confdefs.h <<\_ACEOF
30583 #define HAVE_ERF 1
30584 _ACEOF
30585
30586 fi
30587
30588 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30589 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30590 if test "${ac_cv_lib_m_erfl+set}" = set; then
30591   echo $ECHO_N "(cached) $ECHO_C" >&6
30592 else
30593   ac_check_lib_save_LIBS=$LIBS
30594 LIBS="-lm  $LIBS"
30595 if test x$gcc_no_link = xyes; then
30596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30598    { (exit 1); exit 1; }; }
30599 fi
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h.  */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h.  */
30606
30607 /* Override any gcc2 internal prototype to avoid an error.  */
30608 #ifdef __cplusplus
30609 extern "C"
30610 #endif
30611 /* We use char because int might match the return type of a gcc2
30612    builtin and then its argument prototype would still apply.  */
30613 char erfl ();
30614 int
30615 main ()
30616 {
30617 erfl ();
30618   ;
30619   return 0;
30620 }
30621 _ACEOF
30622 rm -f conftest.$ac_objext conftest$ac_exeext
30623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624   (eval $ac_link) 2>conftest.er1
30625   ac_status=$?
30626   grep -v '^ *+' conftest.er1 >conftest.err
30627   rm -f conftest.er1
30628   cat conftest.err >&5
30629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630   (exit $ac_status); } &&
30631          { ac_try='test -z "$ac_c_werror_flag"
30632                          || test ! -s conftest.err'
30633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634   (eval $ac_try) 2>&5
30635   ac_status=$?
30636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637   (exit $ac_status); }; } &&
30638          { ac_try='test -s conftest$ac_exeext'
30639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640   (eval $ac_try) 2>&5
30641   ac_status=$?
30642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643   (exit $ac_status); }; }; then
30644   ac_cv_lib_m_erfl=yes
30645 else
30646   echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.$ac_ext >&5
30648
30649 ac_cv_lib_m_erfl=no
30650 fi
30651 rm -f conftest.err conftest.$ac_objext \
30652       conftest$ac_exeext conftest.$ac_ext
30653 LIBS=$ac_check_lib_save_LIBS
30654 fi
30655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30656 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30657 if test $ac_cv_lib_m_erfl = yes; then
30658
30659 cat >>confdefs.h <<\_ACEOF
30660 #define HAVE_ERFL 1
30661 _ACEOF
30662
30663 fi
30664
30665 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30666 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30667 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30668   echo $ECHO_N "(cached) $ECHO_C" >&6
30669 else
30670   ac_check_lib_save_LIBS=$LIBS
30671 LIBS="-lm  $LIBS"
30672 if test x$gcc_no_link = xyes; then
30673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30675    { (exit 1); exit 1; }; }
30676 fi
30677 cat >conftest.$ac_ext <<_ACEOF
30678 /* confdefs.h.  */
30679 _ACEOF
30680 cat confdefs.h >>conftest.$ac_ext
30681 cat >>conftest.$ac_ext <<_ACEOF
30682 /* end confdefs.h.  */
30683
30684 /* Override any gcc2 internal prototype to avoid an error.  */
30685 #ifdef __cplusplus
30686 extern "C"
30687 #endif
30688 /* We use char because int might match the return type of a gcc2
30689    builtin and then its argument prototype would still apply.  */
30690 char erfcf ();
30691 int
30692 main ()
30693 {
30694 erfcf ();
30695   ;
30696   return 0;
30697 }
30698 _ACEOF
30699 rm -f conftest.$ac_objext conftest$ac_exeext
30700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30701   (eval $ac_link) 2>conftest.er1
30702   ac_status=$?
30703   grep -v '^ *+' conftest.er1 >conftest.err
30704   rm -f conftest.er1
30705   cat conftest.err >&5
30706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707   (exit $ac_status); } &&
30708          { ac_try='test -z "$ac_c_werror_flag"
30709                          || test ! -s conftest.err'
30710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711   (eval $ac_try) 2>&5
30712   ac_status=$?
30713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714   (exit $ac_status); }; } &&
30715          { ac_try='test -s conftest$ac_exeext'
30716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717   (eval $ac_try) 2>&5
30718   ac_status=$?
30719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720   (exit $ac_status); }; }; then
30721   ac_cv_lib_m_erfcf=yes
30722 else
30723   echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.$ac_ext >&5
30725
30726 ac_cv_lib_m_erfcf=no
30727 fi
30728 rm -f conftest.err conftest.$ac_objext \
30729       conftest$ac_exeext conftest.$ac_ext
30730 LIBS=$ac_check_lib_save_LIBS
30731 fi
30732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30733 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30734 if test $ac_cv_lib_m_erfcf = yes; then
30735
30736 cat >>confdefs.h <<\_ACEOF
30737 #define HAVE_ERFCF 1
30738 _ACEOF
30739
30740 fi
30741
30742 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30743 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30744 if test "${ac_cv_lib_m_erfc+set}" = set; then
30745   echo $ECHO_N "(cached) $ECHO_C" >&6
30746 else
30747   ac_check_lib_save_LIBS=$LIBS
30748 LIBS="-lm  $LIBS"
30749 if test x$gcc_no_link = xyes; then
30750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30752    { (exit 1); exit 1; }; }
30753 fi
30754 cat >conftest.$ac_ext <<_ACEOF
30755 /* confdefs.h.  */
30756 _ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h.  */
30760
30761 /* Override any gcc2 internal prototype to avoid an error.  */
30762 #ifdef __cplusplus
30763 extern "C"
30764 #endif
30765 /* We use char because int might match the return type of a gcc2
30766    builtin and then its argument prototype would still apply.  */
30767 char erfc ();
30768 int
30769 main ()
30770 {
30771 erfc ();
30772   ;
30773   return 0;
30774 }
30775 _ACEOF
30776 rm -f conftest.$ac_objext conftest$ac_exeext
30777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30778   (eval $ac_link) 2>conftest.er1
30779   ac_status=$?
30780   grep -v '^ *+' conftest.er1 >conftest.err
30781   rm -f conftest.er1
30782   cat conftest.err >&5
30783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784   (exit $ac_status); } &&
30785          { ac_try='test -z "$ac_c_werror_flag"
30786                          || test ! -s conftest.err'
30787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788   (eval $ac_try) 2>&5
30789   ac_status=$?
30790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791   (exit $ac_status); }; } &&
30792          { ac_try='test -s conftest$ac_exeext'
30793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794   (eval $ac_try) 2>&5
30795   ac_status=$?
30796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797   (exit $ac_status); }; }; then
30798   ac_cv_lib_m_erfc=yes
30799 else
30800   echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 ac_cv_lib_m_erfc=no
30804 fi
30805 rm -f conftest.err conftest.$ac_objext \
30806       conftest$ac_exeext conftest.$ac_ext
30807 LIBS=$ac_check_lib_save_LIBS
30808 fi
30809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30810 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30811 if test $ac_cv_lib_m_erfc = yes; then
30812
30813 cat >>confdefs.h <<\_ACEOF
30814 #define HAVE_ERFC 1
30815 _ACEOF
30816
30817 fi
30818
30819 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30820 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30821 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30822   echo $ECHO_N "(cached) $ECHO_C" >&6
30823 else
30824   ac_check_lib_save_LIBS=$LIBS
30825 LIBS="-lm  $LIBS"
30826 if test x$gcc_no_link = xyes; then
30827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30829    { (exit 1); exit 1; }; }
30830 fi
30831 cat >conftest.$ac_ext <<_ACEOF
30832 /* confdefs.h.  */
30833 _ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h.  */
30837
30838 /* Override any gcc2 internal prototype to avoid an error.  */
30839 #ifdef __cplusplus
30840 extern "C"
30841 #endif
30842 /* We use char because int might match the return type of a gcc2
30843    builtin and then its argument prototype would still apply.  */
30844 char erfcl ();
30845 int
30846 main ()
30847 {
30848 erfcl ();
30849   ;
30850   return 0;
30851 }
30852 _ACEOF
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30855   (eval $ac_link) 2>conftest.er1
30856   ac_status=$?
30857   grep -v '^ *+' conftest.er1 >conftest.err
30858   rm -f conftest.er1
30859   cat conftest.err >&5
30860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861   (exit $ac_status); } &&
30862          { ac_try='test -z "$ac_c_werror_flag"
30863                          || test ! -s conftest.err'
30864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30865   (eval $ac_try) 2>&5
30866   ac_status=$?
30867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868   (exit $ac_status); }; } &&
30869          { ac_try='test -s conftest$ac_exeext'
30870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30871   (eval $ac_try) 2>&5
30872   ac_status=$?
30873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874   (exit $ac_status); }; }; then
30875   ac_cv_lib_m_erfcl=yes
30876 else
30877   echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30879
30880 ac_cv_lib_m_erfcl=no
30881 fi
30882 rm -f conftest.err conftest.$ac_objext \
30883       conftest$ac_exeext conftest.$ac_ext
30884 LIBS=$ac_check_lib_save_LIBS
30885 fi
30886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30887 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30888 if test $ac_cv_lib_m_erfcl = yes; then
30889
30890 cat >>confdefs.h <<\_ACEOF
30891 #define HAVE_ERFCL 1
30892 _ACEOF
30893
30894 fi
30895
30896 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30897 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30898 if test "${ac_cv_lib_m_j0f+set}" = set; then
30899   echo $ECHO_N "(cached) $ECHO_C" >&6
30900 else
30901   ac_check_lib_save_LIBS=$LIBS
30902 LIBS="-lm  $LIBS"
30903 if test x$gcc_no_link = xyes; then
30904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30906    { (exit 1); exit 1; }; }
30907 fi
30908 cat >conftest.$ac_ext <<_ACEOF
30909 /* confdefs.h.  */
30910 _ACEOF
30911 cat confdefs.h >>conftest.$ac_ext
30912 cat >>conftest.$ac_ext <<_ACEOF
30913 /* end confdefs.h.  */
30914
30915 /* Override any gcc2 internal prototype to avoid an error.  */
30916 #ifdef __cplusplus
30917 extern "C"
30918 #endif
30919 /* We use char because int might match the return type of a gcc2
30920    builtin and then its argument prototype would still apply.  */
30921 char j0f ();
30922 int
30923 main ()
30924 {
30925 j0f ();
30926   ;
30927   return 0;
30928 }
30929 _ACEOF
30930 rm -f conftest.$ac_objext conftest$ac_exeext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30932   (eval $ac_link) 2>conftest.er1
30933   ac_status=$?
30934   grep -v '^ *+' conftest.er1 >conftest.err
30935   rm -f conftest.er1
30936   cat conftest.err >&5
30937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938   (exit $ac_status); } &&
30939          { ac_try='test -z "$ac_c_werror_flag"
30940                          || test ! -s conftest.err'
30941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942   (eval $ac_try) 2>&5
30943   ac_status=$?
30944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945   (exit $ac_status); }; } &&
30946          { ac_try='test -s conftest$ac_exeext'
30947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948   (eval $ac_try) 2>&5
30949   ac_status=$?
30950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951   (exit $ac_status); }; }; then
30952   ac_cv_lib_m_j0f=yes
30953 else
30954   echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30956
30957 ac_cv_lib_m_j0f=no
30958 fi
30959 rm -f conftest.err conftest.$ac_objext \
30960       conftest$ac_exeext conftest.$ac_ext
30961 LIBS=$ac_check_lib_save_LIBS
30962 fi
30963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30964 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30965 if test $ac_cv_lib_m_j0f = yes; then
30966
30967 cat >>confdefs.h <<\_ACEOF
30968 #define HAVE_J0F 1
30969 _ACEOF
30970
30971 fi
30972
30973 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30974 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30975 if test "${ac_cv_lib_m_j0+set}" = set; then
30976   echo $ECHO_N "(cached) $ECHO_C" >&6
30977 else
30978   ac_check_lib_save_LIBS=$LIBS
30979 LIBS="-lm  $LIBS"
30980 if test x$gcc_no_link = xyes; then
30981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30983    { (exit 1); exit 1; }; }
30984 fi
30985 cat >conftest.$ac_ext <<_ACEOF
30986 /* confdefs.h.  */
30987 _ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h.  */
30991
30992 /* Override any gcc2 internal prototype to avoid an error.  */
30993 #ifdef __cplusplus
30994 extern "C"
30995 #endif
30996 /* We use char because int might match the return type of a gcc2
30997    builtin and then its argument prototype would still apply.  */
30998 char j0 ();
30999 int
31000 main ()
31001 {
31002 j0 ();
31003   ;
31004   return 0;
31005 }
31006 _ACEOF
31007 rm -f conftest.$ac_objext conftest$ac_exeext
31008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31009   (eval $ac_link) 2>conftest.er1
31010   ac_status=$?
31011   grep -v '^ *+' conftest.er1 >conftest.err
31012   rm -f conftest.er1
31013   cat conftest.err >&5
31014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015   (exit $ac_status); } &&
31016          { ac_try='test -z "$ac_c_werror_flag"
31017                          || test ! -s conftest.err'
31018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31019   (eval $ac_try) 2>&5
31020   ac_status=$?
31021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022   (exit $ac_status); }; } &&
31023          { ac_try='test -s conftest$ac_exeext'
31024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31025   (eval $ac_try) 2>&5
31026   ac_status=$?
31027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028   (exit $ac_status); }; }; then
31029   ac_cv_lib_m_j0=yes
31030 else
31031   echo "$as_me: failed program was:" >&5
31032 sed 's/^/| /' conftest.$ac_ext >&5
31033
31034 ac_cv_lib_m_j0=no
31035 fi
31036 rm -f conftest.err conftest.$ac_objext \
31037       conftest$ac_exeext conftest.$ac_ext
31038 LIBS=$ac_check_lib_save_LIBS
31039 fi
31040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31041 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31042 if test $ac_cv_lib_m_j0 = yes; then
31043
31044 cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_J0 1
31046 _ACEOF
31047
31048 fi
31049
31050 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31051 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31052 if test "${ac_cv_lib_m_j0l+set}" = set; then
31053   echo $ECHO_N "(cached) $ECHO_C" >&6
31054 else
31055   ac_check_lib_save_LIBS=$LIBS
31056 LIBS="-lm  $LIBS"
31057 if test x$gcc_no_link = xyes; then
31058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31060    { (exit 1); exit 1; }; }
31061 fi
31062 cat >conftest.$ac_ext <<_ACEOF
31063 /* confdefs.h.  */
31064 _ACEOF
31065 cat confdefs.h >>conftest.$ac_ext
31066 cat >>conftest.$ac_ext <<_ACEOF
31067 /* end confdefs.h.  */
31068
31069 /* Override any gcc2 internal prototype to avoid an error.  */
31070 #ifdef __cplusplus
31071 extern "C"
31072 #endif
31073 /* We use char because int might match the return type of a gcc2
31074    builtin and then its argument prototype would still apply.  */
31075 char j0l ();
31076 int
31077 main ()
31078 {
31079 j0l ();
31080   ;
31081   return 0;
31082 }
31083 _ACEOF
31084 rm -f conftest.$ac_objext conftest$ac_exeext
31085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31086   (eval $ac_link) 2>conftest.er1
31087   ac_status=$?
31088   grep -v '^ *+' conftest.er1 >conftest.err
31089   rm -f conftest.er1
31090   cat conftest.err >&5
31091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092   (exit $ac_status); } &&
31093          { ac_try='test -z "$ac_c_werror_flag"
31094                          || test ! -s conftest.err'
31095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096   (eval $ac_try) 2>&5
31097   ac_status=$?
31098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099   (exit $ac_status); }; } &&
31100          { ac_try='test -s conftest$ac_exeext'
31101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102   (eval $ac_try) 2>&5
31103   ac_status=$?
31104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105   (exit $ac_status); }; }; then
31106   ac_cv_lib_m_j0l=yes
31107 else
31108   echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31110
31111 ac_cv_lib_m_j0l=no
31112 fi
31113 rm -f conftest.err conftest.$ac_objext \
31114       conftest$ac_exeext conftest.$ac_ext
31115 LIBS=$ac_check_lib_save_LIBS
31116 fi
31117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31118 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31119 if test $ac_cv_lib_m_j0l = yes; then
31120
31121 cat >>confdefs.h <<\_ACEOF
31122 #define HAVE_J0L 1
31123 _ACEOF
31124
31125 fi
31126
31127 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31128 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31129 if test "${ac_cv_lib_m_j1f+set}" = set; then
31130   echo $ECHO_N "(cached) $ECHO_C" >&6
31131 else
31132   ac_check_lib_save_LIBS=$LIBS
31133 LIBS="-lm  $LIBS"
31134 if test x$gcc_no_link = xyes; then
31135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31137    { (exit 1); exit 1; }; }
31138 fi
31139 cat >conftest.$ac_ext <<_ACEOF
31140 /* confdefs.h.  */
31141 _ACEOF
31142 cat confdefs.h >>conftest.$ac_ext
31143 cat >>conftest.$ac_ext <<_ACEOF
31144 /* end confdefs.h.  */
31145
31146 /* Override any gcc2 internal prototype to avoid an error.  */
31147 #ifdef __cplusplus
31148 extern "C"
31149 #endif
31150 /* We use char because int might match the return type of a gcc2
31151    builtin and then its argument prototype would still apply.  */
31152 char j1f ();
31153 int
31154 main ()
31155 {
31156 j1f ();
31157   ;
31158   return 0;
31159 }
31160 _ACEOF
31161 rm -f conftest.$ac_objext conftest$ac_exeext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31163   (eval $ac_link) 2>conftest.er1
31164   ac_status=$?
31165   grep -v '^ *+' conftest.er1 >conftest.err
31166   rm -f conftest.er1
31167   cat conftest.err >&5
31168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169   (exit $ac_status); } &&
31170          { ac_try='test -z "$ac_c_werror_flag"
31171                          || test ! -s conftest.err'
31172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173   (eval $ac_try) 2>&5
31174   ac_status=$?
31175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176   (exit $ac_status); }; } &&
31177          { ac_try='test -s conftest$ac_exeext'
31178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179   (eval $ac_try) 2>&5
31180   ac_status=$?
31181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182   (exit $ac_status); }; }; then
31183   ac_cv_lib_m_j1f=yes
31184 else
31185   echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31187
31188 ac_cv_lib_m_j1f=no
31189 fi
31190 rm -f conftest.err conftest.$ac_objext \
31191       conftest$ac_exeext conftest.$ac_ext
31192 LIBS=$ac_check_lib_save_LIBS
31193 fi
31194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31195 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31196 if test $ac_cv_lib_m_j1f = yes; then
31197
31198 cat >>confdefs.h <<\_ACEOF
31199 #define HAVE_J1F 1
31200 _ACEOF
31201
31202 fi
31203
31204 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31205 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31206 if test "${ac_cv_lib_m_j1+set}" = set; then
31207   echo $ECHO_N "(cached) $ECHO_C" >&6
31208 else
31209   ac_check_lib_save_LIBS=$LIBS
31210 LIBS="-lm  $LIBS"
31211 if test x$gcc_no_link = xyes; then
31212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31214    { (exit 1); exit 1; }; }
31215 fi
31216 cat >conftest.$ac_ext <<_ACEOF
31217 /* confdefs.h.  */
31218 _ACEOF
31219 cat confdefs.h >>conftest.$ac_ext
31220 cat >>conftest.$ac_ext <<_ACEOF
31221 /* end confdefs.h.  */
31222
31223 /* Override any gcc2 internal prototype to avoid an error.  */
31224 #ifdef __cplusplus
31225 extern "C"
31226 #endif
31227 /* We use char because int might match the return type of a gcc2
31228    builtin and then its argument prototype would still apply.  */
31229 char j1 ();
31230 int
31231 main ()
31232 {
31233 j1 ();
31234   ;
31235   return 0;
31236 }
31237 _ACEOF
31238 rm -f conftest.$ac_objext conftest$ac_exeext
31239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31240   (eval $ac_link) 2>conftest.er1
31241   ac_status=$?
31242   grep -v '^ *+' conftest.er1 >conftest.err
31243   rm -f conftest.er1
31244   cat conftest.err >&5
31245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246   (exit $ac_status); } &&
31247          { ac_try='test -z "$ac_c_werror_flag"
31248                          || test ! -s conftest.err'
31249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250   (eval $ac_try) 2>&5
31251   ac_status=$?
31252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253   (exit $ac_status); }; } &&
31254          { ac_try='test -s conftest$ac_exeext'
31255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256   (eval $ac_try) 2>&5
31257   ac_status=$?
31258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259   (exit $ac_status); }; }; then
31260   ac_cv_lib_m_j1=yes
31261 else
31262   echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 ac_cv_lib_m_j1=no
31266 fi
31267 rm -f conftest.err conftest.$ac_objext \
31268       conftest$ac_exeext conftest.$ac_ext
31269 LIBS=$ac_check_lib_save_LIBS
31270 fi
31271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31272 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31273 if test $ac_cv_lib_m_j1 = yes; then
31274
31275 cat >>confdefs.h <<\_ACEOF
31276 #define HAVE_J1 1
31277 _ACEOF
31278
31279 fi
31280
31281 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31282 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31283 if test "${ac_cv_lib_m_j1l+set}" = set; then
31284   echo $ECHO_N "(cached) $ECHO_C" >&6
31285 else
31286   ac_check_lib_save_LIBS=$LIBS
31287 LIBS="-lm  $LIBS"
31288 if test x$gcc_no_link = xyes; then
31289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31291    { (exit 1); exit 1; }; }
31292 fi
31293 cat >conftest.$ac_ext <<_ACEOF
31294 /* confdefs.h.  */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h.  */
31299
31300 /* Override any gcc2 internal prototype to avoid an error.  */
31301 #ifdef __cplusplus
31302 extern "C"
31303 #endif
31304 /* We use char because int might match the return type of a gcc2
31305    builtin and then its argument prototype would still apply.  */
31306 char j1l ();
31307 int
31308 main ()
31309 {
31310 j1l ();
31311   ;
31312   return 0;
31313 }
31314 _ACEOF
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317   (eval $ac_link) 2>conftest.er1
31318   ac_status=$?
31319   grep -v '^ *+' conftest.er1 >conftest.err
31320   rm -f conftest.er1
31321   cat conftest.err >&5
31322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323   (exit $ac_status); } &&
31324          { ac_try='test -z "$ac_c_werror_flag"
31325                          || test ! -s conftest.err'
31326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327   (eval $ac_try) 2>&5
31328   ac_status=$?
31329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330   (exit $ac_status); }; } &&
31331          { ac_try='test -s conftest$ac_exeext'
31332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333   (eval $ac_try) 2>&5
31334   ac_status=$?
31335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336   (exit $ac_status); }; }; then
31337   ac_cv_lib_m_j1l=yes
31338 else
31339   echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31341
31342 ac_cv_lib_m_j1l=no
31343 fi
31344 rm -f conftest.err conftest.$ac_objext \
31345       conftest$ac_exeext conftest.$ac_ext
31346 LIBS=$ac_check_lib_save_LIBS
31347 fi
31348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31349 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31350 if test $ac_cv_lib_m_j1l = yes; then
31351
31352 cat >>confdefs.h <<\_ACEOF
31353 #define HAVE_J1L 1
31354 _ACEOF
31355
31356 fi
31357
31358 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31359 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31360 if test "${ac_cv_lib_m_jnf+set}" = set; then
31361   echo $ECHO_N "(cached) $ECHO_C" >&6
31362 else
31363   ac_check_lib_save_LIBS=$LIBS
31364 LIBS="-lm  $LIBS"
31365 if test x$gcc_no_link = xyes; then
31366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31368    { (exit 1); exit 1; }; }
31369 fi
31370 cat >conftest.$ac_ext <<_ACEOF
31371 /* confdefs.h.  */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h.  */
31376
31377 /* Override any gcc2 internal prototype to avoid an error.  */
31378 #ifdef __cplusplus
31379 extern "C"
31380 #endif
31381 /* We use char because int might match the return type of a gcc2
31382    builtin and then its argument prototype would still apply.  */
31383 char jnf ();
31384 int
31385 main ()
31386 {
31387 jnf ();
31388   ;
31389   return 0;
31390 }
31391 _ACEOF
31392 rm -f conftest.$ac_objext conftest$ac_exeext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31394   (eval $ac_link) 2>conftest.er1
31395   ac_status=$?
31396   grep -v '^ *+' conftest.er1 >conftest.err
31397   rm -f conftest.er1
31398   cat conftest.err >&5
31399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400   (exit $ac_status); } &&
31401          { ac_try='test -z "$ac_c_werror_flag"
31402                          || test ! -s conftest.err'
31403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31404   (eval $ac_try) 2>&5
31405   ac_status=$?
31406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407   (exit $ac_status); }; } &&
31408          { ac_try='test -s conftest$ac_exeext'
31409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410   (eval $ac_try) 2>&5
31411   ac_status=$?
31412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413   (exit $ac_status); }; }; then
31414   ac_cv_lib_m_jnf=yes
31415 else
31416   echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419 ac_cv_lib_m_jnf=no
31420 fi
31421 rm -f conftest.err conftest.$ac_objext \
31422       conftest$ac_exeext conftest.$ac_ext
31423 LIBS=$ac_check_lib_save_LIBS
31424 fi
31425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31426 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31427 if test $ac_cv_lib_m_jnf = yes; then
31428
31429 cat >>confdefs.h <<\_ACEOF
31430 #define HAVE_JNF 1
31431 _ACEOF
31432
31433 fi
31434
31435 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31436 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31437 if test "${ac_cv_lib_m_jn+set}" = set; then
31438   echo $ECHO_N "(cached) $ECHO_C" >&6
31439 else
31440   ac_check_lib_save_LIBS=$LIBS
31441 LIBS="-lm  $LIBS"
31442 if test x$gcc_no_link = xyes; then
31443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31445    { (exit 1); exit 1; }; }
31446 fi
31447 cat >conftest.$ac_ext <<_ACEOF
31448 /* confdefs.h.  */
31449 _ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h.  */
31453
31454 /* Override any gcc2 internal prototype to avoid an error.  */
31455 #ifdef __cplusplus
31456 extern "C"
31457 #endif
31458 /* We use char because int might match the return type of a gcc2
31459    builtin and then its argument prototype would still apply.  */
31460 char jn ();
31461 int
31462 main ()
31463 {
31464 jn ();
31465   ;
31466   return 0;
31467 }
31468 _ACEOF
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31471   (eval $ac_link) 2>conftest.er1
31472   ac_status=$?
31473   grep -v '^ *+' conftest.er1 >conftest.err
31474   rm -f conftest.er1
31475   cat conftest.err >&5
31476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477   (exit $ac_status); } &&
31478          { ac_try='test -z "$ac_c_werror_flag"
31479                          || test ! -s conftest.err'
31480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481   (eval $ac_try) 2>&5
31482   ac_status=$?
31483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484   (exit $ac_status); }; } &&
31485          { ac_try='test -s conftest$ac_exeext'
31486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487   (eval $ac_try) 2>&5
31488   ac_status=$?
31489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490   (exit $ac_status); }; }; then
31491   ac_cv_lib_m_jn=yes
31492 else
31493   echo "$as_me: failed program was:" >&5
31494 sed 's/^/| /' conftest.$ac_ext >&5
31495
31496 ac_cv_lib_m_jn=no
31497 fi
31498 rm -f conftest.err conftest.$ac_objext \
31499       conftest$ac_exeext conftest.$ac_ext
31500 LIBS=$ac_check_lib_save_LIBS
31501 fi
31502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31503 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31504 if test $ac_cv_lib_m_jn = yes; then
31505
31506 cat >>confdefs.h <<\_ACEOF
31507 #define HAVE_JN 1
31508 _ACEOF
31509
31510 fi
31511
31512 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31513 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31514 if test "${ac_cv_lib_m_jnl+set}" = set; then
31515   echo $ECHO_N "(cached) $ECHO_C" >&6
31516 else
31517   ac_check_lib_save_LIBS=$LIBS
31518 LIBS="-lm  $LIBS"
31519 if test x$gcc_no_link = xyes; then
31520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31522    { (exit 1); exit 1; }; }
31523 fi
31524 cat >conftest.$ac_ext <<_ACEOF
31525 /* confdefs.h.  */
31526 _ACEOF
31527 cat confdefs.h >>conftest.$ac_ext
31528 cat >>conftest.$ac_ext <<_ACEOF
31529 /* end confdefs.h.  */
31530
31531 /* Override any gcc2 internal prototype to avoid an error.  */
31532 #ifdef __cplusplus
31533 extern "C"
31534 #endif
31535 /* We use char because int might match the return type of a gcc2
31536    builtin and then its argument prototype would still apply.  */
31537 char jnl ();
31538 int
31539 main ()
31540 {
31541 jnl ();
31542   ;
31543   return 0;
31544 }
31545 _ACEOF
31546 rm -f conftest.$ac_objext conftest$ac_exeext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31548   (eval $ac_link) 2>conftest.er1
31549   ac_status=$?
31550   grep -v '^ *+' conftest.er1 >conftest.err
31551   rm -f conftest.er1
31552   cat conftest.err >&5
31553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554   (exit $ac_status); } &&
31555          { ac_try='test -z "$ac_c_werror_flag"
31556                          || test ! -s conftest.err'
31557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558   (eval $ac_try) 2>&5
31559   ac_status=$?
31560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561   (exit $ac_status); }; } &&
31562          { ac_try='test -s conftest$ac_exeext'
31563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564   (eval $ac_try) 2>&5
31565   ac_status=$?
31566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567   (exit $ac_status); }; }; then
31568   ac_cv_lib_m_jnl=yes
31569 else
31570   echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 ac_cv_lib_m_jnl=no
31574 fi
31575 rm -f conftest.err conftest.$ac_objext \
31576       conftest$ac_exeext conftest.$ac_ext
31577 LIBS=$ac_check_lib_save_LIBS
31578 fi
31579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31580 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31581 if test $ac_cv_lib_m_jnl = yes; then
31582
31583 cat >>confdefs.h <<\_ACEOF
31584 #define HAVE_JNL 1
31585 _ACEOF
31586
31587 fi
31588
31589 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31590 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31591 if test "${ac_cv_lib_m_y0f+set}" = set; then
31592   echo $ECHO_N "(cached) $ECHO_C" >&6
31593 else
31594   ac_check_lib_save_LIBS=$LIBS
31595 LIBS="-lm  $LIBS"
31596 if test x$gcc_no_link = xyes; then
31597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31599    { (exit 1); exit 1; }; }
31600 fi
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h.  */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h.  */
31607
31608 /* Override any gcc2 internal prototype to avoid an error.  */
31609 #ifdef __cplusplus
31610 extern "C"
31611 #endif
31612 /* We use char because int might match the return type of a gcc2
31613    builtin and then its argument prototype would still apply.  */
31614 char y0f ();
31615 int
31616 main ()
31617 {
31618 y0f ();
31619   ;
31620   return 0;
31621 }
31622 _ACEOF
31623 rm -f conftest.$ac_objext conftest$ac_exeext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31625   (eval $ac_link) 2>conftest.er1
31626   ac_status=$?
31627   grep -v '^ *+' conftest.er1 >conftest.err
31628   rm -f conftest.er1
31629   cat conftest.err >&5
31630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631   (exit $ac_status); } &&
31632          { ac_try='test -z "$ac_c_werror_flag"
31633                          || test ! -s conftest.err'
31634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635   (eval $ac_try) 2>&5
31636   ac_status=$?
31637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638   (exit $ac_status); }; } &&
31639          { ac_try='test -s conftest$ac_exeext'
31640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641   (eval $ac_try) 2>&5
31642   ac_status=$?
31643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644   (exit $ac_status); }; }; then
31645   ac_cv_lib_m_y0f=yes
31646 else
31647   echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31649
31650 ac_cv_lib_m_y0f=no
31651 fi
31652 rm -f conftest.err conftest.$ac_objext \
31653       conftest$ac_exeext conftest.$ac_ext
31654 LIBS=$ac_check_lib_save_LIBS
31655 fi
31656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31657 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31658 if test $ac_cv_lib_m_y0f = yes; then
31659
31660 cat >>confdefs.h <<\_ACEOF
31661 #define HAVE_Y0F 1
31662 _ACEOF
31663
31664 fi
31665
31666 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31667 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31668 if test "${ac_cv_lib_m_y0+set}" = set; then
31669   echo $ECHO_N "(cached) $ECHO_C" >&6
31670 else
31671   ac_check_lib_save_LIBS=$LIBS
31672 LIBS="-lm  $LIBS"
31673 if test x$gcc_no_link = xyes; then
31674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31676    { (exit 1); exit 1; }; }
31677 fi
31678 cat >conftest.$ac_ext <<_ACEOF
31679 /* confdefs.h.  */
31680 _ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h.  */
31684
31685 /* Override any gcc2 internal prototype to avoid an error.  */
31686 #ifdef __cplusplus
31687 extern "C"
31688 #endif
31689 /* We use char because int might match the return type of a gcc2
31690    builtin and then its argument prototype would still apply.  */
31691 char y0 ();
31692 int
31693 main ()
31694 {
31695 y0 ();
31696   ;
31697   return 0;
31698 }
31699 _ACEOF
31700 rm -f conftest.$ac_objext conftest$ac_exeext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31702   (eval $ac_link) 2>conftest.er1
31703   ac_status=$?
31704   grep -v '^ *+' conftest.er1 >conftest.err
31705   rm -f conftest.er1
31706   cat conftest.err >&5
31707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708   (exit $ac_status); } &&
31709          { ac_try='test -z "$ac_c_werror_flag"
31710                          || test ! -s conftest.err'
31711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712   (eval $ac_try) 2>&5
31713   ac_status=$?
31714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715   (exit $ac_status); }; } &&
31716          { ac_try='test -s conftest$ac_exeext'
31717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718   (eval $ac_try) 2>&5
31719   ac_status=$?
31720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721   (exit $ac_status); }; }; then
31722   ac_cv_lib_m_y0=yes
31723 else
31724   echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.$ac_ext >&5
31726
31727 ac_cv_lib_m_y0=no
31728 fi
31729 rm -f conftest.err conftest.$ac_objext \
31730       conftest$ac_exeext conftest.$ac_ext
31731 LIBS=$ac_check_lib_save_LIBS
31732 fi
31733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31734 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31735 if test $ac_cv_lib_m_y0 = yes; then
31736
31737 cat >>confdefs.h <<\_ACEOF
31738 #define HAVE_Y0 1
31739 _ACEOF
31740
31741 fi
31742
31743 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31744 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31745 if test "${ac_cv_lib_m_y0l+set}" = set; then
31746   echo $ECHO_N "(cached) $ECHO_C" >&6
31747 else
31748   ac_check_lib_save_LIBS=$LIBS
31749 LIBS="-lm  $LIBS"
31750 if test x$gcc_no_link = xyes; then
31751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31753    { (exit 1); exit 1; }; }
31754 fi
31755 cat >conftest.$ac_ext <<_ACEOF
31756 /* confdefs.h.  */
31757 _ACEOF
31758 cat confdefs.h >>conftest.$ac_ext
31759 cat >>conftest.$ac_ext <<_ACEOF
31760 /* end confdefs.h.  */
31761
31762 /* Override any gcc2 internal prototype to avoid an error.  */
31763 #ifdef __cplusplus
31764 extern "C"
31765 #endif
31766 /* We use char because int might match the return type of a gcc2
31767    builtin and then its argument prototype would still apply.  */
31768 char y0l ();
31769 int
31770 main ()
31771 {
31772 y0l ();
31773   ;
31774   return 0;
31775 }
31776 _ACEOF
31777 rm -f conftest.$ac_objext conftest$ac_exeext
31778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31779   (eval $ac_link) 2>conftest.er1
31780   ac_status=$?
31781   grep -v '^ *+' conftest.er1 >conftest.err
31782   rm -f conftest.er1
31783   cat conftest.err >&5
31784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785   (exit $ac_status); } &&
31786          { ac_try='test -z "$ac_c_werror_flag"
31787                          || test ! -s conftest.err'
31788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789   (eval $ac_try) 2>&5
31790   ac_status=$?
31791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792   (exit $ac_status); }; } &&
31793          { ac_try='test -s conftest$ac_exeext'
31794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795   (eval $ac_try) 2>&5
31796   ac_status=$?
31797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798   (exit $ac_status); }; }; then
31799   ac_cv_lib_m_y0l=yes
31800 else
31801   echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31803
31804 ac_cv_lib_m_y0l=no
31805 fi
31806 rm -f conftest.err conftest.$ac_objext \
31807       conftest$ac_exeext conftest.$ac_ext
31808 LIBS=$ac_check_lib_save_LIBS
31809 fi
31810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31811 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31812 if test $ac_cv_lib_m_y0l = yes; then
31813
31814 cat >>confdefs.h <<\_ACEOF
31815 #define HAVE_Y0L 1
31816 _ACEOF
31817
31818 fi
31819
31820 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31821 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31822 if test "${ac_cv_lib_m_y1f+set}" = set; then
31823   echo $ECHO_N "(cached) $ECHO_C" >&6
31824 else
31825   ac_check_lib_save_LIBS=$LIBS
31826 LIBS="-lm  $LIBS"
31827 if test x$gcc_no_link = xyes; then
31828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31830    { (exit 1); exit 1; }; }
31831 fi
31832 cat >conftest.$ac_ext <<_ACEOF
31833 /* confdefs.h.  */
31834 _ACEOF
31835 cat confdefs.h >>conftest.$ac_ext
31836 cat >>conftest.$ac_ext <<_ACEOF
31837 /* end confdefs.h.  */
31838
31839 /* Override any gcc2 internal prototype to avoid an error.  */
31840 #ifdef __cplusplus
31841 extern "C"
31842 #endif
31843 /* We use char because int might match the return type of a gcc2
31844    builtin and then its argument prototype would still apply.  */
31845 char y1f ();
31846 int
31847 main ()
31848 {
31849 y1f ();
31850   ;
31851   return 0;
31852 }
31853 _ACEOF
31854 rm -f conftest.$ac_objext conftest$ac_exeext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31856   (eval $ac_link) 2>conftest.er1
31857   ac_status=$?
31858   grep -v '^ *+' conftest.er1 >conftest.err
31859   rm -f conftest.er1
31860   cat conftest.err >&5
31861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862   (exit $ac_status); } &&
31863          { ac_try='test -z "$ac_c_werror_flag"
31864                          || test ! -s conftest.err'
31865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866   (eval $ac_try) 2>&5
31867   ac_status=$?
31868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869   (exit $ac_status); }; } &&
31870          { ac_try='test -s conftest$ac_exeext'
31871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872   (eval $ac_try) 2>&5
31873   ac_status=$?
31874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875   (exit $ac_status); }; }; then
31876   ac_cv_lib_m_y1f=yes
31877 else
31878   echo "$as_me: failed program was:" >&5
31879 sed 's/^/| /' conftest.$ac_ext >&5
31880
31881 ac_cv_lib_m_y1f=no
31882 fi
31883 rm -f conftest.err conftest.$ac_objext \
31884       conftest$ac_exeext conftest.$ac_ext
31885 LIBS=$ac_check_lib_save_LIBS
31886 fi
31887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31888 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31889 if test $ac_cv_lib_m_y1f = yes; then
31890
31891 cat >>confdefs.h <<\_ACEOF
31892 #define HAVE_Y1F 1
31893 _ACEOF
31894
31895 fi
31896
31897 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31898 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31899 if test "${ac_cv_lib_m_y1+set}" = set; then
31900   echo $ECHO_N "(cached) $ECHO_C" >&6
31901 else
31902   ac_check_lib_save_LIBS=$LIBS
31903 LIBS="-lm  $LIBS"
31904 if test x$gcc_no_link = xyes; then
31905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31907    { (exit 1); exit 1; }; }
31908 fi
31909 cat >conftest.$ac_ext <<_ACEOF
31910 /* confdefs.h.  */
31911 _ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h.  */
31915
31916 /* Override any gcc2 internal prototype to avoid an error.  */
31917 #ifdef __cplusplus
31918 extern "C"
31919 #endif
31920 /* We use char because int might match the return type of a gcc2
31921    builtin and then its argument prototype would still apply.  */
31922 char y1 ();
31923 int
31924 main ()
31925 {
31926 y1 ();
31927   ;
31928   return 0;
31929 }
31930 _ACEOF
31931 rm -f conftest.$ac_objext conftest$ac_exeext
31932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31933   (eval $ac_link) 2>conftest.er1
31934   ac_status=$?
31935   grep -v '^ *+' conftest.er1 >conftest.err
31936   rm -f conftest.er1
31937   cat conftest.err >&5
31938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939   (exit $ac_status); } &&
31940          { ac_try='test -z "$ac_c_werror_flag"
31941                          || test ! -s conftest.err'
31942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943   (eval $ac_try) 2>&5
31944   ac_status=$?
31945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946   (exit $ac_status); }; } &&
31947          { ac_try='test -s conftest$ac_exeext'
31948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949   (eval $ac_try) 2>&5
31950   ac_status=$?
31951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952   (exit $ac_status); }; }; then
31953   ac_cv_lib_m_y1=yes
31954 else
31955   echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.$ac_ext >&5
31957
31958 ac_cv_lib_m_y1=no
31959 fi
31960 rm -f conftest.err conftest.$ac_objext \
31961       conftest$ac_exeext conftest.$ac_ext
31962 LIBS=$ac_check_lib_save_LIBS
31963 fi
31964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31965 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31966 if test $ac_cv_lib_m_y1 = yes; then
31967
31968 cat >>confdefs.h <<\_ACEOF
31969 #define HAVE_Y1 1
31970 _ACEOF
31971
31972 fi
31973
31974 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31975 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31976 if test "${ac_cv_lib_m_y1l+set}" = set; then
31977   echo $ECHO_N "(cached) $ECHO_C" >&6
31978 else
31979   ac_check_lib_save_LIBS=$LIBS
31980 LIBS="-lm  $LIBS"
31981 if test x$gcc_no_link = xyes; then
31982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31984    { (exit 1); exit 1; }; }
31985 fi
31986 cat >conftest.$ac_ext <<_ACEOF
31987 /* confdefs.h.  */
31988 _ACEOF
31989 cat confdefs.h >>conftest.$ac_ext
31990 cat >>conftest.$ac_ext <<_ACEOF
31991 /* end confdefs.h.  */
31992
31993 /* Override any gcc2 internal prototype to avoid an error.  */
31994 #ifdef __cplusplus
31995 extern "C"
31996 #endif
31997 /* We use char because int might match the return type of a gcc2
31998    builtin and then its argument prototype would still apply.  */
31999 char y1l ();
32000 int
32001 main ()
32002 {
32003 y1l ();
32004   ;
32005   return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010   (eval $ac_link) 2>conftest.er1
32011   ac_status=$?
32012   grep -v '^ *+' conftest.er1 >conftest.err
32013   rm -f conftest.er1
32014   cat conftest.err >&5
32015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016   (exit $ac_status); } &&
32017          { ac_try='test -z "$ac_c_werror_flag"
32018                          || test ! -s conftest.err'
32019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020   (eval $ac_try) 2>&5
32021   ac_status=$?
32022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023   (exit $ac_status); }; } &&
32024          { ac_try='test -s conftest$ac_exeext'
32025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026   (eval $ac_try) 2>&5
32027   ac_status=$?
32028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029   (exit $ac_status); }; }; then
32030   ac_cv_lib_m_y1l=yes
32031 else
32032   echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32034
32035 ac_cv_lib_m_y1l=no
32036 fi
32037 rm -f conftest.err conftest.$ac_objext \
32038       conftest$ac_exeext conftest.$ac_ext
32039 LIBS=$ac_check_lib_save_LIBS
32040 fi
32041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32042 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32043 if test $ac_cv_lib_m_y1l = yes; then
32044
32045 cat >>confdefs.h <<\_ACEOF
32046 #define HAVE_Y1L 1
32047 _ACEOF
32048
32049 fi
32050
32051 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32052 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32053 if test "${ac_cv_lib_m_ynf+set}" = set; then
32054   echo $ECHO_N "(cached) $ECHO_C" >&6
32055 else
32056   ac_check_lib_save_LIBS=$LIBS
32057 LIBS="-lm  $LIBS"
32058 if test x$gcc_no_link = xyes; then
32059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32061    { (exit 1); exit 1; }; }
32062 fi
32063 cat >conftest.$ac_ext <<_ACEOF
32064 /* confdefs.h.  */
32065 _ACEOF
32066 cat confdefs.h >>conftest.$ac_ext
32067 cat >>conftest.$ac_ext <<_ACEOF
32068 /* end confdefs.h.  */
32069
32070 /* Override any gcc2 internal prototype to avoid an error.  */
32071 #ifdef __cplusplus
32072 extern "C"
32073 #endif
32074 /* We use char because int might match the return type of a gcc2
32075    builtin and then its argument prototype would still apply.  */
32076 char ynf ();
32077 int
32078 main ()
32079 {
32080 ynf ();
32081   ;
32082   return 0;
32083 }
32084 _ACEOF
32085 rm -f conftest.$ac_objext conftest$ac_exeext
32086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32087   (eval $ac_link) 2>conftest.er1
32088   ac_status=$?
32089   grep -v '^ *+' conftest.er1 >conftest.err
32090   rm -f conftest.er1
32091   cat conftest.err >&5
32092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093   (exit $ac_status); } &&
32094          { ac_try='test -z "$ac_c_werror_flag"
32095                          || test ! -s conftest.err'
32096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097   (eval $ac_try) 2>&5
32098   ac_status=$?
32099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100   (exit $ac_status); }; } &&
32101          { ac_try='test -s conftest$ac_exeext'
32102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103   (eval $ac_try) 2>&5
32104   ac_status=$?
32105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106   (exit $ac_status); }; }; then
32107   ac_cv_lib_m_ynf=yes
32108 else
32109   echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32111
32112 ac_cv_lib_m_ynf=no
32113 fi
32114 rm -f conftest.err conftest.$ac_objext \
32115       conftest$ac_exeext conftest.$ac_ext
32116 LIBS=$ac_check_lib_save_LIBS
32117 fi
32118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32119 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32120 if test $ac_cv_lib_m_ynf = yes; then
32121
32122 cat >>confdefs.h <<\_ACEOF
32123 #define HAVE_YNF 1
32124 _ACEOF
32125
32126 fi
32127
32128 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32129 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32130 if test "${ac_cv_lib_m_yn+set}" = set; then
32131   echo $ECHO_N "(cached) $ECHO_C" >&6
32132 else
32133   ac_check_lib_save_LIBS=$LIBS
32134 LIBS="-lm  $LIBS"
32135 if test x$gcc_no_link = xyes; then
32136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32138    { (exit 1); exit 1; }; }
32139 fi
32140 cat >conftest.$ac_ext <<_ACEOF
32141 /* confdefs.h.  */
32142 _ACEOF
32143 cat confdefs.h >>conftest.$ac_ext
32144 cat >>conftest.$ac_ext <<_ACEOF
32145 /* end confdefs.h.  */
32146
32147 /* Override any gcc2 internal prototype to avoid an error.  */
32148 #ifdef __cplusplus
32149 extern "C"
32150 #endif
32151 /* We use char because int might match the return type of a gcc2
32152    builtin and then its argument prototype would still apply.  */
32153 char yn ();
32154 int
32155 main ()
32156 {
32157 yn ();
32158   ;
32159   return 0;
32160 }
32161 _ACEOF
32162 rm -f conftest.$ac_objext conftest$ac_exeext
32163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32164   (eval $ac_link) 2>conftest.er1
32165   ac_status=$?
32166   grep -v '^ *+' conftest.er1 >conftest.err
32167   rm -f conftest.er1
32168   cat conftest.err >&5
32169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170   (exit $ac_status); } &&
32171          { ac_try='test -z "$ac_c_werror_flag"
32172                          || test ! -s conftest.err'
32173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174   (eval $ac_try) 2>&5
32175   ac_status=$?
32176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177   (exit $ac_status); }; } &&
32178          { ac_try='test -s conftest$ac_exeext'
32179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180   (eval $ac_try) 2>&5
32181   ac_status=$?
32182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183   (exit $ac_status); }; }; then
32184   ac_cv_lib_m_yn=yes
32185 else
32186   echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.$ac_ext >&5
32188
32189 ac_cv_lib_m_yn=no
32190 fi
32191 rm -f conftest.err conftest.$ac_objext \
32192       conftest$ac_exeext conftest.$ac_ext
32193 LIBS=$ac_check_lib_save_LIBS
32194 fi
32195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32196 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32197 if test $ac_cv_lib_m_yn = yes; then
32198
32199 cat >>confdefs.h <<\_ACEOF
32200 #define HAVE_YN 1
32201 _ACEOF
32202
32203 fi
32204
32205 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32206 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32207 if test "${ac_cv_lib_m_ynl+set}" = set; then
32208   echo $ECHO_N "(cached) $ECHO_C" >&6
32209 else
32210   ac_check_lib_save_LIBS=$LIBS
32211 LIBS="-lm  $LIBS"
32212 if test x$gcc_no_link = xyes; then
32213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32215    { (exit 1); exit 1; }; }
32216 fi
32217 cat >conftest.$ac_ext <<_ACEOF
32218 /* confdefs.h.  */
32219 _ACEOF
32220 cat confdefs.h >>conftest.$ac_ext
32221 cat >>conftest.$ac_ext <<_ACEOF
32222 /* end confdefs.h.  */
32223
32224 /* Override any gcc2 internal prototype to avoid an error.  */
32225 #ifdef __cplusplus
32226 extern "C"
32227 #endif
32228 /* We use char because int might match the return type of a gcc2
32229    builtin and then its argument prototype would still apply.  */
32230 char ynl ();
32231 int
32232 main ()
32233 {
32234 ynl ();
32235   ;
32236   return 0;
32237 }
32238 _ACEOF
32239 rm -f conftest.$ac_objext conftest$ac_exeext
32240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32241   (eval $ac_link) 2>conftest.er1
32242   ac_status=$?
32243   grep -v '^ *+' conftest.er1 >conftest.err
32244   rm -f conftest.er1
32245   cat conftest.err >&5
32246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247   (exit $ac_status); } &&
32248          { ac_try='test -z "$ac_c_werror_flag"
32249                          || test ! -s conftest.err'
32250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32251   (eval $ac_try) 2>&5
32252   ac_status=$?
32253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254   (exit $ac_status); }; } &&
32255          { ac_try='test -s conftest$ac_exeext'
32256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257   (eval $ac_try) 2>&5
32258   ac_status=$?
32259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260   (exit $ac_status); }; }; then
32261   ac_cv_lib_m_ynl=yes
32262 else
32263   echo "$as_me: failed program was:" >&5
32264 sed 's/^/| /' conftest.$ac_ext >&5
32265
32266 ac_cv_lib_m_ynl=no
32267 fi
32268 rm -f conftest.err conftest.$ac_objext \
32269       conftest$ac_exeext conftest.$ac_ext
32270 LIBS=$ac_check_lib_save_LIBS
32271 fi
32272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32273 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32274 if test $ac_cv_lib_m_ynl = yes; then
32275
32276 cat >>confdefs.h <<\_ACEOF
32277 #define HAVE_YNL 1
32278 _ACEOF
32279
32280 fi
32281
32282 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32283 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32284 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32285   echo $ECHO_N "(cached) $ECHO_C" >&6
32286 else
32287   ac_check_lib_save_LIBS=$LIBS
32288 LIBS="-lm  $LIBS"
32289 if test x$gcc_no_link = xyes; then
32290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32292    { (exit 1); exit 1; }; }
32293 fi
32294 cat >conftest.$ac_ext <<_ACEOF
32295 /* confdefs.h.  */
32296 _ACEOF
32297 cat confdefs.h >>conftest.$ac_ext
32298 cat >>conftest.$ac_ext <<_ACEOF
32299 /* end confdefs.h.  */
32300
32301 /* Override any gcc2 internal prototype to avoid an error.  */
32302 #ifdef __cplusplus
32303 extern "C"
32304 #endif
32305 /* We use char because int might match the return type of a gcc2
32306    builtin and then its argument prototype would still apply.  */
32307 char tgamma ();
32308 int
32309 main ()
32310 {
32311 tgamma ();
32312   ;
32313   return 0;
32314 }
32315 _ACEOF
32316 rm -f conftest.$ac_objext conftest$ac_exeext
32317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32318   (eval $ac_link) 2>conftest.er1
32319   ac_status=$?
32320   grep -v '^ *+' conftest.er1 >conftest.err
32321   rm -f conftest.er1
32322   cat conftest.err >&5
32323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324   (exit $ac_status); } &&
32325          { ac_try='test -z "$ac_c_werror_flag"
32326                          || test ! -s conftest.err'
32327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328   (eval $ac_try) 2>&5
32329   ac_status=$?
32330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331   (exit $ac_status); }; } &&
32332          { ac_try='test -s conftest$ac_exeext'
32333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334   (eval $ac_try) 2>&5
32335   ac_status=$?
32336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337   (exit $ac_status); }; }; then
32338   ac_cv_lib_m_tgamma=yes
32339 else
32340   echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32342
32343 ac_cv_lib_m_tgamma=no
32344 fi
32345 rm -f conftest.err conftest.$ac_objext \
32346       conftest$ac_exeext conftest.$ac_ext
32347 LIBS=$ac_check_lib_save_LIBS
32348 fi
32349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32350 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32351 if test $ac_cv_lib_m_tgamma = yes; then
32352
32353 cat >>confdefs.h <<\_ACEOF
32354 #define HAVE_TGAMMA 1
32355 _ACEOF
32356
32357 fi
32358
32359 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32360 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32361 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32362   echo $ECHO_N "(cached) $ECHO_C" >&6
32363 else
32364   ac_check_lib_save_LIBS=$LIBS
32365 LIBS="-lm  $LIBS"
32366 if test x$gcc_no_link = xyes; then
32367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32369    { (exit 1); exit 1; }; }
32370 fi
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h.  */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h.  */
32377
32378 /* Override any gcc2 internal prototype to avoid an error.  */
32379 #ifdef __cplusplus
32380 extern "C"
32381 #endif
32382 /* We use char because int might match the return type of a gcc2
32383    builtin and then its argument prototype would still apply.  */
32384 char tgammaf ();
32385 int
32386 main ()
32387 {
32388 tgammaf ();
32389   ;
32390   return 0;
32391 }
32392 _ACEOF
32393 rm -f conftest.$ac_objext conftest$ac_exeext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32395   (eval $ac_link) 2>conftest.er1
32396   ac_status=$?
32397   grep -v '^ *+' conftest.er1 >conftest.err
32398   rm -f conftest.er1
32399   cat conftest.err >&5
32400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401   (exit $ac_status); } &&
32402          { ac_try='test -z "$ac_c_werror_flag"
32403                          || test ! -s conftest.err'
32404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405   (eval $ac_try) 2>&5
32406   ac_status=$?
32407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408   (exit $ac_status); }; } &&
32409          { ac_try='test -s conftest$ac_exeext'
32410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411   (eval $ac_try) 2>&5
32412   ac_status=$?
32413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414   (exit $ac_status); }; }; then
32415   ac_cv_lib_m_tgammaf=yes
32416 else
32417   echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 ac_cv_lib_m_tgammaf=no
32421 fi
32422 rm -f conftest.err conftest.$ac_objext \
32423       conftest$ac_exeext conftest.$ac_ext
32424 LIBS=$ac_check_lib_save_LIBS
32425 fi
32426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32427 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32428 if test $ac_cv_lib_m_tgammaf = yes; then
32429
32430 cat >>confdefs.h <<\_ACEOF
32431 #define HAVE_TGAMMAF 1
32432 _ACEOF
32433
32434 fi
32435
32436 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32437 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32438 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32439   echo $ECHO_N "(cached) $ECHO_C" >&6
32440 else
32441   ac_check_lib_save_LIBS=$LIBS
32442 LIBS="-lm  $LIBS"
32443 if test x$gcc_no_link = xyes; then
32444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32446    { (exit 1); exit 1; }; }
32447 fi
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h.  */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h.  */
32454
32455 /* Override any gcc2 internal prototype to avoid an error.  */
32456 #ifdef __cplusplus
32457 extern "C"
32458 #endif
32459 /* We use char because int might match the return type of a gcc2
32460    builtin and then its argument prototype would still apply.  */
32461 char tgammal ();
32462 int
32463 main ()
32464 {
32465 tgammal ();
32466   ;
32467   return 0;
32468 }
32469 _ACEOF
32470 rm -f conftest.$ac_objext conftest$ac_exeext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32472   (eval $ac_link) 2>conftest.er1
32473   ac_status=$?
32474   grep -v '^ *+' conftest.er1 >conftest.err
32475   rm -f conftest.er1
32476   cat conftest.err >&5
32477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478   (exit $ac_status); } &&
32479          { ac_try='test -z "$ac_c_werror_flag"
32480                          || test ! -s conftest.err'
32481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482   (eval $ac_try) 2>&5
32483   ac_status=$?
32484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485   (exit $ac_status); }; } &&
32486          { ac_try='test -s conftest$ac_exeext'
32487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488   (eval $ac_try) 2>&5
32489   ac_status=$?
32490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491   (exit $ac_status); }; }; then
32492   ac_cv_lib_m_tgammal=yes
32493 else
32494   echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32496
32497 ac_cv_lib_m_tgammal=no
32498 fi
32499 rm -f conftest.err conftest.$ac_objext \
32500       conftest$ac_exeext conftest.$ac_ext
32501 LIBS=$ac_check_lib_save_LIBS
32502 fi
32503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32504 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32505 if test $ac_cv_lib_m_tgammal = yes; then
32506
32507 cat >>confdefs.h <<\_ACEOF
32508 #define HAVE_TGAMMAL 1
32509 _ACEOF
32510
32511 fi
32512
32513 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32514 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32515 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32516   echo $ECHO_N "(cached) $ECHO_C" >&6
32517 else
32518   ac_check_lib_save_LIBS=$LIBS
32519 LIBS="-lm  $LIBS"
32520 if test x$gcc_no_link = xyes; then
32521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32523    { (exit 1); exit 1; }; }
32524 fi
32525 cat >conftest.$ac_ext <<_ACEOF
32526 /* confdefs.h.  */
32527 _ACEOF
32528 cat confdefs.h >>conftest.$ac_ext
32529 cat >>conftest.$ac_ext <<_ACEOF
32530 /* end confdefs.h.  */
32531
32532 /* Override any gcc2 internal prototype to avoid an error.  */
32533 #ifdef __cplusplus
32534 extern "C"
32535 #endif
32536 /* We use char because int might match the return type of a gcc2
32537    builtin and then its argument prototype would still apply.  */
32538 char lgamma ();
32539 int
32540 main ()
32541 {
32542 lgamma ();
32543   ;
32544   return 0;
32545 }
32546 _ACEOF
32547 rm -f conftest.$ac_objext conftest$ac_exeext
32548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32549   (eval $ac_link) 2>conftest.er1
32550   ac_status=$?
32551   grep -v '^ *+' conftest.er1 >conftest.err
32552   rm -f conftest.er1
32553   cat conftest.err >&5
32554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555   (exit $ac_status); } &&
32556          { ac_try='test -z "$ac_c_werror_flag"
32557                          || test ! -s conftest.err'
32558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559   (eval $ac_try) 2>&5
32560   ac_status=$?
32561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562   (exit $ac_status); }; } &&
32563          { ac_try='test -s conftest$ac_exeext'
32564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565   (eval $ac_try) 2>&5
32566   ac_status=$?
32567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568   (exit $ac_status); }; }; then
32569   ac_cv_lib_m_lgamma=yes
32570 else
32571   echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.$ac_ext >&5
32573
32574 ac_cv_lib_m_lgamma=no
32575 fi
32576 rm -f conftest.err conftest.$ac_objext \
32577       conftest$ac_exeext conftest.$ac_ext
32578 LIBS=$ac_check_lib_save_LIBS
32579 fi
32580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32581 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32582 if test $ac_cv_lib_m_lgamma = yes; then
32583
32584 cat >>confdefs.h <<\_ACEOF
32585 #define HAVE_LGAMMA 1
32586 _ACEOF
32587
32588 fi
32589
32590 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32591 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32592 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32593   echo $ECHO_N "(cached) $ECHO_C" >&6
32594 else
32595   ac_check_lib_save_LIBS=$LIBS
32596 LIBS="-lm  $LIBS"
32597 if test x$gcc_no_link = xyes; then
32598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32600    { (exit 1); exit 1; }; }
32601 fi
32602 cat >conftest.$ac_ext <<_ACEOF
32603 /* confdefs.h.  */
32604 _ACEOF
32605 cat confdefs.h >>conftest.$ac_ext
32606 cat >>conftest.$ac_ext <<_ACEOF
32607 /* end confdefs.h.  */
32608
32609 /* Override any gcc2 internal prototype to avoid an error.  */
32610 #ifdef __cplusplus
32611 extern "C"
32612 #endif
32613 /* We use char because int might match the return type of a gcc2
32614    builtin and then its argument prototype would still apply.  */
32615 char lgammaf ();
32616 int
32617 main ()
32618 {
32619 lgammaf ();
32620   ;
32621   return 0;
32622 }
32623 _ACEOF
32624 rm -f conftest.$ac_objext conftest$ac_exeext
32625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32626   (eval $ac_link) 2>conftest.er1
32627   ac_status=$?
32628   grep -v '^ *+' conftest.er1 >conftest.err
32629   rm -f conftest.er1
32630   cat conftest.err >&5
32631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632   (exit $ac_status); } &&
32633          { ac_try='test -z "$ac_c_werror_flag"
32634                          || test ! -s conftest.err'
32635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636   (eval $ac_try) 2>&5
32637   ac_status=$?
32638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639   (exit $ac_status); }; } &&
32640          { ac_try='test -s conftest$ac_exeext'
32641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642   (eval $ac_try) 2>&5
32643   ac_status=$?
32644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645   (exit $ac_status); }; }; then
32646   ac_cv_lib_m_lgammaf=yes
32647 else
32648   echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.$ac_ext >&5
32650
32651 ac_cv_lib_m_lgammaf=no
32652 fi
32653 rm -f conftest.err conftest.$ac_objext \
32654       conftest$ac_exeext conftest.$ac_ext
32655 LIBS=$ac_check_lib_save_LIBS
32656 fi
32657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32658 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32659 if test $ac_cv_lib_m_lgammaf = yes; then
32660
32661 cat >>confdefs.h <<\_ACEOF
32662 #define HAVE_LGAMMAF 1
32663 _ACEOF
32664
32665 fi
32666
32667 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32668 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32669 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32670   echo $ECHO_N "(cached) $ECHO_C" >&6
32671 else
32672   ac_check_lib_save_LIBS=$LIBS
32673 LIBS="-lm  $LIBS"
32674 if test x$gcc_no_link = xyes; then
32675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32677    { (exit 1); exit 1; }; }
32678 fi
32679 cat >conftest.$ac_ext <<_ACEOF
32680 /* confdefs.h.  */
32681 _ACEOF
32682 cat confdefs.h >>conftest.$ac_ext
32683 cat >>conftest.$ac_ext <<_ACEOF
32684 /* end confdefs.h.  */
32685
32686 /* Override any gcc2 internal prototype to avoid an error.  */
32687 #ifdef __cplusplus
32688 extern "C"
32689 #endif
32690 /* We use char because int might match the return type of a gcc2
32691    builtin and then its argument prototype would still apply.  */
32692 char lgammal ();
32693 int
32694 main ()
32695 {
32696 lgammal ();
32697   ;
32698   return 0;
32699 }
32700 _ACEOF
32701 rm -f conftest.$ac_objext conftest$ac_exeext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32703   (eval $ac_link) 2>conftest.er1
32704   ac_status=$?
32705   grep -v '^ *+' conftest.er1 >conftest.err
32706   rm -f conftest.er1
32707   cat conftest.err >&5
32708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709   (exit $ac_status); } &&
32710          { ac_try='test -z "$ac_c_werror_flag"
32711                          || test ! -s conftest.err'
32712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713   (eval $ac_try) 2>&5
32714   ac_status=$?
32715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716   (exit $ac_status); }; } &&
32717          { ac_try='test -s conftest$ac_exeext'
32718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719   (eval $ac_try) 2>&5
32720   ac_status=$?
32721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722   (exit $ac_status); }; }; then
32723   ac_cv_lib_m_lgammal=yes
32724 else
32725   echo "$as_me: failed program was:" >&5
32726 sed 's/^/| /' conftest.$ac_ext >&5
32727
32728 ac_cv_lib_m_lgammal=no
32729 fi
32730 rm -f conftest.err conftest.$ac_objext \
32731       conftest$ac_exeext conftest.$ac_ext
32732 LIBS=$ac_check_lib_save_LIBS
32733 fi
32734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32735 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32736 if test $ac_cv_lib_m_lgammal = yes; then
32737
32738 cat >>confdefs.h <<\_ACEOF
32739 #define HAVE_LGAMMAL 1
32740 _ACEOF
32741
32742 fi
32743
32744
32745 # On AIX, clog is present in libm as __clog
32746 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32747 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32748 if test "${ac_cv_lib_m___clog+set}" = set; then
32749   echo $ECHO_N "(cached) $ECHO_C" >&6
32750 else
32751   ac_check_lib_save_LIBS=$LIBS
32752 LIBS="-lm  $LIBS"
32753 if test x$gcc_no_link = xyes; then
32754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32756    { (exit 1); exit 1; }; }
32757 fi
32758 cat >conftest.$ac_ext <<_ACEOF
32759 /* confdefs.h.  */
32760 _ACEOF
32761 cat confdefs.h >>conftest.$ac_ext
32762 cat >>conftest.$ac_ext <<_ACEOF
32763 /* end confdefs.h.  */
32764
32765 /* Override any gcc2 internal prototype to avoid an error.  */
32766 #ifdef __cplusplus
32767 extern "C"
32768 #endif
32769 /* We use char because int might match the return type of a gcc2
32770    builtin and then its argument prototype would still apply.  */
32771 char __clog ();
32772 int
32773 main ()
32774 {
32775 __clog ();
32776   ;
32777   return 0;
32778 }
32779 _ACEOF
32780 rm -f conftest.$ac_objext conftest$ac_exeext
32781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32782   (eval $ac_link) 2>conftest.er1
32783   ac_status=$?
32784   grep -v '^ *+' conftest.er1 >conftest.err
32785   rm -f conftest.er1
32786   cat conftest.err >&5
32787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788   (exit $ac_status); } &&
32789          { ac_try='test -z "$ac_c_werror_flag"
32790                          || test ! -s conftest.err'
32791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792   (eval $ac_try) 2>&5
32793   ac_status=$?
32794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795   (exit $ac_status); }; } &&
32796          { ac_try='test -s conftest$ac_exeext'
32797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798   (eval $ac_try) 2>&5
32799   ac_status=$?
32800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801   (exit $ac_status); }; }; then
32802   ac_cv_lib_m___clog=yes
32803 else
32804   echo "$as_me: failed program was:" >&5
32805 sed 's/^/| /' conftest.$ac_ext >&5
32806
32807 ac_cv_lib_m___clog=no
32808 fi
32809 rm -f conftest.err conftest.$ac_objext \
32810       conftest$ac_exeext conftest.$ac_ext
32811 LIBS=$ac_check_lib_save_LIBS
32812 fi
32813 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32814 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32815 if test $ac_cv_lib_m___clog = yes; then
32816
32817 cat >>confdefs.h <<\_ACEOF
32818 #define HAVE_CLOG 1
32819 _ACEOF
32820
32821 fi
32822
32823
32824 # Check for a isfinite macro that works on long doubles.
32825
32826   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32827 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32828 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32829   echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831
32832   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32833   LIBS="$LIBS -lm"
32834   if test "$cross_compiling" = yes; then
32835
32836 case "${target}" in
32837   hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32838   *) libgfor_cv_have_broken_isfinite=no ;;
32839 esac
32840 else
32841   cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h.  */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h.  */
32847
32848 #include <math.h>
32849 #include <float.h>
32850 int main ()
32851 {
32852 #ifdef isfinite
32853 #ifdef LDBL_MAX
32854   if (!isfinite(LDBL_MAX)) return 1;
32855 #endif
32856 #ifdef DBL_MAX
32857   if (!isfinite(DBL_MAX)) return 1;
32858 #endif
32859 #endif
32860 return 0;
32861 }
32862 _ACEOF
32863 rm -f conftest$ac_exeext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32865   (eval $ac_link) 2>&5
32866   ac_status=$?
32867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870   (eval $ac_try) 2>&5
32871   ac_status=$?
32872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873   (exit $ac_status); }; }; then
32874   libgfor_cv_have_broken_isfinite=no
32875 else
32876   echo "$as_me: program exited with status $ac_status" >&5
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.$ac_ext >&5
32879
32880 ( exit $ac_status )
32881 libgfor_cv_have_broken_isfinite=yes
32882 fi
32883 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32884 fi
32885   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32886 fi
32887 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32888 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32889 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32890
32891 cat >>confdefs.h <<\_ACEOF
32892 #define HAVE_BROKEN_ISFINITE 1
32893 _ACEOF
32894
32895 fi
32896
32897 # Check for a isnan macro that works on long doubles.
32898
32899   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32900 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32901 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32902   echo $ECHO_N "(cached) $ECHO_C" >&6
32903 else
32904
32905   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32906   LIBS="$LIBS -lm"
32907   if test "$cross_compiling" = yes; then
32908
32909 case "${target}" in
32910   hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32911   *) libgfor_cv_have_broken_isnan=no ;;
32912 esac
32913 else
32914   cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h.  */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h.  */
32920
32921 #include <math.h>
32922 #include <float.h>
32923 int main ()
32924 {
32925 #ifdef isnan
32926 #ifdef LDBL_MAX
32927   {
32928     long double x;
32929     x = __builtin_nanl ("");
32930     if (!isnan(x)) return 1;
32931     if (isnan(LDBL_MAX)) return 1;
32932 #ifdef NAN
32933     x = (long double) NAN;
32934     if (!isnan(x)) return 1;
32935 #endif
32936   }
32937 #endif
32938 #ifdef DBL_MAX
32939   {
32940     double y;
32941     y = __builtin_nan ("");
32942     if (!isnan(y)) return 1;
32943     if (isnan(DBL_MAX)) return 1;
32944 #ifdef NAN
32945     y = (double) NAN;
32946     if (!isnan(y)) return 1;
32947 #endif
32948   }
32949 #endif
32950 #endif
32951 return 0;
32952 }
32953 _ACEOF
32954 rm -f conftest$ac_exeext
32955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32956   (eval $ac_link) 2>&5
32957   ac_status=$?
32958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961   (eval $ac_try) 2>&5
32962   ac_status=$?
32963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964   (exit $ac_status); }; }; then
32965   libgfor_cv_have_broken_isnan=no
32966 else
32967   echo "$as_me: program exited with status $ac_status" >&5
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.$ac_ext >&5
32970
32971 ( exit $ac_status )
32972 libgfor_cv_have_broken_isnan=yes
32973 fi
32974 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32975 fi
32976   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32977 fi
32978 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
32979 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
32980 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
32981
32982 cat >>confdefs.h <<\_ACEOF
32983 #define HAVE_BROKEN_ISNAN 1
32984 _ACEOF
32985
32986 fi
32987
32988 # Check for a fpclassify macro that works on long doubles.
32989
32990   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32991 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32992 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
32993   echo $ECHO_N "(cached) $ECHO_C" >&6
32994 else
32995
32996   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32997   LIBS="$LIBS -lm"
32998   if test "$cross_compiling" = yes; then
32999
33000 case "${target}" in
33001   hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33002   *) libgfor_cv_have_broken_fpclassify=no ;;
33003 esac
33004 else
33005   cat >conftest.$ac_ext <<_ACEOF
33006 /* confdefs.h.  */
33007 _ACEOF
33008 cat confdefs.h >>conftest.$ac_ext
33009 cat >>conftest.$ac_ext <<_ACEOF
33010 /* end confdefs.h.  */
33011
33012 #include <math.h>
33013 #include <float.h>
33014 int main ()
33015 {
33016 #ifdef fpclassify
33017 #ifdef LDBL_MAX
33018         if (fpclassify(LDBL_MAX) == FP_NAN
33019             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33020 #endif
33021 #ifdef DBL_MAX
33022         if (fpclassify(DBL_MAX) == FP_NAN
33023             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33024 #endif
33025 #endif
33026 return 0;
33027 }
33028 _ACEOF
33029 rm -f conftest$ac_exeext
33030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33031   (eval $ac_link) 2>&5
33032   ac_status=$?
33033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33036   (eval $ac_try) 2>&5
33037   ac_status=$?
33038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039   (exit $ac_status); }; }; then
33040   libgfor_cv_have_broken_fpclassify=no
33041 else
33042   echo "$as_me: program exited with status $ac_status" >&5
33043 echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.$ac_ext >&5
33045
33046 ( exit $ac_status )
33047 libgfor_cv_have_broken_fpclassify=yes
33048 fi
33049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33050 fi
33051   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33052 fi
33053 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33054 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33055 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33056
33057 cat >>confdefs.h <<\_ACEOF
33058 #define HAVE_BROKEN_FPCLASSIFY 1
33059 _ACEOF
33060
33061 fi
33062
33063 # Check whether the system has a working stat()
33064
33065   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33066 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33067 if test "${libgfor_cv_have_working_stat+set}" = set; then
33068   echo $ECHO_N "(cached) $ECHO_C" >&6
33069 else
33070
33071   if test "$cross_compiling" = yes; then
33072
33073 case "${target}" in
33074   *mingw*) libgfor_cv_have_working_stat=no ;;
33075   *) libgfor_cv_have_working_stat=yes;;
33076 esac
33077 else
33078   cat >conftest.$ac_ext <<_ACEOF
33079 /* confdefs.h.  */
33080 _ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h.  */
33084
33085 #include <stdio.h>
33086 #include <sys/types.h>
33087 #include <sys/stat.h>
33088 #include <unistd.h>
33089
33090 int main ()
33091 {
33092   FILE *f, *g;
33093   struct stat st1, st2;
33094
33095   f = fopen ("foo", "w");
33096   g = fopen ("bar", "w");
33097   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33098     return 1;
33099   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33100     return 1;
33101   fclose(f);
33102   fclose(g);
33103   return 0;
33104 }
33105 _ACEOF
33106 rm -f conftest$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108   (eval $ac_link) 2>&5
33109   ac_status=$?
33110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113   (eval $ac_try) 2>&5
33114   ac_status=$?
33115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116   (exit $ac_status); }; }; then
33117   libgfor_cv_have_working_stat=yes
33118 else
33119   echo "$as_me: program exited with status $ac_status" >&5
33120 echo "$as_me: failed program was:" >&5
33121 sed 's/^/| /' conftest.$ac_ext >&5
33122
33123 ( exit $ac_status )
33124 libgfor_cv_have_working_stat=no
33125 fi
33126 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33127 fi
33128 fi
33129 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33130 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33131 if test x"$libgfor_cv_have_working_stat" = xyes; then
33132
33133 cat >>confdefs.h <<\_ACEOF
33134 #define HAVE_WORKING_STAT 1
33135 _ACEOF
33136
33137 fi
33138
33139 # Check whether __mingw_snprintf() is present
33140
33141   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33142 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33143 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33144   echo $ECHO_N "(cached) $ECHO_C" >&6
33145 else
33146
33147     if test x$gcc_no_link = xyes; then
33148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33150    { (exit 1); exit 1; }; }
33151 fi
33152 cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h.  */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h.  */
33158
33159 #include <stdio.h>
33160 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33161
33162 int
33163 main ()
33164 {
33165
33166 __mingw_snprintf (NULL, 0, "%d\n", 1);
33167
33168   ;
33169   return 0;
33170 }
33171 _ACEOF
33172 rm -f conftest.$ac_objext conftest$ac_exeext
33173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33174   (eval $ac_link) 2>conftest.er1
33175   ac_status=$?
33176   grep -v '^ *+' conftest.er1 >conftest.err
33177   rm -f conftest.er1
33178   cat conftest.err >&5
33179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180   (exit $ac_status); } &&
33181          { ac_try='test -z "$ac_c_werror_flag"
33182                          || test ! -s conftest.err'
33183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184   (eval $ac_try) 2>&5
33185   ac_status=$?
33186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187   (exit $ac_status); }; } &&
33188          { ac_try='test -s conftest$ac_exeext'
33189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190   (eval $ac_try) 2>&5
33191   ac_status=$?
33192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193   (exit $ac_status); }; }; then
33194   eval "libgfor_cv_have_mingw_snprintf=yes"
33195 else
33196   echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.$ac_ext >&5
33198
33199 eval "libgfor_cv_have_mingw_snprintf=no"
33200 fi
33201 rm -f conftest.err conftest.$ac_objext \
33202       conftest$ac_exeext conftest.$ac_ext
33203
33204 fi
33205 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33206 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33207   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33208
33209 cat >>confdefs.h <<\_ACEOF
33210 #define HAVE_MINGW_SNPRINTF 1
33211 _ACEOF
33212
33213   fi
33214
33215
33216 # Check for GNU libc feenableexcept
33217 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33218 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33219 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33220   echo $ECHO_N "(cached) $ECHO_C" >&6
33221 else
33222   ac_check_lib_save_LIBS=$LIBS
33223 LIBS="-lm  $LIBS"
33224 if test x$gcc_no_link = xyes; then
33225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33227    { (exit 1); exit 1; }; }
33228 fi
33229 cat >conftest.$ac_ext <<_ACEOF
33230 /* confdefs.h.  */
33231 _ACEOF
33232 cat confdefs.h >>conftest.$ac_ext
33233 cat >>conftest.$ac_ext <<_ACEOF
33234 /* end confdefs.h.  */
33235
33236 /* Override any gcc2 internal prototype to avoid an error.  */
33237 #ifdef __cplusplus
33238 extern "C"
33239 #endif
33240 /* We use char because int might match the return type of a gcc2
33241    builtin and then its argument prototype would still apply.  */
33242 char feenableexcept ();
33243 int
33244 main ()
33245 {
33246 feenableexcept ();
33247   ;
33248   return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext conftest$ac_exeext
33252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33253   (eval $ac_link) 2>conftest.er1
33254   ac_status=$?
33255   grep -v '^ *+' conftest.er1 >conftest.err
33256   rm -f conftest.er1
33257   cat conftest.err >&5
33258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259   (exit $ac_status); } &&
33260          { ac_try='test -z "$ac_c_werror_flag"
33261                          || test ! -s conftest.err'
33262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33263   (eval $ac_try) 2>&5
33264   ac_status=$?
33265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266   (exit $ac_status); }; } &&
33267          { ac_try='test -s conftest$ac_exeext'
33268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269   (eval $ac_try) 2>&5
33270   ac_status=$?
33271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272   (exit $ac_status); }; }; then
33273   ac_cv_lib_m_feenableexcept=yes
33274 else
33275   echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.$ac_ext >&5
33277
33278 ac_cv_lib_m_feenableexcept=no
33279 fi
33280 rm -f conftest.err conftest.$ac_objext \
33281       conftest$ac_exeext conftest.$ac_ext
33282 LIBS=$ac_check_lib_save_LIBS
33283 fi
33284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33285 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33286 if test $ac_cv_lib_m_feenableexcept = yes; then
33287   have_feenableexcept=yes
33288 cat >>confdefs.h <<\_ACEOF
33289 #define HAVE_FEENABLEEXCEPT 1
33290 _ACEOF
33291
33292 fi
33293
33294
33295 # Check for SysV fpsetmask
33296
33297   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33298 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33299 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33300   echo $ECHO_N "(cached) $ECHO_C" >&6
33301 else
33302
33303     if test x$gcc_no_link = xyes; then
33304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33306    { (exit 1); exit 1; }; }
33307 fi
33308 cat >conftest.$ac_ext <<_ACEOF
33309 /* confdefs.h.  */
33310 _ACEOF
33311 cat confdefs.h >>conftest.$ac_ext
33312 cat >>conftest.$ac_ext <<_ACEOF
33313 /* end confdefs.h.  */
33314
33315 #if HAVE_FLOATINGPOINT_H
33316 # include <floatingpoint.h>
33317 #endif /* HAVE_FLOATINGPOINT_H */
33318 #if HAVE_IEEEFP_H
33319 # include <ieeefp.h>
33320 #endif /* HAVE_IEEEFP_H */
33321 int
33322 main ()
33323 {
33324 fpsetmask(0);
33325   ;
33326   return 0;
33327 }
33328 _ACEOF
33329 rm -f conftest.$ac_objext conftest$ac_exeext
33330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33331   (eval $ac_link) 2>conftest.er1
33332   ac_status=$?
33333   grep -v '^ *+' conftest.er1 >conftest.err
33334   rm -f conftest.er1
33335   cat conftest.err >&5
33336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337   (exit $ac_status); } &&
33338          { ac_try='test -z "$ac_c_werror_flag"
33339                          || test ! -s conftest.err'
33340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33341   (eval $ac_try) 2>&5
33342   ac_status=$?
33343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33344   (exit $ac_status); }; } &&
33345          { ac_try='test -s conftest$ac_exeext'
33346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33347   (eval $ac_try) 2>&5
33348   ac_status=$?
33349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350   (exit $ac_status); }; }; then
33351   eval "libgfor_cv_have_fpsetmask=yes"
33352 else
33353   echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33355
33356 eval "libgfor_cv_have_fpsetmask=no"
33357 fi
33358 rm -f conftest.err conftest.$ac_objext \
33359       conftest$ac_exeext conftest.$ac_ext
33360
33361 fi
33362 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33363 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33364   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33365
33366 cat >>confdefs.h <<\_ACEOF
33367 #define HAVE_FPSETMASK 1
33368 _ACEOF
33369
33370   fi
33371
33372
33373 # Check for AIX fp_trap and fp_enable
33374 echo "$as_me:$LINENO: checking for fp_trap" >&5
33375 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33376 if test "${ac_cv_func_fp_trap+set}" = set; then
33377   echo $ECHO_N "(cached) $ECHO_C" >&6
33378 else
33379   if test x$gcc_no_link = xyes; then
33380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33382    { (exit 1); exit 1; }; }
33383 fi
33384 cat >conftest.$ac_ext <<_ACEOF
33385 /* confdefs.h.  */
33386 _ACEOF
33387 cat confdefs.h >>conftest.$ac_ext
33388 cat >>conftest.$ac_ext <<_ACEOF
33389 /* end confdefs.h.  */
33390 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33391    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33392 #define fp_trap innocuous_fp_trap
33393
33394 /* System header to define __stub macros and hopefully few prototypes,
33395     which can conflict with char fp_trap (); below.
33396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33397     <limits.h> exists even on freestanding compilers.  */
33398
33399 #ifdef __STDC__
33400 # include <limits.h>
33401 #else
33402 # include <assert.h>
33403 #endif
33404
33405 #undef fp_trap
33406
33407 /* Override any gcc2 internal prototype to avoid an error.  */
33408 #ifdef __cplusplus
33409 extern "C"
33410 {
33411 #endif
33412 /* We use char because int might match the return type of a gcc2
33413    builtin and then its argument prototype would still apply.  */
33414 char fp_trap ();
33415 /* The GNU C library defines this for functions which it implements
33416     to always fail with ENOSYS.  Some functions are actually named
33417     something starting with __ and the normal name is an alias.  */
33418 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33419 choke me
33420 #else
33421 char (*f) () = fp_trap;
33422 #endif
33423 #ifdef __cplusplus
33424 }
33425 #endif
33426
33427 int
33428 main ()
33429 {
33430 return f != fp_trap;
33431   ;
33432   return 0;
33433 }
33434 _ACEOF
33435 rm -f conftest.$ac_objext conftest$ac_exeext
33436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33437   (eval $ac_link) 2>conftest.er1
33438   ac_status=$?
33439   grep -v '^ *+' conftest.er1 >conftest.err
33440   rm -f conftest.er1
33441   cat conftest.err >&5
33442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443   (exit $ac_status); } &&
33444          { ac_try='test -z "$ac_c_werror_flag"
33445                          || test ! -s conftest.err'
33446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447   (eval $ac_try) 2>&5
33448   ac_status=$?
33449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450   (exit $ac_status); }; } &&
33451          { ac_try='test -s conftest$ac_exeext'
33452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453   (eval $ac_try) 2>&5
33454   ac_status=$?
33455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456   (exit $ac_status); }; }; then
33457   ac_cv_func_fp_trap=yes
33458 else
33459   echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.$ac_ext >&5
33461
33462 ac_cv_func_fp_trap=no
33463 fi
33464 rm -f conftest.err conftest.$ac_objext \
33465       conftest$ac_exeext conftest.$ac_ext
33466 fi
33467 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33468 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33469 if test $ac_cv_func_fp_trap = yes; then
33470   have_fp_trap=yes
33471 cat >>confdefs.h <<\_ACEOF
33472 #define HAVE_FP_TRAP 1
33473 _ACEOF
33474
33475 fi
33476
33477 echo "$as_me:$LINENO: checking for fp_enable" >&5
33478 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33479 if test "${ac_cv_func_fp_enable+set}" = set; then
33480   echo $ECHO_N "(cached) $ECHO_C" >&6
33481 else
33482   if test x$gcc_no_link = xyes; then
33483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33485    { (exit 1); exit 1; }; }
33486 fi
33487 cat >conftest.$ac_ext <<_ACEOF
33488 /* confdefs.h.  */
33489 _ACEOF
33490 cat confdefs.h >>conftest.$ac_ext
33491 cat >>conftest.$ac_ext <<_ACEOF
33492 /* end confdefs.h.  */
33493 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33494    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33495 #define fp_enable innocuous_fp_enable
33496
33497 /* System header to define __stub macros and hopefully few prototypes,
33498     which can conflict with char fp_enable (); below.
33499     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33500     <limits.h> exists even on freestanding compilers.  */
33501
33502 #ifdef __STDC__
33503 # include <limits.h>
33504 #else
33505 # include <assert.h>
33506 #endif
33507
33508 #undef fp_enable
33509
33510 /* Override any gcc2 internal prototype to avoid an error.  */
33511 #ifdef __cplusplus
33512 extern "C"
33513 {
33514 #endif
33515 /* We use char because int might match the return type of a gcc2
33516    builtin and then its argument prototype would still apply.  */
33517 char fp_enable ();
33518 /* The GNU C library defines this for functions which it implements
33519     to always fail with ENOSYS.  Some functions are actually named
33520     something starting with __ and the normal name is an alias.  */
33521 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33522 choke me
33523 #else
33524 char (*f) () = fp_enable;
33525 #endif
33526 #ifdef __cplusplus
33527 }
33528 #endif
33529
33530 int
33531 main ()
33532 {
33533 return f != fp_enable;
33534   ;
33535   return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext conftest$ac_exeext
33539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33540   (eval $ac_link) 2>conftest.er1
33541   ac_status=$?
33542   grep -v '^ *+' conftest.er1 >conftest.err
33543   rm -f conftest.er1
33544   cat conftest.err >&5
33545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546   (exit $ac_status); } &&
33547          { ac_try='test -z "$ac_c_werror_flag"
33548                          || test ! -s conftest.err'
33549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550   (eval $ac_try) 2>&5
33551   ac_status=$?
33552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553   (exit $ac_status); }; } &&
33554          { ac_try='test -s conftest$ac_exeext'
33555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33556   (eval $ac_try) 2>&5
33557   ac_status=$?
33558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559   (exit $ac_status); }; }; then
33560   ac_cv_func_fp_enable=yes
33561 else
33562   echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33564
33565 ac_cv_func_fp_enable=no
33566 fi
33567 rm -f conftest.err conftest.$ac_objext \
33568       conftest$ac_exeext conftest.$ac_ext
33569 fi
33570 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33571 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33572 if test $ac_cv_func_fp_enable = yes; then
33573   have_fp_enable=yes
33574 cat >>confdefs.h <<\_ACEOF
33575 #define HAVE_FP_ENABLE 1
33576 _ACEOF
33577
33578 fi
33579
33580
33581 # Runs configure.host to set up necessary host-dependent shell variables.
33582 # We then display a message about it, and propagate them through the
33583 # build chain.
33584 . ${srcdir}/configure.host
33585 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33586 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33587 FPU_HOST_HEADER=config/${fpu_host}.h
33588
33589
33590 # Check out attribute support.
33591
33592   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33593 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33594 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33595   echo $ECHO_N "(cached) $ECHO_C" >&6
33596 else
33597
33598   save_CFLAGS="$CFLAGS"
33599   CFLAGS="$CFLAGS -Werror"
33600   cat >conftest.$ac_ext <<_ACEOF
33601 /* confdefs.h.  */
33602 _ACEOF
33603 cat confdefs.h >>conftest.$ac_ext
33604 cat >>conftest.$ac_ext <<_ACEOF
33605 /* end confdefs.h.  */
33606 void __attribute__((visibility("hidden"))) foo(void) { }
33607 int
33608 main ()
33609 {
33610
33611   ;
33612   return 0;
33613 }
33614 _ACEOF
33615 rm -f conftest.$ac_objext
33616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33617   (eval $ac_compile) 2>conftest.er1
33618   ac_status=$?
33619   grep -v '^ *+' conftest.er1 >conftest.err
33620   rm -f conftest.er1
33621   cat conftest.err >&5
33622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623   (exit $ac_status); } &&
33624          { ac_try='test -z "$ac_c_werror_flag"
33625                          || test ! -s conftest.err'
33626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627   (eval $ac_try) 2>&5
33628   ac_status=$?
33629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630   (exit $ac_status); }; } &&
33631          { ac_try='test -s conftest.$ac_objext'
33632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633   (eval $ac_try) 2>&5
33634   ac_status=$?
33635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636   (exit $ac_status); }; }; then
33637   libgfor_cv_have_attribute_visibility=yes
33638 else
33639   echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.$ac_ext >&5
33641
33642 libgfor_cv_have_attribute_visibility=no
33643 fi
33644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33645   CFLAGS="$save_CFLAGS"
33646 fi
33647 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33648 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33649   if test $libgfor_cv_have_attribute_visibility = yes; then
33650
33651 cat >>confdefs.h <<\_ACEOF
33652 #define HAVE_ATTRIBUTE_VISIBILITY 1
33653 _ACEOF
33654
33655   fi
33656
33657   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33658 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33659 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33660   echo $ECHO_N "(cached) $ECHO_C" >&6
33661 else
33662
33663   save_CFLAGS="$CFLAGS"
33664   CFLAGS="$CFLAGS -Werror"
33665   cat >conftest.$ac_ext <<_ACEOF
33666 /* confdefs.h.  */
33667 _ACEOF
33668 cat confdefs.h >>conftest.$ac_ext
33669 cat >>conftest.$ac_ext <<_ACEOF
33670 /* end confdefs.h.  */
33671 void __attribute__((dllexport)) foo(void) { }
33672 int
33673 main ()
33674 {
33675
33676   ;
33677   return 0;
33678 }
33679 _ACEOF
33680 rm -f conftest.$ac_objext
33681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33682   (eval $ac_compile) 2>conftest.er1
33683   ac_status=$?
33684   grep -v '^ *+' conftest.er1 >conftest.err
33685   rm -f conftest.er1
33686   cat conftest.err >&5
33687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33688   (exit $ac_status); } &&
33689          { ac_try='test -z "$ac_c_werror_flag"
33690                          || test ! -s conftest.err'
33691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33692   (eval $ac_try) 2>&5
33693   ac_status=$?
33694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695   (exit $ac_status); }; } &&
33696          { ac_try='test -s conftest.$ac_objext'
33697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698   (eval $ac_try) 2>&5
33699   ac_status=$?
33700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701   (exit $ac_status); }; }; then
33702   libgfor_cv_have_attribute_dllexport=yes
33703 else
33704   echo "$as_me: failed program was:" >&5
33705 sed 's/^/| /' conftest.$ac_ext >&5
33706
33707 libgfor_cv_have_attribute_dllexport=no
33708 fi
33709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33710   CFLAGS="$save_CFLAGS"
33711 fi
33712 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33713 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33714   if test $libgfor_cv_have_attribute_dllexport = yes; then
33715
33716 cat >>confdefs.h <<\_ACEOF
33717 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33718 _ACEOF
33719
33720   fi
33721
33722   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33723 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33724 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33725   echo $ECHO_N "(cached) $ECHO_C" >&6
33726 else
33727
33728   if test x$gcc_no_link = xyes; then
33729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731    { (exit 1); exit 1; }; }
33732 fi
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h.  */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h.  */
33739
33740 void foo(void) { }
33741 extern void bar(void) __attribute__((alias("foo")));
33742 int
33743 main ()
33744 {
33745 bar();
33746   ;
33747   return 0;
33748 }
33749 _ACEOF
33750 rm -f conftest.$ac_objext conftest$ac_exeext
33751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33752   (eval $ac_link) 2>conftest.er1
33753   ac_status=$?
33754   grep -v '^ *+' conftest.er1 >conftest.err
33755   rm -f conftest.er1
33756   cat conftest.err >&5
33757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758   (exit $ac_status); } &&
33759          { ac_try='test -z "$ac_c_werror_flag"
33760                          || test ! -s conftest.err'
33761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762   (eval $ac_try) 2>&5
33763   ac_status=$?
33764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765   (exit $ac_status); }; } &&
33766          { ac_try='test -s conftest$ac_exeext'
33767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33768   (eval $ac_try) 2>&5
33769   ac_status=$?
33770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771   (exit $ac_status); }; }; then
33772   libgfor_cv_have_attribute_alias=yes
33773 else
33774   echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33776
33777 libgfor_cv_have_attribute_alias=no
33778 fi
33779 rm -f conftest.err conftest.$ac_objext \
33780       conftest$ac_exeext conftest.$ac_ext
33781 fi
33782 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33783 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33784   if test $libgfor_cv_have_attribute_alias = yes; then
33785
33786 cat >>confdefs.h <<\_ACEOF
33787 #define HAVE_ATTRIBUTE_ALIAS 1
33788 _ACEOF
33789
33790   fi
33791
33792 # Check out sync builtins support.
33793
33794   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33795 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33796 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33797   echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799
33800   if test x$gcc_no_link = xyes; then
33801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33803    { (exit 1); exit 1; }; }
33804 fi
33805 cat >conftest.$ac_ext <<_ACEOF
33806 /* confdefs.h.  */
33807 _ACEOF
33808 cat confdefs.h >>conftest.$ac_ext
33809 cat >>conftest.$ac_ext <<_ACEOF
33810 /* end confdefs.h.  */
33811 int foovar = 0;
33812 int
33813 main ()
33814 {
33815
33816 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33817 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33818   ;
33819   return 0;
33820 }
33821 _ACEOF
33822 rm -f conftest.$ac_objext conftest$ac_exeext
33823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33824   (eval $ac_link) 2>conftest.er1
33825   ac_status=$?
33826   grep -v '^ *+' conftest.er1 >conftest.err
33827   rm -f conftest.er1
33828   cat conftest.err >&5
33829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830   (exit $ac_status); } &&
33831          { ac_try='test -z "$ac_c_werror_flag"
33832                          || test ! -s conftest.err'
33833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33834   (eval $ac_try) 2>&5
33835   ac_status=$?
33836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837   (exit $ac_status); }; } &&
33838          { ac_try='test -s conftest$ac_exeext'
33839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840   (eval $ac_try) 2>&5
33841   ac_status=$?
33842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843   (exit $ac_status); }; }; then
33844   libgfor_cv_have_sync_fetch_and_add=yes
33845 else
33846   echo "$as_me: failed program was:" >&5
33847 sed 's/^/| /' conftest.$ac_ext >&5
33848
33849 libgfor_cv_have_sync_fetch_and_add=no
33850 fi
33851 rm -f conftest.err conftest.$ac_objext \
33852       conftest$ac_exeext conftest.$ac_ext
33853 fi
33854 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33855 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33856   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33857
33858 cat >>confdefs.h <<\_ACEOF
33859 #define HAVE_SYNC_FETCH_AND_ADD 1
33860 _ACEOF
33861
33862   fi
33863
33864 # Check out thread support.
33865
33866   echo "$as_me:$LINENO: checking configured target thread model" >&5
33867 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33868 if test "${libgfor_cv_target_thread_file+set}" = set; then
33869   echo $ECHO_N "(cached) $ECHO_C" >&6
33870 else
33871
33872 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33873 fi
33874 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33875 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33876
33877   if test $libgfor_cv_target_thread_file != single; then
33878
33879 cat >>confdefs.h <<\_ACEOF
33880 #define HAVE_GTHR_DEFAULT 1
33881 _ACEOF
33882
33883   fi
33884
33885 # Check out #pragma weak.
33886
33887   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33888 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33889 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33890   echo $ECHO_N "(cached) $ECHO_C" >&6
33891 else
33892
33893   gfor_save_CFLAGS="$CFLAGS"
33894   CFLAGS="$CFLAGS -Wunknown-pragmas"
33895   cat >conftest.$ac_ext <<_ACEOF
33896 /* confdefs.h.  */
33897 _ACEOF
33898 cat confdefs.h >>conftest.$ac_ext
33899 cat >>conftest.$ac_ext <<_ACEOF
33900 /* end confdefs.h.  */
33901 void foo (void);
33902 #pragma weak foo
33903 int
33904 main ()
33905 {
33906 if (foo) foo ();
33907   ;
33908   return 0;
33909 }
33910 _ACEOF
33911 rm -f conftest.$ac_objext
33912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33913   (eval $ac_compile) 2>conftest.er1
33914   ac_status=$?
33915   grep -v '^ *+' conftest.er1 >conftest.err
33916   rm -f conftest.er1
33917   cat conftest.err >&5
33918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919   (exit $ac_status); } &&
33920          { ac_try='test -z "$ac_c_werror_flag"
33921                          || test ! -s conftest.err'
33922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923   (eval $ac_try) 2>&5
33924   ac_status=$?
33925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926   (exit $ac_status); }; } &&
33927          { ac_try='test -s conftest.$ac_objext'
33928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929   (eval $ac_try) 2>&5
33930   ac_status=$?
33931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932   (exit $ac_status); }; }; then
33933   libgfor_cv_have_pragma_weak=yes
33934 else
33935   echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.$ac_ext >&5
33937
33938 libgfor_cv_have_pragma_weak=no
33939 fi
33940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33941 fi
33942 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33943 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33944   if test $libgfor_cv_have_pragma_weak = yes; then
33945
33946 cat >>confdefs.h <<\_ACEOF
33947 #define SUPPORTS_WEAK 1
33948 _ACEOF
33949
33950   fi
33951   case "$host" in
33952     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33953
33954 cat >>confdefs.h <<\_ACEOF
33955 #define GTHREAD_USE_WEAK 0
33956 _ACEOF
33957
33958       ;;
33959   esac
33960
33961 # Various other checks on target
33962
33963   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33964 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33965 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33966   echo $ECHO_N "(cached) $ECHO_C" >&6
33967 else
33968
33969   if test "$cross_compiling" = yes; then
33970
33971 case "${target}" in
33972   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
33973   *) libgfor_cv_have_unlink_open_file=yes;;
33974 esac
33975 else
33976   cat >conftest.$ac_ext <<_ACEOF
33977 /* confdefs.h.  */
33978 _ACEOF
33979 cat confdefs.h >>conftest.$ac_ext
33980 cat >>conftest.$ac_ext <<_ACEOF
33981 /* end confdefs.h.  */
33982
33983 #include <errno.h>
33984 #include <fcntl.h>
33985 #include <unistd.h>
33986 #include <sys/stat.h>
33987
33988 int main ()
33989 {
33990   int fd;
33991
33992   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33993   if (fd <= 0)
33994     return 0;
33995   if (unlink ("testfile") == -1)
33996     return 1;
33997   write (fd, "This is a test\n", 15);
33998   close (fd);
33999
34000   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34001     return 0;
34002   else
34003     return 1;
34004 }
34005 _ACEOF
34006 rm -f conftest$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008   (eval $ac_link) 2>&5
34009   ac_status=$?
34010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013   (eval $ac_try) 2>&5
34014   ac_status=$?
34015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016   (exit $ac_status); }; }; then
34017   libgfor_cv_have_unlink_open_file=yes
34018 else
34019   echo "$as_me: program exited with status $ac_status" >&5
34020 echo "$as_me: failed program was:" >&5
34021 sed 's/^/| /' conftest.$ac_ext >&5
34022
34023 ( exit $ac_status )
34024 libgfor_cv_have_unlink_open_file=no
34025 fi
34026 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34027 fi
34028 fi
34029 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34030 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34031 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34032
34033 cat >>confdefs.h <<\_ACEOF
34034 #define HAVE_UNLINK_OPEN_FILE 1
34035 _ACEOF
34036
34037 fi
34038
34039 # Check whether line terminator is LF or CRLF
34040
34041   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34042 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34043 if test "${libgfor_cv_have_crlf+set}" = set; then
34044   echo $ECHO_N "(cached) $ECHO_C" >&6
34045 else
34046
34047   if test "$cross_compiling" = yes; then
34048
34049 case "${target}" in
34050   *mingw*) libgfor_cv_have_crlf=yes ;;
34051   *) libgfor_cv_have_crlf=no;;
34052 esac
34053 else
34054   cat >conftest.$ac_ext <<_ACEOF
34055 /* confdefs.h.  */
34056 _ACEOF
34057 cat confdefs.h >>conftest.$ac_ext
34058 cat >>conftest.$ac_ext <<_ACEOF
34059 /* end confdefs.h.  */
34060
34061 /* This test program should exit with status 0 if system uses a CRLF as
34062    line terminator, and status 1 otherwise.
34063    Since it is used to check for mingw systems, and should return 0 in any
34064    other case, in case of a failure we will not use CRLF.  */
34065 #include <sys/stat.h>
34066 #include <stdlib.h>
34067 #include <fcntl.h>
34068 #include <stdio.h>
34069
34070 int main ()
34071 {
34072 #ifndef O_BINARY
34073   exit(1);
34074 #else
34075   int fd, bytes;
34076   char buff[5];
34077
34078   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34079   if (fd < 0)
34080     exit(1);
34081   if (write (fd, "\n", 1) < 0)
34082     perror ("write");
34083
34084   close (fd);
34085
34086   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34087     exit(1);
34088   bytes = read (fd, buff, 5);
34089   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34090     exit(0);
34091   else
34092     exit(1);
34093 #endif
34094 }
34095 _ACEOF
34096 rm -f conftest$ac_exeext
34097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34098   (eval $ac_link) 2>&5
34099   ac_status=$?
34100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103   (eval $ac_try) 2>&5
34104   ac_status=$?
34105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106   (exit $ac_status); }; }; then
34107   libgfor_cv_have_crlf=yes
34108 else
34109   echo "$as_me: program exited with status $ac_status" >&5
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.$ac_ext >&5
34112
34113 ( exit $ac_status )
34114 libgfor_cv_have_crlf=no
34115 fi
34116 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34117 fi
34118 fi
34119 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34120 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34121 if test x"$libgfor_cv_have_crlf" = xyes; then
34122
34123 cat >>confdefs.h <<\_ACEOF
34124 #define HAVE_CRLF 1
34125 _ACEOF
34126
34127 fi
34128
34129 cat >confcache <<\_ACEOF
34130 # This file is a shell script that caches the results of configure
34131 # tests run on this system so they can be shared between configure
34132 # scripts and configure runs, see configure's option --config-cache.
34133 # It is not useful on other systems.  If it contains results you don't
34134 # want to keep, you may remove or edit it.
34135 #
34136 # config.status only pays attention to the cache file if you give it
34137 # the --recheck option to rerun configure.
34138 #
34139 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34140 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34141 # following values.
34142
34143 _ACEOF
34144
34145 # The following way of writing the cache mishandles newlines in values,
34146 # but we know of no workaround that is simple, portable, and efficient.
34147 # So, don't put newlines in cache variables' values.
34148 # Ultrix sh set writes to stderr and can't be redirected directly,
34149 # and sets the high bit in the cache file unless we assign to the vars.
34150 {
34151   (set) 2>&1 |
34152     case `(ac_space=' '; set | grep ac_space) 2>&1` in
34153     *ac_space=\ *)
34154       # `set' does not quote correctly, so add quotes (double-quote
34155       # substitution turns \\\\ into \\, and sed turns \\ into \).
34156       sed -n \
34157         "s/'/'\\\\''/g;
34158           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34159       ;;
34160     *)
34161       # `set' quotes correctly as required by POSIX, so do not add quotes.
34162       sed -n \
34163         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34164       ;;
34165     esac;
34166 } |
34167   sed '
34168      t clear
34169      : clear
34170      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34171      t end
34172      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34173      : end' >>confcache
34174 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34175   if test -w $cache_file; then
34176     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34177     cat confcache >$cache_file
34178   else
34179     echo "not updating unwritable cache $cache_file"
34180   fi
34181 fi
34182 rm -f confcache
34183
34184 if test ${multilib} = yes; then
34185   multilib_arg="--enable-multilib"
34186 else
34187   multilib_arg=
34188 fi
34189
34190 # Write our Makefile.
34191           ac_config_files="$ac_config_files Makefile"
34192
34193 cat >confcache <<\_ACEOF
34194 # This file is a shell script that caches the results of configure
34195 # tests run on this system so they can be shared between configure
34196 # scripts and configure runs, see configure's option --config-cache.
34197 # It is not useful on other systems.  If it contains results you don't
34198 # want to keep, you may remove or edit it.
34199 #
34200 # config.status only pays attention to the cache file if you give it
34201 # the --recheck option to rerun configure.
34202 #
34203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34205 # following values.
34206
34207 _ACEOF
34208
34209 # The following way of writing the cache mishandles newlines in values,
34210 # but we know of no workaround that is simple, portable, and efficient.
34211 # So, don't put newlines in cache variables' values.
34212 # Ultrix sh set writes to stderr and can't be redirected directly,
34213 # and sets the high bit in the cache file unless we assign to the vars.
34214 {
34215   (set) 2>&1 |
34216     case `(ac_space=' '; set | grep ac_space) 2>&1` in
34217     *ac_space=\ *)
34218       # `set' does not quote correctly, so add quotes (double-quote
34219       # substitution turns \\\\ into \\, and sed turns \\ into \).
34220       sed -n \
34221         "s/'/'\\\\''/g;
34222           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34223       ;;
34224     *)
34225       # `set' quotes correctly as required by POSIX, so do not add quotes.
34226       sed -n \
34227         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34228       ;;
34229     esac;
34230 } |
34231   sed '
34232      t clear
34233      : clear
34234      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34235      t end
34236      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34237      : end' >>confcache
34238 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34239   if test -w $cache_file; then
34240     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34241     cat confcache >$cache_file
34242   else
34243     echo "not updating unwritable cache $cache_file"
34244   fi
34245 fi
34246 rm -f confcache
34247
34248 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34249 # Let make expand exec_prefix.
34250 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34251
34252 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34253 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34254 # trailing colons and then remove the whole line if VPATH becomes empty
34255 # (actually we leave an empty line to preserve line numbers).
34256 if test "x$srcdir" = x.; then
34257   ac_vpsub='/^[  ]*VPATH[        ]*=/{
34258 s/:*\$(srcdir):*/:/;
34259 s/:*\${srcdir}:*/:/;
34260 s/:*@srcdir@:*/:/;
34261 s/^\([^=]*=[     ]*\):*/\1/;
34262 s/:*$//;
34263 s/^[^=]*=[       ]*$//;
34264 }'
34265 fi
34266
34267 DEFS=-DHAVE_CONFIG_H
34268
34269 ac_libobjs=
34270 ac_ltlibobjs=
34271 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34272   # 1. Remove the extension, and $U if already installed.
34273   ac_i=`echo "$ac_i" |
34274          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34275   # 2. Add them.
34276   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34277   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34278 done
34279 LIBOBJS=$ac_libobjs
34280
34281 LTLIBOBJS=$ac_ltlibobjs
34282
34283
34284 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34285   { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34286 Usually this means the macro was only invoked conditionally." >&5
34287 echo "$as_me: error: conditional \"onestep\" was never defined.
34288 Usually this means the macro was only invoked conditionally." >&2;}
34289    { (exit 1); exit 1; }; }
34290 fi
34291 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34292   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34293 Usually this means the macro was only invoked conditionally." >&5
34294 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34295 Usually this means the macro was only invoked conditionally." >&2;}
34296    { (exit 1); exit 1; }; }
34297 fi
34298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34299   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34300 Usually this means the macro was only invoked conditionally." >&5
34301 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34302 Usually this means the macro was only invoked conditionally." >&2;}
34303    { (exit 1); exit 1; }; }
34304 fi
34305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34306   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34307 Usually this means the macro was only invoked conditionally." >&5
34308 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34309 Usually this means the macro was only invoked conditionally." >&2;}
34310    { (exit 1); exit 1; }; }
34311 fi
34312 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34313   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34314 Usually this means the macro was only invoked conditionally." >&5
34315 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34316 Usually this means the macro was only invoked conditionally." >&2;}
34317    { (exit 1); exit 1; }; }
34318 fi
34319
34320 : ${CONFIG_STATUS=./config.status}
34321 ac_clean_files_save=$ac_clean_files
34322 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34323 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34324 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34325 cat >$CONFIG_STATUS <<_ACEOF
34326 #! $SHELL
34327 # Generated by $as_me.
34328 # Run this file to recreate the current configuration.
34329 # Compiler output produced by configure, useful for debugging
34330 # configure, is in config.log if it exists.
34331
34332 debug=false
34333 ac_cs_recheck=false
34334 ac_cs_silent=false
34335 SHELL=\${CONFIG_SHELL-$SHELL}
34336 _ACEOF
34337
34338 cat >>$CONFIG_STATUS <<\_ACEOF
34339 ## --------------------- ##
34340 ## M4sh Initialization.  ##
34341 ## --------------------- ##
34342
34343 # Be Bourne compatible
34344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34345   emulate sh
34346   NULLCMD=:
34347   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34348   # is contrary to our usage.  Disable this feature.
34349   alias -g '${1+"$@"}'='"$@"'
34350 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34351   set -o posix
34352 fi
34353 DUALCASE=1; export DUALCASE # for MKS sh
34354
34355 # Support unset when possible.
34356 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34357   as_unset=unset
34358 else
34359   as_unset=false
34360 fi
34361
34362
34363 # Work around bugs in pre-3.0 UWIN ksh.
34364 $as_unset ENV MAIL MAILPATH
34365 PS1='$ '
34366 PS2='> '
34367 PS4='+ '
34368
34369 # NLS nuisances.
34370 for as_var in \
34371   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34372   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34373   LC_TELEPHONE LC_TIME
34374 do
34375   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34376     eval $as_var=C; export $as_var
34377   else
34378     $as_unset $as_var
34379   fi
34380 done
34381
34382 # Required to use basename.
34383 if expr a : '\(a\)' >/dev/null 2>&1; then
34384   as_expr=expr
34385 else
34386   as_expr=false
34387 fi
34388
34389 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34390   as_basename=basename
34391 else
34392   as_basename=false
34393 fi
34394
34395
34396 # Name of the executable.
34397 as_me=`$as_basename "$0" ||
34398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34399          X"$0" : 'X\(//\)$' \| \
34400          X"$0" : 'X\(/\)$' \| \
34401          .     : '\(.\)' 2>/dev/null ||
34402 echo X/"$0" |
34403     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34404           /^X\/\(\/\/\)$/{ s//\1/; q; }
34405           /^X\/\(\/\).*/{ s//\1/; q; }
34406           s/.*/./; q'`
34407
34408
34409 # PATH needs CR, and LINENO needs CR and PATH.
34410 # Avoid depending upon Character Ranges.
34411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34414 as_cr_digits='0123456789'
34415 as_cr_alnum=$as_cr_Letters$as_cr_digits
34416
34417 # The user is always right.
34418 if test "${PATH_SEPARATOR+set}" != set; then
34419   echo "#! /bin/sh" >conf$$.sh
34420   echo  "exit 0"   >>conf$$.sh
34421   chmod +x conf$$.sh
34422   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34423     PATH_SEPARATOR=';'
34424   else
34425     PATH_SEPARATOR=:
34426   fi
34427   rm -f conf$$.sh
34428 fi
34429
34430
34431   as_lineno_1=$LINENO
34432   as_lineno_2=$LINENO
34433   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34434   test "x$as_lineno_1" != "x$as_lineno_2" &&
34435   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
34436   # Find who we are.  Look in the path if we contain no path at all
34437   # relative or not.
34438   case $0 in
34439     *[\\/]* ) as_myself=$0 ;;
34440     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34441 for as_dir in $PATH
34442 do
34443   IFS=$as_save_IFS
34444   test -z "$as_dir" && as_dir=.
34445   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34446 done
34447
34448        ;;
34449   esac
34450   # We did not find ourselves, most probably we were run as `sh COMMAND'
34451   # in which case we are not to be found in the path.
34452   if test "x$as_myself" = x; then
34453     as_myself=$0
34454   fi
34455   if test ! -f "$as_myself"; then
34456     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34457 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34458    { (exit 1); exit 1; }; }
34459   fi
34460   case $CONFIG_SHELL in
34461   '')
34462     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34463 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34464 do
34465   IFS=$as_save_IFS
34466   test -z "$as_dir" && as_dir=.
34467   for as_base in sh bash ksh sh5; do
34468          case $as_dir in
34469          /*)
34470            if ("$as_dir/$as_base" -c '
34471   as_lineno_1=$LINENO
34472   as_lineno_2=$LINENO
34473   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34474   test "x$as_lineno_1" != "x$as_lineno_2" &&
34475   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
34476              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34477              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34478              CONFIG_SHELL=$as_dir/$as_base
34479              export CONFIG_SHELL
34480              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34481            fi;;
34482          esac
34483        done
34484 done
34485 ;;
34486   esac
34487
34488   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34489   # uniformly replaced by the line number.  The first 'sed' inserts a
34490   # line-number line before each line; the second 'sed' does the real
34491   # work.  The second script uses 'N' to pair each line-number line
34492   # with the numbered line, and appends trailing '-' during
34493   # substitution so that $LINENO is not a special case at line end.
34494   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34495   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
34496   sed '=' <$as_myself |
34497     sed '
34498       N
34499       s,$,-,
34500       : loop
34501       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34502       t loop
34503       s,-$,,
34504       s,^['$as_cr_digits']*\n,,
34505     ' >$as_me.lineno &&
34506   chmod +x $as_me.lineno ||
34507     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34508 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34509    { (exit 1); exit 1; }; }
34510
34511   # Don't try to exec as it changes $[0], causing all sort of problems
34512   # (the dirname of $[0] is not the place where we might find the
34513   # original and so on.  Autoconf is especially sensible to this).
34514   . ./$as_me.lineno
34515   # Exit status is that of the last command.
34516   exit
34517 }
34518
34519
34520 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34521   *c*,-n*) ECHO_N= ECHO_C='
34522 ' ECHO_T='      ' ;;
34523   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34524   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
34525 esac
34526
34527 if expr a : '\(a\)' >/dev/null 2>&1; then
34528   as_expr=expr
34529 else
34530   as_expr=false
34531 fi
34532
34533 rm -f conf$$ conf$$.exe conf$$.file
34534 echo >conf$$.file
34535 if ln -s conf$$.file conf$$ 2>/dev/null; then
34536   # We could just check for DJGPP; but this test a) works b) is more generic
34537   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34538   if test -f conf$$.exe; then
34539     # Don't use ln at all; we don't have any links
34540     as_ln_s='cp -p'
34541   else
34542     as_ln_s='ln -s'
34543   fi
34544 elif ln conf$$.file conf$$ 2>/dev/null; then
34545   as_ln_s=ln
34546 else
34547   as_ln_s='cp -p'
34548 fi
34549 rm -f conf$$ conf$$.exe conf$$.file
34550
34551 if mkdir -p . 2>/dev/null; then
34552   as_mkdir_p=:
34553 else
34554   test -d ./-p && rmdir ./-p
34555   as_mkdir_p=false
34556 fi
34557
34558 as_executable_p="test -f"
34559
34560 # Sed expression to map a string onto a valid CPP name.
34561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34562
34563 # Sed expression to map a string onto a valid variable name.
34564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34565
34566
34567 # IFS
34568 # We need space, tab and new line, in precisely that order.
34569 as_nl='
34570 '
34571 IFS="   $as_nl"
34572
34573 # CDPATH.
34574 $as_unset CDPATH
34575
34576 exec 6>&1
34577
34578 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34579 # report actual input values of CONFIG_FILES etc. instead of their
34580 # values after options handling.  Logging --version etc. is OK.
34581 exec 5>>config.log
34582 {
34583   echo
34584   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34585 ## Running $as_me. ##
34586 _ASBOX
34587 } >&5
34588 cat >&5 <<_CSEOF
34589
34590 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34591 generated by GNU Autoconf 2.59.  Invocation command line was
34592
34593   CONFIG_FILES    = $CONFIG_FILES
34594   CONFIG_HEADERS  = $CONFIG_HEADERS
34595   CONFIG_LINKS    = $CONFIG_LINKS
34596   CONFIG_COMMANDS = $CONFIG_COMMANDS
34597   $ $0 $@
34598
34599 _CSEOF
34600 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34601 echo >&5
34602 _ACEOF
34603
34604 # Files that config.status was made for.
34605 if test -n "$ac_config_files"; then
34606   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34607 fi
34608
34609 if test -n "$ac_config_headers"; then
34610   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34611 fi
34612
34613 if test -n "$ac_config_links"; then
34614   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34615 fi
34616
34617 if test -n "$ac_config_commands"; then
34618   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34619 fi
34620
34621 cat >>$CONFIG_STATUS <<\_ACEOF
34622
34623 ac_cs_usage="\
34624 \`$as_me' instantiates files from templates according to the
34625 current configuration.
34626
34627 Usage: $0 [OPTIONS] [FILE]...
34628
34629   -h, --help       print this help, then exit
34630   -V, --version    print version number, then exit
34631   -q, --quiet      do not print progress messages
34632   -d, --debug      don't remove temporary files
34633       --recheck    update $as_me by reconfiguring in the same conditions
34634   --file=FILE[:TEMPLATE]
34635                    instantiate the configuration file FILE
34636   --header=FILE[:TEMPLATE]
34637                    instantiate the configuration header FILE
34638
34639 Configuration files:
34640 $config_files
34641
34642 Configuration headers:
34643 $config_headers
34644
34645 Configuration commands:
34646 $config_commands
34647
34648 Report bugs to <bug-autoconf@gnu.org>."
34649 _ACEOF
34650
34651 cat >>$CONFIG_STATUS <<_ACEOF
34652 ac_cs_version="\\
34653 GNU Fortran Runtime Library config.status 0.3
34654 configured by $0, generated by GNU Autoconf 2.59,
34655   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34656
34657 Copyright (C) 2003 Free Software Foundation, Inc.
34658 This config.status script is free software; the Free Software Foundation
34659 gives unlimited permission to copy, distribute and modify it."
34660 srcdir=$srcdir
34661 INSTALL="$INSTALL"
34662 _ACEOF
34663
34664 cat >>$CONFIG_STATUS <<\_ACEOF
34665 # If no file are specified by the user, then we need to provide default
34666 # value.  By we need to know if files were specified by the user.
34667 ac_need_defaults=:
34668 while test $# != 0
34669 do
34670   case $1 in
34671   --*=*)
34672     ac_option=`expr "x$1" : 'x\([^=]*\)='`
34673     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34674     ac_shift=:
34675     ;;
34676   -*)
34677     ac_option=$1
34678     ac_optarg=$2
34679     ac_shift=shift
34680     ;;
34681   *) # This is not an option, so the user has probably given explicit
34682      # arguments.
34683      ac_option=$1
34684      ac_need_defaults=false;;
34685   esac
34686
34687   case $ac_option in
34688   # Handling of the options.
34689 _ACEOF
34690 cat >>$CONFIG_STATUS <<\_ACEOF
34691   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34692     ac_cs_recheck=: ;;
34693   --version | --vers* | -V )
34694     echo "$ac_cs_version"; exit 0 ;;
34695   --he | --h)
34696     # Conflict between --help and --header
34697     { { echo "$as_me:$LINENO: error: ambiguous option: $1
34698 Try \`$0 --help' for more information." >&5
34699 echo "$as_me: error: ambiguous option: $1
34700 Try \`$0 --help' for more information." >&2;}
34701    { (exit 1); exit 1; }; };;
34702   --help | --hel | -h )
34703     echo "$ac_cs_usage"; exit 0 ;;
34704   --debug | --d* | -d )
34705     debug=: ;;
34706   --file | --fil | --fi | --f )
34707     $ac_shift
34708     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34709     ac_need_defaults=false;;
34710   --header | --heade | --head | --hea )
34711     $ac_shift
34712     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34713     ac_need_defaults=false;;
34714   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34715   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34716     ac_cs_silent=: ;;
34717
34718   # This is an error.
34719   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34720 Try \`$0 --help' for more information." >&5
34721 echo "$as_me: error: unrecognized option: $1
34722 Try \`$0 --help' for more information." >&2;}
34723    { (exit 1); exit 1; }; } ;;
34724
34725   *) ac_config_targets="$ac_config_targets $1" ;;
34726
34727   esac
34728   shift
34729 done
34730
34731 ac_configure_extra_args=
34732
34733 if $ac_cs_silent; then
34734   exec 6>/dev/null
34735   ac_configure_extra_args="$ac_configure_extra_args --silent"
34736 fi
34737
34738 _ACEOF
34739 cat >>$CONFIG_STATUS <<_ACEOF
34740 if \$ac_cs_recheck; then
34741   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34742   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34743 fi
34744
34745 _ACEOF
34746
34747 cat >>$CONFIG_STATUS <<_ACEOF
34748 #
34749 # INIT-COMMANDS section.
34750 #
34751
34752
34753 srcdir="$srcdir"
34754 host="$host"
34755 target="$target"
34756 with_multisubdir="$with_multisubdir"
34757 with_multisrctop="$with_multisrctop"
34758 with_target_subdir="$with_target_subdir"
34759 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34760 multi_basedir="$multi_basedir"
34761 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34762 CC="$CC"
34763 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34764
34765
34766 # The HP-UX ksh and POSIX shell print the target directory to stdout
34767 # if CDPATH is set.
34768 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34769
34770 sed_quote_subst='$sed_quote_subst'
34771 double_quote_subst='$double_quote_subst'
34772 delay_variable_subst='$delay_variable_subst'
34773 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34774 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34775 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34776 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34777 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34778 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34779 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34780 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34781 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34782 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34783 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34784 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34785 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34786 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34787 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34788 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34789 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34790 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34791 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34792 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34793 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34794 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34795 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34796 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34797 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34798 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34799 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34800 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34801 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34802 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34803 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34804 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34805 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34806 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34807 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34808 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34809 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34810 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34811 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34812 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34813 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34814 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34815 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34816 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34817 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"`'
34818 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34819 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34820 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34821 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34822 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34823 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34824 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34825 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34826 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34827 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34828 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34829 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34830 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34831 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34832 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34833 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34834 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34835 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34836 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34837 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34838 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34839 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34840 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34841 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34842 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34843 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34844 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34845 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34846 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34847 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34848 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34849 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34850 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34851 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34852 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34853 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34854 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34855 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34856 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34857 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34858 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34859 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34860 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34861 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34862 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34863 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34864 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34865 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34866 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34867 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34868 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34869 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34870 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34871 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34872 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34873 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34874 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34875 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34876 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34877 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34878 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34879 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34880 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34881 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34882 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34883 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34884 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34885 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34886 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34887 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34888 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34889 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34890 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34891 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34892 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34893 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34894 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34895 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34896 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34897 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34898 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34899 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34900 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34901 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34902 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34903 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34904 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34905 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34906 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34907 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34908 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34909 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34910 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34911 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34912 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34913 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34914 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34915 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34916 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34917 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34918 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34919 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34920 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34921 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34922 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34923 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34924 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34925 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34926 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34927 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34928 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34929 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34930 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34931 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34932 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34933 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34934 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34935 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34936 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34937 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34938 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34939 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34940 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34941 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34942 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34943 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34944
34945 LTCC='$LTCC'
34946 LTCFLAGS='$LTCFLAGS'
34947 compiler='$compiler_DEFAULT'
34948
34949 # Quote evaled strings.
34950 for var in SED \
34951 GREP \
34952 EGREP \
34953 FGREP \
34954 LD \
34955 NM \
34956 LN_S \
34957 lt_SP2NL \
34958 lt_NL2SP \
34959 reload_flag \
34960 OBJDUMP \
34961 deplibs_check_method \
34962 file_magic_cmd \
34963 AR \
34964 AR_FLAGS \
34965 STRIP \
34966 RANLIB \
34967 CC \
34968 CFLAGS \
34969 compiler \
34970 lt_cv_sys_global_symbol_pipe \
34971 lt_cv_sys_global_symbol_to_cdecl \
34972 lt_cv_sys_global_symbol_to_c_name_address \
34973 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34974 SHELL \
34975 ECHO \
34976 lt_prog_compiler_no_builtin_flag \
34977 lt_prog_compiler_wl \
34978 lt_prog_compiler_pic \
34979 lt_prog_compiler_static \
34980 lt_cv_prog_compiler_c_o \
34981 need_locks \
34982 DSYMUTIL \
34983 NMEDIT \
34984 LIPO \
34985 OTOOL \
34986 OTOOL64 \
34987 shrext_cmds \
34988 export_dynamic_flag_spec \
34989 whole_archive_flag_spec \
34990 compiler_needs_object \
34991 with_gnu_ld \
34992 allow_undefined_flag \
34993 no_undefined_flag \
34994 hardcode_libdir_flag_spec \
34995 hardcode_libdir_flag_spec_ld \
34996 hardcode_libdir_separator \
34997 fix_srcfile_path \
34998 exclude_expsyms \
34999 include_expsyms \
35000 file_list_spec \
35001 variables_saved_for_relink \
35002 libname_spec \
35003 library_names_spec \
35004 soname_spec \
35005 finish_eval \
35006 old_striplib \
35007 striplib \
35008 compiler_lib_search_dirs \
35009 predep_objects \
35010 postdep_objects \
35011 predeps \
35012 postdeps \
35013 compiler_lib_search_path \
35014 LD_FC \
35015 compiler_FC \
35016 lt_prog_compiler_no_builtin_flag_FC \
35017 lt_prog_compiler_wl_FC \
35018 lt_prog_compiler_pic_FC \
35019 lt_prog_compiler_static_FC \
35020 lt_cv_prog_compiler_c_o_FC \
35021 export_dynamic_flag_spec_FC \
35022 whole_archive_flag_spec_FC \
35023 compiler_needs_object_FC \
35024 with_gnu_ld_FC \
35025 allow_undefined_flag_FC \
35026 no_undefined_flag_FC \
35027 hardcode_libdir_flag_spec_FC \
35028 hardcode_libdir_flag_spec_ld_FC \
35029 hardcode_libdir_separator_FC \
35030 fix_srcfile_path_FC \
35031 exclude_expsyms_FC \
35032 include_expsyms_FC \
35033 file_list_spec_FC \
35034 compiler_lib_search_dirs_FC \
35035 predep_objects_FC \
35036 postdep_objects_FC \
35037 predeps_FC \
35038 postdeps_FC \
35039 compiler_lib_search_path_FC; do
35040     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35041     *[\\\\\\\`\\"\\\$]*)
35042       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35043       ;;
35044     *)
35045       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35046       ;;
35047     esac
35048 done
35049
35050 # Double-quote double-evaled strings.
35051 for var in reload_cmds \
35052 old_postinstall_cmds \
35053 old_postuninstall_cmds \
35054 old_archive_cmds \
35055 extract_expsyms_cmds \
35056 old_archive_from_new_cmds \
35057 old_archive_from_expsyms_cmds \
35058 archive_cmds \
35059 archive_expsym_cmds \
35060 module_cmds \
35061 module_expsym_cmds \
35062 export_symbols_cmds \
35063 prelink_cmds \
35064 postinstall_cmds \
35065 postuninstall_cmds \
35066 finish_cmds \
35067 sys_lib_search_path_spec \
35068 sys_lib_dlsearch_path_spec \
35069 old_archive_cmds_FC \
35070 old_archive_from_new_cmds_FC \
35071 old_archive_from_expsyms_cmds_FC \
35072 archive_cmds_FC \
35073 archive_expsym_cmds_FC \
35074 module_cmds_FC \
35075 module_expsym_cmds_FC \
35076 export_symbols_cmds_FC \
35077 prelink_cmds_FC; do
35078     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35079     *[\\\\\\\`\\"\\\$]*)
35080       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35081       ;;
35082     *)
35083       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35084       ;;
35085     esac
35086 done
35087
35088 # Fix-up fallback echo if it was mangled by the above quoting rules.
35089 case \$lt_ECHO in
35090 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35091   ;;
35092 esac
35093
35094 ac_aux_dir='$ac_aux_dir'
35095 xsi_shell='$xsi_shell'
35096 lt_shell_append='$lt_shell_append'
35097
35098 # See if we are running on zsh, and set the options which allow our
35099 # commands through without removal of \ escapes INIT.
35100 if test -n "\${ZSH_VERSION+set}" ; then
35101    setopt NO_GLOB_SUBST
35102 fi
35103
35104
35105     PACKAGE='$PACKAGE'
35106     VERSION='$VERSION'
35107     TIMESTAMP='$TIMESTAMP'
35108     RM='$RM'
35109     ofile='$ofile'
35110
35111
35112
35113
35114
35115
35116 GCC="$GCC"
35117 CC="$CC"
35118 acx_cv_header_stdint="$acx_cv_header_stdint"
35119 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35120 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35121 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35122 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35123 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35124 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35125 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35126 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35127 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35128 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35129 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35130 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35131 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35132
35133
35134 _ACEOF
35135
35136
35137
35138 cat >>$CONFIG_STATUS <<\_ACEOF
35139 for ac_config_target in $ac_config_targets
35140 do
35141   case "$ac_config_target" in
35142   # Handling of arguments.
35143   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35144   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35145   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35146   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35147   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35148   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35149   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35150 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35151    { (exit 1); exit 1; }; };;
35152   esac
35153 done
35154
35155 # If the user did not use the arguments to specify the items to instantiate,
35156 # then the envvar interface is used.  Set only those that are not.
35157 # We use the long form for the default assignment because of an extremely
35158 # bizarre bug on SunOS 4.1.3.
35159 if $ac_need_defaults; then
35160   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35161   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35162   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35163 fi
35164
35165 # Have a temporary directory for convenience.  Make it in the build tree
35166 # simply because there is no reason to put it here, and in addition,
35167 # creating and moving files from /tmp can sometimes cause problems.
35168 # Create a temporary directory, and hook for its removal unless debugging.
35169 $debug ||
35170 {
35171   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35172   trap '{ (exit 1); exit 1; }' 1 2 13 15
35173 }
35174
35175 # Create a (secure) tmp directory for tmp files.
35176
35177 {
35178   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35179   test -n "$tmp" && test -d "$tmp"
35180 }  ||
35181 {
35182   tmp=./confstat$$-$RANDOM
35183   (umask 077 && mkdir $tmp)
35184 } ||
35185 {
35186    echo "$me: cannot create a temporary directory in ." >&2
35187    { (exit 1); exit 1; }
35188 }
35189
35190 _ACEOF
35191
35192 cat >>$CONFIG_STATUS <<_ACEOF
35193
35194 #
35195 # CONFIG_FILES section.
35196 #
35197
35198 # No need to generate the scripts if there are no CONFIG_FILES.
35199 # This happens for instance when ./config.status config.h
35200 if test -n "\$CONFIG_FILES"; then
35201   # Protect against being on the right side of a sed subst in config.status.
35202   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35203    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35204 s,@SHELL@,$SHELL,;t t
35205 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35206 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35207 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35208 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35209 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35210 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35211 s,@exec_prefix@,$exec_prefix,;t t
35212 s,@prefix@,$prefix,;t t
35213 s,@program_transform_name@,$program_transform_name,;t t
35214 s,@bindir@,$bindir,;t t
35215 s,@sbindir@,$sbindir,;t t
35216 s,@libexecdir@,$libexecdir,;t t
35217 s,@datadir@,$datadir,;t t
35218 s,@sysconfdir@,$sysconfdir,;t t
35219 s,@sharedstatedir@,$sharedstatedir,;t t
35220 s,@localstatedir@,$localstatedir,;t t
35221 s,@libdir@,$libdir,;t t
35222 s,@includedir@,$includedir,;t t
35223 s,@oldincludedir@,$oldincludedir,;t t
35224 s,@infodir@,$infodir,;t t
35225 s,@mandir@,$mandir,;t t
35226 s,@build_alias@,$build_alias,;t t
35227 s,@host_alias@,$host_alias,;t t
35228 s,@target_alias@,$target_alias,;t t
35229 s,@DEFS@,$DEFS,;t t
35230 s,@ECHO_C@,$ECHO_C,;t t
35231 s,@ECHO_N@,$ECHO_N,;t t
35232 s,@ECHO_T@,$ECHO_T,;t t
35233 s,@LIBS@,$LIBS,;t t
35234 s,@build@,$build,;t t
35235 s,@build_cpu@,$build_cpu,;t t
35236 s,@build_vendor@,$build_vendor,;t t
35237 s,@build_os@,$build_os,;t t
35238 s,@build_libsubdir@,$build_libsubdir,;t t
35239 s,@build_subdir@,$build_subdir,;t t
35240 s,@host_subdir@,$host_subdir,;t t
35241 s,@target_subdir@,$target_subdir,;t t
35242 s,@onestep_TRUE@,$onestep_TRUE,;t t
35243 s,@onestep_FALSE@,$onestep_FALSE,;t t
35244 s,@onestep@,$onestep,;t t
35245 s,@host@,$host,;t t
35246 s,@host_cpu@,$host_cpu,;t t
35247 s,@host_vendor@,$host_vendor,;t t
35248 s,@host_os@,$host_os,;t t
35249 s,@target@,$target,;t t
35250 s,@target_cpu@,$target_cpu,;t t
35251 s,@target_vendor@,$target_vendor,;t t
35252 s,@target_os@,$target_os,;t t
35253 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35254 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35255 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35256 s,@CYGPATH_W@,$CYGPATH_W,;t t
35257 s,@PACKAGE@,$PACKAGE,;t t
35258 s,@VERSION@,$VERSION,;t t
35259 s,@ACLOCAL@,$ACLOCAL,;t t
35260 s,@AUTOCONF@,$AUTOCONF,;t t
35261 s,@AUTOMAKE@,$AUTOMAKE,;t t
35262 s,@AUTOHEADER@,$AUTOHEADER,;t t
35263 s,@MAKEINFO@,$MAKEINFO,;t t
35264 s,@install_sh@,$install_sh,;t t
35265 s,@STRIP@,$STRIP,;t t
35266 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35267 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35268 s,@mkdir_p@,$mkdir_p,;t t
35269 s,@AWK@,$AWK,;t t
35270 s,@SET_MAKE@,$SET_MAKE,;t t
35271 s,@am__leading_dot@,$am__leading_dot,;t t
35272 s,@AMTAR@,$AMTAR,;t t
35273 s,@am__tar@,$am__tar,;t t
35274 s,@am__untar@,$am__untar,;t t
35275 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35276 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35277 s,@MAINT@,$MAINT,;t t
35278 s,@multi_basedir@,$multi_basedir,;t t
35279 s,@toolexecdir@,$toolexecdir,;t t
35280 s,@toolexeclibdir@,$toolexeclibdir,;t t
35281 s,@CC@,$CC,;t t
35282 s,@ac_ct_CC@,$ac_ct_CC,;t t
35283 s,@EXEEXT@,$EXEEXT,;t t
35284 s,@OBJEXT@,$OBJEXT,;t t
35285 s,@DEPDIR@,$DEPDIR,;t t
35286 s,@am__include@,$am__include,;t t
35287 s,@am__quote@,$am__quote,;t t
35288 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35289 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35290 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35291 s,@CCDEPMODE@,$CCDEPMODE,;t t
35292 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35293 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35294 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35295 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35296 s,@CFLAGS@,$CFLAGS,;t t
35297 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35298 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35299 s,@AS@,$AS,;t t
35300 s,@ac_ct_AS@,$ac_ct_AS,;t t
35301 s,@AR@,$AR,;t t
35302 s,@ac_ct_AR@,$ac_ct_AR,;t t
35303 s,@RANLIB@,$RANLIB,;t t
35304 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35305 s,@LIBTOOL@,$LIBTOOL,;t t
35306 s,@SED@,$SED,;t t
35307 s,@EGREP@,$EGREP,;t t
35308 s,@FGREP@,$FGREP,;t t
35309 s,@GREP@,$GREP,;t t
35310 s,@LD@,$LD,;t t
35311 s,@DUMPBIN@,$DUMPBIN,;t t
35312 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35313 s,@NM@,$NM,;t t
35314 s,@LN_S@,$LN_S,;t t
35315 s,@OBJDUMP@,$OBJDUMP,;t t
35316 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35317 s,@lt_ECHO@,$lt_ECHO,;t t
35318 s,@DSYMUTIL@,$DSYMUTIL,;t t
35319 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35320 s,@NMEDIT@,$NMEDIT,;t t
35321 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35322 s,@LIPO@,$LIPO,;t t
35323 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35324 s,@OTOOL@,$OTOOL,;t t
35325 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35326 s,@OTOOL64@,$OTOOL64,;t t
35327 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35328 s,@CPP@,$CPP,;t t
35329 s,@CPPFLAGS@,$CPPFLAGS,;t t
35330 s,@enable_shared@,$enable_shared,;t t
35331 s,@enable_static@,$enable_static,;t t
35332 s,@FC@,$FC,;t t
35333 s,@FCFLAGS@,$FCFLAGS,;t t
35334 s,@LDFLAGS@,$LDFLAGS,;t t
35335 s,@ac_ct_FC@,$ac_ct_FC,;t t
35336 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35337 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35338 s,@LIBOBJS@,$LIBOBJS,;t t
35339 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35340 CEOF
35341
35342 _ACEOF
35343
35344   cat >>$CONFIG_STATUS <<\_ACEOF
35345   # Split the substitutions into bite-sized pieces for seds with
35346   # small command number limits, like on Digital OSF/1 and HP-UX.
35347   ac_max_sed_lines=48
35348   ac_sed_frag=1 # Number of current file.
35349   ac_beg=1 # First line for current file.
35350   ac_end=$ac_max_sed_lines # Line after last line for current file.
35351   ac_more_lines=:
35352   ac_sed_cmds=
35353   while $ac_more_lines; do
35354     if test $ac_beg -gt 1; then
35355       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35356     else
35357       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35358     fi
35359     if test ! -s $tmp/subs.frag; then
35360       ac_more_lines=false
35361     else
35362       # The purpose of the label and of the branching condition is to
35363       # speed up the sed processing (if there are no `@' at all, there
35364       # is no need to browse any of the substitutions).
35365       # These are the two extra sed commands mentioned above.
35366       (echo ':t
35367   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35368       if test -z "$ac_sed_cmds"; then
35369         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35370       else
35371         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35372       fi
35373       ac_sed_frag=`expr $ac_sed_frag + 1`
35374       ac_beg=$ac_end
35375       ac_end=`expr $ac_end + $ac_max_sed_lines`
35376     fi
35377   done
35378   if test -z "$ac_sed_cmds"; then
35379     ac_sed_cmds=cat
35380   fi
35381 fi # test -n "$CONFIG_FILES"
35382
35383 _ACEOF
35384 cat >>$CONFIG_STATUS <<\_ACEOF
35385 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35386   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35387   case $ac_file in
35388   - | *:- | *:-:* ) # input from stdin
35389         cat >$tmp/stdin
35390         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35391         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35392   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35393         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35394   * )   ac_file_in=$ac_file.in ;;
35395   esac
35396
35397   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35398   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35400          X"$ac_file" : 'X\(//\)[^/]' \| \
35401          X"$ac_file" : 'X\(//\)$' \| \
35402          X"$ac_file" : 'X\(/\)' \| \
35403          .     : '\(.\)' 2>/dev/null ||
35404 echo X"$ac_file" |
35405     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35406           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35407           /^X\(\/\/\)$/{ s//\1/; q; }
35408           /^X\(\/\).*/{ s//\1/; q; }
35409           s/.*/./; q'`
35410   { if $as_mkdir_p; then
35411     mkdir -p "$ac_dir"
35412   else
35413     as_dir="$ac_dir"
35414     as_dirs=
35415     while test ! -d "$as_dir"; do
35416       as_dirs="$as_dir $as_dirs"
35417       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35419          X"$as_dir" : 'X\(//\)[^/]' \| \
35420          X"$as_dir" : 'X\(//\)$' \| \
35421          X"$as_dir" : 'X\(/\)' \| \
35422          .     : '\(.\)' 2>/dev/null ||
35423 echo X"$as_dir" |
35424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35425           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35426           /^X\(\/\/\)$/{ s//\1/; q; }
35427           /^X\(\/\).*/{ s//\1/; q; }
35428           s/.*/./; q'`
35429     done
35430     test ! -n "$as_dirs" || mkdir $as_dirs
35431   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35432 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35433    { (exit 1); exit 1; }; }; }
35434
35435   ac_builddir=.
35436
35437 if test "$ac_dir" != .; then
35438   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35439   # A "../" for each directory in $ac_dir_suffix.
35440   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35441 else
35442   ac_dir_suffix= ac_top_builddir=
35443 fi
35444
35445 case $srcdir in
35446   .)  # No --srcdir option.  We are building in place.
35447     ac_srcdir=.
35448     if test -z "$ac_top_builddir"; then
35449        ac_top_srcdir=.
35450     else
35451        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35452     fi ;;
35453   [\\/]* | ?:[\\/]* )  # Absolute path.
35454     ac_srcdir=$srcdir$ac_dir_suffix;
35455     ac_top_srcdir=$srcdir ;;
35456   *) # Relative path.
35457     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35458     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35459 esac
35460
35461 # Do not use `cd foo && pwd` to compute absolute paths, because
35462 # the directories may not exist.
35463 case `pwd` in
35464 .) ac_abs_builddir="$ac_dir";;
35465 *)
35466   case "$ac_dir" in
35467   .) ac_abs_builddir=`pwd`;;
35468   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35469   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35470   esac;;
35471 esac
35472 case $ac_abs_builddir in
35473 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35474 *)
35475   case ${ac_top_builddir}. in
35476   .) ac_abs_top_builddir=$ac_abs_builddir;;
35477   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35478   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35479   esac;;
35480 esac
35481 case $ac_abs_builddir in
35482 .) ac_abs_srcdir=$ac_srcdir;;
35483 *)
35484   case $ac_srcdir in
35485   .) ac_abs_srcdir=$ac_abs_builddir;;
35486   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35487   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35488   esac;;
35489 esac
35490 case $ac_abs_builddir in
35491 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35492 *)
35493   case $ac_top_srcdir in
35494   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35495   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35496   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35497   esac;;
35498 esac
35499
35500
35501   case $INSTALL in
35502   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35503   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35504   esac
35505
35506   if test x"$ac_file" != x-; then
35507     { echo "$as_me:$LINENO: creating $ac_file" >&5
35508 echo "$as_me: creating $ac_file" >&6;}
35509     rm -f "$ac_file"
35510   fi
35511   # Let's still pretend it is `configure' which instantiates (i.e., don't
35512   # use $as_me), people would be surprised to read:
35513   #    /* config.h.  Generated by config.status.  */
35514   if test x"$ac_file" = x-; then
35515     configure_input=
35516   else
35517     configure_input="$ac_file.  "
35518   fi
35519   configure_input=$configure_input"Generated from `echo $ac_file_in |
35520                                      sed 's,.*/,,'` by configure."
35521
35522   # First look for the input files in the build tree, otherwise in the
35523   # src tree.
35524   ac_file_inputs=`IFS=:
35525     for f in $ac_file_in; do
35526       case $f in
35527       -) echo $tmp/stdin ;;
35528       [\\/$]*)
35529          # Absolute (can't be DOS-style, as IFS=:)
35530          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35531 echo "$as_me: error: cannot find input file: $f" >&2;}
35532    { (exit 1); exit 1; }; }
35533          echo "$f";;
35534       *) # Relative
35535          if test -f "$f"; then
35536            # Build tree
35537            echo "$f"
35538          elif test -f "$srcdir/$f"; then
35539            # Source tree
35540            echo "$srcdir/$f"
35541          else
35542            # /dev/null tree
35543            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35544 echo "$as_me: error: cannot find input file: $f" >&2;}
35545    { (exit 1); exit 1; }; }
35546          fi;;
35547       esac
35548     done` || { (exit 1); exit 1; }
35549 _ACEOF
35550 cat >>$CONFIG_STATUS <<_ACEOF
35551   sed "$ac_vpsub
35552 $extrasub
35553 _ACEOF
35554 cat >>$CONFIG_STATUS <<\_ACEOF
35555 :t
35556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35557 s,@configure_input@,$configure_input,;t t
35558 s,@srcdir@,$ac_srcdir,;t t
35559 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35560 s,@top_srcdir@,$ac_top_srcdir,;t t
35561 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35562 s,@builddir@,$ac_builddir,;t t
35563 s,@abs_builddir@,$ac_abs_builddir,;t t
35564 s,@top_builddir@,$ac_top_builddir,;t t
35565 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35566 s,@INSTALL@,$ac_INSTALL,;t t
35567 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35568   rm -f $tmp/stdin
35569   if test x"$ac_file" != x-; then
35570     mv $tmp/out $ac_file
35571   else
35572     cat $tmp/out
35573     rm -f $tmp/out
35574   fi
35575
35576 done
35577 _ACEOF
35578 cat >>$CONFIG_STATUS <<\_ACEOF
35579
35580 #
35581 # CONFIG_HEADER section.
35582 #
35583
35584 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35585 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35586 #
35587 # ac_d sets the value in "#define NAME VALUE" lines.
35588 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
35589 ac_dB='[         ].*$,\1#\2'
35590 ac_dC=' '
35591 ac_dD=',;t'
35592 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35593 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
35594 ac_uB='$,\1#\2define\3'
35595 ac_uC=' '
35596 ac_uD=',;t'
35597
35598 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35599   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35600   case $ac_file in
35601   - | *:- | *:-:* ) # input from stdin
35602         cat >$tmp/stdin
35603         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35604         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35605   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35606         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35607   * )   ac_file_in=$ac_file.in ;;
35608   esac
35609
35610   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35611 echo "$as_me: creating $ac_file" >&6;}
35612
35613   # First look for the input files in the build tree, otherwise in the
35614   # src tree.
35615   ac_file_inputs=`IFS=:
35616     for f in $ac_file_in; do
35617       case $f in
35618       -) echo $tmp/stdin ;;
35619       [\\/$]*)
35620          # Absolute (can't be DOS-style, as IFS=:)
35621          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35622 echo "$as_me: error: cannot find input file: $f" >&2;}
35623    { (exit 1); exit 1; }; }
35624          # Do quote $f, to prevent DOS paths from being IFS'd.
35625          echo "$f";;
35626       *) # Relative
35627          if test -f "$f"; then
35628            # Build tree
35629            echo "$f"
35630          elif test -f "$srcdir/$f"; then
35631            # Source tree
35632            echo "$srcdir/$f"
35633          else
35634            # /dev/null tree
35635            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35636 echo "$as_me: error: cannot find input file: $f" >&2;}
35637    { (exit 1); exit 1; }; }
35638          fi;;
35639       esac
35640     done` || { (exit 1); exit 1; }
35641   # Remove the trailing spaces.
35642   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
35643
35644 _ACEOF
35645
35646 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35647 # `conftest.undefs', that substitutes the proper values into
35648 # config.h.in to produce config.h.  The first handles `#define'
35649 # templates, and the second `#undef' templates.
35650 # And first: Protect against being on the right side of a sed subst in
35651 # config.status.  Protect against being in an unquoted here document
35652 # in config.status.
35653 rm -f conftest.defines conftest.undefs
35654 # Using a here document instead of a string reduces the quoting nightmare.
35655 # Putting comments in sed scripts is not portable.
35656 #
35657 # `end' is used to avoid that the second main sed command (meant for
35658 # 0-ary CPP macros) applies to n-ary macro definitions.
35659 # See the Autoconf documentation for `clear'.
35660 cat >confdef2sed.sed <<\_ACEOF
35661 s/[\\&,]/\\&/g
35662 s,[\\$`],\\&,g
35663 t clear
35664 : clear
35665 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35666 t end
35667 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35668 : end
35669 _ACEOF
35670 # If some macros were called several times there might be several times
35671 # the same #defines, which is useless.  Nevertheless, we may not want to
35672 # sort them, since we want the *last* AC-DEFINE to be honored.
35673 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35674 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35675 rm -f confdef2sed.sed
35676
35677 # This sed command replaces #undef with comments.  This is necessary, for
35678 # example, in the case of _POSIX_SOURCE, which is predefined and required
35679 # on some systems where configure will not decide to define it.
35680 cat >>conftest.undefs <<\_ACEOF
35681 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35682 _ACEOF
35683
35684 # Break up conftest.defines because some shells have a limit on the size
35685 # of here documents, and old seds have small limits too (100 cmds).
35686 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35687 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35688 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35689 echo '  :' >>$CONFIG_STATUS
35690 rm -f conftest.tail
35691 while grep . conftest.defines >/dev/null
35692 do
35693   # Write a limited-size here document to $tmp/defines.sed.
35694   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35695   # Speed up: don't consider the non `#define' lines.
35696   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
35697   # Work around the forget-to-reset-the-flag bug.
35698   echo 't clr' >>$CONFIG_STATUS
35699   echo ': clr' >>$CONFIG_STATUS
35700   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35701   echo 'CEOF
35702   sed -f $tmp/defines.sed $tmp/in >$tmp/out
35703   rm -f $tmp/in
35704   mv $tmp/out $tmp/in
35705 ' >>$CONFIG_STATUS
35706   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35707   rm -f conftest.defines
35708   mv conftest.tail conftest.defines
35709 done
35710 rm -f conftest.defines
35711 echo '  fi # grep' >>$CONFIG_STATUS
35712 echo >>$CONFIG_STATUS
35713
35714 # Break up conftest.undefs because some shells have a limit on the size
35715 # of here documents, and old seds have small limits too (100 cmds).
35716 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
35717 rm -f conftest.tail
35718 while grep . conftest.undefs >/dev/null
35719 do
35720   # Write a limited-size here document to $tmp/undefs.sed.
35721   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35722   # Speed up: don't consider the non `#undef'
35723   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
35724   # Work around the forget-to-reset-the-flag bug.
35725   echo 't clr' >>$CONFIG_STATUS
35726   echo ': clr' >>$CONFIG_STATUS
35727   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35728   echo 'CEOF
35729   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35730   rm -f $tmp/in
35731   mv $tmp/out $tmp/in
35732 ' >>$CONFIG_STATUS
35733   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35734   rm -f conftest.undefs
35735   mv conftest.tail conftest.undefs
35736 done
35737 rm -f conftest.undefs
35738
35739 cat >>$CONFIG_STATUS <<\_ACEOF
35740   # Let's still pretend it is `configure' which instantiates (i.e., don't
35741   # use $as_me), people would be surprised to read:
35742   #    /* config.h.  Generated by config.status.  */
35743   if test x"$ac_file" = x-; then
35744     echo "/* Generated by configure.  */" >$tmp/config.h
35745   else
35746     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
35747   fi
35748   cat $tmp/in >>$tmp/config.h
35749   rm -f $tmp/in
35750   if test x"$ac_file" != x-; then
35751     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35752       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35753 echo "$as_me: $ac_file is unchanged" >&6;}
35754     else
35755       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35757          X"$ac_file" : 'X\(//\)[^/]' \| \
35758          X"$ac_file" : 'X\(//\)$' \| \
35759          X"$ac_file" : 'X\(/\)' \| \
35760          .     : '\(.\)' 2>/dev/null ||
35761 echo X"$ac_file" |
35762     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35763           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35764           /^X\(\/\/\)$/{ s//\1/; q; }
35765           /^X\(\/\).*/{ s//\1/; q; }
35766           s/.*/./; q'`
35767       { if $as_mkdir_p; then
35768     mkdir -p "$ac_dir"
35769   else
35770     as_dir="$ac_dir"
35771     as_dirs=
35772     while test ! -d "$as_dir"; do
35773       as_dirs="$as_dir $as_dirs"
35774       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35776          X"$as_dir" : 'X\(//\)[^/]' \| \
35777          X"$as_dir" : 'X\(//\)$' \| \
35778          X"$as_dir" : 'X\(/\)' \| \
35779          .     : '\(.\)' 2>/dev/null ||
35780 echo X"$as_dir" |
35781     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35782           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35783           /^X\(\/\/\)$/{ s//\1/; q; }
35784           /^X\(\/\).*/{ s//\1/; q; }
35785           s/.*/./; q'`
35786     done
35787     test ! -n "$as_dirs" || mkdir $as_dirs
35788   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35790    { (exit 1); exit 1; }; }; }
35791
35792       rm -f $ac_file
35793       mv $tmp/config.h $ac_file
35794     fi
35795   else
35796     cat $tmp/config.h
35797     rm -f $tmp/config.h
35798   fi
35799 # Compute $ac_file's index in $config_headers.
35800 _am_stamp_count=1
35801 for _am_header in $config_headers :; do
35802   case $_am_header in
35803     $ac_file | $ac_file:* )
35804       break ;;
35805     * )
35806       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35807   esac
35808 done
35809 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35810 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35811          X$ac_file : 'X\(//\)[^/]' \| \
35812          X$ac_file : 'X\(//\)$' \| \
35813          X$ac_file : 'X\(/\)' \| \
35814          .     : '\(.\)' 2>/dev/null ||
35815 echo X$ac_file |
35816     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35817           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35818           /^X\(\/\/\)$/{ s//\1/; q; }
35819           /^X\(\/\).*/{ s//\1/; q; }
35820           s/.*/./; q'`/stamp-h$_am_stamp_count
35821 done
35822 _ACEOF
35823 cat >>$CONFIG_STATUS <<\_ACEOF
35824
35825 #
35826 # CONFIG_COMMANDS section.
35827 #
35828 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35829   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35830   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35831   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35832 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35833          X"$ac_dest" : 'X\(//\)[^/]' \| \
35834          X"$ac_dest" : 'X\(//\)$' \| \
35835          X"$ac_dest" : 'X\(/\)' \| \
35836          .     : '\(.\)' 2>/dev/null ||
35837 echo X"$ac_dest" |
35838     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35839           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35840           /^X\(\/\/\)$/{ s//\1/; q; }
35841           /^X\(\/\).*/{ s//\1/; q; }
35842           s/.*/./; q'`
35843   { if $as_mkdir_p; then
35844     mkdir -p "$ac_dir"
35845   else
35846     as_dir="$ac_dir"
35847     as_dirs=
35848     while test ! -d "$as_dir"; do
35849       as_dirs="$as_dir $as_dirs"
35850       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35852          X"$as_dir" : 'X\(//\)[^/]' \| \
35853          X"$as_dir" : 'X\(//\)$' \| \
35854          X"$as_dir" : 'X\(/\)' \| \
35855          .     : '\(.\)' 2>/dev/null ||
35856 echo X"$as_dir" |
35857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35858           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35859           /^X\(\/\/\)$/{ s//\1/; q; }
35860           /^X\(\/\).*/{ s//\1/; q; }
35861           s/.*/./; q'`
35862     done
35863     test ! -n "$as_dirs" || mkdir $as_dirs
35864   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35865 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35866    { (exit 1); exit 1; }; }; }
35867
35868   ac_builddir=.
35869
35870 if test "$ac_dir" != .; then
35871   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35872   # A "../" for each directory in $ac_dir_suffix.
35873   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35874 else
35875   ac_dir_suffix= ac_top_builddir=
35876 fi
35877
35878 case $srcdir in
35879   .)  # No --srcdir option.  We are building in place.
35880     ac_srcdir=.
35881     if test -z "$ac_top_builddir"; then
35882        ac_top_srcdir=.
35883     else
35884        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35885     fi ;;
35886   [\\/]* | ?:[\\/]* )  # Absolute path.
35887     ac_srcdir=$srcdir$ac_dir_suffix;
35888     ac_top_srcdir=$srcdir ;;
35889   *) # Relative path.
35890     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35891     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35892 esac
35893
35894 # Do not use `cd foo && pwd` to compute absolute paths, because
35895 # the directories may not exist.
35896 case `pwd` in
35897 .) ac_abs_builddir="$ac_dir";;
35898 *)
35899   case "$ac_dir" in
35900   .) ac_abs_builddir=`pwd`;;
35901   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35902   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35903   esac;;
35904 esac
35905 case $ac_abs_builddir in
35906 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35907 *)
35908   case ${ac_top_builddir}. in
35909   .) ac_abs_top_builddir=$ac_abs_builddir;;
35910   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35911   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35912   esac;;
35913 esac
35914 case $ac_abs_builddir in
35915 .) ac_abs_srcdir=$ac_srcdir;;
35916 *)
35917   case $ac_srcdir in
35918   .) ac_abs_srcdir=$ac_abs_builddir;;
35919   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35920   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35921   esac;;
35922 esac
35923 case $ac_abs_builddir in
35924 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35925 *)
35926   case $ac_top_srcdir in
35927   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35928   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35929   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35930   esac;;
35931 esac
35932
35933
35934   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35935 echo "$as_me: executing $ac_dest commands" >&6;}
35936   case $ac_dest in
35937     default-1 )
35938 # Only add multilib support code if we just rebuilt the top-level
35939 # Makefile.
35940 case " $CONFIG_FILES " in
35941  *" Makefile "*)
35942    ac_file=Makefile . ${multi_basedir}/config-ml.in
35943    ;;
35944 esac ;;
35945     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35946   # Strip MF so we end up with the name of the file.
35947   mf=`echo "$mf" | sed -e 's/:.*$//'`
35948   # Check whether this is an Automake generated Makefile or not.
35949   # We used to match only the files named `Makefile.in', but
35950   # some people rename them; so instead we look at the file content.
35951   # Grep'ing the first line is not enough: some people post-process
35952   # each Makefile.in and add a new line on top of each file to say so.
35953   # So let's grep whole file.
35954   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35955     dirpart=`(dirname "$mf") 2>/dev/null ||
35956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35957          X"$mf" : 'X\(//\)[^/]' \| \
35958          X"$mf" : 'X\(//\)$' \| \
35959          X"$mf" : 'X\(/\)' \| \
35960          .     : '\(.\)' 2>/dev/null ||
35961 echo X"$mf" |
35962     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35963           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35964           /^X\(\/\/\)$/{ s//\1/; q; }
35965           /^X\(\/\).*/{ s//\1/; q; }
35966           s/.*/./; q'`
35967   else
35968     continue
35969   fi
35970   # Extract the definition of DEPDIR, am__include, and am__quote
35971   # from the Makefile without running `make'.
35972   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35973   test -z "$DEPDIR" && continue
35974   am__include=`sed -n 's/^am__include = //p' < "$mf"`
35975   test -z "am__include" && continue
35976   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35977   # When using ansi2knr, U may be empty or an underscore; expand it
35978   U=`sed -n 's/^U = //p' < "$mf"`
35979   # Find all dependency output files, they are included files with
35980   # $(DEPDIR) in their names.  We invoke sed twice because it is the
35981   # simplest approach to changing $(DEPDIR) to its actual value in the
35982   # expansion.
35983   for file in `sed -n "
35984     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35985        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35986     # Make sure the directory exists.
35987     test -f "$dirpart/$file" && continue
35988     fdir=`(dirname "$file") 2>/dev/null ||
35989 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35990          X"$file" : 'X\(//\)[^/]' \| \
35991          X"$file" : 'X\(//\)$' \| \
35992          X"$file" : 'X\(/\)' \| \
35993          .     : '\(.\)' 2>/dev/null ||
35994 echo X"$file" |
35995     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35996           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35997           /^X\(\/\/\)$/{ s//\1/; q; }
35998           /^X\(\/\).*/{ s//\1/; q; }
35999           s/.*/./; q'`
36000     { if $as_mkdir_p; then
36001     mkdir -p $dirpart/$fdir
36002   else
36003     as_dir=$dirpart/$fdir
36004     as_dirs=
36005     while test ! -d "$as_dir"; do
36006       as_dirs="$as_dir $as_dirs"
36007       as_dir=`(dirname "$as_dir") 2>/dev/null ||
36008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36009          X"$as_dir" : 'X\(//\)[^/]' \| \
36010          X"$as_dir" : 'X\(//\)$' \| \
36011          X"$as_dir" : 'X\(/\)' \| \
36012          .     : '\(.\)' 2>/dev/null ||
36013 echo X"$as_dir" |
36014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36015           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36016           /^X\(\/\/\)$/{ s//\1/; q; }
36017           /^X\(\/\).*/{ s//\1/; q; }
36018           s/.*/./; q'`
36019     done
36020     test ! -n "$as_dirs" || mkdir $as_dirs
36021   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36022 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36023    { (exit 1); exit 1; }; }; }
36024
36025     # echo "creating $dirpart/$file"
36026     echo '# dummy' > "$dirpart/$file"
36027   done
36028 done
36029  ;;
36030     libtool )
36031
36032     # See if we are running on zsh, and set the options which allow our
36033     # commands through without removal of \ escapes.
36034     if test -n "${ZSH_VERSION+set}" ; then
36035       setopt NO_GLOB_SUBST
36036     fi
36037
36038     cfgfile="${ofile}T"
36039     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36040     $RM "$cfgfile"
36041
36042     cat <<_LT_EOF >> "$cfgfile"
36043 #! $SHELL
36044
36045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36049 #
36050 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36051 #                 2006, 2007, 2008 Free Software Foundation, Inc.
36052 #   Written by Gordon Matzigkeit, 1996
36053 #
36054 #   This file is part of GNU Libtool.
36055 #
36056 # GNU Libtool is free software; you can redistribute it and/or
36057 # modify it under the terms of the GNU General Public License as
36058 # published by the Free Software Foundation; either version 2 of
36059 # the License, or (at your option) any later version.
36060 #
36061 # As a special exception to the GNU General Public License,
36062 # if you distribute this file as part of a program or library that
36063 # is built using GNU Libtool, you may include this file under the
36064 # same distribution terms that you use for the rest of that program.
36065 #
36066 # GNU Libtool is distributed in the hope that it will be useful,
36067 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36068 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36069 # GNU General Public License for more details.
36070 #
36071 # You should have received a copy of the GNU General Public License
36072 # along with GNU Libtool; see the file COPYING.  If not, a copy
36073 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36074 # obtained by writing to the Free Software Foundation, Inc.,
36075 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36076
36077
36078 # The names of the tagged configurations supported by this script.
36079 available_tags="FC "
36080
36081 # ### BEGIN LIBTOOL CONFIG
36082
36083 # Which release of libtool.m4 was used?
36084 macro_version=$macro_version
36085 macro_revision=$macro_revision
36086
36087 # Whether or not to build shared libraries.
36088 build_libtool_libs=$enable_shared
36089
36090 # Whether or not to build static libraries.
36091 build_old_libs=$enable_static
36092
36093 # What type of objects to build.
36094 pic_mode=$pic_mode
36095
36096 # Whether or not to optimize for fast installation.
36097 fast_install=$enable_fast_install
36098
36099 # The host system.
36100 host_alias=$host_alias
36101 host=$host
36102 host_os=$host_os
36103
36104 # The build system.
36105 build_alias=$build_alias
36106 build=$build
36107 build_os=$build_os
36108
36109 # A sed program that does not truncate output.
36110 SED=$lt_SED
36111
36112 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36113 Xsed="\$SED -e 1s/^X//"
36114
36115 # A grep program that handles long lines.
36116 GREP=$lt_GREP
36117
36118 # An ERE matcher.
36119 EGREP=$lt_EGREP
36120
36121 # A literal string matcher.
36122 FGREP=$lt_FGREP
36123
36124 # A BSD- or MS-compatible name lister.
36125 NM=$lt_NM
36126
36127 # Whether we need soft or hard links.
36128 LN_S=$lt_LN_S
36129
36130 # What is the maximum length of a command?
36131 max_cmd_len=$max_cmd_len
36132
36133 # Object file suffix (normally "o").
36134 objext=$ac_objext
36135
36136 # Executable file suffix (normally "").
36137 exeext=$exeext
36138
36139 # whether the shell understands "unset".
36140 lt_unset=$lt_unset
36141
36142 # turn spaces into newlines.
36143 SP2NL=$lt_lt_SP2NL
36144
36145 # turn newlines into spaces.
36146 NL2SP=$lt_lt_NL2SP
36147
36148 # How to create reloadable object files.
36149 reload_flag=$lt_reload_flag
36150 reload_cmds=$lt_reload_cmds
36151
36152 # An object symbol dumper.
36153 OBJDUMP=$lt_OBJDUMP
36154
36155 # Method to check whether dependent libraries are shared objects.
36156 deplibs_check_method=$lt_deplibs_check_method
36157
36158 # Command to use when deplibs_check_method == "file_magic".
36159 file_magic_cmd=$lt_file_magic_cmd
36160
36161 # The archiver.
36162 AR=$lt_AR
36163 AR_FLAGS=$lt_AR_FLAGS
36164
36165 # A symbol stripping program.
36166 STRIP=$lt_STRIP
36167
36168 # Commands used to install an old-style archive.
36169 RANLIB=$lt_RANLIB
36170 old_postinstall_cmds=$lt_old_postinstall_cmds
36171 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36172
36173 # A C compiler.
36174 LTCC=$lt_CC
36175
36176 # LTCC compiler flags.
36177 LTCFLAGS=$lt_CFLAGS
36178
36179 # Take the output of nm and produce a listing of raw symbols and C names.
36180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36181
36182 # Transform the output of nm in a proper C declaration.
36183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36184
36185 # Transform the output of nm in a C name address pair.
36186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36187
36188 # Transform the output of nm in a C name address pair when lib prefix is needed.
36189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36190
36191 # The name of the directory that contains temporary libtool files.
36192 objdir=$objdir
36193
36194 # Shell to use when invoking shell scripts.
36195 SHELL=$lt_SHELL
36196
36197 # An echo program that does not interpret backslashes.
36198 ECHO=$lt_ECHO
36199
36200 # Used to examine libraries when file_magic_cmd begins with "file".
36201 MAGIC_CMD=$MAGIC_CMD
36202
36203 # Must we lock files when doing compilation?
36204 need_locks=$lt_need_locks
36205
36206 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36207 DSYMUTIL=$lt_DSYMUTIL
36208
36209 # Tool to change global to local symbols on Mac OS X.
36210 NMEDIT=$lt_NMEDIT
36211
36212 # Tool to manipulate fat objects and archives on Mac OS X.
36213 LIPO=$lt_LIPO
36214
36215 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36216 OTOOL=$lt_OTOOL
36217
36218 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36219 OTOOL64=$lt_OTOOL64
36220
36221 # Old archive suffix (normally "a").
36222 libext=$libext
36223
36224 # Shared library suffix (normally ".so").
36225 shrext_cmds=$lt_shrext_cmds
36226
36227 # The commands to extract the exported symbol list from a shared archive.
36228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36229
36230 # Variables whose values should be saved in libtool wrapper scripts and
36231 # restored at link time.
36232 variables_saved_for_relink=$lt_variables_saved_for_relink
36233
36234 # Do we need the "lib" prefix for modules?
36235 need_lib_prefix=$need_lib_prefix
36236
36237 # Do we need a version for libraries?
36238 need_version=$need_version
36239
36240 # Library versioning type.
36241 version_type=$version_type
36242
36243 # Shared library runtime path variable.
36244 runpath_var=$runpath_var
36245
36246 # Shared library path variable.
36247 shlibpath_var=$shlibpath_var
36248
36249 # Is shlibpath searched before the hard-coded library search path?
36250 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36251
36252 # Format of library name prefix.
36253 libname_spec=$lt_libname_spec
36254
36255 # List of archive names.  First name is the real one, the rest are links.
36256 # The last name is the one that the linker finds with -lNAME
36257 library_names_spec=$lt_library_names_spec
36258
36259 # The coded name of the library, if different from the real name.
36260 soname_spec=$lt_soname_spec
36261
36262 # Command to use after installation of a shared archive.
36263 postinstall_cmds=$lt_postinstall_cmds
36264
36265 # Command to use after uninstallation of a shared archive.
36266 postuninstall_cmds=$lt_postuninstall_cmds
36267
36268 # Commands used to finish a libtool library installation in a directory.
36269 finish_cmds=$lt_finish_cmds
36270
36271 # As "finish_cmds", except a single script fragment to be evaled but
36272 # not shown.
36273 finish_eval=$lt_finish_eval
36274
36275 # Whether we should hardcode library paths into libraries.
36276 hardcode_into_libs=$hardcode_into_libs
36277
36278 # Compile-time system search path for libraries.
36279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36280
36281 # Run-time system search path for libraries.
36282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36283
36284 # Whether dlopen is supported.
36285 dlopen_support=$enable_dlopen
36286
36287 # Whether dlopen of programs is supported.
36288 dlopen_self=$enable_dlopen_self
36289
36290 # Whether dlopen of statically linked programs is supported.
36291 dlopen_self_static=$enable_dlopen_self_static
36292
36293 # Commands to strip libraries.
36294 old_striplib=$lt_old_striplib
36295 striplib=$lt_striplib
36296
36297
36298 # The linker used to build libraries.
36299 LD=$lt_LD
36300
36301 # Commands used to build an old-style archive.
36302 old_archive_cmds=$lt_old_archive_cmds
36303
36304 # A language specific compiler.
36305 CC=$lt_compiler
36306
36307 # Is the compiler the GNU compiler?
36308 with_gcc=$GCC
36309
36310 # Compiler flag to turn off builtin functions.
36311 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36312
36313 # How to pass a linker flag through the compiler.
36314 wl=$lt_lt_prog_compiler_wl
36315
36316 # Additional compiler flags for building library objects.
36317 pic_flag=$lt_lt_prog_compiler_pic
36318
36319 # Compiler flag to prevent dynamic linking.
36320 link_static_flag=$lt_lt_prog_compiler_static
36321
36322 # Does compiler simultaneously support -c and -o options?
36323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36324
36325 # Whether or not to add -lc for building shared libraries.
36326 build_libtool_need_lc=$archive_cmds_need_lc
36327
36328 # Whether or not to disallow shared libs when runtime libs are static.
36329 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36330
36331 # Compiler flag to allow reflexive dlopens.
36332 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36333
36334 # Compiler flag to generate shared objects directly from archives.
36335 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36336
36337 # Whether the compiler copes with passing no objects directly.
36338 compiler_needs_object=$lt_compiler_needs_object
36339
36340 # Create an old-style archive from a shared archive.
36341 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36342
36343 # Create a temporary old-style archive to link instead of a shared archive.
36344 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36345
36346 # Commands used to build a shared archive.
36347 archive_cmds=$lt_archive_cmds
36348 archive_expsym_cmds=$lt_archive_expsym_cmds
36349
36350 # Commands used to build a loadable module if different from building
36351 # a shared archive.
36352 module_cmds=$lt_module_cmds
36353 module_expsym_cmds=$lt_module_expsym_cmds
36354
36355 # Whether we are building with GNU ld or not.
36356 with_gnu_ld=$lt_with_gnu_ld
36357
36358 # Flag that allows shared libraries with undefined symbols to be built.
36359 allow_undefined_flag=$lt_allow_undefined_flag
36360
36361 # Flag that enforces no undefined symbols.
36362 no_undefined_flag=$lt_no_undefined_flag
36363
36364 # Flag to hardcode \$libdir into a binary during linking.
36365 # This must work even if \$libdir does not exist
36366 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36367
36368 # If ld is used when linking, flag to hardcode \$libdir into a binary
36369 # during linking.  This must work even if \$libdir does not exist.
36370 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36371
36372 # Whether we need a single "-rpath" flag with a separated argument.
36373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36374
36375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36376 # DIR into the resulting binary.
36377 hardcode_direct=$hardcode_direct
36378
36379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36380 # DIR into the resulting binary and the resulting library dependency is
36381 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36382 # library is relocated.
36383 hardcode_direct_absolute=$hardcode_direct_absolute
36384
36385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36386 # into the resulting binary.
36387 hardcode_minus_L=$hardcode_minus_L
36388
36389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36390 # into the resulting binary.
36391 hardcode_shlibpath_var=$hardcode_shlibpath_var
36392
36393 # Set to "yes" if building a shared library automatically hardcodes DIR
36394 # into the library and all subsequent libraries and executables linked
36395 # against it.
36396 hardcode_automatic=$hardcode_automatic
36397
36398 # Set to yes if linker adds runtime paths of dependent libraries
36399 # to runtime path list.
36400 inherit_rpath=$inherit_rpath
36401
36402 # Whether libtool must link a program against all its dependency libraries.
36403 link_all_deplibs=$link_all_deplibs
36404
36405 # Fix the shell variable \$srcfile for the compiler.
36406 fix_srcfile_path=$lt_fix_srcfile_path
36407
36408 # Set to "yes" if exported symbols are required.
36409 always_export_symbols=$always_export_symbols
36410
36411 # The commands to list exported symbols.
36412 export_symbols_cmds=$lt_export_symbols_cmds
36413
36414 # Symbols that should not be listed in the preloaded symbols.
36415 exclude_expsyms=$lt_exclude_expsyms
36416
36417 # Symbols that must always be exported.
36418 include_expsyms=$lt_include_expsyms
36419
36420 # Commands necessary for linking programs (against libraries) with templates.
36421 prelink_cmds=$lt_prelink_cmds
36422
36423 # Specify filename containing input files.
36424 file_list_spec=$lt_file_list_spec
36425
36426 # How to hardcode a shared library path into an executable.
36427 hardcode_action=$hardcode_action
36428
36429 # The directories searched by this compiler when creating a shared library.
36430 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36431
36432 # Dependencies to place before and after the objects being linked to
36433 # create a shared library.
36434 predep_objects=$lt_predep_objects
36435 postdep_objects=$lt_postdep_objects
36436 predeps=$lt_predeps
36437 postdeps=$lt_postdeps
36438
36439 # The library search path used internally by the compiler when linking
36440 # a shared library.
36441 compiler_lib_search_path=$lt_compiler_lib_search_path
36442
36443 # ### END LIBTOOL CONFIG
36444
36445 _LT_EOF
36446
36447   case $host_os in
36448   aix3*)
36449     cat <<\_LT_EOF >> "$cfgfile"
36450 # AIX sometimes has problems with the GCC collect2 program.  For some
36451 # reason, if we set the COLLECT_NAMES environment variable, the problems
36452 # vanish in a puff of smoke.
36453 if test "X${COLLECT_NAMES+set}" != Xset; then
36454   COLLECT_NAMES=
36455   export COLLECT_NAMES
36456 fi
36457 _LT_EOF
36458     ;;
36459   esac
36460
36461
36462 ltmain="$ac_aux_dir/ltmain.sh"
36463
36464
36465   # We use sed instead of cat because bash on DJGPP gets confused if
36466   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36467   # text mode, it properly converts lines to CR/LF.  This bash problem
36468   # is reportedly fixed, but why not run on old versions too?
36469   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36470     || (rm -f "$cfgfile"; exit 1)
36471
36472   case $xsi_shell in
36473   yes)
36474     cat << \_LT_EOF >> "$cfgfile"
36475
36476 # func_dirname file append nondir_replacement
36477 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
36478 # otherwise set result to NONDIR_REPLACEMENT.
36479 func_dirname ()
36480 {
36481   case ${1} in
36482     */*) func_dirname_result="${1%/*}${2}" ;;
36483     *  ) func_dirname_result="${3}" ;;
36484   esac
36485 }
36486
36487 # func_basename file
36488 func_basename ()
36489 {
36490   func_basename_result="${1##*/}"
36491 }
36492
36493 # func_dirname_and_basename file append nondir_replacement
36494 # perform func_basename and func_dirname in a single function
36495 # call:
36496 #   dirname:  Compute the dirname of FILE.  If nonempty,
36497 #             add APPEND to the result, otherwise set result
36498 #             to NONDIR_REPLACEMENT.
36499 #             value returned in "$func_dirname_result"
36500 #   basename: Compute filename of FILE.
36501 #             value retuned in "$func_basename_result"
36502 # Implementation must be kept synchronized with func_dirname
36503 # and func_basename. For efficiency, we do not delegate to
36504 # those functions but instead duplicate the functionality here.
36505 func_dirname_and_basename ()
36506 {
36507   case ${1} in
36508     */*) func_dirname_result="${1%/*}${2}" ;;
36509     *  ) func_dirname_result="${3}" ;;
36510   esac
36511   func_basename_result="${1##*/}"
36512 }
36513
36514 # func_stripname prefix suffix name
36515 # strip PREFIX and SUFFIX off of NAME.
36516 # PREFIX and SUFFIX must not contain globbing or regex special
36517 # characters, hashes, percent signs, but SUFFIX may contain a leading
36518 # dot (in which case that matches only a dot).
36519 func_stripname ()
36520 {
36521   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36522   # positional parameters, so assign one to ordinary parameter first.
36523   func_stripname_result=${3}
36524   func_stripname_result=${func_stripname_result#"${1}"}
36525   func_stripname_result=${func_stripname_result%"${2}"}
36526 }
36527
36528 # func_opt_split
36529 func_opt_split ()
36530 {
36531   func_opt_split_opt=${1%%=*}
36532   func_opt_split_arg=${1#*=}
36533 }
36534
36535 # func_lo2o object
36536 func_lo2o ()
36537 {
36538   case ${1} in
36539     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36540     *)    func_lo2o_result=${1} ;;
36541   esac
36542 }
36543
36544 # func_xform libobj-or-source
36545 func_xform ()
36546 {
36547   func_xform_result=${1%.*}.lo
36548 }
36549
36550 # func_arith arithmetic-term...
36551 func_arith ()
36552 {
36553   func_arith_result=$(( $* ))
36554 }
36555
36556 # func_len string
36557 # STRING may not start with a hyphen.
36558 func_len ()
36559 {
36560   func_len_result=${#1}
36561 }
36562
36563 _LT_EOF
36564     ;;
36565   *) # Bourne compatible functions.
36566     cat << \_LT_EOF >> "$cfgfile"
36567
36568 # func_dirname file append nondir_replacement
36569 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
36570 # otherwise set result to NONDIR_REPLACEMENT.
36571 func_dirname ()
36572 {
36573   # Extract subdirectory from the argument.
36574   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36575   if test "X$func_dirname_result" = "X${1}"; then
36576     func_dirname_result="${3}"
36577   else
36578     func_dirname_result="$func_dirname_result${2}"
36579   fi
36580 }
36581
36582 # func_basename file
36583 func_basename ()
36584 {
36585   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36586 }
36587
36588
36589 # func_stripname prefix suffix name
36590 # strip PREFIX and SUFFIX off of NAME.
36591 # PREFIX and SUFFIX must not contain globbing or regex special
36592 # characters, hashes, percent signs, but SUFFIX may contain a leading
36593 # dot (in which case that matches only a dot).
36594 # func_strip_suffix prefix name
36595 func_stripname ()
36596 {
36597   case ${2} in
36598     .*) func_stripname_result=`$ECHO "X${3}" \
36599            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36600     *)  func_stripname_result=`$ECHO "X${3}" \
36601            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36602   esac
36603 }
36604
36605 # sed scripts:
36606 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36607 my_sed_long_arg='1s/^-[^=]*=//'
36608
36609 # func_opt_split
36610 func_opt_split ()
36611 {
36612   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36613   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36614 }
36615
36616 # func_lo2o object
36617 func_lo2o ()
36618 {
36619   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36620 }
36621
36622 # func_xform libobj-or-source
36623 func_xform ()
36624 {
36625   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36626 }
36627
36628 # func_arith arithmetic-term...
36629 func_arith ()
36630 {
36631   func_arith_result=`expr "$@"`
36632 }
36633
36634 # func_len string
36635 # STRING may not start with a hyphen.
36636 func_len ()
36637 {
36638   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36639 }
36640
36641 _LT_EOF
36642 esac
36643
36644 case $lt_shell_append in
36645   yes)
36646     cat << \_LT_EOF >> "$cfgfile"
36647
36648 # func_append var value
36649 # Append VALUE to the end of shell variable VAR.
36650 func_append ()
36651 {
36652   eval "$1+=\$2"
36653 }
36654 _LT_EOF
36655     ;;
36656   *)
36657     cat << \_LT_EOF >> "$cfgfile"
36658
36659 # func_append var value
36660 # Append VALUE to the end of shell variable VAR.
36661 func_append ()
36662 {
36663   eval "$1=\$$1\$2"
36664 }
36665
36666 _LT_EOF
36667     ;;
36668   esac
36669
36670
36671   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36672     || (rm -f "$cfgfile"; exit 1)
36673
36674   mv -f "$cfgfile" "$ofile" ||
36675     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36676   chmod +x "$ofile"
36677
36678
36679     cat <<_LT_EOF >> "$ofile"
36680
36681 # ### BEGIN LIBTOOL TAG CONFIG: FC
36682
36683 # The linker used to build libraries.
36684 LD=$lt_LD_FC
36685
36686 # Commands used to build an old-style archive.
36687 old_archive_cmds=$lt_old_archive_cmds_FC
36688
36689 # A language specific compiler.
36690 CC=$lt_compiler_FC
36691
36692 # Is the compiler the GNU compiler?
36693 with_gcc=$GCC_FC
36694
36695 # Compiler flag to turn off builtin functions.
36696 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36697
36698 # How to pass a linker flag through the compiler.
36699 wl=$lt_lt_prog_compiler_wl_FC
36700
36701 # Additional compiler flags for building library objects.
36702 pic_flag=$lt_lt_prog_compiler_pic_FC
36703
36704 # Compiler flag to prevent dynamic linking.
36705 link_static_flag=$lt_lt_prog_compiler_static_FC
36706
36707 # Does compiler simultaneously support -c and -o options?
36708 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36709
36710 # Whether or not to add -lc for building shared libraries.
36711 build_libtool_need_lc=$archive_cmds_need_lc_FC
36712
36713 # Whether or not to disallow shared libs when runtime libs are static.
36714 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36715
36716 # Compiler flag to allow reflexive dlopens.
36717 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36718
36719 # Compiler flag to generate shared objects directly from archives.
36720 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36721
36722 # Whether the compiler copes with passing no objects directly.
36723 compiler_needs_object=$lt_compiler_needs_object_FC
36724
36725 # Create an old-style archive from a shared archive.
36726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36727
36728 # Create a temporary old-style archive to link instead of a shared archive.
36729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36730
36731 # Commands used to build a shared archive.
36732 archive_cmds=$lt_archive_cmds_FC
36733 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36734
36735 # Commands used to build a loadable module if different from building
36736 # a shared archive.
36737 module_cmds=$lt_module_cmds_FC
36738 module_expsym_cmds=$lt_module_expsym_cmds_FC
36739
36740 # Whether we are building with GNU ld or not.
36741 with_gnu_ld=$lt_with_gnu_ld_FC
36742
36743 # Flag that allows shared libraries with undefined symbols to be built.
36744 allow_undefined_flag=$lt_allow_undefined_flag_FC
36745
36746 # Flag that enforces no undefined symbols.
36747 no_undefined_flag=$lt_no_undefined_flag_FC
36748
36749 # Flag to hardcode \$libdir into a binary during linking.
36750 # This must work even if \$libdir does not exist
36751 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36752
36753 # If ld is used when linking, flag to hardcode \$libdir into a binary
36754 # during linking.  This must work even if \$libdir does not exist.
36755 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36756
36757 # Whether we need a single "-rpath" flag with a separated argument.
36758 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36759
36760 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36761 # DIR into the resulting binary.
36762 hardcode_direct=$hardcode_direct_FC
36763
36764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36765 # DIR into the resulting binary and the resulting library dependency is
36766 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36767 # library is relocated.
36768 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36769
36770 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36771 # into the resulting binary.
36772 hardcode_minus_L=$hardcode_minus_L_FC
36773
36774 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36775 # into the resulting binary.
36776 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36777
36778 # Set to "yes" if building a shared library automatically hardcodes DIR
36779 # into the library and all subsequent libraries and executables linked
36780 # against it.
36781 hardcode_automatic=$hardcode_automatic_FC
36782
36783 # Set to yes if linker adds runtime paths of dependent libraries
36784 # to runtime path list.
36785 inherit_rpath=$inherit_rpath_FC
36786
36787 # Whether libtool must link a program against all its dependency libraries.
36788 link_all_deplibs=$link_all_deplibs_FC
36789
36790 # Fix the shell variable \$srcfile for the compiler.
36791 fix_srcfile_path=$lt_fix_srcfile_path_FC
36792
36793 # Set to "yes" if exported symbols are required.
36794 always_export_symbols=$always_export_symbols_FC
36795
36796 # The commands to list exported symbols.
36797 export_symbols_cmds=$lt_export_symbols_cmds_FC
36798
36799 # Symbols that should not be listed in the preloaded symbols.
36800 exclude_expsyms=$lt_exclude_expsyms_FC
36801
36802 # Symbols that must always be exported.
36803 include_expsyms=$lt_include_expsyms_FC
36804
36805 # Commands necessary for linking programs (against libraries) with templates.
36806 prelink_cmds=$lt_prelink_cmds_FC
36807
36808 # Specify filename containing input files.
36809 file_list_spec=$lt_file_list_spec_FC
36810
36811 # How to hardcode a shared library path into an executable.
36812 hardcode_action=$hardcode_action_FC
36813
36814 # The directories searched by this compiler when creating a shared library.
36815 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36816
36817 # Dependencies to place before and after the objects being linked to
36818 # create a shared library.
36819 predep_objects=$lt_predep_objects_FC
36820 postdep_objects=$lt_postdep_objects_FC
36821 predeps=$lt_predeps_FC
36822 postdeps=$lt_postdeps_FC
36823
36824 # The library search path used internally by the compiler when linking
36825 # a shared library.
36826 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36827
36828 # ### END LIBTOOL TAG CONFIG: FC
36829 _LT_EOF
36830
36831  ;;
36832     gstdint.h )
36833 if test "$GCC" = yes; then
36834   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36835 else
36836   echo "/* generated for $CC */" > tmp-stdint.h
36837 fi
36838
36839 sed 's/^ *//' >> tmp-stdint.h <<EOF
36840
36841   #ifndef GCC_GENERATED_STDINT_H
36842   #define GCC_GENERATED_STDINT_H 1
36843
36844   #include <sys/types.h>
36845 EOF
36846
36847 if test "$acx_cv_header_stdint" != stdint.h; then
36848   echo "#include <stddef.h>" >> tmp-stdint.h
36849 fi
36850 if test "$acx_cv_header_stdint" != stddef.h; then
36851   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36852 fi
36853
36854 sed 's/^ *//' >> tmp-stdint.h <<EOF
36855   /* glibc uses these symbols as guards to prevent redefinitions.  */
36856   #ifdef __int8_t_defined
36857   #define _INT8_T
36858   #define _INT16_T
36859   #define _INT32_T
36860   #endif
36861   #ifdef __uint32_t_defined
36862   #define _UINT32_T
36863   #endif
36864
36865 EOF
36866
36867 # ----------------- done header, emit basic int types -------------
36868 if test "$acx_cv_header_stdint" = stddef.h; then
36869   sed 's/^ *//' >> tmp-stdint.h <<EOF
36870
36871     #ifndef _UINT8_T
36872     #define _UINT8_T
36873     #ifndef __uint8_t_defined
36874     #define __uint8_t_defined
36875     typedef unsigned $acx_cv_type_int8_t uint8_t;
36876     #endif
36877     #endif
36878
36879     #ifndef _UINT16_T
36880     #define _UINT16_T
36881     #ifndef __uint16_t_defined
36882     #define __uint16_t_defined
36883     typedef unsigned $acx_cv_type_int16_t uint16_t;
36884     #endif
36885     #endif
36886
36887     #ifndef _UINT32_T
36888     #define _UINT32_T
36889     #ifndef __uint32_t_defined
36890     #define __uint32_t_defined
36891     typedef unsigned $acx_cv_type_int32_t uint32_t;
36892     #endif
36893     #endif
36894
36895     #ifndef _INT8_T
36896     #define _INT8_T
36897     #ifndef __int8_t_defined
36898     #define __int8_t_defined
36899     typedef $acx_cv_type_int8_t int8_t;
36900     #endif
36901     #endif
36902
36903     #ifndef _INT16_T
36904     #define _INT16_T
36905     #ifndef __int16_t_defined
36906     #define __int16_t_defined
36907     typedef $acx_cv_type_int16_t int16_t;
36908     #endif
36909     #endif
36910
36911     #ifndef _INT32_T
36912     #define _INT32_T
36913     #ifndef __int32_t_defined
36914     #define __int32_t_defined
36915     typedef $acx_cv_type_int32_t int32_t;
36916     #endif
36917     #endif
36918 EOF
36919 elif test "$ac_cv_type_u_int32_t" = yes; then
36920   sed 's/^ *//' >> tmp-stdint.h <<EOF
36921
36922     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36923     #ifndef _INT8_T
36924     #define _INT8_T
36925     #endif
36926     #ifndef _INT16_T
36927     #define _INT16_T
36928     #endif
36929     #ifndef _INT32_T
36930     #define _INT32_T
36931     #endif
36932
36933     #ifndef _UINT8_T
36934     #define _UINT8_T
36935     #ifndef __uint8_t_defined
36936     #define __uint8_t_defined
36937     typedef u_int8_t uint8_t;
36938     #endif
36939     #endif
36940
36941     #ifndef _UINT16_T
36942     #define _UINT16_T
36943     #ifndef __uint16_t_defined
36944     #define __uint16_t_defined
36945     typedef u_int16_t uint16_t;
36946     #endif
36947     #endif
36948
36949     #ifndef _UINT32_T
36950     #define _UINT32_T
36951     #ifndef __uint32_t_defined
36952     #define __uint32_t_defined
36953     typedef u_int32_t uint32_t;
36954     #endif
36955     #endif
36956 EOF
36957 else
36958   sed 's/^ *//' >> tmp-stdint.h <<EOF
36959
36960     /* Some systems have guard macros to prevent redefinitions, define them.  */
36961     #ifndef _INT8_T
36962     #define _INT8_T
36963     #endif
36964     #ifndef _INT16_T
36965     #define _INT16_T
36966     #endif
36967     #ifndef _INT32_T
36968     #define _INT32_T
36969     #endif
36970     #ifndef _UINT8_T
36971     #define _UINT8_T
36972     #endif
36973     #ifndef _UINT16_T
36974     #define _UINT16_T
36975     #endif
36976     #ifndef _UINT32_T
36977     #define _UINT32_T
36978     #endif
36979 EOF
36980 fi
36981
36982 # ------------- done basic int types, emit int64_t types ------------
36983 if test "$ac_cv_type_uint64_t" = yes; then
36984   sed 's/^ *//' >> tmp-stdint.h <<EOF
36985
36986     /* system headers have good uint64_t and int64_t */
36987     #ifndef _INT64_T
36988     #define _INT64_T
36989     #endif
36990     #ifndef _UINT64_T
36991     #define _UINT64_T
36992     #endif
36993 EOF
36994 elif test "$ac_cv_type_u_int64_t" = yes; then
36995   sed 's/^ *//' >> tmp-stdint.h <<EOF
36996
36997     /* system headers have an u_int64_t (and int64_t) */
36998     #ifndef _INT64_T
36999     #define _INT64_T
37000     #endif
37001     #ifndef _UINT64_T
37002     #define _UINT64_T
37003     #ifndef __uint64_t_defined
37004     #define __uint64_t_defined
37005     typedef u_int64_t uint64_t;
37006     #endif
37007     #endif
37008 EOF
37009 elif test -n "$acx_cv_type_int64_t"; then
37010   sed 's/^ *//' >> tmp-stdint.h <<EOF
37011
37012     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37013     #ifndef _INT64_T
37014     #define _INT64_T
37015     typedef $acx_cv_type_int64_t int64_t;
37016     #endif
37017     #ifndef _UINT64_T
37018     #define _UINT64_T
37019     #ifndef __uint64_t_defined
37020     #define __uint64_t_defined
37021     typedef unsigned $acx_cv_type_int64_t uint64_t;
37022     #endif
37023     #endif
37024 EOF
37025 else
37026   sed 's/^ *//' >> tmp-stdint.h <<EOF
37027
37028     /* some common heuristics for int64_t, using compiler-specific tests */
37029     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37030     #ifndef _INT64_T
37031     #define _INT64_T
37032     #ifndef __int64_t_defined
37033     typedef long long int64_t;
37034     #endif
37035     #endif
37036     #ifndef _UINT64_T
37037     #define _UINT64_T
37038     typedef unsigned long long uint64_t;
37039     #endif
37040
37041     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37042     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37043        does not implement __extension__.  But that compiler doesn't define
37044        __GNUC_MINOR__.  */
37045     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37046     # define __extension__
37047     # endif
37048
37049     # ifndef _INT64_T
37050     # define _INT64_T
37051     __extension__ typedef long long int64_t;
37052     # endif
37053     # ifndef _UINT64_T
37054     # define _UINT64_T
37055     __extension__ typedef unsigned long long uint64_t;
37056     # endif
37057
37058     #elif !defined __STRICT_ANSI__
37059     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37060
37061     #  ifndef _INT64_T
37062     #  define _INT64_T
37063     typedef __int64 int64_t;
37064     #  endif
37065     #  ifndef _UINT64_T
37066     #  define _UINT64_T
37067     typedef unsigned __int64 uint64_t;
37068     #  endif
37069     # endif /* compiler */
37070
37071     #endif /* ANSI version */
37072 EOF
37073 fi
37074
37075 # ------------- done int64_t types, emit intptr types ------------
37076 if test "$ac_cv_type_uintptr_t" != yes; then
37077   sed 's/^ *//' >> tmp-stdint.h <<EOF
37078
37079     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37080     #ifndef __uintptr_t_defined
37081     typedef u$acx_cv_type_intptr_t uintptr_t;
37082     #endif
37083     #ifndef __intptr_t_defined
37084     typedef $acx_cv_type_intptr_t  intptr_t;
37085     #endif
37086 EOF
37087 fi
37088
37089 # ------------- done intptr types, emit int_least types ------------
37090 if test "$ac_cv_type_int_least32_t" != yes; then
37091   sed 's/^ *//' >> tmp-stdint.h <<EOF
37092
37093     /* Define int_least types */
37094     typedef int8_t     int_least8_t;
37095     typedef int16_t    int_least16_t;
37096     typedef int32_t    int_least32_t;
37097     #ifdef _INT64_T
37098     typedef int64_t    int_least64_t;
37099     #endif
37100
37101     typedef uint8_t    uint_least8_t;
37102     typedef uint16_t   uint_least16_t;
37103     typedef uint32_t   uint_least32_t;
37104     #ifdef _UINT64_T
37105     typedef uint64_t   uint_least64_t;
37106     #endif
37107 EOF
37108 fi
37109
37110 # ------------- done intptr types, emit int_fast types ------------
37111 if test "$ac_cv_type_int_fast32_t" != yes; then
37112       sed 's/^ *//' >> tmp-stdint.h <<EOF
37113
37114     /* Define int_fast types.  short is often slow */
37115     typedef int8_t       int_fast8_t;
37116     typedef int          int_fast16_t;
37117     typedef int32_t      int_fast32_t;
37118     #ifdef _INT64_T
37119     typedef int64_t      int_fast64_t;
37120     #endif
37121
37122     typedef uint8_t      uint_fast8_t;
37123     typedef unsigned int uint_fast16_t;
37124     typedef uint32_t     uint_fast32_t;
37125     #ifdef _UINT64_T
37126     typedef uint64_t     uint_fast64_t;
37127     #endif
37128 EOF
37129 fi
37130
37131 if test "$ac_cv_type_uintmax_t" != yes; then
37132   sed 's/^ *//' >> tmp-stdint.h <<EOF
37133
37134     /* Define intmax based on what we found */
37135     #ifdef _INT64_T
37136     typedef int64_t       intmax_t;
37137     #else
37138     typedef long          intmax_t;
37139     #endif
37140     #ifdef _UINT64_T
37141     typedef uint64_t      uintmax_t;
37142     #else
37143     typedef unsigned long uintmax_t;
37144     #endif
37145 EOF
37146 fi
37147
37148 sed 's/^ *//' >> tmp-stdint.h <<EOF
37149
37150   #endif /* GCC_GENERATED_STDINT_H */
37151 EOF
37152
37153 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37154   rm -f tmp-stdint.h
37155 else
37156   mv -f tmp-stdint.h gstdint.h
37157 fi
37158
37159  ;;
37160   esac
37161 done
37162 _ACEOF
37163
37164 cat >>$CONFIG_STATUS <<\_ACEOF
37165
37166 { (exit 0); exit 0; }
37167 _ACEOF
37168 chmod +x $CONFIG_STATUS
37169 ac_clean_files=$ac_clean_files_save
37170
37171
37172 # configure is writing to config.log, and then calls config.status.
37173 # config.status does its own redirection, appending to config.log.
37174 # Unfortunately, on DOS this fails, as config.log is still kept open
37175 # by configure, so config.status won't be able to write to it; its
37176 # output is simply discarded.  So we exec the FD to /dev/null,
37177 # effectively closing config.log, so it can be properly (re)opened and
37178 # appended to by config.status.  When coming back to configure, we
37179 # need to make the FD available again.
37180 if test "$no_create" != yes; then
37181   ac_cs_success=:
37182   ac_config_status_args=
37183   test "$silent" = yes &&
37184     ac_config_status_args="$ac_config_status_args --quiet"
37185   exec 5>/dev/null
37186   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37187   exec 5>>config.log
37188   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37189   # would make configure fail if this is the last instruction.
37190   $ac_cs_success || { (exit 1); exit 1; }
37191 fi
37192