OSDN Git Service

Backport from upstream 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 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8923   echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925   $RM conftest*
8926         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8927
8928         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8929   (eval $ac_compile) 2>&5
8930   ac_status=$?
8931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932   (exit $ac_status); } 2>conftest.err; then
8933           soname=conftest
8934           lib=conftest
8935           libobjs=conftest.$ac_objext
8936           deplibs=
8937           wl=$lt_prog_compiler_wl
8938           pic_flag=$lt_prog_compiler_pic
8939           compiler_flags=-v
8940           linker_flags=-v
8941           verstring=
8942           output_objdir=.
8943           libname=conftest
8944           lt_save_allow_undefined_flag=$allow_undefined_flag
8945           allow_undefined_flag=
8946           if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8947   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8948   ac_status=$?
8949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950   (exit $ac_status); }
8951           then
8952             lt_cv_archive_cmds_need_lc=no
8953           else
8954             lt_cv_archive_cmds_need_lc=yes
8955           fi
8956           allow_undefined_flag=$lt_save_allow_undefined_flag
8957         else
8958           cat conftest.err 1>&5
8959         fi
8960         $RM conftest*
8961
8962 fi
8963 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8964 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8965       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8966       ;;
8967     esac
8968   fi
8969   ;;
8970 esac
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
9123
9124
9125
9126
9127
9128   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9129 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9130
9131 if test "$GCC" = yes; then
9132   case $host_os in
9133     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9134     *) lt_awk_arg="/^libraries:/" ;;
9135   esac
9136   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9137   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9138     # if the path contains ";" then we assume it to be the separator
9139     # otherwise default to the standard path separator (i.e. ":") - it is
9140     # assumed that no part of a normal pathname contains ";" but that should
9141     # okay in the real world where ";" in dirpaths is itself problematic.
9142     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9143   else
9144     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9145   fi
9146   # Ok, now we have the path, separated by spaces, we can step through it
9147   # and add multilib dir if necessary.
9148   lt_tmp_lt_search_path_spec=
9149   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9150   for lt_sys_path in $lt_search_path_spec; do
9151     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9152       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9153     else
9154       test -d "$lt_sys_path" && \
9155         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9156     fi
9157   done
9158   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9159 BEGIN {RS=" "; FS="/|\n";} {
9160   lt_foo="";
9161   lt_count=0;
9162   for (lt_i = NF; lt_i > 0; lt_i--) {
9163     if ($lt_i != "" && $lt_i != ".") {
9164       if ($lt_i == "..") {
9165         lt_count++;
9166       } else {
9167         if (lt_count == 0) {
9168           lt_foo="/" $lt_i lt_foo;
9169         } else {
9170           lt_count--;
9171         }
9172       }
9173     }
9174   }
9175   if (lt_foo != "") { lt_freq[lt_foo]++; }
9176   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9177 }'`
9178   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9179 else
9180   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9181 fi
9182 library_names_spec=
9183 libname_spec='lib$name'
9184 soname_spec=
9185 shrext_cmds=".so"
9186 postinstall_cmds=
9187 postuninstall_cmds=
9188 finish_cmds=
9189 finish_eval=
9190 shlibpath_var=
9191 shlibpath_overrides_runpath=unknown
9192 version_type=none
9193 dynamic_linker="$host_os ld.so"
9194 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9195 need_lib_prefix=unknown
9196 hardcode_into_libs=no
9197
9198 # when you set need_version to no, make sure it does not cause -set_version
9199 # flags to be left without arguments
9200 need_version=unknown
9201
9202 case $host_os in
9203 aix3*)
9204   version_type=linux
9205   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9206   shlibpath_var=LIBPATH
9207
9208   # AIX 3 has no versioning support, so we append a major version to the name.
9209   soname_spec='${libname}${release}${shared_ext}$major'
9210   ;;
9211
9212 aix[4-9]*)
9213   version_type=linux
9214   need_lib_prefix=no
9215   need_version=no
9216   hardcode_into_libs=yes
9217   if test "$host_cpu" = ia64; then
9218     # AIX 5 supports IA64
9219     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9220     shlibpath_var=LD_LIBRARY_PATH
9221   else
9222     # With GCC up to 2.95.x, collect2 would create an import file
9223     # for dependence libraries.  The import file would start with
9224     # the line `#! .'.  This would cause the generated library to
9225     # depend on `.', always an invalid library.  This was fixed in
9226     # development snapshots of GCC prior to 3.0.
9227     case $host_os in
9228       aix4 | aix4.[01] | aix4.[01].*)
9229       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9230            echo ' yes '
9231            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9232         :
9233       else
9234         can_build_shared=no
9235       fi
9236       ;;
9237     esac
9238     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9239     # soname into executable. Probably we can add versioning support to
9240     # collect2, so additional links can be useful in future.
9241     if test "$aix_use_runtimelinking" = yes; then
9242       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9243       # instead of lib<name>.a to let people know that these are not
9244       # typical AIX shared libraries.
9245       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9246     else
9247       # We preserve .a as extension for shared libraries through AIX4.2
9248       # and later when we are not doing run time linking.
9249       library_names_spec='${libname}${release}.a $libname.a'
9250       soname_spec='${libname}${release}${shared_ext}$major'
9251     fi
9252     shlibpath_var=LIBPATH
9253   fi
9254   ;;
9255
9256 amigaos*)
9257   case $host_cpu in
9258   powerpc)
9259     # Since July 2007 AmigaOS4 officially supports .so libraries.
9260     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9261     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9262     ;;
9263   m68k)
9264     library_names_spec='$libname.ixlibrary $libname.a'
9265     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9266     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'
9267     ;;
9268   esac
9269   ;;
9270
9271 beos*)
9272   library_names_spec='${libname}${shared_ext}'
9273   dynamic_linker="$host_os ld.so"
9274   shlibpath_var=LIBRARY_PATH
9275   ;;
9276
9277 bsdi[45]*)
9278   version_type=linux
9279   need_version=no
9280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281   soname_spec='${libname}${release}${shared_ext}$major'
9282   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9283   shlibpath_var=LD_LIBRARY_PATH
9284   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9285   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9286   # the default ld.so.conf also contains /usr/contrib/lib and
9287   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9288   # libtool to hard-code these into programs
9289   ;;
9290
9291 cygwin* | mingw* | pw32* | cegcc*)
9292   version_type=windows
9293   shrext_cmds=".dll"
9294   need_version=no
9295   need_lib_prefix=no
9296
9297   case $GCC,$host_os in
9298   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9299     library_names_spec='$libname.dll.a'
9300     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9301     postinstall_cmds='base_file=`basename \${file}`~
9302       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9303       dldir=$destdir/`dirname \$dlpath`~
9304       test -d \$dldir || mkdir -p \$dldir~
9305       $install_prog $dir/$dlname \$dldir/$dlname~
9306       chmod a+x \$dldir/$dlname~
9307       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9308         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9309       fi'
9310     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9311       dlpath=$dir/\$dldll~
9312        $RM \$dlpath'
9313     shlibpath_overrides_runpath=yes
9314
9315     case $host_os in
9316     cygwin*)
9317       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9318       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9319       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9320       ;;
9321     mingw* | cegcc*)
9322       # MinGW DLLs use traditional 'lib' prefix
9323       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9324       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9325       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9326         # It is most probably a Windows format PATH printed by
9327         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9328         # path with ; separators, and with drive letters. We can handle the
9329         # drive letters (cygwin fileutils understands them), so leave them,
9330         # especially as we might pass files found there to a mingw objdump,
9331         # which wouldn't understand a cygwinified path. Ahh.
9332         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9333       else
9334         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9335       fi
9336       ;;
9337     pw32*)
9338       # pw32 DLLs use 'pw' prefix rather than 'lib'
9339       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9340       ;;
9341     esac
9342     ;;
9343
9344   *)
9345     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9346     ;;
9347   esac
9348   dynamic_linker='Win32 ld.exe'
9349   # FIXME: first we should search . and the directory the executable is in
9350   shlibpath_var=PATH
9351   ;;
9352
9353 darwin* | rhapsody*)
9354   dynamic_linker="$host_os dyld"
9355   version_type=darwin
9356   need_lib_prefix=no
9357   need_version=no
9358   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9359   soname_spec='${libname}${release}${major}$shared_ext'
9360   shlibpath_overrides_runpath=yes
9361   shlibpath_var=DYLD_LIBRARY_PATH
9362   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9363
9364   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9365   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9366   ;;
9367
9368 dgux*)
9369   version_type=linux
9370   need_lib_prefix=no
9371   need_version=no
9372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9373   soname_spec='${libname}${release}${shared_ext}$major'
9374   shlibpath_var=LD_LIBRARY_PATH
9375   ;;
9376
9377 freebsd1*)
9378   dynamic_linker=no
9379   ;;
9380
9381 freebsd* | dragonfly*)
9382   # DragonFly does not have aout.  When/if they implement a new
9383   # versioning mechanism, adjust this.
9384   if test -x /usr/bin/objformat; then
9385     objformat=`/usr/bin/objformat`
9386   else
9387     case $host_os in
9388     freebsd[123]*) objformat=aout ;;
9389     *) objformat=elf ;;
9390     esac
9391   fi
9392   version_type=freebsd-$objformat
9393   case $version_type in
9394     freebsd-elf*)
9395       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9396       need_version=no
9397       need_lib_prefix=no
9398       ;;
9399     freebsd-*)
9400       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9401       need_version=yes
9402       ;;
9403   esac
9404   shlibpath_var=LD_LIBRARY_PATH
9405   case $host_os in
9406   freebsd2*)
9407     shlibpath_overrides_runpath=yes
9408     ;;
9409   freebsd3.[01]* | freebsdelf3.[01]*)
9410     shlibpath_overrides_runpath=yes
9411     hardcode_into_libs=yes
9412     ;;
9413   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9414   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9415     shlibpath_overrides_runpath=no
9416     hardcode_into_libs=yes
9417     ;;
9418   *) # from 4.6 on, and DragonFly
9419     shlibpath_overrides_runpath=yes
9420     hardcode_into_libs=yes
9421     ;;
9422   esac
9423   ;;
9424
9425 gnu*)
9426   version_type=linux
9427   need_lib_prefix=no
9428   need_version=no
9429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9430   soname_spec='${libname}${release}${shared_ext}$major'
9431   shlibpath_var=LD_LIBRARY_PATH
9432   hardcode_into_libs=yes
9433   ;;
9434
9435 hpux9* | hpux10* | hpux11*)
9436   # Give a soname corresponding to the major version so that dld.sl refuses to
9437   # link against other versions.
9438   version_type=sunos
9439   need_lib_prefix=no
9440   need_version=no
9441   case $host_cpu in
9442   ia64*)
9443     shrext_cmds='.so'
9444     hardcode_into_libs=yes
9445     dynamic_linker="$host_os dld.so"
9446     shlibpath_var=LD_LIBRARY_PATH
9447     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9448     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449     soname_spec='${libname}${release}${shared_ext}$major'
9450     if test "X$HPUX_IA64_MODE" = X32; then
9451       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9452     else
9453       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9454     fi
9455     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9456     ;;
9457   hppa*64*)
9458     shrext_cmds='.sl'
9459     hardcode_into_libs=yes
9460     dynamic_linker="$host_os dld.sl"
9461     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9462     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464     soname_spec='${libname}${release}${shared_ext}$major'
9465     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9466     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9467     ;;
9468   *)
9469     shrext_cmds='.sl'
9470     dynamic_linker="$host_os dld.sl"
9471     shlibpath_var=SHLIB_PATH
9472     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9474     soname_spec='${libname}${release}${shared_ext}$major'
9475     ;;
9476   esac
9477   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9478   postinstall_cmds='chmod 555 $lib'
9479   ;;
9480
9481 interix[3-9]*)
9482   version_type=linux
9483   need_lib_prefix=no
9484   need_version=no
9485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9486   soname_spec='${libname}${release}${shared_ext}$major'
9487   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9488   shlibpath_var=LD_LIBRARY_PATH
9489   shlibpath_overrides_runpath=no
9490   hardcode_into_libs=yes
9491   ;;
9492
9493 irix5* | irix6* | nonstopux*)
9494   case $host_os in
9495     nonstopux*) version_type=nonstopux ;;
9496     *)
9497         if test "$lt_cv_prog_gnu_ld" = yes; then
9498                 version_type=linux
9499         else
9500                 version_type=irix
9501         fi ;;
9502   esac
9503   need_lib_prefix=no
9504   need_version=no
9505   soname_spec='${libname}${release}${shared_ext}$major'
9506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9507   case $host_os in
9508   irix5* | nonstopux*)
9509     libsuff= shlibsuff=
9510     ;;
9511   *)
9512     case $LD in # libtool.m4 will add one of these switches to LD
9513     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9514       libsuff= shlibsuff= libmagic=32-bit;;
9515     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9516       libsuff=32 shlibsuff=N32 libmagic=N32;;
9517     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9518       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9519     *) libsuff= shlibsuff= libmagic=never-match;;
9520     esac
9521     ;;
9522   esac
9523   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9524   shlibpath_overrides_runpath=no
9525   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9526   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9527   hardcode_into_libs=yes
9528   ;;
9529
9530 # No shared lib support for Linux oldld, aout, or coff.
9531 linux*oldld* | linux*aout* | linux*coff*)
9532   dynamic_linker=no
9533   ;;
9534
9535 # This must be Linux ELF.
9536 linux* | k*bsd*-gnu)
9537   version_type=linux
9538   need_lib_prefix=no
9539   need_version=no
9540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541   soname_spec='${libname}${release}${shared_ext}$major'
9542   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9543   shlibpath_var=LD_LIBRARY_PATH
9544   shlibpath_overrides_runpath=no
9545
9546   # Some binutils ld are patched to set DT_RUNPATH
9547   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9548   echo $ECHO_N "(cached) $ECHO_C" >&6
9549 else
9550   lt_cv_shlibpath_overrides_runpath=no
9551     save_LDFLAGS=$LDFLAGS
9552     save_libdir=$libdir
9553     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9554          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9555     if test x$gcc_no_link = xyes; then
9556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9558    { (exit 1); exit 1; }; }
9559 fi
9560 cat >conftest.$ac_ext <<_ACEOF
9561 /* confdefs.h.  */
9562 _ACEOF
9563 cat confdefs.h >>conftest.$ac_ext
9564 cat >>conftest.$ac_ext <<_ACEOF
9565 /* end confdefs.h.  */
9566
9567 int
9568 main ()
9569 {
9570
9571   ;
9572   return 0;
9573 }
9574 _ACEOF
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577   (eval $ac_link) 2>conftest.er1
9578   ac_status=$?
9579   grep -v '^ *+' conftest.er1 >conftest.err
9580   rm -f conftest.er1
9581   cat conftest.err >&5
9582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583   (exit $ac_status); } &&
9584          { ac_try='test -z "$ac_c_werror_flag"
9585                          || test ! -s conftest.err'
9586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587   (eval $ac_try) 2>&5
9588   ac_status=$?
9589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590   (exit $ac_status); }; } &&
9591          { ac_try='test -s conftest$ac_exeext'
9592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593   (eval $ac_try) 2>&5
9594   ac_status=$?
9595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596   (exit $ac_status); }; }; then
9597   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9598   lt_cv_shlibpath_overrides_runpath=yes
9599 fi
9600
9601 else
9602   echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9604
9605 fi
9606 rm -f conftest.err conftest.$ac_objext \
9607       conftest$ac_exeext conftest.$ac_ext
9608     LDFLAGS=$save_LDFLAGS
9609     libdir=$save_libdir
9610
9611 fi
9612
9613   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9614
9615   # This implies no fast_install, which is unacceptable.
9616   # Some rework will be needed to allow for fast_install
9617   # before this can be enabled.
9618   hardcode_into_libs=yes
9619
9620   # Append ld.so.conf contents to the search path
9621   if test -f /etc/ld.so.conf; then
9622     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' ' '`
9623     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9624   fi
9625
9626   # We used to test for /lib/ld.so.1 and disable shared libraries on
9627   # powerpc, because MkLinux only supported shared libraries with the
9628   # GNU dynamic linker.  Since this was broken with cross compilers,
9629   # most powerpc-linux boxes support dynamic linking these days and
9630   # people can always --disable-shared, the test was removed, and we
9631   # assume the GNU/Linux dynamic linker is in use.
9632   dynamic_linker='GNU/Linux ld.so'
9633   ;;
9634
9635 netbsd*)
9636   version_type=sunos
9637   need_lib_prefix=no
9638   need_version=no
9639   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9640     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9641     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9642     dynamic_linker='NetBSD (a.out) ld.so'
9643   else
9644     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9645     soname_spec='${libname}${release}${shared_ext}$major'
9646     dynamic_linker='NetBSD ld.elf_so'
9647   fi
9648   shlibpath_var=LD_LIBRARY_PATH
9649   shlibpath_overrides_runpath=yes
9650   hardcode_into_libs=yes
9651   ;;
9652
9653 newsos6)
9654   version_type=linux
9655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9656   shlibpath_var=LD_LIBRARY_PATH
9657   shlibpath_overrides_runpath=yes
9658   ;;
9659
9660 *nto* | *qnx*)
9661   version_type=qnx
9662   need_lib_prefix=no
9663   need_version=no
9664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9665   soname_spec='${libname}${release}${shared_ext}$major'
9666   shlibpath_var=LD_LIBRARY_PATH
9667   shlibpath_overrides_runpath=no
9668   hardcode_into_libs=yes
9669   dynamic_linker='ldqnx.so'
9670   ;;
9671
9672 openbsd*)
9673   version_type=sunos
9674   sys_lib_dlsearch_path_spec="/usr/lib"
9675   need_lib_prefix=no
9676   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9677   case $host_os in
9678     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9679     *)                          need_version=no  ;;
9680   esac
9681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9682   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9683   shlibpath_var=LD_LIBRARY_PATH
9684   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9685     case $host_os in
9686       openbsd2.[89] | openbsd2.[89].*)
9687         shlibpath_overrides_runpath=no
9688         ;;
9689       *)
9690         shlibpath_overrides_runpath=yes
9691         ;;
9692       esac
9693   else
9694     shlibpath_overrides_runpath=yes
9695   fi
9696   ;;
9697
9698 os2*)
9699   libname_spec='$name'
9700   shrext_cmds=".dll"
9701   need_lib_prefix=no
9702   library_names_spec='$libname${shared_ext} $libname.a'
9703   dynamic_linker='OS/2 ld.exe'
9704   shlibpath_var=LIBPATH
9705   ;;
9706
9707 osf3* | osf4* | osf5*)
9708   version_type=osf
9709   need_lib_prefix=no
9710   need_version=no
9711   soname_spec='${libname}${release}${shared_ext}$major'
9712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9713   shlibpath_var=LD_LIBRARY_PATH
9714   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9715   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9716   ;;
9717
9718 rdos*)
9719   dynamic_linker=no
9720   ;;
9721
9722 solaris*)
9723   version_type=linux
9724   need_lib_prefix=no
9725   need_version=no
9726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727   soname_spec='${libname}${release}${shared_ext}$major'
9728   shlibpath_var=LD_LIBRARY_PATH
9729   shlibpath_overrides_runpath=yes
9730   hardcode_into_libs=yes
9731   # ldd complains unless libraries are executable
9732   postinstall_cmds='chmod +x $lib'
9733   ;;
9734
9735 sunos4*)
9736   version_type=sunos
9737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9738   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9739   shlibpath_var=LD_LIBRARY_PATH
9740   shlibpath_overrides_runpath=yes
9741   if test "$with_gnu_ld" = yes; then
9742     need_lib_prefix=no
9743   fi
9744   need_version=yes
9745   ;;
9746
9747 sysv4 | sysv4.3*)
9748   version_type=linux
9749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750   soname_spec='${libname}${release}${shared_ext}$major'
9751   shlibpath_var=LD_LIBRARY_PATH
9752   case $host_vendor in
9753     sni)
9754       shlibpath_overrides_runpath=no
9755       need_lib_prefix=no
9756       runpath_var=LD_RUN_PATH
9757       ;;
9758     siemens)
9759       need_lib_prefix=no
9760       ;;
9761     motorola)
9762       need_lib_prefix=no
9763       need_version=no
9764       shlibpath_overrides_runpath=no
9765       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9766       ;;
9767   esac
9768   ;;
9769
9770 sysv4*MP*)
9771   if test -d /usr/nec ;then
9772     version_type=linux
9773     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9774     soname_spec='$libname${shared_ext}.$major'
9775     shlibpath_var=LD_LIBRARY_PATH
9776   fi
9777   ;;
9778
9779 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9780   version_type=freebsd-elf
9781   need_lib_prefix=no
9782   need_version=no
9783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9784   soname_spec='${libname}${release}${shared_ext}$major'
9785   shlibpath_var=LD_LIBRARY_PATH
9786   shlibpath_overrides_runpath=yes
9787   hardcode_into_libs=yes
9788   if test "$with_gnu_ld" = yes; then
9789     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9790   else
9791     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9792     case $host_os in
9793       sco3.2v5*)
9794         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9795         ;;
9796     esac
9797   fi
9798   sys_lib_dlsearch_path_spec='/usr/lib'
9799   ;;
9800
9801 tpf*)
9802   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9803   version_type=linux
9804   need_lib_prefix=no
9805   need_version=no
9806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807   shlibpath_var=LD_LIBRARY_PATH
9808   shlibpath_overrides_runpath=no
9809   hardcode_into_libs=yes
9810   ;;
9811
9812 uts4*)
9813   version_type=linux
9814   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815   soname_spec='${libname}${release}${shared_ext}$major'
9816   shlibpath_var=LD_LIBRARY_PATH
9817   ;;
9818
9819 *)
9820   dynamic_linker=no
9821   ;;
9822 esac
9823 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9824 echo "${ECHO_T}$dynamic_linker" >&6
9825 test "$dynamic_linker" = no && can_build_shared=no
9826
9827 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9828 if test "$GCC" = yes; then
9829   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9830 fi
9831
9832 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9833   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9834 fi
9835 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9836   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9837 fi
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
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9926 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9927 hardcode_action=
9928 if test -n "$hardcode_libdir_flag_spec" ||
9929    test -n "$runpath_var" ||
9930    test "X$hardcode_automatic" = "Xyes" ; then
9931
9932   # We can hardcode non-existent directories.
9933   if test "$hardcode_direct" != no &&
9934      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9935      # have to relink, otherwise we might link with an installed library
9936      # when we should be linking with a yet-to-be-installed one
9937      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9938      test "$hardcode_minus_L" != no; then
9939     # Linking always hardcodes the temporary library directory.
9940     hardcode_action=relink
9941   else
9942     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9943     hardcode_action=immediate
9944   fi
9945 else
9946   # We cannot hardcode anything, or else we can only hardcode existing
9947   # directories.
9948   hardcode_action=unsupported
9949 fi
9950 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9951 echo "${ECHO_T}$hardcode_action" >&6
9952
9953 if test "$hardcode_action" = relink ||
9954    test "$inherit_rpath" = yes; then
9955   # Fast installation is not supported
9956   enable_fast_install=no
9957 elif test "$shlibpath_overrides_runpath" = yes ||
9958      test "$enable_shared" = no; then
9959   # Fast installation is not necessary
9960   enable_fast_install=needless
9961 fi
9962
9963
9964
9965
9966
9967
9968   if test "x$enable_dlopen" != xyes; then
9969   enable_dlopen=unknown
9970   enable_dlopen_self=unknown
9971   enable_dlopen_self_static=unknown
9972 else
9973   lt_cv_dlopen=no
9974   lt_cv_dlopen_libs=
9975
9976   case $host_os in
9977   beos*)
9978     lt_cv_dlopen="load_add_on"
9979     lt_cv_dlopen_libs=
9980     lt_cv_dlopen_self=yes
9981     ;;
9982
9983   mingw* | pw32* | cegcc*)
9984     lt_cv_dlopen="LoadLibrary"
9985     lt_cv_dlopen_libs=
9986     ;;
9987
9988   cygwin*)
9989     lt_cv_dlopen="dlopen"
9990     lt_cv_dlopen_libs=
9991     ;;
9992
9993   darwin*)
9994   # if libdl is installed we need to link against it
9995     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9996 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9997 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9998   echo $ECHO_N "(cached) $ECHO_C" >&6
9999 else
10000   ac_check_lib_save_LIBS=$LIBS
10001 LIBS="-ldl  $LIBS"
10002 if test x$gcc_no_link = xyes; then
10003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10005    { (exit 1); exit 1; }; }
10006 fi
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h.  */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h.  */
10013
10014 /* Override any gcc2 internal prototype to avoid an error.  */
10015 #ifdef __cplusplus
10016 extern "C"
10017 #endif
10018 /* We use char because int might match the return type of a gcc2
10019    builtin and then its argument prototype would still apply.  */
10020 char dlopen ();
10021 int
10022 main ()
10023 {
10024 dlopen ();
10025   ;
10026   return 0;
10027 }
10028 _ACEOF
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031   (eval $ac_link) 2>conftest.er1
10032   ac_status=$?
10033   grep -v '^ *+' conftest.er1 >conftest.err
10034   rm -f conftest.er1
10035   cat conftest.err >&5
10036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037   (exit $ac_status); } &&
10038          { ac_try='test -z "$ac_c_werror_flag"
10039                          || test ! -s conftest.err'
10040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041   (eval $ac_try) 2>&5
10042   ac_status=$?
10043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044   (exit $ac_status); }; } &&
10045          { ac_try='test -s conftest$ac_exeext'
10046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047   (eval $ac_try) 2>&5
10048   ac_status=$?
10049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050   (exit $ac_status); }; }; then
10051   ac_cv_lib_dl_dlopen=yes
10052 else
10053   echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10055
10056 ac_cv_lib_dl_dlopen=no
10057 fi
10058 rm -f conftest.err conftest.$ac_objext \
10059       conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10061 fi
10062 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10063 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10064 if test $ac_cv_lib_dl_dlopen = yes; then
10065   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10066 else
10067
10068     lt_cv_dlopen="dyld"
10069     lt_cv_dlopen_libs=
10070     lt_cv_dlopen_self=yes
10071
10072 fi
10073
10074     ;;
10075
10076   *)
10077     echo "$as_me:$LINENO: checking for shl_load" >&5
10078 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10079 if test "${ac_cv_func_shl_load+set}" = set; then
10080   echo $ECHO_N "(cached) $ECHO_C" >&6
10081 else
10082   if test x$gcc_no_link = xyes; then
10083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10085    { (exit 1); exit 1; }; }
10086 fi
10087 cat >conftest.$ac_ext <<_ACEOF
10088 /* confdefs.h.  */
10089 _ACEOF
10090 cat confdefs.h >>conftest.$ac_ext
10091 cat >>conftest.$ac_ext <<_ACEOF
10092 /* end confdefs.h.  */
10093 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10095 #define shl_load innocuous_shl_load
10096
10097 /* System header to define __stub macros and hopefully few prototypes,
10098     which can conflict with char shl_load (); below.
10099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10100     <limits.h> exists even on freestanding compilers.  */
10101
10102 #ifdef __STDC__
10103 # include <limits.h>
10104 #else
10105 # include <assert.h>
10106 #endif
10107
10108 #undef shl_load
10109
10110 /* Override any gcc2 internal prototype to avoid an error.  */
10111 #ifdef __cplusplus
10112 extern "C"
10113 {
10114 #endif
10115 /* We use char because int might match the return type of a gcc2
10116    builtin and then its argument prototype would still apply.  */
10117 char shl_load ();
10118 /* The GNU C library defines this for functions which it implements
10119     to always fail with ENOSYS.  Some functions are actually named
10120     something starting with __ and the normal name is an alias.  */
10121 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10122 choke me
10123 #else
10124 char (*f) () = shl_load;
10125 #endif
10126 #ifdef __cplusplus
10127 }
10128 #endif
10129
10130 int
10131 main ()
10132 {
10133 return f != shl_load;
10134   ;
10135   return 0;
10136 }
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140   (eval $ac_link) 2>conftest.er1
10141   ac_status=$?
10142   grep -v '^ *+' conftest.er1 >conftest.err
10143   rm -f conftest.er1
10144   cat conftest.err >&5
10145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146   (exit $ac_status); } &&
10147          { ac_try='test -z "$ac_c_werror_flag"
10148                          || test ! -s conftest.err'
10149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150   (eval $ac_try) 2>&5
10151   ac_status=$?
10152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153   (exit $ac_status); }; } &&
10154          { ac_try='test -s conftest$ac_exeext'
10155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156   (eval $ac_try) 2>&5
10157   ac_status=$?
10158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159   (exit $ac_status); }; }; then
10160   ac_cv_func_shl_load=yes
10161 else
10162   echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10164
10165 ac_cv_func_shl_load=no
10166 fi
10167 rm -f conftest.err conftest.$ac_objext \
10168       conftest$ac_exeext conftest.$ac_ext
10169 fi
10170 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10171 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10172 if test $ac_cv_func_shl_load = yes; then
10173   lt_cv_dlopen="shl_load"
10174 else
10175   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10176 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10177 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10178   echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180   ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-ldld  $LIBS"
10182 if test x$gcc_no_link = xyes; then
10183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185    { (exit 1); exit 1; }; }
10186 fi
10187 cat >conftest.$ac_ext <<_ACEOF
10188 /* confdefs.h.  */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h.  */
10193
10194 /* Override any gcc2 internal prototype to avoid an error.  */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 /* We use char because int might match the return type of a gcc2
10199    builtin and then its argument prototype would still apply.  */
10200 char shl_load ();
10201 int
10202 main ()
10203 {
10204 shl_load ();
10205   ;
10206   return 0;
10207 }
10208 _ACEOF
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211   (eval $ac_link) 2>conftest.er1
10212   ac_status=$?
10213   grep -v '^ *+' conftest.er1 >conftest.err
10214   rm -f conftest.er1
10215   cat conftest.err >&5
10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217   (exit $ac_status); } &&
10218          { ac_try='test -z "$ac_c_werror_flag"
10219                          || test ! -s conftest.err'
10220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221   (eval $ac_try) 2>&5
10222   ac_status=$?
10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224   (exit $ac_status); }; } &&
10225          { ac_try='test -s conftest$ac_exeext'
10226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227   (eval $ac_try) 2>&5
10228   ac_status=$?
10229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230   (exit $ac_status); }; }; then
10231   ac_cv_lib_dld_shl_load=yes
10232 else
10233   echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10235
10236 ac_cv_lib_dld_shl_load=no
10237 fi
10238 rm -f conftest.err conftest.$ac_objext \
10239       conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10241 fi
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10243 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10244 if test $ac_cv_lib_dld_shl_load = yes; then
10245   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10246 else
10247   echo "$as_me:$LINENO: checking for dlopen" >&5
10248 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10249 if test "${ac_cv_func_dlopen+set}" = set; then
10250   echo $ECHO_N "(cached) $ECHO_C" >&6
10251 else
10252   if test x$gcc_no_link = xyes; then
10253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10255    { (exit 1); exit 1; }; }
10256 fi
10257 cat >conftest.$ac_ext <<_ACEOF
10258 /* confdefs.h.  */
10259 _ACEOF
10260 cat confdefs.h >>conftest.$ac_ext
10261 cat >>conftest.$ac_ext <<_ACEOF
10262 /* end confdefs.h.  */
10263 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10265 #define dlopen innocuous_dlopen
10266
10267 /* System header to define __stub macros and hopefully few prototypes,
10268     which can conflict with char dlopen (); below.
10269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10270     <limits.h> exists even on freestanding compilers.  */
10271
10272 #ifdef __STDC__
10273 # include <limits.h>
10274 #else
10275 # include <assert.h>
10276 #endif
10277
10278 #undef dlopen
10279
10280 /* Override any gcc2 internal prototype to avoid an error.  */
10281 #ifdef __cplusplus
10282 extern "C"
10283 {
10284 #endif
10285 /* We use char because int might match the return type of a gcc2
10286    builtin and then its argument prototype would still apply.  */
10287 char dlopen ();
10288 /* The GNU C library defines this for functions which it implements
10289     to always fail with ENOSYS.  Some functions are actually named
10290     something starting with __ and the normal name is an alias.  */
10291 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10292 choke me
10293 #else
10294 char (*f) () = dlopen;
10295 #endif
10296 #ifdef __cplusplus
10297 }
10298 #endif
10299
10300 int
10301 main ()
10302 {
10303 return f != dlopen;
10304   ;
10305   return 0;
10306 }
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310   (eval $ac_link) 2>conftest.er1
10311   ac_status=$?
10312   grep -v '^ *+' conftest.er1 >conftest.err
10313   rm -f conftest.er1
10314   cat conftest.err >&5
10315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316   (exit $ac_status); } &&
10317          { ac_try='test -z "$ac_c_werror_flag"
10318                          || test ! -s conftest.err'
10319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320   (eval $ac_try) 2>&5
10321   ac_status=$?
10322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323   (exit $ac_status); }; } &&
10324          { ac_try='test -s conftest$ac_exeext'
10325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326   (eval $ac_try) 2>&5
10327   ac_status=$?
10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329   (exit $ac_status); }; }; then
10330   ac_cv_func_dlopen=yes
10331 else
10332   echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10334
10335 ac_cv_func_dlopen=no
10336 fi
10337 rm -f conftest.err conftest.$ac_objext \
10338       conftest$ac_exeext conftest.$ac_ext
10339 fi
10340 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10341 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10342 if test $ac_cv_func_dlopen = yes; then
10343   lt_cv_dlopen="dlopen"
10344 else
10345   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10348   echo $ECHO_N "(cached) $ECHO_C" >&6
10349 else
10350   ac_check_lib_save_LIBS=$LIBS
10351 LIBS="-ldl  $LIBS"
10352 if test x$gcc_no_link = xyes; then
10353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10355    { (exit 1); exit 1; }; }
10356 fi
10357 cat >conftest.$ac_ext <<_ACEOF
10358 /* confdefs.h.  */
10359 _ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h.  */
10363
10364 /* Override any gcc2 internal prototype to avoid an error.  */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 /* We use char because int might match the return type of a gcc2
10369    builtin and then its argument prototype would still apply.  */
10370 char dlopen ();
10371 int
10372 main ()
10373 {
10374 dlopen ();
10375   ;
10376   return 0;
10377 }
10378 _ACEOF
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10381   (eval $ac_link) 2>conftest.er1
10382   ac_status=$?
10383   grep -v '^ *+' conftest.er1 >conftest.err
10384   rm -f conftest.er1
10385   cat conftest.err >&5
10386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387   (exit $ac_status); } &&
10388          { ac_try='test -z "$ac_c_werror_flag"
10389                          || test ! -s conftest.err'
10390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391   (eval $ac_try) 2>&5
10392   ac_status=$?
10393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394   (exit $ac_status); }; } &&
10395          { ac_try='test -s conftest$ac_exeext'
10396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397   (eval $ac_try) 2>&5
10398   ac_status=$?
10399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400   (exit $ac_status); }; }; then
10401   ac_cv_lib_dl_dlopen=yes
10402 else
10403   echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10405
10406 ac_cv_lib_dl_dlopen=no
10407 fi
10408 rm -f conftest.err conftest.$ac_objext \
10409       conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10411 fi
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10414 if test $ac_cv_lib_dl_dlopen = yes; then
10415   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10416 else
10417   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10418 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10419 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10420   echo $ECHO_N "(cached) $ECHO_C" >&6
10421 else
10422   ac_check_lib_save_LIBS=$LIBS
10423 LIBS="-lsvld  $LIBS"
10424 if test x$gcc_no_link = xyes; then
10425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10427    { (exit 1); exit 1; }; }
10428 fi
10429 cat >conftest.$ac_ext <<_ACEOF
10430 /* confdefs.h.  */
10431 _ACEOF
10432 cat confdefs.h >>conftest.$ac_ext
10433 cat >>conftest.$ac_ext <<_ACEOF
10434 /* end confdefs.h.  */
10435
10436 /* Override any gcc2 internal prototype to avoid an error.  */
10437 #ifdef __cplusplus
10438 extern "C"
10439 #endif
10440 /* We use char because int might match the return type of a gcc2
10441    builtin and then its argument prototype would still apply.  */
10442 char dlopen ();
10443 int
10444 main ()
10445 {
10446 dlopen ();
10447   ;
10448   return 0;
10449 }
10450 _ACEOF
10451 rm -f conftest.$ac_objext conftest$ac_exeext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10453   (eval $ac_link) 2>conftest.er1
10454   ac_status=$?
10455   grep -v '^ *+' conftest.er1 >conftest.err
10456   rm -f conftest.er1
10457   cat conftest.err >&5
10458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459   (exit $ac_status); } &&
10460          { ac_try='test -z "$ac_c_werror_flag"
10461                          || test ! -s conftest.err'
10462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463   (eval $ac_try) 2>&5
10464   ac_status=$?
10465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466   (exit $ac_status); }; } &&
10467          { ac_try='test -s conftest$ac_exeext'
10468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469   (eval $ac_try) 2>&5
10470   ac_status=$?
10471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472   (exit $ac_status); }; }; then
10473   ac_cv_lib_svld_dlopen=yes
10474 else
10475   echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10477
10478 ac_cv_lib_svld_dlopen=no
10479 fi
10480 rm -f conftest.err conftest.$ac_objext \
10481       conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10483 fi
10484 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10485 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10486 if test $ac_cv_lib_svld_dlopen = yes; then
10487   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10488 else
10489   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10490 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10491 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10492   echo $ECHO_N "(cached) $ECHO_C" >&6
10493 else
10494   ac_check_lib_save_LIBS=$LIBS
10495 LIBS="-ldld  $LIBS"
10496 if test x$gcc_no_link = xyes; then
10497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10499    { (exit 1); exit 1; }; }
10500 fi
10501 cat >conftest.$ac_ext <<_ACEOF
10502 /* confdefs.h.  */
10503 _ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h.  */
10507
10508 /* Override any gcc2 internal prototype to avoid an error.  */
10509 #ifdef __cplusplus
10510 extern "C"
10511 #endif
10512 /* We use char because int might match the return type of a gcc2
10513    builtin and then its argument prototype would still apply.  */
10514 char dld_link ();
10515 int
10516 main ()
10517 {
10518 dld_link ();
10519   ;
10520   return 0;
10521 }
10522 _ACEOF
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525   (eval $ac_link) 2>conftest.er1
10526   ac_status=$?
10527   grep -v '^ *+' conftest.er1 >conftest.err
10528   rm -f conftest.er1
10529   cat conftest.err >&5
10530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531   (exit $ac_status); } &&
10532          { ac_try='test -z "$ac_c_werror_flag"
10533                          || test ! -s conftest.err'
10534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535   (eval $ac_try) 2>&5
10536   ac_status=$?
10537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538   (exit $ac_status); }; } &&
10539          { ac_try='test -s conftest$ac_exeext'
10540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541   (eval $ac_try) 2>&5
10542   ac_status=$?
10543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544   (exit $ac_status); }; }; then
10545   ac_cv_lib_dld_dld_link=yes
10546 else
10547   echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10549
10550 ac_cv_lib_dld_dld_link=no
10551 fi
10552 rm -f conftest.err conftest.$ac_objext \
10553       conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10555 fi
10556 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10557 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10558 if test $ac_cv_lib_dld_dld_link = yes; then
10559   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10560 fi
10561
10562
10563 fi
10564
10565
10566 fi
10567
10568
10569 fi
10570
10571
10572 fi
10573
10574
10575 fi
10576
10577     ;;
10578   esac
10579
10580   if test "x$lt_cv_dlopen" != xno; then
10581     enable_dlopen=yes
10582   else
10583     enable_dlopen=no
10584   fi
10585
10586   case $lt_cv_dlopen in
10587   dlopen)
10588     save_CPPFLAGS="$CPPFLAGS"
10589     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10590
10591     save_LDFLAGS="$LDFLAGS"
10592     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10593
10594     save_LIBS="$LIBS"
10595     LIBS="$lt_cv_dlopen_libs $LIBS"
10596
10597     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10598 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10599 if test "${lt_cv_dlopen_self+set}" = set; then
10600   echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else
10602           if test "$cross_compiling" = yes; then :
10603   lt_cv_dlopen_self=cross
10604 else
10605   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10606   lt_status=$lt_dlunknown
10607   cat > conftest.$ac_ext <<_LT_EOF
10608 #line 10608 "configure"
10609 #include "confdefs.h"
10610
10611 #if HAVE_DLFCN_H
10612 #include <dlfcn.h>
10613 #endif
10614
10615 #include <stdio.h>
10616
10617 #ifdef RTLD_GLOBAL
10618 #  define LT_DLGLOBAL           RTLD_GLOBAL
10619 #else
10620 #  ifdef DL_GLOBAL
10621 #    define LT_DLGLOBAL         DL_GLOBAL
10622 #  else
10623 #    define LT_DLGLOBAL         0
10624 #  endif
10625 #endif
10626
10627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10628    find out it does not work in some platform. */
10629 #ifndef LT_DLLAZY_OR_NOW
10630 #  ifdef RTLD_LAZY
10631 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10632 #  else
10633 #    ifdef DL_LAZY
10634 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10635 #    else
10636 #      ifdef RTLD_NOW
10637 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10638 #      else
10639 #        ifdef DL_NOW
10640 #          define LT_DLLAZY_OR_NOW      DL_NOW
10641 #        else
10642 #          define LT_DLLAZY_OR_NOW      0
10643 #        endif
10644 #      endif
10645 #    endif
10646 #  endif
10647 #endif
10648
10649 void fnord() { int i=42;}
10650 int main ()
10651 {
10652   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10653   int status = $lt_dlunknown;
10654
10655   if (self)
10656     {
10657       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10658       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10659       /* dlclose (self); */
10660     }
10661   else
10662     puts (dlerror ());
10663
10664   return status;
10665 }
10666 _LT_EOF
10667   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668   (eval $ac_link) 2>&5
10669   ac_status=$?
10670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10672     (./conftest; exit; ) >&5 2>/dev/null
10673     lt_status=$?
10674     case x$lt_status in
10675       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10676       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10677       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10678     esac
10679   else :
10680     # compilation failed
10681     lt_cv_dlopen_self=no
10682   fi
10683 fi
10684 rm -fr conftest*
10685
10686
10687 fi
10688 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10689 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10690
10691     if test "x$lt_cv_dlopen_self" = xyes; then
10692       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10693       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10694 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10695 if test "${lt_cv_dlopen_self_static+set}" = set; then
10696   echo $ECHO_N "(cached) $ECHO_C" >&6
10697 else
10698           if test "$cross_compiling" = yes; then :
10699   lt_cv_dlopen_self_static=cross
10700 else
10701   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10702   lt_status=$lt_dlunknown
10703   cat > conftest.$ac_ext <<_LT_EOF
10704 #line 10704 "configure"
10705 #include "confdefs.h"
10706
10707 #if HAVE_DLFCN_H
10708 #include <dlfcn.h>
10709 #endif
10710
10711 #include <stdio.h>
10712
10713 #ifdef RTLD_GLOBAL
10714 #  define LT_DLGLOBAL           RTLD_GLOBAL
10715 #else
10716 #  ifdef DL_GLOBAL
10717 #    define LT_DLGLOBAL         DL_GLOBAL
10718 #  else
10719 #    define LT_DLGLOBAL         0
10720 #  endif
10721 #endif
10722
10723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10724    find out it does not work in some platform. */
10725 #ifndef LT_DLLAZY_OR_NOW
10726 #  ifdef RTLD_LAZY
10727 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10728 #  else
10729 #    ifdef DL_LAZY
10730 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10731 #    else
10732 #      ifdef RTLD_NOW
10733 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10734 #      else
10735 #        ifdef DL_NOW
10736 #          define LT_DLLAZY_OR_NOW      DL_NOW
10737 #        else
10738 #          define LT_DLLAZY_OR_NOW      0
10739 #        endif
10740 #      endif
10741 #    endif
10742 #  endif
10743 #endif
10744
10745 void fnord() { int i=42;}
10746 int main ()
10747 {
10748   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10749   int status = $lt_dlunknown;
10750
10751   if (self)
10752     {
10753       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10754       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10755       /* dlclose (self); */
10756     }
10757   else
10758     puts (dlerror ());
10759
10760   return status;
10761 }
10762 _LT_EOF
10763   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764   (eval $ac_link) 2>&5
10765   ac_status=$?
10766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10768     (./conftest; exit; ) >&5 2>/dev/null
10769     lt_status=$?
10770     case x$lt_status in
10771       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10772       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10773       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10774     esac
10775   else :
10776     # compilation failed
10777     lt_cv_dlopen_self_static=no
10778   fi
10779 fi
10780 rm -fr conftest*
10781
10782
10783 fi
10784 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10785 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10786     fi
10787
10788     CPPFLAGS="$save_CPPFLAGS"
10789     LDFLAGS="$save_LDFLAGS"
10790     LIBS="$save_LIBS"
10791     ;;
10792   esac
10793
10794   case $lt_cv_dlopen_self in
10795   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10796   *) enable_dlopen_self=unknown ;;
10797   esac
10798
10799   case $lt_cv_dlopen_self_static in
10800   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10801   *) enable_dlopen_self_static=unknown ;;
10802   esac
10803 fi
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821 striplib=
10822 old_striplib=
10823 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10824 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10825 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10826   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10827   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10828   echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6
10830 else
10831 # FIXME - insert some real tests, host_os isn't really good enough
10832   case $host_os in
10833   darwin*)
10834     if test -n "$STRIP" ; then
10835       striplib="$STRIP -x"
10836       old_striplib="$STRIP -S"
10837       echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10839     else
10840       echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10842     fi
10843     ;;
10844   *)
10845     echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6
10847     ;;
10848   esac
10849 fi
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862   # Report which library types will actually be built
10863   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10864 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10865   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10866 echo "${ECHO_T}$can_build_shared" >&6
10867
10868   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10869 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10870   test "$can_build_shared" = "no" && enable_shared=no
10871
10872   # On AIX, shared libraries and static libraries use the same namespace, and
10873   # are all built from PIC.
10874   case $host_os in
10875   aix3*)
10876     test "$enable_shared" = yes && enable_static=no
10877     if test -n "$RANLIB"; then
10878       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10879       postinstall_cmds='$RANLIB $lib'
10880     fi
10881     ;;
10882
10883   aix[4-9]*)
10884     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10885       test "$enable_shared" = yes && enable_static=no
10886     fi
10887     ;;
10888   esac
10889   echo "$as_me:$LINENO: result: $enable_shared" >&5
10890 echo "${ECHO_T}$enable_shared" >&6
10891
10892   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10893 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10894   # Make sure either enable_shared or enable_static is yes.
10895   test "$enable_shared" = yes || enable_static=yes
10896   echo "$as_me:$LINENO: result: $enable_static" >&5
10897 echo "${ECHO_T}$enable_static" >&6
10898
10899
10900
10901
10902 fi
10903 ac_ext=c
10904 ac_cpp='$CPP $CPPFLAGS'
10905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10908
10909 CC="$lt_save_CC"
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923                   ac_config_commands="$ac_config_commands libtool"
10924
10925
10926
10927
10928 # Only expand once:
10929
10930
10931
10932
10933 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10934
10935 # We need gfortran to compile parts of the library
10936 #AC_PROG_FC(gfortran)
10937 FC="$GFORTRAN"
10938 ac_ext=${FC_SRCEXT-f}
10939 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10940 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10942 if test -n "$ac_tool_prefix"; then
10943   for ac_prog in gfortran
10944   do
10945     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10947 echo "$as_me:$LINENO: checking for $ac_word" >&5
10948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10949 if test "${ac_cv_prog_FC+set}" = set; then
10950   echo $ECHO_N "(cached) $ECHO_C" >&6
10951 else
10952   if test -n "$FC"; then
10953   ac_cv_prog_FC="$FC" # Let the user override the test.
10954 else
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10957 do
10958   IFS=$as_save_IFS
10959   test -z "$as_dir" && as_dir=.
10960   for ac_exec_ext in '' $ac_executable_extensions; do
10961   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10962     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10963     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10964     break 2
10965   fi
10966 done
10967 done
10968
10969 fi
10970 fi
10971 FC=$ac_cv_prog_FC
10972 if test -n "$FC"; then
10973   echo "$as_me:$LINENO: result: $FC" >&5
10974 echo "${ECHO_T}$FC" >&6
10975 else
10976   echo "$as_me:$LINENO: result: no" >&5
10977 echo "${ECHO_T}no" >&6
10978 fi
10979
10980     test -n "$FC" && break
10981   done
10982 fi
10983 if test -z "$FC"; then
10984   ac_ct_FC=$FC
10985   for ac_prog in gfortran
10986 do
10987   # Extract the first word of "$ac_prog", so it can be a program name with args.
10988 set dummy $ac_prog; ac_word=$2
10989 echo "$as_me:$LINENO: checking for $ac_word" >&5
10990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10991 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10992   echo $ECHO_N "(cached) $ECHO_C" >&6
10993 else
10994   if test -n "$ac_ct_FC"; then
10995   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10996 else
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
10999 do
11000   IFS=$as_save_IFS
11001   test -z "$as_dir" && as_dir=.
11002   for ac_exec_ext in '' $ac_executable_extensions; do
11003   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004     ac_cv_prog_ac_ct_FC="$ac_prog"
11005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11006     break 2
11007   fi
11008 done
11009 done
11010
11011 fi
11012 fi
11013 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11014 if test -n "$ac_ct_FC"; then
11015   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11016 echo "${ECHO_T}$ac_ct_FC" >&6
11017 else
11018   echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11020 fi
11021
11022   test -n "$ac_ct_FC" && break
11023 done
11024
11025   FC=$ac_ct_FC
11026 fi
11027
11028
11029 # Provide some information about the compiler.
11030 echo "$as_me:11030:" \
11031      "checking for Fortran compiler version" >&5
11032 ac_compiler=`set X $ac_compile; echo $2`
11033 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11034   (eval $ac_compiler --version </dev/null >&5) 2>&5
11035   ac_status=$?
11036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037   (exit $ac_status); }
11038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11039   (eval $ac_compiler -v </dev/null >&5) 2>&5
11040   ac_status=$?
11041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042   (exit $ac_status); }
11043 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11044   (eval $ac_compiler -V </dev/null >&5) 2>&5
11045   ac_status=$?
11046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047   (exit $ac_status); }
11048 rm -f a.out
11049
11050 # If we don't use `.F' as extension, the preprocessor is not run on the
11051 # input file.  (Note that this only needs to work for GNU compilers.)
11052 ac_save_ext=$ac_ext
11053 ac_ext=F
11054 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11055 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11056 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11057   echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059   cat >conftest.$ac_ext <<_ACEOF
11060       program main
11061 #ifndef __GNUC__
11062        choke me
11063 #endif
11064
11065       end
11066 _ACEOF
11067 rm -f conftest.$ac_objext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11069   (eval $ac_compile) 2>conftest.er1
11070   ac_status=$?
11071   grep -v '^ *+' conftest.er1 >conftest.err
11072   rm -f conftest.er1
11073   cat conftest.err >&5
11074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075   (exit $ac_status); } &&
11076          { ac_try='test -z "$ac_fc_werror_flag"
11077                          || test ! -s conftest.err'
11078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079   (eval $ac_try) 2>&5
11080   ac_status=$?
11081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082   (exit $ac_status); }; } &&
11083          { ac_try='test -s conftest.$ac_objext'
11084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085   (eval $ac_try) 2>&5
11086   ac_status=$?
11087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088   (exit $ac_status); }; }; then
11089   ac_compiler_gnu=yes
11090 else
11091   echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 ac_compiler_gnu=no
11095 fi
11096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11097 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11098
11099 fi
11100 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11101 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11102 ac_ext=$ac_save_ext
11103 ac_test_FFLAGS=${FCFLAGS+set}
11104 ac_save_FFLAGS=$FCFLAGS
11105 FCFLAGS=
11106 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11107 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11108 if test "${ac_cv_prog_fc_g+set}" = set; then
11109   echo $ECHO_N "(cached) $ECHO_C" >&6
11110 else
11111   FCFLAGS=-g
11112 cat >conftest.$ac_ext <<_ACEOF
11113       program main
11114
11115       end
11116 _ACEOF
11117 rm -f conftest.$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119   (eval $ac_compile) 2>conftest.er1
11120   ac_status=$?
11121   grep -v '^ *+' conftest.er1 >conftest.err
11122   rm -f conftest.er1
11123   cat conftest.err >&5
11124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125   (exit $ac_status); } &&
11126          { ac_try='test -z "$ac_fc_werror_flag"
11127                          || test ! -s conftest.err'
11128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129   (eval $ac_try) 2>&5
11130   ac_status=$?
11131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132   (exit $ac_status); }; } &&
11133          { ac_try='test -s conftest.$ac_objext'
11134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135   (eval $ac_try) 2>&5
11136   ac_status=$?
11137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138   (exit $ac_status); }; }; then
11139   ac_cv_prog_fc_g=yes
11140 else
11141   echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11143
11144 ac_cv_prog_fc_g=no
11145 fi
11146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11147
11148 fi
11149 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11150 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11151 if test "$ac_test_FFLAGS" = set; then
11152   FCFLAGS=$ac_save_FFLAGS
11153 elif test $ac_cv_prog_fc_g = yes; then
11154   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11155     FCFLAGS="-g -O2"
11156   else
11157     FCFLAGS="-g"
11158   fi
11159 else
11160   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11161     FCFLAGS="-O2"
11162   else
11163     FCFLAGS=
11164   fi
11165 fi
11166
11167 ac_ext=c
11168 ac_cpp='$CPP $CPPFLAGS'
11169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11172
11173
11174 ac_ext=${FC_SRCEXT-f}
11175 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11176 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11177 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11178 if test -n "$ac_tool_prefix"; then
11179   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11180   do
11181     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11183 echo "$as_me:$LINENO: checking for $ac_word" >&5
11184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11185 if test "${ac_cv_prog_FC+set}" = set; then
11186   echo $ECHO_N "(cached) $ECHO_C" >&6
11187 else
11188   if test -n "$FC"; then
11189   ac_cv_prog_FC="$FC" # Let the user override the test.
11190 else
11191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11192 for as_dir in $PATH
11193 do
11194   IFS=$as_save_IFS
11195   test -z "$as_dir" && as_dir=.
11196   for ac_exec_ext in '' $ac_executable_extensions; do
11197   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11198     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11199     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11200     break 2
11201   fi
11202 done
11203 done
11204
11205 fi
11206 fi
11207 FC=$ac_cv_prog_FC
11208 if test -n "$FC"; then
11209   echo "$as_me:$LINENO: result: $FC" >&5
11210 echo "${ECHO_T}$FC" >&6
11211 else
11212   echo "$as_me:$LINENO: result: no" >&5
11213 echo "${ECHO_T}no" >&6
11214 fi
11215
11216     test -n "$FC" && break
11217   done
11218 fi
11219 if test -z "$FC"; then
11220   ac_ct_FC=$FC
11221   for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11222 do
11223   # Extract the first word of "$ac_prog", so it can be a program name with args.
11224 set dummy $ac_prog; ac_word=$2
11225 echo "$as_me:$LINENO: checking for $ac_word" >&5
11226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11227 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11228   echo $ECHO_N "(cached) $ECHO_C" >&6
11229 else
11230   if test -n "$ac_ct_FC"; then
11231   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11232 else
11233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234 for as_dir in $PATH
11235 do
11236   IFS=$as_save_IFS
11237   test -z "$as_dir" && as_dir=.
11238   for ac_exec_ext in '' $ac_executable_extensions; do
11239   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240     ac_cv_prog_ac_ct_FC="$ac_prog"
11241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11242     break 2
11243   fi
11244 done
11245 done
11246
11247 fi
11248 fi
11249 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11250 if test -n "$ac_ct_FC"; then
11251   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11252 echo "${ECHO_T}$ac_ct_FC" >&6
11253 else
11254   echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11256 fi
11257
11258   test -n "$ac_ct_FC" && break
11259 done
11260
11261   FC=$ac_ct_FC
11262 fi
11263
11264
11265 # Provide some information about the compiler.
11266 echo "$as_me:11266:" \
11267      "checking for Fortran compiler version" >&5
11268 ac_compiler=`set X $ac_compile; echo $2`
11269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11270   (eval $ac_compiler --version </dev/null >&5) 2>&5
11271   ac_status=$?
11272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273   (exit $ac_status); }
11274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11275   (eval $ac_compiler -v </dev/null >&5) 2>&5
11276   ac_status=$?
11277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278   (exit $ac_status); }
11279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11280   (eval $ac_compiler -V </dev/null >&5) 2>&5
11281   ac_status=$?
11282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283   (exit $ac_status); }
11284 rm -f a.out
11285
11286 # If we don't use `.F' as extension, the preprocessor is not run on the
11287 # input file.  (Note that this only needs to work for GNU compilers.)
11288 ac_save_ext=$ac_ext
11289 ac_ext=F
11290 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11291 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11292 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11293   echo $ECHO_N "(cached) $ECHO_C" >&6
11294 else
11295   cat >conftest.$ac_ext <<_ACEOF
11296       program main
11297 #ifndef __GNUC__
11298        choke me
11299 #endif
11300
11301       end
11302 _ACEOF
11303 rm -f conftest.$ac_objext
11304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11305   (eval $ac_compile) 2>conftest.er1
11306   ac_status=$?
11307   grep -v '^ *+' conftest.er1 >conftest.err
11308   rm -f conftest.er1
11309   cat conftest.err >&5
11310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311   (exit $ac_status); } &&
11312          { ac_try='test -z "$ac_fc_werror_flag"
11313                          || test ! -s conftest.err'
11314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315   (eval $ac_try) 2>&5
11316   ac_status=$?
11317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318   (exit $ac_status); }; } &&
11319          { ac_try='test -s conftest.$ac_objext'
11320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321   (eval $ac_try) 2>&5
11322   ac_status=$?
11323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324   (exit $ac_status); }; }; then
11325   ac_compiler_gnu=yes
11326 else
11327   echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.$ac_ext >&5
11329
11330 ac_compiler_gnu=no
11331 fi
11332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11333 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11334
11335 fi
11336 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11337 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11338 ac_ext=$ac_save_ext
11339 ac_test_FFLAGS=${FCFLAGS+set}
11340 ac_save_FFLAGS=$FCFLAGS
11341 FCFLAGS=
11342 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11343 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11344 if test "${ac_cv_prog_fc_g+set}" = set; then
11345   echo $ECHO_N "(cached) $ECHO_C" >&6
11346 else
11347   FCFLAGS=-g
11348 cat >conftest.$ac_ext <<_ACEOF
11349       program main
11350
11351       end
11352 _ACEOF
11353 rm -f conftest.$ac_objext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11355   (eval $ac_compile) 2>conftest.er1
11356   ac_status=$?
11357   grep -v '^ *+' conftest.er1 >conftest.err
11358   rm -f conftest.er1
11359   cat conftest.err >&5
11360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361   (exit $ac_status); } &&
11362          { ac_try='test -z "$ac_fc_werror_flag"
11363                          || test ! -s conftest.err'
11364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365   (eval $ac_try) 2>&5
11366   ac_status=$?
11367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368   (exit $ac_status); }; } &&
11369          { ac_try='test -s conftest.$ac_objext'
11370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371   (eval $ac_try) 2>&5
11372   ac_status=$?
11373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374   (exit $ac_status); }; }; then
11375   ac_cv_prog_fc_g=yes
11376 else
11377   echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.$ac_ext >&5
11379
11380 ac_cv_prog_fc_g=no
11381 fi
11382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11383
11384 fi
11385 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11386 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11387 if test "$ac_test_FFLAGS" = set; then
11388   FCFLAGS=$ac_save_FFLAGS
11389 elif test $ac_cv_prog_fc_g = yes; then
11390   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11391     FCFLAGS="-g -O2"
11392   else
11393     FCFLAGS="-g"
11394   fi
11395 else
11396   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11397     FCFLAGS="-O2"
11398   else
11399     FCFLAGS=
11400   fi
11401 fi
11402
11403 ac_ext=c
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11408
11409 if test -z "$FC" || test "X$FC" = "Xno"; then
11410   _lt_disable_FC=yes
11411 fi
11412
11413
11414
11415       ac_ext=${FC_SRCEXT-f}
11416 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11417 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11419
11420
11421 archive_cmds_need_lc_FC=no
11422 allow_undefined_flag_FC=
11423 always_export_symbols_FC=no
11424 archive_expsym_cmds_FC=
11425 export_dynamic_flag_spec_FC=
11426 hardcode_direct_FC=no
11427 hardcode_direct_absolute_FC=no
11428 hardcode_libdir_flag_spec_FC=
11429 hardcode_libdir_flag_spec_ld_FC=
11430 hardcode_libdir_separator_FC=
11431 hardcode_minus_L_FC=no
11432 hardcode_automatic_FC=no
11433 inherit_rpath_FC=no
11434 module_cmds_FC=
11435 module_expsym_cmds_FC=
11436 link_all_deplibs_FC=unknown
11437 old_archive_cmds_FC=$old_archive_cmds
11438 no_undefined_flag_FC=
11439 whole_archive_flag_spec_FC=
11440 enable_shared_with_static_runtimes_FC=no
11441
11442 # Source file extension for fc test sources.
11443 ac_ext=${ac_fc_srcext-f}
11444
11445 # Object file extension for compiled fc test sources.
11446 objext=o
11447 objext_FC=$objext
11448
11449 # No sense in running all these tests if we already determined that
11450 # the FC compiler isn't working.  Some variables (like enable_shared)
11451 # are currently assumed to apply to all compilers on this platform,
11452 # and will be corrupted by setting them based on a non-working compiler.
11453 if test "$_lt_disable_FC" != yes; then
11454   # Code to be used in simple compile tests
11455   lt_simple_compile_test_code="\
11456       subroutine t
11457       return
11458       end
11459 "
11460
11461   # Code to be used in simple link tests
11462   lt_simple_link_test_code="\
11463       program t
11464       end
11465 "
11466
11467   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11468
11469
11470
11471
11472
11473
11474 # If no C compiler was specified, use CC.
11475 LTCC=${LTCC-"$CC"}
11476
11477 # If no C compiler flags were specified, use CFLAGS.
11478 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11479
11480 # Allow CC to be a program name with arguments.
11481 compiler=$CC
11482
11483
11484   # save warnings/boilerplate of simple test code
11485   ac_outfile=conftest.$ac_objext
11486 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11487 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11488 _lt_compiler_boilerplate=`cat conftest.err`
11489 $RM conftest*
11490
11491   ac_outfile=conftest.$ac_objext
11492 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11493 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11494 _lt_linker_boilerplate=`cat conftest.err`
11495 $RM -r conftest*
11496
11497
11498   # Allow CC to be a program name with arguments.
11499   lt_save_CC="$CC"
11500   lt_save_GCC=$GCC
11501   CC=${FC-"f95"}
11502   compiler=$CC
11503   GCC=$ac_cv_fc_compiler_gnu
11504
11505   compiler_FC=$CC
11506   for cc_temp in $compiler""; do
11507   case $cc_temp in
11508     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11509     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11510     \-*) ;;
11511     *) break;;
11512   esac
11513 done
11514 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11515
11516
11517   if test -n "$compiler"; then
11518     echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11519 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11520     echo "$as_me:$LINENO: result: $can_build_shared" >&5
11521 echo "${ECHO_T}$can_build_shared" >&6
11522
11523     echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11524 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11525     test "$can_build_shared" = "no" && enable_shared=no
11526
11527     # On AIX, shared libraries and static libraries use the same namespace, and
11528     # are all built from PIC.
11529     case $host_os in
11530       aix3*)
11531         test "$enable_shared" = yes && enable_static=no
11532         if test -n "$RANLIB"; then
11533           archive_cmds="$archive_cmds~\$RANLIB \$lib"
11534           postinstall_cmds='$RANLIB $lib'
11535         fi
11536         ;;
11537       aix[4-9]*)
11538         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11539           test "$enable_shared" = yes && enable_static=no
11540         fi
11541         ;;
11542     esac
11543     echo "$as_me:$LINENO: result: $enable_shared" >&5
11544 echo "${ECHO_T}$enable_shared" >&6
11545
11546     echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11547 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11548     # Make sure either enable_shared or enable_static is yes.
11549     test "$enable_shared" = yes || enable_static=yes
11550     echo "$as_me:$LINENO: result: $enable_static" >&5
11551 echo "${ECHO_T}$enable_static" >&6
11552
11553     GCC_FC="$ac_cv_fc_compiler_gnu"
11554     LD_FC="$LD"
11555
11556     ## CAVEAT EMPTOR:
11557     ## There is no encapsulation within the following macros, do not change
11558     ## the running order or otherwise move them around unless you know exactly
11559     ## what you are doing...
11560     # Dependencies to place before and after the object being linked:
11561 predep_objects_FC=
11562 postdep_objects_FC=
11563 predeps_FC=
11564 postdeps_FC=
11565 compiler_lib_search_path_FC=
11566
11567 cat > conftest.$ac_ext <<_LT_EOF
11568       subroutine foo
11569       implicit none
11570       integer a
11571       a=0
11572       return
11573       end
11574 _LT_EOF
11575
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577   (eval $ac_compile) 2>&5
11578   ac_status=$?
11579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580   (exit $ac_status); }; then
11581   # Parse the compiler output and extract the necessary
11582   # objects, libraries and library flags.
11583
11584   # Sentinel used to keep track of whether or not we are before
11585   # the conftest object file.
11586   pre_test_object_deps_done=no
11587
11588   for p in `eval "$output_verbose_link_cmd"`; do
11589     case $p in
11590
11591     -L* | -R* | -l*)
11592        # Some compilers place space between "-{L,R}" and the path.
11593        # Remove the space.
11594        if test $p = "-L" ||
11595           test $p = "-R"; then
11596          prev=$p
11597          continue
11598        else
11599          prev=
11600        fi
11601
11602        if test "$pre_test_object_deps_done" = no; then
11603          case $p in
11604          -L* | -R*)
11605            # Internal compiler library paths should come after those
11606            # provided the user.  The postdeps already come after the
11607            # user supplied libs so there is no need to process them.
11608            if test -z "$compiler_lib_search_path_FC"; then
11609              compiler_lib_search_path_FC="${prev}${p}"
11610            else
11611              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11612            fi
11613            ;;
11614          # The "-l" case would never come before the object being
11615          # linked, so don't bother handling this case.
11616          esac
11617        else
11618          if test -z "$postdeps_FC"; then
11619            postdeps_FC="${prev}${p}"
11620          else
11621            postdeps_FC="${postdeps_FC} ${prev}${p}"
11622          fi
11623        fi
11624        ;;
11625
11626     *.$objext)
11627        # This assumes that the test object file only shows up
11628        # once in the compiler output.
11629        if test "$p" = "conftest.$objext"; then
11630          pre_test_object_deps_done=yes
11631          continue
11632        fi
11633
11634        if test "$pre_test_object_deps_done" = no; then
11635          if test -z "$predep_objects_FC"; then
11636            predep_objects_FC="$p"
11637          else
11638            predep_objects_FC="$predep_objects_FC $p"
11639          fi
11640        else
11641          if test -z "$postdep_objects_FC"; then
11642            postdep_objects_FC="$p"
11643          else
11644            postdep_objects_FC="$postdep_objects_FC $p"
11645          fi
11646        fi
11647        ;;
11648
11649     *) ;; # Ignore the rest.
11650
11651     esac
11652   done
11653
11654   # Clean up.
11655   rm -f a.out a.exe
11656 else
11657   echo "libtool.m4: error: problem compiling FC test program"
11658 fi
11659
11660 $RM -f confest.$objext
11661
11662 # PORTME: override above test on systems where it is broken
11663
11664
11665 case " $postdeps_FC " in
11666 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11667 esac
11668  compiler_lib_search_dirs_FC=
11669 if test -n "${compiler_lib_search_path_FC}"; then
11670  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11671 fi
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703     lt_prog_compiler_wl_FC=
11704 lt_prog_compiler_pic_FC=
11705 lt_prog_compiler_static_FC=
11706
11707 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11708 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11709
11710   if test "$GCC" = yes; then
11711     lt_prog_compiler_wl_FC='-Wl,'
11712     lt_prog_compiler_static_FC='-static'
11713
11714     case $host_os in
11715       aix*)
11716       # All AIX code is PIC.
11717       if test "$host_cpu" = ia64; then
11718         # AIX 5 now supports IA64 processor
11719         lt_prog_compiler_static_FC='-Bstatic'
11720       fi
11721       ;;
11722
11723     amigaos*)
11724       case $host_cpu in
11725       powerpc)
11726             # see comment about AmigaOS4 .so support
11727             lt_prog_compiler_pic_FC='-fPIC'
11728         ;;
11729       m68k)
11730             # FIXME: we need at least 68020 code to build shared libraries, but
11731             # adding the `-m68020' flag to GCC prevents building anything better,
11732             # like `-m68040'.
11733             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11734         ;;
11735       esac
11736       ;;
11737
11738     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11739       # PIC is the default for these OSes.
11740       ;;
11741
11742     mingw* | cygwin* | pw32* | os2* | cegcc*)
11743       # This hack is so that the source file can tell whether it is being
11744       # built for inclusion in a dll (and should export symbols for example).
11745       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11746       # (--disable-auto-import) libraries
11747       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11748       ;;
11749
11750     darwin* | rhapsody*)
11751       # PIC is the default on this platform
11752       # Common symbols not allowed in MH_DYLIB files
11753       lt_prog_compiler_pic_FC='-fno-common'
11754       ;;
11755
11756     hpux*)
11757       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11758       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11759       # sets the default TLS model and affects inlining.
11760       case $host_cpu in
11761       hppa*64*)
11762         # +Z the default
11763         ;;
11764       *)
11765         lt_prog_compiler_pic_FC='-fPIC'
11766         ;;
11767       esac
11768       ;;
11769
11770     interix[3-9]*)
11771       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11772       # Instead, we relocate shared libraries at runtime.
11773       ;;
11774
11775     msdosdjgpp*)
11776       # Just because we use GCC doesn't mean we suddenly get shared libraries
11777       # on systems that don't support them.
11778       lt_prog_compiler_can_build_shared_FC=no
11779       enable_shared=no
11780       ;;
11781
11782     *nto* | *qnx*)
11783       # QNX uses GNU C++, but need to define -shared option too, otherwise
11784       # it will coredump.
11785       lt_prog_compiler_pic_FC='-fPIC -shared'
11786       ;;
11787
11788     sysv4*MP*)
11789       if test -d /usr/nec; then
11790         lt_prog_compiler_pic_FC=-Kconform_pic
11791       fi
11792       ;;
11793
11794     *)
11795       lt_prog_compiler_pic_FC='-fPIC'
11796       ;;
11797     esac
11798   else
11799     # PORTME Check for flag to pass linker flags through the system compiler.
11800     case $host_os in
11801     aix*)
11802       lt_prog_compiler_wl_FC='-Wl,'
11803       if test "$host_cpu" = ia64; then
11804         # AIX 5 now supports IA64 processor
11805         lt_prog_compiler_static_FC='-Bstatic'
11806       else
11807         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11808       fi
11809       ;;
11810
11811     mingw* | cygwin* | pw32* | os2* | cegcc*)
11812       # This hack is so that the source file can tell whether it is being
11813       # built for inclusion in a dll (and should export symbols for example).
11814       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11815       ;;
11816
11817     hpux9* | hpux10* | hpux11*)
11818       lt_prog_compiler_wl_FC='-Wl,'
11819       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11820       # not for PA HP-UX.
11821       case $host_cpu in
11822       hppa*64*|ia64*)
11823         # +Z the default
11824         ;;
11825       *)
11826         lt_prog_compiler_pic_FC='+Z'
11827         ;;
11828       esac
11829       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11830       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11831       ;;
11832
11833     irix5* | irix6* | nonstopux*)
11834       lt_prog_compiler_wl_FC='-Wl,'
11835       # PIC (with -KPIC) is the default.
11836       lt_prog_compiler_static_FC='-non_shared'
11837       ;;
11838
11839     linux* | k*bsd*-gnu)
11840       case $cc_basename in
11841       # old Intel for x86_64 which still supported -KPIC.
11842       ecc*)
11843         lt_prog_compiler_wl_FC='-Wl,'
11844         lt_prog_compiler_pic_FC='-KPIC'
11845         lt_prog_compiler_static_FC='-static'
11846         ;;
11847       # icc used to be incompatible with GCC.
11848       # ICC 10 doesn't accept -KPIC any more.
11849       icc* | ifort*)
11850         lt_prog_compiler_wl_FC='-Wl,'
11851         lt_prog_compiler_pic_FC='-fPIC'
11852         lt_prog_compiler_static_FC='-static'
11853         ;;
11854       # Lahey Fortran 8.1.
11855       lf95*)
11856         lt_prog_compiler_wl_FC='-Wl,'
11857         lt_prog_compiler_pic_FC='--shared'
11858         lt_prog_compiler_static_FC='--static'
11859         ;;
11860       pgcc* | pgf77* | pgf90* | pgf95*)
11861         # Portland Group compilers (*not* the Pentium gcc compiler,
11862         # which looks to be a dead project)
11863         lt_prog_compiler_wl_FC='-Wl,'
11864         lt_prog_compiler_pic_FC='-fpic'
11865         lt_prog_compiler_static_FC='-Bstatic'
11866         ;;
11867       ccc*)
11868         lt_prog_compiler_wl_FC='-Wl,'
11869         # All Alpha code is PIC.
11870         lt_prog_compiler_static_FC='-non_shared'
11871         ;;
11872       xl*)
11873         # IBM XL C 8.0/Fortran 10.1 on PPC
11874         lt_prog_compiler_wl_FC='-Wl,'
11875         lt_prog_compiler_pic_FC='-qpic'
11876         lt_prog_compiler_static_FC='-qstaticlink'
11877         ;;
11878       *)
11879         case `$CC -V 2>&1 | sed 5q` in
11880         *Sun\ C*)
11881           # Sun C 5.9
11882           lt_prog_compiler_pic_FC='-KPIC'
11883           lt_prog_compiler_static_FC='-Bstatic'
11884           lt_prog_compiler_wl_FC='-Wl,'
11885           ;;
11886         *Sun\ F*)
11887           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11888           lt_prog_compiler_pic_FC='-KPIC'
11889           lt_prog_compiler_static_FC='-Bstatic'
11890           lt_prog_compiler_wl_FC=''
11891           ;;
11892         esac
11893         ;;
11894       esac
11895       ;;
11896
11897     newsos6)
11898       lt_prog_compiler_pic_FC='-KPIC'
11899       lt_prog_compiler_static_FC='-Bstatic'
11900       ;;
11901
11902     *nto* | *qnx*)
11903       # QNX uses GNU C++, but need to define -shared option too, otherwise
11904       # it will coredump.
11905       lt_prog_compiler_pic_FC='-fPIC -shared'
11906       ;;
11907
11908     osf3* | osf4* | osf5*)
11909       lt_prog_compiler_wl_FC='-Wl,'
11910       # All OSF/1 code is PIC.
11911       lt_prog_compiler_static_FC='-non_shared'
11912       ;;
11913
11914     rdos*)
11915       lt_prog_compiler_static_FC='-non_shared'
11916       ;;
11917
11918     solaris*)
11919       lt_prog_compiler_pic_FC='-KPIC'
11920       lt_prog_compiler_static_FC='-Bstatic'
11921       case $cc_basename in
11922       f77* | f90* | f95*)
11923         lt_prog_compiler_wl_FC='-Qoption ld ';;
11924       *)
11925         lt_prog_compiler_wl_FC='-Wl,';;
11926       esac
11927       ;;
11928
11929     sunos4*)
11930       lt_prog_compiler_wl_FC='-Qoption ld '
11931       lt_prog_compiler_pic_FC='-PIC'
11932       lt_prog_compiler_static_FC='-Bstatic'
11933       ;;
11934
11935     sysv4 | sysv4.2uw2* | sysv4.3*)
11936       lt_prog_compiler_wl_FC='-Wl,'
11937       lt_prog_compiler_pic_FC='-KPIC'
11938       lt_prog_compiler_static_FC='-Bstatic'
11939       ;;
11940
11941     sysv4*MP*)
11942       if test -d /usr/nec ;then
11943         lt_prog_compiler_pic_FC='-Kconform_pic'
11944         lt_prog_compiler_static_FC='-Bstatic'
11945       fi
11946       ;;
11947
11948     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11949       lt_prog_compiler_wl_FC='-Wl,'
11950       lt_prog_compiler_pic_FC='-KPIC'
11951       lt_prog_compiler_static_FC='-Bstatic'
11952       ;;
11953
11954     unicos*)
11955       lt_prog_compiler_wl_FC='-Wl,'
11956       lt_prog_compiler_can_build_shared_FC=no
11957       ;;
11958
11959     uts4*)
11960       lt_prog_compiler_pic_FC='-pic'
11961       lt_prog_compiler_static_FC='-Bstatic'
11962       ;;
11963
11964     *)
11965       lt_prog_compiler_can_build_shared_FC=no
11966       ;;
11967     esac
11968   fi
11969
11970 case $host_os in
11971   # For platforms which do not support PIC, -DPIC is meaningless:
11972   *djgpp*)
11973     lt_prog_compiler_pic_FC=
11974     ;;
11975   *)
11976     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11977     ;;
11978 esac
11979 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11980 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11981
11982
11983
11984 #
11985 # Check to make sure the PIC flag actually works.
11986 #
11987 if test -n "$lt_prog_compiler_pic_FC"; then
11988   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11989 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11990 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11991   echo $ECHO_N "(cached) $ECHO_C" >&6
11992 else
11993   lt_cv_prog_compiler_pic_works_FC=no
11994    ac_outfile=conftest.$ac_objext
11995    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11996    lt_compiler_flag="$lt_prog_compiler_pic_FC"
11997    # Insert the option either (1) after the last *FLAGS variable, or
11998    # (2) before a word containing "conftest.", or (3) at the end.
11999    # Note that $ac_compile itself does not contain backslashes and begins
12000    # with a dollar sign (not a hyphen), so the echo should work correctly.
12001    # The option is referenced via a variable to avoid confusing sed.
12002    lt_compile=`echo "$ac_compile" | $SED \
12003    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12004    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12005    -e 's:$: $lt_compiler_flag:'`
12006    (eval echo "\"\$as_me:12006: $lt_compile\"" >&5)
12007    (eval "$lt_compile" 2>conftest.err)
12008    ac_status=$?
12009    cat conftest.err >&5
12010    echo "$as_me:12010: \$? = $ac_status" >&5
12011    if (exit $ac_status) && test -s "$ac_outfile"; then
12012      # The compiler can only warn and ignore the option if not recognized
12013      # So say no if there are warnings other than the usual output.
12014      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12015      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12016      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12017        lt_cv_prog_compiler_pic_works_FC=yes
12018      fi
12019    fi
12020    $RM conftest*
12021
12022 fi
12023 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12024 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12025
12026 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12027     case $lt_prog_compiler_pic_FC in
12028      "" | " "*) ;;
12029      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12030      esac
12031 else
12032     lt_prog_compiler_pic_FC=
12033      lt_prog_compiler_can_build_shared_FC=no
12034 fi
12035
12036 fi
12037
12038
12039
12040 #
12041 # Check to make sure the static flag actually works.
12042 #
12043 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12044 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12045 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12046 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12047   echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049   lt_cv_prog_compiler_static_works_FC=no
12050    save_LDFLAGS="$LDFLAGS"
12051    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12052    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12053    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12054      # The linker can only warn and ignore the option if not recognized
12055      # So say no if there are warnings
12056      if test -s conftest.err; then
12057        # Append any errors to the config.log.
12058        cat conftest.err 1>&5
12059        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12060        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12061        if diff conftest.exp conftest.er2 >/dev/null; then
12062          lt_cv_prog_compiler_static_works_FC=yes
12063        fi
12064      else
12065        lt_cv_prog_compiler_static_works_FC=yes
12066      fi
12067    fi
12068    $RM -r conftest*
12069    LDFLAGS="$save_LDFLAGS"
12070
12071 fi
12072 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12073 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12074
12075 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12076     :
12077 else
12078     lt_prog_compiler_static_FC=
12079 fi
12080
12081
12082
12083
12084     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12085 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12086 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12087   echo $ECHO_N "(cached) $ECHO_C" >&6
12088 else
12089   lt_cv_prog_compiler_c_o_FC=no
12090    $RM -r conftest 2>/dev/null
12091    mkdir conftest
12092    cd conftest
12093    mkdir out
12094    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12095
12096    lt_compiler_flag="-o out/conftest2.$ac_objext"
12097    # Insert the option either (1) after the last *FLAGS variable, or
12098    # (2) before a word containing "conftest.", or (3) at the end.
12099    # Note that $ac_compile itself does not contain backslashes and begins
12100    # with a dollar sign (not a hyphen), so the echo should work correctly.
12101    lt_compile=`echo "$ac_compile" | $SED \
12102    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12103    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12104    -e 's:$: $lt_compiler_flag:'`
12105    (eval echo "\"\$as_me:12105: $lt_compile\"" >&5)
12106    (eval "$lt_compile" 2>out/conftest.err)
12107    ac_status=$?
12108    cat out/conftest.err >&5
12109    echo "$as_me:12109: \$? = $ac_status" >&5
12110    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12111    then
12112      # The compiler can only warn and ignore the option if not recognized
12113      # So say no if there are warnings
12114      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12115      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12116      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12117        lt_cv_prog_compiler_c_o_FC=yes
12118      fi
12119    fi
12120    chmod u+w . 2>&5
12121    $RM conftest*
12122    # SGI C++ compiler will create directory out/ii_files/ for
12123    # template instantiation
12124    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12125    $RM out/* && rmdir out
12126    cd ..
12127    $RM -r conftest
12128    $RM conftest*
12129
12130 fi
12131 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12132 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12133
12134
12135
12136     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12137 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12138 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12139   echo $ECHO_N "(cached) $ECHO_C" >&6
12140 else
12141   lt_cv_prog_compiler_c_o_FC=no
12142    $RM -r conftest 2>/dev/null
12143    mkdir conftest
12144    cd conftest
12145    mkdir out
12146    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12147
12148    lt_compiler_flag="-o out/conftest2.$ac_objext"
12149    # Insert the option either (1) after the last *FLAGS variable, or
12150    # (2) before a word containing "conftest.", or (3) at the end.
12151    # Note that $ac_compile itself does not contain backslashes and begins
12152    # with a dollar sign (not a hyphen), so the echo should work correctly.
12153    lt_compile=`echo "$ac_compile" | $SED \
12154    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12155    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12156    -e 's:$: $lt_compiler_flag:'`
12157    (eval echo "\"\$as_me:12157: $lt_compile\"" >&5)
12158    (eval "$lt_compile" 2>out/conftest.err)
12159    ac_status=$?
12160    cat out/conftest.err >&5
12161    echo "$as_me:12161: \$? = $ac_status" >&5
12162    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12163    then
12164      # The compiler can only warn and ignore the option if not recognized
12165      # So say no if there are warnings
12166      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12167      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12168      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12169        lt_cv_prog_compiler_c_o_FC=yes
12170      fi
12171    fi
12172    chmod u+w . 2>&5
12173    $RM conftest*
12174    # SGI C++ compiler will create directory out/ii_files/ for
12175    # template instantiation
12176    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12177    $RM out/* && rmdir out
12178    cd ..
12179    $RM -r conftest
12180    $RM conftest*
12181
12182 fi
12183 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12185
12186
12187
12188
12189 hard_links="nottested"
12190 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12191   # do not overwrite the value of need_locks provided by the user
12192   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12193 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12194   hard_links=yes
12195   $RM conftest*
12196   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12197   touch conftest.a
12198   ln conftest.a conftest.b 2>&5 || hard_links=no
12199   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12200   echo "$as_me:$LINENO: result: $hard_links" >&5
12201 echo "${ECHO_T}$hard_links" >&6
12202   if test "$hard_links" = no; then
12203     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12204 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12205     need_locks=warn
12206   fi
12207 else
12208   need_locks=no
12209 fi
12210
12211
12212
12213     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12214 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12215
12216   runpath_var=
12217   allow_undefined_flag_FC=
12218   always_export_symbols_FC=no
12219   archive_cmds_FC=
12220   archive_expsym_cmds_FC=
12221   compiler_needs_object_FC=no
12222   enable_shared_with_static_runtimes_FC=no
12223   export_dynamic_flag_spec_FC=
12224   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12225   hardcode_automatic_FC=no
12226   hardcode_direct_FC=no
12227   hardcode_direct_absolute_FC=no
12228   hardcode_libdir_flag_spec_FC=
12229   hardcode_libdir_flag_spec_ld_FC=
12230   hardcode_libdir_separator_FC=
12231   hardcode_minus_L_FC=no
12232   hardcode_shlibpath_var_FC=unsupported
12233   inherit_rpath_FC=no
12234   link_all_deplibs_FC=unknown
12235   module_cmds_FC=
12236   module_expsym_cmds_FC=
12237   old_archive_from_new_cmds_FC=
12238   old_archive_from_expsyms_cmds_FC=
12239   thread_safe_flag_spec_FC=
12240   whole_archive_flag_spec_FC=
12241   # include_expsyms should be a list of space-separated symbols to be *always*
12242   # included in the symbol list
12243   include_expsyms_FC=
12244   # exclude_expsyms can be an extended regexp of symbols to exclude
12245   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12246   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12247   # as well as any symbol that contains `d'.
12248   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12249   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12250   # platforms (ab)use it in PIC code, but their linkers get confused if
12251   # the symbol is explicitly referenced.  Since portable code cannot
12252   # rely on this symbol name, it's probably fine to never include it in
12253   # preloaded symbol tables.
12254   # Exclude shared library initialization/finalization symbols.
12255   extract_expsyms_cmds=
12256
12257   case $host_os in
12258   cygwin* | mingw* | pw32* | cegcc*)
12259     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12260     # When not using gcc, we currently assume that we are using
12261     # Microsoft Visual C++.
12262     if test "$GCC" != yes; then
12263       with_gnu_ld=no
12264     fi
12265     ;;
12266   interix*)
12267     # we just hope/assume this is gcc and not c89 (= MSVC++)
12268     with_gnu_ld=yes
12269     ;;
12270   openbsd*)
12271     with_gnu_ld=no
12272     ;;
12273   esac
12274
12275   ld_shlibs_FC=yes
12276   if test "$with_gnu_ld" = yes; then
12277     # If archive_cmds runs LD, not CC, wlarc should be empty
12278     wlarc='${wl}'
12279
12280     # Set some defaults for GNU ld with shared library support. These
12281     # are reset later if shared libraries are not supported. Putting them
12282     # here allows them to be overridden if necessary.
12283     runpath_var=LD_RUN_PATH
12284     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12285     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12286     # ancient GNU ld didn't support --whole-archive et. al.
12287     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12288       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12289     else
12290       whole_archive_flag_spec_FC=
12291     fi
12292     supports_anon_versioning=no
12293     case `$LD -v 2>&1` in
12294       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12295       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12296       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12297       *\ 2.11.*) ;; # other 2.11 versions
12298       *) supports_anon_versioning=yes ;;
12299     esac
12300
12301     # See if GNU ld supports shared libraries.
12302     case $host_os in
12303     aix[3-9]*)
12304       # On AIX/PPC, the GNU linker is very broken
12305       if test "$host_cpu" != ia64; then
12306         ld_shlibs_FC=no
12307         cat <<_LT_EOF 1>&2
12308
12309 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12310 *** to be unable to reliably create shared libraries on AIX.
12311 *** Therefore, libtool is disabling shared libraries support.  If you
12312 *** really care for shared libraries, you may want to modify your PATH
12313 *** so that a non-GNU linker is found, and then restart.
12314
12315 _LT_EOF
12316       fi
12317       ;;
12318
12319     amigaos*)
12320       case $host_cpu in
12321       powerpc)
12322             # see comment about AmigaOS4 .so support
12323             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324             archive_expsym_cmds_FC=''
12325         ;;
12326       m68k)
12327             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)'
12328             hardcode_libdir_flag_spec_FC='-L$libdir'
12329             hardcode_minus_L_FC=yes
12330         ;;
12331       esac
12332       ;;
12333
12334     beos*)
12335       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12336         allow_undefined_flag_FC=unsupported
12337         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12338         # support --undefined.  This deserves some investigation.  FIXME
12339         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12340       else
12341         ld_shlibs_FC=no
12342       fi
12343       ;;
12344
12345     cygwin* | mingw* | pw32* | cegcc*)
12346       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12347       # as there is no search path for DLLs.
12348       hardcode_libdir_flag_spec_FC='-L$libdir'
12349       allow_undefined_flag_FC=unsupported
12350       always_export_symbols_FC=no
12351       enable_shared_with_static_runtimes_FC=yes
12352       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12353
12354       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12355         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12356         # If the export-symbols file already is a .def file (1st line
12357         # is EXPORTS), use it as is; otherwise, prepend...
12358         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12359           cp $export_symbols $output_objdir/$soname.def;
12360         else
12361           echo EXPORTS > $output_objdir/$soname.def;
12362           cat $export_symbols >> $output_objdir/$soname.def;
12363         fi~
12364         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12365       else
12366         ld_shlibs_FC=no
12367       fi
12368       ;;
12369
12370     interix[3-9]*)
12371       hardcode_direct_FC=no
12372       hardcode_shlibpath_var_FC=no
12373       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12374       export_dynamic_flag_spec_FC='${wl}-E'
12375       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12376       # Instead, shared libraries are loaded at an image base (0x10000000 by
12377       # default) and relocated if they conflict, which is a slow very memory
12378       # consuming and fragmenting process.  To avoid this, we pick a random,
12379       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12380       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12381       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'
12382       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'
12383       ;;
12384
12385     gnu* | linux* | tpf* | k*bsd*-gnu)
12386       tmp_diet=no
12387       if test "$host_os" = linux-dietlibc; then
12388         case $cc_basename in
12389           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12390         esac
12391       fi
12392       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12393          && test "$tmp_diet" = no
12394       then
12395         tmp_addflag=
12396         tmp_sharedflag='-shared'
12397         case $cc_basename,$host_cpu in
12398         pgcc*)                          # Portland Group C compiler
12399           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'
12400           tmp_addflag=' $pic_flag'
12401           ;;
12402         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
12403           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'
12404           tmp_addflag=' $pic_flag -Mnomain' ;;
12405         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12406           tmp_addflag=' -i_dynamic' ;;
12407         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12408           tmp_addflag=' -i_dynamic -nofor_main' ;;
12409         ifc* | ifort*)                  # Intel Fortran compiler
12410           tmp_addflag=' -nofor_main' ;;
12411         lf95*)                          # Lahey Fortran 8.1
12412           whole_archive_flag_spec_FC=
12413           tmp_sharedflag='--shared' ;;
12414         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
12415           tmp_sharedflag='-qmkshrobj'
12416           tmp_addflag= ;;
12417         esac
12418         case `$CC -V 2>&1 | sed 5q` in
12419         *Sun\ C*)                       # Sun C 5.9
12420           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'
12421           compiler_needs_object_FC=yes
12422           tmp_sharedflag='-G' ;;
12423         *Sun\ F*)                       # Sun Fortran 8.3
12424           tmp_sharedflag='-G' ;;
12425         esac
12426         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12427
12428         if test "x$supports_anon_versioning" = xyes; then
12429           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12430             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12431             echo "local: *; };" >> $output_objdir/$libname.ver~
12432             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12433         fi
12434
12435         case $cc_basename in
12436         xlf*)
12437           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12438           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12439           hardcode_libdir_flag_spec_FC=
12440           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12441           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12442           if test "x$supports_anon_versioning" = xyes; then
12443             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12444               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12445               echo "local: *; };" >> $output_objdir/$libname.ver~
12446               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12447           fi
12448           ;;
12449         esac
12450       else
12451         ld_shlibs_FC=no
12452       fi
12453       ;;
12454
12455     netbsd*)
12456       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12457         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12458         wlarc=
12459       else
12460         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12461         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12462       fi
12463       ;;
12464
12465     solaris*)
12466       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12467         ld_shlibs_FC=no
12468         cat <<_LT_EOF 1>&2
12469
12470 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12471 *** create shared libraries on Solaris systems.  Therefore, libtool
12472 *** is disabling shared libraries support.  We urge you to upgrade GNU
12473 *** binutils to release 2.9.1 or newer.  Another option is to modify
12474 *** your PATH or compiler configuration so that the native linker is
12475 *** used, and then restart.
12476
12477 _LT_EOF
12478       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12479         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12480         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12481       else
12482         ld_shlibs_FC=no
12483       fi
12484       ;;
12485
12486     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12487       case `$LD -v 2>&1` in
12488         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12489         ld_shlibs_FC=no
12490         cat <<_LT_EOF 1>&2
12491
12492 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12493 *** reliably create shared libraries on SCO systems.  Therefore, libtool
12494 *** is disabling shared libraries support.  We urge you to upgrade GNU
12495 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12496 *** your PATH or compiler configuration so that the native linker is
12497 *** used, and then restart.
12498
12499 _LT_EOF
12500         ;;
12501         *)
12502           # For security reasons, it is highly recommended that you always
12503           # use absolute paths for naming shared libraries, and exclude the
12504           # DT_RUNPATH tag from executables and libraries.  But doing so
12505           # requires that you compile everything twice, which is a pain.
12506           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12507             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12508             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12509             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12510           else
12511             ld_shlibs_FC=no
12512           fi
12513         ;;
12514       esac
12515       ;;
12516
12517     sunos4*)
12518       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12519       wlarc=
12520       hardcode_direct_FC=yes
12521       hardcode_shlibpath_var_FC=no
12522       ;;
12523
12524     *)
12525       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12526         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12527         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12528       else
12529         ld_shlibs_FC=no
12530       fi
12531       ;;
12532     esac
12533
12534     if test "$ld_shlibs_FC" = no; then
12535       runpath_var=
12536       hardcode_libdir_flag_spec_FC=
12537       export_dynamic_flag_spec_FC=
12538       whole_archive_flag_spec_FC=
12539     fi
12540   else
12541     # PORTME fill in a description of your system's linker (not GNU ld)
12542     case $host_os in
12543     aix3*)
12544       allow_undefined_flag_FC=unsupported
12545       always_export_symbols_FC=yes
12546       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'
12547       # Note: this linker hardcodes the directories in LIBPATH if there
12548       # are no directories specified by -L.
12549       hardcode_minus_L_FC=yes
12550       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12551         # Neither direct hardcoding nor static linking is supported with a
12552         # broken collect2.
12553         hardcode_direct_FC=unsupported
12554       fi
12555       ;;
12556
12557     aix[4-9]*)
12558       if test "$host_cpu" = ia64; then
12559         # On IA64, the linker does run time linking by default, so we don't
12560         # have to do anything special.
12561         aix_use_runtimelinking=no
12562         exp_sym_flag='-Bexport'
12563         no_entry_flag=""
12564       else
12565         # If we're using GNU nm, then we don't want the "-C" option.
12566         # -C means demangle to AIX nm, but means don't demangle with GNU nm
12567         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12568           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'
12569         else
12570           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'
12571         fi
12572         aix_use_runtimelinking=no
12573
12574         # Test if we are trying to use run time linking or normal
12575         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12576         # need to do runtime linking.
12577         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12578           for ld_flag in $LDFLAGS; do
12579           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12580             aix_use_runtimelinking=yes
12581             break
12582           fi
12583           done
12584           ;;
12585         esac
12586
12587         exp_sym_flag='-bexport'
12588         no_entry_flag='-bnoentry'
12589       fi
12590
12591       # When large executables or shared objects are built, AIX ld can
12592       # have problems creating the table of contents.  If linking a library
12593       # or program results in "error TOC overflow" add -mminimal-toc to
12594       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12595       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12596
12597       archive_cmds_FC=''
12598       hardcode_direct_FC=yes
12599       hardcode_direct_absolute_FC=yes
12600       hardcode_libdir_separator_FC=':'
12601       link_all_deplibs_FC=yes
12602       file_list_spec_FC='${wl}-f,'
12603
12604       if test "$GCC" = yes; then
12605         case $host_os in aix4.[012]|aix4.[012].*)
12606         # We only want to do this on AIX 4.2 and lower, the check
12607         # below for broken collect2 doesn't work under 4.3+
12608           collect2name=`${CC} -print-prog-name=collect2`
12609           if test -f "$collect2name" &&
12610            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12611           then
12612           # We have reworked collect2
12613           :
12614           else
12615           # We have old collect2
12616           hardcode_direct_FC=unsupported
12617           # It fails to find uninstalled libraries when the uninstalled
12618           # path is not listed in the libpath.  Setting hardcode_minus_L
12619           # to unsupported forces relinking
12620           hardcode_minus_L_FC=yes
12621           hardcode_libdir_flag_spec_FC='-L$libdir'
12622           hardcode_libdir_separator_FC=
12623           fi
12624           ;;
12625         esac
12626         shared_flag='-shared'
12627         if test "$aix_use_runtimelinking" = yes; then
12628           shared_flag="$shared_flag "'${wl}-G'
12629         fi
12630       else
12631         # not using gcc
12632         if test "$host_cpu" = ia64; then
12633         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12634         # chokes on -Wl,-G. The following line is correct:
12635           shared_flag='-G'
12636         else
12637           if test "$aix_use_runtimelinking" = yes; then
12638             shared_flag='${wl}-G'
12639           else
12640             shared_flag='${wl}-bM:SRE'
12641           fi
12642         fi
12643       fi
12644
12645       export_dynamic_flag_spec_FC='${wl}-bexpall'
12646       # It seems that -bexpall does not export symbols beginning with
12647       # underscore (_), so it is better to generate a list of symbols to export.
12648       always_export_symbols_FC=yes
12649       if test "$aix_use_runtimelinking" = yes; then
12650         # Warning - without using the other runtime loading flags (-brtl),
12651         # -berok will link without error, but may produce a broken library.
12652         allow_undefined_flag_FC='-berok'
12653         # Determine the default libpath from the value encoded in an
12654         # empty executable.
12655         if test x$gcc_no_link = xyes; then
12656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12658    { (exit 1); exit 1; }; }
12659 fi
12660 cat >conftest.$ac_ext <<_ACEOF
12661       program main
12662
12663       end
12664 _ACEOF
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12667   (eval $ac_link) 2>conftest.er1
12668   ac_status=$?
12669   grep -v '^ *+' conftest.er1 >conftest.err
12670   rm -f conftest.er1
12671   cat conftest.err >&5
12672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673   (exit $ac_status); } &&
12674          { ac_try='test -z "$ac_fc_werror_flag"
12675                          || test ! -s conftest.err'
12676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677   (eval $ac_try) 2>&5
12678   ac_status=$?
12679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680   (exit $ac_status); }; } &&
12681          { ac_try='test -s conftest$ac_exeext'
12682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683   (eval $ac_try) 2>&5
12684   ac_status=$?
12685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686   (exit $ac_status); }; }; then
12687
12688 lt_aix_libpath_sed='
12689     /Import File Strings/,/^$/ {
12690         /^0/ {
12691             s/^0  *\(.*\)$/\1/
12692             p
12693         }
12694     }'
12695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12696 # Check for a 64-bit object if we didn't find anything.
12697 if test -z "$aix_libpath"; then
12698   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12699 fi
12700 else
12701   echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12703
12704 fi
12705 rm -f conftest.err conftest.$ac_objext \
12706       conftest$ac_exeext conftest.$ac_ext
12707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12708
12709         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12710         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"
12711       else
12712         if test "$host_cpu" = ia64; then
12713           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12714           allow_undefined_flag_FC="-z nodefs"
12715           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"
12716         else
12717          # Determine the default libpath from the value encoded in an
12718          # empty executable.
12719          if test x$gcc_no_link = xyes; then
12720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12722    { (exit 1); exit 1; }; }
12723 fi
12724 cat >conftest.$ac_ext <<_ACEOF
12725       program main
12726
12727       end
12728 _ACEOF
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731   (eval $ac_link) 2>conftest.er1
12732   ac_status=$?
12733   grep -v '^ *+' conftest.er1 >conftest.err
12734   rm -f conftest.er1
12735   cat conftest.err >&5
12736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737   (exit $ac_status); } &&
12738          { ac_try='test -z "$ac_fc_werror_flag"
12739                          || test ! -s conftest.err'
12740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741   (eval $ac_try) 2>&5
12742   ac_status=$?
12743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744   (exit $ac_status); }; } &&
12745          { ac_try='test -s conftest$ac_exeext'
12746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747   (eval $ac_try) 2>&5
12748   ac_status=$?
12749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750   (exit $ac_status); }; }; then
12751
12752 lt_aix_libpath_sed='
12753     /Import File Strings/,/^$/ {
12754         /^0/ {
12755             s/^0  *\(.*\)$/\1/
12756             p
12757         }
12758     }'
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12763 fi
12764 else
12765   echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 fi
12769 rm -f conftest.err conftest.$ac_objext \
12770       conftest$ac_exeext conftest.$ac_ext
12771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12772
12773          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12774           # Warning - without using the other run time loading flags,
12775           # -berok will link without error, but may produce a broken library.
12776           no_undefined_flag_FC=' ${wl}-bernotok'
12777           allow_undefined_flag_FC=' ${wl}-berok'
12778           # Exported symbols can be pulled into shared objects from archives
12779           whole_archive_flag_spec_FC='$convenience'
12780           archive_cmds_need_lc_FC=yes
12781           # This is similar to how AIX traditionally builds its shared libraries.
12782           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'
12783         fi
12784       fi
12785       ;;
12786
12787     amigaos*)
12788       case $host_cpu in
12789       powerpc)
12790             # see comment about AmigaOS4 .so support
12791             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12792             archive_expsym_cmds_FC=''
12793         ;;
12794       m68k)
12795             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)'
12796             hardcode_libdir_flag_spec_FC='-L$libdir'
12797             hardcode_minus_L_FC=yes
12798         ;;
12799       esac
12800       ;;
12801
12802     bsdi[45]*)
12803       export_dynamic_flag_spec_FC=-rdynamic
12804       ;;
12805
12806     cygwin* | mingw* | pw32* | cegcc*)
12807       # When not using gcc, we currently assume that we are using
12808       # Microsoft Visual C++.
12809       # hardcode_libdir_flag_spec is actually meaningless, as there is
12810       # no search path for DLLs.
12811       hardcode_libdir_flag_spec_FC=' '
12812       allow_undefined_flag_FC=unsupported
12813       # Tell ltmain to make .lib files, not .a files.
12814       libext=lib
12815       # Tell ltmain to make .dll files, not .so files.
12816       shrext_cmds=".dll"
12817       # FIXME: Setting linknames here is a bad hack.
12818       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12819       # The linker will automatically build a .lib file if we build a DLL.
12820       old_archive_from_new_cmds_FC='true'
12821       # FIXME: Should let the user specify the lib program.
12822       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12823       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12824       enable_shared_with_static_runtimes_FC=yes
12825       ;;
12826
12827     darwin* | rhapsody*)
12828
12829
12830   archive_cmds_need_lc_FC=no
12831   hardcode_direct_FC=no
12832   hardcode_automatic_FC=yes
12833   hardcode_shlibpath_var_FC=unsupported
12834   whole_archive_flag_spec_FC=''
12835   link_all_deplibs_FC=yes
12836   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12837   case $cc_basename in
12838      ifort*) _lt_dar_can_shared=yes ;;
12839      *) _lt_dar_can_shared=$GCC ;;
12840   esac
12841   if test "$_lt_dar_can_shared" = "yes"; then
12842     output_verbose_link_cmd=echo
12843     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}"
12844     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12845     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}"
12846     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}"
12847
12848   else
12849   ld_shlibs_FC=no
12850   fi
12851
12852       ;;
12853
12854     dgux*)
12855       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12856       hardcode_libdir_flag_spec_FC='-L$libdir'
12857       hardcode_shlibpath_var_FC=no
12858       ;;
12859
12860     freebsd1*)
12861       ld_shlibs_FC=no
12862       ;;
12863
12864     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12865     # support.  Future versions do this automatically, but an explicit c++rt0.o
12866     # does not break anything, and helps significantly (at the cost of a little
12867     # extra space).
12868     freebsd2.2*)
12869       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12870       hardcode_libdir_flag_spec_FC='-R$libdir'
12871       hardcode_direct_FC=yes
12872       hardcode_shlibpath_var_FC=no
12873       ;;
12874
12875     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12876     freebsd2*)
12877       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12878       hardcode_direct_FC=yes
12879       hardcode_minus_L_FC=yes
12880       hardcode_shlibpath_var_FC=no
12881       ;;
12882
12883     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12884     freebsd* | dragonfly*)
12885       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12886       hardcode_libdir_flag_spec_FC='-R$libdir'
12887       hardcode_direct_FC=yes
12888       hardcode_shlibpath_var_FC=no
12889       ;;
12890
12891     hpux9*)
12892       if test "$GCC" = yes; then
12893         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'
12894       else
12895         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'
12896       fi
12897       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12898       hardcode_libdir_separator_FC=:
12899       hardcode_direct_FC=yes
12900
12901       # hardcode_minus_L: Not really in the search PATH,
12902       # but as the default location of the library.
12903       hardcode_minus_L_FC=yes
12904       export_dynamic_flag_spec_FC='${wl}-E'
12905       ;;
12906
12907     hpux10*)
12908       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12909         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12910       else
12911         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12912       fi
12913       if test "$with_gnu_ld" = no; then
12914         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12915         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12916         hardcode_libdir_separator_FC=:
12917         hardcode_direct_FC=yes
12918         hardcode_direct_absolute_FC=yes
12919         export_dynamic_flag_spec_FC='${wl}-E'
12920         # hardcode_minus_L: Not really in the search PATH,
12921         # but as the default location of the library.
12922         hardcode_minus_L_FC=yes
12923       fi
12924       ;;
12925
12926     hpux11*)
12927       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12928         case $host_cpu in
12929         hppa*64*)
12930           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12931           ;;
12932         ia64*)
12933           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12934           ;;
12935         *)
12936           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12937           ;;
12938         esac
12939       else
12940         case $host_cpu in
12941         hppa*64*)
12942           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12943           ;;
12944         ia64*)
12945           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12946           ;;
12947         *)
12948           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12949           ;;
12950         esac
12951       fi
12952       if test "$with_gnu_ld" = no; then
12953         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12954         hardcode_libdir_separator_FC=:
12955
12956         case $host_cpu in
12957         hppa*64*|ia64*)
12958           hardcode_direct_FC=no
12959           hardcode_shlibpath_var_FC=no
12960           ;;
12961         *)
12962           hardcode_direct_FC=yes
12963           hardcode_direct_absolute_FC=yes
12964           export_dynamic_flag_spec_FC='${wl}-E'
12965
12966           # hardcode_minus_L: Not really in the search PATH,
12967           # but as the default location of the library.
12968           hardcode_minus_L_FC=yes
12969           ;;
12970         esac
12971       fi
12972       ;;
12973
12974     irix5* | irix6* | nonstopux*)
12975       if test "$GCC" = yes; then
12976         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'
12977         # Try to use the -exported_symbol ld option, if it does not
12978         # work, assume that -exports_file does not work either and
12979         # implicitly export all symbols.
12980         save_LDFLAGS="$LDFLAGS"
12981         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12982         if test x$gcc_no_link = xyes; then
12983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12985    { (exit 1); exit 1; }; }
12986 fi
12987 cat >conftest.$ac_ext <<_ACEOF
12988 int foo(void) {}
12989 _ACEOF
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992   (eval $ac_link) 2>conftest.er1
12993   ac_status=$?
12994   grep -v '^ *+' conftest.er1 >conftest.err
12995   rm -f conftest.er1
12996   cat conftest.err >&5
12997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998   (exit $ac_status); } &&
12999          { ac_try='test -z "$ac_fc_werror_flag"
13000                          || test ! -s conftest.err'
13001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002   (eval $ac_try) 2>&5
13003   ac_status=$?
13004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005   (exit $ac_status); }; } &&
13006          { ac_try='test -s conftest$ac_exeext'
13007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008   (eval $ac_try) 2>&5
13009   ac_status=$?
13010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011   (exit $ac_status); }; }; then
13012   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'
13013
13014 else
13015   echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13017
13018 fi
13019 rm -f conftest.err conftest.$ac_objext \
13020       conftest$ac_exeext conftest.$ac_ext
13021         LDFLAGS="$save_LDFLAGS"
13022       else
13023         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'
13024         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'
13025       fi
13026       archive_cmds_need_lc_FC='no'
13027       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13028       hardcode_libdir_separator_FC=:
13029       inherit_rpath_FC=yes
13030       link_all_deplibs_FC=yes
13031       ;;
13032
13033     netbsd*)
13034       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13035         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13036       else
13037         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13038       fi
13039       hardcode_libdir_flag_spec_FC='-R$libdir'
13040       hardcode_direct_FC=yes
13041       hardcode_shlibpath_var_FC=no
13042       ;;
13043
13044     newsos6)
13045       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046       hardcode_direct_FC=yes
13047       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13048       hardcode_libdir_separator_FC=:
13049       hardcode_shlibpath_var_FC=no
13050       ;;
13051
13052     *nto* | *qnx*)
13053       ;;
13054
13055     openbsd*)
13056       if test -f /usr/libexec/ld.so; then
13057         hardcode_direct_FC=yes
13058         hardcode_shlibpath_var_FC=no
13059         hardcode_direct_absolute_FC=yes
13060         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13061           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13062           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13063           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13064           export_dynamic_flag_spec_FC='${wl}-E'
13065         else
13066           case $host_os in
13067            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13068              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13069              hardcode_libdir_flag_spec_FC='-R$libdir'
13070              ;;
13071            *)
13072              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13073              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13074              ;;
13075           esac
13076         fi
13077       else
13078         ld_shlibs_FC=no
13079       fi
13080       ;;
13081
13082     os2*)
13083       hardcode_libdir_flag_spec_FC='-L$libdir'
13084       hardcode_minus_L_FC=yes
13085       allow_undefined_flag_FC=unsupported
13086       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'
13087       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13088       ;;
13089
13090     osf3*)
13091       if test "$GCC" = yes; then
13092         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13093         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'
13094       else
13095         allow_undefined_flag_FC=' -expect_unresolved \*'
13096         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'
13097       fi
13098       archive_cmds_need_lc_FC='no'
13099       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13100       hardcode_libdir_separator_FC=:
13101       ;;
13102
13103     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13104       if test "$GCC" = yes; then
13105         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13106         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'
13107         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13108       else
13109         allow_undefined_flag_FC=' -expect_unresolved \*'
13110         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'
13111         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~
13112         $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'
13113
13114         # Both c and cxx compiler support -rpath directly
13115         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13116       fi
13117       archive_cmds_need_lc_FC='no'
13118       hardcode_libdir_separator_FC=:
13119       ;;
13120
13121     solaris*)
13122       no_undefined_flag_FC=' -z defs'
13123       if test "$GCC" = yes; then
13124         wlarc='${wl}'
13125         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13126         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13128       else
13129         case `$CC -V 2>&1` in
13130         *"Compilers 5.0"*)
13131           wlarc=''
13132           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13133           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13135           ;;
13136         *)
13137           wlarc='${wl}'
13138           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13139           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13140           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13141           ;;
13142         esac
13143       fi
13144       hardcode_libdir_flag_spec_FC='-R$libdir'
13145       hardcode_shlibpath_var_FC=no
13146       case $host_os in
13147       solaris2.[0-5] | solaris2.[0-5].*) ;;
13148       *)
13149         # The compiler driver will combine and reorder linker options,
13150         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13151         # but is careful enough not to reorder.
13152         # Supported since Solaris 2.6 (maybe 2.5.1?)
13153         if test "$GCC" = yes; then
13154           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13155         else
13156           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13157         fi
13158         ;;
13159       esac
13160       link_all_deplibs_FC=yes
13161       ;;
13162
13163     sunos4*)
13164       if test "x$host_vendor" = xsequent; then
13165         # Use $CC to link under sequent, because it throws in some extra .o
13166         # files that make .init and .fini sections work.
13167         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13168       else
13169         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13170       fi
13171       hardcode_libdir_flag_spec_FC='-L$libdir'
13172       hardcode_direct_FC=yes
13173       hardcode_minus_L_FC=yes
13174       hardcode_shlibpath_var_FC=no
13175       ;;
13176
13177     sysv4)
13178       case $host_vendor in
13179         sni)
13180           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13181           hardcode_direct_FC=yes # is this really true???
13182         ;;
13183         siemens)
13184           ## LD is ld it makes a PLAMLIB
13185           ## CC just makes a GrossModule.
13186           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13187           reload_cmds_FC='$CC -r -o $output$reload_objs'
13188           hardcode_direct_FC=no
13189         ;;
13190         motorola)
13191           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13192           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13193         ;;
13194       esac
13195       runpath_var='LD_RUN_PATH'
13196       hardcode_shlibpath_var_FC=no
13197       ;;
13198
13199     sysv4.3*)
13200       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13201       hardcode_shlibpath_var_FC=no
13202       export_dynamic_flag_spec_FC='-Bexport'
13203       ;;
13204
13205     sysv4*MP*)
13206       if test -d /usr/nec; then
13207         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13208         hardcode_shlibpath_var_FC=no
13209         runpath_var=LD_RUN_PATH
13210         hardcode_runpath_var=yes
13211         ld_shlibs_FC=yes
13212       fi
13213       ;;
13214
13215     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216       no_undefined_flag_FC='${wl}-z,text'
13217       archive_cmds_need_lc_FC=no
13218       hardcode_shlibpath_var_FC=no
13219       runpath_var='LD_RUN_PATH'
13220
13221       if test "$GCC" = yes; then
13222         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224       else
13225         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227       fi
13228       ;;
13229
13230     sysv5* | sco3.2v5* | sco5v6*)
13231       # Note: We can NOT use -z defs as we might desire, because we do not
13232       # link with -lc, and that would cause any symbols used from libc to
13233       # always be unresolved, which means just about no library would
13234       # ever link correctly.  If we're not using GNU ld we use -z text
13235       # though, which does catch some bad symbols but isn't as heavy-handed
13236       # as -z defs.
13237       no_undefined_flag_FC='${wl}-z,text'
13238       allow_undefined_flag_FC='${wl}-z,nodefs'
13239       archive_cmds_need_lc_FC=no
13240       hardcode_shlibpath_var_FC=no
13241       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13242       hardcode_libdir_separator_FC=':'
13243       link_all_deplibs_FC=yes
13244       export_dynamic_flag_spec_FC='${wl}-Bexport'
13245       runpath_var='LD_RUN_PATH'
13246
13247       if test "$GCC" = yes; then
13248         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250       else
13251         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253       fi
13254       ;;
13255
13256     uts4*)
13257       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13258       hardcode_libdir_flag_spec_FC='-L$libdir'
13259       hardcode_shlibpath_var_FC=no
13260       ;;
13261
13262     *)
13263       ld_shlibs_FC=no
13264       ;;
13265     esac
13266
13267     if test x$host_vendor = xsni; then
13268       case $host in
13269       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13270         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13271         ;;
13272       esac
13273     fi
13274   fi
13275
13276 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13277 echo "${ECHO_T}$ld_shlibs_FC" >&6
13278 test "$ld_shlibs_FC" = no && can_build_shared=no
13279
13280 with_gnu_ld_FC=$with_gnu_ld
13281
13282
13283
13284
13285
13286
13287 #
13288 # Do we need to explicitly link libc?
13289 #
13290 case "x$archive_cmds_need_lc_FC" in
13291 x|xyes)
13292   # Assume -lc should be added
13293   archive_cmds_need_lc_FC=yes
13294
13295   if test "$enable_shared" = yes && test "$GCC" = yes; then
13296     case $archive_cmds_FC in
13297     *'~'*)
13298       # FIXME: we may have to deal with multi-command sequences.
13299       ;;
13300     '$CC '*)
13301       # Test whether the compiler implicitly links with -lc since on some
13302       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13303       # to ld, don't add -lc before -lgcc.
13304       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13305 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13306 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13307   echo $ECHO_N "(cached) $ECHO_C" >&6
13308 else
13309   $RM conftest*
13310         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13311
13312         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313   (eval $ac_compile) 2>&5
13314   ac_status=$?
13315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316   (exit $ac_status); } 2>conftest.err; then
13317           soname=conftest
13318           lib=conftest
13319           libobjs=conftest.$ac_objext
13320           deplibs=
13321           wl=$lt_prog_compiler_wl_FC
13322           pic_flag=$lt_prog_compiler_pic_FC
13323           compiler_flags=-v
13324           linker_flags=-v
13325           verstring=
13326           output_objdir=.
13327           libname=conftest
13328           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13329           allow_undefined_flag_FC=
13330           if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13331   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13332   ac_status=$?
13333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334   (exit $ac_status); }
13335           then
13336             lt_cv_archive_cmds_need_lc_FC=no
13337           else
13338             lt_cv_archive_cmds_need_lc_FC=yes
13339           fi
13340           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13341         else
13342           cat conftest.err 1>&5
13343         fi
13344         $RM conftest*
13345
13346 fi
13347 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13348 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13349       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13350       ;;
13351     esac
13352   fi
13353   ;;
13354 esac
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
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13420 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13421
13422 library_names_spec=
13423 libname_spec='lib$name'
13424 soname_spec=
13425 shrext_cmds=".so"
13426 postinstall_cmds=
13427 postuninstall_cmds=
13428 finish_cmds=
13429 finish_eval=
13430 shlibpath_var=
13431 shlibpath_overrides_runpath=unknown
13432 version_type=none
13433 dynamic_linker="$host_os ld.so"
13434 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13435 need_lib_prefix=unknown
13436 hardcode_into_libs=no
13437
13438 # when you set need_version to no, make sure it does not cause -set_version
13439 # flags to be left without arguments
13440 need_version=unknown
13441
13442 case $host_os in
13443 aix3*)
13444   version_type=linux
13445   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13446   shlibpath_var=LIBPATH
13447
13448   # AIX 3 has no versioning support, so we append a major version to the name.
13449   soname_spec='${libname}${release}${shared_ext}$major'
13450   ;;
13451
13452 aix[4-9]*)
13453   version_type=linux
13454   need_lib_prefix=no
13455   need_version=no
13456   hardcode_into_libs=yes
13457   if test "$host_cpu" = ia64; then
13458     # AIX 5 supports IA64
13459     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13460     shlibpath_var=LD_LIBRARY_PATH
13461   else
13462     # With GCC up to 2.95.x, collect2 would create an import file
13463     # for dependence libraries.  The import file would start with
13464     # the line `#! .'.  This would cause the generated library to
13465     # depend on `.', always an invalid library.  This was fixed in
13466     # development snapshots of GCC prior to 3.0.
13467     case $host_os in
13468       aix4 | aix4.[01] | aix4.[01].*)
13469       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13470            echo ' yes '
13471            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13472         :
13473       else
13474         can_build_shared=no
13475       fi
13476       ;;
13477     esac
13478     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13479     # soname into executable. Probably we can add versioning support to
13480     # collect2, so additional links can be useful in future.
13481     if test "$aix_use_runtimelinking" = yes; then
13482       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13483       # instead of lib<name>.a to let people know that these are not
13484       # typical AIX shared libraries.
13485       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486     else
13487       # We preserve .a as extension for shared libraries through AIX4.2
13488       # and later when we are not doing run time linking.
13489       library_names_spec='${libname}${release}.a $libname.a'
13490       soname_spec='${libname}${release}${shared_ext}$major'
13491     fi
13492     shlibpath_var=LIBPATH
13493   fi
13494   ;;
13495
13496 amigaos*)
13497   case $host_cpu in
13498   powerpc)
13499     # Since July 2007 AmigaOS4 officially supports .so libraries.
13500     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13501     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13502     ;;
13503   m68k)
13504     library_names_spec='$libname.ixlibrary $libname.a'
13505     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13506     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'
13507     ;;
13508   esac
13509   ;;
13510
13511 beos*)
13512   library_names_spec='${libname}${shared_ext}'
13513   dynamic_linker="$host_os ld.so"
13514   shlibpath_var=LIBRARY_PATH
13515   ;;
13516
13517 bsdi[45]*)
13518   version_type=linux
13519   need_version=no
13520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13521   soname_spec='${libname}${release}${shared_ext}$major'
13522   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13523   shlibpath_var=LD_LIBRARY_PATH
13524   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13525   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13526   # the default ld.so.conf also contains /usr/contrib/lib and
13527   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13528   # libtool to hard-code these into programs
13529   ;;
13530
13531 cygwin* | mingw* | pw32* | cegcc*)
13532   version_type=windows
13533   shrext_cmds=".dll"
13534   need_version=no
13535   need_lib_prefix=no
13536
13537   case $GCC,$host_os in
13538   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13539     library_names_spec='$libname.dll.a'
13540     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13541     postinstall_cmds='base_file=`basename \${file}`~
13542       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13543       dldir=$destdir/`dirname \$dlpath`~
13544       test -d \$dldir || mkdir -p \$dldir~
13545       $install_prog $dir/$dlname \$dldir/$dlname~
13546       chmod a+x \$dldir/$dlname~
13547       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13548         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13549       fi'
13550     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13551       dlpath=$dir/\$dldll~
13552        $RM \$dlpath'
13553     shlibpath_overrides_runpath=yes
13554
13555     case $host_os in
13556     cygwin*)
13557       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13558       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13559       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13560       ;;
13561     mingw* | cegcc*)
13562       # MinGW DLLs use traditional 'lib' prefix
13563       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13564       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13565       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13566         # It is most probably a Windows format PATH printed by
13567         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13568         # path with ; separators, and with drive letters. We can handle the
13569         # drive letters (cygwin fileutils understands them), so leave them,
13570         # especially as we might pass files found there to a mingw objdump,
13571         # which wouldn't understand a cygwinified path. Ahh.
13572         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13573       else
13574         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13575       fi
13576       ;;
13577     pw32*)
13578       # pw32 DLLs use 'pw' prefix rather than 'lib'
13579       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13580       ;;
13581     esac
13582     ;;
13583
13584   *)
13585     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13586     ;;
13587   esac
13588   dynamic_linker='Win32 ld.exe'
13589   # FIXME: first we should search . and the directory the executable is in
13590   shlibpath_var=PATH
13591   ;;
13592
13593 darwin* | rhapsody*)
13594   dynamic_linker="$host_os dyld"
13595   version_type=darwin
13596   need_lib_prefix=no
13597   need_version=no
13598   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13599   soname_spec='${libname}${release}${major}$shared_ext'
13600   shlibpath_overrides_runpath=yes
13601   shlibpath_var=DYLD_LIBRARY_PATH
13602   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13603
13604   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13605   ;;
13606
13607 dgux*)
13608   version_type=linux
13609   need_lib_prefix=no
13610   need_version=no
13611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13612   soname_spec='${libname}${release}${shared_ext}$major'
13613   shlibpath_var=LD_LIBRARY_PATH
13614   ;;
13615
13616 freebsd1*)
13617   dynamic_linker=no
13618   ;;
13619
13620 freebsd* | dragonfly*)
13621   # DragonFly does not have aout.  When/if they implement a new
13622   # versioning mechanism, adjust this.
13623   if test -x /usr/bin/objformat; then
13624     objformat=`/usr/bin/objformat`
13625   else
13626     case $host_os in
13627     freebsd[123]*) objformat=aout ;;
13628     *) objformat=elf ;;
13629     esac
13630   fi
13631   version_type=freebsd-$objformat
13632   case $version_type in
13633     freebsd-elf*)
13634       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13635       need_version=no
13636       need_lib_prefix=no
13637       ;;
13638     freebsd-*)
13639       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13640       need_version=yes
13641       ;;
13642   esac
13643   shlibpath_var=LD_LIBRARY_PATH
13644   case $host_os in
13645   freebsd2*)
13646     shlibpath_overrides_runpath=yes
13647     ;;
13648   freebsd3.[01]* | freebsdelf3.[01]*)
13649     shlibpath_overrides_runpath=yes
13650     hardcode_into_libs=yes
13651     ;;
13652   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13653   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13654     shlibpath_overrides_runpath=no
13655     hardcode_into_libs=yes
13656     ;;
13657   *) # from 4.6 on, and DragonFly
13658     shlibpath_overrides_runpath=yes
13659     hardcode_into_libs=yes
13660     ;;
13661   esac
13662   ;;
13663
13664 gnu*)
13665   version_type=linux
13666   need_lib_prefix=no
13667   need_version=no
13668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13669   soname_spec='${libname}${release}${shared_ext}$major'
13670   shlibpath_var=LD_LIBRARY_PATH
13671   hardcode_into_libs=yes
13672   ;;
13673
13674 hpux9* | hpux10* | hpux11*)
13675   # Give a soname corresponding to the major version so that dld.sl refuses to
13676   # link against other versions.
13677   version_type=sunos
13678   need_lib_prefix=no
13679   need_version=no
13680   case $host_cpu in
13681   ia64*)
13682     shrext_cmds='.so'
13683     hardcode_into_libs=yes
13684     dynamic_linker="$host_os dld.so"
13685     shlibpath_var=LD_LIBRARY_PATH
13686     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13687     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13688     soname_spec='${libname}${release}${shared_ext}$major'
13689     if test "X$HPUX_IA64_MODE" = X32; then
13690       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13691     else
13692       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13693     fi
13694     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13695     ;;
13696   hppa*64*)
13697     shrext_cmds='.sl'
13698     hardcode_into_libs=yes
13699     dynamic_linker="$host_os dld.sl"
13700     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13701     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13702     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13703     soname_spec='${libname}${release}${shared_ext}$major'
13704     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13705     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13706     ;;
13707   *)
13708     shrext_cmds='.sl'
13709     dynamic_linker="$host_os dld.sl"
13710     shlibpath_var=SHLIB_PATH
13711     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13712     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13713     soname_spec='${libname}${release}${shared_ext}$major'
13714     ;;
13715   esac
13716   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13717   postinstall_cmds='chmod 555 $lib'
13718   ;;
13719
13720 interix[3-9]*)
13721   version_type=linux
13722   need_lib_prefix=no
13723   need_version=no
13724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13725   soname_spec='${libname}${release}${shared_ext}$major'
13726   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13727   shlibpath_var=LD_LIBRARY_PATH
13728   shlibpath_overrides_runpath=no
13729   hardcode_into_libs=yes
13730   ;;
13731
13732 irix5* | irix6* | nonstopux*)
13733   case $host_os in
13734     nonstopux*) version_type=nonstopux ;;
13735     *)
13736         if test "$lt_cv_prog_gnu_ld" = yes; then
13737                 version_type=linux
13738         else
13739                 version_type=irix
13740         fi ;;
13741   esac
13742   need_lib_prefix=no
13743   need_version=no
13744   soname_spec='${libname}${release}${shared_ext}$major'
13745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13746   case $host_os in
13747   irix5* | nonstopux*)
13748     libsuff= shlibsuff=
13749     ;;
13750   *)
13751     case $LD in # libtool.m4 will add one of these switches to LD
13752     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13753       libsuff= shlibsuff= libmagic=32-bit;;
13754     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13755       libsuff=32 shlibsuff=N32 libmagic=N32;;
13756     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13757       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13758     *) libsuff= shlibsuff= libmagic=never-match;;
13759     esac
13760     ;;
13761   esac
13762   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13763   shlibpath_overrides_runpath=no
13764   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13765   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13766   hardcode_into_libs=yes
13767   ;;
13768
13769 # No shared lib support for Linux oldld, aout, or coff.
13770 linux*oldld* | linux*aout* | linux*coff*)
13771   dynamic_linker=no
13772   ;;
13773
13774 # This must be Linux ELF.
13775 linux* | k*bsd*-gnu)
13776   version_type=linux
13777   need_lib_prefix=no
13778   need_version=no
13779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780   soname_spec='${libname}${release}${shared_ext}$major'
13781   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13782   shlibpath_var=LD_LIBRARY_PATH
13783   shlibpath_overrides_runpath=no
13784
13785   # Some binutils ld are patched to set DT_RUNPATH
13786   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13787   echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789   lt_cv_shlibpath_overrides_runpath=no
13790     save_LDFLAGS=$LDFLAGS
13791     save_libdir=$libdir
13792     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13793          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13794     if test x$gcc_no_link = xyes; then
13795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13797    { (exit 1); exit 1; }; }
13798 fi
13799 cat >conftest.$ac_ext <<_ACEOF
13800       program main
13801
13802       end
13803 _ACEOF
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13806   (eval $ac_link) 2>conftest.er1
13807   ac_status=$?
13808   grep -v '^ *+' conftest.er1 >conftest.err
13809   rm -f conftest.er1
13810   cat conftest.err >&5
13811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812   (exit $ac_status); } &&
13813          { ac_try='test -z "$ac_fc_werror_flag"
13814                          || test ! -s conftest.err'
13815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816   (eval $ac_try) 2>&5
13817   ac_status=$?
13818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819   (exit $ac_status); }; } &&
13820          { ac_try='test -s conftest$ac_exeext'
13821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822   (eval $ac_try) 2>&5
13823   ac_status=$?
13824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825   (exit $ac_status); }; }; then
13826   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13827   lt_cv_shlibpath_overrides_runpath=yes
13828 fi
13829
13830 else
13831   echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13833
13834 fi
13835 rm -f conftest.err conftest.$ac_objext \
13836       conftest$ac_exeext conftest.$ac_ext
13837     LDFLAGS=$save_LDFLAGS
13838     libdir=$save_libdir
13839
13840 fi
13841
13842   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13843
13844   # This implies no fast_install, which is unacceptable.
13845   # Some rework will be needed to allow for fast_install
13846   # before this can be enabled.
13847   hardcode_into_libs=yes
13848
13849   # Append ld.so.conf contents to the search path
13850   if test -f /etc/ld.so.conf; then
13851     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' ' '`
13852     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13853   fi
13854
13855   # We used to test for /lib/ld.so.1 and disable shared libraries on
13856   # powerpc, because MkLinux only supported shared libraries with the
13857   # GNU dynamic linker.  Since this was broken with cross compilers,
13858   # most powerpc-linux boxes support dynamic linking these days and
13859   # people can always --disable-shared, the test was removed, and we
13860   # assume the GNU/Linux dynamic linker is in use.
13861   dynamic_linker='GNU/Linux ld.so'
13862   ;;
13863
13864 netbsd*)
13865   version_type=sunos
13866   need_lib_prefix=no
13867   need_version=no
13868   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13870     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13871     dynamic_linker='NetBSD (a.out) ld.so'
13872   else
13873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13874     soname_spec='${libname}${release}${shared_ext}$major'
13875     dynamic_linker='NetBSD ld.elf_so'
13876   fi
13877   shlibpath_var=LD_LIBRARY_PATH
13878   shlibpath_overrides_runpath=yes
13879   hardcode_into_libs=yes
13880   ;;
13881
13882 newsos6)
13883   version_type=linux
13884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13885   shlibpath_var=LD_LIBRARY_PATH
13886   shlibpath_overrides_runpath=yes
13887   ;;
13888
13889 *nto* | *qnx*)
13890   version_type=qnx
13891   need_lib_prefix=no
13892   need_version=no
13893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13894   soname_spec='${libname}${release}${shared_ext}$major'
13895   shlibpath_var=LD_LIBRARY_PATH
13896   shlibpath_overrides_runpath=no
13897   hardcode_into_libs=yes
13898   dynamic_linker='ldqnx.so'
13899   ;;
13900
13901 openbsd*)
13902   version_type=sunos
13903   sys_lib_dlsearch_path_spec="/usr/lib"
13904   need_lib_prefix=no
13905   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13906   case $host_os in
13907     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13908     *)                          need_version=no  ;;
13909   esac
13910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13911   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13912   shlibpath_var=LD_LIBRARY_PATH
13913   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13914     case $host_os in
13915       openbsd2.[89] | openbsd2.[89].*)
13916         shlibpath_overrides_runpath=no
13917         ;;
13918       *)
13919         shlibpath_overrides_runpath=yes
13920         ;;
13921       esac
13922   else
13923     shlibpath_overrides_runpath=yes
13924   fi
13925   ;;
13926
13927 os2*)
13928   libname_spec='$name'
13929   shrext_cmds=".dll"
13930   need_lib_prefix=no
13931   library_names_spec='$libname${shared_ext} $libname.a'
13932   dynamic_linker='OS/2 ld.exe'
13933   shlibpath_var=LIBPATH
13934   ;;
13935
13936 osf3* | osf4* | osf5*)
13937   version_type=osf
13938   need_lib_prefix=no
13939   need_version=no
13940   soname_spec='${libname}${release}${shared_ext}$major'
13941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13942   shlibpath_var=LD_LIBRARY_PATH
13943   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13944   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13945   ;;
13946
13947 rdos*)
13948   dynamic_linker=no
13949   ;;
13950
13951 solaris*)
13952   version_type=linux
13953   need_lib_prefix=no
13954   need_version=no
13955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13956   soname_spec='${libname}${release}${shared_ext}$major'
13957   shlibpath_var=LD_LIBRARY_PATH
13958   shlibpath_overrides_runpath=yes
13959   hardcode_into_libs=yes
13960   # ldd complains unless libraries are executable
13961   postinstall_cmds='chmod +x $lib'
13962   ;;
13963
13964 sunos4*)
13965   version_type=sunos
13966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13967   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13968   shlibpath_var=LD_LIBRARY_PATH
13969   shlibpath_overrides_runpath=yes
13970   if test "$with_gnu_ld" = yes; then
13971     need_lib_prefix=no
13972   fi
13973   need_version=yes
13974   ;;
13975
13976 sysv4 | sysv4.3*)
13977   version_type=linux
13978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979   soname_spec='${libname}${release}${shared_ext}$major'
13980   shlibpath_var=LD_LIBRARY_PATH
13981   case $host_vendor in
13982     sni)
13983       shlibpath_overrides_runpath=no
13984       need_lib_prefix=no
13985       runpath_var=LD_RUN_PATH
13986       ;;
13987     siemens)
13988       need_lib_prefix=no
13989       ;;
13990     motorola)
13991       need_lib_prefix=no
13992       need_version=no
13993       shlibpath_overrides_runpath=no
13994       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13995       ;;
13996   esac
13997   ;;
13998
13999 sysv4*MP*)
14000   if test -d /usr/nec ;then
14001     version_type=linux
14002     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14003     soname_spec='$libname${shared_ext}.$major'
14004     shlibpath_var=LD_LIBRARY_PATH
14005   fi
14006   ;;
14007
14008 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14009   version_type=freebsd-elf
14010   need_lib_prefix=no
14011   need_version=no
14012   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14013   soname_spec='${libname}${release}${shared_ext}$major'
14014   shlibpath_var=LD_LIBRARY_PATH
14015   shlibpath_overrides_runpath=yes
14016   hardcode_into_libs=yes
14017   if test "$with_gnu_ld" = yes; then
14018     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14019   else
14020     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14021     case $host_os in
14022       sco3.2v5*)
14023         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14024         ;;
14025     esac
14026   fi
14027   sys_lib_dlsearch_path_spec='/usr/lib'
14028   ;;
14029
14030 tpf*)
14031   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14032   version_type=linux
14033   need_lib_prefix=no
14034   need_version=no
14035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14036   shlibpath_var=LD_LIBRARY_PATH
14037   shlibpath_overrides_runpath=no
14038   hardcode_into_libs=yes
14039   ;;
14040
14041 uts4*)
14042   version_type=linux
14043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14044   soname_spec='${libname}${release}${shared_ext}$major'
14045   shlibpath_var=LD_LIBRARY_PATH
14046   ;;
14047
14048 *)
14049   dynamic_linker=no
14050   ;;
14051 esac
14052 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14053 echo "${ECHO_T}$dynamic_linker" >&6
14054 test "$dynamic_linker" = no && can_build_shared=no
14055
14056 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14057 if test "$GCC" = yes; then
14058   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14059 fi
14060
14061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14062   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14063 fi
14064 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14065   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14066 fi
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14104 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14105 hardcode_action_FC=
14106 if test -n "$hardcode_libdir_flag_spec_FC" ||
14107    test -n "$runpath_var_FC" ||
14108    test "X$hardcode_automatic_FC" = "Xyes" ; then
14109
14110   # We can hardcode non-existent directories.
14111   if test "$hardcode_direct_FC" != no &&
14112      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14113      # have to relink, otherwise we might link with an installed library
14114      # when we should be linking with a yet-to-be-installed one
14115      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14116      test "$hardcode_minus_L_FC" != no; then
14117     # Linking always hardcodes the temporary library directory.
14118     hardcode_action_FC=relink
14119   else
14120     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14121     hardcode_action_FC=immediate
14122   fi
14123 else
14124   # We cannot hardcode anything, or else we can only hardcode existing
14125   # directories.
14126   hardcode_action_FC=unsupported
14127 fi
14128 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14129 echo "${ECHO_T}$hardcode_action_FC" >&6
14130
14131 if test "$hardcode_action_FC" = relink ||
14132    test "$inherit_rpath_FC" = yes; then
14133   # Fast installation is not supported
14134   enable_fast_install=no
14135 elif test "$shlibpath_overrides_runpath" = yes ||
14136      test "$enable_shared" = no; then
14137   # Fast installation is not necessary
14138   enable_fast_install=needless
14139 fi
14140
14141
14142
14143
14144
14145
14146
14147   fi # test -n "$compiler"
14148
14149   GCC=$lt_save_GCC
14150   CC="$lt_save_CC"
14151 fi # test "$_lt_disable_FC" != yes
14152
14153 ac_ext=c
14154 ac_cpp='$CPP $CPPFLAGS'
14155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14158
14159
14160
14161 # extra LD Flags which are required for targets
14162 case "${host}" in
14163   *-darwin*)
14164     # Darwin needs -single_module when linking libgfortran
14165     extra_ldflags_libgfortran=-Wl,-single_module
14166     ;;
14167 esac
14168
14169
14170 # We need a working compiler at that point, otherwise give a clear
14171 # error message and bail out.
14172
14173 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14174 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14175 ac_ext=${FC_SRCEXT-f}
14176 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14177 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14179
14180 cat >conftest.$ac_ext <<_ACEOF
14181
14182       program foo
14183       real, parameter :: bar = sin (12.34 / 2.5)
14184       end program foo
14185 _ACEOF
14186 rm -f conftest.$ac_objext
14187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14188   (eval $ac_compile) 2>conftest.er1
14189   ac_status=$?
14190   grep -v '^ *+' conftest.er1 >conftest.err
14191   rm -f conftest.er1
14192   cat conftest.err >&5
14193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194   (exit $ac_status); } &&
14195          { ac_try='test -z "$ac_fc_werror_flag"
14196                          || test ! -s conftest.err'
14197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198   (eval $ac_try) 2>&5
14199   ac_status=$?
14200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201   (exit $ac_status); }; } &&
14202          { ac_try='test -s conftest.$ac_objext'
14203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204   (eval $ac_try) 2>&5
14205   ac_status=$?
14206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207   (exit $ac_status); }; }; then
14208   echo "$as_me:$LINENO: result: yes" >&5
14209 echo "${ECHO_T}yes" >&6
14210 else
14211   echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.$ac_ext >&5
14213
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14216      { { 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
14217 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14218    { (exit 1); exit 1; }; }
14219
14220 fi
14221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14222 ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14227
14228
14229
14230 # Check whether --enable-largefile or --disable-largefile was given.
14231 if test "${enable_largefile+set}" = set; then
14232   enableval="$enable_largefile"
14233
14234 fi;
14235 if test "$enable_largefile" != no; then
14236
14237   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14238 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14239 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14240   echo $ECHO_N "(cached) $ECHO_C" >&6
14241 else
14242   ac_cv_sys_largefile_CC=no
14243      if test "$GCC" != yes; then
14244        ac_save_CC=$CC
14245        while :; do
14246          # IRIX 6.2 and later do not support large files by default,
14247          # so use the C compiler's -n32 option if that helps.
14248          cat >conftest.$ac_ext <<_ACEOF
14249 /* confdefs.h.  */
14250 _ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h.  */
14254 #include <sys/types.h>
14255  /* Check that off_t can represent 2**63 - 1 correctly.
14256     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14257     since some C++ compilers masquerading as C compilers
14258     incorrectly reject 9223372036854775807.  */
14259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14260   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14261                        && LARGE_OFF_T % 2147483647 == 1)
14262                       ? 1 : -1];
14263 int
14264 main ()
14265 {
14266
14267   ;
14268   return 0;
14269 }
14270 _ACEOF
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   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          CC="$CC -n32"
14301          rm -f conftest.$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303   (eval $ac_compile) 2>conftest.er1
14304   ac_status=$?
14305   grep -v '^ *+' conftest.er1 >conftest.err
14306   rm -f conftest.er1
14307   cat conftest.err >&5
14308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309   (exit $ac_status); } &&
14310          { ac_try='test -z "$ac_c_werror_flag"
14311                          || test ! -s conftest.err'
14312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313   (eval $ac_try) 2>&5
14314   ac_status=$?
14315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316   (exit $ac_status); }; } &&
14317          { ac_try='test -s conftest.$ac_objext'
14318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319   (eval $ac_try) 2>&5
14320   ac_status=$?
14321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322   (exit $ac_status); }; }; then
14323   ac_cv_sys_largefile_CC=' -n32'; break
14324 else
14325   echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14327
14328 fi
14329 rm -f conftest.err conftest.$ac_objext
14330          break
14331        done
14332        CC=$ac_save_CC
14333        rm -f conftest.$ac_ext
14334     fi
14335 fi
14336 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14337 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14338   if test "$ac_cv_sys_largefile_CC" != no; then
14339     CC=$CC$ac_cv_sys_largefile_CC
14340   fi
14341
14342   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14343 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14344 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14345   echo $ECHO_N "(cached) $ECHO_C" >&6
14346 else
14347   while :; do
14348   ac_cv_sys_file_offset_bits=no
14349   cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h.  */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h.  */
14355 #include <sys/types.h>
14356  /* Check that off_t can represent 2**63 - 1 correctly.
14357     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14358     since some C++ compilers masquerading as C compilers
14359     incorrectly reject 9223372036854775807.  */
14360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14361   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14362                        && LARGE_OFF_T % 2147483647 == 1)
14363                       ? 1 : -1];
14364 int
14365 main ()
14366 {
14367
14368   ;
14369   return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374   (eval $ac_compile) 2>conftest.er1
14375   ac_status=$?
14376   grep -v '^ *+' conftest.er1 >conftest.err
14377   rm -f conftest.er1
14378   cat conftest.err >&5
14379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380   (exit $ac_status); } &&
14381          { ac_try='test -z "$ac_c_werror_flag"
14382                          || test ! -s conftest.err'
14383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384   (eval $ac_try) 2>&5
14385   ac_status=$?
14386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387   (exit $ac_status); }; } &&
14388          { ac_try='test -s conftest.$ac_objext'
14389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390   (eval $ac_try) 2>&5
14391   ac_status=$?
14392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393   (exit $ac_status); }; }; then
14394   break
14395 else
14396   echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14398
14399 fi
14400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14401   cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h.  */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h.  */
14407 #define _FILE_OFFSET_BITS 64
14408 #include <sys/types.h>
14409  /* Check that off_t can represent 2**63 - 1 correctly.
14410     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14411     since some C++ compilers masquerading as C compilers
14412     incorrectly reject 9223372036854775807.  */
14413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14414   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14415                        && LARGE_OFF_T % 2147483647 == 1)
14416                       ? 1 : -1];
14417 int
14418 main ()
14419 {
14420
14421   ;
14422   return 0;
14423 }
14424 _ACEOF
14425 rm -f conftest.$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427   (eval $ac_compile) 2>conftest.er1
14428   ac_status=$?
14429   grep -v '^ *+' conftest.er1 >conftest.err
14430   rm -f conftest.er1
14431   cat conftest.err >&5
14432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433   (exit $ac_status); } &&
14434          { ac_try='test -z "$ac_c_werror_flag"
14435                          || test ! -s conftest.err'
14436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437   (eval $ac_try) 2>&5
14438   ac_status=$?
14439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440   (exit $ac_status); }; } &&
14441          { ac_try='test -s conftest.$ac_objext'
14442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443   (eval $ac_try) 2>&5
14444   ac_status=$?
14445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446   (exit $ac_status); }; }; then
14447   ac_cv_sys_file_offset_bits=64; break
14448 else
14449   echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14451
14452 fi
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14454   break
14455 done
14456 fi
14457 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14458 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14459 if test "$ac_cv_sys_file_offset_bits" != no; then
14460
14461 cat >>confdefs.h <<_ACEOF
14462 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14463 _ACEOF
14464
14465 fi
14466 rm -f conftest*
14467   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14468 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14469 if test "${ac_cv_sys_large_files+set}" = set; then
14470   echo $ECHO_N "(cached) $ECHO_C" >&6
14471 else
14472   while :; do
14473   ac_cv_sys_large_files=no
14474   cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h.  */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h.  */
14480 #include <sys/types.h>
14481  /* Check that off_t can represent 2**63 - 1 correctly.
14482     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14483     since some C++ compilers masquerading as C compilers
14484     incorrectly reject 9223372036854775807.  */
14485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14486   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14487                        && LARGE_OFF_T % 2147483647 == 1)
14488                       ? 1 : -1];
14489 int
14490 main ()
14491 {
14492
14493   ;
14494   return 0;
14495 }
14496 _ACEOF
14497 rm -f conftest.$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499   (eval $ac_compile) 2>conftest.er1
14500   ac_status=$?
14501   grep -v '^ *+' conftest.er1 >conftest.err
14502   rm -f conftest.er1
14503   cat conftest.err >&5
14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505   (exit $ac_status); } &&
14506          { ac_try='test -z "$ac_c_werror_flag"
14507                          || test ! -s conftest.err'
14508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509   (eval $ac_try) 2>&5
14510   ac_status=$?
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); }; } &&
14513          { ac_try='test -s conftest.$ac_objext'
14514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515   (eval $ac_try) 2>&5
14516   ac_status=$?
14517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518   (exit $ac_status); }; }; then
14519   break
14520 else
14521   echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 fi
14525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14526   cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h.  */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h.  */
14532 #define _LARGE_FILES 1
14533 #include <sys/types.h>
14534  /* Check that off_t can represent 2**63 - 1 correctly.
14535     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14536     since some C++ compilers masquerading as C compilers
14537     incorrectly reject 9223372036854775807.  */
14538 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14539   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14540                        && LARGE_OFF_T % 2147483647 == 1)
14541                       ? 1 : -1];
14542 int
14543 main ()
14544 {
14545
14546   ;
14547   return 0;
14548 }
14549 _ACEOF
14550 rm -f conftest.$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552   (eval $ac_compile) 2>conftest.er1
14553   ac_status=$?
14554   grep -v '^ *+' conftest.er1 >conftest.err
14555   rm -f conftest.er1
14556   cat conftest.err >&5
14557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558   (exit $ac_status); } &&
14559          { ac_try='test -z "$ac_c_werror_flag"
14560                          || test ! -s conftest.err'
14561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562   (eval $ac_try) 2>&5
14563   ac_status=$?
14564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565   (exit $ac_status); }; } &&
14566          { ac_try='test -s conftest.$ac_objext'
14567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568   (eval $ac_try) 2>&5
14569   ac_status=$?
14570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571   (exit $ac_status); }; }; then
14572   ac_cv_sys_large_files=1; break
14573 else
14574   echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14576
14577 fi
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579   break
14580 done
14581 fi
14582 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14583 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14584 if test "$ac_cv_sys_large_files" != no; then
14585
14586 cat >>confdefs.h <<_ACEOF
14587 #define _LARGE_FILES $ac_cv_sys_large_files
14588 _ACEOF
14589
14590 fi
14591 rm -f conftest*
14592 fi
14593
14594 echo "$as_me:$LINENO: checking for off_t" >&5
14595 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14596 if test "${ac_cv_type_off_t+set}" = set; then
14597   echo $ECHO_N "(cached) $ECHO_C" >&6
14598 else
14599   cat >conftest.$ac_ext <<_ACEOF
14600 /* confdefs.h.  */
14601 _ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h.  */
14605 $ac_includes_default
14606 int
14607 main ()
14608 {
14609 if ((off_t *) 0)
14610   return 0;
14611 if (sizeof (off_t))
14612   return 0;
14613   ;
14614   return 0;
14615 }
14616 _ACEOF
14617 rm -f conftest.$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619   (eval $ac_compile) 2>conftest.er1
14620   ac_status=$?
14621   grep -v '^ *+' conftest.er1 >conftest.err
14622   rm -f conftest.er1
14623   cat conftest.err >&5
14624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625   (exit $ac_status); } &&
14626          { ac_try='test -z "$ac_c_werror_flag"
14627                          || test ! -s conftest.err'
14628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629   (eval $ac_try) 2>&5
14630   ac_status=$?
14631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632   (exit $ac_status); }; } &&
14633          { ac_try='test -s conftest.$ac_objext'
14634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635   (eval $ac_try) 2>&5
14636   ac_status=$?
14637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638   (exit $ac_status); }; }; then
14639   ac_cv_type_off_t=yes
14640 else
14641   echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 ac_cv_type_off_t=no
14645 fi
14646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14647 fi
14648 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14649 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14650 if test $ac_cv_type_off_t = yes; then
14651   :
14652 else
14653
14654 cat >>confdefs.h <<_ACEOF
14655 #define off_t long
14656 _ACEOF
14657
14658 fi
14659
14660
14661 # check header files
14662 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14663 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14664 if test "${ac_cv_header_stdc+set}" = set; then
14665   echo $ECHO_N "(cached) $ECHO_C" >&6
14666 else
14667   cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h.  */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h.  */
14673 #include <stdlib.h>
14674 #include <stdarg.h>
14675 #include <string.h>
14676 #include <float.h>
14677
14678 int
14679 main ()
14680 {
14681
14682   ;
14683   return 0;
14684 }
14685 _ACEOF
14686 rm -f conftest.$ac_objext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14688   (eval $ac_compile) 2>conftest.er1
14689   ac_status=$?
14690   grep -v '^ *+' conftest.er1 >conftest.err
14691   rm -f conftest.er1
14692   cat conftest.err >&5
14693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694   (exit $ac_status); } &&
14695          { ac_try='test -z "$ac_c_werror_flag"
14696                          || test ! -s conftest.err'
14697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698   (eval $ac_try) 2>&5
14699   ac_status=$?
14700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701   (exit $ac_status); }; } &&
14702          { ac_try='test -s conftest.$ac_objext'
14703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704   (eval $ac_try) 2>&5
14705   ac_status=$?
14706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707   (exit $ac_status); }; }; then
14708   ac_cv_header_stdc=yes
14709 else
14710   echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14712
14713 ac_cv_header_stdc=no
14714 fi
14715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14716
14717 if test $ac_cv_header_stdc = yes; then
14718   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14719   cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h.  */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h.  */
14725 #include <string.h>
14726
14727 _ACEOF
14728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14729   $EGREP "memchr" >/dev/null 2>&1; then
14730   :
14731 else
14732   ac_cv_header_stdc=no
14733 fi
14734 rm -f conftest*
14735
14736 fi
14737
14738 if test $ac_cv_header_stdc = yes; then
14739   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14740   cat >conftest.$ac_ext <<_ACEOF
14741 /* confdefs.h.  */
14742 _ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h.  */
14746 #include <stdlib.h>
14747
14748 _ACEOF
14749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14750   $EGREP "free" >/dev/null 2>&1; then
14751   :
14752 else
14753   ac_cv_header_stdc=no
14754 fi
14755 rm -f conftest*
14756
14757 fi
14758
14759 if test $ac_cv_header_stdc = yes; then
14760   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14761   if test "$cross_compiling" = yes; then
14762   :
14763 else
14764   cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h.  */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h.  */
14770 #include <ctype.h>
14771 #if ((' ' & 0x0FF) == 0x020)
14772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14774 #else
14775 # define ISLOWER(c) \
14776                    (('a' <= (c) && (c) <= 'i') \
14777                      || ('j' <= (c) && (c) <= 'r') \
14778                      || ('s' <= (c) && (c) <= 'z'))
14779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14780 #endif
14781
14782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14783 int
14784 main ()
14785 {
14786   int i;
14787   for (i = 0; i < 256; i++)
14788     if (XOR (islower (i), ISLOWER (i))
14789         || toupper (i) != TOUPPER (i))
14790       exit(2);
14791   exit (0);
14792 }
14793 _ACEOF
14794 rm -f conftest$ac_exeext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14796   (eval $ac_link) 2>&5
14797   ac_status=$?
14798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801   (eval $ac_try) 2>&5
14802   ac_status=$?
14803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804   (exit $ac_status); }; }; then
14805   :
14806 else
14807   echo "$as_me: program exited with status $ac_status" >&5
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14810
14811 ( exit $ac_status )
14812 ac_cv_header_stdc=no
14813 fi
14814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14815 fi
14816 fi
14817 fi
14818 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14819 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14820 if test $ac_cv_header_stdc = yes; then
14821
14822 cat >>confdefs.h <<\_ACEOF
14823 #define STDC_HEADERS 1
14824 _ACEOF
14825
14826 fi
14827
14828 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14829 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14830 if test "${ac_cv_header_time+set}" = set; then
14831   echo $ECHO_N "(cached) $ECHO_C" >&6
14832 else
14833   cat >conftest.$ac_ext <<_ACEOF
14834 /* confdefs.h.  */
14835 _ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h.  */
14839 #include <sys/types.h>
14840 #include <sys/time.h>
14841 #include <time.h>
14842
14843 int
14844 main ()
14845 {
14846 if ((struct tm *) 0)
14847 return 0;
14848   ;
14849   return 0;
14850 }
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854   (eval $ac_compile) 2>conftest.er1
14855   ac_status=$?
14856   grep -v '^ *+' conftest.er1 >conftest.err
14857   rm -f conftest.er1
14858   cat conftest.err >&5
14859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860   (exit $ac_status); } &&
14861          { ac_try='test -z "$ac_c_werror_flag"
14862                          || test ! -s conftest.err'
14863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864   (eval $ac_try) 2>&5
14865   ac_status=$?
14866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867   (exit $ac_status); }; } &&
14868          { ac_try='test -s conftest.$ac_objext'
14869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870   (eval $ac_try) 2>&5
14871   ac_status=$?
14872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873   (exit $ac_status); }; }; then
14874   ac_cv_header_time=yes
14875 else
14876   echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14878
14879 ac_cv_header_time=no
14880 fi
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882 fi
14883 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14884 echo "${ECHO_T}$ac_cv_header_time" >&6
14885 if test $ac_cv_header_time = yes; then
14886
14887 cat >>confdefs.h <<\_ACEOF
14888 #define TIME_WITH_SYS_TIME 1
14889 _ACEOF
14890
14891 fi
14892
14893
14894
14895
14896
14897
14898
14899 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14900 do
14901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14903   echo "$as_me:$LINENO: checking for $ac_header" >&5
14904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14906   echo $ECHO_N "(cached) $ECHO_C" >&6
14907 fi
14908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14910 else
14911   # Is the header compilable?
14912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h.  */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h.  */
14920 $ac_includes_default
14921 #include <$ac_header>
14922 _ACEOF
14923 rm -f conftest.$ac_objext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14925   (eval $ac_compile) 2>conftest.er1
14926   ac_status=$?
14927   grep -v '^ *+' conftest.er1 >conftest.err
14928   rm -f conftest.er1
14929   cat conftest.err >&5
14930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931   (exit $ac_status); } &&
14932          { ac_try='test -z "$ac_c_werror_flag"
14933                          || test ! -s conftest.err'
14934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935   (eval $ac_try) 2>&5
14936   ac_status=$?
14937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938   (exit $ac_status); }; } &&
14939          { ac_try='test -s conftest.$ac_objext'
14940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941   (eval $ac_try) 2>&5
14942   ac_status=$?
14943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944   (exit $ac_status); }; }; then
14945   ac_header_compiler=yes
14946 else
14947   echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14949
14950 ac_header_compiler=no
14951 fi
14952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14954 echo "${ECHO_T}$ac_header_compiler" >&6
14955
14956 # Is the header present?
14957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14959 cat >conftest.$ac_ext <<_ACEOF
14960 /* confdefs.h.  */
14961 _ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h.  */
14965 #include <$ac_header>
14966 _ACEOF
14967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14969   ac_status=$?
14970   grep -v '^ *+' conftest.er1 >conftest.err
14971   rm -f conftest.er1
14972   cat conftest.err >&5
14973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974   (exit $ac_status); } >/dev/null; then
14975   if test -s conftest.err; then
14976     ac_cpp_err=$ac_c_preproc_warn_flag
14977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14978   else
14979     ac_cpp_err=
14980   fi
14981 else
14982   ac_cpp_err=yes
14983 fi
14984 if test -z "$ac_cpp_err"; then
14985   ac_header_preproc=yes
14986 else
14987   echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14989
14990   ac_header_preproc=no
14991 fi
14992 rm -f conftest.err conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14994 echo "${ECHO_T}$ac_header_preproc" >&6
14995
14996 # So?  What about this header?
14997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14998   yes:no: )
14999     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15001     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15003     ac_header_preproc=yes
15004     ;;
15005   no:yes:* )
15006     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15008     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15009 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15010     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15012     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15013 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15014     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15016     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15018     (
15019       cat <<\_ASBOX
15020 ## ------------------------------------------------------ ##
15021 ## Report this to the GNU Fortran Runtime Library lists.  ##
15022 ## ------------------------------------------------------ ##
15023 _ASBOX
15024     ) |
15025       sed "s/^/$as_me: WARNING:     /" >&2
15026     ;;
15027 esac
15028 echo "$as_me:$LINENO: checking for $ac_header" >&5
15029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15031   echo $ECHO_N "(cached) $ECHO_C" >&6
15032 else
15033   eval "$as_ac_Header=\$ac_header_preproc"
15034 fi
15035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15037
15038 fi
15039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15040   cat >>confdefs.h <<_ACEOF
15041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15042 _ACEOF
15043
15044 fi
15045
15046 done
15047
15048
15049
15050
15051
15052 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15053 do
15054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15056   echo "$as_me:$LINENO: checking for $ac_header" >&5
15057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15059   echo $ECHO_N "(cached) $ECHO_C" >&6
15060 fi
15061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15063 else
15064   # Is the header compilable?
15065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15067 cat >conftest.$ac_ext <<_ACEOF
15068 /* confdefs.h.  */
15069 _ACEOF
15070 cat confdefs.h >>conftest.$ac_ext
15071 cat >>conftest.$ac_ext <<_ACEOF
15072 /* end confdefs.h.  */
15073 $ac_includes_default
15074 #include <$ac_header>
15075 _ACEOF
15076 rm -f conftest.$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078   (eval $ac_compile) 2>conftest.er1
15079   ac_status=$?
15080   grep -v '^ *+' conftest.er1 >conftest.err
15081   rm -f conftest.er1
15082   cat conftest.err >&5
15083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084   (exit $ac_status); } &&
15085          { ac_try='test -z "$ac_c_werror_flag"
15086                          || test ! -s conftest.err'
15087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088   (eval $ac_try) 2>&5
15089   ac_status=$?
15090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091   (exit $ac_status); }; } &&
15092          { ac_try='test -s conftest.$ac_objext'
15093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094   (eval $ac_try) 2>&5
15095   ac_status=$?
15096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097   (exit $ac_status); }; }; then
15098   ac_header_compiler=yes
15099 else
15100   echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15102
15103 ac_header_compiler=no
15104 fi
15105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15107 echo "${ECHO_T}$ac_header_compiler" >&6
15108
15109 # Is the header present?
15110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15112 cat >conftest.$ac_ext <<_ACEOF
15113 /* confdefs.h.  */
15114 _ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h.  */
15118 #include <$ac_header>
15119 _ACEOF
15120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15121   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15122   ac_status=$?
15123   grep -v '^ *+' conftest.er1 >conftest.err
15124   rm -f conftest.er1
15125   cat conftest.err >&5
15126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127   (exit $ac_status); } >/dev/null; then
15128   if test -s conftest.err; then
15129     ac_cpp_err=$ac_c_preproc_warn_flag
15130     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15131   else
15132     ac_cpp_err=
15133   fi
15134 else
15135   ac_cpp_err=yes
15136 fi
15137 if test -z "$ac_cpp_err"; then
15138   ac_header_preproc=yes
15139 else
15140   echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15142
15143   ac_header_preproc=no
15144 fi
15145 rm -f conftest.err conftest.$ac_ext
15146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15147 echo "${ECHO_T}$ac_header_preproc" >&6
15148
15149 # So?  What about this header?
15150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15151   yes:no: )
15152     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15154     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15156     ac_header_preproc=yes
15157     ;;
15158   no:yes:* )
15159     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15161     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15162 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15163     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15165     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15166 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15167     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15169     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15171     (
15172       cat <<\_ASBOX
15173 ## ------------------------------------------------------ ##
15174 ## Report this to the GNU Fortran Runtime Library lists.  ##
15175 ## ------------------------------------------------------ ##
15176 _ASBOX
15177     ) |
15178       sed "s/^/$as_me: WARNING:     /" >&2
15179     ;;
15180 esac
15181 echo "$as_me:$LINENO: checking for $ac_header" >&5
15182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15184   echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186   eval "$as_ac_Header=\$ac_header_preproc"
15187 fi
15188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15190
15191 fi
15192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15193   cat >>confdefs.h <<_ACEOF
15194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15195 _ACEOF
15196
15197 fi
15198
15199 done
15200
15201
15202
15203
15204
15205
15206 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15207 do
15208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15210   echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15213   echo $ECHO_N "(cached) $ECHO_C" >&6
15214 fi
15215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15217 else
15218   # Is the header compilable?
15219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15221 cat >conftest.$ac_ext <<_ACEOF
15222 /* confdefs.h.  */
15223 _ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h.  */
15227 $ac_includes_default
15228 #include <$ac_header>
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232   (eval $ac_compile) 2>conftest.er1
15233   ac_status=$?
15234   grep -v '^ *+' conftest.er1 >conftest.err
15235   rm -f conftest.er1
15236   cat conftest.err >&5
15237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238   (exit $ac_status); } &&
15239          { ac_try='test -z "$ac_c_werror_flag"
15240                          || test ! -s conftest.err'
15241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242   (eval $ac_try) 2>&5
15243   ac_status=$?
15244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245   (exit $ac_status); }; } &&
15246          { ac_try='test -s conftest.$ac_objext'
15247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248   (eval $ac_try) 2>&5
15249   ac_status=$?
15250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251   (exit $ac_status); }; }; then
15252   ac_header_compiler=yes
15253 else
15254   echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15256
15257 ac_header_compiler=no
15258 fi
15259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15261 echo "${ECHO_T}$ac_header_compiler" >&6
15262
15263 # Is the header present?
15264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h.  */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h.  */
15272 #include <$ac_header>
15273 _ACEOF
15274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15276   ac_status=$?
15277   grep -v '^ *+' conftest.er1 >conftest.err
15278   rm -f conftest.er1
15279   cat conftest.err >&5
15280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281   (exit $ac_status); } >/dev/null; then
15282   if test -s conftest.err; then
15283     ac_cpp_err=$ac_c_preproc_warn_flag
15284     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15285   else
15286     ac_cpp_err=
15287   fi
15288 else
15289   ac_cpp_err=yes
15290 fi
15291 if test -z "$ac_cpp_err"; then
15292   ac_header_preproc=yes
15293 else
15294   echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15296
15297   ac_header_preproc=no
15298 fi
15299 rm -f conftest.err conftest.$ac_ext
15300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15301 echo "${ECHO_T}$ac_header_preproc" >&6
15302
15303 # So?  What about this header?
15304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15305   yes:no: )
15306     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15308     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15310     ac_header_preproc=yes
15311     ;;
15312   no:yes:* )
15313     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15315     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15316 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15317     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15319     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15320 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15321     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15323     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15325     (
15326       cat <<\_ASBOX
15327 ## ------------------------------------------------------ ##
15328 ## Report this to the GNU Fortran Runtime Library lists.  ##
15329 ## ------------------------------------------------------ ##
15330 _ASBOX
15331     ) |
15332       sed "s/^/$as_me: WARNING:     /" >&2
15333     ;;
15334 esac
15335 echo "$as_me:$LINENO: checking for $ac_header" >&5
15336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15338   echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340   eval "$as_ac_Header=\$ac_header_preproc"
15341 fi
15342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15344
15345 fi
15346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15347   cat >>confdefs.h <<_ACEOF
15348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15349 _ACEOF
15350
15351 fi
15352
15353 done
15354
15355
15356
15357
15358
15359
15360 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15361 do
15362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15364   echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15367   echo $ECHO_N "(cached) $ECHO_C" >&6
15368 fi
15369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15371 else
15372   # Is the header compilable?
15373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h.  */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h.  */
15381 $ac_includes_default
15382 #include <$ac_header>
15383 _ACEOF
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386   (eval $ac_compile) 2>conftest.er1
15387   ac_status=$?
15388   grep -v '^ *+' conftest.er1 >conftest.err
15389   rm -f conftest.er1
15390   cat conftest.err >&5
15391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392   (exit $ac_status); } &&
15393          { ac_try='test -z "$ac_c_werror_flag"
15394                          || test ! -s conftest.err'
15395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396   (eval $ac_try) 2>&5
15397   ac_status=$?
15398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399   (exit $ac_status); }; } &&
15400          { ac_try='test -s conftest.$ac_objext'
15401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402   (eval $ac_try) 2>&5
15403   ac_status=$?
15404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405   (exit $ac_status); }; }; then
15406   ac_header_compiler=yes
15407 else
15408   echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 ac_header_compiler=no
15412 fi
15413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15415 echo "${ECHO_T}$ac_header_compiler" >&6
15416
15417 # Is the header present?
15418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h.  */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h.  */
15426 #include <$ac_header>
15427 _ACEOF
15428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15429   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15430   ac_status=$?
15431   grep -v '^ *+' conftest.er1 >conftest.err
15432   rm -f conftest.er1
15433   cat conftest.err >&5
15434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435   (exit $ac_status); } >/dev/null; then
15436   if test -s conftest.err; then
15437     ac_cpp_err=$ac_c_preproc_warn_flag
15438     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15439   else
15440     ac_cpp_err=
15441   fi
15442 else
15443   ac_cpp_err=yes
15444 fi
15445 if test -z "$ac_cpp_err"; then
15446   ac_header_preproc=yes
15447 else
15448   echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451   ac_header_preproc=no
15452 fi
15453 rm -f conftest.err conftest.$ac_ext
15454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15455 echo "${ECHO_T}$ac_header_preproc" >&6
15456
15457 # So?  What about this header?
15458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15459   yes:no: )
15460     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15462     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15464     ac_header_preproc=yes
15465     ;;
15466   no:yes:* )
15467     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15469     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15470 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15471     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15473     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15474 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15475     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15477     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15479     (
15480       cat <<\_ASBOX
15481 ## ------------------------------------------------------ ##
15482 ## Report this to the GNU Fortran Runtime Library lists.  ##
15483 ## ------------------------------------------------------ ##
15484 _ASBOX
15485     ) |
15486       sed "s/^/$as_me: WARNING:     /" >&2
15487     ;;
15488 esac
15489 echo "$as_me:$LINENO: checking for $ac_header" >&5
15490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15492   echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494   eval "$as_ac_Header=\$ac_header_preproc"
15495 fi
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15498
15499 fi
15500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15501   cat >>confdefs.h <<_ACEOF
15502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15503 _ACEOF
15504
15505 fi
15506
15507 done
15508
15509 if test "${ac_cv_header_complex_h+set}" = set; then
15510   echo "$as_me:$LINENO: checking for complex.h" >&5
15511 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15512 if test "${ac_cv_header_complex_h+set}" = set; then
15513   echo $ECHO_N "(cached) $ECHO_C" >&6
15514 fi
15515 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15516 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15517 else
15518   # Is the header compilable?
15519 echo "$as_me:$LINENO: checking complex.h usability" >&5
15520 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15521 cat >conftest.$ac_ext <<_ACEOF
15522 /* confdefs.h.  */
15523 _ACEOF
15524 cat confdefs.h >>conftest.$ac_ext
15525 cat >>conftest.$ac_ext <<_ACEOF
15526 /* end confdefs.h.  */
15527 $ac_includes_default
15528 #include <complex.h>
15529 _ACEOF
15530 rm -f conftest.$ac_objext
15531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532   (eval $ac_compile) 2>conftest.er1
15533   ac_status=$?
15534   grep -v '^ *+' conftest.er1 >conftest.err
15535   rm -f conftest.er1
15536   cat conftest.err >&5
15537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538   (exit $ac_status); } &&
15539          { ac_try='test -z "$ac_c_werror_flag"
15540                          || test ! -s conftest.err'
15541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542   (eval $ac_try) 2>&5
15543   ac_status=$?
15544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545   (exit $ac_status); }; } &&
15546          { ac_try='test -s conftest.$ac_objext'
15547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548   (eval $ac_try) 2>&5
15549   ac_status=$?
15550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551   (exit $ac_status); }; }; then
15552   ac_header_compiler=yes
15553 else
15554   echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.$ac_ext >&5
15556
15557 ac_header_compiler=no
15558 fi
15559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15561 echo "${ECHO_T}$ac_header_compiler" >&6
15562
15563 # Is the header present?
15564 echo "$as_me:$LINENO: checking complex.h presence" >&5
15565 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h.  */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h.  */
15572 #include <complex.h>
15573 _ACEOF
15574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15575   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15576   ac_status=$?
15577   grep -v '^ *+' conftest.er1 >conftest.err
15578   rm -f conftest.er1
15579   cat conftest.err >&5
15580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581   (exit $ac_status); } >/dev/null; then
15582   if test -s conftest.err; then
15583     ac_cpp_err=$ac_c_preproc_warn_flag
15584     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15585   else
15586     ac_cpp_err=
15587   fi
15588 else
15589   ac_cpp_err=yes
15590 fi
15591 if test -z "$ac_cpp_err"; then
15592   ac_header_preproc=yes
15593 else
15594   echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15596
15597   ac_header_preproc=no
15598 fi
15599 rm -f conftest.err conftest.$ac_ext
15600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15601 echo "${ECHO_T}$ac_header_preproc" >&6
15602
15603 # So?  What about this header?
15604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15605   yes:no: )
15606     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15607 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15608     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15609 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15610     ac_header_preproc=yes
15611     ;;
15612   no:yes:* )
15613     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15614 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15615     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
15616 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
15617     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15618 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15619     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
15620 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
15621     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15622 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15623     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15624 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15625     (
15626       cat <<\_ASBOX
15627 ## ------------------------------------------------------ ##
15628 ## Report this to the GNU Fortran Runtime Library lists.  ##
15629 ## ------------------------------------------------------ ##
15630 _ASBOX
15631     ) |
15632       sed "s/^/$as_me: WARNING:     /" >&2
15633     ;;
15634 esac
15635 echo "$as_me:$LINENO: checking for complex.h" >&5
15636 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15637 if test "${ac_cv_header_complex_h+set}" = set; then
15638   echo $ECHO_N "(cached) $ECHO_C" >&6
15639 else
15640   ac_cv_header_complex_h=$ac_header_preproc
15641 fi
15642 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15643 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15644
15645 fi
15646 if test $ac_cv_header_complex_h = yes; then
15647
15648 cat >>confdefs.h <<\_ACEOF
15649 #define HAVE_COMPLEX_H 1
15650 _ACEOF
15651
15652 fi
15653
15654
15655
15656
15657 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15658
15659 acx_cv_header_stdint=stddef.h
15660 acx_cv_header_stdint_kind="(already complete)"
15661 for i in stdint.h $inttype_headers; do
15662   unset ac_cv_type_uintptr_t
15663   unset ac_cv_type_uintmax_t
15664   unset ac_cv_type_int_least32_t
15665   unset ac_cv_type_int_fast32_t
15666   unset ac_cv_type_uint64_t
15667   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15668   echo "$as_me:$LINENO: checking for uintmax_t" >&5
15669 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15670 if test "${ac_cv_type_uintmax_t+set}" = set; then
15671   echo $ECHO_N "(cached) $ECHO_C" >&6
15672 else
15673   cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h.  */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h.  */
15679 #include <sys/types.h>
15680 #include <$i>
15681
15682 int
15683 main ()
15684 {
15685 if ((uintmax_t *) 0)
15686   return 0;
15687 if (sizeof (uintmax_t))
15688   return 0;
15689   ;
15690   return 0;
15691 }
15692 _ACEOF
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695   (eval $ac_compile) 2>conftest.er1
15696   ac_status=$?
15697   grep -v '^ *+' conftest.er1 >conftest.err
15698   rm -f conftest.er1
15699   cat conftest.err >&5
15700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701   (exit $ac_status); } &&
15702          { ac_try='test -z "$ac_c_werror_flag"
15703                          || test ! -s conftest.err'
15704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705   (eval $ac_try) 2>&5
15706   ac_status=$?
15707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708   (exit $ac_status); }; } &&
15709          { ac_try='test -s conftest.$ac_objext'
15710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711   (eval $ac_try) 2>&5
15712   ac_status=$?
15713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714   (exit $ac_status); }; }; then
15715   ac_cv_type_uintmax_t=yes
15716 else
15717   echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15719
15720 ac_cv_type_uintmax_t=no
15721 fi
15722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15723 fi
15724 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15725 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15726 if test $ac_cv_type_uintmax_t = yes; then
15727   acx_cv_header_stdint=$i
15728 else
15729   continue
15730 fi
15731
15732   echo "$as_me:$LINENO: checking for uintptr_t" >&5
15733 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15734 if test "${ac_cv_type_uintptr_t+set}" = set; then
15735   echo $ECHO_N "(cached) $ECHO_C" >&6
15736 else
15737   cat >conftest.$ac_ext <<_ACEOF
15738 /* confdefs.h.  */
15739 _ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h.  */
15743 #include <sys/types.h>
15744 #include <$i>
15745
15746 int
15747 main ()
15748 {
15749 if ((uintptr_t *) 0)
15750   return 0;
15751 if (sizeof (uintptr_t))
15752   return 0;
15753   ;
15754   return 0;
15755 }
15756 _ACEOF
15757 rm -f conftest.$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759   (eval $ac_compile) 2>conftest.er1
15760   ac_status=$?
15761   grep -v '^ *+' conftest.er1 >conftest.err
15762   rm -f conftest.er1
15763   cat conftest.err >&5
15764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765   (exit $ac_status); } &&
15766          { ac_try='test -z "$ac_c_werror_flag"
15767                          || test ! -s conftest.err'
15768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769   (eval $ac_try) 2>&5
15770   ac_status=$?
15771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772   (exit $ac_status); }; } &&
15773          { ac_try='test -s conftest.$ac_objext'
15774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775   (eval $ac_try) 2>&5
15776   ac_status=$?
15777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778   (exit $ac_status); }; }; then
15779   ac_cv_type_uintptr_t=yes
15780 else
15781   echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 ac_cv_type_uintptr_t=no
15785 fi
15786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15787 fi
15788 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15789 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15790 if test $ac_cv_type_uintptr_t = yes; then
15791   :
15792 else
15793   acx_cv_header_stdint_kind="(mostly complete)"
15794 fi
15795
15796   echo "$as_me:$LINENO: checking for int_least32_t" >&5
15797 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15798 if test "${ac_cv_type_int_least32_t+set}" = set; then
15799   echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801   cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h.  */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h.  */
15807 #include <sys/types.h>
15808 #include <$i>
15809
15810 int
15811 main ()
15812 {
15813 if ((int_least32_t *) 0)
15814   return 0;
15815 if (sizeof (int_least32_t))
15816   return 0;
15817   ;
15818   return 0;
15819 }
15820 _ACEOF
15821 rm -f conftest.$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823   (eval $ac_compile) 2>conftest.er1
15824   ac_status=$?
15825   grep -v '^ *+' conftest.er1 >conftest.err
15826   rm -f conftest.er1
15827   cat conftest.err >&5
15828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829   (exit $ac_status); } &&
15830          { ac_try='test -z "$ac_c_werror_flag"
15831                          || test ! -s conftest.err'
15832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833   (eval $ac_try) 2>&5
15834   ac_status=$?
15835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836   (exit $ac_status); }; } &&
15837          { ac_try='test -s conftest.$ac_objext'
15838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839   (eval $ac_try) 2>&5
15840   ac_status=$?
15841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842   (exit $ac_status); }; }; then
15843   ac_cv_type_int_least32_t=yes
15844 else
15845   echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15847
15848 ac_cv_type_int_least32_t=no
15849 fi
15850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15851 fi
15852 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15853 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15854 if test $ac_cv_type_int_least32_t = yes; then
15855   :
15856 else
15857   acx_cv_header_stdint_kind="(mostly complete)"
15858 fi
15859
15860   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15861 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15862 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15863   echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865   cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h.  */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h.  */
15871 #include <sys/types.h>
15872 #include <$i>
15873
15874 int
15875 main ()
15876 {
15877 if ((int_fast32_t *) 0)
15878   return 0;
15879 if (sizeof (int_fast32_t))
15880   return 0;
15881   ;
15882   return 0;
15883 }
15884 _ACEOF
15885 rm -f conftest.$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887   (eval $ac_compile) 2>conftest.er1
15888   ac_status=$?
15889   grep -v '^ *+' conftest.er1 >conftest.err
15890   rm -f conftest.er1
15891   cat conftest.err >&5
15892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893   (exit $ac_status); } &&
15894          { ac_try='test -z "$ac_c_werror_flag"
15895                          || test ! -s conftest.err'
15896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897   (eval $ac_try) 2>&5
15898   ac_status=$?
15899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900   (exit $ac_status); }; } &&
15901          { ac_try='test -s conftest.$ac_objext'
15902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903   (eval $ac_try) 2>&5
15904   ac_status=$?
15905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906   (exit $ac_status); }; }; then
15907   ac_cv_type_int_fast32_t=yes
15908 else
15909   echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 ac_cv_type_int_fast32_t=no
15913 fi
15914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15915 fi
15916 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15917 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15918 if test $ac_cv_type_int_fast32_t = yes; then
15919   :
15920 else
15921   acx_cv_header_stdint_kind="(mostly complete)"
15922 fi
15923
15924   echo "$as_me:$LINENO: checking for uint64_t" >&5
15925 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15926 if test "${ac_cv_type_uint64_t+set}" = set; then
15927   echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929   cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h.  */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h.  */
15935 #include <sys/types.h>
15936 #include <$i>
15937
15938 int
15939 main ()
15940 {
15941 if ((uint64_t *) 0)
15942   return 0;
15943 if (sizeof (uint64_t))
15944   return 0;
15945   ;
15946   return 0;
15947 }
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951   (eval $ac_compile) 2>conftest.er1
15952   ac_status=$?
15953   grep -v '^ *+' conftest.er1 >conftest.err
15954   rm -f conftest.er1
15955   cat conftest.err >&5
15956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957   (exit $ac_status); } &&
15958          { ac_try='test -z "$ac_c_werror_flag"
15959                          || test ! -s conftest.err'
15960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961   (eval $ac_try) 2>&5
15962   ac_status=$?
15963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964   (exit $ac_status); }; } &&
15965          { ac_try='test -s conftest.$ac_objext'
15966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967   (eval $ac_try) 2>&5
15968   ac_status=$?
15969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970   (exit $ac_status); }; }; then
15971   ac_cv_type_uint64_t=yes
15972 else
15973   echo "$as_me: failed program was:" >&5
15974 sed 's/^/| /' conftest.$ac_ext >&5
15975
15976 ac_cv_type_uint64_t=no
15977 fi
15978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15979 fi
15980 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15981 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15982 if test $ac_cv_type_uint64_t = yes; then
15983   :
15984 else
15985   acx_cv_header_stdint_kind="(lacks uint64_t)"
15986 fi
15987
15988   break
15989 done
15990 if test "$acx_cv_header_stdint" = stddef.h; then
15991   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15992   for i in stdint.h $inttype_headers; do
15993     unset ac_cv_type_uintptr_t
15994     unset ac_cv_type_uint32_t
15995     unset ac_cv_type_uint64_t
15996     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15997     echo "$as_me:$LINENO: checking for uint32_t" >&5
15998 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15999 if test "${ac_cv_type_uint32_t+set}" = set; then
16000   echo $ECHO_N "(cached) $ECHO_C" >&6
16001 else
16002   cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h.  */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h.  */
16008 #include <sys/types.h>
16009 #include <$i>
16010
16011 int
16012 main ()
16013 {
16014 if ((uint32_t *) 0)
16015   return 0;
16016 if (sizeof (uint32_t))
16017   return 0;
16018   ;
16019   return 0;
16020 }
16021 _ACEOF
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024   (eval $ac_compile) 2>conftest.er1
16025   ac_status=$?
16026   grep -v '^ *+' conftest.er1 >conftest.err
16027   rm -f conftest.er1
16028   cat conftest.err >&5
16029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030   (exit $ac_status); } &&
16031          { ac_try='test -z "$ac_c_werror_flag"
16032                          || test ! -s conftest.err'
16033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034   (eval $ac_try) 2>&5
16035   ac_status=$?
16036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037   (exit $ac_status); }; } &&
16038          { ac_try='test -s conftest.$ac_objext'
16039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040   (eval $ac_try) 2>&5
16041   ac_status=$?
16042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043   (exit $ac_status); }; }; then
16044   ac_cv_type_uint32_t=yes
16045 else
16046   echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16048
16049 ac_cv_type_uint32_t=no
16050 fi
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16052 fi
16053 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16054 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16055 if test $ac_cv_type_uint32_t = yes; then
16056   acx_cv_header_stdint=$i
16057 else
16058   continue
16059 fi
16060
16061     echo "$as_me:$LINENO: checking for uint64_t" >&5
16062 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16063 if test "${ac_cv_type_uint64_t+set}" = set; then
16064   echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066   cat >conftest.$ac_ext <<_ACEOF
16067 /* confdefs.h.  */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h.  */
16072 #include <sys/types.h>
16073 #include <$i>
16074
16075 int
16076 main ()
16077 {
16078 if ((uint64_t *) 0)
16079   return 0;
16080 if (sizeof (uint64_t))
16081   return 0;
16082   ;
16083   return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088   (eval $ac_compile) 2>conftest.er1
16089   ac_status=$?
16090   grep -v '^ *+' conftest.er1 >conftest.err
16091   rm -f conftest.er1
16092   cat conftest.err >&5
16093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094   (exit $ac_status); } &&
16095          { ac_try='test -z "$ac_c_werror_flag"
16096                          || test ! -s conftest.err'
16097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098   (eval $ac_try) 2>&5
16099   ac_status=$?
16100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101   (exit $ac_status); }; } &&
16102          { ac_try='test -s conftest.$ac_objext'
16103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104   (eval $ac_try) 2>&5
16105   ac_status=$?
16106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107   (exit $ac_status); }; }; then
16108   ac_cv_type_uint64_t=yes
16109 else
16110   echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16112
16113 ac_cv_type_uint64_t=no
16114 fi
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 fi
16117 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16118 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16119
16120     echo "$as_me:$LINENO: checking for uintptr_t" >&5
16121 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16122 if test "${ac_cv_type_uintptr_t+set}" = set; then
16123   echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125   cat >conftest.$ac_ext <<_ACEOF
16126 /* confdefs.h.  */
16127 _ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h.  */
16131 #include <sys/types.h>
16132 #include <$i>
16133
16134 int
16135 main ()
16136 {
16137 if ((uintptr_t *) 0)
16138   return 0;
16139 if (sizeof (uintptr_t))
16140   return 0;
16141   ;
16142   return 0;
16143 }
16144 _ACEOF
16145 rm -f conftest.$ac_objext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16147   (eval $ac_compile) 2>conftest.er1
16148   ac_status=$?
16149   grep -v '^ *+' conftest.er1 >conftest.err
16150   rm -f conftest.er1
16151   cat conftest.err >&5
16152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153   (exit $ac_status); } &&
16154          { ac_try='test -z "$ac_c_werror_flag"
16155                          || test ! -s conftest.err'
16156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157   (eval $ac_try) 2>&5
16158   ac_status=$?
16159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160   (exit $ac_status); }; } &&
16161          { ac_try='test -s conftest.$ac_objext'
16162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16163   (eval $ac_try) 2>&5
16164   ac_status=$?
16165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166   (exit $ac_status); }; }; then
16167   ac_cv_type_uintptr_t=yes
16168 else
16169   echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16171
16172 ac_cv_type_uintptr_t=no
16173 fi
16174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16175 fi
16176 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16177 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16178
16179     break
16180   done
16181 fi
16182 if test "$acx_cv_header_stdint" = stddef.h; then
16183   acx_cv_header_stdint_kind="(u_intXX_t style)"
16184   for i in sys/types.h $inttype_headers; do
16185     unset ac_cv_type_u_int32_t
16186     unset ac_cv_type_u_int64_t
16187     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16188     echo "$as_me:$LINENO: checking for u_int32_t" >&5
16189 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16190 if test "${ac_cv_type_u_int32_t+set}" = set; then
16191   echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193   cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h.  */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h.  */
16199 #include <sys/types.h>
16200 #include <$i>
16201
16202 int
16203 main ()
16204 {
16205 if ((u_int32_t *) 0)
16206   return 0;
16207 if (sizeof (u_int32_t))
16208   return 0;
16209   ;
16210   return 0;
16211 }
16212 _ACEOF
16213 rm -f conftest.$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215   (eval $ac_compile) 2>conftest.er1
16216   ac_status=$?
16217   grep -v '^ *+' conftest.er1 >conftest.err
16218   rm -f conftest.er1
16219   cat conftest.err >&5
16220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221   (exit $ac_status); } &&
16222          { ac_try='test -z "$ac_c_werror_flag"
16223                          || test ! -s conftest.err'
16224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225   (eval $ac_try) 2>&5
16226   ac_status=$?
16227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228   (exit $ac_status); }; } &&
16229          { ac_try='test -s conftest.$ac_objext'
16230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231   (eval $ac_try) 2>&5
16232   ac_status=$?
16233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234   (exit $ac_status); }; }; then
16235   ac_cv_type_u_int32_t=yes
16236 else
16237   echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16239
16240 ac_cv_type_u_int32_t=no
16241 fi
16242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16243 fi
16244 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16245 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16246 if test $ac_cv_type_u_int32_t = yes; then
16247   acx_cv_header_stdint=$i
16248 else
16249   continue
16250 fi
16251
16252     echo "$as_me:$LINENO: checking for u_int64_t" >&5
16253 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16254 if test "${ac_cv_type_u_int64_t+set}" = set; then
16255   echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257   cat >conftest.$ac_ext <<_ACEOF
16258 /* confdefs.h.  */
16259 _ACEOF
16260 cat confdefs.h >>conftest.$ac_ext
16261 cat >>conftest.$ac_ext <<_ACEOF
16262 /* end confdefs.h.  */
16263 #include <sys/types.h>
16264 #include <$i>
16265
16266 int
16267 main ()
16268 {
16269 if ((u_int64_t *) 0)
16270   return 0;
16271 if (sizeof (u_int64_t))
16272   return 0;
16273   ;
16274   return 0;
16275 }
16276 _ACEOF
16277 rm -f conftest.$ac_objext
16278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16279   (eval $ac_compile) 2>conftest.er1
16280   ac_status=$?
16281   grep -v '^ *+' conftest.er1 >conftest.err
16282   rm -f conftest.er1
16283   cat conftest.err >&5
16284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285   (exit $ac_status); } &&
16286          { ac_try='test -z "$ac_c_werror_flag"
16287                          || test ! -s conftest.err'
16288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289   (eval $ac_try) 2>&5
16290   ac_status=$?
16291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292   (exit $ac_status); }; } &&
16293          { ac_try='test -s conftest.$ac_objext'
16294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295   (eval $ac_try) 2>&5
16296   ac_status=$?
16297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298   (exit $ac_status); }; }; then
16299   ac_cv_type_u_int64_t=yes
16300 else
16301   echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16303
16304 ac_cv_type_u_int64_t=no
16305 fi
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16307 fi
16308 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16309 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16310
16311     break
16312   done
16313 fi
16314 if test "$acx_cv_header_stdint" = stddef.h; then
16315   acx_cv_header_stdint_kind="(using manual detection)"
16316 fi
16317
16318 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16319 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16320 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16321 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16322 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16323
16324 # ----------------- Summarize what we found so far
16325
16326 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16327 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16328
16329 case `$as_basename gstdint.h ||
16330 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16331          Xgstdint.h : 'X\(//\)$' \| \
16332          Xgstdint.h : 'X\(/\)$' \| \
16333          .     : '\(.\)' 2>/dev/null ||
16334 echo X/gstdint.h |
16335     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16336           /^X\/\(\/\/\)$/{ s//\1/; q; }
16337           /^X\/\(\/\).*/{ s//\1/; q; }
16338           s/.*/./; q'` in
16339   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16340 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16341   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16342 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16343   *) ;;
16344 esac
16345
16346 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16347 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16348
16349 # ----------------- done included file, check C basic types --------
16350
16351 # Lacking an uintptr_t?  Test size of void *
16352 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16353   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16354 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16355 if test "${ac_cv_type_void_p+set}" = set; then
16356   echo $ECHO_N "(cached) $ECHO_C" >&6
16357 else
16358   cat >conftest.$ac_ext <<_ACEOF
16359 /* confdefs.h.  */
16360 _ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h.  */
16364 $ac_includes_default
16365 int
16366 main ()
16367 {
16368 if ((void * *) 0)
16369   return 0;
16370 if (sizeof (void *))
16371   return 0;
16372   ;
16373   return 0;
16374 }
16375 _ACEOF
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378   (eval $ac_compile) 2>conftest.er1
16379   ac_status=$?
16380   grep -v '^ *+' conftest.er1 >conftest.err
16381   rm -f conftest.er1
16382   cat conftest.err >&5
16383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384   (exit $ac_status); } &&
16385          { ac_try='test -z "$ac_c_werror_flag"
16386                          || test ! -s conftest.err'
16387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388   (eval $ac_try) 2>&5
16389   ac_status=$?
16390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391   (exit $ac_status); }; } &&
16392          { ac_try='test -s conftest.$ac_objext'
16393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394   (eval $ac_try) 2>&5
16395   ac_status=$?
16396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397   (exit $ac_status); }; }; then
16398   ac_cv_type_void_p=yes
16399 else
16400   echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16402
16403 ac_cv_type_void_p=no
16404 fi
16405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16406 fi
16407 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16408 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16409
16410 echo "$as_me:$LINENO: checking size of void *" >&5
16411 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16412 if test "${ac_cv_sizeof_void_p+set}" = set; then
16413   echo $ECHO_N "(cached) $ECHO_C" >&6
16414 else
16415   if test "$ac_cv_type_void_p" = yes; then
16416   # The cast to unsigned long works around a bug in the HP C Compiler
16417   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16418   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16419   # This bug is HP SR number 8606223364.
16420   if test "$cross_compiling" = yes; then
16421   # Depending upon the size, compute the lo and hi bounds.
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h.  */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h.  */
16428 $ac_includes_default
16429 int
16430 main ()
16431 {
16432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16433 test_array [0] = 0
16434
16435   ;
16436   return 0;
16437 }
16438 _ACEOF
16439 rm -f conftest.$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441   (eval $ac_compile) 2>conftest.er1
16442   ac_status=$?
16443   grep -v '^ *+' conftest.er1 >conftest.err
16444   rm -f conftest.er1
16445   cat conftest.err >&5
16446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447   (exit $ac_status); } &&
16448          { ac_try='test -z "$ac_c_werror_flag"
16449                          || test ! -s conftest.err'
16450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451   (eval $ac_try) 2>&5
16452   ac_status=$?
16453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454   (exit $ac_status); }; } &&
16455          { ac_try='test -s conftest.$ac_objext'
16456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457   (eval $ac_try) 2>&5
16458   ac_status=$?
16459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460   (exit $ac_status); }; }; then
16461   ac_lo=0 ac_mid=0
16462   while :; do
16463     cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h.  */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h.  */
16469 $ac_includes_default
16470 int
16471 main ()
16472 {
16473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16474 test_array [0] = 0
16475
16476   ;
16477   return 0;
16478 }
16479 _ACEOF
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482   (eval $ac_compile) 2>conftest.er1
16483   ac_status=$?
16484   grep -v '^ *+' conftest.er1 >conftest.err
16485   rm -f conftest.er1
16486   cat conftest.err >&5
16487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488   (exit $ac_status); } &&
16489          { ac_try='test -z "$ac_c_werror_flag"
16490                          || test ! -s conftest.err'
16491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492   (eval $ac_try) 2>&5
16493   ac_status=$?
16494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495   (exit $ac_status); }; } &&
16496          { ac_try='test -s conftest.$ac_objext'
16497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498   (eval $ac_try) 2>&5
16499   ac_status=$?
16500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501   (exit $ac_status); }; }; then
16502   ac_hi=$ac_mid; break
16503 else
16504   echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 ac_lo=`expr $ac_mid + 1`
16508                     if test $ac_lo -le $ac_mid; then
16509                       ac_lo= ac_hi=
16510                       break
16511                     fi
16512                     ac_mid=`expr 2 '*' $ac_mid + 1`
16513 fi
16514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16515   done
16516 else
16517   echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.$ac_ext >&5
16519
16520 cat >conftest.$ac_ext <<_ACEOF
16521 /* confdefs.h.  */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h.  */
16526 $ac_includes_default
16527 int
16528 main ()
16529 {
16530 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16531 test_array [0] = 0
16532
16533   ;
16534   return 0;
16535 }
16536 _ACEOF
16537 rm -f conftest.$ac_objext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16539   (eval $ac_compile) 2>conftest.er1
16540   ac_status=$?
16541   grep -v '^ *+' conftest.er1 >conftest.err
16542   rm -f conftest.er1
16543   cat conftest.err >&5
16544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545   (exit $ac_status); } &&
16546          { ac_try='test -z "$ac_c_werror_flag"
16547                          || test ! -s conftest.err'
16548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549   (eval $ac_try) 2>&5
16550   ac_status=$?
16551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552   (exit $ac_status); }; } &&
16553          { ac_try='test -s conftest.$ac_objext'
16554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555   (eval $ac_try) 2>&5
16556   ac_status=$?
16557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558   (exit $ac_status); }; }; then
16559   ac_hi=-1 ac_mid=-1
16560   while :; do
16561     cat >conftest.$ac_ext <<_ACEOF
16562 /* confdefs.h.  */
16563 _ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h.  */
16567 $ac_includes_default
16568 int
16569 main ()
16570 {
16571 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16572 test_array [0] = 0
16573
16574   ;
16575   return 0;
16576 }
16577 _ACEOF
16578 rm -f conftest.$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580   (eval $ac_compile) 2>conftest.er1
16581   ac_status=$?
16582   grep -v '^ *+' conftest.er1 >conftest.err
16583   rm -f conftest.er1
16584   cat conftest.err >&5
16585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586   (exit $ac_status); } &&
16587          { ac_try='test -z "$ac_c_werror_flag"
16588                          || test ! -s conftest.err'
16589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590   (eval $ac_try) 2>&5
16591   ac_status=$?
16592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593   (exit $ac_status); }; } &&
16594          { ac_try='test -s conftest.$ac_objext'
16595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596   (eval $ac_try) 2>&5
16597   ac_status=$?
16598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599   (exit $ac_status); }; }; then
16600   ac_lo=$ac_mid; break
16601 else
16602   echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16604
16605 ac_hi=`expr '(' $ac_mid ')' - 1`
16606                        if test $ac_mid -le $ac_hi; then
16607                          ac_lo= ac_hi=
16608                          break
16609                        fi
16610                        ac_mid=`expr 2 '*' $ac_mid`
16611 fi
16612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16613   done
16614 else
16615   echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16617
16618 ac_lo= ac_hi=
16619 fi
16620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16621 fi
16622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16623 # Binary search between lo and hi bounds.
16624 while test "x$ac_lo" != "x$ac_hi"; do
16625   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16626   cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h.  */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h.  */
16632 $ac_includes_default
16633 int
16634 main ()
16635 {
16636 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16637 test_array [0] = 0
16638
16639   ;
16640   return 0;
16641 }
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645   (eval $ac_compile) 2>conftest.er1
16646   ac_status=$?
16647   grep -v '^ *+' conftest.er1 >conftest.err
16648   rm -f conftest.er1
16649   cat conftest.err >&5
16650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651   (exit $ac_status); } &&
16652          { ac_try='test -z "$ac_c_werror_flag"
16653                          || test ! -s conftest.err'
16654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655   (eval $ac_try) 2>&5
16656   ac_status=$?
16657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658   (exit $ac_status); }; } &&
16659          { ac_try='test -s conftest.$ac_objext'
16660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661   (eval $ac_try) 2>&5
16662   ac_status=$?
16663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664   (exit $ac_status); }; }; then
16665   ac_hi=$ac_mid
16666 else
16667   echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16669
16670 ac_lo=`expr '(' $ac_mid ')' + 1`
16671 fi
16672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16673 done
16674 case $ac_lo in
16675 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16676 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16677 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16679 See \`config.log' for more details." >&5
16680 echo "$as_me: error: cannot compute sizeof (void *), 77
16681 See \`config.log' for more details." >&2;}
16682    { (exit 1); exit 1; }; }; } ;;
16683 esac
16684 else
16685   if test "$cross_compiling" = yes; then
16686   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16687 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16689 See \`config.log' for more details." >&5
16690 echo "$as_me: error: cannot run test program while cross compiling
16691 See \`config.log' for more details." >&2;}
16692    { (exit 1); exit 1; }; }; }
16693 else
16694   cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h.  */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h.  */
16700 $ac_includes_default
16701 long longval () { return (long) (sizeof (void *)); }
16702 unsigned long ulongval () { return (long) (sizeof (void *)); }
16703 #include <stdio.h>
16704 #include <stdlib.h>
16705 int
16706 main ()
16707 {
16708
16709   FILE *f = fopen ("conftest.val", "w");
16710   if (! f)
16711     exit (1);
16712   if (((long) (sizeof (void *))) < 0)
16713     {
16714       long i = longval ();
16715       if (i != ((long) (sizeof (void *))))
16716         exit (1);
16717       fprintf (f, "%ld\n", i);
16718     }
16719   else
16720     {
16721       unsigned long i = ulongval ();
16722       if (i != ((long) (sizeof (void *))))
16723         exit (1);
16724       fprintf (f, "%lu\n", i);
16725     }
16726   exit (ferror (f) || fclose (f) != 0);
16727
16728   ;
16729   return 0;
16730 }
16731 _ACEOF
16732 rm -f conftest$ac_exeext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16734   (eval $ac_link) 2>&5
16735   ac_status=$?
16736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739   (eval $ac_try) 2>&5
16740   ac_status=$?
16741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742   (exit $ac_status); }; }; then
16743   ac_cv_sizeof_void_p=`cat conftest.val`
16744 else
16745   echo "$as_me: program exited with status $ac_status" >&5
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16748
16749 ( exit $ac_status )
16750 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16751 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16753 See \`config.log' for more details." >&5
16754 echo "$as_me: error: cannot compute sizeof (void *), 77
16755 See \`config.log' for more details." >&2;}
16756    { (exit 1); exit 1; }; }; }
16757 fi
16758 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16759 fi
16760 fi
16761 rm -f conftest.val
16762 else
16763   ac_cv_sizeof_void_p=0
16764 fi
16765 fi
16766 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16767 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16768 cat >>confdefs.h <<_ACEOF
16769 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16770 _ACEOF
16771
16772  ;;
16773 esac
16774
16775 # Lacking an uint64_t?  Test size of long
16776 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16777   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16778 echo $ECHO_N "checking for long... $ECHO_C" >&6
16779 if test "${ac_cv_type_long+set}" = set; then
16780   echo $ECHO_N "(cached) $ECHO_C" >&6
16781 else
16782   cat >conftest.$ac_ext <<_ACEOF
16783 /* confdefs.h.  */
16784 _ACEOF
16785 cat confdefs.h >>conftest.$ac_ext
16786 cat >>conftest.$ac_ext <<_ACEOF
16787 /* end confdefs.h.  */
16788 $ac_includes_default
16789 int
16790 main ()
16791 {
16792 if ((long *) 0)
16793   return 0;
16794 if (sizeof (long))
16795   return 0;
16796   ;
16797   return 0;
16798 }
16799 _ACEOF
16800 rm -f conftest.$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802   (eval $ac_compile) 2>conftest.er1
16803   ac_status=$?
16804   grep -v '^ *+' conftest.er1 >conftest.err
16805   rm -f conftest.er1
16806   cat conftest.err >&5
16807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808   (exit $ac_status); } &&
16809          { ac_try='test -z "$ac_c_werror_flag"
16810                          || test ! -s conftest.err'
16811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812   (eval $ac_try) 2>&5
16813   ac_status=$?
16814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815   (exit $ac_status); }; } &&
16816          { ac_try='test -s conftest.$ac_objext'
16817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818   (eval $ac_try) 2>&5
16819   ac_status=$?
16820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821   (exit $ac_status); }; }; then
16822   ac_cv_type_long=yes
16823 else
16824   echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16826
16827 ac_cv_type_long=no
16828 fi
16829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16830 fi
16831 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16832 echo "${ECHO_T}$ac_cv_type_long" >&6
16833
16834 echo "$as_me:$LINENO: checking size of long" >&5
16835 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16836 if test "${ac_cv_sizeof_long+set}" = set; then
16837   echo $ECHO_N "(cached) $ECHO_C" >&6
16838 else
16839   if test "$ac_cv_type_long" = yes; then
16840   # The cast to unsigned long works around a bug in the HP C Compiler
16841   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16842   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16843   # This bug is HP SR number 8606223364.
16844   if test "$cross_compiling" = yes; then
16845   # Depending upon the size, compute the lo and hi bounds.
16846 cat >conftest.$ac_ext <<_ACEOF
16847 /* confdefs.h.  */
16848 _ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h.  */
16852 $ac_includes_default
16853 int
16854 main ()
16855 {
16856 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16857 test_array [0] = 0
16858
16859   ;
16860   return 0;
16861 }
16862 _ACEOF
16863 rm -f conftest.$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865   (eval $ac_compile) 2>conftest.er1
16866   ac_status=$?
16867   grep -v '^ *+' conftest.er1 >conftest.err
16868   rm -f conftest.er1
16869   cat conftest.err >&5
16870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871   (exit $ac_status); } &&
16872          { ac_try='test -z "$ac_c_werror_flag"
16873                          || test ! -s conftest.err'
16874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875   (eval $ac_try) 2>&5
16876   ac_status=$?
16877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878   (exit $ac_status); }; } &&
16879          { ac_try='test -s conftest.$ac_objext'
16880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881   (eval $ac_try) 2>&5
16882   ac_status=$?
16883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884   (exit $ac_status); }; }; then
16885   ac_lo=0 ac_mid=0
16886   while :; do
16887     cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h.  */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h.  */
16893 $ac_includes_default
16894 int
16895 main ()
16896 {
16897 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16898 test_array [0] = 0
16899
16900   ;
16901   return 0;
16902 }
16903 _ACEOF
16904 rm -f conftest.$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906   (eval $ac_compile) 2>conftest.er1
16907   ac_status=$?
16908   grep -v '^ *+' conftest.er1 >conftest.err
16909   rm -f conftest.er1
16910   cat conftest.err >&5
16911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912   (exit $ac_status); } &&
16913          { ac_try='test -z "$ac_c_werror_flag"
16914                          || test ! -s conftest.err'
16915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916   (eval $ac_try) 2>&5
16917   ac_status=$?
16918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919   (exit $ac_status); }; } &&
16920          { ac_try='test -s conftest.$ac_objext'
16921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922   (eval $ac_try) 2>&5
16923   ac_status=$?
16924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925   (exit $ac_status); }; }; then
16926   ac_hi=$ac_mid; break
16927 else
16928   echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 ac_lo=`expr $ac_mid + 1`
16932                     if test $ac_lo -le $ac_mid; then
16933                       ac_lo= ac_hi=
16934                       break
16935                     fi
16936                     ac_mid=`expr 2 '*' $ac_mid + 1`
16937 fi
16938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16939   done
16940 else
16941   echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16943
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h.  */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h.  */
16950 $ac_includes_default
16951 int
16952 main ()
16953 {
16954 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16955 test_array [0] = 0
16956
16957   ;
16958   return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963   (eval $ac_compile) 2>conftest.er1
16964   ac_status=$?
16965   grep -v '^ *+' conftest.er1 >conftest.err
16966   rm -f conftest.er1
16967   cat conftest.err >&5
16968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969   (exit $ac_status); } &&
16970          { ac_try='test -z "$ac_c_werror_flag"
16971                          || test ! -s conftest.err'
16972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973   (eval $ac_try) 2>&5
16974   ac_status=$?
16975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976   (exit $ac_status); }; } &&
16977          { ac_try='test -s conftest.$ac_objext'
16978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979   (eval $ac_try) 2>&5
16980   ac_status=$?
16981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982   (exit $ac_status); }; }; then
16983   ac_hi=-1 ac_mid=-1
16984   while :; do
16985     cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h.  */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h.  */
16991 $ac_includes_default
16992 int
16993 main ()
16994 {
16995 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16996 test_array [0] = 0
16997
16998   ;
16999   return 0;
17000 }
17001 _ACEOF
17002 rm -f conftest.$ac_objext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17004   (eval $ac_compile) 2>conftest.er1
17005   ac_status=$?
17006   grep -v '^ *+' conftest.er1 >conftest.err
17007   rm -f conftest.er1
17008   cat conftest.err >&5
17009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010   (exit $ac_status); } &&
17011          { ac_try='test -z "$ac_c_werror_flag"
17012                          || test ! -s conftest.err'
17013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014   (eval $ac_try) 2>&5
17015   ac_status=$?
17016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017   (exit $ac_status); }; } &&
17018          { ac_try='test -s conftest.$ac_objext'
17019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020   (eval $ac_try) 2>&5
17021   ac_status=$?
17022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023   (exit $ac_status); }; }; then
17024   ac_lo=$ac_mid; break
17025 else
17026   echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 ac_hi=`expr '(' $ac_mid ')' - 1`
17030                        if test $ac_mid -le $ac_hi; then
17031                          ac_lo= ac_hi=
17032                          break
17033                        fi
17034                        ac_mid=`expr 2 '*' $ac_mid`
17035 fi
17036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17037   done
17038 else
17039   echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17041
17042 ac_lo= ac_hi=
17043 fi
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17045 fi
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 # Binary search between lo and hi bounds.
17048 while test "x$ac_lo" != "x$ac_hi"; do
17049   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17050   cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h.  */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h.  */
17056 $ac_includes_default
17057 int
17058 main ()
17059 {
17060 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17061 test_array [0] = 0
17062
17063   ;
17064   return 0;
17065 }
17066 _ACEOF
17067 rm -f conftest.$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069   (eval $ac_compile) 2>conftest.er1
17070   ac_status=$?
17071   grep -v '^ *+' conftest.er1 >conftest.err
17072   rm -f conftest.er1
17073   cat conftest.err >&5
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); } &&
17076          { ac_try='test -z "$ac_c_werror_flag"
17077                          || test ! -s conftest.err'
17078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079   (eval $ac_try) 2>&5
17080   ac_status=$?
17081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082   (exit $ac_status); }; } &&
17083          { ac_try='test -s conftest.$ac_objext'
17084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085   (eval $ac_try) 2>&5
17086   ac_status=$?
17087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088   (exit $ac_status); }; }; then
17089   ac_hi=$ac_mid
17090 else
17091   echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17093
17094 ac_lo=`expr '(' $ac_mid ')' + 1`
17095 fi
17096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17097 done
17098 case $ac_lo in
17099 ?*) ac_cv_sizeof_long=$ac_lo;;
17100 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17101 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17103 See \`config.log' for more details." >&5
17104 echo "$as_me: error: cannot compute sizeof (long), 77
17105 See \`config.log' for more details." >&2;}
17106    { (exit 1); exit 1; }; }; } ;;
17107 esac
17108 else
17109   if test "$cross_compiling" = yes; then
17110   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17111 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17113 See \`config.log' for more details." >&5
17114 echo "$as_me: error: cannot run test program while cross compiling
17115 See \`config.log' for more details." >&2;}
17116    { (exit 1); exit 1; }; }; }
17117 else
17118   cat >conftest.$ac_ext <<_ACEOF
17119 /* confdefs.h.  */
17120 _ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h.  */
17124 $ac_includes_default
17125 long longval () { return (long) (sizeof (long)); }
17126 unsigned long ulongval () { return (long) (sizeof (long)); }
17127 #include <stdio.h>
17128 #include <stdlib.h>
17129 int
17130 main ()
17131 {
17132
17133   FILE *f = fopen ("conftest.val", "w");
17134   if (! f)
17135     exit (1);
17136   if (((long) (sizeof (long))) < 0)
17137     {
17138       long i = longval ();
17139       if (i != ((long) (sizeof (long))))
17140         exit (1);
17141       fprintf (f, "%ld\n", i);
17142     }
17143   else
17144     {
17145       unsigned long i = ulongval ();
17146       if (i != ((long) (sizeof (long))))
17147         exit (1);
17148       fprintf (f, "%lu\n", i);
17149     }
17150   exit (ferror (f) || fclose (f) != 0);
17151
17152   ;
17153   return 0;
17154 }
17155 _ACEOF
17156 rm -f conftest$ac_exeext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17158   (eval $ac_link) 2>&5
17159   ac_status=$?
17160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163   (eval $ac_try) 2>&5
17164   ac_status=$?
17165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166   (exit $ac_status); }; }; then
17167   ac_cv_sizeof_long=`cat conftest.val`
17168 else
17169   echo "$as_me: program exited with status $ac_status" >&5
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17172
17173 ( exit $ac_status )
17174 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17175 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot compute sizeof (long), 77
17179 See \`config.log' for more details." >&2;}
17180    { (exit 1); exit 1; }; }; }
17181 fi
17182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17183 fi
17184 fi
17185 rm -f conftest.val
17186 else
17187   ac_cv_sizeof_long=0
17188 fi
17189 fi
17190 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17191 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17192 cat >>confdefs.h <<_ACEOF
17193 #define SIZEOF_LONG $ac_cv_sizeof_long
17194 _ACEOF
17195
17196  ;;
17197 esac
17198
17199 if test $acx_cv_header_stdint = stddef.h; then
17200   # Lacking a good header?  Test size of everything and deduce all types.
17201   echo "$as_me:$LINENO: checking for int" >&5
17202 echo $ECHO_N "checking for int... $ECHO_C" >&6
17203 if test "${ac_cv_type_int+set}" = set; then
17204   echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206   cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h.  */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h.  */
17212 $ac_includes_default
17213 int
17214 main ()
17215 {
17216 if ((int *) 0)
17217   return 0;
17218 if (sizeof (int))
17219   return 0;
17220   ;
17221   return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226   (eval $ac_compile) 2>conftest.er1
17227   ac_status=$?
17228   grep -v '^ *+' conftest.er1 >conftest.err
17229   rm -f conftest.er1
17230   cat conftest.err >&5
17231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232   (exit $ac_status); } &&
17233          { ac_try='test -z "$ac_c_werror_flag"
17234                          || test ! -s conftest.err'
17235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236   (eval $ac_try) 2>&5
17237   ac_status=$?
17238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239   (exit $ac_status); }; } &&
17240          { ac_try='test -s conftest.$ac_objext'
17241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242   (eval $ac_try) 2>&5
17243   ac_status=$?
17244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245   (exit $ac_status); }; }; then
17246   ac_cv_type_int=yes
17247 else
17248   echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17250
17251 ac_cv_type_int=no
17252 fi
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17254 fi
17255 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17256 echo "${ECHO_T}$ac_cv_type_int" >&6
17257
17258 echo "$as_me:$LINENO: checking size of int" >&5
17259 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_int+set}" = set; then
17261   echo $ECHO_N "(cached) $ECHO_C" >&6
17262 else
17263   if test "$ac_cv_type_int" = yes; then
17264   # The cast to unsigned long works around a bug in the HP C Compiler
17265   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267   # This bug is HP SR number 8606223364.
17268   if test "$cross_compiling" = yes; then
17269   # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h.  */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h.  */
17276 $ac_includes_default
17277 int
17278 main ()
17279 {
17280 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17281 test_array [0] = 0
17282
17283   ;
17284   return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289   (eval $ac_compile) 2>conftest.er1
17290   ac_status=$?
17291   grep -v '^ *+' conftest.er1 >conftest.err
17292   rm -f conftest.er1
17293   cat conftest.err >&5
17294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295   (exit $ac_status); } &&
17296          { ac_try='test -z "$ac_c_werror_flag"
17297                          || test ! -s conftest.err'
17298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299   (eval $ac_try) 2>&5
17300   ac_status=$?
17301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302   (exit $ac_status); }; } &&
17303          { ac_try='test -s conftest.$ac_objext'
17304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305   (eval $ac_try) 2>&5
17306   ac_status=$?
17307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308   (exit $ac_status); }; }; then
17309   ac_lo=0 ac_mid=0
17310   while :; do
17311     cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h.  */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h.  */
17317 $ac_includes_default
17318 int
17319 main ()
17320 {
17321 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17322 test_array [0] = 0
17323
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330   (eval $ac_compile) 2>conftest.er1
17331   ac_status=$?
17332   grep -v '^ *+' conftest.er1 >conftest.err
17333   rm -f conftest.er1
17334   cat conftest.err >&5
17335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336   (exit $ac_status); } &&
17337          { ac_try='test -z "$ac_c_werror_flag"
17338                          || test ! -s conftest.err'
17339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340   (eval $ac_try) 2>&5
17341   ac_status=$?
17342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343   (exit $ac_status); }; } &&
17344          { ac_try='test -s conftest.$ac_objext'
17345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346   (eval $ac_try) 2>&5
17347   ac_status=$?
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); }; }; then
17350   ac_hi=$ac_mid; break
17351 else
17352   echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 ac_lo=`expr $ac_mid + 1`
17356                     if test $ac_lo -le $ac_mid; then
17357                       ac_lo= ac_hi=
17358                       break
17359                     fi
17360                     ac_mid=`expr 2 '*' $ac_mid + 1`
17361 fi
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363   done
17364 else
17365   echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17367
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h.  */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h.  */
17374 $ac_includes_default
17375 int
17376 main ()
17377 {
17378 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17379 test_array [0] = 0
17380
17381   ;
17382   return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387   (eval $ac_compile) 2>conftest.er1
17388   ac_status=$?
17389   grep -v '^ *+' conftest.er1 >conftest.err
17390   rm -f conftest.er1
17391   cat conftest.err >&5
17392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393   (exit $ac_status); } &&
17394          { ac_try='test -z "$ac_c_werror_flag"
17395                          || test ! -s conftest.err'
17396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397   (eval $ac_try) 2>&5
17398   ac_status=$?
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); }; } &&
17401          { ac_try='test -s conftest.$ac_objext'
17402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403   (eval $ac_try) 2>&5
17404   ac_status=$?
17405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406   (exit $ac_status); }; }; then
17407   ac_hi=-1 ac_mid=-1
17408   while :; do
17409     cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h.  */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h.  */
17415 $ac_includes_default
17416 int
17417 main ()
17418 {
17419 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17420 test_array [0] = 0
17421
17422   ;
17423   return 0;
17424 }
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428   (eval $ac_compile) 2>conftest.er1
17429   ac_status=$?
17430   grep -v '^ *+' conftest.er1 >conftest.err
17431   rm -f conftest.er1
17432   cat conftest.err >&5
17433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434   (exit $ac_status); } &&
17435          { ac_try='test -z "$ac_c_werror_flag"
17436                          || test ! -s conftest.err'
17437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438   (eval $ac_try) 2>&5
17439   ac_status=$?
17440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441   (exit $ac_status); }; } &&
17442          { ac_try='test -s conftest.$ac_objext'
17443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444   (eval $ac_try) 2>&5
17445   ac_status=$?
17446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447   (exit $ac_status); }; }; then
17448   ac_lo=$ac_mid; break
17449 else
17450   echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453 ac_hi=`expr '(' $ac_mid ')' - 1`
17454                        if test $ac_mid -le $ac_hi; then
17455                          ac_lo= ac_hi=
17456                          break
17457                        fi
17458                        ac_mid=`expr 2 '*' $ac_mid`
17459 fi
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461   done
17462 else
17463   echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17465
17466 ac_lo= ac_hi=
17467 fi
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469 fi
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474   cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h.  */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h.  */
17480 $ac_includes_default
17481 int
17482 main ()
17483 {
17484 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17485 test_array [0] = 0
17486
17487   ;
17488   return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493   (eval $ac_compile) 2>conftest.er1
17494   ac_status=$?
17495   grep -v '^ *+' conftest.er1 >conftest.err
17496   rm -f conftest.er1
17497   cat conftest.err >&5
17498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499   (exit $ac_status); } &&
17500          { ac_try='test -z "$ac_c_werror_flag"
17501                          || test ! -s conftest.err'
17502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503   (eval $ac_try) 2>&5
17504   ac_status=$?
17505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506   (exit $ac_status); }; } &&
17507          { ac_try='test -s conftest.$ac_objext'
17508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509   (eval $ac_try) 2>&5
17510   ac_status=$?
17511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512   (exit $ac_status); }; }; then
17513   ac_hi=$ac_mid
17514 else
17515   echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_lo=`expr '(' $ac_mid ')' + 1`
17519 fi
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 done
17522 case $ac_lo in
17523 ?*) ac_cv_sizeof_int=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (int), 77
17529 See \`config.log' for more details." >&2;}
17530    { (exit 1); exit 1; }; }; } ;;
17531 esac
17532 else
17533   if test "$cross_compiling" = yes; then
17534   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17535 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17536 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17537 See \`config.log' for more details." >&5
17538 echo "$as_me: error: cannot run test program while cross compiling
17539 See \`config.log' for more details." >&2;}
17540    { (exit 1); exit 1; }; }; }
17541 else
17542   cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h.  */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h.  */
17548 $ac_includes_default
17549 long longval () { return (long) (sizeof (int)); }
17550 unsigned long ulongval () { return (long) (sizeof (int)); }
17551 #include <stdio.h>
17552 #include <stdlib.h>
17553 int
17554 main ()
17555 {
17556
17557   FILE *f = fopen ("conftest.val", "w");
17558   if (! f)
17559     exit (1);
17560   if (((long) (sizeof (int))) < 0)
17561     {
17562       long i = longval ();
17563       if (i != ((long) (sizeof (int))))
17564         exit (1);
17565       fprintf (f, "%ld\n", i);
17566     }
17567   else
17568     {
17569       unsigned long i = ulongval ();
17570       if (i != ((long) (sizeof (int))))
17571         exit (1);
17572       fprintf (f, "%lu\n", i);
17573     }
17574   exit (ferror (f) || fclose (f) != 0);
17575
17576   ;
17577   return 0;
17578 }
17579 _ACEOF
17580 rm -f conftest$ac_exeext
17581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17582   (eval $ac_link) 2>&5
17583   ac_status=$?
17584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587   (eval $ac_try) 2>&5
17588   ac_status=$?
17589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590   (exit $ac_status); }; }; then
17591   ac_cv_sizeof_int=`cat conftest.val`
17592 else
17593   echo "$as_me: program exited with status $ac_status" >&5
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17596
17597 ( exit $ac_status )
17598 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17599 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17601 See \`config.log' for more details." >&5
17602 echo "$as_me: error: cannot compute sizeof (int), 77
17603 See \`config.log' for more details." >&2;}
17604    { (exit 1); exit 1; }; }; }
17605 fi
17606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17607 fi
17608 fi
17609 rm -f conftest.val
17610 else
17611   ac_cv_sizeof_int=0
17612 fi
17613 fi
17614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17616 cat >>confdefs.h <<_ACEOF
17617 #define SIZEOF_INT $ac_cv_sizeof_int
17618 _ACEOF
17619
17620
17621   echo "$as_me:$LINENO: checking for short" >&5
17622 echo $ECHO_N "checking for short... $ECHO_C" >&6
17623 if test "${ac_cv_type_short+set}" = set; then
17624   echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626   cat >conftest.$ac_ext <<_ACEOF
17627 /* confdefs.h.  */
17628 _ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h.  */
17632 $ac_includes_default
17633 int
17634 main ()
17635 {
17636 if ((short *) 0)
17637   return 0;
17638 if (sizeof (short))
17639   return 0;
17640   ;
17641   return 0;
17642 }
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646   (eval $ac_compile) 2>conftest.er1
17647   ac_status=$?
17648   grep -v '^ *+' conftest.er1 >conftest.err
17649   rm -f conftest.er1
17650   cat conftest.err >&5
17651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652   (exit $ac_status); } &&
17653          { ac_try='test -z "$ac_c_werror_flag"
17654                          || test ! -s conftest.err'
17655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656   (eval $ac_try) 2>&5
17657   ac_status=$?
17658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659   (exit $ac_status); }; } &&
17660          { ac_try='test -s conftest.$ac_objext'
17661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662   (eval $ac_try) 2>&5
17663   ac_status=$?
17664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665   (exit $ac_status); }; }; then
17666   ac_cv_type_short=yes
17667 else
17668   echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17670
17671 ac_cv_type_short=no
17672 fi
17673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17674 fi
17675 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17676 echo "${ECHO_T}$ac_cv_type_short" >&6
17677
17678 echo "$as_me:$LINENO: checking size of short" >&5
17679 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17680 if test "${ac_cv_sizeof_short+set}" = set; then
17681   echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683   if test "$ac_cv_type_short" = yes; then
17684   # The cast to unsigned long works around a bug in the HP C Compiler
17685   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17686   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17687   # This bug is HP SR number 8606223364.
17688   if test "$cross_compiling" = yes; then
17689   # Depending upon the size, compute the lo and hi bounds.
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h.  */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h.  */
17696 $ac_includes_default
17697 int
17698 main ()
17699 {
17700 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17701 test_array [0] = 0
17702
17703   ;
17704   return 0;
17705 }
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709   (eval $ac_compile) 2>conftest.er1
17710   ac_status=$?
17711   grep -v '^ *+' conftest.er1 >conftest.err
17712   rm -f conftest.er1
17713   cat conftest.err >&5
17714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715   (exit $ac_status); } &&
17716          { ac_try='test -z "$ac_c_werror_flag"
17717                          || test ! -s conftest.err'
17718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719   (eval $ac_try) 2>&5
17720   ac_status=$?
17721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722   (exit $ac_status); }; } &&
17723          { ac_try='test -s conftest.$ac_objext'
17724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725   (eval $ac_try) 2>&5
17726   ac_status=$?
17727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728   (exit $ac_status); }; }; then
17729   ac_lo=0 ac_mid=0
17730   while :; do
17731     cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h.  */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h.  */
17737 $ac_includes_default
17738 int
17739 main ()
17740 {
17741 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17742 test_array [0] = 0
17743
17744   ;
17745   return 0;
17746 }
17747 _ACEOF
17748 rm -f conftest.$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750   (eval $ac_compile) 2>conftest.er1
17751   ac_status=$?
17752   grep -v '^ *+' conftest.er1 >conftest.err
17753   rm -f conftest.er1
17754   cat conftest.err >&5
17755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756   (exit $ac_status); } &&
17757          { ac_try='test -z "$ac_c_werror_flag"
17758                          || test ! -s conftest.err'
17759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760   (eval $ac_try) 2>&5
17761   ac_status=$?
17762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763   (exit $ac_status); }; } &&
17764          { ac_try='test -s conftest.$ac_objext'
17765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766   (eval $ac_try) 2>&5
17767   ac_status=$?
17768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769   (exit $ac_status); }; }; then
17770   ac_hi=$ac_mid; break
17771 else
17772   echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17774
17775 ac_lo=`expr $ac_mid + 1`
17776                     if test $ac_lo -le $ac_mid; then
17777                       ac_lo= ac_hi=
17778                       break
17779                     fi
17780                     ac_mid=`expr 2 '*' $ac_mid + 1`
17781 fi
17782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17783   done
17784 else
17785   echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17787
17788 cat >conftest.$ac_ext <<_ACEOF
17789 /* confdefs.h.  */
17790 _ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h.  */
17794 $ac_includes_default
17795 int
17796 main ()
17797 {
17798 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17799 test_array [0] = 0
17800
17801   ;
17802   return 0;
17803 }
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807   (eval $ac_compile) 2>conftest.er1
17808   ac_status=$?
17809   grep -v '^ *+' conftest.er1 >conftest.err
17810   rm -f conftest.er1
17811   cat conftest.err >&5
17812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813   (exit $ac_status); } &&
17814          { ac_try='test -z "$ac_c_werror_flag"
17815                          || test ! -s conftest.err'
17816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817   (eval $ac_try) 2>&5
17818   ac_status=$?
17819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820   (exit $ac_status); }; } &&
17821          { ac_try='test -s conftest.$ac_objext'
17822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823   (eval $ac_try) 2>&5
17824   ac_status=$?
17825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826   (exit $ac_status); }; }; then
17827   ac_hi=-1 ac_mid=-1
17828   while :; do
17829     cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h.  */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h.  */
17835 $ac_includes_default
17836 int
17837 main ()
17838 {
17839 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17840 test_array [0] = 0
17841
17842   ;
17843   return 0;
17844 }
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848   (eval $ac_compile) 2>conftest.er1
17849   ac_status=$?
17850   grep -v '^ *+' conftest.er1 >conftest.err
17851   rm -f conftest.er1
17852   cat conftest.err >&5
17853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854   (exit $ac_status); } &&
17855          { ac_try='test -z "$ac_c_werror_flag"
17856                          || test ! -s conftest.err'
17857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858   (eval $ac_try) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); }; } &&
17862          { ac_try='test -s conftest.$ac_objext'
17863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864   (eval $ac_try) 2>&5
17865   ac_status=$?
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); }; }; then
17868   ac_lo=$ac_mid; break
17869 else
17870   echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 ac_hi=`expr '(' $ac_mid ')' - 1`
17874                        if test $ac_mid -le $ac_hi; then
17875                          ac_lo= ac_hi=
17876                          break
17877                        fi
17878                        ac_mid=`expr 2 '*' $ac_mid`
17879 fi
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17881   done
17882 else
17883   echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 ac_lo= ac_hi=
17887 fi
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17889 fi
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17891 # Binary search between lo and hi bounds.
17892 while test "x$ac_lo" != "x$ac_hi"; do
17893   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17894   cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h.  */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h.  */
17900 $ac_includes_default
17901 int
17902 main ()
17903 {
17904 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17905 test_array [0] = 0
17906
17907   ;
17908   return 0;
17909 }
17910 _ACEOF
17911 rm -f conftest.$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913   (eval $ac_compile) 2>conftest.er1
17914   ac_status=$?
17915   grep -v '^ *+' conftest.er1 >conftest.err
17916   rm -f conftest.er1
17917   cat conftest.err >&5
17918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919   (exit $ac_status); } &&
17920          { ac_try='test -z "$ac_c_werror_flag"
17921                          || test ! -s conftest.err'
17922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923   (eval $ac_try) 2>&5
17924   ac_status=$?
17925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926   (exit $ac_status); }; } &&
17927          { ac_try='test -s conftest.$ac_objext'
17928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929   (eval $ac_try) 2>&5
17930   ac_status=$?
17931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932   (exit $ac_status); }; }; then
17933   ac_hi=$ac_mid
17934 else
17935   echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17937
17938 ac_lo=`expr '(' $ac_mid ')' + 1`
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 done
17942 case $ac_lo in
17943 ?*) ac_cv_sizeof_short=$ac_lo;;
17944 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17945 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17947 See \`config.log' for more details." >&5
17948 echo "$as_me: error: cannot compute sizeof (short), 77
17949 See \`config.log' for more details." >&2;}
17950    { (exit 1); exit 1; }; }; } ;;
17951 esac
17952 else
17953   if test "$cross_compiling" = yes; then
17954   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17955 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17956 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17957 See \`config.log' for more details." >&5
17958 echo "$as_me: error: cannot run test program while cross compiling
17959 See \`config.log' for more details." >&2;}
17960    { (exit 1); exit 1; }; }; }
17961 else
17962   cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h.  */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h.  */
17968 $ac_includes_default
17969 long longval () { return (long) (sizeof (short)); }
17970 unsigned long ulongval () { return (long) (sizeof (short)); }
17971 #include <stdio.h>
17972 #include <stdlib.h>
17973 int
17974 main ()
17975 {
17976
17977   FILE *f = fopen ("conftest.val", "w");
17978   if (! f)
17979     exit (1);
17980   if (((long) (sizeof (short))) < 0)
17981     {
17982       long i = longval ();
17983       if (i != ((long) (sizeof (short))))
17984         exit (1);
17985       fprintf (f, "%ld\n", i);
17986     }
17987   else
17988     {
17989       unsigned long i = ulongval ();
17990       if (i != ((long) (sizeof (short))))
17991         exit (1);
17992       fprintf (f, "%lu\n", i);
17993     }
17994   exit (ferror (f) || fclose (f) != 0);
17995
17996   ;
17997   return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002   (eval $ac_link) 2>&5
18003   ac_status=$?
18004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007   (eval $ac_try) 2>&5
18008   ac_status=$?
18009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010   (exit $ac_status); }; }; then
18011   ac_cv_sizeof_short=`cat conftest.val`
18012 else
18013   echo "$as_me: program exited with status $ac_status" >&5
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 ( exit $ac_status )
18018 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18019 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18020 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18021 See \`config.log' for more details." >&5
18022 echo "$as_me: error: cannot compute sizeof (short), 77
18023 See \`config.log' for more details." >&2;}
18024    { (exit 1); exit 1; }; }; }
18025 fi
18026 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18027 fi
18028 fi
18029 rm -f conftest.val
18030 else
18031   ac_cv_sizeof_short=0
18032 fi
18033 fi
18034 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18035 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18036 cat >>confdefs.h <<_ACEOF
18037 #define SIZEOF_SHORT $ac_cv_sizeof_short
18038 _ACEOF
18039
18040
18041   echo "$as_me:$LINENO: checking for char" >&5
18042 echo $ECHO_N "checking for char... $ECHO_C" >&6
18043 if test "${ac_cv_type_char+set}" = set; then
18044   echo $ECHO_N "(cached) $ECHO_C" >&6
18045 else
18046   cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h.  */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h.  */
18052 $ac_includes_default
18053 int
18054 main ()
18055 {
18056 if ((char *) 0)
18057   return 0;
18058 if (sizeof (char))
18059   return 0;
18060   ;
18061   return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066   (eval $ac_compile) 2>conftest.er1
18067   ac_status=$?
18068   grep -v '^ *+' conftest.er1 >conftest.err
18069   rm -f conftest.er1
18070   cat conftest.err >&5
18071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072   (exit $ac_status); } &&
18073          { ac_try='test -z "$ac_c_werror_flag"
18074                          || test ! -s conftest.err'
18075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076   (eval $ac_try) 2>&5
18077   ac_status=$?
18078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079   (exit $ac_status); }; } &&
18080          { ac_try='test -s conftest.$ac_objext'
18081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082   (eval $ac_try) 2>&5
18083   ac_status=$?
18084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085   (exit $ac_status); }; }; then
18086   ac_cv_type_char=yes
18087 else
18088   echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18090
18091 ac_cv_type_char=no
18092 fi
18093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18094 fi
18095 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18096 echo "${ECHO_T}$ac_cv_type_char" >&6
18097
18098 echo "$as_me:$LINENO: checking size of char" >&5
18099 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18100 if test "${ac_cv_sizeof_char+set}" = set; then
18101   echo $ECHO_N "(cached) $ECHO_C" >&6
18102 else
18103   if test "$ac_cv_type_char" = yes; then
18104   # The cast to unsigned long works around a bug in the HP C Compiler
18105   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18106   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18107   # This bug is HP SR number 8606223364.
18108   if test "$cross_compiling" = yes; then
18109   # Depending upon the size, compute the lo and hi bounds.
18110 cat >conftest.$ac_ext <<_ACEOF
18111 /* confdefs.h.  */
18112 _ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h.  */
18116 $ac_includes_default
18117 int
18118 main ()
18119 {
18120 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18121 test_array [0] = 0
18122
18123   ;
18124   return 0;
18125 }
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129   (eval $ac_compile) 2>conftest.er1
18130   ac_status=$?
18131   grep -v '^ *+' conftest.er1 >conftest.err
18132   rm -f conftest.er1
18133   cat conftest.err >&5
18134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135   (exit $ac_status); } &&
18136          { ac_try='test -z "$ac_c_werror_flag"
18137                          || test ! -s conftest.err'
18138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139   (eval $ac_try) 2>&5
18140   ac_status=$?
18141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142   (exit $ac_status); }; } &&
18143          { ac_try='test -s conftest.$ac_objext'
18144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145   (eval $ac_try) 2>&5
18146   ac_status=$?
18147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148   (exit $ac_status); }; }; then
18149   ac_lo=0 ac_mid=0
18150   while :; do
18151     cat >conftest.$ac_ext <<_ACEOF
18152 /* confdefs.h.  */
18153 _ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h.  */
18157 $ac_includes_default
18158 int
18159 main ()
18160 {
18161 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18162 test_array [0] = 0
18163
18164   ;
18165   return 0;
18166 }
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170   (eval $ac_compile) 2>conftest.er1
18171   ac_status=$?
18172   grep -v '^ *+' conftest.er1 >conftest.err
18173   rm -f conftest.er1
18174   cat conftest.err >&5
18175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176   (exit $ac_status); } &&
18177          { ac_try='test -z "$ac_c_werror_flag"
18178                          || test ! -s conftest.err'
18179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180   (eval $ac_try) 2>&5
18181   ac_status=$?
18182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183   (exit $ac_status); }; } &&
18184          { ac_try='test -s conftest.$ac_objext'
18185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186   (eval $ac_try) 2>&5
18187   ac_status=$?
18188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189   (exit $ac_status); }; }; then
18190   ac_hi=$ac_mid; break
18191 else
18192   echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 ac_lo=`expr $ac_mid + 1`
18196                     if test $ac_lo -le $ac_mid; then
18197                       ac_lo= ac_hi=
18198                       break
18199                     fi
18200                     ac_mid=`expr 2 '*' $ac_mid + 1`
18201 fi
18202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18203   done
18204 else
18205   echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 cat >conftest.$ac_ext <<_ACEOF
18209 /* confdefs.h.  */
18210 _ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h.  */
18214 $ac_includes_default
18215 int
18216 main ()
18217 {
18218 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18219 test_array [0] = 0
18220
18221   ;
18222   return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227   (eval $ac_compile) 2>conftest.er1
18228   ac_status=$?
18229   grep -v '^ *+' conftest.er1 >conftest.err
18230   rm -f conftest.er1
18231   cat conftest.err >&5
18232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233   (exit $ac_status); } &&
18234          { ac_try='test -z "$ac_c_werror_flag"
18235                          || test ! -s conftest.err'
18236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237   (eval $ac_try) 2>&5
18238   ac_status=$?
18239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240   (exit $ac_status); }; } &&
18241          { ac_try='test -s conftest.$ac_objext'
18242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243   (eval $ac_try) 2>&5
18244   ac_status=$?
18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246   (exit $ac_status); }; }; then
18247   ac_hi=-1 ac_mid=-1
18248   while :; do
18249     cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h.  */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h.  */
18255 $ac_includes_default
18256 int
18257 main ()
18258 {
18259 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18260 test_array [0] = 0
18261
18262   ;
18263   return 0;
18264 }
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268   (eval $ac_compile) 2>conftest.er1
18269   ac_status=$?
18270   grep -v '^ *+' conftest.er1 >conftest.err
18271   rm -f conftest.er1
18272   cat conftest.err >&5
18273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274   (exit $ac_status); } &&
18275          { ac_try='test -z "$ac_c_werror_flag"
18276                          || test ! -s conftest.err'
18277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278   (eval $ac_try) 2>&5
18279   ac_status=$?
18280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281   (exit $ac_status); }; } &&
18282          { ac_try='test -s conftest.$ac_objext'
18283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284   (eval $ac_try) 2>&5
18285   ac_status=$?
18286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287   (exit $ac_status); }; }; then
18288   ac_lo=$ac_mid; break
18289 else
18290   echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18292
18293 ac_hi=`expr '(' $ac_mid ')' - 1`
18294                        if test $ac_mid -le $ac_hi; then
18295                          ac_lo= ac_hi=
18296                          break
18297                        fi
18298                        ac_mid=`expr 2 '*' $ac_mid`
18299 fi
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18301   done
18302 else
18303   echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18305
18306 ac_lo= ac_hi=
18307 fi
18308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18309 fi
18310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18311 # Binary search between lo and hi bounds.
18312 while test "x$ac_lo" != "x$ac_hi"; do
18313   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18314   cat >conftest.$ac_ext <<_ACEOF
18315 /* confdefs.h.  */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h.  */
18320 $ac_includes_default
18321 int
18322 main ()
18323 {
18324 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18325 test_array [0] = 0
18326
18327   ;
18328   return 0;
18329 }
18330 _ACEOF
18331 rm -f conftest.$ac_objext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18333   (eval $ac_compile) 2>conftest.er1
18334   ac_status=$?
18335   grep -v '^ *+' conftest.er1 >conftest.err
18336   rm -f conftest.er1
18337   cat conftest.err >&5
18338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339   (exit $ac_status); } &&
18340          { ac_try='test -z "$ac_c_werror_flag"
18341                          || test ! -s conftest.err'
18342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343   (eval $ac_try) 2>&5
18344   ac_status=$?
18345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346   (exit $ac_status); }; } &&
18347          { ac_try='test -s conftest.$ac_objext'
18348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349   (eval $ac_try) 2>&5
18350   ac_status=$?
18351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352   (exit $ac_status); }; }; then
18353   ac_hi=$ac_mid
18354 else
18355   echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 ac_lo=`expr '(' $ac_mid ')' + 1`
18359 fi
18360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18361 done
18362 case $ac_lo in
18363 ?*) ac_cv_sizeof_char=$ac_lo;;
18364 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18365 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18367 See \`config.log' for more details." >&5
18368 echo "$as_me: error: cannot compute sizeof (char), 77
18369 See \`config.log' for more details." >&2;}
18370    { (exit 1); exit 1; }; }; } ;;
18371 esac
18372 else
18373   if test "$cross_compiling" = yes; then
18374   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18375 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18376 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18377 See \`config.log' for more details." >&5
18378 echo "$as_me: error: cannot run test program while cross compiling
18379 See \`config.log' for more details." >&2;}
18380    { (exit 1); exit 1; }; }; }
18381 else
18382   cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h.  */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h.  */
18388 $ac_includes_default
18389 long longval () { return (long) (sizeof (char)); }
18390 unsigned long ulongval () { return (long) (sizeof (char)); }
18391 #include <stdio.h>
18392 #include <stdlib.h>
18393 int
18394 main ()
18395 {
18396
18397   FILE *f = fopen ("conftest.val", "w");
18398   if (! f)
18399     exit (1);
18400   if (((long) (sizeof (char))) < 0)
18401     {
18402       long i = longval ();
18403       if (i != ((long) (sizeof (char))))
18404         exit (1);
18405       fprintf (f, "%ld\n", i);
18406     }
18407   else
18408     {
18409       unsigned long i = ulongval ();
18410       if (i != ((long) (sizeof (char))))
18411         exit (1);
18412       fprintf (f, "%lu\n", i);
18413     }
18414   exit (ferror (f) || fclose (f) != 0);
18415
18416   ;
18417   return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422   (eval $ac_link) 2>&5
18423   ac_status=$?
18424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427   (eval $ac_try) 2>&5
18428   ac_status=$?
18429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430   (exit $ac_status); }; }; then
18431   ac_cv_sizeof_char=`cat conftest.val`
18432 else
18433   echo "$as_me: program exited with status $ac_status" >&5
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18436
18437 ( exit $ac_status )
18438 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18439 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18441 See \`config.log' for more details." >&5
18442 echo "$as_me: error: cannot compute sizeof (char), 77
18443 See \`config.log' for more details." >&2;}
18444    { (exit 1); exit 1; }; }; }
18445 fi
18446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18447 fi
18448 fi
18449 rm -f conftest.val
18450 else
18451   ac_cv_sizeof_char=0
18452 fi
18453 fi
18454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18455 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18456 cat >>confdefs.h <<_ACEOF
18457 #define SIZEOF_CHAR $ac_cv_sizeof_char
18458 _ACEOF
18459
18460
18461
18462   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18463 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18464   case "$ac_cv_sizeof_char" in
18465     1) acx_cv_type_int8_t=char ;;
18466     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18467 echo "$as_me: error: no 8-bit type" >&2;}
18468    { (exit please report a bug); exit please report a bug; }; }
18469   esac
18470   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18471 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18472
18473   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18474 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18475   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18476     2:*) acx_cv_type_int16_t=int ;;
18477     *:2) acx_cv_type_int16_t=short ;;
18478     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18479 echo "$as_me: error: no 16-bit type" >&2;}
18480    { (exit please report a bug); exit please report a bug; }; }
18481   esac
18482   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18483 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18484
18485   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18486 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18487   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18488     4:*) acx_cv_type_int32_t=int ;;
18489     *:4) acx_cv_type_int32_t=long ;;
18490     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18491 echo "$as_me: error: no 32-bit type" >&2;}
18492    { (exit please report a bug); exit please report a bug; }; }
18493   esac
18494   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18495 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18496 fi
18497
18498 # These tests are here to make the output prettier
18499
18500 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18501   case "$ac_cv_sizeof_long" in
18502     8) acx_cv_type_int64_t=long ;;
18503   esac
18504   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18505 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18506   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18507 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18508 fi
18509
18510 # Now we can use the above types
18511
18512 if test "$ac_cv_type_uintptr_t" != yes; then
18513   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18514 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18515   case $ac_cv_sizeof_void_p in
18516     2) acx_cv_type_intptr_t=int16_t ;;
18517     4) acx_cv_type_intptr_t=int32_t ;;
18518     8) acx_cv_type_intptr_t=int64_t ;;
18519     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18520 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18521    { (exit please report a bug); exit please report a bug; }; }
18522   esac
18523   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18524 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18525 fi
18526
18527 # ----------------- done all checks, emit header -------------
18528           ac_config_commands="$ac_config_commands gstdint.h"
18529
18530
18531
18532
18533 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18534 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18535 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18536   echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538   cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h.  */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h.  */
18544 $ac_includes_default
18545 int
18546 main ()
18547 {
18548 static struct stat ac_aggr;
18549 if (ac_aggr.st_blksize)
18550 return 0;
18551   ;
18552   return 0;
18553 }
18554 _ACEOF
18555 rm -f conftest.$ac_objext
18556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557   (eval $ac_compile) 2>conftest.er1
18558   ac_status=$?
18559   grep -v '^ *+' conftest.er1 >conftest.err
18560   rm -f conftest.er1
18561   cat conftest.err >&5
18562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563   (exit $ac_status); } &&
18564          { ac_try='test -z "$ac_c_werror_flag"
18565                          || test ! -s conftest.err'
18566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567   (eval $ac_try) 2>&5
18568   ac_status=$?
18569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570   (exit $ac_status); }; } &&
18571          { ac_try='test -s conftest.$ac_objext'
18572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573   (eval $ac_try) 2>&5
18574   ac_status=$?
18575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576   (exit $ac_status); }; }; then
18577   ac_cv_member_struct_stat_st_blksize=yes
18578 else
18579   echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18581
18582 cat >conftest.$ac_ext <<_ACEOF
18583 /* confdefs.h.  */
18584 _ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h.  */
18588 $ac_includes_default
18589 int
18590 main ()
18591 {
18592 static struct stat ac_aggr;
18593 if (sizeof ac_aggr.st_blksize)
18594 return 0;
18595   ;
18596   return 0;
18597 }
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601   (eval $ac_compile) 2>conftest.er1
18602   ac_status=$?
18603   grep -v '^ *+' conftest.er1 >conftest.err
18604   rm -f conftest.er1
18605   cat conftest.err >&5
18606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607   (exit $ac_status); } &&
18608          { ac_try='test -z "$ac_c_werror_flag"
18609                          || test ! -s conftest.err'
18610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611   (eval $ac_try) 2>&5
18612   ac_status=$?
18613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614   (exit $ac_status); }; } &&
18615          { ac_try='test -s conftest.$ac_objext'
18616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617   (eval $ac_try) 2>&5
18618   ac_status=$?
18619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620   (exit $ac_status); }; }; then
18621   ac_cv_member_struct_stat_st_blksize=yes
18622 else
18623   echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18625
18626 ac_cv_member_struct_stat_st_blksize=no
18627 fi
18628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18629 fi
18630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18631 fi
18632 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18633 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18634 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18635
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18638 _ACEOF
18639
18640
18641 fi
18642
18643 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18644 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18645 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18646   echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648   cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h.  */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h.  */
18654 $ac_includes_default
18655 int
18656 main ()
18657 {
18658 static struct stat ac_aggr;
18659 if (ac_aggr.st_blocks)
18660 return 0;
18661   ;
18662   return 0;
18663 }
18664 _ACEOF
18665 rm -f conftest.$ac_objext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18667   (eval $ac_compile) 2>conftest.er1
18668   ac_status=$?
18669   grep -v '^ *+' conftest.er1 >conftest.err
18670   rm -f conftest.er1
18671   cat conftest.err >&5
18672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673   (exit $ac_status); } &&
18674          { ac_try='test -z "$ac_c_werror_flag"
18675                          || test ! -s conftest.err'
18676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677   (eval $ac_try) 2>&5
18678   ac_status=$?
18679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680   (exit $ac_status); }; } &&
18681          { ac_try='test -s conftest.$ac_objext'
18682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683   (eval $ac_try) 2>&5
18684   ac_status=$?
18685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686   (exit $ac_status); }; }; then
18687   ac_cv_member_struct_stat_st_blocks=yes
18688 else
18689   echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h.  */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h.  */
18698 $ac_includes_default
18699 int
18700 main ()
18701 {
18702 static struct stat ac_aggr;
18703 if (sizeof ac_aggr.st_blocks)
18704 return 0;
18705   ;
18706   return 0;
18707 }
18708 _ACEOF
18709 rm -f conftest.$ac_objext
18710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18711   (eval $ac_compile) 2>conftest.er1
18712   ac_status=$?
18713   grep -v '^ *+' conftest.er1 >conftest.err
18714   rm -f conftest.er1
18715   cat conftest.err >&5
18716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717   (exit $ac_status); } &&
18718          { ac_try='test -z "$ac_c_werror_flag"
18719                          || test ! -s conftest.err'
18720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721   (eval $ac_try) 2>&5
18722   ac_status=$?
18723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724   (exit $ac_status); }; } &&
18725          { ac_try='test -s conftest.$ac_objext'
18726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727   (eval $ac_try) 2>&5
18728   ac_status=$?
18729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730   (exit $ac_status); }; }; then
18731   ac_cv_member_struct_stat_st_blocks=yes
18732 else
18733   echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18735
18736 ac_cv_member_struct_stat_st_blocks=no
18737 fi
18738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18739 fi
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18741 fi
18742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18744 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18745
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18748 _ACEOF
18749
18750
18751 fi
18752
18753 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18754 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18755 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18756   echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758   cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h.  */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h.  */
18764 $ac_includes_default
18765 int
18766 main ()
18767 {
18768 static struct stat ac_aggr;
18769 if (ac_aggr.st_rdev)
18770 return 0;
18771   ;
18772   return 0;
18773 }
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777   (eval $ac_compile) 2>conftest.er1
18778   ac_status=$?
18779   grep -v '^ *+' conftest.er1 >conftest.err
18780   rm -f conftest.er1
18781   cat conftest.err >&5
18782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783   (exit $ac_status); } &&
18784          { ac_try='test -z "$ac_c_werror_flag"
18785                          || test ! -s conftest.err'
18786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787   (eval $ac_try) 2>&5
18788   ac_status=$?
18789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790   (exit $ac_status); }; } &&
18791          { ac_try='test -s conftest.$ac_objext'
18792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793   (eval $ac_try) 2>&5
18794   ac_status=$?
18795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796   (exit $ac_status); }; }; then
18797   ac_cv_member_struct_stat_st_rdev=yes
18798 else
18799   echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18801
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h.  */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h.  */
18808 $ac_includes_default
18809 int
18810 main ()
18811 {
18812 static struct stat ac_aggr;
18813 if (sizeof ac_aggr.st_rdev)
18814 return 0;
18815   ;
18816   return 0;
18817 }
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821   (eval $ac_compile) 2>conftest.er1
18822   ac_status=$?
18823   grep -v '^ *+' conftest.er1 >conftest.err
18824   rm -f conftest.er1
18825   cat conftest.err >&5
18826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827   (exit $ac_status); } &&
18828          { ac_try='test -z "$ac_c_werror_flag"
18829                          || test ! -s conftest.err'
18830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831   (eval $ac_try) 2>&5
18832   ac_status=$?
18833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834   (exit $ac_status); }; } &&
18835          { ac_try='test -s conftest.$ac_objext'
18836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837   (eval $ac_try) 2>&5
18838   ac_status=$?
18839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840   (exit $ac_status); }; }; then
18841   ac_cv_member_struct_stat_st_rdev=yes
18842 else
18843   echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_cv_member_struct_stat_st_rdev=no
18847 fi
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18849 fi
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18851 fi
18852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18853 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18854 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18855
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_STRUCT_STAT_ST_RDEV 1
18858 _ACEOF
18859
18860
18861 fi
18862
18863
18864 # Check for library functions.
18865
18866
18867
18868
18869
18870
18871
18872
18873 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18874 do
18875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18876 echo "$as_me:$LINENO: checking for $ac_func" >&5
18877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18878 if eval "test \"\${$as_ac_var+set}\" = set"; then
18879   echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881   if test x$gcc_no_link = xyes; then
18882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18884    { (exit 1); exit 1; }; }
18885 fi
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h.  */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h.  */
18892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18894 #define $ac_func innocuous_$ac_func
18895
18896 /* System header to define __stub macros and hopefully few prototypes,
18897     which can conflict with char $ac_func (); below.
18898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18899     <limits.h> exists even on freestanding compilers.  */
18900
18901 #ifdef __STDC__
18902 # include <limits.h>
18903 #else
18904 # include <assert.h>
18905 #endif
18906
18907 #undef $ac_func
18908
18909 /* Override any gcc2 internal prototype to avoid an error.  */
18910 #ifdef __cplusplus
18911 extern "C"
18912 {
18913 #endif
18914 /* We use char because int might match the return type of a gcc2
18915    builtin and then its argument prototype would still apply.  */
18916 char $ac_func ();
18917 /* The GNU C library defines this for functions which it implements
18918     to always fail with ENOSYS.  Some functions are actually named
18919     something starting with __ and the normal name is an alias.  */
18920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18921 choke me
18922 #else
18923 char (*f) () = $ac_func;
18924 #endif
18925 #ifdef __cplusplus
18926 }
18927 #endif
18928
18929 int
18930 main ()
18931 {
18932 return f != $ac_func;
18933   ;
18934   return 0;
18935 }
18936 _ACEOF
18937 rm -f conftest.$ac_objext conftest$ac_exeext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18939   (eval $ac_link) 2>conftest.er1
18940   ac_status=$?
18941   grep -v '^ *+' conftest.er1 >conftest.err
18942   rm -f conftest.er1
18943   cat conftest.err >&5
18944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945   (exit $ac_status); } &&
18946          { ac_try='test -z "$ac_c_werror_flag"
18947                          || test ! -s conftest.err'
18948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949   (eval $ac_try) 2>&5
18950   ac_status=$?
18951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952   (exit $ac_status); }; } &&
18953          { ac_try='test -s conftest$ac_exeext'
18954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955   (eval $ac_try) 2>&5
18956   ac_status=$?
18957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958   (exit $ac_status); }; }; then
18959   eval "$as_ac_var=yes"
18960 else
18961   echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18963
18964 eval "$as_ac_var=no"
18965 fi
18966 rm -f conftest.err conftest.$ac_objext \
18967       conftest$ac_exeext conftest.$ac_ext
18968 fi
18969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18971 if test `eval echo '${'$as_ac_var'}'` = yes; then
18972   cat >>confdefs.h <<_ACEOF
18973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18974 _ACEOF
18975
18976 fi
18977 done
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18988 do
18989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18990 echo "$as_me:$LINENO: checking for $ac_func" >&5
18991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18992 if eval "test \"\${$as_ac_var+set}\" = set"; then
18993   echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995   if test x$gcc_no_link = xyes; then
18996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18998    { (exit 1); exit 1; }; }
18999 fi
19000 cat >conftest.$ac_ext <<_ACEOF
19001 /* confdefs.h.  */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h.  */
19006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19008 #define $ac_func innocuous_$ac_func
19009
19010 /* System header to define __stub macros and hopefully few prototypes,
19011     which can conflict with char $ac_func (); below.
19012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19013     <limits.h> exists even on freestanding compilers.  */
19014
19015 #ifdef __STDC__
19016 # include <limits.h>
19017 #else
19018 # include <assert.h>
19019 #endif
19020
19021 #undef $ac_func
19022
19023 /* Override any gcc2 internal prototype to avoid an error.  */
19024 #ifdef __cplusplus
19025 extern "C"
19026 {
19027 #endif
19028 /* We use char because int might match the return type of a gcc2
19029    builtin and then its argument prototype would still apply.  */
19030 char $ac_func ();
19031 /* The GNU C library defines this for functions which it implements
19032     to always fail with ENOSYS.  Some functions are actually named
19033     something starting with __ and the normal name is an alias.  */
19034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19035 choke me
19036 #else
19037 char (*f) () = $ac_func;
19038 #endif
19039 #ifdef __cplusplus
19040 }
19041 #endif
19042
19043 int
19044 main ()
19045 {
19046 return f != $ac_func;
19047   ;
19048   return 0;
19049 }
19050 _ACEOF
19051 rm -f conftest.$ac_objext conftest$ac_exeext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19053   (eval $ac_link) 2>conftest.er1
19054   ac_status=$?
19055   grep -v '^ *+' conftest.er1 >conftest.err
19056   rm -f conftest.er1
19057   cat conftest.err >&5
19058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059   (exit $ac_status); } &&
19060          { ac_try='test -z "$ac_c_werror_flag"
19061                          || test ! -s conftest.err'
19062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063   (eval $ac_try) 2>&5
19064   ac_status=$?
19065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066   (exit $ac_status); }; } &&
19067          { ac_try='test -s conftest$ac_exeext'
19068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069   (eval $ac_try) 2>&5
19070   ac_status=$?
19071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072   (exit $ac_status); }; }; then
19073   eval "$as_ac_var=yes"
19074 else
19075   echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 eval "$as_ac_var=no"
19079 fi
19080 rm -f conftest.err conftest.$ac_objext \
19081       conftest$ac_exeext conftest.$ac_ext
19082 fi
19083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19085 if test `eval echo '${'$as_ac_var'}'` = yes; then
19086   cat >>confdefs.h <<_ACEOF
19087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19088 _ACEOF
19089
19090 fi
19091 done
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19104 do
19105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19106 echo "$as_me:$LINENO: checking for $ac_func" >&5
19107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19108 if eval "test \"\${$as_ac_var+set}\" = set"; then
19109   echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111   if test x$gcc_no_link = xyes; then
19112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19114    { (exit 1); exit 1; }; }
19115 fi
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h.  */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h.  */
19122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19124 #define $ac_func innocuous_$ac_func
19125
19126 /* System header to define __stub macros and hopefully few prototypes,
19127     which can conflict with char $ac_func (); below.
19128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19129     <limits.h> exists even on freestanding compilers.  */
19130
19131 #ifdef __STDC__
19132 # include <limits.h>
19133 #else
19134 # include <assert.h>
19135 #endif
19136
19137 #undef $ac_func
19138
19139 /* Override any gcc2 internal prototype to avoid an error.  */
19140 #ifdef __cplusplus
19141 extern "C"
19142 {
19143 #endif
19144 /* We use char because int might match the return type of a gcc2
19145    builtin and then its argument prototype would still apply.  */
19146 char $ac_func ();
19147 /* The GNU C library defines this for functions which it implements
19148     to always fail with ENOSYS.  Some functions are actually named
19149     something starting with __ and the normal name is an alias.  */
19150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 choke me
19152 #else
19153 char (*f) () = $ac_func;
19154 #endif
19155 #ifdef __cplusplus
19156 }
19157 #endif
19158
19159 int
19160 main ()
19161 {
19162 return f != $ac_func;
19163   ;
19164   return 0;
19165 }
19166 _ACEOF
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169   (eval $ac_link) 2>conftest.er1
19170   ac_status=$?
19171   grep -v '^ *+' conftest.er1 >conftest.err
19172   rm -f conftest.er1
19173   cat conftest.err >&5
19174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175   (exit $ac_status); } &&
19176          { ac_try='test -z "$ac_c_werror_flag"
19177                          || test ! -s conftest.err'
19178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179   (eval $ac_try) 2>&5
19180   ac_status=$?
19181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182   (exit $ac_status); }; } &&
19183          { ac_try='test -s conftest$ac_exeext'
19184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185   (eval $ac_try) 2>&5
19186   ac_status=$?
19187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188   (exit $ac_status); }; }; then
19189   eval "$as_ac_var=yes"
19190 else
19191   echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19193
19194 eval "$as_ac_var=no"
19195 fi
19196 rm -f conftest.err conftest.$ac_objext \
19197       conftest$ac_exeext conftest.$ac_ext
19198 fi
19199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19201 if test `eval echo '${'$as_ac_var'}'` = yes; then
19202   cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19204 _ACEOF
19205
19206 fi
19207 done
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19219 do
19220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19221 echo "$as_me:$LINENO: checking for $ac_func" >&5
19222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19223 if eval "test \"\${$as_ac_var+set}\" = set"; then
19224   echo $ECHO_N "(cached) $ECHO_C" >&6
19225 else
19226   if test x$gcc_no_link = xyes; then
19227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19229    { (exit 1); exit 1; }; }
19230 fi
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h.  */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h.  */
19237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19239 #define $ac_func innocuous_$ac_func
19240
19241 /* System header to define __stub macros and hopefully few prototypes,
19242     which can conflict with char $ac_func (); below.
19243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19244     <limits.h> exists even on freestanding compilers.  */
19245
19246 #ifdef __STDC__
19247 # include <limits.h>
19248 #else
19249 # include <assert.h>
19250 #endif
19251
19252 #undef $ac_func
19253
19254 /* Override any gcc2 internal prototype to avoid an error.  */
19255 #ifdef __cplusplus
19256 extern "C"
19257 {
19258 #endif
19259 /* We use char because int might match the return type of a gcc2
19260    builtin and then its argument prototype would still apply.  */
19261 char $ac_func ();
19262 /* The GNU C library defines this for functions which it implements
19263     to always fail with ENOSYS.  Some functions are actually named
19264     something starting with __ and the normal name is an alias.  */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19266 choke me
19267 #else
19268 char (*f) () = $ac_func;
19269 #endif
19270 #ifdef __cplusplus
19271 }
19272 #endif
19273
19274 int
19275 main ()
19276 {
19277 return f != $ac_func;
19278   ;
19279   return 0;
19280 }
19281 _ACEOF
19282 rm -f conftest.$ac_objext conftest$ac_exeext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19284   (eval $ac_link) 2>conftest.er1
19285   ac_status=$?
19286   grep -v '^ *+' conftest.er1 >conftest.err
19287   rm -f conftest.er1
19288   cat conftest.err >&5
19289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290   (exit $ac_status); } &&
19291          { ac_try='test -z "$ac_c_werror_flag"
19292                          || test ! -s conftest.err'
19293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294   (eval $ac_try) 2>&5
19295   ac_status=$?
19296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297   (exit $ac_status); }; } &&
19298          { ac_try='test -s conftest$ac_exeext'
19299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300   (eval $ac_try) 2>&5
19301   ac_status=$?
19302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303   (exit $ac_status); }; }; then
19304   eval "$as_ac_var=yes"
19305 else
19306   echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 eval "$as_ac_var=no"
19310 fi
19311 rm -f conftest.err conftest.$ac_objext \
19312       conftest$ac_exeext conftest.$ac_ext
19313 fi
19314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19316 if test `eval echo '${'$as_ac_var'}'` = yes; then
19317   cat >>confdefs.h <<_ACEOF
19318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19319 _ACEOF
19320
19321 fi
19322 done
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19333 do
19334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19335 echo "$as_me:$LINENO: checking for $ac_func" >&5
19336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19337 if eval "test \"\${$as_ac_var+set}\" = set"; then
19338   echo $ECHO_N "(cached) $ECHO_C" >&6
19339 else
19340   if test x$gcc_no_link = xyes; then
19341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19343    { (exit 1); exit 1; }; }
19344 fi
19345 cat >conftest.$ac_ext <<_ACEOF
19346 /* confdefs.h.  */
19347 _ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h.  */
19351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19353 #define $ac_func innocuous_$ac_func
19354
19355 /* System header to define __stub macros and hopefully few prototypes,
19356     which can conflict with char $ac_func (); below.
19357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19358     <limits.h> exists even on freestanding compilers.  */
19359
19360 #ifdef __STDC__
19361 # include <limits.h>
19362 #else
19363 # include <assert.h>
19364 #endif
19365
19366 #undef $ac_func
19367
19368 /* Override any gcc2 internal prototype to avoid an error.  */
19369 #ifdef __cplusplus
19370 extern "C"
19371 {
19372 #endif
19373 /* We use char because int might match the return type of a gcc2
19374    builtin and then its argument prototype would still apply.  */
19375 char $ac_func ();
19376 /* The GNU C library defines this for functions which it implements
19377     to always fail with ENOSYS.  Some functions are actually named
19378     something starting with __ and the normal name is an alias.  */
19379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19380 choke me
19381 #else
19382 char (*f) () = $ac_func;
19383 #endif
19384 #ifdef __cplusplus
19385 }
19386 #endif
19387
19388 int
19389 main ()
19390 {
19391 return f != $ac_func;
19392   ;
19393   return 0;
19394 }
19395 _ACEOF
19396 rm -f conftest.$ac_objext conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398   (eval $ac_link) 2>conftest.er1
19399   ac_status=$?
19400   grep -v '^ *+' conftest.er1 >conftest.err
19401   rm -f conftest.er1
19402   cat conftest.err >&5
19403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404   (exit $ac_status); } &&
19405          { ac_try='test -z "$ac_c_werror_flag"
19406                          || test ! -s conftest.err'
19407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408   (eval $ac_try) 2>&5
19409   ac_status=$?
19410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411   (exit $ac_status); }; } &&
19412          { ac_try='test -s conftest$ac_exeext'
19413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414   (eval $ac_try) 2>&5
19415   ac_status=$?
19416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417   (exit $ac_status); }; }; then
19418   eval "$as_ac_var=yes"
19419 else
19420   echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 eval "$as_ac_var=no"
19424 fi
19425 rm -f conftest.err conftest.$ac_objext \
19426       conftest$ac_exeext conftest.$ac_ext
19427 fi
19428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19430 if test `eval echo '${'$as_ac_var'}'` = yes; then
19431   cat >>confdefs.h <<_ACEOF
19432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19433 _ACEOF
19434
19435 fi
19436 done
19437
19438
19439 # Check for glibc backtrace functions
19440
19441
19442 for ac_func in backtrace backtrace_symbols
19443 do
19444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19445 echo "$as_me:$LINENO: checking for $ac_func" >&5
19446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19447 if eval "test \"\${$as_ac_var+set}\" = set"; then
19448   echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450   if test x$gcc_no_link = xyes; then
19451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453    { (exit 1); exit 1; }; }
19454 fi
19455 cat >conftest.$ac_ext <<_ACEOF
19456 /* confdefs.h.  */
19457 _ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h.  */
19461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19463 #define $ac_func innocuous_$ac_func
19464
19465 /* System header to define __stub macros and hopefully few prototypes,
19466     which can conflict with char $ac_func (); below.
19467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19468     <limits.h> exists even on freestanding compilers.  */
19469
19470 #ifdef __STDC__
19471 # include <limits.h>
19472 #else
19473 # include <assert.h>
19474 #endif
19475
19476 #undef $ac_func
19477
19478 /* Override any gcc2 internal prototype to avoid an error.  */
19479 #ifdef __cplusplus
19480 extern "C"
19481 {
19482 #endif
19483 /* We use char because int might match the return type of a gcc2
19484    builtin and then its argument prototype would still apply.  */
19485 char $ac_func ();
19486 /* The GNU C library defines this for functions which it implements
19487     to always fail with ENOSYS.  Some functions are actually named
19488     something starting with __ and the normal name is an alias.  */
19489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19490 choke me
19491 #else
19492 char (*f) () = $ac_func;
19493 #endif
19494 #ifdef __cplusplus
19495 }
19496 #endif
19497
19498 int
19499 main ()
19500 {
19501 return f != $ac_func;
19502   ;
19503   return 0;
19504 }
19505 _ACEOF
19506 rm -f conftest.$ac_objext conftest$ac_exeext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19508   (eval $ac_link) 2>conftest.er1
19509   ac_status=$?
19510   grep -v '^ *+' conftest.er1 >conftest.err
19511   rm -f conftest.er1
19512   cat conftest.err >&5
19513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514   (exit $ac_status); } &&
19515          { ac_try='test -z "$ac_c_werror_flag"
19516                          || test ! -s conftest.err'
19517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518   (eval $ac_try) 2>&5
19519   ac_status=$?
19520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521   (exit $ac_status); }; } &&
19522          { ac_try='test -s conftest$ac_exeext'
19523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524   (eval $ac_try) 2>&5
19525   ac_status=$?
19526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527   (exit $ac_status); }; }; then
19528   eval "$as_ac_var=yes"
19529 else
19530   echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 eval "$as_ac_var=no"
19534 fi
19535 rm -f conftest.err conftest.$ac_objext \
19536       conftest$ac_exeext conftest.$ac_ext
19537 fi
19538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19540 if test `eval echo '${'$as_ac_var'}'` = yes; then
19541   cat >>confdefs.h <<_ACEOF
19542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19543 _ACEOF
19544
19545 fi
19546 done
19547
19548
19549 # Check for types
19550 echo "$as_me:$LINENO: checking for intptr_t" >&5
19551 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19552 if test "${ac_cv_type_intptr_t+set}" = set; then
19553   echo $ECHO_N "(cached) $ECHO_C" >&6
19554 else
19555   cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h.  */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h.  */
19561 $ac_includes_default
19562 int
19563 main ()
19564 {
19565 if ((intptr_t *) 0)
19566   return 0;
19567 if (sizeof (intptr_t))
19568   return 0;
19569   ;
19570   return 0;
19571 }
19572 _ACEOF
19573 rm -f conftest.$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575   (eval $ac_compile) 2>conftest.er1
19576   ac_status=$?
19577   grep -v '^ *+' conftest.er1 >conftest.err
19578   rm -f conftest.er1
19579   cat conftest.err >&5
19580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581   (exit $ac_status); } &&
19582          { ac_try='test -z "$ac_c_werror_flag"
19583                          || test ! -s conftest.err'
19584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585   (eval $ac_try) 2>&5
19586   ac_status=$?
19587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588   (exit $ac_status); }; } &&
19589          { ac_try='test -s conftest.$ac_objext'
19590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591   (eval $ac_try) 2>&5
19592   ac_status=$?
19593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594   (exit $ac_status); }; }; then
19595   ac_cv_type_intptr_t=yes
19596 else
19597   echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19599
19600 ac_cv_type_intptr_t=no
19601 fi
19602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19603 fi
19604 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19605 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19606 if test $ac_cv_type_intptr_t = yes; then
19607
19608 cat >>confdefs.h <<_ACEOF
19609 #define HAVE_INTPTR_T 1
19610 _ACEOF
19611
19612
19613 fi
19614
19615 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19616 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19617 if test "${ac_cv_type_uintptr_t+set}" = set; then
19618   echo $ECHO_N "(cached) $ECHO_C" >&6
19619 else
19620   cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h.  */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h.  */
19626 $ac_includes_default
19627 int
19628 main ()
19629 {
19630 if ((uintptr_t *) 0)
19631   return 0;
19632 if (sizeof (uintptr_t))
19633   return 0;
19634   ;
19635   return 0;
19636 }
19637 _ACEOF
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640   (eval $ac_compile) 2>conftest.er1
19641   ac_status=$?
19642   grep -v '^ *+' conftest.er1 >conftest.err
19643   rm -f conftest.er1
19644   cat conftest.err >&5
19645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646   (exit $ac_status); } &&
19647          { ac_try='test -z "$ac_c_werror_flag"
19648                          || test ! -s conftest.err'
19649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650   (eval $ac_try) 2>&5
19651   ac_status=$?
19652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653   (exit $ac_status); }; } &&
19654          { ac_try='test -s conftest.$ac_objext'
19655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656   (eval $ac_try) 2>&5
19657   ac_status=$?
19658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659   (exit $ac_status); }; }; then
19660   ac_cv_type_uintptr_t=yes
19661 else
19662   echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19664
19665 ac_cv_type_uintptr_t=no
19666 fi
19667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 fi
19669 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19670 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19671 if test $ac_cv_type_uintptr_t = yes; then
19672
19673 cat >>confdefs.h <<_ACEOF
19674 #define HAVE_UINTPTR_T 1
19675 _ACEOF
19676
19677
19678 fi
19679
19680
19681 # Check libc for getgid, getpid, getuid
19682 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19683 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19684 if test "${ac_cv_lib_c_getgid+set}" = set; then
19685   echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687   ac_check_lib_save_LIBS=$LIBS
19688 LIBS="-lc  $LIBS"
19689 if test x$gcc_no_link = xyes; then
19690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19692    { (exit 1); exit 1; }; }
19693 fi
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h.  */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h.  */
19700
19701 /* Override any gcc2 internal prototype to avoid an error.  */
19702 #ifdef __cplusplus
19703 extern "C"
19704 #endif
19705 /* We use char because int might match the return type of a gcc2
19706    builtin and then its argument prototype would still apply.  */
19707 char getgid ();
19708 int
19709 main ()
19710 {
19711 getgid ();
19712   ;
19713   return 0;
19714 }
19715 _ACEOF
19716 rm -f conftest.$ac_objext conftest$ac_exeext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19718   (eval $ac_link) 2>conftest.er1
19719   ac_status=$?
19720   grep -v '^ *+' conftest.er1 >conftest.err
19721   rm -f conftest.er1
19722   cat conftest.err >&5
19723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724   (exit $ac_status); } &&
19725          { ac_try='test -z "$ac_c_werror_flag"
19726                          || test ! -s conftest.err'
19727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728   (eval $ac_try) 2>&5
19729   ac_status=$?
19730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731   (exit $ac_status); }; } &&
19732          { ac_try='test -s conftest$ac_exeext'
19733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734   (eval $ac_try) 2>&5
19735   ac_status=$?
19736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737   (exit $ac_status); }; }; then
19738   ac_cv_lib_c_getgid=yes
19739 else
19740   echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19742
19743 ac_cv_lib_c_getgid=no
19744 fi
19745 rm -f conftest.err conftest.$ac_objext \
19746       conftest$ac_exeext conftest.$ac_ext
19747 LIBS=$ac_check_lib_save_LIBS
19748 fi
19749 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19750 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19751 if test $ac_cv_lib_c_getgid = yes; then
19752
19753 cat >>confdefs.h <<\_ACEOF
19754 #define HAVE_GETGID 1
19755 _ACEOF
19756
19757 fi
19758
19759 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19760 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19761 if test "${ac_cv_lib_c_getpid+set}" = set; then
19762   echo $ECHO_N "(cached) $ECHO_C" >&6
19763 else
19764   ac_check_lib_save_LIBS=$LIBS
19765 LIBS="-lc  $LIBS"
19766 if test x$gcc_no_link = xyes; then
19767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19769    { (exit 1); exit 1; }; }
19770 fi
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h.  */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h.  */
19777
19778 /* Override any gcc2 internal prototype to avoid an error.  */
19779 #ifdef __cplusplus
19780 extern "C"
19781 #endif
19782 /* We use char because int might match the return type of a gcc2
19783    builtin and then its argument prototype would still apply.  */
19784 char getpid ();
19785 int
19786 main ()
19787 {
19788 getpid ();
19789   ;
19790   return 0;
19791 }
19792 _ACEOF
19793 rm -f conftest.$ac_objext conftest$ac_exeext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19795   (eval $ac_link) 2>conftest.er1
19796   ac_status=$?
19797   grep -v '^ *+' conftest.er1 >conftest.err
19798   rm -f conftest.er1
19799   cat conftest.err >&5
19800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801   (exit $ac_status); } &&
19802          { ac_try='test -z "$ac_c_werror_flag"
19803                          || test ! -s conftest.err'
19804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805   (eval $ac_try) 2>&5
19806   ac_status=$?
19807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808   (exit $ac_status); }; } &&
19809          { ac_try='test -s conftest$ac_exeext'
19810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811   (eval $ac_try) 2>&5
19812   ac_status=$?
19813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814   (exit $ac_status); }; }; then
19815   ac_cv_lib_c_getpid=yes
19816 else
19817   echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19819
19820 ac_cv_lib_c_getpid=no
19821 fi
19822 rm -f conftest.err conftest.$ac_objext \
19823       conftest$ac_exeext conftest.$ac_ext
19824 LIBS=$ac_check_lib_save_LIBS
19825 fi
19826 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19827 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19828 if test $ac_cv_lib_c_getpid = yes; then
19829
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_GETPID 1
19832 _ACEOF
19833
19834 fi
19835
19836 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19837 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19838 if test "${ac_cv_lib_c_getppid+set}" = set; then
19839   echo $ECHO_N "(cached) $ECHO_C" >&6
19840 else
19841   ac_check_lib_save_LIBS=$LIBS
19842 LIBS="-lc  $LIBS"
19843 if test x$gcc_no_link = xyes; then
19844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19846    { (exit 1); exit 1; }; }
19847 fi
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h.  */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h.  */
19854
19855 /* Override any gcc2 internal prototype to avoid an error.  */
19856 #ifdef __cplusplus
19857 extern "C"
19858 #endif
19859 /* We use char because int might match the return type of a gcc2
19860    builtin and then its argument prototype would still apply.  */
19861 char getppid ();
19862 int
19863 main ()
19864 {
19865 getppid ();
19866   ;
19867   return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext conftest$ac_exeext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19872   (eval $ac_link) 2>conftest.er1
19873   ac_status=$?
19874   grep -v '^ *+' conftest.er1 >conftest.err
19875   rm -f conftest.er1
19876   cat conftest.err >&5
19877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878   (exit $ac_status); } &&
19879          { ac_try='test -z "$ac_c_werror_flag"
19880                          || test ! -s conftest.err'
19881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882   (eval $ac_try) 2>&5
19883   ac_status=$?
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); }; } &&
19886          { ac_try='test -s conftest$ac_exeext'
19887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888   (eval $ac_try) 2>&5
19889   ac_status=$?
19890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891   (exit $ac_status); }; }; then
19892   ac_cv_lib_c_getppid=yes
19893 else
19894   echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 ac_cv_lib_c_getppid=no
19898 fi
19899 rm -f conftest.err conftest.$ac_objext \
19900       conftest$ac_exeext conftest.$ac_ext
19901 LIBS=$ac_check_lib_save_LIBS
19902 fi
19903 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19904 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19905 if test $ac_cv_lib_c_getppid = yes; then
19906
19907 cat >>confdefs.h <<\_ACEOF
19908 #define HAVE_GETPPID 1
19909 _ACEOF
19910
19911 fi
19912
19913 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19914 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19915 if test "${ac_cv_lib_c_getuid+set}" = set; then
19916   echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918   ac_check_lib_save_LIBS=$LIBS
19919 LIBS="-lc  $LIBS"
19920 if test x$gcc_no_link = xyes; then
19921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19923    { (exit 1); exit 1; }; }
19924 fi
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h.  */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h.  */
19931
19932 /* Override any gcc2 internal prototype to avoid an error.  */
19933 #ifdef __cplusplus
19934 extern "C"
19935 #endif
19936 /* We use char because int might match the return type of a gcc2
19937    builtin and then its argument prototype would still apply.  */
19938 char getuid ();
19939 int
19940 main ()
19941 {
19942 getuid ();
19943   ;
19944   return 0;
19945 }
19946 _ACEOF
19947 rm -f conftest.$ac_objext conftest$ac_exeext
19948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19949   (eval $ac_link) 2>conftest.er1
19950   ac_status=$?
19951   grep -v '^ *+' conftest.er1 >conftest.err
19952   rm -f conftest.er1
19953   cat conftest.err >&5
19954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955   (exit $ac_status); } &&
19956          { ac_try='test -z "$ac_c_werror_flag"
19957                          || test ! -s conftest.err'
19958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959   (eval $ac_try) 2>&5
19960   ac_status=$?
19961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962   (exit $ac_status); }; } &&
19963          { ac_try='test -s conftest$ac_exeext'
19964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965   (eval $ac_try) 2>&5
19966   ac_status=$?
19967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968   (exit $ac_status); }; }; then
19969   ac_cv_lib_c_getuid=yes
19970 else
19971   echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19973
19974 ac_cv_lib_c_getuid=no
19975 fi
19976 rm -f conftest.err conftest.$ac_objext \
19977       conftest$ac_exeext conftest.$ac_ext
19978 LIBS=$ac_check_lib_save_LIBS
19979 fi
19980 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19981 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19982 if test $ac_cv_lib_c_getuid = yes; then
19983
19984 cat >>confdefs.h <<\_ACEOF
19985 #define HAVE_GETUID 1
19986 _ACEOF
19987
19988 fi
19989
19990 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19991 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19992 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19993   echo $ECHO_N "(cached) $ECHO_C" >&6
19994 else
19995   ac_check_lib_save_LIBS=$LIBS
19996 LIBS="-lc  $LIBS"
19997 if test x$gcc_no_link = xyes; then
19998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20000    { (exit 1); exit 1; }; }
20001 fi
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h.  */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h.  */
20008
20009 /* Override any gcc2 internal prototype to avoid an error.  */
20010 #ifdef __cplusplus
20011 extern "C"
20012 #endif
20013 /* We use char because int might match the return type of a gcc2
20014    builtin and then its argument prototype would still apply.  */
20015 char geteuid ();
20016 int
20017 main ()
20018 {
20019 geteuid ();
20020   ;
20021   return 0;
20022 }
20023 _ACEOF
20024 rm -f conftest.$ac_objext conftest$ac_exeext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20026   (eval $ac_link) 2>conftest.er1
20027   ac_status=$?
20028   grep -v '^ *+' conftest.er1 >conftest.err
20029   rm -f conftest.er1
20030   cat conftest.err >&5
20031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032   (exit $ac_status); } &&
20033          { ac_try='test -z "$ac_c_werror_flag"
20034                          || test ! -s conftest.err'
20035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036   (eval $ac_try) 2>&5
20037   ac_status=$?
20038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039   (exit $ac_status); }; } &&
20040          { ac_try='test -s conftest$ac_exeext'
20041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042   (eval $ac_try) 2>&5
20043   ac_status=$?
20044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045   (exit $ac_status); }; }; then
20046   ac_cv_lib_c_geteuid=yes
20047 else
20048   echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20050
20051 ac_cv_lib_c_geteuid=no
20052 fi
20053 rm -f conftest.err conftest.$ac_objext \
20054       conftest$ac_exeext conftest.$ac_ext
20055 LIBS=$ac_check_lib_save_LIBS
20056 fi
20057 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20058 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20059 if test $ac_cv_lib_c_geteuid = yes; then
20060
20061 cat >>confdefs.h <<\_ACEOF
20062 #define HAVE_GETEUID 1
20063 _ACEOF
20064
20065 fi
20066
20067
20068 # Check for C99 (and other IEEE) math functions
20069 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20070 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20071 if test "${ac_cv_lib_m_acosf+set}" = set; then
20072   echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074   ac_check_lib_save_LIBS=$LIBS
20075 LIBS="-lm  $LIBS"
20076 if test x$gcc_no_link = xyes; then
20077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20079    { (exit 1); exit 1; }; }
20080 fi
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h.  */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h.  */
20087
20088 /* Override any gcc2 internal prototype to avoid an error.  */
20089 #ifdef __cplusplus
20090 extern "C"
20091 #endif
20092 /* We use char because int might match the return type of a gcc2
20093    builtin and then its argument prototype would still apply.  */
20094 char acosf ();
20095 int
20096 main ()
20097 {
20098 acosf ();
20099   ;
20100   return 0;
20101 }
20102 _ACEOF
20103 rm -f conftest.$ac_objext conftest$ac_exeext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20105   (eval $ac_link) 2>conftest.er1
20106   ac_status=$?
20107   grep -v '^ *+' conftest.er1 >conftest.err
20108   rm -f conftest.er1
20109   cat conftest.err >&5
20110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111   (exit $ac_status); } &&
20112          { ac_try='test -z "$ac_c_werror_flag"
20113                          || test ! -s conftest.err'
20114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115   (eval $ac_try) 2>&5
20116   ac_status=$?
20117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118   (exit $ac_status); }; } &&
20119          { ac_try='test -s conftest$ac_exeext'
20120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121   (eval $ac_try) 2>&5
20122   ac_status=$?
20123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124   (exit $ac_status); }; }; then
20125   ac_cv_lib_m_acosf=yes
20126 else
20127   echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20129
20130 ac_cv_lib_m_acosf=no
20131 fi
20132 rm -f conftest.err conftest.$ac_objext \
20133       conftest$ac_exeext conftest.$ac_ext
20134 LIBS=$ac_check_lib_save_LIBS
20135 fi
20136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20137 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20138 if test $ac_cv_lib_m_acosf = yes; then
20139
20140 cat >>confdefs.h <<\_ACEOF
20141 #define HAVE_ACOSF 1
20142 _ACEOF
20143
20144 fi
20145
20146 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20147 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20148 if test "${ac_cv_lib_m_acos+set}" = set; then
20149   echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151   ac_check_lib_save_LIBS=$LIBS
20152 LIBS="-lm  $LIBS"
20153 if test x$gcc_no_link = xyes; then
20154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20156    { (exit 1); exit 1; }; }
20157 fi
20158 cat >conftest.$ac_ext <<_ACEOF
20159 /* confdefs.h.  */
20160 _ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h.  */
20164
20165 /* Override any gcc2 internal prototype to avoid an error.  */
20166 #ifdef __cplusplus
20167 extern "C"
20168 #endif
20169 /* We use char because int might match the return type of a gcc2
20170    builtin and then its argument prototype would still apply.  */
20171 char acos ();
20172 int
20173 main ()
20174 {
20175 acos ();
20176   ;
20177   return 0;
20178 }
20179 _ACEOF
20180 rm -f conftest.$ac_objext conftest$ac_exeext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20182   (eval $ac_link) 2>conftest.er1
20183   ac_status=$?
20184   grep -v '^ *+' conftest.er1 >conftest.err
20185   rm -f conftest.er1
20186   cat conftest.err >&5
20187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188   (exit $ac_status); } &&
20189          { ac_try='test -z "$ac_c_werror_flag"
20190                          || test ! -s conftest.err'
20191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192   (eval $ac_try) 2>&5
20193   ac_status=$?
20194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195   (exit $ac_status); }; } &&
20196          { ac_try='test -s conftest$ac_exeext'
20197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198   (eval $ac_try) 2>&5
20199   ac_status=$?
20200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201   (exit $ac_status); }; }; then
20202   ac_cv_lib_m_acos=yes
20203 else
20204   echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20206
20207 ac_cv_lib_m_acos=no
20208 fi
20209 rm -f conftest.err conftest.$ac_objext \
20210       conftest$ac_exeext conftest.$ac_ext
20211 LIBS=$ac_check_lib_save_LIBS
20212 fi
20213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20214 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20215 if test $ac_cv_lib_m_acos = yes; then
20216
20217 cat >>confdefs.h <<\_ACEOF
20218 #define HAVE_ACOS 1
20219 _ACEOF
20220
20221 fi
20222
20223 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20224 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20225 if test "${ac_cv_lib_m_acosl+set}" = set; then
20226   echo $ECHO_N "(cached) $ECHO_C" >&6
20227 else
20228   ac_check_lib_save_LIBS=$LIBS
20229 LIBS="-lm  $LIBS"
20230 if test x$gcc_no_link = xyes; then
20231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20233    { (exit 1); exit 1; }; }
20234 fi
20235 cat >conftest.$ac_ext <<_ACEOF
20236 /* confdefs.h.  */
20237 _ACEOF
20238 cat confdefs.h >>conftest.$ac_ext
20239 cat >>conftest.$ac_ext <<_ACEOF
20240 /* end confdefs.h.  */
20241
20242 /* Override any gcc2 internal prototype to avoid an error.  */
20243 #ifdef __cplusplus
20244 extern "C"
20245 #endif
20246 /* We use char because int might match the return type of a gcc2
20247    builtin and then its argument prototype would still apply.  */
20248 char acosl ();
20249 int
20250 main ()
20251 {
20252 acosl ();
20253   ;
20254   return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext conftest$ac_exeext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20259   (eval $ac_link) 2>conftest.er1
20260   ac_status=$?
20261   grep -v '^ *+' conftest.er1 >conftest.err
20262   rm -f conftest.er1
20263   cat conftest.err >&5
20264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265   (exit $ac_status); } &&
20266          { ac_try='test -z "$ac_c_werror_flag"
20267                          || test ! -s conftest.err'
20268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269   (eval $ac_try) 2>&5
20270   ac_status=$?
20271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272   (exit $ac_status); }; } &&
20273          { ac_try='test -s conftest$ac_exeext'
20274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275   (eval $ac_try) 2>&5
20276   ac_status=$?
20277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278   (exit $ac_status); }; }; then
20279   ac_cv_lib_m_acosl=yes
20280 else
20281   echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 ac_cv_lib_m_acosl=no
20285 fi
20286 rm -f conftest.err conftest.$ac_objext \
20287       conftest$ac_exeext conftest.$ac_ext
20288 LIBS=$ac_check_lib_save_LIBS
20289 fi
20290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20291 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20292 if test $ac_cv_lib_m_acosl = yes; then
20293
20294 cat >>confdefs.h <<\_ACEOF
20295 #define HAVE_ACOSL 1
20296 _ACEOF
20297
20298 fi
20299
20300 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20301 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20302 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20303   echo $ECHO_N "(cached) $ECHO_C" >&6
20304 else
20305   ac_check_lib_save_LIBS=$LIBS
20306 LIBS="-lm  $LIBS"
20307 if test x$gcc_no_link = xyes; then
20308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20310    { (exit 1); exit 1; }; }
20311 fi
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h.  */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h.  */
20318
20319 /* Override any gcc2 internal prototype to avoid an error.  */
20320 #ifdef __cplusplus
20321 extern "C"
20322 #endif
20323 /* We use char because int might match the return type of a gcc2
20324    builtin and then its argument prototype would still apply.  */
20325 char acoshf ();
20326 int
20327 main ()
20328 {
20329 acoshf ();
20330   ;
20331   return 0;
20332 }
20333 _ACEOF
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336   (eval $ac_link) 2>conftest.er1
20337   ac_status=$?
20338   grep -v '^ *+' conftest.er1 >conftest.err
20339   rm -f conftest.er1
20340   cat conftest.err >&5
20341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342   (exit $ac_status); } &&
20343          { ac_try='test -z "$ac_c_werror_flag"
20344                          || test ! -s conftest.err'
20345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346   (eval $ac_try) 2>&5
20347   ac_status=$?
20348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349   (exit $ac_status); }; } &&
20350          { ac_try='test -s conftest$ac_exeext'
20351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352   (eval $ac_try) 2>&5
20353   ac_status=$?
20354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355   (exit $ac_status); }; }; then
20356   ac_cv_lib_m_acoshf=yes
20357 else
20358   echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20360
20361 ac_cv_lib_m_acoshf=no
20362 fi
20363 rm -f conftest.err conftest.$ac_objext \
20364       conftest$ac_exeext conftest.$ac_ext
20365 LIBS=$ac_check_lib_save_LIBS
20366 fi
20367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20368 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20369 if test $ac_cv_lib_m_acoshf = yes; then
20370
20371 cat >>confdefs.h <<\_ACEOF
20372 #define HAVE_ACOSHF 1
20373 _ACEOF
20374
20375 fi
20376
20377 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20378 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20379 if test "${ac_cv_lib_m_acosh+set}" = set; then
20380   echo $ECHO_N "(cached) $ECHO_C" >&6
20381 else
20382   ac_check_lib_save_LIBS=$LIBS
20383 LIBS="-lm  $LIBS"
20384 if test x$gcc_no_link = xyes; then
20385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387    { (exit 1); exit 1; }; }
20388 fi
20389 cat >conftest.$ac_ext <<_ACEOF
20390 /* confdefs.h.  */
20391 _ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h.  */
20395
20396 /* Override any gcc2 internal prototype to avoid an error.  */
20397 #ifdef __cplusplus
20398 extern "C"
20399 #endif
20400 /* We use char because int might match the return type of a gcc2
20401    builtin and then its argument prototype would still apply.  */
20402 char acosh ();
20403 int
20404 main ()
20405 {
20406 acosh ();
20407   ;
20408   return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest.$ac_objext conftest$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413   (eval $ac_link) 2>conftest.er1
20414   ac_status=$?
20415   grep -v '^ *+' conftest.er1 >conftest.err
20416   rm -f conftest.er1
20417   cat conftest.err >&5
20418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419   (exit $ac_status); } &&
20420          { ac_try='test -z "$ac_c_werror_flag"
20421                          || test ! -s conftest.err'
20422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423   (eval $ac_try) 2>&5
20424   ac_status=$?
20425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426   (exit $ac_status); }; } &&
20427          { ac_try='test -s conftest$ac_exeext'
20428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429   (eval $ac_try) 2>&5
20430   ac_status=$?
20431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432   (exit $ac_status); }; }; then
20433   ac_cv_lib_m_acosh=yes
20434 else
20435   echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ac_cv_lib_m_acosh=no
20439 fi
20440 rm -f conftest.err conftest.$ac_objext \
20441       conftest$ac_exeext conftest.$ac_ext
20442 LIBS=$ac_check_lib_save_LIBS
20443 fi
20444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20445 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20446 if test $ac_cv_lib_m_acosh = yes; then
20447
20448 cat >>confdefs.h <<\_ACEOF
20449 #define HAVE_ACOSH 1
20450 _ACEOF
20451
20452 fi
20453
20454 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20455 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20456 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20457   echo $ECHO_N "(cached) $ECHO_C" >&6
20458 else
20459   ac_check_lib_save_LIBS=$LIBS
20460 LIBS="-lm  $LIBS"
20461 if test x$gcc_no_link = xyes; then
20462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20464    { (exit 1); exit 1; }; }
20465 fi
20466 cat >conftest.$ac_ext <<_ACEOF
20467 /* confdefs.h.  */
20468 _ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h.  */
20472
20473 /* Override any gcc2 internal prototype to avoid an error.  */
20474 #ifdef __cplusplus
20475 extern "C"
20476 #endif
20477 /* We use char because int might match the return type of a gcc2
20478    builtin and then its argument prototype would still apply.  */
20479 char acoshl ();
20480 int
20481 main ()
20482 {
20483 acoshl ();
20484   ;
20485   return 0;
20486 }
20487 _ACEOF
20488 rm -f conftest.$ac_objext conftest$ac_exeext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20490   (eval $ac_link) 2>conftest.er1
20491   ac_status=$?
20492   grep -v '^ *+' conftest.er1 >conftest.err
20493   rm -f conftest.er1
20494   cat conftest.err >&5
20495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496   (exit $ac_status); } &&
20497          { ac_try='test -z "$ac_c_werror_flag"
20498                          || test ! -s conftest.err'
20499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500   (eval $ac_try) 2>&5
20501   ac_status=$?
20502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503   (exit $ac_status); }; } &&
20504          { ac_try='test -s conftest$ac_exeext'
20505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506   (eval $ac_try) 2>&5
20507   ac_status=$?
20508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509   (exit $ac_status); }; }; then
20510   ac_cv_lib_m_acoshl=yes
20511 else
20512   echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20514
20515 ac_cv_lib_m_acoshl=no
20516 fi
20517 rm -f conftest.err conftest.$ac_objext \
20518       conftest$ac_exeext conftest.$ac_ext
20519 LIBS=$ac_check_lib_save_LIBS
20520 fi
20521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20522 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20523 if test $ac_cv_lib_m_acoshl = yes; then
20524
20525 cat >>confdefs.h <<\_ACEOF
20526 #define HAVE_ACOSHL 1
20527 _ACEOF
20528
20529 fi
20530
20531 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20532 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20533 if test "${ac_cv_lib_m_asinf+set}" = set; then
20534   echo $ECHO_N "(cached) $ECHO_C" >&6
20535 else
20536   ac_check_lib_save_LIBS=$LIBS
20537 LIBS="-lm  $LIBS"
20538 if test x$gcc_no_link = xyes; then
20539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541    { (exit 1); exit 1; }; }
20542 fi
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h.  */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h.  */
20549
20550 /* Override any gcc2 internal prototype to avoid an error.  */
20551 #ifdef __cplusplus
20552 extern "C"
20553 #endif
20554 /* We use char because int might match the return type of a gcc2
20555    builtin and then its argument prototype would still apply.  */
20556 char asinf ();
20557 int
20558 main ()
20559 {
20560 asinf ();
20561   ;
20562   return 0;
20563 }
20564 _ACEOF
20565 rm -f conftest.$ac_objext conftest$ac_exeext
20566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20567   (eval $ac_link) 2>conftest.er1
20568   ac_status=$?
20569   grep -v '^ *+' conftest.er1 >conftest.err
20570   rm -f conftest.er1
20571   cat conftest.err >&5
20572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573   (exit $ac_status); } &&
20574          { ac_try='test -z "$ac_c_werror_flag"
20575                          || test ! -s conftest.err'
20576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577   (eval $ac_try) 2>&5
20578   ac_status=$?
20579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580   (exit $ac_status); }; } &&
20581          { ac_try='test -s conftest$ac_exeext'
20582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583   (eval $ac_try) 2>&5
20584   ac_status=$?
20585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586   (exit $ac_status); }; }; then
20587   ac_cv_lib_m_asinf=yes
20588 else
20589   echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20591
20592 ac_cv_lib_m_asinf=no
20593 fi
20594 rm -f conftest.err conftest.$ac_objext \
20595       conftest$ac_exeext conftest.$ac_ext
20596 LIBS=$ac_check_lib_save_LIBS
20597 fi
20598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20599 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20600 if test $ac_cv_lib_m_asinf = yes; then
20601
20602 cat >>confdefs.h <<\_ACEOF
20603 #define HAVE_ASINF 1
20604 _ACEOF
20605
20606 fi
20607
20608 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20609 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20610 if test "${ac_cv_lib_m_asin+set}" = set; then
20611   echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613   ac_check_lib_save_LIBS=$LIBS
20614 LIBS="-lm  $LIBS"
20615 if test x$gcc_no_link = xyes; then
20616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20618    { (exit 1); exit 1; }; }
20619 fi
20620 cat >conftest.$ac_ext <<_ACEOF
20621 /* confdefs.h.  */
20622 _ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h.  */
20626
20627 /* Override any gcc2 internal prototype to avoid an error.  */
20628 #ifdef __cplusplus
20629 extern "C"
20630 #endif
20631 /* We use char because int might match the return type of a gcc2
20632    builtin and then its argument prototype would still apply.  */
20633 char asin ();
20634 int
20635 main ()
20636 {
20637 asin ();
20638   ;
20639   return 0;
20640 }
20641 _ACEOF
20642 rm -f conftest.$ac_objext conftest$ac_exeext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20644   (eval $ac_link) 2>conftest.er1
20645   ac_status=$?
20646   grep -v '^ *+' conftest.er1 >conftest.err
20647   rm -f conftest.er1
20648   cat conftest.err >&5
20649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650   (exit $ac_status); } &&
20651          { ac_try='test -z "$ac_c_werror_flag"
20652                          || test ! -s conftest.err'
20653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654   (eval $ac_try) 2>&5
20655   ac_status=$?
20656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657   (exit $ac_status); }; } &&
20658          { ac_try='test -s conftest$ac_exeext'
20659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660   (eval $ac_try) 2>&5
20661   ac_status=$?
20662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663   (exit $ac_status); }; }; then
20664   ac_cv_lib_m_asin=yes
20665 else
20666   echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 ac_cv_lib_m_asin=no
20670 fi
20671 rm -f conftest.err conftest.$ac_objext \
20672       conftest$ac_exeext conftest.$ac_ext
20673 LIBS=$ac_check_lib_save_LIBS
20674 fi
20675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20676 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20677 if test $ac_cv_lib_m_asin = yes; then
20678
20679 cat >>confdefs.h <<\_ACEOF
20680 #define HAVE_ASIN 1
20681 _ACEOF
20682
20683 fi
20684
20685 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20686 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20687 if test "${ac_cv_lib_m_asinl+set}" = set; then
20688   echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690   ac_check_lib_save_LIBS=$LIBS
20691 LIBS="-lm  $LIBS"
20692 if test x$gcc_no_link = xyes; then
20693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20695    { (exit 1); exit 1; }; }
20696 fi
20697 cat >conftest.$ac_ext <<_ACEOF
20698 /* confdefs.h.  */
20699 _ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h.  */
20703
20704 /* Override any gcc2 internal prototype to avoid an error.  */
20705 #ifdef __cplusplus
20706 extern "C"
20707 #endif
20708 /* We use char because int might match the return type of a gcc2
20709    builtin and then its argument prototype would still apply.  */
20710 char asinl ();
20711 int
20712 main ()
20713 {
20714 asinl ();
20715   ;
20716   return 0;
20717 }
20718 _ACEOF
20719 rm -f conftest.$ac_objext conftest$ac_exeext
20720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20721   (eval $ac_link) 2>conftest.er1
20722   ac_status=$?
20723   grep -v '^ *+' conftest.er1 >conftest.err
20724   rm -f conftest.er1
20725   cat conftest.err >&5
20726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727   (exit $ac_status); } &&
20728          { ac_try='test -z "$ac_c_werror_flag"
20729                          || test ! -s conftest.err'
20730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731   (eval $ac_try) 2>&5
20732   ac_status=$?
20733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734   (exit $ac_status); }; } &&
20735          { ac_try='test -s conftest$ac_exeext'
20736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737   (eval $ac_try) 2>&5
20738   ac_status=$?
20739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740   (exit $ac_status); }; }; then
20741   ac_cv_lib_m_asinl=yes
20742 else
20743   echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20745
20746 ac_cv_lib_m_asinl=no
20747 fi
20748 rm -f conftest.err conftest.$ac_objext \
20749       conftest$ac_exeext conftest.$ac_ext
20750 LIBS=$ac_check_lib_save_LIBS
20751 fi
20752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20753 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20754 if test $ac_cv_lib_m_asinl = yes; then
20755
20756 cat >>confdefs.h <<\_ACEOF
20757 #define HAVE_ASINL 1
20758 _ACEOF
20759
20760 fi
20761
20762 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20763 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20764 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20765   echo $ECHO_N "(cached) $ECHO_C" >&6
20766 else
20767   ac_check_lib_save_LIBS=$LIBS
20768 LIBS="-lm  $LIBS"
20769 if test x$gcc_no_link = xyes; then
20770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20772    { (exit 1); exit 1; }; }
20773 fi
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h.  */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h.  */
20780
20781 /* Override any gcc2 internal prototype to avoid an error.  */
20782 #ifdef __cplusplus
20783 extern "C"
20784 #endif
20785 /* We use char because int might match the return type of a gcc2
20786    builtin and then its argument prototype would still apply.  */
20787 char asinhf ();
20788 int
20789 main ()
20790 {
20791 asinhf ();
20792   ;
20793   return 0;
20794 }
20795 _ACEOF
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798   (eval $ac_link) 2>conftest.er1
20799   ac_status=$?
20800   grep -v '^ *+' conftest.er1 >conftest.err
20801   rm -f conftest.er1
20802   cat conftest.err >&5
20803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804   (exit $ac_status); } &&
20805          { ac_try='test -z "$ac_c_werror_flag"
20806                          || test ! -s conftest.err'
20807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808   (eval $ac_try) 2>&5
20809   ac_status=$?
20810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811   (exit $ac_status); }; } &&
20812          { ac_try='test -s conftest$ac_exeext'
20813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814   (eval $ac_try) 2>&5
20815   ac_status=$?
20816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817   (exit $ac_status); }; }; then
20818   ac_cv_lib_m_asinhf=yes
20819 else
20820   echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20822
20823 ac_cv_lib_m_asinhf=no
20824 fi
20825 rm -f conftest.err conftest.$ac_objext \
20826       conftest$ac_exeext conftest.$ac_ext
20827 LIBS=$ac_check_lib_save_LIBS
20828 fi
20829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20830 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20831 if test $ac_cv_lib_m_asinhf = yes; then
20832
20833 cat >>confdefs.h <<\_ACEOF
20834 #define HAVE_ASINHF 1
20835 _ACEOF
20836
20837 fi
20838
20839 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20840 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20841 if test "${ac_cv_lib_m_asinh+set}" = set; then
20842   echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20844   ac_check_lib_save_LIBS=$LIBS
20845 LIBS="-lm  $LIBS"
20846 if test x$gcc_no_link = xyes; then
20847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20849    { (exit 1); exit 1; }; }
20850 fi
20851 cat >conftest.$ac_ext <<_ACEOF
20852 /* confdefs.h.  */
20853 _ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h.  */
20857
20858 /* Override any gcc2 internal prototype to avoid an error.  */
20859 #ifdef __cplusplus
20860 extern "C"
20861 #endif
20862 /* We use char because int might match the return type of a gcc2
20863    builtin and then its argument prototype would still apply.  */
20864 char asinh ();
20865 int
20866 main ()
20867 {
20868 asinh ();
20869   ;
20870   return 0;
20871 }
20872 _ACEOF
20873 rm -f conftest.$ac_objext conftest$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875   (eval $ac_link) 2>conftest.er1
20876   ac_status=$?
20877   grep -v '^ *+' conftest.er1 >conftest.err
20878   rm -f conftest.er1
20879   cat conftest.err >&5
20880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881   (exit $ac_status); } &&
20882          { ac_try='test -z "$ac_c_werror_flag"
20883                          || test ! -s conftest.err'
20884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885   (eval $ac_try) 2>&5
20886   ac_status=$?
20887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888   (exit $ac_status); }; } &&
20889          { ac_try='test -s conftest$ac_exeext'
20890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891   (eval $ac_try) 2>&5
20892   ac_status=$?
20893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894   (exit $ac_status); }; }; then
20895   ac_cv_lib_m_asinh=yes
20896 else
20897   echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20899
20900 ac_cv_lib_m_asinh=no
20901 fi
20902 rm -f conftest.err conftest.$ac_objext \
20903       conftest$ac_exeext conftest.$ac_ext
20904 LIBS=$ac_check_lib_save_LIBS
20905 fi
20906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20907 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20908 if test $ac_cv_lib_m_asinh = yes; then
20909
20910 cat >>confdefs.h <<\_ACEOF
20911 #define HAVE_ASINH 1
20912 _ACEOF
20913
20914 fi
20915
20916 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20917 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20918 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20919   echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921   ac_check_lib_save_LIBS=$LIBS
20922 LIBS="-lm  $LIBS"
20923 if test x$gcc_no_link = xyes; then
20924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20926    { (exit 1); exit 1; }; }
20927 fi
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h.  */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h.  */
20934
20935 /* Override any gcc2 internal prototype to avoid an error.  */
20936 #ifdef __cplusplus
20937 extern "C"
20938 #endif
20939 /* We use char because int might match the return type of a gcc2
20940    builtin and then its argument prototype would still apply.  */
20941 char asinhl ();
20942 int
20943 main ()
20944 {
20945 asinhl ();
20946   ;
20947   return 0;
20948 }
20949 _ACEOF
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952   (eval $ac_link) 2>conftest.er1
20953   ac_status=$?
20954   grep -v '^ *+' conftest.er1 >conftest.err
20955   rm -f conftest.er1
20956   cat conftest.err >&5
20957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958   (exit $ac_status); } &&
20959          { ac_try='test -z "$ac_c_werror_flag"
20960                          || test ! -s conftest.err'
20961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962   (eval $ac_try) 2>&5
20963   ac_status=$?
20964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965   (exit $ac_status); }; } &&
20966          { ac_try='test -s conftest$ac_exeext'
20967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968   (eval $ac_try) 2>&5
20969   ac_status=$?
20970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971   (exit $ac_status); }; }; then
20972   ac_cv_lib_m_asinhl=yes
20973 else
20974   echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20976
20977 ac_cv_lib_m_asinhl=no
20978 fi
20979 rm -f conftest.err conftest.$ac_objext \
20980       conftest$ac_exeext conftest.$ac_ext
20981 LIBS=$ac_check_lib_save_LIBS
20982 fi
20983 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20984 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20985 if test $ac_cv_lib_m_asinhl = yes; then
20986
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_ASINHL 1
20989 _ACEOF
20990
20991 fi
20992
20993 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20994 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20995 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20996   echo $ECHO_N "(cached) $ECHO_C" >&6
20997 else
20998   ac_check_lib_save_LIBS=$LIBS
20999 LIBS="-lm  $LIBS"
21000 if test x$gcc_no_link = xyes; then
21001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21003    { (exit 1); exit 1; }; }
21004 fi
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h.  */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h.  */
21011
21012 /* Override any gcc2 internal prototype to avoid an error.  */
21013 #ifdef __cplusplus
21014 extern "C"
21015 #endif
21016 /* We use char because int might match the return type of a gcc2
21017    builtin and then its argument prototype would still apply.  */
21018 char atan2f ();
21019 int
21020 main ()
21021 {
21022 atan2f ();
21023   ;
21024   return 0;
21025 }
21026 _ACEOF
21027 rm -f conftest.$ac_objext conftest$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21029   (eval $ac_link) 2>conftest.er1
21030   ac_status=$?
21031   grep -v '^ *+' conftest.er1 >conftest.err
21032   rm -f conftest.er1
21033   cat conftest.err >&5
21034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035   (exit $ac_status); } &&
21036          { ac_try='test -z "$ac_c_werror_flag"
21037                          || test ! -s conftest.err'
21038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039   (eval $ac_try) 2>&5
21040   ac_status=$?
21041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042   (exit $ac_status); }; } &&
21043          { ac_try='test -s conftest$ac_exeext'
21044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045   (eval $ac_try) 2>&5
21046   ac_status=$?
21047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048   (exit $ac_status); }; }; then
21049   ac_cv_lib_m_atan2f=yes
21050 else
21051   echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21053
21054 ac_cv_lib_m_atan2f=no
21055 fi
21056 rm -f conftest.err conftest.$ac_objext \
21057       conftest$ac_exeext conftest.$ac_ext
21058 LIBS=$ac_check_lib_save_LIBS
21059 fi
21060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21061 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21062 if test $ac_cv_lib_m_atan2f = yes; then
21063
21064 cat >>confdefs.h <<\_ACEOF
21065 #define HAVE_ATAN2F 1
21066 _ACEOF
21067
21068 fi
21069
21070 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21071 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21072 if test "${ac_cv_lib_m_atan2+set}" = set; then
21073   echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21075   ac_check_lib_save_LIBS=$LIBS
21076 LIBS="-lm  $LIBS"
21077 if test x$gcc_no_link = xyes; then
21078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21080    { (exit 1); exit 1; }; }
21081 fi
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h.  */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h.  */
21088
21089 /* Override any gcc2 internal prototype to avoid an error.  */
21090 #ifdef __cplusplus
21091 extern "C"
21092 #endif
21093 /* We use char because int might match the return type of a gcc2
21094    builtin and then its argument prototype would still apply.  */
21095 char atan2 ();
21096 int
21097 main ()
21098 {
21099 atan2 ();
21100   ;
21101   return 0;
21102 }
21103 _ACEOF
21104 rm -f conftest.$ac_objext conftest$ac_exeext
21105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21106   (eval $ac_link) 2>conftest.er1
21107   ac_status=$?
21108   grep -v '^ *+' conftest.er1 >conftest.err
21109   rm -f conftest.er1
21110   cat conftest.err >&5
21111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112   (exit $ac_status); } &&
21113          { ac_try='test -z "$ac_c_werror_flag"
21114                          || test ! -s conftest.err'
21115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116   (eval $ac_try) 2>&5
21117   ac_status=$?
21118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119   (exit $ac_status); }; } &&
21120          { ac_try='test -s conftest$ac_exeext'
21121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122   (eval $ac_try) 2>&5
21123   ac_status=$?
21124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125   (exit $ac_status); }; }; then
21126   ac_cv_lib_m_atan2=yes
21127 else
21128   echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21130
21131 ac_cv_lib_m_atan2=no
21132 fi
21133 rm -f conftest.err conftest.$ac_objext \
21134       conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS
21136 fi
21137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21138 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21139 if test $ac_cv_lib_m_atan2 = yes; then
21140
21141 cat >>confdefs.h <<\_ACEOF
21142 #define HAVE_ATAN2 1
21143 _ACEOF
21144
21145 fi
21146
21147 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21148 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21149 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21150   echo $ECHO_N "(cached) $ECHO_C" >&6
21151 else
21152   ac_check_lib_save_LIBS=$LIBS
21153 LIBS="-lm  $LIBS"
21154 if test x$gcc_no_link = xyes; then
21155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21157    { (exit 1); exit 1; }; }
21158 fi
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h.  */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h.  */
21165
21166 /* Override any gcc2 internal prototype to avoid an error.  */
21167 #ifdef __cplusplus
21168 extern "C"
21169 #endif
21170 /* We use char because int might match the return type of a gcc2
21171    builtin and then its argument prototype would still apply.  */
21172 char atan2l ();
21173 int
21174 main ()
21175 {
21176 atan2l ();
21177   ;
21178   return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext conftest$ac_exeext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21183   (eval $ac_link) 2>conftest.er1
21184   ac_status=$?
21185   grep -v '^ *+' conftest.er1 >conftest.err
21186   rm -f conftest.er1
21187   cat conftest.err >&5
21188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189   (exit $ac_status); } &&
21190          { ac_try='test -z "$ac_c_werror_flag"
21191                          || test ! -s conftest.err'
21192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193   (eval $ac_try) 2>&5
21194   ac_status=$?
21195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196   (exit $ac_status); }; } &&
21197          { ac_try='test -s conftest$ac_exeext'
21198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199   (eval $ac_try) 2>&5
21200   ac_status=$?
21201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202   (exit $ac_status); }; }; then
21203   ac_cv_lib_m_atan2l=yes
21204 else
21205   echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ac_cv_lib_m_atan2l=no
21209 fi
21210 rm -f conftest.err conftest.$ac_objext \
21211       conftest$ac_exeext conftest.$ac_ext
21212 LIBS=$ac_check_lib_save_LIBS
21213 fi
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21215 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21216 if test $ac_cv_lib_m_atan2l = yes; then
21217
21218 cat >>confdefs.h <<\_ACEOF
21219 #define HAVE_ATAN2L 1
21220 _ACEOF
21221
21222 fi
21223
21224 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21225 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21226 if test "${ac_cv_lib_m_atanf+set}" = set; then
21227   echo $ECHO_N "(cached) $ECHO_C" >&6
21228 else
21229   ac_check_lib_save_LIBS=$LIBS
21230 LIBS="-lm  $LIBS"
21231 if test x$gcc_no_link = xyes; then
21232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21234    { (exit 1); exit 1; }; }
21235 fi
21236 cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h.  */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h.  */
21242
21243 /* Override any gcc2 internal prototype to avoid an error.  */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 /* We use char because int might match the return type of a gcc2
21248    builtin and then its argument prototype would still apply.  */
21249 char atanf ();
21250 int
21251 main ()
21252 {
21253 atanf ();
21254   ;
21255   return 0;
21256 }
21257 _ACEOF
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260   (eval $ac_link) 2>conftest.er1
21261   ac_status=$?
21262   grep -v '^ *+' conftest.er1 >conftest.err
21263   rm -f conftest.er1
21264   cat conftest.err >&5
21265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266   (exit $ac_status); } &&
21267          { ac_try='test -z "$ac_c_werror_flag"
21268                          || test ! -s conftest.err'
21269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270   (eval $ac_try) 2>&5
21271   ac_status=$?
21272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273   (exit $ac_status); }; } &&
21274          { ac_try='test -s conftest$ac_exeext'
21275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276   (eval $ac_try) 2>&5
21277   ac_status=$?
21278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279   (exit $ac_status); }; }; then
21280   ac_cv_lib_m_atanf=yes
21281 else
21282   echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.$ac_ext >&5
21284
21285 ac_cv_lib_m_atanf=no
21286 fi
21287 rm -f conftest.err conftest.$ac_objext \
21288       conftest$ac_exeext conftest.$ac_ext
21289 LIBS=$ac_check_lib_save_LIBS
21290 fi
21291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21292 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21293 if test $ac_cv_lib_m_atanf = yes; then
21294
21295 cat >>confdefs.h <<\_ACEOF
21296 #define HAVE_ATANF 1
21297 _ACEOF
21298
21299 fi
21300
21301 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21302 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21303 if test "${ac_cv_lib_m_atan+set}" = set; then
21304   echo $ECHO_N "(cached) $ECHO_C" >&6
21305 else
21306   ac_check_lib_save_LIBS=$LIBS
21307 LIBS="-lm  $LIBS"
21308 if test x$gcc_no_link = xyes; then
21309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21311    { (exit 1); exit 1; }; }
21312 fi
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h.  */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h.  */
21319
21320 /* Override any gcc2 internal prototype to avoid an error.  */
21321 #ifdef __cplusplus
21322 extern "C"
21323 #endif
21324 /* We use char because int might match the return type of a gcc2
21325    builtin and then its argument prototype would still apply.  */
21326 char atan ();
21327 int
21328 main ()
21329 {
21330 atan ();
21331   ;
21332   return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337   (eval $ac_link) 2>conftest.er1
21338   ac_status=$?
21339   grep -v '^ *+' conftest.er1 >conftest.err
21340   rm -f conftest.er1
21341   cat conftest.err >&5
21342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343   (exit $ac_status); } &&
21344          { ac_try='test -z "$ac_c_werror_flag"
21345                          || test ! -s conftest.err'
21346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347   (eval $ac_try) 2>&5
21348   ac_status=$?
21349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350   (exit $ac_status); }; } &&
21351          { ac_try='test -s conftest$ac_exeext'
21352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353   (eval $ac_try) 2>&5
21354   ac_status=$?
21355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356   (exit $ac_status); }; }; then
21357   ac_cv_lib_m_atan=yes
21358 else
21359   echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 ac_cv_lib_m_atan=no
21363 fi
21364 rm -f conftest.err conftest.$ac_objext \
21365       conftest$ac_exeext conftest.$ac_ext
21366 LIBS=$ac_check_lib_save_LIBS
21367 fi
21368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21369 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21370 if test $ac_cv_lib_m_atan = yes; then
21371
21372 cat >>confdefs.h <<\_ACEOF
21373 #define HAVE_ATAN 1
21374 _ACEOF
21375
21376 fi
21377
21378 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21379 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21380 if test "${ac_cv_lib_m_atanl+set}" = set; then
21381   echo $ECHO_N "(cached) $ECHO_C" >&6
21382 else
21383   ac_check_lib_save_LIBS=$LIBS
21384 LIBS="-lm  $LIBS"
21385 if test x$gcc_no_link = xyes; then
21386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21388    { (exit 1); exit 1; }; }
21389 fi
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h.  */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h.  */
21396
21397 /* Override any gcc2 internal prototype to avoid an error.  */
21398 #ifdef __cplusplus
21399 extern "C"
21400 #endif
21401 /* We use char because int might match the return type of a gcc2
21402    builtin and then its argument prototype would still apply.  */
21403 char atanl ();
21404 int
21405 main ()
21406 {
21407 atanl ();
21408   ;
21409   return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest.$ac_objext conftest$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414   (eval $ac_link) 2>conftest.er1
21415   ac_status=$?
21416   grep -v '^ *+' conftest.er1 >conftest.err
21417   rm -f conftest.er1
21418   cat conftest.err >&5
21419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420   (exit $ac_status); } &&
21421          { ac_try='test -z "$ac_c_werror_flag"
21422                          || test ! -s conftest.err'
21423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424   (eval $ac_try) 2>&5
21425   ac_status=$?
21426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427   (exit $ac_status); }; } &&
21428          { ac_try='test -s conftest$ac_exeext'
21429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430   (eval $ac_try) 2>&5
21431   ac_status=$?
21432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433   (exit $ac_status); }; }; then
21434   ac_cv_lib_m_atanl=yes
21435 else
21436   echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21438
21439 ac_cv_lib_m_atanl=no
21440 fi
21441 rm -f conftest.err conftest.$ac_objext \
21442       conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21444 fi
21445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21446 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21447 if test $ac_cv_lib_m_atanl = yes; then
21448
21449 cat >>confdefs.h <<\_ACEOF
21450 #define HAVE_ATANL 1
21451 _ACEOF
21452
21453 fi
21454
21455 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21456 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21457 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21458   echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460   ac_check_lib_save_LIBS=$LIBS
21461 LIBS="-lm  $LIBS"
21462 if test x$gcc_no_link = xyes; then
21463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21465    { (exit 1); exit 1; }; }
21466 fi
21467 cat >conftest.$ac_ext <<_ACEOF
21468 /* confdefs.h.  */
21469 _ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h.  */
21473
21474 /* Override any gcc2 internal prototype to avoid an error.  */
21475 #ifdef __cplusplus
21476 extern "C"
21477 #endif
21478 /* We use char because int might match the return type of a gcc2
21479    builtin and then its argument prototype would still apply.  */
21480 char atanhf ();
21481 int
21482 main ()
21483 {
21484 atanhf ();
21485   ;
21486   return 0;
21487 }
21488 _ACEOF
21489 rm -f conftest.$ac_objext conftest$ac_exeext
21490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21491   (eval $ac_link) 2>conftest.er1
21492   ac_status=$?
21493   grep -v '^ *+' conftest.er1 >conftest.err
21494   rm -f conftest.er1
21495   cat conftest.err >&5
21496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497   (exit $ac_status); } &&
21498          { ac_try='test -z "$ac_c_werror_flag"
21499                          || test ! -s conftest.err'
21500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501   (eval $ac_try) 2>&5
21502   ac_status=$?
21503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504   (exit $ac_status); }; } &&
21505          { ac_try='test -s conftest$ac_exeext'
21506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507   (eval $ac_try) 2>&5
21508   ac_status=$?
21509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510   (exit $ac_status); }; }; then
21511   ac_cv_lib_m_atanhf=yes
21512 else
21513   echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21515
21516 ac_cv_lib_m_atanhf=no
21517 fi
21518 rm -f conftest.err conftest.$ac_objext \
21519       conftest$ac_exeext conftest.$ac_ext
21520 LIBS=$ac_check_lib_save_LIBS
21521 fi
21522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21523 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21524 if test $ac_cv_lib_m_atanhf = yes; then
21525
21526 cat >>confdefs.h <<\_ACEOF
21527 #define HAVE_ATANHF 1
21528 _ACEOF
21529
21530 fi
21531
21532 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21533 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21534 if test "${ac_cv_lib_m_atanh+set}" = set; then
21535   echo $ECHO_N "(cached) $ECHO_C" >&6
21536 else
21537   ac_check_lib_save_LIBS=$LIBS
21538 LIBS="-lm  $LIBS"
21539 if test x$gcc_no_link = xyes; then
21540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21542    { (exit 1); exit 1; }; }
21543 fi
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h.  */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h.  */
21550
21551 /* Override any gcc2 internal prototype to avoid an error.  */
21552 #ifdef __cplusplus
21553 extern "C"
21554 #endif
21555 /* We use char because int might match the return type of a gcc2
21556    builtin and then its argument prototype would still apply.  */
21557 char atanh ();
21558 int
21559 main ()
21560 {
21561 atanh ();
21562   ;
21563   return 0;
21564 }
21565 _ACEOF
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568   (eval $ac_link) 2>conftest.er1
21569   ac_status=$?
21570   grep -v '^ *+' conftest.er1 >conftest.err
21571   rm -f conftest.er1
21572   cat conftest.err >&5
21573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574   (exit $ac_status); } &&
21575          { ac_try='test -z "$ac_c_werror_flag"
21576                          || test ! -s conftest.err'
21577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578   (eval $ac_try) 2>&5
21579   ac_status=$?
21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581   (exit $ac_status); }; } &&
21582          { ac_try='test -s conftest$ac_exeext'
21583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584   (eval $ac_try) 2>&5
21585   ac_status=$?
21586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587   (exit $ac_status); }; }; then
21588   ac_cv_lib_m_atanh=yes
21589 else
21590   echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 ac_cv_lib_m_atanh=no
21594 fi
21595 rm -f conftest.err conftest.$ac_objext \
21596       conftest$ac_exeext conftest.$ac_ext
21597 LIBS=$ac_check_lib_save_LIBS
21598 fi
21599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21600 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21601 if test $ac_cv_lib_m_atanh = yes; then
21602
21603 cat >>confdefs.h <<\_ACEOF
21604 #define HAVE_ATANH 1
21605 _ACEOF
21606
21607 fi
21608
21609 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21610 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21611 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21612   echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614   ac_check_lib_save_LIBS=$LIBS
21615 LIBS="-lm  $LIBS"
21616 if test x$gcc_no_link = xyes; then
21617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21619    { (exit 1); exit 1; }; }
21620 fi
21621 cat >conftest.$ac_ext <<_ACEOF
21622 /* confdefs.h.  */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h.  */
21627
21628 /* Override any gcc2 internal prototype to avoid an error.  */
21629 #ifdef __cplusplus
21630 extern "C"
21631 #endif
21632 /* We use char because int might match the return type of a gcc2
21633    builtin and then its argument prototype would still apply.  */
21634 char atanhl ();
21635 int
21636 main ()
21637 {
21638 atanhl ();
21639   ;
21640   return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest.$ac_objext conftest$ac_exeext
21644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645   (eval $ac_link) 2>conftest.er1
21646   ac_status=$?
21647   grep -v '^ *+' conftest.er1 >conftest.err
21648   rm -f conftest.er1
21649   cat conftest.err >&5
21650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651   (exit $ac_status); } &&
21652          { ac_try='test -z "$ac_c_werror_flag"
21653                          || test ! -s conftest.err'
21654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655   (eval $ac_try) 2>&5
21656   ac_status=$?
21657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658   (exit $ac_status); }; } &&
21659          { ac_try='test -s conftest$ac_exeext'
21660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661   (eval $ac_try) 2>&5
21662   ac_status=$?
21663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664   (exit $ac_status); }; }; then
21665   ac_cv_lib_m_atanhl=yes
21666 else
21667   echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ac_cv_lib_m_atanhl=no
21671 fi
21672 rm -f conftest.err conftest.$ac_objext \
21673       conftest$ac_exeext conftest.$ac_ext
21674 LIBS=$ac_check_lib_save_LIBS
21675 fi
21676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21677 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21678 if test $ac_cv_lib_m_atanhl = yes; then
21679
21680 cat >>confdefs.h <<\_ACEOF
21681 #define HAVE_ATANHL 1
21682 _ACEOF
21683
21684 fi
21685
21686 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21687 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21688 if test "${ac_cv_lib_m_cargf+set}" = set; then
21689   echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else
21691   ac_check_lib_save_LIBS=$LIBS
21692 LIBS="-lm  $LIBS"
21693 if test x$gcc_no_link = xyes; then
21694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21696    { (exit 1); exit 1; }; }
21697 fi
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h.  */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h.  */
21704
21705 /* Override any gcc2 internal prototype to avoid an error.  */
21706 #ifdef __cplusplus
21707 extern "C"
21708 #endif
21709 /* We use char because int might match the return type of a gcc2
21710    builtin and then its argument prototype would still apply.  */
21711 char cargf ();
21712 int
21713 main ()
21714 {
21715 cargf ();
21716   ;
21717   return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext conftest$ac_exeext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21722   (eval $ac_link) 2>conftest.er1
21723   ac_status=$?
21724   grep -v '^ *+' conftest.er1 >conftest.err
21725   rm -f conftest.er1
21726   cat conftest.err >&5
21727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728   (exit $ac_status); } &&
21729          { ac_try='test -z "$ac_c_werror_flag"
21730                          || test ! -s conftest.err'
21731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732   (eval $ac_try) 2>&5
21733   ac_status=$?
21734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735   (exit $ac_status); }; } &&
21736          { ac_try='test -s conftest$ac_exeext'
21737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738   (eval $ac_try) 2>&5
21739   ac_status=$?
21740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741   (exit $ac_status); }; }; then
21742   ac_cv_lib_m_cargf=yes
21743 else
21744   echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 ac_cv_lib_m_cargf=no
21748 fi
21749 rm -f conftest.err conftest.$ac_objext \
21750       conftest$ac_exeext conftest.$ac_ext
21751 LIBS=$ac_check_lib_save_LIBS
21752 fi
21753 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21754 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21755 if test $ac_cv_lib_m_cargf = yes; then
21756
21757 cat >>confdefs.h <<\_ACEOF
21758 #define HAVE_CARGF 1
21759 _ACEOF
21760
21761 fi
21762
21763 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21764 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21765 if test "${ac_cv_lib_m_carg+set}" = set; then
21766   echo $ECHO_N "(cached) $ECHO_C" >&6
21767 else
21768   ac_check_lib_save_LIBS=$LIBS
21769 LIBS="-lm  $LIBS"
21770 if test x$gcc_no_link = xyes; then
21771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21773    { (exit 1); exit 1; }; }
21774 fi
21775 cat >conftest.$ac_ext <<_ACEOF
21776 /* confdefs.h.  */
21777 _ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h.  */
21781
21782 /* Override any gcc2 internal prototype to avoid an error.  */
21783 #ifdef __cplusplus
21784 extern "C"
21785 #endif
21786 /* We use char because int might match the return type of a gcc2
21787    builtin and then its argument prototype would still apply.  */
21788 char carg ();
21789 int
21790 main ()
21791 {
21792 carg ();
21793   ;
21794   return 0;
21795 }
21796 _ACEOF
21797 rm -f conftest.$ac_objext conftest$ac_exeext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21799   (eval $ac_link) 2>conftest.er1
21800   ac_status=$?
21801   grep -v '^ *+' conftest.er1 >conftest.err
21802   rm -f conftest.er1
21803   cat conftest.err >&5
21804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805   (exit $ac_status); } &&
21806          { ac_try='test -z "$ac_c_werror_flag"
21807                          || test ! -s conftest.err'
21808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809   (eval $ac_try) 2>&5
21810   ac_status=$?
21811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812   (exit $ac_status); }; } &&
21813          { ac_try='test -s conftest$ac_exeext'
21814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815   (eval $ac_try) 2>&5
21816   ac_status=$?
21817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818   (exit $ac_status); }; }; then
21819   ac_cv_lib_m_carg=yes
21820 else
21821   echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21823
21824 ac_cv_lib_m_carg=no
21825 fi
21826 rm -f conftest.err conftest.$ac_objext \
21827       conftest$ac_exeext conftest.$ac_ext
21828 LIBS=$ac_check_lib_save_LIBS
21829 fi
21830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21831 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21832 if test $ac_cv_lib_m_carg = yes; then
21833
21834 cat >>confdefs.h <<\_ACEOF
21835 #define HAVE_CARG 1
21836 _ACEOF
21837
21838 fi
21839
21840 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21841 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21842 if test "${ac_cv_lib_m_cargl+set}" = set; then
21843   echo $ECHO_N "(cached) $ECHO_C" >&6
21844 else
21845   ac_check_lib_save_LIBS=$LIBS
21846 LIBS="-lm  $LIBS"
21847 if test x$gcc_no_link = xyes; then
21848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21850    { (exit 1); exit 1; }; }
21851 fi
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h.  */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h.  */
21858
21859 /* Override any gcc2 internal prototype to avoid an error.  */
21860 #ifdef __cplusplus
21861 extern "C"
21862 #endif
21863 /* We use char because int might match the return type of a gcc2
21864    builtin and then its argument prototype would still apply.  */
21865 char cargl ();
21866 int
21867 main ()
21868 {
21869 cargl ();
21870   ;
21871   return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext conftest$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876   (eval $ac_link) 2>conftest.er1
21877   ac_status=$?
21878   grep -v '^ *+' conftest.er1 >conftest.err
21879   rm -f conftest.er1
21880   cat conftest.err >&5
21881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882   (exit $ac_status); } &&
21883          { ac_try='test -z "$ac_c_werror_flag"
21884                          || test ! -s conftest.err'
21885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886   (eval $ac_try) 2>&5
21887   ac_status=$?
21888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889   (exit $ac_status); }; } &&
21890          { ac_try='test -s conftest$ac_exeext'
21891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892   (eval $ac_try) 2>&5
21893   ac_status=$?
21894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895   (exit $ac_status); }; }; then
21896   ac_cv_lib_m_cargl=yes
21897 else
21898   echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.$ac_ext >&5
21900
21901 ac_cv_lib_m_cargl=no
21902 fi
21903 rm -f conftest.err conftest.$ac_objext \
21904       conftest$ac_exeext conftest.$ac_ext
21905 LIBS=$ac_check_lib_save_LIBS
21906 fi
21907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21908 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21909 if test $ac_cv_lib_m_cargl = yes; then
21910
21911 cat >>confdefs.h <<\_ACEOF
21912 #define HAVE_CARGL 1
21913 _ACEOF
21914
21915 fi
21916
21917 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21918 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21919 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21920   echo $ECHO_N "(cached) $ECHO_C" >&6
21921 else
21922   ac_check_lib_save_LIBS=$LIBS
21923 LIBS="-lm  $LIBS"
21924 if test x$gcc_no_link = xyes; then
21925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21927    { (exit 1); exit 1; }; }
21928 fi
21929 cat >conftest.$ac_ext <<_ACEOF
21930 /* confdefs.h.  */
21931 _ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h.  */
21935
21936 /* Override any gcc2 internal prototype to avoid an error.  */
21937 #ifdef __cplusplus
21938 extern "C"
21939 #endif
21940 /* We use char because int might match the return type of a gcc2
21941    builtin and then its argument prototype would still apply.  */
21942 char ceilf ();
21943 int
21944 main ()
21945 {
21946 ceilf ();
21947   ;
21948   return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext conftest$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953   (eval $ac_link) 2>conftest.er1
21954   ac_status=$?
21955   grep -v '^ *+' conftest.er1 >conftest.err
21956   rm -f conftest.er1
21957   cat conftest.err >&5
21958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959   (exit $ac_status); } &&
21960          { ac_try='test -z "$ac_c_werror_flag"
21961                          || test ! -s conftest.err'
21962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963   (eval $ac_try) 2>&5
21964   ac_status=$?
21965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966   (exit $ac_status); }; } &&
21967          { ac_try='test -s conftest$ac_exeext'
21968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969   (eval $ac_try) 2>&5
21970   ac_status=$?
21971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972   (exit $ac_status); }; }; then
21973   ac_cv_lib_m_ceilf=yes
21974 else
21975   echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 ac_cv_lib_m_ceilf=no
21979 fi
21980 rm -f conftest.err conftest.$ac_objext \
21981       conftest$ac_exeext conftest.$ac_ext
21982 LIBS=$ac_check_lib_save_LIBS
21983 fi
21984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21985 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21986 if test $ac_cv_lib_m_ceilf = yes; then
21987
21988 cat >>confdefs.h <<\_ACEOF
21989 #define HAVE_CEILF 1
21990 _ACEOF
21991
21992 fi
21993
21994 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21995 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21996 if test "${ac_cv_lib_m_ceil+set}" = set; then
21997   echo $ECHO_N "(cached) $ECHO_C" >&6
21998 else
21999   ac_check_lib_save_LIBS=$LIBS
22000 LIBS="-lm  $LIBS"
22001 if test x$gcc_no_link = xyes; then
22002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22004    { (exit 1); exit 1; }; }
22005 fi
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h.  */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h.  */
22012
22013 /* Override any gcc2 internal prototype to avoid an error.  */
22014 #ifdef __cplusplus
22015 extern "C"
22016 #endif
22017 /* We use char because int might match the return type of a gcc2
22018    builtin and then its argument prototype would still apply.  */
22019 char ceil ();
22020 int
22021 main ()
22022 {
22023 ceil ();
22024   ;
22025   return 0;
22026 }
22027 _ACEOF
22028 rm -f conftest.$ac_objext conftest$ac_exeext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22030   (eval $ac_link) 2>conftest.er1
22031   ac_status=$?
22032   grep -v '^ *+' conftest.er1 >conftest.err
22033   rm -f conftest.er1
22034   cat conftest.err >&5
22035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036   (exit $ac_status); } &&
22037          { ac_try='test -z "$ac_c_werror_flag"
22038                          || test ! -s conftest.err'
22039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040   (eval $ac_try) 2>&5
22041   ac_status=$?
22042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043   (exit $ac_status); }; } &&
22044          { ac_try='test -s conftest$ac_exeext'
22045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046   (eval $ac_try) 2>&5
22047   ac_status=$?
22048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049   (exit $ac_status); }; }; then
22050   ac_cv_lib_m_ceil=yes
22051 else
22052   echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 ac_cv_lib_m_ceil=no
22056 fi
22057 rm -f conftest.err conftest.$ac_objext \
22058       conftest$ac_exeext conftest.$ac_ext
22059 LIBS=$ac_check_lib_save_LIBS
22060 fi
22061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22062 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22063 if test $ac_cv_lib_m_ceil = yes; then
22064
22065 cat >>confdefs.h <<\_ACEOF
22066 #define HAVE_CEIL 1
22067 _ACEOF
22068
22069 fi
22070
22071 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22072 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22073 if test "${ac_cv_lib_m_ceill+set}" = set; then
22074   echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076   ac_check_lib_save_LIBS=$LIBS
22077 LIBS="-lm  $LIBS"
22078 if test x$gcc_no_link = xyes; then
22079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22081    { (exit 1); exit 1; }; }
22082 fi
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h.  */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h.  */
22089
22090 /* Override any gcc2 internal prototype to avoid an error.  */
22091 #ifdef __cplusplus
22092 extern "C"
22093 #endif
22094 /* We use char because int might match the return type of a gcc2
22095    builtin and then its argument prototype would still apply.  */
22096 char ceill ();
22097 int
22098 main ()
22099 {
22100 ceill ();
22101   ;
22102   return 0;
22103 }
22104 _ACEOF
22105 rm -f conftest.$ac_objext conftest$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107   (eval $ac_link) 2>conftest.er1
22108   ac_status=$?
22109   grep -v '^ *+' conftest.er1 >conftest.err
22110   rm -f conftest.er1
22111   cat conftest.err >&5
22112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113   (exit $ac_status); } &&
22114          { ac_try='test -z "$ac_c_werror_flag"
22115                          || test ! -s conftest.err'
22116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117   (eval $ac_try) 2>&5
22118   ac_status=$?
22119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120   (exit $ac_status); }; } &&
22121          { ac_try='test -s conftest$ac_exeext'
22122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123   (eval $ac_try) 2>&5
22124   ac_status=$?
22125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126   (exit $ac_status); }; }; then
22127   ac_cv_lib_m_ceill=yes
22128 else
22129   echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ac_cv_lib_m_ceill=no
22133 fi
22134 rm -f conftest.err conftest.$ac_objext \
22135       conftest$ac_exeext conftest.$ac_ext
22136 LIBS=$ac_check_lib_save_LIBS
22137 fi
22138 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22139 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22140 if test $ac_cv_lib_m_ceill = yes; then
22141
22142 cat >>confdefs.h <<\_ACEOF
22143 #define HAVE_CEILL 1
22144 _ACEOF
22145
22146 fi
22147
22148 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22149 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22150 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22151   echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153   ac_check_lib_save_LIBS=$LIBS
22154 LIBS="-lm  $LIBS"
22155 if test x$gcc_no_link = xyes; then
22156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22158    { (exit 1); exit 1; }; }
22159 fi
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h.  */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h.  */
22166
22167 /* Override any gcc2 internal prototype to avoid an error.  */
22168 #ifdef __cplusplus
22169 extern "C"
22170 #endif
22171 /* We use char because int might match the return type of a gcc2
22172    builtin and then its argument prototype would still apply.  */
22173 char copysignf ();
22174 int
22175 main ()
22176 {
22177 copysignf ();
22178   ;
22179   return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext conftest$ac_exeext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22184   (eval $ac_link) 2>conftest.er1
22185   ac_status=$?
22186   grep -v '^ *+' conftest.er1 >conftest.err
22187   rm -f conftest.er1
22188   cat conftest.err >&5
22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190   (exit $ac_status); } &&
22191          { ac_try='test -z "$ac_c_werror_flag"
22192                          || test ! -s conftest.err'
22193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194   (eval $ac_try) 2>&5
22195   ac_status=$?
22196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197   (exit $ac_status); }; } &&
22198          { ac_try='test -s conftest$ac_exeext'
22199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200   (eval $ac_try) 2>&5
22201   ac_status=$?
22202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203   (exit $ac_status); }; }; then
22204   ac_cv_lib_m_copysignf=yes
22205 else
22206   echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 ac_cv_lib_m_copysignf=no
22210 fi
22211 rm -f conftest.err conftest.$ac_objext \
22212       conftest$ac_exeext conftest.$ac_ext
22213 LIBS=$ac_check_lib_save_LIBS
22214 fi
22215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22216 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22217 if test $ac_cv_lib_m_copysignf = yes; then
22218
22219 cat >>confdefs.h <<\_ACEOF
22220 #define HAVE_COPYSIGNF 1
22221 _ACEOF
22222
22223 fi
22224
22225 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22226 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22227 if test "${ac_cv_lib_m_copysign+set}" = set; then
22228   echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230   ac_check_lib_save_LIBS=$LIBS
22231 LIBS="-lm  $LIBS"
22232 if test x$gcc_no_link = xyes; then
22233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22235    { (exit 1); exit 1; }; }
22236 fi
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h.  */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h.  */
22243
22244 /* Override any gcc2 internal prototype to avoid an error.  */
22245 #ifdef __cplusplus
22246 extern "C"
22247 #endif
22248 /* We use char because int might match the return type of a gcc2
22249    builtin and then its argument prototype would still apply.  */
22250 char copysign ();
22251 int
22252 main ()
22253 {
22254 copysign ();
22255   ;
22256   return 0;
22257 }
22258 _ACEOF
22259 rm -f conftest.$ac_objext conftest$ac_exeext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22261   (eval $ac_link) 2>conftest.er1
22262   ac_status=$?
22263   grep -v '^ *+' conftest.er1 >conftest.err
22264   rm -f conftest.er1
22265   cat conftest.err >&5
22266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267   (exit $ac_status); } &&
22268          { ac_try='test -z "$ac_c_werror_flag"
22269                          || test ! -s conftest.err'
22270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271   (eval $ac_try) 2>&5
22272   ac_status=$?
22273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274   (exit $ac_status); }; } &&
22275          { ac_try='test -s conftest$ac_exeext'
22276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277   (eval $ac_try) 2>&5
22278   ac_status=$?
22279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280   (exit $ac_status); }; }; then
22281   ac_cv_lib_m_copysign=yes
22282 else
22283   echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22285
22286 ac_cv_lib_m_copysign=no
22287 fi
22288 rm -f conftest.err conftest.$ac_objext \
22289       conftest$ac_exeext conftest.$ac_ext
22290 LIBS=$ac_check_lib_save_LIBS
22291 fi
22292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22293 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22294 if test $ac_cv_lib_m_copysign = yes; then
22295
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_COPYSIGN 1
22298 _ACEOF
22299
22300 fi
22301
22302 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22303 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22304 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22305   echo $ECHO_N "(cached) $ECHO_C" >&6
22306 else
22307   ac_check_lib_save_LIBS=$LIBS
22308 LIBS="-lm  $LIBS"
22309 if test x$gcc_no_link = xyes; then
22310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22312    { (exit 1); exit 1; }; }
22313 fi
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h.  */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h.  */
22320
22321 /* Override any gcc2 internal prototype to avoid an error.  */
22322 #ifdef __cplusplus
22323 extern "C"
22324 #endif
22325 /* We use char because int might match the return type of a gcc2
22326    builtin and then its argument prototype would still apply.  */
22327 char copysignl ();
22328 int
22329 main ()
22330 {
22331 copysignl ();
22332   ;
22333   return 0;
22334 }
22335 _ACEOF
22336 rm -f conftest.$ac_objext conftest$ac_exeext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22338   (eval $ac_link) 2>conftest.er1
22339   ac_status=$?
22340   grep -v '^ *+' conftest.er1 >conftest.err
22341   rm -f conftest.er1
22342   cat conftest.err >&5
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); } &&
22345          { ac_try='test -z "$ac_c_werror_flag"
22346                          || test ! -s conftest.err'
22347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348   (eval $ac_try) 2>&5
22349   ac_status=$?
22350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351   (exit $ac_status); }; } &&
22352          { ac_try='test -s conftest$ac_exeext'
22353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354   (eval $ac_try) 2>&5
22355   ac_status=$?
22356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357   (exit $ac_status); }; }; then
22358   ac_cv_lib_m_copysignl=yes
22359 else
22360   echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_cv_lib_m_copysignl=no
22364 fi
22365 rm -f conftest.err conftest.$ac_objext \
22366       conftest$ac_exeext conftest.$ac_ext
22367 LIBS=$ac_check_lib_save_LIBS
22368 fi
22369 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22370 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22371 if test $ac_cv_lib_m_copysignl = yes; then
22372
22373 cat >>confdefs.h <<\_ACEOF
22374 #define HAVE_COPYSIGNL 1
22375 _ACEOF
22376
22377 fi
22378
22379 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22380 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22381 if test "${ac_cv_lib_m_cosf+set}" = set; then
22382   echo $ECHO_N "(cached) $ECHO_C" >&6
22383 else
22384   ac_check_lib_save_LIBS=$LIBS
22385 LIBS="-lm  $LIBS"
22386 if test x$gcc_no_link = xyes; then
22387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22389    { (exit 1); exit 1; }; }
22390 fi
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h.  */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h.  */
22397
22398 /* Override any gcc2 internal prototype to avoid an error.  */
22399 #ifdef __cplusplus
22400 extern "C"
22401 #endif
22402 /* We use char because int might match the return type of a gcc2
22403    builtin and then its argument prototype would still apply.  */
22404 char cosf ();
22405 int
22406 main ()
22407 {
22408 cosf ();
22409   ;
22410   return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415   (eval $ac_link) 2>conftest.er1
22416   ac_status=$?
22417   grep -v '^ *+' conftest.er1 >conftest.err
22418   rm -f conftest.er1
22419   cat conftest.err >&5
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); } &&
22422          { ac_try='test -z "$ac_c_werror_flag"
22423                          || test ! -s conftest.err'
22424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425   (eval $ac_try) 2>&5
22426   ac_status=$?
22427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428   (exit $ac_status); }; } &&
22429          { ac_try='test -s conftest$ac_exeext'
22430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431   (eval $ac_try) 2>&5
22432   ac_status=$?
22433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434   (exit $ac_status); }; }; then
22435   ac_cv_lib_m_cosf=yes
22436 else
22437   echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 ac_cv_lib_m_cosf=no
22441 fi
22442 rm -f conftest.err conftest.$ac_objext \
22443       conftest$ac_exeext conftest.$ac_ext
22444 LIBS=$ac_check_lib_save_LIBS
22445 fi
22446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22447 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22448 if test $ac_cv_lib_m_cosf = yes; then
22449
22450 cat >>confdefs.h <<\_ACEOF
22451 #define HAVE_COSF 1
22452 _ACEOF
22453
22454 fi
22455
22456 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22457 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22458 if test "${ac_cv_lib_m_cos+set}" = set; then
22459   echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22461   ac_check_lib_save_LIBS=$LIBS
22462 LIBS="-lm  $LIBS"
22463 if test x$gcc_no_link = xyes; then
22464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22466    { (exit 1); exit 1; }; }
22467 fi
22468 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h.  */
22470 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h.  */
22474
22475 /* Override any gcc2 internal prototype to avoid an error.  */
22476 #ifdef __cplusplus
22477 extern "C"
22478 #endif
22479 /* We use char because int might match the return type of a gcc2
22480    builtin and then its argument prototype would still apply.  */
22481 char cos ();
22482 int
22483 main ()
22484 {
22485 cos ();
22486   ;
22487   return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest.$ac_objext conftest$ac_exeext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22492   (eval $ac_link) 2>conftest.er1
22493   ac_status=$?
22494   grep -v '^ *+' conftest.er1 >conftest.err
22495   rm -f conftest.er1
22496   cat conftest.err >&5
22497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498   (exit $ac_status); } &&
22499          { ac_try='test -z "$ac_c_werror_flag"
22500                          || test ! -s conftest.err'
22501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502   (eval $ac_try) 2>&5
22503   ac_status=$?
22504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505   (exit $ac_status); }; } &&
22506          { ac_try='test -s conftest$ac_exeext'
22507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508   (eval $ac_try) 2>&5
22509   ac_status=$?
22510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511   (exit $ac_status); }; }; then
22512   ac_cv_lib_m_cos=yes
22513 else
22514   echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 ac_cv_lib_m_cos=no
22518 fi
22519 rm -f conftest.err conftest.$ac_objext \
22520       conftest$ac_exeext conftest.$ac_ext
22521 LIBS=$ac_check_lib_save_LIBS
22522 fi
22523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22524 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22525 if test $ac_cv_lib_m_cos = yes; then
22526
22527 cat >>confdefs.h <<\_ACEOF
22528 #define HAVE_COS 1
22529 _ACEOF
22530
22531 fi
22532
22533 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22534 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22535 if test "${ac_cv_lib_m_cosl+set}" = set; then
22536   echo $ECHO_N "(cached) $ECHO_C" >&6
22537 else
22538   ac_check_lib_save_LIBS=$LIBS
22539 LIBS="-lm  $LIBS"
22540 if test x$gcc_no_link = xyes; then
22541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543    { (exit 1); exit 1; }; }
22544 fi
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h.  */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h.  */
22551
22552 /* Override any gcc2 internal prototype to avoid an error.  */
22553 #ifdef __cplusplus
22554 extern "C"
22555 #endif
22556 /* We use char because int might match the return type of a gcc2
22557    builtin and then its argument prototype would still apply.  */
22558 char cosl ();
22559 int
22560 main ()
22561 {
22562 cosl ();
22563   ;
22564   return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest.$ac_objext conftest$ac_exeext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22569   (eval $ac_link) 2>conftest.er1
22570   ac_status=$?
22571   grep -v '^ *+' conftest.er1 >conftest.err
22572   rm -f conftest.er1
22573   cat conftest.err >&5
22574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575   (exit $ac_status); } &&
22576          { ac_try='test -z "$ac_c_werror_flag"
22577                          || test ! -s conftest.err'
22578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579   (eval $ac_try) 2>&5
22580   ac_status=$?
22581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582   (exit $ac_status); }; } &&
22583          { ac_try='test -s conftest$ac_exeext'
22584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22585   (eval $ac_try) 2>&5
22586   ac_status=$?
22587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588   (exit $ac_status); }; }; then
22589   ac_cv_lib_m_cosl=yes
22590 else
22591   echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22593
22594 ac_cv_lib_m_cosl=no
22595 fi
22596 rm -f conftest.err conftest.$ac_objext \
22597       conftest$ac_exeext conftest.$ac_ext
22598 LIBS=$ac_check_lib_save_LIBS
22599 fi
22600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22601 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22602 if test $ac_cv_lib_m_cosl = yes; then
22603
22604 cat >>confdefs.h <<\_ACEOF
22605 #define HAVE_COSL 1
22606 _ACEOF
22607
22608 fi
22609
22610 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22611 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22612 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22613   echo $ECHO_N "(cached) $ECHO_C" >&6
22614 else
22615   ac_check_lib_save_LIBS=$LIBS
22616 LIBS="-lm  $LIBS"
22617 if test x$gcc_no_link = xyes; then
22618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22620    { (exit 1); exit 1; }; }
22621 fi
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h.  */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h.  */
22628
22629 /* Override any gcc2 internal prototype to avoid an error.  */
22630 #ifdef __cplusplus
22631 extern "C"
22632 #endif
22633 /* We use char because int might match the return type of a gcc2
22634    builtin and then its argument prototype would still apply.  */
22635 char ccosf ();
22636 int
22637 main ()
22638 {
22639 ccosf ();
22640   ;
22641   return 0;
22642 }
22643 _ACEOF
22644 rm -f conftest.$ac_objext conftest$ac_exeext
22645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22646   (eval $ac_link) 2>conftest.er1
22647   ac_status=$?
22648   grep -v '^ *+' conftest.er1 >conftest.err
22649   rm -f conftest.er1
22650   cat conftest.err >&5
22651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652   (exit $ac_status); } &&
22653          { ac_try='test -z "$ac_c_werror_flag"
22654                          || test ! -s conftest.err'
22655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656   (eval $ac_try) 2>&5
22657   ac_status=$?
22658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659   (exit $ac_status); }; } &&
22660          { ac_try='test -s conftest$ac_exeext'
22661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662   (eval $ac_try) 2>&5
22663   ac_status=$?
22664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665   (exit $ac_status); }; }; then
22666   ac_cv_lib_m_ccosf=yes
22667 else
22668   echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22670
22671 ac_cv_lib_m_ccosf=no
22672 fi
22673 rm -f conftest.err conftest.$ac_objext \
22674       conftest$ac_exeext conftest.$ac_ext
22675 LIBS=$ac_check_lib_save_LIBS
22676 fi
22677 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22678 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22679 if test $ac_cv_lib_m_ccosf = yes; then
22680
22681 cat >>confdefs.h <<\_ACEOF
22682 #define HAVE_CCOSF 1
22683 _ACEOF
22684
22685 fi
22686
22687 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22688 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22689 if test "${ac_cv_lib_m_ccos+set}" = set; then
22690   echo $ECHO_N "(cached) $ECHO_C" >&6
22691 else
22692   ac_check_lib_save_LIBS=$LIBS
22693 LIBS="-lm  $LIBS"
22694 if test x$gcc_no_link = xyes; then
22695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22697    { (exit 1); exit 1; }; }
22698 fi
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h.  */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h.  */
22705
22706 /* Override any gcc2 internal prototype to avoid an error.  */
22707 #ifdef __cplusplus
22708 extern "C"
22709 #endif
22710 /* We use char because int might match the return type of a gcc2
22711    builtin and then its argument prototype would still apply.  */
22712 char ccos ();
22713 int
22714 main ()
22715 {
22716 ccos ();
22717   ;
22718   return 0;
22719 }
22720 _ACEOF
22721 rm -f conftest.$ac_objext conftest$ac_exeext
22722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22723   (eval $ac_link) 2>conftest.er1
22724   ac_status=$?
22725   grep -v '^ *+' conftest.er1 >conftest.err
22726   rm -f conftest.er1
22727   cat conftest.err >&5
22728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729   (exit $ac_status); } &&
22730          { ac_try='test -z "$ac_c_werror_flag"
22731                          || test ! -s conftest.err'
22732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733   (eval $ac_try) 2>&5
22734   ac_status=$?
22735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736   (exit $ac_status); }; } &&
22737          { ac_try='test -s conftest$ac_exeext'
22738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739   (eval $ac_try) 2>&5
22740   ac_status=$?
22741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742   (exit $ac_status); }; }; then
22743   ac_cv_lib_m_ccos=yes
22744 else
22745   echo "$as_me: failed program was:" >&5
22746 sed 's/^/| /' conftest.$ac_ext >&5
22747
22748 ac_cv_lib_m_ccos=no
22749 fi
22750 rm -f conftest.err conftest.$ac_objext \
22751       conftest$ac_exeext conftest.$ac_ext
22752 LIBS=$ac_check_lib_save_LIBS
22753 fi
22754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22755 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22756 if test $ac_cv_lib_m_ccos = yes; then
22757
22758 cat >>confdefs.h <<\_ACEOF
22759 #define HAVE_CCOS 1
22760 _ACEOF
22761
22762 fi
22763
22764 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22765 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22766 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22767   echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769   ac_check_lib_save_LIBS=$LIBS
22770 LIBS="-lm  $LIBS"
22771 if test x$gcc_no_link = xyes; then
22772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22774    { (exit 1); exit 1; }; }
22775 fi
22776 cat >conftest.$ac_ext <<_ACEOF
22777 /* confdefs.h.  */
22778 _ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h.  */
22782
22783 /* Override any gcc2 internal prototype to avoid an error.  */
22784 #ifdef __cplusplus
22785 extern "C"
22786 #endif
22787 /* We use char because int might match the return type of a gcc2
22788    builtin and then its argument prototype would still apply.  */
22789 char ccosl ();
22790 int
22791 main ()
22792 {
22793 ccosl ();
22794   ;
22795   return 0;
22796 }
22797 _ACEOF
22798 rm -f conftest.$ac_objext conftest$ac_exeext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800   (eval $ac_link) 2>conftest.er1
22801   ac_status=$?
22802   grep -v '^ *+' conftest.er1 >conftest.err
22803   rm -f conftest.er1
22804   cat conftest.err >&5
22805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806   (exit $ac_status); } &&
22807          { ac_try='test -z "$ac_c_werror_flag"
22808                          || test ! -s conftest.err'
22809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810   (eval $ac_try) 2>&5
22811   ac_status=$?
22812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813   (exit $ac_status); }; } &&
22814          { ac_try='test -s conftest$ac_exeext'
22815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816   (eval $ac_try) 2>&5
22817   ac_status=$?
22818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819   (exit $ac_status); }; }; then
22820   ac_cv_lib_m_ccosl=yes
22821 else
22822   echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22824
22825 ac_cv_lib_m_ccosl=no
22826 fi
22827 rm -f conftest.err conftest.$ac_objext \
22828       conftest$ac_exeext conftest.$ac_ext
22829 LIBS=$ac_check_lib_save_LIBS
22830 fi
22831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22832 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22833 if test $ac_cv_lib_m_ccosl = yes; then
22834
22835 cat >>confdefs.h <<\_ACEOF
22836 #define HAVE_CCOSL 1
22837 _ACEOF
22838
22839 fi
22840
22841 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22842 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22843 if test "${ac_cv_lib_m_coshf+set}" = set; then
22844   echo $ECHO_N "(cached) $ECHO_C" >&6
22845 else
22846   ac_check_lib_save_LIBS=$LIBS
22847 LIBS="-lm  $LIBS"
22848 if test x$gcc_no_link = xyes; then
22849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22851    { (exit 1); exit 1; }; }
22852 fi
22853 cat >conftest.$ac_ext <<_ACEOF
22854 /* confdefs.h.  */
22855 _ACEOF
22856 cat confdefs.h >>conftest.$ac_ext
22857 cat >>conftest.$ac_ext <<_ACEOF
22858 /* end confdefs.h.  */
22859
22860 /* Override any gcc2 internal prototype to avoid an error.  */
22861 #ifdef __cplusplus
22862 extern "C"
22863 #endif
22864 /* We use char because int might match the return type of a gcc2
22865    builtin and then its argument prototype would still apply.  */
22866 char coshf ();
22867 int
22868 main ()
22869 {
22870 coshf ();
22871   ;
22872   return 0;
22873 }
22874 _ACEOF
22875 rm -f conftest.$ac_objext conftest$ac_exeext
22876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22877   (eval $ac_link) 2>conftest.er1
22878   ac_status=$?
22879   grep -v '^ *+' conftest.er1 >conftest.err
22880   rm -f conftest.er1
22881   cat conftest.err >&5
22882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883   (exit $ac_status); } &&
22884          { ac_try='test -z "$ac_c_werror_flag"
22885                          || test ! -s conftest.err'
22886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887   (eval $ac_try) 2>&5
22888   ac_status=$?
22889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890   (exit $ac_status); }; } &&
22891          { ac_try='test -s conftest$ac_exeext'
22892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893   (eval $ac_try) 2>&5
22894   ac_status=$?
22895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896   (exit $ac_status); }; }; then
22897   ac_cv_lib_m_coshf=yes
22898 else
22899   echo "$as_me: failed program was:" >&5
22900 sed 's/^/| /' conftest.$ac_ext >&5
22901
22902 ac_cv_lib_m_coshf=no
22903 fi
22904 rm -f conftest.err conftest.$ac_objext \
22905       conftest$ac_exeext conftest.$ac_ext
22906 LIBS=$ac_check_lib_save_LIBS
22907 fi
22908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22909 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22910 if test $ac_cv_lib_m_coshf = yes; then
22911
22912 cat >>confdefs.h <<\_ACEOF
22913 #define HAVE_COSHF 1
22914 _ACEOF
22915
22916 fi
22917
22918 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22919 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22920 if test "${ac_cv_lib_m_cosh+set}" = set; then
22921   echo $ECHO_N "(cached) $ECHO_C" >&6
22922 else
22923   ac_check_lib_save_LIBS=$LIBS
22924 LIBS="-lm  $LIBS"
22925 if test x$gcc_no_link = xyes; then
22926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22928    { (exit 1); exit 1; }; }
22929 fi
22930 cat >conftest.$ac_ext <<_ACEOF
22931 /* confdefs.h.  */
22932 _ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h.  */
22936
22937 /* Override any gcc2 internal prototype to avoid an error.  */
22938 #ifdef __cplusplus
22939 extern "C"
22940 #endif
22941 /* We use char because int might match the return type of a gcc2
22942    builtin and then its argument prototype would still apply.  */
22943 char cosh ();
22944 int
22945 main ()
22946 {
22947 cosh ();
22948   ;
22949   return 0;
22950 }
22951 _ACEOF
22952 rm -f conftest.$ac_objext conftest$ac_exeext
22953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22954   (eval $ac_link) 2>conftest.er1
22955   ac_status=$?
22956   grep -v '^ *+' conftest.er1 >conftest.err
22957   rm -f conftest.er1
22958   cat conftest.err >&5
22959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960   (exit $ac_status); } &&
22961          { ac_try='test -z "$ac_c_werror_flag"
22962                          || test ! -s conftest.err'
22963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964   (eval $ac_try) 2>&5
22965   ac_status=$?
22966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967   (exit $ac_status); }; } &&
22968          { ac_try='test -s conftest$ac_exeext'
22969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970   (eval $ac_try) 2>&5
22971   ac_status=$?
22972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973   (exit $ac_status); }; }; then
22974   ac_cv_lib_m_cosh=yes
22975 else
22976   echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22978
22979 ac_cv_lib_m_cosh=no
22980 fi
22981 rm -f conftest.err conftest.$ac_objext \
22982       conftest$ac_exeext conftest.$ac_ext
22983 LIBS=$ac_check_lib_save_LIBS
22984 fi
22985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22986 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22987 if test $ac_cv_lib_m_cosh = yes; then
22988
22989 cat >>confdefs.h <<\_ACEOF
22990 #define HAVE_COSH 1
22991 _ACEOF
22992
22993 fi
22994
22995 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22996 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22997 if test "${ac_cv_lib_m_coshl+set}" = set; then
22998   echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000   ac_check_lib_save_LIBS=$LIBS
23001 LIBS="-lm  $LIBS"
23002 if test x$gcc_no_link = xyes; then
23003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23005    { (exit 1); exit 1; }; }
23006 fi
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h.  */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h.  */
23013
23014 /* Override any gcc2 internal prototype to avoid an error.  */
23015 #ifdef __cplusplus
23016 extern "C"
23017 #endif
23018 /* We use char because int might match the return type of a gcc2
23019    builtin and then its argument prototype would still apply.  */
23020 char coshl ();
23021 int
23022 main ()
23023 {
23024 coshl ();
23025   ;
23026   return 0;
23027 }
23028 _ACEOF
23029 rm -f conftest.$ac_objext conftest$ac_exeext
23030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23031   (eval $ac_link) 2>conftest.er1
23032   ac_status=$?
23033   grep -v '^ *+' conftest.er1 >conftest.err
23034   rm -f conftest.er1
23035   cat conftest.err >&5
23036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037   (exit $ac_status); } &&
23038          { ac_try='test -z "$ac_c_werror_flag"
23039                          || test ! -s conftest.err'
23040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041   (eval $ac_try) 2>&5
23042   ac_status=$?
23043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044   (exit $ac_status); }; } &&
23045          { ac_try='test -s conftest$ac_exeext'
23046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047   (eval $ac_try) 2>&5
23048   ac_status=$?
23049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050   (exit $ac_status); }; }; then
23051   ac_cv_lib_m_coshl=yes
23052 else
23053   echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056 ac_cv_lib_m_coshl=no
23057 fi
23058 rm -f conftest.err conftest.$ac_objext \
23059       conftest$ac_exeext conftest.$ac_ext
23060 LIBS=$ac_check_lib_save_LIBS
23061 fi
23062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23063 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23064 if test $ac_cv_lib_m_coshl = yes; then
23065
23066 cat >>confdefs.h <<\_ACEOF
23067 #define HAVE_COSHL 1
23068 _ACEOF
23069
23070 fi
23071
23072 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23073 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23074 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23075   echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077   ac_check_lib_save_LIBS=$LIBS
23078 LIBS="-lm  $LIBS"
23079 if test x$gcc_no_link = xyes; then
23080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23082    { (exit 1); exit 1; }; }
23083 fi
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h.  */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h.  */
23090
23091 /* Override any gcc2 internal prototype to avoid an error.  */
23092 #ifdef __cplusplus
23093 extern "C"
23094 #endif
23095 /* We use char because int might match the return type of a gcc2
23096    builtin and then its argument prototype would still apply.  */
23097 char ccoshf ();
23098 int
23099 main ()
23100 {
23101 ccoshf ();
23102   ;
23103   return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext conftest$ac_exeext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108   (eval $ac_link) 2>conftest.er1
23109   ac_status=$?
23110   grep -v '^ *+' conftest.er1 >conftest.err
23111   rm -f conftest.er1
23112   cat conftest.err >&5
23113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114   (exit $ac_status); } &&
23115          { ac_try='test -z "$ac_c_werror_flag"
23116                          || test ! -s conftest.err'
23117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118   (eval $ac_try) 2>&5
23119   ac_status=$?
23120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121   (exit $ac_status); }; } &&
23122          { ac_try='test -s conftest$ac_exeext'
23123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124   (eval $ac_try) 2>&5
23125   ac_status=$?
23126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127   (exit $ac_status); }; }; then
23128   ac_cv_lib_m_ccoshf=yes
23129 else
23130   echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 ac_cv_lib_m_ccoshf=no
23134 fi
23135 rm -f conftest.err conftest.$ac_objext \
23136       conftest$ac_exeext conftest.$ac_ext
23137 LIBS=$ac_check_lib_save_LIBS
23138 fi
23139 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23140 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23141 if test $ac_cv_lib_m_ccoshf = yes; then
23142
23143 cat >>confdefs.h <<\_ACEOF
23144 #define HAVE_CCOSHF 1
23145 _ACEOF
23146
23147 fi
23148
23149 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23150 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23151 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23152   echo $ECHO_N "(cached) $ECHO_C" >&6
23153 else
23154   ac_check_lib_save_LIBS=$LIBS
23155 LIBS="-lm  $LIBS"
23156 if test x$gcc_no_link = xyes; then
23157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23159    { (exit 1); exit 1; }; }
23160 fi
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h.  */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h.  */
23167
23168 /* Override any gcc2 internal prototype to avoid an error.  */
23169 #ifdef __cplusplus
23170 extern "C"
23171 #endif
23172 /* We use char because int might match the return type of a gcc2
23173    builtin and then its argument prototype would still apply.  */
23174 char ccosh ();
23175 int
23176 main ()
23177 {
23178 ccosh ();
23179   ;
23180   return 0;
23181 }
23182 _ACEOF
23183 rm -f conftest.$ac_objext conftest$ac_exeext
23184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185   (eval $ac_link) 2>conftest.er1
23186   ac_status=$?
23187   grep -v '^ *+' conftest.er1 >conftest.err
23188   rm -f conftest.er1
23189   cat conftest.err >&5
23190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191   (exit $ac_status); } &&
23192          { ac_try='test -z "$ac_c_werror_flag"
23193                          || test ! -s conftest.err'
23194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195   (eval $ac_try) 2>&5
23196   ac_status=$?
23197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198   (exit $ac_status); }; } &&
23199          { ac_try='test -s conftest$ac_exeext'
23200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201   (eval $ac_try) 2>&5
23202   ac_status=$?
23203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204   (exit $ac_status); }; }; then
23205   ac_cv_lib_m_ccosh=yes
23206 else
23207   echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23209
23210 ac_cv_lib_m_ccosh=no
23211 fi
23212 rm -f conftest.err conftest.$ac_objext \
23213       conftest$ac_exeext conftest.$ac_ext
23214 LIBS=$ac_check_lib_save_LIBS
23215 fi
23216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23217 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23218 if test $ac_cv_lib_m_ccosh = yes; then
23219
23220 cat >>confdefs.h <<\_ACEOF
23221 #define HAVE_CCOSH 1
23222 _ACEOF
23223
23224 fi
23225
23226 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23227 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23228 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23229   echo $ECHO_N "(cached) $ECHO_C" >&6
23230 else
23231   ac_check_lib_save_LIBS=$LIBS
23232 LIBS="-lm  $LIBS"
23233 if test x$gcc_no_link = xyes; then
23234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23236    { (exit 1); exit 1; }; }
23237 fi
23238 cat >conftest.$ac_ext <<_ACEOF
23239 /* confdefs.h.  */
23240 _ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h.  */
23244
23245 /* Override any gcc2 internal prototype to avoid an error.  */
23246 #ifdef __cplusplus
23247 extern "C"
23248 #endif
23249 /* We use char because int might match the return type of a gcc2
23250    builtin and then its argument prototype would still apply.  */
23251 char ccoshl ();
23252 int
23253 main ()
23254 {
23255 ccoshl ();
23256   ;
23257   return 0;
23258 }
23259 _ACEOF
23260 rm -f conftest.$ac_objext conftest$ac_exeext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23262   (eval $ac_link) 2>conftest.er1
23263   ac_status=$?
23264   grep -v '^ *+' conftest.er1 >conftest.err
23265   rm -f conftest.er1
23266   cat conftest.err >&5
23267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268   (exit $ac_status); } &&
23269          { ac_try='test -z "$ac_c_werror_flag"
23270                          || test ! -s conftest.err'
23271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272   (eval $ac_try) 2>&5
23273   ac_status=$?
23274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275   (exit $ac_status); }; } &&
23276          { ac_try='test -s conftest$ac_exeext'
23277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278   (eval $ac_try) 2>&5
23279   ac_status=$?
23280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281   (exit $ac_status); }; }; then
23282   ac_cv_lib_m_ccoshl=yes
23283 else
23284   echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 ac_cv_lib_m_ccoshl=no
23288 fi
23289 rm -f conftest.err conftest.$ac_objext \
23290       conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23292 fi
23293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23294 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23295 if test $ac_cv_lib_m_ccoshl = yes; then
23296
23297 cat >>confdefs.h <<\_ACEOF
23298 #define HAVE_CCOSHL 1
23299 _ACEOF
23300
23301 fi
23302
23303 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23304 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23305 if test "${ac_cv_lib_m_expf+set}" = set; then
23306   echo $ECHO_N "(cached) $ECHO_C" >&6
23307 else
23308   ac_check_lib_save_LIBS=$LIBS
23309 LIBS="-lm  $LIBS"
23310 if test x$gcc_no_link = xyes; then
23311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23313    { (exit 1); exit 1; }; }
23314 fi
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h.  */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h.  */
23321
23322 /* Override any gcc2 internal prototype to avoid an error.  */
23323 #ifdef __cplusplus
23324 extern "C"
23325 #endif
23326 /* We use char because int might match the return type of a gcc2
23327    builtin and then its argument prototype would still apply.  */
23328 char expf ();
23329 int
23330 main ()
23331 {
23332 expf ();
23333   ;
23334   return 0;
23335 }
23336 _ACEOF
23337 rm -f conftest.$ac_objext conftest$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339   (eval $ac_link) 2>conftest.er1
23340   ac_status=$?
23341   grep -v '^ *+' conftest.er1 >conftest.err
23342   rm -f conftest.er1
23343   cat conftest.err >&5
23344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345   (exit $ac_status); } &&
23346          { ac_try='test -z "$ac_c_werror_flag"
23347                          || test ! -s conftest.err'
23348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349   (eval $ac_try) 2>&5
23350   ac_status=$?
23351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352   (exit $ac_status); }; } &&
23353          { ac_try='test -s conftest$ac_exeext'
23354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355   (eval $ac_try) 2>&5
23356   ac_status=$?
23357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358   (exit $ac_status); }; }; then
23359   ac_cv_lib_m_expf=yes
23360 else
23361   echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 ac_cv_lib_m_expf=no
23365 fi
23366 rm -f conftest.err conftest.$ac_objext \
23367       conftest$ac_exeext conftest.$ac_ext
23368 LIBS=$ac_check_lib_save_LIBS
23369 fi
23370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23371 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23372 if test $ac_cv_lib_m_expf = yes; then
23373
23374 cat >>confdefs.h <<\_ACEOF
23375 #define HAVE_EXPF 1
23376 _ACEOF
23377
23378 fi
23379
23380 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23381 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23382 if test "${ac_cv_lib_m_exp+set}" = set; then
23383   echo $ECHO_N "(cached) $ECHO_C" >&6
23384 else
23385   ac_check_lib_save_LIBS=$LIBS
23386 LIBS="-lm  $LIBS"
23387 if test x$gcc_no_link = xyes; then
23388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23390    { (exit 1); exit 1; }; }
23391 fi
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h.  */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h.  */
23398
23399 /* Override any gcc2 internal prototype to avoid an error.  */
23400 #ifdef __cplusplus
23401 extern "C"
23402 #endif
23403 /* We use char because int might match the return type of a gcc2
23404    builtin and then its argument prototype would still apply.  */
23405 char exp ();
23406 int
23407 main ()
23408 {
23409 exp ();
23410   ;
23411   return 0;
23412 }
23413 _ACEOF
23414 rm -f conftest.$ac_objext conftest$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416   (eval $ac_link) 2>conftest.er1
23417   ac_status=$?
23418   grep -v '^ *+' conftest.er1 >conftest.err
23419   rm -f conftest.er1
23420   cat conftest.err >&5
23421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422   (exit $ac_status); } &&
23423          { ac_try='test -z "$ac_c_werror_flag"
23424                          || test ! -s conftest.err'
23425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426   (eval $ac_try) 2>&5
23427   ac_status=$?
23428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429   (exit $ac_status); }; } &&
23430          { ac_try='test -s conftest$ac_exeext'
23431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432   (eval $ac_try) 2>&5
23433   ac_status=$?
23434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435   (exit $ac_status); }; }; then
23436   ac_cv_lib_m_exp=yes
23437 else
23438   echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23440
23441 ac_cv_lib_m_exp=no
23442 fi
23443 rm -f conftest.err conftest.$ac_objext \
23444       conftest$ac_exeext conftest.$ac_ext
23445 LIBS=$ac_check_lib_save_LIBS
23446 fi
23447 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23448 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23449 if test $ac_cv_lib_m_exp = yes; then
23450
23451 cat >>confdefs.h <<\_ACEOF
23452 #define HAVE_EXP 1
23453 _ACEOF
23454
23455 fi
23456
23457 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23458 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23459 if test "${ac_cv_lib_m_expl+set}" = set; then
23460   echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23462   ac_check_lib_save_LIBS=$LIBS
23463 LIBS="-lm  $LIBS"
23464 if test x$gcc_no_link = xyes; then
23465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23467    { (exit 1); exit 1; }; }
23468 fi
23469 cat >conftest.$ac_ext <<_ACEOF
23470 /* confdefs.h.  */
23471 _ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h.  */
23475
23476 /* Override any gcc2 internal prototype to avoid an error.  */
23477 #ifdef __cplusplus
23478 extern "C"
23479 #endif
23480 /* We use char because int might match the return type of a gcc2
23481    builtin and then its argument prototype would still apply.  */
23482 char expl ();
23483 int
23484 main ()
23485 {
23486 expl ();
23487   ;
23488   return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493   (eval $ac_link) 2>conftest.er1
23494   ac_status=$?
23495   grep -v '^ *+' conftest.er1 >conftest.err
23496   rm -f conftest.er1
23497   cat conftest.err >&5
23498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499   (exit $ac_status); } &&
23500          { ac_try='test -z "$ac_c_werror_flag"
23501                          || test ! -s conftest.err'
23502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503   (eval $ac_try) 2>&5
23504   ac_status=$?
23505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506   (exit $ac_status); }; } &&
23507          { ac_try='test -s conftest$ac_exeext'
23508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23509   (eval $ac_try) 2>&5
23510   ac_status=$?
23511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512   (exit $ac_status); }; }; then
23513   ac_cv_lib_m_expl=yes
23514 else
23515   echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23517
23518 ac_cv_lib_m_expl=no
23519 fi
23520 rm -f conftest.err conftest.$ac_objext \
23521       conftest$ac_exeext conftest.$ac_ext
23522 LIBS=$ac_check_lib_save_LIBS
23523 fi
23524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23525 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23526 if test $ac_cv_lib_m_expl = yes; then
23527
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_EXPL 1
23530 _ACEOF
23531
23532 fi
23533
23534 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23535 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23536 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23537   echo $ECHO_N "(cached) $ECHO_C" >&6
23538 else
23539   ac_check_lib_save_LIBS=$LIBS
23540 LIBS="-lm  $LIBS"
23541 if test x$gcc_no_link = xyes; then
23542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23544    { (exit 1); exit 1; }; }
23545 fi
23546 cat >conftest.$ac_ext <<_ACEOF
23547 /* confdefs.h.  */
23548 _ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h.  */
23552
23553 /* Override any gcc2 internal prototype to avoid an error.  */
23554 #ifdef __cplusplus
23555 extern "C"
23556 #endif
23557 /* We use char because int might match the return type of a gcc2
23558    builtin and then its argument prototype would still apply.  */
23559 char cexpf ();
23560 int
23561 main ()
23562 {
23563 cexpf ();
23564   ;
23565   return 0;
23566 }
23567 _ACEOF
23568 rm -f conftest.$ac_objext conftest$ac_exeext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23570   (eval $ac_link) 2>conftest.er1
23571   ac_status=$?
23572   grep -v '^ *+' conftest.er1 >conftest.err
23573   rm -f conftest.er1
23574   cat conftest.err >&5
23575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576   (exit $ac_status); } &&
23577          { ac_try='test -z "$ac_c_werror_flag"
23578                          || test ! -s conftest.err'
23579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580   (eval $ac_try) 2>&5
23581   ac_status=$?
23582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583   (exit $ac_status); }; } &&
23584          { ac_try='test -s conftest$ac_exeext'
23585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586   (eval $ac_try) 2>&5
23587   ac_status=$?
23588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589   (exit $ac_status); }; }; then
23590   ac_cv_lib_m_cexpf=yes
23591 else
23592   echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23594
23595 ac_cv_lib_m_cexpf=no
23596 fi
23597 rm -f conftest.err conftest.$ac_objext \
23598       conftest$ac_exeext conftest.$ac_ext
23599 LIBS=$ac_check_lib_save_LIBS
23600 fi
23601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23602 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23603 if test $ac_cv_lib_m_cexpf = yes; then
23604
23605 cat >>confdefs.h <<\_ACEOF
23606 #define HAVE_CEXPF 1
23607 _ACEOF
23608
23609 fi
23610
23611 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23612 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23613 if test "${ac_cv_lib_m_cexp+set}" = set; then
23614   echo $ECHO_N "(cached) $ECHO_C" >&6
23615 else
23616   ac_check_lib_save_LIBS=$LIBS
23617 LIBS="-lm  $LIBS"
23618 if test x$gcc_no_link = xyes; then
23619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23621    { (exit 1); exit 1; }; }
23622 fi
23623 cat >conftest.$ac_ext <<_ACEOF
23624 /* confdefs.h.  */
23625 _ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h.  */
23629
23630 /* Override any gcc2 internal prototype to avoid an error.  */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 /* We use char because int might match the return type of a gcc2
23635    builtin and then its argument prototype would still apply.  */
23636 char cexp ();
23637 int
23638 main ()
23639 {
23640 cexp ();
23641   ;
23642   return 0;
23643 }
23644 _ACEOF
23645 rm -f conftest.$ac_objext conftest$ac_exeext
23646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23647   (eval $ac_link) 2>conftest.er1
23648   ac_status=$?
23649   grep -v '^ *+' conftest.er1 >conftest.err
23650   rm -f conftest.er1
23651   cat conftest.err >&5
23652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653   (exit $ac_status); } &&
23654          { ac_try='test -z "$ac_c_werror_flag"
23655                          || test ! -s conftest.err'
23656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657   (eval $ac_try) 2>&5
23658   ac_status=$?
23659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660   (exit $ac_status); }; } &&
23661          { ac_try='test -s conftest$ac_exeext'
23662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663   (eval $ac_try) 2>&5
23664   ac_status=$?
23665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666   (exit $ac_status); }; }; then
23667   ac_cv_lib_m_cexp=yes
23668 else
23669   echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_cv_lib_m_cexp=no
23673 fi
23674 rm -f conftest.err conftest.$ac_objext \
23675       conftest$ac_exeext conftest.$ac_ext
23676 LIBS=$ac_check_lib_save_LIBS
23677 fi
23678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23679 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23680 if test $ac_cv_lib_m_cexp = yes; then
23681
23682 cat >>confdefs.h <<\_ACEOF
23683 #define HAVE_CEXP 1
23684 _ACEOF
23685
23686 fi
23687
23688 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23689 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23690 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23691   echo $ECHO_N "(cached) $ECHO_C" >&6
23692 else
23693   ac_check_lib_save_LIBS=$LIBS
23694 LIBS="-lm  $LIBS"
23695 if test x$gcc_no_link = xyes; then
23696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23698    { (exit 1); exit 1; }; }
23699 fi
23700 cat >conftest.$ac_ext <<_ACEOF
23701 /* confdefs.h.  */
23702 _ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h.  */
23706
23707 /* Override any gcc2 internal prototype to avoid an error.  */
23708 #ifdef __cplusplus
23709 extern "C"
23710 #endif
23711 /* We use char because int might match the return type of a gcc2
23712    builtin and then its argument prototype would still apply.  */
23713 char cexpl ();
23714 int
23715 main ()
23716 {
23717 cexpl ();
23718   ;
23719   return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest.$ac_objext conftest$ac_exeext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23724   (eval $ac_link) 2>conftest.er1
23725   ac_status=$?
23726   grep -v '^ *+' conftest.er1 >conftest.err
23727   rm -f conftest.er1
23728   cat conftest.err >&5
23729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730   (exit $ac_status); } &&
23731          { ac_try='test -z "$ac_c_werror_flag"
23732                          || test ! -s conftest.err'
23733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734   (eval $ac_try) 2>&5
23735   ac_status=$?
23736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737   (exit $ac_status); }; } &&
23738          { ac_try='test -s conftest$ac_exeext'
23739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740   (eval $ac_try) 2>&5
23741   ac_status=$?
23742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743   (exit $ac_status); }; }; then
23744   ac_cv_lib_m_cexpl=yes
23745 else
23746   echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23748
23749 ac_cv_lib_m_cexpl=no
23750 fi
23751 rm -f conftest.err conftest.$ac_objext \
23752       conftest$ac_exeext conftest.$ac_ext
23753 LIBS=$ac_check_lib_save_LIBS
23754 fi
23755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23756 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23757 if test $ac_cv_lib_m_cexpl = yes; then
23758
23759 cat >>confdefs.h <<\_ACEOF
23760 #define HAVE_CEXPL 1
23761 _ACEOF
23762
23763 fi
23764
23765 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23766 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23767 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23768   echo $ECHO_N "(cached) $ECHO_C" >&6
23769 else
23770   ac_check_lib_save_LIBS=$LIBS
23771 LIBS="-lm  $LIBS"
23772 if test x$gcc_no_link = xyes; then
23773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23775    { (exit 1); exit 1; }; }
23776 fi
23777 cat >conftest.$ac_ext <<_ACEOF
23778 /* confdefs.h.  */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h.  */
23783
23784 /* Override any gcc2 internal prototype to avoid an error.  */
23785 #ifdef __cplusplus
23786 extern "C"
23787 #endif
23788 /* We use char because int might match the return type of a gcc2
23789    builtin and then its argument prototype would still apply.  */
23790 char fabsf ();
23791 int
23792 main ()
23793 {
23794 fabsf ();
23795   ;
23796   return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801   (eval $ac_link) 2>conftest.er1
23802   ac_status=$?
23803   grep -v '^ *+' conftest.er1 >conftest.err
23804   rm -f conftest.er1
23805   cat conftest.err >&5
23806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807   (exit $ac_status); } &&
23808          { ac_try='test -z "$ac_c_werror_flag"
23809                          || test ! -s conftest.err'
23810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811   (eval $ac_try) 2>&5
23812   ac_status=$?
23813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814   (exit $ac_status); }; } &&
23815          { ac_try='test -s conftest$ac_exeext'
23816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817   (eval $ac_try) 2>&5
23818   ac_status=$?
23819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820   (exit $ac_status); }; }; then
23821   ac_cv_lib_m_fabsf=yes
23822 else
23823   echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23825
23826 ac_cv_lib_m_fabsf=no
23827 fi
23828 rm -f conftest.err conftest.$ac_objext \
23829       conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23831 fi
23832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23833 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23834 if test $ac_cv_lib_m_fabsf = yes; then
23835
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_FABSF 1
23838 _ACEOF
23839
23840 fi
23841
23842 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23843 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23844 if test "${ac_cv_lib_m_fabs+set}" = set; then
23845   echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847   ac_check_lib_save_LIBS=$LIBS
23848 LIBS="-lm  $LIBS"
23849 if test x$gcc_no_link = xyes; then
23850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23852    { (exit 1); exit 1; }; }
23853 fi
23854 cat >conftest.$ac_ext <<_ACEOF
23855 /* confdefs.h.  */
23856 _ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h.  */
23860
23861 /* Override any gcc2 internal prototype to avoid an error.  */
23862 #ifdef __cplusplus
23863 extern "C"
23864 #endif
23865 /* We use char because int might match the return type of a gcc2
23866    builtin and then its argument prototype would still apply.  */
23867 char fabs ();
23868 int
23869 main ()
23870 {
23871 fabs ();
23872   ;
23873   return 0;
23874 }
23875 _ACEOF
23876 rm -f conftest.$ac_objext conftest$ac_exeext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23878   (eval $ac_link) 2>conftest.er1
23879   ac_status=$?
23880   grep -v '^ *+' conftest.er1 >conftest.err
23881   rm -f conftest.er1
23882   cat conftest.err >&5
23883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884   (exit $ac_status); } &&
23885          { ac_try='test -z "$ac_c_werror_flag"
23886                          || test ! -s conftest.err'
23887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888   (eval $ac_try) 2>&5
23889   ac_status=$?
23890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891   (exit $ac_status); }; } &&
23892          { ac_try='test -s conftest$ac_exeext'
23893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894   (eval $ac_try) 2>&5
23895   ac_status=$?
23896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897   (exit $ac_status); }; }; then
23898   ac_cv_lib_m_fabs=yes
23899 else
23900   echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23902
23903 ac_cv_lib_m_fabs=no
23904 fi
23905 rm -f conftest.err conftest.$ac_objext \
23906       conftest$ac_exeext conftest.$ac_ext
23907 LIBS=$ac_check_lib_save_LIBS
23908 fi
23909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23910 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23911 if test $ac_cv_lib_m_fabs = yes; then
23912
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_FABS 1
23915 _ACEOF
23916
23917 fi
23918
23919 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23920 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23921 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23922   echo $ECHO_N "(cached) $ECHO_C" >&6
23923 else
23924   ac_check_lib_save_LIBS=$LIBS
23925 LIBS="-lm  $LIBS"
23926 if test x$gcc_no_link = xyes; then
23927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23929    { (exit 1); exit 1; }; }
23930 fi
23931 cat >conftest.$ac_ext <<_ACEOF
23932 /* confdefs.h.  */
23933 _ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h.  */
23937
23938 /* Override any gcc2 internal prototype to avoid an error.  */
23939 #ifdef __cplusplus
23940 extern "C"
23941 #endif
23942 /* We use char because int might match the return type of a gcc2
23943    builtin and then its argument prototype would still apply.  */
23944 char fabsl ();
23945 int
23946 main ()
23947 {
23948 fabsl ();
23949   ;
23950   return 0;
23951 }
23952 _ACEOF
23953 rm -f conftest.$ac_objext conftest$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955   (eval $ac_link) 2>conftest.er1
23956   ac_status=$?
23957   grep -v '^ *+' conftest.er1 >conftest.err
23958   rm -f conftest.er1
23959   cat conftest.err >&5
23960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961   (exit $ac_status); } &&
23962          { ac_try='test -z "$ac_c_werror_flag"
23963                          || test ! -s conftest.err'
23964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965   (eval $ac_try) 2>&5
23966   ac_status=$?
23967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968   (exit $ac_status); }; } &&
23969          { ac_try='test -s conftest$ac_exeext'
23970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971   (eval $ac_try) 2>&5
23972   ac_status=$?
23973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974   (exit $ac_status); }; }; then
23975   ac_cv_lib_m_fabsl=yes
23976 else
23977   echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.$ac_ext >&5
23979
23980 ac_cv_lib_m_fabsl=no
23981 fi
23982 rm -f conftest.err conftest.$ac_objext \
23983       conftest$ac_exeext conftest.$ac_ext
23984 LIBS=$ac_check_lib_save_LIBS
23985 fi
23986 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23987 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23988 if test $ac_cv_lib_m_fabsl = yes; then
23989
23990 cat >>confdefs.h <<\_ACEOF
23991 #define HAVE_FABSL 1
23992 _ACEOF
23993
23994 fi
23995
23996 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23997 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23998 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23999   echo $ECHO_N "(cached) $ECHO_C" >&6
24000 else
24001   ac_check_lib_save_LIBS=$LIBS
24002 LIBS="-lm  $LIBS"
24003 if test x$gcc_no_link = xyes; then
24004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24006    { (exit 1); exit 1; }; }
24007 fi
24008 cat >conftest.$ac_ext <<_ACEOF
24009 /* confdefs.h.  */
24010 _ACEOF
24011 cat confdefs.h >>conftest.$ac_ext
24012 cat >>conftest.$ac_ext <<_ACEOF
24013 /* end confdefs.h.  */
24014
24015 /* Override any gcc2 internal prototype to avoid an error.  */
24016 #ifdef __cplusplus
24017 extern "C"
24018 #endif
24019 /* We use char because int might match the return type of a gcc2
24020    builtin and then its argument prototype would still apply.  */
24021 char cabsf ();
24022 int
24023 main ()
24024 {
24025 cabsf ();
24026   ;
24027   return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext conftest$ac_exeext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24032   (eval $ac_link) 2>conftest.er1
24033   ac_status=$?
24034   grep -v '^ *+' conftest.er1 >conftest.err
24035   rm -f conftest.er1
24036   cat conftest.err >&5
24037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038   (exit $ac_status); } &&
24039          { ac_try='test -z "$ac_c_werror_flag"
24040                          || test ! -s conftest.err'
24041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042   (eval $ac_try) 2>&5
24043   ac_status=$?
24044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045   (exit $ac_status); }; } &&
24046          { ac_try='test -s conftest$ac_exeext'
24047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048   (eval $ac_try) 2>&5
24049   ac_status=$?
24050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051   (exit $ac_status); }; }; then
24052   ac_cv_lib_m_cabsf=yes
24053 else
24054   echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24056
24057 ac_cv_lib_m_cabsf=no
24058 fi
24059 rm -f conftest.err conftest.$ac_objext \
24060       conftest$ac_exeext conftest.$ac_ext
24061 LIBS=$ac_check_lib_save_LIBS
24062 fi
24063 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24064 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24065 if test $ac_cv_lib_m_cabsf = yes; then
24066
24067 cat >>confdefs.h <<\_ACEOF
24068 #define HAVE_CABSF 1
24069 _ACEOF
24070
24071 fi
24072
24073 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24074 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24075 if test "${ac_cv_lib_m_cabs+set}" = set; then
24076   echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24078   ac_check_lib_save_LIBS=$LIBS
24079 LIBS="-lm  $LIBS"
24080 if test x$gcc_no_link = xyes; then
24081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24083    { (exit 1); exit 1; }; }
24084 fi
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h.  */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h.  */
24091
24092 /* Override any gcc2 internal prototype to avoid an error.  */
24093 #ifdef __cplusplus
24094 extern "C"
24095 #endif
24096 /* We use char because int might match the return type of a gcc2
24097    builtin and then its argument prototype would still apply.  */
24098 char cabs ();
24099 int
24100 main ()
24101 {
24102 cabs ();
24103   ;
24104   return 0;
24105 }
24106 _ACEOF
24107 rm -f conftest.$ac_objext conftest$ac_exeext
24108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24109   (eval $ac_link) 2>conftest.er1
24110   ac_status=$?
24111   grep -v '^ *+' conftest.er1 >conftest.err
24112   rm -f conftest.er1
24113   cat conftest.err >&5
24114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115   (exit $ac_status); } &&
24116          { ac_try='test -z "$ac_c_werror_flag"
24117                          || test ! -s conftest.err'
24118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24119   (eval $ac_try) 2>&5
24120   ac_status=$?
24121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122   (exit $ac_status); }; } &&
24123          { ac_try='test -s conftest$ac_exeext'
24124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125   (eval $ac_try) 2>&5
24126   ac_status=$?
24127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128   (exit $ac_status); }; }; then
24129   ac_cv_lib_m_cabs=yes
24130 else
24131   echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24133
24134 ac_cv_lib_m_cabs=no
24135 fi
24136 rm -f conftest.err conftest.$ac_objext \
24137       conftest$ac_exeext conftest.$ac_ext
24138 LIBS=$ac_check_lib_save_LIBS
24139 fi
24140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24141 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24142 if test $ac_cv_lib_m_cabs = yes; then
24143
24144 cat >>confdefs.h <<\_ACEOF
24145 #define HAVE_CABS 1
24146 _ACEOF
24147
24148 fi
24149
24150 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24151 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24152 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24153   echo $ECHO_N "(cached) $ECHO_C" >&6
24154 else
24155   ac_check_lib_save_LIBS=$LIBS
24156 LIBS="-lm  $LIBS"
24157 if test x$gcc_no_link = xyes; then
24158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24160    { (exit 1); exit 1; }; }
24161 fi
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h.  */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h.  */
24168
24169 /* Override any gcc2 internal prototype to avoid an error.  */
24170 #ifdef __cplusplus
24171 extern "C"
24172 #endif
24173 /* We use char because int might match the return type of a gcc2
24174    builtin and then its argument prototype would still apply.  */
24175 char cabsl ();
24176 int
24177 main ()
24178 {
24179 cabsl ();
24180   ;
24181   return 0;
24182 }
24183 _ACEOF
24184 rm -f conftest.$ac_objext conftest$ac_exeext
24185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24186   (eval $ac_link) 2>conftest.er1
24187   ac_status=$?
24188   grep -v '^ *+' conftest.er1 >conftest.err
24189   rm -f conftest.er1
24190   cat conftest.err >&5
24191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192   (exit $ac_status); } &&
24193          { ac_try='test -z "$ac_c_werror_flag"
24194                          || test ! -s conftest.err'
24195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196   (eval $ac_try) 2>&5
24197   ac_status=$?
24198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199   (exit $ac_status); }; } &&
24200          { ac_try='test -s conftest$ac_exeext'
24201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202   (eval $ac_try) 2>&5
24203   ac_status=$?
24204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205   (exit $ac_status); }; }; then
24206   ac_cv_lib_m_cabsl=yes
24207 else
24208   echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24210
24211 ac_cv_lib_m_cabsl=no
24212 fi
24213 rm -f conftest.err conftest.$ac_objext \
24214       conftest$ac_exeext conftest.$ac_ext
24215 LIBS=$ac_check_lib_save_LIBS
24216 fi
24217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24218 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24219 if test $ac_cv_lib_m_cabsl = yes; then
24220
24221 cat >>confdefs.h <<\_ACEOF
24222 #define HAVE_CABSL 1
24223 _ACEOF
24224
24225 fi
24226
24227 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24228 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24229 if test "${ac_cv_lib_m_floorf+set}" = set; then
24230   echo $ECHO_N "(cached) $ECHO_C" >&6
24231 else
24232   ac_check_lib_save_LIBS=$LIBS
24233 LIBS="-lm  $LIBS"
24234 if test x$gcc_no_link = xyes; then
24235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24237    { (exit 1); exit 1; }; }
24238 fi
24239 cat >conftest.$ac_ext <<_ACEOF
24240 /* confdefs.h.  */
24241 _ACEOF
24242 cat confdefs.h >>conftest.$ac_ext
24243 cat >>conftest.$ac_ext <<_ACEOF
24244 /* end confdefs.h.  */
24245
24246 /* Override any gcc2 internal prototype to avoid an error.  */
24247 #ifdef __cplusplus
24248 extern "C"
24249 #endif
24250 /* We use char because int might match the return type of a gcc2
24251    builtin and then its argument prototype would still apply.  */
24252 char floorf ();
24253 int
24254 main ()
24255 {
24256 floorf ();
24257   ;
24258   return 0;
24259 }
24260 _ACEOF
24261 rm -f conftest.$ac_objext conftest$ac_exeext
24262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24263   (eval $ac_link) 2>conftest.er1
24264   ac_status=$?
24265   grep -v '^ *+' conftest.er1 >conftest.err
24266   rm -f conftest.er1
24267   cat conftest.err >&5
24268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269   (exit $ac_status); } &&
24270          { ac_try='test -z "$ac_c_werror_flag"
24271                          || test ! -s conftest.err'
24272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273   (eval $ac_try) 2>&5
24274   ac_status=$?
24275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276   (exit $ac_status); }; } &&
24277          { ac_try='test -s conftest$ac_exeext'
24278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279   (eval $ac_try) 2>&5
24280   ac_status=$?
24281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282   (exit $ac_status); }; }; then
24283   ac_cv_lib_m_floorf=yes
24284 else
24285   echo "$as_me: failed program was:" >&5
24286 sed 's/^/| /' conftest.$ac_ext >&5
24287
24288 ac_cv_lib_m_floorf=no
24289 fi
24290 rm -f conftest.err conftest.$ac_objext \
24291       conftest$ac_exeext conftest.$ac_ext
24292 LIBS=$ac_check_lib_save_LIBS
24293 fi
24294 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24295 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24296 if test $ac_cv_lib_m_floorf = yes; then
24297
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_FLOORF 1
24300 _ACEOF
24301
24302 fi
24303
24304 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24305 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24306 if test "${ac_cv_lib_m_floor+set}" = set; then
24307   echo $ECHO_N "(cached) $ECHO_C" >&6
24308 else
24309   ac_check_lib_save_LIBS=$LIBS
24310 LIBS="-lm  $LIBS"
24311 if test x$gcc_no_link = xyes; then
24312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24314    { (exit 1); exit 1; }; }
24315 fi
24316 cat >conftest.$ac_ext <<_ACEOF
24317 /* confdefs.h.  */
24318 _ACEOF
24319 cat confdefs.h >>conftest.$ac_ext
24320 cat >>conftest.$ac_ext <<_ACEOF
24321 /* end confdefs.h.  */
24322
24323 /* Override any gcc2 internal prototype to avoid an error.  */
24324 #ifdef __cplusplus
24325 extern "C"
24326 #endif
24327 /* We use char because int might match the return type of a gcc2
24328    builtin and then its argument prototype would still apply.  */
24329 char floor ();
24330 int
24331 main ()
24332 {
24333 floor ();
24334   ;
24335   return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340   (eval $ac_link) 2>conftest.er1
24341   ac_status=$?
24342   grep -v '^ *+' conftest.er1 >conftest.err
24343   rm -f conftest.er1
24344   cat conftest.err >&5
24345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346   (exit $ac_status); } &&
24347          { ac_try='test -z "$ac_c_werror_flag"
24348                          || test ! -s conftest.err'
24349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350   (eval $ac_try) 2>&5
24351   ac_status=$?
24352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353   (exit $ac_status); }; } &&
24354          { ac_try='test -s conftest$ac_exeext'
24355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356   (eval $ac_try) 2>&5
24357   ac_status=$?
24358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359   (exit $ac_status); }; }; then
24360   ac_cv_lib_m_floor=yes
24361 else
24362   echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 ac_cv_lib_m_floor=no
24366 fi
24367 rm -f conftest.err conftest.$ac_objext \
24368       conftest$ac_exeext conftest.$ac_ext
24369 LIBS=$ac_check_lib_save_LIBS
24370 fi
24371 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24372 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24373 if test $ac_cv_lib_m_floor = yes; then
24374
24375 cat >>confdefs.h <<\_ACEOF
24376 #define HAVE_FLOOR 1
24377 _ACEOF
24378
24379 fi
24380
24381 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24382 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24383 if test "${ac_cv_lib_m_floorl+set}" = set; then
24384   echo $ECHO_N "(cached) $ECHO_C" >&6
24385 else
24386   ac_check_lib_save_LIBS=$LIBS
24387 LIBS="-lm  $LIBS"
24388 if test x$gcc_no_link = xyes; then
24389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24391    { (exit 1); exit 1; }; }
24392 fi
24393 cat >conftest.$ac_ext <<_ACEOF
24394 /* confdefs.h.  */
24395 _ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h.  */
24399
24400 /* Override any gcc2 internal prototype to avoid an error.  */
24401 #ifdef __cplusplus
24402 extern "C"
24403 #endif
24404 /* We use char because int might match the return type of a gcc2
24405    builtin and then its argument prototype would still apply.  */
24406 char floorl ();
24407 int
24408 main ()
24409 {
24410 floorl ();
24411   ;
24412   return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417   (eval $ac_link) 2>conftest.er1
24418   ac_status=$?
24419   grep -v '^ *+' conftest.er1 >conftest.err
24420   rm -f conftest.er1
24421   cat conftest.err >&5
24422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423   (exit $ac_status); } &&
24424          { ac_try='test -z "$ac_c_werror_flag"
24425                          || test ! -s conftest.err'
24426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427   (eval $ac_try) 2>&5
24428   ac_status=$?
24429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430   (exit $ac_status); }; } &&
24431          { ac_try='test -s conftest$ac_exeext'
24432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433   (eval $ac_try) 2>&5
24434   ac_status=$?
24435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436   (exit $ac_status); }; }; then
24437   ac_cv_lib_m_floorl=yes
24438 else
24439   echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24441
24442 ac_cv_lib_m_floorl=no
24443 fi
24444 rm -f conftest.err conftest.$ac_objext \
24445       conftest$ac_exeext conftest.$ac_ext
24446 LIBS=$ac_check_lib_save_LIBS
24447 fi
24448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24449 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24450 if test $ac_cv_lib_m_floorl = yes; then
24451
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_FLOORL 1
24454 _ACEOF
24455
24456 fi
24457
24458 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24459 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24460 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24461   echo $ECHO_N "(cached) $ECHO_C" >&6
24462 else
24463   ac_check_lib_save_LIBS=$LIBS
24464 LIBS="-lm  $LIBS"
24465 if test x$gcc_no_link = xyes; then
24466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24468    { (exit 1); exit 1; }; }
24469 fi
24470 cat >conftest.$ac_ext <<_ACEOF
24471 /* confdefs.h.  */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h.  */
24476
24477 /* Override any gcc2 internal prototype to avoid an error.  */
24478 #ifdef __cplusplus
24479 extern "C"
24480 #endif
24481 /* We use char because int might match the return type of a gcc2
24482    builtin and then its argument prototype would still apply.  */
24483 char fmodf ();
24484 int
24485 main ()
24486 {
24487 fmodf ();
24488   ;
24489   return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494   (eval $ac_link) 2>conftest.er1
24495   ac_status=$?
24496   grep -v '^ *+' conftest.er1 >conftest.err
24497   rm -f conftest.er1
24498   cat conftest.err >&5
24499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500   (exit $ac_status); } &&
24501          { ac_try='test -z "$ac_c_werror_flag"
24502                          || test ! -s conftest.err'
24503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504   (eval $ac_try) 2>&5
24505   ac_status=$?
24506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507   (exit $ac_status); }; } &&
24508          { ac_try='test -s conftest$ac_exeext'
24509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510   (eval $ac_try) 2>&5
24511   ac_status=$?
24512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513   (exit $ac_status); }; }; then
24514   ac_cv_lib_m_fmodf=yes
24515 else
24516   echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24518
24519 ac_cv_lib_m_fmodf=no
24520 fi
24521 rm -f conftest.err conftest.$ac_objext \
24522       conftest$ac_exeext conftest.$ac_ext
24523 LIBS=$ac_check_lib_save_LIBS
24524 fi
24525 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24526 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24527 if test $ac_cv_lib_m_fmodf = yes; then
24528
24529 cat >>confdefs.h <<\_ACEOF
24530 #define HAVE_FMODF 1
24531 _ACEOF
24532
24533 fi
24534
24535 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24536 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24537 if test "${ac_cv_lib_m_fmod+set}" = set; then
24538   echo $ECHO_N "(cached) $ECHO_C" >&6
24539 else
24540   ac_check_lib_save_LIBS=$LIBS
24541 LIBS="-lm  $LIBS"
24542 if test x$gcc_no_link = xyes; then
24543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24545    { (exit 1); exit 1; }; }
24546 fi
24547 cat >conftest.$ac_ext <<_ACEOF
24548 /* confdefs.h.  */
24549 _ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h.  */
24553
24554 /* Override any gcc2 internal prototype to avoid an error.  */
24555 #ifdef __cplusplus
24556 extern "C"
24557 #endif
24558 /* We use char because int might match the return type of a gcc2
24559    builtin and then its argument prototype would still apply.  */
24560 char fmod ();
24561 int
24562 main ()
24563 {
24564 fmod ();
24565   ;
24566   return 0;
24567 }
24568 _ACEOF
24569 rm -f conftest.$ac_objext conftest$ac_exeext
24570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24571   (eval $ac_link) 2>conftest.er1
24572   ac_status=$?
24573   grep -v '^ *+' conftest.er1 >conftest.err
24574   rm -f conftest.er1
24575   cat conftest.err >&5
24576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577   (exit $ac_status); } &&
24578          { ac_try='test -z "$ac_c_werror_flag"
24579                          || test ! -s conftest.err'
24580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581   (eval $ac_try) 2>&5
24582   ac_status=$?
24583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584   (exit $ac_status); }; } &&
24585          { ac_try='test -s conftest$ac_exeext'
24586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587   (eval $ac_try) 2>&5
24588   ac_status=$?
24589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590   (exit $ac_status); }; }; then
24591   ac_cv_lib_m_fmod=yes
24592 else
24593   echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24595
24596 ac_cv_lib_m_fmod=no
24597 fi
24598 rm -f conftest.err conftest.$ac_objext \
24599       conftest$ac_exeext conftest.$ac_ext
24600 LIBS=$ac_check_lib_save_LIBS
24601 fi
24602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24603 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24604 if test $ac_cv_lib_m_fmod = yes; then
24605
24606 cat >>confdefs.h <<\_ACEOF
24607 #define HAVE_FMOD 1
24608 _ACEOF
24609
24610 fi
24611
24612 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24613 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24614 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24615   echo $ECHO_N "(cached) $ECHO_C" >&6
24616 else
24617   ac_check_lib_save_LIBS=$LIBS
24618 LIBS="-lm  $LIBS"
24619 if test x$gcc_no_link = xyes; then
24620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24622    { (exit 1); exit 1; }; }
24623 fi
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h.  */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h.  */
24630
24631 /* Override any gcc2 internal prototype to avoid an error.  */
24632 #ifdef __cplusplus
24633 extern "C"
24634 #endif
24635 /* We use char because int might match the return type of a gcc2
24636    builtin and then its argument prototype would still apply.  */
24637 char fmodl ();
24638 int
24639 main ()
24640 {
24641 fmodl ();
24642   ;
24643   return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648   (eval $ac_link) 2>conftest.er1
24649   ac_status=$?
24650   grep -v '^ *+' conftest.er1 >conftest.err
24651   rm -f conftest.er1
24652   cat conftest.err >&5
24653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654   (exit $ac_status); } &&
24655          { ac_try='test -z "$ac_c_werror_flag"
24656                          || test ! -s conftest.err'
24657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658   (eval $ac_try) 2>&5
24659   ac_status=$?
24660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661   (exit $ac_status); }; } &&
24662          { ac_try='test -s conftest$ac_exeext'
24663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664   (eval $ac_try) 2>&5
24665   ac_status=$?
24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667   (exit $ac_status); }; }; then
24668   ac_cv_lib_m_fmodl=yes
24669 else
24670   echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24672
24673 ac_cv_lib_m_fmodl=no
24674 fi
24675 rm -f conftest.err conftest.$ac_objext \
24676       conftest$ac_exeext conftest.$ac_ext
24677 LIBS=$ac_check_lib_save_LIBS
24678 fi
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24680 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24681 if test $ac_cv_lib_m_fmodl = yes; then
24682
24683 cat >>confdefs.h <<\_ACEOF
24684 #define HAVE_FMODL 1
24685 _ACEOF
24686
24687 fi
24688
24689 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24690 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24691 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24692   echo $ECHO_N "(cached) $ECHO_C" >&6
24693 else
24694   ac_check_lib_save_LIBS=$LIBS
24695 LIBS="-lm  $LIBS"
24696 if test x$gcc_no_link = xyes; then
24697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24699    { (exit 1); exit 1; }; }
24700 fi
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h.  */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h.  */
24707
24708 /* Override any gcc2 internal prototype to avoid an error.  */
24709 #ifdef __cplusplus
24710 extern "C"
24711 #endif
24712 /* We use char because int might match the return type of a gcc2
24713    builtin and then its argument prototype would still apply.  */
24714 char frexpf ();
24715 int
24716 main ()
24717 {
24718 frexpf ();
24719   ;
24720   return 0;
24721 }
24722 _ACEOF
24723 rm -f conftest.$ac_objext conftest$ac_exeext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725   (eval $ac_link) 2>conftest.er1
24726   ac_status=$?
24727   grep -v '^ *+' conftest.er1 >conftest.err
24728   rm -f conftest.er1
24729   cat conftest.err >&5
24730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731   (exit $ac_status); } &&
24732          { ac_try='test -z "$ac_c_werror_flag"
24733                          || test ! -s conftest.err'
24734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735   (eval $ac_try) 2>&5
24736   ac_status=$?
24737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738   (exit $ac_status); }; } &&
24739          { ac_try='test -s conftest$ac_exeext'
24740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741   (eval $ac_try) 2>&5
24742   ac_status=$?
24743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744   (exit $ac_status); }; }; then
24745   ac_cv_lib_m_frexpf=yes
24746 else
24747   echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24749
24750 ac_cv_lib_m_frexpf=no
24751 fi
24752 rm -f conftest.err conftest.$ac_objext \
24753       conftest$ac_exeext conftest.$ac_ext
24754 LIBS=$ac_check_lib_save_LIBS
24755 fi
24756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24757 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24758 if test $ac_cv_lib_m_frexpf = yes; then
24759
24760 cat >>confdefs.h <<\_ACEOF
24761 #define HAVE_FREXPF 1
24762 _ACEOF
24763
24764 fi
24765
24766 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24767 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24768 if test "${ac_cv_lib_m_frexp+set}" = set; then
24769   echo $ECHO_N "(cached) $ECHO_C" >&6
24770 else
24771   ac_check_lib_save_LIBS=$LIBS
24772 LIBS="-lm  $LIBS"
24773 if test x$gcc_no_link = xyes; then
24774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776    { (exit 1); exit 1; }; }
24777 fi
24778 cat >conftest.$ac_ext <<_ACEOF
24779 /* confdefs.h.  */
24780 _ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h.  */
24784
24785 /* Override any gcc2 internal prototype to avoid an error.  */
24786 #ifdef __cplusplus
24787 extern "C"
24788 #endif
24789 /* We use char because int might match the return type of a gcc2
24790    builtin and then its argument prototype would still apply.  */
24791 char frexp ();
24792 int
24793 main ()
24794 {
24795 frexp ();
24796   ;
24797   return 0;
24798 }
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802   (eval $ac_link) 2>conftest.er1
24803   ac_status=$?
24804   grep -v '^ *+' conftest.er1 >conftest.err
24805   rm -f conftest.er1
24806   cat conftest.err >&5
24807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808   (exit $ac_status); } &&
24809          { ac_try='test -z "$ac_c_werror_flag"
24810                          || test ! -s conftest.err'
24811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812   (eval $ac_try) 2>&5
24813   ac_status=$?
24814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815   (exit $ac_status); }; } &&
24816          { ac_try='test -s conftest$ac_exeext'
24817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818   (eval $ac_try) 2>&5
24819   ac_status=$?
24820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821   (exit $ac_status); }; }; then
24822   ac_cv_lib_m_frexp=yes
24823 else
24824   echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24826
24827 ac_cv_lib_m_frexp=no
24828 fi
24829 rm -f conftest.err conftest.$ac_objext \
24830       conftest$ac_exeext conftest.$ac_ext
24831 LIBS=$ac_check_lib_save_LIBS
24832 fi
24833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24834 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24835 if test $ac_cv_lib_m_frexp = yes; then
24836
24837 cat >>confdefs.h <<\_ACEOF
24838 #define HAVE_FREXP 1
24839 _ACEOF
24840
24841 fi
24842
24843 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24844 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24845 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24846   echo $ECHO_N "(cached) $ECHO_C" >&6
24847 else
24848   ac_check_lib_save_LIBS=$LIBS
24849 LIBS="-lm  $LIBS"
24850 if test x$gcc_no_link = xyes; then
24851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24853    { (exit 1); exit 1; }; }
24854 fi
24855 cat >conftest.$ac_ext <<_ACEOF
24856 /* confdefs.h.  */
24857 _ACEOF
24858 cat confdefs.h >>conftest.$ac_ext
24859 cat >>conftest.$ac_ext <<_ACEOF
24860 /* end confdefs.h.  */
24861
24862 /* Override any gcc2 internal prototype to avoid an error.  */
24863 #ifdef __cplusplus
24864 extern "C"
24865 #endif
24866 /* We use char because int might match the return type of a gcc2
24867    builtin and then its argument prototype would still apply.  */
24868 char frexpl ();
24869 int
24870 main ()
24871 {
24872 frexpl ();
24873   ;
24874   return 0;
24875 }
24876 _ACEOF
24877 rm -f conftest.$ac_objext conftest$ac_exeext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24879   (eval $ac_link) 2>conftest.er1
24880   ac_status=$?
24881   grep -v '^ *+' conftest.er1 >conftest.err
24882   rm -f conftest.er1
24883   cat conftest.err >&5
24884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885   (exit $ac_status); } &&
24886          { ac_try='test -z "$ac_c_werror_flag"
24887                          || test ! -s conftest.err'
24888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889   (eval $ac_try) 2>&5
24890   ac_status=$?
24891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892   (exit $ac_status); }; } &&
24893          { ac_try='test -s conftest$ac_exeext'
24894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895   (eval $ac_try) 2>&5
24896   ac_status=$?
24897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898   (exit $ac_status); }; }; then
24899   ac_cv_lib_m_frexpl=yes
24900 else
24901   echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ac_cv_lib_m_frexpl=no
24905 fi
24906 rm -f conftest.err conftest.$ac_objext \
24907       conftest$ac_exeext conftest.$ac_ext
24908 LIBS=$ac_check_lib_save_LIBS
24909 fi
24910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24911 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24912 if test $ac_cv_lib_m_frexpl = yes; then
24913
24914 cat >>confdefs.h <<\_ACEOF
24915 #define HAVE_FREXPL 1
24916 _ACEOF
24917
24918 fi
24919
24920 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24921 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24922 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24923   echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24925   ac_check_lib_save_LIBS=$LIBS
24926 LIBS="-lm  $LIBS"
24927 if test x$gcc_no_link = xyes; then
24928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24930    { (exit 1); exit 1; }; }
24931 fi
24932 cat >conftest.$ac_ext <<_ACEOF
24933 /* confdefs.h.  */
24934 _ACEOF
24935 cat confdefs.h >>conftest.$ac_ext
24936 cat >>conftest.$ac_ext <<_ACEOF
24937 /* end confdefs.h.  */
24938
24939 /* Override any gcc2 internal prototype to avoid an error.  */
24940 #ifdef __cplusplus
24941 extern "C"
24942 #endif
24943 /* We use char because int might match the return type of a gcc2
24944    builtin and then its argument prototype would still apply.  */
24945 char hypotf ();
24946 int
24947 main ()
24948 {
24949 hypotf ();
24950   ;
24951   return 0;
24952 }
24953 _ACEOF
24954 rm -f conftest.$ac_objext conftest$ac_exeext
24955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24956   (eval $ac_link) 2>conftest.er1
24957   ac_status=$?
24958   grep -v '^ *+' conftest.er1 >conftest.err
24959   rm -f conftest.er1
24960   cat conftest.err >&5
24961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962   (exit $ac_status); } &&
24963          { ac_try='test -z "$ac_c_werror_flag"
24964                          || test ! -s conftest.err'
24965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966   (eval $ac_try) 2>&5
24967   ac_status=$?
24968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969   (exit $ac_status); }; } &&
24970          { ac_try='test -s conftest$ac_exeext'
24971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972   (eval $ac_try) 2>&5
24973   ac_status=$?
24974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975   (exit $ac_status); }; }; then
24976   ac_cv_lib_m_hypotf=yes
24977 else
24978   echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24980
24981 ac_cv_lib_m_hypotf=no
24982 fi
24983 rm -f conftest.err conftest.$ac_objext \
24984       conftest$ac_exeext conftest.$ac_ext
24985 LIBS=$ac_check_lib_save_LIBS
24986 fi
24987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24988 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24989 if test $ac_cv_lib_m_hypotf = yes; then
24990
24991 cat >>confdefs.h <<\_ACEOF
24992 #define HAVE_HYPOTF 1
24993 _ACEOF
24994
24995 fi
24996
24997 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24998 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24999 if test "${ac_cv_lib_m_hypot+set}" = set; then
25000   echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002   ac_check_lib_save_LIBS=$LIBS
25003 LIBS="-lm  $LIBS"
25004 if test x$gcc_no_link = xyes; then
25005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007    { (exit 1); exit 1; }; }
25008 fi
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h.  */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h.  */
25015
25016 /* Override any gcc2 internal prototype to avoid an error.  */
25017 #ifdef __cplusplus
25018 extern "C"
25019 #endif
25020 /* We use char because int might match the return type of a gcc2
25021    builtin and then its argument prototype would still apply.  */
25022 char hypot ();
25023 int
25024 main ()
25025 {
25026 hypot ();
25027   ;
25028   return 0;
25029 }
25030 _ACEOF
25031 rm -f conftest.$ac_objext conftest$ac_exeext
25032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25033   (eval $ac_link) 2>conftest.er1
25034   ac_status=$?
25035   grep -v '^ *+' conftest.er1 >conftest.err
25036   rm -f conftest.er1
25037   cat conftest.err >&5
25038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039   (exit $ac_status); } &&
25040          { ac_try='test -z "$ac_c_werror_flag"
25041                          || test ! -s conftest.err'
25042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043   (eval $ac_try) 2>&5
25044   ac_status=$?
25045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046   (exit $ac_status); }; } &&
25047          { ac_try='test -s conftest$ac_exeext'
25048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049   (eval $ac_try) 2>&5
25050   ac_status=$?
25051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052   (exit $ac_status); }; }; then
25053   ac_cv_lib_m_hypot=yes
25054 else
25055   echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.$ac_ext >&5
25057
25058 ac_cv_lib_m_hypot=no
25059 fi
25060 rm -f conftest.err conftest.$ac_objext \
25061       conftest$ac_exeext conftest.$ac_ext
25062 LIBS=$ac_check_lib_save_LIBS
25063 fi
25064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25065 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25066 if test $ac_cv_lib_m_hypot = yes; then
25067
25068 cat >>confdefs.h <<\_ACEOF
25069 #define HAVE_HYPOT 1
25070 _ACEOF
25071
25072 fi
25073
25074 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25075 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25076 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25077   echo $ECHO_N "(cached) $ECHO_C" >&6
25078 else
25079   ac_check_lib_save_LIBS=$LIBS
25080 LIBS="-lm  $LIBS"
25081 if test x$gcc_no_link = xyes; then
25082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25084    { (exit 1); exit 1; }; }
25085 fi
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h.  */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h.  */
25092
25093 /* Override any gcc2 internal prototype to avoid an error.  */
25094 #ifdef __cplusplus
25095 extern "C"
25096 #endif
25097 /* We use char because int might match the return type of a gcc2
25098    builtin and then its argument prototype would still apply.  */
25099 char hypotl ();
25100 int
25101 main ()
25102 {
25103 hypotl ();
25104   ;
25105   return 0;
25106 }
25107 _ACEOF
25108 rm -f conftest.$ac_objext conftest$ac_exeext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25110   (eval $ac_link) 2>conftest.er1
25111   ac_status=$?
25112   grep -v '^ *+' conftest.er1 >conftest.err
25113   rm -f conftest.er1
25114   cat conftest.err >&5
25115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116   (exit $ac_status); } &&
25117          { ac_try='test -z "$ac_c_werror_flag"
25118                          || test ! -s conftest.err'
25119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120   (eval $ac_try) 2>&5
25121   ac_status=$?
25122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123   (exit $ac_status); }; } &&
25124          { ac_try='test -s conftest$ac_exeext'
25125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126   (eval $ac_try) 2>&5
25127   ac_status=$?
25128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129   (exit $ac_status); }; }; then
25130   ac_cv_lib_m_hypotl=yes
25131 else
25132   echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 ac_cv_lib_m_hypotl=no
25136 fi
25137 rm -f conftest.err conftest.$ac_objext \
25138       conftest$ac_exeext conftest.$ac_ext
25139 LIBS=$ac_check_lib_save_LIBS
25140 fi
25141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25142 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25143 if test $ac_cv_lib_m_hypotl = yes; then
25144
25145 cat >>confdefs.h <<\_ACEOF
25146 #define HAVE_HYPOTL 1
25147 _ACEOF
25148
25149 fi
25150
25151 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25152 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25153 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25154   echo $ECHO_N "(cached) $ECHO_C" >&6
25155 else
25156   ac_check_lib_save_LIBS=$LIBS
25157 LIBS="-lm  $LIBS"
25158 if test x$gcc_no_link = xyes; then
25159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25161    { (exit 1); exit 1; }; }
25162 fi
25163 cat >conftest.$ac_ext <<_ACEOF
25164 /* confdefs.h.  */
25165 _ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h.  */
25169
25170 /* Override any gcc2 internal prototype to avoid an error.  */
25171 #ifdef __cplusplus
25172 extern "C"
25173 #endif
25174 /* We use char because int might match the return type of a gcc2
25175    builtin and then its argument prototype would still apply.  */
25176 char ldexpf ();
25177 int
25178 main ()
25179 {
25180 ldexpf ();
25181   ;
25182   return 0;
25183 }
25184 _ACEOF
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187   (eval $ac_link) 2>conftest.er1
25188   ac_status=$?
25189   grep -v '^ *+' conftest.er1 >conftest.err
25190   rm -f conftest.er1
25191   cat conftest.err >&5
25192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193   (exit $ac_status); } &&
25194          { ac_try='test -z "$ac_c_werror_flag"
25195                          || test ! -s conftest.err'
25196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197   (eval $ac_try) 2>&5
25198   ac_status=$?
25199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200   (exit $ac_status); }; } &&
25201          { ac_try='test -s conftest$ac_exeext'
25202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203   (eval $ac_try) 2>&5
25204   ac_status=$?
25205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206   (exit $ac_status); }; }; then
25207   ac_cv_lib_m_ldexpf=yes
25208 else
25209   echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.$ac_ext >&5
25211
25212 ac_cv_lib_m_ldexpf=no
25213 fi
25214 rm -f conftest.err conftest.$ac_objext \
25215       conftest$ac_exeext conftest.$ac_ext
25216 LIBS=$ac_check_lib_save_LIBS
25217 fi
25218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25219 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25220 if test $ac_cv_lib_m_ldexpf = yes; then
25221
25222 cat >>confdefs.h <<\_ACEOF
25223 #define HAVE_LDEXPF 1
25224 _ACEOF
25225
25226 fi
25227
25228 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25229 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25230 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25231   echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233   ac_check_lib_save_LIBS=$LIBS
25234 LIBS="-lm  $LIBS"
25235 if test x$gcc_no_link = xyes; then
25236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25238    { (exit 1); exit 1; }; }
25239 fi
25240 cat >conftest.$ac_ext <<_ACEOF
25241 /* confdefs.h.  */
25242 _ACEOF
25243 cat confdefs.h >>conftest.$ac_ext
25244 cat >>conftest.$ac_ext <<_ACEOF
25245 /* end confdefs.h.  */
25246
25247 /* Override any gcc2 internal prototype to avoid an error.  */
25248 #ifdef __cplusplus
25249 extern "C"
25250 #endif
25251 /* We use char because int might match the return type of a gcc2
25252    builtin and then its argument prototype would still apply.  */
25253 char ldexp ();
25254 int
25255 main ()
25256 {
25257 ldexp ();
25258   ;
25259   return 0;
25260 }
25261 _ACEOF
25262 rm -f conftest.$ac_objext conftest$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264   (eval $ac_link) 2>conftest.er1
25265   ac_status=$?
25266   grep -v '^ *+' conftest.er1 >conftest.err
25267   rm -f conftest.er1
25268   cat conftest.err >&5
25269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270   (exit $ac_status); } &&
25271          { ac_try='test -z "$ac_c_werror_flag"
25272                          || test ! -s conftest.err'
25273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274   (eval $ac_try) 2>&5
25275   ac_status=$?
25276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277   (exit $ac_status); }; } &&
25278          { ac_try='test -s conftest$ac_exeext'
25279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280   (eval $ac_try) 2>&5
25281   ac_status=$?
25282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283   (exit $ac_status); }; }; then
25284   ac_cv_lib_m_ldexp=yes
25285 else
25286   echo "$as_me: failed program was:" >&5
25287 sed 's/^/| /' conftest.$ac_ext >&5
25288
25289 ac_cv_lib_m_ldexp=no
25290 fi
25291 rm -f conftest.err conftest.$ac_objext \
25292       conftest$ac_exeext conftest.$ac_ext
25293 LIBS=$ac_check_lib_save_LIBS
25294 fi
25295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25296 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25297 if test $ac_cv_lib_m_ldexp = yes; then
25298
25299 cat >>confdefs.h <<\_ACEOF
25300 #define HAVE_LDEXP 1
25301 _ACEOF
25302
25303 fi
25304
25305 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25306 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25307 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25308   echo $ECHO_N "(cached) $ECHO_C" >&6
25309 else
25310   ac_check_lib_save_LIBS=$LIBS
25311 LIBS="-lm  $LIBS"
25312 if test x$gcc_no_link = xyes; then
25313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25315    { (exit 1); exit 1; }; }
25316 fi
25317 cat >conftest.$ac_ext <<_ACEOF
25318 /* confdefs.h.  */
25319 _ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h.  */
25323
25324 /* Override any gcc2 internal prototype to avoid an error.  */
25325 #ifdef __cplusplus
25326 extern "C"
25327 #endif
25328 /* We use char because int might match the return type of a gcc2
25329    builtin and then its argument prototype would still apply.  */
25330 char ldexpl ();
25331 int
25332 main ()
25333 {
25334 ldexpl ();
25335   ;
25336   return 0;
25337 }
25338 _ACEOF
25339 rm -f conftest.$ac_objext conftest$ac_exeext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341   (eval $ac_link) 2>conftest.er1
25342   ac_status=$?
25343   grep -v '^ *+' conftest.er1 >conftest.err
25344   rm -f conftest.er1
25345   cat conftest.err >&5
25346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347   (exit $ac_status); } &&
25348          { ac_try='test -z "$ac_c_werror_flag"
25349                          || test ! -s conftest.err'
25350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351   (eval $ac_try) 2>&5
25352   ac_status=$?
25353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354   (exit $ac_status); }; } &&
25355          { ac_try='test -s conftest$ac_exeext'
25356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25357   (eval $ac_try) 2>&5
25358   ac_status=$?
25359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360   (exit $ac_status); }; }; then
25361   ac_cv_lib_m_ldexpl=yes
25362 else
25363   echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25365
25366 ac_cv_lib_m_ldexpl=no
25367 fi
25368 rm -f conftest.err conftest.$ac_objext \
25369       conftest$ac_exeext conftest.$ac_ext
25370 LIBS=$ac_check_lib_save_LIBS
25371 fi
25372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25373 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25374 if test $ac_cv_lib_m_ldexpl = yes; then
25375
25376 cat >>confdefs.h <<\_ACEOF
25377 #define HAVE_LDEXPL 1
25378 _ACEOF
25379
25380 fi
25381
25382 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25383 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25384 if test "${ac_cv_lib_m_logf+set}" = set; then
25385   echo $ECHO_N "(cached) $ECHO_C" >&6
25386 else
25387   ac_check_lib_save_LIBS=$LIBS
25388 LIBS="-lm  $LIBS"
25389 if test x$gcc_no_link = xyes; then
25390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25392    { (exit 1); exit 1; }; }
25393 fi
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h.  */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h.  */
25400
25401 /* Override any gcc2 internal prototype to avoid an error.  */
25402 #ifdef __cplusplus
25403 extern "C"
25404 #endif
25405 /* We use char because int might match the return type of a gcc2
25406    builtin and then its argument prototype would still apply.  */
25407 char logf ();
25408 int
25409 main ()
25410 {
25411 logf ();
25412   ;
25413   return 0;
25414 }
25415 _ACEOF
25416 rm -f conftest.$ac_objext conftest$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418   (eval $ac_link) 2>conftest.er1
25419   ac_status=$?
25420   grep -v '^ *+' conftest.er1 >conftest.err
25421   rm -f conftest.er1
25422   cat conftest.err >&5
25423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424   (exit $ac_status); } &&
25425          { ac_try='test -z "$ac_c_werror_flag"
25426                          || test ! -s conftest.err'
25427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428   (eval $ac_try) 2>&5
25429   ac_status=$?
25430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431   (exit $ac_status); }; } &&
25432          { ac_try='test -s conftest$ac_exeext'
25433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434   (eval $ac_try) 2>&5
25435   ac_status=$?
25436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437   (exit $ac_status); }; }; then
25438   ac_cv_lib_m_logf=yes
25439 else
25440   echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25442
25443 ac_cv_lib_m_logf=no
25444 fi
25445 rm -f conftest.err conftest.$ac_objext \
25446       conftest$ac_exeext conftest.$ac_ext
25447 LIBS=$ac_check_lib_save_LIBS
25448 fi
25449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25450 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25451 if test $ac_cv_lib_m_logf = yes; then
25452
25453 cat >>confdefs.h <<\_ACEOF
25454 #define HAVE_LOGF 1
25455 _ACEOF
25456
25457 fi
25458
25459 echo "$as_me:$LINENO: checking for log in -lm" >&5
25460 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25461 if test "${ac_cv_lib_m_log+set}" = set; then
25462   echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464   ac_check_lib_save_LIBS=$LIBS
25465 LIBS="-lm  $LIBS"
25466 if test x$gcc_no_link = xyes; then
25467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25469    { (exit 1); exit 1; }; }
25470 fi
25471 cat >conftest.$ac_ext <<_ACEOF
25472 /* confdefs.h.  */
25473 _ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h.  */
25477
25478 /* Override any gcc2 internal prototype to avoid an error.  */
25479 #ifdef __cplusplus
25480 extern "C"
25481 #endif
25482 /* We use char because int might match the return type of a gcc2
25483    builtin and then its argument prototype would still apply.  */
25484 char log ();
25485 int
25486 main ()
25487 {
25488 log ();
25489   ;
25490   return 0;
25491 }
25492 _ACEOF
25493 rm -f conftest.$ac_objext conftest$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495   (eval $ac_link) 2>conftest.er1
25496   ac_status=$?
25497   grep -v '^ *+' conftest.er1 >conftest.err
25498   rm -f conftest.er1
25499   cat conftest.err >&5
25500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501   (exit $ac_status); } &&
25502          { ac_try='test -z "$ac_c_werror_flag"
25503                          || test ! -s conftest.err'
25504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505   (eval $ac_try) 2>&5
25506   ac_status=$?
25507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508   (exit $ac_status); }; } &&
25509          { ac_try='test -s conftest$ac_exeext'
25510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511   (eval $ac_try) 2>&5
25512   ac_status=$?
25513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514   (exit $ac_status); }; }; then
25515   ac_cv_lib_m_log=yes
25516 else
25517   echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25519
25520 ac_cv_lib_m_log=no
25521 fi
25522 rm -f conftest.err conftest.$ac_objext \
25523       conftest$ac_exeext conftest.$ac_ext
25524 LIBS=$ac_check_lib_save_LIBS
25525 fi
25526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25527 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25528 if test $ac_cv_lib_m_log = yes; then
25529
25530 cat >>confdefs.h <<\_ACEOF
25531 #define HAVE_LOG 1
25532 _ACEOF
25533
25534 fi
25535
25536 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25537 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25538 if test "${ac_cv_lib_m_logl+set}" = set; then
25539   echo $ECHO_N "(cached) $ECHO_C" >&6
25540 else
25541   ac_check_lib_save_LIBS=$LIBS
25542 LIBS="-lm  $LIBS"
25543 if test x$gcc_no_link = xyes; then
25544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25546    { (exit 1); exit 1; }; }
25547 fi
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h.  */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h.  */
25554
25555 /* Override any gcc2 internal prototype to avoid an error.  */
25556 #ifdef __cplusplus
25557 extern "C"
25558 #endif
25559 /* We use char because int might match the return type of a gcc2
25560    builtin and then its argument prototype would still apply.  */
25561 char logl ();
25562 int
25563 main ()
25564 {
25565 logl ();
25566   ;
25567   return 0;
25568 }
25569 _ACEOF
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572   (eval $ac_link) 2>conftest.er1
25573   ac_status=$?
25574   grep -v '^ *+' conftest.er1 >conftest.err
25575   rm -f conftest.er1
25576   cat conftest.err >&5
25577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578   (exit $ac_status); } &&
25579          { ac_try='test -z "$ac_c_werror_flag"
25580                          || test ! -s conftest.err'
25581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582   (eval $ac_try) 2>&5
25583   ac_status=$?
25584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585   (exit $ac_status); }; } &&
25586          { ac_try='test -s conftest$ac_exeext'
25587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588   (eval $ac_try) 2>&5
25589   ac_status=$?
25590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591   (exit $ac_status); }; }; then
25592   ac_cv_lib_m_logl=yes
25593 else
25594   echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25596
25597 ac_cv_lib_m_logl=no
25598 fi
25599 rm -f conftest.err conftest.$ac_objext \
25600       conftest$ac_exeext conftest.$ac_ext
25601 LIBS=$ac_check_lib_save_LIBS
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25604 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25605 if test $ac_cv_lib_m_logl = yes; then
25606
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_LOGL 1
25609 _ACEOF
25610
25611 fi
25612
25613 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25614 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25615 if test "${ac_cv_lib_m_clogf+set}" = set; then
25616   echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618   ac_check_lib_save_LIBS=$LIBS
25619 LIBS="-lm  $LIBS"
25620 if test x$gcc_no_link = xyes; then
25621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25623    { (exit 1); exit 1; }; }
25624 fi
25625 cat >conftest.$ac_ext <<_ACEOF
25626 /* confdefs.h.  */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h.  */
25631
25632 /* Override any gcc2 internal prototype to avoid an error.  */
25633 #ifdef __cplusplus
25634 extern "C"
25635 #endif
25636 /* We use char because int might match the return type of a gcc2
25637    builtin and then its argument prototype would still apply.  */
25638 char clogf ();
25639 int
25640 main ()
25641 {
25642 clogf ();
25643   ;
25644   return 0;
25645 }
25646 _ACEOF
25647 rm -f conftest.$ac_objext conftest$ac_exeext
25648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25649   (eval $ac_link) 2>conftest.er1
25650   ac_status=$?
25651   grep -v '^ *+' conftest.er1 >conftest.err
25652   rm -f conftest.er1
25653   cat conftest.err >&5
25654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655   (exit $ac_status); } &&
25656          { ac_try='test -z "$ac_c_werror_flag"
25657                          || test ! -s conftest.err'
25658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659   (eval $ac_try) 2>&5
25660   ac_status=$?
25661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662   (exit $ac_status); }; } &&
25663          { ac_try='test -s conftest$ac_exeext'
25664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665   (eval $ac_try) 2>&5
25666   ac_status=$?
25667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668   (exit $ac_status); }; }; then
25669   ac_cv_lib_m_clogf=yes
25670 else
25671   echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25673
25674 ac_cv_lib_m_clogf=no
25675 fi
25676 rm -f conftest.err conftest.$ac_objext \
25677       conftest$ac_exeext conftest.$ac_ext
25678 LIBS=$ac_check_lib_save_LIBS
25679 fi
25680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25681 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25682 if test $ac_cv_lib_m_clogf = yes; then
25683
25684 cat >>confdefs.h <<\_ACEOF
25685 #define HAVE_CLOGF 1
25686 _ACEOF
25687
25688 fi
25689
25690 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25691 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25692 if test "${ac_cv_lib_m_clog+set}" = set; then
25693   echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695   ac_check_lib_save_LIBS=$LIBS
25696 LIBS="-lm  $LIBS"
25697 if test x$gcc_no_link = xyes; then
25698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25700    { (exit 1); exit 1; }; }
25701 fi
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h.  */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h.  */
25708
25709 /* Override any gcc2 internal prototype to avoid an error.  */
25710 #ifdef __cplusplus
25711 extern "C"
25712 #endif
25713 /* We use char because int might match the return type of a gcc2
25714    builtin and then its argument prototype would still apply.  */
25715 char clog ();
25716 int
25717 main ()
25718 {
25719 clog ();
25720   ;
25721   return 0;
25722 }
25723 _ACEOF
25724 rm -f conftest.$ac_objext conftest$ac_exeext
25725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25726   (eval $ac_link) 2>conftest.er1
25727   ac_status=$?
25728   grep -v '^ *+' conftest.er1 >conftest.err
25729   rm -f conftest.er1
25730   cat conftest.err >&5
25731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732   (exit $ac_status); } &&
25733          { ac_try='test -z "$ac_c_werror_flag"
25734                          || test ! -s conftest.err'
25735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736   (eval $ac_try) 2>&5
25737   ac_status=$?
25738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739   (exit $ac_status); }; } &&
25740          { ac_try='test -s conftest$ac_exeext'
25741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742   (eval $ac_try) 2>&5
25743   ac_status=$?
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); }; }; then
25746   ac_cv_lib_m_clog=yes
25747 else
25748   echo "$as_me: failed program was:" >&5
25749 sed 's/^/| /' conftest.$ac_ext >&5
25750
25751 ac_cv_lib_m_clog=no
25752 fi
25753 rm -f conftest.err conftest.$ac_objext \
25754       conftest$ac_exeext conftest.$ac_ext
25755 LIBS=$ac_check_lib_save_LIBS
25756 fi
25757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25758 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25759 if test $ac_cv_lib_m_clog = yes; then
25760
25761 cat >>confdefs.h <<\_ACEOF
25762 #define HAVE_CLOG 1
25763 _ACEOF
25764
25765 fi
25766
25767 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25768 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25769 if test "${ac_cv_lib_m_clogl+set}" = set; then
25770   echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25772   ac_check_lib_save_LIBS=$LIBS
25773 LIBS="-lm  $LIBS"
25774 if test x$gcc_no_link = xyes; then
25775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25777    { (exit 1); exit 1; }; }
25778 fi
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h.  */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h.  */
25785
25786 /* Override any gcc2 internal prototype to avoid an error.  */
25787 #ifdef __cplusplus
25788 extern "C"
25789 #endif
25790 /* We use char because int might match the return type of a gcc2
25791    builtin and then its argument prototype would still apply.  */
25792 char clogl ();
25793 int
25794 main ()
25795 {
25796 clogl ();
25797   ;
25798   return 0;
25799 }
25800 _ACEOF
25801 rm -f conftest.$ac_objext conftest$ac_exeext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25803   (eval $ac_link) 2>conftest.er1
25804   ac_status=$?
25805   grep -v '^ *+' conftest.er1 >conftest.err
25806   rm -f conftest.er1
25807   cat conftest.err >&5
25808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809   (exit $ac_status); } &&
25810          { ac_try='test -z "$ac_c_werror_flag"
25811                          || test ! -s conftest.err'
25812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813   (eval $ac_try) 2>&5
25814   ac_status=$?
25815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816   (exit $ac_status); }; } &&
25817          { ac_try='test -s conftest$ac_exeext'
25818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819   (eval $ac_try) 2>&5
25820   ac_status=$?
25821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822   (exit $ac_status); }; }; then
25823   ac_cv_lib_m_clogl=yes
25824 else
25825   echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 ac_cv_lib_m_clogl=no
25829 fi
25830 rm -f conftest.err conftest.$ac_objext \
25831       conftest$ac_exeext conftest.$ac_ext
25832 LIBS=$ac_check_lib_save_LIBS
25833 fi
25834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25835 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25836 if test $ac_cv_lib_m_clogl = yes; then
25837
25838 cat >>confdefs.h <<\_ACEOF
25839 #define HAVE_CLOGL 1
25840 _ACEOF
25841
25842 fi
25843
25844 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25845 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25846 if test "${ac_cv_lib_m_log10f+set}" = set; then
25847   echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849   ac_check_lib_save_LIBS=$LIBS
25850 LIBS="-lm  $LIBS"
25851 if test x$gcc_no_link = xyes; then
25852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25854    { (exit 1); exit 1; }; }
25855 fi
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h.  */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h.  */
25862
25863 /* Override any gcc2 internal prototype to avoid an error.  */
25864 #ifdef __cplusplus
25865 extern "C"
25866 #endif
25867 /* We use char because int might match the return type of a gcc2
25868    builtin and then its argument prototype would still apply.  */
25869 char log10f ();
25870 int
25871 main ()
25872 {
25873 log10f ();
25874   ;
25875   return 0;
25876 }
25877 _ACEOF
25878 rm -f conftest.$ac_objext conftest$ac_exeext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25880   (eval $ac_link) 2>conftest.er1
25881   ac_status=$?
25882   grep -v '^ *+' conftest.er1 >conftest.err
25883   rm -f conftest.er1
25884   cat conftest.err >&5
25885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886   (exit $ac_status); } &&
25887          { ac_try='test -z "$ac_c_werror_flag"
25888                          || test ! -s conftest.err'
25889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890   (eval $ac_try) 2>&5
25891   ac_status=$?
25892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893   (exit $ac_status); }; } &&
25894          { ac_try='test -s conftest$ac_exeext'
25895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896   (eval $ac_try) 2>&5
25897   ac_status=$?
25898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899   (exit $ac_status); }; }; then
25900   ac_cv_lib_m_log10f=yes
25901 else
25902   echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 ac_cv_lib_m_log10f=no
25906 fi
25907 rm -f conftest.err conftest.$ac_objext \
25908       conftest$ac_exeext conftest.$ac_ext
25909 LIBS=$ac_check_lib_save_LIBS
25910 fi
25911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25912 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25913 if test $ac_cv_lib_m_log10f = yes; then
25914
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_LOG10F 1
25917 _ACEOF
25918
25919 fi
25920
25921 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25922 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25923 if test "${ac_cv_lib_m_log10+set}" = set; then
25924   echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25926   ac_check_lib_save_LIBS=$LIBS
25927 LIBS="-lm  $LIBS"
25928 if test x$gcc_no_link = xyes; then
25929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25931    { (exit 1); exit 1; }; }
25932 fi
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h.  */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h.  */
25939
25940 /* Override any gcc2 internal prototype to avoid an error.  */
25941 #ifdef __cplusplus
25942 extern "C"
25943 #endif
25944 /* We use char because int might match the return type of a gcc2
25945    builtin and then its argument prototype would still apply.  */
25946 char log10 ();
25947 int
25948 main ()
25949 {
25950 log10 ();
25951   ;
25952   return 0;
25953 }
25954 _ACEOF
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25957   (eval $ac_link) 2>conftest.er1
25958   ac_status=$?
25959   grep -v '^ *+' conftest.er1 >conftest.err
25960   rm -f conftest.er1
25961   cat conftest.err >&5
25962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963   (exit $ac_status); } &&
25964          { ac_try='test -z "$ac_c_werror_flag"
25965                          || test ! -s conftest.err'
25966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967   (eval $ac_try) 2>&5
25968   ac_status=$?
25969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970   (exit $ac_status); }; } &&
25971          { ac_try='test -s conftest$ac_exeext'
25972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973   (eval $ac_try) 2>&5
25974   ac_status=$?
25975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976   (exit $ac_status); }; }; then
25977   ac_cv_lib_m_log10=yes
25978 else
25979   echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25981
25982 ac_cv_lib_m_log10=no
25983 fi
25984 rm -f conftest.err conftest.$ac_objext \
25985       conftest$ac_exeext conftest.$ac_ext
25986 LIBS=$ac_check_lib_save_LIBS
25987 fi
25988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25989 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25990 if test $ac_cv_lib_m_log10 = yes; then
25991
25992 cat >>confdefs.h <<\_ACEOF
25993 #define HAVE_LOG10 1
25994 _ACEOF
25995
25996 fi
25997
25998 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25999 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
26000 if test "${ac_cv_lib_m_log10l+set}" = set; then
26001   echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003   ac_check_lib_save_LIBS=$LIBS
26004 LIBS="-lm  $LIBS"
26005 if test x$gcc_no_link = xyes; then
26006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26008    { (exit 1); exit 1; }; }
26009 fi
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h.  */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h.  */
26016
26017 /* Override any gcc2 internal prototype to avoid an error.  */
26018 #ifdef __cplusplus
26019 extern "C"
26020 #endif
26021 /* We use char because int might match the return type of a gcc2
26022    builtin and then its argument prototype would still apply.  */
26023 char log10l ();
26024 int
26025 main ()
26026 {
26027 log10l ();
26028   ;
26029   return 0;
26030 }
26031 _ACEOF
26032 rm -f conftest.$ac_objext conftest$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034   (eval $ac_link) 2>conftest.er1
26035   ac_status=$?
26036   grep -v '^ *+' conftest.er1 >conftest.err
26037   rm -f conftest.er1
26038   cat conftest.err >&5
26039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040   (exit $ac_status); } &&
26041          { ac_try='test -z "$ac_c_werror_flag"
26042                          || test ! -s conftest.err'
26043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044   (eval $ac_try) 2>&5
26045   ac_status=$?
26046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047   (exit $ac_status); }; } &&
26048          { ac_try='test -s conftest$ac_exeext'
26049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050   (eval $ac_try) 2>&5
26051   ac_status=$?
26052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053   (exit $ac_status); }; }; then
26054   ac_cv_lib_m_log10l=yes
26055 else
26056   echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_cv_lib_m_log10l=no
26060 fi
26061 rm -f conftest.err conftest.$ac_objext \
26062       conftest$ac_exeext conftest.$ac_ext
26063 LIBS=$ac_check_lib_save_LIBS
26064 fi
26065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26066 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26067 if test $ac_cv_lib_m_log10l = yes; then
26068
26069 cat >>confdefs.h <<\_ACEOF
26070 #define HAVE_LOG10L 1
26071 _ACEOF
26072
26073 fi
26074
26075 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26076 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26077 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26078   echo $ECHO_N "(cached) $ECHO_C" >&6
26079 else
26080   ac_check_lib_save_LIBS=$LIBS
26081 LIBS="-lm  $LIBS"
26082 if test x$gcc_no_link = xyes; then
26083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26085    { (exit 1); exit 1; }; }
26086 fi
26087 cat >conftest.$ac_ext <<_ACEOF
26088 /* confdefs.h.  */
26089 _ACEOF
26090 cat confdefs.h >>conftest.$ac_ext
26091 cat >>conftest.$ac_ext <<_ACEOF
26092 /* end confdefs.h.  */
26093
26094 /* Override any gcc2 internal prototype to avoid an error.  */
26095 #ifdef __cplusplus
26096 extern "C"
26097 #endif
26098 /* We use char because int might match the return type of a gcc2
26099    builtin and then its argument prototype would still apply.  */
26100 char clog10f ();
26101 int
26102 main ()
26103 {
26104 clog10f ();
26105   ;
26106   return 0;
26107 }
26108 _ACEOF
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111   (eval $ac_link) 2>conftest.er1
26112   ac_status=$?
26113   grep -v '^ *+' conftest.er1 >conftest.err
26114   rm -f conftest.er1
26115   cat conftest.err >&5
26116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117   (exit $ac_status); } &&
26118          { ac_try='test -z "$ac_c_werror_flag"
26119                          || test ! -s conftest.err'
26120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121   (eval $ac_try) 2>&5
26122   ac_status=$?
26123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124   (exit $ac_status); }; } &&
26125          { ac_try='test -s conftest$ac_exeext'
26126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127   (eval $ac_try) 2>&5
26128   ac_status=$?
26129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130   (exit $ac_status); }; }; then
26131   ac_cv_lib_m_clog10f=yes
26132 else
26133   echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26135
26136 ac_cv_lib_m_clog10f=no
26137 fi
26138 rm -f conftest.err conftest.$ac_objext \
26139       conftest$ac_exeext conftest.$ac_ext
26140 LIBS=$ac_check_lib_save_LIBS
26141 fi
26142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26143 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26144 if test $ac_cv_lib_m_clog10f = yes; then
26145
26146 cat >>confdefs.h <<\_ACEOF
26147 #define HAVE_CLOG10F 1
26148 _ACEOF
26149
26150 fi
26151
26152 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26153 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26154 if test "${ac_cv_lib_m_clog10+set}" = set; then
26155   echo $ECHO_N "(cached) $ECHO_C" >&6
26156 else
26157   ac_check_lib_save_LIBS=$LIBS
26158 LIBS="-lm  $LIBS"
26159 if test x$gcc_no_link = xyes; then
26160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26162    { (exit 1); exit 1; }; }
26163 fi
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h.  */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h.  */
26170
26171 /* Override any gcc2 internal prototype to avoid an error.  */
26172 #ifdef __cplusplus
26173 extern "C"
26174 #endif
26175 /* We use char because int might match the return type of a gcc2
26176    builtin and then its argument prototype would still apply.  */
26177 char clog10 ();
26178 int
26179 main ()
26180 {
26181 clog10 ();
26182   ;
26183   return 0;
26184 }
26185 _ACEOF
26186 rm -f conftest.$ac_objext conftest$ac_exeext
26187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26188   (eval $ac_link) 2>conftest.er1
26189   ac_status=$?
26190   grep -v '^ *+' conftest.er1 >conftest.err
26191   rm -f conftest.er1
26192   cat conftest.err >&5
26193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194   (exit $ac_status); } &&
26195          { ac_try='test -z "$ac_c_werror_flag"
26196                          || test ! -s conftest.err'
26197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26198   (eval $ac_try) 2>&5
26199   ac_status=$?
26200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201   (exit $ac_status); }; } &&
26202          { ac_try='test -s conftest$ac_exeext'
26203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204   (eval $ac_try) 2>&5
26205   ac_status=$?
26206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207   (exit $ac_status); }; }; then
26208   ac_cv_lib_m_clog10=yes
26209 else
26210   echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26212
26213 ac_cv_lib_m_clog10=no
26214 fi
26215 rm -f conftest.err conftest.$ac_objext \
26216       conftest$ac_exeext conftest.$ac_ext
26217 LIBS=$ac_check_lib_save_LIBS
26218 fi
26219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26220 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26221 if test $ac_cv_lib_m_clog10 = yes; then
26222
26223 cat >>confdefs.h <<\_ACEOF
26224 #define HAVE_CLOG10 1
26225 _ACEOF
26226
26227 fi
26228
26229 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26230 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26231 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26232   echo $ECHO_N "(cached) $ECHO_C" >&6
26233 else
26234   ac_check_lib_save_LIBS=$LIBS
26235 LIBS="-lm  $LIBS"
26236 if test x$gcc_no_link = xyes; then
26237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26239    { (exit 1); exit 1; }; }
26240 fi
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h.  */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h.  */
26247
26248 /* Override any gcc2 internal prototype to avoid an error.  */
26249 #ifdef __cplusplus
26250 extern "C"
26251 #endif
26252 /* We use char because int might match the return type of a gcc2
26253    builtin and then its argument prototype would still apply.  */
26254 char clog10l ();
26255 int
26256 main ()
26257 {
26258 clog10l ();
26259   ;
26260   return 0;
26261 }
26262 _ACEOF
26263 rm -f conftest.$ac_objext conftest$ac_exeext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26265   (eval $ac_link) 2>conftest.er1
26266   ac_status=$?
26267   grep -v '^ *+' conftest.er1 >conftest.err
26268   rm -f conftest.er1
26269   cat conftest.err >&5
26270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271   (exit $ac_status); } &&
26272          { ac_try='test -z "$ac_c_werror_flag"
26273                          || test ! -s conftest.err'
26274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275   (eval $ac_try) 2>&5
26276   ac_status=$?
26277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278   (exit $ac_status); }; } &&
26279          { ac_try='test -s conftest$ac_exeext'
26280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281   (eval $ac_try) 2>&5
26282   ac_status=$?
26283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284   (exit $ac_status); }; }; then
26285   ac_cv_lib_m_clog10l=yes
26286 else
26287   echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290 ac_cv_lib_m_clog10l=no
26291 fi
26292 rm -f conftest.err conftest.$ac_objext \
26293       conftest$ac_exeext conftest.$ac_ext
26294 LIBS=$ac_check_lib_save_LIBS
26295 fi
26296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26297 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26298 if test $ac_cv_lib_m_clog10l = yes; then
26299
26300 cat >>confdefs.h <<\_ACEOF
26301 #define HAVE_CLOG10L 1
26302 _ACEOF
26303
26304 fi
26305
26306 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26307 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26308 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26309   echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26311   ac_check_lib_save_LIBS=$LIBS
26312 LIBS="-lm  $LIBS"
26313 if test x$gcc_no_link = xyes; then
26314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26316    { (exit 1); exit 1; }; }
26317 fi
26318 cat >conftest.$ac_ext <<_ACEOF
26319 /* confdefs.h.  */
26320 _ACEOF
26321 cat confdefs.h >>conftest.$ac_ext
26322 cat >>conftest.$ac_ext <<_ACEOF
26323 /* end confdefs.h.  */
26324
26325 /* Override any gcc2 internal prototype to avoid an error.  */
26326 #ifdef __cplusplus
26327 extern "C"
26328 #endif
26329 /* We use char because int might match the return type of a gcc2
26330    builtin and then its argument prototype would still apply.  */
26331 char nextafterf ();
26332 int
26333 main ()
26334 {
26335 nextafterf ();
26336   ;
26337   return 0;
26338 }
26339 _ACEOF
26340 rm -f conftest.$ac_objext conftest$ac_exeext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26342   (eval $ac_link) 2>conftest.er1
26343   ac_status=$?
26344   grep -v '^ *+' conftest.er1 >conftest.err
26345   rm -f conftest.er1
26346   cat conftest.err >&5
26347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348   (exit $ac_status); } &&
26349          { ac_try='test -z "$ac_c_werror_flag"
26350                          || test ! -s conftest.err'
26351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352   (eval $ac_try) 2>&5
26353   ac_status=$?
26354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355   (exit $ac_status); }; } &&
26356          { ac_try='test -s conftest$ac_exeext'
26357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358   (eval $ac_try) 2>&5
26359   ac_status=$?
26360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361   (exit $ac_status); }; }; then
26362   ac_cv_lib_m_nextafterf=yes
26363 else
26364   echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26366
26367 ac_cv_lib_m_nextafterf=no
26368 fi
26369 rm -f conftest.err conftest.$ac_objext \
26370       conftest$ac_exeext conftest.$ac_ext
26371 LIBS=$ac_check_lib_save_LIBS
26372 fi
26373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26374 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26375 if test $ac_cv_lib_m_nextafterf = yes; then
26376
26377 cat >>confdefs.h <<\_ACEOF
26378 #define HAVE_NEXTAFTERF 1
26379 _ACEOF
26380
26381 fi
26382
26383 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26384 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26385 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26386   echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388   ac_check_lib_save_LIBS=$LIBS
26389 LIBS="-lm  $LIBS"
26390 if test x$gcc_no_link = xyes; then
26391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26393    { (exit 1); exit 1; }; }
26394 fi
26395 cat >conftest.$ac_ext <<_ACEOF
26396 /* confdefs.h.  */
26397 _ACEOF
26398 cat confdefs.h >>conftest.$ac_ext
26399 cat >>conftest.$ac_ext <<_ACEOF
26400 /* end confdefs.h.  */
26401
26402 /* Override any gcc2 internal prototype to avoid an error.  */
26403 #ifdef __cplusplus
26404 extern "C"
26405 #endif
26406 /* We use char because int might match the return type of a gcc2
26407    builtin and then its argument prototype would still apply.  */
26408 char nextafter ();
26409 int
26410 main ()
26411 {
26412 nextafter ();
26413   ;
26414   return 0;
26415 }
26416 _ACEOF
26417 rm -f conftest.$ac_objext conftest$ac_exeext
26418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26419   (eval $ac_link) 2>conftest.er1
26420   ac_status=$?
26421   grep -v '^ *+' conftest.er1 >conftest.err
26422   rm -f conftest.er1
26423   cat conftest.err >&5
26424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425   (exit $ac_status); } &&
26426          { ac_try='test -z "$ac_c_werror_flag"
26427                          || test ! -s conftest.err'
26428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429   (eval $ac_try) 2>&5
26430   ac_status=$?
26431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432   (exit $ac_status); }; } &&
26433          { ac_try='test -s conftest$ac_exeext'
26434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435   (eval $ac_try) 2>&5
26436   ac_status=$?
26437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438   (exit $ac_status); }; }; then
26439   ac_cv_lib_m_nextafter=yes
26440 else
26441   echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.$ac_ext >&5
26443
26444 ac_cv_lib_m_nextafter=no
26445 fi
26446 rm -f conftest.err conftest.$ac_objext \
26447       conftest$ac_exeext conftest.$ac_ext
26448 LIBS=$ac_check_lib_save_LIBS
26449 fi
26450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26451 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26452 if test $ac_cv_lib_m_nextafter = yes; then
26453
26454 cat >>confdefs.h <<\_ACEOF
26455 #define HAVE_NEXTAFTER 1
26456 _ACEOF
26457
26458 fi
26459
26460 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26461 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26462 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26463   echo $ECHO_N "(cached) $ECHO_C" >&6
26464 else
26465   ac_check_lib_save_LIBS=$LIBS
26466 LIBS="-lm  $LIBS"
26467 if test x$gcc_no_link = xyes; then
26468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26470    { (exit 1); exit 1; }; }
26471 fi
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h.  */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h.  */
26478
26479 /* Override any gcc2 internal prototype to avoid an error.  */
26480 #ifdef __cplusplus
26481 extern "C"
26482 #endif
26483 /* We use char because int might match the return type of a gcc2
26484    builtin and then its argument prototype would still apply.  */
26485 char nextafterl ();
26486 int
26487 main ()
26488 {
26489 nextafterl ();
26490   ;
26491   return 0;
26492 }
26493 _ACEOF
26494 rm -f conftest.$ac_objext conftest$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496   (eval $ac_link) 2>conftest.er1
26497   ac_status=$?
26498   grep -v '^ *+' conftest.er1 >conftest.err
26499   rm -f conftest.er1
26500   cat conftest.err >&5
26501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502   (exit $ac_status); } &&
26503          { ac_try='test -z "$ac_c_werror_flag"
26504                          || test ! -s conftest.err'
26505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506   (eval $ac_try) 2>&5
26507   ac_status=$?
26508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509   (exit $ac_status); }; } &&
26510          { ac_try='test -s conftest$ac_exeext'
26511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512   (eval $ac_try) 2>&5
26513   ac_status=$?
26514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515   (exit $ac_status); }; }; then
26516   ac_cv_lib_m_nextafterl=yes
26517 else
26518   echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ac_cv_lib_m_nextafterl=no
26522 fi
26523 rm -f conftest.err conftest.$ac_objext \
26524       conftest$ac_exeext conftest.$ac_ext
26525 LIBS=$ac_check_lib_save_LIBS
26526 fi
26527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26528 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26529 if test $ac_cv_lib_m_nextafterl = yes; then
26530
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_NEXTAFTERL 1
26533 _ACEOF
26534
26535 fi
26536
26537 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26538 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26539 if test "${ac_cv_lib_m_powf+set}" = set; then
26540   echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542   ac_check_lib_save_LIBS=$LIBS
26543 LIBS="-lm  $LIBS"
26544 if test x$gcc_no_link = xyes; then
26545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26547    { (exit 1); exit 1; }; }
26548 fi
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h.  */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h.  */
26555
26556 /* Override any gcc2 internal prototype to avoid an error.  */
26557 #ifdef __cplusplus
26558 extern "C"
26559 #endif
26560 /* We use char because int might match the return type of a gcc2
26561    builtin and then its argument prototype would still apply.  */
26562 char powf ();
26563 int
26564 main ()
26565 {
26566 powf ();
26567   ;
26568   return 0;
26569 }
26570 _ACEOF
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573   (eval $ac_link) 2>conftest.er1
26574   ac_status=$?
26575   grep -v '^ *+' conftest.er1 >conftest.err
26576   rm -f conftest.er1
26577   cat conftest.err >&5
26578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579   (exit $ac_status); } &&
26580          { ac_try='test -z "$ac_c_werror_flag"
26581                          || test ! -s conftest.err'
26582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583   (eval $ac_try) 2>&5
26584   ac_status=$?
26585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586   (exit $ac_status); }; } &&
26587          { ac_try='test -s conftest$ac_exeext'
26588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589   (eval $ac_try) 2>&5
26590   ac_status=$?
26591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592   (exit $ac_status); }; }; then
26593   ac_cv_lib_m_powf=yes
26594 else
26595   echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26597
26598 ac_cv_lib_m_powf=no
26599 fi
26600 rm -f conftest.err conftest.$ac_objext \
26601       conftest$ac_exeext conftest.$ac_ext
26602 LIBS=$ac_check_lib_save_LIBS
26603 fi
26604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26605 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26606 if test $ac_cv_lib_m_powf = yes; then
26607
26608 cat >>confdefs.h <<\_ACEOF
26609 #define HAVE_POWF 1
26610 _ACEOF
26611
26612 fi
26613
26614 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26615 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26616 if test "${ac_cv_lib_m_pow+set}" = set; then
26617   echo $ECHO_N "(cached) $ECHO_C" >&6
26618 else
26619   ac_check_lib_save_LIBS=$LIBS
26620 LIBS="-lm  $LIBS"
26621 if test x$gcc_no_link = xyes; then
26622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26624    { (exit 1); exit 1; }; }
26625 fi
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h.  */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h.  */
26632
26633 /* Override any gcc2 internal prototype to avoid an error.  */
26634 #ifdef __cplusplus
26635 extern "C"
26636 #endif
26637 /* We use char because int might match the return type of a gcc2
26638    builtin and then its argument prototype would still apply.  */
26639 char pow ();
26640 int
26641 main ()
26642 {
26643 pow ();
26644   ;
26645   return 0;
26646 }
26647 _ACEOF
26648 rm -f conftest.$ac_objext conftest$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650   (eval $ac_link) 2>conftest.er1
26651   ac_status=$?
26652   grep -v '^ *+' conftest.er1 >conftest.err
26653   rm -f conftest.er1
26654   cat conftest.err >&5
26655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656   (exit $ac_status); } &&
26657          { ac_try='test -z "$ac_c_werror_flag"
26658                          || test ! -s conftest.err'
26659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660   (eval $ac_try) 2>&5
26661   ac_status=$?
26662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663   (exit $ac_status); }; } &&
26664          { ac_try='test -s conftest$ac_exeext'
26665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666   (eval $ac_try) 2>&5
26667   ac_status=$?
26668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669   (exit $ac_status); }; }; then
26670   ac_cv_lib_m_pow=yes
26671 else
26672   echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 ac_cv_lib_m_pow=no
26676 fi
26677 rm -f conftest.err conftest.$ac_objext \
26678       conftest$ac_exeext conftest.$ac_ext
26679 LIBS=$ac_check_lib_save_LIBS
26680 fi
26681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26682 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26683 if test $ac_cv_lib_m_pow = yes; then
26684
26685 cat >>confdefs.h <<\_ACEOF
26686 #define HAVE_POW 1
26687 _ACEOF
26688
26689 fi
26690
26691 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26692 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26693 if test "${ac_cv_lib_m_powl+set}" = set; then
26694   echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696   ac_check_lib_save_LIBS=$LIBS
26697 LIBS="-lm  $LIBS"
26698 if test x$gcc_no_link = xyes; then
26699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26701    { (exit 1); exit 1; }; }
26702 fi
26703 cat >conftest.$ac_ext <<_ACEOF
26704 /* confdefs.h.  */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h.  */
26709
26710 /* Override any gcc2 internal prototype to avoid an error.  */
26711 #ifdef __cplusplus
26712 extern "C"
26713 #endif
26714 /* We use char because int might match the return type of a gcc2
26715    builtin and then its argument prototype would still apply.  */
26716 char powl ();
26717 int
26718 main ()
26719 {
26720 powl ();
26721   ;
26722   return 0;
26723 }
26724 _ACEOF
26725 rm -f conftest.$ac_objext conftest$ac_exeext
26726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26727   (eval $ac_link) 2>conftest.er1
26728   ac_status=$?
26729   grep -v '^ *+' conftest.er1 >conftest.err
26730   rm -f conftest.er1
26731   cat conftest.err >&5
26732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733   (exit $ac_status); } &&
26734          { ac_try='test -z "$ac_c_werror_flag"
26735                          || test ! -s conftest.err'
26736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737   (eval $ac_try) 2>&5
26738   ac_status=$?
26739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740   (exit $ac_status); }; } &&
26741          { ac_try='test -s conftest$ac_exeext'
26742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743   (eval $ac_try) 2>&5
26744   ac_status=$?
26745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746   (exit $ac_status); }; }; then
26747   ac_cv_lib_m_powl=yes
26748 else
26749   echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26751
26752 ac_cv_lib_m_powl=no
26753 fi
26754 rm -f conftest.err conftest.$ac_objext \
26755       conftest$ac_exeext conftest.$ac_ext
26756 LIBS=$ac_check_lib_save_LIBS
26757 fi
26758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26759 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26760 if test $ac_cv_lib_m_powl = yes; then
26761
26762 cat >>confdefs.h <<\_ACEOF
26763 #define HAVE_POWL 1
26764 _ACEOF
26765
26766 fi
26767
26768 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26769 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26770 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26771   echo $ECHO_N "(cached) $ECHO_C" >&6
26772 else
26773   ac_check_lib_save_LIBS=$LIBS
26774 LIBS="-lm  $LIBS"
26775 if test x$gcc_no_link = xyes; then
26776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26778    { (exit 1); exit 1; }; }
26779 fi
26780 cat >conftest.$ac_ext <<_ACEOF
26781 /* confdefs.h.  */
26782 _ACEOF
26783 cat confdefs.h >>conftest.$ac_ext
26784 cat >>conftest.$ac_ext <<_ACEOF
26785 /* end confdefs.h.  */
26786
26787 /* Override any gcc2 internal prototype to avoid an error.  */
26788 #ifdef __cplusplus
26789 extern "C"
26790 #endif
26791 /* We use char because int might match the return type of a gcc2
26792    builtin and then its argument prototype would still apply.  */
26793 char cpowf ();
26794 int
26795 main ()
26796 {
26797 cpowf ();
26798   ;
26799   return 0;
26800 }
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804   (eval $ac_link) 2>conftest.er1
26805   ac_status=$?
26806   grep -v '^ *+' conftest.er1 >conftest.err
26807   rm -f conftest.er1
26808   cat conftest.err >&5
26809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810   (exit $ac_status); } &&
26811          { ac_try='test -z "$ac_c_werror_flag"
26812                          || test ! -s conftest.err'
26813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814   (eval $ac_try) 2>&5
26815   ac_status=$?
26816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817   (exit $ac_status); }; } &&
26818          { ac_try='test -s conftest$ac_exeext'
26819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820   (eval $ac_try) 2>&5
26821   ac_status=$?
26822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823   (exit $ac_status); }; }; then
26824   ac_cv_lib_m_cpowf=yes
26825 else
26826   echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26828
26829 ac_cv_lib_m_cpowf=no
26830 fi
26831 rm -f conftest.err conftest.$ac_objext \
26832       conftest$ac_exeext conftest.$ac_ext
26833 LIBS=$ac_check_lib_save_LIBS
26834 fi
26835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26836 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26837 if test $ac_cv_lib_m_cpowf = yes; then
26838
26839 cat >>confdefs.h <<\_ACEOF
26840 #define HAVE_CPOWF 1
26841 _ACEOF
26842
26843 fi
26844
26845 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26846 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26847 if test "${ac_cv_lib_m_cpow+set}" = set; then
26848   echo $ECHO_N "(cached) $ECHO_C" >&6
26849 else
26850   ac_check_lib_save_LIBS=$LIBS
26851 LIBS="-lm  $LIBS"
26852 if test x$gcc_no_link = xyes; then
26853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26855    { (exit 1); exit 1; }; }
26856 fi
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h.  */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h.  */
26863
26864 /* Override any gcc2 internal prototype to avoid an error.  */
26865 #ifdef __cplusplus
26866 extern "C"
26867 #endif
26868 /* We use char because int might match the return type of a gcc2
26869    builtin and then its argument prototype would still apply.  */
26870 char cpow ();
26871 int
26872 main ()
26873 {
26874 cpow ();
26875   ;
26876   return 0;
26877 }
26878 _ACEOF
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881   (eval $ac_link) 2>conftest.er1
26882   ac_status=$?
26883   grep -v '^ *+' conftest.er1 >conftest.err
26884   rm -f conftest.er1
26885   cat conftest.err >&5
26886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887   (exit $ac_status); } &&
26888          { ac_try='test -z "$ac_c_werror_flag"
26889                          || test ! -s conftest.err'
26890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891   (eval $ac_try) 2>&5
26892   ac_status=$?
26893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894   (exit $ac_status); }; } &&
26895          { ac_try='test -s conftest$ac_exeext'
26896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897   (eval $ac_try) 2>&5
26898   ac_status=$?
26899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900   (exit $ac_status); }; }; then
26901   ac_cv_lib_m_cpow=yes
26902 else
26903   echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26905
26906 ac_cv_lib_m_cpow=no
26907 fi
26908 rm -f conftest.err conftest.$ac_objext \
26909       conftest$ac_exeext conftest.$ac_ext
26910 LIBS=$ac_check_lib_save_LIBS
26911 fi
26912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26913 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26914 if test $ac_cv_lib_m_cpow = yes; then
26915
26916 cat >>confdefs.h <<\_ACEOF
26917 #define HAVE_CPOW 1
26918 _ACEOF
26919
26920 fi
26921
26922 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26923 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26924 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26925   echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927   ac_check_lib_save_LIBS=$LIBS
26928 LIBS="-lm  $LIBS"
26929 if test x$gcc_no_link = xyes; then
26930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26932    { (exit 1); exit 1; }; }
26933 fi
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h.  */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h.  */
26940
26941 /* Override any gcc2 internal prototype to avoid an error.  */
26942 #ifdef __cplusplus
26943 extern "C"
26944 #endif
26945 /* We use char because int might match the return type of a gcc2
26946    builtin and then its argument prototype would still apply.  */
26947 char cpowl ();
26948 int
26949 main ()
26950 {
26951 cpowl ();
26952   ;
26953   return 0;
26954 }
26955 _ACEOF
26956 rm -f conftest.$ac_objext conftest$ac_exeext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26958   (eval $ac_link) 2>conftest.er1
26959   ac_status=$?
26960   grep -v '^ *+' conftest.er1 >conftest.err
26961   rm -f conftest.er1
26962   cat conftest.err >&5
26963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964   (exit $ac_status); } &&
26965          { ac_try='test -z "$ac_c_werror_flag"
26966                          || test ! -s conftest.err'
26967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968   (eval $ac_try) 2>&5
26969   ac_status=$?
26970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971   (exit $ac_status); }; } &&
26972          { ac_try='test -s conftest$ac_exeext'
26973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974   (eval $ac_try) 2>&5
26975   ac_status=$?
26976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977   (exit $ac_status); }; }; then
26978   ac_cv_lib_m_cpowl=yes
26979 else
26980   echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26982
26983 ac_cv_lib_m_cpowl=no
26984 fi
26985 rm -f conftest.err conftest.$ac_objext \
26986       conftest$ac_exeext conftest.$ac_ext
26987 LIBS=$ac_check_lib_save_LIBS
26988 fi
26989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26990 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26991 if test $ac_cv_lib_m_cpowl = yes; then
26992
26993 cat >>confdefs.h <<\_ACEOF
26994 #define HAVE_CPOWL 1
26995 _ACEOF
26996
26997 fi
26998
26999 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
27000 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
27001 if test "${ac_cv_lib_m_roundf+set}" = set; then
27002   echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004   ac_check_lib_save_LIBS=$LIBS
27005 LIBS="-lm  $LIBS"
27006 if test x$gcc_no_link = xyes; then
27007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27009    { (exit 1); exit 1; }; }
27010 fi
27011 cat >conftest.$ac_ext <<_ACEOF
27012 /* confdefs.h.  */
27013 _ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h.  */
27017
27018 /* Override any gcc2 internal prototype to avoid an error.  */
27019 #ifdef __cplusplus
27020 extern "C"
27021 #endif
27022 /* We use char because int might match the return type of a gcc2
27023    builtin and then its argument prototype would still apply.  */
27024 char roundf ();
27025 int
27026 main ()
27027 {
27028 roundf ();
27029   ;
27030   return 0;
27031 }
27032 _ACEOF
27033 rm -f conftest.$ac_objext conftest$ac_exeext
27034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27035   (eval $ac_link) 2>conftest.er1
27036   ac_status=$?
27037   grep -v '^ *+' conftest.er1 >conftest.err
27038   rm -f conftest.er1
27039   cat conftest.err >&5
27040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041   (exit $ac_status); } &&
27042          { ac_try='test -z "$ac_c_werror_flag"
27043                          || test ! -s conftest.err'
27044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27045   (eval $ac_try) 2>&5
27046   ac_status=$?
27047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048   (exit $ac_status); }; } &&
27049          { ac_try='test -s conftest$ac_exeext'
27050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051   (eval $ac_try) 2>&5
27052   ac_status=$?
27053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054   (exit $ac_status); }; }; then
27055   ac_cv_lib_m_roundf=yes
27056 else
27057   echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27059
27060 ac_cv_lib_m_roundf=no
27061 fi
27062 rm -f conftest.err conftest.$ac_objext \
27063       conftest$ac_exeext conftest.$ac_ext
27064 LIBS=$ac_check_lib_save_LIBS
27065 fi
27066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27067 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27068 if test $ac_cv_lib_m_roundf = yes; then
27069
27070 cat >>confdefs.h <<\_ACEOF
27071 #define HAVE_ROUNDF 1
27072 _ACEOF
27073
27074 fi
27075
27076 echo "$as_me:$LINENO: checking for round in -lm" >&5
27077 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27078 if test "${ac_cv_lib_m_round+set}" = set; then
27079   echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27081   ac_check_lib_save_LIBS=$LIBS
27082 LIBS="-lm  $LIBS"
27083 if test x$gcc_no_link = xyes; then
27084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27086    { (exit 1); exit 1; }; }
27087 fi
27088 cat >conftest.$ac_ext <<_ACEOF
27089 /* confdefs.h.  */
27090 _ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h.  */
27094
27095 /* Override any gcc2 internal prototype to avoid an error.  */
27096 #ifdef __cplusplus
27097 extern "C"
27098 #endif
27099 /* We use char because int might match the return type of a gcc2
27100    builtin and then its argument prototype would still apply.  */
27101 char round ();
27102 int
27103 main ()
27104 {
27105 round ();
27106   ;
27107   return 0;
27108 }
27109 _ACEOF
27110 rm -f conftest.$ac_objext conftest$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112   (eval $ac_link) 2>conftest.er1
27113   ac_status=$?
27114   grep -v '^ *+' conftest.er1 >conftest.err
27115   rm -f conftest.er1
27116   cat conftest.err >&5
27117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118   (exit $ac_status); } &&
27119          { ac_try='test -z "$ac_c_werror_flag"
27120                          || test ! -s conftest.err'
27121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122   (eval $ac_try) 2>&5
27123   ac_status=$?
27124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125   (exit $ac_status); }; } &&
27126          { ac_try='test -s conftest$ac_exeext'
27127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128   (eval $ac_try) 2>&5
27129   ac_status=$?
27130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131   (exit $ac_status); }; }; then
27132   ac_cv_lib_m_round=yes
27133 else
27134   echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27136
27137 ac_cv_lib_m_round=no
27138 fi
27139 rm -f conftest.err conftest.$ac_objext \
27140       conftest$ac_exeext conftest.$ac_ext
27141 LIBS=$ac_check_lib_save_LIBS
27142 fi
27143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27144 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27145 if test $ac_cv_lib_m_round = yes; then
27146
27147 cat >>confdefs.h <<\_ACEOF
27148 #define HAVE_ROUND 1
27149 _ACEOF
27150
27151 fi
27152
27153 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27154 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27155 if test "${ac_cv_lib_m_roundl+set}" = set; then
27156   echo $ECHO_N "(cached) $ECHO_C" >&6
27157 else
27158   ac_check_lib_save_LIBS=$LIBS
27159 LIBS="-lm  $LIBS"
27160 if test x$gcc_no_link = xyes; then
27161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27163    { (exit 1); exit 1; }; }
27164 fi
27165 cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h.  */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h.  */
27171
27172 /* Override any gcc2 internal prototype to avoid an error.  */
27173 #ifdef __cplusplus
27174 extern "C"
27175 #endif
27176 /* We use char because int might match the return type of a gcc2
27177    builtin and then its argument prototype would still apply.  */
27178 char roundl ();
27179 int
27180 main ()
27181 {
27182 roundl ();
27183   ;
27184   return 0;
27185 }
27186 _ACEOF
27187 rm -f conftest.$ac_objext conftest$ac_exeext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27189   (eval $ac_link) 2>conftest.er1
27190   ac_status=$?
27191   grep -v '^ *+' conftest.er1 >conftest.err
27192   rm -f conftest.er1
27193   cat conftest.err >&5
27194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195   (exit $ac_status); } &&
27196          { ac_try='test -z "$ac_c_werror_flag"
27197                          || test ! -s conftest.err'
27198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199   (eval $ac_try) 2>&5
27200   ac_status=$?
27201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202   (exit $ac_status); }; } &&
27203          { ac_try='test -s conftest$ac_exeext'
27204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205   (eval $ac_try) 2>&5
27206   ac_status=$?
27207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208   (exit $ac_status); }; }; then
27209   ac_cv_lib_m_roundl=yes
27210 else
27211   echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 ac_cv_lib_m_roundl=no
27215 fi
27216 rm -f conftest.err conftest.$ac_objext \
27217       conftest$ac_exeext conftest.$ac_ext
27218 LIBS=$ac_check_lib_save_LIBS
27219 fi
27220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27221 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27222 if test $ac_cv_lib_m_roundl = yes; then
27223
27224 cat >>confdefs.h <<\_ACEOF
27225 #define HAVE_ROUNDL 1
27226 _ACEOF
27227
27228 fi
27229
27230 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27231 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27232 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27233   echo $ECHO_N "(cached) $ECHO_C" >&6
27234 else
27235   ac_check_lib_save_LIBS=$LIBS
27236 LIBS="-lm  $LIBS"
27237 if test x$gcc_no_link = xyes; then
27238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27240    { (exit 1); exit 1; }; }
27241 fi
27242 cat >conftest.$ac_ext <<_ACEOF
27243 /* confdefs.h.  */
27244 _ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h.  */
27248
27249 /* Override any gcc2 internal prototype to avoid an error.  */
27250 #ifdef __cplusplus
27251 extern "C"
27252 #endif
27253 /* We use char because int might match the return type of a gcc2
27254    builtin and then its argument prototype would still apply.  */
27255 char lroundf ();
27256 int
27257 main ()
27258 {
27259 lroundf ();
27260   ;
27261   return 0;
27262 }
27263 _ACEOF
27264 rm -f conftest.$ac_objext conftest$ac_exeext
27265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27266   (eval $ac_link) 2>conftest.er1
27267   ac_status=$?
27268   grep -v '^ *+' conftest.er1 >conftest.err
27269   rm -f conftest.er1
27270   cat conftest.err >&5
27271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272   (exit $ac_status); } &&
27273          { ac_try='test -z "$ac_c_werror_flag"
27274                          || test ! -s conftest.err'
27275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276   (eval $ac_try) 2>&5
27277   ac_status=$?
27278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279   (exit $ac_status); }; } &&
27280          { ac_try='test -s conftest$ac_exeext'
27281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282   (eval $ac_try) 2>&5
27283   ac_status=$?
27284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285   (exit $ac_status); }; }; then
27286   ac_cv_lib_m_lroundf=yes
27287 else
27288   echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27290
27291 ac_cv_lib_m_lroundf=no
27292 fi
27293 rm -f conftest.err conftest.$ac_objext \
27294       conftest$ac_exeext conftest.$ac_ext
27295 LIBS=$ac_check_lib_save_LIBS
27296 fi
27297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27298 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27299 if test $ac_cv_lib_m_lroundf = yes; then
27300
27301 cat >>confdefs.h <<\_ACEOF
27302 #define HAVE_LROUNDF 1
27303 _ACEOF
27304
27305 fi
27306
27307 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27308 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27309 if test "${ac_cv_lib_m_lround+set}" = set; then
27310   echo $ECHO_N "(cached) $ECHO_C" >&6
27311 else
27312   ac_check_lib_save_LIBS=$LIBS
27313 LIBS="-lm  $LIBS"
27314 if test x$gcc_no_link = xyes; then
27315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27317    { (exit 1); exit 1; }; }
27318 fi
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h.  */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h.  */
27325
27326 /* Override any gcc2 internal prototype to avoid an error.  */
27327 #ifdef __cplusplus
27328 extern "C"
27329 #endif
27330 /* We use char because int might match the return type of a gcc2
27331    builtin and then its argument prototype would still apply.  */
27332 char lround ();
27333 int
27334 main ()
27335 {
27336 lround ();
27337   ;
27338   return 0;
27339 }
27340 _ACEOF
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343   (eval $ac_link) 2>conftest.er1
27344   ac_status=$?
27345   grep -v '^ *+' conftest.er1 >conftest.err
27346   rm -f conftest.er1
27347   cat conftest.err >&5
27348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349   (exit $ac_status); } &&
27350          { ac_try='test -z "$ac_c_werror_flag"
27351                          || test ! -s conftest.err'
27352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353   (eval $ac_try) 2>&5
27354   ac_status=$?
27355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356   (exit $ac_status); }; } &&
27357          { ac_try='test -s conftest$ac_exeext'
27358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359   (eval $ac_try) 2>&5
27360   ac_status=$?
27361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362   (exit $ac_status); }; }; then
27363   ac_cv_lib_m_lround=yes
27364 else
27365   echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368 ac_cv_lib_m_lround=no
27369 fi
27370 rm -f conftest.err conftest.$ac_objext \
27371       conftest$ac_exeext conftest.$ac_ext
27372 LIBS=$ac_check_lib_save_LIBS
27373 fi
27374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27375 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27376 if test $ac_cv_lib_m_lround = yes; then
27377
27378 cat >>confdefs.h <<\_ACEOF
27379 #define HAVE_LROUND 1
27380 _ACEOF
27381
27382 fi
27383
27384 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27385 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27386 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27387   echo $ECHO_N "(cached) $ECHO_C" >&6
27388 else
27389   ac_check_lib_save_LIBS=$LIBS
27390 LIBS="-lm  $LIBS"
27391 if test x$gcc_no_link = xyes; then
27392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27394    { (exit 1); exit 1; }; }
27395 fi
27396 cat >conftest.$ac_ext <<_ACEOF
27397 /* confdefs.h.  */
27398 _ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h.  */
27402
27403 /* Override any gcc2 internal prototype to avoid an error.  */
27404 #ifdef __cplusplus
27405 extern "C"
27406 #endif
27407 /* We use char because int might match the return type of a gcc2
27408    builtin and then its argument prototype would still apply.  */
27409 char lroundl ();
27410 int
27411 main ()
27412 {
27413 lroundl ();
27414   ;
27415   return 0;
27416 }
27417 _ACEOF
27418 rm -f conftest.$ac_objext conftest$ac_exeext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27420   (eval $ac_link) 2>conftest.er1
27421   ac_status=$?
27422   grep -v '^ *+' conftest.er1 >conftest.err
27423   rm -f conftest.er1
27424   cat conftest.err >&5
27425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426   (exit $ac_status); } &&
27427          { ac_try='test -z "$ac_c_werror_flag"
27428                          || test ! -s conftest.err'
27429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430   (eval $ac_try) 2>&5
27431   ac_status=$?
27432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433   (exit $ac_status); }; } &&
27434          { ac_try='test -s conftest$ac_exeext'
27435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436   (eval $ac_try) 2>&5
27437   ac_status=$?
27438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439   (exit $ac_status); }; }; then
27440   ac_cv_lib_m_lroundl=yes
27441 else
27442   echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27444
27445 ac_cv_lib_m_lroundl=no
27446 fi
27447 rm -f conftest.err conftest.$ac_objext \
27448       conftest$ac_exeext conftest.$ac_ext
27449 LIBS=$ac_check_lib_save_LIBS
27450 fi
27451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27452 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27453 if test $ac_cv_lib_m_lroundl = yes; then
27454
27455 cat >>confdefs.h <<\_ACEOF
27456 #define HAVE_LROUNDL 1
27457 _ACEOF
27458
27459 fi
27460
27461 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27462 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27463 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27464   echo $ECHO_N "(cached) $ECHO_C" >&6
27465 else
27466   ac_check_lib_save_LIBS=$LIBS
27467 LIBS="-lm  $LIBS"
27468 if test x$gcc_no_link = xyes; then
27469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27471    { (exit 1); exit 1; }; }
27472 fi
27473 cat >conftest.$ac_ext <<_ACEOF
27474 /* confdefs.h.  */
27475 _ACEOF
27476 cat confdefs.h >>conftest.$ac_ext
27477 cat >>conftest.$ac_ext <<_ACEOF
27478 /* end confdefs.h.  */
27479
27480 /* Override any gcc2 internal prototype to avoid an error.  */
27481 #ifdef __cplusplus
27482 extern "C"
27483 #endif
27484 /* We use char because int might match the return type of a gcc2
27485    builtin and then its argument prototype would still apply.  */
27486 char llroundf ();
27487 int
27488 main ()
27489 {
27490 llroundf ();
27491   ;
27492   return 0;
27493 }
27494 _ACEOF
27495 rm -f conftest.$ac_objext conftest$ac_exeext
27496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27497   (eval $ac_link) 2>conftest.er1
27498   ac_status=$?
27499   grep -v '^ *+' conftest.er1 >conftest.err
27500   rm -f conftest.er1
27501   cat conftest.err >&5
27502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503   (exit $ac_status); } &&
27504          { ac_try='test -z "$ac_c_werror_flag"
27505                          || test ! -s conftest.err'
27506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507   (eval $ac_try) 2>&5
27508   ac_status=$?
27509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510   (exit $ac_status); }; } &&
27511          { ac_try='test -s conftest$ac_exeext'
27512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513   (eval $ac_try) 2>&5
27514   ac_status=$?
27515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516   (exit $ac_status); }; }; then
27517   ac_cv_lib_m_llroundf=yes
27518 else
27519   echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27521
27522 ac_cv_lib_m_llroundf=no
27523 fi
27524 rm -f conftest.err conftest.$ac_objext \
27525       conftest$ac_exeext conftest.$ac_ext
27526 LIBS=$ac_check_lib_save_LIBS
27527 fi
27528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27529 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27530 if test $ac_cv_lib_m_llroundf = yes; then
27531
27532 cat >>confdefs.h <<\_ACEOF
27533 #define HAVE_LLROUNDF 1
27534 _ACEOF
27535
27536 fi
27537
27538 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27539 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27540 if test "${ac_cv_lib_m_llround+set}" = set; then
27541   echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27543   ac_check_lib_save_LIBS=$LIBS
27544 LIBS="-lm  $LIBS"
27545 if test x$gcc_no_link = xyes; then
27546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27548    { (exit 1); exit 1; }; }
27549 fi
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h.  */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h.  */
27556
27557 /* Override any gcc2 internal prototype to avoid an error.  */
27558 #ifdef __cplusplus
27559 extern "C"
27560 #endif
27561 /* We use char because int might match the return type of a gcc2
27562    builtin and then its argument prototype would still apply.  */
27563 char llround ();
27564 int
27565 main ()
27566 {
27567 llround ();
27568   ;
27569   return 0;
27570 }
27571 _ACEOF
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574   (eval $ac_link) 2>conftest.er1
27575   ac_status=$?
27576   grep -v '^ *+' conftest.er1 >conftest.err
27577   rm -f conftest.er1
27578   cat conftest.err >&5
27579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580   (exit $ac_status); } &&
27581          { ac_try='test -z "$ac_c_werror_flag"
27582                          || test ! -s conftest.err'
27583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584   (eval $ac_try) 2>&5
27585   ac_status=$?
27586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587   (exit $ac_status); }; } &&
27588          { ac_try='test -s conftest$ac_exeext'
27589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590   (eval $ac_try) 2>&5
27591   ac_status=$?
27592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593   (exit $ac_status); }; }; then
27594   ac_cv_lib_m_llround=yes
27595 else
27596   echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27598
27599 ac_cv_lib_m_llround=no
27600 fi
27601 rm -f conftest.err conftest.$ac_objext \
27602       conftest$ac_exeext conftest.$ac_ext
27603 LIBS=$ac_check_lib_save_LIBS
27604 fi
27605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27606 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27607 if test $ac_cv_lib_m_llround = yes; then
27608
27609 cat >>confdefs.h <<\_ACEOF
27610 #define HAVE_LLROUND 1
27611 _ACEOF
27612
27613 fi
27614
27615 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27616 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27617 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27618   echo $ECHO_N "(cached) $ECHO_C" >&6
27619 else
27620   ac_check_lib_save_LIBS=$LIBS
27621 LIBS="-lm  $LIBS"
27622 if test x$gcc_no_link = xyes; then
27623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27625    { (exit 1); exit 1; }; }
27626 fi
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h.  */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h.  */
27633
27634 /* Override any gcc2 internal prototype to avoid an error.  */
27635 #ifdef __cplusplus
27636 extern "C"
27637 #endif
27638 /* We use char because int might match the return type of a gcc2
27639    builtin and then its argument prototype would still apply.  */
27640 char llroundl ();
27641 int
27642 main ()
27643 {
27644 llroundl ();
27645   ;
27646   return 0;
27647 }
27648 _ACEOF
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651   (eval $ac_link) 2>conftest.er1
27652   ac_status=$?
27653   grep -v '^ *+' conftest.er1 >conftest.err
27654   rm -f conftest.er1
27655   cat conftest.err >&5
27656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657   (exit $ac_status); } &&
27658          { ac_try='test -z "$ac_c_werror_flag"
27659                          || test ! -s conftest.err'
27660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661   (eval $ac_try) 2>&5
27662   ac_status=$?
27663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664   (exit $ac_status); }; } &&
27665          { ac_try='test -s conftest$ac_exeext'
27666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667   (eval $ac_try) 2>&5
27668   ac_status=$?
27669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670   (exit $ac_status); }; }; then
27671   ac_cv_lib_m_llroundl=yes
27672 else
27673   echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27675
27676 ac_cv_lib_m_llroundl=no
27677 fi
27678 rm -f conftest.err conftest.$ac_objext \
27679       conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27681 fi
27682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27683 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27684 if test $ac_cv_lib_m_llroundl = yes; then
27685
27686 cat >>confdefs.h <<\_ACEOF
27687 #define HAVE_LLROUNDL 1
27688 _ACEOF
27689
27690 fi
27691
27692 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27693 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27694 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27695   echo $ECHO_N "(cached) $ECHO_C" >&6
27696 else
27697   ac_check_lib_save_LIBS=$LIBS
27698 LIBS="-lm  $LIBS"
27699 if test x$gcc_no_link = xyes; then
27700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27702    { (exit 1); exit 1; }; }
27703 fi
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h.  */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h.  */
27710
27711 /* Override any gcc2 internal prototype to avoid an error.  */
27712 #ifdef __cplusplus
27713 extern "C"
27714 #endif
27715 /* We use char because int might match the return type of a gcc2
27716    builtin and then its argument prototype would still apply.  */
27717 char scalbnf ();
27718 int
27719 main ()
27720 {
27721 scalbnf ();
27722   ;
27723   return 0;
27724 }
27725 _ACEOF
27726 rm -f conftest.$ac_objext conftest$ac_exeext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27728   (eval $ac_link) 2>conftest.er1
27729   ac_status=$?
27730   grep -v '^ *+' conftest.er1 >conftest.err
27731   rm -f conftest.er1
27732   cat conftest.err >&5
27733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734   (exit $ac_status); } &&
27735          { ac_try='test -z "$ac_c_werror_flag"
27736                          || test ! -s conftest.err'
27737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738   (eval $ac_try) 2>&5
27739   ac_status=$?
27740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741   (exit $ac_status); }; } &&
27742          { ac_try='test -s conftest$ac_exeext'
27743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744   (eval $ac_try) 2>&5
27745   ac_status=$?
27746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747   (exit $ac_status); }; }; then
27748   ac_cv_lib_m_scalbnf=yes
27749 else
27750   echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.$ac_ext >&5
27752
27753 ac_cv_lib_m_scalbnf=no
27754 fi
27755 rm -f conftest.err conftest.$ac_objext \
27756       conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27758 fi
27759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27760 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27761 if test $ac_cv_lib_m_scalbnf = yes; then
27762
27763 cat >>confdefs.h <<\_ACEOF
27764 #define HAVE_SCALBNF 1
27765 _ACEOF
27766
27767 fi
27768
27769 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27770 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27771 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27772   echo $ECHO_N "(cached) $ECHO_C" >&6
27773 else
27774   ac_check_lib_save_LIBS=$LIBS
27775 LIBS="-lm  $LIBS"
27776 if test x$gcc_no_link = xyes; then
27777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27779    { (exit 1); exit 1; }; }
27780 fi
27781 cat >conftest.$ac_ext <<_ACEOF
27782 /* confdefs.h.  */
27783 _ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h.  */
27787
27788 /* Override any gcc2 internal prototype to avoid an error.  */
27789 #ifdef __cplusplus
27790 extern "C"
27791 #endif
27792 /* We use char because int might match the return type of a gcc2
27793    builtin and then its argument prototype would still apply.  */
27794 char scalbn ();
27795 int
27796 main ()
27797 {
27798 scalbn ();
27799   ;
27800   return 0;
27801 }
27802 _ACEOF
27803 rm -f conftest.$ac_objext conftest$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805   (eval $ac_link) 2>conftest.er1
27806   ac_status=$?
27807   grep -v '^ *+' conftest.er1 >conftest.err
27808   rm -f conftest.er1
27809   cat conftest.err >&5
27810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811   (exit $ac_status); } &&
27812          { ac_try='test -z "$ac_c_werror_flag"
27813                          || test ! -s conftest.err'
27814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815   (eval $ac_try) 2>&5
27816   ac_status=$?
27817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818   (exit $ac_status); }; } &&
27819          { ac_try='test -s conftest$ac_exeext'
27820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27821   (eval $ac_try) 2>&5
27822   ac_status=$?
27823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824   (exit $ac_status); }; }; then
27825   ac_cv_lib_m_scalbn=yes
27826 else
27827   echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27829
27830 ac_cv_lib_m_scalbn=no
27831 fi
27832 rm -f conftest.err conftest.$ac_objext \
27833       conftest$ac_exeext conftest.$ac_ext
27834 LIBS=$ac_check_lib_save_LIBS
27835 fi
27836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27837 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27838 if test $ac_cv_lib_m_scalbn = yes; then
27839
27840 cat >>confdefs.h <<\_ACEOF
27841 #define HAVE_SCALBN 1
27842 _ACEOF
27843
27844 fi
27845
27846 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27847 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27848 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27849   echo $ECHO_N "(cached) $ECHO_C" >&6
27850 else
27851   ac_check_lib_save_LIBS=$LIBS
27852 LIBS="-lm  $LIBS"
27853 if test x$gcc_no_link = xyes; then
27854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27856    { (exit 1); exit 1; }; }
27857 fi
27858 cat >conftest.$ac_ext <<_ACEOF
27859 /* confdefs.h.  */
27860 _ACEOF
27861 cat confdefs.h >>conftest.$ac_ext
27862 cat >>conftest.$ac_ext <<_ACEOF
27863 /* end confdefs.h.  */
27864
27865 /* Override any gcc2 internal prototype to avoid an error.  */
27866 #ifdef __cplusplus
27867 extern "C"
27868 #endif
27869 /* We use char because int might match the return type of a gcc2
27870    builtin and then its argument prototype would still apply.  */
27871 char scalbnl ();
27872 int
27873 main ()
27874 {
27875 scalbnl ();
27876   ;
27877   return 0;
27878 }
27879 _ACEOF
27880 rm -f conftest.$ac_objext conftest$ac_exeext
27881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27882   (eval $ac_link) 2>conftest.er1
27883   ac_status=$?
27884   grep -v '^ *+' conftest.er1 >conftest.err
27885   rm -f conftest.er1
27886   cat conftest.err >&5
27887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888   (exit $ac_status); } &&
27889          { ac_try='test -z "$ac_c_werror_flag"
27890                          || test ! -s conftest.err'
27891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27892   (eval $ac_try) 2>&5
27893   ac_status=$?
27894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895   (exit $ac_status); }; } &&
27896          { ac_try='test -s conftest$ac_exeext'
27897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898   (eval $ac_try) 2>&5
27899   ac_status=$?
27900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901   (exit $ac_status); }; }; then
27902   ac_cv_lib_m_scalbnl=yes
27903 else
27904   echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27906
27907 ac_cv_lib_m_scalbnl=no
27908 fi
27909 rm -f conftest.err conftest.$ac_objext \
27910       conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27912 fi
27913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27914 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27915 if test $ac_cv_lib_m_scalbnl = yes; then
27916
27917 cat >>confdefs.h <<\_ACEOF
27918 #define HAVE_SCALBNL 1
27919 _ACEOF
27920
27921 fi
27922
27923 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27924 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27925 if test "${ac_cv_lib_m_sinf+set}" = set; then
27926   echo $ECHO_N "(cached) $ECHO_C" >&6
27927 else
27928   ac_check_lib_save_LIBS=$LIBS
27929 LIBS="-lm  $LIBS"
27930 if test x$gcc_no_link = xyes; then
27931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27933    { (exit 1); exit 1; }; }
27934 fi
27935 cat >conftest.$ac_ext <<_ACEOF
27936 /* confdefs.h.  */
27937 _ACEOF
27938 cat confdefs.h >>conftest.$ac_ext
27939 cat >>conftest.$ac_ext <<_ACEOF
27940 /* end confdefs.h.  */
27941
27942 /* Override any gcc2 internal prototype to avoid an error.  */
27943 #ifdef __cplusplus
27944 extern "C"
27945 #endif
27946 /* We use char because int might match the return type of a gcc2
27947    builtin and then its argument prototype would still apply.  */
27948 char sinf ();
27949 int
27950 main ()
27951 {
27952 sinf ();
27953   ;
27954   return 0;
27955 }
27956 _ACEOF
27957 rm -f conftest.$ac_objext conftest$ac_exeext
27958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27959   (eval $ac_link) 2>conftest.er1
27960   ac_status=$?
27961   grep -v '^ *+' conftest.er1 >conftest.err
27962   rm -f conftest.er1
27963   cat conftest.err >&5
27964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965   (exit $ac_status); } &&
27966          { ac_try='test -z "$ac_c_werror_flag"
27967                          || test ! -s conftest.err'
27968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969   (eval $ac_try) 2>&5
27970   ac_status=$?
27971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972   (exit $ac_status); }; } &&
27973          { ac_try='test -s conftest$ac_exeext'
27974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975   (eval $ac_try) 2>&5
27976   ac_status=$?
27977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978   (exit $ac_status); }; }; then
27979   ac_cv_lib_m_sinf=yes
27980 else
27981   echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27983
27984 ac_cv_lib_m_sinf=no
27985 fi
27986 rm -f conftest.err conftest.$ac_objext \
27987       conftest$ac_exeext conftest.$ac_ext
27988 LIBS=$ac_check_lib_save_LIBS
27989 fi
27990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27991 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27992 if test $ac_cv_lib_m_sinf = yes; then
27993
27994 cat >>confdefs.h <<\_ACEOF
27995 #define HAVE_SINF 1
27996 _ACEOF
27997
27998 fi
27999
28000 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28001 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28002 if test "${ac_cv_lib_m_sin+set}" = set; then
28003   echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005   ac_check_lib_save_LIBS=$LIBS
28006 LIBS="-lm  $LIBS"
28007 if test x$gcc_no_link = xyes; then
28008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28010    { (exit 1); exit 1; }; }
28011 fi
28012 cat >conftest.$ac_ext <<_ACEOF
28013 /* confdefs.h.  */
28014 _ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h.  */
28018
28019 /* Override any gcc2 internal prototype to avoid an error.  */
28020 #ifdef __cplusplus
28021 extern "C"
28022 #endif
28023 /* We use char because int might match the return type of a gcc2
28024    builtin and then its argument prototype would still apply.  */
28025 char sin ();
28026 int
28027 main ()
28028 {
28029 sin ();
28030   ;
28031   return 0;
28032 }
28033 _ACEOF
28034 rm -f conftest.$ac_objext conftest$ac_exeext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28036   (eval $ac_link) 2>conftest.er1
28037   ac_status=$?
28038   grep -v '^ *+' conftest.er1 >conftest.err
28039   rm -f conftest.er1
28040   cat conftest.err >&5
28041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042   (exit $ac_status); } &&
28043          { ac_try='test -z "$ac_c_werror_flag"
28044                          || test ! -s conftest.err'
28045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046   (eval $ac_try) 2>&5
28047   ac_status=$?
28048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049   (exit $ac_status); }; } &&
28050          { ac_try='test -s conftest$ac_exeext'
28051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052   (eval $ac_try) 2>&5
28053   ac_status=$?
28054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055   (exit $ac_status); }; }; then
28056   ac_cv_lib_m_sin=yes
28057 else
28058   echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28060
28061 ac_cv_lib_m_sin=no
28062 fi
28063 rm -f conftest.err conftest.$ac_objext \
28064       conftest$ac_exeext conftest.$ac_ext
28065 LIBS=$ac_check_lib_save_LIBS
28066 fi
28067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28068 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28069 if test $ac_cv_lib_m_sin = yes; then
28070
28071 cat >>confdefs.h <<\_ACEOF
28072 #define HAVE_SIN 1
28073 _ACEOF
28074
28075 fi
28076
28077 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28078 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28079 if test "${ac_cv_lib_m_sinl+set}" = set; then
28080   echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082   ac_check_lib_save_LIBS=$LIBS
28083 LIBS="-lm  $LIBS"
28084 if test x$gcc_no_link = xyes; then
28085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28087    { (exit 1); exit 1; }; }
28088 fi
28089 cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h.  */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h.  */
28095
28096 /* Override any gcc2 internal prototype to avoid an error.  */
28097 #ifdef __cplusplus
28098 extern "C"
28099 #endif
28100 /* We use char because int might match the return type of a gcc2
28101    builtin and then its argument prototype would still apply.  */
28102 char sinl ();
28103 int
28104 main ()
28105 {
28106 sinl ();
28107   ;
28108   return 0;
28109 }
28110 _ACEOF
28111 rm -f conftest.$ac_objext conftest$ac_exeext
28112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28113   (eval $ac_link) 2>conftest.er1
28114   ac_status=$?
28115   grep -v '^ *+' conftest.er1 >conftest.err
28116   rm -f conftest.er1
28117   cat conftest.err >&5
28118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119   (exit $ac_status); } &&
28120          { ac_try='test -z "$ac_c_werror_flag"
28121                          || test ! -s conftest.err'
28122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28123   (eval $ac_try) 2>&5
28124   ac_status=$?
28125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126   (exit $ac_status); }; } &&
28127          { ac_try='test -s conftest$ac_exeext'
28128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129   (eval $ac_try) 2>&5
28130   ac_status=$?
28131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132   (exit $ac_status); }; }; then
28133   ac_cv_lib_m_sinl=yes
28134 else
28135   echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28137
28138 ac_cv_lib_m_sinl=no
28139 fi
28140 rm -f conftest.err conftest.$ac_objext \
28141       conftest$ac_exeext conftest.$ac_ext
28142 LIBS=$ac_check_lib_save_LIBS
28143 fi
28144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28145 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28146 if test $ac_cv_lib_m_sinl = yes; then
28147
28148 cat >>confdefs.h <<\_ACEOF
28149 #define HAVE_SINL 1
28150 _ACEOF
28151
28152 fi
28153
28154 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28155 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28156 if test "${ac_cv_lib_m_csinf+set}" = set; then
28157   echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159   ac_check_lib_save_LIBS=$LIBS
28160 LIBS="-lm  $LIBS"
28161 if test x$gcc_no_link = xyes; then
28162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164    { (exit 1); exit 1; }; }
28165 fi
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h.  */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h.  */
28172
28173 /* Override any gcc2 internal prototype to avoid an error.  */
28174 #ifdef __cplusplus
28175 extern "C"
28176 #endif
28177 /* We use char because int might match the return type of a gcc2
28178    builtin and then its argument prototype would still apply.  */
28179 char csinf ();
28180 int
28181 main ()
28182 {
28183 csinf ();
28184   ;
28185   return 0;
28186 }
28187 _ACEOF
28188 rm -f conftest.$ac_objext conftest$ac_exeext
28189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28190   (eval $ac_link) 2>conftest.er1
28191   ac_status=$?
28192   grep -v '^ *+' conftest.er1 >conftest.err
28193   rm -f conftest.er1
28194   cat conftest.err >&5
28195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196   (exit $ac_status); } &&
28197          { ac_try='test -z "$ac_c_werror_flag"
28198                          || test ! -s conftest.err'
28199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200   (eval $ac_try) 2>&5
28201   ac_status=$?
28202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203   (exit $ac_status); }; } &&
28204          { ac_try='test -s conftest$ac_exeext'
28205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206   (eval $ac_try) 2>&5
28207   ac_status=$?
28208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209   (exit $ac_status); }; }; then
28210   ac_cv_lib_m_csinf=yes
28211 else
28212   echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28214
28215 ac_cv_lib_m_csinf=no
28216 fi
28217 rm -f conftest.err conftest.$ac_objext \
28218       conftest$ac_exeext conftest.$ac_ext
28219 LIBS=$ac_check_lib_save_LIBS
28220 fi
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28222 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28223 if test $ac_cv_lib_m_csinf = yes; then
28224
28225 cat >>confdefs.h <<\_ACEOF
28226 #define HAVE_CSINF 1
28227 _ACEOF
28228
28229 fi
28230
28231 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28232 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28233 if test "${ac_cv_lib_m_csin+set}" = set; then
28234   echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236   ac_check_lib_save_LIBS=$LIBS
28237 LIBS="-lm  $LIBS"
28238 if test x$gcc_no_link = xyes; then
28239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28241    { (exit 1); exit 1; }; }
28242 fi
28243 cat >conftest.$ac_ext <<_ACEOF
28244 /* confdefs.h.  */
28245 _ACEOF
28246 cat confdefs.h >>conftest.$ac_ext
28247 cat >>conftest.$ac_ext <<_ACEOF
28248 /* end confdefs.h.  */
28249
28250 /* Override any gcc2 internal prototype to avoid an error.  */
28251 #ifdef __cplusplus
28252 extern "C"
28253 #endif
28254 /* We use char because int might match the return type of a gcc2
28255    builtin and then its argument prototype would still apply.  */
28256 char csin ();
28257 int
28258 main ()
28259 {
28260 csin ();
28261   ;
28262   return 0;
28263 }
28264 _ACEOF
28265 rm -f conftest.$ac_objext conftest$ac_exeext
28266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28267   (eval $ac_link) 2>conftest.er1
28268   ac_status=$?
28269   grep -v '^ *+' conftest.er1 >conftest.err
28270   rm -f conftest.er1
28271   cat conftest.err >&5
28272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273   (exit $ac_status); } &&
28274          { ac_try='test -z "$ac_c_werror_flag"
28275                          || test ! -s conftest.err'
28276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277   (eval $ac_try) 2>&5
28278   ac_status=$?
28279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280   (exit $ac_status); }; } &&
28281          { ac_try='test -s conftest$ac_exeext'
28282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283   (eval $ac_try) 2>&5
28284   ac_status=$?
28285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286   (exit $ac_status); }; }; then
28287   ac_cv_lib_m_csin=yes
28288 else
28289   echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28291
28292 ac_cv_lib_m_csin=no
28293 fi
28294 rm -f conftest.err conftest.$ac_objext \
28295       conftest$ac_exeext conftest.$ac_ext
28296 LIBS=$ac_check_lib_save_LIBS
28297 fi
28298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28299 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28300 if test $ac_cv_lib_m_csin = yes; then
28301
28302 cat >>confdefs.h <<\_ACEOF
28303 #define HAVE_CSIN 1
28304 _ACEOF
28305
28306 fi
28307
28308 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28309 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28310 if test "${ac_cv_lib_m_csinl+set}" = set; then
28311   echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313   ac_check_lib_save_LIBS=$LIBS
28314 LIBS="-lm  $LIBS"
28315 if test x$gcc_no_link = xyes; then
28316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28318    { (exit 1); exit 1; }; }
28319 fi
28320 cat >conftest.$ac_ext <<_ACEOF
28321 /* confdefs.h.  */
28322 _ACEOF
28323 cat confdefs.h >>conftest.$ac_ext
28324 cat >>conftest.$ac_ext <<_ACEOF
28325 /* end confdefs.h.  */
28326
28327 /* Override any gcc2 internal prototype to avoid an error.  */
28328 #ifdef __cplusplus
28329 extern "C"
28330 #endif
28331 /* We use char because int might match the return type of a gcc2
28332    builtin and then its argument prototype would still apply.  */
28333 char csinl ();
28334 int
28335 main ()
28336 {
28337 csinl ();
28338   ;
28339   return 0;
28340 }
28341 _ACEOF
28342 rm -f conftest.$ac_objext conftest$ac_exeext
28343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28344   (eval $ac_link) 2>conftest.er1
28345   ac_status=$?
28346   grep -v '^ *+' conftest.er1 >conftest.err
28347   rm -f conftest.er1
28348   cat conftest.err >&5
28349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350   (exit $ac_status); } &&
28351          { ac_try='test -z "$ac_c_werror_flag"
28352                          || test ! -s conftest.err'
28353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28354   (eval $ac_try) 2>&5
28355   ac_status=$?
28356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357   (exit $ac_status); }; } &&
28358          { ac_try='test -s conftest$ac_exeext'
28359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360   (eval $ac_try) 2>&5
28361   ac_status=$?
28362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363   (exit $ac_status); }; }; then
28364   ac_cv_lib_m_csinl=yes
28365 else
28366   echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28368
28369 ac_cv_lib_m_csinl=no
28370 fi
28371 rm -f conftest.err conftest.$ac_objext \
28372       conftest$ac_exeext conftest.$ac_ext
28373 LIBS=$ac_check_lib_save_LIBS
28374 fi
28375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28376 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28377 if test $ac_cv_lib_m_csinl = yes; then
28378
28379 cat >>confdefs.h <<\_ACEOF
28380 #define HAVE_CSINL 1
28381 _ACEOF
28382
28383 fi
28384
28385 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28386 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28387 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28388   echo $ECHO_N "(cached) $ECHO_C" >&6
28389 else
28390   ac_check_lib_save_LIBS=$LIBS
28391 LIBS="-lm  $LIBS"
28392 if test x$gcc_no_link = xyes; then
28393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28395    { (exit 1); exit 1; }; }
28396 fi
28397 cat >conftest.$ac_ext <<_ACEOF
28398 /* confdefs.h.  */
28399 _ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h.  */
28403
28404 /* Override any gcc2 internal prototype to avoid an error.  */
28405 #ifdef __cplusplus
28406 extern "C"
28407 #endif
28408 /* We use char because int might match the return type of a gcc2
28409    builtin and then its argument prototype would still apply.  */
28410 char sinhf ();
28411 int
28412 main ()
28413 {
28414 sinhf ();
28415   ;
28416   return 0;
28417 }
28418 _ACEOF
28419 rm -f conftest.$ac_objext conftest$ac_exeext
28420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28421   (eval $ac_link) 2>conftest.er1
28422   ac_status=$?
28423   grep -v '^ *+' conftest.er1 >conftest.err
28424   rm -f conftest.er1
28425   cat conftest.err >&5
28426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427   (exit $ac_status); } &&
28428          { ac_try='test -z "$ac_c_werror_flag"
28429                          || test ! -s conftest.err'
28430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28431   (eval $ac_try) 2>&5
28432   ac_status=$?
28433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434   (exit $ac_status); }; } &&
28435          { ac_try='test -s conftest$ac_exeext'
28436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437   (eval $ac_try) 2>&5
28438   ac_status=$?
28439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440   (exit $ac_status); }; }; then
28441   ac_cv_lib_m_sinhf=yes
28442 else
28443   echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28445
28446 ac_cv_lib_m_sinhf=no
28447 fi
28448 rm -f conftest.err conftest.$ac_objext \
28449       conftest$ac_exeext conftest.$ac_ext
28450 LIBS=$ac_check_lib_save_LIBS
28451 fi
28452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28453 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28454 if test $ac_cv_lib_m_sinhf = yes; then
28455
28456 cat >>confdefs.h <<\_ACEOF
28457 #define HAVE_SINHF 1
28458 _ACEOF
28459
28460 fi
28461
28462 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28463 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28464 if test "${ac_cv_lib_m_sinh+set}" = set; then
28465   echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467   ac_check_lib_save_LIBS=$LIBS
28468 LIBS="-lm  $LIBS"
28469 if test x$gcc_no_link = xyes; then
28470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28472    { (exit 1); exit 1; }; }
28473 fi
28474 cat >conftest.$ac_ext <<_ACEOF
28475 /* confdefs.h.  */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h.  */
28480
28481 /* Override any gcc2 internal prototype to avoid an error.  */
28482 #ifdef __cplusplus
28483 extern "C"
28484 #endif
28485 /* We use char because int might match the return type of a gcc2
28486    builtin and then its argument prototype would still apply.  */
28487 char sinh ();
28488 int
28489 main ()
28490 {
28491 sinh ();
28492   ;
28493   return 0;
28494 }
28495 _ACEOF
28496 rm -f conftest.$ac_objext conftest$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498   (eval $ac_link) 2>conftest.er1
28499   ac_status=$?
28500   grep -v '^ *+' conftest.er1 >conftest.err
28501   rm -f conftest.er1
28502   cat conftest.err >&5
28503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504   (exit $ac_status); } &&
28505          { ac_try='test -z "$ac_c_werror_flag"
28506                          || test ! -s conftest.err'
28507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28508   (eval $ac_try) 2>&5
28509   ac_status=$?
28510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511   (exit $ac_status); }; } &&
28512          { ac_try='test -s conftest$ac_exeext'
28513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514   (eval $ac_try) 2>&5
28515   ac_status=$?
28516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517   (exit $ac_status); }; }; then
28518   ac_cv_lib_m_sinh=yes
28519 else
28520   echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28522
28523 ac_cv_lib_m_sinh=no
28524 fi
28525 rm -f conftest.err conftest.$ac_objext \
28526       conftest$ac_exeext conftest.$ac_ext
28527 LIBS=$ac_check_lib_save_LIBS
28528 fi
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28530 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28531 if test $ac_cv_lib_m_sinh = yes; then
28532
28533 cat >>confdefs.h <<\_ACEOF
28534 #define HAVE_SINH 1
28535 _ACEOF
28536
28537 fi
28538
28539 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28540 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28541 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28542   echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544   ac_check_lib_save_LIBS=$LIBS
28545 LIBS="-lm  $LIBS"
28546 if test x$gcc_no_link = xyes; then
28547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28549    { (exit 1); exit 1; }; }
28550 fi
28551 cat >conftest.$ac_ext <<_ACEOF
28552 /* confdefs.h.  */
28553 _ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h.  */
28557
28558 /* Override any gcc2 internal prototype to avoid an error.  */
28559 #ifdef __cplusplus
28560 extern "C"
28561 #endif
28562 /* We use char because int might match the return type of a gcc2
28563    builtin and then its argument prototype would still apply.  */
28564 char sinhl ();
28565 int
28566 main ()
28567 {
28568 sinhl ();
28569   ;
28570   return 0;
28571 }
28572 _ACEOF
28573 rm -f conftest.$ac_objext conftest$ac_exeext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28575   (eval $ac_link) 2>conftest.er1
28576   ac_status=$?
28577   grep -v '^ *+' conftest.er1 >conftest.err
28578   rm -f conftest.er1
28579   cat conftest.err >&5
28580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581   (exit $ac_status); } &&
28582          { ac_try='test -z "$ac_c_werror_flag"
28583                          || test ! -s conftest.err'
28584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585   (eval $ac_try) 2>&5
28586   ac_status=$?
28587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588   (exit $ac_status); }; } &&
28589          { ac_try='test -s conftest$ac_exeext'
28590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591   (eval $ac_try) 2>&5
28592   ac_status=$?
28593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594   (exit $ac_status); }; }; then
28595   ac_cv_lib_m_sinhl=yes
28596 else
28597   echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28599
28600 ac_cv_lib_m_sinhl=no
28601 fi
28602 rm -f conftest.err conftest.$ac_objext \
28603       conftest$ac_exeext conftest.$ac_ext
28604 LIBS=$ac_check_lib_save_LIBS
28605 fi
28606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28607 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28608 if test $ac_cv_lib_m_sinhl = yes; then
28609
28610 cat >>confdefs.h <<\_ACEOF
28611 #define HAVE_SINHL 1
28612 _ACEOF
28613
28614 fi
28615
28616 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28617 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28618 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28619   echo $ECHO_N "(cached) $ECHO_C" >&6
28620 else
28621   ac_check_lib_save_LIBS=$LIBS
28622 LIBS="-lm  $LIBS"
28623 if test x$gcc_no_link = xyes; then
28624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28626    { (exit 1); exit 1; }; }
28627 fi
28628 cat >conftest.$ac_ext <<_ACEOF
28629 /* confdefs.h.  */
28630 _ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h.  */
28634
28635 /* Override any gcc2 internal prototype to avoid an error.  */
28636 #ifdef __cplusplus
28637 extern "C"
28638 #endif
28639 /* We use char because int might match the return type of a gcc2
28640    builtin and then its argument prototype would still apply.  */
28641 char csinhf ();
28642 int
28643 main ()
28644 {
28645 csinhf ();
28646   ;
28647   return 0;
28648 }
28649 _ACEOF
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28652   (eval $ac_link) 2>conftest.er1
28653   ac_status=$?
28654   grep -v '^ *+' conftest.er1 >conftest.err
28655   rm -f conftest.er1
28656   cat conftest.err >&5
28657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658   (exit $ac_status); } &&
28659          { ac_try='test -z "$ac_c_werror_flag"
28660                          || test ! -s conftest.err'
28661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662   (eval $ac_try) 2>&5
28663   ac_status=$?
28664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665   (exit $ac_status); }; } &&
28666          { ac_try='test -s conftest$ac_exeext'
28667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28668   (eval $ac_try) 2>&5
28669   ac_status=$?
28670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671   (exit $ac_status); }; }; then
28672   ac_cv_lib_m_csinhf=yes
28673 else
28674   echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28676
28677 ac_cv_lib_m_csinhf=no
28678 fi
28679 rm -f conftest.err conftest.$ac_objext \
28680       conftest$ac_exeext conftest.$ac_ext
28681 LIBS=$ac_check_lib_save_LIBS
28682 fi
28683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28684 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28685 if test $ac_cv_lib_m_csinhf = yes; then
28686
28687 cat >>confdefs.h <<\_ACEOF
28688 #define HAVE_CSINHF 1
28689 _ACEOF
28690
28691 fi
28692
28693 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28694 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28695 if test "${ac_cv_lib_m_csinh+set}" = set; then
28696   echo $ECHO_N "(cached) $ECHO_C" >&6
28697 else
28698   ac_check_lib_save_LIBS=$LIBS
28699 LIBS="-lm  $LIBS"
28700 if test x$gcc_no_link = xyes; then
28701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28703    { (exit 1); exit 1; }; }
28704 fi
28705 cat >conftest.$ac_ext <<_ACEOF
28706 /* confdefs.h.  */
28707 _ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h.  */
28711
28712 /* Override any gcc2 internal prototype to avoid an error.  */
28713 #ifdef __cplusplus
28714 extern "C"
28715 #endif
28716 /* We use char because int might match the return type of a gcc2
28717    builtin and then its argument prototype would still apply.  */
28718 char csinh ();
28719 int
28720 main ()
28721 {
28722 csinh ();
28723   ;
28724   return 0;
28725 }
28726 _ACEOF
28727 rm -f conftest.$ac_objext conftest$ac_exeext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28729   (eval $ac_link) 2>conftest.er1
28730   ac_status=$?
28731   grep -v '^ *+' conftest.er1 >conftest.err
28732   rm -f conftest.er1
28733   cat conftest.err >&5
28734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735   (exit $ac_status); } &&
28736          { ac_try='test -z "$ac_c_werror_flag"
28737                          || test ! -s conftest.err'
28738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739   (eval $ac_try) 2>&5
28740   ac_status=$?
28741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742   (exit $ac_status); }; } &&
28743          { ac_try='test -s conftest$ac_exeext'
28744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745   (eval $ac_try) 2>&5
28746   ac_status=$?
28747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748   (exit $ac_status); }; }; then
28749   ac_cv_lib_m_csinh=yes
28750 else
28751   echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28753
28754 ac_cv_lib_m_csinh=no
28755 fi
28756 rm -f conftest.err conftest.$ac_objext \
28757       conftest$ac_exeext conftest.$ac_ext
28758 LIBS=$ac_check_lib_save_LIBS
28759 fi
28760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28761 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28762 if test $ac_cv_lib_m_csinh = yes; then
28763
28764 cat >>confdefs.h <<\_ACEOF
28765 #define HAVE_CSINH 1
28766 _ACEOF
28767
28768 fi
28769
28770 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28771 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28772 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28773   echo $ECHO_N "(cached) $ECHO_C" >&6
28774 else
28775   ac_check_lib_save_LIBS=$LIBS
28776 LIBS="-lm  $LIBS"
28777 if test x$gcc_no_link = xyes; then
28778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28780    { (exit 1); exit 1; }; }
28781 fi
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h.  */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h.  */
28788
28789 /* Override any gcc2 internal prototype to avoid an error.  */
28790 #ifdef __cplusplus
28791 extern "C"
28792 #endif
28793 /* We use char because int might match the return type of a gcc2
28794    builtin and then its argument prototype would still apply.  */
28795 char csinhl ();
28796 int
28797 main ()
28798 {
28799 csinhl ();
28800   ;
28801   return 0;
28802 }
28803 _ACEOF
28804 rm -f conftest.$ac_objext conftest$ac_exeext
28805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28806   (eval $ac_link) 2>conftest.er1
28807   ac_status=$?
28808   grep -v '^ *+' conftest.er1 >conftest.err
28809   rm -f conftest.er1
28810   cat conftest.err >&5
28811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812   (exit $ac_status); } &&
28813          { ac_try='test -z "$ac_c_werror_flag"
28814                          || test ! -s conftest.err'
28815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816   (eval $ac_try) 2>&5
28817   ac_status=$?
28818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819   (exit $ac_status); }; } &&
28820          { ac_try='test -s conftest$ac_exeext'
28821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822   (eval $ac_try) 2>&5
28823   ac_status=$?
28824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825   (exit $ac_status); }; }; then
28826   ac_cv_lib_m_csinhl=yes
28827 else
28828   echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 ac_cv_lib_m_csinhl=no
28832 fi
28833 rm -f conftest.err conftest.$ac_objext \
28834       conftest$ac_exeext conftest.$ac_ext
28835 LIBS=$ac_check_lib_save_LIBS
28836 fi
28837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28838 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28839 if test $ac_cv_lib_m_csinhl = yes; then
28840
28841 cat >>confdefs.h <<\_ACEOF
28842 #define HAVE_CSINHL 1
28843 _ACEOF
28844
28845 fi
28846
28847 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28848 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28849 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28850   echo $ECHO_N "(cached) $ECHO_C" >&6
28851 else
28852   ac_check_lib_save_LIBS=$LIBS
28853 LIBS="-lm  $LIBS"
28854 if test x$gcc_no_link = xyes; then
28855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28857    { (exit 1); exit 1; }; }
28858 fi
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h.  */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h.  */
28865
28866 /* Override any gcc2 internal prototype to avoid an error.  */
28867 #ifdef __cplusplus
28868 extern "C"
28869 #endif
28870 /* We use char because int might match the return type of a gcc2
28871    builtin and then its argument prototype would still apply.  */
28872 char sqrtf ();
28873 int
28874 main ()
28875 {
28876 sqrtf ();
28877   ;
28878   return 0;
28879 }
28880 _ACEOF
28881 rm -f conftest.$ac_objext conftest$ac_exeext
28882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28883   (eval $ac_link) 2>conftest.er1
28884   ac_status=$?
28885   grep -v '^ *+' conftest.er1 >conftest.err
28886   rm -f conftest.er1
28887   cat conftest.err >&5
28888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889   (exit $ac_status); } &&
28890          { ac_try='test -z "$ac_c_werror_flag"
28891                          || test ! -s conftest.err'
28892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893   (eval $ac_try) 2>&5
28894   ac_status=$?
28895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896   (exit $ac_status); }; } &&
28897          { ac_try='test -s conftest$ac_exeext'
28898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899   (eval $ac_try) 2>&5
28900   ac_status=$?
28901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902   (exit $ac_status); }; }; then
28903   ac_cv_lib_m_sqrtf=yes
28904 else
28905   echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28907
28908 ac_cv_lib_m_sqrtf=no
28909 fi
28910 rm -f conftest.err conftest.$ac_objext \
28911       conftest$ac_exeext conftest.$ac_ext
28912 LIBS=$ac_check_lib_save_LIBS
28913 fi
28914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28915 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28916 if test $ac_cv_lib_m_sqrtf = yes; then
28917
28918 cat >>confdefs.h <<\_ACEOF
28919 #define HAVE_SQRTF 1
28920 _ACEOF
28921
28922 fi
28923
28924 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28925 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28926 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28927   echo $ECHO_N "(cached) $ECHO_C" >&6
28928 else
28929   ac_check_lib_save_LIBS=$LIBS
28930 LIBS="-lm  $LIBS"
28931 if test x$gcc_no_link = xyes; then
28932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28934    { (exit 1); exit 1; }; }
28935 fi
28936 cat >conftest.$ac_ext <<_ACEOF
28937 /* confdefs.h.  */
28938 _ACEOF
28939 cat confdefs.h >>conftest.$ac_ext
28940 cat >>conftest.$ac_ext <<_ACEOF
28941 /* end confdefs.h.  */
28942
28943 /* Override any gcc2 internal prototype to avoid an error.  */
28944 #ifdef __cplusplus
28945 extern "C"
28946 #endif
28947 /* We use char because int might match the return type of a gcc2
28948    builtin and then its argument prototype would still apply.  */
28949 char sqrt ();
28950 int
28951 main ()
28952 {
28953 sqrt ();
28954   ;
28955   return 0;
28956 }
28957 _ACEOF
28958 rm -f conftest.$ac_objext conftest$ac_exeext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28960   (eval $ac_link) 2>conftest.er1
28961   ac_status=$?
28962   grep -v '^ *+' conftest.er1 >conftest.err
28963   rm -f conftest.er1
28964   cat conftest.err >&5
28965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966   (exit $ac_status); } &&
28967          { ac_try='test -z "$ac_c_werror_flag"
28968                          || test ! -s conftest.err'
28969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970   (eval $ac_try) 2>&5
28971   ac_status=$?
28972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973   (exit $ac_status); }; } &&
28974          { ac_try='test -s conftest$ac_exeext'
28975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976   (eval $ac_try) 2>&5
28977   ac_status=$?
28978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979   (exit $ac_status); }; }; then
28980   ac_cv_lib_m_sqrt=yes
28981 else
28982   echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28984
28985 ac_cv_lib_m_sqrt=no
28986 fi
28987 rm -f conftest.err conftest.$ac_objext \
28988       conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28990 fi
28991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28992 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28993 if test $ac_cv_lib_m_sqrt = yes; then
28994
28995 cat >>confdefs.h <<\_ACEOF
28996 #define HAVE_SQRT 1
28997 _ACEOF
28998
28999 fi
29000
29001 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
29002 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
29003 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
29004   echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29006   ac_check_lib_save_LIBS=$LIBS
29007 LIBS="-lm  $LIBS"
29008 if test x$gcc_no_link = xyes; then
29009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011    { (exit 1); exit 1; }; }
29012 fi
29013 cat >conftest.$ac_ext <<_ACEOF
29014 /* confdefs.h.  */
29015 _ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h.  */
29019
29020 /* Override any gcc2 internal prototype to avoid an error.  */
29021 #ifdef __cplusplus
29022 extern "C"
29023 #endif
29024 /* We use char because int might match the return type of a gcc2
29025    builtin and then its argument prototype would still apply.  */
29026 char sqrtl ();
29027 int
29028 main ()
29029 {
29030 sqrtl ();
29031   ;
29032   return 0;
29033 }
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037   (eval $ac_link) 2>conftest.er1
29038   ac_status=$?
29039   grep -v '^ *+' conftest.er1 >conftest.err
29040   rm -f conftest.er1
29041   cat conftest.err >&5
29042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043   (exit $ac_status); } &&
29044          { ac_try='test -z "$ac_c_werror_flag"
29045                          || test ! -s conftest.err'
29046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047   (eval $ac_try) 2>&5
29048   ac_status=$?
29049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050   (exit $ac_status); }; } &&
29051          { ac_try='test -s conftest$ac_exeext'
29052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053   (eval $ac_try) 2>&5
29054   ac_status=$?
29055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056   (exit $ac_status); }; }; then
29057   ac_cv_lib_m_sqrtl=yes
29058 else
29059   echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062 ac_cv_lib_m_sqrtl=no
29063 fi
29064 rm -f conftest.err conftest.$ac_objext \
29065       conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29067 fi
29068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29069 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29070 if test $ac_cv_lib_m_sqrtl = yes; then
29071
29072 cat >>confdefs.h <<\_ACEOF
29073 #define HAVE_SQRTL 1
29074 _ACEOF
29075
29076 fi
29077
29078 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29079 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29080 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29081   echo $ECHO_N "(cached) $ECHO_C" >&6
29082 else
29083   ac_check_lib_save_LIBS=$LIBS
29084 LIBS="-lm  $LIBS"
29085 if test x$gcc_no_link = xyes; then
29086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29088    { (exit 1); exit 1; }; }
29089 fi
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h.  */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h.  */
29096
29097 /* Override any gcc2 internal prototype to avoid an error.  */
29098 #ifdef __cplusplus
29099 extern "C"
29100 #endif
29101 /* We use char because int might match the return type of a gcc2
29102    builtin and then its argument prototype would still apply.  */
29103 char csqrtf ();
29104 int
29105 main ()
29106 {
29107 csqrtf ();
29108   ;
29109   return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114   (eval $ac_link) 2>conftest.er1
29115   ac_status=$?
29116   grep -v '^ *+' conftest.er1 >conftest.err
29117   rm -f conftest.er1
29118   cat conftest.err >&5
29119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120   (exit $ac_status); } &&
29121          { ac_try='test -z "$ac_c_werror_flag"
29122                          || test ! -s conftest.err'
29123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124   (eval $ac_try) 2>&5
29125   ac_status=$?
29126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127   (exit $ac_status); }; } &&
29128          { ac_try='test -s conftest$ac_exeext'
29129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130   (eval $ac_try) 2>&5
29131   ac_status=$?
29132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133   (exit $ac_status); }; }; then
29134   ac_cv_lib_m_csqrtf=yes
29135 else
29136   echo "$as_me: failed program was:" >&5
29137 sed 's/^/| /' conftest.$ac_ext >&5
29138
29139 ac_cv_lib_m_csqrtf=no
29140 fi
29141 rm -f conftest.err conftest.$ac_objext \
29142       conftest$ac_exeext conftest.$ac_ext
29143 LIBS=$ac_check_lib_save_LIBS
29144 fi
29145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29146 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29147 if test $ac_cv_lib_m_csqrtf = yes; then
29148
29149 cat >>confdefs.h <<\_ACEOF
29150 #define HAVE_CSQRTF 1
29151 _ACEOF
29152
29153 fi
29154
29155 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29156 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29157 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29158   echo $ECHO_N "(cached) $ECHO_C" >&6
29159 else
29160   ac_check_lib_save_LIBS=$LIBS
29161 LIBS="-lm  $LIBS"
29162 if test x$gcc_no_link = xyes; then
29163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29165    { (exit 1); exit 1; }; }
29166 fi
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h.  */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h.  */
29173
29174 /* Override any gcc2 internal prototype to avoid an error.  */
29175 #ifdef __cplusplus
29176 extern "C"
29177 #endif
29178 /* We use char because int might match the return type of a gcc2
29179    builtin and then its argument prototype would still apply.  */
29180 char csqrt ();
29181 int
29182 main ()
29183 {
29184 csqrt ();
29185   ;
29186   return 0;
29187 }
29188 _ACEOF
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29191   (eval $ac_link) 2>conftest.er1
29192   ac_status=$?
29193   grep -v '^ *+' conftest.er1 >conftest.err
29194   rm -f conftest.er1
29195   cat conftest.err >&5
29196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197   (exit $ac_status); } &&
29198          { ac_try='test -z "$ac_c_werror_flag"
29199                          || test ! -s conftest.err'
29200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201   (eval $ac_try) 2>&5
29202   ac_status=$?
29203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204   (exit $ac_status); }; } &&
29205          { ac_try='test -s conftest$ac_exeext'
29206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207   (eval $ac_try) 2>&5
29208   ac_status=$?
29209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210   (exit $ac_status); }; }; then
29211   ac_cv_lib_m_csqrt=yes
29212 else
29213   echo "$as_me: failed program was:" >&5
29214 sed 's/^/| /' conftest.$ac_ext >&5
29215
29216 ac_cv_lib_m_csqrt=no
29217 fi
29218 rm -f conftest.err conftest.$ac_objext \
29219       conftest$ac_exeext conftest.$ac_ext
29220 LIBS=$ac_check_lib_save_LIBS
29221 fi
29222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29223 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29224 if test $ac_cv_lib_m_csqrt = yes; then
29225
29226 cat >>confdefs.h <<\_ACEOF
29227 #define HAVE_CSQRT 1
29228 _ACEOF
29229
29230 fi
29231
29232 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29233 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29234 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29235   echo $ECHO_N "(cached) $ECHO_C" >&6
29236 else
29237   ac_check_lib_save_LIBS=$LIBS
29238 LIBS="-lm  $LIBS"
29239 if test x$gcc_no_link = xyes; then
29240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29242    { (exit 1); exit 1; }; }
29243 fi
29244 cat >conftest.$ac_ext <<_ACEOF
29245 /* confdefs.h.  */
29246 _ACEOF
29247 cat confdefs.h >>conftest.$ac_ext
29248 cat >>conftest.$ac_ext <<_ACEOF
29249 /* end confdefs.h.  */
29250
29251 /* Override any gcc2 internal prototype to avoid an error.  */
29252 #ifdef __cplusplus
29253 extern "C"
29254 #endif
29255 /* We use char because int might match the return type of a gcc2
29256    builtin and then its argument prototype would still apply.  */
29257 char csqrtl ();
29258 int
29259 main ()
29260 {
29261 csqrtl ();
29262   ;
29263   return 0;
29264 }
29265 _ACEOF
29266 rm -f conftest.$ac_objext conftest$ac_exeext
29267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29268   (eval $ac_link) 2>conftest.er1
29269   ac_status=$?
29270   grep -v '^ *+' conftest.er1 >conftest.err
29271   rm -f conftest.er1
29272   cat conftest.err >&5
29273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274   (exit $ac_status); } &&
29275          { ac_try='test -z "$ac_c_werror_flag"
29276                          || test ! -s conftest.err'
29277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278   (eval $ac_try) 2>&5
29279   ac_status=$?
29280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281   (exit $ac_status); }; } &&
29282          { ac_try='test -s conftest$ac_exeext'
29283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284   (eval $ac_try) 2>&5
29285   ac_status=$?
29286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287   (exit $ac_status); }; }; then
29288   ac_cv_lib_m_csqrtl=yes
29289 else
29290   echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29292
29293 ac_cv_lib_m_csqrtl=no
29294 fi
29295 rm -f conftest.err conftest.$ac_objext \
29296       conftest$ac_exeext conftest.$ac_ext
29297 LIBS=$ac_check_lib_save_LIBS
29298 fi
29299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29300 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29301 if test $ac_cv_lib_m_csqrtl = yes; then
29302
29303 cat >>confdefs.h <<\_ACEOF
29304 #define HAVE_CSQRTL 1
29305 _ACEOF
29306
29307 fi
29308
29309 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29310 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29311 if test "${ac_cv_lib_m_tanf+set}" = set; then
29312   echo $ECHO_N "(cached) $ECHO_C" >&6
29313 else
29314   ac_check_lib_save_LIBS=$LIBS
29315 LIBS="-lm  $LIBS"
29316 if test x$gcc_no_link = xyes; then
29317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29319    { (exit 1); exit 1; }; }
29320 fi
29321 cat >conftest.$ac_ext <<_ACEOF
29322 /* confdefs.h.  */
29323 _ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h.  */
29327
29328 /* Override any gcc2 internal prototype to avoid an error.  */
29329 #ifdef __cplusplus
29330 extern "C"
29331 #endif
29332 /* We use char because int might match the return type of a gcc2
29333    builtin and then its argument prototype would still apply.  */
29334 char tanf ();
29335 int
29336 main ()
29337 {
29338 tanf ();
29339   ;
29340   return 0;
29341 }
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345   (eval $ac_link) 2>conftest.er1
29346   ac_status=$?
29347   grep -v '^ *+' conftest.er1 >conftest.err
29348   rm -f conftest.er1
29349   cat conftest.err >&5
29350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351   (exit $ac_status); } &&
29352          { ac_try='test -z "$ac_c_werror_flag"
29353                          || test ! -s conftest.err'
29354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355   (eval $ac_try) 2>&5
29356   ac_status=$?
29357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358   (exit $ac_status); }; } &&
29359          { ac_try='test -s conftest$ac_exeext'
29360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361   (eval $ac_try) 2>&5
29362   ac_status=$?
29363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364   (exit $ac_status); }; }; then
29365   ac_cv_lib_m_tanf=yes
29366 else
29367   echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 ac_cv_lib_m_tanf=no
29371 fi
29372 rm -f conftest.err conftest.$ac_objext \
29373       conftest$ac_exeext conftest.$ac_ext
29374 LIBS=$ac_check_lib_save_LIBS
29375 fi
29376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29377 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29378 if test $ac_cv_lib_m_tanf = yes; then
29379
29380 cat >>confdefs.h <<\_ACEOF
29381 #define HAVE_TANF 1
29382 _ACEOF
29383
29384 fi
29385
29386 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29387 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29388 if test "${ac_cv_lib_m_tan+set}" = set; then
29389   echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29391   ac_check_lib_save_LIBS=$LIBS
29392 LIBS="-lm  $LIBS"
29393 if test x$gcc_no_link = xyes; then
29394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29396    { (exit 1); exit 1; }; }
29397 fi
29398 cat >conftest.$ac_ext <<_ACEOF
29399 /* confdefs.h.  */
29400 _ACEOF
29401 cat confdefs.h >>conftest.$ac_ext
29402 cat >>conftest.$ac_ext <<_ACEOF
29403 /* end confdefs.h.  */
29404
29405 /* Override any gcc2 internal prototype to avoid an error.  */
29406 #ifdef __cplusplus
29407 extern "C"
29408 #endif
29409 /* We use char because int might match the return type of a gcc2
29410    builtin and then its argument prototype would still apply.  */
29411 char tan ();
29412 int
29413 main ()
29414 {
29415 tan ();
29416   ;
29417   return 0;
29418 }
29419 _ACEOF
29420 rm -f conftest.$ac_objext conftest$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422   (eval $ac_link) 2>conftest.er1
29423   ac_status=$?
29424   grep -v '^ *+' conftest.er1 >conftest.err
29425   rm -f conftest.er1
29426   cat conftest.err >&5
29427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428   (exit $ac_status); } &&
29429          { ac_try='test -z "$ac_c_werror_flag"
29430                          || test ! -s conftest.err'
29431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432   (eval $ac_try) 2>&5
29433   ac_status=$?
29434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435   (exit $ac_status); }; } &&
29436          { ac_try='test -s conftest$ac_exeext'
29437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438   (eval $ac_try) 2>&5
29439   ac_status=$?
29440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441   (exit $ac_status); }; }; then
29442   ac_cv_lib_m_tan=yes
29443 else
29444   echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29446
29447 ac_cv_lib_m_tan=no
29448 fi
29449 rm -f conftest.err conftest.$ac_objext \
29450       conftest$ac_exeext conftest.$ac_ext
29451 LIBS=$ac_check_lib_save_LIBS
29452 fi
29453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29454 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29455 if test $ac_cv_lib_m_tan = yes; then
29456
29457 cat >>confdefs.h <<\_ACEOF
29458 #define HAVE_TAN 1
29459 _ACEOF
29460
29461 fi
29462
29463 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29464 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29465 if test "${ac_cv_lib_m_tanl+set}" = set; then
29466   echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468   ac_check_lib_save_LIBS=$LIBS
29469 LIBS="-lm  $LIBS"
29470 if test x$gcc_no_link = xyes; then
29471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29473    { (exit 1); exit 1; }; }
29474 fi
29475 cat >conftest.$ac_ext <<_ACEOF
29476 /* confdefs.h.  */
29477 _ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h.  */
29481
29482 /* Override any gcc2 internal prototype to avoid an error.  */
29483 #ifdef __cplusplus
29484 extern "C"
29485 #endif
29486 /* We use char because int might match the return type of a gcc2
29487    builtin and then its argument prototype would still apply.  */
29488 char tanl ();
29489 int
29490 main ()
29491 {
29492 tanl ();
29493   ;
29494   return 0;
29495 }
29496 _ACEOF
29497 rm -f conftest.$ac_objext conftest$ac_exeext
29498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29499   (eval $ac_link) 2>conftest.er1
29500   ac_status=$?
29501   grep -v '^ *+' conftest.er1 >conftest.err
29502   rm -f conftest.er1
29503   cat conftest.err >&5
29504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505   (exit $ac_status); } &&
29506          { ac_try='test -z "$ac_c_werror_flag"
29507                          || test ! -s conftest.err'
29508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509   (eval $ac_try) 2>&5
29510   ac_status=$?
29511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512   (exit $ac_status); }; } &&
29513          { ac_try='test -s conftest$ac_exeext'
29514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515   (eval $ac_try) 2>&5
29516   ac_status=$?
29517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518   (exit $ac_status); }; }; then
29519   ac_cv_lib_m_tanl=yes
29520 else
29521   echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.$ac_ext >&5
29523
29524 ac_cv_lib_m_tanl=no
29525 fi
29526 rm -f conftest.err conftest.$ac_objext \
29527       conftest$ac_exeext conftest.$ac_ext
29528 LIBS=$ac_check_lib_save_LIBS
29529 fi
29530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29531 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29532 if test $ac_cv_lib_m_tanl = yes; then
29533
29534 cat >>confdefs.h <<\_ACEOF
29535 #define HAVE_TANL 1
29536 _ACEOF
29537
29538 fi
29539
29540 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29541 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29542 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29543   echo $ECHO_N "(cached) $ECHO_C" >&6
29544 else
29545   ac_check_lib_save_LIBS=$LIBS
29546 LIBS="-lm  $LIBS"
29547 if test x$gcc_no_link = xyes; then
29548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29550    { (exit 1); exit 1; }; }
29551 fi
29552 cat >conftest.$ac_ext <<_ACEOF
29553 /* confdefs.h.  */
29554 _ACEOF
29555 cat confdefs.h >>conftest.$ac_ext
29556 cat >>conftest.$ac_ext <<_ACEOF
29557 /* end confdefs.h.  */
29558
29559 /* Override any gcc2 internal prototype to avoid an error.  */
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 /* We use char because int might match the return type of a gcc2
29564    builtin and then its argument prototype would still apply.  */
29565 char ctanf ();
29566 int
29567 main ()
29568 {
29569 ctanf ();
29570   ;
29571   return 0;
29572 }
29573 _ACEOF
29574 rm -f conftest.$ac_objext conftest$ac_exeext
29575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29576   (eval $ac_link) 2>conftest.er1
29577   ac_status=$?
29578   grep -v '^ *+' conftest.er1 >conftest.err
29579   rm -f conftest.er1
29580   cat conftest.err >&5
29581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582   (exit $ac_status); } &&
29583          { ac_try='test -z "$ac_c_werror_flag"
29584                          || test ! -s conftest.err'
29585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586   (eval $ac_try) 2>&5
29587   ac_status=$?
29588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589   (exit $ac_status); }; } &&
29590          { ac_try='test -s conftest$ac_exeext'
29591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592   (eval $ac_try) 2>&5
29593   ac_status=$?
29594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595   (exit $ac_status); }; }; then
29596   ac_cv_lib_m_ctanf=yes
29597 else
29598   echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29600
29601 ac_cv_lib_m_ctanf=no
29602 fi
29603 rm -f conftest.err conftest.$ac_objext \
29604       conftest$ac_exeext conftest.$ac_ext
29605 LIBS=$ac_check_lib_save_LIBS
29606 fi
29607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29608 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29609 if test $ac_cv_lib_m_ctanf = yes; then
29610
29611 cat >>confdefs.h <<\_ACEOF
29612 #define HAVE_CTANF 1
29613 _ACEOF
29614
29615 fi
29616
29617 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29618 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29619 if test "${ac_cv_lib_m_ctan+set}" = set; then
29620   echo $ECHO_N "(cached) $ECHO_C" >&6
29621 else
29622   ac_check_lib_save_LIBS=$LIBS
29623 LIBS="-lm  $LIBS"
29624 if test x$gcc_no_link = xyes; then
29625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29627    { (exit 1); exit 1; }; }
29628 fi
29629 cat >conftest.$ac_ext <<_ACEOF
29630 /* confdefs.h.  */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h.  */
29635
29636 /* Override any gcc2 internal prototype to avoid an error.  */
29637 #ifdef __cplusplus
29638 extern "C"
29639 #endif
29640 /* We use char because int might match the return type of a gcc2
29641    builtin and then its argument prototype would still apply.  */
29642 char ctan ();
29643 int
29644 main ()
29645 {
29646 ctan ();
29647   ;
29648   return 0;
29649 }
29650 _ACEOF
29651 rm -f conftest.$ac_objext conftest$ac_exeext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29653   (eval $ac_link) 2>conftest.er1
29654   ac_status=$?
29655   grep -v '^ *+' conftest.er1 >conftest.err
29656   rm -f conftest.er1
29657   cat conftest.err >&5
29658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659   (exit $ac_status); } &&
29660          { ac_try='test -z "$ac_c_werror_flag"
29661                          || test ! -s conftest.err'
29662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663   (eval $ac_try) 2>&5
29664   ac_status=$?
29665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666   (exit $ac_status); }; } &&
29667          { ac_try='test -s conftest$ac_exeext'
29668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669   (eval $ac_try) 2>&5
29670   ac_status=$?
29671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672   (exit $ac_status); }; }; then
29673   ac_cv_lib_m_ctan=yes
29674 else
29675   echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29677
29678 ac_cv_lib_m_ctan=no
29679 fi
29680 rm -f conftest.err conftest.$ac_objext \
29681       conftest$ac_exeext conftest.$ac_ext
29682 LIBS=$ac_check_lib_save_LIBS
29683 fi
29684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29685 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29686 if test $ac_cv_lib_m_ctan = yes; then
29687
29688 cat >>confdefs.h <<\_ACEOF
29689 #define HAVE_CTAN 1
29690 _ACEOF
29691
29692 fi
29693
29694 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29695 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29696 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29697   echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29699   ac_check_lib_save_LIBS=$LIBS
29700 LIBS="-lm  $LIBS"
29701 if test x$gcc_no_link = xyes; then
29702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29704    { (exit 1); exit 1; }; }
29705 fi
29706 cat >conftest.$ac_ext <<_ACEOF
29707 /* confdefs.h.  */
29708 _ACEOF
29709 cat confdefs.h >>conftest.$ac_ext
29710 cat >>conftest.$ac_ext <<_ACEOF
29711 /* end confdefs.h.  */
29712
29713 /* Override any gcc2 internal prototype to avoid an error.  */
29714 #ifdef __cplusplus
29715 extern "C"
29716 #endif
29717 /* We use char because int might match the return type of a gcc2
29718    builtin and then its argument prototype would still apply.  */
29719 char ctanl ();
29720 int
29721 main ()
29722 {
29723 ctanl ();
29724   ;
29725   return 0;
29726 }
29727 _ACEOF
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29730   (eval $ac_link) 2>conftest.er1
29731   ac_status=$?
29732   grep -v '^ *+' conftest.er1 >conftest.err
29733   rm -f conftest.er1
29734   cat conftest.err >&5
29735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736   (exit $ac_status); } &&
29737          { ac_try='test -z "$ac_c_werror_flag"
29738                          || test ! -s conftest.err'
29739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740   (eval $ac_try) 2>&5
29741   ac_status=$?
29742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743   (exit $ac_status); }; } &&
29744          { ac_try='test -s conftest$ac_exeext'
29745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746   (eval $ac_try) 2>&5
29747   ac_status=$?
29748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749   (exit $ac_status); }; }; then
29750   ac_cv_lib_m_ctanl=yes
29751 else
29752   echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29754
29755 ac_cv_lib_m_ctanl=no
29756 fi
29757 rm -f conftest.err conftest.$ac_objext \
29758       conftest$ac_exeext conftest.$ac_ext
29759 LIBS=$ac_check_lib_save_LIBS
29760 fi
29761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29762 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29763 if test $ac_cv_lib_m_ctanl = yes; then
29764
29765 cat >>confdefs.h <<\_ACEOF
29766 #define HAVE_CTANL 1
29767 _ACEOF
29768
29769 fi
29770
29771 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29772 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29773 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29774   echo $ECHO_N "(cached) $ECHO_C" >&6
29775 else
29776   ac_check_lib_save_LIBS=$LIBS
29777 LIBS="-lm  $LIBS"
29778 if test x$gcc_no_link = xyes; then
29779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29781    { (exit 1); exit 1; }; }
29782 fi
29783 cat >conftest.$ac_ext <<_ACEOF
29784 /* confdefs.h.  */
29785 _ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h.  */
29789
29790 /* Override any gcc2 internal prototype to avoid an error.  */
29791 #ifdef __cplusplus
29792 extern "C"
29793 #endif
29794 /* We use char because int might match the return type of a gcc2
29795    builtin and then its argument prototype would still apply.  */
29796 char tanhf ();
29797 int
29798 main ()
29799 {
29800 tanhf ();
29801   ;
29802   return 0;
29803 }
29804 _ACEOF
29805 rm -f conftest.$ac_objext conftest$ac_exeext
29806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29807   (eval $ac_link) 2>conftest.er1
29808   ac_status=$?
29809   grep -v '^ *+' conftest.er1 >conftest.err
29810   rm -f conftest.er1
29811   cat conftest.err >&5
29812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813   (exit $ac_status); } &&
29814          { ac_try='test -z "$ac_c_werror_flag"
29815                          || test ! -s conftest.err'
29816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29817   (eval $ac_try) 2>&5
29818   ac_status=$?
29819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820   (exit $ac_status); }; } &&
29821          { ac_try='test -s conftest$ac_exeext'
29822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823   (eval $ac_try) 2>&5
29824   ac_status=$?
29825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826   (exit $ac_status); }; }; then
29827   ac_cv_lib_m_tanhf=yes
29828 else
29829   echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 ac_cv_lib_m_tanhf=no
29833 fi
29834 rm -f conftest.err conftest.$ac_objext \
29835       conftest$ac_exeext conftest.$ac_ext
29836 LIBS=$ac_check_lib_save_LIBS
29837 fi
29838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29839 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29840 if test $ac_cv_lib_m_tanhf = yes; then
29841
29842 cat >>confdefs.h <<\_ACEOF
29843 #define HAVE_TANHF 1
29844 _ACEOF
29845
29846 fi
29847
29848 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29849 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29850 if test "${ac_cv_lib_m_tanh+set}" = set; then
29851   echo $ECHO_N "(cached) $ECHO_C" >&6
29852 else
29853   ac_check_lib_save_LIBS=$LIBS
29854 LIBS="-lm  $LIBS"
29855 if test x$gcc_no_link = xyes; then
29856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29858    { (exit 1); exit 1; }; }
29859 fi
29860 cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h.  */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h.  */
29866
29867 /* Override any gcc2 internal prototype to avoid an error.  */
29868 #ifdef __cplusplus
29869 extern "C"
29870 #endif
29871 /* We use char because int might match the return type of a gcc2
29872    builtin and then its argument prototype would still apply.  */
29873 char tanh ();
29874 int
29875 main ()
29876 {
29877 tanh ();
29878   ;
29879   return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884   (eval $ac_link) 2>conftest.er1
29885   ac_status=$?
29886   grep -v '^ *+' conftest.er1 >conftest.err
29887   rm -f conftest.er1
29888   cat conftest.err >&5
29889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890   (exit $ac_status); } &&
29891          { ac_try='test -z "$ac_c_werror_flag"
29892                          || test ! -s conftest.err'
29893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894   (eval $ac_try) 2>&5
29895   ac_status=$?
29896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897   (exit $ac_status); }; } &&
29898          { ac_try='test -s conftest$ac_exeext'
29899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900   (eval $ac_try) 2>&5
29901   ac_status=$?
29902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903   (exit $ac_status); }; }; then
29904   ac_cv_lib_m_tanh=yes
29905 else
29906   echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 ac_cv_lib_m_tanh=no
29910 fi
29911 rm -f conftest.err conftest.$ac_objext \
29912       conftest$ac_exeext conftest.$ac_ext
29913 LIBS=$ac_check_lib_save_LIBS
29914 fi
29915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29916 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29917 if test $ac_cv_lib_m_tanh = yes; then
29918
29919 cat >>confdefs.h <<\_ACEOF
29920 #define HAVE_TANH 1
29921 _ACEOF
29922
29923 fi
29924
29925 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29926 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29927 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29928   echo $ECHO_N "(cached) $ECHO_C" >&6
29929 else
29930   ac_check_lib_save_LIBS=$LIBS
29931 LIBS="-lm  $LIBS"
29932 if test x$gcc_no_link = xyes; then
29933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29935    { (exit 1); exit 1; }; }
29936 fi
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h.  */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h.  */
29943
29944 /* Override any gcc2 internal prototype to avoid an error.  */
29945 #ifdef __cplusplus
29946 extern "C"
29947 #endif
29948 /* We use char because int might match the return type of a gcc2
29949    builtin and then its argument prototype would still apply.  */
29950 char tanhl ();
29951 int
29952 main ()
29953 {
29954 tanhl ();
29955   ;
29956   return 0;
29957 }
29958 _ACEOF
29959 rm -f conftest.$ac_objext conftest$ac_exeext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29961   (eval $ac_link) 2>conftest.er1
29962   ac_status=$?
29963   grep -v '^ *+' conftest.er1 >conftest.err
29964   rm -f conftest.er1
29965   cat conftest.err >&5
29966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967   (exit $ac_status); } &&
29968          { ac_try='test -z "$ac_c_werror_flag"
29969                          || test ! -s conftest.err'
29970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971   (eval $ac_try) 2>&5
29972   ac_status=$?
29973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974   (exit $ac_status); }; } &&
29975          { ac_try='test -s conftest$ac_exeext'
29976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977   (eval $ac_try) 2>&5
29978   ac_status=$?
29979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980   (exit $ac_status); }; }; then
29981   ac_cv_lib_m_tanhl=yes
29982 else
29983   echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29985
29986 ac_cv_lib_m_tanhl=no
29987 fi
29988 rm -f conftest.err conftest.$ac_objext \
29989       conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29991 fi
29992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29993 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29994 if test $ac_cv_lib_m_tanhl = yes; then
29995
29996 cat >>confdefs.h <<\_ACEOF
29997 #define HAVE_TANHL 1
29998 _ACEOF
29999
30000 fi
30001
30002 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
30003 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
30004 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
30005   echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007   ac_check_lib_save_LIBS=$LIBS
30008 LIBS="-lm  $LIBS"
30009 if test x$gcc_no_link = xyes; then
30010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30012    { (exit 1); exit 1; }; }
30013 fi
30014 cat >conftest.$ac_ext <<_ACEOF
30015 /* confdefs.h.  */
30016 _ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h.  */
30020
30021 /* Override any gcc2 internal prototype to avoid an error.  */
30022 #ifdef __cplusplus
30023 extern "C"
30024 #endif
30025 /* We use char because int might match the return type of a gcc2
30026    builtin and then its argument prototype would still apply.  */
30027 char ctanhf ();
30028 int
30029 main ()
30030 {
30031 ctanhf ();
30032   ;
30033   return 0;
30034 }
30035 _ACEOF
30036 rm -f conftest.$ac_objext conftest$ac_exeext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30038   (eval $ac_link) 2>conftest.er1
30039   ac_status=$?
30040   grep -v '^ *+' conftest.er1 >conftest.err
30041   rm -f conftest.er1
30042   cat conftest.err >&5
30043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044   (exit $ac_status); } &&
30045          { ac_try='test -z "$ac_c_werror_flag"
30046                          || test ! -s conftest.err'
30047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048   (eval $ac_try) 2>&5
30049   ac_status=$?
30050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051   (exit $ac_status); }; } &&
30052          { ac_try='test -s conftest$ac_exeext'
30053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054   (eval $ac_try) 2>&5
30055   ac_status=$?
30056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057   (exit $ac_status); }; }; then
30058   ac_cv_lib_m_ctanhf=yes
30059 else
30060   echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 ac_cv_lib_m_ctanhf=no
30064 fi
30065 rm -f conftest.err conftest.$ac_objext \
30066       conftest$ac_exeext conftest.$ac_ext
30067 LIBS=$ac_check_lib_save_LIBS
30068 fi
30069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30070 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30071 if test $ac_cv_lib_m_ctanhf = yes; then
30072
30073 cat >>confdefs.h <<\_ACEOF
30074 #define HAVE_CTANHF 1
30075 _ACEOF
30076
30077 fi
30078
30079 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30080 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30081 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30082   echo $ECHO_N "(cached) $ECHO_C" >&6
30083 else
30084   ac_check_lib_save_LIBS=$LIBS
30085 LIBS="-lm  $LIBS"
30086 if test x$gcc_no_link = xyes; then
30087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30089    { (exit 1); exit 1; }; }
30090 fi
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h.  */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h.  */
30097
30098 /* Override any gcc2 internal prototype to avoid an error.  */
30099 #ifdef __cplusplus
30100 extern "C"
30101 #endif
30102 /* We use char because int might match the return type of a gcc2
30103    builtin and then its argument prototype would still apply.  */
30104 char ctanh ();
30105 int
30106 main ()
30107 {
30108 ctanh ();
30109   ;
30110   return 0;
30111 }
30112 _ACEOF
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30115   (eval $ac_link) 2>conftest.er1
30116   ac_status=$?
30117   grep -v '^ *+' conftest.er1 >conftest.err
30118   rm -f conftest.er1
30119   cat conftest.err >&5
30120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121   (exit $ac_status); } &&
30122          { ac_try='test -z "$ac_c_werror_flag"
30123                          || test ! -s conftest.err'
30124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125   (eval $ac_try) 2>&5
30126   ac_status=$?
30127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128   (exit $ac_status); }; } &&
30129          { ac_try='test -s conftest$ac_exeext'
30130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131   (eval $ac_try) 2>&5
30132   ac_status=$?
30133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134   (exit $ac_status); }; }; then
30135   ac_cv_lib_m_ctanh=yes
30136 else
30137   echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30139
30140 ac_cv_lib_m_ctanh=no
30141 fi
30142 rm -f conftest.err conftest.$ac_objext \
30143       conftest$ac_exeext conftest.$ac_ext
30144 LIBS=$ac_check_lib_save_LIBS
30145 fi
30146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30147 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30148 if test $ac_cv_lib_m_ctanh = yes; then
30149
30150 cat >>confdefs.h <<\_ACEOF
30151 #define HAVE_CTANH 1
30152 _ACEOF
30153
30154 fi
30155
30156 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30157 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30158 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30159   echo $ECHO_N "(cached) $ECHO_C" >&6
30160 else
30161   ac_check_lib_save_LIBS=$LIBS
30162 LIBS="-lm  $LIBS"
30163 if test x$gcc_no_link = xyes; then
30164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30166    { (exit 1); exit 1; }; }
30167 fi
30168 cat >conftest.$ac_ext <<_ACEOF
30169 /* confdefs.h.  */
30170 _ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h.  */
30174
30175 /* Override any gcc2 internal prototype to avoid an error.  */
30176 #ifdef __cplusplus
30177 extern "C"
30178 #endif
30179 /* We use char because int might match the return type of a gcc2
30180    builtin and then its argument prototype would still apply.  */
30181 char ctanhl ();
30182 int
30183 main ()
30184 {
30185 ctanhl ();
30186   ;
30187   return 0;
30188 }
30189 _ACEOF
30190 rm -f conftest.$ac_objext conftest$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192   (eval $ac_link) 2>conftest.er1
30193   ac_status=$?
30194   grep -v '^ *+' conftest.er1 >conftest.err
30195   rm -f conftest.er1
30196   cat conftest.err >&5
30197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198   (exit $ac_status); } &&
30199          { ac_try='test -z "$ac_c_werror_flag"
30200                          || test ! -s conftest.err'
30201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202   (eval $ac_try) 2>&5
30203   ac_status=$?
30204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205   (exit $ac_status); }; } &&
30206          { ac_try='test -s conftest$ac_exeext'
30207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208   (eval $ac_try) 2>&5
30209   ac_status=$?
30210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211   (exit $ac_status); }; }; then
30212   ac_cv_lib_m_ctanhl=yes
30213 else
30214   echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30216
30217 ac_cv_lib_m_ctanhl=no
30218 fi
30219 rm -f conftest.err conftest.$ac_objext \
30220       conftest$ac_exeext conftest.$ac_ext
30221 LIBS=$ac_check_lib_save_LIBS
30222 fi
30223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30224 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30225 if test $ac_cv_lib_m_ctanhl = yes; then
30226
30227 cat >>confdefs.h <<\_ACEOF
30228 #define HAVE_CTANHL 1
30229 _ACEOF
30230
30231 fi
30232
30233 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30234 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30235 if test "${ac_cv_lib_m_truncf+set}" = set; then
30236   echo $ECHO_N "(cached) $ECHO_C" >&6
30237 else
30238   ac_check_lib_save_LIBS=$LIBS
30239 LIBS="-lm  $LIBS"
30240 if test x$gcc_no_link = xyes; then
30241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30243    { (exit 1); exit 1; }; }
30244 fi
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h.  */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h.  */
30251
30252 /* Override any gcc2 internal prototype to avoid an error.  */
30253 #ifdef __cplusplus
30254 extern "C"
30255 #endif
30256 /* We use char because int might match the return type of a gcc2
30257    builtin and then its argument prototype would still apply.  */
30258 char truncf ();
30259 int
30260 main ()
30261 {
30262 truncf ();
30263   ;
30264   return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30269   (eval $ac_link) 2>conftest.er1
30270   ac_status=$?
30271   grep -v '^ *+' conftest.er1 >conftest.err
30272   rm -f conftest.er1
30273   cat conftest.err >&5
30274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275   (exit $ac_status); } &&
30276          { ac_try='test -z "$ac_c_werror_flag"
30277                          || test ! -s conftest.err'
30278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279   (eval $ac_try) 2>&5
30280   ac_status=$?
30281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282   (exit $ac_status); }; } &&
30283          { ac_try='test -s conftest$ac_exeext'
30284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285   (eval $ac_try) 2>&5
30286   ac_status=$?
30287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288   (exit $ac_status); }; }; then
30289   ac_cv_lib_m_truncf=yes
30290 else
30291   echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30293
30294 ac_cv_lib_m_truncf=no
30295 fi
30296 rm -f conftest.err conftest.$ac_objext \
30297       conftest$ac_exeext conftest.$ac_ext
30298 LIBS=$ac_check_lib_save_LIBS
30299 fi
30300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30301 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30302 if test $ac_cv_lib_m_truncf = yes; then
30303
30304 cat >>confdefs.h <<\_ACEOF
30305 #define HAVE_TRUNCF 1
30306 _ACEOF
30307
30308 fi
30309
30310 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30311 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30312 if test "${ac_cv_lib_m_trunc+set}" = set; then
30313   echo $ECHO_N "(cached) $ECHO_C" >&6
30314 else
30315   ac_check_lib_save_LIBS=$LIBS
30316 LIBS="-lm  $LIBS"
30317 if test x$gcc_no_link = xyes; then
30318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30320    { (exit 1); exit 1; }; }
30321 fi
30322 cat >conftest.$ac_ext <<_ACEOF
30323 /* confdefs.h.  */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h.  */
30328
30329 /* Override any gcc2 internal prototype to avoid an error.  */
30330 #ifdef __cplusplus
30331 extern "C"
30332 #endif
30333 /* We use char because int might match the return type of a gcc2
30334    builtin and then its argument prototype would still apply.  */
30335 char trunc ();
30336 int
30337 main ()
30338 {
30339 trunc ();
30340   ;
30341   return 0;
30342 }
30343 _ACEOF
30344 rm -f conftest.$ac_objext conftest$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346   (eval $ac_link) 2>conftest.er1
30347   ac_status=$?
30348   grep -v '^ *+' conftest.er1 >conftest.err
30349   rm -f conftest.er1
30350   cat conftest.err >&5
30351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352   (exit $ac_status); } &&
30353          { ac_try='test -z "$ac_c_werror_flag"
30354                          || test ! -s conftest.err'
30355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356   (eval $ac_try) 2>&5
30357   ac_status=$?
30358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359   (exit $ac_status); }; } &&
30360          { ac_try='test -s conftest$ac_exeext'
30361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362   (eval $ac_try) 2>&5
30363   ac_status=$?
30364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365   (exit $ac_status); }; }; then
30366   ac_cv_lib_m_trunc=yes
30367 else
30368   echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.$ac_ext >&5
30370
30371 ac_cv_lib_m_trunc=no
30372 fi
30373 rm -f conftest.err conftest.$ac_objext \
30374       conftest$ac_exeext conftest.$ac_ext
30375 LIBS=$ac_check_lib_save_LIBS
30376 fi
30377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30378 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30379 if test $ac_cv_lib_m_trunc = yes; then
30380
30381 cat >>confdefs.h <<\_ACEOF
30382 #define HAVE_TRUNC 1
30383 _ACEOF
30384
30385 fi
30386
30387 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30388 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30389 if test "${ac_cv_lib_m_truncl+set}" = set; then
30390   echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392   ac_check_lib_save_LIBS=$LIBS
30393 LIBS="-lm  $LIBS"
30394 if test x$gcc_no_link = xyes; then
30395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397    { (exit 1); exit 1; }; }
30398 fi
30399 cat >conftest.$ac_ext <<_ACEOF
30400 /* confdefs.h.  */
30401 _ACEOF
30402 cat confdefs.h >>conftest.$ac_ext
30403 cat >>conftest.$ac_ext <<_ACEOF
30404 /* end confdefs.h.  */
30405
30406 /* Override any gcc2 internal prototype to avoid an error.  */
30407 #ifdef __cplusplus
30408 extern "C"
30409 #endif
30410 /* We use char because int might match the return type of a gcc2
30411    builtin and then its argument prototype would still apply.  */
30412 char truncl ();
30413 int
30414 main ()
30415 {
30416 truncl ();
30417   ;
30418   return 0;
30419 }
30420 _ACEOF
30421 rm -f conftest.$ac_objext conftest$ac_exeext
30422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30423   (eval $ac_link) 2>conftest.er1
30424   ac_status=$?
30425   grep -v '^ *+' conftest.er1 >conftest.err
30426   rm -f conftest.er1
30427   cat conftest.err >&5
30428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429   (exit $ac_status); } &&
30430          { ac_try='test -z "$ac_c_werror_flag"
30431                          || test ! -s conftest.err'
30432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433   (eval $ac_try) 2>&5
30434   ac_status=$?
30435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436   (exit $ac_status); }; } &&
30437          { ac_try='test -s conftest$ac_exeext'
30438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439   (eval $ac_try) 2>&5
30440   ac_status=$?
30441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442   (exit $ac_status); }; }; then
30443   ac_cv_lib_m_truncl=yes
30444 else
30445   echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30447
30448 ac_cv_lib_m_truncl=no
30449 fi
30450 rm -f conftest.err conftest.$ac_objext \
30451       conftest$ac_exeext conftest.$ac_ext
30452 LIBS=$ac_check_lib_save_LIBS
30453 fi
30454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30455 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30456 if test $ac_cv_lib_m_truncl = yes; then
30457
30458 cat >>confdefs.h <<\_ACEOF
30459 #define HAVE_TRUNCL 1
30460 _ACEOF
30461
30462 fi
30463
30464 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30465 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30466 if test "${ac_cv_lib_m_erff+set}" = set; then
30467   echo $ECHO_N "(cached) $ECHO_C" >&6
30468 else
30469   ac_check_lib_save_LIBS=$LIBS
30470 LIBS="-lm  $LIBS"
30471 if test x$gcc_no_link = xyes; then
30472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30474    { (exit 1); exit 1; }; }
30475 fi
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h.  */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h.  */
30482
30483 /* Override any gcc2 internal prototype to avoid an error.  */
30484 #ifdef __cplusplus
30485 extern "C"
30486 #endif
30487 /* We use char because int might match the return type of a gcc2
30488    builtin and then its argument prototype would still apply.  */
30489 char erff ();
30490 int
30491 main ()
30492 {
30493 erff ();
30494   ;
30495   return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500   (eval $ac_link) 2>conftest.er1
30501   ac_status=$?
30502   grep -v '^ *+' conftest.er1 >conftest.err
30503   rm -f conftest.er1
30504   cat conftest.err >&5
30505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506   (exit $ac_status); } &&
30507          { ac_try='test -z "$ac_c_werror_flag"
30508                          || test ! -s conftest.err'
30509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510   (eval $ac_try) 2>&5
30511   ac_status=$?
30512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513   (exit $ac_status); }; } &&
30514          { ac_try='test -s conftest$ac_exeext'
30515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516   (eval $ac_try) 2>&5
30517   ac_status=$?
30518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519   (exit $ac_status); }; }; then
30520   ac_cv_lib_m_erff=yes
30521 else
30522   echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 ac_cv_lib_m_erff=no
30526 fi
30527 rm -f conftest.err conftest.$ac_objext \
30528       conftest$ac_exeext conftest.$ac_ext
30529 LIBS=$ac_check_lib_save_LIBS
30530 fi
30531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30532 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30533 if test $ac_cv_lib_m_erff = yes; then
30534
30535 cat >>confdefs.h <<\_ACEOF
30536 #define HAVE_ERFF 1
30537 _ACEOF
30538
30539 fi
30540
30541 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30542 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30543 if test "${ac_cv_lib_m_erf+set}" = set; then
30544   echo $ECHO_N "(cached) $ECHO_C" >&6
30545 else
30546   ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-lm  $LIBS"
30548 if test x$gcc_no_link = xyes; then
30549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30551    { (exit 1); exit 1; }; }
30552 fi
30553 cat >conftest.$ac_ext <<_ACEOF
30554 /* confdefs.h.  */
30555 _ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h.  */
30559
30560 /* Override any gcc2 internal prototype to avoid an error.  */
30561 #ifdef __cplusplus
30562 extern "C"
30563 #endif
30564 /* We use char because int might match the return type of a gcc2
30565    builtin and then its argument prototype would still apply.  */
30566 char erf ();
30567 int
30568 main ()
30569 {
30570 erf ();
30571   ;
30572   return 0;
30573 }
30574 _ACEOF
30575 rm -f conftest.$ac_objext conftest$ac_exeext
30576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30577   (eval $ac_link) 2>conftest.er1
30578   ac_status=$?
30579   grep -v '^ *+' conftest.er1 >conftest.err
30580   rm -f conftest.er1
30581   cat conftest.err >&5
30582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583   (exit $ac_status); } &&
30584          { ac_try='test -z "$ac_c_werror_flag"
30585                          || test ! -s conftest.err'
30586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587   (eval $ac_try) 2>&5
30588   ac_status=$?
30589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590   (exit $ac_status); }; } &&
30591          { ac_try='test -s conftest$ac_exeext'
30592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593   (eval $ac_try) 2>&5
30594   ac_status=$?
30595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596   (exit $ac_status); }; }; then
30597   ac_cv_lib_m_erf=yes
30598 else
30599   echo "$as_me: failed program was:" >&5
30600 sed 's/^/| /' conftest.$ac_ext >&5
30601
30602 ac_cv_lib_m_erf=no
30603 fi
30604 rm -f conftest.err conftest.$ac_objext \
30605       conftest$ac_exeext conftest.$ac_ext
30606 LIBS=$ac_check_lib_save_LIBS
30607 fi
30608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30609 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30610 if test $ac_cv_lib_m_erf = yes; then
30611
30612 cat >>confdefs.h <<\_ACEOF
30613 #define HAVE_ERF 1
30614 _ACEOF
30615
30616 fi
30617
30618 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30619 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30620 if test "${ac_cv_lib_m_erfl+set}" = set; then
30621   echo $ECHO_N "(cached) $ECHO_C" >&6
30622 else
30623   ac_check_lib_save_LIBS=$LIBS
30624 LIBS="-lm  $LIBS"
30625 if test x$gcc_no_link = xyes; then
30626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30628    { (exit 1); exit 1; }; }
30629 fi
30630 cat >conftest.$ac_ext <<_ACEOF
30631 /* confdefs.h.  */
30632 _ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h.  */
30636
30637 /* Override any gcc2 internal prototype to avoid an error.  */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 /* We use char because int might match the return type of a gcc2
30642    builtin and then its argument prototype would still apply.  */
30643 char erfl ();
30644 int
30645 main ()
30646 {
30647 erfl ();
30648   ;
30649   return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30654   (eval $ac_link) 2>conftest.er1
30655   ac_status=$?
30656   grep -v '^ *+' conftest.er1 >conftest.err
30657   rm -f conftest.er1
30658   cat conftest.err >&5
30659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660   (exit $ac_status); } &&
30661          { ac_try='test -z "$ac_c_werror_flag"
30662                          || test ! -s conftest.err'
30663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664   (eval $ac_try) 2>&5
30665   ac_status=$?
30666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667   (exit $ac_status); }; } &&
30668          { ac_try='test -s conftest$ac_exeext'
30669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670   (eval $ac_try) 2>&5
30671   ac_status=$?
30672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673   (exit $ac_status); }; }; then
30674   ac_cv_lib_m_erfl=yes
30675 else
30676   echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30678
30679 ac_cv_lib_m_erfl=no
30680 fi
30681 rm -f conftest.err conftest.$ac_objext \
30682       conftest$ac_exeext conftest.$ac_ext
30683 LIBS=$ac_check_lib_save_LIBS
30684 fi
30685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30686 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30687 if test $ac_cv_lib_m_erfl = yes; then
30688
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_ERFL 1
30691 _ACEOF
30692
30693 fi
30694
30695 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30696 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30697 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30698   echo $ECHO_N "(cached) $ECHO_C" >&6
30699 else
30700   ac_check_lib_save_LIBS=$LIBS
30701 LIBS="-lm  $LIBS"
30702 if test x$gcc_no_link = xyes; then
30703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30705    { (exit 1); exit 1; }; }
30706 fi
30707 cat >conftest.$ac_ext <<_ACEOF
30708 /* confdefs.h.  */
30709 _ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h.  */
30713
30714 /* Override any gcc2 internal prototype to avoid an error.  */
30715 #ifdef __cplusplus
30716 extern "C"
30717 #endif
30718 /* We use char because int might match the return type of a gcc2
30719    builtin and then its argument prototype would still apply.  */
30720 char erfcf ();
30721 int
30722 main ()
30723 {
30724 erfcf ();
30725   ;
30726   return 0;
30727 }
30728 _ACEOF
30729 rm -f conftest.$ac_objext conftest$ac_exeext
30730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30731   (eval $ac_link) 2>conftest.er1
30732   ac_status=$?
30733   grep -v '^ *+' conftest.er1 >conftest.err
30734   rm -f conftest.er1
30735   cat conftest.err >&5
30736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737   (exit $ac_status); } &&
30738          { ac_try='test -z "$ac_c_werror_flag"
30739                          || test ! -s conftest.err'
30740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30741   (eval $ac_try) 2>&5
30742   ac_status=$?
30743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744   (exit $ac_status); }; } &&
30745          { ac_try='test -s conftest$ac_exeext'
30746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747   (eval $ac_try) 2>&5
30748   ac_status=$?
30749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750   (exit $ac_status); }; }; then
30751   ac_cv_lib_m_erfcf=yes
30752 else
30753   echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30755
30756 ac_cv_lib_m_erfcf=no
30757 fi
30758 rm -f conftest.err conftest.$ac_objext \
30759       conftest$ac_exeext conftest.$ac_ext
30760 LIBS=$ac_check_lib_save_LIBS
30761 fi
30762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30763 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30764 if test $ac_cv_lib_m_erfcf = yes; then
30765
30766 cat >>confdefs.h <<\_ACEOF
30767 #define HAVE_ERFCF 1
30768 _ACEOF
30769
30770 fi
30771
30772 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30773 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30774 if test "${ac_cv_lib_m_erfc+set}" = set; then
30775   echo $ECHO_N "(cached) $ECHO_C" >&6
30776 else
30777   ac_check_lib_save_LIBS=$LIBS
30778 LIBS="-lm  $LIBS"
30779 if test x$gcc_no_link = xyes; then
30780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30782    { (exit 1); exit 1; }; }
30783 fi
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h.  */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h.  */
30790
30791 /* Override any gcc2 internal prototype to avoid an error.  */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796    builtin and then its argument prototype would still apply.  */
30797 char erfc ();
30798 int
30799 main ()
30800 {
30801 erfc ();
30802   ;
30803   return 0;
30804 }
30805 _ACEOF
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808   (eval $ac_link) 2>conftest.er1
30809   ac_status=$?
30810   grep -v '^ *+' conftest.er1 >conftest.err
30811   rm -f conftest.er1
30812   cat conftest.err >&5
30813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814   (exit $ac_status); } &&
30815          { ac_try='test -z "$ac_c_werror_flag"
30816                          || test ! -s conftest.err'
30817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818   (eval $ac_try) 2>&5
30819   ac_status=$?
30820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821   (exit $ac_status); }; } &&
30822          { ac_try='test -s conftest$ac_exeext'
30823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824   (eval $ac_try) 2>&5
30825   ac_status=$?
30826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827   (exit $ac_status); }; }; then
30828   ac_cv_lib_m_erfc=yes
30829 else
30830   echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30832
30833 ac_cv_lib_m_erfc=no
30834 fi
30835 rm -f conftest.err conftest.$ac_objext \
30836       conftest$ac_exeext conftest.$ac_ext
30837 LIBS=$ac_check_lib_save_LIBS
30838 fi
30839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30840 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30841 if test $ac_cv_lib_m_erfc = yes; then
30842
30843 cat >>confdefs.h <<\_ACEOF
30844 #define HAVE_ERFC 1
30845 _ACEOF
30846
30847 fi
30848
30849 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30850 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30851 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30852   echo $ECHO_N "(cached) $ECHO_C" >&6
30853 else
30854   ac_check_lib_save_LIBS=$LIBS
30855 LIBS="-lm  $LIBS"
30856 if test x$gcc_no_link = xyes; then
30857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30859    { (exit 1); exit 1; }; }
30860 fi
30861 cat >conftest.$ac_ext <<_ACEOF
30862 /* confdefs.h.  */
30863 _ACEOF
30864 cat confdefs.h >>conftest.$ac_ext
30865 cat >>conftest.$ac_ext <<_ACEOF
30866 /* end confdefs.h.  */
30867
30868 /* Override any gcc2 internal prototype to avoid an error.  */
30869 #ifdef __cplusplus
30870 extern "C"
30871 #endif
30872 /* We use char because int might match the return type of a gcc2
30873    builtin and then its argument prototype would still apply.  */
30874 char erfcl ();
30875 int
30876 main ()
30877 {
30878 erfcl ();
30879   ;
30880   return 0;
30881 }
30882 _ACEOF
30883 rm -f conftest.$ac_objext conftest$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885   (eval $ac_link) 2>conftest.er1
30886   ac_status=$?
30887   grep -v '^ *+' conftest.er1 >conftest.err
30888   rm -f conftest.er1
30889   cat conftest.err >&5
30890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891   (exit $ac_status); } &&
30892          { ac_try='test -z "$ac_c_werror_flag"
30893                          || test ! -s conftest.err'
30894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895   (eval $ac_try) 2>&5
30896   ac_status=$?
30897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898   (exit $ac_status); }; } &&
30899          { ac_try='test -s conftest$ac_exeext'
30900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901   (eval $ac_try) 2>&5
30902   ac_status=$?
30903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904   (exit $ac_status); }; }; then
30905   ac_cv_lib_m_erfcl=yes
30906 else
30907   echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30909
30910 ac_cv_lib_m_erfcl=no
30911 fi
30912 rm -f conftest.err conftest.$ac_objext \
30913       conftest$ac_exeext conftest.$ac_ext
30914 LIBS=$ac_check_lib_save_LIBS
30915 fi
30916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30917 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30918 if test $ac_cv_lib_m_erfcl = yes; then
30919
30920 cat >>confdefs.h <<\_ACEOF
30921 #define HAVE_ERFCL 1
30922 _ACEOF
30923
30924 fi
30925
30926 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30927 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30928 if test "${ac_cv_lib_m_j0f+set}" = set; then
30929   echo $ECHO_N "(cached) $ECHO_C" >&6
30930 else
30931   ac_check_lib_save_LIBS=$LIBS
30932 LIBS="-lm  $LIBS"
30933 if test x$gcc_no_link = xyes; then
30934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30936    { (exit 1); exit 1; }; }
30937 fi
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h.  */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h.  */
30944
30945 /* Override any gcc2 internal prototype to avoid an error.  */
30946 #ifdef __cplusplus
30947 extern "C"
30948 #endif
30949 /* We use char because int might match the return type of a gcc2
30950    builtin and then its argument prototype would still apply.  */
30951 char j0f ();
30952 int
30953 main ()
30954 {
30955 j0f ();
30956   ;
30957   return 0;
30958 }
30959 _ACEOF
30960 rm -f conftest.$ac_objext conftest$ac_exeext
30961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30962   (eval $ac_link) 2>conftest.er1
30963   ac_status=$?
30964   grep -v '^ *+' conftest.er1 >conftest.err
30965   rm -f conftest.er1
30966   cat conftest.err >&5
30967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968   (exit $ac_status); } &&
30969          { ac_try='test -z "$ac_c_werror_flag"
30970                          || test ! -s conftest.err'
30971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972   (eval $ac_try) 2>&5
30973   ac_status=$?
30974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975   (exit $ac_status); }; } &&
30976          { ac_try='test -s conftest$ac_exeext'
30977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978   (eval $ac_try) 2>&5
30979   ac_status=$?
30980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981   (exit $ac_status); }; }; then
30982   ac_cv_lib_m_j0f=yes
30983 else
30984   echo "$as_me: failed program was:" >&5
30985 sed 's/^/| /' conftest.$ac_ext >&5
30986
30987 ac_cv_lib_m_j0f=no
30988 fi
30989 rm -f conftest.err conftest.$ac_objext \
30990       conftest$ac_exeext conftest.$ac_ext
30991 LIBS=$ac_check_lib_save_LIBS
30992 fi
30993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30994 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30995 if test $ac_cv_lib_m_j0f = yes; then
30996
30997 cat >>confdefs.h <<\_ACEOF
30998 #define HAVE_J0F 1
30999 _ACEOF
31000
31001 fi
31002
31003 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
31004 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
31005 if test "${ac_cv_lib_m_j0+set}" = set; then
31006   echo $ECHO_N "(cached) $ECHO_C" >&6
31007 else
31008   ac_check_lib_save_LIBS=$LIBS
31009 LIBS="-lm  $LIBS"
31010 if test x$gcc_no_link = xyes; then
31011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31013    { (exit 1); exit 1; }; }
31014 fi
31015 cat >conftest.$ac_ext <<_ACEOF
31016 /* confdefs.h.  */
31017 _ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h.  */
31021
31022 /* Override any gcc2 internal prototype to avoid an error.  */
31023 #ifdef __cplusplus
31024 extern "C"
31025 #endif
31026 /* We use char because int might match the return type of a gcc2
31027    builtin and then its argument prototype would still apply.  */
31028 char j0 ();
31029 int
31030 main ()
31031 {
31032 j0 ();
31033   ;
31034   return 0;
31035 }
31036 _ACEOF
31037 rm -f conftest.$ac_objext conftest$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039   (eval $ac_link) 2>conftest.er1
31040   ac_status=$?
31041   grep -v '^ *+' conftest.er1 >conftest.err
31042   rm -f conftest.er1
31043   cat conftest.err >&5
31044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045   (exit $ac_status); } &&
31046          { ac_try='test -z "$ac_c_werror_flag"
31047                          || test ! -s conftest.err'
31048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049   (eval $ac_try) 2>&5
31050   ac_status=$?
31051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052   (exit $ac_status); }; } &&
31053          { ac_try='test -s conftest$ac_exeext'
31054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055   (eval $ac_try) 2>&5
31056   ac_status=$?
31057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058   (exit $ac_status); }; }; then
31059   ac_cv_lib_m_j0=yes
31060 else
31061   echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31063
31064 ac_cv_lib_m_j0=no
31065 fi
31066 rm -f conftest.err conftest.$ac_objext \
31067       conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31069 fi
31070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31071 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31072 if test $ac_cv_lib_m_j0 = yes; then
31073
31074 cat >>confdefs.h <<\_ACEOF
31075 #define HAVE_J0 1
31076 _ACEOF
31077
31078 fi
31079
31080 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31081 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31082 if test "${ac_cv_lib_m_j0l+set}" = set; then
31083   echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085   ac_check_lib_save_LIBS=$LIBS
31086 LIBS="-lm  $LIBS"
31087 if test x$gcc_no_link = xyes; then
31088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31090    { (exit 1); exit 1; }; }
31091 fi
31092 cat >conftest.$ac_ext <<_ACEOF
31093 /* confdefs.h.  */
31094 _ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h.  */
31098
31099 /* Override any gcc2 internal prototype to avoid an error.  */
31100 #ifdef __cplusplus
31101 extern "C"
31102 #endif
31103 /* We use char because int might match the return type of a gcc2
31104    builtin and then its argument prototype would still apply.  */
31105 char j0l ();
31106 int
31107 main ()
31108 {
31109 j0l ();
31110   ;
31111   return 0;
31112 }
31113 _ACEOF
31114 rm -f conftest.$ac_objext conftest$ac_exeext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116   (eval $ac_link) 2>conftest.er1
31117   ac_status=$?
31118   grep -v '^ *+' conftest.er1 >conftest.err
31119   rm -f conftest.er1
31120   cat conftest.err >&5
31121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122   (exit $ac_status); } &&
31123          { ac_try='test -z "$ac_c_werror_flag"
31124                          || test ! -s conftest.err'
31125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126   (eval $ac_try) 2>&5
31127   ac_status=$?
31128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129   (exit $ac_status); }; } &&
31130          { ac_try='test -s conftest$ac_exeext'
31131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132   (eval $ac_try) 2>&5
31133   ac_status=$?
31134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135   (exit $ac_status); }; }; then
31136   ac_cv_lib_m_j0l=yes
31137 else
31138   echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.$ac_ext >&5
31140
31141 ac_cv_lib_m_j0l=no
31142 fi
31143 rm -f conftest.err conftest.$ac_objext \
31144       conftest$ac_exeext conftest.$ac_ext
31145 LIBS=$ac_check_lib_save_LIBS
31146 fi
31147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31148 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31149 if test $ac_cv_lib_m_j0l = yes; then
31150
31151 cat >>confdefs.h <<\_ACEOF
31152 #define HAVE_J0L 1
31153 _ACEOF
31154
31155 fi
31156
31157 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31158 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31159 if test "${ac_cv_lib_m_j1f+set}" = set; then
31160   echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162   ac_check_lib_save_LIBS=$LIBS
31163 LIBS="-lm  $LIBS"
31164 if test x$gcc_no_link = xyes; then
31165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31167    { (exit 1); exit 1; }; }
31168 fi
31169 cat >conftest.$ac_ext <<_ACEOF
31170 /* confdefs.h.  */
31171 _ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h.  */
31175
31176 /* Override any gcc2 internal prototype to avoid an error.  */
31177 #ifdef __cplusplus
31178 extern "C"
31179 #endif
31180 /* We use char because int might match the return type of a gcc2
31181    builtin and then its argument prototype would still apply.  */
31182 char j1f ();
31183 int
31184 main ()
31185 {
31186 j1f ();
31187   ;
31188   return 0;
31189 }
31190 _ACEOF
31191 rm -f conftest.$ac_objext conftest$ac_exeext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31193   (eval $ac_link) 2>conftest.er1
31194   ac_status=$?
31195   grep -v '^ *+' conftest.er1 >conftest.err
31196   rm -f conftest.er1
31197   cat conftest.err >&5
31198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199   (exit $ac_status); } &&
31200          { ac_try='test -z "$ac_c_werror_flag"
31201                          || test ! -s conftest.err'
31202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203   (eval $ac_try) 2>&5
31204   ac_status=$?
31205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206   (exit $ac_status); }; } &&
31207          { ac_try='test -s conftest$ac_exeext'
31208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209   (eval $ac_try) 2>&5
31210   ac_status=$?
31211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212   (exit $ac_status); }; }; then
31213   ac_cv_lib_m_j1f=yes
31214 else
31215   echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31217
31218 ac_cv_lib_m_j1f=no
31219 fi
31220 rm -f conftest.err conftest.$ac_objext \
31221       conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31223 fi
31224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31225 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31226 if test $ac_cv_lib_m_j1f = yes; then
31227
31228 cat >>confdefs.h <<\_ACEOF
31229 #define HAVE_J1F 1
31230 _ACEOF
31231
31232 fi
31233
31234 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31235 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31236 if test "${ac_cv_lib_m_j1+set}" = set; then
31237   echo $ECHO_N "(cached) $ECHO_C" >&6
31238 else
31239   ac_check_lib_save_LIBS=$LIBS
31240 LIBS="-lm  $LIBS"
31241 if test x$gcc_no_link = xyes; then
31242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31244    { (exit 1); exit 1; }; }
31245 fi
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h.  */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h.  */
31252
31253 /* Override any gcc2 internal prototype to avoid an error.  */
31254 #ifdef __cplusplus
31255 extern "C"
31256 #endif
31257 /* We use char because int might match the return type of a gcc2
31258    builtin and then its argument prototype would still apply.  */
31259 char j1 ();
31260 int
31261 main ()
31262 {
31263 j1 ();
31264   ;
31265   return 0;
31266 }
31267 _ACEOF
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31270   (eval $ac_link) 2>conftest.er1
31271   ac_status=$?
31272   grep -v '^ *+' conftest.er1 >conftest.err
31273   rm -f conftest.er1
31274   cat conftest.err >&5
31275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276   (exit $ac_status); } &&
31277          { ac_try='test -z "$ac_c_werror_flag"
31278                          || test ! -s conftest.err'
31279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280   (eval $ac_try) 2>&5
31281   ac_status=$?
31282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283   (exit $ac_status); }; } &&
31284          { ac_try='test -s conftest$ac_exeext'
31285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286   (eval $ac_try) 2>&5
31287   ac_status=$?
31288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289   (exit $ac_status); }; }; then
31290   ac_cv_lib_m_j1=yes
31291 else
31292   echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295 ac_cv_lib_m_j1=no
31296 fi
31297 rm -f conftest.err conftest.$ac_objext \
31298       conftest$ac_exeext conftest.$ac_ext
31299 LIBS=$ac_check_lib_save_LIBS
31300 fi
31301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31302 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31303 if test $ac_cv_lib_m_j1 = yes; then
31304
31305 cat >>confdefs.h <<\_ACEOF
31306 #define HAVE_J1 1
31307 _ACEOF
31308
31309 fi
31310
31311 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31312 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31313 if test "${ac_cv_lib_m_j1l+set}" = set; then
31314   echo $ECHO_N "(cached) $ECHO_C" >&6
31315 else
31316   ac_check_lib_save_LIBS=$LIBS
31317 LIBS="-lm  $LIBS"
31318 if test x$gcc_no_link = xyes; then
31319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31321    { (exit 1); exit 1; }; }
31322 fi
31323 cat >conftest.$ac_ext <<_ACEOF
31324 /* confdefs.h.  */
31325 _ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h.  */
31329
31330 /* Override any gcc2 internal prototype to avoid an error.  */
31331 #ifdef __cplusplus
31332 extern "C"
31333 #endif
31334 /* We use char because int might match the return type of a gcc2
31335    builtin and then its argument prototype would still apply.  */
31336 char j1l ();
31337 int
31338 main ()
31339 {
31340 j1l ();
31341   ;
31342   return 0;
31343 }
31344 _ACEOF
31345 rm -f conftest.$ac_objext conftest$ac_exeext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31347   (eval $ac_link) 2>conftest.er1
31348   ac_status=$?
31349   grep -v '^ *+' conftest.er1 >conftest.err
31350   rm -f conftest.er1
31351   cat conftest.err >&5
31352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353   (exit $ac_status); } &&
31354          { ac_try='test -z "$ac_c_werror_flag"
31355                          || test ! -s conftest.err'
31356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357   (eval $ac_try) 2>&5
31358   ac_status=$?
31359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360   (exit $ac_status); }; } &&
31361          { ac_try='test -s conftest$ac_exeext'
31362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363   (eval $ac_try) 2>&5
31364   ac_status=$?
31365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366   (exit $ac_status); }; }; then
31367   ac_cv_lib_m_j1l=yes
31368 else
31369   echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31371
31372 ac_cv_lib_m_j1l=no
31373 fi
31374 rm -f conftest.err conftest.$ac_objext \
31375       conftest$ac_exeext conftest.$ac_ext
31376 LIBS=$ac_check_lib_save_LIBS
31377 fi
31378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31379 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31380 if test $ac_cv_lib_m_j1l = yes; then
31381
31382 cat >>confdefs.h <<\_ACEOF
31383 #define HAVE_J1L 1
31384 _ACEOF
31385
31386 fi
31387
31388 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31389 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31390 if test "${ac_cv_lib_m_jnf+set}" = set; then
31391   echo $ECHO_N "(cached) $ECHO_C" >&6
31392 else
31393   ac_check_lib_save_LIBS=$LIBS
31394 LIBS="-lm  $LIBS"
31395 if test x$gcc_no_link = xyes; then
31396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31398    { (exit 1); exit 1; }; }
31399 fi
31400 cat >conftest.$ac_ext <<_ACEOF
31401 /* confdefs.h.  */
31402 _ACEOF
31403 cat confdefs.h >>conftest.$ac_ext
31404 cat >>conftest.$ac_ext <<_ACEOF
31405 /* end confdefs.h.  */
31406
31407 /* Override any gcc2 internal prototype to avoid an error.  */
31408 #ifdef __cplusplus
31409 extern "C"
31410 #endif
31411 /* We use char because int might match the return type of a gcc2
31412    builtin and then its argument prototype would still apply.  */
31413 char jnf ();
31414 int
31415 main ()
31416 {
31417 jnf ();
31418   ;
31419   return 0;
31420 }
31421 _ACEOF
31422 rm -f conftest.$ac_objext conftest$ac_exeext
31423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31424   (eval $ac_link) 2>conftest.er1
31425   ac_status=$?
31426   grep -v '^ *+' conftest.er1 >conftest.err
31427   rm -f conftest.er1
31428   cat conftest.err >&5
31429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430   (exit $ac_status); } &&
31431          { ac_try='test -z "$ac_c_werror_flag"
31432                          || test ! -s conftest.err'
31433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434   (eval $ac_try) 2>&5
31435   ac_status=$?
31436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437   (exit $ac_status); }; } &&
31438          { ac_try='test -s conftest$ac_exeext'
31439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31440   (eval $ac_try) 2>&5
31441   ac_status=$?
31442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443   (exit $ac_status); }; }; then
31444   ac_cv_lib_m_jnf=yes
31445 else
31446   echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.$ac_ext >&5
31448
31449 ac_cv_lib_m_jnf=no
31450 fi
31451 rm -f conftest.err conftest.$ac_objext \
31452       conftest$ac_exeext conftest.$ac_ext
31453 LIBS=$ac_check_lib_save_LIBS
31454 fi
31455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31456 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31457 if test $ac_cv_lib_m_jnf = yes; then
31458
31459 cat >>confdefs.h <<\_ACEOF
31460 #define HAVE_JNF 1
31461 _ACEOF
31462
31463 fi
31464
31465 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31466 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31467 if test "${ac_cv_lib_m_jn+set}" = set; then
31468   echo $ECHO_N "(cached) $ECHO_C" >&6
31469 else
31470   ac_check_lib_save_LIBS=$LIBS
31471 LIBS="-lm  $LIBS"
31472 if test x$gcc_no_link = xyes; then
31473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31475    { (exit 1); exit 1; }; }
31476 fi
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h.  */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h.  */
31483
31484 /* Override any gcc2 internal prototype to avoid an error.  */
31485 #ifdef __cplusplus
31486 extern "C"
31487 #endif
31488 /* We use char because int might match the return type of a gcc2
31489    builtin and then its argument prototype would still apply.  */
31490 char jn ();
31491 int
31492 main ()
31493 {
31494 jn ();
31495   ;
31496   return 0;
31497 }
31498 _ACEOF
31499 rm -f conftest.$ac_objext conftest$ac_exeext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31501   (eval $ac_link) 2>conftest.er1
31502   ac_status=$?
31503   grep -v '^ *+' conftest.er1 >conftest.err
31504   rm -f conftest.er1
31505   cat conftest.err >&5
31506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507   (exit $ac_status); } &&
31508          { ac_try='test -z "$ac_c_werror_flag"
31509                          || test ! -s conftest.err'
31510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511   (eval $ac_try) 2>&5
31512   ac_status=$?
31513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514   (exit $ac_status); }; } &&
31515          { ac_try='test -s conftest$ac_exeext'
31516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517   (eval $ac_try) 2>&5
31518   ac_status=$?
31519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520   (exit $ac_status); }; }; then
31521   ac_cv_lib_m_jn=yes
31522 else
31523   echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 ac_cv_lib_m_jn=no
31527 fi
31528 rm -f conftest.err conftest.$ac_objext \
31529       conftest$ac_exeext conftest.$ac_ext
31530 LIBS=$ac_check_lib_save_LIBS
31531 fi
31532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31533 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31534 if test $ac_cv_lib_m_jn = yes; then
31535
31536 cat >>confdefs.h <<\_ACEOF
31537 #define HAVE_JN 1
31538 _ACEOF
31539
31540 fi
31541
31542 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31543 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31544 if test "${ac_cv_lib_m_jnl+set}" = set; then
31545   echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547   ac_check_lib_save_LIBS=$LIBS
31548 LIBS="-lm  $LIBS"
31549 if test x$gcc_no_link = xyes; then
31550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31552    { (exit 1); exit 1; }; }
31553 fi
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h.  */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h.  */
31560
31561 /* Override any gcc2 internal prototype to avoid an error.  */
31562 #ifdef __cplusplus
31563 extern "C"
31564 #endif
31565 /* We use char because int might match the return type of a gcc2
31566    builtin and then its argument prototype would still apply.  */
31567 char jnl ();
31568 int
31569 main ()
31570 {
31571 jnl ();
31572   ;
31573   return 0;
31574 }
31575 _ACEOF
31576 rm -f conftest.$ac_objext conftest$ac_exeext
31577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31578   (eval $ac_link) 2>conftest.er1
31579   ac_status=$?
31580   grep -v '^ *+' conftest.er1 >conftest.err
31581   rm -f conftest.er1
31582   cat conftest.err >&5
31583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584   (exit $ac_status); } &&
31585          { ac_try='test -z "$ac_c_werror_flag"
31586                          || test ! -s conftest.err'
31587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588   (eval $ac_try) 2>&5
31589   ac_status=$?
31590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591   (exit $ac_status); }; } &&
31592          { ac_try='test -s conftest$ac_exeext'
31593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594   (eval $ac_try) 2>&5
31595   ac_status=$?
31596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597   (exit $ac_status); }; }; then
31598   ac_cv_lib_m_jnl=yes
31599 else
31600   echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31602
31603 ac_cv_lib_m_jnl=no
31604 fi
31605 rm -f conftest.err conftest.$ac_objext \
31606       conftest$ac_exeext conftest.$ac_ext
31607 LIBS=$ac_check_lib_save_LIBS
31608 fi
31609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31610 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31611 if test $ac_cv_lib_m_jnl = yes; then
31612
31613 cat >>confdefs.h <<\_ACEOF
31614 #define HAVE_JNL 1
31615 _ACEOF
31616
31617 fi
31618
31619 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31620 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31621 if test "${ac_cv_lib_m_y0f+set}" = set; then
31622   echo $ECHO_N "(cached) $ECHO_C" >&6
31623 else
31624   ac_check_lib_save_LIBS=$LIBS
31625 LIBS="-lm  $LIBS"
31626 if test x$gcc_no_link = xyes; then
31627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31629    { (exit 1); exit 1; }; }
31630 fi
31631 cat >conftest.$ac_ext <<_ACEOF
31632 /* confdefs.h.  */
31633 _ACEOF
31634 cat confdefs.h >>conftest.$ac_ext
31635 cat >>conftest.$ac_ext <<_ACEOF
31636 /* end confdefs.h.  */
31637
31638 /* Override any gcc2 internal prototype to avoid an error.  */
31639 #ifdef __cplusplus
31640 extern "C"
31641 #endif
31642 /* We use char because int might match the return type of a gcc2
31643    builtin and then its argument prototype would still apply.  */
31644 char y0f ();
31645 int
31646 main ()
31647 {
31648 y0f ();
31649   ;
31650   return 0;
31651 }
31652 _ACEOF
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655   (eval $ac_link) 2>conftest.er1
31656   ac_status=$?
31657   grep -v '^ *+' conftest.er1 >conftest.err
31658   rm -f conftest.er1
31659   cat conftest.err >&5
31660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661   (exit $ac_status); } &&
31662          { ac_try='test -z "$ac_c_werror_flag"
31663                          || test ! -s conftest.err'
31664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665   (eval $ac_try) 2>&5
31666   ac_status=$?
31667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668   (exit $ac_status); }; } &&
31669          { ac_try='test -s conftest$ac_exeext'
31670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671   (eval $ac_try) 2>&5
31672   ac_status=$?
31673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674   (exit $ac_status); }; }; then
31675   ac_cv_lib_m_y0f=yes
31676 else
31677   echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31679
31680 ac_cv_lib_m_y0f=no
31681 fi
31682 rm -f conftest.err conftest.$ac_objext \
31683       conftest$ac_exeext conftest.$ac_ext
31684 LIBS=$ac_check_lib_save_LIBS
31685 fi
31686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31687 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31688 if test $ac_cv_lib_m_y0f = yes; then
31689
31690 cat >>confdefs.h <<\_ACEOF
31691 #define HAVE_Y0F 1
31692 _ACEOF
31693
31694 fi
31695
31696 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31697 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31698 if test "${ac_cv_lib_m_y0+set}" = set; then
31699   echo $ECHO_N "(cached) $ECHO_C" >&6
31700 else
31701   ac_check_lib_save_LIBS=$LIBS
31702 LIBS="-lm  $LIBS"
31703 if test x$gcc_no_link = xyes; then
31704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31706    { (exit 1); exit 1; }; }
31707 fi
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h.  */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h.  */
31714
31715 /* Override any gcc2 internal prototype to avoid an error.  */
31716 #ifdef __cplusplus
31717 extern "C"
31718 #endif
31719 /* We use char because int might match the return type of a gcc2
31720    builtin and then its argument prototype would still apply.  */
31721 char y0 ();
31722 int
31723 main ()
31724 {
31725 y0 ();
31726   ;
31727   return 0;
31728 }
31729 _ACEOF
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31732   (eval $ac_link) 2>conftest.er1
31733   ac_status=$?
31734   grep -v '^ *+' conftest.er1 >conftest.err
31735   rm -f conftest.er1
31736   cat conftest.err >&5
31737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738   (exit $ac_status); } &&
31739          { ac_try='test -z "$ac_c_werror_flag"
31740                          || test ! -s conftest.err'
31741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742   (eval $ac_try) 2>&5
31743   ac_status=$?
31744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745   (exit $ac_status); }; } &&
31746          { ac_try='test -s conftest$ac_exeext'
31747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748   (eval $ac_try) 2>&5
31749   ac_status=$?
31750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751   (exit $ac_status); }; }; then
31752   ac_cv_lib_m_y0=yes
31753 else
31754   echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31756
31757 ac_cv_lib_m_y0=no
31758 fi
31759 rm -f conftest.err conftest.$ac_objext \
31760       conftest$ac_exeext conftest.$ac_ext
31761 LIBS=$ac_check_lib_save_LIBS
31762 fi
31763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31764 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31765 if test $ac_cv_lib_m_y0 = yes; then
31766
31767 cat >>confdefs.h <<\_ACEOF
31768 #define HAVE_Y0 1
31769 _ACEOF
31770
31771 fi
31772
31773 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31774 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31775 if test "${ac_cv_lib_m_y0l+set}" = set; then
31776   echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778   ac_check_lib_save_LIBS=$LIBS
31779 LIBS="-lm  $LIBS"
31780 if test x$gcc_no_link = xyes; then
31781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31783    { (exit 1); exit 1; }; }
31784 fi
31785 cat >conftest.$ac_ext <<_ACEOF
31786 /* confdefs.h.  */
31787 _ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h.  */
31791
31792 /* Override any gcc2 internal prototype to avoid an error.  */
31793 #ifdef __cplusplus
31794 extern "C"
31795 #endif
31796 /* We use char because int might match the return type of a gcc2
31797    builtin and then its argument prototype would still apply.  */
31798 char y0l ();
31799 int
31800 main ()
31801 {
31802 y0l ();
31803   ;
31804   return 0;
31805 }
31806 _ACEOF
31807 rm -f conftest.$ac_objext conftest$ac_exeext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31809   (eval $ac_link) 2>conftest.er1
31810   ac_status=$?
31811   grep -v '^ *+' conftest.er1 >conftest.err
31812   rm -f conftest.er1
31813   cat conftest.err >&5
31814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815   (exit $ac_status); } &&
31816          { ac_try='test -z "$ac_c_werror_flag"
31817                          || test ! -s conftest.err'
31818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819   (eval $ac_try) 2>&5
31820   ac_status=$?
31821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822   (exit $ac_status); }; } &&
31823          { ac_try='test -s conftest$ac_exeext'
31824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825   (eval $ac_try) 2>&5
31826   ac_status=$?
31827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828   (exit $ac_status); }; }; then
31829   ac_cv_lib_m_y0l=yes
31830 else
31831   echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31833
31834 ac_cv_lib_m_y0l=no
31835 fi
31836 rm -f conftest.err conftest.$ac_objext \
31837       conftest$ac_exeext conftest.$ac_ext
31838 LIBS=$ac_check_lib_save_LIBS
31839 fi
31840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31841 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31842 if test $ac_cv_lib_m_y0l = yes; then
31843
31844 cat >>confdefs.h <<\_ACEOF
31845 #define HAVE_Y0L 1
31846 _ACEOF
31847
31848 fi
31849
31850 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31851 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31852 if test "${ac_cv_lib_m_y1f+set}" = set; then
31853   echo $ECHO_N "(cached) $ECHO_C" >&6
31854 else
31855   ac_check_lib_save_LIBS=$LIBS
31856 LIBS="-lm  $LIBS"
31857 if test x$gcc_no_link = xyes; then
31858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31860    { (exit 1); exit 1; }; }
31861 fi
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h.  */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h.  */
31868
31869 /* Override any gcc2 internal prototype to avoid an error.  */
31870 #ifdef __cplusplus
31871 extern "C"
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874    builtin and then its argument prototype would still apply.  */
31875 char y1f ();
31876 int
31877 main ()
31878 {
31879 y1f ();
31880   ;
31881   return 0;
31882 }
31883 _ACEOF
31884 rm -f conftest.$ac_objext conftest$ac_exeext
31885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31886   (eval $ac_link) 2>conftest.er1
31887   ac_status=$?
31888   grep -v '^ *+' conftest.er1 >conftest.err
31889   rm -f conftest.er1
31890   cat conftest.err >&5
31891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892   (exit $ac_status); } &&
31893          { ac_try='test -z "$ac_c_werror_flag"
31894                          || test ! -s conftest.err'
31895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896   (eval $ac_try) 2>&5
31897   ac_status=$?
31898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899   (exit $ac_status); }; } &&
31900          { ac_try='test -s conftest$ac_exeext'
31901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902   (eval $ac_try) 2>&5
31903   ac_status=$?
31904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905   (exit $ac_status); }; }; then
31906   ac_cv_lib_m_y1f=yes
31907 else
31908   echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.$ac_ext >&5
31910
31911 ac_cv_lib_m_y1f=no
31912 fi
31913 rm -f conftest.err conftest.$ac_objext \
31914       conftest$ac_exeext conftest.$ac_ext
31915 LIBS=$ac_check_lib_save_LIBS
31916 fi
31917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31918 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31919 if test $ac_cv_lib_m_y1f = yes; then
31920
31921 cat >>confdefs.h <<\_ACEOF
31922 #define HAVE_Y1F 1
31923 _ACEOF
31924
31925 fi
31926
31927 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31928 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31929 if test "${ac_cv_lib_m_y1+set}" = set; then
31930   echo $ECHO_N "(cached) $ECHO_C" >&6
31931 else
31932   ac_check_lib_save_LIBS=$LIBS
31933 LIBS="-lm  $LIBS"
31934 if test x$gcc_no_link = xyes; then
31935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31937    { (exit 1); exit 1; }; }
31938 fi
31939 cat >conftest.$ac_ext <<_ACEOF
31940 /* confdefs.h.  */
31941 _ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h.  */
31945
31946 /* Override any gcc2 internal prototype to avoid an error.  */
31947 #ifdef __cplusplus
31948 extern "C"
31949 #endif
31950 /* We use char because int might match the return type of a gcc2
31951    builtin and then its argument prototype would still apply.  */
31952 char y1 ();
31953 int
31954 main ()
31955 {
31956 y1 ();
31957   ;
31958   return 0;
31959 }
31960 _ACEOF
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963   (eval $ac_link) 2>conftest.er1
31964   ac_status=$?
31965   grep -v '^ *+' conftest.er1 >conftest.err
31966   rm -f conftest.er1
31967   cat conftest.err >&5
31968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969   (exit $ac_status); } &&
31970          { ac_try='test -z "$ac_c_werror_flag"
31971                          || test ! -s conftest.err'
31972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973   (eval $ac_try) 2>&5
31974   ac_status=$?
31975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976   (exit $ac_status); }; } &&
31977          { ac_try='test -s conftest$ac_exeext'
31978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979   (eval $ac_try) 2>&5
31980   ac_status=$?
31981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982   (exit $ac_status); }; }; then
31983   ac_cv_lib_m_y1=yes
31984 else
31985   echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31987
31988 ac_cv_lib_m_y1=no
31989 fi
31990 rm -f conftest.err conftest.$ac_objext \
31991       conftest$ac_exeext conftest.$ac_ext
31992 LIBS=$ac_check_lib_save_LIBS
31993 fi
31994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31995 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31996 if test $ac_cv_lib_m_y1 = yes; then
31997
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_Y1 1
32000 _ACEOF
32001
32002 fi
32003
32004 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
32005 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
32006 if test "${ac_cv_lib_m_y1l+set}" = set; then
32007   echo $ECHO_N "(cached) $ECHO_C" >&6
32008 else
32009   ac_check_lib_save_LIBS=$LIBS
32010 LIBS="-lm  $LIBS"
32011 if test x$gcc_no_link = xyes; then
32012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32014    { (exit 1); exit 1; }; }
32015 fi
32016 cat >conftest.$ac_ext <<_ACEOF
32017 /* confdefs.h.  */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h.  */
32022
32023 /* Override any gcc2 internal prototype to avoid an error.  */
32024 #ifdef __cplusplus
32025 extern "C"
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028    builtin and then its argument prototype would still apply.  */
32029 char y1l ();
32030 int
32031 main ()
32032 {
32033 y1l ();
32034   ;
32035   return 0;
32036 }
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040   (eval $ac_link) 2>conftest.er1
32041   ac_status=$?
32042   grep -v '^ *+' conftest.er1 >conftest.err
32043   rm -f conftest.er1
32044   cat conftest.err >&5
32045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046   (exit $ac_status); } &&
32047          { ac_try='test -z "$ac_c_werror_flag"
32048                          || test ! -s conftest.err'
32049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050   (eval $ac_try) 2>&5
32051   ac_status=$?
32052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053   (exit $ac_status); }; } &&
32054          { ac_try='test -s conftest$ac_exeext'
32055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056   (eval $ac_try) 2>&5
32057   ac_status=$?
32058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059   (exit $ac_status); }; }; then
32060   ac_cv_lib_m_y1l=yes
32061 else
32062   echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32064
32065 ac_cv_lib_m_y1l=no
32066 fi
32067 rm -f conftest.err conftest.$ac_objext \
32068       conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32070 fi
32071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32072 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32073 if test $ac_cv_lib_m_y1l = yes; then
32074
32075 cat >>confdefs.h <<\_ACEOF
32076 #define HAVE_Y1L 1
32077 _ACEOF
32078
32079 fi
32080
32081 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32082 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32083 if test "${ac_cv_lib_m_ynf+set}" = set; then
32084   echo $ECHO_N "(cached) $ECHO_C" >&6
32085 else
32086   ac_check_lib_save_LIBS=$LIBS
32087 LIBS="-lm  $LIBS"
32088 if test x$gcc_no_link = xyes; then
32089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32091    { (exit 1); exit 1; }; }
32092 fi
32093 cat >conftest.$ac_ext <<_ACEOF
32094 /* confdefs.h.  */
32095 _ACEOF
32096 cat confdefs.h >>conftest.$ac_ext
32097 cat >>conftest.$ac_ext <<_ACEOF
32098 /* end confdefs.h.  */
32099
32100 /* Override any gcc2 internal prototype to avoid an error.  */
32101 #ifdef __cplusplus
32102 extern "C"
32103 #endif
32104 /* We use char because int might match the return type of a gcc2
32105    builtin and then its argument prototype would still apply.  */
32106 char ynf ();
32107 int
32108 main ()
32109 {
32110 ynf ();
32111   ;
32112   return 0;
32113 }
32114 _ACEOF
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32117   (eval $ac_link) 2>conftest.er1
32118   ac_status=$?
32119   grep -v '^ *+' conftest.er1 >conftest.err
32120   rm -f conftest.er1
32121   cat conftest.err >&5
32122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123   (exit $ac_status); } &&
32124          { ac_try='test -z "$ac_c_werror_flag"
32125                          || test ! -s conftest.err'
32126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127   (eval $ac_try) 2>&5
32128   ac_status=$?
32129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130   (exit $ac_status); }; } &&
32131          { ac_try='test -s conftest$ac_exeext'
32132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133   (eval $ac_try) 2>&5
32134   ac_status=$?
32135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136   (exit $ac_status); }; }; then
32137   ac_cv_lib_m_ynf=yes
32138 else
32139   echo "$as_me: failed program was:" >&5
32140 sed 's/^/| /' conftest.$ac_ext >&5
32141
32142 ac_cv_lib_m_ynf=no
32143 fi
32144 rm -f conftest.err conftest.$ac_objext \
32145       conftest$ac_exeext conftest.$ac_ext
32146 LIBS=$ac_check_lib_save_LIBS
32147 fi
32148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32149 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32150 if test $ac_cv_lib_m_ynf = yes; then
32151
32152 cat >>confdefs.h <<\_ACEOF
32153 #define HAVE_YNF 1
32154 _ACEOF
32155
32156 fi
32157
32158 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32159 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32160 if test "${ac_cv_lib_m_yn+set}" = set; then
32161   echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163   ac_check_lib_save_LIBS=$LIBS
32164 LIBS="-lm  $LIBS"
32165 if test x$gcc_no_link = xyes; then
32166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32168    { (exit 1); exit 1; }; }
32169 fi
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h.  */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h.  */
32176
32177 /* Override any gcc2 internal prototype to avoid an error.  */
32178 #ifdef __cplusplus
32179 extern "C"
32180 #endif
32181 /* We use char because int might match the return type of a gcc2
32182    builtin and then its argument prototype would still apply.  */
32183 char yn ();
32184 int
32185 main ()
32186 {
32187 yn ();
32188   ;
32189   return 0;
32190 }
32191 _ACEOF
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32194   (eval $ac_link) 2>conftest.er1
32195   ac_status=$?
32196   grep -v '^ *+' conftest.er1 >conftest.err
32197   rm -f conftest.er1
32198   cat conftest.err >&5
32199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200   (exit $ac_status); } &&
32201          { ac_try='test -z "$ac_c_werror_flag"
32202                          || test ! -s conftest.err'
32203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204   (eval $ac_try) 2>&5
32205   ac_status=$?
32206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207   (exit $ac_status); }; } &&
32208          { ac_try='test -s conftest$ac_exeext'
32209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210   (eval $ac_try) 2>&5
32211   ac_status=$?
32212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213   (exit $ac_status); }; }; then
32214   ac_cv_lib_m_yn=yes
32215 else
32216   echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32218
32219 ac_cv_lib_m_yn=no
32220 fi
32221 rm -f conftest.err conftest.$ac_objext \
32222       conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32224 fi
32225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32226 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32227 if test $ac_cv_lib_m_yn = yes; then
32228
32229 cat >>confdefs.h <<\_ACEOF
32230 #define HAVE_YN 1
32231 _ACEOF
32232
32233 fi
32234
32235 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32236 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32237 if test "${ac_cv_lib_m_ynl+set}" = set; then
32238   echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240   ac_check_lib_save_LIBS=$LIBS
32241 LIBS="-lm  $LIBS"
32242 if test x$gcc_no_link = xyes; then
32243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32245    { (exit 1); exit 1; }; }
32246 fi
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h.  */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h.  */
32253
32254 /* Override any gcc2 internal prototype to avoid an error.  */
32255 #ifdef __cplusplus
32256 extern "C"
32257 #endif
32258 /* We use char because int might match the return type of a gcc2
32259    builtin and then its argument prototype would still apply.  */
32260 char ynl ();
32261 int
32262 main ()
32263 {
32264 ynl ();
32265   ;
32266   return 0;
32267 }
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271   (eval $ac_link) 2>conftest.er1
32272   ac_status=$?
32273   grep -v '^ *+' conftest.er1 >conftest.err
32274   rm -f conftest.er1
32275   cat conftest.err >&5
32276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277   (exit $ac_status); } &&
32278          { ac_try='test -z "$ac_c_werror_flag"
32279                          || test ! -s conftest.err'
32280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281   (eval $ac_try) 2>&5
32282   ac_status=$?
32283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284   (exit $ac_status); }; } &&
32285          { ac_try='test -s conftest$ac_exeext'
32286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287   (eval $ac_try) 2>&5
32288   ac_status=$?
32289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290   (exit $ac_status); }; }; then
32291   ac_cv_lib_m_ynl=yes
32292 else
32293   echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32295
32296 ac_cv_lib_m_ynl=no
32297 fi
32298 rm -f conftest.err conftest.$ac_objext \
32299       conftest$ac_exeext conftest.$ac_ext
32300 LIBS=$ac_check_lib_save_LIBS
32301 fi
32302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32303 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32304 if test $ac_cv_lib_m_ynl = yes; then
32305
32306 cat >>confdefs.h <<\_ACEOF
32307 #define HAVE_YNL 1
32308 _ACEOF
32309
32310 fi
32311
32312 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32313 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32314 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32315   echo $ECHO_N "(cached) $ECHO_C" >&6
32316 else
32317   ac_check_lib_save_LIBS=$LIBS
32318 LIBS="-lm  $LIBS"
32319 if test x$gcc_no_link = xyes; then
32320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32322    { (exit 1); exit 1; }; }
32323 fi
32324 cat >conftest.$ac_ext <<_ACEOF
32325 /* confdefs.h.  */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h.  */
32330
32331 /* Override any gcc2 internal prototype to avoid an error.  */
32332 #ifdef __cplusplus
32333 extern "C"
32334 #endif
32335 /* We use char because int might match the return type of a gcc2
32336    builtin and then its argument prototype would still apply.  */
32337 char tgamma ();
32338 int
32339 main ()
32340 {
32341 tgamma ();
32342   ;
32343   return 0;
32344 }
32345 _ACEOF
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348   (eval $ac_link) 2>conftest.er1
32349   ac_status=$?
32350   grep -v '^ *+' conftest.er1 >conftest.err
32351   rm -f conftest.er1
32352   cat conftest.err >&5
32353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354   (exit $ac_status); } &&
32355          { ac_try='test -z "$ac_c_werror_flag"
32356                          || test ! -s conftest.err'
32357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358   (eval $ac_try) 2>&5
32359   ac_status=$?
32360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361   (exit $ac_status); }; } &&
32362          { ac_try='test -s conftest$ac_exeext'
32363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364   (eval $ac_try) 2>&5
32365   ac_status=$?
32366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367   (exit $ac_status); }; }; then
32368   ac_cv_lib_m_tgamma=yes
32369 else
32370   echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.$ac_ext >&5
32372
32373 ac_cv_lib_m_tgamma=no
32374 fi
32375 rm -f conftest.err conftest.$ac_objext \
32376       conftest$ac_exeext conftest.$ac_ext
32377 LIBS=$ac_check_lib_save_LIBS
32378 fi
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32380 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32381 if test $ac_cv_lib_m_tgamma = yes; then
32382
32383 cat >>confdefs.h <<\_ACEOF
32384 #define HAVE_TGAMMA 1
32385 _ACEOF
32386
32387 fi
32388
32389 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32390 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32391 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32392   echo $ECHO_N "(cached) $ECHO_C" >&6
32393 else
32394   ac_check_lib_save_LIBS=$LIBS
32395 LIBS="-lm  $LIBS"
32396 if test x$gcc_no_link = xyes; then
32397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32399    { (exit 1); exit 1; }; }
32400 fi
32401 cat >conftest.$ac_ext <<_ACEOF
32402 /* confdefs.h.  */
32403 _ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h.  */
32407
32408 /* Override any gcc2 internal prototype to avoid an error.  */
32409 #ifdef __cplusplus
32410 extern "C"
32411 #endif
32412 /* We use char because int might match the return type of a gcc2
32413    builtin and then its argument prototype would still apply.  */
32414 char tgammaf ();
32415 int
32416 main ()
32417 {
32418 tgammaf ();
32419   ;
32420   return 0;
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext conftest$ac_exeext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32425   (eval $ac_link) 2>conftest.er1
32426   ac_status=$?
32427   grep -v '^ *+' conftest.er1 >conftest.err
32428   rm -f conftest.er1
32429   cat conftest.err >&5
32430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431   (exit $ac_status); } &&
32432          { ac_try='test -z "$ac_c_werror_flag"
32433                          || test ! -s conftest.err'
32434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435   (eval $ac_try) 2>&5
32436   ac_status=$?
32437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438   (exit $ac_status); }; } &&
32439          { ac_try='test -s conftest$ac_exeext'
32440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441   (eval $ac_try) 2>&5
32442   ac_status=$?
32443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444   (exit $ac_status); }; }; then
32445   ac_cv_lib_m_tgammaf=yes
32446 else
32447   echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 ac_cv_lib_m_tgammaf=no
32451 fi
32452 rm -f conftest.err conftest.$ac_objext \
32453       conftest$ac_exeext conftest.$ac_ext
32454 LIBS=$ac_check_lib_save_LIBS
32455 fi
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32457 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32458 if test $ac_cv_lib_m_tgammaf = yes; then
32459
32460 cat >>confdefs.h <<\_ACEOF
32461 #define HAVE_TGAMMAF 1
32462 _ACEOF
32463
32464 fi
32465
32466 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32467 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32468 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32469   echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471   ac_check_lib_save_LIBS=$LIBS
32472 LIBS="-lm  $LIBS"
32473 if test x$gcc_no_link = xyes; then
32474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32476    { (exit 1); exit 1; }; }
32477 fi
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h.  */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h.  */
32484
32485 /* Override any gcc2 internal prototype to avoid an error.  */
32486 #ifdef __cplusplus
32487 extern "C"
32488 #endif
32489 /* We use char because int might match the return type of a gcc2
32490    builtin and then its argument prototype would still apply.  */
32491 char tgammal ();
32492 int
32493 main ()
32494 {
32495 tgammal ();
32496   ;
32497   return 0;
32498 }
32499 _ACEOF
32500 rm -f conftest.$ac_objext conftest$ac_exeext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32502   (eval $ac_link) 2>conftest.er1
32503   ac_status=$?
32504   grep -v '^ *+' conftest.er1 >conftest.err
32505   rm -f conftest.er1
32506   cat conftest.err >&5
32507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508   (exit $ac_status); } &&
32509          { ac_try='test -z "$ac_c_werror_flag"
32510                          || test ! -s conftest.err'
32511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512   (eval $ac_try) 2>&5
32513   ac_status=$?
32514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515   (exit $ac_status); }; } &&
32516          { ac_try='test -s conftest$ac_exeext'
32517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518   (eval $ac_try) 2>&5
32519   ac_status=$?
32520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521   (exit $ac_status); }; }; then
32522   ac_cv_lib_m_tgammal=yes
32523 else
32524   echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527 ac_cv_lib_m_tgammal=no
32528 fi
32529 rm -f conftest.err conftest.$ac_objext \
32530       conftest$ac_exeext conftest.$ac_ext
32531 LIBS=$ac_check_lib_save_LIBS
32532 fi
32533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32534 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32535 if test $ac_cv_lib_m_tgammal = yes; then
32536
32537 cat >>confdefs.h <<\_ACEOF
32538 #define HAVE_TGAMMAL 1
32539 _ACEOF
32540
32541 fi
32542
32543 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32544 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32545 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32546   echo $ECHO_N "(cached) $ECHO_C" >&6
32547 else
32548   ac_check_lib_save_LIBS=$LIBS
32549 LIBS="-lm  $LIBS"
32550 if test x$gcc_no_link = xyes; then
32551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32553    { (exit 1); exit 1; }; }
32554 fi
32555 cat >conftest.$ac_ext <<_ACEOF
32556 /* confdefs.h.  */
32557 _ACEOF
32558 cat confdefs.h >>conftest.$ac_ext
32559 cat >>conftest.$ac_ext <<_ACEOF
32560 /* end confdefs.h.  */
32561
32562 /* Override any gcc2 internal prototype to avoid an error.  */
32563 #ifdef __cplusplus
32564 extern "C"
32565 #endif
32566 /* We use char because int might match the return type of a gcc2
32567    builtin and then its argument prototype would still apply.  */
32568 char lgamma ();
32569 int
32570 main ()
32571 {
32572 lgamma ();
32573   ;
32574   return 0;
32575 }
32576 _ACEOF
32577 rm -f conftest.$ac_objext conftest$ac_exeext
32578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32579   (eval $ac_link) 2>conftest.er1
32580   ac_status=$?
32581   grep -v '^ *+' conftest.er1 >conftest.err
32582   rm -f conftest.er1
32583   cat conftest.err >&5
32584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585   (exit $ac_status); } &&
32586          { ac_try='test -z "$ac_c_werror_flag"
32587                          || test ! -s conftest.err'
32588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589   (eval $ac_try) 2>&5
32590   ac_status=$?
32591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592   (exit $ac_status); }; } &&
32593          { ac_try='test -s conftest$ac_exeext'
32594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595   (eval $ac_try) 2>&5
32596   ac_status=$?
32597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598   (exit $ac_status); }; }; then
32599   ac_cv_lib_m_lgamma=yes
32600 else
32601   echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.$ac_ext >&5
32603
32604 ac_cv_lib_m_lgamma=no
32605 fi
32606 rm -f conftest.err conftest.$ac_objext \
32607       conftest$ac_exeext conftest.$ac_ext
32608 LIBS=$ac_check_lib_save_LIBS
32609 fi
32610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32611 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32612 if test $ac_cv_lib_m_lgamma = yes; then
32613
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_LGAMMA 1
32616 _ACEOF
32617
32618 fi
32619
32620 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32621 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32622 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32623   echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625   ac_check_lib_save_LIBS=$LIBS
32626 LIBS="-lm  $LIBS"
32627 if test x$gcc_no_link = xyes; then
32628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32630    { (exit 1); exit 1; }; }
32631 fi
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h.  */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h.  */
32638
32639 /* Override any gcc2 internal prototype to avoid an error.  */
32640 #ifdef __cplusplus
32641 extern "C"
32642 #endif
32643 /* We use char because int might match the return type of a gcc2
32644    builtin and then its argument prototype would still apply.  */
32645 char lgammaf ();
32646 int
32647 main ()
32648 {
32649 lgammaf ();
32650   ;
32651   return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32656   (eval $ac_link) 2>conftest.er1
32657   ac_status=$?
32658   grep -v '^ *+' conftest.er1 >conftest.err
32659   rm -f conftest.er1
32660   cat conftest.err >&5
32661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662   (exit $ac_status); } &&
32663          { ac_try='test -z "$ac_c_werror_flag"
32664                          || test ! -s conftest.err'
32665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666   (eval $ac_try) 2>&5
32667   ac_status=$?
32668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669   (exit $ac_status); }; } &&
32670          { ac_try='test -s conftest$ac_exeext'
32671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672   (eval $ac_try) 2>&5
32673   ac_status=$?
32674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675   (exit $ac_status); }; }; then
32676   ac_cv_lib_m_lgammaf=yes
32677 else
32678   echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32680
32681 ac_cv_lib_m_lgammaf=no
32682 fi
32683 rm -f conftest.err conftest.$ac_objext \
32684       conftest$ac_exeext conftest.$ac_ext
32685 LIBS=$ac_check_lib_save_LIBS
32686 fi
32687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32688 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32689 if test $ac_cv_lib_m_lgammaf = yes; then
32690
32691 cat >>confdefs.h <<\_ACEOF
32692 #define HAVE_LGAMMAF 1
32693 _ACEOF
32694
32695 fi
32696
32697 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32698 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32699 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32700   echo $ECHO_N "(cached) $ECHO_C" >&6
32701 else
32702   ac_check_lib_save_LIBS=$LIBS
32703 LIBS="-lm  $LIBS"
32704 if test x$gcc_no_link = xyes; then
32705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32707    { (exit 1); exit 1; }; }
32708 fi
32709 cat >conftest.$ac_ext <<_ACEOF
32710 /* confdefs.h.  */
32711 _ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h.  */
32715
32716 /* Override any gcc2 internal prototype to avoid an error.  */
32717 #ifdef __cplusplus
32718 extern "C"
32719 #endif
32720 /* We use char because int might match the return type of a gcc2
32721    builtin and then its argument prototype would still apply.  */
32722 char lgammal ();
32723 int
32724 main ()
32725 {
32726 lgammal ();
32727   ;
32728   return 0;
32729 }
32730 _ACEOF
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32733   (eval $ac_link) 2>conftest.er1
32734   ac_status=$?
32735   grep -v '^ *+' conftest.er1 >conftest.err
32736   rm -f conftest.er1
32737   cat conftest.err >&5
32738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739   (exit $ac_status); } &&
32740          { ac_try='test -z "$ac_c_werror_flag"
32741                          || test ! -s conftest.err'
32742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743   (eval $ac_try) 2>&5
32744   ac_status=$?
32745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746   (exit $ac_status); }; } &&
32747          { ac_try='test -s conftest$ac_exeext'
32748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749   (eval $ac_try) 2>&5
32750   ac_status=$?
32751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752   (exit $ac_status); }; }; then
32753   ac_cv_lib_m_lgammal=yes
32754 else
32755   echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32757
32758 ac_cv_lib_m_lgammal=no
32759 fi
32760 rm -f conftest.err conftest.$ac_objext \
32761       conftest$ac_exeext conftest.$ac_ext
32762 LIBS=$ac_check_lib_save_LIBS
32763 fi
32764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32765 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32766 if test $ac_cv_lib_m_lgammal = yes; then
32767
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_LGAMMAL 1
32770 _ACEOF
32771
32772 fi
32773
32774
32775 # On AIX, clog is present in libm as __clog
32776 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32777 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32778 if test "${ac_cv_lib_m___clog+set}" = set; then
32779   echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781   ac_check_lib_save_LIBS=$LIBS
32782 LIBS="-lm  $LIBS"
32783 if test x$gcc_no_link = xyes; then
32784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32786    { (exit 1); exit 1; }; }
32787 fi
32788 cat >conftest.$ac_ext <<_ACEOF
32789 /* confdefs.h.  */
32790 _ACEOF
32791 cat confdefs.h >>conftest.$ac_ext
32792 cat >>conftest.$ac_ext <<_ACEOF
32793 /* end confdefs.h.  */
32794
32795 /* Override any gcc2 internal prototype to avoid an error.  */
32796 #ifdef __cplusplus
32797 extern "C"
32798 #endif
32799 /* We use char because int might match the return type of a gcc2
32800    builtin and then its argument prototype would still apply.  */
32801 char __clog ();
32802 int
32803 main ()
32804 {
32805 __clog ();
32806   ;
32807   return 0;
32808 }
32809 _ACEOF
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32812   (eval $ac_link) 2>conftest.er1
32813   ac_status=$?
32814   grep -v '^ *+' conftest.er1 >conftest.err
32815   rm -f conftest.er1
32816   cat conftest.err >&5
32817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818   (exit $ac_status); } &&
32819          { ac_try='test -z "$ac_c_werror_flag"
32820                          || test ! -s conftest.err'
32821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822   (eval $ac_try) 2>&5
32823   ac_status=$?
32824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825   (exit $ac_status); }; } &&
32826          { ac_try='test -s conftest$ac_exeext'
32827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828   (eval $ac_try) 2>&5
32829   ac_status=$?
32830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831   (exit $ac_status); }; }; then
32832   ac_cv_lib_m___clog=yes
32833 else
32834   echo "$as_me: failed program was:" >&5
32835 sed 's/^/| /' conftest.$ac_ext >&5
32836
32837 ac_cv_lib_m___clog=no
32838 fi
32839 rm -f conftest.err conftest.$ac_objext \
32840       conftest$ac_exeext conftest.$ac_ext
32841 LIBS=$ac_check_lib_save_LIBS
32842 fi
32843 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32844 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32845 if test $ac_cv_lib_m___clog = yes; then
32846
32847 cat >>confdefs.h <<\_ACEOF
32848 #define HAVE_CLOG 1
32849 _ACEOF
32850
32851 fi
32852
32853
32854 # Check for a isfinite macro that works on long doubles.
32855
32856   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32857 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32858 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32859   echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32861
32862   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32863   LIBS="$LIBS -lm"
32864   if test "$cross_compiling" = yes; then
32865
32866 case "${target}" in
32867   hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32868   *) libgfor_cv_have_broken_isfinite=no ;;
32869 esac
32870 else
32871   cat >conftest.$ac_ext <<_ACEOF
32872 /* confdefs.h.  */
32873 _ACEOF
32874 cat confdefs.h >>conftest.$ac_ext
32875 cat >>conftest.$ac_ext <<_ACEOF
32876 /* end confdefs.h.  */
32877
32878 #include <math.h>
32879 #include <float.h>
32880 int main ()
32881 {
32882 #ifdef isfinite
32883 #ifdef LDBL_MAX
32884   if (!isfinite(LDBL_MAX)) return 1;
32885 #endif
32886 #ifdef DBL_MAX
32887   if (!isfinite(DBL_MAX)) return 1;
32888 #endif
32889 #endif
32890 return 0;
32891 }
32892 _ACEOF
32893 rm -f conftest$ac_exeext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32895   (eval $ac_link) 2>&5
32896   ac_status=$?
32897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32900   (eval $ac_try) 2>&5
32901   ac_status=$?
32902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903   (exit $ac_status); }; }; then
32904   libgfor_cv_have_broken_isfinite=no
32905 else
32906   echo "$as_me: program exited with status $ac_status" >&5
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32909
32910 ( exit $ac_status )
32911 libgfor_cv_have_broken_isfinite=yes
32912 fi
32913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32914 fi
32915   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32916 fi
32917 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32918 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32919 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32920
32921 cat >>confdefs.h <<\_ACEOF
32922 #define HAVE_BROKEN_ISFINITE 1
32923 _ACEOF
32924
32925 fi
32926
32927 # Check for a isnan macro that works on long doubles.
32928
32929   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32930 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32931 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32932   echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32934
32935   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32936   LIBS="$LIBS -lm"
32937   if test "$cross_compiling" = yes; then
32938
32939 case "${target}" in
32940   hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32941   *) libgfor_cv_have_broken_isnan=no ;;
32942 esac
32943 else
32944   cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h.  */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h.  */
32950
32951 #include <math.h>
32952 #include <float.h>
32953 int main ()
32954 {
32955 #ifdef isnan
32956 #ifdef LDBL_MAX
32957   {
32958     long double x;
32959     x = __builtin_nanl ("");
32960     if (!isnan(x)) return 1;
32961     if (isnan(LDBL_MAX)) return 1;
32962 #ifdef NAN
32963     x = (long double) NAN;
32964     if (!isnan(x)) return 1;
32965 #endif
32966   }
32967 #endif
32968 #ifdef DBL_MAX
32969   {
32970     double y;
32971     y = __builtin_nan ("");
32972     if (!isnan(y)) return 1;
32973     if (isnan(DBL_MAX)) return 1;
32974 #ifdef NAN
32975     y = (double) NAN;
32976     if (!isnan(y)) return 1;
32977 #endif
32978   }
32979 #endif
32980 #endif
32981 return 0;
32982 }
32983 _ACEOF
32984 rm -f conftest$ac_exeext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32986   (eval $ac_link) 2>&5
32987   ac_status=$?
32988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991   (eval $ac_try) 2>&5
32992   ac_status=$?
32993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994   (exit $ac_status); }; }; then
32995   libgfor_cv_have_broken_isnan=no
32996 else
32997   echo "$as_me: program exited with status $ac_status" >&5
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33000
33001 ( exit $ac_status )
33002 libgfor_cv_have_broken_isnan=yes
33003 fi
33004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33005 fi
33006   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
33007 fi
33008 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
33009 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
33010 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
33011
33012 cat >>confdefs.h <<\_ACEOF
33013 #define HAVE_BROKEN_ISNAN 1
33014 _ACEOF
33015
33016 fi
33017
33018 # Check for a fpclassify macro that works on long doubles.
33019
33020   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
33021 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
33022 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
33023   echo $ECHO_N "(cached) $ECHO_C" >&6
33024 else
33025
33026   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
33027   LIBS="$LIBS -lm"
33028   if test "$cross_compiling" = yes; then
33029
33030 case "${target}" in
33031   hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33032   *) libgfor_cv_have_broken_fpclassify=no ;;
33033 esac
33034 else
33035   cat >conftest.$ac_ext <<_ACEOF
33036 /* confdefs.h.  */
33037 _ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h.  */
33041
33042 #include <math.h>
33043 #include <float.h>
33044 int main ()
33045 {
33046 #ifdef fpclassify
33047 #ifdef LDBL_MAX
33048         if (fpclassify(LDBL_MAX) == FP_NAN
33049             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33050 #endif
33051 #ifdef DBL_MAX
33052         if (fpclassify(DBL_MAX) == FP_NAN
33053             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33054 #endif
33055 #endif
33056 return 0;
33057 }
33058 _ACEOF
33059 rm -f conftest$ac_exeext
33060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33061   (eval $ac_link) 2>&5
33062   ac_status=$?
33063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066   (eval $ac_try) 2>&5
33067   ac_status=$?
33068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069   (exit $ac_status); }; }; then
33070   libgfor_cv_have_broken_fpclassify=no
33071 else
33072   echo "$as_me: program exited with status $ac_status" >&5
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33075
33076 ( exit $ac_status )
33077 libgfor_cv_have_broken_fpclassify=yes
33078 fi
33079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33080 fi
33081   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33082 fi
33083 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33084 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33085 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33086
33087 cat >>confdefs.h <<\_ACEOF
33088 #define HAVE_BROKEN_FPCLASSIFY 1
33089 _ACEOF
33090
33091 fi
33092
33093 # Check whether the system has a working stat()
33094
33095   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33096 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33097 if test "${libgfor_cv_have_working_stat+set}" = set; then
33098   echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100
33101   if test "$cross_compiling" = yes; then
33102
33103 case "${target}" in
33104   *mingw*) libgfor_cv_have_working_stat=no ;;
33105   *) libgfor_cv_have_working_stat=yes;;
33106 esac
33107 else
33108   cat >conftest.$ac_ext <<_ACEOF
33109 /* confdefs.h.  */
33110 _ACEOF
33111 cat confdefs.h >>conftest.$ac_ext
33112 cat >>conftest.$ac_ext <<_ACEOF
33113 /* end confdefs.h.  */
33114
33115 #include <stdio.h>
33116 #include <sys/types.h>
33117 #include <sys/stat.h>
33118 #include <unistd.h>
33119
33120 int main ()
33121 {
33122   FILE *f, *g;
33123   struct stat st1, st2;
33124
33125   f = fopen ("foo", "w");
33126   g = fopen ("bar", "w");
33127   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33128     return 1;
33129   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33130     return 1;
33131   fclose(f);
33132   fclose(g);
33133   return 0;
33134 }
33135 _ACEOF
33136 rm -f conftest$ac_exeext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33138   (eval $ac_link) 2>&5
33139   ac_status=$?
33140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143   (eval $ac_try) 2>&5
33144   ac_status=$?
33145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146   (exit $ac_status); }; }; then
33147   libgfor_cv_have_working_stat=yes
33148 else
33149   echo "$as_me: program exited with status $ac_status" >&5
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33152
33153 ( exit $ac_status )
33154 libgfor_cv_have_working_stat=no
33155 fi
33156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33157 fi
33158 fi
33159 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33160 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33161 if test x"$libgfor_cv_have_working_stat" = xyes; then
33162
33163 cat >>confdefs.h <<\_ACEOF
33164 #define HAVE_WORKING_STAT 1
33165 _ACEOF
33166
33167 fi
33168
33169 # Check whether __mingw_snprintf() is present
33170
33171   echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33172 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33173 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33174   echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33176
33177     if test x$gcc_no_link = xyes; then
33178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33180    { (exit 1); exit 1; }; }
33181 fi
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h.  */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h.  */
33188
33189 #include <stdio.h>
33190 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33191
33192 int
33193 main ()
33194 {
33195
33196 __mingw_snprintf (NULL, 0, "%d\n", 1);
33197
33198   ;
33199   return 0;
33200 }
33201 _ACEOF
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204   (eval $ac_link) 2>conftest.er1
33205   ac_status=$?
33206   grep -v '^ *+' conftest.er1 >conftest.err
33207   rm -f conftest.er1
33208   cat conftest.err >&5
33209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210   (exit $ac_status); } &&
33211          { ac_try='test -z "$ac_c_werror_flag"
33212                          || test ! -s conftest.err'
33213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214   (eval $ac_try) 2>&5
33215   ac_status=$?
33216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217   (exit $ac_status); }; } &&
33218          { ac_try='test -s conftest$ac_exeext'
33219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220   (eval $ac_try) 2>&5
33221   ac_status=$?
33222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223   (exit $ac_status); }; }; then
33224   eval "libgfor_cv_have_mingw_snprintf=yes"
33225 else
33226   echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33228
33229 eval "libgfor_cv_have_mingw_snprintf=no"
33230 fi
33231 rm -f conftest.err conftest.$ac_objext \
33232       conftest$ac_exeext conftest.$ac_ext
33233
33234 fi
33235 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33236 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33237   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33238
33239 cat >>confdefs.h <<\_ACEOF
33240 #define HAVE_MINGW_SNPRINTF 1
33241 _ACEOF
33242
33243   fi
33244
33245
33246 # Check for GNU libc feenableexcept
33247 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33248 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33249 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33250   echo $ECHO_N "(cached) $ECHO_C" >&6
33251 else
33252   ac_check_lib_save_LIBS=$LIBS
33253 LIBS="-lm  $LIBS"
33254 if test x$gcc_no_link = xyes; then
33255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33257    { (exit 1); exit 1; }; }
33258 fi
33259 cat >conftest.$ac_ext <<_ACEOF
33260 /* confdefs.h.  */
33261 _ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h.  */
33265
33266 /* Override any gcc2 internal prototype to avoid an error.  */
33267 #ifdef __cplusplus
33268 extern "C"
33269 #endif
33270 /* We use char because int might match the return type of a gcc2
33271    builtin and then its argument prototype would still apply.  */
33272 char feenableexcept ();
33273 int
33274 main ()
33275 {
33276 feenableexcept ();
33277   ;
33278   return 0;
33279 }
33280 _ACEOF
33281 rm -f conftest.$ac_objext conftest$ac_exeext
33282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33283   (eval $ac_link) 2>conftest.er1
33284   ac_status=$?
33285   grep -v '^ *+' conftest.er1 >conftest.err
33286   rm -f conftest.er1
33287   cat conftest.err >&5
33288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289   (exit $ac_status); } &&
33290          { ac_try='test -z "$ac_c_werror_flag"
33291                          || test ! -s conftest.err'
33292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293   (eval $ac_try) 2>&5
33294   ac_status=$?
33295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296   (exit $ac_status); }; } &&
33297          { ac_try='test -s conftest$ac_exeext'
33298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299   (eval $ac_try) 2>&5
33300   ac_status=$?
33301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302   (exit $ac_status); }; }; then
33303   ac_cv_lib_m_feenableexcept=yes
33304 else
33305   echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33307
33308 ac_cv_lib_m_feenableexcept=no
33309 fi
33310 rm -f conftest.err conftest.$ac_objext \
33311       conftest$ac_exeext conftest.$ac_ext
33312 LIBS=$ac_check_lib_save_LIBS
33313 fi
33314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33315 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33316 if test $ac_cv_lib_m_feenableexcept = yes; then
33317   have_feenableexcept=yes
33318 cat >>confdefs.h <<\_ACEOF
33319 #define HAVE_FEENABLEEXCEPT 1
33320 _ACEOF
33321
33322 fi
33323
33324
33325 # Check for SysV fpsetmask
33326
33327   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33328 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33329 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33330   echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33332
33333     if test x$gcc_no_link = xyes; then
33334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33336    { (exit 1); exit 1; }; }
33337 fi
33338 cat >conftest.$ac_ext <<_ACEOF
33339 /* confdefs.h.  */
33340 _ACEOF
33341 cat confdefs.h >>conftest.$ac_ext
33342 cat >>conftest.$ac_ext <<_ACEOF
33343 /* end confdefs.h.  */
33344
33345 #if HAVE_FLOATINGPOINT_H
33346 # include <floatingpoint.h>
33347 #endif /* HAVE_FLOATINGPOINT_H */
33348 #if HAVE_IEEEFP_H
33349 # include <ieeefp.h>
33350 #endif /* HAVE_IEEEFP_H */
33351 int
33352 main ()
33353 {
33354 fpsetmask(0);
33355   ;
33356   return 0;
33357 }
33358 _ACEOF
33359 rm -f conftest.$ac_objext conftest$ac_exeext
33360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33361   (eval $ac_link) 2>conftest.er1
33362   ac_status=$?
33363   grep -v '^ *+' conftest.er1 >conftest.err
33364   rm -f conftest.er1
33365   cat conftest.err >&5
33366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367   (exit $ac_status); } &&
33368          { ac_try='test -z "$ac_c_werror_flag"
33369                          || test ! -s conftest.err'
33370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371   (eval $ac_try) 2>&5
33372   ac_status=$?
33373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374   (exit $ac_status); }; } &&
33375          { ac_try='test -s conftest$ac_exeext'
33376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377   (eval $ac_try) 2>&5
33378   ac_status=$?
33379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380   (exit $ac_status); }; }; then
33381   eval "libgfor_cv_have_fpsetmask=yes"
33382 else
33383   echo "$as_me: failed program was:" >&5
33384 sed 's/^/| /' conftest.$ac_ext >&5
33385
33386 eval "libgfor_cv_have_fpsetmask=no"
33387 fi
33388 rm -f conftest.err conftest.$ac_objext \
33389       conftest$ac_exeext conftest.$ac_ext
33390
33391 fi
33392 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33393 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33394   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33395
33396 cat >>confdefs.h <<\_ACEOF
33397 #define HAVE_FPSETMASK 1
33398 _ACEOF
33399
33400   fi
33401
33402
33403 # Check for AIX fp_trap and fp_enable
33404 echo "$as_me:$LINENO: checking for fp_trap" >&5
33405 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33406 if test "${ac_cv_func_fp_trap+set}" = set; then
33407   echo $ECHO_N "(cached) $ECHO_C" >&6
33408 else
33409   if test x$gcc_no_link = xyes; then
33410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33412    { (exit 1); exit 1; }; }
33413 fi
33414 cat >conftest.$ac_ext <<_ACEOF
33415 /* confdefs.h.  */
33416 _ACEOF
33417 cat confdefs.h >>conftest.$ac_ext
33418 cat >>conftest.$ac_ext <<_ACEOF
33419 /* end confdefs.h.  */
33420 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33422 #define fp_trap innocuous_fp_trap
33423
33424 /* System header to define __stub macros and hopefully few prototypes,
33425     which can conflict with char fp_trap (); below.
33426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33427     <limits.h> exists even on freestanding compilers.  */
33428
33429 #ifdef __STDC__
33430 # include <limits.h>
33431 #else
33432 # include <assert.h>
33433 #endif
33434
33435 #undef fp_trap
33436
33437 /* Override any gcc2 internal prototype to avoid an error.  */
33438 #ifdef __cplusplus
33439 extern "C"
33440 {
33441 #endif
33442 /* We use char because int might match the return type of a gcc2
33443    builtin and then its argument prototype would still apply.  */
33444 char fp_trap ();
33445 /* The GNU C library defines this for functions which it implements
33446     to always fail with ENOSYS.  Some functions are actually named
33447     something starting with __ and the normal name is an alias.  */
33448 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33449 choke me
33450 #else
33451 char (*f) () = fp_trap;
33452 #endif
33453 #ifdef __cplusplus
33454 }
33455 #endif
33456
33457 int
33458 main ()
33459 {
33460 return f != fp_trap;
33461   ;
33462   return 0;
33463 }
33464 _ACEOF
33465 rm -f conftest.$ac_objext conftest$ac_exeext
33466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33467   (eval $ac_link) 2>conftest.er1
33468   ac_status=$?
33469   grep -v '^ *+' conftest.er1 >conftest.err
33470   rm -f conftest.er1
33471   cat conftest.err >&5
33472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473   (exit $ac_status); } &&
33474          { ac_try='test -z "$ac_c_werror_flag"
33475                          || test ! -s conftest.err'
33476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477   (eval $ac_try) 2>&5
33478   ac_status=$?
33479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480   (exit $ac_status); }; } &&
33481          { ac_try='test -s conftest$ac_exeext'
33482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33483   (eval $ac_try) 2>&5
33484   ac_status=$?
33485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486   (exit $ac_status); }; }; then
33487   ac_cv_func_fp_trap=yes
33488 else
33489   echo "$as_me: failed program was:" >&5
33490 sed 's/^/| /' conftest.$ac_ext >&5
33491
33492 ac_cv_func_fp_trap=no
33493 fi
33494 rm -f conftest.err conftest.$ac_objext \
33495       conftest$ac_exeext conftest.$ac_ext
33496 fi
33497 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33498 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33499 if test $ac_cv_func_fp_trap = yes; then
33500   have_fp_trap=yes
33501 cat >>confdefs.h <<\_ACEOF
33502 #define HAVE_FP_TRAP 1
33503 _ACEOF
33504
33505 fi
33506
33507 echo "$as_me:$LINENO: checking for fp_enable" >&5
33508 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33509 if test "${ac_cv_func_fp_enable+set}" = set; then
33510   echo $ECHO_N "(cached) $ECHO_C" >&6
33511 else
33512   if test x$gcc_no_link = xyes; then
33513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33515    { (exit 1); exit 1; }; }
33516 fi
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h.  */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h.  */
33523 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33525 #define fp_enable innocuous_fp_enable
33526
33527 /* System header to define __stub macros and hopefully few prototypes,
33528     which can conflict with char fp_enable (); below.
33529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530     <limits.h> exists even on freestanding compilers.  */
33531
33532 #ifdef __STDC__
33533 # include <limits.h>
33534 #else
33535 # include <assert.h>
33536 #endif
33537
33538 #undef fp_enable
33539
33540 /* Override any gcc2 internal prototype to avoid an error.  */
33541 #ifdef __cplusplus
33542 extern "C"
33543 {
33544 #endif
33545 /* We use char because int might match the return type of a gcc2
33546    builtin and then its argument prototype would still apply.  */
33547 char fp_enable ();
33548 /* The GNU C library defines this for functions which it implements
33549     to always fail with ENOSYS.  Some functions are actually named
33550     something starting with __ and the normal name is an alias.  */
33551 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33552 choke me
33553 #else
33554 char (*f) () = fp_enable;
33555 #endif
33556 #ifdef __cplusplus
33557 }
33558 #endif
33559
33560 int
33561 main ()
33562 {
33563 return f != fp_enable;
33564   ;
33565   return 0;
33566 }
33567 _ACEOF
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570   (eval $ac_link) 2>conftest.er1
33571   ac_status=$?
33572   grep -v '^ *+' conftest.er1 >conftest.err
33573   rm -f conftest.er1
33574   cat conftest.err >&5
33575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576   (exit $ac_status); } &&
33577          { ac_try='test -z "$ac_c_werror_flag"
33578                          || test ! -s conftest.err'
33579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580   (eval $ac_try) 2>&5
33581   ac_status=$?
33582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583   (exit $ac_status); }; } &&
33584          { ac_try='test -s conftest$ac_exeext'
33585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586   (eval $ac_try) 2>&5
33587   ac_status=$?
33588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589   (exit $ac_status); }; }; then
33590   ac_cv_func_fp_enable=yes
33591 else
33592   echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 ac_cv_func_fp_enable=no
33596 fi
33597 rm -f conftest.err conftest.$ac_objext \
33598       conftest$ac_exeext conftest.$ac_ext
33599 fi
33600 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33601 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33602 if test $ac_cv_func_fp_enable = yes; then
33603   have_fp_enable=yes
33604 cat >>confdefs.h <<\_ACEOF
33605 #define HAVE_FP_ENABLE 1
33606 _ACEOF
33607
33608 fi
33609
33610
33611 # Runs configure.host to set up necessary host-dependent shell variables.
33612 # We then display a message about it, and propagate them through the
33613 # build chain.
33614 . ${srcdir}/configure.host
33615 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33616 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33617 FPU_HOST_HEADER=config/${fpu_host}.h
33618
33619
33620 # Check out attribute support.
33621
33622   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33623 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33624 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33625   echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33627
33628   save_CFLAGS="$CFLAGS"
33629   CFLAGS="$CFLAGS -Werror"
33630   cat >conftest.$ac_ext <<_ACEOF
33631 /* confdefs.h.  */
33632 _ACEOF
33633 cat confdefs.h >>conftest.$ac_ext
33634 cat >>conftest.$ac_ext <<_ACEOF
33635 /* end confdefs.h.  */
33636 void __attribute__((visibility("hidden"))) foo(void) { }
33637 int
33638 main ()
33639 {
33640
33641   ;
33642   return 0;
33643 }
33644 _ACEOF
33645 rm -f conftest.$ac_objext
33646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33647   (eval $ac_compile) 2>conftest.er1
33648   ac_status=$?
33649   grep -v '^ *+' conftest.er1 >conftest.err
33650   rm -f conftest.er1
33651   cat conftest.err >&5
33652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653   (exit $ac_status); } &&
33654          { ac_try='test -z "$ac_c_werror_flag"
33655                          || test ! -s conftest.err'
33656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657   (eval $ac_try) 2>&5
33658   ac_status=$?
33659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660   (exit $ac_status); }; } &&
33661          { ac_try='test -s conftest.$ac_objext'
33662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663   (eval $ac_try) 2>&5
33664   ac_status=$?
33665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666   (exit $ac_status); }; }; then
33667   libgfor_cv_have_attribute_visibility=yes
33668 else
33669   echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.$ac_ext >&5
33671
33672 libgfor_cv_have_attribute_visibility=no
33673 fi
33674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33675   CFLAGS="$save_CFLAGS"
33676 fi
33677 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33678 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33679   if test $libgfor_cv_have_attribute_visibility = yes; then
33680
33681 cat >>confdefs.h <<\_ACEOF
33682 #define HAVE_ATTRIBUTE_VISIBILITY 1
33683 _ACEOF
33684
33685   fi
33686
33687   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33688 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33689 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33690   echo $ECHO_N "(cached) $ECHO_C" >&6
33691 else
33692
33693   save_CFLAGS="$CFLAGS"
33694   CFLAGS="$CFLAGS -Werror"
33695   cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h.  */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h.  */
33701 void __attribute__((dllexport)) foo(void) { }
33702 int
33703 main ()
33704 {
33705
33706   ;
33707   return 0;
33708 }
33709 _ACEOF
33710 rm -f conftest.$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712   (eval $ac_compile) 2>conftest.er1
33713   ac_status=$?
33714   grep -v '^ *+' conftest.er1 >conftest.err
33715   rm -f conftest.er1
33716   cat conftest.err >&5
33717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718   (exit $ac_status); } &&
33719          { ac_try='test -z "$ac_c_werror_flag"
33720                          || test ! -s conftest.err'
33721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722   (eval $ac_try) 2>&5
33723   ac_status=$?
33724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725   (exit $ac_status); }; } &&
33726          { ac_try='test -s conftest.$ac_objext'
33727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728   (eval $ac_try) 2>&5
33729   ac_status=$?
33730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731   (exit $ac_status); }; }; then
33732   libgfor_cv_have_attribute_dllexport=yes
33733 else
33734   echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33736
33737 libgfor_cv_have_attribute_dllexport=no
33738 fi
33739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33740   CFLAGS="$save_CFLAGS"
33741 fi
33742 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33743 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33744   if test $libgfor_cv_have_attribute_dllexport = yes; then
33745
33746 cat >>confdefs.h <<\_ACEOF
33747 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33748 _ACEOF
33749
33750   fi
33751
33752   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33753 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33754 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33755   echo $ECHO_N "(cached) $ECHO_C" >&6
33756 else
33757
33758   if test x$gcc_no_link = xyes; then
33759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33761    { (exit 1); exit 1; }; }
33762 fi
33763 cat >conftest.$ac_ext <<_ACEOF
33764 /* confdefs.h.  */
33765 _ACEOF
33766 cat confdefs.h >>conftest.$ac_ext
33767 cat >>conftest.$ac_ext <<_ACEOF
33768 /* end confdefs.h.  */
33769
33770 void foo(void) { }
33771 extern void bar(void) __attribute__((alias("foo")));
33772 int
33773 main ()
33774 {
33775 bar();
33776   ;
33777   return 0;
33778 }
33779 _ACEOF
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33782   (eval $ac_link) 2>conftest.er1
33783   ac_status=$?
33784   grep -v '^ *+' conftest.er1 >conftest.err
33785   rm -f conftest.er1
33786   cat conftest.err >&5
33787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788   (exit $ac_status); } &&
33789          { ac_try='test -z "$ac_c_werror_flag"
33790                          || test ! -s conftest.err'
33791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792   (eval $ac_try) 2>&5
33793   ac_status=$?
33794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795   (exit $ac_status); }; } &&
33796          { ac_try='test -s conftest$ac_exeext'
33797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798   (eval $ac_try) 2>&5
33799   ac_status=$?
33800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801   (exit $ac_status); }; }; then
33802   libgfor_cv_have_attribute_alias=yes
33803 else
33804   echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33806
33807 libgfor_cv_have_attribute_alias=no
33808 fi
33809 rm -f conftest.err conftest.$ac_objext \
33810       conftest$ac_exeext conftest.$ac_ext
33811 fi
33812 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33813 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33814   if test $libgfor_cv_have_attribute_alias = yes; then
33815
33816 cat >>confdefs.h <<\_ACEOF
33817 #define HAVE_ATTRIBUTE_ALIAS 1
33818 _ACEOF
33819
33820   fi
33821
33822 # Check out sync builtins support.
33823
33824   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33825 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33826 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33827   echo $ECHO_N "(cached) $ECHO_C" >&6
33828 else
33829
33830   if test x$gcc_no_link = xyes; then
33831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33833    { (exit 1); exit 1; }; }
33834 fi
33835 cat >conftest.$ac_ext <<_ACEOF
33836 /* confdefs.h.  */
33837 _ACEOF
33838 cat confdefs.h >>conftest.$ac_ext
33839 cat >>conftest.$ac_ext <<_ACEOF
33840 /* end confdefs.h.  */
33841 int foovar = 0;
33842 int
33843 main ()
33844 {
33845
33846 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33847 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33848   ;
33849   return 0;
33850 }
33851 _ACEOF
33852 rm -f conftest.$ac_objext conftest$ac_exeext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33854   (eval $ac_link) 2>conftest.er1
33855   ac_status=$?
33856   grep -v '^ *+' conftest.er1 >conftest.err
33857   rm -f conftest.er1
33858   cat conftest.err >&5
33859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860   (exit $ac_status); } &&
33861          { ac_try='test -z "$ac_c_werror_flag"
33862                          || test ! -s conftest.err'
33863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864   (eval $ac_try) 2>&5
33865   ac_status=$?
33866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867   (exit $ac_status); }; } &&
33868          { ac_try='test -s conftest$ac_exeext'
33869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870   (eval $ac_try) 2>&5
33871   ac_status=$?
33872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873   (exit $ac_status); }; }; then
33874   libgfor_cv_have_sync_fetch_and_add=yes
33875 else
33876   echo "$as_me: failed program was:" >&5
33877 sed 's/^/| /' conftest.$ac_ext >&5
33878
33879 libgfor_cv_have_sync_fetch_and_add=no
33880 fi
33881 rm -f conftest.err conftest.$ac_objext \
33882       conftest$ac_exeext conftest.$ac_ext
33883 fi
33884 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33885 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33886   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33887
33888 cat >>confdefs.h <<\_ACEOF
33889 #define HAVE_SYNC_FETCH_AND_ADD 1
33890 _ACEOF
33891
33892   fi
33893
33894 # Check out thread support.
33895
33896   echo "$as_me:$LINENO: checking configured target thread model" >&5
33897 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33898 if test "${libgfor_cv_target_thread_file+set}" = set; then
33899   echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901
33902 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33903 fi
33904 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33905 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33906
33907   if test $libgfor_cv_target_thread_file != single; then
33908
33909 cat >>confdefs.h <<\_ACEOF
33910 #define HAVE_GTHR_DEFAULT 1
33911 _ACEOF
33912
33913   fi
33914
33915 # Check out #pragma weak.
33916
33917   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33918 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33919 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33920   echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922
33923   gfor_save_CFLAGS="$CFLAGS"
33924   CFLAGS="$CFLAGS -Wunknown-pragmas"
33925   cat >conftest.$ac_ext <<_ACEOF
33926 /* confdefs.h.  */
33927 _ACEOF
33928 cat confdefs.h >>conftest.$ac_ext
33929 cat >>conftest.$ac_ext <<_ACEOF
33930 /* end confdefs.h.  */
33931 void foo (void);
33932 #pragma weak foo
33933 int
33934 main ()
33935 {
33936 if (foo) foo ();
33937   ;
33938   return 0;
33939 }
33940 _ACEOF
33941 rm -f conftest.$ac_objext
33942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33943   (eval $ac_compile) 2>conftest.er1
33944   ac_status=$?
33945   grep -v '^ *+' conftest.er1 >conftest.err
33946   rm -f conftest.er1
33947   cat conftest.err >&5
33948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33949   (exit $ac_status); } &&
33950          { ac_try='test -z "$ac_c_werror_flag"
33951                          || test ! -s conftest.err'
33952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953   (eval $ac_try) 2>&5
33954   ac_status=$?
33955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956   (exit $ac_status); }; } &&
33957          { ac_try='test -s conftest.$ac_objext'
33958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33959   (eval $ac_try) 2>&5
33960   ac_status=$?
33961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962   (exit $ac_status); }; }; then
33963   libgfor_cv_have_pragma_weak=yes
33964 else
33965   echo "$as_me: failed program was:" >&5
33966 sed 's/^/| /' conftest.$ac_ext >&5
33967
33968 libgfor_cv_have_pragma_weak=no
33969 fi
33970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33971 fi
33972 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33973 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33974   if test $libgfor_cv_have_pragma_weak = yes; then
33975
33976 cat >>confdefs.h <<\_ACEOF
33977 #define SUPPORTS_WEAK 1
33978 _ACEOF
33979
33980   fi
33981   case "$host" in
33982     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33983
33984 cat >>confdefs.h <<\_ACEOF
33985 #define GTHREAD_USE_WEAK 0
33986 _ACEOF
33987
33988       ;;
33989   esac
33990
33991 # Various other checks on target
33992
33993   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33994 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33995 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33996   echo $ECHO_N "(cached) $ECHO_C" >&6
33997 else
33998
33999   if test "$cross_compiling" = yes; then
34000
34001 case "${target}" in
34002   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
34003   *) libgfor_cv_have_unlink_open_file=yes;;
34004 esac
34005 else
34006   cat >conftest.$ac_ext <<_ACEOF
34007 /* confdefs.h.  */
34008 _ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h.  */
34012
34013 #include <errno.h>
34014 #include <fcntl.h>
34015 #include <unistd.h>
34016 #include <sys/stat.h>
34017
34018 int main ()
34019 {
34020   int fd;
34021
34022   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
34023   if (fd <= 0)
34024     return 0;
34025   if (unlink ("testfile") == -1)
34026     return 1;
34027   write (fd, "This is a test\n", 15);
34028   close (fd);
34029
34030   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34031     return 0;
34032   else
34033     return 1;
34034 }
34035 _ACEOF
34036 rm -f conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038   (eval $ac_link) 2>&5
34039   ac_status=$?
34040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043   (eval $ac_try) 2>&5
34044   ac_status=$?
34045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046   (exit $ac_status); }; }; then
34047   libgfor_cv_have_unlink_open_file=yes
34048 else
34049   echo "$as_me: program exited with status $ac_status" >&5
34050 echo "$as_me: failed program was:" >&5
34051 sed 's/^/| /' conftest.$ac_ext >&5
34052
34053 ( exit $ac_status )
34054 libgfor_cv_have_unlink_open_file=no
34055 fi
34056 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34057 fi
34058 fi
34059 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34060 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34061 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34062
34063 cat >>confdefs.h <<\_ACEOF
34064 #define HAVE_UNLINK_OPEN_FILE 1
34065 _ACEOF
34066
34067 fi
34068
34069 # Check whether line terminator is LF or CRLF
34070
34071   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34072 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34073 if test "${libgfor_cv_have_crlf+set}" = set; then
34074   echo $ECHO_N "(cached) $ECHO_C" >&6
34075 else
34076
34077   if test "$cross_compiling" = yes; then
34078
34079 case "${target}" in
34080   *mingw*) libgfor_cv_have_crlf=yes ;;
34081   *) libgfor_cv_have_crlf=no;;
34082 esac
34083 else
34084   cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h.  */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h.  */
34090
34091 /* This test program should exit with status 0 if system uses a CRLF as
34092    line terminator, and status 1 otherwise.
34093    Since it is used to check for mingw systems, and should return 0 in any
34094    other case, in case of a failure we will not use CRLF.  */
34095 #include <sys/stat.h>
34096 #include <stdlib.h>
34097 #include <fcntl.h>
34098 #include <stdio.h>
34099
34100 int main ()
34101 {
34102 #ifndef O_BINARY
34103   exit(1);
34104 #else
34105   int fd, bytes;
34106   char buff[5];
34107
34108   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34109   if (fd < 0)
34110     exit(1);
34111   if (write (fd, "\n", 1) < 0)
34112     perror ("write");
34113
34114   close (fd);
34115
34116   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34117     exit(1);
34118   bytes = read (fd, buff, 5);
34119   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34120     exit(0);
34121   else
34122     exit(1);
34123 #endif
34124 }
34125 _ACEOF
34126 rm -f conftest$ac_exeext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34128   (eval $ac_link) 2>&5
34129   ac_status=$?
34130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133   (eval $ac_try) 2>&5
34134   ac_status=$?
34135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136   (exit $ac_status); }; }; then
34137   libgfor_cv_have_crlf=yes
34138 else
34139   echo "$as_me: program exited with status $ac_status" >&5
34140 echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.$ac_ext >&5
34142
34143 ( exit $ac_status )
34144 libgfor_cv_have_crlf=no
34145 fi
34146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34147 fi
34148 fi
34149 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34150 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34151 if test x"$libgfor_cv_have_crlf" = xyes; then
34152
34153 cat >>confdefs.h <<\_ACEOF
34154 #define HAVE_CRLF 1
34155 _ACEOF
34156
34157 fi
34158
34159 cat >confcache <<\_ACEOF
34160 # This file is a shell script that caches the results of configure
34161 # tests run on this system so they can be shared between configure
34162 # scripts and configure runs, see configure's option --config-cache.
34163 # It is not useful on other systems.  If it contains results you don't
34164 # want to keep, you may remove or edit it.
34165 #
34166 # config.status only pays attention to the cache file if you give it
34167 # the --recheck option to rerun configure.
34168 #
34169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34171 # following values.
34172
34173 _ACEOF
34174
34175 # The following way of writing the cache mishandles newlines in values,
34176 # but we know of no workaround that is simple, portable, and efficient.
34177 # So, don't put newlines in cache variables' values.
34178 # Ultrix sh set writes to stderr and can't be redirected directly,
34179 # and sets the high bit in the cache file unless we assign to the vars.
34180 {
34181   (set) 2>&1 |
34182     case `(ac_space=' '; set | grep ac_space) 2>&1` in
34183     *ac_space=\ *)
34184       # `set' does not quote correctly, so add quotes (double-quote
34185       # substitution turns \\\\ into \\, and sed turns \\ into \).
34186       sed -n \
34187         "s/'/'\\\\''/g;
34188           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34189       ;;
34190     *)
34191       # `set' quotes correctly as required by POSIX, so do not add quotes.
34192       sed -n \
34193         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34194       ;;
34195     esac;
34196 } |
34197   sed '
34198      t clear
34199      : clear
34200      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34201      t end
34202      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34203      : end' >>confcache
34204 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34205   if test -w $cache_file; then
34206     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34207     cat confcache >$cache_file
34208   else
34209     echo "not updating unwritable cache $cache_file"
34210   fi
34211 fi
34212 rm -f confcache
34213
34214 if test ${multilib} = yes; then
34215   multilib_arg="--enable-multilib"
34216 else
34217   multilib_arg=
34218 fi
34219
34220 # Write our Makefile.
34221           ac_config_files="$ac_config_files Makefile"
34222
34223 cat >confcache <<\_ACEOF
34224 # This file is a shell script that caches the results of configure
34225 # tests run on this system so they can be shared between configure
34226 # scripts and configure runs, see configure's option --config-cache.
34227 # It is not useful on other systems.  If it contains results you don't
34228 # want to keep, you may remove or edit it.
34229 #
34230 # config.status only pays attention to the cache file if you give it
34231 # the --recheck option to rerun configure.
34232 #
34233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34235 # following values.
34236
34237 _ACEOF
34238
34239 # The following way of writing the cache mishandles newlines in values,
34240 # but we know of no workaround that is simple, portable, and efficient.
34241 # So, don't put newlines in cache variables' values.
34242 # Ultrix sh set writes to stderr and can't be redirected directly,
34243 # and sets the high bit in the cache file unless we assign to the vars.
34244 {
34245   (set) 2>&1 |
34246     case `(ac_space=' '; set | grep ac_space) 2>&1` in
34247     *ac_space=\ *)
34248       # `set' does not quote correctly, so add quotes (double-quote
34249       # substitution turns \\\\ into \\, and sed turns \\ into \).
34250       sed -n \
34251         "s/'/'\\\\''/g;
34252           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34253       ;;
34254     *)
34255       # `set' quotes correctly as required by POSIX, so do not add quotes.
34256       sed -n \
34257         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34258       ;;
34259     esac;
34260 } |
34261   sed '
34262      t clear
34263      : clear
34264      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34265      t end
34266      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34267      : end' >>confcache
34268 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34269   if test -w $cache_file; then
34270     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34271     cat confcache >$cache_file
34272   else
34273     echo "not updating unwritable cache $cache_file"
34274   fi
34275 fi
34276 rm -f confcache
34277
34278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34279 # Let make expand exec_prefix.
34280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34281
34282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34284 # trailing colons and then remove the whole line if VPATH becomes empty
34285 # (actually we leave an empty line to preserve line numbers).
34286 if test "x$srcdir" = x.; then
34287   ac_vpsub='/^[  ]*VPATH[        ]*=/{
34288 s/:*\$(srcdir):*/:/;
34289 s/:*\${srcdir}:*/:/;
34290 s/:*@srcdir@:*/:/;
34291 s/^\([^=]*=[     ]*\):*/\1/;
34292 s/:*$//;
34293 s/^[^=]*=[       ]*$//;
34294 }'
34295 fi
34296
34297 DEFS=-DHAVE_CONFIG_H
34298
34299 ac_libobjs=
34300 ac_ltlibobjs=
34301 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34302   # 1. Remove the extension, and $U if already installed.
34303   ac_i=`echo "$ac_i" |
34304          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34305   # 2. Add them.
34306   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34307   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34308 done
34309 LIBOBJS=$ac_libobjs
34310
34311 LTLIBOBJS=$ac_ltlibobjs
34312
34313
34314 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34315   { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34316 Usually this means the macro was only invoked conditionally." >&5
34317 echo "$as_me: error: conditional \"onestep\" was never defined.
34318 Usually this means the macro was only invoked conditionally." >&2;}
34319    { (exit 1); exit 1; }; }
34320 fi
34321 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34322   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34323 Usually this means the macro was only invoked conditionally." >&5
34324 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34325 Usually this means the macro was only invoked conditionally." >&2;}
34326    { (exit 1); exit 1; }; }
34327 fi
34328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34329   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34330 Usually this means the macro was only invoked conditionally." >&5
34331 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34332 Usually this means the macro was only invoked conditionally." >&2;}
34333    { (exit 1); exit 1; }; }
34334 fi
34335 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34336   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34337 Usually this means the macro was only invoked conditionally." >&5
34338 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34339 Usually this means the macro was only invoked conditionally." >&2;}
34340    { (exit 1); exit 1; }; }
34341 fi
34342 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34343   { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34344 Usually this means the macro was only invoked conditionally." >&5
34345 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34346 Usually this means the macro was only invoked conditionally." >&2;}
34347    { (exit 1); exit 1; }; }
34348 fi
34349
34350 : ${CONFIG_STATUS=./config.status}
34351 ac_clean_files_save=$ac_clean_files
34352 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34353 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34354 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34355 cat >$CONFIG_STATUS <<_ACEOF
34356 #! $SHELL
34357 # Generated by $as_me.
34358 # Run this file to recreate the current configuration.
34359 # Compiler output produced by configure, useful for debugging
34360 # configure, is in config.log if it exists.
34361
34362 debug=false
34363 ac_cs_recheck=false
34364 ac_cs_silent=false
34365 SHELL=\${CONFIG_SHELL-$SHELL}
34366 _ACEOF
34367
34368 cat >>$CONFIG_STATUS <<\_ACEOF
34369 ## --------------------- ##
34370 ## M4sh Initialization.  ##
34371 ## --------------------- ##
34372
34373 # Be Bourne compatible
34374 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34375   emulate sh
34376   NULLCMD=:
34377   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34378   # is contrary to our usage.  Disable this feature.
34379   alias -g '${1+"$@"}'='"$@"'
34380 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34381   set -o posix
34382 fi
34383 DUALCASE=1; export DUALCASE # for MKS sh
34384
34385 # Support unset when possible.
34386 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34387   as_unset=unset
34388 else
34389   as_unset=false
34390 fi
34391
34392
34393 # Work around bugs in pre-3.0 UWIN ksh.
34394 $as_unset ENV MAIL MAILPATH
34395 PS1='$ '
34396 PS2='> '
34397 PS4='+ '
34398
34399 # NLS nuisances.
34400 for as_var in \
34401   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34402   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34403   LC_TELEPHONE LC_TIME
34404 do
34405   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34406     eval $as_var=C; export $as_var
34407   else
34408     $as_unset $as_var
34409   fi
34410 done
34411
34412 # Required to use basename.
34413 if expr a : '\(a\)' >/dev/null 2>&1; then
34414   as_expr=expr
34415 else
34416   as_expr=false
34417 fi
34418
34419 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34420   as_basename=basename
34421 else
34422   as_basename=false
34423 fi
34424
34425
34426 # Name of the executable.
34427 as_me=`$as_basename "$0" ||
34428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34429          X"$0" : 'X\(//\)$' \| \
34430          X"$0" : 'X\(/\)$' \| \
34431          .     : '\(.\)' 2>/dev/null ||
34432 echo X/"$0" |
34433     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34434           /^X\/\(\/\/\)$/{ s//\1/; q; }
34435           /^X\/\(\/\).*/{ s//\1/; q; }
34436           s/.*/./; q'`
34437
34438
34439 # PATH needs CR, and LINENO needs CR and PATH.
34440 # Avoid depending upon Character Ranges.
34441 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34442 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34443 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34444 as_cr_digits='0123456789'
34445 as_cr_alnum=$as_cr_Letters$as_cr_digits
34446
34447 # The user is always right.
34448 if test "${PATH_SEPARATOR+set}" != set; then
34449   echo "#! /bin/sh" >conf$$.sh
34450   echo  "exit 0"   >>conf$$.sh
34451   chmod +x conf$$.sh
34452   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34453     PATH_SEPARATOR=';'
34454   else
34455     PATH_SEPARATOR=:
34456   fi
34457   rm -f conf$$.sh
34458 fi
34459
34460
34461   as_lineno_1=$LINENO
34462   as_lineno_2=$LINENO
34463   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34464   test "x$as_lineno_1" != "x$as_lineno_2" &&
34465   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
34466   # Find who we are.  Look in the path if we contain no path at all
34467   # relative or not.
34468   case $0 in
34469     *[\\/]* ) as_myself=$0 ;;
34470     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34471 for as_dir in $PATH
34472 do
34473   IFS=$as_save_IFS
34474   test -z "$as_dir" && as_dir=.
34475   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34476 done
34477
34478        ;;
34479   esac
34480   # We did not find ourselves, most probably we were run as `sh COMMAND'
34481   # in which case we are not to be found in the path.
34482   if test "x$as_myself" = x; then
34483     as_myself=$0
34484   fi
34485   if test ! -f "$as_myself"; then
34486     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34487 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34488    { (exit 1); exit 1; }; }
34489   fi
34490   case $CONFIG_SHELL in
34491   '')
34492     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34493 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34494 do
34495   IFS=$as_save_IFS
34496   test -z "$as_dir" && as_dir=.
34497   for as_base in sh bash ksh sh5; do
34498          case $as_dir in
34499          /*)
34500            if ("$as_dir/$as_base" -c '
34501   as_lineno_1=$LINENO
34502   as_lineno_2=$LINENO
34503   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34504   test "x$as_lineno_1" != "x$as_lineno_2" &&
34505   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
34506              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34507              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34508              CONFIG_SHELL=$as_dir/$as_base
34509              export CONFIG_SHELL
34510              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34511            fi;;
34512          esac
34513        done
34514 done
34515 ;;
34516   esac
34517
34518   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34519   # uniformly replaced by the line number.  The first 'sed' inserts a
34520   # line-number line before each line; the second 'sed' does the real
34521   # work.  The second script uses 'N' to pair each line-number line
34522   # with the numbered line, and appends trailing '-' during
34523   # substitution so that $LINENO is not a special case at line end.
34524   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34525   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
34526   sed '=' <$as_myself |
34527     sed '
34528       N
34529       s,$,-,
34530       : loop
34531       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34532       t loop
34533       s,-$,,
34534       s,^['$as_cr_digits']*\n,,
34535     ' >$as_me.lineno &&
34536   chmod +x $as_me.lineno ||
34537     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34538 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34539    { (exit 1); exit 1; }; }
34540
34541   # Don't try to exec as it changes $[0], causing all sort of problems
34542   # (the dirname of $[0] is not the place where we might find the
34543   # original and so on.  Autoconf is especially sensible to this).
34544   . ./$as_me.lineno
34545   # Exit status is that of the last command.
34546   exit
34547 }
34548
34549
34550 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34551   *c*,-n*) ECHO_N= ECHO_C='
34552 ' ECHO_T='      ' ;;
34553   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34554   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
34555 esac
34556
34557 if expr a : '\(a\)' >/dev/null 2>&1; then
34558   as_expr=expr
34559 else
34560   as_expr=false
34561 fi
34562
34563 rm -f conf$$ conf$$.exe conf$$.file
34564 echo >conf$$.file
34565 if ln -s conf$$.file conf$$ 2>/dev/null; then
34566   # We could just check for DJGPP; but this test a) works b) is more generic
34567   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34568   if test -f conf$$.exe; then
34569     # Don't use ln at all; we don't have any links
34570     as_ln_s='cp -p'
34571   else
34572     as_ln_s='ln -s'
34573   fi
34574 elif ln conf$$.file conf$$ 2>/dev/null; then
34575   as_ln_s=ln
34576 else
34577   as_ln_s='cp -p'
34578 fi
34579 rm -f conf$$ conf$$.exe conf$$.file
34580
34581 if mkdir -p . 2>/dev/null; then
34582   as_mkdir_p=:
34583 else
34584   test -d ./-p && rmdir ./-p
34585   as_mkdir_p=false
34586 fi
34587
34588 as_executable_p="test -f"
34589
34590 # Sed expression to map a string onto a valid CPP name.
34591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34592
34593 # Sed expression to map a string onto a valid variable name.
34594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34595
34596
34597 # IFS
34598 # We need space, tab and new line, in precisely that order.
34599 as_nl='
34600 '
34601 IFS="   $as_nl"
34602
34603 # CDPATH.
34604 $as_unset CDPATH
34605
34606 exec 6>&1
34607
34608 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34609 # report actual input values of CONFIG_FILES etc. instead of their
34610 # values after options handling.  Logging --version etc. is OK.
34611 exec 5>>config.log
34612 {
34613   echo
34614   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34615 ## Running $as_me. ##
34616 _ASBOX
34617 } >&5
34618 cat >&5 <<_CSEOF
34619
34620 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34621 generated by GNU Autoconf 2.59.  Invocation command line was
34622
34623   CONFIG_FILES    = $CONFIG_FILES
34624   CONFIG_HEADERS  = $CONFIG_HEADERS
34625   CONFIG_LINKS    = $CONFIG_LINKS
34626   CONFIG_COMMANDS = $CONFIG_COMMANDS
34627   $ $0 $@
34628
34629 _CSEOF
34630 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34631 echo >&5
34632 _ACEOF
34633
34634 # Files that config.status was made for.
34635 if test -n "$ac_config_files"; then
34636   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34637 fi
34638
34639 if test -n "$ac_config_headers"; then
34640   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34641 fi
34642
34643 if test -n "$ac_config_links"; then
34644   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34645 fi
34646
34647 if test -n "$ac_config_commands"; then
34648   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34649 fi
34650
34651 cat >>$CONFIG_STATUS <<\_ACEOF
34652
34653 ac_cs_usage="\
34654 \`$as_me' instantiates files from templates according to the
34655 current configuration.
34656
34657 Usage: $0 [OPTIONS] [FILE]...
34658
34659   -h, --help       print this help, then exit
34660   -V, --version    print version number, then exit
34661   -q, --quiet      do not print progress messages
34662   -d, --debug      don't remove temporary files
34663       --recheck    update $as_me by reconfiguring in the same conditions
34664   --file=FILE[:TEMPLATE]
34665                    instantiate the configuration file FILE
34666   --header=FILE[:TEMPLATE]
34667                    instantiate the configuration header FILE
34668
34669 Configuration files:
34670 $config_files
34671
34672 Configuration headers:
34673 $config_headers
34674
34675 Configuration commands:
34676 $config_commands
34677
34678 Report bugs to <bug-autoconf@gnu.org>."
34679 _ACEOF
34680
34681 cat >>$CONFIG_STATUS <<_ACEOF
34682 ac_cs_version="\\
34683 GNU Fortran Runtime Library config.status 0.3
34684 configured by $0, generated by GNU Autoconf 2.59,
34685   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34686
34687 Copyright (C) 2003 Free Software Foundation, Inc.
34688 This config.status script is free software; the Free Software Foundation
34689 gives unlimited permission to copy, distribute and modify it."
34690 srcdir=$srcdir
34691 INSTALL="$INSTALL"
34692 _ACEOF
34693
34694 cat >>$CONFIG_STATUS <<\_ACEOF
34695 # If no file are specified by the user, then we need to provide default
34696 # value.  By we need to know if files were specified by the user.
34697 ac_need_defaults=:
34698 while test $# != 0
34699 do
34700   case $1 in
34701   --*=*)
34702     ac_option=`expr "x$1" : 'x\([^=]*\)='`
34703     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34704     ac_shift=:
34705     ;;
34706   -*)
34707     ac_option=$1
34708     ac_optarg=$2
34709     ac_shift=shift
34710     ;;
34711   *) # This is not an option, so the user has probably given explicit
34712      # arguments.
34713      ac_option=$1
34714      ac_need_defaults=false;;
34715   esac
34716
34717   case $ac_option in
34718   # Handling of the options.
34719 _ACEOF
34720 cat >>$CONFIG_STATUS <<\_ACEOF
34721   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34722     ac_cs_recheck=: ;;
34723   --version | --vers* | -V )
34724     echo "$ac_cs_version"; exit 0 ;;
34725   --he | --h)
34726     # Conflict between --help and --header
34727     { { echo "$as_me:$LINENO: error: ambiguous option: $1
34728 Try \`$0 --help' for more information." >&5
34729 echo "$as_me: error: ambiguous option: $1
34730 Try \`$0 --help' for more information." >&2;}
34731    { (exit 1); exit 1; }; };;
34732   --help | --hel | -h )
34733     echo "$ac_cs_usage"; exit 0 ;;
34734   --debug | --d* | -d )
34735     debug=: ;;
34736   --file | --fil | --fi | --f )
34737     $ac_shift
34738     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34739     ac_need_defaults=false;;
34740   --header | --heade | --head | --hea )
34741     $ac_shift
34742     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34743     ac_need_defaults=false;;
34744   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34745   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34746     ac_cs_silent=: ;;
34747
34748   # This is an error.
34749   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34750 Try \`$0 --help' for more information." >&5
34751 echo "$as_me: error: unrecognized option: $1
34752 Try \`$0 --help' for more information." >&2;}
34753    { (exit 1); exit 1; }; } ;;
34754
34755   *) ac_config_targets="$ac_config_targets $1" ;;
34756
34757   esac
34758   shift
34759 done
34760
34761 ac_configure_extra_args=
34762
34763 if $ac_cs_silent; then
34764   exec 6>/dev/null
34765   ac_configure_extra_args="$ac_configure_extra_args --silent"
34766 fi
34767
34768 _ACEOF
34769 cat >>$CONFIG_STATUS <<_ACEOF
34770 if \$ac_cs_recheck; then
34771   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34772   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34773 fi
34774
34775 _ACEOF
34776
34777 cat >>$CONFIG_STATUS <<_ACEOF
34778 #
34779 # INIT-COMMANDS section.
34780 #
34781
34782
34783 srcdir="$srcdir"
34784 host="$host"
34785 target="$target"
34786 with_multisubdir="$with_multisubdir"
34787 with_multisrctop="$with_multisrctop"
34788 with_target_subdir="$with_target_subdir"
34789 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34790 multi_basedir="$multi_basedir"
34791 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34792 CC="$CC"
34793 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34794
34795
34796 # The HP-UX ksh and POSIX shell print the target directory to stdout
34797 # if CDPATH is set.
34798 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34799
34800 sed_quote_subst='$sed_quote_subst'
34801 double_quote_subst='$double_quote_subst'
34802 delay_variable_subst='$delay_variable_subst'
34803 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34804 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34805 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34806 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34807 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34808 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34809 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34810 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34811 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34812 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34813 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34814 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34815 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34816 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34817 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34818 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34819 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34820 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34821 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34822 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34823 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34824 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34825 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34826 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34827 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34828 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34829 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34830 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34831 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34832 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34833 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34834 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34835 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34836 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34837 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34838 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34839 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34840 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34841 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34842 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34843 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34844 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34845 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34846 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34847 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"`'
34848 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"`'
34849 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34850 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34851 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34852 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34853 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34854 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34855 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34856 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34857 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34858 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34859 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34860 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34861 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34862 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34863 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34864 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34865 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34866 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34867 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34868 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34869 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34870 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34871 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34872 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34873 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34874 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34875 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34876 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34877 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34878 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34879 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34880 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34881 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34882 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34883 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34884 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34885 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34886 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34887 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34888 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34889 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34890 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34891 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34892 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34893 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34894 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34895 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34896 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34897 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34898 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34899 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34900 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34901 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34902 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34903 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34904 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34905 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34906 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34907 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34908 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34909 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34910 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34911 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34912 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34913 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34914 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34915 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34916 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34917 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34918 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34919 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34920 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34921 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34922 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34923 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34924 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34925 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34926 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34927 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34928 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34929 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34930 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34931 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34932 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34933 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34934 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34935 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34936 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34937 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34938 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34939 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34940 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34941 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34942 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34943 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34944 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34945 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34946 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34947 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34948 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34949 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34950 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34951 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34952 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34953 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34954 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34955 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34956 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34957 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34958 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34959 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34960 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34961 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34962 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34963 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34964 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34965 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34966 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34967 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34968 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34969 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34970 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34971 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34972 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34973 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34974
34975 LTCC='$LTCC'
34976 LTCFLAGS='$LTCFLAGS'
34977 compiler='$compiler_DEFAULT'
34978
34979 # Quote evaled strings.
34980 for var in SED \
34981 GREP \
34982 EGREP \
34983 FGREP \
34984 LD \
34985 NM \
34986 LN_S \
34987 lt_SP2NL \
34988 lt_NL2SP \
34989 reload_flag \
34990 OBJDUMP \
34991 deplibs_check_method \
34992 file_magic_cmd \
34993 AR \
34994 AR_FLAGS \
34995 STRIP \
34996 RANLIB \
34997 CC \
34998 CFLAGS \
34999 compiler \
35000 lt_cv_sys_global_symbol_pipe \
35001 lt_cv_sys_global_symbol_to_cdecl \
35002 lt_cv_sys_global_symbol_to_c_name_address \
35003 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35004 SHELL \
35005 ECHO \
35006 lt_prog_compiler_no_builtin_flag \
35007 lt_prog_compiler_wl \
35008 lt_prog_compiler_pic \
35009 lt_prog_compiler_static \
35010 lt_cv_prog_compiler_c_o \
35011 need_locks \
35012 DSYMUTIL \
35013 NMEDIT \
35014 LIPO \
35015 OTOOL \
35016 OTOOL64 \
35017 shrext_cmds \
35018 export_dynamic_flag_spec \
35019 whole_archive_flag_spec \
35020 compiler_needs_object \
35021 with_gnu_ld \
35022 allow_undefined_flag \
35023 no_undefined_flag \
35024 hardcode_libdir_flag_spec \
35025 hardcode_libdir_flag_spec_ld \
35026 hardcode_libdir_separator \
35027 fix_srcfile_path \
35028 exclude_expsyms \
35029 include_expsyms \
35030 file_list_spec \
35031 variables_saved_for_relink \
35032 libname_spec \
35033 library_names_spec \
35034 soname_spec \
35035 finish_eval \
35036 old_striplib \
35037 striplib \
35038 compiler_lib_search_dirs \
35039 predep_objects \
35040 postdep_objects \
35041 predeps \
35042 postdeps \
35043 compiler_lib_search_path \
35044 LD_FC \
35045 compiler_FC \
35046 lt_prog_compiler_no_builtin_flag_FC \
35047 lt_prog_compiler_wl_FC \
35048 lt_prog_compiler_pic_FC \
35049 lt_prog_compiler_static_FC \
35050 lt_cv_prog_compiler_c_o_FC \
35051 export_dynamic_flag_spec_FC \
35052 whole_archive_flag_spec_FC \
35053 compiler_needs_object_FC \
35054 with_gnu_ld_FC \
35055 allow_undefined_flag_FC \
35056 no_undefined_flag_FC \
35057 hardcode_libdir_flag_spec_FC \
35058 hardcode_libdir_flag_spec_ld_FC \
35059 hardcode_libdir_separator_FC \
35060 fix_srcfile_path_FC \
35061 exclude_expsyms_FC \
35062 include_expsyms_FC \
35063 file_list_spec_FC \
35064 compiler_lib_search_dirs_FC \
35065 predep_objects_FC \
35066 postdep_objects_FC \
35067 predeps_FC \
35068 postdeps_FC \
35069 compiler_lib_search_path_FC; do
35070     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35071     *[\\\\\\\`\\"\\\$]*)
35072       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35073       ;;
35074     *)
35075       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35076       ;;
35077     esac
35078 done
35079
35080 # Double-quote double-evaled strings.
35081 for var in reload_cmds \
35082 old_postinstall_cmds \
35083 old_postuninstall_cmds \
35084 old_archive_cmds \
35085 extract_expsyms_cmds \
35086 old_archive_from_new_cmds \
35087 old_archive_from_expsyms_cmds \
35088 archive_cmds \
35089 archive_expsym_cmds \
35090 module_cmds \
35091 module_expsym_cmds \
35092 export_symbols_cmds \
35093 prelink_cmds \
35094 postinstall_cmds \
35095 postuninstall_cmds \
35096 finish_cmds \
35097 sys_lib_search_path_spec \
35098 sys_lib_dlsearch_path_spec \
35099 old_archive_cmds_FC \
35100 old_archive_from_new_cmds_FC \
35101 old_archive_from_expsyms_cmds_FC \
35102 archive_cmds_FC \
35103 archive_expsym_cmds_FC \
35104 module_cmds_FC \
35105 module_expsym_cmds_FC \
35106 export_symbols_cmds_FC \
35107 prelink_cmds_FC; do
35108     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35109     *[\\\\\\\`\\"\\\$]*)
35110       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35111       ;;
35112     *)
35113       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35114       ;;
35115     esac
35116 done
35117
35118 # Fix-up fallback echo if it was mangled by the above quoting rules.
35119 case \$lt_ECHO in
35120 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35121   ;;
35122 esac
35123
35124 ac_aux_dir='$ac_aux_dir'
35125 xsi_shell='$xsi_shell'
35126 lt_shell_append='$lt_shell_append'
35127
35128 # See if we are running on zsh, and set the options which allow our
35129 # commands through without removal of \ escapes INIT.
35130 if test -n "\${ZSH_VERSION+set}" ; then
35131    setopt NO_GLOB_SUBST
35132 fi
35133
35134
35135     PACKAGE='$PACKAGE'
35136     VERSION='$VERSION'
35137     TIMESTAMP='$TIMESTAMP'
35138     RM='$RM'
35139     ofile='$ofile'
35140
35141
35142
35143
35144
35145
35146 GCC="$GCC"
35147 CC="$CC"
35148 acx_cv_header_stdint="$acx_cv_header_stdint"
35149 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35150 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35151 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35152 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35153 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35154 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35155 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35156 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35157 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35158 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35159 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35160 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35161 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35162
35163
35164 _ACEOF
35165
35166
35167
35168 cat >>$CONFIG_STATUS <<\_ACEOF
35169 for ac_config_target in $ac_config_targets
35170 do
35171   case "$ac_config_target" in
35172   # Handling of arguments.
35173   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35174   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35175   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35176   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35177   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35178   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35179   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35180 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35181    { (exit 1); exit 1; }; };;
35182   esac
35183 done
35184
35185 # If the user did not use the arguments to specify the items to instantiate,
35186 # then the envvar interface is used.  Set only those that are not.
35187 # We use the long form for the default assignment because of an extremely
35188 # bizarre bug on SunOS 4.1.3.
35189 if $ac_need_defaults; then
35190   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35191   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35192   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35193 fi
35194
35195 # Have a temporary directory for convenience.  Make it in the build tree
35196 # simply because there is no reason to put it here, and in addition,
35197 # creating and moving files from /tmp can sometimes cause problems.
35198 # Create a temporary directory, and hook for its removal unless debugging.
35199 $debug ||
35200 {
35201   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35202   trap '{ (exit 1); exit 1; }' 1 2 13 15
35203 }
35204
35205 # Create a (secure) tmp directory for tmp files.
35206
35207 {
35208   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35209   test -n "$tmp" && test -d "$tmp"
35210 }  ||
35211 {
35212   tmp=./confstat$$-$RANDOM
35213   (umask 077 && mkdir $tmp)
35214 } ||
35215 {
35216    echo "$me: cannot create a temporary directory in ." >&2
35217    { (exit 1); exit 1; }
35218 }
35219
35220 _ACEOF
35221
35222 cat >>$CONFIG_STATUS <<_ACEOF
35223
35224 #
35225 # CONFIG_FILES section.
35226 #
35227
35228 # No need to generate the scripts if there are no CONFIG_FILES.
35229 # This happens for instance when ./config.status config.h
35230 if test -n "\$CONFIG_FILES"; then
35231   # Protect against being on the right side of a sed subst in config.status.
35232   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35233    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35234 s,@SHELL@,$SHELL,;t t
35235 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35236 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35237 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35238 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35239 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35240 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35241 s,@exec_prefix@,$exec_prefix,;t t
35242 s,@prefix@,$prefix,;t t
35243 s,@program_transform_name@,$program_transform_name,;t t
35244 s,@bindir@,$bindir,;t t
35245 s,@sbindir@,$sbindir,;t t
35246 s,@libexecdir@,$libexecdir,;t t
35247 s,@datadir@,$datadir,;t t
35248 s,@sysconfdir@,$sysconfdir,;t t
35249 s,@sharedstatedir@,$sharedstatedir,;t t
35250 s,@localstatedir@,$localstatedir,;t t
35251 s,@libdir@,$libdir,;t t
35252 s,@includedir@,$includedir,;t t
35253 s,@oldincludedir@,$oldincludedir,;t t
35254 s,@infodir@,$infodir,;t t
35255 s,@mandir@,$mandir,;t t
35256 s,@build_alias@,$build_alias,;t t
35257 s,@host_alias@,$host_alias,;t t
35258 s,@target_alias@,$target_alias,;t t
35259 s,@DEFS@,$DEFS,;t t
35260 s,@ECHO_C@,$ECHO_C,;t t
35261 s,@ECHO_N@,$ECHO_N,;t t
35262 s,@ECHO_T@,$ECHO_T,;t t
35263 s,@LIBS@,$LIBS,;t t
35264 s,@build@,$build,;t t
35265 s,@build_cpu@,$build_cpu,;t t
35266 s,@build_vendor@,$build_vendor,;t t
35267 s,@build_os@,$build_os,;t t
35268 s,@build_libsubdir@,$build_libsubdir,;t t
35269 s,@build_subdir@,$build_subdir,;t t
35270 s,@host_subdir@,$host_subdir,;t t
35271 s,@target_subdir@,$target_subdir,;t t
35272 s,@onestep_TRUE@,$onestep_TRUE,;t t
35273 s,@onestep_FALSE@,$onestep_FALSE,;t t
35274 s,@onestep@,$onestep,;t t
35275 s,@host@,$host,;t t
35276 s,@host_cpu@,$host_cpu,;t t
35277 s,@host_vendor@,$host_vendor,;t t
35278 s,@host_os@,$host_os,;t t
35279 s,@target@,$target,;t t
35280 s,@target_cpu@,$target_cpu,;t t
35281 s,@target_vendor@,$target_vendor,;t t
35282 s,@target_os@,$target_os,;t t
35283 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35284 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35285 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35286 s,@CYGPATH_W@,$CYGPATH_W,;t t
35287 s,@PACKAGE@,$PACKAGE,;t t
35288 s,@VERSION@,$VERSION,;t t
35289 s,@ACLOCAL@,$ACLOCAL,;t t
35290 s,@AUTOCONF@,$AUTOCONF,;t t
35291 s,@AUTOMAKE@,$AUTOMAKE,;t t
35292 s,@AUTOHEADER@,$AUTOHEADER,;t t
35293 s,@MAKEINFO@,$MAKEINFO,;t t
35294 s,@install_sh@,$install_sh,;t t
35295 s,@STRIP@,$STRIP,;t t
35296 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35297 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35298 s,@mkdir_p@,$mkdir_p,;t t
35299 s,@AWK@,$AWK,;t t
35300 s,@SET_MAKE@,$SET_MAKE,;t t
35301 s,@am__leading_dot@,$am__leading_dot,;t t
35302 s,@AMTAR@,$AMTAR,;t t
35303 s,@am__tar@,$am__tar,;t t
35304 s,@am__untar@,$am__untar,;t t
35305 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35306 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35307 s,@MAINT@,$MAINT,;t t
35308 s,@multi_basedir@,$multi_basedir,;t t
35309 s,@toolexecdir@,$toolexecdir,;t t
35310 s,@toolexeclibdir@,$toolexeclibdir,;t t
35311 s,@CC@,$CC,;t t
35312 s,@ac_ct_CC@,$ac_ct_CC,;t t
35313 s,@EXEEXT@,$EXEEXT,;t t
35314 s,@OBJEXT@,$OBJEXT,;t t
35315 s,@DEPDIR@,$DEPDIR,;t t
35316 s,@am__include@,$am__include,;t t
35317 s,@am__quote@,$am__quote,;t t
35318 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35319 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35320 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35321 s,@CCDEPMODE@,$CCDEPMODE,;t t
35322 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35323 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35324 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35325 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35326 s,@CFLAGS@,$CFLAGS,;t t
35327 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35328 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35329 s,@AS@,$AS,;t t
35330 s,@ac_ct_AS@,$ac_ct_AS,;t t
35331 s,@AR@,$AR,;t t
35332 s,@ac_ct_AR@,$ac_ct_AR,;t t
35333 s,@RANLIB@,$RANLIB,;t t
35334 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35335 s,@LIBTOOL@,$LIBTOOL,;t t
35336 s,@SED@,$SED,;t t
35337 s,@EGREP@,$EGREP,;t t
35338 s,@FGREP@,$FGREP,;t t
35339 s,@GREP@,$GREP,;t t
35340 s,@LD@,$LD,;t t
35341 s,@DUMPBIN@,$DUMPBIN,;t t
35342 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35343 s,@NM@,$NM,;t t
35344 s,@LN_S@,$LN_S,;t t
35345 s,@OBJDUMP@,$OBJDUMP,;t t
35346 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35347 s,@lt_ECHO@,$lt_ECHO,;t t
35348 s,@DSYMUTIL@,$DSYMUTIL,;t t
35349 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35350 s,@NMEDIT@,$NMEDIT,;t t
35351 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35352 s,@LIPO@,$LIPO,;t t
35353 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35354 s,@OTOOL@,$OTOOL,;t t
35355 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35356 s,@OTOOL64@,$OTOOL64,;t t
35357 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35358 s,@CPP@,$CPP,;t t
35359 s,@CPPFLAGS@,$CPPFLAGS,;t t
35360 s,@enable_shared@,$enable_shared,;t t
35361 s,@enable_static@,$enable_static,;t t
35362 s,@FC@,$FC,;t t
35363 s,@FCFLAGS@,$FCFLAGS,;t t
35364 s,@LDFLAGS@,$LDFLAGS,;t t
35365 s,@ac_ct_FC@,$ac_ct_FC,;t t
35366 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35367 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35368 s,@LIBOBJS@,$LIBOBJS,;t t
35369 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35370 CEOF
35371
35372 _ACEOF
35373
35374   cat >>$CONFIG_STATUS <<\_ACEOF
35375   # Split the substitutions into bite-sized pieces for seds with
35376   # small command number limits, like on Digital OSF/1 and HP-UX.
35377   ac_max_sed_lines=48
35378   ac_sed_frag=1 # Number of current file.
35379   ac_beg=1 # First line for current file.
35380   ac_end=$ac_max_sed_lines # Line after last line for current file.
35381   ac_more_lines=:
35382   ac_sed_cmds=
35383   while $ac_more_lines; do
35384     if test $ac_beg -gt 1; then
35385       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35386     else
35387       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35388     fi
35389     if test ! -s $tmp/subs.frag; then
35390       ac_more_lines=false
35391     else
35392       # The purpose of the label and of the branching condition is to
35393       # speed up the sed processing (if there are no `@' at all, there
35394       # is no need to browse any of the substitutions).
35395       # These are the two extra sed commands mentioned above.
35396       (echo ':t
35397   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35398       if test -z "$ac_sed_cmds"; then
35399         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35400       else
35401         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35402       fi
35403       ac_sed_frag=`expr $ac_sed_frag + 1`
35404       ac_beg=$ac_end
35405       ac_end=`expr $ac_end + $ac_max_sed_lines`
35406     fi
35407   done
35408   if test -z "$ac_sed_cmds"; then
35409     ac_sed_cmds=cat
35410   fi
35411 fi # test -n "$CONFIG_FILES"
35412
35413 _ACEOF
35414 cat >>$CONFIG_STATUS <<\_ACEOF
35415 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35416   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35417   case $ac_file in
35418   - | *:- | *:-:* ) # input from stdin
35419         cat >$tmp/stdin
35420         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35421         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35422   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35423         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35424   * )   ac_file_in=$ac_file.in ;;
35425   esac
35426
35427   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35428   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35430          X"$ac_file" : 'X\(//\)[^/]' \| \
35431          X"$ac_file" : 'X\(//\)$' \| \
35432          X"$ac_file" : 'X\(/\)' \| \
35433          .     : '\(.\)' 2>/dev/null ||
35434 echo X"$ac_file" |
35435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35436           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35437           /^X\(\/\/\)$/{ s//\1/; q; }
35438           /^X\(\/\).*/{ s//\1/; q; }
35439           s/.*/./; q'`
35440   { if $as_mkdir_p; then
35441     mkdir -p "$ac_dir"
35442   else
35443     as_dir="$ac_dir"
35444     as_dirs=
35445     while test ! -d "$as_dir"; do
35446       as_dirs="$as_dir $as_dirs"
35447       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35449          X"$as_dir" : 'X\(//\)[^/]' \| \
35450          X"$as_dir" : 'X\(//\)$' \| \
35451          X"$as_dir" : 'X\(/\)' \| \
35452          .     : '\(.\)' 2>/dev/null ||
35453 echo X"$as_dir" |
35454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35455           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35456           /^X\(\/\/\)$/{ s//\1/; q; }
35457           /^X\(\/\).*/{ s//\1/; q; }
35458           s/.*/./; q'`
35459     done
35460     test ! -n "$as_dirs" || mkdir $as_dirs
35461   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35463    { (exit 1); exit 1; }; }; }
35464
35465   ac_builddir=.
35466
35467 if test "$ac_dir" != .; then
35468   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35469   # A "../" for each directory in $ac_dir_suffix.
35470   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35471 else
35472   ac_dir_suffix= ac_top_builddir=
35473 fi
35474
35475 case $srcdir in
35476   .)  # No --srcdir option.  We are building in place.
35477     ac_srcdir=.
35478     if test -z "$ac_top_builddir"; then
35479        ac_top_srcdir=.
35480     else
35481        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35482     fi ;;
35483   [\\/]* | ?:[\\/]* )  # Absolute path.
35484     ac_srcdir=$srcdir$ac_dir_suffix;
35485     ac_top_srcdir=$srcdir ;;
35486   *) # Relative path.
35487     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35488     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35489 esac
35490
35491 # Do not use `cd foo && pwd` to compute absolute paths, because
35492 # the directories may not exist.
35493 case `pwd` in
35494 .) ac_abs_builddir="$ac_dir";;
35495 *)
35496   case "$ac_dir" in
35497   .) ac_abs_builddir=`pwd`;;
35498   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35499   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35500   esac;;
35501 esac
35502 case $ac_abs_builddir in
35503 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35504 *)
35505   case ${ac_top_builddir}. in
35506   .) ac_abs_top_builddir=$ac_abs_builddir;;
35507   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35508   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35509   esac;;
35510 esac
35511 case $ac_abs_builddir in
35512 .) ac_abs_srcdir=$ac_srcdir;;
35513 *)
35514   case $ac_srcdir in
35515   .) ac_abs_srcdir=$ac_abs_builddir;;
35516   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35517   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35518   esac;;
35519 esac
35520 case $ac_abs_builddir in
35521 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35522 *)
35523   case $ac_top_srcdir in
35524   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35525   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35526   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35527   esac;;
35528 esac
35529
35530
35531   case $INSTALL in
35532   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35533   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35534   esac
35535
35536   if test x"$ac_file" != x-; then
35537     { echo "$as_me:$LINENO: creating $ac_file" >&5
35538 echo "$as_me: creating $ac_file" >&6;}
35539     rm -f "$ac_file"
35540   fi
35541   # Let's still pretend it is `configure' which instantiates (i.e., don't
35542   # use $as_me), people would be surprised to read:
35543   #    /* config.h.  Generated by config.status.  */
35544   if test x"$ac_file" = x-; then
35545     configure_input=
35546   else
35547     configure_input="$ac_file.  "
35548   fi
35549   configure_input=$configure_input"Generated from `echo $ac_file_in |
35550                                      sed 's,.*/,,'` by configure."
35551
35552   # First look for the input files in the build tree, otherwise in the
35553   # src tree.
35554   ac_file_inputs=`IFS=:
35555     for f in $ac_file_in; do
35556       case $f in
35557       -) echo $tmp/stdin ;;
35558       [\\/$]*)
35559          # Absolute (can't be DOS-style, as IFS=:)
35560          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35561 echo "$as_me: error: cannot find input file: $f" >&2;}
35562    { (exit 1); exit 1; }; }
35563          echo "$f";;
35564       *) # Relative
35565          if test -f "$f"; then
35566            # Build tree
35567            echo "$f"
35568          elif test -f "$srcdir/$f"; then
35569            # Source tree
35570            echo "$srcdir/$f"
35571          else
35572            # /dev/null tree
35573            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35574 echo "$as_me: error: cannot find input file: $f" >&2;}
35575    { (exit 1); exit 1; }; }
35576          fi;;
35577       esac
35578     done` || { (exit 1); exit 1; }
35579 _ACEOF
35580 cat >>$CONFIG_STATUS <<_ACEOF
35581   sed "$ac_vpsub
35582 $extrasub
35583 _ACEOF
35584 cat >>$CONFIG_STATUS <<\_ACEOF
35585 :t
35586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35587 s,@configure_input@,$configure_input,;t t
35588 s,@srcdir@,$ac_srcdir,;t t
35589 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35590 s,@top_srcdir@,$ac_top_srcdir,;t t
35591 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35592 s,@builddir@,$ac_builddir,;t t
35593 s,@abs_builddir@,$ac_abs_builddir,;t t
35594 s,@top_builddir@,$ac_top_builddir,;t t
35595 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35596 s,@INSTALL@,$ac_INSTALL,;t t
35597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35598   rm -f $tmp/stdin
35599   if test x"$ac_file" != x-; then
35600     mv $tmp/out $ac_file
35601   else
35602     cat $tmp/out
35603     rm -f $tmp/out
35604   fi
35605
35606 done
35607 _ACEOF
35608 cat >>$CONFIG_STATUS <<\_ACEOF
35609
35610 #
35611 # CONFIG_HEADER section.
35612 #
35613
35614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35615 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35616 #
35617 # ac_d sets the value in "#define NAME VALUE" lines.
35618 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
35619 ac_dB='[         ].*$,\1#\2'
35620 ac_dC=' '
35621 ac_dD=',;t'
35622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35623 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
35624 ac_uB='$,\1#\2define\3'
35625 ac_uC=' '
35626 ac_uD=',;t'
35627
35628 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35629   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35630   case $ac_file in
35631   - | *:- | *:-:* ) # input from stdin
35632         cat >$tmp/stdin
35633         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35634         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35635   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35636         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35637   * )   ac_file_in=$ac_file.in ;;
35638   esac
35639
35640   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35641 echo "$as_me: creating $ac_file" >&6;}
35642
35643   # First look for the input files in the build tree, otherwise in the
35644   # src tree.
35645   ac_file_inputs=`IFS=:
35646     for f in $ac_file_in; do
35647       case $f in
35648       -) echo $tmp/stdin ;;
35649       [\\/$]*)
35650          # Absolute (can't be DOS-style, as IFS=:)
35651          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35652 echo "$as_me: error: cannot find input file: $f" >&2;}
35653    { (exit 1); exit 1; }; }
35654          # Do quote $f, to prevent DOS paths from being IFS'd.
35655          echo "$f";;
35656       *) # Relative
35657          if test -f "$f"; then
35658            # Build tree
35659            echo "$f"
35660          elif test -f "$srcdir/$f"; then
35661            # Source tree
35662            echo "$srcdir/$f"
35663          else
35664            # /dev/null tree
35665            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35666 echo "$as_me: error: cannot find input file: $f" >&2;}
35667    { (exit 1); exit 1; }; }
35668          fi;;
35669       esac
35670     done` || { (exit 1); exit 1; }
35671   # Remove the trailing spaces.
35672   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
35673
35674 _ACEOF
35675
35676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35677 # `conftest.undefs', that substitutes the proper values into
35678 # config.h.in to produce config.h.  The first handles `#define'
35679 # templates, and the second `#undef' templates.
35680 # And first: Protect against being on the right side of a sed subst in
35681 # config.status.  Protect against being in an unquoted here document
35682 # in config.status.
35683 rm -f conftest.defines conftest.undefs
35684 # Using a here document instead of a string reduces the quoting nightmare.
35685 # Putting comments in sed scripts is not portable.
35686 #
35687 # `end' is used to avoid that the second main sed command (meant for
35688 # 0-ary CPP macros) applies to n-ary macro definitions.
35689 # See the Autoconf documentation for `clear'.
35690 cat >confdef2sed.sed <<\_ACEOF
35691 s/[\\&,]/\\&/g
35692 s,[\\$`],\\&,g
35693 t clear
35694 : clear
35695 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35696 t end
35697 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35698 : end
35699 _ACEOF
35700 # If some macros were called several times there might be several times
35701 # the same #defines, which is useless.  Nevertheless, we may not want to
35702 # sort them, since we want the *last* AC-DEFINE to be honored.
35703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35705 rm -f confdef2sed.sed
35706
35707 # This sed command replaces #undef with comments.  This is necessary, for
35708 # example, in the case of _POSIX_SOURCE, which is predefined and required
35709 # on some systems where configure will not decide to define it.
35710 cat >>conftest.undefs <<\_ACEOF
35711 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35712 _ACEOF
35713
35714 # Break up conftest.defines 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 #define templates only if necessary.' >>$CONFIG_STATUS
35717 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35718 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35719 echo '  :' >>$CONFIG_STATUS
35720 rm -f conftest.tail
35721 while grep . conftest.defines >/dev/null
35722 do
35723   # Write a limited-size here document to $tmp/defines.sed.
35724   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35725   # Speed up: don't consider the non `#define' lines.
35726   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
35727   # Work around the forget-to-reset-the-flag bug.
35728   echo 't clr' >>$CONFIG_STATUS
35729   echo ': clr' >>$CONFIG_STATUS
35730   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35731   echo 'CEOF
35732   sed -f $tmp/defines.sed $tmp/in >$tmp/out
35733   rm -f $tmp/in
35734   mv $tmp/out $tmp/in
35735 ' >>$CONFIG_STATUS
35736   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35737   rm -f conftest.defines
35738   mv conftest.tail conftest.defines
35739 done
35740 rm -f conftest.defines
35741 echo '  fi # grep' >>$CONFIG_STATUS
35742 echo >>$CONFIG_STATUS
35743
35744 # Break up conftest.undefs because some shells have a limit on the size
35745 # of here documents, and old seds have small limits too (100 cmds).
35746 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
35747 rm -f conftest.tail
35748 while grep . conftest.undefs >/dev/null
35749 do
35750   # Write a limited-size here document to $tmp/undefs.sed.
35751   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35752   # Speed up: don't consider the non `#undef'
35753   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
35754   # Work around the forget-to-reset-the-flag bug.
35755   echo 't clr' >>$CONFIG_STATUS
35756   echo ': clr' >>$CONFIG_STATUS
35757   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35758   echo 'CEOF
35759   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35760   rm -f $tmp/in
35761   mv $tmp/out $tmp/in
35762 ' >>$CONFIG_STATUS
35763   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35764   rm -f conftest.undefs
35765   mv conftest.tail conftest.undefs
35766 done
35767 rm -f conftest.undefs
35768
35769 cat >>$CONFIG_STATUS <<\_ACEOF
35770   # Let's still pretend it is `configure' which instantiates (i.e., don't
35771   # use $as_me), people would be surprised to read:
35772   #    /* config.h.  Generated by config.status.  */
35773   if test x"$ac_file" = x-; then
35774     echo "/* Generated by configure.  */" >$tmp/config.h
35775   else
35776     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
35777   fi
35778   cat $tmp/in >>$tmp/config.h
35779   rm -f $tmp/in
35780   if test x"$ac_file" != x-; then
35781     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35782       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35783 echo "$as_me: $ac_file is unchanged" >&6;}
35784     else
35785       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35787          X"$ac_file" : 'X\(//\)[^/]' \| \
35788          X"$ac_file" : 'X\(//\)$' \| \
35789          X"$ac_file" : 'X\(/\)' \| \
35790          .     : '\(.\)' 2>/dev/null ||
35791 echo X"$ac_file" |
35792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35793           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35794           /^X\(\/\/\)$/{ s//\1/; q; }
35795           /^X\(\/\).*/{ s//\1/; q; }
35796           s/.*/./; q'`
35797       { if $as_mkdir_p; then
35798     mkdir -p "$ac_dir"
35799   else
35800     as_dir="$ac_dir"
35801     as_dirs=
35802     while test ! -d "$as_dir"; do
35803       as_dirs="$as_dir $as_dirs"
35804       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35806          X"$as_dir" : 'X\(//\)[^/]' \| \
35807          X"$as_dir" : 'X\(//\)$' \| \
35808          X"$as_dir" : 'X\(/\)' \| \
35809          .     : '\(.\)' 2>/dev/null ||
35810 echo X"$as_dir" |
35811     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35812           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35813           /^X\(\/\/\)$/{ s//\1/; q; }
35814           /^X\(\/\).*/{ s//\1/; q; }
35815           s/.*/./; q'`
35816     done
35817     test ! -n "$as_dirs" || mkdir $as_dirs
35818   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35820    { (exit 1); exit 1; }; }; }
35821
35822       rm -f $ac_file
35823       mv $tmp/config.h $ac_file
35824     fi
35825   else
35826     cat $tmp/config.h
35827     rm -f $tmp/config.h
35828   fi
35829 # Compute $ac_file's index in $config_headers.
35830 _am_stamp_count=1
35831 for _am_header in $config_headers :; do
35832   case $_am_header in
35833     $ac_file | $ac_file:* )
35834       break ;;
35835     * )
35836       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35837   esac
35838 done
35839 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35840 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35841          X$ac_file : 'X\(//\)[^/]' \| \
35842          X$ac_file : 'X\(//\)$' \| \
35843          X$ac_file : 'X\(/\)' \| \
35844          .     : '\(.\)' 2>/dev/null ||
35845 echo X$ac_file |
35846     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35847           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35848           /^X\(\/\/\)$/{ s//\1/; q; }
35849           /^X\(\/\).*/{ s//\1/; q; }
35850           s/.*/./; q'`/stamp-h$_am_stamp_count
35851 done
35852 _ACEOF
35853 cat >>$CONFIG_STATUS <<\_ACEOF
35854
35855 #
35856 # CONFIG_COMMANDS section.
35857 #
35858 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35859   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35860   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35861   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35862 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35863          X"$ac_dest" : 'X\(//\)[^/]' \| \
35864          X"$ac_dest" : 'X\(//\)$' \| \
35865          X"$ac_dest" : 'X\(/\)' \| \
35866          .     : '\(.\)' 2>/dev/null ||
35867 echo X"$ac_dest" |
35868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35869           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35870           /^X\(\/\/\)$/{ s//\1/; q; }
35871           /^X\(\/\).*/{ s//\1/; q; }
35872           s/.*/./; q'`
35873   { if $as_mkdir_p; then
35874     mkdir -p "$ac_dir"
35875   else
35876     as_dir="$ac_dir"
35877     as_dirs=
35878     while test ! -d "$as_dir"; do
35879       as_dirs="$as_dir $as_dirs"
35880       as_dir=`(dirname "$as_dir") 2>/dev/null ||
35881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35882          X"$as_dir" : 'X\(//\)[^/]' \| \
35883          X"$as_dir" : 'X\(//\)$' \| \
35884          X"$as_dir" : 'X\(/\)' \| \
35885          .     : '\(.\)' 2>/dev/null ||
35886 echo X"$as_dir" |
35887     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35888           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35889           /^X\(\/\/\)$/{ s//\1/; q; }
35890           /^X\(\/\).*/{ s//\1/; q; }
35891           s/.*/./; q'`
35892     done
35893     test ! -n "$as_dirs" || mkdir $as_dirs
35894   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35896    { (exit 1); exit 1; }; }; }
35897
35898   ac_builddir=.
35899
35900 if test "$ac_dir" != .; then
35901   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35902   # A "../" for each directory in $ac_dir_suffix.
35903   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35904 else
35905   ac_dir_suffix= ac_top_builddir=
35906 fi
35907
35908 case $srcdir in
35909   .)  # No --srcdir option.  We are building in place.
35910     ac_srcdir=.
35911     if test -z "$ac_top_builddir"; then
35912        ac_top_srcdir=.
35913     else
35914        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35915     fi ;;
35916   [\\/]* | ?:[\\/]* )  # Absolute path.
35917     ac_srcdir=$srcdir$ac_dir_suffix;
35918     ac_top_srcdir=$srcdir ;;
35919   *) # Relative path.
35920     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35921     ac_top_srcdir=$ac_top_builddir$srcdir ;;
35922 esac
35923
35924 # Do not use `cd foo && pwd` to compute absolute paths, because
35925 # the directories may not exist.
35926 case `pwd` in
35927 .) ac_abs_builddir="$ac_dir";;
35928 *)
35929   case "$ac_dir" in
35930   .) ac_abs_builddir=`pwd`;;
35931   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35932   *) ac_abs_builddir=`pwd`/"$ac_dir";;
35933   esac;;
35934 esac
35935 case $ac_abs_builddir in
35936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35937 *)
35938   case ${ac_top_builddir}. in
35939   .) ac_abs_top_builddir=$ac_abs_builddir;;
35940   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35941   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35942   esac;;
35943 esac
35944 case $ac_abs_builddir in
35945 .) ac_abs_srcdir=$ac_srcdir;;
35946 *)
35947   case $ac_srcdir in
35948   .) ac_abs_srcdir=$ac_abs_builddir;;
35949   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35950   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35951   esac;;
35952 esac
35953 case $ac_abs_builddir in
35954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35955 *)
35956   case $ac_top_srcdir in
35957   .) ac_abs_top_srcdir=$ac_abs_builddir;;
35958   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35959   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35960   esac;;
35961 esac
35962
35963
35964   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35965 echo "$as_me: executing $ac_dest commands" >&6;}
35966   case $ac_dest in
35967     default-1 )
35968 # Only add multilib support code if we just rebuilt the top-level
35969 # Makefile.
35970 case " $CONFIG_FILES " in
35971  *" Makefile "*)
35972    ac_file=Makefile . ${multi_basedir}/config-ml.in
35973    ;;
35974 esac ;;
35975     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35976   # Strip MF so we end up with the name of the file.
35977   mf=`echo "$mf" | sed -e 's/:.*$//'`
35978   # Check whether this is an Automake generated Makefile or not.
35979   # We used to match only the files named `Makefile.in', but
35980   # some people rename them; so instead we look at the file content.
35981   # Grep'ing the first line is not enough: some people post-process
35982   # each Makefile.in and add a new line on top of each file to say so.
35983   # So let's grep whole file.
35984   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35985     dirpart=`(dirname "$mf") 2>/dev/null ||
35986 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35987          X"$mf" : 'X\(//\)[^/]' \| \
35988          X"$mf" : 'X\(//\)$' \| \
35989          X"$mf" : 'X\(/\)' \| \
35990          .     : '\(.\)' 2>/dev/null ||
35991 echo X"$mf" |
35992     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35993           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35994           /^X\(\/\/\)$/{ s//\1/; q; }
35995           /^X\(\/\).*/{ s//\1/; q; }
35996           s/.*/./; q'`
35997   else
35998     continue
35999   fi
36000   # Extract the definition of DEPDIR, am__include, and am__quote
36001   # from the Makefile without running `make'.
36002   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36003   test -z "$DEPDIR" && continue
36004   am__include=`sed -n 's/^am__include = //p' < "$mf"`
36005   test -z "am__include" && continue
36006   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36007   # When using ansi2knr, U may be empty or an underscore; expand it
36008   U=`sed -n 's/^U = //p' < "$mf"`
36009   # Find all dependency output files, they are included files with
36010   # $(DEPDIR) in their names.  We invoke sed twice because it is the
36011   # simplest approach to changing $(DEPDIR) to its actual value in the
36012   # expansion.
36013   for file in `sed -n "
36014     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36015        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36016     # Make sure the directory exists.
36017     test -f "$dirpart/$file" && continue
36018     fdir=`(dirname "$file") 2>/dev/null ||
36019 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36020          X"$file" : 'X\(//\)[^/]' \| \
36021          X"$file" : 'X\(//\)$' \| \
36022          X"$file" : 'X\(/\)' \| \
36023          .     : '\(.\)' 2>/dev/null ||
36024 echo X"$file" |
36025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36026           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36027           /^X\(\/\/\)$/{ s//\1/; q; }
36028           /^X\(\/\).*/{ s//\1/; q; }
36029           s/.*/./; q'`
36030     { if $as_mkdir_p; then
36031     mkdir -p $dirpart/$fdir
36032   else
36033     as_dir=$dirpart/$fdir
36034     as_dirs=
36035     while test ! -d "$as_dir"; do
36036       as_dirs="$as_dir $as_dirs"
36037       as_dir=`(dirname "$as_dir") 2>/dev/null ||
36038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36039          X"$as_dir" : 'X\(//\)[^/]' \| \
36040          X"$as_dir" : 'X\(//\)$' \| \
36041          X"$as_dir" : 'X\(/\)' \| \
36042          .     : '\(.\)' 2>/dev/null ||
36043 echo X"$as_dir" |
36044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36045           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36046           /^X\(\/\/\)$/{ s//\1/; q; }
36047           /^X\(\/\).*/{ s//\1/; q; }
36048           s/.*/./; q'`
36049     done
36050     test ! -n "$as_dirs" || mkdir $as_dirs
36051   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36052 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36053    { (exit 1); exit 1; }; }; }
36054
36055     # echo "creating $dirpart/$file"
36056     echo '# dummy' > "$dirpart/$file"
36057   done
36058 done
36059  ;;
36060     libtool )
36061
36062     # See if we are running on zsh, and set the options which allow our
36063     # commands through without removal of \ escapes.
36064     if test -n "${ZSH_VERSION+set}" ; then
36065       setopt NO_GLOB_SUBST
36066     fi
36067
36068     cfgfile="${ofile}T"
36069     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36070     $RM "$cfgfile"
36071
36072     cat <<_LT_EOF >> "$cfgfile"
36073 #! $SHELL
36074
36075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36079 #
36080 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36081 #                 2006, 2007, 2008 Free Software Foundation, Inc.
36082 #   Written by Gordon Matzigkeit, 1996
36083 #
36084 #   This file is part of GNU Libtool.
36085 #
36086 # GNU Libtool is free software; you can redistribute it and/or
36087 # modify it under the terms of the GNU General Public License as
36088 # published by the Free Software Foundation; either version 2 of
36089 # the License, or (at your option) any later version.
36090 #
36091 # As a special exception to the GNU General Public License,
36092 # if you distribute this file as part of a program or library that
36093 # is built using GNU Libtool, you may include this file under the
36094 # same distribution terms that you use for the rest of that program.
36095 #
36096 # GNU Libtool is distributed in the hope that it will be useful,
36097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36099 # GNU General Public License for more details.
36100 #
36101 # You should have received a copy of the GNU General Public License
36102 # along with GNU Libtool; see the file COPYING.  If not, a copy
36103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36104 # obtained by writing to the Free Software Foundation, Inc.,
36105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36106
36107
36108 # The names of the tagged configurations supported by this script.
36109 available_tags="FC "
36110
36111 # ### BEGIN LIBTOOL CONFIG
36112
36113 # Which release of libtool.m4 was used?
36114 macro_version=$macro_version
36115 macro_revision=$macro_revision
36116
36117 # Whether or not to build shared libraries.
36118 build_libtool_libs=$enable_shared
36119
36120 # Whether or not to build static libraries.
36121 build_old_libs=$enable_static
36122
36123 # What type of objects to build.
36124 pic_mode=$pic_mode
36125
36126 # Whether or not to optimize for fast installation.
36127 fast_install=$enable_fast_install
36128
36129 # The host system.
36130 host_alias=$host_alias
36131 host=$host
36132 host_os=$host_os
36133
36134 # The build system.
36135 build_alias=$build_alias
36136 build=$build
36137 build_os=$build_os
36138
36139 # A sed program that does not truncate output.
36140 SED=$lt_SED
36141
36142 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36143 Xsed="\$SED -e 1s/^X//"
36144
36145 # A grep program that handles long lines.
36146 GREP=$lt_GREP
36147
36148 # An ERE matcher.
36149 EGREP=$lt_EGREP
36150
36151 # A literal string matcher.
36152 FGREP=$lt_FGREP
36153
36154 # A BSD- or MS-compatible name lister.
36155 NM=$lt_NM
36156
36157 # Whether we need soft or hard links.
36158 LN_S=$lt_LN_S
36159
36160 # What is the maximum length of a command?
36161 max_cmd_len=$max_cmd_len
36162
36163 # Object file suffix (normally "o").
36164 objext=$ac_objext
36165
36166 # Executable file suffix (normally "").
36167 exeext=$exeext
36168
36169 # whether the shell understands "unset".
36170 lt_unset=$lt_unset
36171
36172 # turn spaces into newlines.
36173 SP2NL=$lt_lt_SP2NL
36174
36175 # turn newlines into spaces.
36176 NL2SP=$lt_lt_NL2SP
36177
36178 # How to create reloadable object files.
36179 reload_flag=$lt_reload_flag
36180 reload_cmds=$lt_reload_cmds
36181
36182 # An object symbol dumper.
36183 OBJDUMP=$lt_OBJDUMP
36184
36185 # Method to check whether dependent libraries are shared objects.
36186 deplibs_check_method=$lt_deplibs_check_method
36187
36188 # Command to use when deplibs_check_method == "file_magic".
36189 file_magic_cmd=$lt_file_magic_cmd
36190
36191 # The archiver.
36192 AR=$lt_AR
36193 AR_FLAGS=$lt_AR_FLAGS
36194
36195 # A symbol stripping program.
36196 STRIP=$lt_STRIP
36197
36198 # Commands used to install an old-style archive.
36199 RANLIB=$lt_RANLIB
36200 old_postinstall_cmds=$lt_old_postinstall_cmds
36201 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36202
36203 # A C compiler.
36204 LTCC=$lt_CC
36205
36206 # LTCC compiler flags.
36207 LTCFLAGS=$lt_CFLAGS
36208
36209 # Take the output of nm and produce a listing of raw symbols and C names.
36210 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36211
36212 # Transform the output of nm in a proper C declaration.
36213 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36214
36215 # Transform the output of nm in a C name address pair.
36216 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36217
36218 # Transform the output of nm in a C name address pair when lib prefix is needed.
36219 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36220
36221 # The name of the directory that contains temporary libtool files.
36222 objdir=$objdir
36223
36224 # Shell to use when invoking shell scripts.
36225 SHELL=$lt_SHELL
36226
36227 # An echo program that does not interpret backslashes.
36228 ECHO=$lt_ECHO
36229
36230 # Used to examine libraries when file_magic_cmd begins with "file".
36231 MAGIC_CMD=$MAGIC_CMD
36232
36233 # Must we lock files when doing compilation?
36234 need_locks=$lt_need_locks
36235
36236 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36237 DSYMUTIL=$lt_DSYMUTIL
36238
36239 # Tool to change global to local symbols on Mac OS X.
36240 NMEDIT=$lt_NMEDIT
36241
36242 # Tool to manipulate fat objects and archives on Mac OS X.
36243 LIPO=$lt_LIPO
36244
36245 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36246 OTOOL=$lt_OTOOL
36247
36248 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36249 OTOOL64=$lt_OTOOL64
36250
36251 # Old archive suffix (normally "a").
36252 libext=$libext
36253
36254 # Shared library suffix (normally ".so").
36255 shrext_cmds=$lt_shrext_cmds
36256
36257 # The commands to extract the exported symbol list from a shared archive.
36258 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36259
36260 # Variables whose values should be saved in libtool wrapper scripts and
36261 # restored at link time.
36262 variables_saved_for_relink=$lt_variables_saved_for_relink
36263
36264 # Do we need the "lib" prefix for modules?
36265 need_lib_prefix=$need_lib_prefix
36266
36267 # Do we need a version for libraries?
36268 need_version=$need_version
36269
36270 # Library versioning type.
36271 version_type=$version_type
36272
36273 # Shared library runtime path variable.
36274 runpath_var=$runpath_var
36275
36276 # Shared library path variable.
36277 shlibpath_var=$shlibpath_var
36278
36279 # Is shlibpath searched before the hard-coded library search path?
36280 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36281
36282 # Format of library name prefix.
36283 libname_spec=$lt_libname_spec
36284
36285 # List of archive names.  First name is the real one, the rest are links.
36286 # The last name is the one that the linker finds with -lNAME
36287 library_names_spec=$lt_library_names_spec
36288
36289 # The coded name of the library, if different from the real name.
36290 soname_spec=$lt_soname_spec
36291
36292 # Command to use after installation of a shared archive.
36293 postinstall_cmds=$lt_postinstall_cmds
36294
36295 # Command to use after uninstallation of a shared archive.
36296 postuninstall_cmds=$lt_postuninstall_cmds
36297
36298 # Commands used to finish a libtool library installation in a directory.
36299 finish_cmds=$lt_finish_cmds
36300
36301 # As "finish_cmds", except a single script fragment to be evaled but
36302 # not shown.
36303 finish_eval=$lt_finish_eval
36304
36305 # Whether we should hardcode library paths into libraries.
36306 hardcode_into_libs=$hardcode_into_libs
36307
36308 # Compile-time system search path for libraries.
36309 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36310
36311 # Run-time system search path for libraries.
36312 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36313
36314 # Whether dlopen is supported.
36315 dlopen_support=$enable_dlopen
36316
36317 # Whether dlopen of programs is supported.
36318 dlopen_self=$enable_dlopen_self
36319
36320 # Whether dlopen of statically linked programs is supported.
36321 dlopen_self_static=$enable_dlopen_self_static
36322
36323 # Commands to strip libraries.
36324 old_striplib=$lt_old_striplib
36325 striplib=$lt_striplib
36326
36327
36328 # The linker used to build libraries.
36329 LD=$lt_LD
36330
36331 # Commands used to build an old-style archive.
36332 old_archive_cmds=$lt_old_archive_cmds
36333
36334 # A language specific compiler.
36335 CC=$lt_compiler
36336
36337 # Is the compiler the GNU compiler?
36338 with_gcc=$GCC
36339
36340 # Compiler flag to turn off builtin functions.
36341 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36342
36343 # How to pass a linker flag through the compiler.
36344 wl=$lt_lt_prog_compiler_wl
36345
36346 # Additional compiler flags for building library objects.
36347 pic_flag=$lt_lt_prog_compiler_pic
36348
36349 # Compiler flag to prevent dynamic linking.
36350 link_static_flag=$lt_lt_prog_compiler_static
36351
36352 # Does compiler simultaneously support -c and -o options?
36353 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36354
36355 # Whether or not to add -lc for building shared libraries.
36356 build_libtool_need_lc=$archive_cmds_need_lc
36357
36358 # Whether or not to disallow shared libs when runtime libs are static.
36359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36360
36361 # Compiler flag to allow reflexive dlopens.
36362 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36363
36364 # Compiler flag to generate shared objects directly from archives.
36365 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36366
36367 # Whether the compiler copes with passing no objects directly.
36368 compiler_needs_object=$lt_compiler_needs_object
36369
36370 # Create an old-style archive from a shared archive.
36371 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36372
36373 # Create a temporary old-style archive to link instead of a shared archive.
36374 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36375
36376 # Commands used to build a shared archive.
36377 archive_cmds=$lt_archive_cmds
36378 archive_expsym_cmds=$lt_archive_expsym_cmds
36379
36380 # Commands used to build a loadable module if different from building
36381 # a shared archive.
36382 module_cmds=$lt_module_cmds
36383 module_expsym_cmds=$lt_module_expsym_cmds
36384
36385 # Whether we are building with GNU ld or not.
36386 with_gnu_ld=$lt_with_gnu_ld
36387
36388 # Flag that allows shared libraries with undefined symbols to be built.
36389 allow_undefined_flag=$lt_allow_undefined_flag
36390
36391 # Flag that enforces no undefined symbols.
36392 no_undefined_flag=$lt_no_undefined_flag
36393
36394 # Flag to hardcode \$libdir into a binary during linking.
36395 # This must work even if \$libdir does not exist
36396 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36397
36398 # If ld is used when linking, flag to hardcode \$libdir into a binary
36399 # during linking.  This must work even if \$libdir does not exist.
36400 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36401
36402 # Whether we need a single "-rpath" flag with a separated argument.
36403 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36404
36405 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36406 # DIR into the resulting binary.
36407 hardcode_direct=$hardcode_direct
36408
36409 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36410 # DIR into the resulting binary and the resulting library dependency is
36411 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36412 # library is relocated.
36413 hardcode_direct_absolute=$hardcode_direct_absolute
36414
36415 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36416 # into the resulting binary.
36417 hardcode_minus_L=$hardcode_minus_L
36418
36419 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36420 # into the resulting binary.
36421 hardcode_shlibpath_var=$hardcode_shlibpath_var
36422
36423 # Set to "yes" if building a shared library automatically hardcodes DIR
36424 # into the library and all subsequent libraries and executables linked
36425 # against it.
36426 hardcode_automatic=$hardcode_automatic
36427
36428 # Set to yes if linker adds runtime paths of dependent libraries
36429 # to runtime path list.
36430 inherit_rpath=$inherit_rpath
36431
36432 # Whether libtool must link a program against all its dependency libraries.
36433 link_all_deplibs=$link_all_deplibs
36434
36435 # Fix the shell variable \$srcfile for the compiler.
36436 fix_srcfile_path=$lt_fix_srcfile_path
36437
36438 # Set to "yes" if exported symbols are required.
36439 always_export_symbols=$always_export_symbols
36440
36441 # The commands to list exported symbols.
36442 export_symbols_cmds=$lt_export_symbols_cmds
36443
36444 # Symbols that should not be listed in the preloaded symbols.
36445 exclude_expsyms=$lt_exclude_expsyms
36446
36447 # Symbols that must always be exported.
36448 include_expsyms=$lt_include_expsyms
36449
36450 # Commands necessary for linking programs (against libraries) with templates.
36451 prelink_cmds=$lt_prelink_cmds
36452
36453 # Specify filename containing input files.
36454 file_list_spec=$lt_file_list_spec
36455
36456 # How to hardcode a shared library path into an executable.
36457 hardcode_action=$hardcode_action
36458
36459 # The directories searched by this compiler when creating a shared library.
36460 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36461
36462 # Dependencies to place before and after the objects being linked to
36463 # create a shared library.
36464 predep_objects=$lt_predep_objects
36465 postdep_objects=$lt_postdep_objects
36466 predeps=$lt_predeps
36467 postdeps=$lt_postdeps
36468
36469 # The library search path used internally by the compiler when linking
36470 # a shared library.
36471 compiler_lib_search_path=$lt_compiler_lib_search_path
36472
36473 # ### END LIBTOOL CONFIG
36474
36475 _LT_EOF
36476
36477   case $host_os in
36478   aix3*)
36479     cat <<\_LT_EOF >> "$cfgfile"
36480 # AIX sometimes has problems with the GCC collect2 program.  For some
36481 # reason, if we set the COLLECT_NAMES environment variable, the problems
36482 # vanish in a puff of smoke.
36483 if test "X${COLLECT_NAMES+set}" != Xset; then
36484   COLLECT_NAMES=
36485   export COLLECT_NAMES
36486 fi
36487 _LT_EOF
36488     ;;
36489   esac
36490
36491
36492 ltmain="$ac_aux_dir/ltmain.sh"
36493
36494
36495   # We use sed instead of cat because bash on DJGPP gets confused if
36496   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36497   # text mode, it properly converts lines to CR/LF.  This bash problem
36498   # is reportedly fixed, but why not run on old versions too?
36499   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36500     || (rm -f "$cfgfile"; exit 1)
36501
36502   case $xsi_shell in
36503   yes)
36504     cat << \_LT_EOF >> "$cfgfile"
36505
36506 # func_dirname file append nondir_replacement
36507 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
36508 # otherwise set result to NONDIR_REPLACEMENT.
36509 func_dirname ()
36510 {
36511   case ${1} in
36512     */*) func_dirname_result="${1%/*}${2}" ;;
36513     *  ) func_dirname_result="${3}" ;;
36514   esac
36515 }
36516
36517 # func_basename file
36518 func_basename ()
36519 {
36520   func_basename_result="${1##*/}"
36521 }
36522
36523 # func_dirname_and_basename file append nondir_replacement
36524 # perform func_basename and func_dirname in a single function
36525 # call:
36526 #   dirname:  Compute the dirname of FILE.  If nonempty,
36527 #             add APPEND to the result, otherwise set result
36528 #             to NONDIR_REPLACEMENT.
36529 #             value returned in "$func_dirname_result"
36530 #   basename: Compute filename of FILE.
36531 #             value retuned in "$func_basename_result"
36532 # Implementation must be kept synchronized with func_dirname
36533 # and func_basename. For efficiency, we do not delegate to
36534 # those functions but instead duplicate the functionality here.
36535 func_dirname_and_basename ()
36536 {
36537   case ${1} in
36538     */*) func_dirname_result="${1%/*}${2}" ;;
36539     *  ) func_dirname_result="${3}" ;;
36540   esac
36541   func_basename_result="${1##*/}"
36542 }
36543
36544 # func_stripname prefix suffix name
36545 # strip PREFIX and SUFFIX off of NAME.
36546 # PREFIX and SUFFIX must not contain globbing or regex special
36547 # characters, hashes, percent signs, but SUFFIX may contain a leading
36548 # dot (in which case that matches only a dot).
36549 func_stripname ()
36550 {
36551   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36552   # positional parameters, so assign one to ordinary parameter first.
36553   func_stripname_result=${3}
36554   func_stripname_result=${func_stripname_result#"${1}"}
36555   func_stripname_result=${func_stripname_result%"${2}"}
36556 }
36557
36558 # func_opt_split
36559 func_opt_split ()
36560 {
36561   func_opt_split_opt=${1%%=*}
36562   func_opt_split_arg=${1#*=}
36563 }
36564
36565 # func_lo2o object
36566 func_lo2o ()
36567 {
36568   case ${1} in
36569     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36570     *)    func_lo2o_result=${1} ;;
36571   esac
36572 }
36573
36574 # func_xform libobj-or-source
36575 func_xform ()
36576 {
36577   func_xform_result=${1%.*}.lo
36578 }
36579
36580 # func_arith arithmetic-term...
36581 func_arith ()
36582 {
36583   func_arith_result=$(( $* ))
36584 }
36585
36586 # func_len string
36587 # STRING may not start with a hyphen.
36588 func_len ()
36589 {
36590   func_len_result=${#1}
36591 }
36592
36593 _LT_EOF
36594     ;;
36595   *) # Bourne compatible functions.
36596     cat << \_LT_EOF >> "$cfgfile"
36597
36598 # func_dirname file append nondir_replacement
36599 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
36600 # otherwise set result to NONDIR_REPLACEMENT.
36601 func_dirname ()
36602 {
36603   # Extract subdirectory from the argument.
36604   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36605   if test "X$func_dirname_result" = "X${1}"; then
36606     func_dirname_result="${3}"
36607   else
36608     func_dirname_result="$func_dirname_result${2}"
36609   fi
36610 }
36611
36612 # func_basename file
36613 func_basename ()
36614 {
36615   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36616 }
36617
36618
36619 # func_stripname prefix suffix name
36620 # strip PREFIX and SUFFIX off of NAME.
36621 # PREFIX and SUFFIX must not contain globbing or regex special
36622 # characters, hashes, percent signs, but SUFFIX may contain a leading
36623 # dot (in which case that matches only a dot).
36624 # func_strip_suffix prefix name
36625 func_stripname ()
36626 {
36627   case ${2} in
36628     .*) func_stripname_result=`$ECHO "X${3}" \
36629            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36630     *)  func_stripname_result=`$ECHO "X${3}" \
36631            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36632   esac
36633 }
36634
36635 # sed scripts:
36636 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36637 my_sed_long_arg='1s/^-[^=]*=//'
36638
36639 # func_opt_split
36640 func_opt_split ()
36641 {
36642   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36643   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36644 }
36645
36646 # func_lo2o object
36647 func_lo2o ()
36648 {
36649   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36650 }
36651
36652 # func_xform libobj-or-source
36653 func_xform ()
36654 {
36655   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36656 }
36657
36658 # func_arith arithmetic-term...
36659 func_arith ()
36660 {
36661   func_arith_result=`expr "$@"`
36662 }
36663
36664 # func_len string
36665 # STRING may not start with a hyphen.
36666 func_len ()
36667 {
36668   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36669 }
36670
36671 _LT_EOF
36672 esac
36673
36674 case $lt_shell_append in
36675   yes)
36676     cat << \_LT_EOF >> "$cfgfile"
36677
36678 # func_append var value
36679 # Append VALUE to the end of shell variable VAR.
36680 func_append ()
36681 {
36682   eval "$1+=\$2"
36683 }
36684 _LT_EOF
36685     ;;
36686   *)
36687     cat << \_LT_EOF >> "$cfgfile"
36688
36689 # func_append var value
36690 # Append VALUE to the end of shell variable VAR.
36691 func_append ()
36692 {
36693   eval "$1=\$$1\$2"
36694 }
36695
36696 _LT_EOF
36697     ;;
36698   esac
36699
36700
36701   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36702     || (rm -f "$cfgfile"; exit 1)
36703
36704   mv -f "$cfgfile" "$ofile" ||
36705     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36706   chmod +x "$ofile"
36707
36708
36709     cat <<_LT_EOF >> "$ofile"
36710
36711 # ### BEGIN LIBTOOL TAG CONFIG: FC
36712
36713 # The linker used to build libraries.
36714 LD=$lt_LD_FC
36715
36716 # Commands used to build an old-style archive.
36717 old_archive_cmds=$lt_old_archive_cmds_FC
36718
36719 # A language specific compiler.
36720 CC=$lt_compiler_FC
36721
36722 # Is the compiler the GNU compiler?
36723 with_gcc=$GCC_FC
36724
36725 # Compiler flag to turn off builtin functions.
36726 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36727
36728 # How to pass a linker flag through the compiler.
36729 wl=$lt_lt_prog_compiler_wl_FC
36730
36731 # Additional compiler flags for building library objects.
36732 pic_flag=$lt_lt_prog_compiler_pic_FC
36733
36734 # Compiler flag to prevent dynamic linking.
36735 link_static_flag=$lt_lt_prog_compiler_static_FC
36736
36737 # Does compiler simultaneously support -c and -o options?
36738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36739
36740 # Whether or not to add -lc for building shared libraries.
36741 build_libtool_need_lc=$archive_cmds_need_lc_FC
36742
36743 # Whether or not to disallow shared libs when runtime libs are static.
36744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36745
36746 # Compiler flag to allow reflexive dlopens.
36747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36748
36749 # Compiler flag to generate shared objects directly from archives.
36750 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36751
36752 # Whether the compiler copes with passing no objects directly.
36753 compiler_needs_object=$lt_compiler_needs_object_FC
36754
36755 # Create an old-style archive from a shared archive.
36756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36757
36758 # Create a temporary old-style archive to link instead of a shared archive.
36759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36760
36761 # Commands used to build a shared archive.
36762 archive_cmds=$lt_archive_cmds_FC
36763 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36764
36765 # Commands used to build a loadable module if different from building
36766 # a shared archive.
36767 module_cmds=$lt_module_cmds_FC
36768 module_expsym_cmds=$lt_module_expsym_cmds_FC
36769
36770 # Whether we are building with GNU ld or not.
36771 with_gnu_ld=$lt_with_gnu_ld_FC
36772
36773 # Flag that allows shared libraries with undefined symbols to be built.
36774 allow_undefined_flag=$lt_allow_undefined_flag_FC
36775
36776 # Flag that enforces no undefined symbols.
36777 no_undefined_flag=$lt_no_undefined_flag_FC
36778
36779 # Flag to hardcode \$libdir into a binary during linking.
36780 # This must work even if \$libdir does not exist
36781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36782
36783 # If ld is used when linking, flag to hardcode \$libdir into a binary
36784 # during linking.  This must work even if \$libdir does not exist.
36785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36786
36787 # Whether we need a single "-rpath" flag with a separated argument.
36788 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36789
36790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36791 # DIR into the resulting binary.
36792 hardcode_direct=$hardcode_direct_FC
36793
36794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36795 # DIR into the resulting binary and the resulting library dependency is
36796 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36797 # library is relocated.
36798 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36799
36800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36801 # into the resulting binary.
36802 hardcode_minus_L=$hardcode_minus_L_FC
36803
36804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36805 # into the resulting binary.
36806 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36807
36808 # Set to "yes" if building a shared library automatically hardcodes DIR
36809 # into the library and all subsequent libraries and executables linked
36810 # against it.
36811 hardcode_automatic=$hardcode_automatic_FC
36812
36813 # Set to yes if linker adds runtime paths of dependent libraries
36814 # to runtime path list.
36815 inherit_rpath=$inherit_rpath_FC
36816
36817 # Whether libtool must link a program against all its dependency libraries.
36818 link_all_deplibs=$link_all_deplibs_FC
36819
36820 # Fix the shell variable \$srcfile for the compiler.
36821 fix_srcfile_path=$lt_fix_srcfile_path_FC
36822
36823 # Set to "yes" if exported symbols are required.
36824 always_export_symbols=$always_export_symbols_FC
36825
36826 # The commands to list exported symbols.
36827 export_symbols_cmds=$lt_export_symbols_cmds_FC
36828
36829 # Symbols that should not be listed in the preloaded symbols.
36830 exclude_expsyms=$lt_exclude_expsyms_FC
36831
36832 # Symbols that must always be exported.
36833 include_expsyms=$lt_include_expsyms_FC
36834
36835 # Commands necessary for linking programs (against libraries) with templates.
36836 prelink_cmds=$lt_prelink_cmds_FC
36837
36838 # Specify filename containing input files.
36839 file_list_spec=$lt_file_list_spec_FC
36840
36841 # How to hardcode a shared library path into an executable.
36842 hardcode_action=$hardcode_action_FC
36843
36844 # The directories searched by this compiler when creating a shared library.
36845 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36846
36847 # Dependencies to place before and after the objects being linked to
36848 # create a shared library.
36849 predep_objects=$lt_predep_objects_FC
36850 postdep_objects=$lt_postdep_objects_FC
36851 predeps=$lt_predeps_FC
36852 postdeps=$lt_postdeps_FC
36853
36854 # The library search path used internally by the compiler when linking
36855 # a shared library.
36856 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36857
36858 # ### END LIBTOOL TAG CONFIG: FC
36859 _LT_EOF
36860
36861  ;;
36862     gstdint.h )
36863 if test "$GCC" = yes; then
36864   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36865 else
36866   echo "/* generated for $CC */" > tmp-stdint.h
36867 fi
36868
36869 sed 's/^ *//' >> tmp-stdint.h <<EOF
36870
36871   #ifndef GCC_GENERATED_STDINT_H
36872   #define GCC_GENERATED_STDINT_H 1
36873
36874   #include <sys/types.h>
36875 EOF
36876
36877 if test "$acx_cv_header_stdint" != stdint.h; then
36878   echo "#include <stddef.h>" >> tmp-stdint.h
36879 fi
36880 if test "$acx_cv_header_stdint" != stddef.h; then
36881   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36882 fi
36883
36884 sed 's/^ *//' >> tmp-stdint.h <<EOF
36885   /* glibc uses these symbols as guards to prevent redefinitions.  */
36886   #ifdef __int8_t_defined
36887   #define _INT8_T
36888   #define _INT16_T
36889   #define _INT32_T
36890   #endif
36891   #ifdef __uint32_t_defined
36892   #define _UINT32_T
36893   #endif
36894
36895 EOF
36896
36897 # ----------------- done header, emit basic int types -------------
36898 if test "$acx_cv_header_stdint" = stddef.h; then
36899   sed 's/^ *//' >> tmp-stdint.h <<EOF
36900
36901     #ifndef _UINT8_T
36902     #define _UINT8_T
36903     #ifndef __uint8_t_defined
36904     #define __uint8_t_defined
36905     typedef unsigned $acx_cv_type_int8_t uint8_t;
36906     #endif
36907     #endif
36908
36909     #ifndef _UINT16_T
36910     #define _UINT16_T
36911     #ifndef __uint16_t_defined
36912     #define __uint16_t_defined
36913     typedef unsigned $acx_cv_type_int16_t uint16_t;
36914     #endif
36915     #endif
36916
36917     #ifndef _UINT32_T
36918     #define _UINT32_T
36919     #ifndef __uint32_t_defined
36920     #define __uint32_t_defined
36921     typedef unsigned $acx_cv_type_int32_t uint32_t;
36922     #endif
36923     #endif
36924
36925     #ifndef _INT8_T
36926     #define _INT8_T
36927     #ifndef __int8_t_defined
36928     #define __int8_t_defined
36929     typedef $acx_cv_type_int8_t int8_t;
36930     #endif
36931     #endif
36932
36933     #ifndef _INT16_T
36934     #define _INT16_T
36935     #ifndef __int16_t_defined
36936     #define __int16_t_defined
36937     typedef $acx_cv_type_int16_t int16_t;
36938     #endif
36939     #endif
36940
36941     #ifndef _INT32_T
36942     #define _INT32_T
36943     #ifndef __int32_t_defined
36944     #define __int32_t_defined
36945     typedef $acx_cv_type_int32_t int32_t;
36946     #endif
36947     #endif
36948 EOF
36949 elif test "$ac_cv_type_u_int32_t" = yes; then
36950   sed 's/^ *//' >> tmp-stdint.h <<EOF
36951
36952     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36953     #ifndef _INT8_T
36954     #define _INT8_T
36955     #endif
36956     #ifndef _INT16_T
36957     #define _INT16_T
36958     #endif
36959     #ifndef _INT32_T
36960     #define _INT32_T
36961     #endif
36962
36963     #ifndef _UINT8_T
36964     #define _UINT8_T
36965     #ifndef __uint8_t_defined
36966     #define __uint8_t_defined
36967     typedef u_int8_t uint8_t;
36968     #endif
36969     #endif
36970
36971     #ifndef _UINT16_T
36972     #define _UINT16_T
36973     #ifndef __uint16_t_defined
36974     #define __uint16_t_defined
36975     typedef u_int16_t uint16_t;
36976     #endif
36977     #endif
36978
36979     #ifndef _UINT32_T
36980     #define _UINT32_T
36981     #ifndef __uint32_t_defined
36982     #define __uint32_t_defined
36983     typedef u_int32_t uint32_t;
36984     #endif
36985     #endif
36986 EOF
36987 else
36988   sed 's/^ *//' >> tmp-stdint.h <<EOF
36989
36990     /* Some systems have guard macros to prevent redefinitions, define them.  */
36991     #ifndef _INT8_T
36992     #define _INT8_T
36993     #endif
36994     #ifndef _INT16_T
36995     #define _INT16_T
36996     #endif
36997     #ifndef _INT32_T
36998     #define _INT32_T
36999     #endif
37000     #ifndef _UINT8_T
37001     #define _UINT8_T
37002     #endif
37003     #ifndef _UINT16_T
37004     #define _UINT16_T
37005     #endif
37006     #ifndef _UINT32_T
37007     #define _UINT32_T
37008     #endif
37009 EOF
37010 fi
37011
37012 # ------------- done basic int types, emit int64_t types ------------
37013 if test "$ac_cv_type_uint64_t" = yes; then
37014   sed 's/^ *//' >> tmp-stdint.h <<EOF
37015
37016     /* system headers have good uint64_t and int64_t */
37017     #ifndef _INT64_T
37018     #define _INT64_T
37019     #endif
37020     #ifndef _UINT64_T
37021     #define _UINT64_T
37022     #endif
37023 EOF
37024 elif test "$ac_cv_type_u_int64_t" = yes; then
37025   sed 's/^ *//' >> tmp-stdint.h <<EOF
37026
37027     /* system headers have an u_int64_t (and int64_t) */
37028     #ifndef _INT64_T
37029     #define _INT64_T
37030     #endif
37031     #ifndef _UINT64_T
37032     #define _UINT64_T
37033     #ifndef __uint64_t_defined
37034     #define __uint64_t_defined
37035     typedef u_int64_t uint64_t;
37036     #endif
37037     #endif
37038 EOF
37039 elif test -n "$acx_cv_type_int64_t"; then
37040   sed 's/^ *//' >> tmp-stdint.h <<EOF
37041
37042     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37043     #ifndef _INT64_T
37044     #define _INT64_T
37045     typedef $acx_cv_type_int64_t int64_t;
37046     #endif
37047     #ifndef _UINT64_T
37048     #define _UINT64_T
37049     #ifndef __uint64_t_defined
37050     #define __uint64_t_defined
37051     typedef unsigned $acx_cv_type_int64_t uint64_t;
37052     #endif
37053     #endif
37054 EOF
37055 else
37056   sed 's/^ *//' >> tmp-stdint.h <<EOF
37057
37058     /* some common heuristics for int64_t, using compiler-specific tests */
37059     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37060     #ifndef _INT64_T
37061     #define _INT64_T
37062     #ifndef __int64_t_defined
37063     typedef long long int64_t;
37064     #endif
37065     #endif
37066     #ifndef _UINT64_T
37067     #define _UINT64_T
37068     typedef unsigned long long uint64_t;
37069     #endif
37070
37071     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37072     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37073        does not implement __extension__.  But that compiler doesn't define
37074        __GNUC_MINOR__.  */
37075     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37076     # define __extension__
37077     # endif
37078
37079     # ifndef _INT64_T
37080     # define _INT64_T
37081     __extension__ typedef long long int64_t;
37082     # endif
37083     # ifndef _UINT64_T
37084     # define _UINT64_T
37085     __extension__ typedef unsigned long long uint64_t;
37086     # endif
37087
37088     #elif !defined __STRICT_ANSI__
37089     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37090
37091     #  ifndef _INT64_T
37092     #  define _INT64_T
37093     typedef __int64 int64_t;
37094     #  endif
37095     #  ifndef _UINT64_T
37096     #  define _UINT64_T
37097     typedef unsigned __int64 uint64_t;
37098     #  endif
37099     # endif /* compiler */
37100
37101     #endif /* ANSI version */
37102 EOF
37103 fi
37104
37105 # ------------- done int64_t types, emit intptr types ------------
37106 if test "$ac_cv_type_uintptr_t" != yes; then
37107   sed 's/^ *//' >> tmp-stdint.h <<EOF
37108
37109     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37110     #ifndef __uintptr_t_defined
37111     typedef u$acx_cv_type_intptr_t uintptr_t;
37112     #endif
37113     #ifndef __intptr_t_defined
37114     typedef $acx_cv_type_intptr_t  intptr_t;
37115     #endif
37116 EOF
37117 fi
37118
37119 # ------------- done intptr types, emit int_least types ------------
37120 if test "$ac_cv_type_int_least32_t" != yes; then
37121   sed 's/^ *//' >> tmp-stdint.h <<EOF
37122
37123     /* Define int_least types */
37124     typedef int8_t     int_least8_t;
37125     typedef int16_t    int_least16_t;
37126     typedef int32_t    int_least32_t;
37127     #ifdef _INT64_T
37128     typedef int64_t    int_least64_t;
37129     #endif
37130
37131     typedef uint8_t    uint_least8_t;
37132     typedef uint16_t   uint_least16_t;
37133     typedef uint32_t   uint_least32_t;
37134     #ifdef _UINT64_T
37135     typedef uint64_t   uint_least64_t;
37136     #endif
37137 EOF
37138 fi
37139
37140 # ------------- done intptr types, emit int_fast types ------------
37141 if test "$ac_cv_type_int_fast32_t" != yes; then
37142       sed 's/^ *//' >> tmp-stdint.h <<EOF
37143
37144     /* Define int_fast types.  short is often slow */
37145     typedef int8_t       int_fast8_t;
37146     typedef int          int_fast16_t;
37147     typedef int32_t      int_fast32_t;
37148     #ifdef _INT64_T
37149     typedef int64_t      int_fast64_t;
37150     #endif
37151
37152     typedef uint8_t      uint_fast8_t;
37153     typedef unsigned int uint_fast16_t;
37154     typedef uint32_t     uint_fast32_t;
37155     #ifdef _UINT64_T
37156     typedef uint64_t     uint_fast64_t;
37157     #endif
37158 EOF
37159 fi
37160
37161 if test "$ac_cv_type_uintmax_t" != yes; then
37162   sed 's/^ *//' >> tmp-stdint.h <<EOF
37163
37164     /* Define intmax based on what we found */
37165     #ifdef _INT64_T
37166     typedef int64_t       intmax_t;
37167     #else
37168     typedef long          intmax_t;
37169     #endif
37170     #ifdef _UINT64_T
37171     typedef uint64_t      uintmax_t;
37172     #else
37173     typedef unsigned long uintmax_t;
37174     #endif
37175 EOF
37176 fi
37177
37178 sed 's/^ *//' >> tmp-stdint.h <<EOF
37179
37180   #endif /* GCC_GENERATED_STDINT_H */
37181 EOF
37182
37183 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37184   rm -f tmp-stdint.h
37185 else
37186   mv -f tmp-stdint.h gstdint.h
37187 fi
37188
37189  ;;
37190   esac
37191 done
37192 _ACEOF
37193
37194 cat >>$CONFIG_STATUS <<\_ACEOF
37195
37196 { (exit 0); exit 0; }
37197 _ACEOF
37198 chmod +x $CONFIG_STATUS
37199 ac_clean_files=$ac_clean_files_save
37200
37201
37202 # configure is writing to config.log, and then calls config.status.
37203 # config.status does its own redirection, appending to config.log.
37204 # Unfortunately, on DOS this fails, as config.log is still kept open
37205 # by configure, so config.status won't be able to write to it; its
37206 # output is simply discarded.  So we exec the FD to /dev/null,
37207 # effectively closing config.log, so it can be properly (re)opened and
37208 # appended to by config.status.  When coming back to configure, we
37209 # need to make the FD available again.
37210 if test "$no_create" != yes; then
37211   ac_cs_success=:
37212   ac_config_status_args=
37213   test "$silent" = yes &&
37214     ac_config_status_args="$ac_config_status_args --quiet"
37215   exec 5>/dev/null
37216   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37217   exec 5>>config.log
37218   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37219   # would make configure fail if this is the last instruction.
37220   $ac_cs_success || { (exit 1); exit 1; }
37221 fi
37222