invoke.texi: Replace -march=24kf with -march=24kf2_1 and -march=24kx with -march...
[official-gcc.git] / libgfortran / configure
blob81cdcaa6a4f5dcbfa476f5296fd7af00a34b99f9
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.
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 ## --------------------- ##
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
22 DUALCASE=1; export DUALCASE # for MKS sh
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
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
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
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
49 done
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
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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'`
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
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=:
96 rm -f conf$$.sh
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
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
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
154 esac
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 '
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; }; }
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
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
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
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'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
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
225 as_executable_p="test -f"
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'"
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'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
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','`
253 esac
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
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
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
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
293 done
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
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'
305 # So, first we look for a working echo in the user's PATH.
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
317 done
318 IFS="$lt_save_ifs"
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
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=:
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
366 prev="$cmd"
367 done
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
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"
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`
398 exec 6>&1
401 # Initializations.
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}
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}
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=''
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"
460 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
463 # Initialize some variables set by options.
464 ac_init_help=
465 ac_init_version=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
468 cache_file=/dev/null
469 exec_prefix=NONE
470 no_create=
471 no_recursion=
472 prefix=NONE
473 program_prefix=NONE
474 program_suffix=NONE
475 program_transform_name=s,x,x,
476 silent=
477 site=
478 srcdir=
479 verbose=
480 x_includes=NONE
481 x_libraries=NONE
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir='${exec_prefix}/bin'
489 sbindir='${exec_prefix}/sbin'
490 libexecdir='${exec_prefix}/libexec'
491 datadir='${prefix}/share'
492 sysconfdir='${prefix}/etc'
493 sharedstatedir='${prefix}/com'
494 localstatedir='${prefix}/var'
495 libdir='${exec_prefix}/lib'
496 includedir='${prefix}/include'
497 oldincludedir='/usr/include'
498 infodir='${prefix}/info'
499 mandir='${prefix}/man'
501 ac_prev=
502 for ac_option
504 # If the previous option needs an argument, assign it.
505 if test -n "$ac_prev"; then
506 eval "$ac_prev=\$ac_option"
507 ac_prev=
508 continue
511 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513 # Accept the important Cygnus configure options, so we can diagnose typos.
515 case $ac_option in
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
518 ac_prev=bindir ;;
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520 bindir=$ac_optarg ;;
522 -build | --build | --buil | --bui | --bu)
523 ac_prev=build_alias ;;
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build_alias=$ac_optarg ;;
527 -cache-file | --cache-file | --cache-fil | --cache-fi \
528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529 ac_prev=cache_file ;;
530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532 cache_file=$ac_optarg ;;
534 --config-cache | -C)
535 cache_file=config.cache ;;
537 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
538 ac_prev=datadir ;;
539 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
540 | --da=*)
541 datadir=$ac_optarg ;;
543 -disable-* | --disable-*)
544 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545 # Reject names that are not valid shell variable names.
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548 { (exit 1); exit 1; }; }
549 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
550 eval "enable_$ac_feature=no" ;;
552 -enable-* | --enable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 case $ac_option in
560 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 *) ac_optarg=yes ;;
562 esac
563 eval "enable_$ac_feature='$ac_optarg'" ;;
565 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
566 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
567 | --exec | --exe | --ex)
568 ac_prev=exec_prefix ;;
569 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
570 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
571 | --exec=* | --exe=* | --ex=*)
572 exec_prefix=$ac_optarg ;;
574 -gas | --gas | --ga | --g)
575 # Obsolete; use --with-gas.
576 with_gas=yes ;;
578 -help | --help | --hel | --he | -h)
579 ac_init_help=long ;;
580 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
581 ac_init_help=recursive ;;
582 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
583 ac_init_help=short ;;
585 -host | --host | --hos | --ho)
586 ac_prev=host_alias ;;
587 -host=* | --host=* | --hos=* | --ho=*)
588 host_alias=$ac_optarg ;;
590 -includedir | --includedir | --includedi | --included | --include \
591 | --includ | --inclu | --incl | --inc)
592 ac_prev=includedir ;;
593 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
594 | --includ=* | --inclu=* | --incl=* | --inc=*)
595 includedir=$ac_optarg ;;
597 -infodir | --infodir | --infodi | --infod | --info | --inf)
598 ac_prev=infodir ;;
599 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600 infodir=$ac_optarg ;;
602 -libdir | --libdir | --libdi | --libd)
603 ac_prev=libdir ;;
604 -libdir=* | --libdir=* | --libdi=* | --libd=*)
605 libdir=$ac_optarg ;;
607 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
608 | --libexe | --libex | --libe)
609 ac_prev=libexecdir ;;
610 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
611 | --libexe=* | --libex=* | --libe=*)
612 libexecdir=$ac_optarg ;;
614 -localstatedir | --localstatedir | --localstatedi | --localstated \
615 | --localstate | --localstat | --localsta | --localst \
616 | --locals | --local | --loca | --loc | --lo)
617 ac_prev=localstatedir ;;
618 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
619 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
620 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
621 localstatedir=$ac_optarg ;;
623 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
624 ac_prev=mandir ;;
625 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
626 mandir=$ac_optarg ;;
628 -nfp | --nfp | --nf)
629 # Obsolete; use --without-fp.
630 with_fp=no ;;
632 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633 | --no-cr | --no-c | -n)
634 no_create=yes ;;
636 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
637 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
638 no_recursion=yes ;;
640 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
641 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
642 | --oldin | --oldi | --old | --ol | --o)
643 ac_prev=oldincludedir ;;
644 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
645 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
646 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
647 oldincludedir=$ac_optarg ;;
649 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
650 ac_prev=prefix ;;
651 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
652 prefix=$ac_optarg ;;
654 -program-prefix | --program-prefix | --program-prefi | --program-pref \
655 | --program-pre | --program-pr | --program-p)
656 ac_prev=program_prefix ;;
657 -program-prefix=* | --program-prefix=* | --program-prefi=* \
658 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
659 program_prefix=$ac_optarg ;;
661 -program-suffix | --program-suffix | --program-suffi | --program-suff \
662 | --program-suf | --program-su | --program-s)
663 ac_prev=program_suffix ;;
664 -program-suffix=* | --program-suffix=* | --program-suffi=* \
665 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
666 program_suffix=$ac_optarg ;;
668 -program-transform-name | --program-transform-name \
669 | --program-transform-nam | --program-transform-na \
670 | --program-transform-n | --program-transform- \
671 | --program-transform | --program-transfor \
672 | --program-transfo | --program-transf \
673 | --program-trans | --program-tran \
674 | --progr-tra | --program-tr | --program-t)
675 ac_prev=program_transform_name ;;
676 -program-transform-name=* | --program-transform-name=* \
677 | --program-transform-nam=* | --program-transform-na=* \
678 | --program-transform-n=* | --program-transform-=* \
679 | --program-transform=* | --program-transfor=* \
680 | --program-transfo=* | --program-transf=* \
681 | --program-trans=* | --program-tran=* \
682 | --progr-tra=* | --program-tr=* | --program-t=*)
683 program_transform_name=$ac_optarg ;;
685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686 | -silent | --silent | --silen | --sile | --sil)
687 silent=yes ;;
689 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
690 ac_prev=sbindir ;;
691 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
692 | --sbi=* | --sb=*)
693 sbindir=$ac_optarg ;;
695 -sharedstatedir | --sharedstatedir | --sharedstatedi \
696 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
697 | --sharedst | --shareds | --shared | --share | --shar \
698 | --sha | --sh)
699 ac_prev=sharedstatedir ;;
700 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
701 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
702 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
703 | --sha=* | --sh=*)
704 sharedstatedir=$ac_optarg ;;
706 -site | --site | --sit)
707 ac_prev=site ;;
708 -site=* | --site=* | --sit=*)
709 site=$ac_optarg ;;
711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
712 ac_prev=srcdir ;;
713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
714 srcdir=$ac_optarg ;;
716 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
717 | --syscon | --sysco | --sysc | --sys | --sy)
718 ac_prev=sysconfdir ;;
719 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
720 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
721 sysconfdir=$ac_optarg ;;
723 -target | --target | --targe | --targ | --tar | --ta | --t)
724 ac_prev=target_alias ;;
725 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
726 target_alias=$ac_optarg ;;
728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
729 verbose=yes ;;
731 -version | --version | --versio | --versi | --vers | -V)
732 ac_init_version=: ;;
734 -with-* | --with-*)
735 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738 { echo "$as_me: error: invalid package name: $ac_package" >&2
739 { (exit 1); exit 1; }; }
740 ac_package=`echo $ac_package| sed 's/-/_/g'`
741 case $ac_option in
742 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
743 *) ac_optarg=yes ;;
744 esac
745 eval "with_$ac_package='$ac_optarg'" ;;
747 -without-* | --without-*)
748 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package=`echo $ac_package | sed 's/-/_/g'`
754 eval "with_$ac_package=no" ;;
756 --x)
757 # Obsolete; use --with-x.
758 with_x=yes ;;
760 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
761 | --x-incl | --x-inc | --x-in | --x-i)
762 ac_prev=x_includes ;;
763 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
764 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
765 x_includes=$ac_optarg ;;
767 -x-libraries | --x-libraries | --x-librarie | --x-librari \
768 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
769 ac_prev=x_libraries ;;
770 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
771 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
772 x_libraries=$ac_optarg ;;
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
779 *=*)
780 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
783 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784 { (exit 1); exit 1; }; }
785 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786 eval "$ac_envvar='$ac_optarg'"
787 export $ac_envvar ;;
790 # FIXME: should be removed in autoconf 3.0.
791 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797 esac
798 done
800 if test -n "$ac_prev"; then
801 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
802 { echo "$as_me: error: missing argument to $ac_option" >&2
803 { (exit 1); exit 1; }; }
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
809 eval ac_val=$`echo $ac_var`
810 case $ac_val in
811 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
812 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813 { (exit 1); exit 1; }; };;
814 esac
815 done
817 # Be sure to have absolute paths.
818 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819 localstatedir libdir includedir oldincludedir infodir mandir
821 eval ac_val=$`echo $ac_var`
822 case $ac_val in
823 [\\/$]* | ?:[\\/]* ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
826 esac
827 done
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
832 build=$build_alias
833 host=$host_alias
834 target=$target_alias
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x; then
838 if test "x$build_alias" = x; then
839 cross_compiling=maybe
840 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841 If a cross compiler is detected then cross compile mode will be used." >&2
842 elif test "x$build_alias" != "x$host_alias"; then
843 cross_compiling=yes
847 ac_tool_prefix=
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850 test "$silent" = yes && exec 6>/dev/null
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855 ac_srcdir_defaulted=yes
856 # Try the directory containing this script, then its parent.
857 ac_confdir=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859 X"$0" : 'X\(//\)[^/]' \| \
860 X"$0" : 'X\(//\)$' \| \
861 X"$0" : 'X\(/\)' \| \
862 . : '\(.\)' 2>/dev/null ||
863 echo X"$0" |
864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866 /^X\(\/\/\)$/{ s//\1/; q; }
867 /^X\(\/\).*/{ s//\1/; q; }
868 s/.*/./; q'`
869 srcdir=$ac_confdir
870 if test ! -r $srcdir/$ac_unique_file; then
871 srcdir=..
873 else
874 ac_srcdir_defaulted=no
876 if test ! -r $srcdir/$ac_unique_file; then
877 if test "$ac_srcdir_defaulted" = yes; then
878 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879 { (exit 1); exit 1; }; }
880 else
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882 { (exit 1); exit 1; }; }
885 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
886 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887 { (exit 1); exit 1; }; }
888 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set=${build_alias+set}
890 ac_env_build_alias_value=$build_alias
891 ac_cv_env_build_alias_set=${build_alias+set}
892 ac_cv_env_build_alias_value=$build_alias
893 ac_env_host_alias_set=${host_alias+set}
894 ac_env_host_alias_value=$host_alias
895 ac_cv_env_host_alias_set=${host_alias+set}
896 ac_cv_env_host_alias_value=$host_alias
897 ac_env_target_alias_set=${target_alias+set}
898 ac_env_target_alias_value=$target_alias
899 ac_cv_env_target_alias_set=${target_alias+set}
900 ac_cv_env_target_alias_value=$target_alias
901 ac_env_CPP_set=${CPP+set}
902 ac_env_CPP_value=$CPP
903 ac_cv_env_CPP_set=${CPP+set}
904 ac_cv_env_CPP_value=$CPP
905 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909 ac_env_FC_set=${FC+set}
910 ac_env_FC_value=$FC
911 ac_cv_env_FC_set=${FC+set}
912 ac_cv_env_FC_value=$FC
913 ac_env_FCFLAGS_set=${FCFLAGS+set}
914 ac_env_FCFLAGS_value=$FCFLAGS
915 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value=$FCFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 # Report the --help message.
925 if test "$ac_init_help" = "long"; then
926 # Omit some internal or obsolete options to make the list less imposing.
927 # This message is too long to be a string in the A/UX 3.1 sh.
928 cat <<_ACEOF
929 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
931 Usage: $0 [OPTION]... [VAR=VALUE]...
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE. See below for descriptions of some of the useful variables.
936 Defaults for the options are specified in brackets.
938 Configuration:
939 -h, --help display this help and exit
940 --help=short display options specific to this package
941 --help=recursive display the short help of all the included packages
942 -V, --version display version information and exit
943 -q, --quiet, --silent do not print \`checking...' messages
944 --cache-file=FILE cache test results in FILE [disabled]
945 -C, --config-cache alias for \`--cache-file=config.cache'
946 -n, --no-create do not create output files
947 --srcdir=DIR find the sources in DIR [configure dir or \`..']
949 _ACEOF
951 cat <<_ACEOF
952 Installation directories:
953 --prefix=PREFIX install architecture-independent files in PREFIX
954 [$ac_default_prefix]
955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
956 [PREFIX]
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
963 For better control, use the options below.
965 Fine tuning of the installation directories:
966 --bindir=DIR user executables [EPREFIX/bin]
967 --sbindir=DIR system admin executables [EPREFIX/sbin]
968 --libexecdir=DIR program executables [EPREFIX/libexec]
969 --datadir=DIR read-only architecture-independent data [PREFIX/share]
970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
973 --libdir=DIR object code libraries [EPREFIX/lib]
974 --includedir=DIR C header files [PREFIX/include]
975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
976 --infodir=DIR info documentation [PREFIX/info]
977 --mandir=DIR man documentation [PREFIX/man]
978 _ACEOF
980 cat <<\_ACEOF
982 Program names:
983 --program-prefix=PREFIX prepend PREFIX to installed program names
984 --program-suffix=SUFFIX append SUFFIX to installed program names
985 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
987 System types:
988 --build=BUILD configure for building on BUILD [guessed]
989 --host=HOST cross-compile to build programs to run on HOST [BUILD]
990 --target=TARGET configure for building compilers for TARGET [HOST]
991 _ACEOF
994 if test -n "$ac_init_help"; then
995 case $ac_init_help in
996 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
997 esac
998 cat <<\_ACEOF
1000 Optional Features:
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1004 --enable-maintainer-mode enable make rules and dependencies not useful
1005 (and sometimes confusing) to the casual installer
1006 --enable-multilib build many library versions (default)
1007 --disable-dependency-tracking speeds up one-time build
1008 --enable-dependency-tracking do not reject slow dependency extractors
1009 --enable-shared[=PKGS]
1010 build shared libraries [default=yes]
1011 --enable-static[=PKGS]
1012 build static libraries [default=yes]
1013 --enable-fast-install[=PKGS]
1014 optimize for fast installation [default=yes]
1015 --disable-libtool-lock avoid locking (might break parallel builds)
1016 --disable-largefile omit support for large files
1018 Optional Packages:
1019 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1020 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1021 --with-build-libsubdir=DIR Directory where to find libraries for build system
1022 --with-pic try to use only PIC/non-PIC objects [default=use
1023 both]
1024 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1026 Some influential environment variables:
1027 CC C compiler command
1028 CFLAGS C compiler flags
1029 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1030 nonstandard directory <lib dir>
1031 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1032 headers in a nonstandard directory <include dir>
1033 CPP C preprocessor
1034 FC Fortran compiler command
1035 FCFLAGS Fortran compiler flags
1037 Use these variables to override the choices made by `configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1040 _ACEOF
1043 if test "$ac_init_help" = "recursive"; then
1044 # If there are subdirs, report their specific --help.
1045 ac_popdir=`pwd`
1046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047 test -d $ac_dir || continue
1048 ac_builddir=.
1050 if test "$ac_dir" != .; then
1051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1052 # A "../" for each directory in $ac_dir_suffix.
1053 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1054 else
1055 ac_dir_suffix= ac_top_builddir=
1058 case $srcdir in
1059 .) # No --srcdir option. We are building in place.
1060 ac_srcdir=.
1061 if test -z "$ac_top_builddir"; then
1062 ac_top_srcdir=.
1063 else
1064 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1065 fi ;;
1066 [\\/]* | ?:[\\/]* ) # Absolute path.
1067 ac_srcdir=$srcdir$ac_dir_suffix;
1068 ac_top_srcdir=$srcdir ;;
1069 *) # Relative path.
1070 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1072 esac
1074 # Do not use `cd foo && pwd` to compute absolute paths, because
1075 # the directories may not exist.
1076 case `pwd` in
1077 .) ac_abs_builddir="$ac_dir";;
1079 case "$ac_dir" in
1080 .) ac_abs_builddir=`pwd`;;
1081 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1083 esac;;
1084 esac
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 case ${ac_top_builddir}. in
1089 .) ac_abs_top_builddir=$ac_abs_builddir;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1092 esac;;
1093 esac
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1097 case $ac_srcdir in
1098 .) ac_abs_srcdir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1101 esac;;
1102 esac
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 case $ac_top_srcdir in
1107 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1110 esac;;
1111 esac
1113 cd $ac_dir
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1116 echo
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1119 echo
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1123 echo
1124 $ac_configure --help
1125 else
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 cd $ac_popdir
1129 done
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1134 cat <<\_ACEOF
1135 GNU Fortran Runtime Library configure 0.3
1136 generated by GNU Autoconf 2.59
1138 Copyright (C) 2003 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1141 _ACEOF
1142 exit 0
1144 exec 5>config.log
1145 cat >&5 <<_ACEOF
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1150 generated by GNU Autoconf 2.59. Invocation command line was
1152 $ $0 $@
1154 _ACEOF
1156 cat <<_ASUNAME
1157 ## --------- ##
1158 ## Platform. ##
1159 ## --------- ##
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1178 _ASUNAME
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 for as_dir in $PATH
1183 IFS=$as_save_IFS
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1186 done
1188 } >&5
1190 cat >&5 <<_ACEOF
1193 ## ----------- ##
1194 ## Core tests. ##
1195 ## ----------- ##
1197 _ACEOF
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_configure_args=
1206 ac_configure_args0=
1207 ac_configure_args1=
1208 ac_sep=
1209 ac_must_keep_next=false
1210 for ac_pass in 1 2
1212 for ac_arg
1214 case $ac_arg in
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1218 continue ;;
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 esac
1222 case $ac_pass in
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1228 else
1229 case $ac_arg in
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 esac
1238 -* ) ac_must_keep_next=true ;;
1239 esac
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1243 ac_sep=" "
1245 esac
1246 done
1247 done
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1259 echo
1261 cat <<\_ASBOX
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1265 _ASBOX
1266 echo
1267 # The following way of writing the cache mishandles newlines in values,
1269 (set) 2>&1 |
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 *ac_space=\ *)
1272 sed -n \
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277 sed -n \
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 esac;
1282 echo
1284 cat <<\_ASBOX
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1288 _ASBOX
1289 echo
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1297 if test -n "$ac_subst_files"; then
1298 cat <<\_ASBOX
1299 ## ------------- ##
1300 ## Output files. ##
1301 ## ------------- ##
1302 _ASBOX
1303 echo
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1308 done | sort
1309 echo
1312 if test -s confdefs.h; then
1313 cat <<\_ASBOX
1314 ## ----------- ##
1315 ## confdefs.h. ##
1316 ## ----------- ##
1317 _ASBOX
1318 echo
1319 sed "/^$/d" confdefs.h | sort
1320 echo
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1325 } >&5
1326 rm -f core *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 exit $exit_status
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 done
1333 ac_signal=0
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 echo >confdefs.h
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 _ACEOF
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 _ACEOF
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 _ACEOF
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 _ACEOF
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 _ACEOF
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1383 done
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1396 else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1402 # Check that the precious variables saved in the cache have kept the same
1403 # value.
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1444 done
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1453 ac_ext=c
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485 ac_config_headers="$ac_config_headers config.h"
1487 ac_aux_dir=
1488 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1489 if test -f $ac_dir/install-sh; then
1490 ac_aux_dir=$ac_dir
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 break
1493 elif test -f $ac_dir/install.sh; then
1494 ac_aux_dir=$ac_dir
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 break
1497 elif test -f $ac_dir/shtool; then
1498 ac_aux_dir=$ac_dir
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1500 break
1502 done
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4 >/dev/null 2>&1 ||
1514 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516 { (exit 1); exit 1; }; }
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 ac_cv_build_alias=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525 ac_cv_build_alias=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529 { (exit 1); exit 1; }; }
1530 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1531 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1538 build=$ac_cv_build
1539 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544 case ${build_alias} in
1545 "") build_noncanonical=${build} ;;
1546 *) build_noncanonical=${build_alias} ;;
1547 esac
1549 case ${host_alias} in
1550 "") host_noncanonical=${build_noncanonical} ;;
1551 *) host_noncanonical=${host_alias} ;;
1552 esac
1554 case ${target_alias} in
1555 "") target_noncanonical=${host_noncanonical} ;;
1556 *) target_noncanonical=${target_alias} ;;
1557 esac
1560 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1561 # have matching libraries, they should use host libraries: Makefile.tpl
1562 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1563 # However, they still use the build modules, because the corresponding
1564 # host modules (e.g. bison) are only built for the host when bootstrap
1565 # finishes. So:
1566 # - build_subdir is where we find build modules, and never changes.
1567 # - build_libsubdir is where we find build libraries, and can be overridden.
1569 # Prefix 'build-' so this never conflicts with target_subdir.
1570 build_subdir="build-${build_noncanonical}"
1572 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1573 if test "${with_build_libsubdir+set}" = set; then
1574 withval="$with_build_libsubdir"
1575 build_libsubdir="$withval"
1576 else
1577 build_libsubdir="$build_subdir"
1579 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1580 if ( test $srcdir = . && test -d gcc ) \
1581 || test -d $srcdir/../host-${host_noncanonical}; then
1582 host_subdir="host-${host_noncanonical}"
1583 else
1584 host_subdir=.
1586 # No prefix.
1587 target_subdir=${target_noncanonical}
1590 # -------
1591 # Options
1592 # -------
1594 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1595 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1596 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1597 if test "${enable_version_specific_runtime_libs+set}" = set; then
1598 enableval="$enable_version_specific_runtime_libs"
1599 case "$enableval" in
1600 yes) version_specific_libs=yes ;;
1601 no) version_specific_libs=no ;;
1602 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1603 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1604 { (exit 1); exit 1; }; };;
1605 esac
1606 else
1607 version_specific_libs=no
1609 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1610 echo "${ECHO_T}$version_specific_libs" >&6
1613 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 # You will slowly go insane if you do not grok the following fact: when
1616 # building this library, the top-level /target/ becomes the library's /host/.
1618 # configure then causes --target to default to --host, exactly like any
1619 # other package using autoconf. Therefore, 'target' and 'host' will
1620 # always be the same. This makes sense both for native and cross compilers
1621 # just think about it for a little while. :-)
1623 # Also, if this library is being configured as part of a cross compiler, the
1624 # top-level configure script will pass the "real" host as $with_cross_host.
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 echo "$as_me:$LINENO: checking host system type" >&5
1629 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1630 if test "${ac_cv_host+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 else
1633 ac_cv_host_alias=$host_alias
1634 test -z "$ac_cv_host_alias" &&
1635 ac_cv_host_alias=$ac_cv_build_alias
1636 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1643 echo "${ECHO_T}$ac_cv_host" >&6
1644 host=$ac_cv_host
1645 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650 echo "$as_me:$LINENO: checking target system type" >&5
1651 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1652 if test "${ac_cv_target+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655 ac_cv_target_alias=$target_alias
1656 test "x$ac_cv_target_alias" = "x" &&
1657 ac_cv_target_alias=$ac_cv_host_alias
1658 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1659 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1660 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1661 { (exit 1); exit 1; }; }
1664 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1665 echo "${ECHO_T}$ac_cv_target" >&6
1666 target=$ac_cv_target
1667 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1668 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1669 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1672 # The aliases save the names the user supplied, while $host etc.
1673 # will get canonicalized.
1674 test -n "$target_alias" &&
1675 test "$program_prefix$program_suffix$program_transform_name" = \
1676 NONENONEs,x,x, &&
1677 program_prefix=${target_alias}-
1678 target_alias=${target_alias-$host_alias}
1680 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1681 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1682 # 1.9.6: minimum required version
1683 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1684 # of other PACKAGE_* variables will, however, and there's nothing
1685 # we can do about that; they come from AC_INIT).
1686 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1687 # file in the top srcdir, etc, etc), so stop complaining.
1688 # -Wall: turns on all automake warnings...
1689 # -Wno-portability: ...except this one, since GNU make is required.
1690 am__api_version="1.9"
1691 # Find a good install program. We prefer a C program (faster),
1692 # so one script is as good as another. But avoid the broken or
1693 # incompatible versions:
1694 # SysV /etc/install, /usr/sbin/install
1695 # SunOS /usr/etc/install
1696 # IRIX /sbin/install
1697 # AIX /bin/install
1698 # AmigaOS /C/install, which installs bootblocks on floppy discs
1699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1702 # OS/2's system install, which has a completely different semantic
1703 # ./install, which can be erroneously created by make from ./install.sh.
1704 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1705 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1706 if test -z "$INSTALL"; then
1707 if test "${ac_cv_path_install+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 # Account for people who put trailing slashes in PATH elements.
1716 case $as_dir/ in
1717 ./ | .// | /cC/* | \
1718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1719 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1720 /usr/ucb/* ) ;;
1722 # OSF1 and SCO ODT 3.0 have their own names for install.
1723 # Don't use installbsd from OSF since it installs stuff as root
1724 # by default.
1725 for ac_prog in ginstall scoinst install; do
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1728 if test $ac_prog = install &&
1729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730 # AIX install. It has an incompatible calling convention.
1732 elif test $ac_prog = install &&
1733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734 # program-specific install script used by HP pwplus--don't use.
1736 else
1737 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738 break 3
1741 done
1742 done
1744 esac
1745 done
1749 if test "${ac_cv_path_install+set}" = set; then
1750 INSTALL=$ac_cv_path_install
1751 else
1752 # As a last resort, use the slow shell script. We don't cache a
1753 # path for INSTALL within a source directory, because that will
1754 # break other packages using the cache if that directory is
1755 # removed, or if the path is relative.
1756 INSTALL=$ac_install_sh
1759 echo "$as_me:$LINENO: result: $INSTALL" >&5
1760 echo "${ECHO_T}$INSTALL" >&6
1762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1763 # It thinks the first close brace ends the variable substitution.
1764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1770 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1771 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1772 # Just in case
1773 sleep 1
1774 echo timestamp > conftest.file
1775 # Do `set' in a subshell so we don't clobber the current shell's
1776 # arguments. Must try -L first in case configure is actually a
1777 # symlink; some systems play weird games with the mod time of symlinks
1778 # (eg FreeBSD returns the mod time of the symlink's containing
1779 # directory).
1780 if (
1781 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1782 if test "$*" = "X"; then
1783 # -L didn't work.
1784 set X `ls -t $srcdir/configure conftest.file`
1786 rm -f conftest.file
1787 if test "$*" != "X $srcdir/configure conftest.file" \
1788 && test "$*" != "X conftest.file $srcdir/configure"; then
1790 # If neither matched, then we have a broken ls. This can happen
1791 # if, for instance, CONFIG_SHELL is bash and it inherits a
1792 # broken ls alias from the environment. This has actually
1793 # happened. Such a system could not be considered "sane".
1794 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1795 alias in your environment" >&5
1796 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1797 alias in your environment" >&2;}
1798 { (exit 1); exit 1; }; }
1801 test "$2" = conftest.file
1803 then
1804 # Ok.
1806 else
1807 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1808 Check your system clock" >&5
1809 echo "$as_me: error: newly created file is older than distributed files!
1810 Check your system clock" >&2;}
1811 { (exit 1); exit 1; }; }
1813 echo "$as_me:$LINENO: result: yes" >&5
1814 echo "${ECHO_T}yes" >&6
1815 test "$program_prefix" != NONE &&
1816 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1817 # Use a double $ so make ignores it.
1818 test "$program_suffix" != NONE &&
1819 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1820 # Double any \ or $. echo might interpret backslashes.
1821 # By default was `s,x,x', remove it if useless.
1822 cat <<\_ACEOF >conftest.sed
1823 s/[\\$]/&&/g;s/;s,x,x,$//
1824 _ACEOF
1825 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1826 rm conftest.sed
1828 # expand $ac_aux_dir to an absolute path
1829 am_aux_dir=`cd $ac_aux_dir && pwd`
1831 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1832 # Use eval to expand $SHELL
1833 if eval "$MISSING --run true"; then
1834 am_missing_run="$MISSING --run "
1835 else
1836 am_missing_run=
1837 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1838 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1841 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1842 # We used to keeping the `.' as first argument, in order to
1843 # allow $(mkdir_p) to be used without argument. As in
1844 # $(mkdir_p) $(somedir)
1845 # where $(somedir) is conditionally defined. However this is wrong
1846 # for two reasons:
1847 # 1. if the package is installed by a user who cannot write `.'
1848 # make install will fail,
1849 # 2. the above comment should most certainly read
1850 # $(mkdir_p) $(DESTDIR)$(somedir)
1851 # so it does not work when $(somedir) is undefined and
1852 # $(DESTDIR) is not.
1853 # To support the latter case, we have to write
1854 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1855 # so the `.' trick is pointless.
1856 mkdir_p='mkdir -p --'
1857 else
1858 # On NextStep and OpenStep, the `mkdir' command does not
1859 # recognize any option. It will interpret all options as
1860 # directories to create, and then abort because `.' already
1861 # exists.
1862 for d in ./-p ./--version;
1864 test -d $d && rmdir $d
1865 done
1866 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1867 if test -f "$ac_aux_dir/mkinstalldirs"; then
1868 mkdir_p='$(mkinstalldirs)'
1869 else
1870 mkdir_p='$(install_sh) -d'
1874 for ac_prog in gawk mawk nawk awk
1876 # Extract the first word of "$ac_prog", so it can be a program name with args.
1877 set dummy $ac_prog; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_AWK+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 else
1883 if test -n "$AWK"; then
1884 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_AWK="$ac_prog"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1897 done
1898 done
1902 AWK=$ac_cv_prog_AWK
1903 if test -n "$AWK"; then
1904 echo "$as_me:$LINENO: result: $AWK" >&5
1905 echo "${ECHO_T}$AWK" >&6
1906 else
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1911 test -n "$AWK" && break
1912 done
1914 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1915 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1916 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1917 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 else
1920 cat >conftest.make <<\_ACEOF
1921 all:
1922 @echo 'ac_maketemp="$(MAKE)"'
1923 _ACEOF
1924 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1925 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1926 if test -n "$ac_maketemp"; then
1927 eval ac_cv_prog_make_${ac_make}_set=yes
1928 else
1929 eval ac_cv_prog_make_${ac_make}_set=no
1931 rm -f conftest.make
1933 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1934 echo "$as_me:$LINENO: result: yes" >&5
1935 echo "${ECHO_T}yes" >&6
1936 SET_MAKE=
1937 else
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1940 SET_MAKE="MAKE=${MAKE-make}"
1943 rm -rf .tst 2>/dev/null
1944 mkdir .tst 2>/dev/null
1945 if test -d .tst; then
1946 am__leading_dot=.
1947 else
1948 am__leading_dot=_
1950 rmdir .tst 2>/dev/null
1952 # test to see if srcdir already configured
1953 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1954 test -f $srcdir/config.status; then
1955 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1956 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1957 { (exit 1); exit 1; }; }
1960 # test whether we have cygpath
1961 if test -z "$CYGPATH_W"; then
1962 if (cygpath --version) >/dev/null 2>/dev/null; then
1963 CYGPATH_W='cygpath -w'
1964 else
1965 CYGPATH_W=echo
1970 # Define the identity of the package.
1971 PACKAGE='libgfortran'
1972 VERSION='0.3'
1975 # Some tools Automake needs.
1977 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1980 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1983 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1986 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1989 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1991 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1993 # Installed binaries are usually stripped using `strip' when the user
1994 # run `make install-strip'. However `strip' might not be the right
1995 # tool to use in cross-compilation environments, therefore Automake
1996 # will honor the `STRIP' environment variable to overrule this program.
1997 if test "$cross_compiling" != no; then
1998 if test -n "$ac_tool_prefix"; then
1999 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}strip; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_STRIP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 if test -n "$STRIP"; then
2007 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2012 IFS=$as_save_IFS
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 break 2
2020 done
2021 done
2025 STRIP=$ac_cv_prog_STRIP
2026 if test -n "$STRIP"; then
2027 echo "$as_me:$LINENO: result: $STRIP" >&5
2028 echo "${ECHO_T}$STRIP" >&6
2029 else
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2035 if test -z "$ac_cv_prog_STRIP"; then
2036 ac_ct_STRIP=$STRIP
2037 # Extract the first word of "strip", so it can be a program name with args.
2038 set dummy strip; ac_word=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 else
2044 if test -n "$ac_ct_STRIP"; then
2045 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2046 else
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2050 IFS=$as_save_IFS
2051 test -z "$as_dir" && as_dir=.
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_ac_ct_STRIP="strip"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 break 2
2058 done
2059 done
2061 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2064 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2065 if test -n "$ac_ct_STRIP"; then
2066 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2067 echo "${ECHO_T}$ac_ct_STRIP" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2073 STRIP=$ac_ct_STRIP
2074 else
2075 STRIP="$ac_cv_prog_STRIP"
2079 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2081 # We need awk for the "check" target. The system "awk" is bad on
2082 # some platforms.
2083 # Always define AMTAR for backward compatibility.
2085 AMTAR=${AMTAR-"${am_missing_run}tar"}
2087 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2094 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2095 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2096 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2097 if test "${enable_maintainer_mode+set}" = set; then
2098 enableval="$enable_maintainer_mode"
2099 USE_MAINTAINER_MODE=$enableval
2100 else
2101 USE_MAINTAINER_MODE=no
2103 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2104 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2107 if test $USE_MAINTAINER_MODE = yes; then
2108 MAINTAINER_MODE_TRUE=
2109 MAINTAINER_MODE_FALSE='#'
2110 else
2111 MAINTAINER_MODE_TRUE='#'
2112 MAINTAINER_MODE_FALSE=
2115 MAINT=$MAINTAINER_MODE_TRUE
2118 # Default to --enable-multilib
2119 # Check whether --enable-multilib or --disable-multilib was given.
2120 if test "${enable_multilib+set}" = set; then
2121 enableval="$enable_multilib"
2122 case "$enableval" in
2123 yes) multilib=yes ;;
2124 no) multilib=no ;;
2125 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2126 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2127 { (exit 1); exit 1; }; } ;;
2128 esac
2129 else
2130 multilib=yes
2133 # We may get other options which we leave undocumented:
2134 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2135 # See config-ml.in if you want the gory details.
2137 if test "$srcdir" = "."; then
2138 if test "$with_target_subdir" != "."; then
2139 multi_basedir="$srcdir/$with_multisrctop../.."
2140 else
2141 multi_basedir="$srcdir/$with_multisrctop.."
2143 else
2144 multi_basedir="$srcdir/.."
2148 # Even if the default multilib is not a cross compilation,
2149 # it may be that some of the other multilibs are.
2150 if test $cross_compiling = no && test $multilib = yes \
2151 && test "x${with_multisubdir}" != x ; then
2152 cross_compiling=maybe
2155 ac_config_commands="$ac_config_commands default-1"
2158 # Handy for debugging:
2159 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2161 # Are we being configured with some form of cross compiler?
2162 # NB: We don't actually need to know this just now, but when, say, a test
2163 # suite is included, we'll have to know.
2164 if test "$build" != "$host"; then
2165 LIBGFOR_IS_NATIVE=false
2167 else
2168 LIBGFOR_IS_NATIVE=true
2171 # Calculate toolexeclibdir
2172 # Also toolexecdir, though it's only used in toolexeclibdir
2173 case ${version_specific_libs} in
2174 yes)
2175 # Need the gcc compiler version to know where to install libraries
2176 # and header files if --enable-version-specific-runtime-libs option
2177 # is selected.
2178 toolexecdir='$(libdir)/gcc/$(target_alias)'
2179 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2182 if test -n "$with_cross_host" &&
2183 test x"$with_cross_host" != x"no"; then
2184 # Install a library built with a cross compiler in tooldir, not libdir.
2185 toolexecdir='$(exec_prefix)/$(target_alias)'
2186 toolexeclibdir='$(toolexecdir)/lib'
2187 else
2188 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2189 toolexeclibdir='$(libdir)'
2191 multi_os_directory=`$CC -print-multi-os-directory`
2192 case $multi_os_directory in
2193 .) ;; # Avoid trailing /.
2194 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2195 esac
2197 esac
2201 # Check the compiler.
2202 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2203 # We must force CC to /not/ be precious variables; otherwise
2204 # the wrong, non-multilib-adjusted value will be used in multilibs.
2205 # As a side effect, we have to subst CFLAGS ourselves.
2209 ac_ext=c
2210 ac_cpp='$CPP $CPPFLAGS'
2211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2216 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 else
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2224 else
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2228 IFS=$as_save_IFS
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 break 2
2236 done
2237 done
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$ac_cv_prog_CC"; then
2252 ac_ct_CC=$CC
2253 # Extract the first word of "gcc", so it can be a program name with args.
2254 set dummy gcc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 if test -n "$ac_ct_CC"; then
2261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 else
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 for as_dir in $PATH
2266 IFS=$as_save_IFS
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_ac_ct_CC="gcc"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 break 2
2274 done
2275 done
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 echo "${ECHO_T}$ac_ct_CC" >&6
2283 else
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2288 CC=$ac_ct_CC
2289 else
2290 CC="$ac_cv_prog_CC"
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 else
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2308 IFS=$as_save_IFS
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2321 CC=$ac_cv_prog_CC
2322 if test -n "$CC"; then
2323 echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2325 else
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$ac_cv_prog_CC"; then
2332 ac_ct_CC=$CC
2333 # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 else
2340 if test -n "$ac_ct_CC"; then
2341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2342 else
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH
2346 IFS=$as_save_IFS
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_ac_ct_CC="cc"
2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 break 2
2354 done
2355 done
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6
2363 else
2364 echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2368 CC=$ac_ct_CC
2369 else
2370 CC="$ac_cv_prog_CC"
2374 if test -z "$CC"; then
2375 # Extract the first word of "cc", so it can be a program name with args.
2376 set dummy cc; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2384 else
2385 ac_prog_rejected=no
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH
2389 IFS=$as_save_IFS
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2394 ac_prog_rejected=yes
2395 continue
2397 ac_cv_prog_CC="cc"
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 break 2
2401 done
2402 done
2404 if test $ac_prog_rejected = yes; then
2405 # We found a bogon in the path, so make sure we never use it.
2406 set dummy $ac_cv_prog_CC
2407 shift
2408 if test $# != 0; then
2409 # We chose a different compiler from the bogus one.
2410 # However, it has the same basename, so the bogon will be chosen
2411 # first if we set CC to just the basename; use the full file name.
2412 shift
2413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2418 CC=$ac_cv_prog_CC
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2422 else
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2430 for ac_prog in cl
2432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC="$CC" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2453 done
2454 done
2458 CC=$ac_cv_prog_CC
2459 if test -n "$CC"; then
2460 echo "$as_me:$LINENO: result: $CC" >&5
2461 echo "${ECHO_T}$CC" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2467 test -n "$CC" && break
2468 done
2470 if test -z "$CC"; then
2471 ac_ct_CC=$CC
2472 for ac_prog in cl
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491 ac_cv_prog_ac_ct_CC="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 break 2
2495 done
2496 done
2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6
2504 else
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2509 test -n "$ac_ct_CC" && break
2510 done
2512 CC=$ac_ct_CC
2518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2524 # Provide some information about the compiler.
2525 echo "$as_me:$LINENO:" \
2526 "checking for C compiler version" >&5
2527 ac_compiler=`set X $ac_compile; echo $2`
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2529 (eval $ac_compiler --version </dev/null >&5) 2>&5
2530 ac_status=$?
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2534 (eval $ac_compiler -v </dev/null >&5) 2>&5
2535 ac_status=$?
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2539 (eval $ac_compiler -V </dev/null >&5) 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2544 cat >conftest.$ac_ext <<_ACEOF
2545 /* confdefs.h. */
2546 _ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2552 main ()
2556 return 0;
2558 _ACEOF
2559 # FIXME: Cleanup?
2560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2561 (eval $ac_link) 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 gcc_no_link=no
2566 else
2567 gcc_no_link=yes
2570 if test x$gcc_no_link = xyes; then
2571 # Setting cross_compile will disable run tests; it will
2572 # also disable AC_CHECK_FILE but that's generally
2573 # correct if we can't link.
2574 cross_compiling=yes
2575 EXEEXT=
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 ac_clean_files_save=$ac_clean_files
2593 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2594 # Try to create an executable without -o first, disregard a.out.
2595 # It will help us diagnose broken compilers, and finding out an intuition
2596 # of exeext.
2597 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2598 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2599 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2601 (eval $ac_link_default) 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 # Find the output, starting from the most likely. This scheme is
2606 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2607 # resort.
2609 # Be careful to initialize this variable, since it used to be cached.
2610 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2611 ac_cv_exeext=
2612 # b.out is created by i960 compilers.
2613 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2615 test -f "$ac_file" || continue
2616 case $ac_file in
2617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2619 conftest.$ac_ext )
2620 # This is the source file.
2622 [ab].out )
2623 # We found the default executable, but exeext='' is most
2624 # certainly right.
2625 break;;
2626 *.* )
2627 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2628 # FIXME: I believe we export ac_cv_exeext for Libtool,
2629 # but it would be cool to find out if it's true. Does anybody
2630 # maintain Libtool? --akim.
2631 export ac_cv_exeext
2632 break;;
2634 break;;
2635 esac
2636 done
2637 else
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: C compiler cannot create executables
2644 See \`config.log' for more details." >&2;}
2645 { (exit 77); exit 77; }; }
2648 ac_exeext=$ac_cv_exeext
2649 echo "$as_me:$LINENO: result: $ac_file" >&5
2650 echo "${ECHO_T}$ac_file" >&6
2652 # Check the compiler produces executables we can run. If not, either
2653 # the compiler is broken, or we cross compile.
2654 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2655 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2656 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2657 # If not cross compiling, check that we can run a simple program.
2658 if test "$cross_compiling" != yes; then
2659 if { ac_try='./$ac_file'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 (eval $ac_try) 2>&5
2662 ac_status=$?
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2665 cross_compiling=no
2666 else
2667 if test "$cross_compiling" = maybe; then
2668 cross_compiling=yes
2669 else
2670 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2671 If you meant to cross compile, use \`--host'.
2672 See \`config.log' for more details." >&5
2673 echo "$as_me: error: cannot run C compiled programs.
2674 If you meant to cross compile, use \`--host'.
2675 See \`config.log' for more details." >&2;}
2676 { (exit 1); exit 1; }; }
2680 echo "$as_me:$LINENO: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2683 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2684 ac_clean_files=$ac_clean_files_save
2685 # Check the compiler produces executables we can run. If not, either
2686 # the compiler is broken, or we cross compile.
2687 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2688 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2689 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2690 echo "${ECHO_T}$cross_compiling" >&6
2692 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2693 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2695 (eval $ac_link) 2>&5
2696 ac_status=$?
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; then
2699 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2700 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2701 # work properly (i.e., refer to `conftest.exe'), while it won't with
2702 # `rm'.
2703 for ac_file in conftest.exe conftest conftest.*; do
2704 test -f "$ac_file" || continue
2705 case $ac_file in
2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2707 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708 export ac_cv_exeext
2709 break;;
2710 * ) break;;
2711 esac
2712 done
2713 else
2714 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." >&2;}
2718 { (exit 1); exit 1; }; }
2721 rm -f conftest$ac_cv_exeext
2722 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2723 echo "${ECHO_T}$ac_cv_exeext" >&6
2725 rm -f conftest.$ac_ext
2726 EXEEXT=$ac_cv_exeext
2727 ac_exeext=$EXEEXT
2729 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2730 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2731 if test "${ac_cv_objext+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h. */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 main ()
2746 return 0;
2748 _ACEOF
2749 rm -f conftest.o conftest.obj
2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751 (eval $ac_compile) 2>&5
2752 ac_status=$?
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; then
2755 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2756 case $ac_file in
2757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2758 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2759 break;;
2760 esac
2761 done
2762 else
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2767 See \`config.log' for more details." >&5
2768 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." >&2;}
2770 { (exit 1); exit 1; }; }
2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2775 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2776 echo "${ECHO_T}$ac_cv_objext" >&6
2777 OBJEXT=$ac_cv_objext
2778 ac_objext=$OBJEXT
2779 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 else
2784 cat >conftest.$ac_ext <<_ACEOF
2785 /* confdefs.h. */
2786 _ACEOF
2787 cat confdefs.h >>conftest.$ac_ext
2788 cat >>conftest.$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2792 main ()
2794 #ifndef __GNUC__
2795 choke me
2796 #endif
2799 return 0;
2801 _ACEOF
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2805 ac_status=$?
2806 grep -v '^ *+' conftest.er1 >conftest.err
2807 rm -f conftest.er1
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try='test -z "$ac_c_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 (eval $ac_try) 2>&5
2815 ac_status=$?
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 (eval $ac_try) 2>&5
2821 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2824 ac_compiler_gnu=yes
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_compiler_gnu=no
2831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2835 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2837 GCC=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS
2840 CFLAGS="-g"
2841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cc_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 else
2846 cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h. */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2854 main ()
2858 return 0;
2860 _ACEOF
2861 rm -f conftest.$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>conftest.er1
2864 ac_status=$?
2865 grep -v '^ *+' conftest.er1 >conftest.err
2866 rm -f conftest.er1
2867 cat conftest.err >&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try='test -z "$ac_c_werror_flag"
2871 || test ! -s conftest.err'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 (eval $ac_try) 2>&5
2874 ac_status=$?
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } &&
2877 { ac_try='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879 (eval $ac_try) 2>&5
2880 ac_status=$?
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2883 ac_cv_prog_cc_g=yes
2884 else
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2888 ac_cv_prog_cc_g=no
2890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2892 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2893 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2894 if test "$ac_test_CFLAGS" = set; then
2895 CFLAGS=$ac_save_CFLAGS
2896 elif test $ac_cv_prog_cc_g = yes; then
2897 if test "$GCC" = yes; then
2898 CFLAGS="-g -O2"
2899 else
2900 CFLAGS="-g"
2902 else
2903 if test "$GCC" = yes; then
2904 CFLAGS="-O2"
2905 else
2906 CFLAGS=
2909 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2910 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2911 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 else
2914 ac_cv_prog_cc_stdc=no
2915 ac_save_CC=$CC
2916 cat >conftest.$ac_ext <<_ACEOF
2917 /* confdefs.h. */
2918 _ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2922 #include <stdarg.h>
2923 #include <stdio.h>
2924 #include <sys/types.h>
2925 #include <sys/stat.h>
2926 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2927 struct buf { int x; };
2928 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2929 static char *e (p, i)
2930 char **p;
2931 int i;
2933 return p[i];
2935 static char *f (char * (*g) (char **, int), char **p, ...)
2937 char *s;
2938 va_list v;
2939 va_start (v,p);
2940 s = g (p, va_arg (v,int));
2941 va_end (v);
2942 return s;
2945 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2946 function prototypes and stuff, but not '\xHH' hex character constants.
2947 These don't provoke an error unfortunately, instead are silently treated
2948 as 'x'. The following induces an error, until -std1 is added to get
2949 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2950 array size at least. It's necessary to write '\x00'==0 to get something
2951 that's true only with -std1. */
2952 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2954 int test (int i, double x);
2955 struct s1 {int (*f) (int a);};
2956 struct s2 {int (*f) (double a);};
2957 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2958 int argc;
2959 char **argv;
2961 main ()
2963 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2965 return 0;
2967 _ACEOF
2968 # Don't try gcc -ansi; that turns off useful extensions and
2969 # breaks some systems' header files.
2970 # AIX -qlanglvl=ansi
2971 # Ultrix and OSF/1 -std1
2972 # HP-UX 10.20 and later -Ae
2973 # HP-UX older versions -Aa -D_HPUX_SOURCE
2974 # SVR4 -Xc -D__EXTENSIONS__
2975 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2977 CC="$ac_save_CC $ac_arg"
2978 rm -f conftest.$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>conftest.er1
2981 ac_status=$?
2982 grep -v '^ *+' conftest.er1 >conftest.err
2983 rm -f conftest.er1
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try='test -z "$ac_c_werror_flag"
2988 || test ! -s conftest.err'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 (eval $ac_try) 2>&5
2991 ac_status=$?
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; } &&
2994 { ac_try='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 (eval $ac_try) 2>&5
2997 ac_status=$?
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3000 ac_cv_prog_cc_stdc=$ac_arg
3001 break
3002 else
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3007 rm -f conftest.err conftest.$ac_objext
3008 done
3009 rm -f conftest.$ac_ext conftest.$ac_objext
3010 CC=$ac_save_CC
3014 case "x$ac_cv_prog_cc_stdc" in
3015 x|xno)
3016 echo "$as_me:$LINENO: result: none needed" >&5
3017 echo "${ECHO_T}none needed" >&6 ;;
3019 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3020 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3021 CC="$CC $ac_cv_prog_cc_stdc" ;;
3022 esac
3024 # Some people use a C++ compiler to compile C. Since we use `exit',
3025 # in C++ we need to declare it. In case someone uses the same compiler
3026 # for both compiling C and C++ we need to have the C++ compiler decide
3027 # the declaration of exit, since it's the most demanding environment.
3028 cat >conftest.$ac_ext <<_ACEOF
3029 #ifndef __cplusplus
3030 choke me
3031 #endif
3032 _ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3035 (eval $ac_compile) 2>conftest.er1
3036 ac_status=$?
3037 grep -v '^ *+' conftest.er1 >conftest.err
3038 rm -f conftest.er1
3039 cat conftest.err >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } &&
3042 { ac_try='test -z "$ac_c_werror_flag"
3043 || test ! -s conftest.err'
3044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045 (eval $ac_try) 2>&5
3046 ac_status=$?
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; } &&
3049 { ac_try='test -s conftest.$ac_objext'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051 (eval $ac_try) 2>&5
3052 ac_status=$?
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 for ac_declaration in \
3056 '' \
3057 'extern "C" void std::exit (int) throw (); using std::exit;' \
3058 'extern "C" void std::exit (int); using std::exit;' \
3059 'extern "C" void exit (int) throw ();' \
3060 'extern "C" void exit (int);' \
3061 'void exit (int);'
3063 cat >conftest.$ac_ext <<_ACEOF
3064 /* confdefs.h. */
3065 _ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3069 $ac_declaration
3070 #include <stdlib.h>
3072 main ()
3074 exit (42);
3076 return 0;
3078 _ACEOF
3079 rm -f conftest.$ac_objext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3081 (eval $ac_compile) 2>conftest.er1
3082 ac_status=$?
3083 grep -v '^ *+' conftest.er1 >conftest.err
3084 rm -f conftest.er1
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } &&
3088 { ac_try='test -z "$ac_c_werror_flag"
3089 || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091 (eval $ac_try) 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 (eval $ac_try) 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3102 else
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 continue
3108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3109 cat >conftest.$ac_ext <<_ACEOF
3110 /* confdefs.h. */
3111 _ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3115 $ac_declaration
3117 main ()
3119 exit (42);
3121 return 0;
3123 _ACEOF
3124 rm -f conftest.$ac_objext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3126 (eval $ac_compile) 2>conftest.er1
3127 ac_status=$?
3128 grep -v '^ *+' conftest.er1 >conftest.err
3129 rm -f conftest.er1
3130 cat conftest.err >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } &&
3133 { ac_try='test -z "$ac_c_werror_flag"
3134 || test ! -s conftest.err'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 (eval $ac_try) 2>&5
3137 ac_status=$?
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; } &&
3140 { ac_try='test -s conftest.$ac_objext'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 (eval $ac_try) 2>&5
3143 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3146 break
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3153 done
3154 rm -f conftest*
3155 if test -n "$ac_declaration"; then
3156 echo '#ifdef __cplusplus' >>confdefs.h
3157 echo $ac_declaration >>confdefs.h
3158 echo '#endif' >>confdefs.h
3161 else
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3167 ac_ext=c
3168 ac_cpp='$CPP $CPPFLAGS'
3169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172 DEPDIR="${am__leading_dot}deps"
3174 ac_config_commands="$ac_config_commands depfiles"
3177 am_make=${MAKE-make}
3178 cat > confinc << 'END'
3179 am__doit:
3180 @echo done
3181 .PHONY: am__doit
3183 # If we don't find an include directive, just comment out the code.
3184 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3185 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3186 am__include="#"
3187 am__quote=
3188 _am_result=none
3189 # First try GNU make style include.
3190 echo "include confinc" > confmf
3191 # We grep out `Entering directory' and `Leaving directory'
3192 # messages which can occur if `w' ends up in MAKEFLAGS.
3193 # In particular we don't look at `^make:' because GNU make might
3194 # be invoked under some other name (usually "gmake"), in which
3195 # case it prints its new name instead of `make'.
3196 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3197 am__include=include
3198 am__quote=
3199 _am_result=GNU
3201 # Now try BSD make style include.
3202 if test "$am__include" = "#"; then
3203 echo '.include "confinc"' > confmf
3204 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3205 am__include=.include
3206 am__quote="\""
3207 _am_result=BSD
3212 echo "$as_me:$LINENO: result: $_am_result" >&5
3213 echo "${ECHO_T}$_am_result" >&6
3214 rm -f confinc confmf
3216 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3217 if test "${enable_dependency_tracking+set}" = set; then
3218 enableval="$enable_dependency_tracking"
3221 if test "x$enable_dependency_tracking" != xno; then
3222 am_depcomp="$ac_aux_dir/depcomp"
3223 AMDEPBACKSLASH='\'
3227 if test "x$enable_dependency_tracking" != xno; then
3228 AMDEP_TRUE=
3229 AMDEP_FALSE='#'
3230 else
3231 AMDEP_TRUE='#'
3232 AMDEP_FALSE=
3238 depcc="$CC" am_compiler_list=
3240 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3241 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3242 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 else
3245 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3246 # We make a subdir and do the tests there. Otherwise we can end up
3247 # making bogus files that we don't know about and never remove. For
3248 # instance it was reported that on HP-UX the gcc test will end up
3249 # making a dummy file named `D' -- because `-MD' means `put the output
3250 # in D'.
3251 mkdir conftest.dir
3252 # Copy depcomp to subdir because otherwise we won't find it if we're
3253 # using a relative directory.
3254 cp "$am_depcomp" conftest.dir
3255 cd conftest.dir
3256 # We will build objects and dependencies in a subdirectory because
3257 # it helps to detect inapplicable dependency modes. For instance
3258 # both Tru64's cc and ICC support -MD to output dependencies as a
3259 # side effect of compilation, but ICC will put the dependencies in
3260 # the current directory while Tru64 will put them in the object
3261 # directory.
3262 mkdir sub
3264 am_cv_CC_dependencies_compiler_type=none
3265 if test "$am_compiler_list" = ""; then
3266 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3268 for depmode in $am_compiler_list; do
3269 # Setup a source with many dependencies, because some compilers
3270 # like to wrap large dependency lists on column 80 (with \), and
3271 # we should not choose a depcomp mode which is confused by this.
3273 # We need to recreate these files for each test, as the compiler may
3274 # overwrite some of them when testing with obscure command lines.
3275 # This happens at least with the AIX C compiler.
3276 : > sub/conftest.c
3277 for i in 1 2 3 4 5 6; do
3278 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3279 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3280 # Solaris 8's {/usr,}/bin/sh.
3281 touch sub/conftst$i.h
3282 done
3283 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3285 case $depmode in
3286 nosideeffect)
3287 # after this tag, mechanisms are not by side-effect, so they'll
3288 # only be used when explicitly requested
3289 if test "x$enable_dependency_tracking" = xyes; then
3290 continue
3291 else
3292 break
3295 none) break ;;
3296 esac
3297 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3298 # mode. It turns out that the SunPro C++ compiler does not properly
3299 # handle `-M -o', and we need to detect this.
3300 if depmode=$depmode \
3301 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3302 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3303 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3304 >/dev/null 2>conftest.err &&
3305 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3306 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3307 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3308 # icc doesn't choke on unknown options, it will just issue warnings
3309 # or remarks (even with -Werror). So we grep stderr for any message
3310 # that says an option was ignored or not supported.
3311 # When given -MP, icc 7.0 and 7.1 complain thusly:
3312 # icc: Command line warning: ignoring option '-M'; no argument required
3313 # The diagnosis changed in icc 8.0:
3314 # icc: Command line remark: option '-MP' not supported
3315 if (grep 'ignoring option' conftest.err ||
3316 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3317 am_cv_CC_dependencies_compiler_type=$depmode
3318 break
3321 done
3323 cd ..
3324 rm -rf conftest.dir
3325 else
3326 am_cv_CC_dependencies_compiler_type=none
3330 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3332 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3337 test "x$enable_dependency_tracking" != xno \
3338 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3339 am__fastdepCC_TRUE=
3340 am__fastdepCC_FALSE='#'
3341 else
3342 am__fastdepCC_TRUE='#'
3343 am__fastdepCC_FALSE=
3349 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3350 if test "x$GCC" = "xyes"; then
3351 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3352 ## We like to use C99 routines when available. This makes sure that
3353 ## __STDC_VERSION__ is set such that libc includes make them available.
3354 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3355 ## Compile the following tests with the same system header contents
3356 ## that we'll encounter when compiling our own source files.
3357 CFLAGS="-std=gnu99 $CFLAGS"
3362 # Check for symbol versioning (copied from libssp).
3363 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3364 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3365 cat > conftest.map <<EOF
3366 FOO_1.0 {
3367 global: *foo*; bar; local: *;
3370 save_LDFLAGS="$LDFLAGS"
3371 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3373 if test x$gcc_no_link = xyes; then
3374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3376 { (exit 1); exit 1; }; }
3378 cat >conftest.$ac_ext <<_ACEOF
3379 /* confdefs.h. */
3380 _ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3384 int foo;
3386 main ()
3390 return 0;
3392 _ACEOF
3393 rm -f conftest.$ac_objext conftest$ac_exeext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3395 (eval $ac_link) 2>conftest.er1
3396 ac_status=$?
3397 grep -v '^ *+' conftest.er1 >conftest.err
3398 rm -f conftest.er1
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 (eval $ac_try) 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest$ac_exeext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 gfortran_use_symver=yes
3416 else
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 gfortran_use_symver=no
3422 rm -f conftest.err conftest.$ac_objext \
3423 conftest$ac_exeext conftest.$ac_ext
3424 LDFLAGS="$save_LDFLAGS"
3425 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3426 echo "${ECHO_T}$gfortran_use_symver" >&6
3429 if test "x$gfortran_use_symver" = xyes; then
3430 LIBGFOR_USE_SYMVER_TRUE=
3431 LIBGFOR_USE_SYMVER_FALSE='#'
3432 else
3433 LIBGFOR_USE_SYMVER_TRUE='#'
3434 LIBGFOR_USE_SYMVER_FALSE=
3438 # Find other programs we need.
3439 if test -n "$ac_tool_prefix"; then
3440 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3441 set dummy ${ac_tool_prefix}as; ac_word=$2
3442 echo "$as_me:$LINENO: checking for $ac_word" >&5
3443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3444 if test "${ac_cv_prog_AS+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 else
3447 if test -n "$AS"; then
3448 ac_cv_prog_AS="$AS" # Let the user override the test.
3449 else
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 for as_dir in $PATH
3453 IFS=$as_save_IFS
3454 test -z "$as_dir" && as_dir=.
3455 for ac_exec_ext in '' $ac_executable_extensions; do
3456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3457 ac_cv_prog_AS="${ac_tool_prefix}as"
3458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 break 2
3461 done
3462 done
3466 AS=$ac_cv_prog_AS
3467 if test -n "$AS"; then
3468 echo "$as_me:$LINENO: result: $AS" >&5
3469 echo "${ECHO_T}$AS" >&6
3470 else
3471 echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3476 if test -z "$ac_cv_prog_AS"; then
3477 ac_ct_AS=$AS
3478 # Extract the first word of "as", so it can be a program name with args.
3479 set dummy as; ac_word=$2
3480 echo "$as_me:$LINENO: checking for $ac_word" >&5
3481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3482 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 else
3485 if test -n "$ac_ct_AS"; then
3486 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3487 else
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 for as_dir in $PATH
3491 IFS=$as_save_IFS
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_prog_ac_ct_AS="as"
3496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3497 break 2
3499 done
3500 done
3504 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3505 if test -n "$ac_ct_AS"; then
3506 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3507 echo "${ECHO_T}$ac_ct_AS" >&6
3508 else
3509 echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6
3513 AS=$ac_ct_AS
3514 else
3515 AS="$ac_cv_prog_AS"
3518 if test -n "$ac_tool_prefix"; then
3519 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3520 set dummy ${ac_tool_prefix}ar; ac_word=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_AR+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526 if test -n "$AR"; then
3527 ac_cv_prog_AR="$AR" # Let the user override the test.
3528 else
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH
3532 IFS=$as_save_IFS
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_AR="${ac_tool_prefix}ar"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 break 2
3540 done
3541 done
3545 AR=$ac_cv_prog_AR
3546 if test -n "$AR"; then
3547 echo "$as_me:$LINENO: result: $AR" >&5
3548 echo "${ECHO_T}$AR" >&6
3549 else
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3555 if test -z "$ac_cv_prog_AR"; then
3556 ac_ct_AR=$AR
3557 # Extract the first word of "ar", so it can be a program name with args.
3558 set dummy ar; ac_word=$2
3559 echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3561 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 if test -n "$ac_ct_AR"; then
3565 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_ac_ct_AR="ar"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3583 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3584 if test -n "$ac_ct_AR"; then
3585 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3586 echo "${ECHO_T}$ac_ct_AR" >&6
3587 else
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3592 AR=$ac_ct_AR
3593 else
3594 AR="$ac_cv_prog_AR"
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3600 echo "$as_me:$LINENO: checking for $ac_word" >&5
3601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3602 if test "${ac_cv_prog_RANLIB+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 else
3605 if test -n "$RANLIB"; then
3606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3619 done
3620 done
3624 RANLIB=$ac_cv_prog_RANLIB
3625 if test -n "$RANLIB"; then
3626 echo "$as_me:$LINENO: result: $RANLIB" >&5
3627 echo "${ECHO_T}$RANLIB" >&6
3628 else
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3634 if test -z "$ac_cv_prog_RANLIB"; then
3635 ac_ct_RANLIB=$RANLIB
3636 # Extract the first word of "ranlib", so it can be a program name with args.
3637 set dummy ranlib; ac_word=$2
3638 echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3640 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else
3643 if test -n "$ac_ct_RANLIB"; then
3644 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_RANLIB="ranlib"
3654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3660 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3663 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3664 if test -n "$ac_ct_RANLIB"; then
3665 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3666 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3667 else
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3672 RANLIB=$ac_ct_RANLIB
3673 else
3674 RANLIB="$ac_cv_prog_RANLIB"
3677 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3678 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3679 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3680 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 else
3683 cat >conftest.make <<\_ACEOF
3684 all:
3685 @echo 'ac_maketemp="$(MAKE)"'
3686 _ACEOF
3687 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3688 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3689 if test -n "$ac_maketemp"; then
3690 eval ac_cv_prog_make_${ac_make}_set=yes
3691 else
3692 eval ac_cv_prog_make_${ac_make}_set=no
3694 rm -f conftest.make
3696 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3697 echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6
3699 SET_MAKE=
3700 else
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 SET_MAKE="MAKE=${MAKE-make}"
3706 # Find a good install program. We prefer a C program (faster),
3707 # so one script is as good as another. But avoid the broken or
3708 # incompatible versions:
3709 # SysV /etc/install, /usr/sbin/install
3710 # SunOS /usr/etc/install
3711 # IRIX /sbin/install
3712 # AIX /bin/install
3713 # AmigaOS /C/install, which installs bootblocks on floppy discs
3714 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3715 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3716 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3717 # OS/2's system install, which has a completely different semantic
3718 # ./install, which can be erroneously created by make from ./install.sh.
3719 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3720 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3721 if test -z "$INSTALL"; then
3722 if test "${ac_cv_path_install+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3728 IFS=$as_save_IFS
3729 test -z "$as_dir" && as_dir=.
3730 # Account for people who put trailing slashes in PATH elements.
3731 case $as_dir/ in
3732 ./ | .// | /cC/* | \
3733 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3734 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3735 /usr/ucb/* ) ;;
3737 # OSF1 and SCO ODT 3.0 have their own names for install.
3738 # Don't use installbsd from OSF since it installs stuff as root
3739 # by default.
3740 for ac_prog in ginstall scoinst install; do
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3743 if test $ac_prog = install &&
3744 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3745 # AIX install. It has an incompatible calling convention.
3747 elif test $ac_prog = install &&
3748 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3749 # program-specific install script used by HP pwplus--don't use.
3751 else
3752 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3753 break 3
3756 done
3757 done
3759 esac
3760 done
3764 if test "${ac_cv_path_install+set}" = set; then
3765 INSTALL=$ac_cv_path_install
3766 else
3767 # As a last resort, use the slow shell script. We don't cache a
3768 # path for INSTALL within a source directory, because that will
3769 # break other packages using the cache if that directory is
3770 # removed, or if the path is relative.
3771 INSTALL=$ac_install_sh
3774 echo "$as_me:$LINENO: result: $INSTALL" >&5
3775 echo "${ECHO_T}$INSTALL" >&6
3777 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3778 # It thinks the first close brace ends the variable substitution.
3779 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3781 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3783 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3786 # Configure libtool
3787 #AC_MSG_NOTICE([====== Starting libtool configuration])
3788 enable_dlopen=yes
3794 macro_version='2.1a'
3795 macro_revision='1.2435'
3808 ltmain="$ac_aux_dir/ltmain.sh"
3810 # Set options
3813 enable_win32_dll=no
3816 # Check whether --enable-shared or --disable-shared was given.
3817 if test "${enable_shared+set}" = set; then
3818 enableval="$enable_shared"
3819 p=${PACKAGE-default}
3820 case $enableval in
3821 yes) enable_shared=yes ;;
3822 no) enable_shared=no ;;
3824 enable_shared=no
3825 # Look at the argument we got. We use all the common list separators.
3826 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3827 for pkg in $enableval; do
3828 IFS="$lt_save_ifs"
3829 if test "X$pkg" = "X$p"; then
3830 enable_shared=yes
3832 done
3833 IFS="$lt_save_ifs"
3835 esac
3836 else
3837 enable_shared=yes
3847 # Check whether --enable-static or --disable-static was given.
3848 if test "${enable_static+set}" = set; then
3849 enableval="$enable_static"
3850 p=${PACKAGE-default}
3851 case $enableval in
3852 yes) enable_static=yes ;;
3853 no) enable_static=no ;;
3855 enable_static=no
3856 # Look at the argument we got. We use all the common list separators.
3857 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3858 for pkg in $enableval; do
3859 IFS="$lt_save_ifs"
3860 if test "X$pkg" = "X$p"; then
3861 enable_static=yes
3863 done
3864 IFS="$lt_save_ifs"
3866 esac
3867 else
3868 enable_static=yes
3879 # Check whether --with-pic or --without-pic was given.
3880 if test "${with_pic+set}" = set; then
3881 withval="$with_pic"
3882 pic_mode="$withval"
3883 else
3884 pic_mode=default
3887 test -z "$pic_mode" && pic_mode=default
3895 # Check whether --enable-fast-install or --disable-fast-install was given.
3896 if test "${enable_fast_install+set}" = set; then
3897 enableval="$enable_fast_install"
3898 p=${PACKAGE-default}
3899 case $enableval in
3900 yes) enable_fast_install=yes ;;
3901 no) enable_fast_install=no ;;
3903 enable_fast_install=no
3904 # Look at the argument we got. We use all the common list separators.
3905 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3906 for pkg in $enableval; do
3907 IFS="$lt_save_ifs"
3908 if test "X$pkg" = "X$p"; then
3909 enable_fast_install=yes
3911 done
3912 IFS="$lt_save_ifs"
3914 esac
3915 else
3916 enable_fast_install=yes
3926 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3927 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3928 if test "${lt_cv_path_SED+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 # Loop through the user's path and test for sed and gsed.
3932 # Then use that list of sed's as ones to test for truncation.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 for as_dir in $PATH
3936 IFS=$as_save_IFS
3937 test -z "$as_dir" && as_dir=.
3938 for lt_ac_prog in sed gsed; do
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3941 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3943 done
3944 done
3945 done
3946 IFS=$as_save_IFS
3947 lt_ac_max=0
3948 lt_ac_count=0
3949 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3950 # along with /bin/sed that truncates output.
3951 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3952 test ! -f $lt_ac_sed && continue
3953 cat /dev/null > conftest.in
3954 lt_ac_count=0
3955 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3956 # Check for GNU sed and select it if it is found.
3957 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3958 lt_cv_path_SED=$lt_ac_sed
3959 break
3961 while true; do
3962 cat conftest.in conftest.in >conftest.tmp
3963 mv conftest.tmp conftest.in
3964 cp conftest.in conftest.nl
3965 echo >>conftest.nl
3966 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3967 cmp -s conftest.out conftest.nl || break
3968 # 10000 chars as input seems more than enough
3969 test $lt_ac_count -gt 10 && break
3970 lt_ac_count=`expr $lt_ac_count + 1`
3971 if test $lt_ac_count -gt $lt_ac_max; then
3972 lt_ac_max=$lt_ac_count
3973 lt_cv_path_SED=$lt_ac_sed
3975 done
3976 done
3980 SED=$lt_cv_path_SED
3982 echo "$as_me:$LINENO: result: $SED" >&5
3983 echo "${ECHO_T}$SED" >&6
3985 test -z "$SED" && SED=sed
3986 Xsed="$SED -e 1s/^X//"
3998 echo "$as_me:$LINENO: checking for egrep" >&5
3999 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4000 if test "${ac_cv_prog_egrep+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 else
4003 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4004 then ac_cv_prog_egrep='grep -E'
4005 else ac_cv_prog_egrep='egrep'
4008 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4009 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4010 EGREP=$ac_cv_prog_egrep
4013 echo "$as_me:$LINENO: checking for fgrep" >&5
4014 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4015 if test "${ac_cv_prog_fgrep+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 else
4018 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4019 then ac_cv_prog_fgrep='grep -F'
4020 else ac_cv_prog_fgrep='fgrep'
4023 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4024 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4025 FGREP=$ac_cv_prog_fgrep
4028 test -z "$GREP" && GREP=grep
4048 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4049 if test "${with_gnu_ld+set}" = set; then
4050 withval="$with_gnu_ld"
4051 test "$withval" = no || with_gnu_ld=yes
4052 else
4053 with_gnu_ld=no
4055 ac_prog=ld
4056 if test "$GCC" = yes; then
4057 # Check if gcc -print-prog-name=ld gives a path.
4058 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4059 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4060 case $host in
4061 *-*-mingw*)
4062 # gcc leaves a trailing carriage return which upsets mingw
4063 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4065 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4066 esac
4067 case $ac_prog in
4068 # Accept absolute paths.
4069 [\\/]* | ?:[\\/]*)
4070 re_direlt='/[^/][^/]*/\.\./'
4071 # Canonicalize the pathname of ld
4072 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4073 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4074 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4075 done
4076 test -z "$LD" && LD="$ac_prog"
4079 # If it fails, then pretend we aren't using GCC.
4080 ac_prog=ld
4083 # If it is relative, then search for the first ld in PATH.
4084 with_gnu_ld=unknown
4086 esac
4087 elif test "$with_gnu_ld" = yes; then
4088 echo "$as_me:$LINENO: checking for GNU ld" >&5
4089 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4090 else
4091 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4092 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4094 if test "${lt_cv_path_LD+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 if test -z "$LD"; then
4098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4099 for ac_dir in $PATH; do
4100 IFS="$lt_save_ifs"
4101 test -z "$ac_dir" && ac_dir=.
4102 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4103 lt_cv_path_LD="$ac_dir/$ac_prog"
4104 # Check to see if the program is GNU ld. I'd rather use --version,
4105 # but apparently some variants of GNU ld only accept -v.
4106 # Break only if it was the GNU/non-GNU ld that we prefer.
4107 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4108 *GNU* | *'with BFD'*)
4109 test "$with_gnu_ld" != no && break
4112 test "$with_gnu_ld" != yes && break
4114 esac
4116 done
4117 IFS="$lt_save_ifs"
4118 else
4119 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4123 LD="$lt_cv_path_LD"
4124 if test -n "$LD"; then
4125 echo "$as_me:$LINENO: result: $LD" >&5
4126 echo "${ECHO_T}$LD" >&6
4127 else
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4131 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4132 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4133 { (exit 1); exit 1; }; }
4134 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4135 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4136 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 else
4139 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4140 case `$LD -v 2>&1 </dev/null` in
4141 *GNU* | *'with BFD'*)
4142 lt_cv_prog_gnu_ld=yes
4145 lt_cv_prog_gnu_ld=no
4147 esac
4149 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4150 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4151 with_gnu_ld=$lt_cv_prog_gnu_ld
4162 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4163 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4164 if test "${lt_cv_path_NM+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167 if test -n "$NM"; then
4168 # Let the user override the test.
4169 lt_cv_path_NM="$NM"
4170 else
4171 lt_nm_to_check="${ac_tool_prefix}nm"
4172 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4173 lt_nm_to_check="$lt_nm_to_check nm"
4175 for lt_tmp_nm in $lt_nm_to_check; do
4176 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4177 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4178 IFS="$lt_save_ifs"
4179 test -z "$ac_dir" && ac_dir=.
4180 tmp_nm="$ac_dir/$lt_tmp_nm"
4181 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4182 # Check to see if the nm accepts a BSD-compat flag.
4183 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4184 # nm: unknown option "B" ignored
4185 # Tru64's nm complains that /dev/null is an invalid object file
4186 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4187 */dev/null* | *'Invalid file or object type'*)
4188 lt_cv_path_NM="$tmp_nm -B"
4189 break
4192 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4193 */dev/null*)
4194 lt_cv_path_NM="$tmp_nm -p"
4195 break
4198 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4199 continue # so that we can try to find one that supports BSD flags
4201 esac
4203 esac
4205 done
4206 IFS="$lt_save_ifs"
4207 done
4208 : ${lt_cv_path_NM=no}
4211 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4212 echo "${ECHO_T}$lt_cv_path_NM" >&6
4213 if test "$lt_cv_path_NM" != "no"; then
4214 NM="$lt_cv_path_NM"
4215 else
4216 # Didn't find any BSD compatible name lister, look for dumpbin.
4217 if test -n "$ac_tool_prefix"; then
4218 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 else
4227 if test -n "$DUMPBIN"; then
4228 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4233 IFS=$as_save_IFS
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 break 2
4241 done
4242 done
4246 DUMPBIN=$ac_cv_prog_DUMPBIN
4247 if test -n "$DUMPBIN"; then
4248 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4249 echo "${ECHO_T}$DUMPBIN" >&6
4250 else
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4255 test -n "$DUMPBIN" && break
4256 done
4258 if test -z "$DUMPBIN"; then
4259 ac_ct_DUMPBIN=$DUMPBIN
4260 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy $ac_prog; ac_word=$2
4264 echo "$as_me:$LINENO: checking for $ac_word" >&5
4265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4266 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 if test -n "$ac_ct_DUMPBIN"; then
4270 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4271 else
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 for as_dir in $PATH
4275 IFS=$as_save_IFS
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 break 2
4283 done
4284 done
4288 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4289 if test -n "$ac_ct_DUMPBIN"; then
4290 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4291 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4297 test -n "$ac_ct_DUMPBIN" && break
4298 done
4299 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4301 DUMPBIN=$ac_ct_DUMPBIN
4305 if test "$DUMPBIN" != ":"; then
4306 NM="$DUMPBIN"
4309 test -z "$NM" && NM=nm
4316 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4317 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4318 if test "${lt_cv_nm_interface+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 else
4321 lt_cv_nm_interface="BSD nm"
4322 echo "int some_variable = 0;" > conftest.$ac_ext
4323 (eval echo "\"\$as_me:4323: $ac_compile\"" >&5)
4324 (eval "$ac_compile" 2>conftest.err)
4325 cat conftest.err >&5
4326 (eval echo "\"\$as_me:4326: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4327 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4328 cat conftest.err >&5
4329 (eval echo "\"\$as_me:4329: output\"" >&5)
4330 cat conftest.out >&5
4331 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4332 lt_cv_nm_interface="MS dumpbin"
4334 rm -f conftest*
4336 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4337 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4339 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4340 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4341 LN_S=$as_ln_s
4342 if test "$LN_S" = "ln -s"; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4345 else
4346 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4347 echo "${ECHO_T}no, using $LN_S" >&6
4350 # find the maximum length of command line arguments
4351 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4352 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4353 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 else
4357 teststring="ABCD"
4359 case $build_os in
4360 msdosdjgpp*)
4361 # On DJGPP, this test can blow up pretty badly due to problems in libc
4362 # (any single argument exceeding 2000 bytes causes a buffer overrun
4363 # during glob expansion). Even if it were fixed, the result of this
4364 # check would be larger than it should be.
4365 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4368 gnu*)
4369 # Under GNU Hurd, this test is not required because there is
4370 # no limit to the length of command line arguments.
4371 # Libtool will interpret -1 as no limit whatsoever
4372 lt_cv_sys_max_cmd_len=-1;
4375 cygwin* | mingw*)
4376 # On Win9x/ME, this test blows up -- it succeeds, but takes
4377 # about 5 minutes as the teststring grows exponentially.
4378 # Worse, since 9x/ME are not pre-emptively multitasking,
4379 # you end up with a "frozen" computer, even though with patience
4380 # the test eventually succeeds (with a max line length of 256k).
4381 # Instead, let's just punt: use the minimum linelength reported by
4382 # all of the supported platforms: 8192 (on NT/2K/XP).
4383 lt_cv_sys_max_cmd_len=8192;
4386 amigaos*)
4387 # On AmigaOS with pdksh, this test takes hours, literally.
4388 # So we just punt and use a minimum line length of 8192.
4389 lt_cv_sys_max_cmd_len=8192;
4392 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4393 # This has been around since 386BSD, at least. Likely further.
4394 if test -x /sbin/sysctl; then
4395 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4396 elif test -x /usr/sbin/sysctl; then
4397 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4398 else
4399 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4401 # And add a safety zone
4402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4406 interix*)
4407 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4408 lt_cv_sys_max_cmd_len=196608
4411 osf*)
4412 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4413 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4414 # nice to cause kernel panics so lets avoid the loop below.
4415 # First set a reasonable default.
4416 lt_cv_sys_max_cmd_len=16384
4418 if test -x /sbin/sysconfig; then
4419 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4420 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4421 esac
4424 sco3.2v5*)
4425 lt_cv_sys_max_cmd_len=102400
4427 sysv5* | sco5v6* | sysv4.2uw2*)
4428 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4429 if test -n "$kargmax"; then
4430 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4431 else
4432 lt_cv_sys_max_cmd_len=32768
4436 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4437 if test -n $lt_cv_sys_max_cmd_len; then
4438 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4439 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4440 else
4441 # Make teststring a little bigger before we do anything with it.
4442 # a 1K string should be a reasonable start.
4443 for i in 1 2 3 4 5 6 7 8 ; do
4444 teststring=$teststring$teststring
4445 done
4446 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4447 # If test is not a shell built-in, we'll probably end up computing a
4448 # maximum length that is only half of the actual maximum length, but
4449 # we can't tell.
4450 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4451 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4452 test $i != 17 # 1/2 MB should be enough
4454 i=`expr $i + 1`
4455 teststring=$teststring$teststring
4456 done
4457 # Only check the string length outside the loop.
4458 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4459 teststring=
4460 # Add a significant safety factor because C++ compilers can tack on
4461 # massive amounts of additional arguments before passing them to the
4462 # linker. It appears as though 1/2 is a usable value.
4463 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4466 esac
4470 if test -n $lt_cv_sys_max_cmd_len ; then
4471 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4472 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4473 else
4474 echo "$as_me:$LINENO: result: none" >&5
4475 echo "${ECHO_T}none" >&6
4477 max_cmd_len=$lt_cv_sys_max_cmd_len
4485 : ${CP="cp -f"}
4486 : ${MV="mv -f"}
4487 : ${RM="rm -f"}
4489 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4490 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4491 # Try some XSI features
4492 xsi_shell=no
4493 ( _lt_dummy="a/b/c"
4494 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4495 = c,a/b,, ) >/dev/null 2>&1 \
4496 && xsi_shell=yes
4497 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4498 echo "${ECHO_T}$xsi_shell" >&6
4501 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4502 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4503 lt_shell_append=no
4504 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4505 >/dev/null 2>&1 \
4506 && lt_shell_append=yes
4507 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4508 echo "${ECHO_T}$lt_shell_append" >&6
4511 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4512 lt_unset=unset
4513 else
4514 lt_unset=false
4521 # test EBCDIC or ASCII
4522 case `echo X|tr X '\101'` in
4523 A) # ASCII based system
4524 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4525 lt_SP2NL='tr \040 \012'
4526 lt_NL2SP='tr \015\012 \040\040'
4528 *) # EBCDIC based system
4529 lt_SP2NL='tr \100 \n'
4530 lt_NL2SP='tr \r\n \100\100'
4532 esac
4542 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4543 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4544 if test "${lt_cv_ld_reload_flag+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 else
4547 lt_cv_ld_reload_flag='-r'
4549 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4550 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4551 reload_flag=$lt_cv_ld_reload_flag
4552 case $reload_flag in
4553 "" | " "*) ;;
4554 *) reload_flag=" $reload_flag" ;;
4555 esac
4556 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4557 case $host_os in
4558 darwin*)
4559 if test "$GCC" = yes; then
4560 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4561 else
4562 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4565 esac
4576 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4577 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4578 if test "${lt_cv_deplibs_check_method+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 else
4581 lt_cv_file_magic_cmd='$MAGIC_CMD'
4582 lt_cv_file_magic_test_file=
4583 lt_cv_deplibs_check_method='unknown'
4584 # Need to set the preceding variable on all platforms that support
4585 # interlibrary dependencies.
4586 # 'none' -- dependencies not supported.
4587 # `unknown' -- same as none, but documents that we really don't know.
4588 # 'pass_all' -- all dependencies passed with no checks.
4589 # 'test_compile' -- check by making test program.
4590 # 'file_magic [[regex]]' -- check by looking for files in library path
4591 # which responds to the $file_magic_cmd with a given extended regex.
4592 # If you have `file' or equivalent on your system and you're not sure
4593 # whether `pass_all' will *always* work, you probably want this one.
4595 case $host_os in
4596 aix4* | aix5*)
4597 lt_cv_deplibs_check_method=pass_all
4600 beos*)
4601 lt_cv_deplibs_check_method=pass_all
4604 bsdi[45]*)
4605 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4606 lt_cv_file_magic_cmd='/usr/bin/file -L'
4607 lt_cv_file_magic_test_file=/shlib/libc.so
4610 cygwin*)
4611 # func_win32_libid is a shell function defined in ltmain.sh
4612 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4613 lt_cv_file_magic_cmd='func_win32_libid'
4616 mingw* | pw32*)
4617 # Base MSYS/MinGW do not provide the 'file' command needed by
4618 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4619 # unless we find 'file', for example because we are cross-compiling.
4620 if ( file / ) >/dev/null 2>&1; then
4621 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4622 lt_cv_file_magic_cmd='func_win32_libid'
4623 else
4624 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4625 lt_cv_file_magic_cmd='$OBJDUMP -f'
4629 darwin* | rhapsody*)
4630 lt_cv_deplibs_check_method=pass_all
4633 freebsd* | dragonfly*)
4634 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4635 case $host_cpu in
4636 i*86 )
4637 # Not sure whether the presence of OpenBSD here was a mistake.
4638 # Let's accept both of them until this is cleared up.
4639 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4640 lt_cv_file_magic_cmd=/usr/bin/file
4641 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4643 esac
4644 else
4645 lt_cv_deplibs_check_method=pass_all
4649 gnu*)
4650 lt_cv_deplibs_check_method=pass_all
4653 hpux10.20* | hpux11*)
4654 lt_cv_file_magic_cmd=/usr/bin/file
4655 case $host_cpu in
4656 ia64*)
4657 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4658 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4660 hppa*64*)
4661 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]'
4662 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4665 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4666 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4668 esac
4671 interix[3-9]*)
4672 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4673 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4676 irix5* | irix6* | nonstopux*)
4677 case $LD in
4678 *-32|*"-32 ") libmagic=32-bit;;
4679 *-n32|*"-n32 ") libmagic=N32;;
4680 *-64|*"-64 ") libmagic=64-bit;;
4681 *) libmagic=never-match;;
4682 esac
4683 lt_cv_deplibs_check_method=pass_all
4686 # This must be Linux ELF.
4687 linux* | k*bsd*-gnu)
4688 lt_cv_deplibs_check_method=pass_all
4691 netbsd*)
4692 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4694 else
4695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4699 newos6*)
4700 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4701 lt_cv_file_magic_cmd=/usr/bin/file
4702 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4705 *nto* | *qnx*)
4706 lt_cv_deplibs_check_method=pass_all
4709 openbsd*)
4710 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4711 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4712 else
4713 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4717 osf3* | osf4* | osf5*)
4718 lt_cv_deplibs_check_method=pass_all
4721 rdos*)
4722 lt_cv_deplibs_check_method=pass_all
4725 solaris*)
4726 lt_cv_deplibs_check_method=pass_all
4729 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4730 lt_cv_deplibs_check_method=pass_all
4733 sysv4 | sysv4.3*)
4734 case $host_vendor in
4735 motorola)
4736 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]'
4737 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4739 ncr)
4740 lt_cv_deplibs_check_method=pass_all
4742 sequent)
4743 lt_cv_file_magic_cmd='/bin/file'
4744 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4746 sni)
4747 lt_cv_file_magic_cmd='/bin/file'
4748 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4749 lt_cv_file_magic_test_file=/lib/libc.so
4751 siemens)
4752 lt_cv_deplibs_check_method=pass_all
4755 lt_cv_deplibs_check_method=pass_all
4757 esac
4760 tpf*)
4761 lt_cv_deplibs_check_method=pass_all
4763 esac
4766 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4767 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4768 file_magic_cmd=$lt_cv_file_magic_cmd
4769 deplibs_check_method=$lt_cv_deplibs_check_method
4770 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4785 set dummy ${ac_tool_prefix}ar; ac_word=$2
4786 echo "$as_me:$LINENO: checking for $ac_word" >&5
4787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4788 if test "${ac_cv_prog_AR+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 if test -n "$AR"; then
4792 ac_cv_prog_AR="$AR" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_AR="${ac_tool_prefix}ar"
4802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4810 AR=$ac_cv_prog_AR
4811 if test -n "$AR"; then
4812 echo "$as_me:$LINENO: result: $AR" >&5
4813 echo "${ECHO_T}$AR" >&6
4814 else
4815 echo "$as_me:$LINENO: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4820 if test -z "$ac_cv_prog_AR"; then
4821 ac_ct_AR=$AR
4822 # Extract the first word of "ar", so it can be a program name with args.
4823 set dummy ar; ac_word=$2
4824 echo "$as_me:$LINENO: checking for $ac_word" >&5
4825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4826 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 else
4829 if test -n "$ac_ct_AR"; then
4830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4831 else
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4835 IFS=$as_save_IFS
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_ac_ct_AR="ar"
4840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4846 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4850 if test -n "$ac_ct_AR"; then
4851 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4852 echo "${ECHO_T}$ac_ct_AR" >&6
4853 else
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4858 AR=$ac_ct_AR
4859 else
4860 AR="$ac_cv_prog_AR"
4863 test -z "$AR" && AR=ar
4864 test -z "$AR_FLAGS" && AR_FLAGS=cru
4876 if test -n "$ac_tool_prefix"; then
4877 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4878 set dummy ${ac_tool_prefix}strip; ac_word=$2
4879 echo "$as_me:$LINENO: checking for $ac_word" >&5
4880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4881 if test "${ac_cv_prog_STRIP+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 if test -n "$STRIP"; then
4885 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4903 STRIP=$ac_cv_prog_STRIP
4904 if test -n "$STRIP"; then
4905 echo "$as_me:$LINENO: result: $STRIP" >&5
4906 echo "${ECHO_T}$STRIP" >&6
4907 else
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4913 if test -z "$ac_cv_prog_STRIP"; then
4914 ac_ct_STRIP=$STRIP
4915 # Extract the first word of "strip", so it can be a program name with args.
4916 set dummy strip; ac_word=$2
4917 echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4921 else
4922 if test -n "$ac_ct_STRIP"; then
4923 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_STRIP="strip"
4933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 break 2
4936 done
4937 done
4939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4943 if test -n "$ac_ct_STRIP"; then
4944 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4945 echo "${ECHO_T}$ac_ct_STRIP" >&6
4946 else
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4951 STRIP=$ac_ct_STRIP
4952 else
4953 STRIP="$ac_cv_prog_STRIP"
4956 test -z "$STRIP" && STRIP=:
4963 if test -n "$ac_tool_prefix"; then
4964 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4965 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4966 echo "$as_me:$LINENO: checking for $ac_word" >&5
4967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4968 if test "${ac_cv_prog_RANLIB+set}" = set; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4970 else
4971 if test -n "$RANLIB"; then
4972 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4973 else
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 for as_dir in $PATH
4977 IFS=$as_save_IFS
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4981 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 break 2
4985 done
4986 done
4990 RANLIB=$ac_cv_prog_RANLIB
4991 if test -n "$RANLIB"; then
4992 echo "$as_me:$LINENO: result: $RANLIB" >&5
4993 echo "${ECHO_T}$RANLIB" >&6
4994 else
4995 echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
5000 if test -z "$ac_cv_prog_RANLIB"; then
5001 ac_ct_RANLIB=$RANLIB
5002 # Extract the first word of "ranlib", so it can be a program name with args.
5003 set dummy ranlib; ac_word=$2
5004 echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 else
5009 if test -n "$ac_ct_RANLIB"; then
5010 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015 IFS=$as_save_IFS
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_ac_ct_RANLIB="ranlib"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 break 2
5023 done
5024 done
5026 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5029 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5030 if test -n "$ac_ct_RANLIB"; then
5031 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5032 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5033 else
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5038 RANLIB=$ac_ct_RANLIB
5039 else
5040 RANLIB="$ac_cv_prog_RANLIB"
5043 test -z "$RANLIB" && RANLIB=:
5050 # Determine commands to create old-style static archives.
5051 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5052 old_postinstall_cmds='chmod 644 $oldlib'
5053 old_postuninstall_cmds=
5055 if test -n "$RANLIB"; then
5056 case $host_os in
5057 openbsd*)
5058 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5061 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5063 esac
5064 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5100 # If no C compiler was specified, use CC.
5101 LTCC=${LTCC-"$CC"}
5103 # If no C compiler flags were specified, use CFLAGS.
5104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5106 # Allow CC to be a program name with arguments.
5107 compiler=$CC
5110 # Check for command to grab the raw symbol name followed by C symbol from nm.
5111 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5112 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5113 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 else
5117 # These are sane defaults that work on at least a few old systems.
5118 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5120 # Character class describing NM global symbol codes.
5121 symcode='[BCDEGRST]'
5123 # Regexp to match symbols that can be accessed directly from C.
5124 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5126 # Define system-specific variables.
5127 case $host_os in
5128 aix*)
5129 symcode='[BCDT]'
5131 cygwin* | mingw* | pw32*)
5132 symcode='[ABCDGISTW]'
5134 hpux*)
5135 if test "$host_cpu" = ia64; then
5136 symcode='[ABCDEGRST]'
5139 irix* | nonstopux*)
5140 symcode='[BCDEGRST]'
5142 osf*)
5143 symcode='[BCDEGQRST]'
5145 solaris*)
5146 symcode='[BDRT]'
5148 sco3.2v5*)
5149 symcode='[DT]'
5151 sysv4.2uw2*)
5152 symcode='[DT]'
5154 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5155 symcode='[ABDT]'
5157 sysv4)
5158 symcode='[DFNSTU]'
5160 esac
5162 # If we're using GNU nm, then use its standard symbol codes.
5163 case `$NM -V 2>&1` in
5164 *GNU* | *'with BFD'*)
5165 symcode='[ABCDGIRSTW]' ;;
5166 esac
5168 # Transform an extracted symbol line into a proper C declaration.
5169 # Some systems (esp. on ia64) link data and code symbols differently,
5170 # so use this general approach.
5171 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5173 # Transform an extracted symbol line into symbol name and symbol address
5174 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5176 # Handle CRLF in mingw tool chain
5177 opt_cr=
5178 case $build_os in
5179 mingw*)
5180 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5182 esac
5184 # Try without a prefix underscore, then with it.
5185 for ac_symprfx in "" "_"; do
5187 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5188 symxfrm="\\1 $ac_symprfx\\2 \\2"
5190 # Write the raw and C identifiers.
5191 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5192 # Fake it for dumpbin and say T for any non-static function
5193 # and D for any global variable.
5194 # Also find C++ and __fastcall symbols from MSVC++,
5195 # which start with @ or ?.
5196 lt_cv_sys_global_symbol_pipe="$AWK '"\
5197 " {last_section=section; section=\$ 3};"\
5198 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5199 " \$ 0!~/External *\|/{next};"\
5200 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5201 " {if(hide[section]) next};"\
5202 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5203 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5204 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5205 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5206 " ' prfx=^$ac_symprfx"
5207 else
5208 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5211 # Check to see that the pipe works correctly.
5212 pipe_works=no
5214 rm -f conftest*
5215 cat > conftest.$ac_ext <<_LT_EOF
5216 #ifdef __cplusplus
5217 extern "C" {
5218 #endif
5219 char nm_test_var;
5220 void nm_test_func(void);
5221 void nm_test_func(void){}
5222 #ifdef __cplusplus
5224 #endif
5225 int main(){nm_test_var='a';nm_test_func();return(0);}
5226 _LT_EOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5229 (eval $ac_compile) 2>&5
5230 ac_status=$?
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); }; then
5233 # Now try to grab the symbols.
5234 nlist=conftest.nm
5235 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5236 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5237 ac_status=$?
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } && test -s "$nlist"; then
5240 # Try sorting and uniquifying the output.
5241 if sort "$nlist" | uniq > "$nlist"T; then
5242 mv -f "$nlist"T "$nlist"
5243 else
5244 rm -f "$nlist"T
5247 # Make sure that we snagged all the symbols we need.
5248 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5249 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5250 cat <<_LT_EOF > conftest.$ac_ext
5251 #ifdef __cplusplus
5252 extern "C" {
5253 #endif
5255 _LT_EOF
5256 # Now generate the symbol file.
5257 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5259 cat <<_LT_EOF >> conftest.$ac_ext
5261 /* The mapping between symbol names and symbols. */
5262 const struct {
5263 const char *name;
5264 void *address;
5266 lt__PROGRAM__LTX_preloaded_symbols[] =
5268 { "@PROGRAM@", (void *) 0 },
5269 _LT_EOF
5270 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5271 cat <<\_LT_EOF >> conftest.$ac_ext
5272 {0, (void *) 0}
5275 /* This works around a problem in FreeBSD linker */
5276 #ifdef FREEBSD_WORKAROUND
5277 static const void *lt_preloaded_setup() {
5278 return lt__PROGRAM__LTX_preloaded_symbols;
5280 #endif
5282 #ifdef __cplusplus
5284 #endif
5285 _LT_EOF
5286 # Now try linking the two files.
5287 mv conftest.$ac_objext conftstm.$ac_objext
5288 lt_save_LIBS="$LIBS"
5289 lt_save_CFLAGS="$CFLAGS"
5290 LIBS="conftstm.$ac_objext"
5291 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5293 (eval $ac_link) 2>&5
5294 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5297 pipe_works=yes
5299 LIBS="$lt_save_LIBS"
5300 CFLAGS="$lt_save_CFLAGS"
5301 else
5302 echo "cannot find nm_test_func in $nlist" >&5
5304 else
5305 echo "cannot find nm_test_var in $nlist" >&5
5307 else
5308 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5310 else
5311 echo "$progname: failed program was:" >&5
5312 cat conftest.$ac_ext >&5
5314 rm -f conftest* conftst*
5316 # Do not use the global_symbol_pipe unless it works.
5317 if test "$pipe_works" = yes; then
5318 break
5319 else
5320 lt_cv_sys_global_symbol_pipe=
5322 done
5326 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5327 lt_cv_sys_global_symbol_to_cdecl=
5329 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5330 echo "$as_me:$LINENO: result: failed" >&5
5331 echo "${ECHO_T}failed" >&6
5332 else
5333 echo "$as_me:$LINENO: result: ok" >&5
5334 echo "${ECHO_T}ok" >&6
5353 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5354 if test "${enable_libtool_lock+set}" = set; then
5355 enableval="$enable_libtool_lock"
5358 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5360 # Some flags need to be propagated to the compiler or linker for good
5361 # libtool support.
5362 case $host in
5363 ia64-*-hpux*)
5364 # Find out which ABI we are using.
5365 echo 'int i;' > conftest.$ac_ext
5366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5367 (eval $ac_compile) 2>&5
5368 ac_status=$?
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; then
5371 case `/usr/bin/file conftest.$ac_objext` in
5372 *ELF-32*)
5373 HPUX_IA64_MODE="32"
5375 *ELF-64*)
5376 HPUX_IA64_MODE="64"
5378 esac
5380 rm -rf conftest*
5382 *-*-irix6*)
5383 # Find out which ABI we are using.
5384 echo '#line 5384 "configure"' > conftest.$ac_ext
5385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5386 (eval $ac_compile) 2>&5
5387 ac_status=$?
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; then
5390 if test "$lt_cv_prog_gnu_ld" = yes; then
5391 case `/usr/bin/file conftest.$ac_objext` in
5392 *32-bit*)
5393 LD="${LD-ld} -melf32bsmip"
5395 *N32*)
5396 LD="${LD-ld} -melf32bmipn32"
5398 *64-bit*)
5399 LD="${LD-ld} -melf64bmip"
5401 esac
5402 else
5403 case `/usr/bin/file conftest.$ac_objext` in
5404 *32-bit*)
5405 LD="${LD-ld} -32"
5407 *N32*)
5408 LD="${LD-ld} -n32"
5410 *64-bit*)
5411 LD="${LD-ld} -64"
5413 esac
5416 rm -rf conftest*
5419 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5420 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5421 # Find out which ABI we are using.
5422 echo 'int i;' > conftest.$ac_ext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5424 (eval $ac_compile) 2>&5
5425 ac_status=$?
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; then
5428 case `/usr/bin/file conftest.o` in
5429 *32-bit*)
5430 case $host in
5431 x86_64-*kfreebsd*-gnu)
5432 LD="${LD-ld} -m elf_i386_fbsd"
5434 x86_64-*linux*)
5435 LD="${LD-ld} -m elf_i386"
5437 ppc64-*linux*|powerpc64-*linux*)
5438 LD="${LD-ld} -m elf32ppclinux"
5440 s390x-*linux*)
5441 LD="${LD-ld} -m elf_s390"
5443 sparc64-*linux*)
5444 LD="${LD-ld} -m elf32_sparc"
5446 esac
5448 *64-bit*)
5449 case $host in
5450 x86_64-*kfreebsd*-gnu)
5451 LD="${LD-ld} -m elf_x86_64_fbsd"
5453 x86_64-*linux*)
5454 LD="${LD-ld} -m elf_x86_64"
5456 ppc*-*linux*|powerpc*-*linux*)
5457 LD="${LD-ld} -m elf64ppc"
5459 s390*-*linux*|s390*-*tpf*)
5460 LD="${LD-ld} -m elf64_s390"
5462 sparc*-*linux*)
5463 LD="${LD-ld} -m elf64_sparc"
5465 esac
5467 esac
5469 rm -rf conftest*
5472 *-*-sco3.2v5*)
5473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5474 SAVE_CFLAGS="$CFLAGS"
5475 CFLAGS="$CFLAGS -belf"
5476 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5477 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5478 if test "${lt_cv_cc_needs_belf+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481 ac_ext=c
5482 ac_cpp='$CPP $CPPFLAGS'
5483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5487 if test x$gcc_no_link = xyes; then
5488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5490 { (exit 1); exit 1; }; }
5492 cat >conftest.$ac_ext <<_ACEOF
5493 /* confdefs.h. */
5494 _ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5500 main ()
5504 return 0;
5506 _ACEOF
5507 rm -f conftest.$ac_objext conftest$ac_exeext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5509 (eval $ac_link) 2>conftest.er1
5510 ac_status=$?
5511 grep -v '^ *+' conftest.er1 >conftest.err
5512 rm -f conftest.er1
5513 cat conftest.err >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try='test -z "$ac_c_werror_flag"
5517 || test ! -s conftest.err'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 (eval $ac_try) 2>&5
5520 ac_status=$?
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; } &&
5523 { ac_try='test -s conftest$ac_exeext'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5525 (eval $ac_try) 2>&5
5526 ac_status=$?
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 lt_cv_cc_needs_belf=yes
5530 else
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.$ac_ext >&5
5534 lt_cv_cc_needs_belf=no
5536 rm -f conftest.err conftest.$ac_objext \
5537 conftest$ac_exeext conftest.$ac_ext
5538 ac_ext=c
5539 ac_cpp='$CPP $CPPFLAGS'
5540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5545 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5546 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5547 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5548 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5549 CFLAGS="$SAVE_CFLAGS"
5552 sparc*-*solaris*)
5553 # Find out which ABI we are using.
5554 echo 'int i;' > conftest.$ac_ext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556 (eval $ac_compile) 2>&5
5557 ac_status=$?
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; then
5560 case `/usr/bin/file conftest.o` in
5561 *64-bit*)
5562 case $lt_cv_prog_gnu_ld in
5563 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5564 *) LD="${LD-ld} -64" ;;
5565 esac
5567 esac
5569 rm -rf conftest*
5571 esac
5573 need_locks="$enable_libtool_lock"
5575 ac_ext=c
5576 ac_cpp='$CPP $CPPFLAGS'
5577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5580 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5581 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5582 # On Suns, sometimes $CPP names a directory.
5583 if test -n "$CPP" && test -d "$CPP"; then
5584 CPP=
5586 if test -z "$CPP"; then
5587 if test "${ac_cv_prog_CPP+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 # Double quotes because CPP needs to be expanded
5591 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5593 ac_preproc_ok=false
5594 for ac_c_preproc_warn_flag in '' yes
5596 # Use a header file that comes with gcc, so configuring glibc
5597 # with a fresh cross-compiler works.
5598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5599 # <limits.h> exists even on freestanding compilers.
5600 # On the NeXT, cc -E runs the code through the compiler's parser,
5601 # not just through cpp. "Syntax error" is here to catch this case.
5602 cat >conftest.$ac_ext <<_ACEOF
5603 /* confdefs.h. */
5604 _ACEOF
5605 cat confdefs.h >>conftest.$ac_ext
5606 cat >>conftest.$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5608 #ifdef __STDC__
5609 # include <limits.h>
5610 #else
5611 # include <assert.h>
5612 #endif
5613 Syntax error
5614 _ACEOF
5615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5617 ac_status=$?
5618 grep -v '^ *+' conftest.er1 >conftest.err
5619 rm -f conftest.er1
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } >/dev/null; then
5623 if test -s conftest.err; then
5624 ac_cpp_err=$ac_c_preproc_warn_flag
5625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5626 else
5627 ac_cpp_err=
5629 else
5630 ac_cpp_err=yes
5632 if test -z "$ac_cpp_err"; then
5634 else
5635 echo "$as_me: failed program was:" >&5
5636 sed 's/^/| /' conftest.$ac_ext >&5
5638 # Broken: fails on valid input.
5639 continue
5641 rm -f conftest.err conftest.$ac_ext
5643 # OK, works on sane cases. Now check whether non-existent headers
5644 # can be detected and how.
5645 cat >conftest.$ac_ext <<_ACEOF
5646 /* confdefs.h. */
5647 _ACEOF
5648 cat confdefs.h >>conftest.$ac_ext
5649 cat >>conftest.$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 #include <ac_nonexistent.h>
5652 _ACEOF
5653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5655 ac_status=$?
5656 grep -v '^ *+' conftest.er1 >conftest.err
5657 rm -f conftest.er1
5658 cat conftest.err >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } >/dev/null; then
5661 if test -s conftest.err; then
5662 ac_cpp_err=$ac_c_preproc_warn_flag
5663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5664 else
5665 ac_cpp_err=
5667 else
5668 ac_cpp_err=yes
5670 if test -z "$ac_cpp_err"; then
5671 # Broken: success on invalid input.
5672 continue
5673 else
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5
5677 # Passes both tests.
5678 ac_preproc_ok=:
5679 break
5681 rm -f conftest.err conftest.$ac_ext
5683 done
5684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5685 rm -f conftest.err conftest.$ac_ext
5686 if $ac_preproc_ok; then
5687 break
5690 done
5691 ac_cv_prog_CPP=$CPP
5694 CPP=$ac_cv_prog_CPP
5695 else
5696 ac_cv_prog_CPP=$CPP
5698 echo "$as_me:$LINENO: result: $CPP" >&5
5699 echo "${ECHO_T}$CPP" >&6
5700 ac_preproc_ok=false
5701 for ac_c_preproc_warn_flag in '' yes
5703 # Use a header file that comes with gcc, so configuring glibc
5704 # with a fresh cross-compiler works.
5705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5706 # <limits.h> exists even on freestanding compilers.
5707 # On the NeXT, cc -E runs the code through the compiler's parser,
5708 # not just through cpp. "Syntax error" is here to catch this case.
5709 cat >conftest.$ac_ext <<_ACEOF
5710 /* confdefs.h. */
5711 _ACEOF
5712 cat confdefs.h >>conftest.$ac_ext
5713 cat >>conftest.$ac_ext <<_ACEOF
5714 /* end confdefs.h. */
5715 #ifdef __STDC__
5716 # include <limits.h>
5717 #else
5718 # include <assert.h>
5719 #endif
5720 Syntax error
5721 _ACEOF
5722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5724 ac_status=$?
5725 grep -v '^ *+' conftest.er1 >conftest.err
5726 rm -f conftest.er1
5727 cat conftest.err >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } >/dev/null; then
5730 if test -s conftest.err; then
5731 ac_cpp_err=$ac_c_preproc_warn_flag
5732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5733 else
5734 ac_cpp_err=
5736 else
5737 ac_cpp_err=yes
5739 if test -z "$ac_cpp_err"; then
5741 else
5742 echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.$ac_ext >&5
5745 # Broken: fails on valid input.
5746 continue
5748 rm -f conftest.err conftest.$ac_ext
5750 # OK, works on sane cases. Now check whether non-existent headers
5751 # can be detected and how.
5752 cat >conftest.$ac_ext <<_ACEOF
5753 /* confdefs.h. */
5754 _ACEOF
5755 cat confdefs.h >>conftest.$ac_ext
5756 cat >>conftest.$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5758 #include <ac_nonexistent.h>
5759 _ACEOF
5760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5762 ac_status=$?
5763 grep -v '^ *+' conftest.er1 >conftest.err
5764 rm -f conftest.er1
5765 cat conftest.err >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } >/dev/null; then
5768 if test -s conftest.err; then
5769 ac_cpp_err=$ac_c_preproc_warn_flag
5770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5771 else
5772 ac_cpp_err=
5774 else
5775 ac_cpp_err=yes
5777 if test -z "$ac_cpp_err"; then
5778 # Broken: success on invalid input.
5779 continue
5780 else
5781 echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.$ac_ext >&5
5784 # Passes both tests.
5785 ac_preproc_ok=:
5786 break
5788 rm -f conftest.err conftest.$ac_ext
5790 done
5791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5792 rm -f conftest.err conftest.$ac_ext
5793 if $ac_preproc_ok; then
5795 else
5796 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5797 See \`config.log' for more details." >&5
5798 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5799 See \`config.log' for more details." >&2;}
5800 { (exit 1); exit 1; }; }
5803 ac_ext=c
5804 ac_cpp='$CPP $CPPFLAGS'
5805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5810 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5811 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5812 if test "${ac_cv_header_stdc+set}" = set; then
5813 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 else
5815 cat >conftest.$ac_ext <<_ACEOF
5816 /* confdefs.h. */
5817 _ACEOF
5818 cat confdefs.h >>conftest.$ac_ext
5819 cat >>conftest.$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 #include <stdlib.h>
5822 #include <stdarg.h>
5823 #include <string.h>
5824 #include <float.h>
5827 main ()
5831 return 0;
5833 _ACEOF
5834 rm -f conftest.$ac_objext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836 (eval $ac_compile) 2>conftest.er1
5837 ac_status=$?
5838 grep -v '^ *+' conftest.er1 >conftest.err
5839 rm -f conftest.er1
5840 cat conftest.err >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } &&
5843 { ac_try='test -z "$ac_c_werror_flag"
5844 || test ! -s conftest.err'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 (eval $ac_try) 2>&5
5847 ac_status=$?
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; } &&
5850 { ac_try='test -s conftest.$ac_objext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 (eval $ac_try) 2>&5
5853 ac_status=$?
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_cv_header_stdc=yes
5857 else
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 ac_cv_header_stdc=no
5863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5865 if test $ac_cv_header_stdc = yes; then
5866 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5867 cat >conftest.$ac_ext <<_ACEOF
5868 /* confdefs.h. */
5869 _ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #include <string.h>
5875 _ACEOF
5876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5877 $EGREP "memchr" >/dev/null 2>&1; then
5879 else
5880 ac_cv_header_stdc=no
5882 rm -f conftest*
5886 if test $ac_cv_header_stdc = yes; then
5887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5888 cat >conftest.$ac_ext <<_ACEOF
5889 /* confdefs.h. */
5890 _ACEOF
5891 cat confdefs.h >>conftest.$ac_ext
5892 cat >>conftest.$ac_ext <<_ACEOF
5893 /* end confdefs.h. */
5894 #include <stdlib.h>
5896 _ACEOF
5897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5898 $EGREP "free" >/dev/null 2>&1; then
5900 else
5901 ac_cv_header_stdc=no
5903 rm -f conftest*
5907 if test $ac_cv_header_stdc = yes; then
5908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5909 if test "$cross_compiling" = yes; then
5911 else
5912 cat >conftest.$ac_ext <<_ACEOF
5913 /* confdefs.h. */
5914 _ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #include <ctype.h>
5919 #if ((' ' & 0x0FF) == 0x020)
5920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5922 #else
5923 # define ISLOWER(c) \
5924 (('a' <= (c) && (c) <= 'i') \
5925 || ('j' <= (c) && (c) <= 'r') \
5926 || ('s' <= (c) && (c) <= 'z'))
5927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5928 #endif
5930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5932 main ()
5934 int i;
5935 for (i = 0; i < 256; i++)
5936 if (XOR (islower (i), ISLOWER (i))
5937 || toupper (i) != TOUPPER (i))
5938 exit(2);
5939 exit (0);
5941 _ACEOF
5942 rm -f conftest$ac_exeext
5943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5944 (eval $ac_link) 2>&5
5945 ac_status=$?
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5
5950 ac_status=$?
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; }; then
5954 else
5955 echo "$as_me: program exited with status $ac_status" >&5
5956 echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 ( exit $ac_status )
5960 ac_cv_header_stdc=no
5962 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5966 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5967 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5968 if test $ac_cv_header_stdc = yes; then
5970 cat >>confdefs.h <<\_ACEOF
5971 #define STDC_HEADERS 1
5972 _ACEOF
5976 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5986 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5987 inttypes.h stdint.h unistd.h
5989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5990 echo "$as_me:$LINENO: checking for $ac_header" >&5
5991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 else
5995 cat >conftest.$ac_ext <<_ACEOF
5996 /* confdefs.h. */
5997 _ACEOF
5998 cat confdefs.h >>conftest.$ac_ext
5999 cat >>conftest.$ac_ext <<_ACEOF
6000 /* end confdefs.h. */
6001 $ac_includes_default
6003 #include <$ac_header>
6004 _ACEOF
6005 rm -f conftest.$ac_objext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6007 (eval $ac_compile) 2>conftest.er1
6008 ac_status=$?
6009 grep -v '^ *+' conftest.er1 >conftest.err
6010 rm -f conftest.er1
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try='test -z "$ac_c_werror_flag"
6015 || test ! -s conftest.err'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 (eval $ac_try) 2>&5
6018 ac_status=$?
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; } &&
6021 { ac_try='test -s conftest.$ac_objext'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 (eval $ac_try) 2>&5
6024 ac_status=$?
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; }; then
6027 eval "$as_ac_Header=yes"
6028 else
6029 echo "$as_me: failed program was:" >&5
6030 sed 's/^/| /' conftest.$ac_ext >&5
6032 eval "$as_ac_Header=no"
6034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6039 cat >>confdefs.h <<_ACEOF
6040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6041 _ACEOF
6045 done
6049 for ac_header in dlfcn.h
6051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6052 echo "$as_me:$LINENO: checking for $ac_header" >&5
6053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 cat >conftest.$ac_ext <<_ACEOF
6058 /* confdefs.h. */
6059 _ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6065 #include <$ac_header>
6066 _ACEOF
6067 rm -f conftest.$ac_objext
6068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6069 (eval $ac_compile) 2>conftest.er1
6070 ac_status=$?
6071 grep -v '^ *+' conftest.er1 >conftest.err
6072 rm -f conftest.er1
6073 cat conftest.err >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } &&
6076 { ac_try='test -z "$ac_c_werror_flag"
6077 || test ! -s conftest.err'
6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 (eval $ac_try) 2>&5
6080 ac_status=$?
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); }; } &&
6083 { ac_try='test -s conftest.$ac_objext'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 (eval $ac_try) 2>&5
6086 ac_status=$?
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; }; then
6089 eval "$as_ac_Header=yes"
6090 else
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.$ac_ext >&5
6094 eval "$as_ac_Header=no"
6096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6101 cat >>confdefs.h <<_ACEOF
6102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6103 _ACEOF
6107 done
6111 # This can be used to rebuild libtool when needed
6112 LIBTOOL_DEPS="$ltmain"
6114 # Always use our own libtool.
6115 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6141 test -z "$LN_S" && LN_S="ln -s"
6156 if test -n "${ZSH_VERSION+set}" ; then
6157 setopt NO_GLOB_SUBST
6160 echo "$as_me:$LINENO: checking for objdir" >&5
6161 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6162 if test "${lt_cv_objdir+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 else
6165 rm -f .libs 2>/dev/null
6166 mkdir .libs 2>/dev/null
6167 if test -d .libs; then
6168 lt_cv_objdir=.libs
6169 else
6170 # MS-DOS does not allow filenames that begin with a dot.
6171 lt_cv_objdir=_libs
6173 rmdir .libs 2>/dev/null
6175 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6176 echo "${ECHO_T}$lt_cv_objdir" >&6
6177 objdir=$lt_cv_objdir
6183 cat >>confdefs.h <<_ACEOF
6184 #define LT_OBJDIR "$lt_cv_objdir/"
6185 _ACEOF
6203 case $host_os in
6204 aix3*)
6205 # AIX sometimes has problems with the GCC collect2 program. For some
6206 # reason, if we set the COLLECT_NAMES environment variable, the problems
6207 # vanish in a puff of smoke.
6208 if test "X${COLLECT_NAMES+set}" != Xset; then
6209 COLLECT_NAMES=
6210 export COLLECT_NAMES
6213 esac
6215 # Sed substitution that helps us do robust quoting. It backslashifies
6216 # metacharacters that are still active within double-quoted strings.
6217 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6219 # Same as above, but do not quote variable references.
6220 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6222 # Sed substitution to delay expansion of an escaped shell variable in a
6223 # double_quote_subst'ed string.
6224 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6226 # Sed substitution to delay expansion of an escaped single quote.
6227 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6229 # Sed substitution to avoid accidental globbing in evaled expressions
6230 no_glob_subst='s/\*/\\\*/g'
6232 # Global variables:
6233 ofile=libtool
6234 can_build_shared=yes
6236 # All known linkers require a `.a' archive for static linking (except MSVC,
6237 # which needs '.lib').
6238 libext=a
6240 with_gnu_ld="$lt_cv_prog_gnu_ld"
6242 old_CC="$CC"
6243 old_CFLAGS="$CFLAGS"
6245 # Set sane defaults for various variables
6246 test -z "$CC" && CC=cc
6247 test -z "$LTCC" && LTCC=$CC
6248 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6249 test -z "$LD" && LD=ld
6250 test -z "$ac_objext" && ac_objext=o
6252 for cc_temp in $compiler""; do
6253 case $cc_temp in
6254 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6255 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6256 \-*) ;;
6257 *) break;;
6258 esac
6259 done
6260 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6263 # Only perform the check for file, if the check method requires it
6264 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6265 case $deplibs_check_method in
6266 file_magic*)
6267 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6268 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6269 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6271 echo $ECHO_N "(cached) $ECHO_C" >&6
6272 else
6273 case $MAGIC_CMD in
6274 [\\/*] | ?:[\\/]*)
6275 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6278 lt_save_MAGIC_CMD="$MAGIC_CMD"
6279 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6280 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6281 for ac_dir in $ac_dummy; do
6282 IFS="$lt_save_ifs"
6283 test -z "$ac_dir" && ac_dir=.
6284 if test -f $ac_dir/${ac_tool_prefix}file; then
6285 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6286 if test -n "$file_magic_test_file"; then
6287 case $deplibs_check_method in
6288 "file_magic "*)
6289 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6290 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6291 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6292 $EGREP "$file_magic_regex" > /dev/null; then
6294 else
6295 cat <<_LT_EOF 1>&2
6297 *** Warning: the command libtool uses to detect shared libraries,
6298 *** $file_magic_cmd, produces output that libtool cannot recognize.
6299 *** The result is that libtool may fail to recognize shared libraries
6300 *** as such. This will affect the creation of libtool libraries that
6301 *** depend on shared libraries, but programs linked with such libtool
6302 *** libraries will work regardless of this problem. Nevertheless, you
6303 *** may want to report the problem to your system manager and/or to
6304 *** bug-libtool@gnu.org
6306 _LT_EOF
6307 fi ;;
6308 esac
6310 break
6312 done
6313 IFS="$lt_save_ifs"
6314 MAGIC_CMD="$lt_save_MAGIC_CMD"
6316 esac
6319 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6320 if test -n "$MAGIC_CMD"; then
6321 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6322 echo "${ECHO_T}$MAGIC_CMD" >&6
6323 else
6324 echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6
6332 if test -z "$lt_cv_path_MAGIC_CMD"; then
6333 if test -n "$ac_tool_prefix"; then
6334 echo "$as_me:$LINENO: checking for file" >&5
6335 echo $ECHO_N "checking for file... $ECHO_C" >&6
6336 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 else
6339 case $MAGIC_CMD in
6340 [\\/*] | ?:[\\/]*)
6341 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6344 lt_save_MAGIC_CMD="$MAGIC_CMD"
6345 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6346 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6347 for ac_dir in $ac_dummy; do
6348 IFS="$lt_save_ifs"
6349 test -z "$ac_dir" && ac_dir=.
6350 if test -f $ac_dir/file; then
6351 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6352 if test -n "$file_magic_test_file"; then
6353 case $deplibs_check_method in
6354 "file_magic "*)
6355 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6357 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6358 $EGREP "$file_magic_regex" > /dev/null; then
6360 else
6361 cat <<_LT_EOF 1>&2
6363 *** Warning: the command libtool uses to detect shared libraries,
6364 *** $file_magic_cmd, produces output that libtool cannot recognize.
6365 *** The result is that libtool may fail to recognize shared libraries
6366 *** as such. This will affect the creation of libtool libraries that
6367 *** depend on shared libraries, but programs linked with such libtool
6368 *** libraries will work regardless of this problem. Nevertheless, you
6369 *** may want to report the problem to your system manager and/or to
6370 *** bug-libtool@gnu.org
6372 _LT_EOF
6373 fi ;;
6374 esac
6376 break
6378 done
6379 IFS="$lt_save_ifs"
6380 MAGIC_CMD="$lt_save_MAGIC_CMD"
6382 esac
6385 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6386 if test -n "$MAGIC_CMD"; then
6387 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6388 echo "${ECHO_T}$MAGIC_CMD" >&6
6389 else
6390 echo "$as_me:$LINENO: result: no" >&5
6391 echo "${ECHO_T}no" >&6
6395 else
6396 MAGIC_CMD=:
6402 esac
6404 # Use C for the default configuration in the libtool script
6406 lt_save_CC="$CC"
6407 ac_ext=c
6408 ac_cpp='$CPP $CPPFLAGS'
6409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6414 # Source file extension for C test sources.
6415 ac_ext=c
6417 # Object file extension for compiled C test sources.
6418 objext=o
6419 objext=$objext
6421 # Code to be used in simple compile tests
6422 lt_simple_compile_test_code="int some_variable = 0;"
6424 # Code to be used in simple link tests
6425 lt_simple_link_test_code='int main(){return(0);}'
6433 # If no C compiler was specified, use CC.
6434 LTCC=${LTCC-"$CC"}
6436 # If no C compiler flags were specified, use CFLAGS.
6437 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6439 # Allow CC to be a program name with arguments.
6440 compiler=$CC
6442 # Save the default compiler, since it gets overwritten when the other
6443 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6444 compiler_DEFAULT=$CC
6446 # save warnings/boilerplate of simple test code
6447 ac_outfile=conftest.$ac_objext
6448 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6449 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6450 _lt_compiler_boilerplate=`cat conftest.err`
6451 $RM conftest*
6453 ac_outfile=conftest.$ac_objext
6454 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6455 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6456 _lt_linker_boilerplate=`cat conftest.err`
6457 $RM conftest*
6460 ## CAVEAT EMPTOR:
6461 ## There is no encapsulation within the following macros, do not change
6462 ## the running order or otherwise move them around unless you know exactly
6463 ## what you are doing...
6464 if test -n "$compiler"; then
6466 lt_prog_compiler_no_builtin_flag=
6468 if test "$GCC" = yes; then
6469 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6471 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6472 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6473 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 lt_cv_prog_compiler_rtti_exceptions=no
6477 ac_outfile=conftest.$ac_objext
6478 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6479 lt_compiler_flag="-fno-rtti -fno-exceptions"
6480 # Insert the option either (1) after the last *FLAGS variable, or
6481 # (2) before a word containing "conftest.", or (3) at the end.
6482 # Note that $ac_compile itself does not contain backslashes and begins
6483 # with a dollar sign (not a hyphen), so the echo should work correctly.
6484 # The option is referenced via a variable to avoid confusing sed.
6485 lt_compile=`echo "$ac_compile" | $SED \
6486 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6488 -e 's:$: $lt_compiler_flag:'`
6489 (eval echo "\"\$as_me:6489: $lt_compile\"" >&5)
6490 (eval "$lt_compile" 2>conftest.err)
6491 ac_status=$?
6492 cat conftest.err >&5
6493 echo "$as_me:6493: \$? = $ac_status" >&5
6494 if (exit $ac_status) && test -s "$ac_outfile"; then
6495 # The compiler can only warn and ignore the option if not recognized
6496 # So say no if there are warnings other than the usual output.
6497 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6498 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6499 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6500 lt_cv_prog_compiler_rtti_exceptions=yes
6503 $RM conftest*
6506 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6507 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6509 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6510 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6511 else
6522 lt_prog_compiler_wl=
6523 lt_prog_compiler_pic=
6524 lt_prog_compiler_static=
6526 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6527 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6529 if test "$GCC" = yes; then
6530 lt_prog_compiler_wl='-Wl,'
6531 lt_prog_compiler_static='-static'
6533 case $host_os in
6534 aix*)
6535 # All AIX code is PIC.
6536 if test "$host_cpu" = ia64; then
6537 # AIX 5 now supports IA64 processor
6538 lt_prog_compiler_static='-Bstatic'
6542 amigaos*)
6543 if test "$host_cpu" = m68k; then
6544 # FIXME: we need at least 68020 code to build shared libraries, but
6545 # adding the `-m68020' flag to GCC prevents building anything better,
6546 # like `-m68040'.
6547 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6551 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6552 # PIC is the default for these OSes.
6555 mingw* | cygwin* | pw32* | os2*)
6556 # This hack is so that the source file can tell whether it is being
6557 # built for inclusion in a dll (and should export symbols for example).
6558 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6559 # (--disable-auto-import) libraries
6560 lt_prog_compiler_pic='-DDLL_EXPORT'
6563 darwin* | rhapsody*)
6564 # PIC is the default on this platform
6565 # Common symbols not allowed in MH_DYLIB files
6566 lt_prog_compiler_pic='-fno-common'
6569 hpux*)
6570 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6571 # not for PA HP-UX.
6572 case $host_cpu in
6573 hppa*64*|ia64*)
6574 # +Z the default
6577 lt_prog_compiler_pic='-fPIC'
6579 esac
6582 interix[3-9]*)
6583 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6584 # Instead, we relocate shared libraries at runtime.
6587 msdosdjgpp*)
6588 # Just because we use GCC doesn't mean we suddenly get shared libraries
6589 # on systems that don't support them.
6590 lt_prog_compiler_can_build_shared=no
6591 enable_shared=no
6594 *nto* | *qnx*)
6595 # QNX uses GNU C++, but need to define -shared option too, otherwise
6596 # it will coredump.
6597 lt_prog_compiler_pic='-fPIC -shared'
6600 sysv4*MP*)
6601 if test -d /usr/nec; then
6602 lt_prog_compiler_pic=-Kconform_pic
6607 lt_prog_compiler_pic='-fPIC'
6609 esac
6610 else
6611 # PORTME Check for flag to pass linker flags through the system compiler.
6612 case $host_os in
6613 aix*)
6614 lt_prog_compiler_wl='-Wl,'
6615 if test "$host_cpu" = ia64; then
6616 # AIX 5 now supports IA64 processor
6617 lt_prog_compiler_static='-Bstatic'
6618 else
6619 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6622 darwin*)
6623 # PIC is the default on this platform
6624 # Common symbols not allowed in MH_DYLIB files
6625 case $cc_basename in
6626 xlc*)
6627 lt_prog_compiler_pic='-qnocommon'
6628 lt_prog_compiler_wl='-Wl,'
6630 esac
6633 mingw* | cygwin* | pw32* | os2*)
6634 # This hack is so that the source file can tell whether it is being
6635 # built for inclusion in a dll (and should export symbols for example).
6636 lt_prog_compiler_pic='-DDLL_EXPORT'
6639 hpux9* | hpux10* | hpux11*)
6640 lt_prog_compiler_wl='-Wl,'
6641 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6642 # not for PA HP-UX.
6643 case $host_cpu in
6644 hppa*64*|ia64*)
6645 # +Z the default
6648 lt_prog_compiler_pic='+Z'
6650 esac
6651 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6652 lt_prog_compiler_static='${wl}-a ${wl}archive'
6655 irix5* | irix6* | nonstopux*)
6656 lt_prog_compiler_wl='-Wl,'
6657 # PIC (with -KPIC) is the default.
6658 lt_prog_compiler_static='-non_shared'
6661 linux* | k*bsd*-gnu)
6662 case $cc_basename in
6663 icc* | ecc*)
6664 lt_prog_compiler_wl='-Wl,'
6665 lt_prog_compiler_pic='-KPIC'
6666 lt_prog_compiler_static='-static'
6668 pgcc* | pgf77* | pgf90* | pgf95*)
6669 # Portland Group compilers (*not* the Pentium gcc compiler,
6670 # which looks to be a dead project)
6671 lt_prog_compiler_wl='-Wl,'
6672 lt_prog_compiler_pic='-fpic'
6673 lt_prog_compiler_static='-Bstatic'
6675 ccc*)
6676 lt_prog_compiler_wl='-Wl,'
6677 # All Alpha code is PIC.
6678 lt_prog_compiler_static='-non_shared'
6681 case `$CC -V 2>&1 | sed 5q` in
6682 *Sun\ C*)
6683 # Sun C 5.9
6684 lt_prog_compiler_pic='-KPIC'
6685 lt_prog_compiler_static='-Bstatic'
6686 lt_prog_compiler_wl='-Wl,'
6688 *Sun\ F*)
6689 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6690 lt_prog_compiler_pic='-KPIC'
6691 lt_prog_compiler_static='-Bstatic'
6692 lt_prog_compiler_wl=''
6694 esac
6696 esac
6699 newsos6)
6700 lt_prog_compiler_pic='-KPIC'
6701 lt_prog_compiler_static='-Bstatic'
6704 *nto* | *qnx*)
6705 # QNX uses GNU C++, but need to define -shared option too, otherwise
6706 # it will coredump.
6707 lt_prog_compiler_pic='-fPIC -shared'
6710 osf3* | osf4* | osf5*)
6711 lt_prog_compiler_wl='-Wl,'
6712 # All OSF/1 code is PIC.
6713 lt_prog_compiler_static='-non_shared'
6716 rdos*)
6717 lt_prog_compiler_static='-non_shared'
6720 solaris*)
6721 lt_prog_compiler_pic='-KPIC'
6722 lt_prog_compiler_static='-Bstatic'
6723 case $cc_basename in
6724 f77* | f90* | f95*)
6725 lt_prog_compiler_wl='-Qoption ld ';;
6727 lt_prog_compiler_wl='-Wl,';;
6728 esac
6731 sunos4*)
6732 lt_prog_compiler_wl='-Qoption ld '
6733 lt_prog_compiler_pic='-PIC'
6734 lt_prog_compiler_static='-Bstatic'
6737 sysv4 | sysv4.2uw2* | sysv4.3*)
6738 lt_prog_compiler_wl='-Wl,'
6739 lt_prog_compiler_pic='-KPIC'
6740 lt_prog_compiler_static='-Bstatic'
6743 sysv4*MP*)
6744 if test -d /usr/nec ;then
6745 lt_prog_compiler_pic='-Kconform_pic'
6746 lt_prog_compiler_static='-Bstatic'
6750 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6751 lt_prog_compiler_wl='-Wl,'
6752 lt_prog_compiler_pic='-KPIC'
6753 lt_prog_compiler_static='-Bstatic'
6756 unicos*)
6757 lt_prog_compiler_wl='-Wl,'
6758 lt_prog_compiler_can_build_shared=no
6761 uts4*)
6762 lt_prog_compiler_pic='-pic'
6763 lt_prog_compiler_static='-Bstatic'
6767 lt_prog_compiler_can_build_shared=no
6769 esac
6772 case $host_os in
6773 # For platforms which do not support PIC, -DPIC is meaningless:
6774 *djgpp*)
6775 lt_prog_compiler_pic=
6778 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6780 esac
6781 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6782 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6790 # Check to make sure the PIC flag actually works.
6792 if test -n "$lt_prog_compiler_pic"; then
6793 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6794 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6795 if test "${lt_prog_compiler_pic_works+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 else
6798 lt_prog_compiler_pic_works=no
6799 ac_outfile=conftest.$ac_objext
6800 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6801 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6802 # Insert the option either (1) after the last *FLAGS variable, or
6803 # (2) before a word containing "conftest.", or (3) at the end.
6804 # Note that $ac_compile itself does not contain backslashes and begins
6805 # with a dollar sign (not a hyphen), so the echo should work correctly.
6806 # The option is referenced via a variable to avoid confusing sed.
6807 lt_compile=`echo "$ac_compile" | $SED \
6808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6810 -e 's:$: $lt_compiler_flag:'`
6811 (eval echo "\"\$as_me:6811: $lt_compile\"" >&5)
6812 (eval "$lt_compile" 2>conftest.err)
6813 ac_status=$?
6814 cat conftest.err >&5
6815 echo "$as_me:6815: \$? = $ac_status" >&5
6816 if (exit $ac_status) && test -s "$ac_outfile"; then
6817 # The compiler can only warn and ignore the option if not recognized
6818 # So say no if there are warnings other than the usual output.
6819 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6821 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6822 lt_prog_compiler_pic_works=yes
6825 $RM conftest*
6828 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6829 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6831 if test x"$lt_prog_compiler_pic_works" = xyes; then
6832 case $lt_prog_compiler_pic in
6833 "" | " "*) ;;
6834 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6835 esac
6836 else
6837 lt_prog_compiler_pic=
6838 lt_prog_compiler_can_build_shared=no
6849 # Check to make sure the static flag actually works.
6851 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6852 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6853 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6854 if test "${lt_prog_compiler_static_works+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 else
6857 lt_prog_compiler_static_works=no
6858 save_LDFLAGS="$LDFLAGS"
6859 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6860 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6861 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6862 # The linker can only warn and ignore the option if not recognized
6863 # So say no if there are warnings
6864 if test -s conftest.err; then
6865 # Append any errors to the config.log.
6866 cat conftest.err 1>&5
6867 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6868 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6869 if diff conftest.exp conftest.er2 >/dev/null; then
6870 lt_prog_compiler_static_works=yes
6872 else
6873 lt_prog_compiler_static_works=yes
6876 $RM conftest*
6877 LDFLAGS="$save_LDFLAGS"
6880 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6881 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6883 if test x"$lt_prog_compiler_static_works" = xyes; then
6885 else
6886 lt_prog_compiler_static=
6895 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6896 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6897 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6899 else
6900 lt_cv_prog_compiler_c_o=no
6901 $RM -r conftest 2>/dev/null
6902 mkdir conftest
6903 cd conftest
6904 mkdir out
6905 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6907 lt_compiler_flag="-o out/conftest2.$ac_objext"
6908 # Insert the option either (1) after the last *FLAGS variable, or
6909 # (2) before a word containing "conftest.", or (3) at the end.
6910 # Note that $ac_compile itself does not contain backslashes and begins
6911 # with a dollar sign (not a hyphen), so the echo should work correctly.
6912 lt_compile=`echo "$ac_compile" | $SED \
6913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6915 -e 's:$: $lt_compiler_flag:'`
6916 (eval echo "\"\$as_me:6916: $lt_compile\"" >&5)
6917 (eval "$lt_compile" 2>out/conftest.err)
6918 ac_status=$?
6919 cat out/conftest.err >&5
6920 echo "$as_me:6920: \$? = $ac_status" >&5
6921 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6922 then
6923 # The compiler can only warn and ignore the option if not recognized
6924 # So say no if there are warnings
6925 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6926 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6927 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6928 lt_cv_prog_compiler_c_o=yes
6931 chmod u+w . 2>&5
6932 $RM conftest*
6933 # SGI C++ compiler will create directory out/ii_files/ for
6934 # template instantiation
6935 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6936 $RM out/* && rmdir out
6937 cd ..
6938 $RM -r conftest
6939 $RM conftest*
6942 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6943 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6950 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6951 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6952 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 else
6955 lt_cv_prog_compiler_c_o=no
6956 $RM -r conftest 2>/dev/null
6957 mkdir conftest
6958 cd conftest
6959 mkdir out
6960 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6962 lt_compiler_flag="-o out/conftest2.$ac_objext"
6963 # Insert the option either (1) after the last *FLAGS variable, or
6964 # (2) before a word containing "conftest.", or (3) at the end.
6965 # Note that $ac_compile itself does not contain backslashes and begins
6966 # with a dollar sign (not a hyphen), so the echo should work correctly.
6967 lt_compile=`echo "$ac_compile" | $SED \
6968 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6970 -e 's:$: $lt_compiler_flag:'`
6971 (eval echo "\"\$as_me:6971: $lt_compile\"" >&5)
6972 (eval "$lt_compile" 2>out/conftest.err)
6973 ac_status=$?
6974 cat out/conftest.err >&5
6975 echo "$as_me:6975: \$? = $ac_status" >&5
6976 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6977 then
6978 # The compiler can only warn and ignore the option if not recognized
6979 # So say no if there are warnings
6980 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6981 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6982 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6983 lt_cv_prog_compiler_c_o=yes
6986 chmod u+w . 2>&5
6987 $RM conftest*
6988 # SGI C++ compiler will create directory out/ii_files/ for
6989 # template instantiation
6990 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6991 $RM out/* && rmdir out
6992 cd ..
6993 $RM -r conftest
6994 $RM conftest*
6997 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6998 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7003 hard_links="nottested"
7004 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7005 # do not overwrite the value of need_locks provided by the user
7006 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7007 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7008 hard_links=yes
7009 $RM conftest*
7010 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7011 touch conftest.a
7012 ln conftest.a conftest.b 2>&5 || hard_links=no
7013 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7014 echo "$as_me:$LINENO: result: $hard_links" >&5
7015 echo "${ECHO_T}$hard_links" >&6
7016 if test "$hard_links" = no; then
7017 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7018 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7019 need_locks=warn
7021 else
7022 need_locks=no
7030 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7031 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7033 runpath_var=
7034 allow_undefined_flag=
7035 always_export_symbols=no
7036 archive_cmds=
7037 archive_expsym_cmds=
7038 compiler_needs_object=no
7039 enable_shared_with_static_runtimes=no
7040 export_dynamic_flag_spec=
7041 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7042 hardcode_automatic=no
7043 hardcode_direct=no
7044 hardcode_direct_absolute=no
7045 hardcode_libdir_flag_spec=
7046 hardcode_libdir_flag_spec_ld=
7047 hardcode_libdir_separator=
7048 hardcode_minus_L=no
7049 hardcode_shlibpath_var=unsupported
7050 inherit_rpath=no
7051 link_all_deplibs=unknown
7052 module_cmds=
7053 module_expsym_cmds=
7054 old_archive_from_new_cmds=
7055 old_archive_from_expsyms_cmds=
7056 thread_safe_flag_spec=
7057 whole_archive_flag_spec=
7058 # include_expsyms should be a list of space-separated symbols to be *always*
7059 # included in the symbol list
7060 include_expsyms=
7061 # exclude_expsyms can be an extended regexp of symbols to exclude
7062 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7063 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7064 # as well as any symbol that contains `d'.
7065 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7066 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7067 # platforms (ab)use it in PIC code, but their linkers get confused if
7068 # the symbol is explicitly referenced. Since portable code cannot
7069 # rely on this symbol name, it's probably fine to never include it in
7070 # preloaded symbol tables.
7071 extract_expsyms_cmds=
7073 case $host_os in
7074 cygwin* | mingw* | pw32*)
7075 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7076 # When not using gcc, we currently assume that we are using
7077 # Microsoft Visual C++.
7078 if test "$GCC" != yes; then
7079 with_gnu_ld=no
7082 interix*)
7083 # we just hope/assume this is gcc and not c89 (= MSVC++)
7084 with_gnu_ld=yes
7086 openbsd*)
7087 with_gnu_ld=no
7089 esac
7091 ld_shlibs=yes
7092 if test "$with_gnu_ld" = yes; then
7093 # If archive_cmds runs LD, not CC, wlarc should be empty
7094 wlarc='${wl}'
7096 # Set some defaults for GNU ld with shared library support. These
7097 # are reset later if shared libraries are not supported. Putting them
7098 # here allows them to be overridden if necessary.
7099 runpath_var=LD_RUN_PATH
7100 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7101 export_dynamic_flag_spec='${wl}--export-dynamic'
7102 # ancient GNU ld didn't support --whole-archive et. al.
7103 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7104 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7105 else
7106 whole_archive_flag_spec=
7108 supports_anon_versioning=no
7109 case `$LD -v 2>&1` in
7110 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7111 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7112 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7113 *\ 2.11.*) ;; # other 2.11 versions
7114 *) supports_anon_versioning=yes ;;
7115 esac
7117 # See if GNU ld supports shared libraries.
7118 case $host_os in
7119 aix3* | aix4* | aix5*)
7120 # On AIX/PPC, the GNU linker is very broken
7121 if test "$host_cpu" != ia64; then
7122 ld_shlibs=no
7123 cat <<_LT_EOF 1>&2
7125 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7126 *** to be unable to reliably create shared libraries on AIX.
7127 *** Therefore, libtool is disabling shared libraries support. If you
7128 *** really care for shared libraries, you may want to modify your PATH
7129 *** so that a non-GNU linker is found, and then restart.
7131 _LT_EOF
7135 amigaos*)
7136 if test "$host_cpu" = m68k; then
7137 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)'
7138 hardcode_libdir_flag_spec='-L$libdir'
7139 hardcode_minus_L=yes
7142 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7143 # that the semantics of dynamic libraries on AmigaOS, at least up
7144 # to version 4, is to share data among multiple programs linked
7145 # with the same dynamic library. Since this doesn't match the
7146 # behavior of shared libraries on other platforms, we can't use
7147 # them.
7148 ld_shlibs=no
7151 beos*)
7152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7153 allow_undefined_flag=unsupported
7154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7155 # support --undefined. This deserves some investigation. FIXME
7156 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7157 else
7158 ld_shlibs=no
7162 cygwin* | mingw* | pw32*)
7163 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7164 # as there is no search path for DLLs.
7165 hardcode_libdir_flag_spec='-L$libdir'
7166 allow_undefined_flag=unsupported
7167 always_export_symbols=no
7168 enable_shared_with_static_runtimes=yes
7169 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7171 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7173 # If the export-symbols file already is a .def file (1st line
7174 # is EXPORTS), use it as is; otherwise, prepend...
7175 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7176 cp $export_symbols $output_objdir/$soname.def;
7177 else
7178 echo EXPORTS > $output_objdir/$soname.def;
7179 cat $export_symbols >> $output_objdir/$soname.def;
7181 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7182 else
7183 ld_shlibs=no
7187 interix[3-9]*)
7188 hardcode_direct=no
7189 hardcode_shlibpath_var=no
7190 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7191 export_dynamic_flag_spec='${wl}-E'
7192 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7193 # Instead, shared libraries are loaded at an image base (0x10000000 by
7194 # default) and relocated if they conflict, which is a slow very memory
7195 # consuming and fragmenting process. To avoid this, we pick a random,
7196 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7197 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7198 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7199 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'
7202 gnu* | linux* | tpf* | k*bsd*-gnu)
7203 tmp_diet=no
7204 if test "$host_os" = linux-dietlibc; then
7205 case $cc_basename in
7206 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7207 esac
7209 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7210 && test "$tmp_diet" = no
7211 then
7212 tmp_addflag=
7213 case $cc_basename,$host_cpu in
7214 pgcc*) # Portland Group C compiler
7215 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'
7216 tmp_addflag=' $pic_flag'
7218 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7219 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'
7220 tmp_addflag=' $pic_flag -Mnomain' ;;
7221 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7222 tmp_addflag=' -i_dynamic' ;;
7223 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7224 tmp_addflag=' -i_dynamic -nofor_main' ;;
7225 ifc* | ifort*) # Intel Fortran compiler
7226 tmp_addflag=' -nofor_main' ;;
7227 esac
7228 case `$CC -V 2>&1 | sed 5q` in
7229 *Sun\ C*) # Sun C 5.9
7230 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'
7231 compiler_needs_object=yes
7232 tmp_sharedflag='-G' ;;
7233 *Sun\ F*) # Sun Fortran 8.3
7234 tmp_sharedflag='-G' ;;
7236 tmp_sharedflag='-shared' ;;
7237 esac
7238 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7240 if test "x$supports_anon_versioning" = xyes; then
7241 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7242 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7243 echo "local: *; };" >> $output_objdir/$libname.ver~
7244 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7246 else
7247 ld_shlibs=no
7251 netbsd*)
7252 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7253 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7254 wlarc=
7255 else
7256 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7257 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7261 solaris*)
7262 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7263 ld_shlibs=no
7264 cat <<_LT_EOF 1>&2
7266 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7267 *** create shared libraries on Solaris systems. Therefore, libtool
7268 *** is disabling shared libraries support. We urge you to upgrade GNU
7269 *** binutils to release 2.9.1 or newer. Another option is to modify
7270 *** your PATH or compiler configuration so that the native linker is
7271 *** used, and then restart.
7273 _LT_EOF
7274 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7275 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7276 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7277 else
7278 ld_shlibs=no
7282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7283 case `$LD -v 2>&1` in
7284 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7285 ld_shlibs=no
7286 cat <<_LT_EOF 1>&2
7288 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7289 *** reliably create shared libraries on SCO systems. Therefore, libtool
7290 *** is disabling shared libraries support. We urge you to upgrade GNU
7291 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7292 *** your PATH or compiler configuration so that the native linker is
7293 *** used, and then restart.
7295 _LT_EOF
7298 # For security reasons, it is highly recommended that you always
7299 # use absolute paths for naming shared libraries, and exclude the
7300 # DT_RUNPATH tag from executables and libraries. But doing so
7301 # requires that you compile everything twice, which is a pain.
7302 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7304 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7305 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7306 else
7307 ld_shlibs=no
7310 esac
7313 sunos4*)
7314 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7315 wlarc=
7316 hardcode_direct=yes
7317 hardcode_shlibpath_var=no
7321 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7322 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7323 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7324 else
7325 ld_shlibs=no
7328 esac
7330 if test "$ld_shlibs" = no; then
7331 runpath_var=
7332 hardcode_libdir_flag_spec=
7333 export_dynamic_flag_spec=
7334 whole_archive_flag_spec=
7336 else
7337 # PORTME fill in a description of your system's linker (not GNU ld)
7338 case $host_os in
7339 aix3*)
7340 allow_undefined_flag=unsupported
7341 always_export_symbols=yes
7342 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'
7343 # Note: this linker hardcodes the directories in LIBPATH if there
7344 # are no directories specified by -L.
7345 hardcode_minus_L=yes
7346 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7347 # Neither direct hardcoding nor static linking is supported with a
7348 # broken collect2.
7349 hardcode_direct=unsupported
7353 aix4* | aix5*)
7354 if test "$host_cpu" = ia64; then
7355 # On IA64, the linker does run time linking by default, so we don't
7356 # have to do anything special.
7357 aix_use_runtimelinking=no
7358 exp_sym_flag='-Bexport'
7359 no_entry_flag=""
7360 else
7361 # If we're using GNU nm, then we don't want the "-C" option.
7362 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7363 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7364 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'
7365 else
7366 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7368 aix_use_runtimelinking=no
7370 # Test if we are trying to use run time linking or normal
7371 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7372 # need to do runtime linking.
7373 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7374 for ld_flag in $LDFLAGS; do
7375 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7376 aix_use_runtimelinking=yes
7377 break
7379 done
7381 esac
7383 exp_sym_flag='-bexport'
7384 no_entry_flag='-bnoentry'
7387 # When large executables or shared objects are built, AIX ld can
7388 # have problems creating the table of contents. If linking a library
7389 # or program results in "error TOC overflow" add -mminimal-toc to
7390 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7391 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7393 archive_cmds=''
7394 hardcode_direct=yes
7395 hardcode_direct_absolute=yes
7396 hardcode_libdir_separator=':'
7397 link_all_deplibs=yes
7398 file_list_spec='${wl}-f,'
7400 if test "$GCC" = yes; then
7401 case $host_os in aix4.[012]|aix4.[012].*)
7402 # We only want to do this on AIX 4.2 and lower, the check
7403 # below for broken collect2 doesn't work under 4.3+
7404 collect2name=`${CC} -print-prog-name=collect2`
7405 if test -f "$collect2name" &&
7406 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7407 then
7408 # We have reworked collect2
7410 else
7411 # We have old collect2
7412 hardcode_direct=unsupported
7413 # It fails to find uninstalled libraries when the uninstalled
7414 # path is not listed in the libpath. Setting hardcode_minus_L
7415 # to unsupported forces relinking
7416 hardcode_minus_L=yes
7417 hardcode_libdir_flag_spec='-L$libdir'
7418 hardcode_libdir_separator=
7421 esac
7422 shared_flag='-shared'
7423 if test "$aix_use_runtimelinking" = yes; then
7424 shared_flag="$shared_flag "'${wl}-G'
7426 else
7427 # not using gcc
7428 if test "$host_cpu" = ia64; then
7429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7430 # chokes on -Wl,-G. The following line is correct:
7431 shared_flag='-G'
7432 else
7433 if test "$aix_use_runtimelinking" = yes; then
7434 shared_flag='${wl}-G'
7435 else
7436 shared_flag='${wl}-bM:SRE'
7441 # It seems that -bexpall does not export symbols beginning with
7442 # underscore (_), so it is better to generate a list of symbols to export.
7443 always_export_symbols=yes
7444 if test "$aix_use_runtimelinking" = yes; then
7445 # Warning - without using the other runtime loading flags (-brtl),
7446 # -berok will link without error, but may produce a broken library.
7447 allow_undefined_flag='-berok'
7448 # Determine the default libpath from the value encoded in an
7449 # empty executable.
7450 if test x$gcc_no_link = xyes; then
7451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7453 { (exit 1); exit 1; }; }
7455 cat >conftest.$ac_ext <<_ACEOF
7456 /* confdefs.h. */
7457 _ACEOF
7458 cat confdefs.h >>conftest.$ac_ext
7459 cat >>conftest.$ac_ext <<_ACEOF
7460 /* end confdefs.h. */
7463 main ()
7467 return 0;
7469 _ACEOF
7470 rm -f conftest.$ac_objext conftest$ac_exeext
7471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7472 (eval $ac_link) 2>conftest.er1
7473 ac_status=$?
7474 grep -v '^ *+' conftest.er1 >conftest.err
7475 rm -f conftest.er1
7476 cat conftest.err >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } &&
7479 { ac_try='test -z "$ac_c_werror_flag"
7480 || test ! -s conftest.err'
7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; } &&
7486 { ac_try='test -s conftest$ac_exeext'
7487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 (eval $ac_try) 2>&5
7489 ac_status=$?
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); }; }; then
7493 lt_aix_libpath_sed='
7494 /Import File Strings/,/^$/ {
7495 /^0/ {
7496 s/^0 *\(.*\)$/\1/
7500 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7501 # Check for a 64-bit object if we didn't find anything.
7502 if test -z "$aix_libpath"; then
7503 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7505 else
7506 echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.$ac_ext >&5
7510 rm -f conftest.err conftest.$ac_objext \
7511 conftest$ac_exeext conftest.$ac_ext
7512 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7514 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7515 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"
7516 else
7517 if test "$host_cpu" = ia64; then
7518 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7519 allow_undefined_flag="-z nodefs"
7520 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"
7521 else
7522 # Determine the default libpath from the value encoded in an
7523 # empty executable.
7524 if test x$gcc_no_link = xyes; then
7525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7527 { (exit 1); exit 1; }; }
7529 cat >conftest.$ac_ext <<_ACEOF
7530 /* confdefs.h. */
7531 _ACEOF
7532 cat confdefs.h >>conftest.$ac_ext
7533 cat >>conftest.$ac_ext <<_ACEOF
7534 /* end confdefs.h. */
7537 main ()
7541 return 0;
7543 _ACEOF
7544 rm -f conftest.$ac_objext conftest$ac_exeext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7546 (eval $ac_link) 2>conftest.er1
7547 ac_status=$?
7548 grep -v '^ *+' conftest.er1 >conftest.err
7549 rm -f conftest.er1
7550 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } &&
7553 { ac_try='test -z "$ac_c_werror_flag"
7554 || test ! -s conftest.err'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 (eval $ac_try) 2>&5
7557 ac_status=$?
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; } &&
7560 { ac_try='test -s conftest$ac_exeext'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 (eval $ac_try) 2>&5
7563 ac_status=$?
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; }; then
7567 lt_aix_libpath_sed='
7568 /Import File Strings/,/^$/ {
7569 /^0/ {
7570 s/^0 *\(.*\)$/\1/
7574 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7575 # Check for a 64-bit object if we didn't find anything.
7576 if test -z "$aix_libpath"; then
7577 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7579 else
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.$ac_ext >&5
7584 rm -f conftest.err conftest.$ac_objext \
7585 conftest$ac_exeext conftest.$ac_ext
7586 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7588 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7589 # Warning - without using the other run time loading flags,
7590 # -berok will link without error, but may produce a broken library.
7591 no_undefined_flag=' ${wl}-bernotok'
7592 allow_undefined_flag=' ${wl}-berok'
7593 # Exported symbols can be pulled into shared objects from archives
7594 whole_archive_flag_spec='$convenience'
7595 archive_cmds_need_lc=yes
7596 # This is similar to how AIX traditionally builds its shared libraries.
7597 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'
7602 amigaos*)
7603 if test "$host_cpu" = m68k; then
7604 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)'
7605 hardcode_libdir_flag_spec='-L$libdir'
7606 hardcode_minus_L=yes
7608 # see comment about different semantics on the GNU ld section
7609 ld_shlibs=no
7612 bsdi[45]*)
7613 export_dynamic_flag_spec=-rdynamic
7616 cygwin* | mingw* | pw32*)
7617 # When not using gcc, we currently assume that we are using
7618 # Microsoft Visual C++.
7619 # hardcode_libdir_flag_spec is actually meaningless, as there is
7620 # no search path for DLLs.
7621 hardcode_libdir_flag_spec=' '
7622 allow_undefined_flag=unsupported
7623 # Tell ltmain to make .lib files, not .a files.
7624 libext=lib
7625 # Tell ltmain to make .dll files, not .so files.
7626 shrext_cmds=".dll"
7627 # FIXME: Setting linknames here is a bad hack.
7628 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7629 # The linker will automatically build a .lib file if we build a DLL.
7630 old_archive_from_new_cmds='true'
7631 # FIXME: Should let the user specify the lib program.
7632 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7633 fix_srcfile_path='`cygpath -w "$srcfile"`'
7634 enable_shared_with_static_runtimes=yes
7637 darwin* | rhapsody*)
7638 case $host_os in
7639 rhapsody* | darwin1.[012])
7640 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7642 *) # Darwin 1.3 on
7643 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7644 10.[012])
7645 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7647 10.*)
7648 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7650 esac
7652 esac
7653 archive_cmds_need_lc=no
7654 hardcode_direct=no
7655 hardcode_automatic=yes
7656 hardcode_shlibpath_var=unsupported
7657 whole_archive_flag_spec=''
7658 link_all_deplibs=yes
7659 if test "$GCC" = yes ; then
7660 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663 lt_cv_apple_cc_single_mod=no
7664 if test -z "${LT_MULTI_MODULE}"; then
7665 # By default we will add the -single_module flag. You can override
7666 # by either setting the environment variable LT_MULTI_MODULE
7667 # non-empty at configure time, or by adding -multi-module to the
7668 # link flags.
7669 echo "int foo(void){return 1;}" > conftest.c
7670 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7671 -dynamiclib ${wl}-single_module conftest.c
7672 if test -f libconftest.dylib; then
7673 lt_cv_apple_cc_single_mod=yes
7674 rm libconftest.dylib
7676 rm conftest.$ac_ext
7680 output_verbose_link_cmd=echo
7681 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7682 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7683 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7684 else
7685 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7686 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7688 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7689 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7690 else
7691 case $cc_basename in
7692 xlc*)
7693 output_verbose_link_cmd=echo
7694 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7695 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7696 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7697 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7698 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7701 ld_shlibs=no
7703 esac
7707 dgux*)
7708 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7709 hardcode_libdir_flag_spec='-L$libdir'
7710 hardcode_shlibpath_var=no
7713 freebsd1*)
7714 ld_shlibs=no
7717 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7718 # support. Future versions do this automatically, but an explicit c++rt0.o
7719 # does not break anything, and helps significantly (at the cost of a little
7720 # extra space).
7721 freebsd2.2*)
7722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7723 hardcode_libdir_flag_spec='-R$libdir'
7724 hardcode_direct=yes
7725 hardcode_shlibpath_var=no
7728 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7729 freebsd2*)
7730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7731 hardcode_direct=yes
7732 hardcode_minus_L=yes
7733 hardcode_shlibpath_var=no
7736 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7737 freebsd* | dragonfly*)
7738 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7739 hardcode_libdir_flag_spec='-R$libdir'
7740 hardcode_direct=yes
7741 hardcode_shlibpath_var=no
7744 hpux9*)
7745 if test "$GCC" = yes; then
7746 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'
7747 else
7748 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7750 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7751 hardcode_libdir_separator=:
7752 hardcode_direct=yes
7754 # hardcode_minus_L: Not really in the search PATH,
7755 # but as the default location of the library.
7756 hardcode_minus_L=yes
7757 export_dynamic_flag_spec='${wl}-E'
7760 hpux10*)
7761 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7763 else
7764 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7766 if test "$with_gnu_ld" = no; then
7767 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7768 hardcode_libdir_flag_spec_ld='+b $libdir'
7769 hardcode_libdir_separator=:
7770 hardcode_direct=yes
7771 hardcode_direct_absolute=yes
7772 export_dynamic_flag_spec='${wl}-E'
7773 # hardcode_minus_L: Not really in the search PATH,
7774 # but as the default location of the library.
7775 hardcode_minus_L=yes
7779 hpux11*)
7780 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7781 case $host_cpu in
7782 hppa*64*)
7783 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7785 ia64*)
7786 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7791 esac
7792 else
7793 case $host_cpu in
7794 hppa*64*)
7795 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7797 ia64*)
7798 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7801 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7803 esac
7805 if test "$with_gnu_ld" = no; then
7806 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7807 hardcode_libdir_separator=:
7809 case $host_cpu in
7810 hppa*64*|ia64*)
7811 hardcode_direct=no
7812 hardcode_shlibpath_var=no
7815 hardcode_direct=yes
7816 hardcode_direct_absolute=yes
7817 export_dynamic_flag_spec='${wl}-E'
7819 # hardcode_minus_L: Not really in the search PATH,
7820 # but as the default location of the library.
7821 hardcode_minus_L=yes
7823 esac
7827 irix5* | irix6* | nonstopux*)
7828 if test "$GCC" = yes; then
7829 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'
7830 # Try to use the -exported_symbol ld option, if it does not
7831 # work, assume that -exports_file does not work either and
7832 # implicitly export all symbols.
7833 save_LDFLAGS="$LDFLAGS"
7834 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7835 if test x$gcc_no_link = xyes; then
7836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7838 { (exit 1); exit 1; }; }
7840 cat >conftest.$ac_ext <<_ACEOF
7841 int foo(void) {}
7842 _ACEOF
7843 rm -f conftest.$ac_objext conftest$ac_exeext
7844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7845 (eval $ac_link) 2>conftest.er1
7846 ac_status=$?
7847 grep -v '^ *+' conftest.er1 >conftest.err
7848 rm -f conftest.er1
7849 cat conftest.err >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } &&
7852 { ac_try='test -z "$ac_c_werror_flag"
7853 || test ! -s conftest.err'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 (eval $ac_try) 2>&5
7856 ac_status=$?
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; } &&
7859 { ac_try='test -s conftest$ac_exeext'
7860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 (eval $ac_try) 2>&5
7862 ac_status=$?
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); }; }; then
7865 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7867 else
7868 echo "$as_me: failed program was:" >&5
7869 sed 's/^/| /' conftest.$ac_ext >&5
7872 rm -f conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
7874 LDFLAGS="$save_LDFLAGS"
7875 else
7876 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'
7877 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7879 archive_cmds_need_lc='no'
7880 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7881 hardcode_libdir_separator=:
7882 inherit_rpath=yes
7883 link_all_deplibs=yes
7886 netbsd*)
7887 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7888 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7889 else
7890 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7892 hardcode_libdir_flag_spec='-R$libdir'
7893 hardcode_direct=yes
7894 hardcode_shlibpath_var=no
7897 newsos6)
7898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7899 hardcode_direct=yes
7900 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7901 hardcode_libdir_separator=:
7902 hardcode_shlibpath_var=no
7905 *nto* | *qnx*)
7908 openbsd*)
7909 hardcode_direct=yes
7910 hardcode_shlibpath_var=no
7911 hardcode_direct_absolute=yes
7912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7914 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7916 export_dynamic_flag_spec='${wl}-E'
7917 else
7918 case $host_os in
7919 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7921 hardcode_libdir_flag_spec='-R$libdir'
7924 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7925 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7927 esac
7931 os2*)
7932 hardcode_libdir_flag_spec='-L$libdir'
7933 hardcode_minus_L=yes
7934 allow_undefined_flag=unsupported
7935 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'
7936 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7939 osf3*)
7940 if test "$GCC" = yes; then
7941 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7942 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'
7943 else
7944 allow_undefined_flag=' -expect_unresolved \*'
7945 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7947 archive_cmds_need_lc='no'
7948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7949 hardcode_libdir_separator=:
7952 osf4* | osf5*) # as osf3* with the addition of -msym flag
7953 if test "$GCC" = yes; then
7954 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7955 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'
7956 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7957 else
7958 allow_undefined_flag=' -expect_unresolved \*'
7959 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'
7960 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~
7961 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7963 # Both c and cxx compiler support -rpath directly
7964 hardcode_libdir_flag_spec='-rpath $libdir'
7966 archive_cmds_need_lc='no'
7967 hardcode_libdir_separator=:
7970 solaris*)
7971 no_undefined_flag=' -z defs'
7972 if test "$GCC" = yes; then
7973 wlarc='${wl}'
7974 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7976 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7977 else
7978 case `$CC -V 2>&1` in
7979 *"Compilers 5.0"*)
7980 wlarc=''
7981 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7983 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7986 wlarc='${wl}'
7987 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7988 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7989 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7991 esac
7993 hardcode_libdir_flag_spec='-R$libdir'
7994 hardcode_shlibpath_var=no
7995 case $host_os in
7996 solaris2.[0-5] | solaris2.[0-5].*) ;;
7998 # The compiler driver will combine and reorder linker options,
7999 # but understands `-z linker_flag'. GCC discards it without `$wl',
8000 # but is careful enough not to reorder.
8001 # Supported since Solaris 2.6 (maybe 2.5.1?)
8002 if test "$GCC" = yes; then
8003 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8004 else
8005 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8008 esac
8009 link_all_deplibs=yes
8012 sunos4*)
8013 if test "x$host_vendor" = xsequent; then
8014 # Use $CC to link under sequent, because it throws in some extra .o
8015 # files that make .init and .fini sections work.
8016 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8017 else
8018 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8020 hardcode_libdir_flag_spec='-L$libdir'
8021 hardcode_direct=yes
8022 hardcode_minus_L=yes
8023 hardcode_shlibpath_var=no
8026 sysv4)
8027 case $host_vendor in
8028 sni)
8029 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8030 hardcode_direct=yes # is this really true???
8032 siemens)
8033 ## LD is ld it makes a PLAMLIB
8034 ## CC just makes a GrossModule.
8035 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8036 reload_cmds='$CC -r -o $output$reload_objs'
8037 hardcode_direct=no
8039 motorola)
8040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8041 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8043 esac
8044 runpath_var='LD_RUN_PATH'
8045 hardcode_shlibpath_var=no
8048 sysv4.3*)
8049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8050 hardcode_shlibpath_var=no
8051 export_dynamic_flag_spec='-Bexport'
8054 sysv4*MP*)
8055 if test -d /usr/nec; then
8056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8057 hardcode_shlibpath_var=no
8058 runpath_var=LD_RUN_PATH
8059 hardcode_runpath_var=yes
8060 ld_shlibs=yes
8064 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8065 no_undefined_flag='${wl}-z,text'
8066 archive_cmds_need_lc=no
8067 hardcode_shlibpath_var=no
8068 runpath_var='LD_RUN_PATH'
8070 if test "$GCC" = yes; then
8071 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8072 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8073 else
8074 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8075 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8079 sysv5* | sco3.2v5* | sco5v6*)
8080 # Note: We can NOT use -z defs as we might desire, because we do not
8081 # link with -lc, and that would cause any symbols used from libc to
8082 # always be unresolved, which means just about no library would
8083 # ever link correctly. If we're not using GNU ld we use -z text
8084 # though, which does catch some bad symbols but isn't as heavy-handed
8085 # as -z defs.
8086 no_undefined_flag='${wl}-z,text'
8087 allow_undefined_flag='${wl}-z,nodefs'
8088 archive_cmds_need_lc=no
8089 hardcode_shlibpath_var=no
8090 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8091 hardcode_libdir_separator=':'
8092 link_all_deplibs=yes
8093 export_dynamic_flag_spec='${wl}-Bexport'
8094 runpath_var='LD_RUN_PATH'
8096 if test "$GCC" = yes; then
8097 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8098 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8099 else
8100 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8101 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8105 uts4*)
8106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8107 hardcode_libdir_flag_spec='-L$libdir'
8108 hardcode_shlibpath_var=no
8112 ld_shlibs=no
8114 esac
8116 if test x$host_vendor = xsni; then
8117 case $host in
8118 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8119 export_dynamic_flag_spec='${wl}-Blargedynsym'
8121 esac
8125 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8126 echo "${ECHO_T}$ld_shlibs" >&6
8127 test "$ld_shlibs" = no && can_build_shared=no
8129 with_gnu_ld=$with_gnu_ld
8146 # Do we need to explicitly link libc?
8148 case "x$archive_cmds_need_lc" in
8149 x|xyes)
8150 # Assume -lc should be added
8151 archive_cmds_need_lc=yes
8153 if test "$enable_shared" = yes && test "$GCC" = yes; then
8154 case $archive_cmds in
8155 *'~'*)
8156 # FIXME: we may have to deal with multi-command sequences.
8158 '$CC '*)
8159 # Test whether the compiler implicitly links with -lc since on some
8160 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8161 # to ld, don't add -lc before -lgcc.
8162 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8163 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8164 $RM conftest*
8165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8168 (eval $ac_compile) 2>&5
8169 ac_status=$?
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } 2>conftest.err; then
8172 soname=conftest
8173 lib=conftest
8174 libobjs=conftest.$ac_objext
8175 deplibs=
8176 wl=$lt_prog_compiler_wl
8177 pic_flag=$lt_prog_compiler_pic
8178 compiler_flags=-v
8179 linker_flags=-v
8180 verstring=
8181 output_objdir=.
8182 libname=conftest
8183 lt_save_allow_undefined_flag=$allow_undefined_flag
8184 allow_undefined_flag=
8185 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8186 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8187 ac_status=$?
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }
8190 then
8191 archive_cmds_need_lc=no
8192 else
8193 archive_cmds_need_lc=yes
8195 allow_undefined_flag=$lt_save_allow_undefined_flag
8196 else
8197 cat conftest.err 1>&5
8199 $RM conftest*
8200 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8201 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8203 esac
8206 esac
8364 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8365 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8366 withGCC=$GCC
8367 if test "$withGCC" = yes; then
8368 case $host_os in
8369 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8370 *) lt_awk_arg="/^libraries:/" ;;
8371 esac
8372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8373 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8374 # if the path contains ";" then we assume it to be the separator
8375 # otherwise default to the standard path separator (i.e. ":") - it is
8376 # assumed that no part of a normal pathname contains ";" but that should
8377 # okay in the real world where ";" in dirpaths is itself problematic.
8378 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8379 else
8380 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8382 # Ok, now we have the path, separated by spaces, we can step through it
8383 # and add multilib dir if necessary.
8384 lt_tmp_lt_search_path_spec=
8385 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8386 for lt_sys_path in $lt_search_path_spec; do
8387 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8388 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8389 else
8390 test -d "$lt_sys_path" && \
8391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8393 done
8394 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8395 BEGIN {RS=" "; FS="/|\n";} {
8396 lt_foo="";
8397 lt_count=0;
8398 for (lt_i = NF; lt_i > 0; lt_i--) {
8399 if ($lt_i != "" && $lt_i != ".") {
8400 if ($lt_i == "..") {
8401 lt_count++;
8402 } else {
8403 if (lt_count == 0) {
8404 lt_foo="/" $lt_i lt_foo;
8405 } else {
8406 lt_count--;
8411 if (lt_foo != "") { lt_freq[lt_foo]++; }
8412 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8414 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8415 else
8416 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8418 library_names_spec=
8419 libname_spec='lib$name'
8420 soname_spec=
8421 shrext_cmds=".so"
8422 postinstall_cmds=
8423 postuninstall_cmds=
8424 finish_cmds=
8425 finish_eval=
8426 shlibpath_var=
8427 shlibpath_overrides_runpath=unknown
8428 version_type=none
8429 dynamic_linker="$host_os ld.so"
8430 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8431 need_lib_prefix=unknown
8432 hardcode_into_libs=no
8434 # when you set need_version to no, make sure it does not cause -set_version
8435 # flags to be left without arguments
8436 need_version=unknown
8438 case $host_os in
8439 aix3*)
8440 version_type=linux
8441 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8442 shlibpath_var=LIBPATH
8444 # AIX 3 has no versioning support, so we append a major version to the name.
8445 soname_spec='${libname}${release}${shared_ext}$major'
8448 aix4* | aix5*)
8449 version_type=linux
8450 need_lib_prefix=no
8451 need_version=no
8452 hardcode_into_libs=yes
8453 if test "$host_cpu" = ia64; then
8454 # AIX 5 supports IA64
8455 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8456 shlibpath_var=LD_LIBRARY_PATH
8457 else
8458 # With GCC up to 2.95.x, collect2 would create an import file
8459 # for dependence libraries. The import file would start with
8460 # the line `#! .'. This would cause the generated library to
8461 # depend on `.', always an invalid library. This was fixed in
8462 # development snapshots of GCC prior to 3.0.
8463 case $host_os in
8464 aix4 | aix4.[01] | aix4.[01].*)
8465 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8466 echo ' yes '
8467 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8469 else
8470 can_build_shared=no
8473 esac
8474 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8475 # soname into executable. Probably we can add versioning support to
8476 # collect2, so additional links can be useful in future.
8477 if test "$aix_use_runtimelinking" = yes; then
8478 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8479 # instead of lib<name>.a to let people know that these are not
8480 # typical AIX shared libraries.
8481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8482 else
8483 # We preserve .a as extension for shared libraries through AIX4.2
8484 # and later when we are not doing run time linking.
8485 library_names_spec='${libname}${release}.a $libname.a'
8486 soname_spec='${libname}${release}${shared_ext}$major'
8488 shlibpath_var=LIBPATH
8492 amigaos*)
8493 if test "$host_cpu" = m68k; then
8494 library_names_spec='$libname.ixlibrary $libname.a'
8495 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8496 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'
8497 else
8498 dynamic_linker=no
8502 beos*)
8503 library_names_spec='${libname}${shared_ext}'
8504 dynamic_linker="$host_os ld.so"
8505 shlibpath_var=LIBRARY_PATH
8508 bsdi[45]*)
8509 version_type=linux
8510 need_version=no
8511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8512 soname_spec='${libname}${release}${shared_ext}$major'
8513 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8514 shlibpath_var=LD_LIBRARY_PATH
8515 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8516 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8517 # the default ld.so.conf also contains /usr/contrib/lib and
8518 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8519 # libtool to hard-code these into programs
8522 cygwin* | mingw* | pw32*)
8523 version_type=windows
8524 shrext_cmds=".dll"
8525 need_version=no
8526 need_lib_prefix=no
8528 case $withGCC,$host_os in
8529 yes,cygwin* | yes,mingw* | yes,pw32*)
8530 library_names_spec='$libname.dll.a'
8531 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8532 postinstall_cmds='base_file=`basename \${file}`~
8533 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8534 dldir=$destdir/`dirname \$dlpath`~
8535 test -d \$dldir || mkdir -p \$dldir~
8536 $install_prog $dir/$dlname \$dldir/$dlname~
8537 chmod a+x \$dldir/$dlname~
8538 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8539 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8541 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8542 dlpath=$dir/\$dldll~
8543 $RM \$dlpath'
8544 shlibpath_overrides_runpath=yes
8546 case $host_os in
8547 cygwin*)
8548 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8549 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8550 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8552 mingw*)
8553 # MinGW DLLs use traditional 'lib' prefix
8554 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8555 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8556 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8557 # It is most probably a Windows format PATH printed by
8558 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8559 # path with ; separators, and with drive letters. We can handle the
8560 # drive letters (cygwin fileutils understands them), so leave them,
8561 # especially as we might pass files found there to a mingw objdump,
8562 # which wouldn't understand a cygwinified path. Ahh.
8563 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8564 else
8565 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8568 pw32*)
8569 # pw32 DLLs use 'pw' prefix rather than 'lib'
8570 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8572 esac
8576 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8578 esac
8579 dynamic_linker='Win32 ld.exe'
8580 # FIXME: first we should search . and the directory the executable is in
8581 shlibpath_var=PATH
8584 darwin* | rhapsody*)
8585 dynamic_linker="$host_os dyld"
8586 version_type=darwin
8587 need_lib_prefix=no
8588 need_version=no
8589 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8590 soname_spec='${libname}${release}${major}$shared_ext'
8591 shlibpath_overrides_runpath=yes
8592 shlibpath_var=DYLD_LIBRARY_PATH
8593 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8595 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8596 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8599 dgux*)
8600 version_type=linux
8601 need_lib_prefix=no
8602 need_version=no
8603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8604 soname_spec='${libname}${release}${shared_ext}$major'
8605 shlibpath_var=LD_LIBRARY_PATH
8608 freebsd1*)
8609 dynamic_linker=no
8612 freebsd* | dragonfly*)
8613 # DragonFly does not have aout. When/if they implement a new
8614 # versioning mechanism, adjust this.
8615 if test -x /usr/bin/objformat; then
8616 objformat=`/usr/bin/objformat`
8617 else
8618 case $host_os in
8619 freebsd[123]*) objformat=aout ;;
8620 *) objformat=elf ;;
8621 esac
8623 version_type=freebsd-$objformat
8624 case $version_type in
8625 freebsd-elf*)
8626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8627 need_version=no
8628 need_lib_prefix=no
8630 freebsd-*)
8631 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8632 need_version=yes
8634 esac
8635 shlibpath_var=LD_LIBRARY_PATH
8636 case $host_os in
8637 freebsd2*)
8638 shlibpath_overrides_runpath=yes
8640 freebsd3.[01]* | freebsdelf3.[01]*)
8641 shlibpath_overrides_runpath=yes
8642 hardcode_into_libs=yes
8644 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8645 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8646 shlibpath_overrides_runpath=no
8647 hardcode_into_libs=yes
8649 *) # from 4.6 on, and DragonFly
8650 shlibpath_overrides_runpath=yes
8651 hardcode_into_libs=yes
8653 esac
8656 gnu*)
8657 version_type=linux
8658 need_lib_prefix=no
8659 need_version=no
8660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8661 soname_spec='${libname}${release}${shared_ext}$major'
8662 shlibpath_var=LD_LIBRARY_PATH
8663 hardcode_into_libs=yes
8666 hpux9* | hpux10* | hpux11*)
8667 # Give a soname corresponding to the major version so that dld.sl refuses to
8668 # link against other versions.
8669 version_type=sunos
8670 need_lib_prefix=no
8671 need_version=no
8672 case $host_cpu in
8673 ia64*)
8674 shrext_cmds='.so'
8675 hardcode_into_libs=yes
8676 dynamic_linker="$host_os dld.so"
8677 shlibpath_var=LD_LIBRARY_PATH
8678 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8680 soname_spec='${libname}${release}${shared_ext}$major'
8681 if test "X$HPUX_IA64_MODE" = X32; then
8682 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8683 else
8684 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8686 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8688 hppa*64*)
8689 shrext_cmds='.sl'
8690 hardcode_into_libs=yes
8691 dynamic_linker="$host_os dld.sl"
8692 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8695 soname_spec='${libname}${release}${shared_ext}$major'
8696 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8697 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8700 shrext_cmds='.sl'
8701 dynamic_linker="$host_os dld.sl"
8702 shlibpath_var=SHLIB_PATH
8703 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8705 soname_spec='${libname}${release}${shared_ext}$major'
8707 esac
8708 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8709 postinstall_cmds='chmod 555 $lib'
8712 interix[3-9]*)
8713 version_type=linux
8714 need_lib_prefix=no
8715 need_version=no
8716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8717 soname_spec='${libname}${release}${shared_ext}$major'
8718 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8719 shlibpath_var=LD_LIBRARY_PATH
8720 shlibpath_overrides_runpath=no
8721 hardcode_into_libs=yes
8724 irix5* | irix6* | nonstopux*)
8725 case $host_os in
8726 nonstopux*) version_type=nonstopux ;;
8728 if test "$lt_cv_prog_gnu_ld" = yes; then
8729 version_type=linux
8730 else
8731 version_type=irix
8732 fi ;;
8733 esac
8734 need_lib_prefix=no
8735 need_version=no
8736 soname_spec='${libname}${release}${shared_ext}$major'
8737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8738 case $host_os in
8739 irix5* | nonstopux*)
8740 libsuff= shlibsuff=
8743 case $LD in # libtool.m4 will add one of these switches to LD
8744 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8745 libsuff= shlibsuff= libmagic=32-bit;;
8746 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8747 libsuff=32 shlibsuff=N32 libmagic=N32;;
8748 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8749 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8750 *) libsuff= shlibsuff= libmagic=never-match;;
8751 esac
8753 esac
8754 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8755 shlibpath_overrides_runpath=no
8756 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8757 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8758 hardcode_into_libs=yes
8761 # No shared lib support for Linux oldld, aout, or coff.
8762 linux*oldld* | linux*aout* | linux*coff*)
8763 dynamic_linker=no
8766 # This must be Linux ELF.
8767 linux* | k*bsd*-gnu)
8768 version_type=linux
8769 need_lib_prefix=no
8770 need_version=no
8771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8772 soname_spec='${libname}${release}${shared_ext}$major'
8773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8774 shlibpath_var=LD_LIBRARY_PATH
8775 shlibpath_overrides_runpath=no
8776 # Some binutils ld are patched to set DT_RUNPATH
8777 save_LDFLAGS=$LDFLAGS
8778 save_libdir=$libdir
8779 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8780 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8781 if test x$gcc_no_link = xyes; then
8782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8784 { (exit 1); exit 1; }; }
8786 cat >conftest.$ac_ext <<_ACEOF
8787 /* confdefs.h. */
8788 _ACEOF
8789 cat confdefs.h >>conftest.$ac_ext
8790 cat >>conftest.$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8794 main ()
8798 return 0;
8800 _ACEOF
8801 rm -f conftest.$ac_objext conftest$ac_exeext
8802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8803 (eval $ac_link) 2>conftest.er1
8804 ac_status=$?
8805 grep -v '^ *+' conftest.er1 >conftest.err
8806 rm -f conftest.er1
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } &&
8810 { ac_try='test -z "$ac_c_werror_flag"
8811 || test ! -s conftest.err'
8812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 (eval $ac_try) 2>&5
8814 ac_status=$?
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; } &&
8817 { ac_try='test -s conftest$ac_exeext'
8818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 (eval $ac_try) 2>&5
8820 ac_status=$?
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; }; then
8823 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8824 shlibpath_overrides_runpath=yes
8827 else
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.$ac_ext >&5
8832 rm -f conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8834 LDFLAGS=$save_LDFLAGS
8835 libdir=$save_libdir
8837 # This implies no fast_install, which is unacceptable.
8838 # Some rework will be needed to allow for fast_install
8839 # before this can be enabled.
8840 hardcode_into_libs=yes
8842 # Append ld.so.conf contents to the search path
8843 if test -f /etc/ld.so.conf; then
8844 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8845 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8848 # We used to test for /lib/ld.so.1 and disable shared libraries on
8849 # powerpc, because MkLinux only supported shared libraries with the
8850 # GNU dynamic linker. Since this was broken with cross compilers,
8851 # most powerpc-linux boxes support dynamic linking these days and
8852 # people can always --disable-shared, the test was removed, and we
8853 # assume the GNU/Linux dynamic linker is in use.
8854 dynamic_linker='GNU/Linux ld.so'
8857 netbsd*)
8858 version_type=sunos
8859 need_lib_prefix=no
8860 need_version=no
8861 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8864 dynamic_linker='NetBSD (a.out) ld.so'
8865 else
8866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8867 soname_spec='${libname}${release}${shared_ext}$major'
8868 dynamic_linker='NetBSD ld.elf_so'
8870 shlibpath_var=LD_LIBRARY_PATH
8871 shlibpath_overrides_runpath=yes
8872 hardcode_into_libs=yes
8875 newsos6)
8876 version_type=linux
8877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8878 shlibpath_var=LD_LIBRARY_PATH
8879 shlibpath_overrides_runpath=yes
8882 *nto* | *qnx*)
8883 version_type=qnx
8884 need_lib_prefix=no
8885 need_version=no
8886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8887 soname_spec='${libname}${release}${shared_ext}$major'
8888 shlibpath_var=LD_LIBRARY_PATH
8889 shlibpath_overrides_runpath=no
8890 hardcode_into_libs=yes
8891 dynamic_linker='ldqnx.so'
8894 openbsd*)
8895 version_type=sunos
8896 sys_lib_dlsearch_path_spec="/usr/lib"
8897 need_lib_prefix=no
8898 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8899 case $host_os in
8900 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8901 *) need_version=no ;;
8902 esac
8903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8905 shlibpath_var=LD_LIBRARY_PATH
8906 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8907 case $host_os in
8908 openbsd2.[89] | openbsd2.[89].*)
8909 shlibpath_overrides_runpath=no
8912 shlibpath_overrides_runpath=yes
8914 esac
8915 else
8916 shlibpath_overrides_runpath=yes
8920 os2*)
8921 libname_spec='$name'
8922 shrext_cmds=".dll"
8923 need_lib_prefix=no
8924 library_names_spec='$libname${shared_ext} $libname.a'
8925 dynamic_linker='OS/2 ld.exe'
8926 shlibpath_var=LIBPATH
8929 osf3* | osf4* | osf5*)
8930 version_type=osf
8931 need_lib_prefix=no
8932 need_version=no
8933 soname_spec='${libname}${release}${shared_ext}$major'
8934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8935 shlibpath_var=LD_LIBRARY_PATH
8936 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8937 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8940 rdos*)
8941 dynamic_linker=no
8944 solaris*)
8945 version_type=linux
8946 need_lib_prefix=no
8947 need_version=no
8948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8949 soname_spec='${libname}${release}${shared_ext}$major'
8950 shlibpath_var=LD_LIBRARY_PATH
8951 shlibpath_overrides_runpath=yes
8952 hardcode_into_libs=yes
8953 # ldd complains unless libraries are executable
8954 postinstall_cmds='chmod +x $lib'
8957 sunos4*)
8958 version_type=sunos
8959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8960 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8961 shlibpath_var=LD_LIBRARY_PATH
8962 shlibpath_overrides_runpath=yes
8963 if test "$with_gnu_ld" = yes; then
8964 need_lib_prefix=no
8966 need_version=yes
8969 sysv4 | sysv4.3*)
8970 version_type=linux
8971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8972 soname_spec='${libname}${release}${shared_ext}$major'
8973 shlibpath_var=LD_LIBRARY_PATH
8974 case $host_vendor in
8975 sni)
8976 shlibpath_overrides_runpath=no
8977 need_lib_prefix=no
8978 runpath_var=LD_RUN_PATH
8980 siemens)
8981 need_lib_prefix=no
8983 motorola)
8984 need_lib_prefix=no
8985 need_version=no
8986 shlibpath_overrides_runpath=no
8987 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8989 esac
8992 sysv4*MP*)
8993 if test -d /usr/nec ;then
8994 version_type=linux
8995 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8996 soname_spec='$libname${shared_ext}.$major'
8997 shlibpath_var=LD_LIBRARY_PATH
9001 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9002 version_type=freebsd-elf
9003 need_lib_prefix=no
9004 need_version=no
9005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9006 soname_spec='${libname}${release}${shared_ext}$major'
9007 shlibpath_var=LD_LIBRARY_PATH
9008 shlibpath_overrides_runpath=yes
9009 hardcode_into_libs=yes
9010 if test "$with_gnu_ld" = yes; then
9011 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9012 else
9013 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9014 case $host_os in
9015 sco3.2v5*)
9016 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9018 esac
9020 sys_lib_dlsearch_path_spec='/usr/lib'
9023 tpf*)
9024 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9025 version_type=linux
9026 need_lib_prefix=no
9027 need_version=no
9028 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9029 shlibpath_var=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath=no
9031 hardcode_into_libs=yes
9034 uts4*)
9035 version_type=linux
9036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9037 soname_spec='${libname}${release}${shared_ext}$major'
9038 shlibpath_var=LD_LIBRARY_PATH
9042 dynamic_linker=no
9044 esac
9045 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9046 echo "${ECHO_T}$dynamic_linker" >&6
9047 test "$dynamic_linker" = no && can_build_shared=no
9049 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9050 if test "$GCC" = yes; then
9051 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9140 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9141 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9142 hardcode_action=
9143 if test -n "$hardcode_libdir_flag_spec" ||
9144 test -n "$runpath_var" ||
9145 test "X$hardcode_automatic" = "Xyes" ; then
9147 # We can hardcode non-existent directories.
9148 if test "$hardcode_direct" != no &&
9149 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9150 # have to relink, otherwise we might link with an installed library
9151 # when we should be linking with a yet-to-be-installed one
9152 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9153 test "$hardcode_minus_L" != no; then
9154 # Linking always hardcodes the temporary library directory.
9155 hardcode_action=relink
9156 else
9157 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9158 hardcode_action=immediate
9160 else
9161 # We cannot hardcode anything, or else we can only hardcode existing
9162 # directories.
9163 hardcode_action=unsupported
9165 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9166 echo "${ECHO_T}$hardcode_action" >&6
9168 if test "$hardcode_action" = relink ||
9169 test "$inherit_rpath" = yes; then
9170 # Fast installation is not supported
9171 enable_fast_install=no
9172 elif test "$shlibpath_overrides_runpath" = yes ||
9173 test "$enable_shared" = no; then
9174 # Fast installation is not necessary
9175 enable_fast_install=needless
9183 if test "x$enable_dlopen" != xyes; then
9184 enable_dlopen=unknown
9185 enable_dlopen_self=unknown
9186 enable_dlopen_self_static=unknown
9187 else
9188 lt_cv_dlopen=no
9189 lt_cv_dlopen_libs=
9191 case $host_os in
9192 beos*)
9193 lt_cv_dlopen="load_add_on"
9194 lt_cv_dlopen_libs=
9195 lt_cv_dlopen_self=yes
9198 mingw* | pw32*)
9199 lt_cv_dlopen="LoadLibrary"
9200 lt_cv_dlopen_libs=
9203 cygwin*)
9204 lt_cv_dlopen="dlopen"
9205 lt_cv_dlopen_libs=
9208 darwin*)
9209 # if libdl is installed we need to link against it
9210 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9211 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9212 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 else
9215 ac_check_lib_save_LIBS=$LIBS
9216 LIBS="-ldl $LIBS"
9217 if test x$gcc_no_link = xyes; then
9218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9220 { (exit 1); exit 1; }; }
9222 cat >conftest.$ac_ext <<_ACEOF
9223 /* confdefs.h. */
9224 _ACEOF
9225 cat confdefs.h >>conftest.$ac_ext
9226 cat >>conftest.$ac_ext <<_ACEOF
9227 /* end confdefs.h. */
9229 /* Override any gcc2 internal prototype to avoid an error. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 /* We use char because int might match the return type of a gcc2
9234 builtin and then its argument prototype would still apply. */
9235 char dlopen ();
9237 main ()
9239 dlopen ();
9241 return 0;
9243 _ACEOF
9244 rm -f conftest.$ac_objext conftest$ac_exeext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9246 (eval $ac_link) 2>conftest.er1
9247 ac_status=$?
9248 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 (eval $ac_try) 2>&5
9257 ac_status=$?
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try='test -s conftest$ac_exeext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 (eval $ac_try) 2>&5
9263 ac_status=$?
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 ac_cv_lib_dl_dlopen=yes
9267 else
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.$ac_ext >&5
9271 ac_cv_lib_dl_dlopen=no
9273 rm -f conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_lib_save_LIBS
9277 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9278 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9279 if test $ac_cv_lib_dl_dlopen = yes; then
9280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9281 else
9283 lt_cv_dlopen="dyld"
9284 lt_cv_dlopen_libs=
9285 lt_cv_dlopen_self=yes
9292 echo "$as_me:$LINENO: checking for shl_load" >&5
9293 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9294 if test "${ac_cv_func_shl_load+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 else
9297 if test x$gcc_no_link = xyes; then
9298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9300 { (exit 1); exit 1; }; }
9302 cat >conftest.$ac_ext <<_ACEOF
9303 /* confdefs.h. */
9304 _ACEOF
9305 cat confdefs.h >>conftest.$ac_ext
9306 cat >>conftest.$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9308 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9310 #define shl_load innocuous_shl_load
9312 /* System header to define __stub macros and hopefully few prototypes,
9313 which can conflict with char shl_load (); below.
9314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9315 <limits.h> exists even on freestanding compilers. */
9317 #ifdef __STDC__
9318 # include <limits.h>
9319 #else
9320 # include <assert.h>
9321 #endif
9323 #undef shl_load
9325 /* Override any gcc2 internal prototype to avoid an error. */
9326 #ifdef __cplusplus
9327 extern "C"
9329 #endif
9330 /* We use char because int might match the return type of a gcc2
9331 builtin and then its argument prototype would still apply. */
9332 char shl_load ();
9333 /* The GNU C library defines this for functions which it implements
9334 to always fail with ENOSYS. Some functions are actually named
9335 something starting with __ and the normal name is an alias. */
9336 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9337 choke me
9338 #else
9339 char (*f) () = shl_load;
9340 #endif
9341 #ifdef __cplusplus
9343 #endif
9346 main ()
9348 return f != shl_load;
9350 return 0;
9352 _ACEOF
9353 rm -f conftest.$ac_objext conftest$ac_exeext
9354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9355 (eval $ac_link) 2>conftest.er1
9356 ac_status=$?
9357 grep -v '^ *+' conftest.er1 >conftest.err
9358 rm -f conftest.er1
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } &&
9362 { ac_try='test -z "$ac_c_werror_flag"
9363 || test ! -s conftest.err'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9365 (eval $ac_try) 2>&5
9366 ac_status=$?
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; } &&
9369 { ac_try='test -s conftest$ac_exeext'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9371 (eval $ac_try) 2>&5
9372 ac_status=$?
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; }; then
9375 ac_cv_func_shl_load=yes
9376 else
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_func_shl_load=no
9382 rm -f conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9385 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9386 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9387 if test $ac_cv_func_shl_load = yes; then
9388 lt_cv_dlopen="shl_load"
9389 else
9390 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9391 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9392 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9393 echo $ECHO_N "(cached) $ECHO_C" >&6
9394 else
9395 ac_check_lib_save_LIBS=$LIBS
9396 LIBS="-ldld $LIBS"
9397 if test x$gcc_no_link = xyes; then
9398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9400 { (exit 1); exit 1; }; }
9402 cat >conftest.$ac_ext <<_ACEOF
9403 /* confdefs.h. */
9404 _ACEOF
9405 cat confdefs.h >>conftest.$ac_ext
9406 cat >>conftest.$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9409 /* Override any gcc2 internal prototype to avoid an error. */
9410 #ifdef __cplusplus
9411 extern "C"
9412 #endif
9413 /* We use char because int might match the return type of a gcc2
9414 builtin and then its argument prototype would still apply. */
9415 char shl_load ();
9417 main ()
9419 shl_load ();
9421 return 0;
9423 _ACEOF
9424 rm -f conftest.$ac_objext conftest$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426 (eval $ac_link) 2>conftest.er1
9427 ac_status=$?
9428 grep -v '^ *+' conftest.er1 >conftest.err
9429 rm -f conftest.er1
9430 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try='test -z "$ac_c_werror_flag"
9434 || test ! -s conftest.err'
9435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 (eval $ac_try) 2>&5
9437 ac_status=$?
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); }; } &&
9440 { ac_try='test -s conftest$ac_exeext'
9441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 (eval $ac_try) 2>&5
9443 ac_status=$?
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); }; }; then
9446 ac_cv_lib_dld_shl_load=yes
9447 else
9448 echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9451 ac_cv_lib_dld_shl_load=no
9453 rm -f conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9458 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9459 if test $ac_cv_lib_dld_shl_load = yes; then
9460 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9461 else
9462 echo "$as_me:$LINENO: checking for dlopen" >&5
9463 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9464 if test "${ac_cv_func_dlopen+set}" = set; then
9465 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 else
9467 if test x$gcc_no_link = xyes; then
9468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9470 { (exit 1); exit 1; }; }
9472 cat >conftest.$ac_ext <<_ACEOF
9473 /* confdefs.h. */
9474 _ACEOF
9475 cat confdefs.h >>conftest.$ac_ext
9476 cat >>conftest.$ac_ext <<_ACEOF
9477 /* end confdefs.h. */
9478 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9480 #define dlopen innocuous_dlopen
9482 /* System header to define __stub macros and hopefully few prototypes,
9483 which can conflict with char dlopen (); below.
9484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9485 <limits.h> exists even on freestanding compilers. */
9487 #ifdef __STDC__
9488 # include <limits.h>
9489 #else
9490 # include <assert.h>
9491 #endif
9493 #undef dlopen
9495 /* Override any gcc2 internal prototype to avoid an error. */
9496 #ifdef __cplusplus
9497 extern "C"
9499 #endif
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9502 char dlopen ();
9503 /* The GNU C library defines this for functions which it implements
9504 to always fail with ENOSYS. Some functions are actually named
9505 something starting with __ and the normal name is an alias. */
9506 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9507 choke me
9508 #else
9509 char (*f) () = dlopen;
9510 #endif
9511 #ifdef __cplusplus
9513 #endif
9516 main ()
9518 return f != dlopen;
9520 return 0;
9522 _ACEOF
9523 rm -f conftest.$ac_objext conftest$ac_exeext
9524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9525 (eval $ac_link) 2>conftest.er1
9526 ac_status=$?
9527 grep -v '^ *+' conftest.er1 >conftest.err
9528 rm -f conftest.er1
9529 cat conftest.err >&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); } &&
9532 { ac_try='test -z "$ac_c_werror_flag"
9533 || test ! -s conftest.err'
9534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 (eval $ac_try) 2>&5
9536 ac_status=$?
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; } &&
9539 { ac_try='test -s conftest$ac_exeext'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9541 (eval $ac_try) 2>&5
9542 ac_status=$?
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; }; then
9545 ac_cv_func_dlopen=yes
9546 else
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.$ac_ext >&5
9550 ac_cv_func_dlopen=no
9552 rm -f conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9555 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9556 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9557 if test $ac_cv_func_dlopen = yes; then
9558 lt_cv_dlopen="dlopen"
9559 else
9560 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9561 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9562 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 else
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-ldl $LIBS"
9567 if test x$gcc_no_link = xyes; then
9568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9570 { (exit 1); exit 1; }; }
9572 cat >conftest.$ac_ext <<_ACEOF
9573 /* confdefs.h. */
9574 _ACEOF
9575 cat confdefs.h >>conftest.$ac_ext
9576 cat >>conftest.$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9579 /* Override any gcc2 internal prototype to avoid an error. */
9580 #ifdef __cplusplus
9581 extern "C"
9582 #endif
9583 /* We use char because int might match the return type of a gcc2
9584 builtin and then its argument prototype would still apply. */
9585 char dlopen ();
9587 main ()
9589 dlopen ();
9591 return 0;
9593 _ACEOF
9594 rm -f conftest.$ac_objext conftest$ac_exeext
9595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9596 (eval $ac_link) 2>conftest.er1
9597 ac_status=$?
9598 grep -v '^ *+' conftest.er1 >conftest.err
9599 rm -f conftest.er1
9600 cat conftest.err >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); } &&
9603 { ac_try='test -z "$ac_c_werror_flag"
9604 || test ! -s conftest.err'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9606 (eval $ac_try) 2>&5
9607 ac_status=$?
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; } &&
9610 { ac_try='test -s conftest$ac_exeext'
9611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612 (eval $ac_try) 2>&5
9613 ac_status=$?
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); }; }; then
9616 ac_cv_lib_dl_dlopen=yes
9617 else
9618 echo "$as_me: failed program was:" >&5
9619 sed 's/^/| /' conftest.$ac_ext >&5
9621 ac_cv_lib_dl_dlopen=no
9623 rm -f conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9628 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9629 if test $ac_cv_lib_dl_dlopen = yes; then
9630 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9631 else
9632 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9633 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9634 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 else
9637 ac_check_lib_save_LIBS=$LIBS
9638 LIBS="-lsvld $LIBS"
9639 if test x$gcc_no_link = xyes; then
9640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9642 { (exit 1); exit 1; }; }
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any gcc2 internal prototype to avoid an error. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 /* We use char because int might match the return type of a gcc2
9656 builtin and then its argument prototype would still apply. */
9657 char dlopen ();
9659 main ()
9661 dlopen ();
9663 return 0;
9665 _ACEOF
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9668 (eval $ac_link) 2>conftest.er1
9669 ac_status=$?
9670 grep -v '^ *+' conftest.er1 >conftest.err
9671 rm -f conftest.er1
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try='test -z "$ac_c_werror_flag"
9676 || test ! -s conftest.err'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 (eval $ac_try) 2>&5
9679 ac_status=$?
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; } &&
9682 { ac_try='test -s conftest$ac_exeext'
9683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 (eval $ac_try) 2>&5
9685 ac_status=$?
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; }; then
9688 ac_cv_lib_svld_dlopen=yes
9689 else
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.$ac_ext >&5
9693 ac_cv_lib_svld_dlopen=no
9695 rm -f conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9700 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9701 if test $ac_cv_lib_svld_dlopen = yes; then
9702 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9703 else
9704 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9705 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9706 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 else
9709 ac_check_lib_save_LIBS=$LIBS
9710 LIBS="-ldld $LIBS"
9711 if test x$gcc_no_link = xyes; then
9712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9714 { (exit 1); exit 1; }; }
9716 cat >conftest.$ac_ext <<_ACEOF
9717 /* confdefs.h. */
9718 _ACEOF
9719 cat confdefs.h >>conftest.$ac_ext
9720 cat >>conftest.$ac_ext <<_ACEOF
9721 /* end confdefs.h. */
9723 /* Override any gcc2 internal prototype to avoid an error. */
9724 #ifdef __cplusplus
9725 extern "C"
9726 #endif
9727 /* We use char because int might match the return type of a gcc2
9728 builtin and then its argument prototype would still apply. */
9729 char dld_link ();
9731 main ()
9733 dld_link ();
9735 return 0;
9737 _ACEOF
9738 rm -f conftest.$ac_objext conftest$ac_exeext
9739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9740 (eval $ac_link) 2>conftest.er1
9741 ac_status=$?
9742 grep -v '^ *+' conftest.er1 >conftest.err
9743 rm -f conftest.er1
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } &&
9747 { ac_try='test -z "$ac_c_werror_flag"
9748 || test ! -s conftest.err'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750 (eval $ac_try) 2>&5
9751 ac_status=$?
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; } &&
9754 { ac_try='test -s conftest$ac_exeext'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 (eval $ac_try) 2>&5
9757 ac_status=$?
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; }; then
9760 ac_cv_lib_dld_dld_link=yes
9761 else
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9765 ac_cv_lib_dld_dld_link=no
9767 rm -f conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 LIBS=$ac_check_lib_save_LIBS
9771 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9772 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9773 if test $ac_cv_lib_dld_dld_link = yes; then
9774 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9793 esac
9795 if test "x$lt_cv_dlopen" != xno; then
9796 enable_dlopen=yes
9797 else
9798 enable_dlopen=no
9801 case $lt_cv_dlopen in
9802 dlopen)
9803 save_CPPFLAGS="$CPPFLAGS"
9804 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9806 save_LDFLAGS="$LDFLAGS"
9807 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9809 save_LIBS="$LIBS"
9810 LIBS="$lt_cv_dlopen_libs $LIBS"
9812 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9813 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9814 if test "${lt_cv_dlopen_self+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817 if test "$cross_compiling" = yes; then :
9818 lt_cv_dlopen_self=cross
9819 else
9820 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9821 lt_status=$lt_dlunknown
9822 cat > conftest.$ac_ext <<_LT_EOF
9823 #line 9823 "configure"
9824 #include "confdefs.h"
9826 #if HAVE_DLFCN_H
9827 #include <dlfcn.h>
9828 #endif
9830 #include <stdio.h>
9832 #ifdef RTLD_GLOBAL
9833 # define LT_DLGLOBAL RTLD_GLOBAL
9834 #else
9835 # ifdef DL_GLOBAL
9836 # define LT_DLGLOBAL DL_GLOBAL
9837 # else
9838 # define LT_DLGLOBAL 0
9839 # endif
9840 #endif
9842 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9843 find out it does not work in some platform. */
9844 #ifndef LT_DLLAZY_OR_NOW
9845 # ifdef RTLD_LAZY
9846 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9847 # else
9848 # ifdef DL_LAZY
9849 # define LT_DLLAZY_OR_NOW DL_LAZY
9850 # else
9851 # ifdef RTLD_NOW
9852 # define LT_DLLAZY_OR_NOW RTLD_NOW
9853 # else
9854 # ifdef DL_NOW
9855 # define LT_DLLAZY_OR_NOW DL_NOW
9856 # else
9857 # define LT_DLLAZY_OR_NOW 0
9858 # endif
9859 # endif
9860 # endif
9861 # endif
9862 #endif
9864 #ifdef __cplusplus
9865 extern "C" void exit (int);
9866 #endif
9868 void fnord() { int i=42;}
9869 int main ()
9871 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9872 int status = $lt_dlunknown;
9874 if (self)
9876 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9877 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9878 /* dlclose (self); */
9880 else
9881 puts (dlerror ());
9883 exit (status);
9885 _LT_EOF
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>&5
9888 ac_status=$?
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9891 (./conftest; exit; ) >&5 2>/dev/null
9892 lt_status=$?
9893 case x$lt_status in
9894 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9895 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9896 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9897 esac
9898 else :
9899 # compilation failed
9900 lt_cv_dlopen_self=no
9903 rm -fr conftest*
9907 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9908 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9910 if test "x$lt_cv_dlopen_self" = xyes; then
9911 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9912 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9913 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9914 if test "${lt_cv_dlopen_self_static+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 else
9917 if test "$cross_compiling" = yes; then :
9918 lt_cv_dlopen_self_static=cross
9919 else
9920 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9921 lt_status=$lt_dlunknown
9922 cat > conftest.$ac_ext <<_LT_EOF
9923 #line 9923 "configure"
9924 #include "confdefs.h"
9926 #if HAVE_DLFCN_H
9927 #include <dlfcn.h>
9928 #endif
9930 #include <stdio.h>
9932 #ifdef RTLD_GLOBAL
9933 # define LT_DLGLOBAL RTLD_GLOBAL
9934 #else
9935 # ifdef DL_GLOBAL
9936 # define LT_DLGLOBAL DL_GLOBAL
9937 # else
9938 # define LT_DLGLOBAL 0
9939 # endif
9940 #endif
9942 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9943 find out it does not work in some platform. */
9944 #ifndef LT_DLLAZY_OR_NOW
9945 # ifdef RTLD_LAZY
9946 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9947 # else
9948 # ifdef DL_LAZY
9949 # define LT_DLLAZY_OR_NOW DL_LAZY
9950 # else
9951 # ifdef RTLD_NOW
9952 # define LT_DLLAZY_OR_NOW RTLD_NOW
9953 # else
9954 # ifdef DL_NOW
9955 # define LT_DLLAZY_OR_NOW DL_NOW
9956 # else
9957 # define LT_DLLAZY_OR_NOW 0
9958 # endif
9959 # endif
9960 # endif
9961 # endif
9962 #endif
9964 #ifdef __cplusplus
9965 extern "C" void exit (int);
9966 #endif
9968 void fnord() { int i=42;}
9969 int main ()
9971 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9972 int status = $lt_dlunknown;
9974 if (self)
9976 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9977 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9978 /* dlclose (self); */
9980 else
9981 puts (dlerror ());
9983 exit (status);
9985 _LT_EOF
9986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9987 (eval $ac_link) 2>&5
9988 ac_status=$?
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9991 (./conftest; exit; ) >&5 2>/dev/null
9992 lt_status=$?
9993 case x$lt_status in
9994 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9995 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9996 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9997 esac
9998 else :
9999 # compilation failed
10000 lt_cv_dlopen_self_static=no
10003 rm -fr conftest*
10007 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10008 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10011 CPPFLAGS="$save_CPPFLAGS"
10012 LDFLAGS="$save_LDFLAGS"
10013 LIBS="$save_LIBS"
10015 esac
10017 case $lt_cv_dlopen_self in
10018 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10019 *) enable_dlopen_self=unknown ;;
10020 esac
10022 case $lt_cv_dlopen_self_static in
10023 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10024 *) enable_dlopen_self_static=unknown ;;
10025 esac
10044 striplib=
10045 old_striplib=
10046 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10047 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10048 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10049 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10050 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10053 else
10054 # FIXME - insert some real tests, host_os isn't really good enough
10055 case $host_os in
10056 darwin*)
10057 if test -n "$STRIP" ; then
10058 striplib="$STRIP -x"
10059 old_striplib="$STRIP -S"
10060 echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6
10062 else
10063 echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10071 esac
10085 # Report which library types will actually be built
10086 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10087 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10088 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10089 echo "${ECHO_T}$can_build_shared" >&6
10091 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10092 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10093 test "$can_build_shared" = "no" && enable_shared=no
10095 # On AIX, shared libraries and static libraries use the same namespace, and
10096 # are all built from PIC.
10097 case $host_os in
10098 aix3*)
10099 test "$enable_shared" = yes && enable_static=no
10100 if test -n "$RANLIB"; then
10101 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10102 postinstall_cmds='$RANLIB $lib'
10106 aix4* | aix5*)
10107 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10108 test "$enable_shared" = yes && enable_static=no
10111 esac
10112 echo "$as_me:$LINENO: result: $enable_shared" >&5
10113 echo "${ECHO_T}$enable_shared" >&6
10115 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10116 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10117 # Make sure either enable_shared or enable_static is yes.
10118 test "$enable_shared" = yes || enable_static=yes
10119 echo "$as_me:$LINENO: result: $enable_static" >&5
10120 echo "${ECHO_T}$enable_static" >&6
10126 ac_ext=c
10127 ac_cpp='$CPP $CPPFLAGS'
10128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10132 CC="$lt_save_CC"
10146 ac_config_commands="$ac_config_commands libtool"
10151 # Only expand once:
10156 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10158 # We need gfortran to compile parts of the library
10159 #AC_PROG_FC(gfortran)
10160 FC="$GFORTRAN"
10161 ac_ext=${FC_SRCEXT-f}
10162 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10163 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10164 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10165 if test -n "$ac_tool_prefix"; then
10166 for ac_prog in gfortran
10168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10170 echo "$as_me:$LINENO: checking for $ac_word" >&5
10171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10172 if test "${ac_cv_prog_FC+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10174 else
10175 if test -n "$FC"; then
10176 ac_cv_prog_FC="$FC" # Let the user override the test.
10177 else
10178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10181 IFS=$as_save_IFS
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10185 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10187 break 2
10189 done
10190 done
10194 FC=$ac_cv_prog_FC
10195 if test -n "$FC"; then
10196 echo "$as_me:$LINENO: result: $FC" >&5
10197 echo "${ECHO_T}$FC" >&6
10198 else
10199 echo "$as_me:$LINENO: result: no" >&5
10200 echo "${ECHO_T}no" >&6
10203 test -n "$FC" && break
10204 done
10206 if test -z "$FC"; then
10207 ac_ct_FC=$FC
10208 for ac_prog in gfortran
10210 # Extract the first word of "$ac_prog", so it can be a program name with args.
10211 set dummy $ac_prog; ac_word=$2
10212 echo "$as_me:$LINENO: checking for $ac_word" >&5
10213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10214 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 else
10217 if test -n "$ac_ct_FC"; then
10218 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10219 else
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10223 IFS=$as_save_IFS
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10227 ac_cv_prog_ac_ct_FC="$ac_prog"
10228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10229 break 2
10231 done
10232 done
10236 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10237 if test -n "$ac_ct_FC"; then
10238 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10239 echo "${ECHO_T}$ac_ct_FC" >&6
10240 else
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10245 test -n "$ac_ct_FC" && break
10246 done
10248 FC=$ac_ct_FC
10252 # Provide some information about the compiler.
10253 echo "$as_me:10253:" \
10254 "checking for Fortran compiler version" >&5
10255 ac_compiler=`set X $ac_compile; echo $2`
10256 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10257 (eval $ac_compiler --version </dev/null >&5) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }
10261 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10262 (eval $ac_compiler -v </dev/null >&5) 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }
10266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10267 (eval $ac_compiler -V </dev/null >&5) 2>&5
10268 ac_status=$?
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); }
10271 rm -f a.out
10273 # If we don't use `.F' as extension, the preprocessor is not run on the
10274 # input file. (Note that this only needs to work for GNU compilers.)
10275 ac_save_ext=$ac_ext
10276 ac_ext=F
10277 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10278 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10279 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else
10282 cat >conftest.$ac_ext <<_ACEOF
10283 program main
10284 #ifndef __GNUC__
10285 choke me
10286 #endif
10289 _ACEOF
10290 rm -f conftest.$ac_objext
10291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10292 (eval $ac_compile) 2>conftest.er1
10293 ac_status=$?
10294 grep -v '^ *+' conftest.er1 >conftest.err
10295 rm -f conftest.er1
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } &&
10299 { ac_try='test -z "$ac_fc_werror_flag"
10300 || test ! -s conftest.err'
10301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10302 (eval $ac_try) 2>&5
10303 ac_status=$?
10304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); }; } &&
10306 { ac_try='test -s conftest.$ac_objext'
10307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10308 (eval $ac_try) 2>&5
10309 ac_status=$?
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); }; }; then
10312 ac_compiler_gnu=yes
10313 else
10314 echo "$as_me: failed program was:" >&5
10315 sed 's/^/| /' conftest.$ac_ext >&5
10317 ac_compiler_gnu=no
10319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10320 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10323 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10324 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10325 ac_ext=$ac_save_ext
10326 ac_test_FFLAGS=${FCFLAGS+set}
10327 ac_save_FFLAGS=$FCFLAGS
10328 FCFLAGS=
10329 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10330 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10331 if test "${ac_cv_prog_fc_g+set}" = set; then
10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 else
10334 FCFLAGS=-g
10335 cat >conftest.$ac_ext <<_ACEOF
10336 program main
10339 _ACEOF
10340 rm -f conftest.$ac_objext
10341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10342 (eval $ac_compile) 2>conftest.er1
10343 ac_status=$?
10344 grep -v '^ *+' conftest.er1 >conftest.err
10345 rm -f conftest.er1
10346 cat conftest.err >&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); } &&
10349 { ac_try='test -z "$ac_fc_werror_flag"
10350 || test ! -s conftest.err'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10353 ac_status=$?
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; } &&
10356 { ac_try='test -s conftest.$ac_objext'
10357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10358 (eval $ac_try) 2>&5
10359 ac_status=$?
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }; }; then
10362 ac_cv_prog_fc_g=yes
10363 else
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.$ac_ext >&5
10367 ac_cv_prog_fc_g=no
10369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10372 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10373 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10374 if test "$ac_test_FFLAGS" = set; then
10375 FCFLAGS=$ac_save_FFLAGS
10376 elif test $ac_cv_prog_fc_g = yes; then
10377 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10378 FCFLAGS="-g -O2"
10379 else
10380 FCFLAGS="-g"
10382 else
10383 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10384 FCFLAGS="-O2"
10385 else
10386 FCFLAGS=
10390 ac_ext=c
10391 ac_cpp='$CPP $CPPFLAGS'
10392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10397 ac_ext=${FC_SRCEXT-f}
10398 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10399 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10400 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10401 if test -n "$ac_tool_prefix"; then
10402 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10406 echo "$as_me:$LINENO: checking for $ac_word" >&5
10407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10408 if test "${ac_cv_prog_FC+set}" = set; then
10409 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 else
10411 if test -n "$FC"; then
10412 ac_cv_prog_FC="$FC" # Let the user override the test.
10413 else
10414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10415 for as_dir in $PATH
10417 IFS=$as_save_IFS
10418 test -z "$as_dir" && as_dir=.
10419 for ac_exec_ext in '' $ac_executable_extensions; do
10420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10421 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10423 break 2
10425 done
10426 done
10430 FC=$ac_cv_prog_FC
10431 if test -n "$FC"; then
10432 echo "$as_me:$LINENO: result: $FC" >&5
10433 echo "${ECHO_T}$FC" >&6
10434 else
10435 echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6
10439 test -n "$FC" && break
10440 done
10442 if test -z "$FC"; then
10443 ac_ct_FC=$FC
10444 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10446 # Extract the first word of "$ac_prog", so it can be a program name with args.
10447 set dummy $ac_prog; ac_word=$2
10448 echo "$as_me:$LINENO: checking for $ac_word" >&5
10449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10450 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10451 echo $ECHO_N "(cached) $ECHO_C" >&6
10452 else
10453 if test -n "$ac_ct_FC"; then
10454 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10455 else
10456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10457 for as_dir in $PATH
10459 IFS=$as_save_IFS
10460 test -z "$as_dir" && as_dir=.
10461 for ac_exec_ext in '' $ac_executable_extensions; do
10462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10463 ac_cv_prog_ac_ct_FC="$ac_prog"
10464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10465 break 2
10467 done
10468 done
10472 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10473 if test -n "$ac_ct_FC"; then
10474 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10475 echo "${ECHO_T}$ac_ct_FC" >&6
10476 else
10477 echo "$as_me:$LINENO: result: no" >&5
10478 echo "${ECHO_T}no" >&6
10481 test -n "$ac_ct_FC" && break
10482 done
10484 FC=$ac_ct_FC
10488 # Provide some information about the compiler.
10489 echo "$as_me:10489:" \
10490 "checking for Fortran compiler version" >&5
10491 ac_compiler=`set X $ac_compile; echo $2`
10492 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10493 (eval $ac_compiler --version </dev/null >&5) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }
10497 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10498 (eval $ac_compiler -v </dev/null >&5) 2>&5
10499 ac_status=$?
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }
10502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10503 (eval $ac_compiler -V </dev/null >&5) 2>&5
10504 ac_status=$?
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }
10507 rm -f a.out
10509 # If we don't use `.F' as extension, the preprocessor is not run on the
10510 # input file. (Note that this only needs to work for GNU compilers.)
10511 ac_save_ext=$ac_ext
10512 ac_ext=F
10513 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10514 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10515 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 else
10518 cat >conftest.$ac_ext <<_ACEOF
10519 program main
10520 #ifndef __GNUC__
10521 choke me
10522 #endif
10525 _ACEOF
10526 rm -f conftest.$ac_objext
10527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10528 (eval $ac_compile) 2>conftest.er1
10529 ac_status=$?
10530 grep -v '^ *+' conftest.er1 >conftest.err
10531 rm -f conftest.er1
10532 cat conftest.err >&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } &&
10535 { ac_try='test -z "$ac_fc_werror_flag"
10536 || test ! -s conftest.err'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; } &&
10542 { ac_try='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10545 ac_status=$?
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 ac_compiler_gnu=yes
10549 else
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.$ac_ext >&5
10553 ac_compiler_gnu=no
10555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10556 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10559 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10560 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10561 ac_ext=$ac_save_ext
10562 ac_test_FFLAGS=${FCFLAGS+set}
10563 ac_save_FFLAGS=$FCFLAGS
10564 FCFLAGS=
10565 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10566 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10567 if test "${ac_cv_prog_fc_g+set}" = set; then
10568 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 else
10570 FCFLAGS=-g
10571 cat >conftest.$ac_ext <<_ACEOF
10572 program main
10575 _ACEOF
10576 rm -f conftest.$ac_objext
10577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10578 (eval $ac_compile) 2>conftest.er1
10579 ac_status=$?
10580 grep -v '^ *+' conftest.er1 >conftest.err
10581 rm -f conftest.er1
10582 cat conftest.err >&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } &&
10585 { ac_try='test -z "$ac_fc_werror_flag"
10586 || test ! -s conftest.err'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10589 ac_status=$?
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; } &&
10592 { ac_try='test -s conftest.$ac_objext'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10595 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; }; then
10598 ac_cv_prog_fc_g=yes
10599 else
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.$ac_ext >&5
10603 ac_cv_prog_fc_g=no
10605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10608 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10609 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10610 if test "$ac_test_FFLAGS" = set; then
10611 FCFLAGS=$ac_save_FFLAGS
10612 elif test $ac_cv_prog_fc_g = yes; then
10613 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10614 FCFLAGS="-g -O2"
10615 else
10616 FCFLAGS="-g"
10618 else
10619 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10620 FCFLAGS="-O2"
10621 else
10622 FCFLAGS=
10626 ac_ext=c
10627 ac_cpp='$CPP $CPPFLAGS'
10628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10632 if test -z "$FC" || test "X$FC" = "Xno"; then
10633 _lt_disable_FC=yes
10638 ac_ext=${FC_SRCEXT-f}
10639 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10640 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10641 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10644 archive_cmds_need_lc_FC=no
10645 allow_undefined_flag_FC=
10646 always_export_symbols_FC=no
10647 archive_expsym_cmds_FC=
10648 export_dynamic_flag_spec_FC=
10649 hardcode_direct_FC=no
10650 hardcode_direct_absolute_FC=no
10651 hardcode_libdir_flag_spec_FC=
10652 hardcode_libdir_flag_spec_ld_FC=
10653 hardcode_libdir_separator_FC=
10654 hardcode_minus_L_FC=no
10655 hardcode_automatic_FC=no
10656 inherit_rpath_FC=no
10657 module_cmds_FC=
10658 module_expsym_cmds_FC=
10659 link_all_deplibs_FC=unknown
10660 old_archive_cmds_FC=$old_archive_cmds
10661 no_undefined_flag_FC=
10662 whole_archive_flag_spec_FC=
10663 enable_shared_with_static_runtimes_FC=no
10665 # Source file extension for fc test sources.
10666 ac_ext=${ac_fc_srcext-f}
10668 # Object file extension for compiled fc test sources.
10669 objext=o
10670 objext_FC=$objext
10672 # No sense in running all these tests if we already determined that
10673 # the FC compiler isn't working. Some variables (like enable_shared)
10674 # are currently assumed to apply to all compilers on this platform,
10675 # and will be corrupted by setting them based on a non-working compiler.
10676 if test "$_lt_disable_FC" != yes; then
10677 # Code to be used in simple compile tests
10678 lt_simple_compile_test_code="\
10679 subroutine t
10680 return
10684 # Code to be used in simple link tests
10685 lt_simple_link_test_code="\
10686 program t
10690 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10697 # If no C compiler was specified, use CC.
10698 LTCC=${LTCC-"$CC"}
10700 # If no C compiler flags were specified, use CFLAGS.
10701 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10703 # Allow CC to be a program name with arguments.
10704 compiler=$CC
10707 # save warnings/boilerplate of simple test code
10708 ac_outfile=conftest.$ac_objext
10709 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10710 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10711 _lt_compiler_boilerplate=`cat conftest.err`
10712 $RM conftest*
10714 ac_outfile=conftest.$ac_objext
10715 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10716 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10717 _lt_linker_boilerplate=`cat conftest.err`
10718 $RM conftest*
10721 # Allow CC to be a program name with arguments.
10722 lt_save_CC="$CC"
10723 CC=${FC-"f95"}
10724 compiler=$CC
10725 compiler_FC=$CC
10726 for cc_temp in $compiler""; do
10727 case $cc_temp in
10728 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10729 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10730 \-*) ;;
10731 *) break;;
10732 esac
10733 done
10734 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10737 if test -n "$compiler"; then
10738 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10739 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10740 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10741 echo "${ECHO_T}$can_build_shared" >&6
10743 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10744 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10745 test "$can_build_shared" = "no" && enable_shared=no
10747 # On AIX, shared libraries and static libraries use the same namespace, and
10748 # are all built from PIC.
10749 case $host_os in
10750 aix3*)
10751 test "$enable_shared" = yes && enable_static=no
10752 if test -n "$RANLIB"; then
10753 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10754 postinstall_cmds='$RANLIB $lib'
10757 aix4* | aix5*)
10758 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10759 test "$enable_shared" = yes && enable_static=no
10762 esac
10763 echo "$as_me:$LINENO: result: $enable_shared" >&5
10764 echo "${ECHO_T}$enable_shared" >&6
10766 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10767 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10768 # Make sure either enable_shared or enable_static is yes.
10769 test "$enable_shared" = yes || enable_static=yes
10770 echo "$as_me:$LINENO: result: $enable_static" >&5
10771 echo "${ECHO_T}$enable_static" >&6
10773 GCC_FC="$ac_cv_fc_compiler_gnu"
10774 LD_FC="$LD"
10776 ## CAVEAT EMPTOR:
10777 ## There is no encapsulation within the following macros, do not change
10778 ## the running order or otherwise move them around unless you know exactly
10779 ## what you are doing...
10780 # Dependencies to place before and after the object being linked:
10781 predep_objects_FC=
10782 postdep_objects_FC=
10783 predeps_FC=
10784 postdeps_FC=
10785 compiler_lib_search_path_FC=
10787 cat > conftest.$ac_ext <<_LT_EOF
10788 subroutine foo
10789 implicit none
10790 integer a
10792 return
10794 _LT_EOF
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>&5
10798 ac_status=$?
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); }; then
10801 # Parse the compiler output and extract the necessary
10802 # objects, libraries and library flags.
10804 # Sentinel used to keep track of whether or not we are before
10805 # the conftest object file.
10806 pre_test_object_deps_done=no
10808 # The `*' in the case matches for architectures that use `case' in
10809 # $output_verbose_cmd can trigger glob expansion during the loop
10810 # eval without this substitution.
10811 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10813 for p in `eval $output_verbose_link_cmd`; do
10814 case $p in
10816 -L* | -R* | -l*)
10817 # Some compilers place space between "-{L,R}" and the path.
10818 # Remove the space.
10819 if test $p = "-L" ||
10820 test $p = "-R"; then
10821 prev=$p
10822 continue
10823 else
10824 prev=
10827 if test "$pre_test_object_deps_done" = no; then
10828 case $p in
10829 -L* | -R*)
10830 # Internal compiler library paths should come after those
10831 # provided the user. The postdeps already come after the
10832 # user supplied libs so there is no need to process them.
10833 if test -z "$compiler_lib_search_path_FC"; then
10834 compiler_lib_search_path_FC="${prev}${p}"
10835 else
10836 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10839 # The "-l" case would never come before the object being
10840 # linked, so don't bother handling this case.
10841 esac
10842 else
10843 if test -z "$postdeps_FC"; then
10844 postdeps_FC="${prev}${p}"
10845 else
10846 postdeps_FC="${postdeps_FC} ${prev}${p}"
10851 *.$objext)
10852 # This assumes that the test object file only shows up
10853 # once in the compiler output.
10854 if test "$p" = "conftest.$objext"; then
10855 pre_test_object_deps_done=yes
10856 continue
10859 if test "$pre_test_object_deps_done" = no; then
10860 if test -z "$predep_objects_FC"; then
10861 predep_objects_FC="$p"
10862 else
10863 predep_objects_FC="$predep_objects_FC $p"
10865 else
10866 if test -z "$postdep_objects_FC"; then
10867 postdep_objects_FC="$p"
10868 else
10869 postdep_objects_FC="$postdep_objects_FC $p"
10874 *) ;; # Ignore the rest.
10876 esac
10877 done
10879 # Clean up.
10880 rm -f a.out a.exe
10881 else
10882 echo "libtool.m4: error: problem compiling FC test program"
10885 $RM -f confest.$objext
10887 # PORTME: override above test on systems where it is broken
10890 case " $postdeps_FC " in
10891 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10892 esac
10919 lt_prog_compiler_wl_FC=
10920 lt_prog_compiler_pic_FC=
10921 lt_prog_compiler_static_FC=
10923 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10924 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10926 if test "$GCC" = yes; then
10927 lt_prog_compiler_wl_FC='-Wl,'
10928 lt_prog_compiler_static_FC='-static'
10930 case $host_os in
10931 aix*)
10932 # All AIX code is PIC.
10933 if test "$host_cpu" = ia64; then
10934 # AIX 5 now supports IA64 processor
10935 lt_prog_compiler_static_FC='-Bstatic'
10939 amigaos*)
10940 if test "$host_cpu" = m68k; then
10941 # FIXME: we need at least 68020 code to build shared libraries, but
10942 # adding the `-m68020' flag to GCC prevents building anything better,
10943 # like `-m68040'.
10944 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10948 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10949 # PIC is the default for these OSes.
10952 mingw* | cygwin* | pw32* | os2*)
10953 # This hack is so that the source file can tell whether it is being
10954 # built for inclusion in a dll (and should export symbols for example).
10955 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10956 # (--disable-auto-import) libraries
10957 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
10960 darwin* | rhapsody*)
10961 # PIC is the default on this platform
10962 # Common symbols not allowed in MH_DYLIB files
10963 lt_prog_compiler_pic_FC='-fno-common'
10966 hpux*)
10967 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10968 # not for PA HP-UX.
10969 case $host_cpu in
10970 hppa*64*|ia64*)
10971 # +Z the default
10974 lt_prog_compiler_pic_FC='-fPIC'
10976 esac
10979 interix[3-9]*)
10980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10981 # Instead, we relocate shared libraries at runtime.
10984 msdosdjgpp*)
10985 # Just because we use GCC doesn't mean we suddenly get shared libraries
10986 # on systems that don't support them.
10987 lt_prog_compiler_can_build_shared_FC=no
10988 enable_shared=no
10991 *nto* | *qnx*)
10992 # QNX uses GNU C++, but need to define -shared option too, otherwise
10993 # it will coredump.
10994 lt_prog_compiler_pic_FC='-fPIC -shared'
10997 sysv4*MP*)
10998 if test -d /usr/nec; then
10999 lt_prog_compiler_pic_FC=-Kconform_pic
11004 lt_prog_compiler_pic_FC='-fPIC'
11006 esac
11007 else
11008 # PORTME Check for flag to pass linker flags through the system compiler.
11009 case $host_os in
11010 aix*)
11011 lt_prog_compiler_wl_FC='-Wl,'
11012 if test "$host_cpu" = ia64; then
11013 # AIX 5 now supports IA64 processor
11014 lt_prog_compiler_static_FC='-Bstatic'
11015 else
11016 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11019 darwin*)
11020 # PIC is the default on this platform
11021 # Common symbols not allowed in MH_DYLIB files
11022 case $cc_basename in
11023 xlc*)
11024 lt_prog_compiler_pic_FC='-qnocommon'
11025 lt_prog_compiler_wl_FC='-Wl,'
11027 esac
11030 mingw* | cygwin* | pw32* | os2*)
11031 # This hack is so that the source file can tell whether it is being
11032 # built for inclusion in a dll (and should export symbols for example).
11033 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11036 hpux9* | hpux10* | hpux11*)
11037 lt_prog_compiler_wl_FC='-Wl,'
11038 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11039 # not for PA HP-UX.
11040 case $host_cpu in
11041 hppa*64*|ia64*)
11042 # +Z the default
11045 lt_prog_compiler_pic_FC='+Z'
11047 esac
11048 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11049 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11052 irix5* | irix6* | nonstopux*)
11053 lt_prog_compiler_wl_FC='-Wl,'
11054 # PIC (with -KPIC) is the default.
11055 lt_prog_compiler_static_FC='-non_shared'
11058 linux* | k*bsd*-gnu)
11059 case $cc_basename in
11060 icc* | ecc*)
11061 lt_prog_compiler_wl_FC='-Wl,'
11062 lt_prog_compiler_pic_FC='-KPIC'
11063 lt_prog_compiler_static_FC='-static'
11065 pgcc* | pgf77* | pgf90* | pgf95*)
11066 # Portland Group compilers (*not* the Pentium gcc compiler,
11067 # which looks to be a dead project)
11068 lt_prog_compiler_wl_FC='-Wl,'
11069 lt_prog_compiler_pic_FC='-fpic'
11070 lt_prog_compiler_static_FC='-Bstatic'
11072 ccc*)
11073 lt_prog_compiler_wl_FC='-Wl,'
11074 # All Alpha code is PIC.
11075 lt_prog_compiler_static_FC='-non_shared'
11078 case `$CC -V 2>&1 | sed 5q` in
11079 *Sun\ C*)
11080 # Sun C 5.9
11081 lt_prog_compiler_pic_FC='-KPIC'
11082 lt_prog_compiler_static_FC='-Bstatic'
11083 lt_prog_compiler_wl_FC='-Wl,'
11085 *Sun\ F*)
11086 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11087 lt_prog_compiler_pic_FC='-KPIC'
11088 lt_prog_compiler_static_FC='-Bstatic'
11089 lt_prog_compiler_wl_FC=''
11091 esac
11093 esac
11096 newsos6)
11097 lt_prog_compiler_pic_FC='-KPIC'
11098 lt_prog_compiler_static_FC='-Bstatic'
11101 *nto* | *qnx*)
11102 # QNX uses GNU C++, but need to define -shared option too, otherwise
11103 # it will coredump.
11104 lt_prog_compiler_pic_FC='-fPIC -shared'
11107 osf3* | osf4* | osf5*)
11108 lt_prog_compiler_wl_FC='-Wl,'
11109 # All OSF/1 code is PIC.
11110 lt_prog_compiler_static_FC='-non_shared'
11113 rdos*)
11114 lt_prog_compiler_static_FC='-non_shared'
11117 solaris*)
11118 lt_prog_compiler_pic_FC='-KPIC'
11119 lt_prog_compiler_static_FC='-Bstatic'
11120 case $cc_basename in
11121 f77* | f90* | f95*)
11122 lt_prog_compiler_wl_FC='-Qoption ld ';;
11124 lt_prog_compiler_wl_FC='-Wl,';;
11125 esac
11128 sunos4*)
11129 lt_prog_compiler_wl_FC='-Qoption ld '
11130 lt_prog_compiler_pic_FC='-PIC'
11131 lt_prog_compiler_static_FC='-Bstatic'
11134 sysv4 | sysv4.2uw2* | sysv4.3*)
11135 lt_prog_compiler_wl_FC='-Wl,'
11136 lt_prog_compiler_pic_FC='-KPIC'
11137 lt_prog_compiler_static_FC='-Bstatic'
11140 sysv4*MP*)
11141 if test -d /usr/nec ;then
11142 lt_prog_compiler_pic_FC='-Kconform_pic'
11143 lt_prog_compiler_static_FC='-Bstatic'
11147 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11148 lt_prog_compiler_wl_FC='-Wl,'
11149 lt_prog_compiler_pic_FC='-KPIC'
11150 lt_prog_compiler_static_FC='-Bstatic'
11153 unicos*)
11154 lt_prog_compiler_wl_FC='-Wl,'
11155 lt_prog_compiler_can_build_shared_FC=no
11158 uts4*)
11159 lt_prog_compiler_pic_FC='-pic'
11160 lt_prog_compiler_static_FC='-Bstatic'
11164 lt_prog_compiler_can_build_shared_FC=no
11166 esac
11169 case $host_os in
11170 # For platforms which do not support PIC, -DPIC is meaningless:
11171 *djgpp*)
11172 lt_prog_compiler_pic_FC=
11175 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11177 esac
11178 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11179 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11184 # Check to make sure the PIC flag actually works.
11186 if test -n "$lt_prog_compiler_pic_FC"; then
11187 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11188 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11189 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 else
11192 lt_prog_compiler_pic_works_FC=no
11193 ac_outfile=conftest.$ac_objext
11194 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11195 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11196 # Insert the option either (1) after the last *FLAGS variable, or
11197 # (2) before a word containing "conftest.", or (3) at the end.
11198 # Note that $ac_compile itself does not contain backslashes and begins
11199 # with a dollar sign (not a hyphen), so the echo should work correctly.
11200 # The option is referenced via a variable to avoid confusing sed.
11201 lt_compile=`echo "$ac_compile" | $SED \
11202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11204 -e 's:$: $lt_compiler_flag:'`
11205 (eval echo "\"\$as_me:11205: $lt_compile\"" >&5)
11206 (eval "$lt_compile" 2>conftest.err)
11207 ac_status=$?
11208 cat conftest.err >&5
11209 echo "$as_me:11209: \$? = $ac_status" >&5
11210 if (exit $ac_status) && test -s "$ac_outfile"; then
11211 # The compiler can only warn and ignore the option if not recognized
11212 # So say no if there are warnings other than the usual output.
11213 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11214 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11215 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11216 lt_prog_compiler_pic_works_FC=yes
11219 $RM conftest*
11222 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11223 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11225 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11226 case $lt_prog_compiler_pic_FC in
11227 "" | " "*) ;;
11228 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11229 esac
11230 else
11231 lt_prog_compiler_pic_FC=
11232 lt_prog_compiler_can_build_shared_FC=no
11240 # Check to make sure the static flag actually works.
11242 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11243 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11244 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11245 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11247 else
11248 lt_prog_compiler_static_works_FC=no
11249 save_LDFLAGS="$LDFLAGS"
11250 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11251 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11252 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11253 # The linker can only warn and ignore the option if not recognized
11254 # So say no if there are warnings
11255 if test -s conftest.err; then
11256 # Append any errors to the config.log.
11257 cat conftest.err 1>&5
11258 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11259 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11260 if diff conftest.exp conftest.er2 >/dev/null; then
11261 lt_prog_compiler_static_works_FC=yes
11263 else
11264 lt_prog_compiler_static_works_FC=yes
11267 $RM conftest*
11268 LDFLAGS="$save_LDFLAGS"
11271 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11272 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11274 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11276 else
11277 lt_prog_compiler_static_FC=
11283 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11284 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11285 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 else
11288 lt_cv_prog_compiler_c_o_FC=no
11289 $RM -r conftest 2>/dev/null
11290 mkdir conftest
11291 cd conftest
11292 mkdir out
11293 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11295 lt_compiler_flag="-o out/conftest2.$ac_objext"
11296 # Insert the option either (1) after the last *FLAGS variable, or
11297 # (2) before a word containing "conftest.", or (3) at the end.
11298 # Note that $ac_compile itself does not contain backslashes and begins
11299 # with a dollar sign (not a hyphen), so the echo should work correctly.
11300 lt_compile=`echo "$ac_compile" | $SED \
11301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11303 -e 's:$: $lt_compiler_flag:'`
11304 (eval echo "\"\$as_me:11304: $lt_compile\"" >&5)
11305 (eval "$lt_compile" 2>out/conftest.err)
11306 ac_status=$?
11307 cat out/conftest.err >&5
11308 echo "$as_me:11308: \$? = $ac_status" >&5
11309 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11310 then
11311 # The compiler can only warn and ignore the option if not recognized
11312 # So say no if there are warnings
11313 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11314 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11315 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11316 lt_cv_prog_compiler_c_o_FC=yes
11319 chmod u+w . 2>&5
11320 $RM conftest*
11321 # SGI C++ compiler will create directory out/ii_files/ for
11322 # template instantiation
11323 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11324 $RM out/* && rmdir out
11325 cd ..
11326 $RM -r conftest
11327 $RM conftest*
11330 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11331 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11335 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11336 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11337 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 else
11340 lt_cv_prog_compiler_c_o_FC=no
11341 $RM -r conftest 2>/dev/null
11342 mkdir conftest
11343 cd conftest
11344 mkdir out
11345 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11347 lt_compiler_flag="-o out/conftest2.$ac_objext"
11348 # Insert the option either (1) after the last *FLAGS variable, or
11349 # (2) before a word containing "conftest.", or (3) at the end.
11350 # Note that $ac_compile itself does not contain backslashes and begins
11351 # with a dollar sign (not a hyphen), so the echo should work correctly.
11352 lt_compile=`echo "$ac_compile" | $SED \
11353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11355 -e 's:$: $lt_compiler_flag:'`
11356 (eval echo "\"\$as_me:11356: $lt_compile\"" >&5)
11357 (eval "$lt_compile" 2>out/conftest.err)
11358 ac_status=$?
11359 cat out/conftest.err >&5
11360 echo "$as_me:11360: \$? = $ac_status" >&5
11361 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11362 then
11363 # The compiler can only warn and ignore the option if not recognized
11364 # So say no if there are warnings
11365 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11366 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11367 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11368 lt_cv_prog_compiler_c_o_FC=yes
11371 chmod u+w . 2>&5
11372 $RM conftest*
11373 # SGI C++ compiler will create directory out/ii_files/ for
11374 # template instantiation
11375 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11376 $RM out/* && rmdir out
11377 cd ..
11378 $RM -r conftest
11379 $RM conftest*
11382 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11383 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11388 hard_links="nottested"
11389 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11390 # do not overwrite the value of need_locks provided by the user
11391 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11392 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11393 hard_links=yes
11394 $RM conftest*
11395 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11396 touch conftest.a
11397 ln conftest.a conftest.b 2>&5 || hard_links=no
11398 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11399 echo "$as_me:$LINENO: result: $hard_links" >&5
11400 echo "${ECHO_T}$hard_links" >&6
11401 if test "$hard_links" = no; then
11402 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11403 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11404 need_locks=warn
11406 else
11407 need_locks=no
11412 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11413 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11415 runpath_var=
11416 allow_undefined_flag_FC=
11417 always_export_symbols_FC=no
11418 archive_cmds_FC=
11419 archive_expsym_cmds_FC=
11420 compiler_needs_object_FC=no
11421 enable_shared_with_static_runtimes_FC=no
11422 export_dynamic_flag_spec_FC=
11423 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11424 hardcode_automatic_FC=no
11425 hardcode_direct_FC=no
11426 hardcode_direct_absolute_FC=no
11427 hardcode_libdir_flag_spec_FC=
11428 hardcode_libdir_flag_spec_ld_FC=
11429 hardcode_libdir_separator_FC=
11430 hardcode_minus_L_FC=no
11431 hardcode_shlibpath_var_FC=unsupported
11432 inherit_rpath_FC=no
11433 link_all_deplibs_FC=unknown
11434 module_cmds_FC=
11435 module_expsym_cmds_FC=
11436 old_archive_from_new_cmds_FC=
11437 old_archive_from_expsyms_cmds_FC=
11438 thread_safe_flag_spec_FC=
11439 whole_archive_flag_spec_FC=
11440 # include_expsyms should be a list of space-separated symbols to be *always*
11441 # included in the symbol list
11442 include_expsyms_FC=
11443 # exclude_expsyms can be an extended regexp of symbols to exclude
11444 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11445 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11446 # as well as any symbol that contains `d'.
11447 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11448 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11449 # platforms (ab)use it in PIC code, but their linkers get confused if
11450 # the symbol is explicitly referenced. Since portable code cannot
11451 # rely on this symbol name, it's probably fine to never include it in
11452 # preloaded symbol tables.
11453 extract_expsyms_cmds=
11455 case $host_os in
11456 cygwin* | mingw* | pw32*)
11457 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11458 # When not using gcc, we currently assume that we are using
11459 # Microsoft Visual C++.
11460 if test "$GCC" != yes; then
11461 with_gnu_ld=no
11464 interix*)
11465 # we just hope/assume this is gcc and not c89 (= MSVC++)
11466 with_gnu_ld=yes
11468 openbsd*)
11469 with_gnu_ld=no
11471 esac
11473 ld_shlibs_FC=yes
11474 if test "$with_gnu_ld" = yes; then
11475 # If archive_cmds runs LD, not CC, wlarc should be empty
11476 wlarc='${wl}'
11478 # Set some defaults for GNU ld with shared library support. These
11479 # are reset later if shared libraries are not supported. Putting them
11480 # here allows them to be overridden if necessary.
11481 runpath_var=LD_RUN_PATH
11482 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11483 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11484 # ancient GNU ld didn't support --whole-archive et. al.
11485 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11486 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11487 else
11488 whole_archive_flag_spec_FC=
11490 supports_anon_versioning=no
11491 case `$LD -v 2>&1` in
11492 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11493 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11494 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11495 *\ 2.11.*) ;; # other 2.11 versions
11496 *) supports_anon_versioning=yes ;;
11497 esac
11499 # See if GNU ld supports shared libraries.
11500 case $host_os in
11501 aix3* | aix4* | aix5*)
11502 # On AIX/PPC, the GNU linker is very broken
11503 if test "$host_cpu" != ia64; then
11504 ld_shlibs_FC=no
11505 cat <<_LT_EOF 1>&2
11507 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11508 *** to be unable to reliably create shared libraries on AIX.
11509 *** Therefore, libtool is disabling shared libraries support. If you
11510 *** really care for shared libraries, you may want to modify your PATH
11511 *** so that a non-GNU linker is found, and then restart.
11513 _LT_EOF
11517 amigaos*)
11518 if test "$host_cpu" = m68k; then
11519 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)'
11520 hardcode_libdir_flag_spec_FC='-L$libdir'
11521 hardcode_minus_L_FC=yes
11524 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11525 # that the semantics of dynamic libraries on AmigaOS, at least up
11526 # to version 4, is to share data among multiple programs linked
11527 # with the same dynamic library. Since this doesn't match the
11528 # behavior of shared libraries on other platforms, we can't use
11529 # them.
11530 ld_shlibs_FC=no
11533 beos*)
11534 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11535 allow_undefined_flag_FC=unsupported
11536 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11537 # support --undefined. This deserves some investigation. FIXME
11538 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11539 else
11540 ld_shlibs_FC=no
11544 cygwin* | mingw* | pw32*)
11545 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11546 # as there is no search path for DLLs.
11547 hardcode_libdir_flag_spec_FC='-L$libdir'
11548 allow_undefined_flag_FC=unsupported
11549 always_export_symbols_FC=no
11550 enable_shared_with_static_runtimes_FC=yes
11551 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11553 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11554 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11555 # If the export-symbols file already is a .def file (1st line
11556 # is EXPORTS), use it as is; otherwise, prepend...
11557 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11558 cp $export_symbols $output_objdir/$soname.def;
11559 else
11560 echo EXPORTS > $output_objdir/$soname.def;
11561 cat $export_symbols >> $output_objdir/$soname.def;
11563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11564 else
11565 ld_shlibs_FC=no
11569 interix[3-9]*)
11570 hardcode_direct_FC=no
11571 hardcode_shlibpath_var_FC=no
11572 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11573 export_dynamic_flag_spec_FC='${wl}-E'
11574 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11575 # Instead, shared libraries are loaded at an image base (0x10000000 by
11576 # default) and relocated if they conflict, which is a slow very memory
11577 # consuming and fragmenting process. To avoid this, we pick a random,
11578 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11579 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11580 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'
11581 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'
11584 gnu* | linux* | tpf* | k*bsd*-gnu)
11585 tmp_diet=no
11586 if test "$host_os" = linux-dietlibc; then
11587 case $cc_basename in
11588 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11589 esac
11591 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11592 && test "$tmp_diet" = no
11593 then
11594 tmp_addflag=
11595 case $cc_basename,$host_cpu in
11596 pgcc*) # Portland Group C compiler
11597 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'
11598 tmp_addflag=' $pic_flag'
11600 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11601 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'
11602 tmp_addflag=' $pic_flag -Mnomain' ;;
11603 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11604 tmp_addflag=' -i_dynamic' ;;
11605 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11606 tmp_addflag=' -i_dynamic -nofor_main' ;;
11607 ifc* | ifort*) # Intel Fortran compiler
11608 tmp_addflag=' -nofor_main' ;;
11609 esac
11610 case `$CC -V 2>&1 | sed 5q` in
11611 *Sun\ C*) # Sun C 5.9
11612 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'
11613 compiler_needs_object_FC=yes
11614 tmp_sharedflag='-G' ;;
11615 *Sun\ F*) # Sun Fortran 8.3
11616 tmp_sharedflag='-G' ;;
11618 tmp_sharedflag='-shared' ;;
11619 esac
11620 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11622 if test "x$supports_anon_versioning" = xyes; then
11623 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11625 echo "local: *; };" >> $output_objdir/$libname.ver~
11626 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11628 else
11629 ld_shlibs_FC=no
11633 netbsd*)
11634 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11635 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11636 wlarc=
11637 else
11638 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11639 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11643 solaris*)
11644 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11645 ld_shlibs_FC=no
11646 cat <<_LT_EOF 1>&2
11648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11649 *** create shared libraries on Solaris systems. Therefore, libtool
11650 *** is disabling shared libraries support. We urge you to upgrade GNU
11651 *** binutils to release 2.9.1 or newer. Another option is to modify
11652 *** your PATH or compiler configuration so that the native linker is
11653 *** used, and then restart.
11655 _LT_EOF
11656 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11657 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11658 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11659 else
11660 ld_shlibs_FC=no
11664 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11665 case `$LD -v 2>&1` in
11666 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11667 ld_shlibs_FC=no
11668 cat <<_LT_EOF 1>&2
11670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11671 *** reliably create shared libraries on SCO systems. Therefore, libtool
11672 *** is disabling shared libraries support. We urge you to upgrade GNU
11673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11674 *** your PATH or compiler configuration so that the native linker is
11675 *** used, and then restart.
11677 _LT_EOF
11680 # For security reasons, it is highly recommended that you always
11681 # use absolute paths for naming shared libraries, and exclude the
11682 # DT_RUNPATH tag from executables and libraries. But doing so
11683 # requires that you compile everything twice, which is a pain.
11684 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11685 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11686 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11687 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11688 else
11689 ld_shlibs_FC=no
11692 esac
11695 sunos4*)
11696 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11697 wlarc=
11698 hardcode_direct_FC=yes
11699 hardcode_shlibpath_var_FC=no
11703 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11704 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11705 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11706 else
11707 ld_shlibs_FC=no
11710 esac
11712 if test "$ld_shlibs_FC" = no; then
11713 runpath_var=
11714 hardcode_libdir_flag_spec_FC=
11715 export_dynamic_flag_spec_FC=
11716 whole_archive_flag_spec_FC=
11718 else
11719 # PORTME fill in a description of your system's linker (not GNU ld)
11720 case $host_os in
11721 aix3*)
11722 allow_undefined_flag_FC=unsupported
11723 always_export_symbols_FC=yes
11724 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'
11725 # Note: this linker hardcodes the directories in LIBPATH if there
11726 # are no directories specified by -L.
11727 hardcode_minus_L_FC=yes
11728 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11729 # Neither direct hardcoding nor static linking is supported with a
11730 # broken collect2.
11731 hardcode_direct_FC=unsupported
11735 aix4* | aix5*)
11736 if test "$host_cpu" = ia64; then
11737 # On IA64, the linker does run time linking by default, so we don't
11738 # have to do anything special.
11739 aix_use_runtimelinking=no
11740 exp_sym_flag='-Bexport'
11741 no_entry_flag=""
11742 else
11743 # If we're using GNU nm, then we don't want the "-C" option.
11744 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11745 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11746 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'
11747 else
11748 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11750 aix_use_runtimelinking=no
11752 # Test if we are trying to use run time linking or normal
11753 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11754 # need to do runtime linking.
11755 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11756 for ld_flag in $LDFLAGS; do
11757 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11758 aix_use_runtimelinking=yes
11759 break
11761 done
11763 esac
11765 exp_sym_flag='-bexport'
11766 no_entry_flag='-bnoentry'
11769 # When large executables or shared objects are built, AIX ld can
11770 # have problems creating the table of contents. If linking a library
11771 # or program results in "error TOC overflow" add -mminimal-toc to
11772 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11773 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11775 archive_cmds_FC=''
11776 hardcode_direct_FC=yes
11777 hardcode_direct_absolute_FC=yes
11778 hardcode_libdir_separator_FC=':'
11779 link_all_deplibs_FC=yes
11780 file_list_spec_FC='${wl}-f,'
11782 if test "$GCC" = yes; then
11783 case $host_os in aix4.[012]|aix4.[012].*)
11784 # We only want to do this on AIX 4.2 and lower, the check
11785 # below for broken collect2 doesn't work under 4.3+
11786 collect2name=`${CC} -print-prog-name=collect2`
11787 if test -f "$collect2name" &&
11788 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11789 then
11790 # We have reworked collect2
11792 else
11793 # We have old collect2
11794 hardcode_direct_FC=unsupported
11795 # It fails to find uninstalled libraries when the uninstalled
11796 # path is not listed in the libpath. Setting hardcode_minus_L
11797 # to unsupported forces relinking
11798 hardcode_minus_L_FC=yes
11799 hardcode_libdir_flag_spec_FC='-L$libdir'
11800 hardcode_libdir_separator_FC=
11803 esac
11804 shared_flag='-shared'
11805 if test "$aix_use_runtimelinking" = yes; then
11806 shared_flag="$shared_flag "'${wl}-G'
11808 else
11809 # not using gcc
11810 if test "$host_cpu" = ia64; then
11811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11812 # chokes on -Wl,-G. The following line is correct:
11813 shared_flag='-G'
11814 else
11815 if test "$aix_use_runtimelinking" = yes; then
11816 shared_flag='${wl}-G'
11817 else
11818 shared_flag='${wl}-bM:SRE'
11823 # It seems that -bexpall does not export symbols beginning with
11824 # underscore (_), so it is better to generate a list of symbols to export.
11825 always_export_symbols_FC=yes
11826 if test "$aix_use_runtimelinking" = yes; then
11827 # Warning - without using the other runtime loading flags (-brtl),
11828 # -berok will link without error, but may produce a broken library.
11829 allow_undefined_flag_FC='-berok'
11830 # Determine the default libpath from the value encoded in an
11831 # empty executable.
11832 if test x$gcc_no_link = xyes; then
11833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11835 { (exit 1); exit 1; }; }
11837 cat >conftest.$ac_ext <<_ACEOF
11838 program main
11841 _ACEOF
11842 rm -f conftest.$ac_objext conftest$ac_exeext
11843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11844 (eval $ac_link) 2>conftest.er1
11845 ac_status=$?
11846 grep -v '^ *+' conftest.er1 >conftest.err
11847 rm -f conftest.er1
11848 cat conftest.err >&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } &&
11851 { ac_try='test -z "$ac_fc_werror_flag"
11852 || test ! -s conftest.err'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11855 ac_status=$?
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; } &&
11858 { ac_try='test -s conftest$ac_exeext'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11861 ac_status=$?
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then
11865 lt_aix_libpath_sed='
11866 /Import File Strings/,/^$/ {
11867 /^0/ {
11868 s/^0 *\(.*\)$/\1/
11872 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11873 # Check for a 64-bit object if we didn't find anything.
11874 if test -z "$aix_libpath"; then
11875 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11877 else
11878 echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.$ac_ext >&5
11882 rm -f conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11886 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11887 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"
11888 else
11889 if test "$host_cpu" = ia64; then
11890 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11891 allow_undefined_flag_FC="-z nodefs"
11892 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"
11893 else
11894 # Determine the default libpath from the value encoded in an
11895 # empty executable.
11896 if test x$gcc_no_link = xyes; then
11897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11899 { (exit 1); exit 1; }; }
11901 cat >conftest.$ac_ext <<_ACEOF
11902 program main
11905 _ACEOF
11906 rm -f conftest.$ac_objext conftest$ac_exeext
11907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11908 (eval $ac_link) 2>conftest.er1
11909 ac_status=$?
11910 grep -v '^ *+' conftest.er1 >conftest.err
11911 rm -f conftest.er1
11912 cat conftest.err >&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); } &&
11915 { ac_try='test -z "$ac_fc_werror_flag"
11916 || test ! -s conftest.err'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11919 ac_status=$?
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; } &&
11922 { ac_try='test -s conftest$ac_exeext'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11925 ac_status=$?
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; }; then
11929 lt_aix_libpath_sed='
11930 /Import File Strings/,/^$/ {
11931 /^0/ {
11932 s/^0 *\(.*\)$/\1/
11936 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11937 # Check for a 64-bit object if we didn't find anything.
11938 if test -z "$aix_libpath"; then
11939 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11941 else
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11946 rm -f conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11950 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11951 # Warning - without using the other run time loading flags,
11952 # -berok will link without error, but may produce a broken library.
11953 no_undefined_flag_FC=' ${wl}-bernotok'
11954 allow_undefined_flag_FC=' ${wl}-berok'
11955 # Exported symbols can be pulled into shared objects from archives
11956 whole_archive_flag_spec_FC='$convenience'
11957 archive_cmds_need_lc_FC=yes
11958 # This is similar to how AIX traditionally builds its shared libraries.
11959 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'
11964 amigaos*)
11965 if test "$host_cpu" = m68k; then
11966 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)'
11967 hardcode_libdir_flag_spec_FC='-L$libdir'
11968 hardcode_minus_L_FC=yes
11970 # see comment about different semantics on the GNU ld section
11971 ld_shlibs_FC=no
11974 bsdi[45]*)
11975 export_dynamic_flag_spec_FC=-rdynamic
11978 cygwin* | mingw* | pw32*)
11979 # When not using gcc, we currently assume that we are using
11980 # Microsoft Visual C++.
11981 # hardcode_libdir_flag_spec is actually meaningless, as there is
11982 # no search path for DLLs.
11983 hardcode_libdir_flag_spec_FC=' '
11984 allow_undefined_flag_FC=unsupported
11985 # Tell ltmain to make .lib files, not .a files.
11986 libext=lib
11987 # Tell ltmain to make .dll files, not .so files.
11988 shrext_cmds=".dll"
11989 # FIXME: Setting linknames here is a bad hack.
11990 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11991 # The linker will automatically build a .lib file if we build a DLL.
11992 old_archive_from_new_cmds_FC='true'
11993 # FIXME: Should let the user specify the lib program.
11994 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
11995 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
11996 enable_shared_with_static_runtimes_FC=yes
11999 darwin* | rhapsody*)
12000 case $host_os in
12001 rhapsody* | darwin1.[012])
12002 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12004 *) # Darwin 1.3 on
12005 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12006 10.[012])
12007 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12009 10.*)
12010 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12012 esac
12014 esac
12015 archive_cmds_need_lc_FC=no
12016 hardcode_direct_FC=no
12017 hardcode_automatic_FC=yes
12018 hardcode_shlibpath_var_FC=unsupported
12019 whole_archive_flag_spec_FC=''
12020 link_all_deplibs_FC=yes
12021 if test "$GCC" = yes ; then
12022 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 else
12025 lt_cv_apple_cc_single_mod=no
12026 if test -z "${LT_MULTI_MODULE}"; then
12027 # By default we will add the -single_module flag. You can override
12028 # by either setting the environment variable LT_MULTI_MODULE
12029 # non-empty at configure time, or by adding -multi-module to the
12030 # link flags.
12031 echo "int foo(void){return 1;}" > conftest.c
12032 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12033 -dynamiclib ${wl}-single_module conftest.c
12034 if test -f libconftest.dylib; then
12035 lt_cv_apple_cc_single_mod=yes
12036 rm libconftest.dylib
12038 rm conftest.$ac_ext
12042 output_verbose_link_cmd=echo
12043 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12044 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12045 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12046 else
12047 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12048 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12050 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12051 module_expsym_cmds_FC='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12052 else
12053 case $cc_basename in
12054 xlc*)
12055 output_verbose_link_cmd=echo
12056 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12057 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12058 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12059 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12060 module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12063 ld_shlibs_FC=no
12065 esac
12069 dgux*)
12070 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12071 hardcode_libdir_flag_spec_FC='-L$libdir'
12072 hardcode_shlibpath_var_FC=no
12075 freebsd1*)
12076 ld_shlibs_FC=no
12079 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12080 # support. Future versions do this automatically, but an explicit c++rt0.o
12081 # does not break anything, and helps significantly (at the cost of a little
12082 # extra space).
12083 freebsd2.2*)
12084 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12085 hardcode_libdir_flag_spec_FC='-R$libdir'
12086 hardcode_direct_FC=yes
12087 hardcode_shlibpath_var_FC=no
12090 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12091 freebsd2*)
12092 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12093 hardcode_direct_FC=yes
12094 hardcode_minus_L_FC=yes
12095 hardcode_shlibpath_var_FC=no
12098 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12099 freebsd* | dragonfly*)
12100 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12101 hardcode_libdir_flag_spec_FC='-R$libdir'
12102 hardcode_direct_FC=yes
12103 hardcode_shlibpath_var_FC=no
12106 hpux9*)
12107 if test "$GCC" = yes; then
12108 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'
12109 else
12110 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12112 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12113 hardcode_libdir_separator_FC=:
12114 hardcode_direct_FC=yes
12116 # hardcode_minus_L: Not really in the search PATH,
12117 # but as the default location of the library.
12118 hardcode_minus_L_FC=yes
12119 export_dynamic_flag_spec_FC='${wl}-E'
12122 hpux10*)
12123 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12124 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12125 else
12126 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12128 if test "$with_gnu_ld" = no; then
12129 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12130 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12131 hardcode_libdir_separator_FC=:
12132 hardcode_direct_FC=yes
12133 hardcode_direct_absolute_FC=yes
12134 export_dynamic_flag_spec_FC='${wl}-E'
12135 # hardcode_minus_L: Not really in the search PATH,
12136 # but as the default location of the library.
12137 hardcode_minus_L_FC=yes
12141 hpux11*)
12142 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12143 case $host_cpu in
12144 hppa*64*)
12145 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12147 ia64*)
12148 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12151 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12153 esac
12154 else
12155 case $host_cpu in
12156 hppa*64*)
12157 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12159 ia64*)
12160 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12163 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12165 esac
12167 if test "$with_gnu_ld" = no; then
12168 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12169 hardcode_libdir_separator_FC=:
12171 case $host_cpu in
12172 hppa*64*|ia64*)
12173 hardcode_direct_FC=no
12174 hardcode_shlibpath_var_FC=no
12177 hardcode_direct_FC=yes
12178 hardcode_direct_absolute_FC=yes
12179 export_dynamic_flag_spec_FC='${wl}-E'
12181 # hardcode_minus_L: Not really in the search PATH,
12182 # but as the default location of the library.
12183 hardcode_minus_L_FC=yes
12185 esac
12189 irix5* | irix6* | nonstopux*)
12190 if test "$GCC" = yes; then
12191 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'
12192 # Try to use the -exported_symbol ld option, if it does not
12193 # work, assume that -exports_file does not work either and
12194 # implicitly export all symbols.
12195 save_LDFLAGS="$LDFLAGS"
12196 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12197 if test x$gcc_no_link = xyes; then
12198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12200 { (exit 1); exit 1; }; }
12202 cat >conftest.$ac_ext <<_ACEOF
12203 int foo(void) {}
12204 _ACEOF
12205 rm -f conftest.$ac_objext conftest$ac_exeext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12207 (eval $ac_link) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try='test -z "$ac_fc_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest$ac_exeext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12229 else
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.$ac_ext >&5
12234 rm -f conftest.err conftest.$ac_objext \
12235 conftest$ac_exeext conftest.$ac_ext
12236 LDFLAGS="$save_LDFLAGS"
12237 else
12238 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'
12239 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12241 archive_cmds_need_lc_FC='no'
12242 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12243 hardcode_libdir_separator_FC=:
12244 inherit_rpath_FC=yes
12245 link_all_deplibs_FC=yes
12248 netbsd*)
12249 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12250 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12251 else
12252 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12254 hardcode_libdir_flag_spec_FC='-R$libdir'
12255 hardcode_direct_FC=yes
12256 hardcode_shlibpath_var_FC=no
12259 newsos6)
12260 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12261 hardcode_direct_FC=yes
12262 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12263 hardcode_libdir_separator_FC=:
12264 hardcode_shlibpath_var_FC=no
12267 *nto* | *qnx*)
12270 openbsd*)
12271 hardcode_direct_FC=yes
12272 hardcode_shlibpath_var_FC=no
12273 hardcode_direct_absolute_FC=yes
12274 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12275 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12276 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12277 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12278 export_dynamic_flag_spec_FC='${wl}-E'
12279 else
12280 case $host_os in
12281 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12282 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12283 hardcode_libdir_flag_spec_FC='-R$libdir'
12286 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12287 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12289 esac
12293 os2*)
12294 hardcode_libdir_flag_spec_FC='-L$libdir'
12295 hardcode_minus_L_FC=yes
12296 allow_undefined_flag_FC=unsupported
12297 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'
12298 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12301 osf3*)
12302 if test "$GCC" = yes; then
12303 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12304 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'
12305 else
12306 allow_undefined_flag_FC=' -expect_unresolved \*'
12307 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12309 archive_cmds_need_lc_FC='no'
12310 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12311 hardcode_libdir_separator_FC=:
12314 osf4* | osf5*) # as osf3* with the addition of -msym flag
12315 if test "$GCC" = yes; then
12316 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12317 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'
12318 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12319 else
12320 allow_undefined_flag_FC=' -expect_unresolved \*'
12321 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'
12322 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~
12323 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12325 # Both c and cxx compiler support -rpath directly
12326 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12328 archive_cmds_need_lc_FC='no'
12329 hardcode_libdir_separator_FC=:
12332 solaris*)
12333 no_undefined_flag_FC=' -z defs'
12334 if test "$GCC" = yes; then
12335 wlarc='${wl}'
12336 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12337 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12338 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12339 else
12340 case `$CC -V 2>&1` in
12341 *"Compilers 5.0"*)
12342 wlarc=''
12343 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12344 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12345 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12348 wlarc='${wl}'
12349 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12350 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12351 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12353 esac
12355 hardcode_libdir_flag_spec_FC='-R$libdir'
12356 hardcode_shlibpath_var_FC=no
12357 case $host_os in
12358 solaris2.[0-5] | solaris2.[0-5].*) ;;
12360 # The compiler driver will combine and reorder linker options,
12361 # but understands `-z linker_flag'. GCC discards it without `$wl',
12362 # but is careful enough not to reorder.
12363 # Supported since Solaris 2.6 (maybe 2.5.1?)
12364 if test "$GCC" = yes; then
12365 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12366 else
12367 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12370 esac
12371 link_all_deplibs_FC=yes
12374 sunos4*)
12375 if test "x$host_vendor" = xsequent; then
12376 # Use $CC to link under sequent, because it throws in some extra .o
12377 # files that make .init and .fini sections work.
12378 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12379 else
12380 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12382 hardcode_libdir_flag_spec_FC='-L$libdir'
12383 hardcode_direct_FC=yes
12384 hardcode_minus_L_FC=yes
12385 hardcode_shlibpath_var_FC=no
12388 sysv4)
12389 case $host_vendor in
12390 sni)
12391 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12392 hardcode_direct_FC=yes # is this really true???
12394 siemens)
12395 ## LD is ld it makes a PLAMLIB
12396 ## CC just makes a GrossModule.
12397 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12398 reload_cmds_FC='$CC -r -o $output$reload_objs'
12399 hardcode_direct_FC=no
12401 motorola)
12402 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12403 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12405 esac
12406 runpath_var='LD_RUN_PATH'
12407 hardcode_shlibpath_var_FC=no
12410 sysv4.3*)
12411 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12412 hardcode_shlibpath_var_FC=no
12413 export_dynamic_flag_spec_FC='-Bexport'
12416 sysv4*MP*)
12417 if test -d /usr/nec; then
12418 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12419 hardcode_shlibpath_var_FC=no
12420 runpath_var=LD_RUN_PATH
12421 hardcode_runpath_var=yes
12422 ld_shlibs_FC=yes
12426 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12427 no_undefined_flag_FC='${wl}-z,text'
12428 archive_cmds_need_lc_FC=no
12429 hardcode_shlibpath_var_FC=no
12430 runpath_var='LD_RUN_PATH'
12432 if test "$GCC" = yes; then
12433 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12434 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12435 else
12436 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12437 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12441 sysv5* | sco3.2v5* | sco5v6*)
12442 # Note: We can NOT use -z defs as we might desire, because we do not
12443 # link with -lc, and that would cause any symbols used from libc to
12444 # always be unresolved, which means just about no library would
12445 # ever link correctly. If we're not using GNU ld we use -z text
12446 # though, which does catch some bad symbols but isn't as heavy-handed
12447 # as -z defs.
12448 no_undefined_flag_FC='${wl}-z,text'
12449 allow_undefined_flag_FC='${wl}-z,nodefs'
12450 archive_cmds_need_lc_FC=no
12451 hardcode_shlibpath_var_FC=no
12452 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12453 hardcode_libdir_separator_FC=':'
12454 link_all_deplibs_FC=yes
12455 export_dynamic_flag_spec_FC='${wl}-Bexport'
12456 runpath_var='LD_RUN_PATH'
12458 if test "$GCC" = yes; then
12459 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12460 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12461 else
12462 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12467 uts4*)
12468 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12469 hardcode_libdir_flag_spec_FC='-L$libdir'
12470 hardcode_shlibpath_var_FC=no
12474 ld_shlibs_FC=no
12476 esac
12478 if test x$host_vendor = xsni; then
12479 case $host in
12480 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12481 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12483 esac
12487 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12488 echo "${ECHO_T}$ld_shlibs_FC" >&6
12489 test "$ld_shlibs_FC" = no && can_build_shared=no
12491 with_gnu_ld_FC=$with_gnu_ld
12499 # Do we need to explicitly link libc?
12501 case "x$archive_cmds_need_lc_FC" in
12502 x|xyes)
12503 # Assume -lc should be added
12504 archive_cmds_need_lc_FC=yes
12506 if test "$enable_shared" = yes && test "$GCC" = yes; then
12507 case $archive_cmds_FC in
12508 *'~'*)
12509 # FIXME: we may have to deal with multi-command sequences.
12511 '$CC '*)
12512 # Test whether the compiler implicitly links with -lc since on some
12513 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12514 # to ld, don't add -lc before -lgcc.
12515 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12516 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12517 $RM conftest*
12518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } 2>conftest.err; then
12525 soname=conftest
12526 lib=conftest
12527 libobjs=conftest.$ac_objext
12528 deplibs=
12529 wl=$lt_prog_compiler_wl_FC
12530 pic_flag=$lt_prog_compiler_pic_FC
12531 compiler_flags=-v
12532 linker_flags=-v
12533 verstring=
12534 output_objdir=.
12535 libname=conftest
12536 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12537 allow_undefined_flag_FC=
12538 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12539 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }
12543 then
12544 archive_cmds_need_lc_FC=no
12545 else
12546 archive_cmds_need_lc_FC=yes
12548 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12549 else
12550 cat conftest.err 1>&5
12552 $RM conftest*
12553 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12554 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12556 esac
12559 esac
12624 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12625 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12626 withGCC=$ac_cv_fc_compiler_gnu
12627 library_names_spec=
12628 libname_spec='lib$name'
12629 soname_spec=
12630 shrext_cmds=".so"
12631 postinstall_cmds=
12632 postuninstall_cmds=
12633 finish_cmds=
12634 finish_eval=
12635 shlibpath_var=
12636 shlibpath_overrides_runpath=unknown
12637 version_type=none
12638 dynamic_linker="$host_os ld.so"
12639 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12640 need_lib_prefix=unknown
12641 hardcode_into_libs=no
12643 # when you set need_version to no, make sure it does not cause -set_version
12644 # flags to be left without arguments
12645 need_version=unknown
12647 case $host_os in
12648 aix3*)
12649 version_type=linux
12650 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12651 shlibpath_var=LIBPATH
12653 # AIX 3 has no versioning support, so we append a major version to the name.
12654 soname_spec='${libname}${release}${shared_ext}$major'
12657 aix4* | aix5*)
12658 version_type=linux
12659 need_lib_prefix=no
12660 need_version=no
12661 hardcode_into_libs=yes
12662 if test "$host_cpu" = ia64; then
12663 # AIX 5 supports IA64
12664 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12665 shlibpath_var=LD_LIBRARY_PATH
12666 else
12667 # With GCC up to 2.95.x, collect2 would create an import file
12668 # for dependence libraries. The import file would start with
12669 # the line `#! .'. This would cause the generated library to
12670 # depend on `.', always an invalid library. This was fixed in
12671 # development snapshots of GCC prior to 3.0.
12672 case $host_os in
12673 aix4 | aix4.[01] | aix4.[01].*)
12674 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12675 echo ' yes '
12676 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12678 else
12679 can_build_shared=no
12682 esac
12683 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12684 # soname into executable. Probably we can add versioning support to
12685 # collect2, so additional links can be useful in future.
12686 if test "$aix_use_runtimelinking" = yes; then
12687 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12688 # instead of lib<name>.a to let people know that these are not
12689 # typical AIX shared libraries.
12690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12691 else
12692 # We preserve .a as extension for shared libraries through AIX4.2
12693 # and later when we are not doing run time linking.
12694 library_names_spec='${libname}${release}.a $libname.a'
12695 soname_spec='${libname}${release}${shared_ext}$major'
12697 shlibpath_var=LIBPATH
12701 amigaos*)
12702 if test "$host_cpu" = m68k; then
12703 library_names_spec='$libname.ixlibrary $libname.a'
12704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12705 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'
12706 else
12707 dynamic_linker=no
12711 beos*)
12712 library_names_spec='${libname}${shared_ext}'
12713 dynamic_linker="$host_os ld.so"
12714 shlibpath_var=LIBRARY_PATH
12717 bsdi[45]*)
12718 version_type=linux
12719 need_version=no
12720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12721 soname_spec='${libname}${release}${shared_ext}$major'
12722 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12723 shlibpath_var=LD_LIBRARY_PATH
12724 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12725 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12726 # the default ld.so.conf also contains /usr/contrib/lib and
12727 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12728 # libtool to hard-code these into programs
12731 cygwin* | mingw* | pw32*)
12732 version_type=windows
12733 shrext_cmds=".dll"
12734 need_version=no
12735 need_lib_prefix=no
12737 case $withGCC,$host_os in
12738 yes,cygwin* | yes,mingw* | yes,pw32*)
12739 library_names_spec='$libname.dll.a'
12740 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12741 postinstall_cmds='base_file=`basename \${file}`~
12742 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12743 dldir=$destdir/`dirname \$dlpath`~
12744 test -d \$dldir || mkdir -p \$dldir~
12745 $install_prog $dir/$dlname \$dldir/$dlname~
12746 chmod a+x \$dldir/$dlname~
12747 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12748 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12750 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12751 dlpath=$dir/\$dldll~
12752 $RM \$dlpath'
12753 shlibpath_overrides_runpath=yes
12755 case $host_os in
12756 cygwin*)
12757 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12758 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12759 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12761 mingw*)
12762 # MinGW DLLs use traditional 'lib' prefix
12763 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12764 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12765 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12766 # It is most probably a Windows format PATH printed by
12767 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12768 # path with ; separators, and with drive letters. We can handle the
12769 # drive letters (cygwin fileutils understands them), so leave them,
12770 # especially as we might pass files found there to a mingw objdump,
12771 # which wouldn't understand a cygwinified path. Ahh.
12772 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12773 else
12774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12777 pw32*)
12778 # pw32 DLLs use 'pw' prefix rather than 'lib'
12779 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12781 esac
12785 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12787 esac
12788 dynamic_linker='Win32 ld.exe'
12789 # FIXME: first we should search . and the directory the executable is in
12790 shlibpath_var=PATH
12793 darwin* | rhapsody*)
12794 dynamic_linker="$host_os dyld"
12795 version_type=darwin
12796 need_lib_prefix=no
12797 need_version=no
12798 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12799 soname_spec='${libname}${release}${major}$shared_ext'
12800 shlibpath_overrides_runpath=yes
12801 shlibpath_var=DYLD_LIBRARY_PATH
12802 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12804 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12807 dgux*)
12808 version_type=linux
12809 need_lib_prefix=no
12810 need_version=no
12811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12812 soname_spec='${libname}${release}${shared_ext}$major'
12813 shlibpath_var=LD_LIBRARY_PATH
12816 freebsd1*)
12817 dynamic_linker=no
12820 freebsd* | dragonfly*)
12821 # DragonFly does not have aout. When/if they implement a new
12822 # versioning mechanism, adjust this.
12823 if test -x /usr/bin/objformat; then
12824 objformat=`/usr/bin/objformat`
12825 else
12826 case $host_os in
12827 freebsd[123]*) objformat=aout ;;
12828 *) objformat=elf ;;
12829 esac
12831 version_type=freebsd-$objformat
12832 case $version_type in
12833 freebsd-elf*)
12834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12835 need_version=no
12836 need_lib_prefix=no
12838 freebsd-*)
12839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12840 need_version=yes
12842 esac
12843 shlibpath_var=LD_LIBRARY_PATH
12844 case $host_os in
12845 freebsd2*)
12846 shlibpath_overrides_runpath=yes
12848 freebsd3.[01]* | freebsdelf3.[01]*)
12849 shlibpath_overrides_runpath=yes
12850 hardcode_into_libs=yes
12852 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12853 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12854 shlibpath_overrides_runpath=no
12855 hardcode_into_libs=yes
12857 *) # from 4.6 on, and DragonFly
12858 shlibpath_overrides_runpath=yes
12859 hardcode_into_libs=yes
12861 esac
12864 gnu*)
12865 version_type=linux
12866 need_lib_prefix=no
12867 need_version=no
12868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12869 soname_spec='${libname}${release}${shared_ext}$major'
12870 shlibpath_var=LD_LIBRARY_PATH
12871 hardcode_into_libs=yes
12874 hpux9* | hpux10* | hpux11*)
12875 # Give a soname corresponding to the major version so that dld.sl refuses to
12876 # link against other versions.
12877 version_type=sunos
12878 need_lib_prefix=no
12879 need_version=no
12880 case $host_cpu in
12881 ia64*)
12882 shrext_cmds='.so'
12883 hardcode_into_libs=yes
12884 dynamic_linker="$host_os dld.so"
12885 shlibpath_var=LD_LIBRARY_PATH
12886 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12888 soname_spec='${libname}${release}${shared_ext}$major'
12889 if test "X$HPUX_IA64_MODE" = X32; then
12890 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12891 else
12892 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12894 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12896 hppa*64*)
12897 shrext_cmds='.sl'
12898 hardcode_into_libs=yes
12899 dynamic_linker="$host_os dld.sl"
12900 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12901 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12903 soname_spec='${libname}${release}${shared_ext}$major'
12904 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12905 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12908 shrext_cmds='.sl'
12909 dynamic_linker="$host_os dld.sl"
12910 shlibpath_var=SHLIB_PATH
12911 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12913 soname_spec='${libname}${release}${shared_ext}$major'
12915 esac
12916 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12917 postinstall_cmds='chmod 555 $lib'
12920 interix[3-9]*)
12921 version_type=linux
12922 need_lib_prefix=no
12923 need_version=no
12924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12925 soname_spec='${libname}${release}${shared_ext}$major'
12926 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12927 shlibpath_var=LD_LIBRARY_PATH
12928 shlibpath_overrides_runpath=no
12929 hardcode_into_libs=yes
12932 irix5* | irix6* | nonstopux*)
12933 case $host_os in
12934 nonstopux*) version_type=nonstopux ;;
12936 if test "$lt_cv_prog_gnu_ld" = yes; then
12937 version_type=linux
12938 else
12939 version_type=irix
12940 fi ;;
12941 esac
12942 need_lib_prefix=no
12943 need_version=no
12944 soname_spec='${libname}${release}${shared_ext}$major'
12945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12946 case $host_os in
12947 irix5* | nonstopux*)
12948 libsuff= shlibsuff=
12951 case $LD in # libtool.m4 will add one of these switches to LD
12952 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12953 libsuff= shlibsuff= libmagic=32-bit;;
12954 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12955 libsuff=32 shlibsuff=N32 libmagic=N32;;
12956 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12957 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12958 *) libsuff= shlibsuff= libmagic=never-match;;
12959 esac
12961 esac
12962 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12963 shlibpath_overrides_runpath=no
12964 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12965 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12966 hardcode_into_libs=yes
12969 # No shared lib support for Linux oldld, aout, or coff.
12970 linux*oldld* | linux*aout* | linux*coff*)
12971 dynamic_linker=no
12974 # This must be Linux ELF.
12975 linux* | k*bsd*-gnu)
12976 version_type=linux
12977 need_lib_prefix=no
12978 need_version=no
12979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12980 soname_spec='${libname}${release}${shared_ext}$major'
12981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12982 shlibpath_var=LD_LIBRARY_PATH
12983 shlibpath_overrides_runpath=no
12984 # Some binutils ld are patched to set DT_RUNPATH
12985 save_LDFLAGS=$LDFLAGS
12986 save_libdir=$libdir
12987 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12988 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12989 if test x$gcc_no_link = xyes; then
12990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12992 { (exit 1); exit 1; }; }
12994 cat >conftest.$ac_ext <<_ACEOF
12995 program main
12998 _ACEOF
12999 rm -f conftest.$ac_objext conftest$ac_exeext
13000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13001 (eval $ac_link) 2>conftest.er1
13002 ac_status=$?
13003 grep -v '^ *+' conftest.er1 >conftest.err
13004 rm -f conftest.er1
13005 cat conftest.err >&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } &&
13008 { ac_try='test -z "$ac_fc_werror_flag"
13009 || test ! -s conftest.err'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; } &&
13015 { ac_try='test -s conftest$ac_exeext'
13016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017 (eval $ac_try) 2>&5
13018 ac_status=$?
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); }; }; then
13021 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13022 shlibpath_overrides_runpath=yes
13025 else
13026 echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.$ac_ext >&5
13030 rm -f conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13032 LDFLAGS=$save_LDFLAGS
13033 libdir=$save_libdir
13035 # This implies no fast_install, which is unacceptable.
13036 # Some rework will be needed to allow for fast_install
13037 # before this can be enabled.
13038 hardcode_into_libs=yes
13040 # Append ld.so.conf contents to the search path
13041 if test -f /etc/ld.so.conf; then
13042 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13043 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13046 # We used to test for /lib/ld.so.1 and disable shared libraries on
13047 # powerpc, because MkLinux only supported shared libraries with the
13048 # GNU dynamic linker. Since this was broken with cross compilers,
13049 # most powerpc-linux boxes support dynamic linking these days and
13050 # people can always --disable-shared, the test was removed, and we
13051 # assume the GNU/Linux dynamic linker is in use.
13052 dynamic_linker='GNU/Linux ld.so'
13055 netbsd*)
13056 version_type=sunos
13057 need_lib_prefix=no
13058 need_version=no
13059 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13061 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13062 dynamic_linker='NetBSD (a.out) ld.so'
13063 else
13064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13065 soname_spec='${libname}${release}${shared_ext}$major'
13066 dynamic_linker='NetBSD ld.elf_so'
13068 shlibpath_var=LD_LIBRARY_PATH
13069 shlibpath_overrides_runpath=yes
13070 hardcode_into_libs=yes
13073 newsos6)
13074 version_type=linux
13075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13076 shlibpath_var=LD_LIBRARY_PATH
13077 shlibpath_overrides_runpath=yes
13080 *nto* | *qnx*)
13081 version_type=qnx
13082 need_lib_prefix=no
13083 need_version=no
13084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13085 soname_spec='${libname}${release}${shared_ext}$major'
13086 shlibpath_var=LD_LIBRARY_PATH
13087 shlibpath_overrides_runpath=no
13088 hardcode_into_libs=yes
13089 dynamic_linker='ldqnx.so'
13092 openbsd*)
13093 version_type=sunos
13094 sys_lib_dlsearch_path_spec="/usr/lib"
13095 need_lib_prefix=no
13096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13097 case $host_os in
13098 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13099 *) need_version=no ;;
13100 esac
13101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13102 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13103 shlibpath_var=LD_LIBRARY_PATH
13104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13105 case $host_os in
13106 openbsd2.[89] | openbsd2.[89].*)
13107 shlibpath_overrides_runpath=no
13110 shlibpath_overrides_runpath=yes
13112 esac
13113 else
13114 shlibpath_overrides_runpath=yes
13118 os2*)
13119 libname_spec='$name'
13120 shrext_cmds=".dll"
13121 need_lib_prefix=no
13122 library_names_spec='$libname${shared_ext} $libname.a'
13123 dynamic_linker='OS/2 ld.exe'
13124 shlibpath_var=LIBPATH
13127 osf3* | osf4* | osf5*)
13128 version_type=osf
13129 need_lib_prefix=no
13130 need_version=no
13131 soname_spec='${libname}${release}${shared_ext}$major'
13132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13133 shlibpath_var=LD_LIBRARY_PATH
13134 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13135 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13138 rdos*)
13139 dynamic_linker=no
13142 solaris*)
13143 version_type=linux
13144 need_lib_prefix=no
13145 need_version=no
13146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13147 soname_spec='${libname}${release}${shared_ext}$major'
13148 shlibpath_var=LD_LIBRARY_PATH
13149 shlibpath_overrides_runpath=yes
13150 hardcode_into_libs=yes
13151 # ldd complains unless libraries are executable
13152 postinstall_cmds='chmod +x $lib'
13155 sunos4*)
13156 version_type=sunos
13157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13158 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13159 shlibpath_var=LD_LIBRARY_PATH
13160 shlibpath_overrides_runpath=yes
13161 if test "$with_gnu_ld" = yes; then
13162 need_lib_prefix=no
13164 need_version=yes
13167 sysv4 | sysv4.3*)
13168 version_type=linux
13169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13170 soname_spec='${libname}${release}${shared_ext}$major'
13171 shlibpath_var=LD_LIBRARY_PATH
13172 case $host_vendor in
13173 sni)
13174 shlibpath_overrides_runpath=no
13175 need_lib_prefix=no
13176 runpath_var=LD_RUN_PATH
13178 siemens)
13179 need_lib_prefix=no
13181 motorola)
13182 need_lib_prefix=no
13183 need_version=no
13184 shlibpath_overrides_runpath=no
13185 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13187 esac
13190 sysv4*MP*)
13191 if test -d /usr/nec ;then
13192 version_type=linux
13193 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13194 soname_spec='$libname${shared_ext}.$major'
13195 shlibpath_var=LD_LIBRARY_PATH
13199 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13200 version_type=freebsd-elf
13201 need_lib_prefix=no
13202 need_version=no
13203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13204 soname_spec='${libname}${release}${shared_ext}$major'
13205 shlibpath_var=LD_LIBRARY_PATH
13206 shlibpath_overrides_runpath=yes
13207 hardcode_into_libs=yes
13208 if test "$with_gnu_ld" = yes; then
13209 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13210 else
13211 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13212 case $host_os in
13213 sco3.2v5*)
13214 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13216 esac
13218 sys_lib_dlsearch_path_spec='/usr/lib'
13221 tpf*)
13222 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13223 version_type=linux
13224 need_lib_prefix=no
13225 need_version=no
13226 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13227 shlibpath_var=LD_LIBRARY_PATH
13228 shlibpath_overrides_runpath=no
13229 hardcode_into_libs=yes
13232 uts4*)
13233 version_type=linux
13234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13235 soname_spec='${libname}${release}${shared_ext}$major'
13236 shlibpath_var=LD_LIBRARY_PATH
13240 dynamic_linker=no
13242 esac
13243 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13244 echo "${ECHO_T}$dynamic_linker" >&6
13245 test "$dynamic_linker" = no && can_build_shared=no
13247 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13248 if test "$GCC" = yes; then
13249 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13287 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13288 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13289 hardcode_action_FC=
13290 if test -n "$hardcode_libdir_flag_spec_FC" ||
13291 test -n "$runpath_var_FC" ||
13292 test "X$hardcode_automatic_FC" = "Xyes" ; then
13294 # We can hardcode non-existent directories.
13295 if test "$hardcode_direct_FC" != no &&
13296 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13297 # have to relink, otherwise we might link with an installed library
13298 # when we should be linking with a yet-to-be-installed one
13299 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13300 test "$hardcode_minus_L_FC" != no; then
13301 # Linking always hardcodes the temporary library directory.
13302 hardcode_action_FC=relink
13303 else
13304 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13305 hardcode_action_FC=immediate
13307 else
13308 # We cannot hardcode anything, or else we can only hardcode existing
13309 # directories.
13310 hardcode_action_FC=unsupported
13312 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13313 echo "${ECHO_T}$hardcode_action_FC" >&6
13315 if test "$hardcode_action_FC" = relink ||
13316 test "$inherit_rpath_FC" = yes; then
13317 # Fast installation is not supported
13318 enable_fast_install=no
13319 elif test "$shlibpath_overrides_runpath" = yes ||
13320 test "$enable_shared" = no; then
13321 # Fast installation is not necessary
13322 enable_fast_install=needless
13331 fi # test -n "$compiler"
13333 CC="$lt_save_CC"
13334 fi # test "$_lt_disable_FC" != yes
13336 ac_ext=c
13337 ac_cpp='$CPP $CPPFLAGS'
13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13344 # extra LD Flags which are required for targets
13345 case "${host}" in
13346 *-darwin*)
13347 # Darwin needs -single_module when linking libgfortran
13348 extra_ldflags_libgfortran=-Wl,-single_module
13350 esac
13353 # We need a working compiler at that point, otherwise give a clear
13354 # error message and bail out.
13356 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13357 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13358 ac_ext=${FC_SRCEXT-f}
13359 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13360 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13361 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13363 cat >conftest.$ac_ext <<_ACEOF
13365 program foo
13366 real, parameter :: bar = sin (12.34 / 2.5)
13367 end program foo
13368 _ACEOF
13369 rm -f conftest.$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>conftest.er1
13372 ac_status=$?
13373 grep -v '^ *+' conftest.er1 >conftest.err
13374 rm -f conftest.er1
13375 cat conftest.err >&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try='test -z "$ac_fc_werror_flag"
13379 || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13382 ac_status=$?
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13388 ac_status=$?
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 echo "$as_me:$LINENO: result: yes" >&5
13392 echo "${ECHO_T}yes" >&6
13393 else
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.$ac_ext >&5
13397 echo "$as_me:$LINENO: result: no" >&5
13398 echo "${ECHO_T}no" >&6
13399 { { 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
13400 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13401 { (exit 1); exit 1; }; }
13404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13405 ac_ext=c
13406 ac_cpp='$CPP $CPPFLAGS'
13407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13413 # Check whether --enable-largefile or --disable-largefile was given.
13414 if test "${enable_largefile+set}" = set; then
13415 enableval="$enable_largefile"
13418 if test "$enable_largefile" != no; then
13420 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13421 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13422 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 else
13425 ac_cv_sys_largefile_CC=no
13426 if test "$GCC" != yes; then
13427 ac_save_CC=$CC
13428 while :; do
13429 # IRIX 6.2 and later do not support large files by default,
13430 # so use the C compiler's -n32 option if that helps.
13431 cat >conftest.$ac_ext <<_ACEOF
13432 /* confdefs.h. */
13433 _ACEOF
13434 cat confdefs.h >>conftest.$ac_ext
13435 cat >>conftest.$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13437 #include <sys/types.h>
13438 /* Check that off_t can represent 2**63 - 1 correctly.
13439 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13440 since some C++ compilers masquerading as C compilers
13441 incorrectly reject 9223372036854775807. */
13442 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13443 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13444 && LARGE_OFF_T % 2147483647 == 1)
13445 ? 1 : -1];
13447 main ()
13451 return 0;
13453 _ACEOF
13454 rm -f conftest.$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag"
13464 || test ! -s conftest.err'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13467 ac_status=$?
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; } &&
13470 { ac_try='test -s conftest.$ac_objext'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 break
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13482 rm -f conftest.err conftest.$ac_objext
13483 CC="$CC -n32"
13484 rm -f conftest.$ac_objext
13485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13486 (eval $ac_compile) 2>conftest.er1
13487 ac_status=$?
13488 grep -v '^ *+' conftest.er1 >conftest.err
13489 rm -f conftest.er1
13490 cat conftest.err >&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); } &&
13493 { ac_try='test -z "$ac_c_werror_flag"
13494 || test ! -s conftest.err'
13495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13496 (eval $ac_try) 2>&5
13497 ac_status=$?
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); }; } &&
13500 { ac_try='test -s conftest.$ac_objext'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; }; then
13506 ac_cv_sys_largefile_CC=' -n32'; break
13507 else
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.$ac_ext >&5
13512 rm -f conftest.err conftest.$ac_objext
13513 break
13514 done
13515 CC=$ac_save_CC
13516 rm -f conftest.$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13520 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13521 if test "$ac_cv_sys_largefile_CC" != no; then
13522 CC=$CC$ac_cv_sys_largefile_CC
13525 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13526 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13527 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 while :; do
13531 ac_cv_sys_file_offset_bits=no
13532 cat >conftest.$ac_ext <<_ACEOF
13533 /* confdefs.h. */
13534 _ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 #include <sys/types.h>
13539 /* Check that off_t can represent 2**63 - 1 correctly.
13540 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13541 since some C++ compilers masquerading as C compilers
13542 incorrectly reject 9223372036854775807. */
13543 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13544 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13545 && LARGE_OFF_T % 2147483647 == 1)
13546 ? 1 : -1];
13548 main ()
13552 return 0;
13554 _ACEOF
13555 rm -f conftest.$ac_objext
13556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13557 (eval $ac_compile) 2>conftest.er1
13558 ac_status=$?
13559 grep -v '^ *+' conftest.er1 >conftest.err
13560 rm -f conftest.er1
13561 cat conftest.err >&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try='test -z "$ac_c_werror_flag"
13565 || test ! -s conftest.err'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13568 ac_status=$?
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; } &&
13571 { ac_try='test -s conftest.$ac_objext'
13572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13573 (eval $ac_try) 2>&5
13574 ac_status=$?
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); }; }; then
13577 break
13578 else
13579 echo "$as_me: failed program was:" >&5
13580 sed 's/^/| /' conftest.$ac_ext >&5
13583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13584 cat >conftest.$ac_ext <<_ACEOF
13585 /* confdefs.h. */
13586 _ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 #define _FILE_OFFSET_BITS 64
13591 #include <sys/types.h>
13592 /* Check that off_t can represent 2**63 - 1 correctly.
13593 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13594 since some C++ compilers masquerading as C compilers
13595 incorrectly reject 9223372036854775807. */
13596 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13597 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13598 && LARGE_OFF_T % 2147483647 == 1)
13599 ? 1 : -1];
13601 main ()
13605 return 0;
13607 _ACEOF
13608 rm -f conftest.$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -z "$ac_c_werror_flag"
13618 || test ! -s conftest.err'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try='test -s conftest.$ac_objext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_sys_file_offset_bits=64; break
13631 else
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13637 break
13638 done
13640 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13641 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13642 if test "$ac_cv_sys_file_offset_bits" != no; then
13644 cat >>confdefs.h <<_ACEOF
13645 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13646 _ACEOF
13649 rm -f conftest*
13650 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13651 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13652 if test "${ac_cv_sys_large_files+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 else
13655 while :; do
13656 ac_cv_sys_large_files=no
13657 cat >conftest.$ac_ext <<_ACEOF
13658 /* confdefs.h. */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663 #include <sys/types.h>
13664 /* Check that off_t can represent 2**63 - 1 correctly.
13665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13666 since some C++ compilers masquerading as C compilers
13667 incorrectly reject 9223372036854775807. */
13668 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13670 && LARGE_OFF_T % 2147483647 == 1)
13671 ? 1 : -1];
13673 main ()
13677 return 0;
13679 _ACEOF
13680 rm -f conftest.$ac_objext
13681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13682 (eval $ac_compile) 2>conftest.er1
13683 ac_status=$?
13684 grep -v '^ *+' conftest.er1 >conftest.err
13685 rm -f conftest.er1
13686 cat conftest.err >&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } &&
13689 { ac_try='test -z "$ac_c_werror_flag"
13690 || test ! -s conftest.err'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 break
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13709 cat >conftest.$ac_ext <<_ACEOF
13710 /* confdefs.h. */
13711 _ACEOF
13712 cat confdefs.h >>conftest.$ac_ext
13713 cat >>conftest.$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13715 #define _LARGE_FILES 1
13716 #include <sys/types.h>
13717 /* Check that off_t can represent 2**63 - 1 correctly.
13718 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13719 since some C++ compilers masquerading as C compilers
13720 incorrectly reject 9223372036854775807. */
13721 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13722 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13723 && LARGE_OFF_T % 2147483647 == 1)
13724 ? 1 : -1];
13726 main ()
13730 return 0;
13732 _ACEOF
13733 rm -f conftest.$ac_objext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13735 (eval $ac_compile) 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -z "$ac_c_werror_flag"
13743 || test ! -s conftest.err'
13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745 (eval $ac_try) 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try='test -s conftest.$ac_objext'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; }; then
13755 ac_cv_sys_large_files=1; break
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13762 break
13763 done
13765 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13766 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13767 if test "$ac_cv_sys_large_files" != no; then
13769 cat >>confdefs.h <<_ACEOF
13770 #define _LARGE_FILES $ac_cv_sys_large_files
13771 _ACEOF
13774 rm -f conftest*
13777 echo "$as_me:$LINENO: checking for off_t" >&5
13778 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13779 if test "${ac_cv_type_off_t+set}" = set; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 else
13782 cat >conftest.$ac_ext <<_ACEOF
13783 /* confdefs.h. */
13784 _ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788 $ac_includes_default
13790 main ()
13792 if ((off_t *) 0)
13793 return 0;
13794 if (sizeof (off_t))
13795 return 0;
13797 return 0;
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try='test -z "$ac_c_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13813 ac_status=$?
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13822 ac_cv_type_off_t=yes
13823 else
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.$ac_ext >&5
13827 ac_cv_type_off_t=no
13829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13831 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13832 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13833 if test $ac_cv_type_off_t = yes; then
13835 else
13837 cat >>confdefs.h <<_ACEOF
13838 #define off_t long
13839 _ACEOF
13844 # check header files
13845 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13846 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13847 if test "${ac_cv_header_stdc+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 else
13850 cat >conftest.$ac_ext <<_ACEOF
13851 /* confdefs.h. */
13852 _ACEOF
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13856 #include <stdlib.h>
13857 #include <stdarg.h>
13858 #include <string.h>
13859 #include <float.h>
13862 main ()
13866 return 0;
13868 _ACEOF
13869 rm -f conftest.$ac_objext
13870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13871 (eval $ac_compile) 2>conftest.er1
13872 ac_status=$?
13873 grep -v '^ *+' conftest.er1 >conftest.err
13874 rm -f conftest.er1
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try='test -z "$ac_c_werror_flag"
13879 || test ! -s conftest.err'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13882 ac_status=$?
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; } &&
13885 { ac_try='test -s conftest.$ac_objext'
13886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13887 (eval $ac_try) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; }; then
13891 ac_cv_header_stdc=yes
13892 else
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13896 ac_cv_header_stdc=no
13898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13900 if test $ac_cv_header_stdc = yes; then
13901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <string.h>
13910 _ACEOF
13911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13912 $EGREP "memchr" >/dev/null 2>&1; then
13914 else
13915 ac_cv_header_stdc=no
13917 rm -f conftest*
13921 if test $ac_cv_header_stdc = yes; then
13922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 #include <stdlib.h>
13931 _ACEOF
13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13933 $EGREP "free" >/dev/null 2>&1; then
13935 else
13936 ac_cv_header_stdc=no
13938 rm -f conftest*
13942 if test $ac_cv_header_stdc = yes; then
13943 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13944 if test "$cross_compiling" = yes; then
13946 else
13947 cat >conftest.$ac_ext <<_ACEOF
13948 /* confdefs.h. */
13949 _ACEOF
13950 cat confdefs.h >>conftest.$ac_ext
13951 cat >>conftest.$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13953 #include <ctype.h>
13954 #if ((' ' & 0x0FF) == 0x020)
13955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13957 #else
13958 # define ISLOWER(c) \
13959 (('a' <= (c) && (c) <= 'i') \
13960 || ('j' <= (c) && (c) <= 'r') \
13961 || ('s' <= (c) && (c) <= 'z'))
13962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13963 #endif
13965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13967 main ()
13969 int i;
13970 for (i = 0; i < 256; i++)
13971 if (XOR (islower (i), ISLOWER (i))
13972 || toupper (i) != TOUPPER (i))
13973 exit(2);
13974 exit (0);
13976 _ACEOF
13977 rm -f conftest$ac_exeext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13979 (eval $ac_link) 2>&5
13980 ac_status=$?
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13985 ac_status=$?
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13989 else
13990 echo "$as_me: program exited with status $ac_status" >&5
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.$ac_ext >&5
13994 ( exit $ac_status )
13995 ac_cv_header_stdc=no
13997 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14001 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14002 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14003 if test $ac_cv_header_stdc = yes; then
14005 cat >>confdefs.h <<\_ACEOF
14006 #define STDC_HEADERS 1
14007 _ACEOF
14011 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14012 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14013 if test "${ac_cv_header_time+set}" = set; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 else
14016 cat >conftest.$ac_ext <<_ACEOF
14017 /* confdefs.h. */
14018 _ACEOF
14019 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF
14021 /* end confdefs.h. */
14022 #include <sys/types.h>
14023 #include <sys/time.h>
14024 #include <time.h>
14027 main ()
14029 if ((struct tm *) 0)
14030 return 0;
14032 return 0;
14034 _ACEOF
14035 rm -f conftest.$ac_objext
14036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14037 (eval $ac_compile) 2>conftest.er1
14038 ac_status=$?
14039 grep -v '^ *+' conftest.er1 >conftest.err
14040 rm -f conftest.er1
14041 cat conftest.err >&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } &&
14044 { ac_try='test -z "$ac_c_werror_flag"
14045 || test ! -s conftest.err'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14048 ac_status=$?
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; } &&
14051 { ac_try='test -s conftest.$ac_objext'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; }; then
14057 ac_cv_header_time=yes
14058 else
14059 echo "$as_me: failed program was:" >&5
14060 sed 's/^/| /' conftest.$ac_ext >&5
14062 ac_cv_header_time=no
14064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14066 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14067 echo "${ECHO_T}$ac_cv_header_time" >&6
14068 if test $ac_cv_header_time = yes; then
14070 cat >>confdefs.h <<\_ACEOF
14071 #define TIME_WITH_SYS_TIME 1
14072 _ACEOF
14080 for ac_header in stdlib.h string.h unistd.h signal.h
14082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14084 echo "$as_me:$LINENO: checking for $ac_header" >&5
14085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14087 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091 else
14092 # Is the header compilable?
14093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14095 cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h. */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101 $ac_includes_default
14102 #include <$ac_header>
14103 _ACEOF
14104 rm -f conftest.$ac_objext
14105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14106 (eval $ac_compile) 2>conftest.er1
14107 ac_status=$?
14108 grep -v '^ *+' conftest.er1 >conftest.err
14109 rm -f conftest.er1
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try='test -z "$ac_c_werror_flag"
14114 || test ! -s conftest.err'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14117 ac_status=$?
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; } &&
14120 { ac_try='test -s conftest.$ac_objext'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14126 ac_header_compiler=yes
14127 else
14128 echo "$as_me: failed program was:" >&5
14129 sed 's/^/| /' conftest.$ac_ext >&5
14131 ac_header_compiler=no
14133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14135 echo "${ECHO_T}$ac_header_compiler" >&6
14137 # Is the header present?
14138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14140 cat >conftest.$ac_ext <<_ACEOF
14141 /* confdefs.h. */
14142 _ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14146 #include <$ac_header>
14147 _ACEOF
14148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14150 ac_status=$?
14151 grep -v '^ *+' conftest.er1 >conftest.err
14152 rm -f conftest.er1
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } >/dev/null; then
14156 if test -s conftest.err; then
14157 ac_cpp_err=$ac_c_preproc_warn_flag
14158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14159 else
14160 ac_cpp_err=
14162 else
14163 ac_cpp_err=yes
14165 if test -z "$ac_cpp_err"; then
14166 ac_header_preproc=yes
14167 else
14168 echo "$as_me: failed program was:" >&5
14169 sed 's/^/| /' conftest.$ac_ext >&5
14171 ac_header_preproc=no
14173 rm -f conftest.err conftest.$ac_ext
14174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14175 echo "${ECHO_T}$ac_header_preproc" >&6
14177 # So? What about this header?
14178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14179 yes:no: )
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14184 ac_header_preproc=yes
14186 no:yes:* )
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14200 cat <<\_ASBOX
14201 ## ------------------------------------------------------ ##
14202 ## Report this to the GNU Fortran Runtime Library lists. ##
14203 ## ------------------------------------------------------ ##
14204 _ASBOX
14206 sed "s/^/$as_me: WARNING: /" >&2
14208 esac
14209 echo "$as_me:$LINENO: checking for $ac_header" >&5
14210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 else
14214 eval "$as_ac_Header=\$ac_header_preproc"
14216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14221 cat >>confdefs.h <<_ACEOF
14222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14223 _ACEOF
14227 done
14233 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14237 echo "$as_me:$LINENO: checking for $ac_header" >&5
14238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14244 else
14245 # Is the header compilable?
14246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
14255 #include <$ac_header>
14256 _ACEOF
14257 rm -f conftest.$ac_objext
14258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14259 (eval $ac_compile) 2>conftest.er1
14260 ac_status=$?
14261 grep -v '^ *+' conftest.er1 >conftest.err
14262 rm -f conftest.er1
14263 cat conftest.err >&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } &&
14266 { ac_try='test -z "$ac_c_werror_flag"
14267 || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_header_compiler=yes
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_header_compiler=no
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14288 echo "${ECHO_T}$ac_header_compiler" >&6
14290 # Is the header present?
14291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14293 cat >conftest.$ac_ext <<_ACEOF
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 #include <$ac_header>
14300 _ACEOF
14301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14303 ac_status=$?
14304 grep -v '^ *+' conftest.er1 >conftest.err
14305 rm -f conftest.er1
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } >/dev/null; then
14309 if test -s conftest.err; then
14310 ac_cpp_err=$ac_c_preproc_warn_flag
14311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14312 else
14313 ac_cpp_err=
14315 else
14316 ac_cpp_err=yes
14318 if test -z "$ac_cpp_err"; then
14319 ac_header_preproc=yes
14320 else
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14324 ac_header_preproc=no
14326 rm -f conftest.err conftest.$ac_ext
14327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14328 echo "${ECHO_T}$ac_header_preproc" >&6
14330 # So? What about this header?
14331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14332 yes:no: )
14333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14337 ac_header_preproc=yes
14339 no:yes:* )
14340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14353 cat <<\_ASBOX
14354 ## ------------------------------------------------------ ##
14355 ## Report this to the GNU Fortran Runtime Library lists. ##
14356 ## ------------------------------------------------------ ##
14357 _ASBOX
14359 sed "s/^/$as_me: WARNING: /" >&2
14361 esac
14362 echo "$as_me:$LINENO: checking for $ac_header" >&5
14363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 eval "$as_ac_Header=\$ac_header_preproc"
14369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14374 cat >>confdefs.h <<_ACEOF
14375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14376 _ACEOF
14380 done
14387 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14391 echo "$as_me:$LINENO: checking for $ac_header" >&5
14392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14398 else
14399 # Is the header compilable?
14400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14402 cat >conftest.$ac_ext <<_ACEOF
14403 /* confdefs.h. */
14404 _ACEOF
14405 cat confdefs.h >>conftest.$ac_ext
14406 cat >>conftest.$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 $ac_includes_default
14409 #include <$ac_header>
14410 _ACEOF
14411 rm -f conftest.$ac_objext
14412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14413 (eval $ac_compile) 2>conftest.er1
14414 ac_status=$?
14415 grep -v '^ *+' conftest.er1 >conftest.err
14416 rm -f conftest.er1
14417 cat conftest.err >&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); } &&
14420 { ac_try='test -z "$ac_c_werror_flag"
14421 || test ! -s conftest.err'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14424 ac_status=$?
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try='test -s conftest.$ac_objext'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14430 ac_status=$?
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14433 ac_header_compiler=yes
14434 else
14435 echo "$as_me: failed program was:" >&5
14436 sed 's/^/| /' conftest.$ac_ext >&5
14438 ac_header_compiler=no
14440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14442 echo "${ECHO_T}$ac_header_compiler" >&6
14444 # Is the header present?
14445 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14447 cat >conftest.$ac_ext <<_ACEOF
14448 /* confdefs.h. */
14449 _ACEOF
14450 cat confdefs.h >>conftest.$ac_ext
14451 cat >>conftest.$ac_ext <<_ACEOF
14452 /* end confdefs.h. */
14453 #include <$ac_header>
14454 _ACEOF
14455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14457 ac_status=$?
14458 grep -v '^ *+' conftest.er1 >conftest.err
14459 rm -f conftest.er1
14460 cat conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } >/dev/null; then
14463 if test -s conftest.err; then
14464 ac_cpp_err=$ac_c_preproc_warn_flag
14465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14466 else
14467 ac_cpp_err=
14469 else
14470 ac_cpp_err=yes
14472 if test -z "$ac_cpp_err"; then
14473 ac_header_preproc=yes
14474 else
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14478 ac_header_preproc=no
14480 rm -f conftest.err conftest.$ac_ext
14481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14482 echo "${ECHO_T}$ac_header_preproc" >&6
14484 # So? What about this header?
14485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14486 yes:no: )
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14491 ac_header_preproc=yes
14493 no:yes:* )
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14498 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14500 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14501 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14504 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14507 cat <<\_ASBOX
14508 ## ------------------------------------------------------ ##
14509 ## Report this to the GNU Fortran Runtime Library lists. ##
14510 ## ------------------------------------------------------ ##
14511 _ASBOX
14513 sed "s/^/$as_me: WARNING: /" >&2
14515 esac
14516 echo "$as_me:$LINENO: checking for $ac_header" >&5
14517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 else
14521 eval "$as_ac_Header=\$ac_header_preproc"
14523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14528 cat >>confdefs.h <<_ACEOF
14529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14530 _ACEOF
14534 done
14541 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14545 echo "$as_me:$LINENO: checking for $ac_header" >&5
14546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14552 else
14553 # Is the header compilable?
14554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14562 $ac_includes_default
14563 #include <$ac_header>
14564 _ACEOF
14565 rm -f conftest.$ac_objext
14566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14567 (eval $ac_compile) 2>conftest.er1
14568 ac_status=$?
14569 grep -v '^ *+' conftest.er1 >conftest.err
14570 rm -f conftest.er1
14571 cat conftest.err >&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try='test -z "$ac_c_werror_flag"
14575 || test ! -s conftest.err'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try='test -s conftest.$ac_objext'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14584 ac_status=$?
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 ac_header_compiler=yes
14588 else
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14592 ac_header_compiler=no
14594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14596 echo "${ECHO_T}$ac_header_compiler" >&6
14598 # Is the header present?
14599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14601 cat >conftest.$ac_ext <<_ACEOF
14602 /* confdefs.h. */
14603 _ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607 #include <$ac_header>
14608 _ACEOF
14609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14611 ac_status=$?
14612 grep -v '^ *+' conftest.er1 >conftest.err
14613 rm -f conftest.er1
14614 cat conftest.err >&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } >/dev/null; then
14617 if test -s conftest.err; then
14618 ac_cpp_err=$ac_c_preproc_warn_flag
14619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14620 else
14621 ac_cpp_err=
14623 else
14624 ac_cpp_err=yes
14626 if test -z "$ac_cpp_err"; then
14627 ac_header_preproc=yes
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14632 ac_header_preproc=no
14634 rm -f conftest.err conftest.$ac_ext
14635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14636 echo "${ECHO_T}$ac_header_preproc" >&6
14638 # So? What about this header?
14639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14640 yes:no: )
14641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14645 ac_header_preproc=yes
14647 no:yes:* )
14648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14661 cat <<\_ASBOX
14662 ## ------------------------------------------------------ ##
14663 ## Report this to the GNU Fortran Runtime Library lists. ##
14664 ## ------------------------------------------------------ ##
14665 _ASBOX
14667 sed "s/^/$as_me: WARNING: /" >&2
14669 esac
14670 echo "$as_me:$LINENO: checking for $ac_header" >&5
14671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 eval "$as_ac_Header=\$ac_header_preproc"
14677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14682 cat >>confdefs.h <<_ACEOF
14683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14684 _ACEOF
14688 done
14690 if test "${ac_cv_header_complex_h+set}" = set; then
14691 echo "$as_me:$LINENO: checking for complex.h" >&5
14692 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14693 if test "${ac_cv_header_complex_h+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14697 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14698 else
14699 # Is the header compilable?
14700 echo "$as_me:$LINENO: checking complex.h usability" >&5
14701 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14702 cat >conftest.$ac_ext <<_ACEOF
14703 /* confdefs.h. */
14704 _ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14708 $ac_includes_default
14709 #include <complex.h>
14710 _ACEOF
14711 rm -f conftest.$ac_objext
14712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14713 (eval $ac_compile) 2>conftest.er1
14714 ac_status=$?
14715 grep -v '^ *+' conftest.er1 >conftest.err
14716 rm -f conftest.er1
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try='test -z "$ac_c_werror_flag"
14721 || test ! -s conftest.err'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14724 ac_status=$?
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; } &&
14727 { ac_try='test -s conftest.$ac_objext'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14730 ac_status=$?
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; }; then
14733 ac_header_compiler=yes
14734 else
14735 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.$ac_ext >&5
14738 ac_header_compiler=no
14740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14742 echo "${ECHO_T}$ac_header_compiler" >&6
14744 # Is the header present?
14745 echo "$as_me:$LINENO: checking complex.h presence" >&5
14746 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 #include <complex.h>
14754 _ACEOF
14755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null; then
14763 if test -s conftest.err; then
14764 ac_cpp_err=$ac_c_preproc_warn_flag
14765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14766 else
14767 ac_cpp_err=
14769 else
14770 ac_cpp_err=yes
14772 if test -z "$ac_cpp_err"; then
14773 ac_header_preproc=yes
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14778 ac_header_preproc=no
14780 rm -f conftest.err conftest.$ac_ext
14781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14782 echo "${ECHO_T}$ac_header_preproc" >&6
14784 # So? What about this header?
14785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14786 yes:no: )
14787 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14788 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14789 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14790 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14791 ac_header_preproc=yes
14793 no:yes:* )
14794 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14795 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14796 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14797 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14798 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14799 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14800 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14801 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14802 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14803 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14804 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14805 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14807 cat <<\_ASBOX
14808 ## ------------------------------------------------------ ##
14809 ## Report this to the GNU Fortran Runtime Library lists. ##
14810 ## ------------------------------------------------------ ##
14811 _ASBOX
14813 sed "s/^/$as_me: WARNING: /" >&2
14815 esac
14816 echo "$as_me:$LINENO: checking for complex.h" >&5
14817 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14818 if test "${ac_cv_header_complex_h+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 else
14821 ac_cv_header_complex_h=$ac_header_preproc
14823 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14824 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14827 if test $ac_cv_header_complex_h = yes; then
14829 cat >>confdefs.h <<\_ACEOF
14830 #define HAVE_COMPLEX_H 1
14831 _ACEOF
14838 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14840 acx_cv_header_stdint=stddef.h
14841 acx_cv_header_stdint_kind="(already complete)"
14842 for i in stdint.h $inttype_headers; do
14843 unset ac_cv_type_uintptr_t
14844 unset ac_cv_type_uintmax_t
14845 unset ac_cv_type_int_least32_t
14846 unset ac_cv_type_int_fast32_t
14847 unset ac_cv_type_uint64_t
14848 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14849 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14850 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14851 if test "${ac_cv_type_uintmax_t+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 cat >conftest.$ac_ext <<_ACEOF
14855 /* confdefs.h. */
14856 _ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14860 #include <sys/types.h>
14861 #include <$i>
14864 main ()
14866 if ((uintmax_t *) 0)
14867 return 0;
14868 if (sizeof (uintmax_t))
14869 return 0;
14871 return 0;
14873 _ACEOF
14874 rm -f conftest.$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_cv_type_uintmax_t=yes
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14901 ac_cv_type_uintmax_t=no
14903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14905 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14906 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14907 if test $ac_cv_type_uintmax_t = yes; then
14908 acx_cv_header_stdint=$i
14909 else
14910 continue
14913 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14914 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14915 if test "${ac_cv_type_uintptr_t+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 else
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 #include <sys/types.h>
14925 #include <$i>
14928 main ()
14930 if ((uintptr_t *) 0)
14931 return 0;
14932 if (sizeof (uintptr_t))
14933 return 0;
14935 return 0;
14937 _ACEOF
14938 rm -f conftest.$ac_objext
14939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14940 (eval $ac_compile) 2>conftest.er1
14941 ac_status=$?
14942 grep -v '^ *+' conftest.er1 >conftest.err
14943 rm -f conftest.er1
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } &&
14947 { ac_try='test -z "$ac_c_werror_flag"
14948 || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try='test -s conftest.$ac_objext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_cv_type_uintptr_t=yes
14961 else
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14965 ac_cv_type_uintptr_t=no
14967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14969 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14970 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14971 if test $ac_cv_type_uintptr_t = yes; then
14973 else
14974 acx_cv_header_stdint_kind="(mostly complete)"
14977 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14978 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14979 if test "${ac_cv_type_int_least32_t+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 cat >conftest.$ac_ext <<_ACEOF
14983 /* confdefs.h. */
14984 _ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988 #include <sys/types.h>
14989 #include <$i>
14992 main ()
14994 if ((int_least32_t *) 0)
14995 return 0;
14996 if (sizeof (int_least32_t))
14997 return 0;
14999 return 0;
15001 _ACEOF
15002 rm -f conftest.$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15005 ac_status=$?
15006 grep -v '^ *+' conftest.er1 >conftest.err
15007 rm -f conftest.er1
15008 cat conftest.err >&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try='test -z "$ac_c_werror_flag"
15012 || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15015 ac_status=$?
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_type_int_least32_t=yes
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_cv_type_int_least32_t=no
15031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15033 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15034 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15035 if test $ac_cv_type_int_least32_t = yes; then
15037 else
15038 acx_cv_header_stdint_kind="(mostly complete)"
15041 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15042 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15043 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15046 cat >conftest.$ac_ext <<_ACEOF
15047 /* confdefs.h. */
15048 _ACEOF
15049 cat confdefs.h >>conftest.$ac_ext
15050 cat >>conftest.$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15052 #include <sys/types.h>
15053 #include <$i>
15056 main ()
15058 if ((int_fast32_t *) 0)
15059 return 0;
15060 if (sizeof (int_fast32_t))
15061 return 0;
15063 return 0;
15065 _ACEOF
15066 rm -f conftest.$ac_objext
15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068 (eval $ac_compile) 2>conftest.er1
15069 ac_status=$?
15070 grep -v '^ *+' conftest.er1 >conftest.err
15071 rm -f conftest.er1
15072 cat conftest.err >&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); } &&
15075 { ac_try='test -z "$ac_c_werror_flag"
15076 || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15079 ac_status=$?
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15085 ac_status=$?
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15088 ac_cv_type_int_fast32_t=yes
15089 else
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15093 ac_cv_type_int_fast32_t=no
15095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15097 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15098 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15099 if test $ac_cv_type_int_fast32_t = yes; then
15101 else
15102 acx_cv_header_stdint_kind="(mostly complete)"
15105 echo "$as_me:$LINENO: checking for uint64_t" >&5
15106 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15107 if test "${ac_cv_type_uint64_t+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 else
15110 cat >conftest.$ac_ext <<_ACEOF
15111 /* confdefs.h. */
15112 _ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 #include <sys/types.h>
15117 #include <$i>
15120 main ()
15122 if ((uint64_t *) 0)
15123 return 0;
15124 if (sizeof (uint64_t))
15125 return 0;
15127 return 0;
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>conftest.er1
15133 ac_status=$?
15134 grep -v '^ *+' conftest.er1 >conftest.err
15135 rm -f conftest.er1
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try='test -z "$ac_c_werror_flag"
15140 || test ! -s conftest.err'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try='test -s conftest.$ac_objext'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; }; then
15152 ac_cv_type_uint64_t=yes
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15157 ac_cv_type_uint64_t=no
15159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15161 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15162 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15163 if test $ac_cv_type_uint64_t = yes; then
15165 else
15166 acx_cv_header_stdint_kind="(lacks uint64_t)"
15169 break
15170 done
15171 if test "$acx_cv_header_stdint" = stddef.h; then
15172 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15173 for i in stdint.h $inttype_headers; do
15174 unset ac_cv_type_uintptr_t
15175 unset ac_cv_type_uint32_t
15176 unset ac_cv_type_uint64_t
15177 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15178 echo "$as_me:$LINENO: checking for uint32_t" >&5
15179 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15180 if test "${ac_cv_type_uint32_t+set}" = set; then
15181 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 else
15183 cat >conftest.$ac_ext <<_ACEOF
15184 /* confdefs.h. */
15185 _ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 #include <sys/types.h>
15190 #include <$i>
15193 main ()
15195 if ((uint32_t *) 0)
15196 return 0;
15197 if (sizeof (uint32_t))
15198 return 0;
15200 return 0;
15202 _ACEOF
15203 rm -f conftest.$ac_objext
15204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>conftest.er1
15206 ac_status=$?
15207 grep -v '^ *+' conftest.er1 >conftest.err
15208 rm -f conftest.er1
15209 cat conftest.err >&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } &&
15212 { ac_try='test -z "$ac_c_werror_flag"
15213 || test ! -s conftest.err'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15216 ac_status=$?
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; } &&
15219 { ac_try='test -s conftest.$ac_objext'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; }; then
15225 ac_cv_type_uint32_t=yes
15226 else
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15230 ac_cv_type_uint32_t=no
15232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15234 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15235 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15236 if test $ac_cv_type_uint32_t = yes; then
15237 acx_cv_header_stdint=$i
15238 else
15239 continue
15242 echo "$as_me:$LINENO: checking for uint64_t" >&5
15243 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15244 if test "${ac_cv_type_uint64_t+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 else
15247 cat >conftest.$ac_ext <<_ACEOF
15248 /* confdefs.h. */
15249 _ACEOF
15250 cat confdefs.h >>conftest.$ac_ext
15251 cat >>conftest.$ac_ext <<_ACEOF
15252 /* end confdefs.h. */
15253 #include <sys/types.h>
15254 #include <$i>
15257 main ()
15259 if ((uint64_t *) 0)
15260 return 0;
15261 if (sizeof (uint64_t))
15262 return 0;
15264 return 0;
15266 _ACEOF
15267 rm -f conftest.$ac_objext
15268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15269 (eval $ac_compile) 2>conftest.er1
15270 ac_status=$?
15271 grep -v '^ *+' conftest.er1 >conftest.err
15272 rm -f conftest.er1
15273 cat conftest.err >&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } &&
15276 { ac_try='test -z "$ac_c_werror_flag"
15277 || test ! -s conftest.err'
15278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279 (eval $ac_try) 2>&5
15280 ac_status=$?
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; } &&
15283 { ac_try='test -s conftest.$ac_objext'
15284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15285 (eval $ac_try) 2>&5
15286 ac_status=$?
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); }; }; then
15289 ac_cv_type_uint64_t=yes
15290 else
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_cv_type_uint64_t=no
15296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15298 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15299 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15301 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15302 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15303 if test "${ac_cv_type_uintptr_t+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 else
15306 cat >conftest.$ac_ext <<_ACEOF
15307 /* confdefs.h. */
15308 _ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15312 #include <sys/types.h>
15313 #include <$i>
15316 main ()
15318 if ((uintptr_t *) 0)
15319 return 0;
15320 if (sizeof (uintptr_t))
15321 return 0;
15323 return 0;
15325 _ACEOF
15326 rm -f conftest.$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_c_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_cv_type_uintptr_t=yes
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 ac_cv_type_uintptr_t=no
15355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15357 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15358 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15360 break
15361 done
15363 if test "$acx_cv_header_stdint" = stddef.h; then
15364 acx_cv_header_stdint_kind="(u_intXX_t style)"
15365 for i in sys/types.h $inttype_headers; do
15366 unset ac_cv_type_u_int32_t
15367 unset ac_cv_type_u_int64_t
15368 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15369 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15370 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15371 if test "${ac_cv_type_u_int32_t+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 else
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380 #include <sys/types.h>
15381 #include <$i>
15384 main ()
15386 if ((u_int32_t *) 0)
15387 return 0;
15388 if (sizeof (u_int32_t))
15389 return 0;
15391 return 0;
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15396 (eval $ac_compile) 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } &&
15403 { ac_try='test -z "$ac_c_werror_flag"
15404 || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15407 ac_status=$?
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try='test -s conftest.$ac_objext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_type_u_int32_t=yes
15417 else
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15421 ac_cv_type_u_int32_t=no
15423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15425 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15426 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15427 if test $ac_cv_type_u_int32_t = yes; then
15428 acx_cv_header_stdint=$i
15429 else
15430 continue
15433 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15434 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15435 if test "${ac_cv_type_u_int64_t+set}" = set; then
15436 echo $ECHO_N "(cached) $ECHO_C" >&6
15437 else
15438 cat >conftest.$ac_ext <<_ACEOF
15439 /* confdefs.h. */
15440 _ACEOF
15441 cat confdefs.h >>conftest.$ac_ext
15442 cat >>conftest.$ac_ext <<_ACEOF
15443 /* end confdefs.h. */
15444 #include <sys/types.h>
15445 #include <$i>
15448 main ()
15450 if ((u_int64_t *) 0)
15451 return 0;
15452 if (sizeof (u_int64_t))
15453 return 0;
15455 return 0;
15457 _ACEOF
15458 rm -f conftest.$ac_objext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>conftest.er1
15461 ac_status=$?
15462 grep -v '^ *+' conftest.er1 >conftest.err
15463 rm -f conftest.er1
15464 cat conftest.err >&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } &&
15467 { ac_try='test -z "$ac_c_werror_flag"
15468 || test ! -s conftest.err'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; } &&
15474 { ac_try='test -s conftest.$ac_objext'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15477 ac_status=$?
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; }; then
15480 ac_cv_type_u_int64_t=yes
15481 else
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15485 ac_cv_type_u_int64_t=no
15487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15489 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15490 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15492 break
15493 done
15495 if test "$acx_cv_header_stdint" = stddef.h; then
15496 acx_cv_header_stdint_kind="(using manual detection)"
15499 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15500 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15501 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15502 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15503 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15505 # ----------------- Summarize what we found so far
15507 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15508 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15510 case `$as_basename gstdint.h ||
15511 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15512 Xgstdint.h : 'X\(//\)$' \| \
15513 Xgstdint.h : 'X\(/\)$' \| \
15514 . : '\(.\)' 2>/dev/null ||
15515 echo X/gstdint.h |
15516 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15517 /^X\/\(\/\/\)$/{ s//\1/; q; }
15518 /^X\/\(\/\).*/{ s//\1/; q; }
15519 s/.*/./; q'` in
15520 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15521 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15522 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15523 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15524 *) ;;
15525 esac
15527 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15528 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15530 # ----------------- done included file, check C basic types --------
15532 # Lacking an uintptr_t? Test size of void *
15533 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15534 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15535 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15536 if test "${ac_cv_type_void_p+set}" = set; then
15537 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 else
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 $ac_includes_default
15547 main ()
15549 if ((void * *) 0)
15550 return 0;
15551 if (sizeof (void *))
15552 return 0;
15554 return 0;
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>conftest.er1
15560 ac_status=$?
15561 grep -v '^ *+' conftest.er1 >conftest.err
15562 rm -f conftest.er1
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try='test -z "$ac_c_werror_flag"
15567 || test ! -s conftest.err'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15570 ac_status=$?
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try='test -s conftest.$ac_objext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 ac_cv_type_void_p=yes
15580 else
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.$ac_ext >&5
15584 ac_cv_type_void_p=no
15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15588 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15589 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15591 echo "$as_me:$LINENO: checking size of void *" >&5
15592 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15593 if test "${ac_cv_sizeof_void_p+set}" = set; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 else
15596 if test "$ac_cv_type_void_p" = yes; then
15597 # The cast to unsigned long works around a bug in the HP C Compiler
15598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15600 # This bug is HP SR number 8606223364.
15601 if test "$cross_compiling" = yes; then
15602 # Depending upon the size, compute the lo and hi bounds.
15603 cat >conftest.$ac_ext <<_ACEOF
15604 /* confdefs.h. */
15605 _ACEOF
15606 cat confdefs.h >>conftest.$ac_ext
15607 cat >>conftest.$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15611 main ()
15613 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15614 test_array [0] = 0
15617 return 0;
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15623 ac_status=$?
15624 grep -v '^ *+' conftest.er1 >conftest.err
15625 rm -f conftest.er1
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_lo=0 ac_mid=0
15643 while :; do
15644 cat >conftest.$ac_ext <<_ACEOF
15645 /* confdefs.h. */
15646 _ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15652 main ()
15654 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15655 test_array [0] = 0
15658 return 0;
15660 _ACEOF
15661 rm -f conftest.$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15664 ac_status=$?
15665 grep -v '^ *+' conftest.er1 >conftest.err
15666 rm -f conftest.er1
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_hi=$ac_mid; break
15684 else
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15688 ac_lo=`expr $ac_mid + 1`
15689 if test $ac_lo -le $ac_mid; then
15690 ac_lo= ac_hi=
15691 break
15693 ac_mid=`expr 2 '*' $ac_mid + 1`
15695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15696 done
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 $ac_includes_default
15709 main ()
15711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15712 test_array [0] = 0
15715 return 0;
15717 _ACEOF
15718 rm -f conftest.$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>conftest.er1
15721 ac_status=$?
15722 grep -v '^ *+' conftest.er1 >conftest.err
15723 rm -f conftest.er1
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try='test -z "$ac_c_werror_flag"
15728 || test ! -s conftest.err'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } &&
15734 { ac_try='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 ac_hi=-1 ac_mid=-1
15741 while :; do
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15750 main ()
15752 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15753 test_array [0] = 0
15756 return 0;
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15762 ac_status=$?
15763 grep -v '^ *+' conftest.er1 >conftest.err
15764 rm -f conftest.er1
15765 cat conftest.err >&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_lo=$ac_mid; break
15782 else
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15786 ac_hi=`expr '(' $ac_mid ')' - 1`
15787 if test $ac_mid -le $ac_hi; then
15788 ac_lo= ac_hi=
15789 break
15791 ac_mid=`expr 2 '*' $ac_mid`
15793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15794 done
15795 else
15796 echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.$ac_ext >&5
15799 ac_lo= ac_hi=
15801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15804 # Binary search between lo and hi bounds.
15805 while test "x$ac_lo" != "x$ac_hi"; do
15806 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15807 cat >conftest.$ac_ext <<_ACEOF
15808 /* confdefs.h. */
15809 _ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813 $ac_includes_default
15815 main ()
15817 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15818 test_array [0] = 0
15821 return 0;
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_c_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_hi=$ac_mid
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_lo=`expr '(' $ac_mid ')' + 1`
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15854 done
15855 case $ac_lo in
15856 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15857 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15858 See \`config.log' for more details." >&5
15859 echo "$as_me: error: cannot compute sizeof (void *), 77
15860 See \`config.log' for more details." >&2;}
15861 { (exit 1); exit 1; }; } ;;
15862 esac
15863 else
15864 if test "$cross_compiling" = yes; then
15865 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15866 See \`config.log' for more details." >&5
15867 echo "$as_me: error: cannot run test program while cross compiling
15868 See \`config.log' for more details." >&2;}
15869 { (exit 1); exit 1; }; }
15870 else
15871 cat >conftest.$ac_ext <<_ACEOF
15872 /* confdefs.h. */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 $ac_includes_default
15878 long longval () { return (long) (sizeof (void *)); }
15879 unsigned long ulongval () { return (long) (sizeof (void *)); }
15880 #include <stdio.h>
15881 #include <stdlib.h>
15883 main ()
15886 FILE *f = fopen ("conftest.val", "w");
15887 if (! f)
15888 exit (1);
15889 if (((long) (sizeof (void *))) < 0)
15891 long i = longval ();
15892 if (i != ((long) (sizeof (void *))))
15893 exit (1);
15894 fprintf (f, "%ld\n", i);
15896 else
15898 unsigned long i = ulongval ();
15899 if (i != ((long) (sizeof (void *))))
15900 exit (1);
15901 fprintf (f, "%lu\n", i);
15903 exit (ferror (f) || fclose (f) != 0);
15906 return 0;
15908 _ACEOF
15909 rm -f conftest$ac_exeext
15910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15911 (eval $ac_link) 2>&5
15912 ac_status=$?
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15917 ac_status=$?
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_cv_sizeof_void_p=`cat conftest.val`
15921 else
15922 echo "$as_me: program exited with status $ac_status" >&5
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15926 ( exit $ac_status )
15927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15928 See \`config.log' for more details." >&5
15929 echo "$as_me: error: cannot compute sizeof (void *), 77
15930 See \`config.log' for more details." >&2;}
15931 { (exit 1); exit 1; }; }
15933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15936 rm -f conftest.val
15937 else
15938 ac_cv_sizeof_void_p=0
15941 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15942 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15943 cat >>confdefs.h <<_ACEOF
15944 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15945 _ACEOF
15948 esac
15950 # Lacking an uint64_t? Test size of long
15951 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15952 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15953 echo $ECHO_N "checking for long... $ECHO_C" >&6
15954 if test "${ac_cv_type_long+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 else
15957 cat >conftest.$ac_ext <<_ACEOF
15958 /* confdefs.h. */
15959 _ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15965 main ()
15967 if ((long *) 0)
15968 return 0;
15969 if (sizeof (long))
15970 return 0;
15972 return 0;
15974 _ACEOF
15975 rm -f conftest.$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_c_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15988 ac_status=$?
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15994 ac_status=$?
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_cv_type_long=yes
15998 else
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16002 ac_cv_type_long=no
16004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16006 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16007 echo "${ECHO_T}$ac_cv_type_long" >&6
16009 echo "$as_me:$LINENO: checking size of long" >&5
16010 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16011 if test "${ac_cv_sizeof_long+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 else
16014 if test "$ac_cv_type_long" = yes; then
16015 # The cast to unsigned long works around a bug in the HP C Compiler
16016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16018 # This bug is HP SR number 8606223364.
16019 if test "$cross_compiling" = yes; then
16020 # Depending upon the size, compute the lo and hi bounds.
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 $ac_includes_default
16029 main ()
16031 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16032 test_array [0] = 0
16035 return 0;
16037 _ACEOF
16038 rm -f conftest.$ac_objext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16040 (eval $ac_compile) 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag"
16048 || test ! -s conftest.err'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; } &&
16054 { ac_try='test -s conftest.$ac_objext'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16057 ac_status=$?
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; }; then
16060 ac_lo=0 ac_mid=0
16061 while :; do
16062 cat >conftest.$ac_ext <<_ACEOF
16063 /* confdefs.h. */
16064 _ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068 $ac_includes_default
16070 main ()
16072 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16073 test_array [0] = 0
16076 return 0;
16078 _ACEOF
16079 rm -f conftest.$ac_objext
16080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16081 (eval $ac_compile) 2>conftest.er1
16082 ac_status=$?
16083 grep -v '^ *+' conftest.er1 >conftest.err
16084 rm -f conftest.er1
16085 cat conftest.err >&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try='test -z "$ac_c_werror_flag"
16089 || test ! -s conftest.err'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16092 ac_status=$?
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; } &&
16095 { ac_try='test -s conftest.$ac_objext'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; }; then
16101 ac_hi=$ac_mid; break
16102 else
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16106 ac_lo=`expr $ac_mid + 1`
16107 if test $ac_lo -le $ac_mid; then
16108 ac_lo= ac_hi=
16109 break
16111 ac_mid=`expr 2 '*' $ac_mid + 1`
16113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16114 done
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16119 cat >conftest.$ac_ext <<_ACEOF
16120 /* confdefs.h. */
16121 _ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16127 main ()
16129 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16130 test_array [0] = 0
16133 return 0;
16135 _ACEOF
16136 rm -f conftest.$ac_objext
16137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16138 (eval $ac_compile) 2>conftest.er1
16139 ac_status=$?
16140 grep -v '^ *+' conftest.er1 >conftest.err
16141 rm -f conftest.er1
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } &&
16145 { ac_try='test -z "$ac_c_werror_flag"
16146 || test ! -s conftest.err'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16149 ac_status=$?
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try='test -s conftest.$ac_objext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_hi=-1 ac_mid=-1
16159 while :; do
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16168 main ()
16170 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16171 test_array [0] = 0
16174 return 0;
16176 _ACEOF
16177 rm -f conftest.$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try='test -z "$ac_c_werror_flag"
16187 || test ! -s conftest.err'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; } &&
16193 { ac_try='test -s conftest.$ac_objext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16199 ac_lo=$ac_mid; break
16200 else
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16204 ac_hi=`expr '(' $ac_mid ')' - 1`
16205 if test $ac_mid -le $ac_hi; then
16206 ac_lo= ac_hi=
16207 break
16209 ac_mid=`expr 2 '*' $ac_mid`
16211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16212 done
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16217 ac_lo= ac_hi=
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16222 # Binary search between lo and hi bounds.
16223 while test "x$ac_lo" != "x$ac_hi"; do
16224 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231 $ac_includes_default
16233 main ()
16235 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16236 test_array [0] = 0
16239 return 0;
16241 _ACEOF
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16245 ac_status=$?
16246 grep -v '^ *+' conftest.er1 >conftest.err
16247 rm -f conftest.er1
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_c_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 ac_hi=$ac_mid
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 ac_lo=`expr '(' $ac_mid ')' + 1`
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 done
16273 case $ac_lo in
16274 ?*) ac_cv_sizeof_long=$ac_lo;;
16275 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16276 See \`config.log' for more details." >&5
16277 echo "$as_me: error: cannot compute sizeof (long), 77
16278 See \`config.log' for more details." >&2;}
16279 { (exit 1); exit 1; }; } ;;
16280 esac
16281 else
16282 if test "$cross_compiling" = yes; then
16283 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16284 See \`config.log' for more details." >&5
16285 echo "$as_me: error: cannot run test program while cross compiling
16286 See \`config.log' for more details." >&2;}
16287 { (exit 1); exit 1; }; }
16288 else
16289 cat >conftest.$ac_ext <<_ACEOF
16290 /* confdefs.h. */
16291 _ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295 $ac_includes_default
16296 long longval () { return (long) (sizeof (long)); }
16297 unsigned long ulongval () { return (long) (sizeof (long)); }
16298 #include <stdio.h>
16299 #include <stdlib.h>
16301 main ()
16304 FILE *f = fopen ("conftest.val", "w");
16305 if (! f)
16306 exit (1);
16307 if (((long) (sizeof (long))) < 0)
16309 long i = longval ();
16310 if (i != ((long) (sizeof (long))))
16311 exit (1);
16312 fprintf (f, "%ld\n", i);
16314 else
16316 unsigned long i = ulongval ();
16317 if (i != ((long) (sizeof (long))))
16318 exit (1);
16319 fprintf (f, "%lu\n", i);
16321 exit (ferror (f) || fclose (f) != 0);
16324 return 0;
16326 _ACEOF
16327 rm -f conftest$ac_exeext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16329 (eval $ac_link) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; }; then
16338 ac_cv_sizeof_long=`cat conftest.val`
16339 else
16340 echo "$as_me: program exited with status $ac_status" >&5
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.$ac_ext >&5
16344 ( exit $ac_status )
16345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16346 See \`config.log' for more details." >&5
16347 echo "$as_me: error: cannot compute sizeof (long), 77
16348 See \`config.log' for more details." >&2;}
16349 { (exit 1); exit 1; }; }
16351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16354 rm -f conftest.val
16355 else
16356 ac_cv_sizeof_long=0
16359 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16360 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16361 cat >>confdefs.h <<_ACEOF
16362 #define SIZEOF_LONG $ac_cv_sizeof_long
16363 _ACEOF
16366 esac
16368 if test $acx_cv_header_stdint = stddef.h; then
16369 # Lacking a good header? Test size of everything and deduce all types.
16370 echo "$as_me:$LINENO: checking for int" >&5
16371 echo $ECHO_N "checking for int... $ECHO_C" >&6
16372 if test "${ac_cv_type_int+set}" = set; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 else
16375 cat >conftest.$ac_ext <<_ACEOF
16376 /* confdefs.h. */
16377 _ACEOF
16378 cat confdefs.h >>conftest.$ac_ext
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16381 $ac_includes_default
16383 main ()
16385 if ((int *) 0)
16386 return 0;
16387 if (sizeof (int))
16388 return 0;
16390 return 0;
16392 _ACEOF
16393 rm -f conftest.$ac_objext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16395 (eval $ac_compile) 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try='test -z "$ac_c_werror_flag"
16403 || test ! -s conftest.err'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16406 ac_status=$?
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; } &&
16409 { ac_try='test -s conftest.$ac_objext'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; }; then
16415 ac_cv_type_int=yes
16416 else
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.$ac_ext >&5
16420 ac_cv_type_int=no
16422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16424 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16425 echo "${ECHO_T}$ac_cv_type_int" >&6
16427 echo "$as_me:$LINENO: checking size of int" >&5
16428 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16429 if test "${ac_cv_sizeof_int+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 else
16432 if test "$ac_cv_type_int" = yes; then
16433 # The cast to unsigned long works around a bug in the HP C Compiler
16434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16436 # This bug is HP SR number 8606223364.
16437 if test "$cross_compiling" = yes; then
16438 # Depending upon the size, compute the lo and hi bounds.
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 $ac_includes_default
16447 main ()
16449 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16450 test_array [0] = 0
16453 return 0;
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16459 ac_status=$?
16460 grep -v '^ *+' conftest.er1 >conftest.err
16461 rm -f conftest.er1
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_c_werror_flag"
16466 || test ! -s conftest.err'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16469 ac_status=$?
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } &&
16472 { ac_try='test -s conftest.$ac_objext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_lo=0 ac_mid=0
16479 while :; do
16480 cat >conftest.$ac_ext <<_ACEOF
16481 /* confdefs.h. */
16482 _ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16488 main ()
16490 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16491 test_array [0] = 0
16494 return 0;
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16500 ac_status=$?
16501 grep -v '^ *+' conftest.er1 >conftest.err
16502 rm -f conftest.er1
16503 cat conftest.err >&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try='test -z "$ac_c_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_hi=$ac_mid; break
16520 else
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16524 ac_lo=`expr $ac_mid + 1`
16525 if test $ac_lo -le $ac_mid; then
16526 ac_lo= ac_hi=
16527 break
16529 ac_mid=`expr 2 '*' $ac_mid + 1`
16531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16532 done
16533 else
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 $ac_includes_default
16545 main ()
16547 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16548 test_array [0] = 0
16551 return 0;
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16557 ac_status=$?
16558 grep -v '^ *+' conftest.er1 >conftest.err
16559 rm -f conftest.er1
16560 cat conftest.err >&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try='test -z "$ac_c_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 ac_hi=-1 ac_mid=-1
16577 while :; do
16578 cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h. */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16586 main ()
16588 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16589 test_array [0] = 0
16592 return 0;
16594 _ACEOF
16595 rm -f conftest.$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16598 ac_status=$?
16599 grep -v '^ *+' conftest.er1 >conftest.err
16600 rm -f conftest.er1
16601 cat conftest.err >&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try='test -z "$ac_c_werror_flag"
16605 || test ! -s conftest.err'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; } &&
16611 { ac_try='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_lo=$ac_mid; break
16618 else
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16622 ac_hi=`expr '(' $ac_mid ')' - 1`
16623 if test $ac_mid -le $ac_hi; then
16624 ac_lo= ac_hi=
16625 break
16627 ac_mid=`expr 2 '*' $ac_mid`
16629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16630 done
16631 else
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16635 ac_lo= ac_hi=
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16640 # Binary search between lo and hi bounds.
16641 while test "x$ac_lo" != "x$ac_hi"; do
16642 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 $ac_includes_default
16651 main ()
16653 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16654 test_array [0] = 0
16657 return 0;
16659 _ACEOF
16660 rm -f conftest.$ac_objext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16662 (eval $ac_compile) 2>conftest.er1
16663 ac_status=$?
16664 grep -v '^ *+' conftest.er1 >conftest.err
16665 rm -f conftest.er1
16666 cat conftest.err >&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try='test -z "$ac_c_werror_flag"
16670 || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_hi=$ac_mid
16683 else
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.$ac_ext >&5
16687 ac_lo=`expr '(' $ac_mid ')' + 1`
16689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16690 done
16691 case $ac_lo in
16692 ?*) ac_cv_sizeof_int=$ac_lo;;
16693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16694 See \`config.log' for more details." >&5
16695 echo "$as_me: error: cannot compute sizeof (int), 77
16696 See \`config.log' for more details." >&2;}
16697 { (exit 1); exit 1; }; } ;;
16698 esac
16699 else
16700 if test "$cross_compiling" = yes; then
16701 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16702 See \`config.log' for more details." >&5
16703 echo "$as_me: error: cannot run test program while cross compiling
16704 See \`config.log' for more details." >&2;}
16705 { (exit 1); exit 1; }; }
16706 else
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 $ac_includes_default
16714 long longval () { return (long) (sizeof (int)); }
16715 unsigned long ulongval () { return (long) (sizeof (int)); }
16716 #include <stdio.h>
16717 #include <stdlib.h>
16719 main ()
16722 FILE *f = fopen ("conftest.val", "w");
16723 if (! f)
16724 exit (1);
16725 if (((long) (sizeof (int))) < 0)
16727 long i = longval ();
16728 if (i != ((long) (sizeof (int))))
16729 exit (1);
16730 fprintf (f, "%ld\n", i);
16732 else
16734 unsigned long i = ulongval ();
16735 if (i != ((long) (sizeof (int))))
16736 exit (1);
16737 fprintf (f, "%lu\n", i);
16739 exit (ferror (f) || fclose (f) != 0);
16742 return 0;
16744 _ACEOF
16745 rm -f conftest$ac_exeext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16747 (eval $ac_link) 2>&5
16748 ac_status=$?
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16753 ac_status=$?
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; }; then
16756 ac_cv_sizeof_int=`cat conftest.val`
16757 else
16758 echo "$as_me: program exited with status $ac_status" >&5
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16762 ( exit $ac_status )
16763 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16764 See \`config.log' for more details." >&5
16765 echo "$as_me: error: cannot compute sizeof (int), 77
16766 See \`config.log' for more details." >&2;}
16767 { (exit 1); exit 1; }; }
16769 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16772 rm -f conftest.val
16773 else
16774 ac_cv_sizeof_int=0
16777 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16778 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16779 cat >>confdefs.h <<_ACEOF
16780 #define SIZEOF_INT $ac_cv_sizeof_int
16781 _ACEOF
16784 echo "$as_me:$LINENO: checking for short" >&5
16785 echo $ECHO_N "checking for short... $ECHO_C" >&6
16786 if test "${ac_cv_type_short+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 else
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16797 main ()
16799 if ((short *) 0)
16800 return 0;
16801 if (sizeof (short))
16802 return 0;
16804 return 0;
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16810 ac_status=$?
16811 grep -v '^ *+' conftest.er1 >conftest.err
16812 rm -f conftest.er1
16813 cat conftest.err >&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try='test -z "$ac_c_werror_flag"
16817 || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16826 ac_status=$?
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 ac_cv_type_short=yes
16830 else
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_cv_type_short=no
16836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16838 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16839 echo "${ECHO_T}$ac_cv_type_short" >&6
16841 echo "$as_me:$LINENO: checking size of short" >&5
16842 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16843 if test "${ac_cv_sizeof_short+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 else
16846 if test "$ac_cv_type_short" = yes; then
16847 # The cast to unsigned long works around a bug in the HP C Compiler
16848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16850 # This bug is HP SR number 8606223364.
16851 if test "$cross_compiling" = yes; then
16852 # Depending upon the size, compute the lo and hi bounds.
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 $ac_includes_default
16861 main ()
16863 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16864 test_array [0] = 0
16867 return 0;
16869 _ACEOF
16870 rm -f conftest.$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>conftest.er1
16873 ac_status=$?
16874 grep -v '^ *+' conftest.er1 >conftest.err
16875 rm -f conftest.er1
16876 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try='test -z "$ac_c_werror_flag"
16880 || test ! -s conftest.err'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16883 ac_status=$?
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; } &&
16886 { ac_try='test -s conftest.$ac_objext'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; }; then
16892 ac_lo=0 ac_mid=0
16893 while :; do
16894 cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16902 main ()
16904 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16905 test_array [0] = 0
16908 return 0;
16910 _ACEOF
16911 rm -f conftest.$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -z "$ac_c_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_hi=$ac_mid; break
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 ac_lo=`expr $ac_mid + 1`
16939 if test $ac_lo -le $ac_mid; then
16940 ac_lo= ac_hi=
16941 break
16943 ac_mid=`expr 2 '*' $ac_mid + 1`
16945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16946 done
16947 else
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.$ac_ext >&5
16951 cat >conftest.$ac_ext <<_ACEOF
16952 /* confdefs.h. */
16953 _ACEOF
16954 cat confdefs.h >>conftest.$ac_ext
16955 cat >>conftest.$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 $ac_includes_default
16959 main ()
16961 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16962 test_array [0] = 0
16965 return 0;
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try='test -z "$ac_c_werror_flag"
16978 || test ! -s conftest.err'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16987 ac_status=$?
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16990 ac_hi=-1 ac_mid=-1
16991 while :; do
16992 cat >conftest.$ac_ext <<_ACEOF
16993 /* confdefs.h. */
16994 _ACEOF
16995 cat confdefs.h >>conftest.$ac_ext
16996 cat >>conftest.$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 $ac_includes_default
17000 main ()
17002 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17003 test_array [0] = 0
17006 return 0;
17008 _ACEOF
17009 rm -f conftest.$ac_objext
17010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17011 (eval $ac_compile) 2>conftest.er1
17012 ac_status=$?
17013 grep -v '^ *+' conftest.er1 >conftest.err
17014 rm -f conftest.er1
17015 cat conftest.err >&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } &&
17018 { ac_try='test -z "$ac_c_werror_flag"
17019 || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest.$ac_objext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_lo=$ac_mid; break
17032 else
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.$ac_ext >&5
17036 ac_hi=`expr '(' $ac_mid ')' - 1`
17037 if test $ac_mid -le $ac_hi; then
17038 ac_lo= ac_hi=
17039 break
17041 ac_mid=`expr 2 '*' $ac_mid`
17043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17044 done
17045 else
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.$ac_ext >&5
17049 ac_lo= ac_hi=
17051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 # Binary search between lo and hi bounds.
17055 while test "x$ac_lo" != "x$ac_hi"; do
17056 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 $ac_includes_default
17065 main ()
17067 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17068 test_array [0] = 0
17071 return 0;
17073 _ACEOF
17074 rm -f conftest.$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } &&
17083 { ac_try='test -z "$ac_c_werror_flag"
17084 || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_hi=$ac_mid
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_lo=`expr '(' $ac_mid ')' + 1`
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104 done
17105 case $ac_lo in
17106 ?*) ac_cv_sizeof_short=$ac_lo;;
17107 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17108 See \`config.log' for more details." >&5
17109 echo "$as_me: error: cannot compute sizeof (short), 77
17110 See \`config.log' for more details." >&2;}
17111 { (exit 1); exit 1; }; } ;;
17112 esac
17113 else
17114 if test "$cross_compiling" = yes; then
17115 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17116 See \`config.log' for more details." >&5
17117 echo "$as_me: error: cannot run test program while cross compiling
17118 See \`config.log' for more details." >&2;}
17119 { (exit 1); exit 1; }; }
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 $ac_includes_default
17128 long longval () { return (long) (sizeof (short)); }
17129 unsigned long ulongval () { return (long) (sizeof (short)); }
17130 #include <stdio.h>
17131 #include <stdlib.h>
17133 main ()
17136 FILE *f = fopen ("conftest.val", "w");
17137 if (! f)
17138 exit (1);
17139 if (((long) (sizeof (short))) < 0)
17141 long i = longval ();
17142 if (i != ((long) (sizeof (short))))
17143 exit (1);
17144 fprintf (f, "%ld\n", i);
17146 else
17148 unsigned long i = ulongval ();
17149 if (i != ((long) (sizeof (short))))
17150 exit (1);
17151 fprintf (f, "%lu\n", i);
17153 exit (ferror (f) || fclose (f) != 0);
17156 return 0;
17158 _ACEOF
17159 rm -f conftest$ac_exeext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17161 (eval $ac_link) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_sizeof_short=`cat conftest.val`
17171 else
17172 echo "$as_me: program exited with status $ac_status" >&5
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17176 ( exit $ac_status )
17177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot compute sizeof (short), 77
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17183 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17186 rm -f conftest.val
17187 else
17188 ac_cv_sizeof_short=0
17191 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17192 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17193 cat >>confdefs.h <<_ACEOF
17194 #define SIZEOF_SHORT $ac_cv_sizeof_short
17195 _ACEOF
17198 echo "$as_me:$LINENO: checking for char" >&5
17199 echo $ECHO_N "checking for char... $ECHO_C" >&6
17200 if test "${ac_cv_type_char+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 $ac_includes_default
17211 main ()
17213 if ((char *) 0)
17214 return 0;
17215 if (sizeof (char))
17216 return 0;
17218 return 0;
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_c_werror_flag"
17231 || test ! -s conftest.err'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; } &&
17237 { ac_try='test -s conftest.$ac_objext'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; }; then
17243 ac_cv_type_char=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 ac_cv_type_char=no
17250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17252 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17253 echo "${ECHO_T}$ac_cv_type_char" >&6
17255 echo "$as_me:$LINENO: checking size of char" >&5
17256 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17257 if test "${ac_cv_sizeof_char+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 else
17260 if test "$ac_cv_type_char" = yes; then
17261 # The cast to unsigned long works around a bug in the HP C Compiler
17262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17264 # This bug is HP SR number 8606223364.
17265 if test "$cross_compiling" = yes; then
17266 # Depending upon the size, compute the lo and hi bounds.
17267 cat >conftest.$ac_ext <<_ACEOF
17268 /* confdefs.h. */
17269 _ACEOF
17270 cat confdefs.h >>conftest.$ac_ext
17271 cat >>conftest.$ac_ext <<_ACEOF
17272 /* end confdefs.h. */
17273 $ac_includes_default
17275 main ()
17277 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17278 test_array [0] = 0
17281 return 0;
17283 _ACEOF
17284 rm -f conftest.$ac_objext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17286 (eval $ac_compile) 2>conftest.er1
17287 ac_status=$?
17288 grep -v '^ *+' conftest.er1 >conftest.err
17289 rm -f conftest.er1
17290 cat conftest.err >&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try='test -z "$ac_c_werror_flag"
17294 || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 ac_lo=0 ac_mid=0
17307 while :; do
17308 cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 $ac_includes_default
17316 main ()
17318 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17319 test_array [0] = 0
17322 return 0;
17324 _ACEOF
17325 rm -f conftest.$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -z "$ac_c_werror_flag"
17335 || test ! -s conftest.err'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17338 ac_status=$?
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; } &&
17341 { ac_try='test -s conftest.$ac_objext'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; }; then
17347 ac_hi=$ac_mid; break
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 ac_lo=`expr $ac_mid + 1`
17353 if test $ac_lo -le $ac_mid; then
17354 ac_lo= ac_hi=
17355 break
17357 ac_mid=`expr 2 '*' $ac_mid + 1`
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17360 done
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 $ac_includes_default
17373 main ()
17375 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17376 test_array [0] = 0
17379 return 0;
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_hi=-1 ac_mid=-1
17405 while :; do
17406 cat >conftest.$ac_ext <<_ACEOF
17407 /* confdefs.h. */
17408 _ACEOF
17409 cat confdefs.h >>conftest.$ac_ext
17410 cat >>conftest.$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 $ac_includes_default
17414 main ()
17416 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17417 test_array [0] = 0
17420 return 0;
17422 _ACEOF
17423 rm -f conftest.$ac_objext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17425 (eval $ac_compile) 2>conftest.er1
17426 ac_status=$?
17427 grep -v '^ *+' conftest.er1 >conftest.err
17428 rm -f conftest.er1
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } &&
17432 { ac_try='test -z "$ac_c_werror_flag"
17433 || test ! -s conftest.err'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; } &&
17439 { ac_try='test -s conftest.$ac_objext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17445 ac_lo=$ac_mid; break
17446 else
17447 echo "$as_me: failed program was:" >&5
17448 sed 's/^/| /' conftest.$ac_ext >&5
17450 ac_hi=`expr '(' $ac_mid ')' - 1`
17451 if test $ac_mid -le $ac_hi; then
17452 ac_lo= ac_hi=
17453 break
17455 ac_mid=`expr 2 '*' $ac_mid`
17457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17458 done
17459 else
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_lo= ac_hi=
17465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17468 # Binary search between lo and hi bounds.
17469 while test "x$ac_lo" != "x$ac_hi"; do
17470 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17471 cat >conftest.$ac_ext <<_ACEOF
17472 /* confdefs.h. */
17473 _ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477 $ac_includes_default
17479 main ()
17481 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17482 test_array [0] = 0
17485 return 0;
17487 _ACEOF
17488 rm -f conftest.$ac_objext
17489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17490 (eval $ac_compile) 2>conftest.er1
17491 ac_status=$?
17492 grep -v '^ *+' conftest.er1 >conftest.err
17493 rm -f conftest.er1
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try='test -z "$ac_c_werror_flag"
17498 || test ! -s conftest.err'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; } &&
17504 { ac_try='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 ac_hi=$ac_mid
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17515 ac_lo=`expr '(' $ac_mid ')' + 1`
17517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17518 done
17519 case $ac_lo in
17520 ?*) ac_cv_sizeof_char=$ac_lo;;
17521 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17522 See \`config.log' for more details." >&5
17523 echo "$as_me: error: cannot compute sizeof (char), 77
17524 See \`config.log' for more details." >&2;}
17525 { (exit 1); exit 1; }; } ;;
17526 esac
17527 else
17528 if test "$cross_compiling" = yes; then
17529 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17530 See \`config.log' for more details." >&5
17531 echo "$as_me: error: cannot run test program while cross compiling
17532 See \`config.log' for more details." >&2;}
17533 { (exit 1); exit 1; }; }
17534 else
17535 cat >conftest.$ac_ext <<_ACEOF
17536 /* confdefs.h. */
17537 _ACEOF
17538 cat confdefs.h >>conftest.$ac_ext
17539 cat >>conftest.$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17541 $ac_includes_default
17542 long longval () { return (long) (sizeof (char)); }
17543 unsigned long ulongval () { return (long) (sizeof (char)); }
17544 #include <stdio.h>
17545 #include <stdlib.h>
17547 main ()
17550 FILE *f = fopen ("conftest.val", "w");
17551 if (! f)
17552 exit (1);
17553 if (((long) (sizeof (char))) < 0)
17555 long i = longval ();
17556 if (i != ((long) (sizeof (char))))
17557 exit (1);
17558 fprintf (f, "%ld\n", i);
17560 else
17562 unsigned long i = ulongval ();
17563 if (i != ((long) (sizeof (char))))
17564 exit (1);
17565 fprintf (f, "%lu\n", i);
17567 exit (ferror (f) || fclose (f) != 0);
17570 return 0;
17572 _ACEOF
17573 rm -f conftest$ac_exeext
17574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17575 (eval $ac_link) 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17584 ac_cv_sizeof_char=`cat conftest.val`
17585 else
17586 echo "$as_me: program exited with status $ac_status" >&5
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 ( exit $ac_status )
17591 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&5
17593 echo "$as_me: error: cannot compute sizeof (char), 77
17594 See \`config.log' for more details." >&2;}
17595 { (exit 1); exit 1; }; }
17597 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17600 rm -f conftest.val
17601 else
17602 ac_cv_sizeof_char=0
17605 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17606 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17607 cat >>confdefs.h <<_ACEOF
17608 #define SIZEOF_CHAR $ac_cv_sizeof_char
17609 _ACEOF
17613 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17614 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17615 case "$ac_cv_sizeof_char" in
17616 1) acx_cv_type_int8_t=char ;;
17617 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17618 echo "$as_me: error: no 8-bit type" >&2;}
17619 { (exit please report a bug); exit please report a bug; }; }
17620 esac
17621 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17622 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17624 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17625 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17626 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17627 2:*) acx_cv_type_int16_t=int ;;
17628 *:2) acx_cv_type_int16_t=short ;;
17629 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17630 echo "$as_me: error: no 16-bit type" >&2;}
17631 { (exit please report a bug); exit please report a bug; }; }
17632 esac
17633 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17634 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17636 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17637 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17638 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17639 4:*) acx_cv_type_int32_t=int ;;
17640 *:4) acx_cv_type_int32_t=long ;;
17641 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17642 echo "$as_me: error: no 32-bit type" >&2;}
17643 { (exit please report a bug); exit please report a bug; }; }
17644 esac
17645 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17646 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17649 # These tests are here to make the output prettier
17651 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17652 case "$ac_cv_sizeof_long" in
17653 8) acx_cv_type_int64_t=long ;;
17654 esac
17655 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17656 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17657 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17658 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17661 # Now we can use the above types
17663 if test "$ac_cv_type_uintptr_t" != yes; then
17664 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17665 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17666 case $ac_cv_sizeof_void_p in
17667 2) acx_cv_type_intptr_t=int16_t ;;
17668 4) acx_cv_type_intptr_t=int32_t ;;
17669 8) acx_cv_type_intptr_t=int64_t ;;
17670 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17671 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17672 { (exit please report a bug); exit please report a bug; }; }
17673 esac
17674 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17675 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17678 # ----------------- done all checks, emit header -------------
17679 ac_config_commands="$ac_config_commands gstdint.h"
17684 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17685 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17686 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */
17691 _ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17697 main ()
17699 static struct stat ac_aggr;
17700 if (ac_aggr.st_blksize)
17701 return 0;
17703 return 0;
17705 _ACEOF
17706 rm -f conftest.$ac_objext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try='test -z "$ac_c_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17728 ac_cv_member_struct_stat_st_blksize=yes
17729 else
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h. */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17739 $ac_includes_default
17741 main ()
17743 static struct stat ac_aggr;
17744 if (sizeof ac_aggr.st_blksize)
17745 return 0;
17747 return 0;
17749 _ACEOF
17750 rm -f conftest.$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try='test -z "$ac_c_werror_flag"
17760 || test ! -s conftest.err'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; } &&
17766 { ac_try='test -s conftest.$ac_objext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17772 ac_cv_member_struct_stat_st_blksize=yes
17773 else
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17777 ac_cv_member_struct_stat_st_blksize=no
17779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17783 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17784 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17785 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17787 cat >>confdefs.h <<_ACEOF
17788 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17789 _ACEOF
17794 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17795 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17796 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17797 echo $ECHO_N "(cached) $ECHO_C" >&6
17798 else
17799 cat >conftest.$ac_ext <<_ACEOF
17800 /* confdefs.h. */
17801 _ACEOF
17802 cat confdefs.h >>conftest.$ac_ext
17803 cat >>conftest.$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 $ac_includes_default
17807 main ()
17809 static struct stat ac_aggr;
17810 if (ac_aggr.st_blocks)
17811 return 0;
17813 return 0;
17815 _ACEOF
17816 rm -f conftest.$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818 (eval $ac_compile) 2>conftest.er1
17819 ac_status=$?
17820 grep -v '^ *+' conftest.er1 >conftest.err
17821 rm -f conftest.er1
17822 cat conftest.err >&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try='test -z "$ac_c_werror_flag"
17826 || test ! -s conftest.err'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17829 ac_status=$?
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try='test -s conftest.$ac_objext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17835 ac_status=$?
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_cv_member_struct_stat_st_blocks=yes
17839 else
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 $ac_includes_default
17851 main ()
17853 static struct stat ac_aggr;
17854 if (sizeof ac_aggr.st_blocks)
17855 return 0;
17857 return 0;
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try='test -z "$ac_c_werror_flag"
17870 || test ! -s conftest.err'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17873 ac_status=$?
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; } &&
17876 { ac_try='test -s conftest.$ac_objext'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17879 ac_status=$?
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; }; then
17882 ac_cv_member_struct_stat_st_blocks=yes
17883 else
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17887 ac_cv_member_struct_stat_st_blocks=no
17889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17893 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17894 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17895 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17899 _ACEOF
17904 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17905 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17906 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 else
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 $ac_includes_default
17917 main ()
17919 static struct stat ac_aggr;
17920 if (ac_aggr.st_rdev)
17921 return 0;
17923 return 0;
17925 _ACEOF
17926 rm -f conftest.$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag"
17936 || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17939 ac_status=$?
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try='test -s conftest.$ac_objext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_cv_member_struct_stat_st_rdev=yes
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17953 cat >conftest.$ac_ext <<_ACEOF
17954 /* confdefs.h. */
17955 _ACEOF
17956 cat confdefs.h >>conftest.$ac_ext
17957 cat >>conftest.$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959 $ac_includes_default
17961 main ()
17963 static struct stat ac_aggr;
17964 if (sizeof ac_aggr.st_rdev)
17965 return 0;
17967 return 0;
17969 _ACEOF
17970 rm -f conftest.$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972 (eval $ac_compile) 2>conftest.er1
17973 ac_status=$?
17974 grep -v '^ *+' conftest.er1 >conftest.err
17975 rm -f conftest.er1
17976 cat conftest.err >&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
17979 { ac_try='test -z "$ac_c_werror_flag"
17980 || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17989 ac_status=$?
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_cv_member_struct_stat_st_rdev=yes
17993 else
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17997 ac_cv_member_struct_stat_st_rdev=no
17999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18003 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18004 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18005 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_STRUCT_STAT_ST_RDEV 1
18009 _ACEOF
18015 # Check for library functions.
18024 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18027 echo "$as_me:$LINENO: checking for $ac_func" >&5
18028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18029 if eval "test \"\${$as_ac_var+set}\" = set"; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 else
18032 if test x$gcc_no_link = xyes; then
18033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18035 { (exit 1); exit 1; }; }
18037 cat >conftest.$ac_ext <<_ACEOF
18038 /* confdefs.h. */
18039 _ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18045 #define $ac_func innocuous_$ac_func
18047 /* System header to define __stub macros and hopefully few prototypes,
18048 which can conflict with char $ac_func (); below.
18049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18050 <limits.h> exists even on freestanding compilers. */
18052 #ifdef __STDC__
18053 # include <limits.h>
18054 #else
18055 # include <assert.h>
18056 #endif
18058 #undef $ac_func
18060 /* Override any gcc2 internal prototype to avoid an error. */
18061 #ifdef __cplusplus
18062 extern "C"
18064 #endif
18065 /* We use char because int might match the return type of a gcc2
18066 builtin and then its argument prototype would still apply. */
18067 char $ac_func ();
18068 /* The GNU C library defines this for functions which it implements
18069 to always fail with ENOSYS. Some functions are actually named
18070 something starting with __ and the normal name is an alias. */
18071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18072 choke me
18073 #else
18074 char (*f) () = $ac_func;
18075 #endif
18076 #ifdef __cplusplus
18078 #endif
18081 main ()
18083 return f != $ac_func;
18085 return 0;
18087 _ACEOF
18088 rm -f conftest.$ac_objext conftest$ac_exeext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18090 (eval $ac_link) 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try='test -z "$ac_c_werror_flag"
18098 || test ! -s conftest.err'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; } &&
18104 { ac_try='test -s conftest$ac_exeext'
18105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106 (eval $ac_try) 2>&5
18107 ac_status=$?
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 eval "$as_ac_var=yes"
18111 else
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18115 eval "$as_ac_var=no"
18117 rm -f conftest.err conftest.$ac_objext \
18118 conftest$ac_exeext conftest.$ac_ext
18120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18122 if test `eval echo '${'$as_ac_var'}'` = yes; then
18123 cat >>confdefs.h <<_ACEOF
18124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18125 _ACEOF
18128 done
18138 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18141 echo "$as_me:$LINENO: checking for $ac_func" >&5
18142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18143 if eval "test \"\${$as_ac_var+set}\" = set"; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 else
18146 if test x$gcc_no_link = xyes; then
18147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18149 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18159 #define $ac_func innocuous_$ac_func
18161 /* System header to define __stub macros and hopefully few prototypes,
18162 which can conflict with char $ac_func (); below.
18163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18164 <limits.h> exists even on freestanding compilers. */
18166 #ifdef __STDC__
18167 # include <limits.h>
18168 #else
18169 # include <assert.h>
18170 #endif
18172 #undef $ac_func
18174 /* Override any gcc2 internal prototype to avoid an error. */
18175 #ifdef __cplusplus
18176 extern "C"
18178 #endif
18179 /* We use char because int might match the return type of a gcc2
18180 builtin and then its argument prototype would still apply. */
18181 char $ac_func ();
18182 /* The GNU C library defines this for functions which it implements
18183 to always fail with ENOSYS. Some functions are actually named
18184 something starting with __ and the normal name is an alias. */
18185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18186 choke me
18187 #else
18188 char (*f) () = $ac_func;
18189 #endif
18190 #ifdef __cplusplus
18192 #endif
18195 main ()
18197 return f != $ac_func;
18199 return 0;
18201 _ACEOF
18202 rm -f conftest.$ac_objext conftest$ac_exeext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18204 (eval $ac_link) 2>conftest.er1
18205 ac_status=$?
18206 grep -v '^ *+' conftest.er1 >conftest.err
18207 rm -f conftest.er1
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_c_werror_flag"
18212 || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try='test -s conftest$ac_exeext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 eval "$as_ac_var=yes"
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 eval "$as_ac_var=no"
18231 rm -f conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18236 if test `eval echo '${'$as_ac_var'}'` = yes; then
18237 cat >>confdefs.h <<_ACEOF
18238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18239 _ACEOF
18242 done
18254 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18257 echo "$as_me:$LINENO: checking for $ac_func" >&5
18258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18259 if eval "test \"\${$as_ac_var+set}\" = set"; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262 if test x$gcc_no_link = xyes; then
18263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18265 { (exit 1); exit 1; }; }
18267 cat >conftest.$ac_ext <<_ACEOF
18268 /* confdefs.h. */
18269 _ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18275 #define $ac_func innocuous_$ac_func
18277 /* System header to define __stub macros and hopefully few prototypes,
18278 which can conflict with char $ac_func (); below.
18279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18280 <limits.h> exists even on freestanding compilers. */
18282 #ifdef __STDC__
18283 # include <limits.h>
18284 #else
18285 # include <assert.h>
18286 #endif
18288 #undef $ac_func
18290 /* Override any gcc2 internal prototype to avoid an error. */
18291 #ifdef __cplusplus
18292 extern "C"
18294 #endif
18295 /* We use char because int might match the return type of a gcc2
18296 builtin and then its argument prototype would still apply. */
18297 char $ac_func ();
18298 /* The GNU C library defines this for functions which it implements
18299 to always fail with ENOSYS. Some functions are actually named
18300 something starting with __ and the normal name is an alias. */
18301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18302 choke me
18303 #else
18304 char (*f) () = $ac_func;
18305 #endif
18306 #ifdef __cplusplus
18308 #endif
18311 main ()
18313 return f != $ac_func;
18315 return 0;
18317 _ACEOF
18318 rm -f conftest.$ac_objext conftest$ac_exeext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18320 (eval $ac_link) 2>conftest.er1
18321 ac_status=$?
18322 grep -v '^ *+' conftest.er1 >conftest.err
18323 rm -f conftest.er1
18324 cat conftest.err >&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -z "$ac_c_werror_flag"
18328 || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest$ac_exeext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 eval "$as_ac_var=yes"
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18345 eval "$as_ac_var=no"
18347 rm -f conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18352 if test `eval echo '${'$as_ac_var'}'` = yes; then
18353 cat >>confdefs.h <<_ACEOF
18354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18355 _ACEOF
18358 done
18369 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18372 echo "$as_me:$LINENO: checking for $ac_func" >&5
18373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18374 if eval "test \"\${$as_ac_var+set}\" = set"; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18376 else
18377 if test x$gcc_no_link = xyes; then
18378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18380 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18390 #define $ac_func innocuous_$ac_func
18392 /* System header to define __stub macros and hopefully few prototypes,
18393 which can conflict with char $ac_func (); below.
18394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18395 <limits.h> exists even on freestanding compilers. */
18397 #ifdef __STDC__
18398 # include <limits.h>
18399 #else
18400 # include <assert.h>
18401 #endif
18403 #undef $ac_func
18405 /* Override any gcc2 internal prototype to avoid an error. */
18406 #ifdef __cplusplus
18407 extern "C"
18409 #endif
18410 /* We use char because int might match the return type of a gcc2
18411 builtin and then its argument prototype would still apply. */
18412 char $ac_func ();
18413 /* The GNU C library defines this for functions which it implements
18414 to always fail with ENOSYS. Some functions are actually named
18415 something starting with __ and the normal name is an alias. */
18416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18417 choke me
18418 #else
18419 char (*f) () = $ac_func;
18420 #endif
18421 #ifdef __cplusplus
18423 #endif
18426 main ()
18428 return f != $ac_func;
18430 return 0;
18432 _ACEOF
18433 rm -f conftest.$ac_objext conftest$ac_exeext
18434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18435 (eval $ac_link) 2>conftest.er1
18436 ac_status=$?
18437 grep -v '^ *+' conftest.er1 >conftest.err
18438 rm -f conftest.er1
18439 cat conftest.err >&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } &&
18442 { ac_try='test -z "$ac_c_werror_flag"
18443 || test ! -s conftest.err'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; } &&
18449 { ac_try='test -s conftest$ac_exeext'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; }; then
18455 eval "$as_ac_var=yes"
18456 else
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.$ac_ext >&5
18460 eval "$as_ac_var=no"
18462 rm -f conftest.err conftest.$ac_objext \
18463 conftest$ac_exeext conftest.$ac_ext
18465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18467 if test `eval echo '${'$as_ac_var'}'` = yes; then
18468 cat >>confdefs.h <<_ACEOF
18469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18470 _ACEOF
18473 done
18480 for ac_func in gettimeofday stat fstat lstat getpwuid
18482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18483 echo "$as_me:$LINENO: checking for $ac_func" >&5
18484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18485 if eval "test \"\${$as_ac_var+set}\" = set"; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488 if test x$gcc_no_link = xyes; then
18489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18491 { (exit 1); exit 1; }; }
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18501 #define $ac_func innocuous_$ac_func
18503 /* System header to define __stub macros and hopefully few prototypes,
18504 which can conflict with char $ac_func (); below.
18505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18506 <limits.h> exists even on freestanding compilers. */
18508 #ifdef __STDC__
18509 # include <limits.h>
18510 #else
18511 # include <assert.h>
18512 #endif
18514 #undef $ac_func
18516 /* Override any gcc2 internal prototype to avoid an error. */
18517 #ifdef __cplusplus
18518 extern "C"
18520 #endif
18521 /* We use char because int might match the return type of a gcc2
18522 builtin and then its argument prototype would still apply. */
18523 char $ac_func ();
18524 /* The GNU C library defines this for functions which it implements
18525 to always fail with ENOSYS. Some functions are actually named
18526 something starting with __ and the normal name is an alias. */
18527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18528 choke me
18529 #else
18530 char (*f) () = $ac_func;
18531 #endif
18532 #ifdef __cplusplus
18534 #endif
18537 main ()
18539 return f != $ac_func;
18541 return 0;
18543 _ACEOF
18544 rm -f conftest.$ac_objext conftest$ac_exeext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18546 (eval $ac_link) 2>conftest.er1
18547 ac_status=$?
18548 grep -v '^ *+' conftest.er1 >conftest.err
18549 rm -f conftest.er1
18550 cat conftest.err >&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } &&
18553 { ac_try='test -z "$ac_c_werror_flag"
18554 || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest$ac_exeext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18563 ac_status=$?
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 eval "$as_ac_var=yes"
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 eval "$as_ac_var=no"
18573 rm -f conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18578 if test `eval echo '${'$as_ac_var'}'` = yes; then
18579 cat >>confdefs.h <<_ACEOF
18580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18581 _ACEOF
18584 done
18587 # Check for glibc backtrace functions
18590 for ac_func in backtrace backtrace_symbols
18592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18593 echo "$as_me:$LINENO: checking for $ac_func" >&5
18594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18595 if eval "test \"\${$as_ac_var+set}\" = set"; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18597 else
18598 if test x$gcc_no_link = xyes; then
18599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18601 { (exit 1); exit 1; }; }
18603 cat >conftest.$ac_ext <<_ACEOF
18604 /* confdefs.h. */
18605 _ACEOF
18606 cat confdefs.h >>conftest.$ac_ext
18607 cat >>conftest.$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18611 #define $ac_func innocuous_$ac_func
18613 /* System header to define __stub macros and hopefully few prototypes,
18614 which can conflict with char $ac_func (); below.
18615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18616 <limits.h> exists even on freestanding compilers. */
18618 #ifdef __STDC__
18619 # include <limits.h>
18620 #else
18621 # include <assert.h>
18622 #endif
18624 #undef $ac_func
18626 /* Override any gcc2 internal prototype to avoid an error. */
18627 #ifdef __cplusplus
18628 extern "C"
18630 #endif
18631 /* We use char because int might match the return type of a gcc2
18632 builtin and then its argument prototype would still apply. */
18633 char $ac_func ();
18634 /* The GNU C library defines this for functions which it implements
18635 to always fail with ENOSYS. Some functions are actually named
18636 something starting with __ and the normal name is an alias. */
18637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18638 choke me
18639 #else
18640 char (*f) () = $ac_func;
18641 #endif
18642 #ifdef __cplusplus
18644 #endif
18647 main ()
18649 return f != $ac_func;
18651 return 0;
18653 _ACEOF
18654 rm -f conftest.$ac_objext conftest$ac_exeext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18656 (eval $ac_link) 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -z "$ac_c_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try='test -s conftest$ac_exeext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 eval "$as_ac_var=yes"
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 eval "$as_ac_var=no"
18683 rm -f conftest.err conftest.$ac_objext \
18684 conftest$ac_exeext conftest.$ac_ext
18686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18688 if test `eval echo '${'$as_ac_var'}'` = yes; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18691 _ACEOF
18694 done
18697 # Check for types
18698 echo "$as_me:$LINENO: checking for intptr_t" >&5
18699 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18700 if test "${ac_cv_type_intptr_t+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h. */
18705 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 $ac_includes_default
18711 main ()
18713 if ((intptr_t *) 0)
18714 return 0;
18715 if (sizeof (intptr_t))
18716 return 0;
18718 return 0;
18720 _ACEOF
18721 rm -f conftest.$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>conftest.er1
18724 ac_status=$?
18725 grep -v '^ *+' conftest.er1 >conftest.err
18726 rm -f conftest.er1
18727 cat conftest.err >&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } &&
18730 { ac_try='test -z "$ac_c_werror_flag"
18731 || test ! -s conftest.err'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; } &&
18737 { ac_try='test -s conftest.$ac_objext'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; }; then
18743 ac_cv_type_intptr_t=yes
18744 else
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18748 ac_cv_type_intptr_t=no
18750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18752 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18753 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18754 if test $ac_cv_type_intptr_t = yes; then
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_INTPTR_T 1
18758 _ACEOF
18764 # Check libc for getgid, getpid, getuid
18765 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18766 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18767 if test "${ac_cv_lib_c_getgid+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 else
18770 ac_check_lib_save_LIBS=$LIBS
18771 LIBS="-lc $LIBS"
18772 if test x$gcc_no_link = xyes; then
18773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18775 { (exit 1); exit 1; }; }
18777 cat >conftest.$ac_ext <<_ACEOF
18778 /* confdefs.h. */
18779 _ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18784 /* Override any gcc2 internal prototype to avoid an error. */
18785 #ifdef __cplusplus
18786 extern "C"
18787 #endif
18788 /* We use char because int might match the return type of a gcc2
18789 builtin and then its argument prototype would still apply. */
18790 char getgid ();
18792 main ()
18794 getgid ();
18796 return 0;
18798 _ACEOF
18799 rm -f conftest.$ac_objext conftest$ac_exeext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>conftest.er1
18802 ac_status=$?
18803 grep -v '^ *+' conftest.er1 >conftest.err
18804 rm -f conftest.er1
18805 cat conftest.err >&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } &&
18808 { ac_try='test -z "$ac_c_werror_flag"
18809 || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try='test -s conftest$ac_exeext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_cv_lib_c_getgid=yes
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 ac_cv_lib_c_getgid=no
18828 rm -f conftest.err conftest.$ac_objext \
18829 conftest$ac_exeext conftest.$ac_ext
18830 LIBS=$ac_check_lib_save_LIBS
18832 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18833 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18834 if test $ac_cv_lib_c_getgid = yes; then
18836 cat >>confdefs.h <<\_ACEOF
18837 #define HAVE_GETGID 1
18838 _ACEOF
18842 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18843 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18844 if test "${ac_cv_lib_c_getpid+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 ac_check_lib_save_LIBS=$LIBS
18848 LIBS="-lc $LIBS"
18849 if test x$gcc_no_link = xyes; then
18850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18852 { (exit 1); exit 1; }; }
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18861 /* Override any gcc2 internal prototype to avoid an error. */
18862 #ifdef __cplusplus
18863 extern "C"
18864 #endif
18865 /* We use char because int might match the return type of a gcc2
18866 builtin and then its argument prototype would still apply. */
18867 char getpid ();
18869 main ()
18871 getpid ();
18873 return 0;
18875 _ACEOF
18876 rm -f conftest.$ac_objext conftest$ac_exeext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18878 (eval $ac_link) 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try='test -z "$ac_c_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18889 ac_status=$?
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try='test -s conftest$ac_exeext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_cv_lib_c_getpid=yes
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_lib_c_getpid=no
18905 rm -f conftest.err conftest.$ac_objext \
18906 conftest$ac_exeext conftest.$ac_ext
18907 LIBS=$ac_check_lib_save_LIBS
18909 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18910 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18911 if test $ac_cv_lib_c_getpid = yes; then
18913 cat >>confdefs.h <<\_ACEOF
18914 #define HAVE_GETPID 1
18915 _ACEOF
18919 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18920 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18921 if test "${ac_cv_lib_c_getppid+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else
18924 ac_check_lib_save_LIBS=$LIBS
18925 LIBS="-lc $LIBS"
18926 if test x$gcc_no_link = xyes; then
18927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18929 { (exit 1); exit 1; }; }
18931 cat >conftest.$ac_ext <<_ACEOF
18932 /* confdefs.h. */
18933 _ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18938 /* Override any gcc2 internal prototype to avoid an error. */
18939 #ifdef __cplusplus
18940 extern "C"
18941 #endif
18942 /* We use char because int might match the return type of a gcc2
18943 builtin and then its argument prototype would still apply. */
18944 char getppid ();
18946 main ()
18948 getppid ();
18950 return 0;
18952 _ACEOF
18953 rm -f conftest.$ac_objext conftest$ac_exeext
18954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18955 (eval $ac_link) 2>conftest.er1
18956 ac_status=$?
18957 grep -v '^ *+' conftest.er1 >conftest.err
18958 rm -f conftest.er1
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } &&
18962 { ac_try='test -z "$ac_c_werror_flag"
18963 || test ! -s conftest.err'
18964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965 (eval $ac_try) 2>&5
18966 ac_status=$?
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); }; } &&
18969 { ac_try='test -s conftest$ac_exeext'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18972 ac_status=$?
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; }; then
18975 ac_cv_lib_c_getppid=yes
18976 else
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.$ac_ext >&5
18980 ac_cv_lib_c_getppid=no
18982 rm -f conftest.err conftest.$ac_objext \
18983 conftest$ac_exeext conftest.$ac_ext
18984 LIBS=$ac_check_lib_save_LIBS
18986 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
18987 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
18988 if test $ac_cv_lib_c_getppid = yes; then
18990 cat >>confdefs.h <<\_ACEOF
18991 #define HAVE_GETPPID 1
18992 _ACEOF
18996 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
18997 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
18998 if test "${ac_cv_lib_c_getuid+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19000 else
19001 ac_check_lib_save_LIBS=$LIBS
19002 LIBS="-lc $LIBS"
19003 if test x$gcc_no_link = xyes; then
19004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19006 { (exit 1); exit 1; }; }
19008 cat >conftest.$ac_ext <<_ACEOF
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19015 /* Override any gcc2 internal prototype to avoid an error. */
19016 #ifdef __cplusplus
19017 extern "C"
19018 #endif
19019 /* We use char because int might match the return type of a gcc2
19020 builtin and then its argument prototype would still apply. */
19021 char getuid ();
19023 main ()
19025 getuid ();
19027 return 0;
19029 _ACEOF
19030 rm -f conftest.$ac_objext conftest$ac_exeext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19032 (eval $ac_link) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_c_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try='test -s conftest$ac_exeext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 ac_cv_lib_c_getuid=yes
19053 else
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19057 ac_cv_lib_c_getuid=no
19059 rm -f conftest.err conftest.$ac_objext \
19060 conftest$ac_exeext conftest.$ac_ext
19061 LIBS=$ac_check_lib_save_LIBS
19063 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19064 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19065 if test $ac_cv_lib_c_getuid = yes; then
19067 cat >>confdefs.h <<\_ACEOF
19068 #define HAVE_GETUID 1
19069 _ACEOF
19073 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19074 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19075 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19077 else
19078 ac_check_lib_save_LIBS=$LIBS
19079 LIBS="-lc $LIBS"
19080 if test x$gcc_no_link = xyes; then
19081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19083 { (exit 1); exit 1; }; }
19085 cat >conftest.$ac_ext <<_ACEOF
19086 /* confdefs.h. */
19087 _ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19092 /* Override any gcc2 internal prototype to avoid an error. */
19093 #ifdef __cplusplus
19094 extern "C"
19095 #endif
19096 /* We use char because int might match the return type of a gcc2
19097 builtin and then its argument prototype would still apply. */
19098 char geteuid ();
19100 main ()
19102 geteuid ();
19104 return 0;
19106 _ACEOF
19107 rm -f conftest.$ac_objext conftest$ac_exeext
19108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19109 (eval $ac_link) 2>conftest.er1
19110 ac_status=$?
19111 grep -v '^ *+' conftest.er1 >conftest.err
19112 rm -f conftest.er1
19113 cat conftest.err >&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -z "$ac_c_werror_flag"
19117 || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest$ac_exeext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_cv_lib_c_geteuid=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 ac_cv_lib_c_geteuid=no
19136 rm -f conftest.err conftest.$ac_objext \
19137 conftest$ac_exeext conftest.$ac_ext
19138 LIBS=$ac_check_lib_save_LIBS
19140 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19141 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19142 if test $ac_cv_lib_c_geteuid = yes; then
19144 cat >>confdefs.h <<\_ACEOF
19145 #define HAVE_GETEUID 1
19146 _ACEOF
19151 # Check for C99 (and other IEEE) math functions
19152 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19153 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19154 if test "${ac_cv_lib_m_acosf+set}" = set; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 else
19157 ac_check_lib_save_LIBS=$LIBS
19158 LIBS="-lm $LIBS"
19159 if test x$gcc_no_link = xyes; then
19160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19162 { (exit 1); exit 1; }; }
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19171 /* Override any gcc2 internal prototype to avoid an error. */
19172 #ifdef __cplusplus
19173 extern "C"
19174 #endif
19175 /* We use char because int might match the return type of a gcc2
19176 builtin and then its argument prototype would still apply. */
19177 char acosf ();
19179 main ()
19181 acosf ();
19183 return 0;
19185 _ACEOF
19186 rm -f conftest.$ac_objext conftest$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188 (eval $ac_link) 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_c_werror_flag"
19196 || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest$ac_exeext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_cv_lib_m_acosf=yes
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 ac_cv_lib_m_acosf=no
19215 rm -f conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19217 LIBS=$ac_check_lib_save_LIBS
19219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19220 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19221 if test $ac_cv_lib_m_acosf = yes; then
19223 cat >>confdefs.h <<\_ACEOF
19224 #define HAVE_ACOSF 1
19225 _ACEOF
19229 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19230 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19231 if test "${ac_cv_lib_m_acos+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 ac_check_lib_save_LIBS=$LIBS
19235 LIBS="-lm $LIBS"
19236 if test x$gcc_no_link = xyes; then
19237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19239 { (exit 1); exit 1; }; }
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h. */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19248 /* Override any gcc2 internal prototype to avoid an error. */
19249 #ifdef __cplusplus
19250 extern "C"
19251 #endif
19252 /* We use char because int might match the return type of a gcc2
19253 builtin and then its argument prototype would still apply. */
19254 char acos ();
19256 main ()
19258 acos ();
19260 return 0;
19262 _ACEOF
19263 rm -f conftest.$ac_objext conftest$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_c_werror_flag"
19273 || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try='test -s conftest$ac_exeext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19282 ac_status=$?
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_lib_m_acos=yes
19286 else
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 ac_cv_lib_m_acos=no
19292 rm -f conftest.err conftest.$ac_objext \
19293 conftest$ac_exeext conftest.$ac_ext
19294 LIBS=$ac_check_lib_save_LIBS
19296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19297 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19298 if test $ac_cv_lib_m_acos = yes; then
19300 cat >>confdefs.h <<\_ACEOF
19301 #define HAVE_ACOS 1
19302 _ACEOF
19306 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19307 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19308 if test "${ac_cv_lib_m_acosl+set}" = set; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 else
19311 ac_check_lib_save_LIBS=$LIBS
19312 LIBS="-lm $LIBS"
19313 if test x$gcc_no_link = xyes; then
19314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19316 { (exit 1); exit 1; }; }
19318 cat >conftest.$ac_ext <<_ACEOF
19319 /* confdefs.h. */
19320 _ACEOF
19321 cat confdefs.h >>conftest.$ac_ext
19322 cat >>conftest.$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19325 /* Override any gcc2 internal prototype to avoid an error. */
19326 #ifdef __cplusplus
19327 extern "C"
19328 #endif
19329 /* We use char because int might match the return type of a gcc2
19330 builtin and then its argument prototype would still apply. */
19331 char acosl ();
19333 main ()
19335 acosl ();
19337 return 0;
19339 _ACEOF
19340 rm -f conftest.$ac_objext conftest$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_lib_m_acosl=yes
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19367 ac_cv_lib_m_acosl=no
19369 rm -f conftest.err conftest.$ac_objext \
19370 conftest$ac_exeext conftest.$ac_ext
19371 LIBS=$ac_check_lib_save_LIBS
19373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19374 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19375 if test $ac_cv_lib_m_acosl = yes; then
19377 cat >>confdefs.h <<\_ACEOF
19378 #define HAVE_ACOSL 1
19379 _ACEOF
19383 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19384 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19385 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 else
19388 ac_check_lib_save_LIBS=$LIBS
19389 LIBS="-lm $LIBS"
19390 if test x$gcc_no_link = xyes; then
19391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19393 { (exit 1); exit 1; }; }
19395 cat >conftest.$ac_ext <<_ACEOF
19396 /* confdefs.h. */
19397 _ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19402 /* Override any gcc2 internal prototype to avoid an error. */
19403 #ifdef __cplusplus
19404 extern "C"
19405 #endif
19406 /* We use char because int might match the return type of a gcc2
19407 builtin and then its argument prototype would still apply. */
19408 char acoshf ();
19410 main ()
19412 acoshf ();
19414 return 0;
19416 _ACEOF
19417 rm -f conftest.$ac_objext conftest$ac_exeext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19419 (eval $ac_link) 2>conftest.er1
19420 ac_status=$?
19421 grep -v '^ *+' conftest.er1 >conftest.err
19422 rm -f conftest.er1
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -z "$ac_c_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try='test -s conftest$ac_exeext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 ac_cv_lib_m_acoshf=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 ac_cv_lib_m_acoshf=no
19446 rm -f conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19448 LIBS=$ac_check_lib_save_LIBS
19450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19451 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19452 if test $ac_cv_lib_m_acoshf = yes; then
19454 cat >>confdefs.h <<\_ACEOF
19455 #define HAVE_ACOSHF 1
19456 _ACEOF
19460 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19461 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19462 if test "${ac_cv_lib_m_acosh+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 ac_check_lib_save_LIBS=$LIBS
19466 LIBS="-lm $LIBS"
19467 if test x$gcc_no_link = xyes; then
19468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19470 { (exit 1); exit 1; }; }
19472 cat >conftest.$ac_ext <<_ACEOF
19473 /* confdefs.h. */
19474 _ACEOF
19475 cat confdefs.h >>conftest.$ac_ext
19476 cat >>conftest.$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19479 /* Override any gcc2 internal prototype to avoid an error. */
19480 #ifdef __cplusplus
19481 extern "C"
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 acosh ();
19487 main ()
19489 acosh ();
19491 return 0;
19493 _ACEOF
19494 rm -f conftest.$ac_objext conftest$ac_exeext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19496 (eval $ac_link) 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try='test -z "$ac_c_werror_flag"
19504 || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_cv_lib_m_acosh=yes
19517 else
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19521 ac_cv_lib_m_acosh=no
19523 rm -f conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 LIBS=$ac_check_lib_save_LIBS
19527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19528 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19529 if test $ac_cv_lib_m_acosh = yes; then
19531 cat >>confdefs.h <<\_ACEOF
19532 #define HAVE_ACOSH 1
19533 _ACEOF
19537 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19538 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19539 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19540 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 else
19542 ac_check_lib_save_LIBS=$LIBS
19543 LIBS="-lm $LIBS"
19544 if test x$gcc_no_link = xyes; then
19545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19547 { (exit 1); exit 1; }; }
19549 cat >conftest.$ac_ext <<_ACEOF
19550 /* confdefs.h. */
19551 _ACEOF
19552 cat confdefs.h >>conftest.$ac_ext
19553 cat >>conftest.$ac_ext <<_ACEOF
19554 /* end confdefs.h. */
19556 /* Override any gcc2 internal prototype to avoid an error. */
19557 #ifdef __cplusplus
19558 extern "C"
19559 #endif
19560 /* We use char because int might match the return type of a gcc2
19561 builtin and then its argument prototype would still apply. */
19562 char acoshl ();
19564 main ()
19566 acoshl ();
19568 return 0;
19570 _ACEOF
19571 rm -f conftest.$ac_objext conftest$ac_exeext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573 (eval $ac_link) 2>conftest.er1
19574 ac_status=$?
19575 grep -v '^ *+' conftest.er1 >conftest.err
19576 rm -f conftest.er1
19577 cat conftest.err >&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -z "$ac_c_werror_flag"
19581 || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest$ac_exeext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19590 ac_status=$?
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_cv_lib_m_acoshl=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 ac_cv_lib_m_acoshl=no
19600 rm -f conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19602 LIBS=$ac_check_lib_save_LIBS
19604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19605 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19606 if test $ac_cv_lib_m_acoshl = yes; then
19608 cat >>confdefs.h <<\_ACEOF
19609 #define HAVE_ACOSHL 1
19610 _ACEOF
19614 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19615 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19616 if test "${ac_cv_lib_m_asinf+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 else
19619 ac_check_lib_save_LIBS=$LIBS
19620 LIBS="-lm $LIBS"
19621 if test x$gcc_no_link = xyes; then
19622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19624 { (exit 1); exit 1; }; }
19626 cat >conftest.$ac_ext <<_ACEOF
19627 /* confdefs.h. */
19628 _ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19633 /* Override any gcc2 internal prototype to avoid an error. */
19634 #ifdef __cplusplus
19635 extern "C"
19636 #endif
19637 /* We use char because int might match the return type of a gcc2
19638 builtin and then its argument prototype would still apply. */
19639 char asinf ();
19641 main ()
19643 asinf ();
19645 return 0;
19647 _ACEOF
19648 rm -f conftest.$ac_objext conftest$ac_exeext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19650 (eval $ac_link) 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_c_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19661 ac_status=$?
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try='test -s conftest$ac_exeext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 ac_cv_lib_m_asinf=yes
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_lib_m_asinf=no
19677 rm -f conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext conftest.$ac_ext
19679 LIBS=$ac_check_lib_save_LIBS
19681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19682 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19683 if test $ac_cv_lib_m_asinf = yes; then
19685 cat >>confdefs.h <<\_ACEOF
19686 #define HAVE_ASINF 1
19687 _ACEOF
19691 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19692 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19693 if test "${ac_cv_lib_m_asin+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696 ac_check_lib_save_LIBS=$LIBS
19697 LIBS="-lm $LIBS"
19698 if test x$gcc_no_link = xyes; then
19699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19701 { (exit 1); exit 1; }; }
19703 cat >conftest.$ac_ext <<_ACEOF
19704 /* confdefs.h. */
19705 _ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19710 /* Override any gcc2 internal prototype to avoid an error. */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 /* We use char because int might match the return type of a gcc2
19715 builtin and then its argument prototype would still apply. */
19716 char asin ();
19718 main ()
19720 asin ();
19722 return 0;
19724 _ACEOF
19725 rm -f conftest.$ac_objext conftest$ac_exeext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19727 (eval $ac_link) 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -z "$ac_c_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19738 ac_status=$?
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try='test -s conftest$ac_exeext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19747 ac_cv_lib_m_asin=yes
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_cv_lib_m_asin=no
19754 rm -f conftest.err conftest.$ac_objext \
19755 conftest$ac_exeext conftest.$ac_ext
19756 LIBS=$ac_check_lib_save_LIBS
19758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19759 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19760 if test $ac_cv_lib_m_asin = yes; then
19762 cat >>confdefs.h <<\_ACEOF
19763 #define HAVE_ASIN 1
19764 _ACEOF
19768 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19769 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19770 if test "${ac_cv_lib_m_asinl+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 else
19773 ac_check_lib_save_LIBS=$LIBS
19774 LIBS="-lm $LIBS"
19775 if test x$gcc_no_link = xyes; then
19776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19778 { (exit 1); exit 1; }; }
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19787 /* Override any gcc2 internal prototype to avoid an error. */
19788 #ifdef __cplusplus
19789 extern "C"
19790 #endif
19791 /* We use char because int might match the return type of a gcc2
19792 builtin and then its argument prototype would still apply. */
19793 char asinl ();
19795 main ()
19797 asinl ();
19799 return 0;
19801 _ACEOF
19802 rm -f conftest.$ac_objext conftest$ac_exeext
19803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19804 (eval $ac_link) 2>conftest.er1
19805 ac_status=$?
19806 grep -v '^ *+' conftest.er1 >conftest.err
19807 rm -f conftest.er1
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } &&
19811 { ac_try='test -z "$ac_c_werror_flag"
19812 || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19815 ac_status=$?
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try='test -s conftest$ac_exeext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_lib_m_asinl=yes
19825 else
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19829 ac_cv_lib_m_asinl=no
19831 rm -f conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19833 LIBS=$ac_check_lib_save_LIBS
19835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19836 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19837 if test $ac_cv_lib_m_asinl = yes; then
19839 cat >>confdefs.h <<\_ACEOF
19840 #define HAVE_ASINL 1
19841 _ACEOF
19845 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19846 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19847 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 ac_check_lib_save_LIBS=$LIBS
19851 LIBS="-lm $LIBS"
19852 if test x$gcc_no_link = xyes; then
19853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19855 { (exit 1); exit 1; }; }
19857 cat >conftest.$ac_ext <<_ACEOF
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19864 /* Override any gcc2 internal prototype to avoid an error. */
19865 #ifdef __cplusplus
19866 extern "C"
19867 #endif
19868 /* We use char because int might match the return type of a gcc2
19869 builtin and then its argument prototype would still apply. */
19870 char asinhf ();
19872 main ()
19874 asinhf ();
19876 return 0;
19878 _ACEOF
19879 rm -f conftest.$ac_objext conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } &&
19888 { ac_try='test -z "$ac_c_werror_flag"
19889 || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try='test -s conftest$ac_exeext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19898 ac_status=$?
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_cv_lib_m_asinhf=yes
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_lib_m_asinhf=no
19908 rm -f conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext conftest.$ac_ext
19910 LIBS=$ac_check_lib_save_LIBS
19912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19913 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19914 if test $ac_cv_lib_m_asinhf = yes; then
19916 cat >>confdefs.h <<\_ACEOF
19917 #define HAVE_ASINHF 1
19918 _ACEOF
19922 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19923 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19924 if test "${ac_cv_lib_m_asinh+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 else
19927 ac_check_lib_save_LIBS=$LIBS
19928 LIBS="-lm $LIBS"
19929 if test x$gcc_no_link = xyes; then
19930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19932 { (exit 1); exit 1; }; }
19934 cat >conftest.$ac_ext <<_ACEOF
19935 /* confdefs.h. */
19936 _ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19941 /* Override any gcc2 internal prototype to avoid an error. */
19942 #ifdef __cplusplus
19943 extern "C"
19944 #endif
19945 /* We use char because int might match the return type of a gcc2
19946 builtin and then its argument prototype would still apply. */
19947 char asinh ();
19949 main ()
19951 asinh ();
19953 return 0;
19955 _ACEOF
19956 rm -f conftest.$ac_objext conftest$ac_exeext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19958 (eval $ac_link) 2>conftest.er1
19959 ac_status=$?
19960 grep -v '^ *+' conftest.er1 >conftest.err
19961 rm -f conftest.er1
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -z "$ac_c_werror_flag"
19966 || test ! -s conftest.err'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19969 ac_status=$?
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; } &&
19972 { ac_try='test -s conftest$ac_exeext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_lib_m_asinh=yes
19979 else
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19983 ac_cv_lib_m_asinh=no
19985 rm -f conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19987 LIBS=$ac_check_lib_save_LIBS
19989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
19990 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
19991 if test $ac_cv_lib_m_asinh = yes; then
19993 cat >>confdefs.h <<\_ACEOF
19994 #define HAVE_ASINH 1
19995 _ACEOF
19999 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20000 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20001 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004 ac_check_lib_save_LIBS=$LIBS
20005 LIBS="-lm $LIBS"
20006 if test x$gcc_no_link = xyes; then
20007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20009 { (exit 1); exit 1; }; }
20011 cat >conftest.$ac_ext <<_ACEOF
20012 /* confdefs.h. */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20018 /* Override any gcc2 internal prototype to avoid an error. */
20019 #ifdef __cplusplus
20020 extern "C"
20021 #endif
20022 /* We use char because int might match the return type of a gcc2
20023 builtin and then its argument prototype would still apply. */
20024 char asinhl ();
20026 main ()
20028 asinhl ();
20030 return 0;
20032 _ACEOF
20033 rm -f conftest.$ac_objext conftest$ac_exeext
20034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20035 (eval $ac_link) 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } &&
20042 { ac_try='test -z "$ac_c_werror_flag"
20043 || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20046 ac_status=$?
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try='test -s conftest$ac_exeext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20052 ac_status=$?
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20055 ac_cv_lib_m_asinhl=yes
20056 else
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20060 ac_cv_lib_m_asinhl=no
20062 rm -f conftest.err conftest.$ac_objext \
20063 conftest$ac_exeext conftest.$ac_ext
20064 LIBS=$ac_check_lib_save_LIBS
20066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20067 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20068 if test $ac_cv_lib_m_asinhl = yes; then
20070 cat >>confdefs.h <<\_ACEOF
20071 #define HAVE_ASINHL 1
20072 _ACEOF
20076 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20077 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20078 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 else
20081 ac_check_lib_save_LIBS=$LIBS
20082 LIBS="-lm $LIBS"
20083 if test x$gcc_no_link = xyes; then
20084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20086 { (exit 1); exit 1; }; }
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20095 /* Override any gcc2 internal prototype to avoid an error. */
20096 #ifdef __cplusplus
20097 extern "C"
20098 #endif
20099 /* We use char because int might match the return type of a gcc2
20100 builtin and then its argument prototype would still apply. */
20101 char atan2f ();
20103 main ()
20105 atan2f ();
20107 return 0;
20109 _ACEOF
20110 rm -f conftest.$ac_objext conftest$ac_exeext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112 (eval $ac_link) 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -z "$ac_c_werror_flag"
20120 || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try='test -s conftest$ac_exeext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 ac_cv_lib_m_atan2f=yes
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 ac_cv_lib_m_atan2f=no
20139 rm -f conftest.err conftest.$ac_objext \
20140 conftest$ac_exeext conftest.$ac_ext
20141 LIBS=$ac_check_lib_save_LIBS
20143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20144 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20145 if test $ac_cv_lib_m_atan2f = yes; then
20147 cat >>confdefs.h <<\_ACEOF
20148 #define HAVE_ATAN2F 1
20149 _ACEOF
20153 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20154 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20155 if test "${ac_cv_lib_m_atan2+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20157 else
20158 ac_check_lib_save_LIBS=$LIBS
20159 LIBS="-lm $LIBS"
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20172 /* Override any gcc2 internal prototype to avoid an error. */
20173 #ifdef __cplusplus
20174 extern "C"
20175 #endif
20176 /* We use char because int might match the return type of a gcc2
20177 builtin and then its argument prototype would still apply. */
20178 char atan2 ();
20180 main ()
20182 atan2 ();
20184 return 0;
20186 _ACEOF
20187 rm -f conftest.$ac_objext conftest$ac_exeext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20189 (eval $ac_link) 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_c_werror_flag"
20197 || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20200 ac_status=$?
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try='test -s conftest$ac_exeext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20206 ac_status=$?
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20209 ac_cv_lib_m_atan2=yes
20210 else
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20214 ac_cv_lib_m_atan2=no
20216 rm -f conftest.err conftest.$ac_objext \
20217 conftest$ac_exeext conftest.$ac_ext
20218 LIBS=$ac_check_lib_save_LIBS
20220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20221 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20222 if test $ac_cv_lib_m_atan2 = yes; then
20224 cat >>confdefs.h <<\_ACEOF
20225 #define HAVE_ATAN2 1
20226 _ACEOF
20230 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20231 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20232 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20233 echo $ECHO_N "(cached) $ECHO_C" >&6
20234 else
20235 ac_check_lib_save_LIBS=$LIBS
20236 LIBS="-lm $LIBS"
20237 if test x$gcc_no_link = xyes; then
20238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20240 { (exit 1); exit 1; }; }
20242 cat >conftest.$ac_ext <<_ACEOF
20243 /* confdefs.h. */
20244 _ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20249 /* Override any gcc2 internal prototype to avoid an error. */
20250 #ifdef __cplusplus
20251 extern "C"
20252 #endif
20253 /* We use char because int might match the return type of a gcc2
20254 builtin and then its argument prototype would still apply. */
20255 char atan2l ();
20257 main ()
20259 atan2l ();
20261 return 0;
20263 _ACEOF
20264 rm -f conftest.$ac_objext conftest$ac_exeext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20266 (eval $ac_link) 2>conftest.er1
20267 ac_status=$?
20268 grep -v '^ *+' conftest.er1 >conftest.err
20269 rm -f conftest.er1
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try='test -z "$ac_c_werror_flag"
20274 || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try='test -s conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_lib_m_atan2l=yes
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20291 ac_cv_lib_m_atan2l=no
20293 rm -f conftest.err conftest.$ac_objext \
20294 conftest$ac_exeext conftest.$ac_ext
20295 LIBS=$ac_check_lib_save_LIBS
20297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20298 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20299 if test $ac_cv_lib_m_atan2l = yes; then
20301 cat >>confdefs.h <<\_ACEOF
20302 #define HAVE_ATAN2L 1
20303 _ACEOF
20307 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20308 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20309 if test "${ac_cv_lib_m_atanf+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 else
20312 ac_check_lib_save_LIBS=$LIBS
20313 LIBS="-lm $LIBS"
20314 if test x$gcc_no_link = xyes; then
20315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20317 { (exit 1); exit 1; }; }
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20326 /* Override any gcc2 internal prototype to avoid an error. */
20327 #ifdef __cplusplus
20328 extern "C"
20329 #endif
20330 /* We use char because int might match the return type of a gcc2
20331 builtin and then its argument prototype would still apply. */
20332 char atanf ();
20334 main ()
20336 atanf ();
20338 return 0;
20340 _ACEOF
20341 rm -f conftest.$ac_objext conftest$ac_exeext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20343 (eval $ac_link) 2>conftest.er1
20344 ac_status=$?
20345 grep -v '^ *+' conftest.er1 >conftest.err
20346 rm -f conftest.er1
20347 cat conftest.err >&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } &&
20350 { ac_try='test -z "$ac_c_werror_flag"
20351 || test ! -s conftest.err'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; } &&
20357 { ac_try='test -s conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20360 ac_status=$?
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_lib_m_atanf=yes
20364 else
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20368 ac_cv_lib_m_atanf=no
20370 rm -f conftest.err conftest.$ac_objext \
20371 conftest$ac_exeext conftest.$ac_ext
20372 LIBS=$ac_check_lib_save_LIBS
20374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20375 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20376 if test $ac_cv_lib_m_atanf = yes; then
20378 cat >>confdefs.h <<\_ACEOF
20379 #define HAVE_ATANF 1
20380 _ACEOF
20384 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20385 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20386 if test "${ac_cv_lib_m_atan+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 else
20389 ac_check_lib_save_LIBS=$LIBS
20390 LIBS="-lm $LIBS"
20391 if test x$gcc_no_link = xyes; then
20392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20394 { (exit 1); exit 1; }; }
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20403 /* Override any gcc2 internal prototype to avoid an error. */
20404 #ifdef __cplusplus
20405 extern "C"
20406 #endif
20407 /* We use char because int might match the return type of a gcc2
20408 builtin and then its argument prototype would still apply. */
20409 char atan ();
20411 main ()
20413 atan ();
20415 return 0;
20417 _ACEOF
20418 rm -f conftest.$ac_objext conftest$ac_exeext
20419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20420 (eval $ac_link) 2>conftest.er1
20421 ac_status=$?
20422 grep -v '^ *+' conftest.er1 >conftest.err
20423 rm -f conftest.er1
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } &&
20427 { ac_try='test -z "$ac_c_werror_flag"
20428 || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try='test -s conftest$ac_exeext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_cv_lib_m_atan=yes
20441 else
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20445 ac_cv_lib_m_atan=no
20447 rm -f conftest.err conftest.$ac_objext \
20448 conftest$ac_exeext conftest.$ac_ext
20449 LIBS=$ac_check_lib_save_LIBS
20451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20452 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20453 if test $ac_cv_lib_m_atan = yes; then
20455 cat >>confdefs.h <<\_ACEOF
20456 #define HAVE_ATAN 1
20457 _ACEOF
20461 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20462 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20463 if test "${ac_cv_lib_m_atanl+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 else
20466 ac_check_lib_save_LIBS=$LIBS
20467 LIBS="-lm $LIBS"
20468 if test x$gcc_no_link = xyes; then
20469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20471 { (exit 1); exit 1; }; }
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20480 /* Override any gcc2 internal prototype to avoid an error. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 /* We use char because int might match the return type of a gcc2
20485 builtin and then its argument prototype would still apply. */
20486 char atanl ();
20488 main ()
20490 atanl ();
20492 return 0;
20494 _ACEOF
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20497 (eval $ac_link) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_c_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_lib_m_atanl=yes
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 ac_cv_lib_m_atanl=no
20524 rm -f conftest.err conftest.$ac_objext \
20525 conftest$ac_exeext conftest.$ac_ext
20526 LIBS=$ac_check_lib_save_LIBS
20528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20529 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20530 if test $ac_cv_lib_m_atanl = yes; then
20532 cat >>confdefs.h <<\_ACEOF
20533 #define HAVE_ATANL 1
20534 _ACEOF
20538 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20539 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20540 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20541 echo $ECHO_N "(cached) $ECHO_C" >&6
20542 else
20543 ac_check_lib_save_LIBS=$LIBS
20544 LIBS="-lm $LIBS"
20545 if test x$gcc_no_link = xyes; then
20546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20548 { (exit 1); exit 1; }; }
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20557 /* Override any gcc2 internal prototype to avoid an error. */
20558 #ifdef __cplusplus
20559 extern "C"
20560 #endif
20561 /* We use char because int might match the return type of a gcc2
20562 builtin and then its argument prototype would still apply. */
20563 char atanhf ();
20565 main ()
20567 atanhf ();
20569 return 0;
20571 _ACEOF
20572 rm -f conftest.$ac_objext conftest$ac_exeext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20574 (eval $ac_link) 2>conftest.er1
20575 ac_status=$?
20576 grep -v '^ *+' conftest.er1 >conftest.err
20577 rm -f conftest.er1
20578 cat conftest.err >&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20585 ac_status=$?
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try='test -s conftest$ac_exeext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_lib_m_atanhf=yes
20595 else
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20599 ac_cv_lib_m_atanhf=no
20601 rm -f conftest.err conftest.$ac_objext \
20602 conftest$ac_exeext conftest.$ac_ext
20603 LIBS=$ac_check_lib_save_LIBS
20605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20606 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20607 if test $ac_cv_lib_m_atanhf = yes; then
20609 cat >>confdefs.h <<\_ACEOF
20610 #define HAVE_ATANHF 1
20611 _ACEOF
20615 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20616 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20617 if test "${ac_cv_lib_m_atanh+set}" = set; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20619 else
20620 ac_check_lib_save_LIBS=$LIBS
20621 LIBS="-lm $LIBS"
20622 if test x$gcc_no_link = xyes; then
20623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20625 { (exit 1); exit 1; }; }
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20634 /* Override any gcc2 internal prototype to avoid an error. */
20635 #ifdef __cplusplus
20636 extern "C"
20637 #endif
20638 /* We use char because int might match the return type of a gcc2
20639 builtin and then its argument prototype would still apply. */
20640 char atanh ();
20642 main ()
20644 atanh ();
20646 return 0;
20648 _ACEOF
20649 rm -f conftest.$ac_objext conftest$ac_exeext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>conftest.er1
20652 ac_status=$?
20653 grep -v '^ *+' conftest.er1 >conftest.err
20654 rm -f conftest.er1
20655 cat conftest.err >&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } &&
20658 { ac_try='test -z "$ac_c_werror_flag"
20659 || test ! -s conftest.err'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20662 ac_status=$?
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest$ac_exeext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20668 ac_status=$?
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_lib_m_atanh=yes
20672 else
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20676 ac_cv_lib_m_atanh=no
20678 rm -f conftest.err conftest.$ac_objext \
20679 conftest$ac_exeext conftest.$ac_ext
20680 LIBS=$ac_check_lib_save_LIBS
20682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20683 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20684 if test $ac_cv_lib_m_atanh = yes; then
20686 cat >>confdefs.h <<\_ACEOF
20687 #define HAVE_ATANH 1
20688 _ACEOF
20692 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20693 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20694 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 else
20697 ac_check_lib_save_LIBS=$LIBS
20698 LIBS="-lm $LIBS"
20699 if test x$gcc_no_link = xyes; then
20700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20702 { (exit 1); exit 1; }; }
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* Override any gcc2 internal prototype to avoid an error. */
20712 #ifdef __cplusplus
20713 extern "C"
20714 #endif
20715 /* We use char because int might match the return type of a gcc2
20716 builtin and then its argument prototype would still apply. */
20717 char atanhl ();
20719 main ()
20721 atanhl ();
20723 return 0;
20725 _ACEOF
20726 rm -f conftest.$ac_objext conftest$ac_exeext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20728 (eval $ac_link) 2>conftest.er1
20729 ac_status=$?
20730 grep -v '^ *+' conftest.er1 >conftest.err
20731 rm -f conftest.er1
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try='test -z "$ac_c_werror_flag"
20736 || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20739 ac_status=$?
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try='test -s conftest$ac_exeext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_cv_lib_m_atanhl=yes
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20753 ac_cv_lib_m_atanhl=no
20755 rm -f conftest.err conftest.$ac_objext \
20756 conftest$ac_exeext conftest.$ac_ext
20757 LIBS=$ac_check_lib_save_LIBS
20759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20760 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20761 if test $ac_cv_lib_m_atanhl = yes; then
20763 cat >>confdefs.h <<\_ACEOF
20764 #define HAVE_ATANHL 1
20765 _ACEOF
20769 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20770 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20771 if test "${ac_cv_lib_m_cargf+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 else
20774 ac_check_lib_save_LIBS=$LIBS
20775 LIBS="-lm $LIBS"
20776 if test x$gcc_no_link = xyes; then
20777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20779 { (exit 1); exit 1; }; }
20781 cat >conftest.$ac_ext <<_ACEOF
20782 /* confdefs.h. */
20783 _ACEOF
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20788 /* Override any gcc2 internal prototype to avoid an error. */
20789 #ifdef __cplusplus
20790 extern "C"
20791 #endif
20792 /* We use char because int might match the return type of a gcc2
20793 builtin and then its argument prototype would still apply. */
20794 char cargf ();
20796 main ()
20798 cargf ();
20800 return 0;
20802 _ACEOF
20803 rm -f conftest.$ac_objext conftest$ac_exeext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag"
20813 || test ! -s conftest.err'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20816 ac_status=$?
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; } &&
20819 { ac_try='test -s conftest$ac_exeext'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 ac_cv_lib_m_cargf=yes
20826 else
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20830 ac_cv_lib_m_cargf=no
20832 rm -f conftest.err conftest.$ac_objext \
20833 conftest$ac_exeext conftest.$ac_ext
20834 LIBS=$ac_check_lib_save_LIBS
20836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20837 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20838 if test $ac_cv_lib_m_cargf = yes; then
20840 cat >>confdefs.h <<\_ACEOF
20841 #define HAVE_CARGF 1
20842 _ACEOF
20846 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20847 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20848 if test "${ac_cv_lib_m_carg+set}" = set; then
20849 echo $ECHO_N "(cached) $ECHO_C" >&6
20850 else
20851 ac_check_lib_save_LIBS=$LIBS
20852 LIBS="-lm $LIBS"
20853 if test x$gcc_no_link = xyes; then
20854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20856 { (exit 1); exit 1; }; }
20858 cat >conftest.$ac_ext <<_ACEOF
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20865 /* Override any gcc2 internal prototype to avoid an error. */
20866 #ifdef __cplusplus
20867 extern "C"
20868 #endif
20869 /* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20871 char carg ();
20873 main ()
20875 carg ();
20877 return 0;
20879 _ACEOF
20880 rm -f conftest.$ac_objext conftest$ac_exeext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } &&
20889 { ac_try='test -z "$ac_c_werror_flag"
20890 || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try='test -s conftest$ac_exeext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20899 ac_status=$?
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_cv_lib_m_carg=yes
20903 else
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 ac_cv_lib_m_carg=no
20909 rm -f conftest.err conftest.$ac_objext \
20910 conftest$ac_exeext conftest.$ac_ext
20911 LIBS=$ac_check_lib_save_LIBS
20913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20914 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20915 if test $ac_cv_lib_m_carg = yes; then
20917 cat >>confdefs.h <<\_ACEOF
20918 #define HAVE_CARG 1
20919 _ACEOF
20923 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20924 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20925 if test "${ac_cv_lib_m_cargl+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 else
20928 ac_check_lib_save_LIBS=$LIBS
20929 LIBS="-lm $LIBS"
20930 if test x$gcc_no_link = xyes; then
20931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20933 { (exit 1); exit 1; }; }
20935 cat >conftest.$ac_ext <<_ACEOF
20936 /* confdefs.h. */
20937 _ACEOF
20938 cat confdefs.h >>conftest.$ac_ext
20939 cat >>conftest.$ac_ext <<_ACEOF
20940 /* end confdefs.h. */
20942 /* Override any gcc2 internal prototype to avoid an error. */
20943 #ifdef __cplusplus
20944 extern "C"
20945 #endif
20946 /* We use char because int might match the return type of a gcc2
20947 builtin and then its argument prototype would still apply. */
20948 char cargl ();
20950 main ()
20952 cargl ();
20954 return 0;
20956 _ACEOF
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959 (eval $ac_link) 2>conftest.er1
20960 ac_status=$?
20961 grep -v '^ *+' conftest.er1 >conftest.err
20962 rm -f conftest.er1
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } &&
20966 { ac_try='test -z "$ac_c_werror_flag"
20967 || test ! -s conftest.err'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20970 ac_status=$?
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; } &&
20973 { ac_try='test -s conftest$ac_exeext'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20976 ac_status=$?
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 ac_cv_lib_m_cargl=yes
20980 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 ac_cv_lib_m_cargl=no
20986 rm -f conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988 LIBS=$ac_check_lib_save_LIBS
20990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
20991 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
20992 if test $ac_cv_lib_m_cargl = yes; then
20994 cat >>confdefs.h <<\_ACEOF
20995 #define HAVE_CARGL 1
20996 _ACEOF
21000 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21001 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21002 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21005 ac_check_lib_save_LIBS=$LIBS
21006 LIBS="-lm $LIBS"
21007 if test x$gcc_no_link = xyes; then
21008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21010 { (exit 1); exit 1; }; }
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21019 /* Override any gcc2 internal prototype to avoid an error. */
21020 #ifdef __cplusplus
21021 extern "C"
21022 #endif
21023 /* We use char because int might match the return type of a gcc2
21024 builtin and then its argument prototype would still apply. */
21025 char ceilf ();
21027 main ()
21029 ceilf ();
21031 return 0;
21033 _ACEOF
21034 rm -f conftest.$ac_objext conftest$ac_exeext
21035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21036 (eval $ac_link) 2>conftest.er1
21037 ac_status=$?
21038 grep -v '^ *+' conftest.er1 >conftest.err
21039 rm -f conftest.er1
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -z "$ac_c_werror_flag"
21044 || test ! -s conftest.err'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; } &&
21050 { ac_try='test -s conftest$ac_exeext'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; }; then
21056 ac_cv_lib_m_ceilf=yes
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21061 ac_cv_lib_m_ceilf=no
21063 rm -f conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext conftest.$ac_ext
21065 LIBS=$ac_check_lib_save_LIBS
21067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21068 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21069 if test $ac_cv_lib_m_ceilf = yes; then
21071 cat >>confdefs.h <<\_ACEOF
21072 #define HAVE_CEILF 1
21073 _ACEOF
21077 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21078 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21079 if test "${ac_cv_lib_m_ceil+set}" = set; then
21080 echo $ECHO_N "(cached) $ECHO_C" >&6
21081 else
21082 ac_check_lib_save_LIBS=$LIBS
21083 LIBS="-lm $LIBS"
21084 if test x$gcc_no_link = xyes; then
21085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21087 { (exit 1); exit 1; }; }
21089 cat >conftest.$ac_ext <<_ACEOF
21090 /* confdefs.h. */
21091 _ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21096 /* Override any gcc2 internal prototype to avoid an error. */
21097 #ifdef __cplusplus
21098 extern "C"
21099 #endif
21100 /* We use char because int might match the return type of a gcc2
21101 builtin and then its argument prototype would still apply. */
21102 char ceil ();
21104 main ()
21106 ceil ();
21108 return 0;
21110 _ACEOF
21111 rm -f conftest.$ac_objext conftest$ac_exeext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21113 (eval $ac_link) 2>conftest.er1
21114 ac_status=$?
21115 grep -v '^ *+' conftest.er1 >conftest.err
21116 rm -f conftest.er1
21117 cat conftest.err >&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -z "$ac_c_werror_flag"
21121 || test ! -s conftest.err'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21124 ac_status=$?
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; } &&
21127 { ac_try='test -s conftest$ac_exeext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_lib_m_ceil=yes
21134 else
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21138 ac_cv_lib_m_ceil=no
21140 rm -f conftest.err conftest.$ac_objext \
21141 conftest$ac_exeext conftest.$ac_ext
21142 LIBS=$ac_check_lib_save_LIBS
21144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21145 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21146 if test $ac_cv_lib_m_ceil = yes; then
21148 cat >>confdefs.h <<\_ACEOF
21149 #define HAVE_CEIL 1
21150 _ACEOF
21154 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21155 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21156 if test "${ac_cv_lib_m_ceill+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159 ac_check_lib_save_LIBS=$LIBS
21160 LIBS="-lm $LIBS"
21161 if test x$gcc_no_link = xyes; then
21162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21164 { (exit 1); exit 1; }; }
21166 cat >conftest.$ac_ext <<_ACEOF
21167 /* confdefs.h. */
21168 _ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21173 /* Override any gcc2 internal prototype to avoid an error. */
21174 #ifdef __cplusplus
21175 extern "C"
21176 #endif
21177 /* We use char because int might match the return type of a gcc2
21178 builtin and then its argument prototype would still apply. */
21179 char ceill ();
21181 main ()
21183 ceill ();
21185 return 0;
21187 _ACEOF
21188 rm -f conftest.$ac_objext conftest$ac_exeext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21190 (eval $ac_link) 2>conftest.er1
21191 ac_status=$?
21192 grep -v '^ *+' conftest.er1 >conftest.err
21193 rm -f conftest.er1
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try='test -z "$ac_c_werror_flag"
21198 || test ! -s conftest.err'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; } &&
21204 { ac_try='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 ac_cv_lib_m_ceill=yes
21211 else
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21215 ac_cv_lib_m_ceill=no
21217 rm -f conftest.err conftest.$ac_objext \
21218 conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21222 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21223 if test $ac_cv_lib_m_ceill = yes; then
21225 cat >>confdefs.h <<\_ACEOF
21226 #define HAVE_CEILL 1
21227 _ACEOF
21231 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21232 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21233 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 else
21236 ac_check_lib_save_LIBS=$LIBS
21237 LIBS="-lm $LIBS"
21238 if test x$gcc_no_link = xyes; then
21239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21241 { (exit 1); exit 1; }; }
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 /* Override any gcc2 internal prototype to avoid an error. */
21251 #ifdef __cplusplus
21252 extern "C"
21253 #endif
21254 /* We use char because int might match the return type of a gcc2
21255 builtin and then its argument prototype would still apply. */
21256 char copysignf ();
21258 main ()
21260 copysignf ();
21262 return 0;
21264 _ACEOF
21265 rm -f conftest.$ac_objext conftest$ac_exeext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21267 (eval $ac_link) 2>conftest.er1
21268 ac_status=$?
21269 grep -v '^ *+' conftest.er1 >conftest.err
21270 rm -f conftest.er1
21271 cat conftest.err >&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try='test -z "$ac_c_werror_flag"
21275 || test ! -s conftest.err'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21278 ac_status=$?
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest$ac_exeext'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 ac_cv_lib_m_copysignf=yes
21288 else
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21292 ac_cv_lib_m_copysignf=no
21294 rm -f conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS
21298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21299 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21300 if test $ac_cv_lib_m_copysignf = yes; then
21302 cat >>confdefs.h <<\_ACEOF
21303 #define HAVE_COPYSIGNF 1
21304 _ACEOF
21308 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21309 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21310 if test "${ac_cv_lib_m_copysign+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21312 else
21313 ac_check_lib_save_LIBS=$LIBS
21314 LIBS="-lm $LIBS"
21315 if test x$gcc_no_link = xyes; then
21316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21318 { (exit 1); exit 1; }; }
21320 cat >conftest.$ac_ext <<_ACEOF
21321 /* confdefs.h. */
21322 _ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21327 /* Override any gcc2 internal prototype to avoid an error. */
21328 #ifdef __cplusplus
21329 extern "C"
21330 #endif
21331 /* We use char because int might match the return type of a gcc2
21332 builtin and then its argument prototype would still apply. */
21333 char copysign ();
21335 main ()
21337 copysign ();
21339 return 0;
21341 _ACEOF
21342 rm -f conftest.$ac_objext conftest$ac_exeext
21343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21344 (eval $ac_link) 2>conftest.er1
21345 ac_status=$?
21346 grep -v '^ *+' conftest.er1 >conftest.err
21347 rm -f conftest.er1
21348 cat conftest.err >&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } &&
21351 { ac_try='test -z "$ac_c_werror_flag"
21352 || test ! -s conftest.err'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21355 ac_status=$?
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; } &&
21358 { ac_try='test -s conftest$ac_exeext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_cv_lib_m_copysign=yes
21365 else
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21369 ac_cv_lib_m_copysign=no
21371 rm -f conftest.err conftest.$ac_objext \
21372 conftest$ac_exeext conftest.$ac_ext
21373 LIBS=$ac_check_lib_save_LIBS
21375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21376 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21377 if test $ac_cv_lib_m_copysign = yes; then
21379 cat >>confdefs.h <<\_ACEOF
21380 #define HAVE_COPYSIGN 1
21381 _ACEOF
21385 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21386 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21387 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21388 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 else
21390 ac_check_lib_save_LIBS=$LIBS
21391 LIBS="-lm $LIBS"
21392 if test x$gcc_no_link = xyes; then
21393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21395 { (exit 1); exit 1; }; }
21397 cat >conftest.$ac_ext <<_ACEOF
21398 /* confdefs.h. */
21399 _ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21404 /* Override any gcc2 internal prototype to avoid an error. */
21405 #ifdef __cplusplus
21406 extern "C"
21407 #endif
21408 /* We use char because int might match the return type of a gcc2
21409 builtin and then its argument prototype would still apply. */
21410 char copysignl ();
21412 main ()
21414 copysignl ();
21416 return 0;
21418 _ACEOF
21419 rm -f conftest.$ac_objext conftest$ac_exeext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21421 (eval $ac_link) 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -z "$ac_c_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest$ac_exeext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_cv_lib_m_copysignl=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21446 ac_cv_lib_m_copysignl=no
21448 rm -f conftest.err conftest.$ac_objext \
21449 conftest$ac_exeext conftest.$ac_ext
21450 LIBS=$ac_check_lib_save_LIBS
21452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21453 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21454 if test $ac_cv_lib_m_copysignl = yes; then
21456 cat >>confdefs.h <<\_ACEOF
21457 #define HAVE_COPYSIGNL 1
21458 _ACEOF
21462 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21463 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21464 if test "${ac_cv_lib_m_cosf+set}" = set; then
21465 echo $ECHO_N "(cached) $ECHO_C" >&6
21466 else
21467 ac_check_lib_save_LIBS=$LIBS
21468 LIBS="-lm $LIBS"
21469 if test x$gcc_no_link = xyes; then
21470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21472 { (exit 1); exit 1; }; }
21474 cat >conftest.$ac_ext <<_ACEOF
21475 /* confdefs.h. */
21476 _ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21481 /* Override any gcc2 internal prototype to avoid an error. */
21482 #ifdef __cplusplus
21483 extern "C"
21484 #endif
21485 /* We use char because int might match the return type of a gcc2
21486 builtin and then its argument prototype would still apply. */
21487 char cosf ();
21489 main ()
21491 cosf ();
21493 return 0;
21495 _ACEOF
21496 rm -f conftest.$ac_objext conftest$ac_exeext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21498 (eval $ac_link) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_c_werror_flag"
21506 || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21509 ac_status=$?
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_m_cosf=yes
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21523 ac_cv_lib_m_cosf=no
21525 rm -f conftest.err conftest.$ac_objext \
21526 conftest$ac_exeext conftest.$ac_ext
21527 LIBS=$ac_check_lib_save_LIBS
21529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21530 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21531 if test $ac_cv_lib_m_cosf = yes; then
21533 cat >>confdefs.h <<\_ACEOF
21534 #define HAVE_COSF 1
21535 _ACEOF
21539 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21540 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21541 if test "${ac_cv_lib_m_cos+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21543 else
21544 ac_check_lib_save_LIBS=$LIBS
21545 LIBS="-lm $LIBS"
21546 if test x$gcc_no_link = xyes; then
21547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21549 { (exit 1); exit 1; }; }
21551 cat >conftest.$ac_ext <<_ACEOF
21552 /* confdefs.h. */
21553 _ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21558 /* Override any gcc2 internal prototype to avoid an error. */
21559 #ifdef __cplusplus
21560 extern "C"
21561 #endif
21562 /* We use char because int might match the return type of a gcc2
21563 builtin and then its argument prototype would still apply. */
21564 char cos ();
21566 main ()
21568 cos ();
21570 return 0;
21572 _ACEOF
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575 (eval $ac_link) 2>conftest.er1
21576 ac_status=$?
21577 grep -v '^ *+' conftest.er1 >conftest.err
21578 rm -f conftest.er1
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try='test -s conftest$ac_exeext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21592 ac_status=$?
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 ac_cv_lib_m_cos=yes
21596 else
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 ac_cv_lib_m_cos=no
21602 rm -f conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21604 LIBS=$ac_check_lib_save_LIBS
21606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21607 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21608 if test $ac_cv_lib_m_cos = yes; then
21610 cat >>confdefs.h <<\_ACEOF
21611 #define HAVE_COS 1
21612 _ACEOF
21616 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21617 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21618 if test "${ac_cv_lib_m_cosl+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 else
21621 ac_check_lib_save_LIBS=$LIBS
21622 LIBS="-lm $LIBS"
21623 if test x$gcc_no_link = xyes; then
21624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21626 { (exit 1); exit 1; }; }
21628 cat >conftest.$ac_ext <<_ACEOF
21629 /* confdefs.h. */
21630 _ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21635 /* Override any gcc2 internal prototype to avoid an error. */
21636 #ifdef __cplusplus
21637 extern "C"
21638 #endif
21639 /* We use char because int might match the return type of a gcc2
21640 builtin and then its argument prototype would still apply. */
21641 char cosl ();
21643 main ()
21645 cosl ();
21647 return 0;
21649 _ACEOF
21650 rm -f conftest.$ac_objext conftest$ac_exeext
21651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21652 (eval $ac_link) 2>conftest.er1
21653 ac_status=$?
21654 grep -v '^ *+' conftest.er1 >conftest.err
21655 rm -f conftest.er1
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } &&
21659 { ac_try='test -z "$ac_c_werror_flag"
21660 || test ! -s conftest.err'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; } &&
21666 { ac_try='test -s conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_cv_lib_m_cosl=yes
21673 else
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21677 ac_cv_lib_m_cosl=no
21679 rm -f conftest.err conftest.$ac_objext \
21680 conftest$ac_exeext conftest.$ac_ext
21681 LIBS=$ac_check_lib_save_LIBS
21683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21684 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21685 if test $ac_cv_lib_m_cosl = yes; then
21687 cat >>confdefs.h <<\_ACEOF
21688 #define HAVE_COSL 1
21689 _ACEOF
21693 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21694 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21695 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 else
21698 ac_check_lib_save_LIBS=$LIBS
21699 LIBS="-lm $LIBS"
21700 if test x$gcc_no_link = xyes; then
21701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703 { (exit 1); exit 1; }; }
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21712 /* Override any gcc2 internal prototype to avoid an error. */
21713 #ifdef __cplusplus
21714 extern "C"
21715 #endif
21716 /* We use char because int might match the return type of a gcc2
21717 builtin and then its argument prototype would still apply. */
21718 char ccosf ();
21720 main ()
21722 ccosf ();
21724 return 0;
21726 _ACEOF
21727 rm -f conftest.$ac_objext conftest$ac_exeext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21729 (eval $ac_link) 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_c_werror_flag"
21737 || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try='test -s conftest$ac_exeext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_lib_m_ccosf=yes
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21754 ac_cv_lib_m_ccosf=no
21756 rm -f conftest.err conftest.$ac_objext \
21757 conftest$ac_exeext conftest.$ac_ext
21758 LIBS=$ac_check_lib_save_LIBS
21760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21761 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21762 if test $ac_cv_lib_m_ccosf = yes; then
21764 cat >>confdefs.h <<\_ACEOF
21765 #define HAVE_CCOSF 1
21766 _ACEOF
21770 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21771 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21772 if test "${ac_cv_lib_m_ccos+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 else
21775 ac_check_lib_save_LIBS=$LIBS
21776 LIBS="-lm $LIBS"
21777 if test x$gcc_no_link = xyes; then
21778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21780 { (exit 1); exit 1; }; }
21782 cat >conftest.$ac_ext <<_ACEOF
21783 /* confdefs.h. */
21784 _ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21789 /* Override any gcc2 internal prototype to avoid an error. */
21790 #ifdef __cplusplus
21791 extern "C"
21792 #endif
21793 /* We use char because int might match the return type of a gcc2
21794 builtin and then its argument prototype would still apply. */
21795 char ccos ();
21797 main ()
21799 ccos ();
21801 return 0;
21803 _ACEOF
21804 rm -f conftest.$ac_objext conftest$ac_exeext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21806 (eval $ac_link) 2>conftest.er1
21807 ac_status=$?
21808 grep -v '^ *+' conftest.er1 >conftest.err
21809 rm -f conftest.er1
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try='test -z "$ac_c_werror_flag"
21814 || test ! -s conftest.err'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21817 ac_status=$?
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try='test -s conftest$ac_exeext'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21823 ac_status=$?
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; }; then
21826 ac_cv_lib_m_ccos=yes
21827 else
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.$ac_ext >&5
21831 ac_cv_lib_m_ccos=no
21833 rm -f conftest.err conftest.$ac_objext \
21834 conftest$ac_exeext conftest.$ac_ext
21835 LIBS=$ac_check_lib_save_LIBS
21837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21838 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21839 if test $ac_cv_lib_m_ccos = yes; then
21841 cat >>confdefs.h <<\_ACEOF
21842 #define HAVE_CCOS 1
21843 _ACEOF
21847 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21848 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21849 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21851 else
21852 ac_check_lib_save_LIBS=$LIBS
21853 LIBS="-lm $LIBS"
21854 if test x$gcc_no_link = xyes; then
21855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21857 { (exit 1); exit 1; }; }
21859 cat >conftest.$ac_ext <<_ACEOF
21860 /* confdefs.h. */
21861 _ACEOF
21862 cat confdefs.h >>conftest.$ac_ext
21863 cat >>conftest.$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21866 /* Override any gcc2 internal prototype to avoid an error. */
21867 #ifdef __cplusplus
21868 extern "C"
21869 #endif
21870 /* We use char because int might match the return type of a gcc2
21871 builtin and then its argument prototype would still apply. */
21872 char ccosl ();
21874 main ()
21876 ccosl ();
21878 return 0;
21880 _ACEOF
21881 rm -f conftest.$ac_objext conftest$ac_exeext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21883 (eval $ac_link) 2>conftest.er1
21884 ac_status=$?
21885 grep -v '^ *+' conftest.er1 >conftest.err
21886 rm -f conftest.er1
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try='test -z "$ac_c_werror_flag"
21891 || test ! -s conftest.err'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21894 ac_status=$?
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try='test -s conftest$ac_exeext'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21900 ac_status=$?
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; }; then
21903 ac_cv_lib_m_ccosl=yes
21904 else
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21908 ac_cv_lib_m_ccosl=no
21910 rm -f conftest.err conftest.$ac_objext \
21911 conftest$ac_exeext conftest.$ac_ext
21912 LIBS=$ac_check_lib_save_LIBS
21914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21915 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21916 if test $ac_cv_lib_m_ccosl = yes; then
21918 cat >>confdefs.h <<\_ACEOF
21919 #define HAVE_CCOSL 1
21920 _ACEOF
21924 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21925 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21926 if test "${ac_cv_lib_m_coshf+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21928 else
21929 ac_check_lib_save_LIBS=$LIBS
21930 LIBS="-lm $LIBS"
21931 if test x$gcc_no_link = xyes; then
21932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21934 { (exit 1); exit 1; }; }
21936 cat >conftest.$ac_ext <<_ACEOF
21937 /* confdefs.h. */
21938 _ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21943 /* Override any gcc2 internal prototype to avoid an error. */
21944 #ifdef __cplusplus
21945 extern "C"
21946 #endif
21947 /* We use char because int might match the return type of a gcc2
21948 builtin and then its argument prototype would still apply. */
21949 char coshf ();
21951 main ()
21953 coshf ();
21955 return 0;
21957 _ACEOF
21958 rm -f conftest.$ac_objext conftest$ac_exeext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21960 (eval $ac_link) 2>conftest.er1
21961 ac_status=$?
21962 grep -v '^ *+' conftest.er1 >conftest.err
21963 rm -f conftest.er1
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_lib_m_coshf=yes
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 ac_cv_lib_m_coshf=no
21987 rm -f conftest.err conftest.$ac_objext \
21988 conftest$ac_exeext conftest.$ac_ext
21989 LIBS=$ac_check_lib_save_LIBS
21991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
21992 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
21993 if test $ac_cv_lib_m_coshf = yes; then
21995 cat >>confdefs.h <<\_ACEOF
21996 #define HAVE_COSHF 1
21997 _ACEOF
22001 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22002 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22003 if test "${ac_cv_lib_m_cosh+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 else
22006 ac_check_lib_save_LIBS=$LIBS
22007 LIBS="-lm $LIBS"
22008 if test x$gcc_no_link = xyes; then
22009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22011 { (exit 1); exit 1; }; }
22013 cat >conftest.$ac_ext <<_ACEOF
22014 /* confdefs.h. */
22015 _ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22020 /* Override any gcc2 internal prototype to avoid an error. */
22021 #ifdef __cplusplus
22022 extern "C"
22023 #endif
22024 /* We use char because int might match the return type of a gcc2
22025 builtin and then its argument prototype would still apply. */
22026 char cosh ();
22028 main ()
22030 cosh ();
22032 return 0;
22034 _ACEOF
22035 rm -f conftest.$ac_objext conftest$ac_exeext
22036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22037 (eval $ac_link) 2>conftest.er1
22038 ac_status=$?
22039 grep -v '^ *+' conftest.er1 >conftest.err
22040 rm -f conftest.er1
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -z "$ac_c_werror_flag"
22045 || test ! -s conftest.err'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_lib_m_cosh=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22062 ac_cv_lib_m_cosh=no
22064 rm -f conftest.err conftest.$ac_objext \
22065 conftest$ac_exeext conftest.$ac_ext
22066 LIBS=$ac_check_lib_save_LIBS
22068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22069 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22070 if test $ac_cv_lib_m_cosh = yes; then
22072 cat >>confdefs.h <<\_ACEOF
22073 #define HAVE_COSH 1
22074 _ACEOF
22078 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22079 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22080 if test "${ac_cv_lib_m_coshl+set}" = set; then
22081 echo $ECHO_N "(cached) $ECHO_C" >&6
22082 else
22083 ac_check_lib_save_LIBS=$LIBS
22084 LIBS="-lm $LIBS"
22085 if test x$gcc_no_link = xyes; then
22086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22088 { (exit 1); exit 1; }; }
22090 cat >conftest.$ac_ext <<_ACEOF
22091 /* confdefs.h. */
22092 _ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22097 /* Override any gcc2 internal prototype to avoid an error. */
22098 #ifdef __cplusplus
22099 extern "C"
22100 #endif
22101 /* We use char because int might match the return type of a gcc2
22102 builtin and then its argument prototype would still apply. */
22103 char coshl ();
22105 main ()
22107 coshl ();
22109 return 0;
22111 _ACEOF
22112 rm -f conftest.$ac_objext conftest$ac_exeext
22113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22114 (eval $ac_link) 2>conftest.er1
22115 ac_status=$?
22116 grep -v '^ *+' conftest.er1 >conftest.err
22117 rm -f conftest.er1
22118 cat conftest.err >&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try='test -z "$ac_c_werror_flag"
22122 || test ! -s conftest.err'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; } &&
22128 { ac_try='test -s conftest$ac_exeext'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; }; then
22134 ac_cv_lib_m_coshl=yes
22135 else
22136 echo "$as_me: failed program was:" >&5
22137 sed 's/^/| /' conftest.$ac_ext >&5
22139 ac_cv_lib_m_coshl=no
22141 rm -f conftest.err conftest.$ac_objext \
22142 conftest$ac_exeext conftest.$ac_ext
22143 LIBS=$ac_check_lib_save_LIBS
22145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22146 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22147 if test $ac_cv_lib_m_coshl = yes; then
22149 cat >>confdefs.h <<\_ACEOF
22150 #define HAVE_COSHL 1
22151 _ACEOF
22155 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22156 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22157 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22158 echo $ECHO_N "(cached) $ECHO_C" >&6
22159 else
22160 ac_check_lib_save_LIBS=$LIBS
22161 LIBS="-lm $LIBS"
22162 if test x$gcc_no_link = xyes; then
22163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22165 { (exit 1); exit 1; }; }
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22174 /* Override any gcc2 internal prototype to avoid an error. */
22175 #ifdef __cplusplus
22176 extern "C"
22177 #endif
22178 /* We use char because int might match the return type of a gcc2
22179 builtin and then its argument prototype would still apply. */
22180 char ccoshf ();
22182 main ()
22184 ccoshf ();
22186 return 0;
22188 _ACEOF
22189 rm -f conftest.$ac_objext conftest$ac_exeext
22190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22191 (eval $ac_link) 2>conftest.er1
22192 ac_status=$?
22193 grep -v '^ *+' conftest.er1 >conftest.err
22194 rm -f conftest.er1
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try='test -z "$ac_c_werror_flag"
22199 || test ! -s conftest.err'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22202 ac_status=$?
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; } &&
22205 { ac_try='test -s conftest$ac_exeext'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22208 ac_status=$?
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_lib_m_ccoshf=yes
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22216 ac_cv_lib_m_ccoshf=no
22218 rm -f conftest.err conftest.$ac_objext \
22219 conftest$ac_exeext conftest.$ac_ext
22220 LIBS=$ac_check_lib_save_LIBS
22222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22223 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22224 if test $ac_cv_lib_m_ccoshf = yes; then
22226 cat >>confdefs.h <<\_ACEOF
22227 #define HAVE_CCOSHF 1
22228 _ACEOF
22232 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22233 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22234 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22237 ac_check_lib_save_LIBS=$LIBS
22238 LIBS="-lm $LIBS"
22239 if test x$gcc_no_link = xyes; then
22240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22242 { (exit 1); exit 1; }; }
22244 cat >conftest.$ac_ext <<_ACEOF
22245 /* confdefs.h. */
22246 _ACEOF
22247 cat confdefs.h >>conftest.$ac_ext
22248 cat >>conftest.$ac_ext <<_ACEOF
22249 /* end confdefs.h. */
22251 /* Override any gcc2 internal prototype to avoid an error. */
22252 #ifdef __cplusplus
22253 extern "C"
22254 #endif
22255 /* We use char because int might match the return type of a gcc2
22256 builtin and then its argument prototype would still apply. */
22257 char ccosh ();
22259 main ()
22261 ccosh ();
22263 return 0;
22265 _ACEOF
22266 rm -f conftest.$ac_objext conftest$ac_exeext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22268 (eval $ac_link) 2>conftest.er1
22269 ac_status=$?
22270 grep -v '^ *+' conftest.er1 >conftest.err
22271 rm -f conftest.er1
22272 cat conftest.err >&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try='test -z "$ac_c_werror_flag"
22276 || test ! -s conftest.err'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_lib_m_ccosh=yes
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 ac_cv_lib_m_ccosh=no
22295 rm -f conftest.err conftest.$ac_objext \
22296 conftest$ac_exeext conftest.$ac_ext
22297 LIBS=$ac_check_lib_save_LIBS
22299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22300 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22301 if test $ac_cv_lib_m_ccosh = yes; then
22303 cat >>confdefs.h <<\_ACEOF
22304 #define HAVE_CCOSH 1
22305 _ACEOF
22309 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22310 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22311 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314 ac_check_lib_save_LIBS=$LIBS
22315 LIBS="-lm $LIBS"
22316 if test x$gcc_no_link = xyes; then
22317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22319 { (exit 1); exit 1; }; }
22321 cat >conftest.$ac_ext <<_ACEOF
22322 /* confdefs.h. */
22323 _ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22328 /* Override any gcc2 internal prototype to avoid an error. */
22329 #ifdef __cplusplus
22330 extern "C"
22331 #endif
22332 /* We use char because int might match the return type of a gcc2
22333 builtin and then its argument prototype would still apply. */
22334 char ccoshl ();
22336 main ()
22338 ccoshl ();
22340 return 0;
22342 _ACEOF
22343 rm -f conftest.$ac_objext conftest$ac_exeext
22344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22345 (eval $ac_link) 2>conftest.er1
22346 ac_status=$?
22347 grep -v '^ *+' conftest.er1 >conftest.err
22348 rm -f conftest.er1
22349 cat conftest.err >&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -z "$ac_c_werror_flag"
22353 || test ! -s conftest.err'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try='test -s conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_lib_m_ccoshl=yes
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22370 ac_cv_lib_m_ccoshl=no
22372 rm -f conftest.err conftest.$ac_objext \
22373 conftest$ac_exeext conftest.$ac_ext
22374 LIBS=$ac_check_lib_save_LIBS
22376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22377 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22378 if test $ac_cv_lib_m_ccoshl = yes; then
22380 cat >>confdefs.h <<\_ACEOF
22381 #define HAVE_CCOSHL 1
22382 _ACEOF
22386 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22387 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22388 if test "${ac_cv_lib_m_expf+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 else
22391 ac_check_lib_save_LIBS=$LIBS
22392 LIBS="-lm $LIBS"
22393 if test x$gcc_no_link = xyes; then
22394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22396 { (exit 1); exit 1; }; }
22398 cat >conftest.$ac_ext <<_ACEOF
22399 /* confdefs.h. */
22400 _ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22405 /* Override any gcc2 internal prototype to avoid an error. */
22406 #ifdef __cplusplus
22407 extern "C"
22408 #endif
22409 /* We use char because int might match the return type of a gcc2
22410 builtin and then its argument prototype would still apply. */
22411 char expf ();
22413 main ()
22415 expf ();
22417 return 0;
22419 _ACEOF
22420 rm -f conftest.$ac_objext conftest$ac_exeext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22422 (eval $ac_link) 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_c_werror_flag"
22430 || test ! -s conftest.err'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; } &&
22436 { ac_try='test -s conftest$ac_exeext'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22439 ac_status=$?
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; }; then
22442 ac_cv_lib_m_expf=yes
22443 else
22444 echo "$as_me: failed program was:" >&5
22445 sed 's/^/| /' conftest.$ac_ext >&5
22447 ac_cv_lib_m_expf=no
22449 rm -f conftest.err conftest.$ac_objext \
22450 conftest$ac_exeext conftest.$ac_ext
22451 LIBS=$ac_check_lib_save_LIBS
22453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22454 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22455 if test $ac_cv_lib_m_expf = yes; then
22457 cat >>confdefs.h <<\_ACEOF
22458 #define HAVE_EXPF 1
22459 _ACEOF
22463 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22464 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22465 if test "${ac_cv_lib_m_exp+set}" = set; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 else
22468 ac_check_lib_save_LIBS=$LIBS
22469 LIBS="-lm $LIBS"
22470 if test x$gcc_no_link = xyes; then
22471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22473 { (exit 1); exit 1; }; }
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22482 /* Override any gcc2 internal prototype to avoid an error. */
22483 #ifdef __cplusplus
22484 extern "C"
22485 #endif
22486 /* We use char because int might match the return type of a gcc2
22487 builtin and then its argument prototype would still apply. */
22488 char exp ();
22490 main ()
22492 exp ();
22494 return 0;
22496 _ACEOF
22497 rm -f conftest.$ac_objext conftest$ac_exeext
22498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22499 (eval $ac_link) 2>conftest.er1
22500 ac_status=$?
22501 grep -v '^ *+' conftest.er1 >conftest.err
22502 rm -f conftest.er1
22503 cat conftest.err >&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } &&
22506 { ac_try='test -z "$ac_c_werror_flag"
22507 || test ! -s conftest.err'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; } &&
22513 { ac_try='test -s conftest$ac_exeext'
22514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515 (eval $ac_try) 2>&5
22516 ac_status=$?
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; }; then
22519 ac_cv_lib_m_exp=yes
22520 else
22521 echo "$as_me: failed program was:" >&5
22522 sed 's/^/| /' conftest.$ac_ext >&5
22524 ac_cv_lib_m_exp=no
22526 rm -f conftest.err conftest.$ac_objext \
22527 conftest$ac_exeext conftest.$ac_ext
22528 LIBS=$ac_check_lib_save_LIBS
22530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22531 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22532 if test $ac_cv_lib_m_exp = yes; then
22534 cat >>confdefs.h <<\_ACEOF
22535 #define HAVE_EXP 1
22536 _ACEOF
22540 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22541 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22542 if test "${ac_cv_lib_m_expl+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 else
22545 ac_check_lib_save_LIBS=$LIBS
22546 LIBS="-lm $LIBS"
22547 if test x$gcc_no_link = xyes; then
22548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22550 { (exit 1); exit 1; }; }
22552 cat >conftest.$ac_ext <<_ACEOF
22553 /* confdefs.h. */
22554 _ACEOF
22555 cat confdefs.h >>conftest.$ac_ext
22556 cat >>conftest.$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22559 /* Override any gcc2 internal prototype to avoid an error. */
22560 #ifdef __cplusplus
22561 extern "C"
22562 #endif
22563 /* We use char because int might match the return type of a gcc2
22564 builtin and then its argument prototype would still apply. */
22565 char expl ();
22567 main ()
22569 expl ();
22571 return 0;
22573 _ACEOF
22574 rm -f conftest.$ac_objext conftest$ac_exeext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22576 (eval $ac_link) 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -z "$ac_c_werror_flag"
22584 || test ! -s conftest.err'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; } &&
22590 { ac_try='test -s conftest$ac_exeext'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_lib_m_expl=yes
22597 else
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22601 ac_cv_lib_m_expl=no
22603 rm -f conftest.err conftest.$ac_objext \
22604 conftest$ac_exeext conftest.$ac_ext
22605 LIBS=$ac_check_lib_save_LIBS
22607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22608 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22609 if test $ac_cv_lib_m_expl = yes; then
22611 cat >>confdefs.h <<\_ACEOF
22612 #define HAVE_EXPL 1
22613 _ACEOF
22617 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22618 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22619 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 else
22622 ac_check_lib_save_LIBS=$LIBS
22623 LIBS="-lm $LIBS"
22624 if test x$gcc_no_link = xyes; then
22625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22627 { (exit 1); exit 1; }; }
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22636 /* Override any gcc2 internal prototype to avoid an error. */
22637 #ifdef __cplusplus
22638 extern "C"
22639 #endif
22640 /* We use char because int might match the return type of a gcc2
22641 builtin and then its argument prototype would still apply. */
22642 char cexpf ();
22644 main ()
22646 cexpf ();
22648 return 0;
22650 _ACEOF
22651 rm -f conftest.$ac_objext conftest$ac_exeext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22653 (eval $ac_link) 2>conftest.er1
22654 ac_status=$?
22655 grep -v '^ *+' conftest.er1 >conftest.err
22656 rm -f conftest.er1
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } &&
22660 { ac_try='test -z "$ac_c_werror_flag"
22661 || test ! -s conftest.err'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try='test -s conftest$ac_exeext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22670 ac_status=$?
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 ac_cv_lib_m_cexpf=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22678 ac_cv_lib_m_cexpf=no
22680 rm -f conftest.err conftest.$ac_objext \
22681 conftest$ac_exeext conftest.$ac_ext
22682 LIBS=$ac_check_lib_save_LIBS
22684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22685 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22686 if test $ac_cv_lib_m_cexpf = yes; then
22688 cat >>confdefs.h <<\_ACEOF
22689 #define HAVE_CEXPF 1
22690 _ACEOF
22694 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22695 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22696 if test "${ac_cv_lib_m_cexp+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 else
22699 ac_check_lib_save_LIBS=$LIBS
22700 LIBS="-lm $LIBS"
22701 if test x$gcc_no_link = xyes; then
22702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22704 { (exit 1); exit 1; }; }
22706 cat >conftest.$ac_ext <<_ACEOF
22707 /* confdefs.h. */
22708 _ACEOF
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22713 /* Override any gcc2 internal prototype to avoid an error. */
22714 #ifdef __cplusplus
22715 extern "C"
22716 #endif
22717 /* We use char because int might match the return type of a gcc2
22718 builtin and then its argument prototype would still apply. */
22719 char cexp ();
22721 main ()
22723 cexp ();
22725 return 0;
22727 _ACEOF
22728 rm -f conftest.$ac_objext conftest$ac_exeext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22730 (eval $ac_link) 2>conftest.er1
22731 ac_status=$?
22732 grep -v '^ *+' conftest.er1 >conftest.err
22733 rm -f conftest.er1
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try='test -z "$ac_c_werror_flag"
22738 || test ! -s conftest.err'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; } &&
22744 { ac_try='test -s conftest$ac_exeext'
22745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746 (eval $ac_try) 2>&5
22747 ac_status=$?
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 ac_cv_lib_m_cexp=yes
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22755 ac_cv_lib_m_cexp=no
22757 rm -f conftest.err conftest.$ac_objext \
22758 conftest$ac_exeext conftest.$ac_ext
22759 LIBS=$ac_check_lib_save_LIBS
22761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22762 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22763 if test $ac_cv_lib_m_cexp = yes; then
22765 cat >>confdefs.h <<\_ACEOF
22766 #define HAVE_CEXP 1
22767 _ACEOF
22771 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22772 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22773 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22774 echo $ECHO_N "(cached) $ECHO_C" >&6
22775 else
22776 ac_check_lib_save_LIBS=$LIBS
22777 LIBS="-lm $LIBS"
22778 if test x$gcc_no_link = xyes; then
22779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22781 { (exit 1); exit 1; }; }
22783 cat >conftest.$ac_ext <<_ACEOF
22784 /* confdefs.h. */
22785 _ACEOF
22786 cat confdefs.h >>conftest.$ac_ext
22787 cat >>conftest.$ac_ext <<_ACEOF
22788 /* end confdefs.h. */
22790 /* Override any gcc2 internal prototype to avoid an error. */
22791 #ifdef __cplusplus
22792 extern "C"
22793 #endif
22794 /* We use char because int might match the return type of a gcc2
22795 builtin and then its argument prototype would still apply. */
22796 char cexpl ();
22798 main ()
22800 cexpl ();
22802 return 0;
22804 _ACEOF
22805 rm -f conftest.$ac_objext conftest$ac_exeext
22806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22807 (eval $ac_link) 2>conftest.er1
22808 ac_status=$?
22809 grep -v '^ *+' conftest.er1 >conftest.err
22810 rm -f conftest.er1
22811 cat conftest.err >&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } &&
22814 { ac_try='test -z "$ac_c_werror_flag"
22815 || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try='test -s conftest$ac_exeext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_lib_m_cexpl=yes
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22832 ac_cv_lib_m_cexpl=no
22834 rm -f conftest.err conftest.$ac_objext \
22835 conftest$ac_exeext conftest.$ac_ext
22836 LIBS=$ac_check_lib_save_LIBS
22838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22839 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22840 if test $ac_cv_lib_m_cexpl = yes; then
22842 cat >>confdefs.h <<\_ACEOF
22843 #define HAVE_CEXPL 1
22844 _ACEOF
22848 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22849 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22850 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 else
22853 ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-lm $LIBS"
22855 if test x$gcc_no_link = xyes; then
22856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22858 { (exit 1); exit 1; }; }
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22867 /* Override any gcc2 internal prototype to avoid an error. */
22868 #ifdef __cplusplus
22869 extern "C"
22870 #endif
22871 /* We use char because int might match the return type of a gcc2
22872 builtin and then its argument prototype would still apply. */
22873 char fabsf ();
22875 main ()
22877 fabsf ();
22879 return 0;
22881 _ACEOF
22882 rm -f conftest.$ac_objext conftest$ac_exeext
22883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22884 (eval $ac_link) 2>conftest.er1
22885 ac_status=$?
22886 grep -v '^ *+' conftest.er1 >conftest.err
22887 rm -f conftest.er1
22888 cat conftest.err >&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } &&
22891 { ac_try='test -z "$ac_c_werror_flag"
22892 || test ! -s conftest.err'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; } &&
22898 { ac_try='test -s conftest$ac_exeext'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22901 ac_status=$?
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; }; then
22904 ac_cv_lib_m_fabsf=yes
22905 else
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.$ac_ext >&5
22909 ac_cv_lib_m_fabsf=no
22911 rm -f conftest.err conftest.$ac_objext \
22912 conftest$ac_exeext conftest.$ac_ext
22913 LIBS=$ac_check_lib_save_LIBS
22915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22916 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22917 if test $ac_cv_lib_m_fabsf = yes; then
22919 cat >>confdefs.h <<\_ACEOF
22920 #define HAVE_FABSF 1
22921 _ACEOF
22925 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22926 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22927 if test "${ac_cv_lib_m_fabs+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 else
22930 ac_check_lib_save_LIBS=$LIBS
22931 LIBS="-lm $LIBS"
22932 if test x$gcc_no_link = xyes; then
22933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22935 { (exit 1); exit 1; }; }
22937 cat >conftest.$ac_ext <<_ACEOF
22938 /* confdefs.h. */
22939 _ACEOF
22940 cat confdefs.h >>conftest.$ac_ext
22941 cat >>conftest.$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22944 /* Override any gcc2 internal prototype to avoid an error. */
22945 #ifdef __cplusplus
22946 extern "C"
22947 #endif
22948 /* We use char because int might match the return type of a gcc2
22949 builtin and then its argument prototype would still apply. */
22950 char fabs ();
22952 main ()
22954 fabs ();
22956 return 0;
22958 _ACEOF
22959 rm -f conftest.$ac_objext conftest$ac_exeext
22960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22961 (eval $ac_link) 2>conftest.er1
22962 ac_status=$?
22963 grep -v '^ *+' conftest.er1 >conftest.err
22964 rm -f conftest.er1
22965 cat conftest.err >&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); } &&
22968 { ac_try='test -z "$ac_c_werror_flag"
22969 || test ! -s conftest.err'
22970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22971 (eval $ac_try) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); }; } &&
22975 { ac_try='test -s conftest$ac_exeext'
22976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977 (eval $ac_try) 2>&5
22978 ac_status=$?
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); }; }; then
22981 ac_cv_lib_m_fabs=yes
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22986 ac_cv_lib_m_fabs=no
22988 rm -f conftest.err conftest.$ac_objext \
22989 conftest$ac_exeext conftest.$ac_ext
22990 LIBS=$ac_check_lib_save_LIBS
22992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
22993 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
22994 if test $ac_cv_lib_m_fabs = yes; then
22996 cat >>confdefs.h <<\_ACEOF
22997 #define HAVE_FABS 1
22998 _ACEOF
23002 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23003 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23004 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007 ac_check_lib_save_LIBS=$LIBS
23008 LIBS="-lm $LIBS"
23009 if test x$gcc_no_link = xyes; then
23010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23012 { (exit 1); exit 1; }; }
23014 cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h. */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23021 /* Override any gcc2 internal prototype to avoid an error. */
23022 #ifdef __cplusplus
23023 extern "C"
23024 #endif
23025 /* We use char because int might match the return type of a gcc2
23026 builtin and then its argument prototype would still apply. */
23027 char fabsl ();
23029 main ()
23031 fabsl ();
23033 return 0;
23035 _ACEOF
23036 rm -f conftest.$ac_objext conftest$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>conftest.er1
23039 ac_status=$?
23040 grep -v '^ *+' conftest.er1 >conftest.err
23041 rm -f conftest.er1
23042 cat conftest.err >&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try='test -z "$ac_c_werror_flag"
23046 || test ! -s conftest.err'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23049 ac_status=$?
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; } &&
23052 { ac_try='test -s conftest$ac_exeext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 ac_cv_lib_m_fabsl=yes
23059 else
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5
23063 ac_cv_lib_m_fabsl=no
23065 rm -f conftest.err conftest.$ac_objext \
23066 conftest$ac_exeext conftest.$ac_ext
23067 LIBS=$ac_check_lib_save_LIBS
23069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23070 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23071 if test $ac_cv_lib_m_fabsl = yes; then
23073 cat >>confdefs.h <<\_ACEOF
23074 #define HAVE_FABSL 1
23075 _ACEOF
23079 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23080 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23081 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 else
23084 ac_check_lib_save_LIBS=$LIBS
23085 LIBS="-lm $LIBS"
23086 if test x$gcc_no_link = xyes; then
23087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23089 { (exit 1); exit 1; }; }
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23098 /* Override any gcc2 internal prototype to avoid an error. */
23099 #ifdef __cplusplus
23100 extern "C"
23101 #endif
23102 /* We use char because int might match the return type of a gcc2
23103 builtin and then its argument prototype would still apply. */
23104 char cabsf ();
23106 main ()
23108 cabsf ();
23110 return 0;
23112 _ACEOF
23113 rm -f conftest.$ac_objext conftest$ac_exeext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23115 (eval $ac_link) 2>conftest.er1
23116 ac_status=$?
23117 grep -v '^ *+' conftest.er1 >conftest.err
23118 rm -f conftest.er1
23119 cat conftest.err >&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try='test -z "$ac_c_werror_flag"
23123 || test ! -s conftest.err'
23124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23125 (eval $ac_try) 2>&5
23126 ac_status=$?
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); }; } &&
23129 { ac_try='test -s conftest$ac_exeext'
23130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131 (eval $ac_try) 2>&5
23132 ac_status=$?
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); }; }; then
23135 ac_cv_lib_m_cabsf=yes
23136 else
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23140 ac_cv_lib_m_cabsf=no
23142 rm -f conftest.err conftest.$ac_objext \
23143 conftest$ac_exeext conftest.$ac_ext
23144 LIBS=$ac_check_lib_save_LIBS
23146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23147 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23148 if test $ac_cv_lib_m_cabsf = yes; then
23150 cat >>confdefs.h <<\_ACEOF
23151 #define HAVE_CABSF 1
23152 _ACEOF
23156 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23157 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23158 if test "${ac_cv_lib_m_cabs+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 else
23161 ac_check_lib_save_LIBS=$LIBS
23162 LIBS="-lm $LIBS"
23163 if test x$gcc_no_link = xyes; then
23164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23166 { (exit 1); exit 1; }; }
23168 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23175 /* Override any gcc2 internal prototype to avoid an error. */
23176 #ifdef __cplusplus
23177 extern "C"
23178 #endif
23179 /* We use char because int might match the return type of a gcc2
23180 builtin and then its argument prototype would still apply. */
23181 char cabs ();
23183 main ()
23185 cabs ();
23187 return 0;
23189 _ACEOF
23190 rm -f conftest.$ac_objext conftest$ac_exeext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23192 (eval $ac_link) 2>conftest.er1
23193 ac_status=$?
23194 grep -v '^ *+' conftest.er1 >conftest.err
23195 rm -f conftest.er1
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try='test -z "$ac_c_werror_flag"
23200 || test ! -s conftest.err'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; } &&
23206 { ac_try='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 ac_cv_lib_m_cabs=yes
23213 else
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.$ac_ext >&5
23217 ac_cv_lib_m_cabs=no
23219 rm -f conftest.err conftest.$ac_objext \
23220 conftest$ac_exeext conftest.$ac_ext
23221 LIBS=$ac_check_lib_save_LIBS
23223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23224 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23225 if test $ac_cv_lib_m_cabs = yes; then
23227 cat >>confdefs.h <<\_ACEOF
23228 #define HAVE_CABS 1
23229 _ACEOF
23233 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23234 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23235 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23236 echo $ECHO_N "(cached) $ECHO_C" >&6
23237 else
23238 ac_check_lib_save_LIBS=$LIBS
23239 LIBS="-lm $LIBS"
23240 if test x$gcc_no_link = xyes; then
23241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23243 { (exit 1); exit 1; }; }
23245 cat >conftest.$ac_ext <<_ACEOF
23246 /* confdefs.h. */
23247 _ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23252 /* Override any gcc2 internal prototype to avoid an error. */
23253 #ifdef __cplusplus
23254 extern "C"
23255 #endif
23256 /* We use char because int might match the return type of a gcc2
23257 builtin and then its argument prototype would still apply. */
23258 char cabsl ();
23260 main ()
23262 cabsl ();
23264 return 0;
23266 _ACEOF
23267 rm -f conftest.$ac_objext conftest$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23270 ac_status=$?
23271 grep -v '^ *+' conftest.er1 >conftest.err
23272 rm -f conftest.er1
23273 cat conftest.err >&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try='test -z "$ac_c_werror_flag"
23277 || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest$ac_exeext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_cv_lib_m_cabsl=yes
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23294 ac_cv_lib_m_cabsl=no
23296 rm -f conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23298 LIBS=$ac_check_lib_save_LIBS
23300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23301 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23302 if test $ac_cv_lib_m_cabsl = yes; then
23304 cat >>confdefs.h <<\_ACEOF
23305 #define HAVE_CABSL 1
23306 _ACEOF
23310 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23311 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23312 if test "${ac_cv_lib_m_floorf+set}" = set; then
23313 echo $ECHO_N "(cached) $ECHO_C" >&6
23314 else
23315 ac_check_lib_save_LIBS=$LIBS
23316 LIBS="-lm $LIBS"
23317 if test x$gcc_no_link = xyes; then
23318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23320 { (exit 1); exit 1; }; }
23322 cat >conftest.$ac_ext <<_ACEOF
23323 /* confdefs.h. */
23324 _ACEOF
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h. */
23329 /* Override any gcc2 internal prototype to avoid an error. */
23330 #ifdef __cplusplus
23331 extern "C"
23332 #endif
23333 /* We use char because int might match the return type of a gcc2
23334 builtin and then its argument prototype would still apply. */
23335 char floorf ();
23337 main ()
23339 floorf ();
23341 return 0;
23343 _ACEOF
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23346 (eval $ac_link) 2>conftest.er1
23347 ac_status=$?
23348 grep -v '^ *+' conftest.er1 >conftest.err
23349 rm -f conftest.er1
23350 cat conftest.err >&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } &&
23353 { ac_try='test -z "$ac_c_werror_flag"
23354 || test ! -s conftest.err'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23357 ac_status=$?
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; } &&
23360 { ac_try='test -s conftest$ac_exeext'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23363 ac_status=$?
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; }; then
23366 ac_cv_lib_m_floorf=yes
23367 else
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23371 ac_cv_lib_m_floorf=no
23373 rm -f conftest.err conftest.$ac_objext \
23374 conftest$ac_exeext conftest.$ac_ext
23375 LIBS=$ac_check_lib_save_LIBS
23377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23378 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23379 if test $ac_cv_lib_m_floorf = yes; then
23381 cat >>confdefs.h <<\_ACEOF
23382 #define HAVE_FLOORF 1
23383 _ACEOF
23387 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23388 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23389 if test "${ac_cv_lib_m_floor+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 else
23392 ac_check_lib_save_LIBS=$LIBS
23393 LIBS="-lm $LIBS"
23394 if test x$gcc_no_link = xyes; then
23395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23397 { (exit 1); exit 1; }; }
23399 cat >conftest.$ac_ext <<_ACEOF
23400 /* confdefs.h. */
23401 _ACEOF
23402 cat confdefs.h >>conftest.$ac_ext
23403 cat >>conftest.$ac_ext <<_ACEOF
23404 /* end confdefs.h. */
23406 /* Override any gcc2 internal prototype to avoid an error. */
23407 #ifdef __cplusplus
23408 extern "C"
23409 #endif
23410 /* We use char because int might match the return type of a gcc2
23411 builtin and then its argument prototype would still apply. */
23412 char floor ();
23414 main ()
23416 floor ();
23418 return 0;
23420 _ACEOF
23421 rm -f conftest.$ac_objext conftest$ac_exeext
23422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23423 (eval $ac_link) 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } &&
23430 { ac_try='test -z "$ac_c_werror_flag"
23431 || test ! -s conftest.err'
23432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23433 (eval $ac_try) 2>&5
23434 ac_status=$?
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; } &&
23437 { ac_try='test -s conftest$ac_exeext'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23440 ac_status=$?
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 ac_cv_lib_m_floor=yes
23444 else
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23448 ac_cv_lib_m_floor=no
23450 rm -f conftest.err conftest.$ac_objext \
23451 conftest$ac_exeext conftest.$ac_ext
23452 LIBS=$ac_check_lib_save_LIBS
23454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23455 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23456 if test $ac_cv_lib_m_floor = yes; then
23458 cat >>confdefs.h <<\_ACEOF
23459 #define HAVE_FLOOR 1
23460 _ACEOF
23464 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23465 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23466 if test "${ac_cv_lib_m_floorl+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23468 else
23469 ac_check_lib_save_LIBS=$LIBS
23470 LIBS="-lm $LIBS"
23471 if test x$gcc_no_link = xyes; then
23472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23474 { (exit 1); exit 1; }; }
23476 cat >conftest.$ac_ext <<_ACEOF
23477 /* confdefs.h. */
23478 _ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23483 /* Override any gcc2 internal prototype to avoid an error. */
23484 #ifdef __cplusplus
23485 extern "C"
23486 #endif
23487 /* We use char because int might match the return type of a gcc2
23488 builtin and then its argument prototype would still apply. */
23489 char floorl ();
23491 main ()
23493 floorl ();
23495 return 0;
23497 _ACEOF
23498 rm -f conftest.$ac_objext conftest$ac_exeext
23499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23500 (eval $ac_link) 2>conftest.er1
23501 ac_status=$?
23502 grep -v '^ *+' conftest.er1 >conftest.err
23503 rm -f conftest.er1
23504 cat conftest.err >&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); } &&
23507 { ac_try='test -z "$ac_c_werror_flag"
23508 || test ! -s conftest.err'
23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 (eval $ac_try) 2>&5
23511 ac_status=$?
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; } &&
23514 { ac_try='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_lib_m_floorl=yes
23521 else
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.$ac_ext >&5
23525 ac_cv_lib_m_floorl=no
23527 rm -f conftest.err conftest.$ac_objext \
23528 conftest$ac_exeext conftest.$ac_ext
23529 LIBS=$ac_check_lib_save_LIBS
23531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23532 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23533 if test $ac_cv_lib_m_floorl = yes; then
23535 cat >>confdefs.h <<\_ACEOF
23536 #define HAVE_FLOORL 1
23537 _ACEOF
23541 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23542 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23543 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23544 echo $ECHO_N "(cached) $ECHO_C" >&6
23545 else
23546 ac_check_lib_save_LIBS=$LIBS
23547 LIBS="-lm $LIBS"
23548 if test x$gcc_no_link = xyes; then
23549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23551 { (exit 1); exit 1; }; }
23553 cat >conftest.$ac_ext <<_ACEOF
23554 /* confdefs.h. */
23555 _ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23560 /* Override any gcc2 internal prototype to avoid an error. */
23561 #ifdef __cplusplus
23562 extern "C"
23563 #endif
23564 /* We use char because int might match the return type of a gcc2
23565 builtin and then its argument prototype would still apply. */
23566 char fmodf ();
23568 main ()
23570 fmodf ();
23572 return 0;
23574 _ACEOF
23575 rm -f conftest.$ac_objext conftest$ac_exeext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>conftest.er1
23578 ac_status=$?
23579 grep -v '^ *+' conftest.er1 >conftest.err
23580 rm -f conftest.er1
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try='test -z "$ac_c_werror_flag"
23585 || test ! -s conftest.err'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; } &&
23591 { ac_try='test -s conftest$ac_exeext'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23594 ac_status=$?
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; }; then
23597 ac_cv_lib_m_fmodf=yes
23598 else
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23602 ac_cv_lib_m_fmodf=no
23604 rm -f conftest.err conftest.$ac_objext \
23605 conftest$ac_exeext conftest.$ac_ext
23606 LIBS=$ac_check_lib_save_LIBS
23608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23609 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23610 if test $ac_cv_lib_m_fmodf = yes; then
23612 cat >>confdefs.h <<\_ACEOF
23613 #define HAVE_FMODF 1
23614 _ACEOF
23618 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23619 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23620 if test "${ac_cv_lib_m_fmod+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23622 else
23623 ac_check_lib_save_LIBS=$LIBS
23624 LIBS="-lm $LIBS"
23625 if test x$gcc_no_link = xyes; then
23626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23628 { (exit 1); exit 1; }; }
23630 cat >conftest.$ac_ext <<_ACEOF
23631 /* confdefs.h. */
23632 _ACEOF
23633 cat confdefs.h >>conftest.$ac_ext
23634 cat >>conftest.$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23637 /* Override any gcc2 internal prototype to avoid an error. */
23638 #ifdef __cplusplus
23639 extern "C"
23640 #endif
23641 /* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23643 char fmod ();
23645 main ()
23647 fmod ();
23649 return 0;
23651 _ACEOF
23652 rm -f conftest.$ac_objext conftest$ac_exeext
23653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23654 (eval $ac_link) 2>conftest.er1
23655 ac_status=$?
23656 grep -v '^ *+' conftest.er1 >conftest.err
23657 rm -f conftest.er1
23658 cat conftest.err >&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } &&
23661 { ac_try='test -z "$ac_c_werror_flag"
23662 || test ! -s conftest.err'
23663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23664 (eval $ac_try) 2>&5
23665 ac_status=$?
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); }; } &&
23668 { ac_try='test -s conftest$ac_exeext'
23669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670 (eval $ac_try) 2>&5
23671 ac_status=$?
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); }; }; then
23674 ac_cv_lib_m_fmod=yes
23675 else
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.$ac_ext >&5
23679 ac_cv_lib_m_fmod=no
23681 rm -f conftest.err conftest.$ac_objext \
23682 conftest$ac_exeext conftest.$ac_ext
23683 LIBS=$ac_check_lib_save_LIBS
23685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23686 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23687 if test $ac_cv_lib_m_fmod = yes; then
23689 cat >>confdefs.h <<\_ACEOF
23690 #define HAVE_FMOD 1
23691 _ACEOF
23695 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23696 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23697 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23698 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 else
23700 ac_check_lib_save_LIBS=$LIBS
23701 LIBS="-lm $LIBS"
23702 if test x$gcc_no_link = xyes; then
23703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23705 { (exit 1); exit 1; }; }
23707 cat >conftest.$ac_ext <<_ACEOF
23708 /* confdefs.h. */
23709 _ACEOF
23710 cat confdefs.h >>conftest.$ac_ext
23711 cat >>conftest.$ac_ext <<_ACEOF
23712 /* end confdefs.h. */
23714 /* Override any gcc2 internal prototype to avoid an error. */
23715 #ifdef __cplusplus
23716 extern "C"
23717 #endif
23718 /* We use char because int might match the return type of a gcc2
23719 builtin and then its argument prototype would still apply. */
23720 char fmodl ();
23722 main ()
23724 fmodl ();
23726 return 0;
23728 _ACEOF
23729 rm -f conftest.$ac_objext conftest$ac_exeext
23730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23731 (eval $ac_link) 2>conftest.er1
23732 ac_status=$?
23733 grep -v '^ *+' conftest.er1 >conftest.err
23734 rm -f conftest.er1
23735 cat conftest.err >&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } &&
23738 { ac_try='test -z "$ac_c_werror_flag"
23739 || test ! -s conftest.err'
23740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741 (eval $ac_try) 2>&5
23742 ac_status=$?
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; } &&
23745 { ac_try='test -s conftest$ac_exeext'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23748 ac_status=$?
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; }; then
23751 ac_cv_lib_m_fmodl=yes
23752 else
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23756 ac_cv_lib_m_fmodl=no
23758 rm -f conftest.err conftest.$ac_objext \
23759 conftest$ac_exeext conftest.$ac_ext
23760 LIBS=$ac_check_lib_save_LIBS
23762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23763 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23764 if test $ac_cv_lib_m_fmodl = yes; then
23766 cat >>confdefs.h <<\_ACEOF
23767 #define HAVE_FMODL 1
23768 _ACEOF
23772 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23773 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23774 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23775 echo $ECHO_N "(cached) $ECHO_C" >&6
23776 else
23777 ac_check_lib_save_LIBS=$LIBS
23778 LIBS="-lm $LIBS"
23779 if test x$gcc_no_link = xyes; then
23780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23782 { (exit 1); exit 1; }; }
23784 cat >conftest.$ac_ext <<_ACEOF
23785 /* confdefs.h. */
23786 _ACEOF
23787 cat confdefs.h >>conftest.$ac_ext
23788 cat >>conftest.$ac_ext <<_ACEOF
23789 /* end confdefs.h. */
23791 /* Override any gcc2 internal prototype to avoid an error. */
23792 #ifdef __cplusplus
23793 extern "C"
23794 #endif
23795 /* We use char because int might match the return type of a gcc2
23796 builtin and then its argument prototype would still apply. */
23797 char frexpf ();
23799 main ()
23801 frexpf ();
23803 return 0;
23805 _ACEOF
23806 rm -f conftest.$ac_objext conftest$ac_exeext
23807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23808 (eval $ac_link) 2>conftest.er1
23809 ac_status=$?
23810 grep -v '^ *+' conftest.er1 >conftest.err
23811 rm -f conftest.er1
23812 cat conftest.err >&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -z "$ac_c_werror_flag"
23816 || test ! -s conftest.err'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; } &&
23822 { ac_try='test -s conftest$ac_exeext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828 ac_cv_lib_m_frexpf=yes
23829 else
23830 echo "$as_me: failed program was:" >&5
23831 sed 's/^/| /' conftest.$ac_ext >&5
23833 ac_cv_lib_m_frexpf=no
23835 rm -f conftest.err conftest.$ac_objext \
23836 conftest$ac_exeext conftest.$ac_ext
23837 LIBS=$ac_check_lib_save_LIBS
23839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23840 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23841 if test $ac_cv_lib_m_frexpf = yes; then
23843 cat >>confdefs.h <<\_ACEOF
23844 #define HAVE_FREXPF 1
23845 _ACEOF
23849 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23850 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23851 if test "${ac_cv_lib_m_frexp+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23853 else
23854 ac_check_lib_save_LIBS=$LIBS
23855 LIBS="-lm $LIBS"
23856 if test x$gcc_no_link = xyes; then
23857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23859 { (exit 1); exit 1; }; }
23861 cat >conftest.$ac_ext <<_ACEOF
23862 /* confdefs.h. */
23863 _ACEOF
23864 cat confdefs.h >>conftest.$ac_ext
23865 cat >>conftest.$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23868 /* Override any gcc2 internal prototype to avoid an error. */
23869 #ifdef __cplusplus
23870 extern "C"
23871 #endif
23872 /* We use char because int might match the return type of a gcc2
23873 builtin and then its argument prototype would still apply. */
23874 char frexp ();
23876 main ()
23878 frexp ();
23880 return 0;
23882 _ACEOF
23883 rm -f conftest.$ac_objext conftest$ac_exeext
23884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23885 (eval $ac_link) 2>conftest.er1
23886 ac_status=$?
23887 grep -v '^ *+' conftest.er1 >conftest.err
23888 rm -f conftest.er1
23889 cat conftest.err >&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); } &&
23892 { ac_try='test -z "$ac_c_werror_flag"
23893 || test ! -s conftest.err'
23894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23895 (eval $ac_try) 2>&5
23896 ac_status=$?
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); }; } &&
23899 { ac_try='test -s conftest$ac_exeext'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23902 ac_status=$?
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; }; then
23905 ac_cv_lib_m_frexp=yes
23906 else
23907 echo "$as_me: failed program was:" >&5
23908 sed 's/^/| /' conftest.$ac_ext >&5
23910 ac_cv_lib_m_frexp=no
23912 rm -f conftest.err conftest.$ac_objext \
23913 conftest$ac_exeext conftest.$ac_ext
23914 LIBS=$ac_check_lib_save_LIBS
23916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23917 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23918 if test $ac_cv_lib_m_frexp = yes; then
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_FREXP 1
23922 _ACEOF
23926 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23927 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23928 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 else
23931 ac_check_lib_save_LIBS=$LIBS
23932 LIBS="-lm $LIBS"
23933 if test x$gcc_no_link = xyes; then
23934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23936 { (exit 1); exit 1; }; }
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23945 /* Override any gcc2 internal prototype to avoid an error. */
23946 #ifdef __cplusplus
23947 extern "C"
23948 #endif
23949 /* We use char because int might match the return type of a gcc2
23950 builtin and then its argument prototype would still apply. */
23951 char frexpl ();
23953 main ()
23955 frexpl ();
23957 return 0;
23959 _ACEOF
23960 rm -f conftest.$ac_objext conftest$ac_exeext
23961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23962 (eval $ac_link) 2>conftest.er1
23963 ac_status=$?
23964 grep -v '^ *+' conftest.er1 >conftest.err
23965 rm -f conftest.er1
23966 cat conftest.err >&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } &&
23969 { ac_try='test -z "$ac_c_werror_flag"
23970 || test ! -s conftest.err'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23973 ac_status=$?
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; } &&
23976 { ac_try='test -s conftest$ac_exeext'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23979 ac_status=$?
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; }; then
23982 ac_cv_lib_m_frexpl=yes
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23987 ac_cv_lib_m_frexpl=no
23989 rm -f conftest.err conftest.$ac_objext \
23990 conftest$ac_exeext conftest.$ac_ext
23991 LIBS=$ac_check_lib_save_LIBS
23993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
23994 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
23995 if test $ac_cv_lib_m_frexpl = yes; then
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_FREXPL 1
23999 _ACEOF
24003 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24004 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24005 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008 ac_check_lib_save_LIBS=$LIBS
24009 LIBS="-lm $LIBS"
24010 if test x$gcc_no_link = xyes; then
24011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24013 { (exit 1); exit 1; }; }
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24022 /* Override any gcc2 internal prototype to avoid an error. */
24023 #ifdef __cplusplus
24024 extern "C"
24025 #endif
24026 /* We use char because int might match the return type of a gcc2
24027 builtin and then its argument prototype would still apply. */
24028 char hypotf ();
24030 main ()
24032 hypotf ();
24034 return 0;
24036 _ACEOF
24037 rm -f conftest.$ac_objext conftest$ac_exeext
24038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24039 (eval $ac_link) 2>conftest.er1
24040 ac_status=$?
24041 grep -v '^ *+' conftest.er1 >conftest.err
24042 rm -f conftest.er1
24043 cat conftest.err >&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } &&
24046 { ac_try='test -z "$ac_c_werror_flag"
24047 || test ! -s conftest.err'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24050 ac_status=$?
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try='test -s conftest$ac_exeext'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; }; then
24059 ac_cv_lib_m_hypotf=yes
24060 else
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24064 ac_cv_lib_m_hypotf=no
24066 rm -f conftest.err conftest.$ac_objext \
24067 conftest$ac_exeext conftest.$ac_ext
24068 LIBS=$ac_check_lib_save_LIBS
24070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24071 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24072 if test $ac_cv_lib_m_hypotf = yes; then
24074 cat >>confdefs.h <<\_ACEOF
24075 #define HAVE_HYPOTF 1
24076 _ACEOF
24080 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24081 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24082 if test "${ac_cv_lib_m_hypot+set}" = set; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 else
24085 ac_check_lib_save_LIBS=$LIBS
24086 LIBS="-lm $LIBS"
24087 if test x$gcc_no_link = xyes; then
24088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24090 { (exit 1); exit 1; }; }
24092 cat >conftest.$ac_ext <<_ACEOF
24093 /* confdefs.h. */
24094 _ACEOF
24095 cat confdefs.h >>conftest.$ac_ext
24096 cat >>conftest.$ac_ext <<_ACEOF
24097 /* end confdefs.h. */
24099 /* Override any gcc2 internal prototype to avoid an error. */
24100 #ifdef __cplusplus
24101 extern "C"
24102 #endif
24103 /* We use char because int might match the return type of a gcc2
24104 builtin and then its argument prototype would still apply. */
24105 char hypot ();
24107 main ()
24109 hypot ();
24111 return 0;
24113 _ACEOF
24114 rm -f conftest.$ac_objext conftest$ac_exeext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24116 (eval $ac_link) 2>conftest.er1
24117 ac_status=$?
24118 grep -v '^ *+' conftest.er1 >conftest.err
24119 rm -f conftest.er1
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try='test -z "$ac_c_werror_flag"
24124 || test ! -s conftest.err'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24127 ac_status=$?
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; } &&
24130 { ac_try='test -s conftest$ac_exeext'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24133 ac_status=$?
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; }; then
24136 ac_cv_lib_m_hypot=yes
24137 else
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.$ac_ext >&5
24141 ac_cv_lib_m_hypot=no
24143 rm -f conftest.err conftest.$ac_objext \
24144 conftest$ac_exeext conftest.$ac_ext
24145 LIBS=$ac_check_lib_save_LIBS
24147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24148 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24149 if test $ac_cv_lib_m_hypot = yes; then
24151 cat >>confdefs.h <<\_ACEOF
24152 #define HAVE_HYPOT 1
24153 _ACEOF
24157 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24158 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24159 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 else
24162 ac_check_lib_save_LIBS=$LIBS
24163 LIBS="-lm $LIBS"
24164 if test x$gcc_no_link = xyes; then
24165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24167 { (exit 1); exit 1; }; }
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24176 /* Override any gcc2 internal prototype to avoid an error. */
24177 #ifdef __cplusplus
24178 extern "C"
24179 #endif
24180 /* We use char because int might match the return type of a gcc2
24181 builtin and then its argument prototype would still apply. */
24182 char hypotl ();
24184 main ()
24186 hypotl ();
24188 return 0;
24190 _ACEOF
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24193 (eval $ac_link) 2>conftest.er1
24194 ac_status=$?
24195 grep -v '^ *+' conftest.er1 >conftest.err
24196 rm -f conftest.er1
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } &&
24200 { ac_try='test -z "$ac_c_werror_flag"
24201 || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try='test -s conftest$ac_exeext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 ac_cv_lib_m_hypotl=yes
24214 else
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24218 ac_cv_lib_m_hypotl=no
24220 rm -f conftest.err conftest.$ac_objext \
24221 conftest$ac_exeext conftest.$ac_ext
24222 LIBS=$ac_check_lib_save_LIBS
24224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24225 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24226 if test $ac_cv_lib_m_hypotl = yes; then
24228 cat >>confdefs.h <<\_ACEOF
24229 #define HAVE_HYPOTL 1
24230 _ACEOF
24234 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24235 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24236 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24237 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 else
24239 ac_check_lib_save_LIBS=$LIBS
24240 LIBS="-lm $LIBS"
24241 if test x$gcc_no_link = xyes; then
24242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24244 { (exit 1); exit 1; }; }
24246 cat >conftest.$ac_ext <<_ACEOF
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24253 /* Override any gcc2 internal prototype to avoid an error. */
24254 #ifdef __cplusplus
24255 extern "C"
24256 #endif
24257 /* We use char because int might match the return type of a gcc2
24258 builtin and then its argument prototype would still apply. */
24259 char ldexpf ();
24261 main ()
24263 ldexpf ();
24265 return 0;
24267 _ACEOF
24268 rm -f conftest.$ac_objext conftest$ac_exeext
24269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24270 (eval $ac_link) 2>conftest.er1
24271 ac_status=$?
24272 grep -v '^ *+' conftest.er1 >conftest.err
24273 rm -f conftest.er1
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } &&
24277 { ac_try='test -z "$ac_c_werror_flag"
24278 || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24281 ac_status=$?
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try='test -s conftest$ac_exeext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 ac_cv_lib_m_ldexpf=yes
24291 else
24292 echo "$as_me: failed program was:" >&5
24293 sed 's/^/| /' conftest.$ac_ext >&5
24295 ac_cv_lib_m_ldexpf=no
24297 rm -f conftest.err conftest.$ac_objext \
24298 conftest$ac_exeext conftest.$ac_ext
24299 LIBS=$ac_check_lib_save_LIBS
24301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24302 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24303 if test $ac_cv_lib_m_ldexpf = yes; then
24305 cat >>confdefs.h <<\_ACEOF
24306 #define HAVE_LDEXPF 1
24307 _ACEOF
24311 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24312 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24313 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24314 echo $ECHO_N "(cached) $ECHO_C" >&6
24315 else
24316 ac_check_lib_save_LIBS=$LIBS
24317 LIBS="-lm $LIBS"
24318 if test x$gcc_no_link = xyes; then
24319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24321 { (exit 1); exit 1; }; }
24323 cat >conftest.$ac_ext <<_ACEOF
24324 /* confdefs.h. */
24325 _ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24330 /* Override any gcc2 internal prototype to avoid an error. */
24331 #ifdef __cplusplus
24332 extern "C"
24333 #endif
24334 /* We use char because int might match the return type of a gcc2
24335 builtin and then its argument prototype would still apply. */
24336 char ldexp ();
24338 main ()
24340 ldexp ();
24342 return 0;
24344 _ACEOF
24345 rm -f conftest.$ac_objext conftest$ac_exeext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24347 (eval $ac_link) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_c_werror_flag"
24355 || test ! -s conftest.err'
24356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24357 (eval $ac_try) 2>&5
24358 ac_status=$?
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); }; } &&
24361 { ac_try='test -s conftest$ac_exeext'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; }; then
24367 ac_cv_lib_m_ldexp=yes
24368 else
24369 echo "$as_me: failed program was:" >&5
24370 sed 's/^/| /' conftest.$ac_ext >&5
24372 ac_cv_lib_m_ldexp=no
24374 rm -f conftest.err conftest.$ac_objext \
24375 conftest$ac_exeext conftest.$ac_ext
24376 LIBS=$ac_check_lib_save_LIBS
24378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24379 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24380 if test $ac_cv_lib_m_ldexp = yes; then
24382 cat >>confdefs.h <<\_ACEOF
24383 #define HAVE_LDEXP 1
24384 _ACEOF
24388 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24389 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24390 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24393 ac_check_lib_save_LIBS=$LIBS
24394 LIBS="-lm $LIBS"
24395 if test x$gcc_no_link = xyes; then
24396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24398 { (exit 1); exit 1; }; }
24400 cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h. */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24407 /* Override any gcc2 internal prototype to avoid an error. */
24408 #ifdef __cplusplus
24409 extern "C"
24410 #endif
24411 /* We use char because int might match the return type of a gcc2
24412 builtin and then its argument prototype would still apply. */
24413 char ldexpl ();
24415 main ()
24417 ldexpl ();
24419 return 0;
24421 _ACEOF
24422 rm -f conftest.$ac_objext conftest$ac_exeext
24423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24424 (eval $ac_link) 2>conftest.er1
24425 ac_status=$?
24426 grep -v '^ *+' conftest.er1 >conftest.err
24427 rm -f conftest.er1
24428 cat conftest.err >&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); } &&
24431 { ac_try='test -z "$ac_c_werror_flag"
24432 || test ! -s conftest.err'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24435 ac_status=$?
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; } &&
24438 { ac_try='test -s conftest$ac_exeext'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; }; then
24444 ac_cv_lib_m_ldexpl=yes
24445 else
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.$ac_ext >&5
24449 ac_cv_lib_m_ldexpl=no
24451 rm -f conftest.err conftest.$ac_objext \
24452 conftest$ac_exeext conftest.$ac_ext
24453 LIBS=$ac_check_lib_save_LIBS
24455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24456 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24457 if test $ac_cv_lib_m_ldexpl = yes; then
24459 cat >>confdefs.h <<\_ACEOF
24460 #define HAVE_LDEXPL 1
24461 _ACEOF
24465 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24466 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24467 if test "${ac_cv_lib_m_logf+set}" = set; then
24468 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 else
24470 ac_check_lib_save_LIBS=$LIBS
24471 LIBS="-lm $LIBS"
24472 if test x$gcc_no_link = xyes; then
24473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24475 { (exit 1); exit 1; }; }
24477 cat >conftest.$ac_ext <<_ACEOF
24478 /* confdefs.h. */
24479 _ACEOF
24480 cat confdefs.h >>conftest.$ac_ext
24481 cat >>conftest.$ac_ext <<_ACEOF
24482 /* end confdefs.h. */
24484 /* Override any gcc2 internal prototype to avoid an error. */
24485 #ifdef __cplusplus
24486 extern "C"
24487 #endif
24488 /* We use char because int might match the return type of a gcc2
24489 builtin and then its argument prototype would still apply. */
24490 char logf ();
24492 main ()
24494 logf ();
24496 return 0;
24498 _ACEOF
24499 rm -f conftest.$ac_objext conftest$ac_exeext
24500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24501 (eval $ac_link) 2>conftest.er1
24502 ac_status=$?
24503 grep -v '^ *+' conftest.er1 >conftest.err
24504 rm -f conftest.er1
24505 cat conftest.err >&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); } &&
24508 { ac_try='test -z "$ac_c_werror_flag"
24509 || test ! -s conftest.err'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; } &&
24515 { ac_try='test -s conftest$ac_exeext'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24518 ac_status=$?
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; }; then
24521 ac_cv_lib_m_logf=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24526 ac_cv_lib_m_logf=no
24528 rm -f conftest.err conftest.$ac_objext \
24529 conftest$ac_exeext conftest.$ac_ext
24530 LIBS=$ac_check_lib_save_LIBS
24532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24533 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24534 if test $ac_cv_lib_m_logf = yes; then
24536 cat >>confdefs.h <<\_ACEOF
24537 #define HAVE_LOGF 1
24538 _ACEOF
24542 echo "$as_me:$LINENO: checking for log in -lm" >&5
24543 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24544 if test "${ac_cv_lib_m_log+set}" = set; then
24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24546 else
24547 ac_check_lib_save_LIBS=$LIBS
24548 LIBS="-lm $LIBS"
24549 if test x$gcc_no_link = xyes; then
24550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24552 { (exit 1); exit 1; }; }
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24561 /* Override any gcc2 internal prototype to avoid an error. */
24562 #ifdef __cplusplus
24563 extern "C"
24564 #endif
24565 /* We use char because int might match the return type of a gcc2
24566 builtin and then its argument prototype would still apply. */
24567 char log ();
24569 main ()
24571 log ();
24573 return 0;
24575 _ACEOF
24576 rm -f conftest.$ac_objext conftest$ac_exeext
24577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24578 (eval $ac_link) 2>conftest.er1
24579 ac_status=$?
24580 grep -v '^ *+' conftest.er1 >conftest.err
24581 rm -f conftest.er1
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } &&
24585 { ac_try='test -z "$ac_c_werror_flag"
24586 || test ! -s conftest.err'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest$ac_exeext'
24593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594 (eval $ac_try) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); }; }; then
24598 ac_cv_lib_m_log=yes
24599 else
24600 echo "$as_me: failed program was:" >&5
24601 sed 's/^/| /' conftest.$ac_ext >&5
24603 ac_cv_lib_m_log=no
24605 rm -f conftest.err conftest.$ac_objext \
24606 conftest$ac_exeext conftest.$ac_ext
24607 LIBS=$ac_check_lib_save_LIBS
24609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24610 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24611 if test $ac_cv_lib_m_log = yes; then
24613 cat >>confdefs.h <<\_ACEOF
24614 #define HAVE_LOG 1
24615 _ACEOF
24619 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24620 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24621 if test "${ac_cv_lib_m_logl+set}" = set; then
24622 echo $ECHO_N "(cached) $ECHO_C" >&6
24623 else
24624 ac_check_lib_save_LIBS=$LIBS
24625 LIBS="-lm $LIBS"
24626 if test x$gcc_no_link = xyes; then
24627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24629 { (exit 1); exit 1; }; }
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24638 /* Override any gcc2 internal prototype to avoid an error. */
24639 #ifdef __cplusplus
24640 extern "C"
24641 #endif
24642 /* We use char because int might match the return type of a gcc2
24643 builtin and then its argument prototype would still apply. */
24644 char logl ();
24646 main ()
24648 logl ();
24650 return 0;
24652 _ACEOF
24653 rm -f conftest.$ac_objext conftest$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24656 ac_status=$?
24657 grep -v '^ *+' conftest.er1 >conftest.err
24658 rm -f conftest.er1
24659 cat conftest.err >&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try='test -z "$ac_c_werror_flag"
24663 || test ! -s conftest.err'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24666 ac_status=$?
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; } &&
24669 { ac_try='test -s conftest$ac_exeext'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24672 ac_status=$?
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 ac_cv_lib_m_logl=yes
24676 else
24677 echo "$as_me: failed program was:" >&5
24678 sed 's/^/| /' conftest.$ac_ext >&5
24680 ac_cv_lib_m_logl=no
24682 rm -f conftest.err conftest.$ac_objext \
24683 conftest$ac_exeext conftest.$ac_ext
24684 LIBS=$ac_check_lib_save_LIBS
24686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24687 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24688 if test $ac_cv_lib_m_logl = yes; then
24690 cat >>confdefs.h <<\_ACEOF
24691 #define HAVE_LOGL 1
24692 _ACEOF
24696 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24697 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24698 if test "${ac_cv_lib_m_clogf+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 else
24701 ac_check_lib_save_LIBS=$LIBS
24702 LIBS="-lm $LIBS"
24703 if test x$gcc_no_link = xyes; then
24704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24706 { (exit 1); exit 1; }; }
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24715 /* Override any gcc2 internal prototype to avoid an error. */
24716 #ifdef __cplusplus
24717 extern "C"
24718 #endif
24719 /* We use char because int might match the return type of a gcc2
24720 builtin and then its argument prototype would still apply. */
24721 char clogf ();
24723 main ()
24725 clogf ();
24727 return 0;
24729 _ACEOF
24730 rm -f conftest.$ac_objext conftest$ac_exeext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24732 (eval $ac_link) 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_c_werror_flag"
24740 || test ! -s conftest.err'
24741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24742 (eval $ac_try) 2>&5
24743 ac_status=$?
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; } &&
24746 { ac_try='test -s conftest$ac_exeext'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24749 ac_status=$?
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; }; then
24752 ac_cv_lib_m_clogf=yes
24753 else
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24757 ac_cv_lib_m_clogf=no
24759 rm -f conftest.err conftest.$ac_objext \
24760 conftest$ac_exeext conftest.$ac_ext
24761 LIBS=$ac_check_lib_save_LIBS
24763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24764 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24765 if test $ac_cv_lib_m_clogf = yes; then
24767 cat >>confdefs.h <<\_ACEOF
24768 #define HAVE_CLOGF 1
24769 _ACEOF
24773 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24774 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24775 if test "${ac_cv_lib_m_clog+set}" = set; then
24776 echo $ECHO_N "(cached) $ECHO_C" >&6
24777 else
24778 ac_check_lib_save_LIBS=$LIBS
24779 LIBS="-lm $LIBS"
24780 if test x$gcc_no_link = xyes; then
24781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24783 { (exit 1); exit 1; }; }
24785 cat >conftest.$ac_ext <<_ACEOF
24786 /* confdefs.h. */
24787 _ACEOF
24788 cat confdefs.h >>conftest.$ac_ext
24789 cat >>conftest.$ac_ext <<_ACEOF
24790 /* end confdefs.h. */
24792 /* Override any gcc2 internal prototype to avoid an error. */
24793 #ifdef __cplusplus
24794 extern "C"
24795 #endif
24796 /* We use char because int might match the return type of a gcc2
24797 builtin and then its argument prototype would still apply. */
24798 char clog ();
24800 main ()
24802 clog ();
24804 return 0;
24806 _ACEOF
24807 rm -f conftest.$ac_objext conftest$ac_exeext
24808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24809 (eval $ac_link) 2>conftest.er1
24810 ac_status=$?
24811 grep -v '^ *+' conftest.er1 >conftest.err
24812 rm -f conftest.er1
24813 cat conftest.err >&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } &&
24816 { ac_try='test -z "$ac_c_werror_flag"
24817 || test ! -s conftest.err'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24820 ac_status=$?
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; } &&
24823 { ac_try='test -s conftest$ac_exeext'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24826 ac_status=$?
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; }; then
24829 ac_cv_lib_m_clog=yes
24830 else
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24834 ac_cv_lib_m_clog=no
24836 rm -f conftest.err conftest.$ac_objext \
24837 conftest$ac_exeext conftest.$ac_ext
24838 LIBS=$ac_check_lib_save_LIBS
24840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24841 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24842 if test $ac_cv_lib_m_clog = yes; then
24844 cat >>confdefs.h <<\_ACEOF
24845 #define HAVE_CLOG 1
24846 _ACEOF
24850 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24851 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24852 if test "${ac_cv_lib_m_clogl+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 else
24855 ac_check_lib_save_LIBS=$LIBS
24856 LIBS="-lm $LIBS"
24857 if test x$gcc_no_link = xyes; then
24858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24860 { (exit 1); exit 1; }; }
24862 cat >conftest.$ac_ext <<_ACEOF
24863 /* confdefs.h. */
24864 _ACEOF
24865 cat confdefs.h >>conftest.$ac_ext
24866 cat >>conftest.$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24869 /* Override any gcc2 internal prototype to avoid an error. */
24870 #ifdef __cplusplus
24871 extern "C"
24872 #endif
24873 /* We use char because int might match the return type of a gcc2
24874 builtin and then its argument prototype would still apply. */
24875 char clogl ();
24877 main ()
24879 clogl ();
24881 return 0;
24883 _ACEOF
24884 rm -f conftest.$ac_objext conftest$ac_exeext
24885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24886 (eval $ac_link) 2>conftest.er1
24887 ac_status=$?
24888 grep -v '^ *+' conftest.er1 >conftest.err
24889 rm -f conftest.er1
24890 cat conftest.err >&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } &&
24893 { ac_try='test -z "$ac_c_werror_flag"
24894 || test ! -s conftest.err'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24897 ac_status=$?
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; } &&
24900 { ac_try='test -s conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24906 ac_cv_lib_m_clogl=yes
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24911 ac_cv_lib_m_clogl=no
24913 rm -f conftest.err conftest.$ac_objext \
24914 conftest$ac_exeext conftest.$ac_ext
24915 LIBS=$ac_check_lib_save_LIBS
24917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24918 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24919 if test $ac_cv_lib_m_clogl = yes; then
24921 cat >>confdefs.h <<\_ACEOF
24922 #define HAVE_CLOGL 1
24923 _ACEOF
24927 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24928 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24929 if test "${ac_cv_lib_m_log10f+set}" = set; then
24930 echo $ECHO_N "(cached) $ECHO_C" >&6
24931 else
24932 ac_check_lib_save_LIBS=$LIBS
24933 LIBS="-lm $LIBS"
24934 if test x$gcc_no_link = xyes; then
24935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24937 { (exit 1); exit 1; }; }
24939 cat >conftest.$ac_ext <<_ACEOF
24940 /* confdefs.h. */
24941 _ACEOF
24942 cat confdefs.h >>conftest.$ac_ext
24943 cat >>conftest.$ac_ext <<_ACEOF
24944 /* end confdefs.h. */
24946 /* Override any gcc2 internal prototype to avoid an error. */
24947 #ifdef __cplusplus
24948 extern "C"
24949 #endif
24950 /* We use char because int might match the return type of a gcc2
24951 builtin and then its argument prototype would still apply. */
24952 char log10f ();
24954 main ()
24956 log10f ();
24958 return 0;
24960 _ACEOF
24961 rm -f conftest.$ac_objext conftest$ac_exeext
24962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24963 (eval $ac_link) 2>conftest.er1
24964 ac_status=$?
24965 grep -v '^ *+' conftest.er1 >conftest.err
24966 rm -f conftest.er1
24967 cat conftest.err >&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); } &&
24970 { ac_try='test -z "$ac_c_werror_flag"
24971 || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24980 ac_status=$?
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_lib_m_log10f=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24988 ac_cv_lib_m_log10f=no
24990 rm -f conftest.err conftest.$ac_objext \
24991 conftest$ac_exeext conftest.$ac_ext
24992 LIBS=$ac_check_lib_save_LIBS
24994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
24995 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
24996 if test $ac_cv_lib_m_log10f = yes; then
24998 cat >>confdefs.h <<\_ACEOF
24999 #define HAVE_LOG10F 1
25000 _ACEOF
25004 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25005 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25006 if test "${ac_cv_lib_m_log10+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 else
25009 ac_check_lib_save_LIBS=$LIBS
25010 LIBS="-lm $LIBS"
25011 if test x$gcc_no_link = xyes; then
25012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25014 { (exit 1); exit 1; }; }
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25023 /* Override any gcc2 internal prototype to avoid an error. */
25024 #ifdef __cplusplus
25025 extern "C"
25026 #endif
25027 /* We use char because int might match the return type of a gcc2
25028 builtin and then its argument prototype would still apply. */
25029 char log10 ();
25031 main ()
25033 log10 ();
25035 return 0;
25037 _ACEOF
25038 rm -f conftest.$ac_objext conftest$ac_exeext
25039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25040 (eval $ac_link) 2>conftest.er1
25041 ac_status=$?
25042 grep -v '^ *+' conftest.er1 >conftest.err
25043 rm -f conftest.er1
25044 cat conftest.err >&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } &&
25047 { ac_try='test -z "$ac_c_werror_flag"
25048 || test ! -s conftest.err'
25049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25050 (eval $ac_try) 2>&5
25051 ac_status=$?
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); }; } &&
25054 { ac_try='test -s conftest$ac_exeext'
25055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056 (eval $ac_try) 2>&5
25057 ac_status=$?
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 ac_cv_lib_m_log10=yes
25061 else
25062 echo "$as_me: failed program was:" >&5
25063 sed 's/^/| /' conftest.$ac_ext >&5
25065 ac_cv_lib_m_log10=no
25067 rm -f conftest.err conftest.$ac_objext \
25068 conftest$ac_exeext conftest.$ac_ext
25069 LIBS=$ac_check_lib_save_LIBS
25071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25072 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25073 if test $ac_cv_lib_m_log10 = yes; then
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_LOG10 1
25077 _ACEOF
25081 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25082 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25083 if test "${ac_cv_lib_m_log10l+set}" = set; then
25084 echo $ECHO_N "(cached) $ECHO_C" >&6
25085 else
25086 ac_check_lib_save_LIBS=$LIBS
25087 LIBS="-lm $LIBS"
25088 if test x$gcc_no_link = xyes; then
25089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25091 { (exit 1); exit 1; }; }
25093 cat >conftest.$ac_ext <<_ACEOF
25094 /* confdefs.h. */
25095 _ACEOF
25096 cat confdefs.h >>conftest.$ac_ext
25097 cat >>conftest.$ac_ext <<_ACEOF
25098 /* end confdefs.h. */
25100 /* Override any gcc2 internal prototype to avoid an error. */
25101 #ifdef __cplusplus
25102 extern "C"
25103 #endif
25104 /* We use char because int might match the return type of a gcc2
25105 builtin and then its argument prototype would still apply. */
25106 char log10l ();
25108 main ()
25110 log10l ();
25112 return 0;
25114 _ACEOF
25115 rm -f conftest.$ac_objext conftest$ac_exeext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25117 (eval $ac_link) 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } &&
25124 { ac_try='test -z "$ac_c_werror_flag"
25125 || test ! -s conftest.err'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; } &&
25131 { ac_try='test -s conftest$ac_exeext'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25134 ac_status=$?
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; }; then
25137 ac_cv_lib_m_log10l=yes
25138 else
25139 echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.$ac_ext >&5
25142 ac_cv_lib_m_log10l=no
25144 rm -f conftest.err conftest.$ac_objext \
25145 conftest$ac_exeext conftest.$ac_ext
25146 LIBS=$ac_check_lib_save_LIBS
25148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25149 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25150 if test $ac_cv_lib_m_log10l = yes; then
25152 cat >>confdefs.h <<\_ACEOF
25153 #define HAVE_LOG10L 1
25154 _ACEOF
25158 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25159 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25160 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 else
25163 ac_check_lib_save_LIBS=$LIBS
25164 LIBS="-lm $LIBS"
25165 if test x$gcc_no_link = xyes; then
25166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25168 { (exit 1); exit 1; }; }
25170 cat >conftest.$ac_ext <<_ACEOF
25171 /* confdefs.h. */
25172 _ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25177 /* Override any gcc2 internal prototype to avoid an error. */
25178 #ifdef __cplusplus
25179 extern "C"
25180 #endif
25181 /* We use char because int might match the return type of a gcc2
25182 builtin and then its argument prototype would still apply. */
25183 char clog10f ();
25185 main ()
25187 clog10f ();
25189 return 0;
25191 _ACEOF
25192 rm -f conftest.$ac_objext conftest$ac_exeext
25193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25194 (eval $ac_link) 2>conftest.er1
25195 ac_status=$?
25196 grep -v '^ *+' conftest.er1 >conftest.err
25197 rm -f conftest.er1
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } &&
25201 { ac_try='test -z "$ac_c_werror_flag"
25202 || test ! -s conftest.err'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25205 ac_status=$?
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; } &&
25208 { ac_try='test -s conftest$ac_exeext'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; }; then
25214 ac_cv_lib_m_clog10f=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25219 ac_cv_lib_m_clog10f=no
25221 rm -f conftest.err conftest.$ac_objext \
25222 conftest$ac_exeext conftest.$ac_ext
25223 LIBS=$ac_check_lib_save_LIBS
25225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25226 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25227 if test $ac_cv_lib_m_clog10f = yes; then
25229 cat >>confdefs.h <<\_ACEOF
25230 #define HAVE_CLOG10F 1
25231 _ACEOF
25235 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25236 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25237 if test "${ac_cv_lib_m_clog10+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240 ac_check_lib_save_LIBS=$LIBS
25241 LIBS="-lm $LIBS"
25242 if test x$gcc_no_link = xyes; then
25243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25245 { (exit 1); exit 1; }; }
25247 cat >conftest.$ac_ext <<_ACEOF
25248 /* confdefs.h. */
25249 _ACEOF
25250 cat confdefs.h >>conftest.$ac_ext
25251 cat >>conftest.$ac_ext <<_ACEOF
25252 /* end confdefs.h. */
25254 /* Override any gcc2 internal prototype to avoid an error. */
25255 #ifdef __cplusplus
25256 extern "C"
25257 #endif
25258 /* We use char because int might match the return type of a gcc2
25259 builtin and then its argument prototype would still apply. */
25260 char clog10 ();
25262 main ()
25264 clog10 ();
25266 return 0;
25268 _ACEOF
25269 rm -f conftest.$ac_objext conftest$ac_exeext
25270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25271 (eval $ac_link) 2>conftest.er1
25272 ac_status=$?
25273 grep -v '^ *+' conftest.er1 >conftest.err
25274 rm -f conftest.er1
25275 cat conftest.err >&5
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); } &&
25278 { ac_try='test -z "$ac_c_werror_flag"
25279 || test ! -s conftest.err'
25280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25281 (eval $ac_try) 2>&5
25282 ac_status=$?
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); }; } &&
25285 { ac_try='test -s conftest$ac_exeext'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25288 ac_status=$?
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; }; then
25291 ac_cv_lib_m_clog10=yes
25292 else
25293 echo "$as_me: failed program was:" >&5
25294 sed 's/^/| /' conftest.$ac_ext >&5
25296 ac_cv_lib_m_clog10=no
25298 rm -f conftest.err conftest.$ac_objext \
25299 conftest$ac_exeext conftest.$ac_ext
25300 LIBS=$ac_check_lib_save_LIBS
25302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25303 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25304 if test $ac_cv_lib_m_clog10 = yes; then
25306 cat >>confdefs.h <<\_ACEOF
25307 #define HAVE_CLOG10 1
25308 _ACEOF
25312 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25313 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25314 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 else
25317 ac_check_lib_save_LIBS=$LIBS
25318 LIBS="-lm $LIBS"
25319 if test x$gcc_no_link = xyes; then
25320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25322 { (exit 1); exit 1; }; }
25324 cat >conftest.$ac_ext <<_ACEOF
25325 /* confdefs.h. */
25326 _ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25331 /* Override any gcc2 internal prototype to avoid an error. */
25332 #ifdef __cplusplus
25333 extern "C"
25334 #endif
25335 /* We use char because int might match the return type of a gcc2
25336 builtin and then its argument prototype would still apply. */
25337 char clog10l ();
25339 main ()
25341 clog10l ();
25343 return 0;
25345 _ACEOF
25346 rm -f conftest.$ac_objext conftest$ac_exeext
25347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25348 (eval $ac_link) 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } &&
25355 { ac_try='test -z "$ac_c_werror_flag"
25356 || test ! -s conftest.err'
25357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25358 (eval $ac_try) 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; } &&
25362 { ac_try='test -s conftest$ac_exeext'
25363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25364 (eval $ac_try) 2>&5
25365 ac_status=$?
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); }; }; then
25368 ac_cv_lib_m_clog10l=yes
25369 else
25370 echo "$as_me: failed program was:" >&5
25371 sed 's/^/| /' conftest.$ac_ext >&5
25373 ac_cv_lib_m_clog10l=no
25375 rm -f conftest.err conftest.$ac_objext \
25376 conftest$ac_exeext conftest.$ac_ext
25377 LIBS=$ac_check_lib_save_LIBS
25379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25380 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25381 if test $ac_cv_lib_m_clog10l = yes; then
25383 cat >>confdefs.h <<\_ACEOF
25384 #define HAVE_CLOG10L 1
25385 _ACEOF
25389 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25390 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25391 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 ac_check_lib_save_LIBS=$LIBS
25395 LIBS="-lm $LIBS"
25396 if test x$gcc_no_link = xyes; then
25397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25399 { (exit 1); exit 1; }; }
25401 cat >conftest.$ac_ext <<_ACEOF
25402 /* confdefs.h. */
25403 _ACEOF
25404 cat confdefs.h >>conftest.$ac_ext
25405 cat >>conftest.$ac_ext <<_ACEOF
25406 /* end confdefs.h. */
25408 /* Override any gcc2 internal prototype to avoid an error. */
25409 #ifdef __cplusplus
25410 extern "C"
25411 #endif
25412 /* We use char because int might match the return type of a gcc2
25413 builtin and then its argument prototype would still apply. */
25414 char nextafterf ();
25416 main ()
25418 nextafterf ();
25420 return 0;
25422 _ACEOF
25423 rm -f conftest.$ac_objext conftest$ac_exeext
25424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25425 (eval $ac_link) 2>conftest.er1
25426 ac_status=$?
25427 grep -v '^ *+' conftest.er1 >conftest.err
25428 rm -f conftest.er1
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } &&
25432 { ac_try='test -z "$ac_c_werror_flag"
25433 || test ! -s conftest.err'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; } &&
25439 { ac_try='test -s conftest$ac_exeext'
25440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441 (eval $ac_try) 2>&5
25442 ac_status=$?
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); }; }; then
25445 ac_cv_lib_m_nextafterf=yes
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25450 ac_cv_lib_m_nextafterf=no
25452 rm -f conftest.err conftest.$ac_objext \
25453 conftest$ac_exeext conftest.$ac_ext
25454 LIBS=$ac_check_lib_save_LIBS
25456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25457 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25458 if test $ac_cv_lib_m_nextafterf = yes; then
25460 cat >>confdefs.h <<\_ACEOF
25461 #define HAVE_NEXTAFTERF 1
25462 _ACEOF
25466 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25467 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25468 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25470 else
25471 ac_check_lib_save_LIBS=$LIBS
25472 LIBS="-lm $LIBS"
25473 if test x$gcc_no_link = xyes; then
25474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25476 { (exit 1); exit 1; }; }
25478 cat >conftest.$ac_ext <<_ACEOF
25479 /* confdefs.h. */
25480 _ACEOF
25481 cat confdefs.h >>conftest.$ac_ext
25482 cat >>conftest.$ac_ext <<_ACEOF
25483 /* end confdefs.h. */
25485 /* Override any gcc2 internal prototype to avoid an error. */
25486 #ifdef __cplusplus
25487 extern "C"
25488 #endif
25489 /* We use char because int might match the return type of a gcc2
25490 builtin and then its argument prototype would still apply. */
25491 char nextafter ();
25493 main ()
25495 nextafter ();
25497 return 0;
25499 _ACEOF
25500 rm -f conftest.$ac_objext conftest$ac_exeext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25502 (eval $ac_link) 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try='test -z "$ac_c_werror_flag"
25510 || test ! -s conftest.err'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25513 ac_status=$?
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; } &&
25516 { ac_try='test -s conftest$ac_exeext'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25519 ac_status=$?
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; }; then
25522 ac_cv_lib_m_nextafter=yes
25523 else
25524 echo "$as_me: failed program was:" >&5
25525 sed 's/^/| /' conftest.$ac_ext >&5
25527 ac_cv_lib_m_nextafter=no
25529 rm -f conftest.err conftest.$ac_objext \
25530 conftest$ac_exeext conftest.$ac_ext
25531 LIBS=$ac_check_lib_save_LIBS
25533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25534 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25535 if test $ac_cv_lib_m_nextafter = yes; then
25537 cat >>confdefs.h <<\_ACEOF
25538 #define HAVE_NEXTAFTER 1
25539 _ACEOF
25543 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25544 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25545 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548 ac_check_lib_save_LIBS=$LIBS
25549 LIBS="-lm $LIBS"
25550 if test x$gcc_no_link = xyes; then
25551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25553 { (exit 1); exit 1; }; }
25555 cat >conftest.$ac_ext <<_ACEOF
25556 /* confdefs.h. */
25557 _ACEOF
25558 cat confdefs.h >>conftest.$ac_ext
25559 cat >>conftest.$ac_ext <<_ACEOF
25560 /* end confdefs.h. */
25562 /* Override any gcc2 internal prototype to avoid an error. */
25563 #ifdef __cplusplus
25564 extern "C"
25565 #endif
25566 /* We use char because int might match the return type of a gcc2
25567 builtin and then its argument prototype would still apply. */
25568 char nextafterl ();
25570 main ()
25572 nextafterl ();
25574 return 0;
25576 _ACEOF
25577 rm -f conftest.$ac_objext conftest$ac_exeext
25578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25579 (eval $ac_link) 2>conftest.er1
25580 ac_status=$?
25581 grep -v '^ *+' conftest.er1 >conftest.err
25582 rm -f conftest.er1
25583 cat conftest.err >&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } &&
25586 { ac_try='test -z "$ac_c_werror_flag"
25587 || test ! -s conftest.err'
25588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589 (eval $ac_try) 2>&5
25590 ac_status=$?
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); }; } &&
25593 { ac_try='test -s conftest$ac_exeext'
25594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25595 (eval $ac_try) 2>&5
25596 ac_status=$?
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); }; }; then
25599 ac_cv_lib_m_nextafterl=yes
25600 else
25601 echo "$as_me: failed program was:" >&5
25602 sed 's/^/| /' conftest.$ac_ext >&5
25604 ac_cv_lib_m_nextafterl=no
25606 rm -f conftest.err conftest.$ac_objext \
25607 conftest$ac_exeext conftest.$ac_ext
25608 LIBS=$ac_check_lib_save_LIBS
25610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25611 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25612 if test $ac_cv_lib_m_nextafterl = yes; then
25614 cat >>confdefs.h <<\_ACEOF
25615 #define HAVE_NEXTAFTERL 1
25616 _ACEOF
25620 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25621 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25622 if test "${ac_cv_lib_m_powf+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625 ac_check_lib_save_LIBS=$LIBS
25626 LIBS="-lm $LIBS"
25627 if test x$gcc_no_link = xyes; then
25628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25630 { (exit 1); exit 1; }; }
25632 cat >conftest.$ac_ext <<_ACEOF
25633 /* confdefs.h. */
25634 _ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25639 /* Override any gcc2 internal prototype to avoid an error. */
25640 #ifdef __cplusplus
25641 extern "C"
25642 #endif
25643 /* We use char because int might match the return type of a gcc2
25644 builtin and then its argument prototype would still apply. */
25645 char powf ();
25647 main ()
25649 powf ();
25651 return 0;
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25656 (eval $ac_link) 2>conftest.er1
25657 ac_status=$?
25658 grep -v '^ *+' conftest.er1 >conftest.err
25659 rm -f conftest.er1
25660 cat conftest.err >&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try='test -z "$ac_c_werror_flag"
25664 || test ! -s conftest.err'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; } &&
25670 { ac_try='test -s conftest$ac_exeext'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25673 ac_status=$?
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; }; then
25676 ac_cv_lib_m_powf=yes
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25681 ac_cv_lib_m_powf=no
25683 rm -f conftest.err conftest.$ac_objext \
25684 conftest$ac_exeext conftest.$ac_ext
25685 LIBS=$ac_check_lib_save_LIBS
25687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25688 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25689 if test $ac_cv_lib_m_powf = yes; then
25691 cat >>confdefs.h <<\_ACEOF
25692 #define HAVE_POWF 1
25693 _ACEOF
25697 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25698 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25699 if test "${ac_cv_lib_m_pow+set}" = set; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702 ac_check_lib_save_LIBS=$LIBS
25703 LIBS="-lm $LIBS"
25704 if test x$gcc_no_link = xyes; then
25705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25707 { (exit 1); exit 1; }; }
25709 cat >conftest.$ac_ext <<_ACEOF
25710 /* confdefs.h. */
25711 _ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25716 /* Override any gcc2 internal prototype to avoid an error. */
25717 #ifdef __cplusplus
25718 extern "C"
25719 #endif
25720 /* We use char because int might match the return type of a gcc2
25721 builtin and then its argument prototype would still apply. */
25722 char pow ();
25724 main ()
25726 pow ();
25728 return 0;
25730 _ACEOF
25731 rm -f conftest.$ac_objext conftest$ac_exeext
25732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25733 (eval $ac_link) 2>conftest.er1
25734 ac_status=$?
25735 grep -v '^ *+' conftest.er1 >conftest.err
25736 rm -f conftest.er1
25737 cat conftest.err >&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); } &&
25740 { ac_try='test -z "$ac_c_werror_flag"
25741 || test ! -s conftest.err'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25744 ac_status=$?
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; } &&
25747 { ac_try='test -s conftest$ac_exeext'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25750 ac_status=$?
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; }; then
25753 ac_cv_lib_m_pow=yes
25754 else
25755 echo "$as_me: failed program was:" >&5
25756 sed 's/^/| /' conftest.$ac_ext >&5
25758 ac_cv_lib_m_pow=no
25760 rm -f conftest.err conftest.$ac_objext \
25761 conftest$ac_exeext conftest.$ac_ext
25762 LIBS=$ac_check_lib_save_LIBS
25764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25765 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25766 if test $ac_cv_lib_m_pow = yes; then
25768 cat >>confdefs.h <<\_ACEOF
25769 #define HAVE_POW 1
25770 _ACEOF
25774 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25775 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25776 if test "${ac_cv_lib_m_powl+set}" = set; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25779 ac_check_lib_save_LIBS=$LIBS
25780 LIBS="-lm $LIBS"
25781 if test x$gcc_no_link = xyes; then
25782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25784 { (exit 1); exit 1; }; }
25786 cat >conftest.$ac_ext <<_ACEOF
25787 /* confdefs.h. */
25788 _ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25793 /* Override any gcc2 internal prototype to avoid an error. */
25794 #ifdef __cplusplus
25795 extern "C"
25796 #endif
25797 /* We use char because int might match the return type of a gcc2
25798 builtin and then its argument prototype would still apply. */
25799 char powl ();
25801 main ()
25803 powl ();
25805 return 0;
25807 _ACEOF
25808 rm -f conftest.$ac_objext conftest$ac_exeext
25809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25810 (eval $ac_link) 2>conftest.er1
25811 ac_status=$?
25812 grep -v '^ *+' conftest.er1 >conftest.err
25813 rm -f conftest.er1
25814 cat conftest.err >&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try='test -z "$ac_c_werror_flag"
25818 || test ! -s conftest.err'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25821 ac_status=$?
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; } &&
25824 { ac_try='test -s conftest$ac_exeext'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25827 ac_status=$?
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; }; then
25830 ac_cv_lib_m_powl=yes
25831 else
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25835 ac_cv_lib_m_powl=no
25837 rm -f conftest.err conftest.$ac_objext \
25838 conftest$ac_exeext conftest.$ac_ext
25839 LIBS=$ac_check_lib_save_LIBS
25841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25842 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25843 if test $ac_cv_lib_m_powl = yes; then
25845 cat >>confdefs.h <<\_ACEOF
25846 #define HAVE_POWL 1
25847 _ACEOF
25851 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25852 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25853 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25854 echo $ECHO_N "(cached) $ECHO_C" >&6
25855 else
25856 ac_check_lib_save_LIBS=$LIBS
25857 LIBS="-lm $LIBS"
25858 if test x$gcc_no_link = xyes; then
25859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25861 { (exit 1); exit 1; }; }
25863 cat >conftest.$ac_ext <<_ACEOF
25864 /* confdefs.h. */
25865 _ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25870 /* Override any gcc2 internal prototype to avoid an error. */
25871 #ifdef __cplusplus
25872 extern "C"
25873 #endif
25874 /* We use char because int might match the return type of a gcc2
25875 builtin and then its argument prototype would still apply. */
25876 char cpowf ();
25878 main ()
25880 cpowf ();
25882 return 0;
25884 _ACEOF
25885 rm -f conftest.$ac_objext conftest$ac_exeext
25886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25887 (eval $ac_link) 2>conftest.er1
25888 ac_status=$?
25889 grep -v '^ *+' conftest.er1 >conftest.err
25890 rm -f conftest.er1
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try='test -z "$ac_c_werror_flag"
25895 || test ! -s conftest.err'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25898 ac_status=$?
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; } &&
25901 { ac_try='test -s conftest$ac_exeext'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25904 ac_status=$?
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; }; then
25907 ac_cv_lib_m_cpowf=yes
25908 else
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.$ac_ext >&5
25912 ac_cv_lib_m_cpowf=no
25914 rm -f conftest.err conftest.$ac_objext \
25915 conftest$ac_exeext conftest.$ac_ext
25916 LIBS=$ac_check_lib_save_LIBS
25918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25919 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25920 if test $ac_cv_lib_m_cpowf = yes; then
25922 cat >>confdefs.h <<\_ACEOF
25923 #define HAVE_CPOWF 1
25924 _ACEOF
25928 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25929 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25930 if test "${ac_cv_lib_m_cpow+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 else
25933 ac_check_lib_save_LIBS=$LIBS
25934 LIBS="-lm $LIBS"
25935 if test x$gcc_no_link = xyes; then
25936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25938 { (exit 1); exit 1; }; }
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25947 /* Override any gcc2 internal prototype to avoid an error. */
25948 #ifdef __cplusplus
25949 extern "C"
25950 #endif
25951 /* We use char because int might match the return type of a gcc2
25952 builtin and then its argument prototype would still apply. */
25953 char cpow ();
25955 main ()
25957 cpow ();
25959 return 0;
25961 _ACEOF
25962 rm -f conftest.$ac_objext conftest$ac_exeext
25963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25964 (eval $ac_link) 2>conftest.er1
25965 ac_status=$?
25966 grep -v '^ *+' conftest.er1 >conftest.err
25967 rm -f conftest.er1
25968 cat conftest.err >&5
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); } &&
25971 { ac_try='test -z "$ac_c_werror_flag"
25972 || test ! -s conftest.err'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25975 ac_status=$?
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; } &&
25978 { ac_try='test -s conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25981 ac_status=$?
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25984 ac_cv_lib_m_cpow=yes
25985 else
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.$ac_ext >&5
25989 ac_cv_lib_m_cpow=no
25991 rm -f conftest.err conftest.$ac_objext \
25992 conftest$ac_exeext conftest.$ac_ext
25993 LIBS=$ac_check_lib_save_LIBS
25995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
25996 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
25997 if test $ac_cv_lib_m_cpow = yes; then
25999 cat >>confdefs.h <<\_ACEOF
26000 #define HAVE_CPOW 1
26001 _ACEOF
26005 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26006 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26007 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 else
26010 ac_check_lib_save_LIBS=$LIBS
26011 LIBS="-lm $LIBS"
26012 if test x$gcc_no_link = xyes; then
26013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26015 { (exit 1); exit 1; }; }
26017 cat >conftest.$ac_ext <<_ACEOF
26018 /* confdefs.h. */
26019 _ACEOF
26020 cat confdefs.h >>conftest.$ac_ext
26021 cat >>conftest.$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26024 /* Override any gcc2 internal prototype to avoid an error. */
26025 #ifdef __cplusplus
26026 extern "C"
26027 #endif
26028 /* We use char because int might match the return type of a gcc2
26029 builtin and then its argument prototype would still apply. */
26030 char cpowl ();
26032 main ()
26034 cpowl ();
26036 return 0;
26038 _ACEOF
26039 rm -f conftest.$ac_objext conftest$ac_exeext
26040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26041 (eval $ac_link) 2>conftest.er1
26042 ac_status=$?
26043 grep -v '^ *+' conftest.er1 >conftest.err
26044 rm -f conftest.er1
26045 cat conftest.err >&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } &&
26048 { ac_try='test -z "$ac_c_werror_flag"
26049 || test ! -s conftest.err'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; } &&
26055 { ac_try='test -s conftest$ac_exeext'
26056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057 (eval $ac_try) 2>&5
26058 ac_status=$?
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; }; then
26061 ac_cv_lib_m_cpowl=yes
26062 else
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26066 ac_cv_lib_m_cpowl=no
26068 rm -f conftest.err conftest.$ac_objext \
26069 conftest$ac_exeext conftest.$ac_ext
26070 LIBS=$ac_check_lib_save_LIBS
26072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26073 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26074 if test $ac_cv_lib_m_cpowl = yes; then
26076 cat >>confdefs.h <<\_ACEOF
26077 #define HAVE_CPOWL 1
26078 _ACEOF
26082 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26083 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26084 if test "${ac_cv_lib_m_roundf+set}" = set; then
26085 echo $ECHO_N "(cached) $ECHO_C" >&6
26086 else
26087 ac_check_lib_save_LIBS=$LIBS
26088 LIBS="-lm $LIBS"
26089 if test x$gcc_no_link = xyes; then
26090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26092 { (exit 1); exit 1; }; }
26094 cat >conftest.$ac_ext <<_ACEOF
26095 /* confdefs.h. */
26096 _ACEOF
26097 cat confdefs.h >>conftest.$ac_ext
26098 cat >>conftest.$ac_ext <<_ACEOF
26099 /* end confdefs.h. */
26101 /* Override any gcc2 internal prototype to avoid an error. */
26102 #ifdef __cplusplus
26103 extern "C"
26104 #endif
26105 /* We use char because int might match the return type of a gcc2
26106 builtin and then its argument prototype would still apply. */
26107 char roundf ();
26109 main ()
26111 roundf ();
26113 return 0;
26115 _ACEOF
26116 rm -f conftest.$ac_objext conftest$ac_exeext
26117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26118 (eval $ac_link) 2>conftest.er1
26119 ac_status=$?
26120 grep -v '^ *+' conftest.er1 >conftest.err
26121 rm -f conftest.er1
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try='test -z "$ac_c_werror_flag"
26126 || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try='test -s conftest$ac_exeext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 ac_cv_lib_m_roundf=yes
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26143 ac_cv_lib_m_roundf=no
26145 rm -f conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26147 LIBS=$ac_check_lib_save_LIBS
26149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26150 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26151 if test $ac_cv_lib_m_roundf = yes; then
26153 cat >>confdefs.h <<\_ACEOF
26154 #define HAVE_ROUNDF 1
26155 _ACEOF
26159 echo "$as_me:$LINENO: checking for round in -lm" >&5
26160 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26161 if test "${ac_cv_lib_m_round+set}" = set; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 else
26164 ac_check_lib_save_LIBS=$LIBS
26165 LIBS="-lm $LIBS"
26166 if test x$gcc_no_link = xyes; then
26167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26169 { (exit 1); exit 1; }; }
26171 cat >conftest.$ac_ext <<_ACEOF
26172 /* confdefs.h. */
26173 _ACEOF
26174 cat confdefs.h >>conftest.$ac_ext
26175 cat >>conftest.$ac_ext <<_ACEOF
26176 /* end confdefs.h. */
26178 /* Override any gcc2 internal prototype to avoid an error. */
26179 #ifdef __cplusplus
26180 extern "C"
26181 #endif
26182 /* We use char because int might match the return type of a gcc2
26183 builtin and then its argument prototype would still apply. */
26184 char round ();
26186 main ()
26188 round ();
26190 return 0;
26192 _ACEOF
26193 rm -f conftest.$ac_objext conftest$ac_exeext
26194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26195 (eval $ac_link) 2>conftest.er1
26196 ac_status=$?
26197 grep -v '^ *+' conftest.er1 >conftest.err
26198 rm -f conftest.er1
26199 cat conftest.err >&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); } &&
26202 { ac_try='test -z "$ac_c_werror_flag"
26203 || test ! -s conftest.err'
26204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26205 (eval $ac_try) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); }; } &&
26209 { ac_try='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 ac_cv_lib_m_round=yes
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26220 ac_cv_lib_m_round=no
26222 rm -f conftest.err conftest.$ac_objext \
26223 conftest$ac_exeext conftest.$ac_ext
26224 LIBS=$ac_check_lib_save_LIBS
26226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26227 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26228 if test $ac_cv_lib_m_round = yes; then
26230 cat >>confdefs.h <<\_ACEOF
26231 #define HAVE_ROUND 1
26232 _ACEOF
26236 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26237 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26238 if test "${ac_cv_lib_m_roundl+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 else
26241 ac_check_lib_save_LIBS=$LIBS
26242 LIBS="-lm $LIBS"
26243 if test x$gcc_no_link = xyes; then
26244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26246 { (exit 1); exit 1; }; }
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26255 /* Override any gcc2 internal prototype to avoid an error. */
26256 #ifdef __cplusplus
26257 extern "C"
26258 #endif
26259 /* We use char because int might match the return type of a gcc2
26260 builtin and then its argument prototype would still apply. */
26261 char roundl ();
26263 main ()
26265 roundl ();
26267 return 0;
26269 _ACEOF
26270 rm -f conftest.$ac_objext conftest$ac_exeext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26272 (eval $ac_link) 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try='test -z "$ac_c_werror_flag"
26280 || test ! -s conftest.err'
26281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282 (eval $ac_try) 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; } &&
26286 { ac_try='test -s conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 ac_cv_lib_m_roundl=yes
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26297 ac_cv_lib_m_roundl=no
26299 rm -f conftest.err conftest.$ac_objext \
26300 conftest$ac_exeext conftest.$ac_ext
26301 LIBS=$ac_check_lib_save_LIBS
26303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26304 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26305 if test $ac_cv_lib_m_roundl = yes; then
26307 cat >>confdefs.h <<\_ACEOF
26308 #define HAVE_ROUNDL 1
26309 _ACEOF
26313 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26314 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26315 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26316 echo $ECHO_N "(cached) $ECHO_C" >&6
26317 else
26318 ac_check_lib_save_LIBS=$LIBS
26319 LIBS="-lm $LIBS"
26320 if test x$gcc_no_link = xyes; then
26321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26323 { (exit 1); exit 1; }; }
26325 cat >conftest.$ac_ext <<_ACEOF
26326 /* confdefs.h. */
26327 _ACEOF
26328 cat confdefs.h >>conftest.$ac_ext
26329 cat >>conftest.$ac_ext <<_ACEOF
26330 /* end confdefs.h. */
26332 /* Override any gcc2 internal prototype to avoid an error. */
26333 #ifdef __cplusplus
26334 extern "C"
26335 #endif
26336 /* We use char because int might match the return type of a gcc2
26337 builtin and then its argument prototype would still apply. */
26338 char scalbnf ();
26340 main ()
26342 scalbnf ();
26344 return 0;
26346 _ACEOF
26347 rm -f conftest.$ac_objext conftest$ac_exeext
26348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26349 (eval $ac_link) 2>conftest.er1
26350 ac_status=$?
26351 grep -v '^ *+' conftest.er1 >conftest.err
26352 rm -f conftest.er1
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } &&
26356 { ac_try='test -z "$ac_c_werror_flag"
26357 || test ! -s conftest.err'
26358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26359 (eval $ac_try) 2>&5
26360 ac_status=$?
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); }; } &&
26363 { ac_try='test -s conftest$ac_exeext'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26366 ac_status=$?
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; }; then
26369 ac_cv_lib_m_scalbnf=yes
26370 else
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.$ac_ext >&5
26374 ac_cv_lib_m_scalbnf=no
26376 rm -f conftest.err conftest.$ac_objext \
26377 conftest$ac_exeext conftest.$ac_ext
26378 LIBS=$ac_check_lib_save_LIBS
26380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26381 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26382 if test $ac_cv_lib_m_scalbnf = yes; then
26384 cat >>confdefs.h <<\_ACEOF
26385 #define HAVE_SCALBNF 1
26386 _ACEOF
26390 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26391 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26392 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395 ac_check_lib_save_LIBS=$LIBS
26396 LIBS="-lm $LIBS"
26397 if test x$gcc_no_link = xyes; then
26398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26400 { (exit 1); exit 1; }; }
26402 cat >conftest.$ac_ext <<_ACEOF
26403 /* confdefs.h. */
26404 _ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h. */
26409 /* Override any gcc2 internal prototype to avoid an error. */
26410 #ifdef __cplusplus
26411 extern "C"
26412 #endif
26413 /* We use char because int might match the return type of a gcc2
26414 builtin and then its argument prototype would still apply. */
26415 char scalbn ();
26417 main ()
26419 scalbn ();
26421 return 0;
26423 _ACEOF
26424 rm -f conftest.$ac_objext conftest$ac_exeext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26426 (eval $ac_link) 2>conftest.er1
26427 ac_status=$?
26428 grep -v '^ *+' conftest.er1 >conftest.err
26429 rm -f conftest.er1
26430 cat conftest.err >&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); } &&
26433 { ac_try='test -z "$ac_c_werror_flag"
26434 || test ! -s conftest.err'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; } &&
26440 { ac_try='test -s conftest$ac_exeext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 ac_cv_lib_m_scalbn=yes
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26451 ac_cv_lib_m_scalbn=no
26453 rm -f conftest.err conftest.$ac_objext \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26458 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26459 if test $ac_cv_lib_m_scalbn = yes; then
26461 cat >>confdefs.h <<\_ACEOF
26462 #define HAVE_SCALBN 1
26463 _ACEOF
26467 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26468 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26469 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26470 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472 ac_check_lib_save_LIBS=$LIBS
26473 LIBS="-lm $LIBS"
26474 if test x$gcc_no_link = xyes; then
26475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26477 { (exit 1); exit 1; }; }
26479 cat >conftest.$ac_ext <<_ACEOF
26480 /* confdefs.h. */
26481 _ACEOF
26482 cat confdefs.h >>conftest.$ac_ext
26483 cat >>conftest.$ac_ext <<_ACEOF
26484 /* end confdefs.h. */
26486 /* Override any gcc2 internal prototype to avoid an error. */
26487 #ifdef __cplusplus
26488 extern "C"
26489 #endif
26490 /* We use char because int might match the return type of a gcc2
26491 builtin and then its argument prototype would still apply. */
26492 char scalbnl ();
26494 main ()
26496 scalbnl ();
26498 return 0;
26500 _ACEOF
26501 rm -f conftest.$ac_objext conftest$ac_exeext
26502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26503 (eval $ac_link) 2>conftest.er1
26504 ac_status=$?
26505 grep -v '^ *+' conftest.er1 >conftest.err
26506 rm -f conftest.er1
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try='test -z "$ac_c_werror_flag"
26511 || test ! -s conftest.err'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26514 ac_status=$?
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; } &&
26517 { ac_try='test -s conftest$ac_exeext'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26520 ac_status=$?
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; }; then
26523 ac_cv_lib_m_scalbnl=yes
26524 else
26525 echo "$as_me: failed program was:" >&5
26526 sed 's/^/| /' conftest.$ac_ext >&5
26528 ac_cv_lib_m_scalbnl=no
26530 rm -f conftest.err conftest.$ac_objext \
26531 conftest$ac_exeext conftest.$ac_ext
26532 LIBS=$ac_check_lib_save_LIBS
26534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
26535 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
26536 if test $ac_cv_lib_m_scalbnl = yes; then
26538 cat >>confdefs.h <<\_ACEOF
26539 #define HAVE_SCALBNL 1
26540 _ACEOF
26544 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
26545 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
26546 if test "${ac_cv_lib_m_sinf+set}" = set; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 else
26549 ac_check_lib_save_LIBS=$LIBS
26550 LIBS="-lm $LIBS"
26551 if test x$gcc_no_link = xyes; then
26552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26554 { (exit 1); exit 1; }; }
26556 cat >conftest.$ac_ext <<_ACEOF
26557 /* confdefs.h. */
26558 _ACEOF
26559 cat confdefs.h >>conftest.$ac_ext
26560 cat >>conftest.$ac_ext <<_ACEOF
26561 /* end confdefs.h. */
26563 /* Override any gcc2 internal prototype to avoid an error. */
26564 #ifdef __cplusplus
26565 extern "C"
26566 #endif
26567 /* We use char because int might match the return type of a gcc2
26568 builtin and then its argument prototype would still apply. */
26569 char sinf ();
26571 main ()
26573 sinf ();
26575 return 0;
26577 _ACEOF
26578 rm -f conftest.$ac_objext conftest$ac_exeext
26579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26580 (eval $ac_link) 2>conftest.er1
26581 ac_status=$?
26582 grep -v '^ *+' conftest.er1 >conftest.err
26583 rm -f conftest.er1
26584 cat conftest.err >&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); } &&
26587 { ac_try='test -z "$ac_c_werror_flag"
26588 || test ! -s conftest.err'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; } &&
26594 { ac_try='test -s conftest$ac_exeext'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; }; then
26600 ac_cv_lib_m_sinf=yes
26601 else
26602 echo "$as_me: failed program was:" >&5
26603 sed 's/^/| /' conftest.$ac_ext >&5
26605 ac_cv_lib_m_sinf=no
26607 rm -f conftest.err conftest.$ac_objext \
26608 conftest$ac_exeext conftest.$ac_ext
26609 LIBS=$ac_check_lib_save_LIBS
26611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
26612 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
26613 if test $ac_cv_lib_m_sinf = yes; then
26615 cat >>confdefs.h <<\_ACEOF
26616 #define HAVE_SINF 1
26617 _ACEOF
26621 echo "$as_me:$LINENO: checking for sin in -lm" >&5
26622 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
26623 if test "${ac_cv_lib_m_sin+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 else
26626 ac_check_lib_save_LIBS=$LIBS
26627 LIBS="-lm $LIBS"
26628 if test x$gcc_no_link = xyes; then
26629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26631 { (exit 1); exit 1; }; }
26633 cat >conftest.$ac_ext <<_ACEOF
26634 /* confdefs.h. */
26635 _ACEOF
26636 cat confdefs.h >>conftest.$ac_ext
26637 cat >>conftest.$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26640 /* Override any gcc2 internal prototype to avoid an error. */
26641 #ifdef __cplusplus
26642 extern "C"
26643 #endif
26644 /* We use char because int might match the return type of a gcc2
26645 builtin and then its argument prototype would still apply. */
26646 char sin ();
26648 main ()
26650 sin ();
26652 return 0;
26654 _ACEOF
26655 rm -f conftest.$ac_objext conftest$ac_exeext
26656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26657 (eval $ac_link) 2>conftest.er1
26658 ac_status=$?
26659 grep -v '^ *+' conftest.er1 >conftest.err
26660 rm -f conftest.er1
26661 cat conftest.err >&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } &&
26664 { ac_try='test -z "$ac_c_werror_flag"
26665 || test ! -s conftest.err'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26668 ac_status=$?
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; } &&
26671 { ac_try='test -s conftest$ac_exeext'
26672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673 (eval $ac_try) 2>&5
26674 ac_status=$?
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; }; then
26677 ac_cv_lib_m_sin=yes
26678 else
26679 echo "$as_me: failed program was:" >&5
26680 sed 's/^/| /' conftest.$ac_ext >&5
26682 ac_cv_lib_m_sin=no
26684 rm -f conftest.err conftest.$ac_objext \
26685 conftest$ac_exeext conftest.$ac_ext
26686 LIBS=$ac_check_lib_save_LIBS
26688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
26689 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
26690 if test $ac_cv_lib_m_sin = yes; then
26692 cat >>confdefs.h <<\_ACEOF
26693 #define HAVE_SIN 1
26694 _ACEOF
26698 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
26699 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
26700 if test "${ac_cv_lib_m_sinl+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 ac_check_lib_save_LIBS=$LIBS
26704 LIBS="-lm $LIBS"
26705 if test x$gcc_no_link = xyes; then
26706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26708 { (exit 1); exit 1; }; }
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26717 /* Override any gcc2 internal prototype to avoid an error. */
26718 #ifdef __cplusplus
26719 extern "C"
26720 #endif
26721 /* We use char because int might match the return type of a gcc2
26722 builtin and then its argument prototype would still apply. */
26723 char sinl ();
26725 main ()
26727 sinl ();
26729 return 0;
26731 _ACEOF
26732 rm -f conftest.$ac_objext conftest$ac_exeext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26734 (eval $ac_link) 2>conftest.er1
26735 ac_status=$?
26736 grep -v '^ *+' conftest.er1 >conftest.err
26737 rm -f conftest.er1
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try='test -z "$ac_c_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 ac_cv_lib_m_sinl=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26759 ac_cv_lib_m_sinl=no
26761 rm -f conftest.err conftest.$ac_objext \
26762 conftest$ac_exeext conftest.$ac_ext
26763 LIBS=$ac_check_lib_save_LIBS
26765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
26766 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
26767 if test $ac_cv_lib_m_sinl = yes; then
26769 cat >>confdefs.h <<\_ACEOF
26770 #define HAVE_SINL 1
26771 _ACEOF
26775 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
26776 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
26777 if test "${ac_cv_lib_m_csinf+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 else
26780 ac_check_lib_save_LIBS=$LIBS
26781 LIBS="-lm $LIBS"
26782 if test x$gcc_no_link = xyes; then
26783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26785 { (exit 1); exit 1; }; }
26787 cat >conftest.$ac_ext <<_ACEOF
26788 /* confdefs.h. */
26789 _ACEOF
26790 cat confdefs.h >>conftest.$ac_ext
26791 cat >>conftest.$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26794 /* Override any gcc2 internal prototype to avoid an error. */
26795 #ifdef __cplusplus
26796 extern "C"
26797 #endif
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char csinf ();
26802 main ()
26804 csinf ();
26806 return 0;
26808 _ACEOF
26809 rm -f conftest.$ac_objext conftest$ac_exeext
26810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26811 (eval $ac_link) 2>conftest.er1
26812 ac_status=$?
26813 grep -v '^ *+' conftest.er1 >conftest.err
26814 rm -f conftest.er1
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -z "$ac_c_werror_flag"
26819 || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26822 ac_status=$?
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_lib_m_csinf=yes
26832 else
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.$ac_ext >&5
26836 ac_cv_lib_m_csinf=no
26838 rm -f conftest.err conftest.$ac_objext \
26839 conftest$ac_exeext conftest.$ac_ext
26840 LIBS=$ac_check_lib_save_LIBS
26842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
26843 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
26844 if test $ac_cv_lib_m_csinf = yes; then
26846 cat >>confdefs.h <<\_ACEOF
26847 #define HAVE_CSINF 1
26848 _ACEOF
26852 echo "$as_me:$LINENO: checking for csin in -lm" >&5
26853 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
26854 if test "${ac_cv_lib_m_csin+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26857 ac_check_lib_save_LIBS=$LIBS
26858 LIBS="-lm $LIBS"
26859 if test x$gcc_no_link = xyes; then
26860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26862 { (exit 1); exit 1; }; }
26864 cat >conftest.$ac_ext <<_ACEOF
26865 /* confdefs.h. */
26866 _ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26871 /* Override any gcc2 internal prototype to avoid an error. */
26872 #ifdef __cplusplus
26873 extern "C"
26874 #endif
26875 /* We use char because int might match the return type of a gcc2
26876 builtin and then its argument prototype would still apply. */
26877 char csin ();
26879 main ()
26881 csin ();
26883 return 0;
26885 _ACEOF
26886 rm -f conftest.$ac_objext conftest$ac_exeext
26887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26888 (eval $ac_link) 2>conftest.er1
26889 ac_status=$?
26890 grep -v '^ *+' conftest.er1 >conftest.err
26891 rm -f conftest.er1
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } &&
26895 { ac_try='test -z "$ac_c_werror_flag"
26896 || test ! -s conftest.err'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; } &&
26902 { ac_try='test -s conftest$ac_exeext'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26905 ac_status=$?
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; }; then
26908 ac_cv_lib_m_csin=yes
26909 else
26910 echo "$as_me: failed program was:" >&5
26911 sed 's/^/| /' conftest.$ac_ext >&5
26913 ac_cv_lib_m_csin=no
26915 rm -f conftest.err conftest.$ac_objext \
26916 conftest$ac_exeext conftest.$ac_ext
26917 LIBS=$ac_check_lib_save_LIBS
26919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
26920 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
26921 if test $ac_cv_lib_m_csin = yes; then
26923 cat >>confdefs.h <<\_ACEOF
26924 #define HAVE_CSIN 1
26925 _ACEOF
26929 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
26930 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
26931 if test "${ac_cv_lib_m_csinl+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 else
26934 ac_check_lib_save_LIBS=$LIBS
26935 LIBS="-lm $LIBS"
26936 if test x$gcc_no_link = xyes; then
26937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26939 { (exit 1); exit 1; }; }
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26948 /* Override any gcc2 internal prototype to avoid an error. */
26949 #ifdef __cplusplus
26950 extern "C"
26951 #endif
26952 /* We use char because int might match the return type of a gcc2
26953 builtin and then its argument prototype would still apply. */
26954 char csinl ();
26956 main ()
26958 csinl ();
26960 return 0;
26962 _ACEOF
26963 rm -f conftest.$ac_objext conftest$ac_exeext
26964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26965 (eval $ac_link) 2>conftest.er1
26966 ac_status=$?
26967 grep -v '^ *+' conftest.er1 >conftest.err
26968 rm -f conftest.er1
26969 cat conftest.err >&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); } &&
26972 { ac_try='test -z "$ac_c_werror_flag"
26973 || test ! -s conftest.err'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26976 ac_status=$?
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; } &&
26979 { ac_try='test -s conftest$ac_exeext'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; }; then
26985 ac_cv_lib_m_csinl=yes
26986 else
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26990 ac_cv_lib_m_csinl=no
26992 rm -f conftest.err conftest.$ac_objext \
26993 conftest$ac_exeext conftest.$ac_ext
26994 LIBS=$ac_check_lib_save_LIBS
26996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
26997 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
26998 if test $ac_cv_lib_m_csinl = yes; then
27000 cat >>confdefs.h <<\_ACEOF
27001 #define HAVE_CSINL 1
27002 _ACEOF
27006 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27007 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27008 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27010 else
27011 ac_check_lib_save_LIBS=$LIBS
27012 LIBS="-lm $LIBS"
27013 if test x$gcc_no_link = xyes; then
27014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27016 { (exit 1); exit 1; }; }
27018 cat >conftest.$ac_ext <<_ACEOF
27019 /* confdefs.h. */
27020 _ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27025 /* Override any gcc2 internal prototype to avoid an error. */
27026 #ifdef __cplusplus
27027 extern "C"
27028 #endif
27029 /* We use char because int might match the return type of a gcc2
27030 builtin and then its argument prototype would still apply. */
27031 char sinhf ();
27033 main ()
27035 sinhf ();
27037 return 0;
27039 _ACEOF
27040 rm -f conftest.$ac_objext conftest$ac_exeext
27041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27042 (eval $ac_link) 2>conftest.er1
27043 ac_status=$?
27044 grep -v '^ *+' conftest.er1 >conftest.err
27045 rm -f conftest.er1
27046 cat conftest.err >&5
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); } &&
27049 { ac_try='test -z "$ac_c_werror_flag"
27050 || test ! -s conftest.err'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27053 ac_status=$?
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; } &&
27056 { ac_try='test -s conftest$ac_exeext'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27059 ac_status=$?
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; }; then
27062 ac_cv_lib_m_sinhf=yes
27063 else
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27067 ac_cv_lib_m_sinhf=no
27069 rm -f conftest.err conftest.$ac_objext \
27070 conftest$ac_exeext conftest.$ac_ext
27071 LIBS=$ac_check_lib_save_LIBS
27073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27074 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27075 if test $ac_cv_lib_m_sinhf = yes; then
27077 cat >>confdefs.h <<\_ACEOF
27078 #define HAVE_SINHF 1
27079 _ACEOF
27083 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27084 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27085 if test "${ac_cv_lib_m_sinh+set}" = set; then
27086 echo $ECHO_N "(cached) $ECHO_C" >&6
27087 else
27088 ac_check_lib_save_LIBS=$LIBS
27089 LIBS="-lm $LIBS"
27090 if test x$gcc_no_link = xyes; then
27091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27093 { (exit 1); exit 1; }; }
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27102 /* Override any gcc2 internal prototype to avoid an error. */
27103 #ifdef __cplusplus
27104 extern "C"
27105 #endif
27106 /* We use char because int might match the return type of a gcc2
27107 builtin and then its argument prototype would still apply. */
27108 char sinh ();
27110 main ()
27112 sinh ();
27114 return 0;
27116 _ACEOF
27117 rm -f conftest.$ac_objext conftest$ac_exeext
27118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27119 (eval $ac_link) 2>conftest.er1
27120 ac_status=$?
27121 grep -v '^ *+' conftest.er1 >conftest.err
27122 rm -f conftest.er1
27123 cat conftest.err >&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); } &&
27126 { ac_try='test -z "$ac_c_werror_flag"
27127 || test ! -s conftest.err'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27130 ac_status=$?
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; } &&
27133 { ac_try='test -s conftest$ac_exeext'
27134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135 (eval $ac_try) 2>&5
27136 ac_status=$?
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; }; then
27139 ac_cv_lib_m_sinh=yes
27140 else
27141 echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27144 ac_cv_lib_m_sinh=no
27146 rm -f conftest.err conftest.$ac_objext \
27147 conftest$ac_exeext conftest.$ac_ext
27148 LIBS=$ac_check_lib_save_LIBS
27150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27151 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27152 if test $ac_cv_lib_m_sinh = yes; then
27154 cat >>confdefs.h <<\_ACEOF
27155 #define HAVE_SINH 1
27156 _ACEOF
27160 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27161 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27162 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27164 else
27165 ac_check_lib_save_LIBS=$LIBS
27166 LIBS="-lm $LIBS"
27167 if test x$gcc_no_link = xyes; then
27168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27170 { (exit 1); exit 1; }; }
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27179 /* Override any gcc2 internal prototype to avoid an error. */
27180 #ifdef __cplusplus
27181 extern "C"
27182 #endif
27183 /* We use char because int might match the return type of a gcc2
27184 builtin and then its argument prototype would still apply. */
27185 char sinhl ();
27187 main ()
27189 sinhl ();
27191 return 0;
27193 _ACEOF
27194 rm -f conftest.$ac_objext conftest$ac_exeext
27195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27196 (eval $ac_link) 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } &&
27203 { ac_try='test -z "$ac_c_werror_flag"
27204 || test ! -s conftest.err'
27205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27206 (eval $ac_try) 2>&5
27207 ac_status=$?
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); }; } &&
27210 { ac_try='test -s conftest$ac_exeext'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27213 ac_status=$?
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; }; then
27216 ac_cv_lib_m_sinhl=yes
27217 else
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27221 ac_cv_lib_m_sinhl=no
27223 rm -f conftest.err conftest.$ac_objext \
27224 conftest$ac_exeext conftest.$ac_ext
27225 LIBS=$ac_check_lib_save_LIBS
27227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27228 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27229 if test $ac_cv_lib_m_sinhl = yes; then
27231 cat >>confdefs.h <<\_ACEOF
27232 #define HAVE_SINHL 1
27233 _ACEOF
27237 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27238 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27239 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 else
27242 ac_check_lib_save_LIBS=$LIBS
27243 LIBS="-lm $LIBS"
27244 if test x$gcc_no_link = xyes; then
27245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27247 { (exit 1); exit 1; }; }
27249 cat >conftest.$ac_ext <<_ACEOF
27250 /* confdefs.h. */
27251 _ACEOF
27252 cat confdefs.h >>conftest.$ac_ext
27253 cat >>conftest.$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27256 /* Override any gcc2 internal prototype to avoid an error. */
27257 #ifdef __cplusplus
27258 extern "C"
27259 #endif
27260 /* We use char because int might match the return type of a gcc2
27261 builtin and then its argument prototype would still apply. */
27262 char csinhf ();
27264 main ()
27266 csinhf ();
27268 return 0;
27270 _ACEOF
27271 rm -f conftest.$ac_objext conftest$ac_exeext
27272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27273 (eval $ac_link) 2>conftest.er1
27274 ac_status=$?
27275 grep -v '^ *+' conftest.er1 >conftest.err
27276 rm -f conftest.er1
27277 cat conftest.err >&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -z "$ac_c_werror_flag"
27281 || test ! -s conftest.err'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; } &&
27287 { ac_try='test -s conftest$ac_exeext'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27290 ac_status=$?
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; }; then
27293 ac_cv_lib_m_csinhf=yes
27294 else
27295 echo "$as_me: failed program was:" >&5
27296 sed 's/^/| /' conftest.$ac_ext >&5
27298 ac_cv_lib_m_csinhf=no
27300 rm -f conftest.err conftest.$ac_objext \
27301 conftest$ac_exeext conftest.$ac_ext
27302 LIBS=$ac_check_lib_save_LIBS
27304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27305 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27306 if test $ac_cv_lib_m_csinhf = yes; then
27308 cat >>confdefs.h <<\_ACEOF
27309 #define HAVE_CSINHF 1
27310 _ACEOF
27314 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27315 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27316 if test "${ac_cv_lib_m_csinh+set}" = set; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 else
27319 ac_check_lib_save_LIBS=$LIBS
27320 LIBS="-lm $LIBS"
27321 if test x$gcc_no_link = xyes; then
27322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27324 { (exit 1); exit 1; }; }
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27333 /* Override any gcc2 internal prototype to avoid an error. */
27334 #ifdef __cplusplus
27335 extern "C"
27336 #endif
27337 /* We use char because int might match the return type of a gcc2
27338 builtin and then its argument prototype would still apply. */
27339 char csinh ();
27341 main ()
27343 csinh ();
27345 return 0;
27347 _ACEOF
27348 rm -f conftest.$ac_objext conftest$ac_exeext
27349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27350 (eval $ac_link) 2>conftest.er1
27351 ac_status=$?
27352 grep -v '^ *+' conftest.er1 >conftest.err
27353 rm -f conftest.er1
27354 cat conftest.err >&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } &&
27357 { ac_try='test -z "$ac_c_werror_flag"
27358 || test ! -s conftest.err'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27361 ac_status=$?
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; } &&
27364 { ac_try='test -s conftest$ac_exeext'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27367 ac_status=$?
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; }; then
27370 ac_cv_lib_m_csinh=yes
27371 else
27372 echo "$as_me: failed program was:" >&5
27373 sed 's/^/| /' conftest.$ac_ext >&5
27375 ac_cv_lib_m_csinh=no
27377 rm -f conftest.err conftest.$ac_objext \
27378 conftest$ac_exeext conftest.$ac_ext
27379 LIBS=$ac_check_lib_save_LIBS
27381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27382 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27383 if test $ac_cv_lib_m_csinh = yes; then
27385 cat >>confdefs.h <<\_ACEOF
27386 #define HAVE_CSINH 1
27387 _ACEOF
27391 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27392 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27393 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27396 ac_check_lib_save_LIBS=$LIBS
27397 LIBS="-lm $LIBS"
27398 if test x$gcc_no_link = xyes; then
27399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27401 { (exit 1); exit 1; }; }
27403 cat >conftest.$ac_ext <<_ACEOF
27404 /* confdefs.h. */
27405 _ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27410 /* Override any gcc2 internal prototype to avoid an error. */
27411 #ifdef __cplusplus
27412 extern "C"
27413 #endif
27414 /* We use char because int might match the return type of a gcc2
27415 builtin and then its argument prototype would still apply. */
27416 char csinhl ();
27418 main ()
27420 csinhl ();
27422 return 0;
27424 _ACEOF
27425 rm -f conftest.$ac_objext conftest$ac_exeext
27426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27427 (eval $ac_link) 2>conftest.er1
27428 ac_status=$?
27429 grep -v '^ *+' conftest.er1 >conftest.err
27430 rm -f conftest.er1
27431 cat conftest.err >&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); } &&
27434 { ac_try='test -z "$ac_c_werror_flag"
27435 || test ! -s conftest.err'
27436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437 (eval $ac_try) 2>&5
27438 ac_status=$?
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; } &&
27441 { ac_try='test -s conftest$ac_exeext'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; }; then
27447 ac_cv_lib_m_csinhl=yes
27448 else
27449 echo "$as_me: failed program was:" >&5
27450 sed 's/^/| /' conftest.$ac_ext >&5
27452 ac_cv_lib_m_csinhl=no
27454 rm -f conftest.err conftest.$ac_objext \
27455 conftest$ac_exeext conftest.$ac_ext
27456 LIBS=$ac_check_lib_save_LIBS
27458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27459 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27460 if test $ac_cv_lib_m_csinhl = yes; then
27462 cat >>confdefs.h <<\_ACEOF
27463 #define HAVE_CSINHL 1
27464 _ACEOF
27468 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27469 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27470 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27471 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 else
27473 ac_check_lib_save_LIBS=$LIBS
27474 LIBS="-lm $LIBS"
27475 if test x$gcc_no_link = xyes; then
27476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27478 { (exit 1); exit 1; }; }
27480 cat >conftest.$ac_ext <<_ACEOF
27481 /* confdefs.h. */
27482 _ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27487 /* Override any gcc2 internal prototype to avoid an error. */
27488 #ifdef __cplusplus
27489 extern "C"
27490 #endif
27491 /* We use char because int might match the return type of a gcc2
27492 builtin and then its argument prototype would still apply. */
27493 char sqrtf ();
27495 main ()
27497 sqrtf ();
27499 return 0;
27501 _ACEOF
27502 rm -f conftest.$ac_objext conftest$ac_exeext
27503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27504 (eval $ac_link) 2>conftest.er1
27505 ac_status=$?
27506 grep -v '^ *+' conftest.er1 >conftest.err
27507 rm -f conftest.er1
27508 cat conftest.err >&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } &&
27511 { ac_try='test -z "$ac_c_werror_flag"
27512 || test ! -s conftest.err'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27515 ac_status=$?
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; } &&
27518 { ac_try='test -s conftest$ac_exeext'
27519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520 (eval $ac_try) 2>&5
27521 ac_status=$?
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); }; }; then
27524 ac_cv_lib_m_sqrtf=yes
27525 else
27526 echo "$as_me: failed program was:" >&5
27527 sed 's/^/| /' conftest.$ac_ext >&5
27529 ac_cv_lib_m_sqrtf=no
27531 rm -f conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
27536 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
27537 if test $ac_cv_lib_m_sqrtf = yes; then
27539 cat >>confdefs.h <<\_ACEOF
27540 #define HAVE_SQRTF 1
27541 _ACEOF
27545 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
27546 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
27547 if test "${ac_cv_lib_m_sqrt+set}" = set; then
27548 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 else
27550 ac_check_lib_save_LIBS=$LIBS
27551 LIBS="-lm $LIBS"
27552 if test x$gcc_no_link = xyes; then
27553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27555 { (exit 1); exit 1; }; }
27557 cat >conftest.$ac_ext <<_ACEOF
27558 /* confdefs.h. */
27559 _ACEOF
27560 cat confdefs.h >>conftest.$ac_ext
27561 cat >>conftest.$ac_ext <<_ACEOF
27562 /* end confdefs.h. */
27564 /* Override any gcc2 internal prototype to avoid an error. */
27565 #ifdef __cplusplus
27566 extern "C"
27567 #endif
27568 /* We use char because int might match the return type of a gcc2
27569 builtin and then its argument prototype would still apply. */
27570 char sqrt ();
27572 main ()
27574 sqrt ();
27576 return 0;
27578 _ACEOF
27579 rm -f conftest.$ac_objext conftest$ac_exeext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27581 (eval $ac_link) 2>conftest.er1
27582 ac_status=$?
27583 grep -v '^ *+' conftest.er1 >conftest.err
27584 rm -f conftest.er1
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try='test -z "$ac_c_werror_flag"
27589 || test ! -s conftest.err'
27590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27591 (eval $ac_try) 2>&5
27592 ac_status=$?
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); }; } &&
27595 { ac_try='test -s conftest$ac_exeext'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; }; then
27601 ac_cv_lib_m_sqrt=yes
27602 else
27603 echo "$as_me: failed program was:" >&5
27604 sed 's/^/| /' conftest.$ac_ext >&5
27606 ac_cv_lib_m_sqrt=no
27608 rm -f conftest.err conftest.$ac_objext \
27609 conftest$ac_exeext conftest.$ac_ext
27610 LIBS=$ac_check_lib_save_LIBS
27612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
27613 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
27614 if test $ac_cv_lib_m_sqrt = yes; then
27616 cat >>confdefs.h <<\_ACEOF
27617 #define HAVE_SQRT 1
27618 _ACEOF
27622 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
27623 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
27624 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 ac_check_lib_save_LIBS=$LIBS
27628 LIBS="-lm $LIBS"
27629 if test x$gcc_no_link = xyes; then
27630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27632 { (exit 1); exit 1; }; }
27634 cat >conftest.$ac_ext <<_ACEOF
27635 /* confdefs.h. */
27636 _ACEOF
27637 cat confdefs.h >>conftest.$ac_ext
27638 cat >>conftest.$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27641 /* Override any gcc2 internal prototype to avoid an error. */
27642 #ifdef __cplusplus
27643 extern "C"
27644 #endif
27645 /* We use char because int might match the return type of a gcc2
27646 builtin and then its argument prototype would still apply. */
27647 char sqrtl ();
27649 main ()
27651 sqrtl ();
27653 return 0;
27655 _ACEOF
27656 rm -f conftest.$ac_objext conftest$ac_exeext
27657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27658 (eval $ac_link) 2>conftest.er1
27659 ac_status=$?
27660 grep -v '^ *+' conftest.er1 >conftest.err
27661 rm -f conftest.er1
27662 cat conftest.err >&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); } &&
27665 { ac_try='test -z "$ac_c_werror_flag"
27666 || test ! -s conftest.err'
27667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27668 (eval $ac_try) 2>&5
27669 ac_status=$?
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); }; } &&
27672 { ac_try='test -s conftest$ac_exeext'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; }; then
27678 ac_cv_lib_m_sqrtl=yes
27679 else
27680 echo "$as_me: failed program was:" >&5
27681 sed 's/^/| /' conftest.$ac_ext >&5
27683 ac_cv_lib_m_sqrtl=no
27685 rm -f conftest.err conftest.$ac_objext \
27686 conftest$ac_exeext conftest.$ac_ext
27687 LIBS=$ac_check_lib_save_LIBS
27689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
27690 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
27691 if test $ac_cv_lib_m_sqrtl = yes; then
27693 cat >>confdefs.h <<\_ACEOF
27694 #define HAVE_SQRTL 1
27695 _ACEOF
27699 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
27700 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
27701 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
27702 echo $ECHO_N "(cached) $ECHO_C" >&6
27703 else
27704 ac_check_lib_save_LIBS=$LIBS
27705 LIBS="-lm $LIBS"
27706 if test x$gcc_no_link = xyes; then
27707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27709 { (exit 1); exit 1; }; }
27711 cat >conftest.$ac_ext <<_ACEOF
27712 /* confdefs.h. */
27713 _ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27718 /* Override any gcc2 internal prototype to avoid an error. */
27719 #ifdef __cplusplus
27720 extern "C"
27721 #endif
27722 /* We use char because int might match the return type of a gcc2
27723 builtin and then its argument prototype would still apply. */
27724 char csqrtf ();
27726 main ()
27728 csqrtf ();
27730 return 0;
27732 _ACEOF
27733 rm -f conftest.$ac_objext conftest$ac_exeext
27734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27735 (eval $ac_link) 2>conftest.er1
27736 ac_status=$?
27737 grep -v '^ *+' conftest.er1 >conftest.err
27738 rm -f conftest.er1
27739 cat conftest.err >&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); } &&
27742 { ac_try='test -z "$ac_c_werror_flag"
27743 || test ! -s conftest.err'
27744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27745 (eval $ac_try) 2>&5
27746 ac_status=$?
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); }; } &&
27749 { ac_try='test -s conftest$ac_exeext'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27752 ac_status=$?
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; }; then
27755 ac_cv_lib_m_csqrtf=yes
27756 else
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27760 ac_cv_lib_m_csqrtf=no
27762 rm -f conftest.err conftest.$ac_objext \
27763 conftest$ac_exeext conftest.$ac_ext
27764 LIBS=$ac_check_lib_save_LIBS
27766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
27767 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
27768 if test $ac_cv_lib_m_csqrtf = yes; then
27770 cat >>confdefs.h <<\_ACEOF
27771 #define HAVE_CSQRTF 1
27772 _ACEOF
27776 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
27777 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
27778 if test "${ac_cv_lib_m_csqrt+set}" = set; then
27779 echo $ECHO_N "(cached) $ECHO_C" >&6
27780 else
27781 ac_check_lib_save_LIBS=$LIBS
27782 LIBS="-lm $LIBS"
27783 if test x$gcc_no_link = xyes; then
27784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27786 { (exit 1); exit 1; }; }
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27795 /* Override any gcc2 internal prototype to avoid an error. */
27796 #ifdef __cplusplus
27797 extern "C"
27798 #endif
27799 /* We use char because int might match the return type of a gcc2
27800 builtin and then its argument prototype would still apply. */
27801 char csqrt ();
27803 main ()
27805 csqrt ();
27807 return 0;
27809 _ACEOF
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27812 (eval $ac_link) 2>conftest.er1
27813 ac_status=$?
27814 grep -v '^ *+' conftest.er1 >conftest.err
27815 rm -f conftest.er1
27816 cat conftest.err >&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } &&
27819 { ac_try='test -z "$ac_c_werror_flag"
27820 || test ! -s conftest.err'
27821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822 (eval $ac_try) 2>&5
27823 ac_status=$?
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); }; } &&
27826 { ac_try='test -s conftest$ac_exeext'
27827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828 (eval $ac_try) 2>&5
27829 ac_status=$?
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; }; then
27832 ac_cv_lib_m_csqrt=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27837 ac_cv_lib_m_csqrt=no
27839 rm -f conftest.err conftest.$ac_objext \
27840 conftest$ac_exeext conftest.$ac_ext
27841 LIBS=$ac_check_lib_save_LIBS
27843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
27844 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
27845 if test $ac_cv_lib_m_csqrt = yes; then
27847 cat >>confdefs.h <<\_ACEOF
27848 #define HAVE_CSQRT 1
27849 _ACEOF
27853 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
27854 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
27855 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27858 ac_check_lib_save_LIBS=$LIBS
27859 LIBS="-lm $LIBS"
27860 if test x$gcc_no_link = xyes; then
27861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27863 { (exit 1); exit 1; }; }
27865 cat >conftest.$ac_ext <<_ACEOF
27866 /* confdefs.h. */
27867 _ACEOF
27868 cat confdefs.h >>conftest.$ac_ext
27869 cat >>conftest.$ac_ext <<_ACEOF
27870 /* end confdefs.h. */
27872 /* Override any gcc2 internal prototype to avoid an error. */
27873 #ifdef __cplusplus
27874 extern "C"
27875 #endif
27876 /* We use char because int might match the return type of a gcc2
27877 builtin and then its argument prototype would still apply. */
27878 char csqrtl ();
27880 main ()
27882 csqrtl ();
27884 return 0;
27886 _ACEOF
27887 rm -f conftest.$ac_objext conftest$ac_exeext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27889 (eval $ac_link) 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -z "$ac_c_werror_flag"
27897 || test ! -s conftest.err'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27900 ac_status=$?
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; } &&
27903 { ac_try='test -s conftest$ac_exeext'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27906 ac_status=$?
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; }; then
27909 ac_cv_lib_m_csqrtl=yes
27910 else
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27914 ac_cv_lib_m_csqrtl=no
27916 rm -f conftest.err conftest.$ac_objext \
27917 conftest$ac_exeext conftest.$ac_ext
27918 LIBS=$ac_check_lib_save_LIBS
27920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
27921 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
27922 if test $ac_cv_lib_m_csqrtl = yes; then
27924 cat >>confdefs.h <<\_ACEOF
27925 #define HAVE_CSQRTL 1
27926 _ACEOF
27930 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
27931 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
27932 if test "${ac_cv_lib_m_tanf+set}" = set; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27934 else
27935 ac_check_lib_save_LIBS=$LIBS
27936 LIBS="-lm $LIBS"
27937 if test x$gcc_no_link = xyes; then
27938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27940 { (exit 1); exit 1; }; }
27942 cat >conftest.$ac_ext <<_ACEOF
27943 /* confdefs.h. */
27944 _ACEOF
27945 cat confdefs.h >>conftest.$ac_ext
27946 cat >>conftest.$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27949 /* Override any gcc2 internal prototype to avoid an error. */
27950 #ifdef __cplusplus
27951 extern "C"
27952 #endif
27953 /* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27955 char tanf ();
27957 main ()
27959 tanf ();
27961 return 0;
27963 _ACEOF
27964 rm -f conftest.$ac_objext conftest$ac_exeext
27965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27966 (eval $ac_link) 2>conftest.er1
27967 ac_status=$?
27968 grep -v '^ *+' conftest.er1 >conftest.err
27969 rm -f conftest.er1
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } &&
27973 { ac_try='test -z "$ac_c_werror_flag"
27974 || test ! -s conftest.err'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27977 ac_status=$?
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; } &&
27980 { ac_try='test -s conftest$ac_exeext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27983 ac_status=$?
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27986 ac_cv_lib_m_tanf=yes
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27991 ac_cv_lib_m_tanf=no
27993 rm -f conftest.err conftest.$ac_objext \
27994 conftest$ac_exeext conftest.$ac_ext
27995 LIBS=$ac_check_lib_save_LIBS
27997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
27998 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
27999 if test $ac_cv_lib_m_tanf = yes; then
28001 cat >>confdefs.h <<\_ACEOF
28002 #define HAVE_TANF 1
28003 _ACEOF
28007 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28008 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28009 if test "${ac_cv_lib_m_tan+set}" = set; then
28010 echo $ECHO_N "(cached) $ECHO_C" >&6
28011 else
28012 ac_check_lib_save_LIBS=$LIBS
28013 LIBS="-lm $LIBS"
28014 if test x$gcc_no_link = xyes; then
28015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28017 { (exit 1); exit 1; }; }
28019 cat >conftest.$ac_ext <<_ACEOF
28020 /* confdefs.h. */
28021 _ACEOF
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28026 /* Override any gcc2 internal prototype to avoid an error. */
28027 #ifdef __cplusplus
28028 extern "C"
28029 #endif
28030 /* We use char because int might match the return type of a gcc2
28031 builtin and then its argument prototype would still apply. */
28032 char tan ();
28034 main ()
28036 tan ();
28038 return 0;
28040 _ACEOF
28041 rm -f conftest.$ac_objext conftest$ac_exeext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28043 (eval $ac_link) 2>conftest.er1
28044 ac_status=$?
28045 grep -v '^ *+' conftest.er1 >conftest.err
28046 rm -f conftest.er1
28047 cat conftest.err >&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } &&
28050 { ac_try='test -z "$ac_c_werror_flag"
28051 || test ! -s conftest.err'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28054 ac_status=$?
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; } &&
28057 { ac_try='test -s conftest$ac_exeext'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28060 ac_status=$?
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28063 ac_cv_lib_m_tan=yes
28064 else
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.$ac_ext >&5
28068 ac_cv_lib_m_tan=no
28070 rm -f conftest.err conftest.$ac_objext \
28071 conftest$ac_exeext conftest.$ac_ext
28072 LIBS=$ac_check_lib_save_LIBS
28074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28075 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28076 if test $ac_cv_lib_m_tan = yes; then
28078 cat >>confdefs.h <<\_ACEOF
28079 #define HAVE_TAN 1
28080 _ACEOF
28084 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28085 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28086 if test "${ac_cv_lib_m_tanl+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 else
28089 ac_check_lib_save_LIBS=$LIBS
28090 LIBS="-lm $LIBS"
28091 if test x$gcc_no_link = xyes; then
28092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28094 { (exit 1); exit 1; }; }
28096 cat >conftest.$ac_ext <<_ACEOF
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28103 /* Override any gcc2 internal prototype to avoid an error. */
28104 #ifdef __cplusplus
28105 extern "C"
28106 #endif
28107 /* We use char because int might match the return type of a gcc2
28108 builtin and then its argument prototype would still apply. */
28109 char tanl ();
28111 main ()
28113 tanl ();
28115 return 0;
28117 _ACEOF
28118 rm -f conftest.$ac_objext conftest$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>conftest.er1
28121 ac_status=$?
28122 grep -v '^ *+' conftest.er1 >conftest.err
28123 rm -f conftest.er1
28124 cat conftest.err >&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try='test -z "$ac_c_werror_flag"
28128 || test ! -s conftest.err'
28129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130 (eval $ac_try) 2>&5
28131 ac_status=$?
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); }; } &&
28134 { ac_try='test -s conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 ac_cv_lib_m_tanl=yes
28141 else
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.$ac_ext >&5
28145 ac_cv_lib_m_tanl=no
28147 rm -f conftest.err conftest.$ac_objext \
28148 conftest$ac_exeext conftest.$ac_ext
28149 LIBS=$ac_check_lib_save_LIBS
28151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28152 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28153 if test $ac_cv_lib_m_tanl = yes; then
28155 cat >>confdefs.h <<\_ACEOF
28156 #define HAVE_TANL 1
28157 _ACEOF
28161 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28162 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28163 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166 ac_check_lib_save_LIBS=$LIBS
28167 LIBS="-lm $LIBS"
28168 if test x$gcc_no_link = xyes; then
28169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28171 { (exit 1); exit 1; }; }
28173 cat >conftest.$ac_ext <<_ACEOF
28174 /* confdefs.h. */
28175 _ACEOF
28176 cat confdefs.h >>conftest.$ac_ext
28177 cat >>conftest.$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28180 /* Override any gcc2 internal prototype to avoid an error. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 #endif
28184 /* We use char because int might match the return type of a gcc2
28185 builtin and then its argument prototype would still apply. */
28186 char ctanf ();
28188 main ()
28190 ctanf ();
28192 return 0;
28194 _ACEOF
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28197 (eval $ac_link) 2>conftest.er1
28198 ac_status=$?
28199 grep -v '^ *+' conftest.er1 >conftest.err
28200 rm -f conftest.er1
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try='test -z "$ac_c_werror_flag"
28205 || test ! -s conftest.err'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 ac_cv_lib_m_ctanf=yes
28218 else
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28222 ac_cv_lib_m_ctanf=no
28224 rm -f conftest.err conftest.$ac_objext \
28225 conftest$ac_exeext conftest.$ac_ext
28226 LIBS=$ac_check_lib_save_LIBS
28228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28229 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28230 if test $ac_cv_lib_m_ctanf = yes; then
28232 cat >>confdefs.h <<\_ACEOF
28233 #define HAVE_CTANF 1
28234 _ACEOF
28238 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28239 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28240 if test "${ac_cv_lib_m_ctan+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 else
28243 ac_check_lib_save_LIBS=$LIBS
28244 LIBS="-lm $LIBS"
28245 if test x$gcc_no_link = xyes; then
28246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28248 { (exit 1); exit 1; }; }
28250 cat >conftest.$ac_ext <<_ACEOF
28251 /* confdefs.h. */
28252 _ACEOF
28253 cat confdefs.h >>conftest.$ac_ext
28254 cat >>conftest.$ac_ext <<_ACEOF
28255 /* end confdefs.h. */
28257 /* Override any gcc2 internal prototype to avoid an error. */
28258 #ifdef __cplusplus
28259 extern "C"
28260 #endif
28261 /* We use char because int might match the return type of a gcc2
28262 builtin and then its argument prototype would still apply. */
28263 char ctan ();
28265 main ()
28267 ctan ();
28269 return 0;
28271 _ACEOF
28272 rm -f conftest.$ac_objext conftest$ac_exeext
28273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28274 (eval $ac_link) 2>conftest.er1
28275 ac_status=$?
28276 grep -v '^ *+' conftest.er1 >conftest.err
28277 rm -f conftest.er1
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } &&
28281 { ac_try='test -z "$ac_c_werror_flag"
28282 || test ! -s conftest.err'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28285 ac_status=$?
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; } &&
28288 { ac_try='test -s conftest$ac_exeext'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28291 ac_status=$?
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; }; then
28294 ac_cv_lib_m_ctan=yes
28295 else
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.$ac_ext >&5
28299 ac_cv_lib_m_ctan=no
28301 rm -f conftest.err conftest.$ac_objext \
28302 conftest$ac_exeext conftest.$ac_ext
28303 LIBS=$ac_check_lib_save_LIBS
28305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28306 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28307 if test $ac_cv_lib_m_ctan = yes; then
28309 cat >>confdefs.h <<\_ACEOF
28310 #define HAVE_CTAN 1
28311 _ACEOF
28315 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28316 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28317 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 else
28320 ac_check_lib_save_LIBS=$LIBS
28321 LIBS="-lm $LIBS"
28322 if test x$gcc_no_link = xyes; then
28323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28325 { (exit 1); exit 1; }; }
28327 cat >conftest.$ac_ext <<_ACEOF
28328 /* confdefs.h. */
28329 _ACEOF
28330 cat confdefs.h >>conftest.$ac_ext
28331 cat >>conftest.$ac_ext <<_ACEOF
28332 /* end confdefs.h. */
28334 /* Override any gcc2 internal prototype to avoid an error. */
28335 #ifdef __cplusplus
28336 extern "C"
28337 #endif
28338 /* We use char because int might match the return type of a gcc2
28339 builtin and then its argument prototype would still apply. */
28340 char ctanl ();
28342 main ()
28344 ctanl ();
28346 return 0;
28348 _ACEOF
28349 rm -f conftest.$ac_objext conftest$ac_exeext
28350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28351 (eval $ac_link) 2>conftest.er1
28352 ac_status=$?
28353 grep -v '^ *+' conftest.er1 >conftest.err
28354 rm -f conftest.er1
28355 cat conftest.err >&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); } &&
28358 { ac_try='test -z "$ac_c_werror_flag"
28359 || test ! -s conftest.err'
28360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28361 (eval $ac_try) 2>&5
28362 ac_status=$?
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); }; } &&
28365 { ac_try='test -s conftest$ac_exeext'
28366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367 (eval $ac_try) 2>&5
28368 ac_status=$?
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); }; }; then
28371 ac_cv_lib_m_ctanl=yes
28372 else
28373 echo "$as_me: failed program was:" >&5
28374 sed 's/^/| /' conftest.$ac_ext >&5
28376 ac_cv_lib_m_ctanl=no
28378 rm -f conftest.err conftest.$ac_objext \
28379 conftest$ac_exeext conftest.$ac_ext
28380 LIBS=$ac_check_lib_save_LIBS
28382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28383 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28384 if test $ac_cv_lib_m_ctanl = yes; then
28386 cat >>confdefs.h <<\_ACEOF
28387 #define HAVE_CTANL 1
28388 _ACEOF
28392 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28393 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28394 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28396 else
28397 ac_check_lib_save_LIBS=$LIBS
28398 LIBS="-lm $LIBS"
28399 if test x$gcc_no_link = xyes; then
28400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28402 { (exit 1); exit 1; }; }
28404 cat >conftest.$ac_ext <<_ACEOF
28405 /* confdefs.h. */
28406 _ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28411 /* Override any gcc2 internal prototype to avoid an error. */
28412 #ifdef __cplusplus
28413 extern "C"
28414 #endif
28415 /* We use char because int might match the return type of a gcc2
28416 builtin and then its argument prototype would still apply. */
28417 char tanhf ();
28419 main ()
28421 tanhf ();
28423 return 0;
28425 _ACEOF
28426 rm -f conftest.$ac_objext conftest$ac_exeext
28427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28428 (eval $ac_link) 2>conftest.er1
28429 ac_status=$?
28430 grep -v '^ *+' conftest.er1 >conftest.err
28431 rm -f conftest.er1
28432 cat conftest.err >&5
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); } &&
28435 { ac_try='test -z "$ac_c_werror_flag"
28436 || test ! -s conftest.err'
28437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28438 (eval $ac_try) 2>&5
28439 ac_status=$?
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; } &&
28442 { ac_try='test -s conftest$ac_exeext'
28443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444 (eval $ac_try) 2>&5
28445 ac_status=$?
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); }; }; then
28448 ac_cv_lib_m_tanhf=yes
28449 else
28450 echo "$as_me: failed program was:" >&5
28451 sed 's/^/| /' conftest.$ac_ext >&5
28453 ac_cv_lib_m_tanhf=no
28455 rm -f conftest.err conftest.$ac_objext \
28456 conftest$ac_exeext conftest.$ac_ext
28457 LIBS=$ac_check_lib_save_LIBS
28459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28460 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28461 if test $ac_cv_lib_m_tanhf = yes; then
28463 cat >>confdefs.h <<\_ACEOF
28464 #define HAVE_TANHF 1
28465 _ACEOF
28469 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28470 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28471 if test "${ac_cv_lib_m_tanh+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 else
28474 ac_check_lib_save_LIBS=$LIBS
28475 LIBS="-lm $LIBS"
28476 if test x$gcc_no_link = xyes; then
28477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28479 { (exit 1); exit 1; }; }
28481 cat >conftest.$ac_ext <<_ACEOF
28482 /* confdefs.h. */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28488 /* Override any gcc2 internal prototype to avoid an error. */
28489 #ifdef __cplusplus
28490 extern "C"
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28494 char tanh ();
28496 main ()
28498 tanh ();
28500 return 0;
28502 _ACEOF
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>conftest.er1
28506 ac_status=$?
28507 grep -v '^ *+' conftest.er1 >conftest.err
28508 rm -f conftest.er1
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } &&
28512 { ac_try='test -z "$ac_c_werror_flag"
28513 || test ! -s conftest.err'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; } &&
28519 { ac_try='test -s conftest$ac_exeext'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_lib_m_tanh=yes
28526 else
28527 echo "$as_me: failed program was:" >&5
28528 sed 's/^/| /' conftest.$ac_ext >&5
28530 ac_cv_lib_m_tanh=no
28532 rm -f conftest.err conftest.$ac_objext \
28533 conftest$ac_exeext conftest.$ac_ext
28534 LIBS=$ac_check_lib_save_LIBS
28536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
28537 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
28538 if test $ac_cv_lib_m_tanh = yes; then
28540 cat >>confdefs.h <<\_ACEOF
28541 #define HAVE_TANH 1
28542 _ACEOF
28546 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
28547 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
28548 if test "${ac_cv_lib_m_tanhl+set}" = set; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 else
28551 ac_check_lib_save_LIBS=$LIBS
28552 LIBS="-lm $LIBS"
28553 if test x$gcc_no_link = xyes; then
28554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28556 { (exit 1); exit 1; }; }
28558 cat >conftest.$ac_ext <<_ACEOF
28559 /* confdefs.h. */
28560 _ACEOF
28561 cat confdefs.h >>conftest.$ac_ext
28562 cat >>conftest.$ac_ext <<_ACEOF
28563 /* end confdefs.h. */
28565 /* Override any gcc2 internal prototype to avoid an error. */
28566 #ifdef __cplusplus
28567 extern "C"
28568 #endif
28569 /* We use char because int might match the return type of a gcc2
28570 builtin and then its argument prototype would still apply. */
28571 char tanhl ();
28573 main ()
28575 tanhl ();
28577 return 0;
28579 _ACEOF
28580 rm -f conftest.$ac_objext conftest$ac_exeext
28581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28582 (eval $ac_link) 2>conftest.er1
28583 ac_status=$?
28584 grep -v '^ *+' conftest.er1 >conftest.err
28585 rm -f conftest.er1
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try='test -z "$ac_c_werror_flag"
28590 || test ! -s conftest.err'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28593 ac_status=$?
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; } &&
28596 { ac_try='test -s conftest$ac_exeext'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28599 ac_status=$?
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; }; then
28602 ac_cv_lib_m_tanhl=yes
28603 else
28604 echo "$as_me: failed program was:" >&5
28605 sed 's/^/| /' conftest.$ac_ext >&5
28607 ac_cv_lib_m_tanhl=no
28609 rm -f conftest.err conftest.$ac_objext \
28610 conftest$ac_exeext conftest.$ac_ext
28611 LIBS=$ac_check_lib_save_LIBS
28613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
28614 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
28615 if test $ac_cv_lib_m_tanhl = yes; then
28617 cat >>confdefs.h <<\_ACEOF
28618 #define HAVE_TANHL 1
28619 _ACEOF
28623 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
28624 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
28625 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
28626 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 else
28628 ac_check_lib_save_LIBS=$LIBS
28629 LIBS="-lm $LIBS"
28630 if test x$gcc_no_link = xyes; then
28631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28633 { (exit 1); exit 1; }; }
28635 cat >conftest.$ac_ext <<_ACEOF
28636 /* confdefs.h. */
28637 _ACEOF
28638 cat confdefs.h >>conftest.$ac_ext
28639 cat >>conftest.$ac_ext <<_ACEOF
28640 /* end confdefs.h. */
28642 /* Override any gcc2 internal prototype to avoid an error. */
28643 #ifdef __cplusplus
28644 extern "C"
28645 #endif
28646 /* We use char because int might match the return type of a gcc2
28647 builtin and then its argument prototype would still apply. */
28648 char ctanhf ();
28650 main ()
28652 ctanhf ();
28654 return 0;
28656 _ACEOF
28657 rm -f conftest.$ac_objext conftest$ac_exeext
28658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28659 (eval $ac_link) 2>conftest.er1
28660 ac_status=$?
28661 grep -v '^ *+' conftest.er1 >conftest.err
28662 rm -f conftest.er1
28663 cat conftest.err >&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); } &&
28666 { ac_try='test -z "$ac_c_werror_flag"
28667 || test ! -s conftest.err'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; } &&
28673 { ac_try='test -s conftest$ac_exeext'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; }; then
28679 ac_cv_lib_m_ctanhf=yes
28680 else
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.$ac_ext >&5
28684 ac_cv_lib_m_ctanhf=no
28686 rm -f conftest.err conftest.$ac_objext \
28687 conftest$ac_exeext conftest.$ac_ext
28688 LIBS=$ac_check_lib_save_LIBS
28690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
28691 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
28692 if test $ac_cv_lib_m_ctanhf = yes; then
28694 cat >>confdefs.h <<\_ACEOF
28695 #define HAVE_CTANHF 1
28696 _ACEOF
28700 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
28701 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
28702 if test "${ac_cv_lib_m_ctanh+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 ac_check_lib_save_LIBS=$LIBS
28706 LIBS="-lm $LIBS"
28707 if test x$gcc_no_link = xyes; then
28708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28710 { (exit 1); exit 1; }; }
28712 cat >conftest.$ac_ext <<_ACEOF
28713 /* confdefs.h. */
28714 _ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28719 /* Override any gcc2 internal prototype to avoid an error. */
28720 #ifdef __cplusplus
28721 extern "C"
28722 #endif
28723 /* We use char because int might match the return type of a gcc2
28724 builtin and then its argument prototype would still apply. */
28725 char ctanh ();
28727 main ()
28729 ctanh ();
28731 return 0;
28733 _ACEOF
28734 rm -f conftest.$ac_objext conftest$ac_exeext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28736 (eval $ac_link) 2>conftest.er1
28737 ac_status=$?
28738 grep -v '^ *+' conftest.er1 >conftest.err
28739 rm -f conftest.er1
28740 cat conftest.err >&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try='test -z "$ac_c_werror_flag"
28744 || test ! -s conftest.err'
28745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28746 (eval $ac_try) 2>&5
28747 ac_status=$?
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); }; } &&
28750 { ac_try='test -s conftest$ac_exeext'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28753 ac_status=$?
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; }; then
28756 ac_cv_lib_m_ctanh=yes
28757 else
28758 echo "$as_me: failed program was:" >&5
28759 sed 's/^/| /' conftest.$ac_ext >&5
28761 ac_cv_lib_m_ctanh=no
28763 rm -f conftest.err conftest.$ac_objext \
28764 conftest$ac_exeext conftest.$ac_ext
28765 LIBS=$ac_check_lib_save_LIBS
28767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
28768 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
28769 if test $ac_cv_lib_m_ctanh = yes; then
28771 cat >>confdefs.h <<\_ACEOF
28772 #define HAVE_CTANH 1
28773 _ACEOF
28777 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
28778 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
28779 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
28780 echo $ECHO_N "(cached) $ECHO_C" >&6
28781 else
28782 ac_check_lib_save_LIBS=$LIBS
28783 LIBS="-lm $LIBS"
28784 if test x$gcc_no_link = xyes; then
28785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28787 { (exit 1); exit 1; }; }
28789 cat >conftest.$ac_ext <<_ACEOF
28790 /* confdefs.h. */
28791 _ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28796 /* Override any gcc2 internal prototype to avoid an error. */
28797 #ifdef __cplusplus
28798 extern "C"
28799 #endif
28800 /* We use char because int might match the return type of a gcc2
28801 builtin and then its argument prototype would still apply. */
28802 char ctanhl ();
28804 main ()
28806 ctanhl ();
28808 return 0;
28810 _ACEOF
28811 rm -f conftest.$ac_objext conftest$ac_exeext
28812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28813 (eval $ac_link) 2>conftest.er1
28814 ac_status=$?
28815 grep -v '^ *+' conftest.er1 >conftest.err
28816 rm -f conftest.er1
28817 cat conftest.err >&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); } &&
28820 { ac_try='test -z "$ac_c_werror_flag"
28821 || test ! -s conftest.err'
28822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28823 (eval $ac_try) 2>&5
28824 ac_status=$?
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); }; } &&
28827 { ac_try='test -s conftest$ac_exeext'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28830 ac_status=$?
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; }; then
28833 ac_cv_lib_m_ctanhl=yes
28834 else
28835 echo "$as_me: failed program was:" >&5
28836 sed 's/^/| /' conftest.$ac_ext >&5
28838 ac_cv_lib_m_ctanhl=no
28840 rm -f conftest.err conftest.$ac_objext \
28841 conftest$ac_exeext conftest.$ac_ext
28842 LIBS=$ac_check_lib_save_LIBS
28844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
28845 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
28846 if test $ac_cv_lib_m_ctanhl = yes; then
28848 cat >>confdefs.h <<\_ACEOF
28849 #define HAVE_CTANHL 1
28850 _ACEOF
28854 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
28855 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
28856 if test "${ac_cv_lib_m_truncf+set}" = set; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28858 else
28859 ac_check_lib_save_LIBS=$LIBS
28860 LIBS="-lm $LIBS"
28861 if test x$gcc_no_link = xyes; then
28862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28864 { (exit 1); exit 1; }; }
28866 cat >conftest.$ac_ext <<_ACEOF
28867 /* confdefs.h. */
28868 _ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28873 /* Override any gcc2 internal prototype to avoid an error. */
28874 #ifdef __cplusplus
28875 extern "C"
28876 #endif
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28879 char truncf ();
28881 main ()
28883 truncf ();
28885 return 0;
28887 _ACEOF
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28890 (eval $ac_link) 2>conftest.er1
28891 ac_status=$?
28892 grep -v '^ *+' conftest.er1 >conftest.err
28893 rm -f conftest.er1
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } &&
28897 { ac_try='test -z "$ac_c_werror_flag"
28898 || test ! -s conftest.err'
28899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28900 (eval $ac_try) 2>&5
28901 ac_status=$?
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); }; } &&
28904 { ac_try='test -s conftest$ac_exeext'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28907 ac_status=$?
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; }; then
28910 ac_cv_lib_m_truncf=yes
28911 else
28912 echo "$as_me: failed program was:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28915 ac_cv_lib_m_truncf=no
28917 rm -f conftest.err conftest.$ac_objext \
28918 conftest$ac_exeext conftest.$ac_ext
28919 LIBS=$ac_check_lib_save_LIBS
28921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
28922 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
28923 if test $ac_cv_lib_m_truncf = yes; then
28925 cat >>confdefs.h <<\_ACEOF
28926 #define HAVE_TRUNCF 1
28927 _ACEOF
28931 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
28932 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
28933 if test "${ac_cv_lib_m_trunc+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 else
28936 ac_check_lib_save_LIBS=$LIBS
28937 LIBS="-lm $LIBS"
28938 if test x$gcc_no_link = xyes; then
28939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28941 { (exit 1); exit 1; }; }
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28950 /* Override any gcc2 internal prototype to avoid an error. */
28951 #ifdef __cplusplus
28952 extern "C"
28953 #endif
28954 /* We use char because int might match the return type of a gcc2
28955 builtin and then its argument prototype would still apply. */
28956 char trunc ();
28958 main ()
28960 trunc ();
28962 return 0;
28964 _ACEOF
28965 rm -f conftest.$ac_objext conftest$ac_exeext
28966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28967 (eval $ac_link) 2>conftest.er1
28968 ac_status=$?
28969 grep -v '^ *+' conftest.er1 >conftest.err
28970 rm -f conftest.er1
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try='test -z "$ac_c_werror_flag"
28975 || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28978 ac_status=$?
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try='test -s conftest$ac_exeext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28984 ac_status=$?
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28987 ac_cv_lib_m_trunc=yes
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28992 ac_cv_lib_m_trunc=no
28994 rm -f conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 LIBS=$ac_check_lib_save_LIBS
28998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
28999 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29000 if test $ac_cv_lib_m_trunc = yes; then
29002 cat >>confdefs.h <<\_ACEOF
29003 #define HAVE_TRUNC 1
29004 _ACEOF
29008 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29009 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29010 if test "${ac_cv_lib_m_truncl+set}" = set; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29012 else
29013 ac_check_lib_save_LIBS=$LIBS
29014 LIBS="-lm $LIBS"
29015 if test x$gcc_no_link = xyes; then
29016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29018 { (exit 1); exit 1; }; }
29020 cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h. */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29027 /* Override any gcc2 internal prototype to avoid an error. */
29028 #ifdef __cplusplus
29029 extern "C"
29030 #endif
29031 /* We use char because int might match the return type of a gcc2
29032 builtin and then its argument prototype would still apply. */
29033 char truncl ();
29035 main ()
29037 truncl ();
29039 return 0;
29041 _ACEOF
29042 rm -f conftest.$ac_objext conftest$ac_exeext
29043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29044 (eval $ac_link) 2>conftest.er1
29045 ac_status=$?
29046 grep -v '^ *+' conftest.er1 >conftest.err
29047 rm -f conftest.er1
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } &&
29051 { ac_try='test -z "$ac_c_werror_flag"
29052 || test ! -s conftest.err'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; } &&
29058 { ac_try='test -s conftest$ac_exeext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 ac_cv_lib_m_truncl=yes
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29069 ac_cv_lib_m_truncl=no
29071 rm -f conftest.err conftest.$ac_objext \
29072 conftest$ac_exeext conftest.$ac_ext
29073 LIBS=$ac_check_lib_save_LIBS
29075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29076 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29077 if test $ac_cv_lib_m_truncl = yes; then
29079 cat >>confdefs.h <<\_ACEOF
29080 #define HAVE_TRUNCL 1
29081 _ACEOF
29085 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29086 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29087 if test "${ac_cv_lib_m_erff+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 ac_check_lib_save_LIBS=$LIBS
29091 LIBS="-lm $LIBS"
29092 if test x$gcc_no_link = xyes; then
29093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29095 { (exit 1); exit 1; }; }
29097 cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h. */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h. */
29104 /* Override any gcc2 internal prototype to avoid an error. */
29105 #ifdef __cplusplus
29106 extern "C"
29107 #endif
29108 /* We use char because int might match the return type of a gcc2
29109 builtin and then its argument prototype would still apply. */
29110 char erff ();
29112 main ()
29114 erff ();
29116 return 0;
29118 _ACEOF
29119 rm -f conftest.$ac_objext conftest$ac_exeext
29120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29121 (eval $ac_link) 2>conftest.er1
29122 ac_status=$?
29123 grep -v '^ *+' conftest.er1 >conftest.err
29124 rm -f conftest.er1
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } &&
29128 { ac_try='test -z "$ac_c_werror_flag"
29129 || test ! -s conftest.err'
29130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29131 (eval $ac_try) 2>&5
29132 ac_status=$?
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); }; } &&
29135 { ac_try='test -s conftest$ac_exeext'
29136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137 (eval $ac_try) 2>&5
29138 ac_status=$?
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); }; }; then
29141 ac_cv_lib_m_erff=yes
29142 else
29143 echo "$as_me: failed program was:" >&5
29144 sed 's/^/| /' conftest.$ac_ext >&5
29146 ac_cv_lib_m_erff=no
29148 rm -f conftest.err conftest.$ac_objext \
29149 conftest$ac_exeext conftest.$ac_ext
29150 LIBS=$ac_check_lib_save_LIBS
29152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29153 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29154 if test $ac_cv_lib_m_erff = yes; then
29156 cat >>confdefs.h <<\_ACEOF
29157 #define HAVE_ERFF 1
29158 _ACEOF
29162 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29163 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29164 if test "${ac_cv_lib_m_erf+set}" = set; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29166 else
29167 ac_check_lib_save_LIBS=$LIBS
29168 LIBS="-lm $LIBS"
29169 if test x$gcc_no_link = xyes; then
29170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29172 { (exit 1); exit 1; }; }
29174 cat >conftest.$ac_ext <<_ACEOF
29175 /* confdefs.h. */
29176 _ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29181 /* Override any gcc2 internal prototype to avoid an error. */
29182 #ifdef __cplusplus
29183 extern "C"
29184 #endif
29185 /* We use char because int might match the return type of a gcc2
29186 builtin and then its argument prototype would still apply. */
29187 char erf ();
29189 main ()
29191 erf ();
29193 return 0;
29195 _ACEOF
29196 rm -f conftest.$ac_objext conftest$ac_exeext
29197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29198 (eval $ac_link) 2>conftest.er1
29199 ac_status=$?
29200 grep -v '^ *+' conftest.er1 >conftest.err
29201 rm -f conftest.er1
29202 cat conftest.err >&5
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); } &&
29205 { ac_try='test -z "$ac_c_werror_flag"
29206 || test ! -s conftest.err'
29207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29208 (eval $ac_try) 2>&5
29209 ac_status=$?
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); }; } &&
29212 { ac_try='test -s conftest$ac_exeext'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29215 ac_status=$?
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; }; then
29218 ac_cv_lib_m_erf=yes
29219 else
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.$ac_ext >&5
29223 ac_cv_lib_m_erf=no
29225 rm -f conftest.err conftest.$ac_objext \
29226 conftest$ac_exeext conftest.$ac_ext
29227 LIBS=$ac_check_lib_save_LIBS
29229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29230 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29231 if test $ac_cv_lib_m_erf = yes; then
29233 cat >>confdefs.h <<\_ACEOF
29234 #define HAVE_ERF 1
29235 _ACEOF
29239 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29240 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29241 if test "${ac_cv_lib_m_erfl+set}" = set; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 else
29244 ac_check_lib_save_LIBS=$LIBS
29245 LIBS="-lm $LIBS"
29246 if test x$gcc_no_link = xyes; then
29247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29249 { (exit 1); exit 1; }; }
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29258 /* Override any gcc2 internal prototype to avoid an error. */
29259 #ifdef __cplusplus
29260 extern "C"
29261 #endif
29262 /* We use char because int might match the return type of a gcc2
29263 builtin and then its argument prototype would still apply. */
29264 char erfl ();
29266 main ()
29268 erfl ();
29270 return 0;
29272 _ACEOF
29273 rm -f conftest.$ac_objext conftest$ac_exeext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29275 (eval $ac_link) 2>conftest.er1
29276 ac_status=$?
29277 grep -v '^ *+' conftest.er1 >conftest.err
29278 rm -f conftest.er1
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try='test -z "$ac_c_werror_flag"
29283 || test ! -s conftest.err'
29284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 (eval $ac_try) 2>&5
29286 ac_status=$?
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); }; } &&
29289 { ac_try='test -s conftest$ac_exeext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295 ac_cv_lib_m_erfl=yes
29296 else
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29300 ac_cv_lib_m_erfl=no
29302 rm -f conftest.err conftest.$ac_objext \
29303 conftest$ac_exeext conftest.$ac_ext
29304 LIBS=$ac_check_lib_save_LIBS
29306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29307 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29308 if test $ac_cv_lib_m_erfl = yes; then
29310 cat >>confdefs.h <<\_ACEOF
29311 #define HAVE_ERFL 1
29312 _ACEOF
29316 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29317 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29318 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29319 echo $ECHO_N "(cached) $ECHO_C" >&6
29320 else
29321 ac_check_lib_save_LIBS=$LIBS
29322 LIBS="-lm $LIBS"
29323 if test x$gcc_no_link = xyes; then
29324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29326 { (exit 1); exit 1; }; }
29328 cat >conftest.$ac_ext <<_ACEOF
29329 /* confdefs.h. */
29330 _ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29335 /* Override any gcc2 internal prototype to avoid an error. */
29336 #ifdef __cplusplus
29337 extern "C"
29338 #endif
29339 /* We use char because int might match the return type of a gcc2
29340 builtin and then its argument prototype would still apply. */
29341 char erfcf ();
29343 main ()
29345 erfcf ();
29347 return 0;
29349 _ACEOF
29350 rm -f conftest.$ac_objext conftest$ac_exeext
29351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29352 (eval $ac_link) 2>conftest.er1
29353 ac_status=$?
29354 grep -v '^ *+' conftest.er1 >conftest.err
29355 rm -f conftest.er1
29356 cat conftest.err >&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } &&
29359 { ac_try='test -z "$ac_c_werror_flag"
29360 || test ! -s conftest.err'
29361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362 (eval $ac_try) 2>&5
29363 ac_status=$?
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); }; } &&
29366 { ac_try='test -s conftest$ac_exeext'
29367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29368 (eval $ac_try) 2>&5
29369 ac_status=$?
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); }; }; then
29372 ac_cv_lib_m_erfcf=yes
29373 else
29374 echo "$as_me: failed program was:" >&5
29375 sed 's/^/| /' conftest.$ac_ext >&5
29377 ac_cv_lib_m_erfcf=no
29379 rm -f conftest.err conftest.$ac_objext \
29380 conftest$ac_exeext conftest.$ac_ext
29381 LIBS=$ac_check_lib_save_LIBS
29383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29384 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29385 if test $ac_cv_lib_m_erfcf = yes; then
29387 cat >>confdefs.h <<\_ACEOF
29388 #define HAVE_ERFCF 1
29389 _ACEOF
29393 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29394 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29395 if test "${ac_cv_lib_m_erfc+set}" = set; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29397 else
29398 ac_check_lib_save_LIBS=$LIBS
29399 LIBS="-lm $LIBS"
29400 if test x$gcc_no_link = xyes; then
29401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29403 { (exit 1); exit 1; }; }
29405 cat >conftest.$ac_ext <<_ACEOF
29406 /* confdefs.h. */
29407 _ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29412 /* Override any gcc2 internal prototype to avoid an error. */
29413 #ifdef __cplusplus
29414 extern "C"
29415 #endif
29416 /* We use char because int might match the return type of a gcc2
29417 builtin and then its argument prototype would still apply. */
29418 char erfc ();
29420 main ()
29422 erfc ();
29424 return 0;
29426 _ACEOF
29427 rm -f conftest.$ac_objext conftest$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>conftest.er1
29430 ac_status=$?
29431 grep -v '^ *+' conftest.er1 >conftest.err
29432 rm -f conftest.er1
29433 cat conftest.err >&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -z "$ac_c_werror_flag"
29437 || test ! -s conftest.err'
29438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29439 (eval $ac_try) 2>&5
29440 ac_status=$?
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); }; } &&
29443 { ac_try='test -s conftest$ac_exeext'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29446 ac_status=$?
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; }; then
29449 ac_cv_lib_m_erfc=yes
29450 else
29451 echo "$as_me: failed program was:" >&5
29452 sed 's/^/| /' conftest.$ac_ext >&5
29454 ac_cv_lib_m_erfc=no
29456 rm -f conftest.err conftest.$ac_objext \
29457 conftest$ac_exeext conftest.$ac_ext
29458 LIBS=$ac_check_lib_save_LIBS
29460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29461 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29462 if test $ac_cv_lib_m_erfc = yes; then
29464 cat >>confdefs.h <<\_ACEOF
29465 #define HAVE_ERFC 1
29466 _ACEOF
29470 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29471 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29472 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475 ac_check_lib_save_LIBS=$LIBS
29476 LIBS="-lm $LIBS"
29477 if test x$gcc_no_link = xyes; then
29478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29480 { (exit 1); exit 1; }; }
29482 cat >conftest.$ac_ext <<_ACEOF
29483 /* confdefs.h. */
29484 _ACEOF
29485 cat confdefs.h >>conftest.$ac_ext
29486 cat >>conftest.$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29489 /* Override any gcc2 internal prototype to avoid an error. */
29490 #ifdef __cplusplus
29491 extern "C"
29492 #endif
29493 /* We use char because int might match the return type of a gcc2
29494 builtin and then its argument prototype would still apply. */
29495 char erfcl ();
29497 main ()
29499 erfcl ();
29501 return 0;
29503 _ACEOF
29504 rm -f conftest.$ac_objext conftest$ac_exeext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29506 (eval $ac_link) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_c_werror_flag"
29514 || test ! -s conftest.err'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; } &&
29520 { ac_try='test -s conftest$ac_exeext'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29523 ac_status=$?
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 ac_cv_lib_m_erfcl=yes
29527 else
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29531 ac_cv_lib_m_erfcl=no
29533 rm -f conftest.err conftest.$ac_objext \
29534 conftest$ac_exeext conftest.$ac_ext
29535 LIBS=$ac_check_lib_save_LIBS
29537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
29538 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
29539 if test $ac_cv_lib_m_erfcl = yes; then
29541 cat >>confdefs.h <<\_ACEOF
29542 #define HAVE_ERFCL 1
29543 _ACEOF
29547 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
29548 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
29549 if test "${ac_cv_lib_m_j0f+set}" = set; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29551 else
29552 ac_check_lib_save_LIBS=$LIBS
29553 LIBS="-lm $LIBS"
29554 if test x$gcc_no_link = xyes; then
29555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29557 { (exit 1); exit 1; }; }
29559 cat >conftest.$ac_ext <<_ACEOF
29560 /* confdefs.h. */
29561 _ACEOF
29562 cat confdefs.h >>conftest.$ac_ext
29563 cat >>conftest.$ac_ext <<_ACEOF
29564 /* end confdefs.h. */
29566 /* Override any gcc2 internal prototype to avoid an error. */
29567 #ifdef __cplusplus
29568 extern "C"
29569 #endif
29570 /* We use char because int might match the return type of a gcc2
29571 builtin and then its argument prototype would still apply. */
29572 char j0f ();
29574 main ()
29576 j0f ();
29578 return 0;
29580 _ACEOF
29581 rm -f conftest.$ac_objext conftest$ac_exeext
29582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29583 (eval $ac_link) 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } &&
29590 { ac_try='test -z "$ac_c_werror_flag"
29591 || test ! -s conftest.err'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29594 ac_status=$?
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; } &&
29597 { ac_try='test -s conftest$ac_exeext'
29598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599 (eval $ac_try) 2>&5
29600 ac_status=$?
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29603 ac_cv_lib_m_j0f=yes
29604 else
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29608 ac_cv_lib_m_j0f=no
29610 rm -f conftest.err conftest.$ac_objext \
29611 conftest$ac_exeext conftest.$ac_ext
29612 LIBS=$ac_check_lib_save_LIBS
29614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
29615 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
29616 if test $ac_cv_lib_m_j0f = yes; then
29618 cat >>confdefs.h <<\_ACEOF
29619 #define HAVE_J0F 1
29620 _ACEOF
29624 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
29625 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
29626 if test "${ac_cv_lib_m_j0+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 else
29629 ac_check_lib_save_LIBS=$LIBS
29630 LIBS="-lm $LIBS"
29631 if test x$gcc_no_link = xyes; then
29632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29634 { (exit 1); exit 1; }; }
29636 cat >conftest.$ac_ext <<_ACEOF
29637 /* confdefs.h. */
29638 _ACEOF
29639 cat confdefs.h >>conftest.$ac_ext
29640 cat >>conftest.$ac_ext <<_ACEOF
29641 /* end confdefs.h. */
29643 /* Override any gcc2 internal prototype to avoid an error. */
29644 #ifdef __cplusplus
29645 extern "C"
29646 #endif
29647 /* We use char because int might match the return type of a gcc2
29648 builtin and then its argument prototype would still apply. */
29649 char j0 ();
29651 main ()
29653 j0 ();
29655 return 0;
29657 _ACEOF
29658 rm -f conftest.$ac_objext conftest$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 2>conftest.er1
29661 ac_status=$?
29662 grep -v '^ *+' conftest.er1 >conftest.err
29663 rm -f conftest.er1
29664 cat conftest.err >&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -z "$ac_c_werror_flag"
29668 || test ! -s conftest.err'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try='test -s conftest$ac_exeext'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29677 ac_status=$?
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; }; then
29680 ac_cv_lib_m_j0=yes
29681 else
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.$ac_ext >&5
29685 ac_cv_lib_m_j0=no
29687 rm -f conftest.err conftest.$ac_objext \
29688 conftest$ac_exeext conftest.$ac_ext
29689 LIBS=$ac_check_lib_save_LIBS
29691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
29692 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
29693 if test $ac_cv_lib_m_j0 = yes; then
29695 cat >>confdefs.h <<\_ACEOF
29696 #define HAVE_J0 1
29697 _ACEOF
29701 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
29702 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
29703 if test "${ac_cv_lib_m_j0l+set}" = set; then
29704 echo $ECHO_N "(cached) $ECHO_C" >&6
29705 else
29706 ac_check_lib_save_LIBS=$LIBS
29707 LIBS="-lm $LIBS"
29708 if test x$gcc_no_link = xyes; then
29709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29711 { (exit 1); exit 1; }; }
29713 cat >conftest.$ac_ext <<_ACEOF
29714 /* confdefs.h. */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29720 /* Override any gcc2 internal prototype to avoid an error. */
29721 #ifdef __cplusplus
29722 extern "C"
29723 #endif
29724 /* We use char because int might match the return type of a gcc2
29725 builtin and then its argument prototype would still apply. */
29726 char j0l ();
29728 main ()
29730 j0l ();
29732 return 0;
29734 _ACEOF
29735 rm -f conftest.$ac_objext conftest$ac_exeext
29736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29737 (eval $ac_link) 2>conftest.er1
29738 ac_status=$?
29739 grep -v '^ *+' conftest.er1 >conftest.err
29740 rm -f conftest.er1
29741 cat conftest.err >&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } &&
29744 { ac_try='test -z "$ac_c_werror_flag"
29745 || test ! -s conftest.err'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29748 ac_status=$?
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; } &&
29751 { ac_try='test -s conftest$ac_exeext'
29752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753 (eval $ac_try) 2>&5
29754 ac_status=$?
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; }; then
29757 ac_cv_lib_m_j0l=yes
29758 else
29759 echo "$as_me: failed program was:" >&5
29760 sed 's/^/| /' conftest.$ac_ext >&5
29762 ac_cv_lib_m_j0l=no
29764 rm -f conftest.err conftest.$ac_objext \
29765 conftest$ac_exeext conftest.$ac_ext
29766 LIBS=$ac_check_lib_save_LIBS
29768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
29769 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
29770 if test $ac_cv_lib_m_j0l = yes; then
29772 cat >>confdefs.h <<\_ACEOF
29773 #define HAVE_J0L 1
29774 _ACEOF
29778 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
29779 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
29780 if test "${ac_cv_lib_m_j1f+set}" = set; then
29781 echo $ECHO_N "(cached) $ECHO_C" >&6
29782 else
29783 ac_check_lib_save_LIBS=$LIBS
29784 LIBS="-lm $LIBS"
29785 if test x$gcc_no_link = xyes; then
29786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29788 { (exit 1); exit 1; }; }
29790 cat >conftest.$ac_ext <<_ACEOF
29791 /* confdefs.h. */
29792 _ACEOF
29793 cat confdefs.h >>conftest.$ac_ext
29794 cat >>conftest.$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29797 /* Override any gcc2 internal prototype to avoid an error. */
29798 #ifdef __cplusplus
29799 extern "C"
29800 #endif
29801 /* We use char because int might match the return type of a gcc2
29802 builtin and then its argument prototype would still apply. */
29803 char j1f ();
29805 main ()
29807 j1f ();
29809 return 0;
29811 _ACEOF
29812 rm -f conftest.$ac_objext conftest$ac_exeext
29813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29814 (eval $ac_link) 2>conftest.er1
29815 ac_status=$?
29816 grep -v '^ *+' conftest.er1 >conftest.err
29817 rm -f conftest.er1
29818 cat conftest.err >&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } &&
29821 { ac_try='test -z "$ac_c_werror_flag"
29822 || test ! -s conftest.err'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29825 ac_status=$?
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; } &&
29828 { ac_try='test -s conftest$ac_exeext'
29829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830 (eval $ac_try) 2>&5
29831 ac_status=$?
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; }; then
29834 ac_cv_lib_m_j1f=yes
29835 else
29836 echo "$as_me: failed program was:" >&5
29837 sed 's/^/| /' conftest.$ac_ext >&5
29839 ac_cv_lib_m_j1f=no
29841 rm -f conftest.err conftest.$ac_objext \
29842 conftest$ac_exeext conftest.$ac_ext
29843 LIBS=$ac_check_lib_save_LIBS
29845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
29846 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
29847 if test $ac_cv_lib_m_j1f = yes; then
29849 cat >>confdefs.h <<\_ACEOF
29850 #define HAVE_J1F 1
29851 _ACEOF
29855 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
29856 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
29857 if test "${ac_cv_lib_m_j1+set}" = set; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29859 else
29860 ac_check_lib_save_LIBS=$LIBS
29861 LIBS="-lm $LIBS"
29862 if test x$gcc_no_link = xyes; then
29863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29865 { (exit 1); exit 1; }; }
29867 cat >conftest.$ac_ext <<_ACEOF
29868 /* confdefs.h. */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29874 /* Override any gcc2 internal prototype to avoid an error. */
29875 #ifdef __cplusplus
29876 extern "C"
29877 #endif
29878 /* We use char because int might match the return type of a gcc2
29879 builtin and then its argument prototype would still apply. */
29880 char j1 ();
29882 main ()
29884 j1 ();
29886 return 0;
29888 _ACEOF
29889 rm -f conftest.$ac_objext conftest$ac_exeext
29890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29891 (eval $ac_link) 2>conftest.er1
29892 ac_status=$?
29893 grep -v '^ *+' conftest.er1 >conftest.err
29894 rm -f conftest.er1
29895 cat conftest.err >&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try='test -z "$ac_c_werror_flag"
29899 || test ! -s conftest.err'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; } &&
29905 { ac_try='test -s conftest$ac_exeext'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; }; then
29911 ac_cv_lib_m_j1=yes
29912 else
29913 echo "$as_me: failed program was:" >&5
29914 sed 's/^/| /' conftest.$ac_ext >&5
29916 ac_cv_lib_m_j1=no
29918 rm -f conftest.err conftest.$ac_objext \
29919 conftest$ac_exeext conftest.$ac_ext
29920 LIBS=$ac_check_lib_save_LIBS
29922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
29923 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
29924 if test $ac_cv_lib_m_j1 = yes; then
29926 cat >>confdefs.h <<\_ACEOF
29927 #define HAVE_J1 1
29928 _ACEOF
29932 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
29933 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
29934 if test "${ac_cv_lib_m_j1l+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29936 else
29937 ac_check_lib_save_LIBS=$LIBS
29938 LIBS="-lm $LIBS"
29939 if test x$gcc_no_link = xyes; then
29940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29942 { (exit 1); exit 1; }; }
29944 cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h. */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29951 /* Override any gcc2 internal prototype to avoid an error. */
29952 #ifdef __cplusplus
29953 extern "C"
29954 #endif
29955 /* We use char because int might match the return type of a gcc2
29956 builtin and then its argument prototype would still apply. */
29957 char j1l ();
29959 main ()
29961 j1l ();
29963 return 0;
29965 _ACEOF
29966 rm -f conftest.$ac_objext conftest$ac_exeext
29967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29968 (eval $ac_link) 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } &&
29975 { ac_try='test -z "$ac_c_werror_flag"
29976 || test ! -s conftest.err'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; } &&
29982 { ac_try='test -s conftest$ac_exeext'
29983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29984 (eval $ac_try) 2>&5
29985 ac_status=$?
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); }; }; then
29988 ac_cv_lib_m_j1l=yes
29989 else
29990 echo "$as_me: failed program was:" >&5
29991 sed 's/^/| /' conftest.$ac_ext >&5
29993 ac_cv_lib_m_j1l=no
29995 rm -f conftest.err conftest.$ac_objext \
29996 conftest$ac_exeext conftest.$ac_ext
29997 LIBS=$ac_check_lib_save_LIBS
29999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30000 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30001 if test $ac_cv_lib_m_j1l = yes; then
30003 cat >>confdefs.h <<\_ACEOF
30004 #define HAVE_J1L 1
30005 _ACEOF
30009 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30010 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30011 if test "${ac_cv_lib_m_jnf+set}" = set; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014 ac_check_lib_save_LIBS=$LIBS
30015 LIBS="-lm $LIBS"
30016 if test x$gcc_no_link = xyes; then
30017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30019 { (exit 1); exit 1; }; }
30021 cat >conftest.$ac_ext <<_ACEOF
30022 /* confdefs.h. */
30023 _ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30028 /* Override any gcc2 internal prototype to avoid an error. */
30029 #ifdef __cplusplus
30030 extern "C"
30031 #endif
30032 /* We use char because int might match the return type of a gcc2
30033 builtin and then its argument prototype would still apply. */
30034 char jnf ();
30036 main ()
30038 jnf ();
30040 return 0;
30042 _ACEOF
30043 rm -f conftest.$ac_objext conftest$ac_exeext
30044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30045 (eval $ac_link) 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } &&
30052 { ac_try='test -z "$ac_c_werror_flag"
30053 || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30056 ac_status=$?
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try='test -s conftest$ac_exeext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30062 ac_status=$?
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30065 ac_cv_lib_m_jnf=yes
30066 else
30067 echo "$as_me: failed program was:" >&5
30068 sed 's/^/| /' conftest.$ac_ext >&5
30070 ac_cv_lib_m_jnf=no
30072 rm -f conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074 LIBS=$ac_check_lib_save_LIBS
30076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30077 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30078 if test $ac_cv_lib_m_jnf = yes; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define HAVE_JNF 1
30082 _ACEOF
30086 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30087 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30088 if test "${ac_cv_lib_m_jn+set}" = set; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 else
30091 ac_check_lib_save_LIBS=$LIBS
30092 LIBS="-lm $LIBS"
30093 if test x$gcc_no_link = xyes; then
30094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30096 { (exit 1); exit 1; }; }
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30105 /* Override any gcc2 internal prototype to avoid an error. */
30106 #ifdef __cplusplus
30107 extern "C"
30108 #endif
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30111 char jn ();
30113 main ()
30115 jn ();
30117 return 0;
30119 _ACEOF
30120 rm -f conftest.$ac_objext conftest$ac_exeext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>conftest.er1
30123 ac_status=$?
30124 grep -v '^ *+' conftest.er1 >conftest.err
30125 rm -f conftest.er1
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try='test -z "$ac_c_werror_flag"
30130 || test ! -s conftest.err'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30133 ac_status=$?
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; } &&
30136 { ac_try='test -s conftest$ac_exeext'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30139 ac_status=$?
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30142 ac_cv_lib_m_jn=yes
30143 else
30144 echo "$as_me: failed program was:" >&5
30145 sed 's/^/| /' conftest.$ac_ext >&5
30147 ac_cv_lib_m_jn=no
30149 rm -f conftest.err conftest.$ac_objext \
30150 conftest$ac_exeext conftest.$ac_ext
30151 LIBS=$ac_check_lib_save_LIBS
30153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30154 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30155 if test $ac_cv_lib_m_jn = yes; then
30157 cat >>confdefs.h <<\_ACEOF
30158 #define HAVE_JN 1
30159 _ACEOF
30163 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30164 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30165 if test "${ac_cv_lib_m_jnl+set}" = set; then
30166 echo $ECHO_N "(cached) $ECHO_C" >&6
30167 else
30168 ac_check_lib_save_LIBS=$LIBS
30169 LIBS="-lm $LIBS"
30170 if test x$gcc_no_link = xyes; then
30171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30173 { (exit 1); exit 1; }; }
30175 cat >conftest.$ac_ext <<_ACEOF
30176 /* confdefs.h. */
30177 _ACEOF
30178 cat confdefs.h >>conftest.$ac_ext
30179 cat >>conftest.$ac_ext <<_ACEOF
30180 /* end confdefs.h. */
30182 /* Override any gcc2 internal prototype to avoid an error. */
30183 #ifdef __cplusplus
30184 extern "C"
30185 #endif
30186 /* We use char because int might match the return type of a gcc2
30187 builtin and then its argument prototype would still apply. */
30188 char jnl ();
30190 main ()
30192 jnl ();
30194 return 0;
30196 _ACEOF
30197 rm -f conftest.$ac_objext conftest$ac_exeext
30198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30199 (eval $ac_link) 2>conftest.er1
30200 ac_status=$?
30201 grep -v '^ *+' conftest.er1 >conftest.err
30202 rm -f conftest.er1
30203 cat conftest.err >&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); } &&
30206 { ac_try='test -z "$ac_c_werror_flag"
30207 || test ! -s conftest.err'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30210 ac_status=$?
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; } &&
30213 { ac_try='test -s conftest$ac_exeext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30216 ac_status=$?
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 ac_cv_lib_m_jnl=yes
30220 else
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30224 ac_cv_lib_m_jnl=no
30226 rm -f conftest.err conftest.$ac_objext \
30227 conftest$ac_exeext conftest.$ac_ext
30228 LIBS=$ac_check_lib_save_LIBS
30230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30231 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30232 if test $ac_cv_lib_m_jnl = yes; then
30234 cat >>confdefs.h <<\_ACEOF
30235 #define HAVE_JNL 1
30236 _ACEOF
30240 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30241 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30242 if test "${ac_cv_lib_m_y0f+set}" = set; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 else
30245 ac_check_lib_save_LIBS=$LIBS
30246 LIBS="-lm $LIBS"
30247 if test x$gcc_no_link = xyes; then
30248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30250 { (exit 1); exit 1; }; }
30252 cat >conftest.$ac_ext <<_ACEOF
30253 /* confdefs.h. */
30254 _ACEOF
30255 cat confdefs.h >>conftest.$ac_ext
30256 cat >>conftest.$ac_ext <<_ACEOF
30257 /* end confdefs.h. */
30259 /* Override any gcc2 internal prototype to avoid an error. */
30260 #ifdef __cplusplus
30261 extern "C"
30262 #endif
30263 /* We use char because int might match the return type of a gcc2
30264 builtin and then its argument prototype would still apply. */
30265 char y0f ();
30267 main ()
30269 y0f ();
30271 return 0;
30273 _ACEOF
30274 rm -f conftest.$ac_objext conftest$ac_exeext
30275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30276 (eval $ac_link) 2>conftest.er1
30277 ac_status=$?
30278 grep -v '^ *+' conftest.er1 >conftest.err
30279 rm -f conftest.er1
30280 cat conftest.err >&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); } &&
30283 { ac_try='test -z "$ac_c_werror_flag"
30284 || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest$ac_exeext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30296 ac_cv_lib_m_y0f=yes
30297 else
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30301 ac_cv_lib_m_y0f=no
30303 rm -f conftest.err conftest.$ac_objext \
30304 conftest$ac_exeext conftest.$ac_ext
30305 LIBS=$ac_check_lib_save_LIBS
30307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30308 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30309 if test $ac_cv_lib_m_y0f = yes; then
30311 cat >>confdefs.h <<\_ACEOF
30312 #define HAVE_Y0F 1
30313 _ACEOF
30317 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30318 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30319 if test "${ac_cv_lib_m_y0+set}" = set; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30321 else
30322 ac_check_lib_save_LIBS=$LIBS
30323 LIBS="-lm $LIBS"
30324 if test x$gcc_no_link = xyes; then
30325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30327 { (exit 1); exit 1; }; }
30329 cat >conftest.$ac_ext <<_ACEOF
30330 /* confdefs.h. */
30331 _ACEOF
30332 cat confdefs.h >>conftest.$ac_ext
30333 cat >>conftest.$ac_ext <<_ACEOF
30334 /* end confdefs.h. */
30336 /* Override any gcc2 internal prototype to avoid an error. */
30337 #ifdef __cplusplus
30338 extern "C"
30339 #endif
30340 /* We use char because int might match the return type of a gcc2
30341 builtin and then its argument prototype would still apply. */
30342 char y0 ();
30344 main ()
30346 y0 ();
30348 return 0;
30350 _ACEOF
30351 rm -f conftest.$ac_objext conftest$ac_exeext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30353 (eval $ac_link) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_c_werror_flag"
30361 || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try='test -s conftest$ac_exeext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 ac_cv_lib_m_y0=yes
30374 else
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.$ac_ext >&5
30378 ac_cv_lib_m_y0=no
30380 rm -f conftest.err conftest.$ac_objext \
30381 conftest$ac_exeext conftest.$ac_ext
30382 LIBS=$ac_check_lib_save_LIBS
30384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30385 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30386 if test $ac_cv_lib_m_y0 = yes; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define HAVE_Y0 1
30390 _ACEOF
30394 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30395 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30396 if test "${ac_cv_lib_m_y0l+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30398 else
30399 ac_check_lib_save_LIBS=$LIBS
30400 LIBS="-lm $LIBS"
30401 if test x$gcc_no_link = xyes; then
30402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30404 { (exit 1); exit 1; }; }
30406 cat >conftest.$ac_ext <<_ACEOF
30407 /* confdefs.h. */
30408 _ACEOF
30409 cat confdefs.h >>conftest.$ac_ext
30410 cat >>conftest.$ac_ext <<_ACEOF
30411 /* end confdefs.h. */
30413 /* Override any gcc2 internal prototype to avoid an error. */
30414 #ifdef __cplusplus
30415 extern "C"
30416 #endif
30417 /* We use char because int might match the return type of a gcc2
30418 builtin and then its argument prototype would still apply. */
30419 char y0l ();
30421 main ()
30423 y0l ();
30425 return 0;
30427 _ACEOF
30428 rm -f conftest.$ac_objext conftest$ac_exeext
30429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30430 (eval $ac_link) 2>conftest.er1
30431 ac_status=$?
30432 grep -v '^ *+' conftest.er1 >conftest.err
30433 rm -f conftest.er1
30434 cat conftest.err >&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); } &&
30437 { ac_try='test -z "$ac_c_werror_flag"
30438 || test ! -s conftest.err'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; } &&
30444 { ac_try='test -s conftest$ac_exeext'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; }; then
30450 ac_cv_lib_m_y0l=yes
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30455 ac_cv_lib_m_y0l=no
30457 rm -f conftest.err conftest.$ac_objext \
30458 conftest$ac_exeext conftest.$ac_ext
30459 LIBS=$ac_check_lib_save_LIBS
30461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30462 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30463 if test $ac_cv_lib_m_y0l = yes; then
30465 cat >>confdefs.h <<\_ACEOF
30466 #define HAVE_Y0L 1
30467 _ACEOF
30471 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30472 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30473 if test "${ac_cv_lib_m_y1f+set}" = set; then
30474 echo $ECHO_N "(cached) $ECHO_C" >&6
30475 else
30476 ac_check_lib_save_LIBS=$LIBS
30477 LIBS="-lm $LIBS"
30478 if test x$gcc_no_link = xyes; then
30479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30481 { (exit 1); exit 1; }; }
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30490 /* Override any gcc2 internal prototype to avoid an error. */
30491 #ifdef __cplusplus
30492 extern "C"
30493 #endif
30494 /* We use char because int might match the return type of a gcc2
30495 builtin and then its argument prototype would still apply. */
30496 char y1f ();
30498 main ()
30500 y1f ();
30502 return 0;
30504 _ACEOF
30505 rm -f conftest.$ac_objext conftest$ac_exeext
30506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30507 (eval $ac_link) 2>conftest.er1
30508 ac_status=$?
30509 grep -v '^ *+' conftest.er1 >conftest.err
30510 rm -f conftest.er1
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } &&
30514 { ac_try='test -z "$ac_c_werror_flag"
30515 || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30518 ac_status=$?
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 ac_cv_lib_m_y1f=yes
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30532 ac_cv_lib_m_y1f=no
30534 rm -f conftest.err conftest.$ac_objext \
30535 conftest$ac_exeext conftest.$ac_ext
30536 LIBS=$ac_check_lib_save_LIBS
30538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
30539 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
30540 if test $ac_cv_lib_m_y1f = yes; then
30542 cat >>confdefs.h <<\_ACEOF
30543 #define HAVE_Y1F 1
30544 _ACEOF
30548 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
30549 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
30550 if test "${ac_cv_lib_m_y1+set}" = set; then
30551 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 else
30553 ac_check_lib_save_LIBS=$LIBS
30554 LIBS="-lm $LIBS"
30555 if test x$gcc_no_link = xyes; then
30556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30558 { (exit 1); exit 1; }; }
30560 cat >conftest.$ac_ext <<_ACEOF
30561 /* confdefs.h. */
30562 _ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30567 /* Override any gcc2 internal prototype to avoid an error. */
30568 #ifdef __cplusplus
30569 extern "C"
30570 #endif
30571 /* We use char because int might match the return type of a gcc2
30572 builtin and then its argument prototype would still apply. */
30573 char y1 ();
30575 main ()
30577 y1 ();
30579 return 0;
30581 _ACEOF
30582 rm -f conftest.$ac_objext conftest$ac_exeext
30583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30584 (eval $ac_link) 2>conftest.er1
30585 ac_status=$?
30586 grep -v '^ *+' conftest.er1 >conftest.err
30587 rm -f conftest.er1
30588 cat conftest.err >&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); } &&
30591 { ac_try='test -z "$ac_c_werror_flag"
30592 || test ! -s conftest.err'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; } &&
30598 { ac_try='test -s conftest$ac_exeext'
30599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30600 (eval $ac_try) 2>&5
30601 ac_status=$?
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); }; }; then
30604 ac_cv_lib_m_y1=yes
30605 else
30606 echo "$as_me: failed program was:" >&5
30607 sed 's/^/| /' conftest.$ac_ext >&5
30609 ac_cv_lib_m_y1=no
30611 rm -f conftest.err conftest.$ac_objext \
30612 conftest$ac_exeext conftest.$ac_ext
30613 LIBS=$ac_check_lib_save_LIBS
30615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
30616 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
30617 if test $ac_cv_lib_m_y1 = yes; then
30619 cat >>confdefs.h <<\_ACEOF
30620 #define HAVE_Y1 1
30621 _ACEOF
30625 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
30626 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
30627 if test "${ac_cv_lib_m_y1l+set}" = set; then
30628 echo $ECHO_N "(cached) $ECHO_C" >&6
30629 else
30630 ac_check_lib_save_LIBS=$LIBS
30631 LIBS="-lm $LIBS"
30632 if test x$gcc_no_link = xyes; then
30633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30635 { (exit 1); exit 1; }; }
30637 cat >conftest.$ac_ext <<_ACEOF
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30644 /* Override any gcc2 internal prototype to avoid an error. */
30645 #ifdef __cplusplus
30646 extern "C"
30647 #endif
30648 /* We use char because int might match the return type of a gcc2
30649 builtin and then its argument prototype would still apply. */
30650 char y1l ();
30652 main ()
30654 y1l ();
30656 return 0;
30658 _ACEOF
30659 rm -f conftest.$ac_objext conftest$ac_exeext
30660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30661 (eval $ac_link) 2>conftest.er1
30662 ac_status=$?
30663 grep -v '^ *+' conftest.er1 >conftest.err
30664 rm -f conftest.er1
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } &&
30668 { ac_try='test -z "$ac_c_werror_flag"
30669 || test ! -s conftest.err'
30670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30671 (eval $ac_try) 2>&5
30672 ac_status=$?
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; } &&
30675 { ac_try='test -s conftest$ac_exeext'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30678 ac_status=$?
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; }; then
30681 ac_cv_lib_m_y1l=yes
30682 else
30683 echo "$as_me: failed program was:" >&5
30684 sed 's/^/| /' conftest.$ac_ext >&5
30686 ac_cv_lib_m_y1l=no
30688 rm -f conftest.err conftest.$ac_objext \
30689 conftest$ac_exeext conftest.$ac_ext
30690 LIBS=$ac_check_lib_save_LIBS
30692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
30693 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
30694 if test $ac_cv_lib_m_y1l = yes; then
30696 cat >>confdefs.h <<\_ACEOF
30697 #define HAVE_Y1L 1
30698 _ACEOF
30702 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
30703 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
30704 if test "${ac_cv_lib_m_ynf+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 else
30707 ac_check_lib_save_LIBS=$LIBS
30708 LIBS="-lm $LIBS"
30709 if test x$gcc_no_link = xyes; then
30710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30712 { (exit 1); exit 1; }; }
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30721 /* Override any gcc2 internal prototype to avoid an error. */
30722 #ifdef __cplusplus
30723 extern "C"
30724 #endif
30725 /* We use char because int might match the return type of a gcc2
30726 builtin and then its argument prototype would still apply. */
30727 char ynf ();
30729 main ()
30731 ynf ();
30733 return 0;
30735 _ACEOF
30736 rm -f conftest.$ac_objext conftest$ac_exeext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30738 (eval $ac_link) 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try='test -z "$ac_c_werror_flag"
30746 || test ! -s conftest.err'
30747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748 (eval $ac_try) 2>&5
30749 ac_status=$?
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; } &&
30752 { ac_try='test -s conftest$ac_exeext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30755 ac_status=$?
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30758 ac_cv_lib_m_ynf=yes
30759 else
30760 echo "$as_me: failed program was:" >&5
30761 sed 's/^/| /' conftest.$ac_ext >&5
30763 ac_cv_lib_m_ynf=no
30765 rm -f conftest.err conftest.$ac_objext \
30766 conftest$ac_exeext conftest.$ac_ext
30767 LIBS=$ac_check_lib_save_LIBS
30769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
30770 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
30771 if test $ac_cv_lib_m_ynf = yes; then
30773 cat >>confdefs.h <<\_ACEOF
30774 #define HAVE_YNF 1
30775 _ACEOF
30779 echo "$as_me:$LINENO: checking for yn in -lm" >&5
30780 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
30781 if test "${ac_cv_lib_m_yn+set}" = set; then
30782 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 else
30784 ac_check_lib_save_LIBS=$LIBS
30785 LIBS="-lm $LIBS"
30786 if test x$gcc_no_link = xyes; then
30787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30789 { (exit 1); exit 1; }; }
30791 cat >conftest.$ac_ext <<_ACEOF
30792 /* confdefs.h. */
30793 _ACEOF
30794 cat confdefs.h >>conftest.$ac_ext
30795 cat >>conftest.$ac_ext <<_ACEOF
30796 /* end confdefs.h. */
30798 /* Override any gcc2 internal prototype to avoid an error. */
30799 #ifdef __cplusplus
30800 extern "C"
30801 #endif
30802 /* We use char because int might match the return type of a gcc2
30803 builtin and then its argument prototype would still apply. */
30804 char yn ();
30806 main ()
30808 yn ();
30810 return 0;
30812 _ACEOF
30813 rm -f conftest.$ac_objext conftest$ac_exeext
30814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30815 (eval $ac_link) 2>conftest.er1
30816 ac_status=$?
30817 grep -v '^ *+' conftest.er1 >conftest.err
30818 rm -f conftest.er1
30819 cat conftest.err >&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); } &&
30822 { ac_try='test -z "$ac_c_werror_flag"
30823 || test ! -s conftest.err'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30826 ac_status=$?
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; } &&
30829 { ac_try='test -s conftest$ac_exeext'
30830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831 (eval $ac_try) 2>&5
30832 ac_status=$?
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; }; then
30835 ac_cv_lib_m_yn=yes
30836 else
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30840 ac_cv_lib_m_yn=no
30842 rm -f conftest.err conftest.$ac_objext \
30843 conftest$ac_exeext conftest.$ac_ext
30844 LIBS=$ac_check_lib_save_LIBS
30846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
30847 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
30848 if test $ac_cv_lib_m_yn = yes; then
30850 cat >>confdefs.h <<\_ACEOF
30851 #define HAVE_YN 1
30852 _ACEOF
30856 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
30857 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
30858 if test "${ac_cv_lib_m_ynl+set}" = set; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30860 else
30861 ac_check_lib_save_LIBS=$LIBS
30862 LIBS="-lm $LIBS"
30863 if test x$gcc_no_link = xyes; then
30864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30866 { (exit 1); exit 1; }; }
30868 cat >conftest.$ac_ext <<_ACEOF
30869 /* confdefs.h. */
30870 _ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30875 /* Override any gcc2 internal prototype to avoid an error. */
30876 #ifdef __cplusplus
30877 extern "C"
30878 #endif
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30881 char ynl ();
30883 main ()
30885 ynl ();
30887 return 0;
30889 _ACEOF
30890 rm -f conftest.$ac_objext conftest$ac_exeext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30892 (eval $ac_link) 2>conftest.er1
30893 ac_status=$?
30894 grep -v '^ *+' conftest.er1 >conftest.err
30895 rm -f conftest.er1
30896 cat conftest.err >&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try='test -z "$ac_c_werror_flag"
30900 || test ! -s conftest.err'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; } &&
30906 { ac_try='test -s conftest$ac_exeext'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 ac_cv_lib_m_ynl=yes
30913 else
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30917 ac_cv_lib_m_ynl=no
30919 rm -f conftest.err conftest.$ac_objext \
30920 conftest$ac_exeext conftest.$ac_ext
30921 LIBS=$ac_check_lib_save_LIBS
30923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
30924 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
30925 if test $ac_cv_lib_m_ynl = yes; then
30927 cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_YNL 1
30929 _ACEOF
30934 # On AIX, clog is present in libm as __clog
30935 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
30936 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
30937 if test "${ac_cv_lib_m___clog+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 else
30940 ac_check_lib_save_LIBS=$LIBS
30941 LIBS="-lm $LIBS"
30942 if test x$gcc_no_link = xyes; then
30943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30945 { (exit 1); exit 1; }; }
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30954 /* Override any gcc2 internal prototype to avoid an error. */
30955 #ifdef __cplusplus
30956 extern "C"
30957 #endif
30958 /* We use char because int might match the return type of a gcc2
30959 builtin and then its argument prototype would still apply. */
30960 char __clog ();
30962 main ()
30964 __clog ();
30966 return 0;
30968 _ACEOF
30969 rm -f conftest.$ac_objext conftest$ac_exeext
30970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30971 (eval $ac_link) 2>conftest.er1
30972 ac_status=$?
30973 grep -v '^ *+' conftest.er1 >conftest.err
30974 rm -f conftest.er1
30975 cat conftest.err >&5
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); } &&
30978 { ac_try='test -z "$ac_c_werror_flag"
30979 || test ! -s conftest.err'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30982 ac_status=$?
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; } &&
30985 { ac_try='test -s conftest$ac_exeext'
30986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30987 (eval $ac_try) 2>&5
30988 ac_status=$?
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); }; }; then
30991 ac_cv_lib_m___clog=yes
30992 else
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30996 ac_cv_lib_m___clog=no
30998 rm -f conftest.err conftest.$ac_objext \
30999 conftest$ac_exeext conftest.$ac_ext
31000 LIBS=$ac_check_lib_save_LIBS
31002 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31003 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31004 if test $ac_cv_lib_m___clog = yes; then
31006 cat >>confdefs.h <<\_ACEOF
31007 #define HAVE_CLOG 1
31008 _ACEOF
31013 # Check for a isfinite macro that works on long doubles.
31015 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31016 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31017 if test "${have_broken_isfinite+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31021 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31022 LIBS="$LIBS -lm"
31023 if test "$cross_compiling" = yes; then
31025 case "${target}" in
31026 hppa*-*-hpux*) have_broken_isfinite=yes ;;
31027 *) have_broken_isfinite=no ;;
31028 esac
31029 else
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31037 #ifdef HAVE_MATH_H
31038 #include <math.h>
31039 #endif
31040 #include <float.h>
31041 int main ()
31043 #ifdef isfinite
31044 #ifdef LDBL_MAX
31045 if (!isfinite(LDBL_MAX)) return 1;
31046 #endif
31047 #ifdef DBL_MAX
31048 if (!isfinite(DBL_MAX)) return 1;
31049 #endif
31050 #endif
31051 return 0;
31053 _ACEOF
31054 rm -f conftest$ac_exeext
31055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31056 (eval $ac_link) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 (eval $ac_try) 2>&5
31062 ac_status=$?
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; }; then
31065 have_broken_isfinite=no
31066 else
31067 echo "$as_me: program exited with status $ac_status" >&5
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31071 ( exit $ac_status )
31072 have_broken_isfinite=yes
31074 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31076 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
31078 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
31079 echo "${ECHO_T}$have_broken_isfinite" >&6
31080 if test x"$have_broken_isfinite" = xyes; then
31082 cat >>confdefs.h <<\_ACEOF
31083 #define HAVE_BROKEN_ISFINITE 1
31084 _ACEOF
31088 # Check for a isnan macro that works on long doubles.
31090 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
31091 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
31092 if test "${have_broken_isnan+set}" = set; then
31093 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 else
31096 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
31097 LIBS="$LIBS -lm"
31098 if test "$cross_compiling" = yes; then
31100 case "${target}" in
31101 hppa*-*-hpux*) have_broken_isnan=yes ;;
31102 *) have_broken_isnan=no ;;
31103 esac
31104 else
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h. */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31112 #ifdef HAVE_MATH_H
31113 #include <math.h>
31114 #endif
31115 #include <float.h>
31116 int main ()
31118 #ifdef isnan
31119 #ifdef LDBL_MAX
31121 long double x;
31122 x = __builtin_nanl ("");
31123 if (!isnan(x)) return 1;
31124 if (isnan(LDBL_MAX)) return 1;
31125 #ifdef NAN
31126 x = (long double) NAN;
31127 if (!isnan(x)) return 1;
31128 #endif
31130 #endif
31131 #ifdef DBL_MAX
31133 double y;
31134 y = __builtin_nan ("");
31135 if (!isnan(y)) return 1;
31136 if (isnan(DBL_MAX)) return 1;
31137 #ifdef NAN
31138 y = (double) NAN;
31139 if (!isnan(y)) return 1;
31140 #endif
31142 #endif
31143 #endif
31144 return 0;
31146 _ACEOF
31147 rm -f conftest$ac_exeext
31148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31149 (eval $ac_link) 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31155 ac_status=$?
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 have_broken_isnan=no
31159 else
31160 echo "$as_me: program exited with status $ac_status" >&5
31161 echo "$as_me: failed program was:" >&5
31162 sed 's/^/| /' conftest.$ac_ext >&5
31164 ( exit $ac_status )
31165 have_broken_isnan=yes
31167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31169 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
31171 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
31172 echo "${ECHO_T}$have_broken_isnan" >&6
31173 if test x"$have_broken_isnan" = xyes; then
31175 cat >>confdefs.h <<\_ACEOF
31176 #define HAVE_BROKEN_ISNAN 1
31177 _ACEOF
31181 # Check for a fpclassify macro that works on long doubles.
31183 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
31184 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
31185 if test "${have_broken_fpclassify+set}" = set; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31187 else
31189 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
31190 LIBS="$LIBS -lm"
31191 if test "$cross_compiling" = yes; then
31193 case "${target}" in
31194 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
31195 *) have_broken_fpclassify=no ;;
31196 esac
31197 else
31198 cat >conftest.$ac_ext <<_ACEOF
31199 /* confdefs.h. */
31200 _ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31205 #ifdef HAVE_MATH_H
31206 #include <math.h>
31207 #endif
31208 #include <float.h>
31209 int main ()
31211 #ifdef fpclassify
31212 #ifdef LDBL_MAX
31213 if (fpclassify(LDBL_MAX) == FP_NAN
31214 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
31215 #endif
31216 #ifdef DBL_MAX
31217 if (fpclassify(DBL_MAX) == FP_NAN
31218 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
31219 #endif
31220 #endif
31221 return 0;
31223 _ACEOF
31224 rm -f conftest$ac_exeext
31225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31226 (eval $ac_link) 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31232 ac_status=$?
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; }; then
31235 have_broken_fpclassify=no
31236 else
31237 echo "$as_me: program exited with status $ac_status" >&5
31238 echo "$as_me: failed program was:" >&5
31239 sed 's/^/| /' conftest.$ac_ext >&5
31241 ( exit $ac_status )
31242 have_broken_fpclassify=yes
31244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31246 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
31248 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
31249 echo "${ECHO_T}$have_broken_fpclassify" >&6
31250 if test x"$have_broken_fpclassify" = xyes; then
31252 cat >>confdefs.h <<\_ACEOF
31253 #define HAVE_BROKEN_FPCLASSIFY 1
31254 _ACEOF
31258 # Check whether the system has a working stat()
31260 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
31261 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
31262 if test "${have_working_stat+set}" = set; then
31263 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 else
31266 if test "$cross_compiling" = yes; then
31268 case "${target}" in
31269 *mingw*) have_working_stat=no ;;
31270 *) have_working_stat=yes;;
31271 esac
31272 else
31273 cat >conftest.$ac_ext <<_ACEOF
31274 /* confdefs.h. */
31275 _ACEOF
31276 cat confdefs.h >>conftest.$ac_ext
31277 cat >>conftest.$ac_ext <<_ACEOF
31278 /* end confdefs.h. */
31280 #include <stdio.h>
31281 #include <sys/types.h>
31282 #include <sys/stat.h>
31283 #include <unistd.h>
31285 int main ()
31287 FILE *f, *g;
31288 struct stat st1, st2;
31290 f = fopen ("foo", "w");
31291 g = fopen ("bar", "w");
31292 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
31293 return 1;
31294 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
31295 return 1;
31296 fclose(f);
31297 fclose(g);
31298 return 0;
31300 _ACEOF
31301 rm -f conftest$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>&5
31304 ac_status=$?
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 have_working_stat=yes
31313 else
31314 echo "$as_me: program exited with status $ac_status" >&5
31315 echo "$as_me: failed program was:" >&5
31316 sed 's/^/| /' conftest.$ac_ext >&5
31318 ( exit $ac_status )
31319 have_working_stat=no
31321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31324 echo "$as_me:$LINENO: result: $have_working_stat" >&5
31325 echo "${ECHO_T}$have_working_stat" >&6
31326 if test x"$have_working_stat" = xyes; then
31328 cat >>confdefs.h <<\_ACEOF
31329 #define HAVE_WORKING_STAT 1
31330 _ACEOF
31334 # Check for GNU libc feenableexcept
31335 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
31336 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
31337 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 else
31340 ac_check_lib_save_LIBS=$LIBS
31341 LIBS="-lm $LIBS"
31342 if test x$gcc_no_link = xyes; then
31343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31345 { (exit 1); exit 1; }; }
31347 cat >conftest.$ac_ext <<_ACEOF
31348 /* confdefs.h. */
31349 _ACEOF
31350 cat confdefs.h >>conftest.$ac_ext
31351 cat >>conftest.$ac_ext <<_ACEOF
31352 /* end confdefs.h. */
31354 /* Override any gcc2 internal prototype to avoid an error. */
31355 #ifdef __cplusplus
31356 extern "C"
31357 #endif
31358 /* We use char because int might match the return type of a gcc2
31359 builtin and then its argument prototype would still apply. */
31360 char feenableexcept ();
31362 main ()
31364 feenableexcept ();
31366 return 0;
31368 _ACEOF
31369 rm -f conftest.$ac_objext conftest$ac_exeext
31370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31371 (eval $ac_link) 2>conftest.er1
31372 ac_status=$?
31373 grep -v '^ *+' conftest.er1 >conftest.err
31374 rm -f conftest.er1
31375 cat conftest.err >&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } &&
31378 { ac_try='test -z "$ac_c_werror_flag"
31379 || test ! -s conftest.err'
31380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31381 (eval $ac_try) 2>&5
31382 ac_status=$?
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); }; } &&
31385 { ac_try='test -s conftest$ac_exeext'
31386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31387 (eval $ac_try) 2>&5
31388 ac_status=$?
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); }; }; then
31391 ac_cv_lib_m_feenableexcept=yes
31392 else
31393 echo "$as_me: failed program was:" >&5
31394 sed 's/^/| /' conftest.$ac_ext >&5
31396 ac_cv_lib_m_feenableexcept=no
31398 rm -f conftest.err conftest.$ac_objext \
31399 conftest$ac_exeext conftest.$ac_ext
31400 LIBS=$ac_check_lib_save_LIBS
31402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
31403 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
31404 if test $ac_cv_lib_m_feenableexcept = yes; then
31405 have_feenableexcept=yes
31406 cat >>confdefs.h <<\_ACEOF
31407 #define HAVE_FEENABLEEXCEPT 1
31408 _ACEOF
31413 # Check for SysV fpsetmask
31415 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
31416 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
31417 if test "${have_fpsetmask+set}" = set; then
31418 echo $ECHO_N "(cached) $ECHO_C" >&6
31419 else
31421 if test x$gcc_no_link = xyes; then
31422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31424 { (exit 1); exit 1; }; }
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31433 #if HAVE_FLOATINGPOINT_H
31434 # include <floatingpoint.h>
31435 #endif /* HAVE_FLOATINGPOINT_H */
31436 #if HAVE_IEEEFP_H
31437 # include <ieeefp.h>
31438 #endif /* HAVE_IEEEFP_H */
31440 main ()
31442 fpsetmask(0);
31444 return 0;
31446 _ACEOF
31447 rm -f conftest.$ac_objext conftest$ac_exeext
31448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31449 (eval $ac_link) 2>conftest.er1
31450 ac_status=$?
31451 grep -v '^ *+' conftest.er1 >conftest.err
31452 rm -f conftest.er1
31453 cat conftest.err >&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); } &&
31456 { ac_try='test -z "$ac_c_werror_flag"
31457 || test ! -s conftest.err'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31460 ac_status=$?
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; } &&
31463 { ac_try='test -s conftest$ac_exeext'
31464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31465 (eval $ac_try) 2>&5
31466 ac_status=$?
31467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31468 (exit $ac_status); }; }; then
31469 eval "have_fpsetmask=yes"
31470 else
31471 echo "$as_me: failed program was:" >&5
31472 sed 's/^/| /' conftest.$ac_ext >&5
31474 eval "have_fpsetmask=no"
31476 rm -f conftest.err conftest.$ac_objext \
31477 conftest$ac_exeext conftest.$ac_ext
31480 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
31481 echo "${ECHO_T}$have_fpsetmask" >&6
31482 if test x"$have_fpsetmask" = xyes; then
31484 cat >>confdefs.h <<\_ACEOF
31485 #define HAVE_FPSETMASK 1
31486 _ACEOF
31491 # Check for AIX fp_trap and fp_enable
31492 echo "$as_me:$LINENO: checking for fp_trap" >&5
31493 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
31494 if test "${ac_cv_func_fp_trap+set}" = set; then
31495 echo $ECHO_N "(cached) $ECHO_C" >&6
31496 else
31497 if test x$gcc_no_link = xyes; then
31498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31500 { (exit 1); exit 1; }; }
31502 cat >conftest.$ac_ext <<_ACEOF
31503 /* confdefs.h. */
31504 _ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
31509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31510 #define fp_trap innocuous_fp_trap
31512 /* System header to define __stub macros and hopefully few prototypes,
31513 which can conflict with char fp_trap (); below.
31514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31515 <limits.h> exists even on freestanding compilers. */
31517 #ifdef __STDC__
31518 # include <limits.h>
31519 #else
31520 # include <assert.h>
31521 #endif
31523 #undef fp_trap
31525 /* Override any gcc2 internal prototype to avoid an error. */
31526 #ifdef __cplusplus
31527 extern "C"
31529 #endif
31530 /* We use char because int might match the return type of a gcc2
31531 builtin and then its argument prototype would still apply. */
31532 char fp_trap ();
31533 /* The GNU C library defines this for functions which it implements
31534 to always fail with ENOSYS. Some functions are actually named
31535 something starting with __ and the normal name is an alias. */
31536 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
31537 choke me
31538 #else
31539 char (*f) () = fp_trap;
31540 #endif
31541 #ifdef __cplusplus
31543 #endif
31546 main ()
31548 return f != fp_trap;
31550 return 0;
31552 _ACEOF
31553 rm -f conftest.$ac_objext conftest$ac_exeext
31554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31555 (eval $ac_link) 2>conftest.er1
31556 ac_status=$?
31557 grep -v '^ *+' conftest.er1 >conftest.err
31558 rm -f conftest.er1
31559 cat conftest.err >&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } &&
31562 { ac_try='test -z "$ac_c_werror_flag"
31563 || test ! -s conftest.err'
31564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31565 (eval $ac_try) 2>&5
31566 ac_status=$?
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; } &&
31569 { ac_try='test -s conftest$ac_exeext'
31570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31571 (eval $ac_try) 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; }; then
31575 ac_cv_func_fp_trap=yes
31576 else
31577 echo "$as_me: failed program was:" >&5
31578 sed 's/^/| /' conftest.$ac_ext >&5
31580 ac_cv_func_fp_trap=no
31582 rm -f conftest.err conftest.$ac_objext \
31583 conftest$ac_exeext conftest.$ac_ext
31585 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
31586 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
31587 if test $ac_cv_func_fp_trap = yes; then
31588 have_fp_trap=yes
31589 cat >>confdefs.h <<\_ACEOF
31590 #define HAVE_FP_TRAP 1
31591 _ACEOF
31595 echo "$as_me:$LINENO: checking for fp_enable" >&5
31596 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
31597 if test "${ac_cv_func_fp_enable+set}" = set; then
31598 echo $ECHO_N "(cached) $ECHO_C" >&6
31599 else
31600 if test x$gcc_no_link = xyes; then
31601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31603 { (exit 1); exit 1; }; }
31605 cat >conftest.$ac_ext <<_ACEOF
31606 /* confdefs.h. */
31607 _ACEOF
31608 cat confdefs.h >>conftest.$ac_ext
31609 cat >>conftest.$ac_ext <<_ACEOF
31610 /* end confdefs.h. */
31611 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
31612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31613 #define fp_enable innocuous_fp_enable
31615 /* System header to define __stub macros and hopefully few prototypes,
31616 which can conflict with char fp_enable (); below.
31617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31618 <limits.h> exists even on freestanding compilers. */
31620 #ifdef __STDC__
31621 # include <limits.h>
31622 #else
31623 # include <assert.h>
31624 #endif
31626 #undef fp_enable
31628 /* Override any gcc2 internal prototype to avoid an error. */
31629 #ifdef __cplusplus
31630 extern "C"
31632 #endif
31633 /* We use char because int might match the return type of a gcc2
31634 builtin and then its argument prototype would still apply. */
31635 char fp_enable ();
31636 /* The GNU C library defines this for functions which it implements
31637 to always fail with ENOSYS. Some functions are actually named
31638 something starting with __ and the normal name is an alias. */
31639 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
31640 choke me
31641 #else
31642 char (*f) () = fp_enable;
31643 #endif
31644 #ifdef __cplusplus
31646 #endif
31649 main ()
31651 return f != fp_enable;
31653 return 0;
31655 _ACEOF
31656 rm -f conftest.$ac_objext conftest$ac_exeext
31657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31658 (eval $ac_link) 2>conftest.er1
31659 ac_status=$?
31660 grep -v '^ *+' conftest.er1 >conftest.err
31661 rm -f conftest.er1
31662 cat conftest.err >&5
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); } &&
31665 { ac_try='test -z "$ac_c_werror_flag"
31666 || test ! -s conftest.err'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31669 ac_status=$?
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; } &&
31672 { ac_try='test -s conftest$ac_exeext'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31675 ac_status=$?
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; }; then
31678 ac_cv_func_fp_enable=yes
31679 else
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.$ac_ext >&5
31683 ac_cv_func_fp_enable=no
31685 rm -f conftest.err conftest.$ac_objext \
31686 conftest$ac_exeext conftest.$ac_ext
31688 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
31689 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
31690 if test $ac_cv_func_fp_enable = yes; then
31691 have_fp_enable=yes
31692 cat >>confdefs.h <<\_ACEOF
31693 #define HAVE_FP_ENABLE 1
31694 _ACEOF
31699 # Runs configure.host to set up necessary host-dependent shell variables.
31700 # We then display a message about it, and propagate them through the
31701 # build chain.
31702 . ${srcdir}/configure.host
31703 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
31704 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
31705 FPU_HOST_HEADER=config/${fpu_host}.h
31708 # Attempt to assert that the target is of common type in case we don't
31709 # have C99 integer types at all.
31711 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
31712 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
31713 if test "${target_ilp32+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31715 else
31717 save_CFLAGS="$CFLAGS"
31718 CFLAGS="-O2"
31719 if test x$gcc_no_link = xyes; then
31720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31722 { (exit 1); exit 1; }; }
31724 cat >conftest.$ac_ext <<_ACEOF
31725 /* confdefs.h. */
31726 _ACEOF
31727 cat confdefs.h >>conftest.$ac_ext
31728 cat >>conftest.$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31732 main ()
31735 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
31737 else
31738 undefined_function ();
31741 return 0;
31743 _ACEOF
31744 rm -f conftest.$ac_objext conftest$ac_exeext
31745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31746 (eval $ac_link) 2>conftest.er1
31747 ac_status=$?
31748 grep -v '^ *+' conftest.er1 >conftest.err
31749 rm -f conftest.er1
31750 cat conftest.err >&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); } &&
31753 { ac_try='test -z "$ac_c_werror_flag"
31754 || test ! -s conftest.err'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31757 ac_status=$?
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; } &&
31760 { ac_try='test -s conftest$ac_exeext'
31761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31762 (eval $ac_try) 2>&5
31763 ac_status=$?
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); }; }; then
31766 target_ilp32=yes
31767 else
31768 echo "$as_me: failed program was:" >&5
31769 sed 's/^/| /' conftest.$ac_ext >&5
31771 target_ilp32=no
31773 rm -f conftest.err conftest.$ac_objext \
31774 conftest$ac_exeext conftest.$ac_ext
31775 CFLAGS="$save_CFLAGS"
31777 echo "$as_me:$LINENO: result: $target_ilp32" >&5
31778 echo "${ECHO_T}$target_ilp32" >&6
31779 if test $target_ilp32 = yes; then
31781 cat >>confdefs.h <<\_ACEOF
31782 #define TARGET_ILP32 1
31783 _ACEOF
31788 # Check out attribute support.
31790 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
31791 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
31792 if test "${have_attribute_visibility+set}" = set; then
31793 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 else
31796 save_CFLAGS="$CFLAGS"
31797 CFLAGS="$CFLAGS -Werror"
31798 cat >conftest.$ac_ext <<_ACEOF
31799 /* confdefs.h. */
31800 _ACEOF
31801 cat confdefs.h >>conftest.$ac_ext
31802 cat >>conftest.$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804 void __attribute__((visibility("hidden"))) foo(void) { }
31806 main ()
31810 return 0;
31812 _ACEOF
31813 rm -f conftest.$ac_objext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31815 (eval $ac_compile) 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } &&
31822 { ac_try='test -z "$ac_c_werror_flag"
31823 || test ! -s conftest.err'
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); }; } &&
31829 { ac_try='test -s conftest.$ac_objext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 have_attribute_visibility=yes
31836 else
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.$ac_ext >&5
31840 have_attribute_visibility=no
31842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31843 CFLAGS="$save_CFLAGS"
31845 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
31846 echo "${ECHO_T}$have_attribute_visibility" >&6
31847 if test $have_attribute_visibility = yes; then
31849 cat >>confdefs.h <<\_ACEOF
31850 #define HAVE_ATTRIBUTE_VISIBILITY 1
31851 _ACEOF
31855 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
31856 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
31857 if test "${have_attribute_dllexport+set}" = set; then
31858 echo $ECHO_N "(cached) $ECHO_C" >&6
31859 else
31861 save_CFLAGS="$CFLAGS"
31862 CFLAGS="$CFLAGS -Werror"
31863 cat >conftest.$ac_ext <<_ACEOF
31864 /* confdefs.h. */
31865 _ACEOF
31866 cat confdefs.h >>conftest.$ac_ext
31867 cat >>conftest.$ac_ext <<_ACEOF
31868 /* end confdefs.h. */
31869 void __attribute__((dllexport)) foo(void) { }
31871 main ()
31875 return 0;
31877 _ACEOF
31878 rm -f conftest.$ac_objext
31879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31880 (eval $ac_compile) 2>conftest.er1
31881 ac_status=$?
31882 grep -v '^ *+' conftest.er1 >conftest.err
31883 rm -f conftest.er1
31884 cat conftest.err >&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } &&
31887 { ac_try='test -z "$ac_c_werror_flag"
31888 || test ! -s conftest.err'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31891 ac_status=$?
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; } &&
31894 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
31900 have_attribute_dllexport=yes
31901 else
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31905 have_attribute_dllexport=no
31907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31908 CFLAGS="$save_CFLAGS"
31910 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
31911 echo "${ECHO_T}$have_attribute_dllexport" >&6
31912 if test $have_attribute_dllexport = yes; then
31914 cat >>confdefs.h <<\_ACEOF
31915 #define HAVE_ATTRIBUTE_DLLEXPORT 1
31916 _ACEOF
31920 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
31921 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
31922 if test "${have_attribute_alias+set}" = set; then
31923 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 else
31926 if test x$gcc_no_link = xyes; then
31927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31929 { (exit 1); exit 1; }; }
31931 cat >conftest.$ac_ext <<_ACEOF
31932 /* confdefs.h. */
31933 _ACEOF
31934 cat confdefs.h >>conftest.$ac_ext
31935 cat >>conftest.$ac_ext <<_ACEOF
31936 /* end confdefs.h. */
31938 void foo(void) { }
31939 extern void bar(void) __attribute__((alias("foo")));
31941 main ()
31943 bar();
31945 return 0;
31947 _ACEOF
31948 rm -f conftest.$ac_objext conftest$ac_exeext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31950 (eval $ac_link) 2>conftest.er1
31951 ac_status=$?
31952 grep -v '^ *+' conftest.er1 >conftest.err
31953 rm -f conftest.er1
31954 cat conftest.err >&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try='test -z "$ac_c_werror_flag"
31958 || test ! -s conftest.err'
31959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960 (eval $ac_try) 2>&5
31961 ac_status=$?
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); }; } &&
31964 { ac_try='test -s conftest$ac_exeext'
31965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31966 (eval $ac_try) 2>&5
31967 ac_status=$?
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); }; }; then
31970 have_attribute_alias=yes
31971 else
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.$ac_ext >&5
31975 have_attribute_alias=no
31977 rm -f conftest.err conftest.$ac_objext \
31978 conftest$ac_exeext conftest.$ac_ext
31980 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
31981 echo "${ECHO_T}$have_attribute_alias" >&6
31982 if test $have_attribute_alias = yes; then
31984 cat >>confdefs.h <<\_ACEOF
31985 #define HAVE_ATTRIBUTE_ALIAS 1
31986 _ACEOF
31990 # Check out sync builtins support.
31992 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
31993 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
31994 if test "${have_sync_fetch_and_add+set}" = set; then
31995 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 else
31998 if test x$gcc_no_link = xyes; then
31999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32001 { (exit 1); exit 1; }; }
32003 cat >conftest.$ac_ext <<_ACEOF
32004 /* confdefs.h. */
32005 _ACEOF
32006 cat confdefs.h >>conftest.$ac_ext
32007 cat >>conftest.$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 int foovar = 0;
32011 main ()
32014 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32015 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32017 return 0;
32019 _ACEOF
32020 rm -f conftest.$ac_objext conftest$ac_exeext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32022 (eval $ac_link) 2>conftest.er1
32023 ac_status=$?
32024 grep -v '^ *+' conftest.er1 >conftest.err
32025 rm -f conftest.er1
32026 cat conftest.err >&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } &&
32029 { ac_try='test -z "$ac_c_werror_flag"
32030 || test ! -s conftest.err'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32033 ac_status=$?
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; } &&
32036 { ac_try='test -s conftest$ac_exeext'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32039 ac_status=$?
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; }; then
32042 have_sync_fetch_and_add=yes
32043 else
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.$ac_ext >&5
32047 have_sync_fetch_and_add=no
32049 rm -f conftest.err conftest.$ac_objext \
32050 conftest$ac_exeext conftest.$ac_ext
32052 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
32053 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
32054 if test $have_sync_fetch_and_add = yes; then
32056 cat >>confdefs.h <<\_ACEOF
32057 #define HAVE_SYNC_FETCH_AND_ADD 1
32058 _ACEOF
32062 # Check out thread support.
32064 echo "$as_me:$LINENO: checking configured target thread model" >&5
32065 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
32066 if test "${target_thread_file+set}" = set; then
32067 echo $ECHO_N "(cached) $ECHO_C" >&6
32068 else
32070 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
32072 echo "$as_me:$LINENO: result: $target_thread_file" >&5
32073 echo "${ECHO_T}$target_thread_file" >&6
32075 if test $target_thread_file != single; then
32077 cat >>confdefs.h <<\_ACEOF
32078 #define HAVE_GTHR_DEFAULT 1
32079 _ACEOF
32083 # Check out #pragma weak.
32085 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
32086 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
32087 if test "${have_pragma_weak+set}" = set; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 else
32091 gfor_save_CFLAGS="$CFLAGS"
32092 CFLAGS="$CFLAGS -Wunknown-pragmas"
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 void foo (void);
32100 #pragma weak foo
32102 main ()
32104 if (foo) foo ();
32106 return 0;
32108 _ACEOF
32109 rm -f conftest.$ac_objext
32110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32111 (eval $ac_compile) 2>conftest.er1
32112 ac_status=$?
32113 grep -v '^ *+' conftest.er1 >conftest.err
32114 rm -f conftest.er1
32115 cat conftest.err >&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); } &&
32118 { ac_try='test -z "$ac_c_werror_flag"
32119 || test ! -s conftest.err'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32122 ac_status=$?
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; } &&
32125 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
32131 have_pragma_weak=yes
32132 else
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32136 have_pragma_weak=no
32138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32140 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
32141 echo "${ECHO_T}$have_pragma_weak" >&6
32142 if test $have_pragma_weak = yes; then
32144 cat >>confdefs.h <<\_ACEOF
32145 #define SUPPORTS_WEAK 1
32146 _ACEOF
32149 case "$host" in
32150 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
32152 cat >>confdefs.h <<\_ACEOF
32153 #define GTHREAD_USE_WEAK 0
32154 _ACEOF
32157 esac
32159 # Various other checks on target
32161 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
32162 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
32163 if test "${have_unlink_open_file+set}" = set; then
32164 echo $ECHO_N "(cached) $ECHO_C" >&6
32165 else
32167 if test "$cross_compiling" = yes; then
32169 case "${target}" in
32170 *mingw*) have_unlink_open_file=no ;;
32171 *) have_unlink_open_file=yes;;
32172 esac
32173 else
32174 cat >conftest.$ac_ext <<_ACEOF
32175 /* confdefs.h. */
32176 _ACEOF
32177 cat confdefs.h >>conftest.$ac_ext
32178 cat >>conftest.$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32181 #include <errno.h>
32182 #include <fcntl.h>
32183 #include <unistd.h>
32184 #include <sys/stat.h>
32186 int main ()
32188 int fd;
32190 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
32191 if (fd <= 0)
32192 return 0;
32193 if (unlink ("testfile") == -1)
32194 return 1;
32195 write (fd, "This is a test\n", 15);
32196 close (fd);
32198 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
32199 return 0;
32200 else
32201 return 1;
32203 _ACEOF
32204 rm -f conftest$ac_exeext
32205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32206 (eval $ac_link) 2>&5
32207 ac_status=$?
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32212 ac_status=$?
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 have_unlink_open_file=yes
32216 else
32217 echo "$as_me: program exited with status $ac_status" >&5
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.$ac_ext >&5
32221 ( exit $ac_status )
32222 have_unlink_open_file=no
32224 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32227 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
32228 echo "${ECHO_T}$have_unlink_open_file" >&6
32229 if test x"$have_unlink_open_file" = xyes; then
32231 cat >>confdefs.h <<\_ACEOF
32232 #define HAVE_UNLINK_OPEN_FILE 1
32233 _ACEOF
32237 # Check whether line terminator is LF or CRLF
32239 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
32240 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
32241 if test "${have_crlf+set}" = set; then
32242 echo $ECHO_N "(cached) $ECHO_C" >&6
32243 else
32245 if test "$cross_compiling" = yes; then
32247 case "${target}" in
32248 *mingw*) have_crlf=yes ;;
32249 *) have_crlf=no;;
32250 esac
32251 else
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32259 /* This test program should exit with status 0 if system uses a CRLF as
32260 line terminator, and status 1 otherwise.
32261 Since it is used to check for mingw systems, and should return 0 in any
32262 other case, in case of a failure we will not use CRLF. */
32263 #include <sys/stat.h>
32264 #include <stdlib.h>
32265 #include <fcntl.h>
32266 #include <stdio.h>
32268 int main ()
32270 #ifndef O_BINARY
32271 exit(1);
32272 #else
32273 int fd, bytes;
32274 char buff[5];
32276 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
32277 if (fd < 0)
32278 exit(1);
32279 if (write (fd, "\n", 1) < 0)
32280 perror ("write");
32282 close (fd);
32284 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
32285 exit(1);
32286 bytes = read (fd, buff, 5);
32287 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
32288 exit(0);
32289 else
32290 exit(1);
32291 #endif
32293 _ACEOF
32294 rm -f conftest$ac_exeext
32295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32296 (eval $ac_link) 2>&5
32297 ac_status=$?
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32302 ac_status=$?
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; }; then
32305 have_crlf=yes
32306 else
32307 echo "$as_me: program exited with status $ac_status" >&5
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.$ac_ext >&5
32311 ( exit $ac_status )
32312 have_crlf=no
32314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32317 echo "$as_me:$LINENO: result: $have_crlf" >&5
32318 echo "${ECHO_T}$have_crlf" >&6
32319 if test x"$have_crlf" = xyes; then
32321 cat >>confdefs.h <<\_ACEOF
32322 #define HAVE_CRLF 1
32323 _ACEOF
32327 cat >confcache <<\_ACEOF
32328 # This file is a shell script that caches the results of configure
32329 # tests run on this system so they can be shared between configure
32330 # scripts and configure runs, see configure's option --config-cache.
32331 # It is not useful on other systems. If it contains results you don't
32332 # want to keep, you may remove or edit it.
32334 # config.status only pays attention to the cache file if you give it
32335 # the --recheck option to rerun configure.
32337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32339 # following values.
32341 _ACEOF
32343 # The following way of writing the cache mishandles newlines in values,
32344 # but we know of no workaround that is simple, portable, and efficient.
32345 # So, don't put newlines in cache variables' values.
32346 # Ultrix sh set writes to stderr and can't be redirected directly,
32347 # and sets the high bit in the cache file unless we assign to the vars.
32349 (set) 2>&1 |
32350 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32351 *ac_space=\ *)
32352 # `set' does not quote correctly, so add quotes (double-quote
32353 # substitution turns \\\\ into \\, and sed turns \\ into \).
32354 sed -n \
32355 "s/'/'\\\\''/g;
32356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32359 # `set' quotes correctly as required by POSIX, so do not add quotes.
32360 sed -n \
32361 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32363 esac;
32365 sed '
32366 t clear
32367 : clear
32368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32369 t end
32370 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32371 : end' >>confcache
32372 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32373 if test -w $cache_file; then
32374 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32375 cat confcache >$cache_file
32376 else
32377 echo "not updating unwritable cache $cache_file"
32380 rm -f confcache
32382 if test ${multilib} = yes; then
32383 multilib_arg="--enable-multilib"
32384 else
32385 multilib_arg=
32388 # Write our Makefile.
32389 ac_config_files="$ac_config_files Makefile"
32391 cat >confcache <<\_ACEOF
32392 # This file is a shell script that caches the results of configure
32393 # tests run on this system so they can be shared between configure
32394 # scripts and configure runs, see configure's option --config-cache.
32395 # It is not useful on other systems. If it contains results you don't
32396 # want to keep, you may remove or edit it.
32398 # config.status only pays attention to the cache file if you give it
32399 # the --recheck option to rerun configure.
32401 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32402 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32403 # following values.
32405 _ACEOF
32407 # The following way of writing the cache mishandles newlines in values,
32408 # but we know of no workaround that is simple, portable, and efficient.
32409 # So, don't put newlines in cache variables' values.
32410 # Ultrix sh set writes to stderr and can't be redirected directly,
32411 # and sets the high bit in the cache file unless we assign to the vars.
32413 (set) 2>&1 |
32414 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32415 *ac_space=\ *)
32416 # `set' does not quote correctly, so add quotes (double-quote
32417 # substitution turns \\\\ into \\, and sed turns \\ into \).
32418 sed -n \
32419 "s/'/'\\\\''/g;
32420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32423 # `set' quotes correctly as required by POSIX, so do not add quotes.
32424 sed -n \
32425 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32427 esac;
32429 sed '
32430 t clear
32431 : clear
32432 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32433 t end
32434 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32435 : end' >>confcache
32436 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32437 if test -w $cache_file; then
32438 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32439 cat confcache >$cache_file
32440 else
32441 echo "not updating unwritable cache $cache_file"
32444 rm -f confcache
32446 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32447 # Let make expand exec_prefix.
32448 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32450 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32451 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32452 # trailing colons and then remove the whole line if VPATH becomes empty
32453 # (actually we leave an empty line to preserve line numbers).
32454 if test "x$srcdir" = x.; then
32455 ac_vpsub='/^[ ]*VPATH[ ]*=/{
32456 s/:*\$(srcdir):*/:/;
32457 s/:*\${srcdir}:*/:/;
32458 s/:*@srcdir@:*/:/;
32459 s/^\([^=]*=[ ]*\):*/\1/;
32460 s/:*$//;
32461 s/^[^=]*=[ ]*$//;
32465 DEFS=-DHAVE_CONFIG_H
32467 ac_libobjs=
32468 ac_ltlibobjs=
32469 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32470 # 1. Remove the extension, and $U if already installed.
32471 ac_i=`echo "$ac_i" |
32472 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32473 # 2. Add them.
32474 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32475 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
32476 done
32477 LIBOBJS=$ac_libobjs
32479 LTLIBOBJS=$ac_ltlibobjs
32482 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
32483 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
32484 Usually this means the macro was only invoked conditionally." >&5
32485 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
32486 Usually this means the macro was only invoked conditionally." >&2;}
32487 { (exit 1); exit 1; }; }
32489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32490 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32491 Usually this means the macro was only invoked conditionally." >&5
32492 echo "$as_me: error: conditional \"AMDEP\" was never defined.
32493 Usually this means the macro was only invoked conditionally." >&2;}
32494 { (exit 1); exit 1; }; }
32496 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32497 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
32498 Usually this means the macro was only invoked conditionally." >&5
32499 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
32500 Usually this means the macro was only invoked conditionally." >&2;}
32501 { (exit 1); exit 1; }; }
32503 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
32504 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32505 Usually this means the macro was only invoked conditionally." >&5
32506 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32507 Usually this means the macro was only invoked conditionally." >&2;}
32508 { (exit 1); exit 1; }; }
32511 : ${CONFIG_STATUS=./config.status}
32512 ac_clean_files_save=$ac_clean_files
32513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32514 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32515 echo "$as_me: creating $CONFIG_STATUS" >&6;}
32516 cat >$CONFIG_STATUS <<_ACEOF
32517 #! $SHELL
32518 # Generated by $as_me.
32519 # Run this file to recreate the current configuration.
32520 # Compiler output produced by configure, useful for debugging
32521 # configure, is in config.log if it exists.
32523 debug=false
32524 ac_cs_recheck=false
32525 ac_cs_silent=false
32526 SHELL=\${CONFIG_SHELL-$SHELL}
32527 _ACEOF
32529 cat >>$CONFIG_STATUS <<\_ACEOF
32530 ## --------------------- ##
32531 ## M4sh Initialization. ##
32532 ## --------------------- ##
32534 # Be Bourne compatible
32535 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
32536 emulate sh
32537 NULLCMD=:
32538 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
32539 # is contrary to our usage. Disable this feature.
32540 alias -g '${1+"$@"}'='"$@"'
32541 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32542 set -o posix
32544 DUALCASE=1; export DUALCASE # for MKS sh
32546 # Support unset when possible.
32547 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32548 as_unset=unset
32549 else
32550 as_unset=false
32554 # Work around bugs in pre-3.0 UWIN ksh.
32555 $as_unset ENV MAIL MAILPATH
32556 PS1='$ '
32557 PS2='> '
32558 PS4='+ '
32560 # NLS nuisances.
32561 for as_var in \
32562 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
32563 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
32564 LC_TELEPHONE LC_TIME
32566 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
32567 eval $as_var=C; export $as_var
32568 else
32569 $as_unset $as_var
32571 done
32573 # Required to use basename.
32574 if expr a : '\(a\)' >/dev/null 2>&1; then
32575 as_expr=expr
32576 else
32577 as_expr=false
32580 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
32581 as_basename=basename
32582 else
32583 as_basename=false
32587 # Name of the executable.
32588 as_me=`$as_basename "$0" ||
32589 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32590 X"$0" : 'X\(//\)$' \| \
32591 X"$0" : 'X\(/\)$' \| \
32592 . : '\(.\)' 2>/dev/null ||
32593 echo X/"$0" |
32594 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
32595 /^X\/\(\/\/\)$/{ s//\1/; q; }
32596 /^X\/\(\/\).*/{ s//\1/; q; }
32597 s/.*/./; q'`
32600 # PATH needs CR, and LINENO needs CR and PATH.
32601 # Avoid depending upon Character Ranges.
32602 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32603 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32604 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32605 as_cr_digits='0123456789'
32606 as_cr_alnum=$as_cr_Letters$as_cr_digits
32608 # The user is always right.
32609 if test "${PATH_SEPARATOR+set}" != set; then
32610 echo "#! /bin/sh" >conf$$.sh
32611 echo "exit 0" >>conf$$.sh
32612 chmod +x conf$$.sh
32613 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32614 PATH_SEPARATOR=';'
32615 else
32616 PATH_SEPARATOR=:
32618 rm -f conf$$.sh
32622 as_lineno_1=$LINENO
32623 as_lineno_2=$LINENO
32624 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32625 test "x$as_lineno_1" != "x$as_lineno_2" &&
32626 test "x$as_lineno_3" = "x$as_lineno_2" || {
32627 # Find who we are. Look in the path if we contain no path at all
32628 # relative or not.
32629 case $0 in
32630 *[\\/]* ) as_myself=$0 ;;
32631 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32632 for as_dir in $PATH
32634 IFS=$as_save_IFS
32635 test -z "$as_dir" && as_dir=.
32636 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32637 done
32640 esac
32641 # We did not find ourselves, most probably we were run as `sh COMMAND'
32642 # in which case we are not to be found in the path.
32643 if test "x$as_myself" = x; then
32644 as_myself=$0
32646 if test ! -f "$as_myself"; then
32647 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
32648 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
32649 { (exit 1); exit 1; }; }
32651 case $CONFIG_SHELL in
32653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32654 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
32656 IFS=$as_save_IFS
32657 test -z "$as_dir" && as_dir=.
32658 for as_base in sh bash ksh sh5; do
32659 case $as_dir in
32661 if ("$as_dir/$as_base" -c '
32662 as_lineno_1=$LINENO
32663 as_lineno_2=$LINENO
32664 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32665 test "x$as_lineno_1" != "x$as_lineno_2" &&
32666 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
32667 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
32668 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
32669 CONFIG_SHELL=$as_dir/$as_base
32670 export CONFIG_SHELL
32671 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
32672 fi;;
32673 esac
32674 done
32675 done
32677 esac
32679 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32680 # uniformly replaced by the line number. The first 'sed' inserts a
32681 # line-number line before each line; the second 'sed' does the real
32682 # work. The second script uses 'N' to pair each line-number line
32683 # with the numbered line, and appends trailing '-' during
32684 # substitution so that $LINENO is not a special case at line end.
32685 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32686 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
32687 sed '=' <$as_myself |
32688 sed '
32690 s,$,-,
32691 : loop
32692 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
32693 t loop
32694 s,-$,,
32695 s,^['$as_cr_digits']*\n,,
32696 ' >$as_me.lineno &&
32697 chmod +x $as_me.lineno ||
32698 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
32699 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
32700 { (exit 1); exit 1; }; }
32702 # Don't try to exec as it changes $[0], causing all sort of problems
32703 # (the dirname of $[0] is not the place where we might find the
32704 # original and so on. Autoconf is especially sensible to this).
32705 . ./$as_me.lineno
32706 # Exit status is that of the last command.
32707 exit
32711 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32712 *c*,-n*) ECHO_N= ECHO_C='
32713 ' ECHO_T=' ' ;;
32714 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32715 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
32716 esac
32718 if expr a : '\(a\)' >/dev/null 2>&1; then
32719 as_expr=expr
32720 else
32721 as_expr=false
32724 rm -f conf$$ conf$$.exe conf$$.file
32725 echo >conf$$.file
32726 if ln -s conf$$.file conf$$ 2>/dev/null; then
32727 # We could just check for DJGPP; but this test a) works b) is more generic
32728 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32729 if test -f conf$$.exe; then
32730 # Don't use ln at all; we don't have any links
32731 as_ln_s='cp -p'
32732 else
32733 as_ln_s='ln -s'
32735 elif ln conf$$.file conf$$ 2>/dev/null; then
32736 as_ln_s=ln
32737 else
32738 as_ln_s='cp -p'
32740 rm -f conf$$ conf$$.exe conf$$.file
32742 if mkdir -p . 2>/dev/null; then
32743 as_mkdir_p=:
32744 else
32745 test -d ./-p && rmdir ./-p
32746 as_mkdir_p=false
32749 as_executable_p="test -f"
32751 # Sed expression to map a string onto a valid CPP name.
32752 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32754 # Sed expression to map a string onto a valid variable name.
32755 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32758 # IFS
32759 # We need space, tab and new line, in precisely that order.
32760 as_nl='
32762 IFS=" $as_nl"
32764 # CDPATH.
32765 $as_unset CDPATH
32767 exec 6>&1
32769 # Open the log real soon, to keep \$[0] and so on meaningful, and to
32770 # report actual input values of CONFIG_FILES etc. instead of their
32771 # values after options handling. Logging --version etc. is OK.
32772 exec 5>>config.log
32774 echo
32775 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32776 ## Running $as_me. ##
32777 _ASBOX
32778 } >&5
32779 cat >&5 <<_CSEOF
32781 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32782 generated by GNU Autoconf 2.59. Invocation command line was
32784 CONFIG_FILES = $CONFIG_FILES
32785 CONFIG_HEADERS = $CONFIG_HEADERS
32786 CONFIG_LINKS = $CONFIG_LINKS
32787 CONFIG_COMMANDS = $CONFIG_COMMANDS
32788 $ $0 $@
32790 _CSEOF
32791 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
32792 echo >&5
32793 _ACEOF
32795 # Files that config.status was made for.
32796 if test -n "$ac_config_files"; then
32797 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
32800 if test -n "$ac_config_headers"; then
32801 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
32804 if test -n "$ac_config_links"; then
32805 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
32808 if test -n "$ac_config_commands"; then
32809 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
32812 cat >>$CONFIG_STATUS <<\_ACEOF
32814 ac_cs_usage="\
32815 \`$as_me' instantiates files from templates according to the
32816 current configuration.
32818 Usage: $0 [OPTIONS] [FILE]...
32820 -h, --help print this help, then exit
32821 -V, --version print version number, then exit
32822 -q, --quiet do not print progress messages
32823 -d, --debug don't remove temporary files
32824 --recheck update $as_me by reconfiguring in the same conditions
32825 --file=FILE[:TEMPLATE]
32826 instantiate the configuration file FILE
32827 --header=FILE[:TEMPLATE]
32828 instantiate the configuration header FILE
32830 Configuration files:
32831 $config_files
32833 Configuration headers:
32834 $config_headers
32836 Configuration commands:
32837 $config_commands
32839 Report bugs to <bug-autoconf@gnu.org>."
32840 _ACEOF
32842 cat >>$CONFIG_STATUS <<_ACEOF
32843 ac_cs_version="\\
32844 GNU Fortran Runtime Library config.status 0.3
32845 configured by $0, generated by GNU Autoconf 2.59,
32846 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
32848 Copyright (C) 2003 Free Software Foundation, Inc.
32849 This config.status script is free software; the Free Software Foundation
32850 gives unlimited permission to copy, distribute and modify it."
32851 srcdir=$srcdir
32852 INSTALL="$INSTALL"
32853 _ACEOF
32855 cat >>$CONFIG_STATUS <<\_ACEOF
32856 # If no file are specified by the user, then we need to provide default
32857 # value. By we need to know if files were specified by the user.
32858 ac_need_defaults=:
32859 while test $# != 0
32861 case $1 in
32862 --*=*)
32863 ac_option=`expr "x$1" : 'x\([^=]*\)='`
32864 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
32865 ac_shift=:
32868 ac_option=$1
32869 ac_optarg=$2
32870 ac_shift=shift
32872 *) # This is not an option, so the user has probably given explicit
32873 # arguments.
32874 ac_option=$1
32875 ac_need_defaults=false;;
32876 esac
32878 case $ac_option in
32879 # Handling of the options.
32880 _ACEOF
32881 cat >>$CONFIG_STATUS <<\_ACEOF
32882 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32883 ac_cs_recheck=: ;;
32884 --version | --vers* | -V )
32885 echo "$ac_cs_version"; exit 0 ;;
32886 --he | --h)
32887 # Conflict between --help and --header
32888 { { echo "$as_me:$LINENO: error: ambiguous option: $1
32889 Try \`$0 --help' for more information." >&5
32890 echo "$as_me: error: ambiguous option: $1
32891 Try \`$0 --help' for more information." >&2;}
32892 { (exit 1); exit 1; }; };;
32893 --help | --hel | -h )
32894 echo "$ac_cs_usage"; exit 0 ;;
32895 --debug | --d* | -d )
32896 debug=: ;;
32897 --file | --fil | --fi | --f )
32898 $ac_shift
32899 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
32900 ac_need_defaults=false;;
32901 --header | --heade | --head | --hea )
32902 $ac_shift
32903 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
32904 ac_need_defaults=false;;
32905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32906 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32907 ac_cs_silent=: ;;
32909 # This is an error.
32910 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
32911 Try \`$0 --help' for more information." >&5
32912 echo "$as_me: error: unrecognized option: $1
32913 Try \`$0 --help' for more information." >&2;}
32914 { (exit 1); exit 1; }; } ;;
32916 *) ac_config_targets="$ac_config_targets $1" ;;
32918 esac
32919 shift
32920 done
32922 ac_configure_extra_args=
32924 if $ac_cs_silent; then
32925 exec 6>/dev/null
32926 ac_configure_extra_args="$ac_configure_extra_args --silent"
32929 _ACEOF
32930 cat >>$CONFIG_STATUS <<_ACEOF
32931 if \$ac_cs_recheck; then
32932 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
32933 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32936 _ACEOF
32938 cat >>$CONFIG_STATUS <<_ACEOF
32940 # INIT-COMMANDS section.
32944 srcdir="$srcdir"
32945 host="$host"
32946 target="$target"
32947 with_multisubdir="$with_multisubdir"
32948 with_multisrctop="$with_multisrctop"
32949 with_target_subdir="$with_target_subdir"
32950 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32951 multi_basedir="$multi_basedir"
32952 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32953 CC="$CC"
32954 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32957 # The HP-UX ksh and POSIX shell print the target directory to stdout
32958 # if CDPATH is set.
32959 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32961 sed_quote_subst='$sed_quote_subst'
32962 double_quote_subst='$double_quote_subst'
32963 delay_variable_subst='$delay_variable_subst'
32964 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
32965 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
32966 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
32967 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
32968 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
32969 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
32970 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
32971 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
32972 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
32973 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
32974 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
32975 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
32976 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
32977 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
32978 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
32979 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
32980 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
32981 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
32982 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
32983 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
32984 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
32985 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
32986 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
32987 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
32988 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
32989 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
32990 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
32991 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32992 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
32993 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
32994 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
32995 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
32996 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
32997 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
32998 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32999 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33000 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33001 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33002 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33003 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33004 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33005 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33006 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33007 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"`'
33008 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33009 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33010 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33011 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33012 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33013 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33014 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33015 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33016 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33017 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33018 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33019 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33020 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33021 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33022 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33023 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33024 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33025 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33026 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33027 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33028 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33029 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33030 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33031 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33032 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33033 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33034 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33035 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33036 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33037 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33038 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33039 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33040 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33041 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33042 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33043 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33044 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33045 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33046 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33047 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33048 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33049 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33050 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33051 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33052 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33053 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33054 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33055 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33056 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33057 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33058 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33059 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33060 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33061 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33062 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33063 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33064 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33065 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33066 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33067 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33068 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33069 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33070 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33071 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33072 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33073 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33074 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33075 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33076 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33077 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33078 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33079 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33080 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
33081 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33082 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
33083 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
33084 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33085 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
33086 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33087 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
33088 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
33089 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
33090 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
33091 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33092 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33093 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
33094 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33095 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33096 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33097 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33098 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33099 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33100 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33101 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33102 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33103 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33104 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33105 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
33106 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
33107 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
33108 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
33109 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
33110 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33111 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
33112 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
33113 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33114 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
33115 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33116 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33117 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33118 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33119 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33120 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
33121 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33122 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33123 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33124 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33125 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33127 LTCC='$LTCC'
33128 LTCFLAGS='$LTCFLAGS'
33129 compiler='$compiler_DEFAULT'
33131 # Quote evaled strings.
33132 for var in SED \
33133 GREP \
33134 EGREP \
33135 FGREP \
33136 LD \
33137 NM \
33138 LN_S \
33139 lt_SP2NL \
33140 lt_NL2SP \
33141 reload_flag \
33142 deplibs_check_method \
33143 file_magic_cmd \
33144 AR \
33145 AR_FLAGS \
33146 STRIP \
33147 RANLIB \
33148 CC \
33149 CFLAGS \
33150 compiler \
33151 lt_cv_sys_global_symbol_pipe \
33152 lt_cv_sys_global_symbol_to_cdecl \
33153 lt_cv_sys_global_symbol_to_c_name_address \
33154 SHELL \
33155 ECHO \
33156 lt_prog_compiler_no_builtin_flag \
33157 lt_prog_compiler_wl \
33158 lt_prog_compiler_pic \
33159 lt_prog_compiler_static \
33160 lt_cv_prog_compiler_c_o \
33161 need_locks \
33162 shrext_cmds \
33163 export_dynamic_flag_spec \
33164 whole_archive_flag_spec \
33165 compiler_needs_object \
33166 with_gnu_ld \
33167 allow_undefined_flag \
33168 no_undefined_flag \
33169 hardcode_libdir_flag_spec \
33170 hardcode_libdir_flag_spec_ld \
33171 hardcode_libdir_separator \
33172 fix_srcfile_path \
33173 exclude_expsyms \
33174 include_expsyms \
33175 file_list_spec \
33176 variables_saved_for_relink \
33177 libname_spec \
33178 library_names_spec \
33179 soname_spec \
33180 finish_eval \
33181 old_striplib \
33182 striplib \
33183 predep_objects \
33184 postdep_objects \
33185 predeps \
33186 postdeps \
33187 compiler_lib_search_path \
33188 LD_FC \
33189 compiler_FC \
33190 lt_prog_compiler_no_builtin_flag_FC \
33191 lt_prog_compiler_wl_FC \
33192 lt_prog_compiler_pic_FC \
33193 lt_prog_compiler_static_FC \
33194 lt_cv_prog_compiler_c_o_FC \
33195 export_dynamic_flag_spec_FC \
33196 whole_archive_flag_spec_FC \
33197 compiler_needs_object_FC \
33198 with_gnu_ld_FC \
33199 allow_undefined_flag_FC \
33200 no_undefined_flag_FC \
33201 hardcode_libdir_flag_spec_FC \
33202 hardcode_libdir_flag_spec_ld_FC \
33203 hardcode_libdir_separator_FC \
33204 fix_srcfile_path_FC \
33205 exclude_expsyms_FC \
33206 include_expsyms_FC \
33207 file_list_spec_FC \
33208 predep_objects_FC \
33209 postdep_objects_FC \
33210 predeps_FC \
33211 postdeps_FC \
33212 compiler_lib_search_path_FC; do
33213 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33214 *[\\\\\\\`\\"\\\$]*)
33215 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33218 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33220 esac
33221 done
33223 # Double-quote double-evaled strings.
33224 for var in reload_cmds \
33225 old_postinstall_cmds \
33226 old_postuninstall_cmds \
33227 old_archive_cmds \
33228 extract_expsyms_cmds \
33229 old_archive_from_new_cmds \
33230 old_archive_from_expsyms_cmds \
33231 archive_cmds \
33232 archive_expsym_cmds \
33233 module_cmds \
33234 module_expsym_cmds \
33235 export_symbols_cmds \
33236 prelink_cmds \
33237 postinstall_cmds \
33238 postuninstall_cmds \
33239 finish_cmds \
33240 sys_lib_search_path_spec \
33241 sys_lib_dlsearch_path_spec \
33242 old_archive_cmds_FC \
33243 old_archive_from_new_cmds_FC \
33244 old_archive_from_expsyms_cmds_FC \
33245 archive_cmds_FC \
33246 archive_expsym_cmds_FC \
33247 module_cmds_FC \
33248 module_expsym_cmds_FC \
33249 export_symbols_cmds_FC \
33250 prelink_cmds_FC; do
33251 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33252 *[\\\\\\\`\\"\\\$]*)
33253 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33256 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33258 esac
33259 done
33261 # Fix-up fallback echo if it was mangled by the above quoting rules.
33262 case \$lt_ECHO in
33263 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
33265 esac
33267 ac_aux_dir='$ac_aux_dir'
33268 xsi_shell='$xsi_shell'
33269 lt_shell_append='$lt_shell_append'
33271 # See if we are running on zsh, and set the options which allow our
33272 # commands through without removal of \ escapes INIT.
33273 if test -n "\${ZSH_VERSION+set}" ; then
33274 setopt NO_GLOB_SUBST
33278 PACKAGE='$PACKAGE'
33279 VERSION='$VERSION'
33280 TIMESTAMP='$TIMESTAMP'
33281 RM='$RM'
33282 ofile='$ofile'
33289 GCC="$GCC"
33290 CC="$CC"
33291 acx_cv_header_stdint="$acx_cv_header_stdint"
33292 acx_cv_type_int8_t="$acx_cv_type_int8_t"
33293 acx_cv_type_int16_t="$acx_cv_type_int16_t"
33294 acx_cv_type_int32_t="$acx_cv_type_int32_t"
33295 acx_cv_type_int64_t="$acx_cv_type_int64_t"
33296 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
33297 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
33298 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
33299 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33300 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33301 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
33302 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33303 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33304 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
33307 _ACEOF
33311 cat >>$CONFIG_STATUS <<\_ACEOF
33312 for ac_config_target in $ac_config_targets
33314 case "$ac_config_target" in
33315 # Handling of arguments.
33316 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33317 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
33318 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33319 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33320 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
33321 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33322 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33323 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33324 { (exit 1); exit 1; }; };;
33325 esac
33326 done
33328 # If the user did not use the arguments to specify the items to instantiate,
33329 # then the envvar interface is used. Set only those that are not.
33330 # We use the long form for the default assignment because of an extremely
33331 # bizarre bug on SunOS 4.1.3.
33332 if $ac_need_defaults; then
33333 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33334 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33335 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33338 # Have a temporary directory for convenience. Make it in the build tree
33339 # simply because there is no reason to put it here, and in addition,
33340 # creating and moving files from /tmp can sometimes cause problems.
33341 # Create a temporary directory, and hook for its removal unless debugging.
33342 $debug ||
33344 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33345 trap '{ (exit 1); exit 1; }' 1 2 13 15
33348 # Create a (secure) tmp directory for tmp files.
33351 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33352 test -n "$tmp" && test -d "$tmp"
33353 } ||
33355 tmp=./confstat$$-$RANDOM
33356 (umask 077 && mkdir $tmp)
33357 } ||
33359 echo "$me: cannot create a temporary directory in ." >&2
33360 { (exit 1); exit 1; }
33363 _ACEOF
33365 cat >>$CONFIG_STATUS <<_ACEOF
33368 # CONFIG_FILES section.
33371 # No need to generate the scripts if there are no CONFIG_FILES.
33372 # This happens for instance when ./config.status config.h
33373 if test -n "\$CONFIG_FILES"; then
33374 # Protect against being on the right side of a sed subst in config.status.
33375 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33376 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33377 s,@SHELL@,$SHELL,;t t
33378 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33379 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33380 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33381 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33382 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33383 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33384 s,@exec_prefix@,$exec_prefix,;t t
33385 s,@prefix@,$prefix,;t t
33386 s,@program_transform_name@,$program_transform_name,;t t
33387 s,@bindir@,$bindir,;t t
33388 s,@sbindir@,$sbindir,;t t
33389 s,@libexecdir@,$libexecdir,;t t
33390 s,@datadir@,$datadir,;t t
33391 s,@sysconfdir@,$sysconfdir,;t t
33392 s,@sharedstatedir@,$sharedstatedir,;t t
33393 s,@localstatedir@,$localstatedir,;t t
33394 s,@libdir@,$libdir,;t t
33395 s,@includedir@,$includedir,;t t
33396 s,@oldincludedir@,$oldincludedir,;t t
33397 s,@infodir@,$infodir,;t t
33398 s,@mandir@,$mandir,;t t
33399 s,@build_alias@,$build_alias,;t t
33400 s,@host_alias@,$host_alias,;t t
33401 s,@target_alias@,$target_alias,;t t
33402 s,@DEFS@,$DEFS,;t t
33403 s,@ECHO_C@,$ECHO_C,;t t
33404 s,@ECHO_N@,$ECHO_N,;t t
33405 s,@ECHO_T@,$ECHO_T,;t t
33406 s,@LIBS@,$LIBS,;t t
33407 s,@build@,$build,;t t
33408 s,@build_cpu@,$build_cpu,;t t
33409 s,@build_vendor@,$build_vendor,;t t
33410 s,@build_os@,$build_os,;t t
33411 s,@build_libsubdir@,$build_libsubdir,;t t
33412 s,@build_subdir@,$build_subdir,;t t
33413 s,@host_subdir@,$host_subdir,;t t
33414 s,@target_subdir@,$target_subdir,;t t
33415 s,@host@,$host,;t t
33416 s,@host_cpu@,$host_cpu,;t t
33417 s,@host_vendor@,$host_vendor,;t t
33418 s,@host_os@,$host_os,;t t
33419 s,@target@,$target,;t t
33420 s,@target_cpu@,$target_cpu,;t t
33421 s,@target_vendor@,$target_vendor,;t t
33422 s,@target_os@,$target_os,;t t
33423 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33424 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33425 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33426 s,@CYGPATH_W@,$CYGPATH_W,;t t
33427 s,@PACKAGE@,$PACKAGE,;t t
33428 s,@VERSION@,$VERSION,;t t
33429 s,@ACLOCAL@,$ACLOCAL,;t t
33430 s,@AUTOCONF@,$AUTOCONF,;t t
33431 s,@AUTOMAKE@,$AUTOMAKE,;t t
33432 s,@AUTOHEADER@,$AUTOHEADER,;t t
33433 s,@MAKEINFO@,$MAKEINFO,;t t
33434 s,@install_sh@,$install_sh,;t t
33435 s,@STRIP@,$STRIP,;t t
33436 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33437 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33438 s,@mkdir_p@,$mkdir_p,;t t
33439 s,@AWK@,$AWK,;t t
33440 s,@SET_MAKE@,$SET_MAKE,;t t
33441 s,@am__leading_dot@,$am__leading_dot,;t t
33442 s,@AMTAR@,$AMTAR,;t t
33443 s,@am__tar@,$am__tar,;t t
33444 s,@am__untar@,$am__untar,;t t
33445 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33446 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33447 s,@MAINT@,$MAINT,;t t
33448 s,@multi_basedir@,$multi_basedir,;t t
33449 s,@toolexecdir@,$toolexecdir,;t t
33450 s,@toolexeclibdir@,$toolexeclibdir,;t t
33451 s,@CC@,$CC,;t t
33452 s,@ac_ct_CC@,$ac_ct_CC,;t t
33453 s,@EXEEXT@,$EXEEXT,;t t
33454 s,@OBJEXT@,$OBJEXT,;t t
33455 s,@DEPDIR@,$DEPDIR,;t t
33456 s,@am__include@,$am__include,;t t
33457 s,@am__quote@,$am__quote,;t t
33458 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33459 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33460 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33461 s,@CCDEPMODE@,$CCDEPMODE,;t t
33462 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33463 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33464 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
33465 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
33466 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
33467 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
33468 s,@AS@,$AS,;t t
33469 s,@ac_ct_AS@,$ac_ct_AS,;t t
33470 s,@AR@,$AR,;t t
33471 s,@ac_ct_AR@,$ac_ct_AR,;t t
33472 s,@RANLIB@,$RANLIB,;t t
33473 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33474 s,@LIBTOOL@,$LIBTOOL,;t t
33475 s,@SED@,$SED,;t t
33476 s,@EGREP@,$EGREP,;t t
33477 s,@FGREP@,$FGREP,;t t
33478 s,@GREP@,$GREP,;t t
33479 s,@LD@,$LD,;t t
33480 s,@DUMPBIN@,$DUMPBIN,;t t
33481 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
33482 s,@NM@,$NM,;t t
33483 s,@LN_S@,$LN_S,;t t
33484 s,@lt_ECHO@,$lt_ECHO,;t t
33485 s,@CPP@,$CPP,;t t
33486 s,@CPPFLAGS@,$CPPFLAGS,;t t
33487 s,@enable_shared@,$enable_shared,;t t
33488 s,@enable_static@,$enable_static,;t t
33489 s,@FC@,$FC,;t t
33490 s,@FCFLAGS@,$FCFLAGS,;t t
33491 s,@LDFLAGS@,$LDFLAGS,;t t
33492 s,@ac_ct_FC@,$ac_ct_FC,;t t
33493 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
33494 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
33495 s,@LIBOBJS@,$LIBOBJS,;t t
33496 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33497 CEOF
33499 _ACEOF
33501 cat >>$CONFIG_STATUS <<\_ACEOF
33502 # Split the substitutions into bite-sized pieces for seds with
33503 # small command number limits, like on Digital OSF/1 and HP-UX.
33504 ac_max_sed_lines=48
33505 ac_sed_frag=1 # Number of current file.
33506 ac_beg=1 # First line for current file.
33507 ac_end=$ac_max_sed_lines # Line after last line for current file.
33508 ac_more_lines=:
33509 ac_sed_cmds=
33510 while $ac_more_lines; do
33511 if test $ac_beg -gt 1; then
33512 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33513 else
33514 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33516 if test ! -s $tmp/subs.frag; then
33517 ac_more_lines=false
33518 else
33519 # The purpose of the label and of the branching condition is to
33520 # speed up the sed processing (if there are no `@' at all, there
33521 # is no need to browse any of the substitutions).
33522 # These are the two extra sed commands mentioned above.
33523 (echo ':t
33524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33525 if test -z "$ac_sed_cmds"; then
33526 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33527 else
33528 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33530 ac_sed_frag=`expr $ac_sed_frag + 1`
33531 ac_beg=$ac_end
33532 ac_end=`expr $ac_end + $ac_max_sed_lines`
33534 done
33535 if test -z "$ac_sed_cmds"; then
33536 ac_sed_cmds=cat
33538 fi # test -n "$CONFIG_FILES"
33540 _ACEOF
33541 cat >>$CONFIG_STATUS <<\_ACEOF
33542 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
33543 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33544 case $ac_file in
33545 - | *:- | *:-:* ) # input from stdin
33546 cat >$tmp/stdin
33547 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33548 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33551 * ) ac_file_in=$ac_file.in ;;
33552 esac
33554 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
33555 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33557 X"$ac_file" : 'X\(//\)[^/]' \| \
33558 X"$ac_file" : 'X\(//\)$' \| \
33559 X"$ac_file" : 'X\(/\)' \| \
33560 . : '\(.\)' 2>/dev/null ||
33561 echo X"$ac_file" |
33562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33564 /^X\(\/\/\)$/{ s//\1/; q; }
33565 /^X\(\/\).*/{ s//\1/; q; }
33566 s/.*/./; q'`
33567 { if $as_mkdir_p; then
33568 mkdir -p "$ac_dir"
33569 else
33570 as_dir="$ac_dir"
33571 as_dirs=
33572 while test ! -d "$as_dir"; do
33573 as_dirs="$as_dir $as_dirs"
33574 as_dir=`(dirname "$as_dir") 2>/dev/null ||
33575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33576 X"$as_dir" : 'X\(//\)[^/]' \| \
33577 X"$as_dir" : 'X\(//\)$' \| \
33578 X"$as_dir" : 'X\(/\)' \| \
33579 . : '\(.\)' 2>/dev/null ||
33580 echo X"$as_dir" |
33581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33583 /^X\(\/\/\)$/{ s//\1/; q; }
33584 /^X\(\/\).*/{ s//\1/; q; }
33585 s/.*/./; q'`
33586 done
33587 test ! -n "$as_dirs" || mkdir $as_dirs
33588 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33589 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33590 { (exit 1); exit 1; }; }; }
33592 ac_builddir=.
33594 if test "$ac_dir" != .; then
33595 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33596 # A "../" for each directory in $ac_dir_suffix.
33597 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33598 else
33599 ac_dir_suffix= ac_top_builddir=
33602 case $srcdir in
33603 .) # No --srcdir option. We are building in place.
33604 ac_srcdir=.
33605 if test -z "$ac_top_builddir"; then
33606 ac_top_srcdir=.
33607 else
33608 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33609 fi ;;
33610 [\\/]* | ?:[\\/]* ) # Absolute path.
33611 ac_srcdir=$srcdir$ac_dir_suffix;
33612 ac_top_srcdir=$srcdir ;;
33613 *) # Relative path.
33614 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33615 ac_top_srcdir=$ac_top_builddir$srcdir ;;
33616 esac
33618 # Do not use `cd foo && pwd` to compute absolute paths, because
33619 # the directories may not exist.
33620 case `pwd` in
33621 .) ac_abs_builddir="$ac_dir";;
33623 case "$ac_dir" in
33624 .) ac_abs_builddir=`pwd`;;
33625 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33626 *) ac_abs_builddir=`pwd`/"$ac_dir";;
33627 esac;;
33628 esac
33629 case $ac_abs_builddir in
33630 .) ac_abs_top_builddir=${ac_top_builddir}.;;
33632 case ${ac_top_builddir}. in
33633 .) ac_abs_top_builddir=$ac_abs_builddir;;
33634 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33635 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33636 esac;;
33637 esac
33638 case $ac_abs_builddir in
33639 .) ac_abs_srcdir=$ac_srcdir;;
33641 case $ac_srcdir in
33642 .) ac_abs_srcdir=$ac_abs_builddir;;
33643 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33644 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33645 esac;;
33646 esac
33647 case $ac_abs_builddir in
33648 .) ac_abs_top_srcdir=$ac_top_srcdir;;
33650 case $ac_top_srcdir in
33651 .) ac_abs_top_srcdir=$ac_abs_builddir;;
33652 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33653 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33654 esac;;
33655 esac
33658 case $INSTALL in
33659 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33660 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
33661 esac
33663 if test x"$ac_file" != x-; then
33664 { echo "$as_me:$LINENO: creating $ac_file" >&5
33665 echo "$as_me: creating $ac_file" >&6;}
33666 rm -f "$ac_file"
33668 # Let's still pretend it is `configure' which instantiates (i.e., don't
33669 # use $as_me), people would be surprised to read:
33670 # /* config.h. Generated by config.status. */
33671 if test x"$ac_file" = x-; then
33672 configure_input=
33673 else
33674 configure_input="$ac_file. "
33676 configure_input=$configure_input"Generated from `echo $ac_file_in |
33677 sed 's,.*/,,'` by configure."
33679 # First look for the input files in the build tree, otherwise in the
33680 # src tree.
33681 ac_file_inputs=`IFS=:
33682 for f in $ac_file_in; do
33683 case $f in
33684 -) echo $tmp/stdin ;;
33685 [\\/$]*)
33686 # Absolute (can't be DOS-style, as IFS=:)
33687 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33688 echo "$as_me: error: cannot find input file: $f" >&2;}
33689 { (exit 1); exit 1; }; }
33690 echo "$f";;
33691 *) # Relative
33692 if test -f "$f"; then
33693 # Build tree
33694 echo "$f"
33695 elif test -f "$srcdir/$f"; then
33696 # Source tree
33697 echo "$srcdir/$f"
33698 else
33699 # /dev/null tree
33700 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33701 echo "$as_me: error: cannot find input file: $f" >&2;}
33702 { (exit 1); exit 1; }; }
33703 fi;;
33704 esac
33705 done` || { (exit 1); exit 1; }
33706 _ACEOF
33707 cat >>$CONFIG_STATUS <<_ACEOF
33708 sed "$ac_vpsub
33709 $extrasub
33710 _ACEOF
33711 cat >>$CONFIG_STATUS <<\_ACEOF
33713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33714 s,@configure_input@,$configure_input,;t t
33715 s,@srcdir@,$ac_srcdir,;t t
33716 s,@abs_srcdir@,$ac_abs_srcdir,;t t
33717 s,@top_srcdir@,$ac_top_srcdir,;t t
33718 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
33719 s,@builddir@,$ac_builddir,;t t
33720 s,@abs_builddir@,$ac_abs_builddir,;t t
33721 s,@top_builddir@,$ac_top_builddir,;t t
33722 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
33723 s,@INSTALL@,$ac_INSTALL,;t t
33724 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
33725 rm -f $tmp/stdin
33726 if test x"$ac_file" != x-; then
33727 mv $tmp/out $ac_file
33728 else
33729 cat $tmp/out
33730 rm -f $tmp/out
33733 done
33734 _ACEOF
33735 cat >>$CONFIG_STATUS <<\_ACEOF
33738 # CONFIG_HEADER section.
33741 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
33742 # NAME is the cpp macro being defined and VALUE is the value it is being given.
33744 # ac_d sets the value in "#define NAME VALUE" lines.
33745 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
33746 ac_dB='[ ].*$,\1#\2'
33747 ac_dC=' '
33748 ac_dD=',;t'
33749 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
33750 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
33751 ac_uB='$,\1#\2define\3'
33752 ac_uC=' '
33753 ac_uD=',;t'
33755 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
33756 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33757 case $ac_file in
33758 - | *:- | *:-:* ) # input from stdin
33759 cat >$tmp/stdin
33760 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33761 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33762 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33763 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33764 * ) ac_file_in=$ac_file.in ;;
33765 esac
33767 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
33768 echo "$as_me: creating $ac_file" >&6;}
33770 # First look for the input files in the build tree, otherwise in the
33771 # src tree.
33772 ac_file_inputs=`IFS=:
33773 for f in $ac_file_in; do
33774 case $f in
33775 -) echo $tmp/stdin ;;
33776 [\\/$]*)
33777 # Absolute (can't be DOS-style, as IFS=:)
33778 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33779 echo "$as_me: error: cannot find input file: $f" >&2;}
33780 { (exit 1); exit 1; }; }
33781 # Do quote $f, to prevent DOS paths from being IFS'd.
33782 echo "$f";;
33783 *) # Relative
33784 if test -f "$f"; then
33785 # Build tree
33786 echo "$f"
33787 elif test -f "$srcdir/$f"; then
33788 # Source tree
33789 echo "$srcdir/$f"
33790 else
33791 # /dev/null tree
33792 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33793 echo "$as_me: error: cannot find input file: $f" >&2;}
33794 { (exit 1); exit 1; }; }
33795 fi;;
33796 esac
33797 done` || { (exit 1); exit 1; }
33798 # Remove the trailing spaces.
33799 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
33801 _ACEOF
33803 # Transform confdefs.h into two sed scripts, `conftest.defines' and
33804 # `conftest.undefs', that substitutes the proper values into
33805 # config.h.in to produce config.h. The first handles `#define'
33806 # templates, and the second `#undef' templates.
33807 # And first: Protect against being on the right side of a sed subst in
33808 # config.status. Protect against being in an unquoted here document
33809 # in config.status.
33810 rm -f conftest.defines conftest.undefs
33811 # Using a here document instead of a string reduces the quoting nightmare.
33812 # Putting comments in sed scripts is not portable.
33814 # `end' is used to avoid that the second main sed command (meant for
33815 # 0-ary CPP macros) applies to n-ary macro definitions.
33816 # See the Autoconf documentation for `clear'.
33817 cat >confdef2sed.sed <<\_ACEOF
33818 s/[\\&,]/\\&/g
33819 s,[\\$`],\\&,g
33820 t clear
33821 : clear
33822 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
33823 t end
33824 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
33825 : end
33826 _ACEOF
33827 # If some macros were called several times there might be several times
33828 # the same #defines, which is useless. Nevertheless, we may not want to
33829 # sort them, since we want the *last* AC-DEFINE to be honored.
33830 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
33831 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
33832 rm -f confdef2sed.sed
33834 # This sed command replaces #undef with comments. This is necessary, for
33835 # example, in the case of _POSIX_SOURCE, which is predefined and required
33836 # on some systems where configure will not decide to define it.
33837 cat >>conftest.undefs <<\_ACEOF
33838 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
33839 _ACEOF
33841 # Break up conftest.defines because some shells have a limit on the size
33842 # of here documents, and old seds have small limits too (100 cmds).
33843 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
33844 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
33845 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
33846 echo ' :' >>$CONFIG_STATUS
33847 rm -f conftest.tail
33848 while grep . conftest.defines >/dev/null
33850 # Write a limited-size here document to $tmp/defines.sed.
33851 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
33852 # Speed up: don't consider the non `#define' lines.
33853 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
33854 # Work around the forget-to-reset-the-flag bug.
33855 echo 't clr' >>$CONFIG_STATUS
33856 echo ': clr' >>$CONFIG_STATUS
33857 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
33858 echo 'CEOF
33859 sed -f $tmp/defines.sed $tmp/in >$tmp/out
33860 rm -f $tmp/in
33861 mv $tmp/out $tmp/in
33862 ' >>$CONFIG_STATUS
33863 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
33864 rm -f conftest.defines
33865 mv conftest.tail conftest.defines
33866 done
33867 rm -f conftest.defines
33868 echo ' fi # grep' >>$CONFIG_STATUS
33869 echo >>$CONFIG_STATUS
33871 # Break up conftest.undefs because some shells have a limit on the size
33872 # of here documents, and old seds have small limits too (100 cmds).
33873 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
33874 rm -f conftest.tail
33875 while grep . conftest.undefs >/dev/null
33877 # Write a limited-size here document to $tmp/undefs.sed.
33878 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
33879 # Speed up: don't consider the non `#undef'
33880 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
33881 # Work around the forget-to-reset-the-flag bug.
33882 echo 't clr' >>$CONFIG_STATUS
33883 echo ': clr' >>$CONFIG_STATUS
33884 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
33885 echo 'CEOF
33886 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
33887 rm -f $tmp/in
33888 mv $tmp/out $tmp/in
33889 ' >>$CONFIG_STATUS
33890 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
33891 rm -f conftest.undefs
33892 mv conftest.tail conftest.undefs
33893 done
33894 rm -f conftest.undefs
33896 cat >>$CONFIG_STATUS <<\_ACEOF
33897 # Let's still pretend it is `configure' which instantiates (i.e., don't
33898 # use $as_me), people would be surprised to read:
33899 # /* config.h. Generated by config.status. */
33900 if test x"$ac_file" = x-; then
33901 echo "/* Generated by configure. */" >$tmp/config.h
33902 else
33903 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
33905 cat $tmp/in >>$tmp/config.h
33906 rm -f $tmp/in
33907 if test x"$ac_file" != x-; then
33908 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
33909 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33910 echo "$as_me: $ac_file is unchanged" >&6;}
33911 else
33912 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33913 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33914 X"$ac_file" : 'X\(//\)[^/]' \| \
33915 X"$ac_file" : 'X\(//\)$' \| \
33916 X"$ac_file" : 'X\(/\)' \| \
33917 . : '\(.\)' 2>/dev/null ||
33918 echo X"$ac_file" |
33919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33921 /^X\(\/\/\)$/{ s//\1/; q; }
33922 /^X\(\/\).*/{ s//\1/; q; }
33923 s/.*/./; q'`
33924 { if $as_mkdir_p; then
33925 mkdir -p "$ac_dir"
33926 else
33927 as_dir="$ac_dir"
33928 as_dirs=
33929 while test ! -d "$as_dir"; do
33930 as_dirs="$as_dir $as_dirs"
33931 as_dir=`(dirname "$as_dir") 2>/dev/null ||
33932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33933 X"$as_dir" : 'X\(//\)[^/]' \| \
33934 X"$as_dir" : 'X\(//\)$' \| \
33935 X"$as_dir" : 'X\(/\)' \| \
33936 . : '\(.\)' 2>/dev/null ||
33937 echo X"$as_dir" |
33938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33940 /^X\(\/\/\)$/{ s//\1/; q; }
33941 /^X\(\/\).*/{ s//\1/; q; }
33942 s/.*/./; q'`
33943 done
33944 test ! -n "$as_dirs" || mkdir $as_dirs
33945 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33946 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33947 { (exit 1); exit 1; }; }; }
33949 rm -f $ac_file
33950 mv $tmp/config.h $ac_file
33952 else
33953 cat $tmp/config.h
33954 rm -f $tmp/config.h
33956 # Compute $ac_file's index in $config_headers.
33957 _am_stamp_count=1
33958 for _am_header in $config_headers :; do
33959 case $_am_header in
33960 $ac_file | $ac_file:* )
33961 break ;;
33963 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33964 esac
33965 done
33966 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
33967 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33968 X$ac_file : 'X\(//\)[^/]' \| \
33969 X$ac_file : 'X\(//\)$' \| \
33970 X$ac_file : 'X\(/\)' \| \
33971 . : '\(.\)' 2>/dev/null ||
33972 echo X$ac_file |
33973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33974 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33975 /^X\(\/\/\)$/{ s//\1/; q; }
33976 /^X\(\/\).*/{ s//\1/; q; }
33977 s/.*/./; q'`/stamp-h$_am_stamp_count
33978 done
33979 _ACEOF
33980 cat >>$CONFIG_STATUS <<\_ACEOF
33983 # CONFIG_COMMANDS section.
33985 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
33986 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
33987 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
33988 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
33989 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33990 X"$ac_dest" : 'X\(//\)[^/]' \| \
33991 X"$ac_dest" : 'X\(//\)$' \| \
33992 X"$ac_dest" : 'X\(/\)' \| \
33993 . : '\(.\)' 2>/dev/null ||
33994 echo X"$ac_dest" |
33995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
33997 /^X\(\/\/\)$/{ s//\1/; q; }
33998 /^X\(\/\).*/{ s//\1/; q; }
33999 s/.*/./; q'`
34000 { if $as_mkdir_p; then
34001 mkdir -p "$ac_dir"
34002 else
34003 as_dir="$ac_dir"
34004 as_dirs=
34005 while test ! -d "$as_dir"; do
34006 as_dirs="$as_dir $as_dirs"
34007 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34009 X"$as_dir" : 'X\(//\)[^/]' \| \
34010 X"$as_dir" : 'X\(//\)$' \| \
34011 X"$as_dir" : 'X\(/\)' \| \
34012 . : '\(.\)' 2>/dev/null ||
34013 echo X"$as_dir" |
34014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34016 /^X\(\/\/\)$/{ s//\1/; q; }
34017 /^X\(\/\).*/{ s//\1/; q; }
34018 s/.*/./; q'`
34019 done
34020 test ! -n "$as_dirs" || mkdir $as_dirs
34021 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34022 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34023 { (exit 1); exit 1; }; }; }
34025 ac_builddir=.
34027 if test "$ac_dir" != .; then
34028 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34029 # A "../" for each directory in $ac_dir_suffix.
34030 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34031 else
34032 ac_dir_suffix= ac_top_builddir=
34035 case $srcdir in
34036 .) # No --srcdir option. We are building in place.
34037 ac_srcdir=.
34038 if test -z "$ac_top_builddir"; then
34039 ac_top_srcdir=.
34040 else
34041 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34042 fi ;;
34043 [\\/]* | ?:[\\/]* ) # Absolute path.
34044 ac_srcdir=$srcdir$ac_dir_suffix;
34045 ac_top_srcdir=$srcdir ;;
34046 *) # Relative path.
34047 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34048 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34049 esac
34051 # Do not use `cd foo && pwd` to compute absolute paths, because
34052 # the directories may not exist.
34053 case `pwd` in
34054 .) ac_abs_builddir="$ac_dir";;
34056 case "$ac_dir" in
34057 .) ac_abs_builddir=`pwd`;;
34058 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34059 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34060 esac;;
34061 esac
34062 case $ac_abs_builddir in
34063 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34065 case ${ac_top_builddir}. in
34066 .) ac_abs_top_builddir=$ac_abs_builddir;;
34067 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34068 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34069 esac;;
34070 esac
34071 case $ac_abs_builddir in
34072 .) ac_abs_srcdir=$ac_srcdir;;
34074 case $ac_srcdir in
34075 .) ac_abs_srcdir=$ac_abs_builddir;;
34076 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34077 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34078 esac;;
34079 esac
34080 case $ac_abs_builddir in
34081 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34083 case $ac_top_srcdir in
34084 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34085 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34086 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34087 esac;;
34088 esac
34091 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34092 echo "$as_me: executing $ac_dest commands" >&6;}
34093 case $ac_dest in
34094 default-1 )
34095 # Only add multilib support code if we just rebuilt the top-level
34096 # Makefile.
34097 case " $CONFIG_FILES " in
34098 *" Makefile "*)
34099 ac_file=Makefile . ${multi_basedir}/config-ml.in
34101 esac ;;
34102 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34103 # Strip MF so we end up with the name of the file.
34104 mf=`echo "$mf" | sed -e 's/:.*$//'`
34105 # Check whether this is an Automake generated Makefile or not.
34106 # We used to match only the files named `Makefile.in', but
34107 # some people rename them; so instead we look at the file content.
34108 # Grep'ing the first line is not enough: some people post-process
34109 # each Makefile.in and add a new line on top of each file to say so.
34110 # So let's grep whole file.
34111 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34112 dirpart=`(dirname "$mf") 2>/dev/null ||
34113 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34114 X"$mf" : 'X\(//\)[^/]' \| \
34115 X"$mf" : 'X\(//\)$' \| \
34116 X"$mf" : 'X\(/\)' \| \
34117 . : '\(.\)' 2>/dev/null ||
34118 echo X"$mf" |
34119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34121 /^X\(\/\/\)$/{ s//\1/; q; }
34122 /^X\(\/\).*/{ s//\1/; q; }
34123 s/.*/./; q'`
34124 else
34125 continue
34127 # Extract the definition of DEPDIR, am__include, and am__quote
34128 # from the Makefile without running `make'.
34129 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34130 test -z "$DEPDIR" && continue
34131 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34132 test -z "am__include" && continue
34133 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34134 # When using ansi2knr, U may be empty or an underscore; expand it
34135 U=`sed -n 's/^U = //p' < "$mf"`
34136 # Find all dependency output files, they are included files with
34137 # $(DEPDIR) in their names. We invoke sed twice because it is the
34138 # simplest approach to changing $(DEPDIR) to its actual value in the
34139 # expansion.
34140 for file in `sed -n "
34141 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34142 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34143 # Make sure the directory exists.
34144 test -f "$dirpart/$file" && continue
34145 fdir=`(dirname "$file") 2>/dev/null ||
34146 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34147 X"$file" : 'X\(//\)[^/]' \| \
34148 X"$file" : 'X\(//\)$' \| \
34149 X"$file" : 'X\(/\)' \| \
34150 . : '\(.\)' 2>/dev/null ||
34151 echo X"$file" |
34152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34154 /^X\(\/\/\)$/{ s//\1/; q; }
34155 /^X\(\/\).*/{ s//\1/; q; }
34156 s/.*/./; q'`
34157 { if $as_mkdir_p; then
34158 mkdir -p $dirpart/$fdir
34159 else
34160 as_dir=$dirpart/$fdir
34161 as_dirs=
34162 while test ! -d "$as_dir"; do
34163 as_dirs="$as_dir $as_dirs"
34164 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34166 X"$as_dir" : 'X\(//\)[^/]' \| \
34167 X"$as_dir" : 'X\(//\)$' \| \
34168 X"$as_dir" : 'X\(/\)' \| \
34169 . : '\(.\)' 2>/dev/null ||
34170 echo X"$as_dir" |
34171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34172 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34173 /^X\(\/\/\)$/{ s//\1/; q; }
34174 /^X\(\/\).*/{ s//\1/; q; }
34175 s/.*/./; q'`
34176 done
34177 test ! -n "$as_dirs" || mkdir $as_dirs
34178 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34179 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34180 { (exit 1); exit 1; }; }; }
34182 # echo "creating $dirpart/$file"
34183 echo '# dummy' > "$dirpart/$file"
34184 done
34185 done
34187 libtool )
34189 # See if we are running on zsh, and set the options which allow our
34190 # commands through without removal of \ escapes.
34191 if test -n "${ZSH_VERSION+set}" ; then
34192 setopt NO_GLOB_SUBST
34195 cfgfile="${ofile}T"
34196 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34197 $RM "$cfgfile"
34199 cat <<_LT_EOF >> "$cfgfile"
34200 #! $SHELL
34202 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34203 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
34204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34205 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34207 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34208 # 2006, 2007 Free Software Foundation, Inc.
34210 # This file is part of GNU Libtool:
34211 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
34213 # This program is free software; you can redistribute it and/or modify
34214 # it under the terms of the GNU General Public License as published by
34215 # the Free Software Foundation; either version 2 of the License, or
34216 # (at your option) any later version.
34218 # This program is distributed in the hope that it will be useful, but
34219 # WITHOUT ANY WARRANTY; without even the implied warranty of
34220 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34221 # General Public License for more details.
34223 # You should have received a copy of the GNU General Public License
34224 # along with this program; if not, a copy can be downloaded from
34225 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
34226 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34227 # MA 02110-1301, USA.
34229 # As a special exception to the GNU General Public License, if you
34230 # distribute this file as part of a program that contains a
34231 # configuration script generated by Autoconf, you may include it under
34232 # the same distribution terms that you use for the rest of that program.
34235 # The names of the tagged configurations supported by this script.
34236 available_tags="FC "
34238 # ### BEGIN LIBTOOL CONFIG
34240 # Which release of libtool.m4 was used?
34241 macro_version=$macro_version
34242 macro_revision=$macro_revision
34244 # Whether or not to build shared libraries.
34245 build_libtool_libs=$enable_shared
34247 # Whether or not to build static libraries.
34248 build_old_libs=$enable_static
34250 # What type of objects to build.
34251 pic_mode=$pic_mode
34253 # Whether or not to optimize for fast installation.
34254 fast_install=$enable_fast_install
34256 # The host system.
34257 host_alias=$host_alias
34258 host=$host
34259 host_os=$host_os
34261 # The build system.
34262 build_alias=$build_alias
34263 build=$build
34264 build_os=$build_os
34266 # A sed program that does not truncate output.
34267 SED=$lt_SED
34269 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34270 Xsed="\$SED -e 1s/^X//"
34272 # A grep program that handles long lines.
34273 GREP=$lt_GREP
34275 # An ERE matcher.
34276 EGREP=$lt_EGREP
34278 # A literal string matcher.
34279 FGREP=$lt_FGREP
34281 # A BSD- or MS-compatible name lister.
34282 NM=$lt_NM
34284 # Whether we need soft or hard links.
34285 LN_S=$lt_LN_S
34287 # What is the maximum length of a command?
34288 max_cmd_len=$max_cmd_len
34290 # Object file suffix (normally "o").
34291 objext=$ac_objext
34293 # Executable file suffix (normally "").
34294 exeext=$exeext
34296 # whether the shell understands "unset".
34297 lt_unset=$lt_unset
34299 # turn spaces into newlines.
34300 SP2NL=$lt_lt_SP2NL
34302 # turn newlines into spaces.
34303 NL2SP=$lt_lt_NL2SP
34305 # How to create reloadable object files.
34306 reload_flag=$lt_reload_flag
34307 reload_cmds=$lt_reload_cmds
34309 # Method to check whether dependent libraries are shared objects.
34310 deplibs_check_method=$lt_deplibs_check_method
34312 # Command to use when deplibs_check_method == "file_magic".
34313 file_magic_cmd=$lt_file_magic_cmd
34315 # The archiver.
34316 AR=$lt_AR
34317 AR_FLAGS=$lt_AR_FLAGS
34319 # A symbol stripping program.
34320 STRIP=$lt_STRIP
34322 # Commands used to install an old-style archive.
34323 RANLIB=$lt_RANLIB
34324 old_postinstall_cmds=$lt_old_postinstall_cmds
34325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34327 # A C compiler.
34328 LTCC=$lt_CC
34330 # LTCC compiler flags.
34331 LTCFLAGS=$lt_CFLAGS
34333 # Take the output of nm and produce a listing of raw symbols and C names.
34334 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34336 # Transform the output of nm in a proper C declaration.
34337 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34339 # Transform the output of nm in a C name address pair.
34340 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34342 # The name of the directory that contains temporary libtool files.
34343 objdir=$objdir
34345 # Shell to use when invoking shell scripts.
34346 SHELL=$lt_SHELL
34348 # An echo program that does not interpret backslashes.
34349 ECHO=$lt_ECHO
34351 # Used to examine libraries when file_magic_cmd begins with "file".
34352 MAGIC_CMD=$MAGIC_CMD
34354 # Must we lock files when doing compilation?
34355 need_locks=$lt_need_locks
34357 # Old archive suffix (normally "a").
34358 libext=$libext
34360 # Shared library suffix (normally ".so").
34361 shrext_cmds=$lt_shrext_cmds
34363 # The commands to extract the exported symbol list from a shared archive.
34364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34366 # Variables whose values should be saved in libtool wrapper scripts and
34367 # restored at link time.
34368 variables_saved_for_relink=$lt_variables_saved_for_relink
34370 # Do we need the "lib" prefix for modules?
34371 need_lib_prefix=$need_lib_prefix
34373 # Do we need a version for libraries?
34374 need_version=$need_version
34376 # Library versioning type.
34377 version_type=$version_type
34379 # Shared library runtime path variable.
34380 runpath_var=$runpath_var
34382 # Shared library path variable.
34383 shlibpath_var=$shlibpath_var
34385 # Is shlibpath searched before the hard-coded library search path?
34386 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34388 # Format of library name prefix.
34389 libname_spec=$lt_libname_spec
34391 # List of archive names. First name is the real one, the rest are links.
34392 # The last name is the one that the linker finds with -lNAME
34393 library_names_spec=$lt_library_names_spec
34395 # The coded name of the library, if different from the real name.
34396 soname_spec=$lt_soname_spec
34398 # Command to use after installation of a shared archive.
34399 postinstall_cmds=$lt_postinstall_cmds
34401 # Command to use after uninstallation of a shared archive.
34402 postuninstall_cmds=$lt_postuninstall_cmds
34404 # Commands used to finish a libtool library installation in a directory.
34405 finish_cmds=$lt_finish_cmds
34407 # As "finish_cmds", except a single script fragment to be evaled but
34408 # not shown.
34409 finish_eval=$lt_finish_eval
34411 # Whether we should hardcode library paths into libraries.
34412 hardcode_into_libs=$hardcode_into_libs
34414 # Compile-time system search path for libraries.
34415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34417 # Run-time system search path for libraries.
34418 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34420 # Whether dlopen is supported.
34421 dlopen_support=$enable_dlopen
34423 # Whether dlopen of programs is supported.
34424 dlopen_self=$enable_dlopen_self
34426 # Whether dlopen of statically linked programs is supported.
34427 dlopen_self_static=$enable_dlopen_self_static
34429 # Commands to strip libraries.
34430 old_striplib=$lt_old_striplib
34431 striplib=$lt_striplib
34434 # The linker used to build libraries.
34435 LD=$lt_LD
34437 # Commands used to build an old-style archive.
34438 old_archive_cmds=$lt_old_archive_cmds
34440 # A language specific compiler.
34441 CC=$lt_compiler
34443 # Is the compiler the GNU compiler?
34444 with_gcc=$GCC
34446 # Compiler flag to turn off builtin functions.
34447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34449 # How to pass a linker flag through the compiler.
34450 wl=$lt_lt_prog_compiler_wl
34452 # Additional compiler flags for building library objects.
34453 pic_flag=$lt_lt_prog_compiler_pic
34455 # Compiler flag to prevent dynamic linking.
34456 link_static_flag=$lt_lt_prog_compiler_static
34458 # Does compiler simultaneously support -c and -o options?
34459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34461 # Whether or not to add -lc for building shared libraries.
34462 build_libtool_need_lc=$archive_cmds_need_lc
34464 # Whether or not to disallow shared libs when runtime libs are static.
34465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34467 # Compiler flag to allow reflexive dlopens.
34468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34470 # Compiler flag to generate shared objects directly from archives.
34471 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34473 # Whether the compiler copes with passing no objects directly.
34474 compiler_needs_object=$lt_compiler_needs_object
34476 # Create an old-style archive from a shared archive.
34477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34479 # Create a temporary old-style archive to link instead of a shared archive.
34480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34482 # Commands used to build a shared archive.
34483 archive_cmds=$lt_archive_cmds
34484 archive_expsym_cmds=$lt_archive_expsym_cmds
34486 # Commands used to build a loadable module if different from building
34487 # a shared archive.
34488 module_cmds=$lt_module_cmds
34489 module_expsym_cmds=$lt_module_expsym_cmds
34491 # Whether we are building with GNU ld or not.
34492 with_gnu_ld=$lt_with_gnu_ld
34494 # Flag that allows shared libraries with undefined symbols to be built.
34495 allow_undefined_flag=$lt_allow_undefined_flag
34497 # Flag that enforces no undefined symbols.
34498 no_undefined_flag=$lt_no_undefined_flag
34500 # Flag to hardcode \$libdir into a binary during linking.
34501 # This must work even if \$libdir does not exist
34502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34504 # If ld is used when linking, flag to hardcode \$libdir into a binary
34505 # during linking. This must work even if \$libdir does not exist.
34506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
34508 # Whether we need a single "-rpath" flag with a separated argument.
34509 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34512 # DIR into the resulting binary.
34513 hardcode_direct=$hardcode_direct
34515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34516 # DIR into the resulting binary and the resulting library dependency is
34517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34518 # library is relocated.
34519 hardcode_direct_absolute=$hardcode_direct_absolute
34521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34522 # into the resulting binary.
34523 hardcode_minus_L=$hardcode_minus_L
34525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34526 # into the resulting binary.
34527 hardcode_shlibpath_var=$hardcode_shlibpath_var
34529 # Set to "yes" if building a shared library automatically hardcodes DIR
34530 # into the library and all subsequent libraries and executables linked
34531 # against it.
34532 hardcode_automatic=$hardcode_automatic
34534 # Set to yes if linker adds runtime paths of dependent libraries
34535 # to runtime path list.
34536 inherit_rpath=$inherit_rpath
34538 # Whether libtool must link a program against all its dependency libraries.
34539 link_all_deplibs=$link_all_deplibs
34541 # Fix the shell variable \$srcfile for the compiler.
34542 fix_srcfile_path=$lt_fix_srcfile_path
34544 # Set to "yes" if exported symbols are required.
34545 always_export_symbols=$always_export_symbols
34547 # The commands to list exported symbols.
34548 export_symbols_cmds=$lt_export_symbols_cmds
34550 # Symbols that should not be listed in the preloaded symbols.
34551 exclude_expsyms=$lt_exclude_expsyms
34553 # Symbols that must always be exported.
34554 include_expsyms=$lt_include_expsyms
34556 # Commands necessary for linking programs (against libraries) with templates.
34557 prelink_cmds=$lt_prelink_cmds
34559 # Specify filename containing input files.
34560 file_list_spec=$lt_file_list_spec
34562 # How to hardcode a shared library path into an executable.
34563 hardcode_action=$hardcode_action
34565 # Dependencies to place before and after the objects being linked to
34566 # create a shared library.
34567 predep_objects=$lt_predep_objects
34568 postdep_objects=$lt_postdep_objects
34569 predeps=$lt_predeps
34570 postdeps=$lt_postdeps
34572 # The library search path used internally by the compiler when linking
34573 # a shared library.
34574 compiler_lib_search_path=$lt_compiler_lib_search_path
34576 # ### END LIBTOOL CONFIG
34578 _LT_EOF
34580 case $host_os in
34581 aix3*)
34582 cat <<\_LT_EOF >> "$cfgfile"
34583 # AIX sometimes has problems with the GCC collect2 program. For some
34584 # reason, if we set the COLLECT_NAMES environment variable, the problems
34585 # vanish in a puff of smoke.
34586 if test "X${COLLECT_NAMES+set}" != Xset; then
34587 COLLECT_NAMES=
34588 export COLLECT_NAMES
34590 _LT_EOF
34592 esac
34595 ltmain="$ac_aux_dir/ltmain.sh"
34598 # We use sed instead of cat because bash on DJGPP gets confused if
34599 # if finds mixed CR/LF and LF-only lines. Since sed operates in
34600 # text mode, it properly converts lines to CR/LF. This bash problem
34601 # is reportedly fixed, but why not run on old versions too?
34602 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
34603 || (rm -f "$cfgfile"; exit 1)
34605 case $xsi_shell in
34606 yes)
34607 cat << \_LT_EOF >> "$cfgfile"
34608 # func_dirname file append nondir_replacement
34609 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
34610 # otherwise set result to NONDIR_REPLACEMENT.
34611 func_dirname ()
34613 case ${1} in
34614 */*) func_dirname_result="${1%/*}${2}" ;;
34615 * ) func_dirname_result="${3}" ;;
34616 esac
34619 # func_basename file
34620 func_basename ()
34622 func_basename_result="${1##*/}"
34625 # func_stripname prefix suffix name
34626 # strip PREFIX and SUFFIX off of NAME.
34627 # PREFIX and SUFFIX must not contain globbing or regex special
34628 # characters, hashes, percent signs, but SUFFIX may contain a leading
34629 # dot (in which case that matches only a dot).
34630 func_stripname ()
34632 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
34633 # positional parameters, so assign one to ordinary parameter first.
34634 func_stripname_result=${3}
34635 func_stripname_result=${func_stripname_result#"${1}"}
34636 func_stripname_result=${func_stripname_result%"${2}"}
34639 # func_opt_split
34640 func_opt_split ()
34642 func_opt_split_opt=${1%%=*}
34643 func_opt_split_arg=${1#*=}
34646 # func_lo2o object
34647 func_lo2o ()
34649 case ${1} in
34650 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
34651 *) func_lo2o_result=${1} ;;
34652 esac
34654 _LT_EOF
34656 *) # Bourne compatible functions.
34657 cat << \_LT_EOF >> "$cfgfile"
34658 # func_dirname file append nondir_replacement
34659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
34660 # otherwise set result to NONDIR_REPLACEMENT.
34661 func_dirname ()
34663 # Extract subdirectory from the argument.
34664 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
34665 if test "X$func_dirname_result" = "X${1}"; then
34666 func_dirname_result="${3}"
34667 else
34668 func_dirname_result="$func_dirname_result${2}"
34672 # func_basename file
34673 func_basename ()
34675 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
34678 # func_stripname prefix suffix name
34679 # strip PREFIX and SUFFIX off of NAME.
34680 # PREFIX and SUFFIX must not contain globbing or regex special
34681 # characters, hashes, percent signs, but SUFFIX may contain a leading
34682 # dot (in which case that matches only a dot).
34683 # func_strip_suffix prefix name
34684 func_stripname ()
34686 case ${2} in
34687 .*) func_stripname_result=`$ECHO "X${3}" \
34688 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
34689 *) func_stripname_result=`$ECHO "X${3}" \
34690 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
34691 esac
34694 # sed scripts:
34695 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
34696 my_sed_long_arg='1s/^-[^=]*=//'
34698 # func_opt_split
34699 func_opt_split ()
34701 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
34702 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
34705 # func_lo2o object
34706 func_lo2o ()
34708 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
34710 _LT_EOF
34711 esac
34713 case $lt_shell_append in
34714 yes)
34715 cat << \_LT_EOF >> "$cfgfile"
34717 # func_append var value
34718 # Append VALUE to the end of shell variable VAR.
34719 func_append ()
34721 eval "$1+=\$2"
34723 _LT_EOF
34726 cat << \_LT_EOF >> "$cfgfile"
34728 # func_append var value
34729 # Append VALUE to the end of shell variable VAR.
34730 func_append ()
34732 eval "$1=\$$1\$2"
34734 _LT_EOF
34736 esac
34739 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34740 || (rm -f "$cfgfile"; exit 1)
34742 mv -f "$cfgfile" "$ofile" ||
34743 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34744 chmod +x "$ofile"
34747 cat <<_LT_EOF >> "$ofile"
34749 # ### BEGIN LIBTOOL TAG CONFIG: FC
34751 # The linker used to build libraries.
34752 LD=$lt_LD_FC
34754 # Commands used to build an old-style archive.
34755 old_archive_cmds=$lt_old_archive_cmds_FC
34757 # A language specific compiler.
34758 CC=$lt_compiler_FC
34760 # Is the compiler the GNU compiler?
34761 with_gcc=$GCC_FC
34763 # Compiler flag to turn off builtin functions.
34764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
34766 # How to pass a linker flag through the compiler.
34767 wl=$lt_lt_prog_compiler_wl_FC
34769 # Additional compiler flags for building library objects.
34770 pic_flag=$lt_lt_prog_compiler_pic_FC
34772 # Compiler flag to prevent dynamic linking.
34773 link_static_flag=$lt_lt_prog_compiler_static_FC
34775 # Does compiler simultaneously support -c and -o options?
34776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
34778 # Whether or not to add -lc for building shared libraries.
34779 build_libtool_need_lc=$archive_cmds_need_lc_FC
34781 # Whether or not to disallow shared libs when runtime libs are static.
34782 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
34784 # Compiler flag to allow reflexive dlopens.
34785 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34787 # Compiler flag to generate shared objects directly from archives.
34788 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34790 # Whether the compiler copes with passing no objects directly.
34791 compiler_needs_object=$lt_compiler_needs_object_FC
34793 # Create an old-style archive from a shared archive.
34794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34796 # Create a temporary old-style archive to link instead of a shared archive.
34797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34799 # Commands used to build a shared archive.
34800 archive_cmds=$lt_archive_cmds_FC
34801 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34803 # Commands used to build a loadable module if different from building
34804 # a shared archive.
34805 module_cmds=$lt_module_cmds_FC
34806 module_expsym_cmds=$lt_module_expsym_cmds_FC
34808 # Whether we are building with GNU ld or not.
34809 with_gnu_ld=$lt_with_gnu_ld_FC
34811 # Flag that allows shared libraries with undefined symbols to be built.
34812 allow_undefined_flag=$lt_allow_undefined_flag_FC
34814 # Flag that enforces no undefined symbols.
34815 no_undefined_flag=$lt_no_undefined_flag_FC
34817 # Flag to hardcode \$libdir into a binary during linking.
34818 # This must work even if \$libdir does not exist
34819 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34821 # If ld is used when linking, flag to hardcode \$libdir into a binary
34822 # during linking. This must work even if \$libdir does not exist.
34823 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34825 # Whether we need a single "-rpath" flag with a separated argument.
34826 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34829 # DIR into the resulting binary.
34830 hardcode_direct=$hardcode_direct_FC
34832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34833 # DIR into the resulting binary and the resulting library dependency is
34834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34835 # library is relocated.
34836 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34839 # into the resulting binary.
34840 hardcode_minus_L=$hardcode_minus_L_FC
34842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34843 # into the resulting binary.
34844 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34846 # Set to "yes" if building a shared library automatically hardcodes DIR
34847 # into the library and all subsequent libraries and executables linked
34848 # against it.
34849 hardcode_automatic=$hardcode_automatic_FC
34851 # Set to yes if linker adds runtime paths of dependent libraries
34852 # to runtime path list.
34853 inherit_rpath=$inherit_rpath_FC
34855 # Whether libtool must link a program against all its dependency libraries.
34856 link_all_deplibs=$link_all_deplibs_FC
34858 # Fix the shell variable \$srcfile for the compiler.
34859 fix_srcfile_path=$lt_fix_srcfile_path_FC
34861 # Set to "yes" if exported symbols are required.
34862 always_export_symbols=$always_export_symbols_FC
34864 # The commands to list exported symbols.
34865 export_symbols_cmds=$lt_export_symbols_cmds_FC
34867 # Symbols that should not be listed in the preloaded symbols.
34868 exclude_expsyms=$lt_exclude_expsyms_FC
34870 # Symbols that must always be exported.
34871 include_expsyms=$lt_include_expsyms_FC
34873 # Commands necessary for linking programs (against libraries) with templates.
34874 prelink_cmds=$lt_prelink_cmds_FC
34876 # Specify filename containing input files.
34877 file_list_spec=$lt_file_list_spec_FC
34879 # How to hardcode a shared library path into an executable.
34880 hardcode_action=$hardcode_action_FC
34882 # Dependencies to place before and after the objects being linked to
34883 # create a shared library.
34884 predep_objects=$lt_predep_objects_FC
34885 postdep_objects=$lt_postdep_objects_FC
34886 predeps=$lt_predeps_FC
34887 postdeps=$lt_postdeps_FC
34889 # The library search path used internally by the compiler when linking
34890 # a shared library.
34891 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34893 # ### END LIBTOOL TAG CONFIG: FC
34894 _LT_EOF
34897 gstdint.h )
34898 if test "$GCC" = yes; then
34899 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34900 else
34901 echo "/* generated for $CC */" > tmp-stdint.h
34904 sed 's/^ *//' >> tmp-stdint.h <<EOF
34906 #ifndef GCC_GENERATED_STDINT_H
34907 #define GCC_GENERATED_STDINT_H 1
34909 #include <sys/types.h>
34912 if test "$acx_cv_header_stdint" != stdint.h; then
34913 echo "#include <stddef.h>" >> tmp-stdint.h
34915 if test "$acx_cv_header_stdint" != stddef.h; then
34916 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34919 sed 's/^ *//' >> tmp-stdint.h <<EOF
34920 /* glibc uses these symbols as guards to prevent redefinitions. */
34921 #ifdef __int8_t_defined
34922 #define _INT8_T
34923 #define _INT16_T
34924 #define _INT32_T
34925 #endif
34926 #ifdef __uint32_t_defined
34927 #define _UINT32_T
34928 #endif
34932 # ----------------- done header, emit basic int types -------------
34933 if test "$acx_cv_header_stdint" = stddef.h; then
34934 sed 's/^ *//' >> tmp-stdint.h <<EOF
34936 #ifndef _UINT8_T
34937 #define _UINT8_T
34938 #ifndef __uint8_t_defined
34939 #define __uint8_t_defined
34940 typedef unsigned $acx_cv_type_int8_t uint8_t;
34941 #endif
34942 #endif
34944 #ifndef _UINT16_T
34945 #define _UINT16_T
34946 #ifndef __uint16_t_defined
34947 #define __uint16_t_defined
34948 typedef unsigned $acx_cv_type_int16_t uint16_t;
34949 #endif
34950 #endif
34952 #ifndef _UINT32_T
34953 #define _UINT32_T
34954 #ifndef __uint32_t_defined
34955 #define __uint32_t_defined
34956 typedef unsigned $acx_cv_type_int32_t uint32_t;
34957 #endif
34958 #endif
34960 #ifndef _INT8_T
34961 #define _INT8_T
34962 #ifndef __int8_t_defined
34963 #define __int8_t_defined
34964 typedef $acx_cv_type_int8_t int8_t;
34965 #endif
34966 #endif
34968 #ifndef _INT16_T
34969 #define _INT16_T
34970 #ifndef __int16_t_defined
34971 #define __int16_t_defined
34972 typedef $acx_cv_type_int16_t int16_t;
34973 #endif
34974 #endif
34976 #ifndef _INT32_T
34977 #define _INT32_T
34978 #ifndef __int32_t_defined
34979 #define __int32_t_defined
34980 typedef $acx_cv_type_int32_t int32_t;
34981 #endif
34982 #endif
34984 elif test "$ac_cv_type_u_int32_t" = yes; then
34985 sed 's/^ *//' >> tmp-stdint.h <<EOF
34987 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34988 #ifndef _INT8_T
34989 #define _INT8_T
34990 #endif
34991 #ifndef _INT16_T
34992 #define _INT16_T
34993 #endif
34994 #ifndef _INT32_T
34995 #define _INT32_T
34996 #endif
34998 #ifndef _UINT8_T
34999 #define _UINT8_T
35000 #ifndef __uint8_t_defined
35001 #define __uint8_t_defined
35002 typedef u_int8_t uint8_t;
35003 #endif
35004 #endif
35006 #ifndef _UINT16_T
35007 #define _UINT16_T
35008 #ifndef __uint16_t_defined
35009 #define __uint16_t_defined
35010 typedef u_int16_t uint16_t;
35011 #endif
35012 #endif
35014 #ifndef _UINT32_T
35015 #define _UINT32_T
35016 #ifndef __uint32_t_defined
35017 #define __uint32_t_defined
35018 typedef u_int32_t uint32_t;
35019 #endif
35020 #endif
35022 else
35023 sed 's/^ *//' >> tmp-stdint.h <<EOF
35025 /* Some systems have guard macros to prevent redefinitions, define them. */
35026 #ifndef _INT8_T
35027 #define _INT8_T
35028 #endif
35029 #ifndef _INT16_T
35030 #define _INT16_T
35031 #endif
35032 #ifndef _INT32_T
35033 #define _INT32_T
35034 #endif
35035 #ifndef _UINT8_T
35036 #define _UINT8_T
35037 #endif
35038 #ifndef _UINT16_T
35039 #define _UINT16_T
35040 #endif
35041 #ifndef _UINT32_T
35042 #define _UINT32_T
35043 #endif
35047 # ------------- done basic int types, emit int64_t types ------------
35048 if test "$ac_cv_type_uint64_t" = yes; then
35049 sed 's/^ *//' >> tmp-stdint.h <<EOF
35051 /* system headers have good uint64_t and int64_t */
35052 #ifndef _INT64_T
35053 #define _INT64_T
35054 #endif
35055 #ifndef _UINT64_T
35056 #define _UINT64_T
35057 #endif
35059 elif test "$ac_cv_type_u_int64_t" = yes; then
35060 sed 's/^ *//' >> tmp-stdint.h <<EOF
35062 /* system headers have an u_int64_t (and int64_t) */
35063 #ifndef _INT64_T
35064 #define _INT64_T
35065 #endif
35066 #ifndef _UINT64_T
35067 #define _UINT64_T
35068 #ifndef __uint64_t_defined
35069 #define __uint64_t_defined
35070 typedef u_int64_t uint64_t;
35071 #endif
35072 #endif
35074 elif test -n "$acx_cv_type_int64_t"; then
35075 sed 's/^ *//' >> tmp-stdint.h <<EOF
35077 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
35078 #ifndef _INT64_T
35079 #define _INT64_T
35080 typedef $acx_cv_type_int64_t int64_t;
35081 #endif
35082 #ifndef _UINT64_T
35083 #define _UINT64_T
35084 #ifndef __uint64_t_defined
35085 #define __uint64_t_defined
35086 typedef unsigned $acx_cv_type_int64_t uint64_t;
35087 #endif
35088 #endif
35090 else
35091 sed 's/^ *//' >> tmp-stdint.h <<EOF
35093 /* some common heuristics for int64_t, using compiler-specific tests */
35094 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
35095 #ifndef _INT64_T
35096 #define _INT64_T
35097 #ifndef __int64_t_defined
35098 typedef long long int64_t;
35099 #endif
35100 #endif
35101 #ifndef _UINT64_T
35102 #define _UINT64_T
35103 typedef unsigned long long uint64_t;
35104 #endif
35106 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
35107 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
35108 does not implement __extension__. But that compiler doesn't define
35109 __GNUC_MINOR__. */
35110 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
35111 # define __extension__
35112 # endif
35114 # ifndef _INT64_T
35115 # define _INT64_T
35116 __extension__ typedef long long int64_t;
35117 # endif
35118 # ifndef _UINT64_T
35119 # define _UINT64_T
35120 __extension__ typedef unsigned long long uint64_t;
35121 # endif
35123 #elif !defined __STRICT_ANSI__
35124 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35126 # ifndef _INT64_T
35127 # define _INT64_T
35128 typedef __int64 int64_t;
35129 # endif
35130 # ifndef _UINT64_T
35131 # define _UINT64_T
35132 typedef unsigned __int64 uint64_t;
35133 # endif
35134 # endif /* compiler */
35136 #endif /* ANSI version */
35140 # ------------- done int64_t types, emit intptr types ------------
35141 if test "$ac_cv_type_uintptr_t" != yes; then
35142 sed 's/^ *//' >> tmp-stdint.h <<EOF
35144 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
35145 #ifndef __uintptr_t_defined
35146 typedef u$acx_cv_type_intptr_t uintptr_t;
35147 #endif
35148 #ifndef __intptr_t_defined
35149 typedef $acx_cv_type_intptr_t intptr_t;
35150 #endif
35154 # ------------- done intptr types, emit int_least types ------------
35155 if test "$ac_cv_type_int_least32_t" != yes; then
35156 sed 's/^ *//' >> tmp-stdint.h <<EOF
35158 /* Define int_least types */
35159 typedef int8_t int_least8_t;
35160 typedef int16_t int_least16_t;
35161 typedef int32_t int_least32_t;
35162 #ifdef _INT64_T
35163 typedef int64_t int_least64_t;
35164 #endif
35166 typedef uint8_t uint_least8_t;
35167 typedef uint16_t uint_least16_t;
35168 typedef uint32_t uint_least32_t;
35169 #ifdef _UINT64_T
35170 typedef uint64_t uint_least64_t;
35171 #endif
35175 # ------------- done intptr types, emit int_fast types ------------
35176 if test "$ac_cv_type_int_fast32_t" != yes; then
35177 sed 's/^ *//' >> tmp-stdint.h <<EOF
35179 /* Define int_fast types. short is often slow */
35180 typedef int8_t int_fast8_t;
35181 typedef int int_fast16_t;
35182 typedef int32_t int_fast32_t;
35183 #ifdef _INT64_T
35184 typedef int64_t int_fast64_t;
35185 #endif
35187 typedef uint8_t uint_fast8_t;
35188 typedef unsigned int uint_fast16_t;
35189 typedef uint32_t uint_fast32_t;
35190 #ifdef _UINT64_T
35191 typedef uint64_t uint_fast64_t;
35192 #endif
35196 if test "$ac_cv_type_uintmax_t" != yes; then
35197 sed 's/^ *//' >> tmp-stdint.h <<EOF
35199 /* Define intmax based on what we found */
35200 #ifdef _INT64_T
35201 typedef int64_t intmax_t;
35202 #else
35203 typedef long intmax_t;
35204 #endif
35205 #ifdef _UINT64_T
35206 typedef uint64_t uintmax_t;
35207 #else
35208 typedef unsigned long uintmax_t;
35209 #endif
35213 sed 's/^ *//' >> tmp-stdint.h <<EOF
35215 #endif /* GCC_GENERATED_STDINT_H */
35218 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
35219 rm -f tmp-stdint.h
35220 else
35221 mv -f tmp-stdint.h gstdint.h
35225 esac
35226 done
35227 _ACEOF
35229 cat >>$CONFIG_STATUS <<\_ACEOF
35231 { (exit 0); exit 0; }
35232 _ACEOF
35233 chmod +x $CONFIG_STATUS
35234 ac_clean_files=$ac_clean_files_save
35237 # configure is writing to config.log, and then calls config.status.
35238 # config.status does its own redirection, appending to config.log.
35239 # Unfortunately, on DOS this fails, as config.log is still kept open
35240 # by configure, so config.status won't be able to write to it; its
35241 # output is simply discarded. So we exec the FD to /dev/null,
35242 # effectively closing config.log, so it can be properly (re)opened and
35243 # appended to by config.status. When coming back to configure, we
35244 # need to make the FD available again.
35245 if test "$no_create" != yes; then
35246 ac_cs_success=:
35247 ac_config_status_args=
35248 test "$silent" = yes &&
35249 ac_config_status_args="$ac_config_status_args --quiet"
35250 exec 5>/dev/null
35251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35252 exec 5>>config.log
35253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35254 # would make configure fail if this is the last instruction.
35255 $ac_cs_success || { (exit 1); exit 1; }