200x-xx-xx Jakub Jelinek <jakub@redhat.com> Richard Sandiford <rsandifo@nildram.co.uk>
[official-gcc.git] / libgfortran / configure
blobf33516db47f75daa887c71e885b30fa8f30d7a50
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 onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
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-intermodule build the library in one step
1005 --enable-maintainer-mode enable make rules and dependencies not useful
1006 (and sometimes confusing) to the casual installer
1007 --enable-multilib build many library versions (default)
1008 --disable-dependency-tracking speeds up one-time build
1009 --enable-dependency-tracking do not reject slow dependency extractors
1010 --enable-shared[=PKGS]
1011 build shared libraries [default=yes]
1012 --enable-static[=PKGS]
1013 build static libraries [default=yes]
1014 --enable-fast-install[=PKGS]
1015 optimize for fast installation [default=yes]
1016 --disable-libtool-lock avoid locking (might break parallel builds)
1017 --disable-largefile omit support for large files
1019 Optional Packages:
1020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1022 --with-build-libsubdir=DIR Directory where to find libraries for build system
1023 --with-pic try to use only PIC/non-PIC objects [default=use
1024 both]
1025 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1027 Some influential environment variables:
1028 CC C compiler command
1029 CFLAGS C compiler flags
1030 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1031 nonstandard directory <lib dir>
1032 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1033 headers in a nonstandard directory <include dir>
1034 CPP C preprocessor
1035 FC Fortran compiler command
1036 FCFLAGS Fortran compiler flags
1038 Use these variables to override the choices made by `configure' or to help
1039 it to find libraries and programs with nonstandard names/locations.
1041 _ACEOF
1044 if test "$ac_init_help" = "recursive"; then
1045 # If there are subdirs, report their specific --help.
1046 ac_popdir=`pwd`
1047 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1048 test -d $ac_dir || continue
1049 ac_builddir=.
1051 if test "$ac_dir" != .; then
1052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1053 # A "../" for each directory in $ac_dir_suffix.
1054 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 else
1056 ac_dir_suffix= ac_top_builddir=
1059 case $srcdir in
1060 .) # No --srcdir option. We are building in place.
1061 ac_srcdir=.
1062 if test -z "$ac_top_builddir"; then
1063 ac_top_srcdir=.
1064 else
1065 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066 fi ;;
1067 [\\/]* | ?:[\\/]* ) # Absolute path.
1068 ac_srcdir=$srcdir$ac_dir_suffix;
1069 ac_top_srcdir=$srcdir ;;
1070 *) # Relative path.
1071 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1072 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1073 esac
1075 # Do not use `cd foo && pwd` to compute absolute paths, because
1076 # the directories may not exist.
1077 case `pwd` in
1078 .) ac_abs_builddir="$ac_dir";;
1080 case "$ac_dir" in
1081 .) ac_abs_builddir=`pwd`;;
1082 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1083 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1084 esac;;
1085 esac
1086 case $ac_abs_builddir in
1087 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 case ${ac_top_builddir}. in
1090 .) ac_abs_top_builddir=$ac_abs_builddir;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1092 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1093 esac;;
1094 esac
1095 case $ac_abs_builddir in
1096 .) ac_abs_srcdir=$ac_srcdir;;
1098 case $ac_srcdir in
1099 .) ac_abs_srcdir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1101 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1102 esac;;
1103 esac
1104 case $ac_abs_builddir in
1105 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 case $ac_top_srcdir in
1108 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1110 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1111 esac;;
1112 esac
1114 cd $ac_dir
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1117 echo
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1120 echo
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1124 echo
1125 $ac_configure --help
1126 else
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129 cd $ac_popdir
1130 done
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1135 cat <<\_ACEOF
1136 GNU Fortran Runtime Library configure 0.3
1137 generated by GNU Autoconf 2.59
1139 Copyright (C) 2003 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1142 _ACEOF
1143 exit 0
1145 exec 5>config.log
1146 cat >&5 <<_ACEOF
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1151 generated by GNU Autoconf 2.59. Invocation command line was
1153 $ $0 $@
1155 _ACEOF
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1179 _ASUNAME
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1184 IFS=$as_save_IFS
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1187 done
1189 } >&5
1191 cat >&5 <<_ACEOF
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1198 _ACEOF
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_configure_args=
1207 ac_configure_args0=
1208 ac_configure_args1=
1209 ac_sep=
1210 ac_must_keep_next=false
1211 for ac_pass in 1 2
1213 for ac_arg
1215 case $ac_arg in
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1219 continue ;;
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 esac
1223 case $ac_pass in
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1229 else
1230 case $ac_arg in
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237 esac
1239 -* ) ac_must_keep_next=true ;;
1240 esac
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1244 ac_sep=" "
1246 esac
1247 done
1248 done
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1260 echo
1262 cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267 echo
1268 # The following way of writing the cache mishandles newlines in values,
1270 (set) 2>&1 |
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272 *ac_space=\ *)
1273 sed -n \
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 sed -n \
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 esac;
1283 echo
1285 cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290 echo
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1295 done | sort
1296 echo
1298 if test -n "$ac_subst_files"; then
1299 cat <<\_ASBOX
1300 ## ------------- ##
1301 ## Output files. ##
1302 ## ------------- ##
1303 _ASBOX
1304 echo
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1309 done | sort
1310 echo
1313 if test -s confdefs.h; then
1314 cat <<\_ASBOX
1315 ## ----------- ##
1316 ## confdefs.h. ##
1317 ## ----------- ##
1318 _ASBOX
1319 echo
1320 sed "/^$/d" confdefs.h | sort
1321 echo
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1326 } >&5
1327 rm -f core *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329 exit $exit_status
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 done
1334 ac_signal=0
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 echo >confdefs.h
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 else
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1382 . "$ac_site_file"
1384 done
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1392 case $cache_file in
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1395 esac
1397 else
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400 >$cache_file
1403 # Check that the precious variables saved in the cache have kept the same
1404 # value.
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1413 set,)
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1417 ,set)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,);;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1431 fi;;
1432 esac
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1435 case $ac_new_val in
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1439 esac
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 esac
1445 done
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1454 ac_ext=c
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1486 ac_config_headers="$ac_config_headers config.h"
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1503 done
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1545 case ${build_alias} in
1546 "") build_noncanonical=${build} ;;
1547 *) build_noncanonical=${build_alias} ;;
1548 esac
1550 case ${host_alias} in
1551 "") host_noncanonical=${build_noncanonical} ;;
1552 *) host_noncanonical=${host_alias} ;;
1553 esac
1555 case ${target_alias} in
1556 "") target_noncanonical=${host_noncanonical} ;;
1557 *) target_noncanonical=${target_alias} ;;
1558 esac
1561 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1562 # have matching libraries, they should use host libraries: Makefile.tpl
1563 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1564 # However, they still use the build modules, because the corresponding
1565 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # finishes. So:
1567 # - build_subdir is where we find build modules, and never changes.
1568 # - build_libsubdir is where we find build libraries, and can be overridden.
1570 # Prefix 'build-' so this never conflicts with target_subdir.
1571 build_subdir="build-${build_noncanonical}"
1573 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1574 if test "${with_build_libsubdir+set}" = set; then
1575 withval="$with_build_libsubdir"
1576 build_libsubdir="$withval"
1577 else
1578 build_libsubdir="$build_subdir"
1580 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1581 if ( test $srcdir = . && test -d gcc ) \
1582 || test -d $srcdir/../host-${host_noncanonical}; then
1583 host_subdir="host-${host_noncanonical}"
1584 else
1585 host_subdir=.
1587 # No prefix.
1588 target_subdir=${target_noncanonical}
1591 # -------
1592 # Options
1593 # -------
1595 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1596 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1597 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1598 if test "${enable_version_specific_runtime_libs+set}" = set; then
1599 enableval="$enable_version_specific_runtime_libs"
1600 case "$enableval" in
1601 yes) version_specific_libs=yes ;;
1602 no) version_specific_libs=no ;;
1603 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1604 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1605 { (exit 1); exit 1; }; };;
1606 esac
1607 else
1608 version_specific_libs=no
1610 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1611 echo "${ECHO_T}$version_specific_libs" >&6
1613 # Build with intermodule optimisations
1614 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1615 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1616 # Check whether --enable-intermodule or --disable-intermodule was given.
1617 if test "${enable_intermodule+set}" = set; then
1618 enableval="$enable_intermodule"
1619 case "$enable_intermodule" in
1620 yes) onestep="-onestep";;
1621 *) onestep="";;
1622 esac
1623 else
1624 onestep=""
1626 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1627 echo "${ECHO_T}$enable_intermodule" >&6
1630 if test x$onestep = x-onestep; then
1631 onestep_TRUE=
1632 onestep_FALSE='#'
1633 else
1634 onestep_TRUE='#'
1635 onestep_FALSE=
1640 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1642 # You will slowly go insane if you do not grok the following fact: when
1643 # building this library, the top-level /target/ becomes the library's /host/.
1645 # configure then causes --target to default to --host, exactly like any
1646 # other package using autoconf. Therefore, 'target' and 'host' will
1647 # always be the same. This makes sense both for native and cross compilers
1648 # just think about it for a little while. :-)
1650 # Also, if this library is being configured as part of a cross compiler, the
1651 # top-level configure script will pass the "real" host as $with_cross_host.
1653 # Do not delete or change the following two lines. For why, see
1654 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1655 echo "$as_me:$LINENO: checking host system type" >&5
1656 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1657 if test "${ac_cv_host+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660 ac_cv_host_alias=$host_alias
1661 test -z "$ac_cv_host_alias" &&
1662 ac_cv_host_alias=$ac_cv_build_alias
1663 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1664 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1665 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1666 { (exit 1); exit 1; }; }
1669 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1670 echo "${ECHO_T}$ac_cv_host" >&6
1671 host=$ac_cv_host
1672 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1673 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1674 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1677 echo "$as_me:$LINENO: checking target system type" >&5
1678 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1679 if test "${ac_cv_target+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 else
1682 ac_cv_target_alias=$target_alias
1683 test "x$ac_cv_target_alias" = "x" &&
1684 ac_cv_target_alias=$ac_cv_host_alias
1685 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1686 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1687 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1688 { (exit 1); exit 1; }; }
1691 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1692 echo "${ECHO_T}$ac_cv_target" >&6
1693 target=$ac_cv_target
1694 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1695 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1696 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1699 # The aliases save the names the user supplied, while $host etc.
1700 # will get canonicalized.
1701 test -n "$target_alias" &&
1702 test "$program_prefix$program_suffix$program_transform_name" = \
1703 NONENONEs,x,x, &&
1704 program_prefix=${target_alias}-
1705 target_alias=${target_alias-$host_alias}
1707 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1708 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1709 # 1.9.6: minimum required version
1710 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1711 # of other PACKAGE_* variables will, however, and there's nothing
1712 # we can do about that; they come from AC_INIT).
1713 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1714 # file in the top srcdir, etc, etc), so stop complaining.
1715 # -Wall: turns on all automake warnings...
1716 # -Wno-portability: ...except this one, since GNU make is required.
1717 am__api_version="1.9"
1718 # Find a good install program. We prefer a C program (faster),
1719 # so one script is as good as another. But avoid the broken or
1720 # incompatible versions:
1721 # SysV /etc/install, /usr/sbin/install
1722 # SunOS /usr/etc/install
1723 # IRIX /sbin/install
1724 # AIX /bin/install
1725 # AmigaOS /C/install, which installs bootblocks on floppy discs
1726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1729 # OS/2's system install, which has a completely different semantic
1730 # ./install, which can be erroneously created by make from ./install.sh.
1731 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1733 if test -z "$INSTALL"; then
1734 if test "${ac_cv_path_install+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 else
1737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 for as_dir in $PATH
1740 IFS=$as_save_IFS
1741 test -z "$as_dir" && as_dir=.
1742 # Account for people who put trailing slashes in PATH elements.
1743 case $as_dir/ in
1744 ./ | .// | /cC/* | \
1745 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1746 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1747 /usr/ucb/* ) ;;
1749 # OSF1 and SCO ODT 3.0 have their own names for install.
1750 # Don't use installbsd from OSF since it installs stuff as root
1751 # by default.
1752 for ac_prog in ginstall scoinst install; do
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1755 if test $ac_prog = install &&
1756 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1757 # AIX install. It has an incompatible calling convention.
1759 elif test $ac_prog = install &&
1760 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1761 # program-specific install script used by HP pwplus--don't use.
1763 else
1764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1765 break 3
1768 done
1769 done
1771 esac
1772 done
1776 if test "${ac_cv_path_install+set}" = set; then
1777 INSTALL=$ac_cv_path_install
1778 else
1779 # As a last resort, use the slow shell script. We don't cache a
1780 # path for INSTALL within a source directory, because that will
1781 # break other packages using the cache if that directory is
1782 # removed, or if the path is relative.
1783 INSTALL=$ac_install_sh
1786 echo "$as_me:$LINENO: result: $INSTALL" >&5
1787 echo "${ECHO_T}$INSTALL" >&6
1789 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1790 # It thinks the first close brace ends the variable substitution.
1791 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1793 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1795 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1797 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1798 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1799 # Just in case
1800 sleep 1
1801 echo timestamp > conftest.file
1802 # Do `set' in a subshell so we don't clobber the current shell's
1803 # arguments. Must try -L first in case configure is actually a
1804 # symlink; some systems play weird games with the mod time of symlinks
1805 # (eg FreeBSD returns the mod time of the symlink's containing
1806 # directory).
1807 if (
1808 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1809 if test "$*" = "X"; then
1810 # -L didn't work.
1811 set X `ls -t $srcdir/configure conftest.file`
1813 rm -f conftest.file
1814 if test "$*" != "X $srcdir/configure conftest.file" \
1815 && test "$*" != "X conftest.file $srcdir/configure"; then
1817 # If neither matched, then we have a broken ls. This can happen
1818 # if, for instance, CONFIG_SHELL is bash and it inherits a
1819 # broken ls alias from the environment. This has actually
1820 # happened. Such a system could not be considered "sane".
1821 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1822 alias in your environment" >&5
1823 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1824 alias in your environment" >&2;}
1825 { (exit 1); exit 1; }; }
1828 test "$2" = conftest.file
1830 then
1831 # Ok.
1833 else
1834 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1835 Check your system clock" >&5
1836 echo "$as_me: error: newly created file is older than distributed files!
1837 Check your system clock" >&2;}
1838 { (exit 1); exit 1; }; }
1840 echo "$as_me:$LINENO: result: yes" >&5
1841 echo "${ECHO_T}yes" >&6
1842 test "$program_prefix" != NONE &&
1843 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1844 # Use a double $ so make ignores it.
1845 test "$program_suffix" != NONE &&
1846 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1847 # Double any \ or $. echo might interpret backslashes.
1848 # By default was `s,x,x', remove it if useless.
1849 cat <<\_ACEOF >conftest.sed
1850 s/[\\$]/&&/g;s/;s,x,x,$//
1851 _ACEOF
1852 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1853 rm conftest.sed
1855 # expand $ac_aux_dir to an absolute path
1856 am_aux_dir=`cd $ac_aux_dir && pwd`
1858 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1859 # Use eval to expand $SHELL
1860 if eval "$MISSING --run true"; then
1861 am_missing_run="$MISSING --run "
1862 else
1863 am_missing_run=
1864 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1865 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1868 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1869 # We used to keeping the `.' as first argument, in order to
1870 # allow $(mkdir_p) to be used without argument. As in
1871 # $(mkdir_p) $(somedir)
1872 # where $(somedir) is conditionally defined. However this is wrong
1873 # for two reasons:
1874 # 1. if the package is installed by a user who cannot write `.'
1875 # make install will fail,
1876 # 2. the above comment should most certainly read
1877 # $(mkdir_p) $(DESTDIR)$(somedir)
1878 # so it does not work when $(somedir) is undefined and
1879 # $(DESTDIR) is not.
1880 # To support the latter case, we have to write
1881 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1882 # so the `.' trick is pointless.
1883 mkdir_p='mkdir -p --'
1884 else
1885 # On NextStep and OpenStep, the `mkdir' command does not
1886 # recognize any option. It will interpret all options as
1887 # directories to create, and then abort because `.' already
1888 # exists.
1889 for d in ./-p ./--version;
1891 test -d $d && rmdir $d
1892 done
1893 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1894 if test -f "$ac_aux_dir/mkinstalldirs"; then
1895 mkdir_p='$(mkinstalldirs)'
1896 else
1897 mkdir_p='$(install_sh) -d'
1901 for ac_prog in gawk mawk nawk awk
1903 # Extract the first word of "$ac_prog", so it can be a program name with args.
1904 set dummy $ac_prog; ac_word=$2
1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907 if test "${ac_cv_prog_AWK+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 else
1910 if test -n "$AWK"; then
1911 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1912 else
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 for as_dir in $PATH
1916 IFS=$as_save_IFS
1917 test -z "$as_dir" && as_dir=.
1918 for ac_exec_ext in '' $ac_executable_extensions; do
1919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920 ac_cv_prog_AWK="$ac_prog"
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 break 2
1924 done
1925 done
1929 AWK=$ac_cv_prog_AWK
1930 if test -n "$AWK"; then
1931 echo "$as_me:$LINENO: result: $AWK" >&5
1932 echo "${ECHO_T}$AWK" >&6
1933 else
1934 echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6
1938 test -n "$AWK" && break
1939 done
1941 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1942 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1943 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1944 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 else
1947 cat >conftest.make <<\_ACEOF
1948 all:
1949 @echo 'ac_maketemp="$(MAKE)"'
1950 _ACEOF
1951 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1952 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1953 if test -n "$ac_maketemp"; then
1954 eval ac_cv_prog_make_${ac_make}_set=yes
1955 else
1956 eval ac_cv_prog_make_${ac_make}_set=no
1958 rm -f conftest.make
1960 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1963 SET_MAKE=
1964 else
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1967 SET_MAKE="MAKE=${MAKE-make}"
1970 rm -rf .tst 2>/dev/null
1971 mkdir .tst 2>/dev/null
1972 if test -d .tst; then
1973 am__leading_dot=.
1974 else
1975 am__leading_dot=_
1977 rmdir .tst 2>/dev/null
1979 # test to see if srcdir already configured
1980 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1981 test -f $srcdir/config.status; then
1982 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1983 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1984 { (exit 1); exit 1; }; }
1987 # test whether we have cygpath
1988 if test -z "$CYGPATH_W"; then
1989 if (cygpath --version) >/dev/null 2>/dev/null; then
1990 CYGPATH_W='cygpath -w'
1991 else
1992 CYGPATH_W=echo
1997 # Define the identity of the package.
1998 PACKAGE='libgfortran'
1999 VERSION='0.3'
2002 # Some tools Automake needs.
2004 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2007 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2010 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2013 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2016 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2018 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2020 # Installed binaries are usually stripped using `strip' when the user
2021 # run `make install-strip'. However `strip' might not be the right
2022 # tool to use in cross-compilation environments, therefore Automake
2023 # will honor the `STRIP' environment variable to overrule this program.
2024 if test "$cross_compiling" != no; then
2025 if test -n "$ac_tool_prefix"; then
2026 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2027 set dummy ${ac_tool_prefix}strip; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_STRIP+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 else
2033 if test -n "$STRIP"; then
2034 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2035 else
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 for as_dir in $PATH
2039 IFS=$as_save_IFS
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 break 2
2047 done
2048 done
2052 STRIP=$ac_cv_prog_STRIP
2053 if test -n "$STRIP"; then
2054 echo "$as_me:$LINENO: result: $STRIP" >&5
2055 echo "${ECHO_T}$STRIP" >&6
2056 else
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2062 if test -z "$ac_cv_prog_STRIP"; then
2063 ac_ct_STRIP=$STRIP
2064 # Extract the first word of "strip", so it can be a program name with args.
2065 set dummy strip; ac_word=$2
2066 echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2068 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 else
2071 if test -n "$ac_ct_STRIP"; then
2072 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 ac_cv_prog_ac_ct_STRIP="strip"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 break 2
2085 done
2086 done
2088 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2092 if test -n "$ac_ct_STRIP"; then
2093 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2094 echo "${ECHO_T}$ac_ct_STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2100 STRIP=$ac_ct_STRIP
2101 else
2102 STRIP="$ac_cv_prog_STRIP"
2106 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2108 # We need awk for the "check" target. The system "awk" is bad on
2109 # some platforms.
2110 # Always define AMTAR for backward compatibility.
2112 AMTAR=${AMTAR-"${am_missing_run}tar"}
2114 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2121 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2122 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2123 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2124 if test "${enable_maintainer_mode+set}" = set; then
2125 enableval="$enable_maintainer_mode"
2126 USE_MAINTAINER_MODE=$enableval
2127 else
2128 USE_MAINTAINER_MODE=no
2130 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2131 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2134 if test $USE_MAINTAINER_MODE = yes; then
2135 MAINTAINER_MODE_TRUE=
2136 MAINTAINER_MODE_FALSE='#'
2137 else
2138 MAINTAINER_MODE_TRUE='#'
2139 MAINTAINER_MODE_FALSE=
2142 MAINT=$MAINTAINER_MODE_TRUE
2145 # Default to --enable-multilib
2146 # Check whether --enable-multilib or --disable-multilib was given.
2147 if test "${enable_multilib+set}" = set; then
2148 enableval="$enable_multilib"
2149 case "$enableval" in
2150 yes) multilib=yes ;;
2151 no) multilib=no ;;
2152 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2153 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2154 { (exit 1); exit 1; }; } ;;
2155 esac
2156 else
2157 multilib=yes
2160 # We may get other options which we leave undocumented:
2161 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2162 # See config-ml.in if you want the gory details.
2164 if test "$srcdir" = "."; then
2165 if test "$with_target_subdir" != "."; then
2166 multi_basedir="$srcdir/$with_multisrctop../.."
2167 else
2168 multi_basedir="$srcdir/$with_multisrctop.."
2170 else
2171 multi_basedir="$srcdir/.."
2175 # Even if the default multilib is not a cross compilation,
2176 # it may be that some of the other multilibs are.
2177 if test $cross_compiling = no && test $multilib = yes \
2178 && test "x${with_multisubdir}" != x ; then
2179 cross_compiling=maybe
2182 ac_config_commands="$ac_config_commands default-1"
2185 # Handy for debugging:
2186 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2188 # Are we being configured with some form of cross compiler?
2189 # NB: We don't actually need to know this just now, but when, say, a test
2190 # suite is included, we'll have to know.
2191 if test "$build" != "$host"; then
2192 LIBGFOR_IS_NATIVE=false
2194 else
2195 LIBGFOR_IS_NATIVE=true
2198 # Calculate toolexeclibdir
2199 # Also toolexecdir, though it's only used in toolexeclibdir
2200 case ${version_specific_libs} in
2201 yes)
2202 # Need the gcc compiler version to know where to install libraries
2203 # and header files if --enable-version-specific-runtime-libs option
2204 # is selected.
2205 toolexecdir='$(libdir)/gcc/$(target_alias)'
2206 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2209 if test -n "$with_cross_host" &&
2210 test x"$with_cross_host" != x"no"; then
2211 # Install a library built with a cross compiler in tooldir, not libdir.
2212 toolexecdir='$(exec_prefix)/$(target_alias)'
2213 toolexeclibdir='$(toolexecdir)/lib'
2214 else
2215 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2216 toolexeclibdir='$(libdir)'
2218 multi_os_directory=`$CC -print-multi-os-directory`
2219 case $multi_os_directory in
2220 .) ;; # Avoid trailing /.
2221 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2222 esac
2224 esac
2228 # Check the compiler.
2229 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2230 # We must force CC to /not/ be precious variables; otherwise
2231 # the wrong, non-multilib-adjusted value will be used in multilibs.
2232 # As a side effect, we have to subst CFLAGS ourselves.
2236 ac_ext=c
2237 ac_cpp='$CPP $CPPFLAGS'
2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2263 done
2264 done
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6
2272 else
2273 echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2278 if test -z "$ac_cv_prog_CC"; then
2279 ac_ct_CC=$CC
2280 # Extract the first word of "gcc", so it can be a program name with args.
2281 set dummy gcc; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 else
2287 if test -n "$ac_ct_CC"; then
2288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2289 else
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2293 IFS=$as_save_IFS
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_CC="gcc"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 break 2
2301 done
2302 done
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6
2310 else
2311 echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2315 CC=$ac_ct_CC
2316 else
2317 CC="$ac_cv_prog_CC"
2320 if test -z "$CC"; then
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2335 IFS=$as_save_IFS
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 ac_cv_prog_CC="${ac_tool_prefix}cc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 break 2
2343 done
2344 done
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$ac_cv_prog_CC"; then
2359 ac_ct_CC=$CC
2360 # Extract the first word of "cc", so it can be a program name with args.
2361 set dummy cc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_ac_ct_CC="cc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2395 CC=$ac_ct_CC
2396 else
2397 CC="$ac_cv_prog_CC"
2401 if test -z "$CC"; then
2402 # Extract the first word of "cc", so it can be a program name with args.
2403 set dummy cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 ac_prog_rejected=no
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2416 IFS=$as_save_IFS
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2421 ac_prog_rejected=yes
2422 continue
2424 ac_cv_prog_CC="cc"
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 break 2
2428 done
2429 done
2431 if test $ac_prog_rejected = yes; then
2432 # We found a bogon in the path, so make sure we never use it.
2433 set dummy $ac_cv_prog_CC
2434 shift
2435 if test $# != 0; then
2436 # We chose a different compiler from the bogus one.
2437 # However, it has the same basename, so the bogon will be chosen
2438 # first if we set CC to just the basename; use the full file name.
2439 shift
2440 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2445 CC=$ac_cv_prog_CC
2446 if test -n "$CC"; then
2447 echo "$as_me:$LINENO: result: $CC" >&5
2448 echo "${ECHO_T}$CC" >&6
2449 else
2450 echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6
2455 if test -z "$CC"; then
2456 if test -n "$ac_tool_prefix"; then
2457 for ac_prog in cl
2459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461 echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2472 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 break 2
2480 done
2481 done
2485 CC=$ac_cv_prog_CC
2486 if test -n "$CC"; then
2487 echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6
2489 else
2490 echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2494 test -n "$CC" && break
2495 done
2497 if test -z "$CC"; then
2498 ac_ct_CC=$CC
2499 for ac_prog in cl
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2514 IFS=$as_save_IFS
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_ac_ct_CC="$ac_prog"
2519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 break 2
2522 done
2523 done
2527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 echo "${ECHO_T}$ac_ct_CC" >&6
2531 else
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2536 test -n "$ac_ct_CC" && break
2537 done
2539 CC=$ac_ct_CC
2545 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: no acceptable C compiler found in \$PATH
2548 See \`config.log' for more details." >&2;}
2549 { (exit 1); exit 1; }; }
2551 # Provide some information about the compiler.
2552 echo "$as_me:$LINENO:" \
2553 "checking for C compiler version" >&5
2554 ac_compiler=`set X $ac_compile; echo $2`
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2556 (eval $ac_compiler --version </dev/null >&5) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2560 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2561 (eval $ac_compiler -v </dev/null >&5) 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }
2565 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2566 (eval $ac_compiler -V </dev/null >&5) 2>&5
2567 ac_status=$?
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }
2571 cat >conftest.$ac_ext <<_ACEOF
2572 /* confdefs.h. */
2573 _ACEOF
2574 cat confdefs.h >>conftest.$ac_ext
2575 cat >>conftest.$ac_ext <<_ACEOF
2576 /* end confdefs.h. */
2579 main ()
2583 return 0;
2585 _ACEOF
2586 # FIXME: Cleanup?
2587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2588 (eval $ac_link) 2>&5
2589 ac_status=$?
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; then
2592 gcc_no_link=no
2593 else
2594 gcc_no_link=yes
2597 if test x$gcc_no_link = xyes; then
2598 # Setting cross_compile will disable run tests; it will
2599 # also disable AC_CHECK_FILE but that's generally
2600 # correct if we can't link.
2601 cross_compiling=yes
2602 EXEEXT=
2603 else
2604 cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h. */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2612 main ()
2616 return 0;
2618 _ACEOF
2619 ac_clean_files_save=$ac_clean_files
2620 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2621 # Try to create an executable without -o first, disregard a.out.
2622 # It will help us diagnose broken compilers, and finding out an intuition
2623 # of exeext.
2624 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2625 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2626 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2627 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2628 (eval $ac_link_default) 2>&5
2629 ac_status=$?
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; then
2632 # Find the output, starting from the most likely. This scheme is
2633 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2634 # resort.
2636 # Be careful to initialize this variable, since it used to be cached.
2637 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2638 ac_cv_exeext=
2639 # b.out is created by i960 compilers.
2640 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2642 test -f "$ac_file" || continue
2643 case $ac_file in
2644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2646 conftest.$ac_ext )
2647 # This is the source file.
2649 [ab].out )
2650 # We found the default executable, but exeext='' is most
2651 # certainly right.
2652 break;;
2653 *.* )
2654 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2655 # FIXME: I believe we export ac_cv_exeext for Libtool,
2656 # but it would be cool to find out if it's true. Does anybody
2657 # maintain Libtool? --akim.
2658 export ac_cv_exeext
2659 break;;
2661 break;;
2662 esac
2663 done
2664 else
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672 { (exit 77); exit 77; }; }
2675 ac_exeext=$ac_cv_exeext
2676 echo "$as_me:$LINENO: result: $ac_file" >&5
2677 echo "${ECHO_T}$ac_file" >&6
2679 # Check the compiler produces executables we can run. If not, either
2680 # the compiler is broken, or we cross compile.
2681 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2682 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2683 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2684 # If not cross compiling, check that we can run a simple program.
2685 if test "$cross_compiling" != yes; then
2686 if { ac_try='./$ac_file'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 (eval $ac_try) 2>&5
2689 ac_status=$?
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2692 cross_compiling=no
2693 else
2694 if test "$cross_compiling" = maybe; then
2695 cross_compiling=yes
2696 else
2697 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2698 If you meant to cross compile, use \`--host'.
2699 See \`config.log' for more details." >&5
2700 echo "$as_me: error: cannot run C compiled programs.
2701 If you meant to cross compile, use \`--host'.
2702 See \`config.log' for more details." >&2;}
2703 { (exit 1); exit 1; }; }
2707 echo "$as_me:$LINENO: result: yes" >&5
2708 echo "${ECHO_T}yes" >&6
2710 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2711 ac_clean_files=$ac_clean_files_save
2712 # Check the compiler produces executables we can run. If not, either
2713 # the compiler is broken, or we cross compile.
2714 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2715 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2716 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2717 echo "${ECHO_T}$cross_compiling" >&6
2719 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2720 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2722 (eval $ac_link) 2>&5
2723 ac_status=$?
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; then
2726 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2727 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2728 # work properly (i.e., refer to `conftest.exe'), while it won't with
2729 # `rm'.
2730 for ac_file in conftest.exe conftest conftest.*; do
2731 test -f "$ac_file" || continue
2732 case $ac_file in
2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2734 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 export ac_cv_exeext
2736 break;;
2737 * ) break;;
2738 esac
2739 done
2740 else
2741 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2742 See \`config.log' for more details." >&5
2743 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2744 See \`config.log' for more details." >&2;}
2745 { (exit 1); exit 1; }; }
2748 rm -f conftest$ac_cv_exeext
2749 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2750 echo "${ECHO_T}$ac_cv_exeext" >&6
2752 rm -f conftest.$ac_ext
2753 EXEEXT=$ac_cv_exeext
2754 ac_exeext=$EXEEXT
2756 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2757 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2758 if test "${ac_cv_objext+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 else
2761 cat >conftest.$ac_ext <<_ACEOF
2762 /* confdefs.h. */
2763 _ACEOF
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2769 main ()
2773 return 0;
2775 _ACEOF
2776 rm -f conftest.o conftest.obj
2777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2778 (eval $ac_compile) 2>&5
2779 ac_status=$?
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; then
2782 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2783 case $ac_file in
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2785 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2786 break;;
2787 esac
2788 done
2789 else
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2796 See \`config.log' for more details." >&2;}
2797 { (exit 1); exit 1; }; }
2800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2802 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2803 echo "${ECHO_T}$ac_cv_objext" >&6
2804 OBJEXT=$ac_cv_objext
2805 ac_objext=$OBJEXT
2806 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2807 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2808 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 else
2811 cat >conftest.$ac_ext <<_ACEOF
2812 /* confdefs.h. */
2813 _ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2819 main ()
2821 #ifndef __GNUC__
2822 choke me
2823 #endif
2826 return 0;
2828 _ACEOF
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831 (eval $ac_compile) 2>conftest.er1
2832 ac_status=$?
2833 grep -v '^ *+' conftest.er1 >conftest.err
2834 rm -f conftest.er1
2835 cat conftest.err >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } &&
2838 { ac_try='test -z "$ac_c_werror_flag"
2839 || test ! -s conftest.err'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 (eval $ac_try) 2>&5
2842 ac_status=$?
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 (eval $ac_try) 2>&5
2848 ac_status=$?
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 ac_compiler_gnu=yes
2852 else
2853 echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2856 ac_compiler_gnu=no
2858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2862 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2863 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2864 GCC=`test $ac_compiler_gnu = yes && echo yes`
2865 ac_test_CFLAGS=${CFLAGS+set}
2866 ac_save_CFLAGS=$CFLAGS
2867 CFLAGS="-g"
2868 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2869 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2870 if test "${ac_cv_prog_cc_g+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 rm -f conftest.$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>conftest.er1
2891 ac_status=$?
2892 grep -v '^ *+' conftest.er1 >conftest.err
2893 rm -f conftest.er1
2894 cat conftest.err >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } &&
2897 { ac_try='test -z "$ac_c_werror_flag"
2898 || test ! -s conftest.err'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 (eval $ac_try) 2>&5
2901 ac_status=$?
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; } &&
2904 { ac_try='test -s conftest.$ac_objext'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 (eval $ac_try) 2>&5
2907 ac_status=$?
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; }; then
2910 ac_cv_prog_cc_g=yes
2911 else
2912 echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.$ac_ext >&5
2915 ac_cv_prog_cc_g=no
2917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2919 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2920 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2921 if test "$ac_test_CFLAGS" = set; then
2922 CFLAGS=$ac_save_CFLAGS
2923 elif test $ac_cv_prog_cc_g = yes; then
2924 if test "$GCC" = yes; then
2925 CFLAGS="-g -O2"
2926 else
2927 CFLAGS="-g"
2929 else
2930 if test "$GCC" = yes; then
2931 CFLAGS="-O2"
2932 else
2933 CFLAGS=
2936 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2937 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2938 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 else
2941 ac_cv_prog_cc_stdc=no
2942 ac_save_CC=$CC
2943 cat >conftest.$ac_ext <<_ACEOF
2944 /* confdefs.h. */
2945 _ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2949 #include <stdarg.h>
2950 #include <stdio.h>
2951 #include <sys/types.h>
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2954 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i)
2957 char **p;
2958 int i;
2960 return p[i];
2962 static char *f (char * (*g) (char **, int), char **p, ...)
2964 char *s;
2965 va_list v;
2966 va_start (v,p);
2967 s = g (p, va_arg (v,int));
2968 va_end (v);
2969 return s;
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2973 function prototypes and stuff, but not '\xHH' hex character constants.
2974 These don't provoke an error unfortunately, instead are silently treated
2975 as 'x'. The following induces an error, until -std1 is added to get
2976 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2977 array size at least. It's necessary to write '\x00'==0 to get something
2978 that's true only with -std1. */
2979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2981 int test (int i, double x);
2982 struct s1 {int (*f) (int a);};
2983 struct s2 {int (*f) (double a);};
2984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2985 int argc;
2986 char **argv;
2988 main ()
2990 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2992 return 0;
2994 _ACEOF
2995 # Don't try gcc -ansi; that turns off useful extensions and
2996 # breaks some systems' header files.
2997 # AIX -qlanglvl=ansi
2998 # Ultrix and OSF/1 -std1
2999 # HP-UX 10.20 and later -Ae
3000 # HP-UX older versions -Aa -D_HPUX_SOURCE
3001 # SVR4 -Xc -D__EXTENSIONS__
3002 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3004 CC="$ac_save_CC $ac_arg"
3005 rm -f conftest.$ac_objext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007 (eval $ac_compile) 2>conftest.er1
3008 ac_status=$?
3009 grep -v '^ *+' conftest.er1 >conftest.err
3010 rm -f conftest.er1
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -z "$ac_c_werror_flag"
3015 || test ! -s conftest.err'
3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 (eval $ac_try) 2>&5
3018 ac_status=$?
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; } &&
3021 { ac_try='test -s conftest.$ac_objext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 (eval $ac_try) 2>&5
3024 ac_status=$?
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3027 ac_cv_prog_cc_stdc=$ac_arg
3028 break
3029 else
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3034 rm -f conftest.err conftest.$ac_objext
3035 done
3036 rm -f conftest.$ac_ext conftest.$ac_objext
3037 CC=$ac_save_CC
3041 case "x$ac_cv_prog_cc_stdc" in
3042 x|xno)
3043 echo "$as_me:$LINENO: result: none needed" >&5
3044 echo "${ECHO_T}none needed" >&6 ;;
3046 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3048 CC="$CC $ac_cv_prog_cc_stdc" ;;
3049 esac
3051 # Some people use a C++ compiler to compile C. Since we use `exit',
3052 # in C++ we need to declare it. In case someone uses the same compiler
3053 # for both compiling C and C++ we need to have the C++ compiler decide
3054 # the declaration of exit, since it's the most demanding environment.
3055 cat >conftest.$ac_ext <<_ACEOF
3056 #ifndef __cplusplus
3057 choke me
3058 #endif
3059 _ACEOF
3060 rm -f conftest.$ac_objext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062 (eval $ac_compile) 2>conftest.er1
3063 ac_status=$?
3064 grep -v '^ *+' conftest.er1 >conftest.err
3065 rm -f conftest.er1
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try='test -z "$ac_c_werror_flag"
3070 || test ! -s conftest.err'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 (eval $ac_try) 2>&5
3073 ac_status=$?
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; } &&
3076 { ac_try='test -s conftest.$ac_objext'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 (eval $ac_try) 2>&5
3079 ac_status=$?
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; }; then
3082 for ac_declaration in \
3083 '' \
3084 'extern "C" void std::exit (int) throw (); using std::exit;' \
3085 'extern "C" void std::exit (int); using std::exit;' \
3086 'extern "C" void exit (int) throw ();' \
3087 'extern "C" void exit (int);' \
3088 'void exit (int);'
3090 cat >conftest.$ac_ext <<_ACEOF
3091 /* confdefs.h. */
3092 _ACEOF
3093 cat confdefs.h >>conftest.$ac_ext
3094 cat >>conftest.$ac_ext <<_ACEOF
3095 /* end confdefs.h. */
3096 $ac_declaration
3097 #include <stdlib.h>
3099 main ()
3101 exit (42);
3103 return 0;
3105 _ACEOF
3106 rm -f conftest.$ac_objext
3107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3108 (eval $ac_compile) 2>conftest.er1
3109 ac_status=$?
3110 grep -v '^ *+' conftest.er1 >conftest.err
3111 rm -f conftest.er1
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } &&
3115 { ac_try='test -z "$ac_c_werror_flag"
3116 || test ! -s conftest.err'
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118 (eval $ac_try) 2>&5
3119 ac_status=$?
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; } &&
3122 { ac_try='test -s conftest.$ac_objext'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 (eval $ac_try) 2>&5
3125 ac_status=$?
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; }; then
3129 else
3130 echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 continue
3135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3136 cat >conftest.$ac_ext <<_ACEOF
3137 /* confdefs.h. */
3138 _ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3142 $ac_declaration
3144 main ()
3146 exit (42);
3148 return 0;
3150 _ACEOF
3151 rm -f conftest.$ac_objext
3152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3153 (eval $ac_compile) 2>conftest.er1
3154 ac_status=$?
3155 grep -v '^ *+' conftest.er1 >conftest.err
3156 rm -f conftest.er1
3157 cat conftest.err >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try='test -z "$ac_c_werror_flag"
3161 || test ! -s conftest.err'
3162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 (eval $ac_try) 2>&5
3164 ac_status=$?
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }; } &&
3167 { ac_try='test -s conftest.$ac_objext'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 (eval $ac_try) 2>&5
3170 ac_status=$?
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; }; then
3173 break
3174 else
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3180 done
3181 rm -f conftest*
3182 if test -n "$ac_declaration"; then
3183 echo '#ifdef __cplusplus' >>confdefs.h
3184 echo $ac_declaration >>confdefs.h
3185 echo '#endif' >>confdefs.h
3188 else
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_ext=c
3195 ac_cpp='$CPP $CPPFLAGS'
3196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 DEPDIR="${am__leading_dot}deps"
3201 ac_config_commands="$ac_config_commands depfiles"
3204 am_make=${MAKE-make}
3205 cat > confinc << 'END'
3206 am__doit:
3207 @echo done
3208 .PHONY: am__doit
3210 # If we don't find an include directive, just comment out the code.
3211 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3212 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3213 am__include="#"
3214 am__quote=
3215 _am_result=none
3216 # First try GNU make style include.
3217 echo "include confinc" > confmf
3218 # We grep out `Entering directory' and `Leaving directory'
3219 # messages which can occur if `w' ends up in MAKEFLAGS.
3220 # In particular we don't look at `^make:' because GNU make might
3221 # be invoked under some other name (usually "gmake"), in which
3222 # case it prints its new name instead of `make'.
3223 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3224 am__include=include
3225 am__quote=
3226 _am_result=GNU
3228 # Now try BSD make style include.
3229 if test "$am__include" = "#"; then
3230 echo '.include "confinc"' > confmf
3231 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3232 am__include=.include
3233 am__quote="\""
3234 _am_result=BSD
3239 echo "$as_me:$LINENO: result: $_am_result" >&5
3240 echo "${ECHO_T}$_am_result" >&6
3241 rm -f confinc confmf
3243 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3244 if test "${enable_dependency_tracking+set}" = set; then
3245 enableval="$enable_dependency_tracking"
3248 if test "x$enable_dependency_tracking" != xno; then
3249 am_depcomp="$ac_aux_dir/depcomp"
3250 AMDEPBACKSLASH='\'
3254 if test "x$enable_dependency_tracking" != xno; then
3255 AMDEP_TRUE=
3256 AMDEP_FALSE='#'
3257 else
3258 AMDEP_TRUE='#'
3259 AMDEP_FALSE=
3265 depcc="$CC" am_compiler_list=
3267 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3268 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3269 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3273 # We make a subdir and do the tests there. Otherwise we can end up
3274 # making bogus files that we don't know about and never remove. For
3275 # instance it was reported that on HP-UX the gcc test will end up
3276 # making a dummy file named `D' -- because `-MD' means `put the output
3277 # in D'.
3278 mkdir conftest.dir
3279 # Copy depcomp to subdir because otherwise we won't find it if we're
3280 # using a relative directory.
3281 cp "$am_depcomp" conftest.dir
3282 cd conftest.dir
3283 # We will build objects and dependencies in a subdirectory because
3284 # it helps to detect inapplicable dependency modes. For instance
3285 # both Tru64's cc and ICC support -MD to output dependencies as a
3286 # side effect of compilation, but ICC will put the dependencies in
3287 # the current directory while Tru64 will put them in the object
3288 # directory.
3289 mkdir sub
3291 am_cv_CC_dependencies_compiler_type=none
3292 if test "$am_compiler_list" = ""; then
3293 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3295 for depmode in $am_compiler_list; do
3296 # Setup a source with many dependencies, because some compilers
3297 # like to wrap large dependency lists on column 80 (with \), and
3298 # we should not choose a depcomp mode which is confused by this.
3300 # We need to recreate these files for each test, as the compiler may
3301 # overwrite some of them when testing with obscure command lines.
3302 # This happens at least with the AIX C compiler.
3303 : > sub/conftest.c
3304 for i in 1 2 3 4 5 6; do
3305 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3306 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3307 # Solaris 8's {/usr,}/bin/sh.
3308 touch sub/conftst$i.h
3309 done
3310 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3312 case $depmode in
3313 nosideeffect)
3314 # after this tag, mechanisms are not by side-effect, so they'll
3315 # only be used when explicitly requested
3316 if test "x$enable_dependency_tracking" = xyes; then
3317 continue
3318 else
3319 break
3322 none) break ;;
3323 esac
3324 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3325 # mode. It turns out that the SunPro C++ compiler does not properly
3326 # handle `-M -o', and we need to detect this.
3327 if depmode=$depmode \
3328 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3329 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3330 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3331 >/dev/null 2>conftest.err &&
3332 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3333 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3334 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3335 # icc doesn't choke on unknown options, it will just issue warnings
3336 # or remarks (even with -Werror). So we grep stderr for any message
3337 # that says an option was ignored or not supported.
3338 # When given -MP, icc 7.0 and 7.1 complain thusly:
3339 # icc: Command line warning: ignoring option '-M'; no argument required
3340 # The diagnosis changed in icc 8.0:
3341 # icc: Command line remark: option '-MP' not supported
3342 if (grep 'ignoring option' conftest.err ||
3343 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3344 am_cv_CC_dependencies_compiler_type=$depmode
3345 break
3348 done
3350 cd ..
3351 rm -rf conftest.dir
3352 else
3353 am_cv_CC_dependencies_compiler_type=none
3357 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3358 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3359 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3364 test "x$enable_dependency_tracking" != xno \
3365 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3366 am__fastdepCC_TRUE=
3367 am__fastdepCC_FALSE='#'
3368 else
3369 am__fastdepCC_TRUE='#'
3370 am__fastdepCC_FALSE=
3376 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3377 if test "x$GCC" = "xyes"; then
3378 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3379 ## We like to use C99 routines when available. This makes sure that
3380 ## __STDC_VERSION__ is set such that libc includes make them available.
3381 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3382 ## Compile the following tests with the same system header contents
3383 ## that we'll encounter when compiling our own source files.
3384 CFLAGS="-std=gnu99 $CFLAGS"
3390 # Check for symbol versioning (copied from libssp).
3391 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3392 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3393 cat > conftest.map <<EOF
3394 FOO_1.0 {
3395 global: *foo*; bar; local: *;
3398 save_LDFLAGS="$LDFLAGS"
3399 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3401 if test x$gcc_no_link = xyes; then
3402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3404 { (exit 1); exit 1; }; }
3406 cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h. */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3412 int foo;
3414 main ()
3418 return 0;
3420 _ACEOF
3421 rm -f conftest.$ac_objext conftest$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423 (eval $ac_link) 2>conftest.er1
3424 ac_status=$?
3425 grep -v '^ *+' conftest.er1 >conftest.err
3426 rm -f conftest.er1
3427 cat conftest.err >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } &&
3430 { ac_try='test -z "$ac_c_werror_flag"
3431 || test ! -s conftest.err'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 (eval $ac_try) 2>&5
3434 ac_status=$?
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; } &&
3437 { ac_try='test -s conftest$ac_exeext'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3439 (eval $ac_try) 2>&5
3440 ac_status=$?
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3443 gfortran_use_symver=yes
3444 else
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3448 gfortran_use_symver=no
3450 rm -f conftest.err conftest.$ac_objext \
3451 conftest$ac_exeext conftest.$ac_ext
3452 LDFLAGS="$save_LDFLAGS"
3453 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3454 echo "${ECHO_T}$gfortran_use_symver" >&6
3457 if test "x$gfortran_use_symver" = xyes; then
3458 LIBGFOR_USE_SYMVER_TRUE=
3459 LIBGFOR_USE_SYMVER_FALSE='#'
3460 else
3461 LIBGFOR_USE_SYMVER_TRUE='#'
3462 LIBGFOR_USE_SYMVER_FALSE=
3466 # Find other programs we need.
3467 if test -n "$ac_tool_prefix"; then
3468 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3469 set dummy ${ac_tool_prefix}as; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${ac_cv_prog_AS+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 if test -n "$AS"; then
3476 ac_cv_prog_AS="$AS" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3481 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_AS="${ac_tool_prefix}as"
3486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 break 2
3489 done
3490 done
3494 AS=$ac_cv_prog_AS
3495 if test -n "$AS"; then
3496 echo "$as_me:$LINENO: result: $AS" >&5
3497 echo "${ECHO_T}$AS" >&6
3498 else
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3504 if test -z "$ac_cv_prog_AS"; then
3505 ac_ct_AS=$AS
3506 # Extract the first word of "as", so it can be a program name with args.
3507 set dummy as; ac_word=$2
3508 echo "$as_me:$LINENO: checking for $ac_word" >&5
3509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3510 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 else
3513 if test -n "$ac_ct_AS"; then
3514 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3519 IFS=$as_save_IFS
3520 test -z "$as_dir" && as_dir=.
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3523 ac_cv_prog_ac_ct_AS="as"
3524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 break 2
3527 done
3528 done
3532 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3533 if test -n "$ac_ct_AS"; then
3534 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3535 echo "${ECHO_T}$ac_ct_AS" >&6
3536 else
3537 echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6
3541 AS=$ac_ct_AS
3542 else
3543 AS="$ac_cv_prog_AS"
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3548 set dummy ${ac_tool_prefix}ar; ac_word=$2
3549 echo "$as_me:$LINENO: checking for $ac_word" >&5
3550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3551 if test "${ac_cv_prog_AR+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 else
3554 if test -n "$AR"; then
3555 ac_cv_prog_AR="$AR" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_AR="${ac_tool_prefix}ar"
3565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3568 done
3569 done
3573 AR=$ac_cv_prog_AR
3574 if test -n "$AR"; then
3575 echo "$as_me:$LINENO: result: $AR" >&5
3576 echo "${ECHO_T}$AR" >&6
3577 else
3578 echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3583 if test -z "$ac_cv_prog_AR"; then
3584 ac_ct_AR=$AR
3585 # Extract the first word of "ar", so it can be a program name with args.
3586 set dummy ar; ac_word=$2
3587 echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3589 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 else
3592 if test -n "$ac_ct_AR"; then
3593 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3598 IFS=$as_save_IFS
3599 test -z "$as_dir" && as_dir=.
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_ac_ct_AR="ar"
3603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 break 2
3606 done
3607 done
3611 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3612 if test -n "$ac_ct_AR"; then
3613 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3614 echo "${ECHO_T}$ac_ct_AR" >&6
3615 else
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3620 AR=$ac_ct_AR
3621 else
3622 AR="$ac_cv_prog_AR"
3625 if test -n "$ac_tool_prefix"; then
3626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3628 echo "$as_me:$LINENO: checking for $ac_word" >&5
3629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3630 if test "${ac_cv_prog_RANLIB+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 else
3633 if test -n "$RANLIB"; then
3634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3639 IFS=$as_save_IFS
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 break 2
3647 done
3648 done
3652 RANLIB=$ac_cv_prog_RANLIB
3653 if test -n "$RANLIB"; then
3654 echo "$as_me:$LINENO: result: $RANLIB" >&5
3655 echo "${ECHO_T}$RANLIB" >&6
3656 else
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3662 if test -z "$ac_cv_prog_RANLIB"; then
3663 ac_ct_RANLIB=$RANLIB
3664 # Extract the first word of "ranlib", so it can be a program name with args.
3665 set dummy ranlib; ac_word=$2
3666 echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671 if test -n "$ac_ct_RANLIB"; then
3672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3673 else
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 for as_dir in $PATH
3677 IFS=$as_save_IFS
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3681 ac_cv_prog_ac_ct_RANLIB="ranlib"
3682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 break 2
3685 done
3686 done
3688 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3692 if test -n "$ac_ct_RANLIB"; then
3693 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3694 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3695 else
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3700 RANLIB=$ac_ct_RANLIB
3701 else
3702 RANLIB="$ac_cv_prog_RANLIB"
3705 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3706 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3707 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711 cat >conftest.make <<\_ACEOF
3712 all:
3713 @echo 'ac_maketemp="$(MAKE)"'
3714 _ACEOF
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3717 if test -n "$ac_maketemp"; then
3718 eval ac_cv_prog_make_${ac_make}_set=yes
3719 else
3720 eval ac_cv_prog_make_${ac_make}_set=no
3722 rm -f conftest.make
3724 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 SET_MAKE=
3728 else
3729 echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3731 SET_MAKE="MAKE=${MAKE-make}"
3734 # Find a good install program. We prefer a C program (faster),
3735 # so one script is as good as another. But avoid the broken or
3736 # incompatible versions:
3737 # SysV /etc/install, /usr/sbin/install
3738 # SunOS /usr/etc/install
3739 # IRIX /sbin/install
3740 # AIX /bin/install
3741 # AmigaOS /C/install, which installs bootblocks on floppy discs
3742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3745 # OS/2's system install, which has a completely different semantic
3746 # ./install, which can be erroneously created by make from ./install.sh.
3747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3749 if test -z "$INSTALL"; then
3750 if test "${ac_cv_path_install+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 # Account for people who put trailing slashes in PATH elements.
3759 case $as_dir/ in
3760 ./ | .// | /cC/* | \
3761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3763 /usr/ucb/* ) ;;
3765 # OSF1 and SCO ODT 3.0 have their own names for install.
3766 # Don't use installbsd from OSF since it installs stuff as root
3767 # by default.
3768 for ac_prog in ginstall scoinst install; do
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3771 if test $ac_prog = install &&
3772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3773 # AIX install. It has an incompatible calling convention.
3775 elif test $ac_prog = install &&
3776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3777 # program-specific install script used by HP pwplus--don't use.
3779 else
3780 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3781 break 3
3784 done
3785 done
3787 esac
3788 done
3792 if test "${ac_cv_path_install+set}" = set; then
3793 INSTALL=$ac_cv_path_install
3794 else
3795 # As a last resort, use the slow shell script. We don't cache a
3796 # path for INSTALL within a source directory, because that will
3797 # break other packages using the cache if that directory is
3798 # removed, or if the path is relative.
3799 INSTALL=$ac_install_sh
3802 echo "$as_me:$LINENO: result: $INSTALL" >&5
3803 echo "${ECHO_T}$INSTALL" >&6
3805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3806 # It thinks the first close brace ends the variable substitution.
3807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3811 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3814 # Configure libtool
3815 #AC_MSG_NOTICE([====== Starting libtool configuration])
3816 enable_dlopen=yes
3822 macro_version='2.1a'
3823 macro_revision='1.2435'
3836 ltmain="$ac_aux_dir/ltmain.sh"
3838 # Set options
3841 enable_win32_dll=no
3844 # Check whether --enable-shared or --disable-shared was given.
3845 if test "${enable_shared+set}" = set; then
3846 enableval="$enable_shared"
3847 p=${PACKAGE-default}
3848 case $enableval in
3849 yes) enable_shared=yes ;;
3850 no) enable_shared=no ;;
3852 enable_shared=no
3853 # Look at the argument we got. We use all the common list separators.
3854 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3855 for pkg in $enableval; do
3856 IFS="$lt_save_ifs"
3857 if test "X$pkg" = "X$p"; then
3858 enable_shared=yes
3860 done
3861 IFS="$lt_save_ifs"
3863 esac
3864 else
3865 enable_shared=yes
3875 # Check whether --enable-static or --disable-static was given.
3876 if test "${enable_static+set}" = set; then
3877 enableval="$enable_static"
3878 p=${PACKAGE-default}
3879 case $enableval in
3880 yes) enable_static=yes ;;
3881 no) enable_static=no ;;
3883 enable_static=no
3884 # Look at the argument we got. We use all the common list separators.
3885 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3886 for pkg in $enableval; do
3887 IFS="$lt_save_ifs"
3888 if test "X$pkg" = "X$p"; then
3889 enable_static=yes
3891 done
3892 IFS="$lt_save_ifs"
3894 esac
3895 else
3896 enable_static=yes
3907 # Check whether --with-pic or --without-pic was given.
3908 if test "${with_pic+set}" = set; then
3909 withval="$with_pic"
3910 pic_mode="$withval"
3911 else
3912 pic_mode=default
3915 test -z "$pic_mode" && pic_mode=default
3923 # Check whether --enable-fast-install or --disable-fast-install was given.
3924 if test "${enable_fast_install+set}" = set; then
3925 enableval="$enable_fast_install"
3926 p=${PACKAGE-default}
3927 case $enableval in
3928 yes) enable_fast_install=yes ;;
3929 no) enable_fast_install=no ;;
3931 enable_fast_install=no
3932 # Look at the argument we got. We use all the common list separators.
3933 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3934 for pkg in $enableval; do
3935 IFS="$lt_save_ifs"
3936 if test "X$pkg" = "X$p"; then
3937 enable_fast_install=yes
3939 done
3940 IFS="$lt_save_ifs"
3942 esac
3943 else
3944 enable_fast_install=yes
3954 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3955 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3956 if test "${lt_cv_path_SED+set}" = set; then
3957 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 else
3959 # Loop through the user's path and test for sed and gsed.
3960 # Then use that list of sed's as ones to test for truncation.
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for lt_ac_prog in sed gsed; do
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3969 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3971 done
3972 done
3973 done
3974 IFS=$as_save_IFS
3975 lt_ac_max=0
3976 lt_ac_count=0
3977 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3978 # along with /bin/sed that truncates output.
3979 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3980 test ! -f $lt_ac_sed && continue
3981 cat /dev/null > conftest.in
3982 lt_ac_count=0
3983 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3984 # Check for GNU sed and select it if it is found.
3985 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3986 lt_cv_path_SED=$lt_ac_sed
3987 break
3989 while true; do
3990 cat conftest.in conftest.in >conftest.tmp
3991 mv conftest.tmp conftest.in
3992 cp conftest.in conftest.nl
3993 echo >>conftest.nl
3994 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3995 cmp -s conftest.out conftest.nl || break
3996 # 10000 chars as input seems more than enough
3997 test $lt_ac_count -gt 10 && break
3998 lt_ac_count=`expr $lt_ac_count + 1`
3999 if test $lt_ac_count -gt $lt_ac_max; then
4000 lt_ac_max=$lt_ac_count
4001 lt_cv_path_SED=$lt_ac_sed
4003 done
4004 done
4008 SED=$lt_cv_path_SED
4010 echo "$as_me:$LINENO: result: $SED" >&5
4011 echo "${ECHO_T}$SED" >&6
4013 test -z "$SED" && SED=sed
4014 Xsed="$SED -e 1s/^X//"
4026 echo "$as_me:$LINENO: checking for egrep" >&5
4027 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4028 if test "${ac_cv_prog_egrep+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4032 then ac_cv_prog_egrep='grep -E'
4033 else ac_cv_prog_egrep='egrep'
4036 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4037 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4038 EGREP=$ac_cv_prog_egrep
4041 echo "$as_me:$LINENO: checking for fgrep" >&5
4042 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4043 if test "${ac_cv_prog_fgrep+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4047 then ac_cv_prog_fgrep='grep -F'
4048 else ac_cv_prog_fgrep='fgrep'
4051 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4052 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4053 FGREP=$ac_cv_prog_fgrep
4056 test -z "$GREP" && GREP=grep
4076 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4077 if test "${with_gnu_ld+set}" = set; then
4078 withval="$with_gnu_ld"
4079 test "$withval" = no || with_gnu_ld=yes
4080 else
4081 with_gnu_ld=no
4083 ac_prog=ld
4084 if test "$GCC" = yes; then
4085 # Check if gcc -print-prog-name=ld gives a path.
4086 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4087 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4088 case $host in
4089 *-*-mingw*)
4090 # gcc leaves a trailing carriage return which upsets mingw
4091 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4093 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4094 esac
4095 case $ac_prog in
4096 # Accept absolute paths.
4097 [\\/]* | ?:[\\/]*)
4098 re_direlt='/[^/][^/]*/\.\./'
4099 # Canonicalize the pathname of ld
4100 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4101 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4102 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4103 done
4104 test -z "$LD" && LD="$ac_prog"
4107 # If it fails, then pretend we aren't using GCC.
4108 ac_prog=ld
4111 # If it is relative, then search for the first ld in PATH.
4112 with_gnu_ld=unknown
4114 esac
4115 elif test "$with_gnu_ld" = yes; then
4116 echo "$as_me:$LINENO: checking for GNU ld" >&5
4117 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4118 else
4119 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4120 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4122 if test "${lt_cv_path_LD+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125 if test -z "$LD"; then
4126 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4127 for ac_dir in $PATH; do
4128 IFS="$lt_save_ifs"
4129 test -z "$ac_dir" && ac_dir=.
4130 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4131 lt_cv_path_LD="$ac_dir/$ac_prog"
4132 # Check to see if the program is GNU ld. I'd rather use --version,
4133 # but apparently some variants of GNU ld only accept -v.
4134 # Break only if it was the GNU/non-GNU ld that we prefer.
4135 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4136 *GNU* | *'with BFD'*)
4137 test "$with_gnu_ld" != no && break
4140 test "$with_gnu_ld" != yes && break
4142 esac
4144 done
4145 IFS="$lt_save_ifs"
4146 else
4147 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4151 LD="$lt_cv_path_LD"
4152 if test -n "$LD"; then
4153 echo "$as_me:$LINENO: result: $LD" >&5
4154 echo "${ECHO_T}$LD" >&6
4155 else
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4159 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4160 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4161 { (exit 1); exit 1; }; }
4162 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4163 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4164 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4168 case `$LD -v 2>&1 </dev/null` in
4169 *GNU* | *'with BFD'*)
4170 lt_cv_prog_gnu_ld=yes
4173 lt_cv_prog_gnu_ld=no
4175 esac
4177 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4178 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4179 with_gnu_ld=$lt_cv_prog_gnu_ld
4190 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4191 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4192 if test "${lt_cv_path_NM+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 else
4195 if test -n "$NM"; then
4196 # Let the user override the test.
4197 lt_cv_path_NM="$NM"
4198 else
4199 lt_nm_to_check="${ac_tool_prefix}nm"
4200 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4201 lt_nm_to_check="$lt_nm_to_check nm"
4203 for lt_tmp_nm in $lt_nm_to_check; do
4204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4205 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4206 IFS="$lt_save_ifs"
4207 test -z "$ac_dir" && ac_dir=.
4208 tmp_nm="$ac_dir/$lt_tmp_nm"
4209 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4210 # Check to see if the nm accepts a BSD-compat flag.
4211 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4212 # nm: unknown option "B" ignored
4213 # Tru64's nm complains that /dev/null is an invalid object file
4214 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4215 */dev/null* | *'Invalid file or object type'*)
4216 lt_cv_path_NM="$tmp_nm -B"
4217 break
4220 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4221 */dev/null*)
4222 lt_cv_path_NM="$tmp_nm -p"
4223 break
4226 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4227 continue # so that we can try to find one that supports BSD flags
4229 esac
4231 esac
4233 done
4234 IFS="$lt_save_ifs"
4235 done
4236 : ${lt_cv_path_NM=no}
4239 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4240 echo "${ECHO_T}$lt_cv_path_NM" >&6
4241 if test "$lt_cv_path_NM" != "no"; then
4242 NM="$lt_cv_path_NM"
4243 else
4244 # Didn't find any BSD compatible name lister, look for dumpbin.
4245 if test -n "$ac_tool_prefix"; then
4246 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 else
4255 if test -n "$DUMPBIN"; then
4256 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 break 2
4269 done
4270 done
4274 DUMPBIN=$ac_cv_prog_DUMPBIN
4275 if test -n "$DUMPBIN"; then
4276 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4277 echo "${ECHO_T}$DUMPBIN" >&6
4278 else
4279 echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4283 test -n "$DUMPBIN" && break
4284 done
4286 if test -z "$DUMPBIN"; then
4287 ac_ct_DUMPBIN=$DUMPBIN
4288 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4290 # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 echo "$as_me:$LINENO: checking for $ac_word" >&5
4293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4294 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 else
4297 if test -n "$ac_ct_DUMPBIN"; then
4298 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4299 else
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH
4303 IFS=$as_save_IFS
4304 test -z "$as_dir" && as_dir=.
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4307 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 break 2
4311 done
4312 done
4316 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4317 if test -n "$ac_ct_DUMPBIN"; then
4318 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4319 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4320 else
4321 echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4325 test -n "$ac_ct_DUMPBIN" && break
4326 done
4327 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4329 DUMPBIN=$ac_ct_DUMPBIN
4333 if test "$DUMPBIN" != ":"; then
4334 NM="$DUMPBIN"
4337 test -z "$NM" && NM=nm
4344 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4345 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4346 if test "${lt_cv_nm_interface+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 else
4349 lt_cv_nm_interface="BSD nm"
4350 echo "int some_variable = 0;" > conftest.$ac_ext
4351 (eval echo "\"\$as_me:4351: $ac_compile\"" >&5)
4352 (eval "$ac_compile" 2>conftest.err)
4353 cat conftest.err >&5
4354 (eval echo "\"\$as_me:4354: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4355 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4356 cat conftest.err >&5
4357 (eval echo "\"\$as_me:4357: output\"" >&5)
4358 cat conftest.out >&5
4359 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4360 lt_cv_nm_interface="MS dumpbin"
4362 rm -f conftest*
4364 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4365 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4367 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4368 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4369 LN_S=$as_ln_s
4370 if test "$LN_S" = "ln -s"; then
4371 echo "$as_me:$LINENO: result: yes" >&5
4372 echo "${ECHO_T}yes" >&6
4373 else
4374 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4375 echo "${ECHO_T}no, using $LN_S" >&6
4378 # find the maximum length of command line arguments
4379 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4380 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4381 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4385 teststring="ABCD"
4387 case $build_os in
4388 msdosdjgpp*)
4389 # On DJGPP, this test can blow up pretty badly due to problems in libc
4390 # (any single argument exceeding 2000 bytes causes a buffer overrun
4391 # during glob expansion). Even if it were fixed, the result of this
4392 # check would be larger than it should be.
4393 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4396 gnu*)
4397 # Under GNU Hurd, this test is not required because there is
4398 # no limit to the length of command line arguments.
4399 # Libtool will interpret -1 as no limit whatsoever
4400 lt_cv_sys_max_cmd_len=-1;
4403 cygwin* | mingw*)
4404 # On Win9x/ME, this test blows up -- it succeeds, but takes
4405 # about 5 minutes as the teststring grows exponentially.
4406 # Worse, since 9x/ME are not pre-emptively multitasking,
4407 # you end up with a "frozen" computer, even though with patience
4408 # the test eventually succeeds (with a max line length of 256k).
4409 # Instead, let's just punt: use the minimum linelength reported by
4410 # all of the supported platforms: 8192 (on NT/2K/XP).
4411 lt_cv_sys_max_cmd_len=8192;
4414 amigaos*)
4415 # On AmigaOS with pdksh, this test takes hours, literally.
4416 # So we just punt and use a minimum line length of 8192.
4417 lt_cv_sys_max_cmd_len=8192;
4420 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4421 # This has been around since 386BSD, at least. Likely further.
4422 if test -x /sbin/sysctl; then
4423 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4424 elif test -x /usr/sbin/sysctl; then
4425 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4426 else
4427 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4429 # And add a safety zone
4430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4434 interix*)
4435 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4436 lt_cv_sys_max_cmd_len=196608
4439 osf*)
4440 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4441 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4442 # nice to cause kernel panics so lets avoid the loop below.
4443 # First set a reasonable default.
4444 lt_cv_sys_max_cmd_len=16384
4446 if test -x /sbin/sysconfig; then
4447 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4448 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4449 esac
4452 sco3.2v5*)
4453 lt_cv_sys_max_cmd_len=102400
4455 sysv5* | sco5v6* | sysv4.2uw2*)
4456 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4457 if test -n "$kargmax"; then
4458 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4459 else
4460 lt_cv_sys_max_cmd_len=32768
4464 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4465 if test -n $lt_cv_sys_max_cmd_len; then
4466 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4467 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4468 else
4469 # Make teststring a little bigger before we do anything with it.
4470 # a 1K string should be a reasonable start.
4471 for i in 1 2 3 4 5 6 7 8 ; do
4472 teststring=$teststring$teststring
4473 done
4474 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4475 # If test is not a shell built-in, we'll probably end up computing a
4476 # maximum length that is only half of the actual maximum length, but
4477 # we can't tell.
4478 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4479 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4480 test $i != 17 # 1/2 MB should be enough
4482 i=`expr $i + 1`
4483 teststring=$teststring$teststring
4484 done
4485 # Only check the string length outside the loop.
4486 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4487 teststring=
4488 # Add a significant safety factor because C++ compilers can tack on
4489 # massive amounts of additional arguments before passing them to the
4490 # linker. It appears as though 1/2 is a usable value.
4491 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4494 esac
4498 if test -n $lt_cv_sys_max_cmd_len ; then
4499 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4500 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4501 else
4502 echo "$as_me:$LINENO: result: none" >&5
4503 echo "${ECHO_T}none" >&6
4505 max_cmd_len=$lt_cv_sys_max_cmd_len
4513 : ${CP="cp -f"}
4514 : ${MV="mv -f"}
4515 : ${RM="rm -f"}
4517 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4518 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4519 # Try some XSI features
4520 xsi_shell=no
4521 ( _lt_dummy="a/b/c"
4522 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4523 = c,a/b,, ) >/dev/null 2>&1 \
4524 && xsi_shell=yes
4525 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4526 echo "${ECHO_T}$xsi_shell" >&6
4529 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4530 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4531 lt_shell_append=no
4532 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4533 >/dev/null 2>&1 \
4534 && lt_shell_append=yes
4535 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4536 echo "${ECHO_T}$lt_shell_append" >&6
4539 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4540 lt_unset=unset
4541 else
4542 lt_unset=false
4549 # test EBCDIC or ASCII
4550 case `echo X|tr X '\101'` in
4551 A) # ASCII based system
4552 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4553 lt_SP2NL='tr \040 \012'
4554 lt_NL2SP='tr \015\012 \040\040'
4556 *) # EBCDIC based system
4557 lt_SP2NL='tr \100 \n'
4558 lt_NL2SP='tr \r\n \100\100'
4560 esac
4570 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4571 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4572 if test "${lt_cv_ld_reload_flag+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else
4575 lt_cv_ld_reload_flag='-r'
4577 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4578 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4579 reload_flag=$lt_cv_ld_reload_flag
4580 case $reload_flag in
4581 "" | " "*) ;;
4582 *) reload_flag=" $reload_flag" ;;
4583 esac
4584 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4585 case $host_os in
4586 darwin*)
4587 if test "$GCC" = yes; then
4588 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4589 else
4590 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4593 esac
4604 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4605 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4606 if test "${lt_cv_deplibs_check_method+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 else
4609 lt_cv_file_magic_cmd='$MAGIC_CMD'
4610 lt_cv_file_magic_test_file=
4611 lt_cv_deplibs_check_method='unknown'
4612 # Need to set the preceding variable on all platforms that support
4613 # interlibrary dependencies.
4614 # 'none' -- dependencies not supported.
4615 # `unknown' -- same as none, but documents that we really don't know.
4616 # 'pass_all' -- all dependencies passed with no checks.
4617 # 'test_compile' -- check by making test program.
4618 # 'file_magic [[regex]]' -- check by looking for files in library path
4619 # which responds to the $file_magic_cmd with a given extended regex.
4620 # If you have `file' or equivalent on your system and you're not sure
4621 # whether `pass_all' will *always* work, you probably want this one.
4623 case $host_os in
4624 aix4* | aix5*)
4625 lt_cv_deplibs_check_method=pass_all
4628 beos*)
4629 lt_cv_deplibs_check_method=pass_all
4632 bsdi[45]*)
4633 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4634 lt_cv_file_magic_cmd='/usr/bin/file -L'
4635 lt_cv_file_magic_test_file=/shlib/libc.so
4638 cygwin*)
4639 # func_win32_libid is a shell function defined in ltmain.sh
4640 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4641 lt_cv_file_magic_cmd='func_win32_libid'
4644 mingw* | pw32*)
4645 # Base MSYS/MinGW do not provide the 'file' command needed by
4646 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4647 # unless we find 'file', for example because we are cross-compiling.
4648 if ( file / ) >/dev/null 2>&1; then
4649 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4650 lt_cv_file_magic_cmd='func_win32_libid'
4651 else
4652 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4653 lt_cv_file_magic_cmd='$OBJDUMP -f'
4657 darwin* | rhapsody*)
4658 lt_cv_deplibs_check_method=pass_all
4661 freebsd* | dragonfly*)
4662 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4663 case $host_cpu in
4664 i*86 )
4665 # Not sure whether the presence of OpenBSD here was a mistake.
4666 # Let's accept both of them until this is cleared up.
4667 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4668 lt_cv_file_magic_cmd=/usr/bin/file
4669 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4671 esac
4672 else
4673 lt_cv_deplibs_check_method=pass_all
4677 gnu*)
4678 lt_cv_deplibs_check_method=pass_all
4681 hpux10.20* | hpux11*)
4682 lt_cv_file_magic_cmd=/usr/bin/file
4683 case $host_cpu in
4684 ia64*)
4685 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4686 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4688 hppa*64*)
4689 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4690 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4693 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4694 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4696 esac
4699 interix[3-9]*)
4700 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4701 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4704 irix5* | irix6* | nonstopux*)
4705 case $LD in
4706 *-32|*"-32 ") libmagic=32-bit;;
4707 *-n32|*"-n32 ") libmagic=N32;;
4708 *-64|*"-64 ") libmagic=64-bit;;
4709 *) libmagic=never-match;;
4710 esac
4711 lt_cv_deplibs_check_method=pass_all
4714 # This must be Linux ELF.
4715 linux* | k*bsd*-gnu)
4716 lt_cv_deplibs_check_method=pass_all
4719 netbsd*)
4720 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4722 else
4723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4727 newos6*)
4728 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4729 lt_cv_file_magic_cmd=/usr/bin/file
4730 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4733 *nto* | *qnx*)
4734 lt_cv_deplibs_check_method=pass_all
4737 openbsd*)
4738 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4739 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4740 else
4741 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4745 osf3* | osf4* | osf5*)
4746 lt_cv_deplibs_check_method=pass_all
4749 rdos*)
4750 lt_cv_deplibs_check_method=pass_all
4753 solaris*)
4754 lt_cv_deplibs_check_method=pass_all
4757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4758 lt_cv_deplibs_check_method=pass_all
4761 sysv4 | sysv4.3*)
4762 case $host_vendor in
4763 motorola)
4764 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4765 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4767 ncr)
4768 lt_cv_deplibs_check_method=pass_all
4770 sequent)
4771 lt_cv_file_magic_cmd='/bin/file'
4772 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4774 sni)
4775 lt_cv_file_magic_cmd='/bin/file'
4776 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4777 lt_cv_file_magic_test_file=/lib/libc.so
4779 siemens)
4780 lt_cv_deplibs_check_method=pass_all
4783 lt_cv_deplibs_check_method=pass_all
4785 esac
4788 tpf*)
4789 lt_cv_deplibs_check_method=pass_all
4791 esac
4794 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4795 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4796 file_magic_cmd=$lt_cv_file_magic_cmd
4797 deplibs_check_method=$lt_cv_deplibs_check_method
4798 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4811 if test -n "$ac_tool_prefix"; then
4812 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4813 set dummy ${ac_tool_prefix}ar; ac_word=$2
4814 echo "$as_me:$LINENO: checking for $ac_word" >&5
4815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4816 if test "${ac_cv_prog_AR+set}" = set; then
4817 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 else
4819 if test -n "$AR"; then
4820 ac_cv_prog_AR="$AR" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829 ac_cv_prog_AR="${ac_tool_prefix}ar"
4830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 break 2
4833 done
4834 done
4838 AR=$ac_cv_prog_AR
4839 if test -n "$AR"; then
4840 echo "$as_me:$LINENO: result: $AR" >&5
4841 echo "${ECHO_T}$AR" >&6
4842 else
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4848 if test -z "$ac_cv_prog_AR"; then
4849 ac_ct_AR=$AR
4850 # Extract the first word of "ar", so it can be a program name with args.
4851 set dummy ar; ac_word=$2
4852 echo "$as_me:$LINENO: checking for $ac_word" >&5
4853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4854 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 else
4857 if test -n "$ac_ct_AR"; then
4858 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4859 else
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_prog_ac_ct_AR="ar"
4868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4871 done
4872 done
4874 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4877 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4878 if test -n "$ac_ct_AR"; then
4879 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4880 echo "${ECHO_T}$ac_ct_AR" >&6
4881 else
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4886 AR=$ac_ct_AR
4887 else
4888 AR="$ac_cv_prog_AR"
4891 test -z "$AR" && AR=ar
4892 test -z "$AR_FLAGS" && AR_FLAGS=cru
4904 if test -n "$ac_tool_prefix"; then
4905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4906 set dummy ${ac_tool_prefix}strip; ac_word=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_STRIP+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 if test -n "$STRIP"; then
4913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4931 STRIP=$ac_cv_prog_STRIP
4932 if test -n "$STRIP"; then
4933 echo "$as_me:$LINENO: result: $STRIP" >&5
4934 echo "${ECHO_T}$STRIP" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4941 if test -z "$ac_cv_prog_STRIP"; then
4942 ac_ct_STRIP=$STRIP
4943 # Extract the first word of "strip", so it can be a program name with args.
4944 set dummy strip; ac_word=$2
4945 echo "$as_me:$LINENO: checking for $ac_word" >&5
4946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4947 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 else
4950 if test -n "$ac_ct_STRIP"; then
4951 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_ac_ct_STRIP="strip"
4961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4967 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4971 if test -n "$ac_ct_STRIP"; then
4972 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4973 echo "${ECHO_T}$ac_ct_STRIP" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4979 STRIP=$ac_ct_STRIP
4980 else
4981 STRIP="$ac_cv_prog_STRIP"
4984 test -z "$STRIP" && STRIP=:
4991 if test -n "$ac_tool_prefix"; then
4992 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4993 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996 if test "${ac_cv_prog_RANLIB+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 else
4999 if test -n "$RANLIB"; then
5000 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5018 RANLIB=$ac_cv_prog_RANLIB
5019 if test -n "$RANLIB"; then
5020 echo "$as_me:$LINENO: result: $RANLIB" >&5
5021 echo "${ECHO_T}$RANLIB" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5028 if test -z "$ac_cv_prog_RANLIB"; then
5029 ac_ct_RANLIB=$RANLIB
5030 # Extract the first word of "ranlib", so it can be a program name with args.
5031 set dummy ranlib; ac_word=$2
5032 echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 else
5037 if test -n "$ac_ct_RANLIB"; then
5038 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5043 IFS=$as_save_IFS
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_ac_ct_RANLIB="ranlib"
5048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 break 2
5051 done
5052 done
5054 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5057 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5058 if test -n "$ac_ct_RANLIB"; then
5059 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5060 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5066 RANLIB=$ac_ct_RANLIB
5067 else
5068 RANLIB="$ac_cv_prog_RANLIB"
5071 test -z "$RANLIB" && RANLIB=:
5078 # Determine commands to create old-style static archives.
5079 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5080 old_postinstall_cmds='chmod 644 $oldlib'
5081 old_postuninstall_cmds=
5083 if test -n "$RANLIB"; then
5084 case $host_os in
5085 openbsd*)
5086 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5089 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5091 esac
5092 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5128 # If no C compiler was specified, use CC.
5129 LTCC=${LTCC-"$CC"}
5131 # If no C compiler flags were specified, use CFLAGS.
5132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5134 # Allow CC to be a program name with arguments.
5135 compiler=$CC
5138 # Check for command to grab the raw symbol name followed by C symbol from nm.
5139 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5140 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5141 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5145 # These are sane defaults that work on at least a few old systems.
5146 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5148 # Character class describing NM global symbol codes.
5149 symcode='[BCDEGRST]'
5151 # Regexp to match symbols that can be accessed directly from C.
5152 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5154 # Define system-specific variables.
5155 case $host_os in
5156 aix*)
5157 symcode='[BCDT]'
5159 cygwin* | mingw* | pw32*)
5160 symcode='[ABCDGISTW]'
5162 hpux*)
5163 if test "$host_cpu" = ia64; then
5164 symcode='[ABCDEGRST]'
5167 irix* | nonstopux*)
5168 symcode='[BCDEGRST]'
5170 osf*)
5171 symcode='[BCDEGQRST]'
5173 solaris*)
5174 symcode='[BDRT]'
5176 sco3.2v5*)
5177 symcode='[DT]'
5179 sysv4.2uw2*)
5180 symcode='[DT]'
5182 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5183 symcode='[ABDT]'
5185 sysv4)
5186 symcode='[DFNSTU]'
5188 esac
5190 # If we're using GNU nm, then use its standard symbol codes.
5191 case `$NM -V 2>&1` in
5192 *GNU* | *'with BFD'*)
5193 symcode='[ABCDGIRSTW]' ;;
5194 esac
5196 # Transform an extracted symbol line into a proper C declaration.
5197 # Some systems (esp. on ia64) link data and code symbols differently,
5198 # so use this general approach.
5199 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5201 # Transform an extracted symbol line into symbol name and symbol address
5202 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5204 # Handle CRLF in mingw tool chain
5205 opt_cr=
5206 case $build_os in
5207 mingw*)
5208 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5210 esac
5212 # Try without a prefix underscore, then with it.
5213 for ac_symprfx in "" "_"; do
5215 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5216 symxfrm="\\1 $ac_symprfx\\2 \\2"
5218 # Write the raw and C identifiers.
5219 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5220 # Fake it for dumpbin and say T for any non-static function
5221 # and D for any global variable.
5222 # Also find C++ and __fastcall symbols from MSVC++,
5223 # which start with @ or ?.
5224 lt_cv_sys_global_symbol_pipe="$AWK '"\
5225 " {last_section=section; section=\$ 3};"\
5226 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5227 " \$ 0!~/External *\|/{next};"\
5228 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5229 " {if(hide[section]) next};"\
5230 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5231 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5232 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5233 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5234 " ' prfx=^$ac_symprfx"
5235 else
5236 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5239 # Check to see that the pipe works correctly.
5240 pipe_works=no
5242 rm -f conftest*
5243 cat > conftest.$ac_ext <<_LT_EOF
5244 #ifdef __cplusplus
5245 extern "C" {
5246 #endif
5247 char nm_test_var;
5248 void nm_test_func(void);
5249 void nm_test_func(void){}
5250 #ifdef __cplusplus
5252 #endif
5253 int main(){nm_test_var='a';nm_test_func();return(0);}
5254 _LT_EOF
5256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257 (eval $ac_compile) 2>&5
5258 ac_status=$?
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }; then
5261 # Now try to grab the symbols.
5262 nlist=conftest.nm
5263 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5264 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5265 ac_status=$?
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } && test -s "$nlist"; then
5268 # Try sorting and uniquifying the output.
5269 if sort "$nlist" | uniq > "$nlist"T; then
5270 mv -f "$nlist"T "$nlist"
5271 else
5272 rm -f "$nlist"T
5275 # Make sure that we snagged all the symbols we need.
5276 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5277 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5278 cat <<_LT_EOF > conftest.$ac_ext
5279 #ifdef __cplusplus
5280 extern "C" {
5281 #endif
5283 _LT_EOF
5284 # Now generate the symbol file.
5285 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5287 cat <<_LT_EOF >> conftest.$ac_ext
5289 /* The mapping between symbol names and symbols. */
5290 const struct {
5291 const char *name;
5292 void *address;
5294 lt__PROGRAM__LTX_preloaded_symbols[] =
5296 { "@PROGRAM@", (void *) 0 },
5297 _LT_EOF
5298 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5299 cat <<\_LT_EOF >> conftest.$ac_ext
5300 {0, (void *) 0}
5303 /* This works around a problem in FreeBSD linker */
5304 #ifdef FREEBSD_WORKAROUND
5305 static const void *lt_preloaded_setup() {
5306 return lt__PROGRAM__LTX_preloaded_symbols;
5308 #endif
5310 #ifdef __cplusplus
5312 #endif
5313 _LT_EOF
5314 # Now try linking the two files.
5315 mv conftest.$ac_objext conftstm.$ac_objext
5316 lt_save_LIBS="$LIBS"
5317 lt_save_CFLAGS="$CFLAGS"
5318 LIBS="conftstm.$ac_objext"
5319 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5321 (eval $ac_link) 2>&5
5322 ac_status=$?
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5325 pipe_works=yes
5327 LIBS="$lt_save_LIBS"
5328 CFLAGS="$lt_save_CFLAGS"
5329 else
5330 echo "cannot find nm_test_func in $nlist" >&5
5332 else
5333 echo "cannot find nm_test_var in $nlist" >&5
5335 else
5336 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5338 else
5339 echo "$progname: failed program was:" >&5
5340 cat conftest.$ac_ext >&5
5342 rm -f conftest* conftst*
5344 # Do not use the global_symbol_pipe unless it works.
5345 if test "$pipe_works" = yes; then
5346 break
5347 else
5348 lt_cv_sys_global_symbol_pipe=
5350 done
5354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5355 lt_cv_sys_global_symbol_to_cdecl=
5357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5358 echo "$as_me:$LINENO: result: failed" >&5
5359 echo "${ECHO_T}failed" >&6
5360 else
5361 echo "$as_me:$LINENO: result: ok" >&5
5362 echo "${ECHO_T}ok" >&6
5381 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5382 if test "${enable_libtool_lock+set}" = set; then
5383 enableval="$enable_libtool_lock"
5386 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5388 # Some flags need to be propagated to the compiler or linker for good
5389 # libtool support.
5390 case $host in
5391 ia64-*-hpux*)
5392 # Find out which ABI we are using.
5393 echo 'int i;' > conftest.$ac_ext
5394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5395 (eval $ac_compile) 2>&5
5396 ac_status=$?
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; then
5399 case `/usr/bin/file conftest.$ac_objext` in
5400 *ELF-32*)
5401 HPUX_IA64_MODE="32"
5403 *ELF-64*)
5404 HPUX_IA64_MODE="64"
5406 esac
5408 rm -rf conftest*
5410 *-*-irix6*)
5411 # Find out which ABI we are using.
5412 echo '#line 5412 "configure"' > conftest.$ac_ext
5413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5414 (eval $ac_compile) 2>&5
5415 ac_status=$?
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; then
5418 if test "$lt_cv_prog_gnu_ld" = yes; then
5419 case `/usr/bin/file conftest.$ac_objext` in
5420 *32-bit*)
5421 LD="${LD-ld} -melf32bsmip"
5423 *N32*)
5424 LD="${LD-ld} -melf32bmipn32"
5426 *64-bit*)
5427 LD="${LD-ld} -melf64bmip"
5429 esac
5430 else
5431 case `/usr/bin/file conftest.$ac_objext` in
5432 *32-bit*)
5433 LD="${LD-ld} -32"
5435 *N32*)
5436 LD="${LD-ld} -n32"
5438 *64-bit*)
5439 LD="${LD-ld} -64"
5441 esac
5444 rm -rf conftest*
5447 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5448 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5449 # Find out which ABI we are using.
5450 echo 'int i;' > conftest.$ac_ext
5451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5452 (eval $ac_compile) 2>&5
5453 ac_status=$?
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; then
5456 case `/usr/bin/file conftest.o` in
5457 *32-bit*)
5458 case $host in
5459 x86_64-*kfreebsd*-gnu)
5460 LD="${LD-ld} -m elf_i386_fbsd"
5462 x86_64-*linux*)
5463 LD="${LD-ld} -m elf_i386"
5465 ppc64-*linux*|powerpc64-*linux*)
5466 LD="${LD-ld} -m elf32ppclinux"
5468 s390x-*linux*)
5469 LD="${LD-ld} -m elf_s390"
5471 sparc64-*linux*)
5472 LD="${LD-ld} -m elf32_sparc"
5474 esac
5476 *64-bit*)
5477 case $host in
5478 x86_64-*kfreebsd*-gnu)
5479 LD="${LD-ld} -m elf_x86_64_fbsd"
5481 x86_64-*linux*)
5482 LD="${LD-ld} -m elf_x86_64"
5484 ppc*-*linux*|powerpc*-*linux*)
5485 LD="${LD-ld} -m elf64ppc"
5487 s390*-*linux*|s390*-*tpf*)
5488 LD="${LD-ld} -m elf64_s390"
5490 sparc*-*linux*)
5491 LD="${LD-ld} -m elf64_sparc"
5493 esac
5495 esac
5497 rm -rf conftest*
5500 *-*-sco3.2v5*)
5501 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5502 SAVE_CFLAGS="$CFLAGS"
5503 CFLAGS="$CFLAGS -belf"
5504 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5505 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5506 if test "${lt_cv_cc_needs_belf+set}" = set; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 else
5509 ac_ext=c
5510 ac_cpp='$CPP $CPPFLAGS'
5511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5515 if test x$gcc_no_link = xyes; then
5516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5518 { (exit 1); exit 1; }; }
5520 cat >conftest.$ac_ext <<_ACEOF
5521 /* confdefs.h. */
5522 _ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5528 main ()
5532 return 0;
5534 _ACEOF
5535 rm -f conftest.$ac_objext conftest$ac_exeext
5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5537 (eval $ac_link) 2>conftest.er1
5538 ac_status=$?
5539 grep -v '^ *+' conftest.er1 >conftest.err
5540 rm -f conftest.er1
5541 cat conftest.err >&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } &&
5544 { ac_try='test -z "$ac_c_werror_flag"
5545 || test ! -s conftest.err'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547 (eval $ac_try) 2>&5
5548 ac_status=$?
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; } &&
5551 { ac_try='test -s conftest$ac_exeext'
5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553 (eval $ac_try) 2>&5
5554 ac_status=$?
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5557 lt_cv_cc_needs_belf=yes
5558 else
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5562 lt_cv_cc_needs_belf=no
5564 rm -f conftest.err conftest.$ac_objext \
5565 conftest$ac_exeext conftest.$ac_ext
5566 ac_ext=c
5567 ac_cpp='$CPP $CPPFLAGS'
5568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5573 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5574 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5575 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5576 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5577 CFLAGS="$SAVE_CFLAGS"
5580 sparc*-*solaris*)
5581 # Find out which ABI we are using.
5582 echo 'int i;' > conftest.$ac_ext
5583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584 (eval $ac_compile) 2>&5
5585 ac_status=$?
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; then
5588 case `/usr/bin/file conftest.o` in
5589 *64-bit*)
5590 case $lt_cv_prog_gnu_ld in
5591 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5592 *) LD="${LD-ld} -64" ;;
5593 esac
5595 esac
5597 rm -rf conftest*
5599 esac
5601 need_locks="$enable_libtool_lock"
5603 ac_ext=c
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5608 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5609 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5610 # On Suns, sometimes $CPP names a directory.
5611 if test -n "$CPP" && test -d "$CPP"; then
5612 CPP=
5614 if test -z "$CPP"; then
5615 if test "${ac_cv_prog_CPP+set}" = set; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 else
5618 # Double quotes because CPP needs to be expanded
5619 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5621 ac_preproc_ok=false
5622 for ac_c_preproc_warn_flag in '' yes
5624 # Use a header file that comes with gcc, so configuring glibc
5625 # with a fresh cross-compiler works.
5626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5627 # <limits.h> exists even on freestanding compilers.
5628 # On the NeXT, cc -E runs the code through the compiler's parser,
5629 # not just through cpp. "Syntax error" is here to catch this case.
5630 cat >conftest.$ac_ext <<_ACEOF
5631 /* confdefs.h. */
5632 _ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5636 #ifdef __STDC__
5637 # include <limits.h>
5638 #else
5639 # include <assert.h>
5640 #endif
5641 Syntax error
5642 _ACEOF
5643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5645 ac_status=$?
5646 grep -v '^ *+' conftest.er1 >conftest.err
5647 rm -f conftest.er1
5648 cat conftest.err >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } >/dev/null; then
5651 if test -s conftest.err; then
5652 ac_cpp_err=$ac_c_preproc_warn_flag
5653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5654 else
5655 ac_cpp_err=
5657 else
5658 ac_cpp_err=yes
5660 if test -z "$ac_cpp_err"; then
5662 else
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.$ac_ext >&5
5666 # Broken: fails on valid input.
5667 continue
5669 rm -f conftest.err conftest.$ac_ext
5671 # OK, works on sane cases. Now check whether non-existent headers
5672 # can be detected and how.
5673 cat >conftest.$ac_ext <<_ACEOF
5674 /* confdefs.h. */
5675 _ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #include <ac_nonexistent.h>
5680 _ACEOF
5681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5683 ac_status=$?
5684 grep -v '^ *+' conftest.er1 >conftest.err
5685 rm -f conftest.er1
5686 cat conftest.err >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } >/dev/null; then
5689 if test -s conftest.err; then
5690 ac_cpp_err=$ac_c_preproc_warn_flag
5691 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5692 else
5693 ac_cpp_err=
5695 else
5696 ac_cpp_err=yes
5698 if test -z "$ac_cpp_err"; then
5699 # Broken: success on invalid input.
5700 continue
5701 else
5702 echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.$ac_ext >&5
5705 # Passes both tests.
5706 ac_preproc_ok=:
5707 break
5709 rm -f conftest.err conftest.$ac_ext
5711 done
5712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5713 rm -f conftest.err conftest.$ac_ext
5714 if $ac_preproc_ok; then
5715 break
5718 done
5719 ac_cv_prog_CPP=$CPP
5722 CPP=$ac_cv_prog_CPP
5723 else
5724 ac_cv_prog_CPP=$CPP
5726 echo "$as_me:$LINENO: result: $CPP" >&5
5727 echo "${ECHO_T}$CPP" >&6
5728 ac_preproc_ok=false
5729 for ac_c_preproc_warn_flag in '' yes
5731 # Use a header file that comes with gcc, so configuring glibc
5732 # with a fresh cross-compiler works.
5733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5734 # <limits.h> exists even on freestanding compilers.
5735 # On the NeXT, cc -E runs the code through the compiler's parser,
5736 # not just through cpp. "Syntax error" is here to catch this case.
5737 cat >conftest.$ac_ext <<_ACEOF
5738 /* confdefs.h. */
5739 _ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 #ifdef __STDC__
5744 # include <limits.h>
5745 #else
5746 # include <assert.h>
5747 #endif
5748 Syntax error
5749 _ACEOF
5750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5752 ac_status=$?
5753 grep -v '^ *+' conftest.er1 >conftest.err
5754 rm -f conftest.er1
5755 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } >/dev/null; then
5758 if test -s conftest.err; then
5759 ac_cpp_err=$ac_c_preproc_warn_flag
5760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5761 else
5762 ac_cpp_err=
5764 else
5765 ac_cpp_err=yes
5767 if test -z "$ac_cpp_err"; then
5769 else
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 # Broken: fails on valid input.
5774 continue
5776 rm -f conftest.err conftest.$ac_ext
5778 # OK, works on sane cases. Now check whether non-existent headers
5779 # can be detected and how.
5780 cat >conftest.$ac_ext <<_ACEOF
5781 /* confdefs.h. */
5782 _ACEOF
5783 cat confdefs.h >>conftest.$ac_ext
5784 cat >>conftest.$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5786 #include <ac_nonexistent.h>
5787 _ACEOF
5788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5790 ac_status=$?
5791 grep -v '^ *+' conftest.er1 >conftest.err
5792 rm -f conftest.er1
5793 cat conftest.err >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } >/dev/null; then
5796 if test -s conftest.err; then
5797 ac_cpp_err=$ac_c_preproc_warn_flag
5798 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5799 else
5800 ac_cpp_err=
5802 else
5803 ac_cpp_err=yes
5805 if test -z "$ac_cpp_err"; then
5806 # Broken: success on invalid input.
5807 continue
5808 else
5809 echo "$as_me: failed program was:" >&5
5810 sed 's/^/| /' conftest.$ac_ext >&5
5812 # Passes both tests.
5813 ac_preproc_ok=:
5814 break
5816 rm -f conftest.err conftest.$ac_ext
5818 done
5819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5820 rm -f conftest.err conftest.$ac_ext
5821 if $ac_preproc_ok; then
5823 else
5824 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5825 See \`config.log' for more details." >&5
5826 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5827 See \`config.log' for more details." >&2;}
5828 { (exit 1); exit 1; }; }
5831 ac_ext=c
5832 ac_cpp='$CPP $CPPFLAGS'
5833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5838 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5839 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5840 if test "${ac_cv_header_stdc+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 else
5843 cat >conftest.$ac_ext <<_ACEOF
5844 /* confdefs.h. */
5845 _ACEOF
5846 cat confdefs.h >>conftest.$ac_ext
5847 cat >>conftest.$ac_ext <<_ACEOF
5848 /* end confdefs.h. */
5849 #include <stdlib.h>
5850 #include <stdarg.h>
5851 #include <string.h>
5852 #include <float.h>
5855 main ()
5859 return 0;
5861 _ACEOF
5862 rm -f conftest.$ac_objext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864 (eval $ac_compile) 2>conftest.er1
5865 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_c_werror_flag"
5872 || test ! -s conftest.err'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; } &&
5878 { ac_try='test -s conftest.$ac_objext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 (eval $ac_try) 2>&5
5881 ac_status=$?
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 ac_cv_header_stdc=yes
5885 else
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5889 ac_cv_header_stdc=no
5891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5893 if test $ac_cv_header_stdc = yes; then
5894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5895 cat >conftest.$ac_ext <<_ACEOF
5896 /* confdefs.h. */
5897 _ACEOF
5898 cat confdefs.h >>conftest.$ac_ext
5899 cat >>conftest.$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 #include <string.h>
5903 _ACEOF
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905 $EGREP "memchr" >/dev/null 2>&1; then
5907 else
5908 ac_cv_header_stdc=no
5910 rm -f conftest*
5914 if test $ac_cv_header_stdc = yes; then
5915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5916 cat >conftest.$ac_ext <<_ACEOF
5917 /* confdefs.h. */
5918 _ACEOF
5919 cat confdefs.h >>conftest.$ac_ext
5920 cat >>conftest.$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5922 #include <stdlib.h>
5924 _ACEOF
5925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5926 $EGREP "free" >/dev/null 2>&1; then
5928 else
5929 ac_cv_header_stdc=no
5931 rm -f conftest*
5935 if test $ac_cv_header_stdc = yes; then
5936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5937 if test "$cross_compiling" = yes; then
5939 else
5940 cat >conftest.$ac_ext <<_ACEOF
5941 /* confdefs.h. */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5946 #include <ctype.h>
5947 #if ((' ' & 0x0FF) == 0x020)
5948 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5949 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5950 #else
5951 # define ISLOWER(c) \
5952 (('a' <= (c) && (c) <= 'i') \
5953 || ('j' <= (c) && (c) <= 'r') \
5954 || ('s' <= (c) && (c) <= 'z'))
5955 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5956 #endif
5958 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5960 main ()
5962 int i;
5963 for (i = 0; i < 256; i++)
5964 if (XOR (islower (i), ISLOWER (i))
5965 || toupper (i) != TOUPPER (i))
5966 exit(2);
5967 exit (0);
5969 _ACEOF
5970 rm -f conftest$ac_exeext
5971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5972 (eval $ac_link) 2>&5
5973 ac_status=$?
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977 (eval $ac_try) 2>&5
5978 ac_status=$?
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); }; }; then
5982 else
5983 echo "$as_me: program exited with status $ac_status" >&5
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5987 ( exit $ac_status )
5988 ac_cv_header_stdc=no
5990 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5994 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5995 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5996 if test $ac_cv_header_stdc = yes; then
5998 cat >>confdefs.h <<\_ACEOF
5999 #define STDC_HEADERS 1
6000 _ACEOF
6004 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6014 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6015 inttypes.h stdint.h unistd.h
6017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6018 echo "$as_me:$LINENO: checking for $ac_header" >&5
6019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h. */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6031 #include <$ac_header>
6032 _ACEOF
6033 rm -f conftest.$ac_objext
6034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6035 (eval $ac_compile) 2>conftest.er1
6036 ac_status=$?
6037 grep -v '^ *+' conftest.er1 >conftest.err
6038 rm -f conftest.er1
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } &&
6042 { ac_try='test -z "$ac_c_werror_flag"
6043 || test ! -s conftest.err'
6044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 (eval $ac_try) 2>&5
6046 ac_status=$?
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); }; } &&
6049 { ac_try='test -s conftest.$ac_objext'
6050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 (eval $ac_try) 2>&5
6052 ac_status=$?
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; }; then
6055 eval "$as_ac_Header=yes"
6056 else
6057 echo "$as_me: failed program was:" >&5
6058 sed 's/^/| /' conftest.$ac_ext >&5
6060 eval "$as_ac_Header=no"
6062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6067 cat >>confdefs.h <<_ACEOF
6068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6069 _ACEOF
6073 done
6077 for ac_header in dlfcn.h
6079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6080 echo "$as_me:$LINENO: checking for $ac_header" >&5
6081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 cat >conftest.$ac_ext <<_ACEOF
6086 /* confdefs.h. */
6087 _ACEOF
6088 cat confdefs.h >>conftest.$ac_ext
6089 cat >>conftest.$ac_ext <<_ACEOF
6090 /* end confdefs.h. */
6091 $ac_includes_default
6093 #include <$ac_header>
6094 _ACEOF
6095 rm -f conftest.$ac_objext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097 (eval $ac_compile) 2>conftest.er1
6098 ac_status=$?
6099 grep -v '^ *+' conftest.er1 >conftest.err
6100 rm -f conftest.er1
6101 cat conftest.err >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try='test -z "$ac_c_werror_flag"
6105 || test ! -s conftest.err'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 (eval $ac_try) 2>&5
6108 ac_status=$?
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; } &&
6111 { ac_try='test -s conftest.$ac_objext'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113 (eval $ac_try) 2>&5
6114 ac_status=$?
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; }; then
6117 eval "$as_ac_Header=yes"
6118 else
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.$ac_ext >&5
6122 eval "$as_ac_Header=no"
6124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6129 cat >>confdefs.h <<_ACEOF
6130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6131 _ACEOF
6135 done
6139 # This can be used to rebuild libtool when needed
6140 LIBTOOL_DEPS="$ltmain"
6142 # Always use our own libtool.
6143 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6169 test -z "$LN_S" && LN_S="ln -s"
6184 if test -n "${ZSH_VERSION+set}" ; then
6185 setopt NO_GLOB_SUBST
6188 echo "$as_me:$LINENO: checking for objdir" >&5
6189 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6190 if test "${lt_cv_objdir+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 else
6193 rm -f .libs 2>/dev/null
6194 mkdir .libs 2>/dev/null
6195 if test -d .libs; then
6196 lt_cv_objdir=.libs
6197 else
6198 # MS-DOS does not allow filenames that begin with a dot.
6199 lt_cv_objdir=_libs
6201 rmdir .libs 2>/dev/null
6203 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6204 echo "${ECHO_T}$lt_cv_objdir" >&6
6205 objdir=$lt_cv_objdir
6211 cat >>confdefs.h <<_ACEOF
6212 #define LT_OBJDIR "$lt_cv_objdir/"
6213 _ACEOF
6231 case $host_os in
6232 aix3*)
6233 # AIX sometimes has problems with the GCC collect2 program. For some
6234 # reason, if we set the COLLECT_NAMES environment variable, the problems
6235 # vanish in a puff of smoke.
6236 if test "X${COLLECT_NAMES+set}" != Xset; then
6237 COLLECT_NAMES=
6238 export COLLECT_NAMES
6241 esac
6243 # Sed substitution that helps us do robust quoting. It backslashifies
6244 # metacharacters that are still active within double-quoted strings.
6245 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6247 # Same as above, but do not quote variable references.
6248 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6250 # Sed substitution to delay expansion of an escaped shell variable in a
6251 # double_quote_subst'ed string.
6252 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6254 # Sed substitution to delay expansion of an escaped single quote.
6255 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6257 # Sed substitution to avoid accidental globbing in evaled expressions
6258 no_glob_subst='s/\*/\\\*/g'
6260 # Global variables:
6261 ofile=libtool
6262 can_build_shared=yes
6264 # All known linkers require a `.a' archive for static linking (except MSVC,
6265 # which needs '.lib').
6266 libext=a
6268 with_gnu_ld="$lt_cv_prog_gnu_ld"
6270 old_CC="$CC"
6271 old_CFLAGS="$CFLAGS"
6273 # Set sane defaults for various variables
6274 test -z "$CC" && CC=cc
6275 test -z "$LTCC" && LTCC=$CC
6276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6277 test -z "$LD" && LD=ld
6278 test -z "$ac_objext" && ac_objext=o
6280 for cc_temp in $compiler""; do
6281 case $cc_temp in
6282 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6283 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6284 \-*) ;;
6285 *) break;;
6286 esac
6287 done
6288 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6291 # Only perform the check for file, if the check method requires it
6292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6293 case $deplibs_check_method in
6294 file_magic*)
6295 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6296 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6297 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6298 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301 case $MAGIC_CMD in
6302 [\\/*] | ?:[\\/]*)
6303 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6306 lt_save_MAGIC_CMD="$MAGIC_CMD"
6307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6308 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6309 for ac_dir in $ac_dummy; do
6310 IFS="$lt_save_ifs"
6311 test -z "$ac_dir" && ac_dir=.
6312 if test -f $ac_dir/${ac_tool_prefix}file; then
6313 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6314 if test -n "$file_magic_test_file"; then
6315 case $deplibs_check_method in
6316 "file_magic "*)
6317 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6319 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6320 $EGREP "$file_magic_regex" > /dev/null; then
6322 else
6323 cat <<_LT_EOF 1>&2
6325 *** Warning: the command libtool uses to detect shared libraries,
6326 *** $file_magic_cmd, produces output that libtool cannot recognize.
6327 *** The result is that libtool may fail to recognize shared libraries
6328 *** as such. This will affect the creation of libtool libraries that
6329 *** depend on shared libraries, but programs linked with such libtool
6330 *** libraries will work regardless of this problem. Nevertheless, you
6331 *** may want to report the problem to your system manager and/or to
6332 *** bug-libtool@gnu.org
6334 _LT_EOF
6335 fi ;;
6336 esac
6338 break
6340 done
6341 IFS="$lt_save_ifs"
6342 MAGIC_CMD="$lt_save_MAGIC_CMD"
6344 esac
6347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6348 if test -n "$MAGIC_CMD"; then
6349 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6350 echo "${ECHO_T}$MAGIC_CMD" >&6
6351 else
6352 echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6360 if test -z "$lt_cv_path_MAGIC_CMD"; then
6361 if test -n "$ac_tool_prefix"; then
6362 echo "$as_me:$LINENO: checking for file" >&5
6363 echo $ECHO_N "checking for file... $ECHO_C" >&6
6364 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 else
6367 case $MAGIC_CMD in
6368 [\\/*] | ?:[\\/]*)
6369 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6372 lt_save_MAGIC_CMD="$MAGIC_CMD"
6373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6374 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6375 for ac_dir in $ac_dummy; do
6376 IFS="$lt_save_ifs"
6377 test -z "$ac_dir" && ac_dir=.
6378 if test -f $ac_dir/file; then
6379 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6380 if test -n "$file_magic_test_file"; then
6381 case $deplibs_check_method in
6382 "file_magic "*)
6383 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6384 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6385 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6386 $EGREP "$file_magic_regex" > /dev/null; then
6388 else
6389 cat <<_LT_EOF 1>&2
6391 *** Warning: the command libtool uses to detect shared libraries,
6392 *** $file_magic_cmd, produces output that libtool cannot recognize.
6393 *** The result is that libtool may fail to recognize shared libraries
6394 *** as such. This will affect the creation of libtool libraries that
6395 *** depend on shared libraries, but programs linked with such libtool
6396 *** libraries will work regardless of this problem. Nevertheless, you
6397 *** may want to report the problem to your system manager and/or to
6398 *** bug-libtool@gnu.org
6400 _LT_EOF
6401 fi ;;
6402 esac
6404 break
6406 done
6407 IFS="$lt_save_ifs"
6408 MAGIC_CMD="$lt_save_MAGIC_CMD"
6410 esac
6413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6414 if test -n "$MAGIC_CMD"; then
6415 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6416 echo "${ECHO_T}$MAGIC_CMD" >&6
6417 else
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6423 else
6424 MAGIC_CMD=:
6430 esac
6432 # Use C for the default configuration in the libtool script
6434 lt_save_CC="$CC"
6435 ac_ext=c
6436 ac_cpp='$CPP $CPPFLAGS'
6437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6442 # Source file extension for C test sources.
6443 ac_ext=c
6445 # Object file extension for compiled C test sources.
6446 objext=o
6447 objext=$objext
6449 # Code to be used in simple compile tests
6450 lt_simple_compile_test_code="int some_variable = 0;"
6452 # Code to be used in simple link tests
6453 lt_simple_link_test_code='int main(){return(0);}'
6461 # If no C compiler was specified, use CC.
6462 LTCC=${LTCC-"$CC"}
6464 # If no C compiler flags were specified, use CFLAGS.
6465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6467 # Allow CC to be a program name with arguments.
6468 compiler=$CC
6470 # Save the default compiler, since it gets overwritten when the other
6471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6472 compiler_DEFAULT=$CC
6474 # save warnings/boilerplate of simple test code
6475 ac_outfile=conftest.$ac_objext
6476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6478 _lt_compiler_boilerplate=`cat conftest.err`
6479 $RM conftest*
6481 ac_outfile=conftest.$ac_objext
6482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6484 _lt_linker_boilerplate=`cat conftest.err`
6485 $RM conftest*
6488 ## CAVEAT EMPTOR:
6489 ## There is no encapsulation within the following macros, do not change
6490 ## the running order or otherwise move them around unless you know exactly
6491 ## what you are doing...
6492 if test -n "$compiler"; then
6494 lt_prog_compiler_no_builtin_flag=
6496 if test "$GCC" = yes; then
6497 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6499 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6500 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6501 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 else
6504 lt_cv_prog_compiler_rtti_exceptions=no
6505 ac_outfile=conftest.$ac_objext
6506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6507 lt_compiler_flag="-fno-rtti -fno-exceptions"
6508 # Insert the option either (1) after the last *FLAGS variable, or
6509 # (2) before a word containing "conftest.", or (3) at the end.
6510 # Note that $ac_compile itself does not contain backslashes and begins
6511 # with a dollar sign (not a hyphen), so the echo should work correctly.
6512 # The option is referenced via a variable to avoid confusing sed.
6513 lt_compile=`echo "$ac_compile" | $SED \
6514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6516 -e 's:$: $lt_compiler_flag:'`
6517 (eval echo "\"\$as_me:6517: $lt_compile\"" >&5)
6518 (eval "$lt_compile" 2>conftest.err)
6519 ac_status=$?
6520 cat conftest.err >&5
6521 echo "$as_me:6521: \$? = $ac_status" >&5
6522 if (exit $ac_status) && test -s "$ac_outfile"; then
6523 # The compiler can only warn and ignore the option if not recognized
6524 # So say no if there are warnings other than the usual output.
6525 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6528 lt_cv_prog_compiler_rtti_exceptions=yes
6531 $RM conftest*
6534 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6535 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6538 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6539 else
6550 lt_prog_compiler_wl=
6551 lt_prog_compiler_pic=
6552 lt_prog_compiler_static=
6554 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6555 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6557 if test "$GCC" = yes; then
6558 lt_prog_compiler_wl='-Wl,'
6559 lt_prog_compiler_static='-static'
6561 case $host_os in
6562 aix*)
6563 # All AIX code is PIC.
6564 if test "$host_cpu" = ia64; then
6565 # AIX 5 now supports IA64 processor
6566 lt_prog_compiler_static='-Bstatic'
6570 amigaos*)
6571 if test "$host_cpu" = m68k; then
6572 # FIXME: we need at least 68020 code to build shared libraries, but
6573 # adding the `-m68020' flag to GCC prevents building anything better,
6574 # like `-m68040'.
6575 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6579 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6580 # PIC is the default for these OSes.
6583 mingw* | cygwin* | pw32* | os2*)
6584 # This hack is so that the source file can tell whether it is being
6585 # built for inclusion in a dll (and should export symbols for example).
6586 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6587 # (--disable-auto-import) libraries
6588 lt_prog_compiler_pic='-DDLL_EXPORT'
6591 darwin* | rhapsody*)
6592 # PIC is the default on this platform
6593 # Common symbols not allowed in MH_DYLIB files
6594 lt_prog_compiler_pic='-fno-common'
6597 hpux*)
6598 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6599 # not for PA HP-UX.
6600 case $host_cpu in
6601 hppa*64*|ia64*)
6602 # +Z the default
6605 lt_prog_compiler_pic='-fPIC'
6607 esac
6610 interix[3-9]*)
6611 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6612 # Instead, we relocate shared libraries at runtime.
6615 msdosdjgpp*)
6616 # Just because we use GCC doesn't mean we suddenly get shared libraries
6617 # on systems that don't support them.
6618 lt_prog_compiler_can_build_shared=no
6619 enable_shared=no
6622 *nto* | *qnx*)
6623 # QNX uses GNU C++, but need to define -shared option too, otherwise
6624 # it will coredump.
6625 lt_prog_compiler_pic='-fPIC -shared'
6628 sysv4*MP*)
6629 if test -d /usr/nec; then
6630 lt_prog_compiler_pic=-Kconform_pic
6635 lt_prog_compiler_pic='-fPIC'
6637 esac
6638 else
6639 # PORTME Check for flag to pass linker flags through the system compiler.
6640 case $host_os in
6641 aix*)
6642 lt_prog_compiler_wl='-Wl,'
6643 if test "$host_cpu" = ia64; then
6644 # AIX 5 now supports IA64 processor
6645 lt_prog_compiler_static='-Bstatic'
6646 else
6647 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6650 darwin*)
6651 # PIC is the default on this platform
6652 # Common symbols not allowed in MH_DYLIB files
6653 case $cc_basename in
6654 xlc*)
6655 lt_prog_compiler_pic='-qnocommon'
6656 lt_prog_compiler_wl='-Wl,'
6658 esac
6661 mingw* | cygwin* | pw32* | os2*)
6662 # This hack is so that the source file can tell whether it is being
6663 # built for inclusion in a dll (and should export symbols for example).
6664 lt_prog_compiler_pic='-DDLL_EXPORT'
6667 hpux9* | hpux10* | hpux11*)
6668 lt_prog_compiler_wl='-Wl,'
6669 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6670 # not for PA HP-UX.
6671 case $host_cpu in
6672 hppa*64*|ia64*)
6673 # +Z the default
6676 lt_prog_compiler_pic='+Z'
6678 esac
6679 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6680 lt_prog_compiler_static='${wl}-a ${wl}archive'
6683 irix5* | irix6* | nonstopux*)
6684 lt_prog_compiler_wl='-Wl,'
6685 # PIC (with -KPIC) is the default.
6686 lt_prog_compiler_static='-non_shared'
6689 linux* | k*bsd*-gnu)
6690 case $cc_basename in
6691 icc* | ecc*)
6692 lt_prog_compiler_wl='-Wl,'
6693 lt_prog_compiler_pic='-KPIC'
6694 lt_prog_compiler_static='-static'
6696 pgcc* | pgf77* | pgf90* | pgf95*)
6697 # Portland Group compilers (*not* the Pentium gcc compiler,
6698 # which looks to be a dead project)
6699 lt_prog_compiler_wl='-Wl,'
6700 lt_prog_compiler_pic='-fpic'
6701 lt_prog_compiler_static='-Bstatic'
6703 ccc*)
6704 lt_prog_compiler_wl='-Wl,'
6705 # All Alpha code is PIC.
6706 lt_prog_compiler_static='-non_shared'
6709 case `$CC -V 2>&1 | sed 5q` in
6710 *Sun\ C*)
6711 # Sun C 5.9
6712 lt_prog_compiler_pic='-KPIC'
6713 lt_prog_compiler_static='-Bstatic'
6714 lt_prog_compiler_wl='-Wl,'
6716 *Sun\ F*)
6717 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6718 lt_prog_compiler_pic='-KPIC'
6719 lt_prog_compiler_static='-Bstatic'
6720 lt_prog_compiler_wl=''
6722 esac
6724 esac
6727 newsos6)
6728 lt_prog_compiler_pic='-KPIC'
6729 lt_prog_compiler_static='-Bstatic'
6732 *nto* | *qnx*)
6733 # QNX uses GNU C++, but need to define -shared option too, otherwise
6734 # it will coredump.
6735 lt_prog_compiler_pic='-fPIC -shared'
6738 osf3* | osf4* | osf5*)
6739 lt_prog_compiler_wl='-Wl,'
6740 # All OSF/1 code is PIC.
6741 lt_prog_compiler_static='-non_shared'
6744 rdos*)
6745 lt_prog_compiler_static='-non_shared'
6748 solaris*)
6749 lt_prog_compiler_pic='-KPIC'
6750 lt_prog_compiler_static='-Bstatic'
6751 case $cc_basename in
6752 f77* | f90* | f95*)
6753 lt_prog_compiler_wl='-Qoption ld ';;
6755 lt_prog_compiler_wl='-Wl,';;
6756 esac
6759 sunos4*)
6760 lt_prog_compiler_wl='-Qoption ld '
6761 lt_prog_compiler_pic='-PIC'
6762 lt_prog_compiler_static='-Bstatic'
6765 sysv4 | sysv4.2uw2* | sysv4.3*)
6766 lt_prog_compiler_wl='-Wl,'
6767 lt_prog_compiler_pic='-KPIC'
6768 lt_prog_compiler_static='-Bstatic'
6771 sysv4*MP*)
6772 if test -d /usr/nec ;then
6773 lt_prog_compiler_pic='-Kconform_pic'
6774 lt_prog_compiler_static='-Bstatic'
6778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6779 lt_prog_compiler_wl='-Wl,'
6780 lt_prog_compiler_pic='-KPIC'
6781 lt_prog_compiler_static='-Bstatic'
6784 unicos*)
6785 lt_prog_compiler_wl='-Wl,'
6786 lt_prog_compiler_can_build_shared=no
6789 uts4*)
6790 lt_prog_compiler_pic='-pic'
6791 lt_prog_compiler_static='-Bstatic'
6795 lt_prog_compiler_can_build_shared=no
6797 esac
6800 case $host_os in
6801 # For platforms which do not support PIC, -DPIC is meaningless:
6802 *djgpp*)
6803 lt_prog_compiler_pic=
6806 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6808 esac
6809 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6810 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6818 # Check to make sure the PIC flag actually works.
6820 if test -n "$lt_prog_compiler_pic"; then
6821 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6822 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6823 if test "${lt_prog_compiler_pic_works+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else
6826 lt_prog_compiler_pic_works=no
6827 ac_outfile=conftest.$ac_objext
6828 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6829 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6830 # Insert the option either (1) after the last *FLAGS variable, or
6831 # (2) before a word containing "conftest.", or (3) at the end.
6832 # Note that $ac_compile itself does not contain backslashes and begins
6833 # with a dollar sign (not a hyphen), so the echo should work correctly.
6834 # The option is referenced via a variable to avoid confusing sed.
6835 lt_compile=`echo "$ac_compile" | $SED \
6836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6838 -e 's:$: $lt_compiler_flag:'`
6839 (eval echo "\"\$as_me:6839: $lt_compile\"" >&5)
6840 (eval "$lt_compile" 2>conftest.err)
6841 ac_status=$?
6842 cat conftest.err >&5
6843 echo "$as_me:6843: \$? = $ac_status" >&5
6844 if (exit $ac_status) && test -s "$ac_outfile"; then
6845 # The compiler can only warn and ignore the option if not recognized
6846 # So say no if there are warnings other than the usual output.
6847 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6848 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6849 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6850 lt_prog_compiler_pic_works=yes
6853 $RM conftest*
6856 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6857 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6859 if test x"$lt_prog_compiler_pic_works" = xyes; then
6860 case $lt_prog_compiler_pic in
6861 "" | " "*) ;;
6862 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6863 esac
6864 else
6865 lt_prog_compiler_pic=
6866 lt_prog_compiler_can_build_shared=no
6877 # Check to make sure the static flag actually works.
6879 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6880 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6881 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6882 if test "${lt_prog_compiler_static_works+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 else
6885 lt_prog_compiler_static_works=no
6886 save_LDFLAGS="$LDFLAGS"
6887 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6888 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6889 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6890 # The linker can only warn and ignore the option if not recognized
6891 # So say no if there are warnings
6892 if test -s conftest.err; then
6893 # Append any errors to the config.log.
6894 cat conftest.err 1>&5
6895 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6896 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6897 if diff conftest.exp conftest.er2 >/dev/null; then
6898 lt_prog_compiler_static_works=yes
6900 else
6901 lt_prog_compiler_static_works=yes
6904 $RM conftest*
6905 LDFLAGS="$save_LDFLAGS"
6908 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6909 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6911 if test x"$lt_prog_compiler_static_works" = xyes; then
6913 else
6914 lt_prog_compiler_static=
6923 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6924 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6925 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928 lt_cv_prog_compiler_c_o=no
6929 $RM -r conftest 2>/dev/null
6930 mkdir conftest
6931 cd conftest
6932 mkdir out
6933 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6935 lt_compiler_flag="-o out/conftest2.$ac_objext"
6936 # Insert the option either (1) after the last *FLAGS variable, or
6937 # (2) before a word containing "conftest.", or (3) at the end.
6938 # Note that $ac_compile itself does not contain backslashes and begins
6939 # with a dollar sign (not a hyphen), so the echo should work correctly.
6940 lt_compile=`echo "$ac_compile" | $SED \
6941 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6942 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6943 -e 's:$: $lt_compiler_flag:'`
6944 (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
6945 (eval "$lt_compile" 2>out/conftest.err)
6946 ac_status=$?
6947 cat out/conftest.err >&5
6948 echo "$as_me:6948: \$? = $ac_status" >&5
6949 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6950 then
6951 # The compiler can only warn and ignore the option if not recognized
6952 # So say no if there are warnings
6953 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6954 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6955 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6956 lt_cv_prog_compiler_c_o=yes
6959 chmod u+w . 2>&5
6960 $RM conftest*
6961 # SGI C++ compiler will create directory out/ii_files/ for
6962 # template instantiation
6963 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6964 $RM out/* && rmdir out
6965 cd ..
6966 $RM -r conftest
6967 $RM conftest*
6970 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6971 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6978 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6979 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6980 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 else
6983 lt_cv_prog_compiler_c_o=no
6984 $RM -r conftest 2>/dev/null
6985 mkdir conftest
6986 cd conftest
6987 mkdir out
6988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6990 lt_compiler_flag="-o out/conftest2.$ac_objext"
6991 # Insert the option either (1) after the last *FLAGS variable, or
6992 # (2) before a word containing "conftest.", or (3) at the end.
6993 # Note that $ac_compile itself does not contain backslashes and begins
6994 # with a dollar sign (not a hyphen), so the echo should work correctly.
6995 lt_compile=`echo "$ac_compile" | $SED \
6996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6998 -e 's:$: $lt_compiler_flag:'`
6999 (eval echo "\"\$as_me:6999: $lt_compile\"" >&5)
7000 (eval "$lt_compile" 2>out/conftest.err)
7001 ac_status=$?
7002 cat out/conftest.err >&5
7003 echo "$as_me:7003: \$? = $ac_status" >&5
7004 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7005 then
7006 # The compiler can only warn and ignore the option if not recognized
7007 # So say no if there are warnings
7008 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7009 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7010 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7011 lt_cv_prog_compiler_c_o=yes
7014 chmod u+w . 2>&5
7015 $RM conftest*
7016 # SGI C++ compiler will create directory out/ii_files/ for
7017 # template instantiation
7018 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7019 $RM out/* && rmdir out
7020 cd ..
7021 $RM -r conftest
7022 $RM conftest*
7025 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7026 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7031 hard_links="nottested"
7032 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7033 # do not overwrite the value of need_locks provided by the user
7034 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7035 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7036 hard_links=yes
7037 $RM conftest*
7038 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7039 touch conftest.a
7040 ln conftest.a conftest.b 2>&5 || hard_links=no
7041 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7042 echo "$as_me:$LINENO: result: $hard_links" >&5
7043 echo "${ECHO_T}$hard_links" >&6
7044 if test "$hard_links" = no; then
7045 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7046 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7047 need_locks=warn
7049 else
7050 need_locks=no
7058 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7059 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7061 runpath_var=
7062 allow_undefined_flag=
7063 always_export_symbols=no
7064 archive_cmds=
7065 archive_expsym_cmds=
7066 compiler_needs_object=no
7067 enable_shared_with_static_runtimes=no
7068 export_dynamic_flag_spec=
7069 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7070 hardcode_automatic=no
7071 hardcode_direct=no
7072 hardcode_direct_absolute=no
7073 hardcode_libdir_flag_spec=
7074 hardcode_libdir_flag_spec_ld=
7075 hardcode_libdir_separator=
7076 hardcode_minus_L=no
7077 hardcode_shlibpath_var=unsupported
7078 inherit_rpath=no
7079 link_all_deplibs=unknown
7080 module_cmds=
7081 module_expsym_cmds=
7082 old_archive_from_new_cmds=
7083 old_archive_from_expsyms_cmds=
7084 thread_safe_flag_spec=
7085 whole_archive_flag_spec=
7086 # include_expsyms should be a list of space-separated symbols to be *always*
7087 # included in the symbol list
7088 include_expsyms=
7089 # exclude_expsyms can be an extended regexp of symbols to exclude
7090 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7091 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7092 # as well as any symbol that contains `d'.
7093 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7094 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7095 # platforms (ab)use it in PIC code, but their linkers get confused if
7096 # the symbol is explicitly referenced. Since portable code cannot
7097 # rely on this symbol name, it's probably fine to never include it in
7098 # preloaded symbol tables.
7099 extract_expsyms_cmds=
7101 case $host_os in
7102 cygwin* | mingw* | pw32*)
7103 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7104 # When not using gcc, we currently assume that we are using
7105 # Microsoft Visual C++.
7106 if test "$GCC" != yes; then
7107 with_gnu_ld=no
7110 interix*)
7111 # we just hope/assume this is gcc and not c89 (= MSVC++)
7112 with_gnu_ld=yes
7114 openbsd*)
7115 with_gnu_ld=no
7117 esac
7119 ld_shlibs=yes
7120 if test "$with_gnu_ld" = yes; then
7121 # If archive_cmds runs LD, not CC, wlarc should be empty
7122 wlarc='${wl}'
7124 # Set some defaults for GNU ld with shared library support. These
7125 # are reset later if shared libraries are not supported. Putting them
7126 # here allows them to be overridden if necessary.
7127 runpath_var=LD_RUN_PATH
7128 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7129 export_dynamic_flag_spec='${wl}--export-dynamic'
7130 # ancient GNU ld didn't support --whole-archive et. al.
7131 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7132 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7133 else
7134 whole_archive_flag_spec=
7136 supports_anon_versioning=no
7137 case `$LD -v 2>&1` in
7138 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7139 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7140 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7141 *\ 2.11.*) ;; # other 2.11 versions
7142 *) supports_anon_versioning=yes ;;
7143 esac
7145 # See if GNU ld supports shared libraries.
7146 case $host_os in
7147 aix3* | aix4* | aix5*)
7148 # On AIX/PPC, the GNU linker is very broken
7149 if test "$host_cpu" != ia64; then
7150 ld_shlibs=no
7151 cat <<_LT_EOF 1>&2
7153 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7154 *** to be unable to reliably create shared libraries on AIX.
7155 *** Therefore, libtool is disabling shared libraries support. If you
7156 *** really care for shared libraries, you may want to modify your PATH
7157 *** so that a non-GNU linker is found, and then restart.
7159 _LT_EOF
7163 amigaos*)
7164 if test "$host_cpu" = m68k; then
7165 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7166 hardcode_libdir_flag_spec='-L$libdir'
7167 hardcode_minus_L=yes
7170 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7171 # that the semantics of dynamic libraries on AmigaOS, at least up
7172 # to version 4, is to share data among multiple programs linked
7173 # with the same dynamic library. Since this doesn't match the
7174 # behavior of shared libraries on other platforms, we can't use
7175 # them.
7176 ld_shlibs=no
7179 beos*)
7180 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7181 allow_undefined_flag=unsupported
7182 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7183 # support --undefined. This deserves some investigation. FIXME
7184 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7185 else
7186 ld_shlibs=no
7190 cygwin* | mingw* | pw32*)
7191 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7192 # as there is no search path for DLLs.
7193 hardcode_libdir_flag_spec='-L$libdir'
7194 allow_undefined_flag=unsupported
7195 always_export_symbols=no
7196 enable_shared_with_static_runtimes=yes
7197 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7199 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7201 # If the export-symbols file already is a .def file (1st line
7202 # is EXPORTS), use it as is; otherwise, prepend...
7203 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7204 cp $export_symbols $output_objdir/$soname.def;
7205 else
7206 echo EXPORTS > $output_objdir/$soname.def;
7207 cat $export_symbols >> $output_objdir/$soname.def;
7209 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7210 else
7211 ld_shlibs=no
7215 interix[3-9]*)
7216 hardcode_direct=no
7217 hardcode_shlibpath_var=no
7218 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7219 export_dynamic_flag_spec='${wl}-E'
7220 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7221 # Instead, shared libraries are loaded at an image base (0x10000000 by
7222 # default) and relocated if they conflict, which is a slow very memory
7223 # consuming and fragmenting process. To avoid this, we pick a random,
7224 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7225 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7226 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7227 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7230 gnu* | linux* | tpf* | k*bsd*-gnu)
7231 tmp_diet=no
7232 if test "$host_os" = linux-dietlibc; then
7233 case $cc_basename in
7234 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7235 esac
7237 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7238 && test "$tmp_diet" = no
7239 then
7240 tmp_addflag=
7241 case $cc_basename,$host_cpu in
7242 pgcc*) # Portland Group C compiler
7243 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7244 tmp_addflag=' $pic_flag'
7246 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7247 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7248 tmp_addflag=' $pic_flag -Mnomain' ;;
7249 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7250 tmp_addflag=' -i_dynamic' ;;
7251 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7252 tmp_addflag=' -i_dynamic -nofor_main' ;;
7253 ifc* | ifort*) # Intel Fortran compiler
7254 tmp_addflag=' -nofor_main' ;;
7255 esac
7256 case `$CC -V 2>&1 | sed 5q` in
7257 *Sun\ C*) # Sun C 5.9
7258 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7259 compiler_needs_object=yes
7260 tmp_sharedflag='-G' ;;
7261 *Sun\ F*) # Sun Fortran 8.3
7262 tmp_sharedflag='-G' ;;
7264 tmp_sharedflag='-shared' ;;
7265 esac
7266 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7268 if test "x$supports_anon_versioning" = xyes; then
7269 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7270 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7271 echo "local: *; };" >> $output_objdir/$libname.ver~
7272 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7274 else
7275 ld_shlibs=no
7279 netbsd*)
7280 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7281 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7282 wlarc=
7283 else
7284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7285 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7289 solaris*)
7290 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7291 ld_shlibs=no
7292 cat <<_LT_EOF 1>&2
7294 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7295 *** create shared libraries on Solaris systems. Therefore, libtool
7296 *** is disabling shared libraries support. We urge you to upgrade GNU
7297 *** binutils to release 2.9.1 or newer. Another option is to modify
7298 *** your PATH or compiler configuration so that the native linker is
7299 *** used, and then restart.
7301 _LT_EOF
7302 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7303 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7304 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7305 else
7306 ld_shlibs=no
7310 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7311 case `$LD -v 2>&1` in
7312 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7313 ld_shlibs=no
7314 cat <<_LT_EOF 1>&2
7316 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7317 *** reliably create shared libraries on SCO systems. Therefore, libtool
7318 *** is disabling shared libraries support. We urge you to upgrade GNU
7319 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7320 *** your PATH or compiler configuration so that the native linker is
7321 *** used, and then restart.
7323 _LT_EOF
7326 # For security reasons, it is highly recommended that you always
7327 # use absolute paths for naming shared libraries, and exclude the
7328 # DT_RUNPATH tag from executables and libraries. But doing so
7329 # requires that you compile everything twice, which is a pain.
7330 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7331 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7333 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7334 else
7335 ld_shlibs=no
7338 esac
7341 sunos4*)
7342 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7343 wlarc=
7344 hardcode_direct=yes
7345 hardcode_shlibpath_var=no
7349 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7351 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7352 else
7353 ld_shlibs=no
7356 esac
7358 if test "$ld_shlibs" = no; then
7359 runpath_var=
7360 hardcode_libdir_flag_spec=
7361 export_dynamic_flag_spec=
7362 whole_archive_flag_spec=
7364 else
7365 # PORTME fill in a description of your system's linker (not GNU ld)
7366 case $host_os in
7367 aix3*)
7368 allow_undefined_flag=unsupported
7369 always_export_symbols=yes
7370 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7371 # Note: this linker hardcodes the directories in LIBPATH if there
7372 # are no directories specified by -L.
7373 hardcode_minus_L=yes
7374 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7375 # Neither direct hardcoding nor static linking is supported with a
7376 # broken collect2.
7377 hardcode_direct=unsupported
7381 aix4* | aix5*)
7382 if test "$host_cpu" = ia64; then
7383 # On IA64, the linker does run time linking by default, so we don't
7384 # have to do anything special.
7385 aix_use_runtimelinking=no
7386 exp_sym_flag='-Bexport'
7387 no_entry_flag=""
7388 else
7389 # If we're using GNU nm, then we don't want the "-C" option.
7390 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7392 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7393 else
7394 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7396 aix_use_runtimelinking=no
7398 # Test if we are trying to use run time linking or normal
7399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7400 # need to do runtime linking.
7401 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7402 for ld_flag in $LDFLAGS; do
7403 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7404 aix_use_runtimelinking=yes
7405 break
7407 done
7409 esac
7411 exp_sym_flag='-bexport'
7412 no_entry_flag='-bnoentry'
7415 # When large executables or shared objects are built, AIX ld can
7416 # have problems creating the table of contents. If linking a library
7417 # or program results in "error TOC overflow" add -mminimal-toc to
7418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7421 archive_cmds=''
7422 hardcode_direct=yes
7423 hardcode_direct_absolute=yes
7424 hardcode_libdir_separator=':'
7425 link_all_deplibs=yes
7426 file_list_spec='${wl}-f,'
7428 if test "$GCC" = yes; then
7429 case $host_os in aix4.[012]|aix4.[012].*)
7430 # We only want to do this on AIX 4.2 and lower, the check
7431 # below for broken collect2 doesn't work under 4.3+
7432 collect2name=`${CC} -print-prog-name=collect2`
7433 if test -f "$collect2name" &&
7434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7435 then
7436 # We have reworked collect2
7438 else
7439 # We have old collect2
7440 hardcode_direct=unsupported
7441 # It fails to find uninstalled libraries when the uninstalled
7442 # path is not listed in the libpath. Setting hardcode_minus_L
7443 # to unsupported forces relinking
7444 hardcode_minus_L=yes
7445 hardcode_libdir_flag_spec='-L$libdir'
7446 hardcode_libdir_separator=
7449 esac
7450 shared_flag='-shared'
7451 if test "$aix_use_runtimelinking" = yes; then
7452 shared_flag="$shared_flag "'${wl}-G'
7454 else
7455 # not using gcc
7456 if test "$host_cpu" = ia64; then
7457 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7458 # chokes on -Wl,-G. The following line is correct:
7459 shared_flag='-G'
7460 else
7461 if test "$aix_use_runtimelinking" = yes; then
7462 shared_flag='${wl}-G'
7463 else
7464 shared_flag='${wl}-bM:SRE'
7469 # It seems that -bexpall does not export symbols beginning with
7470 # underscore (_), so it is better to generate a list of symbols to export.
7471 always_export_symbols=yes
7472 if test "$aix_use_runtimelinking" = yes; then
7473 # Warning - without using the other runtime loading flags (-brtl),
7474 # -berok will link without error, but may produce a broken library.
7475 allow_undefined_flag='-berok'
7476 # Determine the default libpath from the value encoded in an
7477 # empty executable.
7478 if test x$gcc_no_link = xyes; then
7479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7481 { (exit 1); exit 1; }; }
7483 cat >conftest.$ac_ext <<_ACEOF
7484 /* confdefs.h. */
7485 _ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7491 main ()
7495 return 0;
7497 _ACEOF
7498 rm -f conftest.$ac_objext conftest$ac_exeext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 (eval $ac_link) 2>conftest.er1
7501 ac_status=$?
7502 grep -v '^ *+' conftest.er1 >conftest.err
7503 rm -f conftest.er1
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try='test -z "$ac_c_werror_flag"
7508 || test ! -s conftest.err'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 (eval $ac_try) 2>&5
7511 ac_status=$?
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; } &&
7514 { ac_try='test -s conftest$ac_exeext'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 (eval $ac_try) 2>&5
7517 ac_status=$?
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; }; then
7521 lt_aix_libpath_sed='
7522 /Import File Strings/,/^$/ {
7523 /^0/ {
7524 s/^0 *\(.*\)$/\1/
7528 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7529 # Check for a 64-bit object if we didn't find anything.
7530 if test -z "$aix_libpath"; then
7531 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7533 else
7534 echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7538 rm -f conftest.err conftest.$ac_objext \
7539 conftest$ac_exeext conftest.$ac_ext
7540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7542 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7543 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7544 else
7545 if test "$host_cpu" = ia64; then
7546 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7547 allow_undefined_flag="-z nodefs"
7548 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7549 else
7550 # Determine the default libpath from the value encoded in an
7551 # empty executable.
7552 if test x$gcc_no_link = xyes; then
7553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7555 { (exit 1); exit 1; }; }
7557 cat >conftest.$ac_ext <<_ACEOF
7558 /* confdefs.h. */
7559 _ACEOF
7560 cat confdefs.h >>conftest.$ac_ext
7561 cat >>conftest.$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7565 main ()
7569 return 0;
7571 _ACEOF
7572 rm -f conftest.$ac_objext conftest$ac_exeext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7574 (eval $ac_link) 2>conftest.er1
7575 ac_status=$?
7576 grep -v '^ *+' conftest.er1 >conftest.err
7577 rm -f conftest.er1
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } &&
7581 { ac_try='test -z "$ac_c_werror_flag"
7582 || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5
7585 ac_status=$?
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try='test -s conftest$ac_exeext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 (eval $ac_try) 2>&5
7591 ac_status=$?
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7595 lt_aix_libpath_sed='
7596 /Import File Strings/,/^$/ {
7597 /^0/ {
7598 s/^0 *\(.*\)$/\1/
7602 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7603 # Check for a 64-bit object if we didn't find anything.
7604 if test -z "$aix_libpath"; then
7605 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7607 else
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7612 rm -f conftest.err conftest.$ac_objext \
7613 conftest$ac_exeext conftest.$ac_ext
7614 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7616 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7617 # Warning - without using the other run time loading flags,
7618 # -berok will link without error, but may produce a broken library.
7619 no_undefined_flag=' ${wl}-bernotok'
7620 allow_undefined_flag=' ${wl}-berok'
7621 # Exported symbols can be pulled into shared objects from archives
7622 whole_archive_flag_spec='$convenience'
7623 archive_cmds_need_lc=yes
7624 # This is similar to how AIX traditionally builds its shared libraries.
7625 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7630 amigaos*)
7631 if test "$host_cpu" = m68k; then
7632 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7633 hardcode_libdir_flag_spec='-L$libdir'
7634 hardcode_minus_L=yes
7636 # see comment about different semantics on the GNU ld section
7637 ld_shlibs=no
7640 bsdi[45]*)
7641 export_dynamic_flag_spec=-rdynamic
7644 cygwin* | mingw* | pw32*)
7645 # When not using gcc, we currently assume that we are using
7646 # Microsoft Visual C++.
7647 # hardcode_libdir_flag_spec is actually meaningless, as there is
7648 # no search path for DLLs.
7649 hardcode_libdir_flag_spec=' '
7650 allow_undefined_flag=unsupported
7651 # Tell ltmain to make .lib files, not .a files.
7652 libext=lib
7653 # Tell ltmain to make .dll files, not .so files.
7654 shrext_cmds=".dll"
7655 # FIXME: Setting linknames here is a bad hack.
7656 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7657 # The linker will automatically build a .lib file if we build a DLL.
7658 old_archive_from_new_cmds='true'
7659 # FIXME: Should let the user specify the lib program.
7660 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7661 fix_srcfile_path='`cygpath -w "$srcfile"`'
7662 enable_shared_with_static_runtimes=yes
7665 darwin* | rhapsody*)
7666 case $host_os in
7667 rhapsody* | darwin1.[012])
7668 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7670 *) # Darwin 1.3 on
7671 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7672 10.[012])
7673 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7675 10.*)
7676 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7678 esac
7680 esac
7681 archive_cmds_need_lc=no
7682 hardcode_direct=no
7683 hardcode_automatic=yes
7684 hardcode_shlibpath_var=unsupported
7685 whole_archive_flag_spec=''
7686 link_all_deplibs=yes
7687 if test "$GCC" = yes ; then
7688 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 else
7691 lt_cv_apple_cc_single_mod=no
7692 if test -z "${LT_MULTI_MODULE}"; then
7693 # By default we will add the -single_module flag. You can override
7694 # by either setting the environment variable LT_MULTI_MODULE
7695 # non-empty at configure time, or by adding -multi-module to the
7696 # link flags.
7697 echo "int foo(void){return 1;}" > conftest.c
7698 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7699 -dynamiclib ${wl}-single_module conftest.c
7700 if test -f libconftest.dylib; then
7701 lt_cv_apple_cc_single_mod=yes
7702 rm libconftest.dylib
7704 rm conftest.$ac_ext
7708 output_verbose_link_cmd=echo
7709 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7710 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7711 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7712 else
7713 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7714 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7716 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7717 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7718 else
7719 case $cc_basename in
7720 xlc*)
7721 output_verbose_link_cmd=echo
7722 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7723 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7724 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7725 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7726 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7729 ld_shlibs=no
7731 esac
7735 dgux*)
7736 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7737 hardcode_libdir_flag_spec='-L$libdir'
7738 hardcode_shlibpath_var=no
7741 freebsd1*)
7742 ld_shlibs=no
7745 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7746 # support. Future versions do this automatically, but an explicit c++rt0.o
7747 # does not break anything, and helps significantly (at the cost of a little
7748 # extra space).
7749 freebsd2.2*)
7750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7751 hardcode_libdir_flag_spec='-R$libdir'
7752 hardcode_direct=yes
7753 hardcode_shlibpath_var=no
7756 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7757 freebsd2*)
7758 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7759 hardcode_direct=yes
7760 hardcode_minus_L=yes
7761 hardcode_shlibpath_var=no
7764 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7765 freebsd* | dragonfly*)
7766 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7767 hardcode_libdir_flag_spec='-R$libdir'
7768 hardcode_direct=yes
7769 hardcode_shlibpath_var=no
7772 hpux9*)
7773 if test "$GCC" = yes; then
7774 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7775 else
7776 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7778 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7779 hardcode_libdir_separator=:
7780 hardcode_direct=yes
7782 # hardcode_minus_L: Not really in the search PATH,
7783 # but as the default location of the library.
7784 hardcode_minus_L=yes
7785 export_dynamic_flag_spec='${wl}-E'
7788 hpux10*)
7789 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7791 else
7792 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7794 if test "$with_gnu_ld" = no; then
7795 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7796 hardcode_libdir_flag_spec_ld='+b $libdir'
7797 hardcode_libdir_separator=:
7798 hardcode_direct=yes
7799 hardcode_direct_absolute=yes
7800 export_dynamic_flag_spec='${wl}-E'
7801 # hardcode_minus_L: Not really in the search PATH,
7802 # but as the default location of the library.
7803 hardcode_minus_L=yes
7807 hpux11*)
7808 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7809 case $host_cpu in
7810 hppa*64*)
7811 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7813 ia64*)
7814 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7817 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7819 esac
7820 else
7821 case $host_cpu in
7822 hppa*64*)
7823 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7825 ia64*)
7826 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7829 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7831 esac
7833 if test "$with_gnu_ld" = no; then
7834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7835 hardcode_libdir_separator=:
7837 case $host_cpu in
7838 hppa*64*|ia64*)
7839 hardcode_direct=no
7840 hardcode_shlibpath_var=no
7843 hardcode_direct=yes
7844 hardcode_direct_absolute=yes
7845 export_dynamic_flag_spec='${wl}-E'
7847 # hardcode_minus_L: Not really in the search PATH,
7848 # but as the default location of the library.
7849 hardcode_minus_L=yes
7851 esac
7855 irix5* | irix6* | nonstopux*)
7856 if test "$GCC" = yes; then
7857 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7858 # Try to use the -exported_symbol ld option, if it does not
7859 # work, assume that -exports_file does not work either and
7860 # implicitly export all symbols.
7861 save_LDFLAGS="$LDFLAGS"
7862 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7863 if test x$gcc_no_link = xyes; then
7864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7866 { (exit 1); exit 1; }; }
7868 cat >conftest.$ac_ext <<_ACEOF
7869 int foo(void) {}
7870 _ACEOF
7871 rm -f conftest.$ac_objext conftest$ac_exeext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873 (eval $ac_link) 2>conftest.er1
7874 ac_status=$?
7875 grep -v '^ *+' conftest.er1 >conftest.err
7876 rm -f conftest.er1
7877 cat conftest.err >&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try='test -z "$ac_c_werror_flag"
7881 || test ! -s conftest.err'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 (eval $ac_try) 2>&5
7884 ac_status=$?
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; } &&
7887 { ac_try='test -s conftest$ac_exeext'
7888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 (eval $ac_try) 2>&5
7890 ac_status=$?
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); }; }; then
7893 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7895 else
7896 echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.$ac_ext >&5
7900 rm -f conftest.err conftest.$ac_objext \
7901 conftest$ac_exeext conftest.$ac_ext
7902 LDFLAGS="$save_LDFLAGS"
7903 else
7904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7905 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7907 archive_cmds_need_lc='no'
7908 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7909 hardcode_libdir_separator=:
7910 inherit_rpath=yes
7911 link_all_deplibs=yes
7914 netbsd*)
7915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7916 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7917 else
7918 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7920 hardcode_libdir_flag_spec='-R$libdir'
7921 hardcode_direct=yes
7922 hardcode_shlibpath_var=no
7925 newsos6)
7926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7927 hardcode_direct=yes
7928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7929 hardcode_libdir_separator=:
7930 hardcode_shlibpath_var=no
7933 *nto* | *qnx*)
7936 openbsd*)
7937 hardcode_direct=yes
7938 hardcode_shlibpath_var=no
7939 hardcode_direct_absolute=yes
7940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7944 export_dynamic_flag_spec='${wl}-E'
7945 else
7946 case $host_os in
7947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7949 hardcode_libdir_flag_spec='-R$libdir'
7952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7955 esac
7959 os2*)
7960 hardcode_libdir_flag_spec='-L$libdir'
7961 hardcode_minus_L=yes
7962 allow_undefined_flag=unsupported
7963 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7964 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7967 osf3*)
7968 if test "$GCC" = yes; then
7969 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7970 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7971 else
7972 allow_undefined_flag=' -expect_unresolved \*'
7973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7975 archive_cmds_need_lc='no'
7976 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7977 hardcode_libdir_separator=:
7980 osf4* | osf5*) # as osf3* with the addition of -msym flag
7981 if test "$GCC" = yes; then
7982 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7983 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7985 else
7986 allow_undefined_flag=' -expect_unresolved \*'
7987 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7988 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7989 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7991 # Both c and cxx compiler support -rpath directly
7992 hardcode_libdir_flag_spec='-rpath $libdir'
7994 archive_cmds_need_lc='no'
7995 hardcode_libdir_separator=:
7998 solaris*)
7999 no_undefined_flag=' -z defs'
8000 if test "$GCC" = yes; then
8001 wlarc='${wl}'
8002 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8003 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8004 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8005 else
8006 case `$CC -V 2>&1` in
8007 *"Compilers 5.0"*)
8008 wlarc=''
8009 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8010 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8011 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8014 wlarc='${wl}'
8015 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8016 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8017 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8019 esac
8021 hardcode_libdir_flag_spec='-R$libdir'
8022 hardcode_shlibpath_var=no
8023 case $host_os in
8024 solaris2.[0-5] | solaris2.[0-5].*) ;;
8026 # The compiler driver will combine and reorder linker options,
8027 # but understands `-z linker_flag'. GCC discards it without `$wl',
8028 # but is careful enough not to reorder.
8029 # Supported since Solaris 2.6 (maybe 2.5.1?)
8030 if test "$GCC" = yes; then
8031 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8032 else
8033 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8036 esac
8037 link_all_deplibs=yes
8040 sunos4*)
8041 if test "x$host_vendor" = xsequent; then
8042 # Use $CC to link under sequent, because it throws in some extra .o
8043 # files that make .init and .fini sections work.
8044 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8045 else
8046 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8048 hardcode_libdir_flag_spec='-L$libdir'
8049 hardcode_direct=yes
8050 hardcode_minus_L=yes
8051 hardcode_shlibpath_var=no
8054 sysv4)
8055 case $host_vendor in
8056 sni)
8057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8058 hardcode_direct=yes # is this really true???
8060 siemens)
8061 ## LD is ld it makes a PLAMLIB
8062 ## CC just makes a GrossModule.
8063 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8064 reload_cmds='$CC -r -o $output$reload_objs'
8065 hardcode_direct=no
8067 motorola)
8068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8069 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8071 esac
8072 runpath_var='LD_RUN_PATH'
8073 hardcode_shlibpath_var=no
8076 sysv4.3*)
8077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8078 hardcode_shlibpath_var=no
8079 export_dynamic_flag_spec='-Bexport'
8082 sysv4*MP*)
8083 if test -d /usr/nec; then
8084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8085 hardcode_shlibpath_var=no
8086 runpath_var=LD_RUN_PATH
8087 hardcode_runpath_var=yes
8088 ld_shlibs=yes
8092 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8093 no_undefined_flag='${wl}-z,text'
8094 archive_cmds_need_lc=no
8095 hardcode_shlibpath_var=no
8096 runpath_var='LD_RUN_PATH'
8098 if test "$GCC" = yes; then
8099 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8100 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8101 else
8102 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8103 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8107 sysv5* | sco3.2v5* | sco5v6*)
8108 # Note: We can NOT use -z defs as we might desire, because we do not
8109 # link with -lc, and that would cause any symbols used from libc to
8110 # always be unresolved, which means just about no library would
8111 # ever link correctly. If we're not using GNU ld we use -z text
8112 # though, which does catch some bad symbols but isn't as heavy-handed
8113 # as -z defs.
8114 no_undefined_flag='${wl}-z,text'
8115 allow_undefined_flag='${wl}-z,nodefs'
8116 archive_cmds_need_lc=no
8117 hardcode_shlibpath_var=no
8118 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8119 hardcode_libdir_separator=':'
8120 link_all_deplibs=yes
8121 export_dynamic_flag_spec='${wl}-Bexport'
8122 runpath_var='LD_RUN_PATH'
8124 if test "$GCC" = yes; then
8125 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8126 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8127 else
8128 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8129 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8133 uts4*)
8134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8135 hardcode_libdir_flag_spec='-L$libdir'
8136 hardcode_shlibpath_var=no
8140 ld_shlibs=no
8142 esac
8144 if test x$host_vendor = xsni; then
8145 case $host in
8146 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8147 export_dynamic_flag_spec='${wl}-Blargedynsym'
8149 esac
8153 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8154 echo "${ECHO_T}$ld_shlibs" >&6
8155 test "$ld_shlibs" = no && can_build_shared=no
8157 with_gnu_ld=$with_gnu_ld
8174 # Do we need to explicitly link libc?
8176 case "x$archive_cmds_need_lc" in
8177 x|xyes)
8178 # Assume -lc should be added
8179 archive_cmds_need_lc=yes
8181 if test "$enable_shared" = yes && test "$GCC" = yes; then
8182 case $archive_cmds in
8183 *'~'*)
8184 # FIXME: we may have to deal with multi-command sequences.
8186 '$CC '*)
8187 # Test whether the compiler implicitly links with -lc since on some
8188 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8189 # to ld, don't add -lc before -lgcc.
8190 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8191 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8192 $RM conftest*
8193 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8196 (eval $ac_compile) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } 2>conftest.err; then
8200 soname=conftest
8201 lib=conftest
8202 libobjs=conftest.$ac_objext
8203 deplibs=
8204 wl=$lt_prog_compiler_wl
8205 pic_flag=$lt_prog_compiler_pic
8206 compiler_flags=-v
8207 linker_flags=-v
8208 verstring=
8209 output_objdir=.
8210 libname=conftest
8211 lt_save_allow_undefined_flag=$allow_undefined_flag
8212 allow_undefined_flag=
8213 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8214 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8215 ac_status=$?
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }
8218 then
8219 archive_cmds_need_lc=no
8220 else
8221 archive_cmds_need_lc=yes
8223 allow_undefined_flag=$lt_save_allow_undefined_flag
8224 else
8225 cat conftest.err 1>&5
8227 $RM conftest*
8228 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8229 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8231 esac
8234 esac
8392 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8393 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8394 withGCC=$GCC
8395 if test "$withGCC" = yes; then
8396 case $host_os in
8397 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8398 *) lt_awk_arg="/^libraries:/" ;;
8399 esac
8400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8401 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8402 # if the path contains ";" then we assume it to be the separator
8403 # otherwise default to the standard path separator (i.e. ":") - it is
8404 # assumed that no part of a normal pathname contains ";" but that should
8405 # okay in the real world where ";" in dirpaths is itself problematic.
8406 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8407 else
8408 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8410 # Ok, now we have the path, separated by spaces, we can step through it
8411 # and add multilib dir if necessary.
8412 lt_tmp_lt_search_path_spec=
8413 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8414 for lt_sys_path in $lt_search_path_spec; do
8415 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8416 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8417 else
8418 test -d "$lt_sys_path" && \
8419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8421 done
8422 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8423 BEGIN {RS=" "; FS="/|\n";} {
8424 lt_foo="";
8425 lt_count=0;
8426 for (lt_i = NF; lt_i > 0; lt_i--) {
8427 if ($lt_i != "" && $lt_i != ".") {
8428 if ($lt_i == "..") {
8429 lt_count++;
8430 } else {
8431 if (lt_count == 0) {
8432 lt_foo="/" $lt_i lt_foo;
8433 } else {
8434 lt_count--;
8439 if (lt_foo != "") { lt_freq[lt_foo]++; }
8440 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8442 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8443 else
8444 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8446 library_names_spec=
8447 libname_spec='lib$name'
8448 soname_spec=
8449 shrext_cmds=".so"
8450 postinstall_cmds=
8451 postuninstall_cmds=
8452 finish_cmds=
8453 finish_eval=
8454 shlibpath_var=
8455 shlibpath_overrides_runpath=unknown
8456 version_type=none
8457 dynamic_linker="$host_os ld.so"
8458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8459 need_lib_prefix=unknown
8460 hardcode_into_libs=no
8462 # when you set need_version to no, make sure it does not cause -set_version
8463 # flags to be left without arguments
8464 need_version=unknown
8466 case $host_os in
8467 aix3*)
8468 version_type=linux
8469 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8470 shlibpath_var=LIBPATH
8472 # AIX 3 has no versioning support, so we append a major version to the name.
8473 soname_spec='${libname}${release}${shared_ext}$major'
8476 aix4* | aix5*)
8477 version_type=linux
8478 need_lib_prefix=no
8479 need_version=no
8480 hardcode_into_libs=yes
8481 if test "$host_cpu" = ia64; then
8482 # AIX 5 supports IA64
8483 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8484 shlibpath_var=LD_LIBRARY_PATH
8485 else
8486 # With GCC up to 2.95.x, collect2 would create an import file
8487 # for dependence libraries. The import file would start with
8488 # the line `#! .'. This would cause the generated library to
8489 # depend on `.', always an invalid library. This was fixed in
8490 # development snapshots of GCC prior to 3.0.
8491 case $host_os in
8492 aix4 | aix4.[01] | aix4.[01].*)
8493 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8494 echo ' yes '
8495 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8497 else
8498 can_build_shared=no
8501 esac
8502 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8503 # soname into executable. Probably we can add versioning support to
8504 # collect2, so additional links can be useful in future.
8505 if test "$aix_use_runtimelinking" = yes; then
8506 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8507 # instead of lib<name>.a to let people know that these are not
8508 # typical AIX shared libraries.
8509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8510 else
8511 # We preserve .a as extension for shared libraries through AIX4.2
8512 # and later when we are not doing run time linking.
8513 library_names_spec='${libname}${release}.a $libname.a'
8514 soname_spec='${libname}${release}${shared_ext}$major'
8516 shlibpath_var=LIBPATH
8520 amigaos*)
8521 if test "$host_cpu" = m68k; then
8522 library_names_spec='$libname.ixlibrary $libname.a'
8523 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8524 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8525 else
8526 dynamic_linker=no
8530 beos*)
8531 library_names_spec='${libname}${shared_ext}'
8532 dynamic_linker="$host_os ld.so"
8533 shlibpath_var=LIBRARY_PATH
8536 bsdi[45]*)
8537 version_type=linux
8538 need_version=no
8539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8540 soname_spec='${libname}${release}${shared_ext}$major'
8541 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8542 shlibpath_var=LD_LIBRARY_PATH
8543 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8544 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8545 # the default ld.so.conf also contains /usr/contrib/lib and
8546 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8547 # libtool to hard-code these into programs
8550 cygwin* | mingw* | pw32*)
8551 version_type=windows
8552 shrext_cmds=".dll"
8553 need_version=no
8554 need_lib_prefix=no
8556 case $withGCC,$host_os in
8557 yes,cygwin* | yes,mingw* | yes,pw32*)
8558 library_names_spec='$libname.dll.a'
8559 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8560 postinstall_cmds='base_file=`basename \${file}`~
8561 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8562 dldir=$destdir/`dirname \$dlpath`~
8563 test -d \$dldir || mkdir -p \$dldir~
8564 $install_prog $dir/$dlname \$dldir/$dlname~
8565 chmod a+x \$dldir/$dlname~
8566 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8567 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8569 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8570 dlpath=$dir/\$dldll~
8571 $RM \$dlpath'
8572 shlibpath_overrides_runpath=yes
8574 case $host_os in
8575 cygwin*)
8576 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8577 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8578 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8580 mingw*)
8581 # MinGW DLLs use traditional 'lib' prefix
8582 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8583 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8584 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8585 # It is most probably a Windows format PATH printed by
8586 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8587 # path with ; separators, and with drive letters. We can handle the
8588 # drive letters (cygwin fileutils understands them), so leave them,
8589 # especially as we might pass files found there to a mingw objdump,
8590 # which wouldn't understand a cygwinified path. Ahh.
8591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8592 else
8593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8596 pw32*)
8597 # pw32 DLLs use 'pw' prefix rather than 'lib'
8598 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8600 esac
8604 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8606 esac
8607 dynamic_linker='Win32 ld.exe'
8608 # FIXME: first we should search . and the directory the executable is in
8609 shlibpath_var=PATH
8612 darwin* | rhapsody*)
8613 dynamic_linker="$host_os dyld"
8614 version_type=darwin
8615 need_lib_prefix=no
8616 need_version=no
8617 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8618 soname_spec='${libname}${release}${major}$shared_ext'
8619 shlibpath_overrides_runpath=yes
8620 shlibpath_var=DYLD_LIBRARY_PATH
8621 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8623 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8624 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8627 dgux*)
8628 version_type=linux
8629 need_lib_prefix=no
8630 need_version=no
8631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8632 soname_spec='${libname}${release}${shared_ext}$major'
8633 shlibpath_var=LD_LIBRARY_PATH
8636 freebsd1*)
8637 dynamic_linker=no
8640 freebsd* | dragonfly*)
8641 # DragonFly does not have aout. When/if they implement a new
8642 # versioning mechanism, adjust this.
8643 if test -x /usr/bin/objformat; then
8644 objformat=`/usr/bin/objformat`
8645 else
8646 case $host_os in
8647 freebsd[123]*) objformat=aout ;;
8648 *) objformat=elf ;;
8649 esac
8651 version_type=freebsd-$objformat
8652 case $version_type in
8653 freebsd-elf*)
8654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8655 need_version=no
8656 need_lib_prefix=no
8658 freebsd-*)
8659 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8660 need_version=yes
8662 esac
8663 shlibpath_var=LD_LIBRARY_PATH
8664 case $host_os in
8665 freebsd2*)
8666 shlibpath_overrides_runpath=yes
8668 freebsd3.[01]* | freebsdelf3.[01]*)
8669 shlibpath_overrides_runpath=yes
8670 hardcode_into_libs=yes
8672 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8673 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8674 shlibpath_overrides_runpath=no
8675 hardcode_into_libs=yes
8677 *) # from 4.6 on, and DragonFly
8678 shlibpath_overrides_runpath=yes
8679 hardcode_into_libs=yes
8681 esac
8684 gnu*)
8685 version_type=linux
8686 need_lib_prefix=no
8687 need_version=no
8688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8689 soname_spec='${libname}${release}${shared_ext}$major'
8690 shlibpath_var=LD_LIBRARY_PATH
8691 hardcode_into_libs=yes
8694 hpux9* | hpux10* | hpux11*)
8695 # Give a soname corresponding to the major version so that dld.sl refuses to
8696 # link against other versions.
8697 version_type=sunos
8698 need_lib_prefix=no
8699 need_version=no
8700 case $host_cpu in
8701 ia64*)
8702 shrext_cmds='.so'
8703 hardcode_into_libs=yes
8704 dynamic_linker="$host_os dld.so"
8705 shlibpath_var=LD_LIBRARY_PATH
8706 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8708 soname_spec='${libname}${release}${shared_ext}$major'
8709 if test "X$HPUX_IA64_MODE" = X32; then
8710 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8711 else
8712 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8714 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8716 hppa*64*)
8717 shrext_cmds='.sl'
8718 hardcode_into_libs=yes
8719 dynamic_linker="$host_os dld.sl"
8720 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8721 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8723 soname_spec='${libname}${release}${shared_ext}$major'
8724 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8728 shrext_cmds='.sl'
8729 dynamic_linker="$host_os dld.sl"
8730 shlibpath_var=SHLIB_PATH
8731 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8733 soname_spec='${libname}${release}${shared_ext}$major'
8735 esac
8736 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8737 postinstall_cmds='chmod 555 $lib'
8740 interix[3-9]*)
8741 version_type=linux
8742 need_lib_prefix=no
8743 need_version=no
8744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8745 soname_spec='${libname}${release}${shared_ext}$major'
8746 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8747 shlibpath_var=LD_LIBRARY_PATH
8748 shlibpath_overrides_runpath=no
8749 hardcode_into_libs=yes
8752 irix5* | irix6* | nonstopux*)
8753 case $host_os in
8754 nonstopux*) version_type=nonstopux ;;
8756 if test "$lt_cv_prog_gnu_ld" = yes; then
8757 version_type=linux
8758 else
8759 version_type=irix
8760 fi ;;
8761 esac
8762 need_lib_prefix=no
8763 need_version=no
8764 soname_spec='${libname}${release}${shared_ext}$major'
8765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8766 case $host_os in
8767 irix5* | nonstopux*)
8768 libsuff= shlibsuff=
8771 case $LD in # libtool.m4 will add one of these switches to LD
8772 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8773 libsuff= shlibsuff= libmagic=32-bit;;
8774 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8775 libsuff=32 shlibsuff=N32 libmagic=N32;;
8776 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8777 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8778 *) libsuff= shlibsuff= libmagic=never-match;;
8779 esac
8781 esac
8782 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8783 shlibpath_overrides_runpath=no
8784 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8785 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8786 hardcode_into_libs=yes
8789 # No shared lib support for Linux oldld, aout, or coff.
8790 linux*oldld* | linux*aout* | linux*coff*)
8791 dynamic_linker=no
8794 # This must be Linux ELF.
8795 linux* | k*bsd*-gnu)
8796 version_type=linux
8797 need_lib_prefix=no
8798 need_version=no
8799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8800 soname_spec='${libname}${release}${shared_ext}$major'
8801 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8802 shlibpath_var=LD_LIBRARY_PATH
8803 shlibpath_overrides_runpath=no
8804 # Some binutils ld are patched to set DT_RUNPATH
8805 save_LDFLAGS=$LDFLAGS
8806 save_libdir=$libdir
8807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8809 if test x$gcc_no_link = xyes; then
8810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8812 { (exit 1); exit 1; }; }
8814 cat >conftest.$ac_ext <<_ACEOF
8815 /* confdefs.h. */
8816 _ACEOF
8817 cat confdefs.h >>conftest.$ac_ext
8818 cat >>conftest.$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8822 main ()
8826 return 0;
8828 _ACEOF
8829 rm -f conftest.$ac_objext conftest$ac_exeext
8830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8831 (eval $ac_link) 2>conftest.er1
8832 ac_status=$?
8833 grep -v '^ *+' conftest.er1 >conftest.err
8834 rm -f conftest.er1
8835 cat conftest.err >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); } &&
8838 { ac_try='test -z "$ac_c_werror_flag"
8839 || test ! -s conftest.err'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 (eval $ac_try) 2>&5
8842 ac_status=$?
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; } &&
8845 { ac_try='test -s conftest$ac_exeext'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847 (eval $ac_try) 2>&5
8848 ac_status=$?
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; }; then
8851 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8852 shlibpath_overrides_runpath=yes
8855 else
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8860 rm -f conftest.err conftest.$ac_objext \
8861 conftest$ac_exeext conftest.$ac_ext
8862 LDFLAGS=$save_LDFLAGS
8863 libdir=$save_libdir
8865 # This implies no fast_install, which is unacceptable.
8866 # Some rework will be needed to allow for fast_install
8867 # before this can be enabled.
8868 hardcode_into_libs=yes
8870 # Append ld.so.conf contents to the search path
8871 if test -f /etc/ld.so.conf; then
8872 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8873 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8876 # We used to test for /lib/ld.so.1 and disable shared libraries on
8877 # powerpc, because MkLinux only supported shared libraries with the
8878 # GNU dynamic linker. Since this was broken with cross compilers,
8879 # most powerpc-linux boxes support dynamic linking these days and
8880 # people can always --disable-shared, the test was removed, and we
8881 # assume the GNU/Linux dynamic linker is in use.
8882 dynamic_linker='GNU/Linux ld.so'
8885 netbsd*)
8886 version_type=sunos
8887 need_lib_prefix=no
8888 need_version=no
8889 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8891 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8892 dynamic_linker='NetBSD (a.out) ld.so'
8893 else
8894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8895 soname_spec='${libname}${release}${shared_ext}$major'
8896 dynamic_linker='NetBSD ld.elf_so'
8898 shlibpath_var=LD_LIBRARY_PATH
8899 shlibpath_overrides_runpath=yes
8900 hardcode_into_libs=yes
8903 newsos6)
8904 version_type=linux
8905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8906 shlibpath_var=LD_LIBRARY_PATH
8907 shlibpath_overrides_runpath=yes
8910 *nto* | *qnx*)
8911 version_type=qnx
8912 need_lib_prefix=no
8913 need_version=no
8914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8915 soname_spec='${libname}${release}${shared_ext}$major'
8916 shlibpath_var=LD_LIBRARY_PATH
8917 shlibpath_overrides_runpath=no
8918 hardcode_into_libs=yes
8919 dynamic_linker='ldqnx.so'
8922 openbsd*)
8923 version_type=sunos
8924 sys_lib_dlsearch_path_spec="/usr/lib"
8925 need_lib_prefix=no
8926 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8927 case $host_os in
8928 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8929 *) need_version=no ;;
8930 esac
8931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8933 shlibpath_var=LD_LIBRARY_PATH
8934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8935 case $host_os in
8936 openbsd2.[89] | openbsd2.[89].*)
8937 shlibpath_overrides_runpath=no
8940 shlibpath_overrides_runpath=yes
8942 esac
8943 else
8944 shlibpath_overrides_runpath=yes
8948 os2*)
8949 libname_spec='$name'
8950 shrext_cmds=".dll"
8951 need_lib_prefix=no
8952 library_names_spec='$libname${shared_ext} $libname.a'
8953 dynamic_linker='OS/2 ld.exe'
8954 shlibpath_var=LIBPATH
8957 osf3* | osf4* | osf5*)
8958 version_type=osf
8959 need_lib_prefix=no
8960 need_version=no
8961 soname_spec='${libname}${release}${shared_ext}$major'
8962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8963 shlibpath_var=LD_LIBRARY_PATH
8964 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8965 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8968 rdos*)
8969 dynamic_linker=no
8972 solaris*)
8973 version_type=linux
8974 need_lib_prefix=no
8975 need_version=no
8976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8977 soname_spec='${libname}${release}${shared_ext}$major'
8978 shlibpath_var=LD_LIBRARY_PATH
8979 shlibpath_overrides_runpath=yes
8980 hardcode_into_libs=yes
8981 # ldd complains unless libraries are executable
8982 postinstall_cmds='chmod +x $lib'
8985 sunos4*)
8986 version_type=sunos
8987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8988 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8989 shlibpath_var=LD_LIBRARY_PATH
8990 shlibpath_overrides_runpath=yes
8991 if test "$with_gnu_ld" = yes; then
8992 need_lib_prefix=no
8994 need_version=yes
8997 sysv4 | sysv4.3*)
8998 version_type=linux
8999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9000 soname_spec='${libname}${release}${shared_ext}$major'
9001 shlibpath_var=LD_LIBRARY_PATH
9002 case $host_vendor in
9003 sni)
9004 shlibpath_overrides_runpath=no
9005 need_lib_prefix=no
9006 runpath_var=LD_RUN_PATH
9008 siemens)
9009 need_lib_prefix=no
9011 motorola)
9012 need_lib_prefix=no
9013 need_version=no
9014 shlibpath_overrides_runpath=no
9015 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9017 esac
9020 sysv4*MP*)
9021 if test -d /usr/nec ;then
9022 version_type=linux
9023 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9024 soname_spec='$libname${shared_ext}.$major'
9025 shlibpath_var=LD_LIBRARY_PATH
9029 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9030 version_type=freebsd-elf
9031 need_lib_prefix=no
9032 need_version=no
9033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9034 soname_spec='${libname}${release}${shared_ext}$major'
9035 shlibpath_var=LD_LIBRARY_PATH
9036 shlibpath_overrides_runpath=yes
9037 hardcode_into_libs=yes
9038 if test "$with_gnu_ld" = yes; then
9039 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9040 else
9041 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9042 case $host_os in
9043 sco3.2v5*)
9044 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9046 esac
9048 sys_lib_dlsearch_path_spec='/usr/lib'
9051 tpf*)
9052 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9053 version_type=linux
9054 need_lib_prefix=no
9055 need_version=no
9056 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9057 shlibpath_var=LD_LIBRARY_PATH
9058 shlibpath_overrides_runpath=no
9059 hardcode_into_libs=yes
9062 uts4*)
9063 version_type=linux
9064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9065 soname_spec='${libname}${release}${shared_ext}$major'
9066 shlibpath_var=LD_LIBRARY_PATH
9070 dynamic_linker=no
9072 esac
9073 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9074 echo "${ECHO_T}$dynamic_linker" >&6
9075 test "$dynamic_linker" = no && can_build_shared=no
9077 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9078 if test "$GCC" = yes; then
9079 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9168 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9170 hardcode_action=
9171 if test -n "$hardcode_libdir_flag_spec" ||
9172 test -n "$runpath_var" ||
9173 test "X$hardcode_automatic" = "Xyes" ; then
9175 # We can hardcode non-existent directories.
9176 if test "$hardcode_direct" != no &&
9177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9178 # have to relink, otherwise we might link with an installed library
9179 # when we should be linking with a yet-to-be-installed one
9180 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9181 test "$hardcode_minus_L" != no; then
9182 # Linking always hardcodes the temporary library directory.
9183 hardcode_action=relink
9184 else
9185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9186 hardcode_action=immediate
9188 else
9189 # We cannot hardcode anything, or else we can only hardcode existing
9190 # directories.
9191 hardcode_action=unsupported
9193 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9194 echo "${ECHO_T}$hardcode_action" >&6
9196 if test "$hardcode_action" = relink ||
9197 test "$inherit_rpath" = yes; then
9198 # Fast installation is not supported
9199 enable_fast_install=no
9200 elif test "$shlibpath_overrides_runpath" = yes ||
9201 test "$enable_shared" = no; then
9202 # Fast installation is not necessary
9203 enable_fast_install=needless
9211 if test "x$enable_dlopen" != xyes; then
9212 enable_dlopen=unknown
9213 enable_dlopen_self=unknown
9214 enable_dlopen_self_static=unknown
9215 else
9216 lt_cv_dlopen=no
9217 lt_cv_dlopen_libs=
9219 case $host_os in
9220 beos*)
9221 lt_cv_dlopen="load_add_on"
9222 lt_cv_dlopen_libs=
9223 lt_cv_dlopen_self=yes
9226 mingw* | pw32*)
9227 lt_cv_dlopen="LoadLibrary"
9228 lt_cv_dlopen_libs=
9231 cygwin*)
9232 lt_cv_dlopen="dlopen"
9233 lt_cv_dlopen_libs=
9236 darwin*)
9237 # if libdl is installed we need to link against it
9238 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9239 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 else
9243 ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-ldl $LIBS"
9245 if test x$gcc_no_link = xyes; then
9246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9248 { (exit 1); exit 1; }; }
9250 cat >conftest.$ac_ext <<_ACEOF
9251 /* confdefs.h. */
9252 _ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h. */
9257 /* Override any gcc2 internal prototype to avoid an error. */
9258 #ifdef __cplusplus
9259 extern "C"
9260 #endif
9261 /* We use char because int might match the return type of a gcc2
9262 builtin and then its argument prototype would still apply. */
9263 char dlopen ();
9265 main ()
9267 dlopen ();
9269 return 0;
9271 _ACEOF
9272 rm -f conftest.$ac_objext conftest$ac_exeext
9273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9274 (eval $ac_link) 2>conftest.er1
9275 ac_status=$?
9276 grep -v '^ *+' conftest.er1 >conftest.err
9277 rm -f conftest.er1
9278 cat conftest.err >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } &&
9281 { ac_try='test -z "$ac_c_werror_flag"
9282 || test ! -s conftest.err'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 (eval $ac_try) 2>&5
9285 ac_status=$?
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; } &&
9288 { ac_try='test -s conftest$ac_exeext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9290 (eval $ac_try) 2>&5
9291 ac_status=$?
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9294 ac_cv_lib_dl_dlopen=yes
9295 else
9296 echo "$as_me: failed program was:" >&5
9297 sed 's/^/| /' conftest.$ac_ext >&5
9299 ac_cv_lib_dl_dlopen=no
9301 rm -f conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 LIBS=$ac_check_lib_save_LIBS
9305 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9306 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9307 if test $ac_cv_lib_dl_dlopen = yes; then
9308 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9309 else
9311 lt_cv_dlopen="dyld"
9312 lt_cv_dlopen_libs=
9313 lt_cv_dlopen_self=yes
9320 echo "$as_me:$LINENO: checking for shl_load" >&5
9321 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9322 if test "${ac_cv_func_shl_load+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 if test x$gcc_no_link = xyes; then
9326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9328 { (exit 1); exit 1; }; }
9330 cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h. */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9336 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9338 #define shl_load innocuous_shl_load
9340 /* System header to define __stub macros and hopefully few prototypes,
9341 which can conflict with char shl_load (); below.
9342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9343 <limits.h> exists even on freestanding compilers. */
9345 #ifdef __STDC__
9346 # include <limits.h>
9347 #else
9348 # include <assert.h>
9349 #endif
9351 #undef shl_load
9353 /* Override any gcc2 internal prototype to avoid an error. */
9354 #ifdef __cplusplus
9355 extern "C"
9357 #endif
9358 /* We use char because int might match the return type of a gcc2
9359 builtin and then its argument prototype would still apply. */
9360 char shl_load ();
9361 /* The GNU C library defines this for functions which it implements
9362 to always fail with ENOSYS. Some functions are actually named
9363 something starting with __ and the normal name is an alias. */
9364 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9365 choke me
9366 #else
9367 char (*f) () = shl_load;
9368 #endif
9369 #ifdef __cplusplus
9371 #endif
9374 main ()
9376 return f != shl_load;
9378 return 0;
9380 _ACEOF
9381 rm -f conftest.$ac_objext conftest$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9384 ac_status=$?
9385 grep -v '^ *+' conftest.er1 >conftest.err
9386 rm -f conftest.er1
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393 (eval $ac_try) 2>&5
9394 ac_status=$?
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5
9400 ac_status=$?
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_func_shl_load=yes
9404 else
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5
9408 ac_cv_func_shl_load=no
9410 rm -f conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9413 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9414 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9415 if test $ac_cv_func_shl_load = yes; then
9416 lt_cv_dlopen="shl_load"
9417 else
9418 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9419 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-ldld $LIBS"
9425 if test x$gcc_no_link = xyes; then
9426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9428 { (exit 1); exit 1; }; }
9430 cat >conftest.$ac_ext <<_ACEOF
9431 /* confdefs.h. */
9432 _ACEOF
9433 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9437 /* Override any gcc2 internal prototype to avoid an error. */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 /* We use char because int might match the return type of a gcc2
9442 builtin and then its argument prototype would still apply. */
9443 char shl_load ();
9445 main ()
9447 shl_load ();
9449 return 0;
9451 _ACEOF
9452 rm -f conftest.$ac_objext conftest$ac_exeext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9454 (eval $ac_link) 2>conftest.er1
9455 ac_status=$?
9456 grep -v '^ *+' conftest.er1 >conftest.err
9457 rm -f conftest.er1
9458 cat conftest.err >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } &&
9461 { ac_try='test -z "$ac_c_werror_flag"
9462 || test ! -s conftest.err'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 (eval $ac_try) 2>&5
9465 ac_status=$?
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; } &&
9468 { ac_try='test -s conftest$ac_exeext'
9469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 (eval $ac_try) 2>&5
9471 ac_status=$?
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); }; }; then
9474 ac_cv_lib_dld_shl_load=yes
9475 else
9476 echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9479 ac_cv_lib_dld_shl_load=no
9481 rm -f conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_lib_save_LIBS
9485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9486 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9487 if test $ac_cv_lib_dld_shl_load = yes; then
9488 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9489 else
9490 echo "$as_me:$LINENO: checking for dlopen" >&5
9491 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9492 if test "${ac_cv_func_dlopen+set}" = set; then
9493 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 else
9495 if test x$gcc_no_link = xyes; then
9496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498 { (exit 1); exit 1; }; }
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9508 #define dlopen innocuous_dlopen
9510 /* System header to define __stub macros and hopefully few prototypes,
9511 which can conflict with char dlopen (); below.
9512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9513 <limits.h> exists even on freestanding compilers. */
9515 #ifdef __STDC__
9516 # include <limits.h>
9517 #else
9518 # include <assert.h>
9519 #endif
9521 #undef dlopen
9523 /* Override any gcc2 internal prototype to avoid an error. */
9524 #ifdef __cplusplus
9525 extern "C"
9527 #endif
9528 /* We use char because int might match the return type of a gcc2
9529 builtin and then its argument prototype would still apply. */
9530 char dlopen ();
9531 /* The GNU C library defines this for functions which it implements
9532 to always fail with ENOSYS. Some functions are actually named
9533 something starting with __ and the normal name is an alias. */
9534 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9535 choke me
9536 #else
9537 char (*f) () = dlopen;
9538 #endif
9539 #ifdef __cplusplus
9541 #endif
9544 main ()
9546 return f != dlopen;
9548 return 0;
9550 _ACEOF
9551 rm -f conftest.$ac_objext conftest$ac_exeext
9552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9553 (eval $ac_link) 2>conftest.er1
9554 ac_status=$?
9555 grep -v '^ *+' conftest.er1 >conftest.err
9556 rm -f conftest.er1
9557 cat conftest.err >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } &&
9560 { ac_try='test -z "$ac_c_werror_flag"
9561 || test ! -s conftest.err'
9562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 (eval $ac_try) 2>&5
9564 ac_status=$?
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); }; } &&
9567 { ac_try='test -s conftest$ac_exeext'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 (eval $ac_try) 2>&5
9570 ac_status=$?
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; }; then
9573 ac_cv_func_dlopen=yes
9574 else
9575 echo "$as_me: failed program was:" >&5
9576 sed 's/^/| /' conftest.$ac_ext >&5
9578 ac_cv_func_dlopen=no
9580 rm -f conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9583 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9584 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9585 if test $ac_cv_func_dlopen = yes; then
9586 lt_cv_dlopen="dlopen"
9587 else
9588 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 else
9593 ac_check_lib_save_LIBS=$LIBS
9594 LIBS="-ldl $LIBS"
9595 if test x$gcc_no_link = xyes; then
9596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9598 { (exit 1); exit 1; }; }
9600 cat >conftest.$ac_ext <<_ACEOF
9601 /* confdefs.h. */
9602 _ACEOF
9603 cat confdefs.h >>conftest.$ac_ext
9604 cat >>conftest.$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9607 /* Override any gcc2 internal prototype to avoid an error. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 /* We use char because int might match the return type of a gcc2
9612 builtin and then its argument prototype would still apply. */
9613 char dlopen ();
9615 main ()
9617 dlopen ();
9619 return 0;
9621 _ACEOF
9622 rm -f conftest.$ac_objext conftest$ac_exeext
9623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9624 (eval $ac_link) 2>conftest.er1
9625 ac_status=$?
9626 grep -v '^ *+' conftest.er1 >conftest.err
9627 rm -f conftest.er1
9628 cat conftest.err >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } &&
9631 { ac_try='test -z "$ac_c_werror_flag"
9632 || test ! -s conftest.err'
9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634 (eval $ac_try) 2>&5
9635 ac_status=$?
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); }; } &&
9638 { ac_try='test -s conftest$ac_exeext'
9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 (eval $ac_try) 2>&5
9641 ac_status=$?
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then
9644 ac_cv_lib_dl_dlopen=yes
9645 else
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.$ac_ext >&5
9649 ac_cv_lib_dl_dlopen=no
9651 rm -f conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9656 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9657 if test $ac_cv_lib_dl_dlopen = yes; then
9658 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9659 else
9660 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9661 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9662 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lsvld $LIBS"
9667 if test x$gcc_no_link = xyes; then
9668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9670 { (exit 1); exit 1; }; }
9672 cat >conftest.$ac_ext <<_ACEOF
9673 /* confdefs.h. */
9674 _ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9679 /* Override any gcc2 internal prototype to avoid an error. */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 /* We use char because int might match the return type of a gcc2
9684 builtin and then its argument prototype would still apply. */
9685 char dlopen ();
9687 main ()
9689 dlopen ();
9691 return 0;
9693 _ACEOF
9694 rm -f conftest.$ac_objext conftest$ac_exeext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696 (eval $ac_link) 2>conftest.er1
9697 ac_status=$?
9698 grep -v '^ *+' conftest.er1 >conftest.err
9699 rm -f conftest.er1
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } &&
9703 { ac_try='test -z "$ac_c_werror_flag"
9704 || test ! -s conftest.err'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 (eval $ac_try) 2>&5
9707 ac_status=$?
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; } &&
9710 { ac_try='test -s conftest$ac_exeext'
9711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 (eval $ac_try) 2>&5
9713 ac_status=$?
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); }; }; then
9716 ac_cv_lib_svld_dlopen=yes
9717 else
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.$ac_ext >&5
9721 ac_cv_lib_svld_dlopen=no
9723 rm -f conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_lib_save_LIBS
9727 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9728 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9729 if test $ac_cv_lib_svld_dlopen = yes; then
9730 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9731 else
9732 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9733 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9734 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737 ac_check_lib_save_LIBS=$LIBS
9738 LIBS="-ldld $LIBS"
9739 if test x$gcc_no_link = xyes; then
9740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9742 { (exit 1); exit 1; }; }
9744 cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h. */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any gcc2 internal prototype to avoid an error. */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 /* We use char because int might match the return type of a gcc2
9756 builtin and then its argument prototype would still apply. */
9757 char dld_link ();
9759 main ()
9761 dld_link ();
9763 return 0;
9765 _ACEOF
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 (eval $ac_link) 2>conftest.er1
9769 ac_status=$?
9770 grep -v '^ *+' conftest.er1 >conftest.err
9771 rm -f conftest.er1
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try='test -z "$ac_c_werror_flag"
9776 || test ! -s conftest.err'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 (eval $ac_try) 2>&5
9779 ac_status=$?
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } &&
9782 { ac_try='test -s conftest$ac_exeext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 (eval $ac_try) 2>&5
9785 ac_status=$?
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9788 ac_cv_lib_dld_dld_link=yes
9789 else
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9793 ac_cv_lib_dld_dld_link=no
9795 rm -f conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_lib_save_LIBS
9799 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9800 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9801 if test $ac_cv_lib_dld_dld_link = yes; then
9802 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9821 esac
9823 if test "x$lt_cv_dlopen" != xno; then
9824 enable_dlopen=yes
9825 else
9826 enable_dlopen=no
9829 case $lt_cv_dlopen in
9830 dlopen)
9831 save_CPPFLAGS="$CPPFLAGS"
9832 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9834 save_LDFLAGS="$LDFLAGS"
9835 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9837 save_LIBS="$LIBS"
9838 LIBS="$lt_cv_dlopen_libs $LIBS"
9840 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9841 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9842 if test "${lt_cv_dlopen_self+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 else
9845 if test "$cross_compiling" = yes; then :
9846 lt_cv_dlopen_self=cross
9847 else
9848 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9849 lt_status=$lt_dlunknown
9850 cat > conftest.$ac_ext <<_LT_EOF
9851 #line 9851 "configure"
9852 #include "confdefs.h"
9854 #if HAVE_DLFCN_H
9855 #include <dlfcn.h>
9856 #endif
9858 #include <stdio.h>
9860 #ifdef RTLD_GLOBAL
9861 # define LT_DLGLOBAL RTLD_GLOBAL
9862 #else
9863 # ifdef DL_GLOBAL
9864 # define LT_DLGLOBAL DL_GLOBAL
9865 # else
9866 # define LT_DLGLOBAL 0
9867 # endif
9868 #endif
9870 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9871 find out it does not work in some platform. */
9872 #ifndef LT_DLLAZY_OR_NOW
9873 # ifdef RTLD_LAZY
9874 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9875 # else
9876 # ifdef DL_LAZY
9877 # define LT_DLLAZY_OR_NOW DL_LAZY
9878 # else
9879 # ifdef RTLD_NOW
9880 # define LT_DLLAZY_OR_NOW RTLD_NOW
9881 # else
9882 # ifdef DL_NOW
9883 # define LT_DLLAZY_OR_NOW DL_NOW
9884 # else
9885 # define LT_DLLAZY_OR_NOW 0
9886 # endif
9887 # endif
9888 # endif
9889 # endif
9890 #endif
9892 #ifdef __cplusplus
9893 extern "C" void exit (int);
9894 #endif
9896 void fnord() { int i=42;}
9897 int main ()
9899 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9900 int status = $lt_dlunknown;
9902 if (self)
9904 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9905 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9906 /* dlclose (self); */
9908 else
9909 puts (dlerror ());
9911 exit (status);
9913 _LT_EOF
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>&5
9916 ac_status=$?
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9919 (./conftest; exit; ) >&5 2>/dev/null
9920 lt_status=$?
9921 case x$lt_status in
9922 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9923 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9924 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9925 esac
9926 else :
9927 # compilation failed
9928 lt_cv_dlopen_self=no
9931 rm -fr conftest*
9935 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9936 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9938 if test "x$lt_cv_dlopen_self" = xyes; then
9939 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9940 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9941 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9942 if test "${lt_cv_dlopen_self_static+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 else
9945 if test "$cross_compiling" = yes; then :
9946 lt_cv_dlopen_self_static=cross
9947 else
9948 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9949 lt_status=$lt_dlunknown
9950 cat > conftest.$ac_ext <<_LT_EOF
9951 #line 9951 "configure"
9952 #include "confdefs.h"
9954 #if HAVE_DLFCN_H
9955 #include <dlfcn.h>
9956 #endif
9958 #include <stdio.h>
9960 #ifdef RTLD_GLOBAL
9961 # define LT_DLGLOBAL RTLD_GLOBAL
9962 #else
9963 # ifdef DL_GLOBAL
9964 # define LT_DLGLOBAL DL_GLOBAL
9965 # else
9966 # define LT_DLGLOBAL 0
9967 # endif
9968 #endif
9970 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9971 find out it does not work in some platform. */
9972 #ifndef LT_DLLAZY_OR_NOW
9973 # ifdef RTLD_LAZY
9974 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9975 # else
9976 # ifdef DL_LAZY
9977 # define LT_DLLAZY_OR_NOW DL_LAZY
9978 # else
9979 # ifdef RTLD_NOW
9980 # define LT_DLLAZY_OR_NOW RTLD_NOW
9981 # else
9982 # ifdef DL_NOW
9983 # define LT_DLLAZY_OR_NOW DL_NOW
9984 # else
9985 # define LT_DLLAZY_OR_NOW 0
9986 # endif
9987 # endif
9988 # endif
9989 # endif
9990 #endif
9992 #ifdef __cplusplus
9993 extern "C" void exit (int);
9994 #endif
9996 void fnord() { int i=42;}
9997 int main ()
9999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10000 int status = $lt_dlunknown;
10002 if (self)
10004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10005 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10006 /* dlclose (self); */
10008 else
10009 puts (dlerror ());
10011 exit (status);
10013 _LT_EOF
10014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015 (eval $ac_link) 2>&5
10016 ac_status=$?
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10019 (./conftest; exit; ) >&5 2>/dev/null
10020 lt_status=$?
10021 case x$lt_status in
10022 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10023 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10024 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10025 esac
10026 else :
10027 # compilation failed
10028 lt_cv_dlopen_self_static=no
10031 rm -fr conftest*
10035 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10036 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10039 CPPFLAGS="$save_CPPFLAGS"
10040 LDFLAGS="$save_LDFLAGS"
10041 LIBS="$save_LIBS"
10043 esac
10045 case $lt_cv_dlopen_self in
10046 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10047 *) enable_dlopen_self=unknown ;;
10048 esac
10050 case $lt_cv_dlopen_self_static in
10051 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10052 *) enable_dlopen_self_static=unknown ;;
10053 esac
10072 striplib=
10073 old_striplib=
10074 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10075 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10076 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10077 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10078 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10079 echo "$as_me:$LINENO: result: yes" >&5
10080 echo "${ECHO_T}yes" >&6
10081 else
10082 # FIXME - insert some real tests, host_os isn't really good enough
10083 case $host_os in
10084 darwin*)
10085 if test -n "$STRIP" ; then
10086 striplib="$STRIP -x"
10087 old_striplib="$STRIP -S"
10088 echo "$as_me:$LINENO: result: yes" >&5
10089 echo "${ECHO_T}yes" >&6
10090 else
10091 echo "$as_me:$LINENO: result: no" >&5
10092 echo "${ECHO_T}no" >&6
10096 echo "$as_me:$LINENO: result: no" >&5
10097 echo "${ECHO_T}no" >&6
10099 esac
10113 # Report which library types will actually be built
10114 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10115 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10116 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10117 echo "${ECHO_T}$can_build_shared" >&6
10119 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10120 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10121 test "$can_build_shared" = "no" && enable_shared=no
10123 # On AIX, shared libraries and static libraries use the same namespace, and
10124 # are all built from PIC.
10125 case $host_os in
10126 aix3*)
10127 test "$enable_shared" = yes && enable_static=no
10128 if test -n "$RANLIB"; then
10129 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10130 postinstall_cmds='$RANLIB $lib'
10134 aix4* | aix5*)
10135 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10136 test "$enable_shared" = yes && enable_static=no
10139 esac
10140 echo "$as_me:$LINENO: result: $enable_shared" >&5
10141 echo "${ECHO_T}$enable_shared" >&6
10143 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10144 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10145 # Make sure either enable_shared or enable_static is yes.
10146 test "$enable_shared" = yes || enable_static=yes
10147 echo "$as_me:$LINENO: result: $enable_static" >&5
10148 echo "${ECHO_T}$enable_static" >&6
10154 ac_ext=c
10155 ac_cpp='$CPP $CPPFLAGS'
10156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10160 CC="$lt_save_CC"
10174 ac_config_commands="$ac_config_commands libtool"
10179 # Only expand once:
10184 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10186 # We need gfortran to compile parts of the library
10187 #AC_PROG_FC(gfortran)
10188 FC="$GFORTRAN"
10189 ac_ext=${FC_SRCEXT-f}
10190 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10191 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10193 if test -n "$ac_tool_prefix"; then
10194 for ac_prog in gfortran
10196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10198 echo "$as_me:$LINENO: checking for $ac_word" >&5
10199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10200 if test "${ac_cv_prog_FC+set}" = set; then
10201 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 else
10203 if test -n "$FC"; then
10204 ac_cv_prog_FC="$FC" # Let the user override the test.
10205 else
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10209 IFS=$as_save_IFS
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10213 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10215 break 2
10217 done
10218 done
10222 FC=$ac_cv_prog_FC
10223 if test -n "$FC"; then
10224 echo "$as_me:$LINENO: result: $FC" >&5
10225 echo "${ECHO_T}$FC" >&6
10226 else
10227 echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6
10231 test -n "$FC" && break
10232 done
10234 if test -z "$FC"; then
10235 ac_ct_FC=$FC
10236 for ac_prog in gfortran
10238 # Extract the first word of "$ac_prog", so it can be a program name with args.
10239 set dummy $ac_prog; ac_word=$2
10240 echo "$as_me:$LINENO: checking for $ac_word" >&5
10241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10242 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10245 if test -n "$ac_ct_FC"; then
10246 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10247 else
10248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10249 for as_dir in $PATH
10251 IFS=$as_save_IFS
10252 test -z "$as_dir" && as_dir=.
10253 for ac_exec_ext in '' $ac_executable_extensions; do
10254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10255 ac_cv_prog_ac_ct_FC="$ac_prog"
10256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10257 break 2
10259 done
10260 done
10264 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10265 if test -n "$ac_ct_FC"; then
10266 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10267 echo "${ECHO_T}$ac_ct_FC" >&6
10268 else
10269 echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10273 test -n "$ac_ct_FC" && break
10274 done
10276 FC=$ac_ct_FC
10280 # Provide some information about the compiler.
10281 echo "$as_me:10281:" \
10282 "checking for Fortran compiler version" >&5
10283 ac_compiler=`set X $ac_compile; echo $2`
10284 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10285 (eval $ac_compiler --version </dev/null >&5) 2>&5
10286 ac_status=$?
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }
10289 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10290 (eval $ac_compiler -v </dev/null >&5) 2>&5
10291 ac_status=$?
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); }
10294 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10295 (eval $ac_compiler -V </dev/null >&5) 2>&5
10296 ac_status=$?
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }
10299 rm -f a.out
10301 # If we don't use `.F' as extension, the preprocessor is not run on the
10302 # input file. (Note that this only needs to work for GNU compilers.)
10303 ac_save_ext=$ac_ext
10304 ac_ext=F
10305 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10306 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10307 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310 cat >conftest.$ac_ext <<_ACEOF
10311 program main
10312 #ifndef __GNUC__
10313 choke me
10314 #endif
10317 _ACEOF
10318 rm -f conftest.$ac_objext
10319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10320 (eval $ac_compile) 2>conftest.er1
10321 ac_status=$?
10322 grep -v '^ *+' conftest.er1 >conftest.err
10323 rm -f conftest.er1
10324 cat conftest.err >&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } &&
10327 { ac_try='test -z "$ac_fc_werror_flag"
10328 || test ! -s conftest.err'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10331 ac_status=$?
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; } &&
10334 { ac_try='test -s conftest.$ac_objext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_compiler_gnu=yes
10341 else
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10345 ac_compiler_gnu=no
10347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10348 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10351 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10352 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10353 ac_ext=$ac_save_ext
10354 ac_test_FFLAGS=${FCFLAGS+set}
10355 ac_save_FFLAGS=$FCFLAGS
10356 FCFLAGS=
10357 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10358 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10359 if test "${ac_cv_prog_fc_g+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 else
10362 FCFLAGS=-g
10363 cat >conftest.$ac_ext <<_ACEOF
10364 program main
10367 _ACEOF
10368 rm -f conftest.$ac_objext
10369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10370 (eval $ac_compile) 2>conftest.er1
10371 ac_status=$?
10372 grep -v '^ *+' conftest.er1 >conftest.err
10373 rm -f conftest.er1
10374 cat conftest.err >&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } &&
10377 { ac_try='test -z "$ac_fc_werror_flag"
10378 || test ! -s conftest.err'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10381 ac_status=$?
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; } &&
10384 { ac_try='test -s conftest.$ac_objext'
10385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10386 (eval $ac_try) 2>&5
10387 ac_status=$?
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 (exit $ac_status); }; }; then
10390 ac_cv_prog_fc_g=yes
10391 else
10392 echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.$ac_ext >&5
10395 ac_cv_prog_fc_g=no
10397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10400 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10401 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10402 if test "$ac_test_FFLAGS" = set; then
10403 FCFLAGS=$ac_save_FFLAGS
10404 elif test $ac_cv_prog_fc_g = yes; then
10405 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10406 FCFLAGS="-g -O2"
10407 else
10408 FCFLAGS="-g"
10410 else
10411 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10412 FCFLAGS="-O2"
10413 else
10414 FCFLAGS=
10418 ac_ext=c
10419 ac_cpp='$CPP $CPPFLAGS'
10420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10425 ac_ext=${FC_SRCEXT-f}
10426 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10427 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10428 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10429 if test -n "$ac_tool_prefix"; then
10430 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10434 echo "$as_me:$LINENO: checking for $ac_word" >&5
10435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10436 if test "${ac_cv_prog_FC+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10439 if test -n "$FC"; then
10440 ac_cv_prog_FC="$FC" # Let the user override the test.
10441 else
10442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443 for as_dir in $PATH
10445 IFS=$as_save_IFS
10446 test -z "$as_dir" && as_dir=.
10447 for ac_exec_ext in '' $ac_executable_extensions; do
10448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10449 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10451 break 2
10453 done
10454 done
10458 FC=$ac_cv_prog_FC
10459 if test -n "$FC"; then
10460 echo "$as_me:$LINENO: result: $FC" >&5
10461 echo "${ECHO_T}$FC" >&6
10462 else
10463 echo "$as_me:$LINENO: result: no" >&5
10464 echo "${ECHO_T}no" >&6
10467 test -n "$FC" && break
10468 done
10470 if test -z "$FC"; then
10471 ac_ct_FC=$FC
10472 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 echo "$as_me:$LINENO: checking for $ac_word" >&5
10477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10478 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10479 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 else
10481 if test -n "$ac_ct_FC"; then
10482 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10483 else
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10487 IFS=$as_save_IFS
10488 test -z "$as_dir" && as_dir=.
10489 for ac_exec_ext in '' $ac_executable_extensions; do
10490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10491 ac_cv_prog_ac_ct_FC="$ac_prog"
10492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10493 break 2
10495 done
10496 done
10500 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10501 if test -n "$ac_ct_FC"; then
10502 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10503 echo "${ECHO_T}$ac_ct_FC" >&6
10504 else
10505 echo "$as_me:$LINENO: result: no" >&5
10506 echo "${ECHO_T}no" >&6
10509 test -n "$ac_ct_FC" && break
10510 done
10512 FC=$ac_ct_FC
10516 # Provide some information about the compiler.
10517 echo "$as_me:10517:" \
10518 "checking for Fortran compiler version" >&5
10519 ac_compiler=`set X $ac_compile; echo $2`
10520 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10521 (eval $ac_compiler --version </dev/null >&5) 2>&5
10522 ac_status=$?
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }
10525 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10526 (eval $ac_compiler -v </dev/null >&5) 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }
10530 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10531 (eval $ac_compiler -V </dev/null >&5) 2>&5
10532 ac_status=$?
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }
10535 rm -f a.out
10537 # If we don't use `.F' as extension, the preprocessor is not run on the
10538 # input file. (Note that this only needs to work for GNU compilers.)
10539 ac_save_ext=$ac_ext
10540 ac_ext=F
10541 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10542 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10543 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 else
10546 cat >conftest.$ac_ext <<_ACEOF
10547 program main
10548 #ifndef __GNUC__
10549 choke me
10550 #endif
10553 _ACEOF
10554 rm -f conftest.$ac_objext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10556 (eval $ac_compile) 2>conftest.er1
10557 ac_status=$?
10558 grep -v '^ *+' conftest.er1 >conftest.err
10559 rm -f conftest.er1
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } &&
10563 { ac_try='test -z "$ac_fc_werror_flag"
10564 || test ! -s conftest.err'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10567 ac_status=$?
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; } &&
10570 { ac_try='test -s conftest.$ac_objext'
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10573 ac_status=$?
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; }; then
10576 ac_compiler_gnu=yes
10577 else
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.$ac_ext >&5
10581 ac_compiler_gnu=no
10583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10584 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10587 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10588 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10589 ac_ext=$ac_save_ext
10590 ac_test_FFLAGS=${FCFLAGS+set}
10591 ac_save_FFLAGS=$FCFLAGS
10592 FCFLAGS=
10593 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10594 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10595 if test "${ac_cv_prog_fc_g+set}" = set; then
10596 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 else
10598 FCFLAGS=-g
10599 cat >conftest.$ac_ext <<_ACEOF
10600 program main
10603 _ACEOF
10604 rm -f conftest.$ac_objext
10605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10606 (eval $ac_compile) 2>conftest.er1
10607 ac_status=$?
10608 grep -v '^ *+' conftest.er1 >conftest.err
10609 rm -f conftest.er1
10610 cat conftest.err >&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } &&
10613 { ac_try='test -z "$ac_fc_werror_flag"
10614 || test ! -s conftest.err'
10615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10616 (eval $ac_try) 2>&5
10617 ac_status=$?
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); }; } &&
10620 { ac_try='test -s conftest.$ac_objext'
10621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622 (eval $ac_try) 2>&5
10623 ac_status=$?
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; }; then
10626 ac_cv_prog_fc_g=yes
10627 else
10628 echo "$as_me: failed program was:" >&5
10629 sed 's/^/| /' conftest.$ac_ext >&5
10631 ac_cv_prog_fc_g=no
10633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10636 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10637 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10638 if test "$ac_test_FFLAGS" = set; then
10639 FCFLAGS=$ac_save_FFLAGS
10640 elif test $ac_cv_prog_fc_g = yes; then
10641 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10642 FCFLAGS="-g -O2"
10643 else
10644 FCFLAGS="-g"
10646 else
10647 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10648 FCFLAGS="-O2"
10649 else
10650 FCFLAGS=
10654 ac_ext=c
10655 ac_cpp='$CPP $CPPFLAGS'
10656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10660 if test -z "$FC" || test "X$FC" = "Xno"; then
10661 _lt_disable_FC=yes
10666 ac_ext=${FC_SRCEXT-f}
10667 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10668 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10669 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10672 archive_cmds_need_lc_FC=no
10673 allow_undefined_flag_FC=
10674 always_export_symbols_FC=no
10675 archive_expsym_cmds_FC=
10676 export_dynamic_flag_spec_FC=
10677 hardcode_direct_FC=no
10678 hardcode_direct_absolute_FC=no
10679 hardcode_libdir_flag_spec_FC=
10680 hardcode_libdir_flag_spec_ld_FC=
10681 hardcode_libdir_separator_FC=
10682 hardcode_minus_L_FC=no
10683 hardcode_automatic_FC=no
10684 inherit_rpath_FC=no
10685 module_cmds_FC=
10686 module_expsym_cmds_FC=
10687 link_all_deplibs_FC=unknown
10688 old_archive_cmds_FC=$old_archive_cmds
10689 no_undefined_flag_FC=
10690 whole_archive_flag_spec_FC=
10691 enable_shared_with_static_runtimes_FC=no
10693 # Source file extension for fc test sources.
10694 ac_ext=${ac_fc_srcext-f}
10696 # Object file extension for compiled fc test sources.
10697 objext=o
10698 objext_FC=$objext
10700 # No sense in running all these tests if we already determined that
10701 # the FC compiler isn't working. Some variables (like enable_shared)
10702 # are currently assumed to apply to all compilers on this platform,
10703 # and will be corrupted by setting them based on a non-working compiler.
10704 if test "$_lt_disable_FC" != yes; then
10705 # Code to be used in simple compile tests
10706 lt_simple_compile_test_code="\
10707 subroutine t
10708 return
10712 # Code to be used in simple link tests
10713 lt_simple_link_test_code="\
10714 program t
10718 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10725 # If no C compiler was specified, use CC.
10726 LTCC=${LTCC-"$CC"}
10728 # If no C compiler flags were specified, use CFLAGS.
10729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10731 # Allow CC to be a program name with arguments.
10732 compiler=$CC
10735 # save warnings/boilerplate of simple test code
10736 ac_outfile=conftest.$ac_objext
10737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10739 _lt_compiler_boilerplate=`cat conftest.err`
10740 $RM conftest*
10742 ac_outfile=conftest.$ac_objext
10743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10745 _lt_linker_boilerplate=`cat conftest.err`
10746 $RM conftest*
10749 # Allow CC to be a program name with arguments.
10750 lt_save_CC="$CC"
10751 CC=${FC-"f95"}
10752 compiler=$CC
10753 compiler_FC=$CC
10754 for cc_temp in $compiler""; do
10755 case $cc_temp in
10756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10758 \-*) ;;
10759 *) break;;
10760 esac
10761 done
10762 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10765 if test -n "$compiler"; then
10766 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10767 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10768 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10769 echo "${ECHO_T}$can_build_shared" >&6
10771 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10772 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10773 test "$can_build_shared" = "no" && enable_shared=no
10775 # On AIX, shared libraries and static libraries use the same namespace, and
10776 # are all built from PIC.
10777 case $host_os in
10778 aix3*)
10779 test "$enable_shared" = yes && enable_static=no
10780 if test -n "$RANLIB"; then
10781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10782 postinstall_cmds='$RANLIB $lib'
10785 aix4* | aix5*)
10786 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10787 test "$enable_shared" = yes && enable_static=no
10790 esac
10791 echo "$as_me:$LINENO: result: $enable_shared" >&5
10792 echo "${ECHO_T}$enable_shared" >&6
10794 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10795 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10796 # Make sure either enable_shared or enable_static is yes.
10797 test "$enable_shared" = yes || enable_static=yes
10798 echo "$as_me:$LINENO: result: $enable_static" >&5
10799 echo "${ECHO_T}$enable_static" >&6
10801 GCC_FC="$ac_cv_fc_compiler_gnu"
10802 LD_FC="$LD"
10804 ## CAVEAT EMPTOR:
10805 ## There is no encapsulation within the following macros, do not change
10806 ## the running order or otherwise move them around unless you know exactly
10807 ## what you are doing...
10808 # Dependencies to place before and after the object being linked:
10809 predep_objects_FC=
10810 postdep_objects_FC=
10811 predeps_FC=
10812 postdeps_FC=
10813 compiler_lib_search_path_FC=
10815 cat > conftest.$ac_ext <<_LT_EOF
10816 subroutine foo
10817 implicit none
10818 integer a
10820 return
10822 _LT_EOF
10824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825 (eval $ac_compile) 2>&5
10826 ac_status=$?
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; then
10829 # Parse the compiler output and extract the necessary
10830 # objects, libraries and library flags.
10832 # Sentinel used to keep track of whether or not we are before
10833 # the conftest object file.
10834 pre_test_object_deps_done=no
10836 # The `*' in the case matches for architectures that use `case' in
10837 # $output_verbose_cmd can trigger glob expansion during the loop
10838 # eval without this substitution.
10839 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10841 for p in `eval $output_verbose_link_cmd`; do
10842 case $p in
10844 -L* | -R* | -l*)
10845 # Some compilers place space between "-{L,R}" and the path.
10846 # Remove the space.
10847 if test $p = "-L" ||
10848 test $p = "-R"; then
10849 prev=$p
10850 continue
10851 else
10852 prev=
10855 if test "$pre_test_object_deps_done" = no; then
10856 case $p in
10857 -L* | -R*)
10858 # Internal compiler library paths should come after those
10859 # provided the user. The postdeps already come after the
10860 # user supplied libs so there is no need to process them.
10861 if test -z "$compiler_lib_search_path_FC"; then
10862 compiler_lib_search_path_FC="${prev}${p}"
10863 else
10864 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10867 # The "-l" case would never come before the object being
10868 # linked, so don't bother handling this case.
10869 esac
10870 else
10871 if test -z "$postdeps_FC"; then
10872 postdeps_FC="${prev}${p}"
10873 else
10874 postdeps_FC="${postdeps_FC} ${prev}${p}"
10879 *.$objext)
10880 # This assumes that the test object file only shows up
10881 # once in the compiler output.
10882 if test "$p" = "conftest.$objext"; then
10883 pre_test_object_deps_done=yes
10884 continue
10887 if test "$pre_test_object_deps_done" = no; then
10888 if test -z "$predep_objects_FC"; then
10889 predep_objects_FC="$p"
10890 else
10891 predep_objects_FC="$predep_objects_FC $p"
10893 else
10894 if test -z "$postdep_objects_FC"; then
10895 postdep_objects_FC="$p"
10896 else
10897 postdep_objects_FC="$postdep_objects_FC $p"
10902 *) ;; # Ignore the rest.
10904 esac
10905 done
10907 # Clean up.
10908 rm -f a.out a.exe
10909 else
10910 echo "libtool.m4: error: problem compiling FC test program"
10913 $RM -f confest.$objext
10915 # PORTME: override above test on systems where it is broken
10918 case " $postdeps_FC " in
10919 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10920 esac
10947 lt_prog_compiler_wl_FC=
10948 lt_prog_compiler_pic_FC=
10949 lt_prog_compiler_static_FC=
10951 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10952 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10954 if test "$GCC" = yes; then
10955 lt_prog_compiler_wl_FC='-Wl,'
10956 lt_prog_compiler_static_FC='-static'
10958 case $host_os in
10959 aix*)
10960 # All AIX code is PIC.
10961 if test "$host_cpu" = ia64; then
10962 # AIX 5 now supports IA64 processor
10963 lt_prog_compiler_static_FC='-Bstatic'
10967 amigaos*)
10968 if test "$host_cpu" = m68k; then
10969 # FIXME: we need at least 68020 code to build shared libraries, but
10970 # adding the `-m68020' flag to GCC prevents building anything better,
10971 # like `-m68040'.
10972 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10976 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10977 # PIC is the default for these OSes.
10980 mingw* | cygwin* | pw32* | os2*)
10981 # This hack is so that the source file can tell whether it is being
10982 # built for inclusion in a dll (and should export symbols for example).
10983 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10984 # (--disable-auto-import) libraries
10985 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
10988 darwin* | rhapsody*)
10989 # PIC is the default on this platform
10990 # Common symbols not allowed in MH_DYLIB files
10991 lt_prog_compiler_pic_FC='-fno-common'
10994 hpux*)
10995 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10996 # not for PA HP-UX.
10997 case $host_cpu in
10998 hppa*64*|ia64*)
10999 # +Z the default
11002 lt_prog_compiler_pic_FC='-fPIC'
11004 esac
11007 interix[3-9]*)
11008 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11009 # Instead, we relocate shared libraries at runtime.
11012 msdosdjgpp*)
11013 # Just because we use GCC doesn't mean we suddenly get shared libraries
11014 # on systems that don't support them.
11015 lt_prog_compiler_can_build_shared_FC=no
11016 enable_shared=no
11019 *nto* | *qnx*)
11020 # QNX uses GNU C++, but need to define -shared option too, otherwise
11021 # it will coredump.
11022 lt_prog_compiler_pic_FC='-fPIC -shared'
11025 sysv4*MP*)
11026 if test -d /usr/nec; then
11027 lt_prog_compiler_pic_FC=-Kconform_pic
11032 lt_prog_compiler_pic_FC='-fPIC'
11034 esac
11035 else
11036 # PORTME Check for flag to pass linker flags through the system compiler.
11037 case $host_os in
11038 aix*)
11039 lt_prog_compiler_wl_FC='-Wl,'
11040 if test "$host_cpu" = ia64; then
11041 # AIX 5 now supports IA64 processor
11042 lt_prog_compiler_static_FC='-Bstatic'
11043 else
11044 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11047 darwin*)
11048 # PIC is the default on this platform
11049 # Common symbols not allowed in MH_DYLIB files
11050 case $cc_basename in
11051 xlc*)
11052 lt_prog_compiler_pic_FC='-qnocommon'
11053 lt_prog_compiler_wl_FC='-Wl,'
11055 esac
11058 mingw* | cygwin* | pw32* | os2*)
11059 # This hack is so that the source file can tell whether it is being
11060 # built for inclusion in a dll (and should export symbols for example).
11061 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11064 hpux9* | hpux10* | hpux11*)
11065 lt_prog_compiler_wl_FC='-Wl,'
11066 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11067 # not for PA HP-UX.
11068 case $host_cpu in
11069 hppa*64*|ia64*)
11070 # +Z the default
11073 lt_prog_compiler_pic_FC='+Z'
11075 esac
11076 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11077 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11080 irix5* | irix6* | nonstopux*)
11081 lt_prog_compiler_wl_FC='-Wl,'
11082 # PIC (with -KPIC) is the default.
11083 lt_prog_compiler_static_FC='-non_shared'
11086 linux* | k*bsd*-gnu)
11087 case $cc_basename in
11088 icc* | ecc*)
11089 lt_prog_compiler_wl_FC='-Wl,'
11090 lt_prog_compiler_pic_FC='-KPIC'
11091 lt_prog_compiler_static_FC='-static'
11093 pgcc* | pgf77* | pgf90* | pgf95*)
11094 # Portland Group compilers (*not* the Pentium gcc compiler,
11095 # which looks to be a dead project)
11096 lt_prog_compiler_wl_FC='-Wl,'
11097 lt_prog_compiler_pic_FC='-fpic'
11098 lt_prog_compiler_static_FC='-Bstatic'
11100 ccc*)
11101 lt_prog_compiler_wl_FC='-Wl,'
11102 # All Alpha code is PIC.
11103 lt_prog_compiler_static_FC='-non_shared'
11106 case `$CC -V 2>&1 | sed 5q` in
11107 *Sun\ C*)
11108 # Sun C 5.9
11109 lt_prog_compiler_pic_FC='-KPIC'
11110 lt_prog_compiler_static_FC='-Bstatic'
11111 lt_prog_compiler_wl_FC='-Wl,'
11113 *Sun\ F*)
11114 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11115 lt_prog_compiler_pic_FC='-KPIC'
11116 lt_prog_compiler_static_FC='-Bstatic'
11117 lt_prog_compiler_wl_FC=''
11119 esac
11121 esac
11124 newsos6)
11125 lt_prog_compiler_pic_FC='-KPIC'
11126 lt_prog_compiler_static_FC='-Bstatic'
11129 *nto* | *qnx*)
11130 # QNX uses GNU C++, but need to define -shared option too, otherwise
11131 # it will coredump.
11132 lt_prog_compiler_pic_FC='-fPIC -shared'
11135 osf3* | osf4* | osf5*)
11136 lt_prog_compiler_wl_FC='-Wl,'
11137 # All OSF/1 code is PIC.
11138 lt_prog_compiler_static_FC='-non_shared'
11141 rdos*)
11142 lt_prog_compiler_static_FC='-non_shared'
11145 solaris*)
11146 lt_prog_compiler_pic_FC='-KPIC'
11147 lt_prog_compiler_static_FC='-Bstatic'
11148 case $cc_basename in
11149 f77* | f90* | f95*)
11150 lt_prog_compiler_wl_FC='-Qoption ld ';;
11152 lt_prog_compiler_wl_FC='-Wl,';;
11153 esac
11156 sunos4*)
11157 lt_prog_compiler_wl_FC='-Qoption ld '
11158 lt_prog_compiler_pic_FC='-PIC'
11159 lt_prog_compiler_static_FC='-Bstatic'
11162 sysv4 | sysv4.2uw2* | sysv4.3*)
11163 lt_prog_compiler_wl_FC='-Wl,'
11164 lt_prog_compiler_pic_FC='-KPIC'
11165 lt_prog_compiler_static_FC='-Bstatic'
11168 sysv4*MP*)
11169 if test -d /usr/nec ;then
11170 lt_prog_compiler_pic_FC='-Kconform_pic'
11171 lt_prog_compiler_static_FC='-Bstatic'
11175 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11176 lt_prog_compiler_wl_FC='-Wl,'
11177 lt_prog_compiler_pic_FC='-KPIC'
11178 lt_prog_compiler_static_FC='-Bstatic'
11181 unicos*)
11182 lt_prog_compiler_wl_FC='-Wl,'
11183 lt_prog_compiler_can_build_shared_FC=no
11186 uts4*)
11187 lt_prog_compiler_pic_FC='-pic'
11188 lt_prog_compiler_static_FC='-Bstatic'
11192 lt_prog_compiler_can_build_shared_FC=no
11194 esac
11197 case $host_os in
11198 # For platforms which do not support PIC, -DPIC is meaningless:
11199 *djgpp*)
11200 lt_prog_compiler_pic_FC=
11203 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11205 esac
11206 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11207 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11212 # Check to make sure the PIC flag actually works.
11214 if test -n "$lt_prog_compiler_pic_FC"; then
11215 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11216 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11217 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11218 echo $ECHO_N "(cached) $ECHO_C" >&6
11219 else
11220 lt_prog_compiler_pic_works_FC=no
11221 ac_outfile=conftest.$ac_objext
11222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11223 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11224 # Insert the option either (1) after the last *FLAGS variable, or
11225 # (2) before a word containing "conftest.", or (3) at the end.
11226 # Note that $ac_compile itself does not contain backslashes and begins
11227 # with a dollar sign (not a hyphen), so the echo should work correctly.
11228 # The option is referenced via a variable to avoid confusing sed.
11229 lt_compile=`echo "$ac_compile" | $SED \
11230 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11231 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11232 -e 's:$: $lt_compiler_flag:'`
11233 (eval echo "\"\$as_me:11233: $lt_compile\"" >&5)
11234 (eval "$lt_compile" 2>conftest.err)
11235 ac_status=$?
11236 cat conftest.err >&5
11237 echo "$as_me:11237: \$? = $ac_status" >&5
11238 if (exit $ac_status) && test -s "$ac_outfile"; then
11239 # The compiler can only warn and ignore the option if not recognized
11240 # So say no if there are warnings other than the usual output.
11241 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11242 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11243 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11244 lt_prog_compiler_pic_works_FC=yes
11247 $RM conftest*
11250 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11251 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11253 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11254 case $lt_prog_compiler_pic_FC in
11255 "" | " "*) ;;
11256 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11257 esac
11258 else
11259 lt_prog_compiler_pic_FC=
11260 lt_prog_compiler_can_build_shared_FC=no
11268 # Check to make sure the static flag actually works.
11270 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11271 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11272 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11273 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11275 else
11276 lt_prog_compiler_static_works_FC=no
11277 save_LDFLAGS="$LDFLAGS"
11278 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11279 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11280 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11281 # The linker can only warn and ignore the option if not recognized
11282 # So say no if there are warnings
11283 if test -s conftest.err; then
11284 # Append any errors to the config.log.
11285 cat conftest.err 1>&5
11286 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11288 if diff conftest.exp conftest.er2 >/dev/null; then
11289 lt_prog_compiler_static_works_FC=yes
11291 else
11292 lt_prog_compiler_static_works_FC=yes
11295 $RM conftest*
11296 LDFLAGS="$save_LDFLAGS"
11299 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11300 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11302 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11304 else
11305 lt_prog_compiler_static_FC=
11311 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11312 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11313 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316 lt_cv_prog_compiler_c_o_FC=no
11317 $RM -r conftest 2>/dev/null
11318 mkdir conftest
11319 cd conftest
11320 mkdir out
11321 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11323 lt_compiler_flag="-o out/conftest2.$ac_objext"
11324 # Insert the option either (1) after the last *FLAGS variable, or
11325 # (2) before a word containing "conftest.", or (3) at the end.
11326 # Note that $ac_compile itself does not contain backslashes and begins
11327 # with a dollar sign (not a hyphen), so the echo should work correctly.
11328 lt_compile=`echo "$ac_compile" | $SED \
11329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11331 -e 's:$: $lt_compiler_flag:'`
11332 (eval echo "\"\$as_me:11332: $lt_compile\"" >&5)
11333 (eval "$lt_compile" 2>out/conftest.err)
11334 ac_status=$?
11335 cat out/conftest.err >&5
11336 echo "$as_me:11336: \$? = $ac_status" >&5
11337 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11338 then
11339 # The compiler can only warn and ignore the option if not recognized
11340 # So say no if there are warnings
11341 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11342 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11343 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11344 lt_cv_prog_compiler_c_o_FC=yes
11347 chmod u+w . 2>&5
11348 $RM conftest*
11349 # SGI C++ compiler will create directory out/ii_files/ for
11350 # template instantiation
11351 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11352 $RM out/* && rmdir out
11353 cd ..
11354 $RM -r conftest
11355 $RM conftest*
11358 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11359 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11363 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11364 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11365 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11366 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 else
11368 lt_cv_prog_compiler_c_o_FC=no
11369 $RM -r conftest 2>/dev/null
11370 mkdir conftest
11371 cd conftest
11372 mkdir out
11373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11375 lt_compiler_flag="-o out/conftest2.$ac_objext"
11376 # Insert the option either (1) after the last *FLAGS variable, or
11377 # (2) before a word containing "conftest.", or (3) at the end.
11378 # Note that $ac_compile itself does not contain backslashes and begins
11379 # with a dollar sign (not a hyphen), so the echo should work correctly.
11380 lt_compile=`echo "$ac_compile" | $SED \
11381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11383 -e 's:$: $lt_compiler_flag:'`
11384 (eval echo "\"\$as_me:11384: $lt_compile\"" >&5)
11385 (eval "$lt_compile" 2>out/conftest.err)
11386 ac_status=$?
11387 cat out/conftest.err >&5
11388 echo "$as_me:11388: \$? = $ac_status" >&5
11389 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11390 then
11391 # The compiler can only warn and ignore the option if not recognized
11392 # So say no if there are warnings
11393 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11394 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11395 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11396 lt_cv_prog_compiler_c_o_FC=yes
11399 chmod u+w . 2>&5
11400 $RM conftest*
11401 # SGI C++ compiler will create directory out/ii_files/ for
11402 # template instantiation
11403 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11404 $RM out/* && rmdir out
11405 cd ..
11406 $RM -r conftest
11407 $RM conftest*
11410 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11411 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11416 hard_links="nottested"
11417 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11418 # do not overwrite the value of need_locks provided by the user
11419 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11420 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11421 hard_links=yes
11422 $RM conftest*
11423 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11424 touch conftest.a
11425 ln conftest.a conftest.b 2>&5 || hard_links=no
11426 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11427 echo "$as_me:$LINENO: result: $hard_links" >&5
11428 echo "${ECHO_T}$hard_links" >&6
11429 if test "$hard_links" = no; then
11430 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11431 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11432 need_locks=warn
11434 else
11435 need_locks=no
11440 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11441 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11443 runpath_var=
11444 allow_undefined_flag_FC=
11445 always_export_symbols_FC=no
11446 archive_cmds_FC=
11447 archive_expsym_cmds_FC=
11448 compiler_needs_object_FC=no
11449 enable_shared_with_static_runtimes_FC=no
11450 export_dynamic_flag_spec_FC=
11451 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11452 hardcode_automatic_FC=no
11453 hardcode_direct_FC=no
11454 hardcode_direct_absolute_FC=no
11455 hardcode_libdir_flag_spec_FC=
11456 hardcode_libdir_flag_spec_ld_FC=
11457 hardcode_libdir_separator_FC=
11458 hardcode_minus_L_FC=no
11459 hardcode_shlibpath_var_FC=unsupported
11460 inherit_rpath_FC=no
11461 link_all_deplibs_FC=unknown
11462 module_cmds_FC=
11463 module_expsym_cmds_FC=
11464 old_archive_from_new_cmds_FC=
11465 old_archive_from_expsyms_cmds_FC=
11466 thread_safe_flag_spec_FC=
11467 whole_archive_flag_spec_FC=
11468 # include_expsyms should be a list of space-separated symbols to be *always*
11469 # included in the symbol list
11470 include_expsyms_FC=
11471 # exclude_expsyms can be an extended regexp of symbols to exclude
11472 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11473 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11474 # as well as any symbol that contains `d'.
11475 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11476 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11477 # platforms (ab)use it in PIC code, but their linkers get confused if
11478 # the symbol is explicitly referenced. Since portable code cannot
11479 # rely on this symbol name, it's probably fine to never include it in
11480 # preloaded symbol tables.
11481 extract_expsyms_cmds=
11483 case $host_os in
11484 cygwin* | mingw* | pw32*)
11485 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11486 # When not using gcc, we currently assume that we are using
11487 # Microsoft Visual C++.
11488 if test "$GCC" != yes; then
11489 with_gnu_ld=no
11492 interix*)
11493 # we just hope/assume this is gcc and not c89 (= MSVC++)
11494 with_gnu_ld=yes
11496 openbsd*)
11497 with_gnu_ld=no
11499 esac
11501 ld_shlibs_FC=yes
11502 if test "$with_gnu_ld" = yes; then
11503 # If archive_cmds runs LD, not CC, wlarc should be empty
11504 wlarc='${wl}'
11506 # Set some defaults for GNU ld with shared library support. These
11507 # are reset later if shared libraries are not supported. Putting them
11508 # here allows them to be overridden if necessary.
11509 runpath_var=LD_RUN_PATH
11510 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11511 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11512 # ancient GNU ld didn't support --whole-archive et. al.
11513 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11514 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11515 else
11516 whole_archive_flag_spec_FC=
11518 supports_anon_versioning=no
11519 case `$LD -v 2>&1` in
11520 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11521 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11522 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11523 *\ 2.11.*) ;; # other 2.11 versions
11524 *) supports_anon_versioning=yes ;;
11525 esac
11527 # See if GNU ld supports shared libraries.
11528 case $host_os in
11529 aix3* | aix4* | aix5*)
11530 # On AIX/PPC, the GNU linker is very broken
11531 if test "$host_cpu" != ia64; then
11532 ld_shlibs_FC=no
11533 cat <<_LT_EOF 1>&2
11535 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11536 *** to be unable to reliably create shared libraries on AIX.
11537 *** Therefore, libtool is disabling shared libraries support. If you
11538 *** really care for shared libraries, you may want to modify your PATH
11539 *** so that a non-GNU linker is found, and then restart.
11541 _LT_EOF
11545 amigaos*)
11546 if test "$host_cpu" = m68k; then
11547 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11548 hardcode_libdir_flag_spec_FC='-L$libdir'
11549 hardcode_minus_L_FC=yes
11552 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11553 # that the semantics of dynamic libraries on AmigaOS, at least up
11554 # to version 4, is to share data among multiple programs linked
11555 # with the same dynamic library. Since this doesn't match the
11556 # behavior of shared libraries on other platforms, we can't use
11557 # them.
11558 ld_shlibs_FC=no
11561 beos*)
11562 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11563 allow_undefined_flag_FC=unsupported
11564 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11565 # support --undefined. This deserves some investigation. FIXME
11566 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11567 else
11568 ld_shlibs_FC=no
11572 cygwin* | mingw* | pw32*)
11573 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11574 # as there is no search path for DLLs.
11575 hardcode_libdir_flag_spec_FC='-L$libdir'
11576 allow_undefined_flag_FC=unsupported
11577 always_export_symbols_FC=no
11578 enable_shared_with_static_runtimes_FC=yes
11579 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11581 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11582 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11583 # If the export-symbols file already is a .def file (1st line
11584 # is EXPORTS), use it as is; otherwise, prepend...
11585 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11586 cp $export_symbols $output_objdir/$soname.def;
11587 else
11588 echo EXPORTS > $output_objdir/$soname.def;
11589 cat $export_symbols >> $output_objdir/$soname.def;
11591 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11592 else
11593 ld_shlibs_FC=no
11597 interix[3-9]*)
11598 hardcode_direct_FC=no
11599 hardcode_shlibpath_var_FC=no
11600 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11601 export_dynamic_flag_spec_FC='${wl}-E'
11602 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11603 # Instead, shared libraries are loaded at an image base (0x10000000 by
11604 # default) and relocated if they conflict, which is a slow very memory
11605 # consuming and fragmenting process. To avoid this, we pick a random,
11606 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11607 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11608 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11609 archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11612 gnu* | linux* | tpf* | k*bsd*-gnu)
11613 tmp_diet=no
11614 if test "$host_os" = linux-dietlibc; then
11615 case $cc_basename in
11616 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11617 esac
11619 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11620 && test "$tmp_diet" = no
11621 then
11622 tmp_addflag=
11623 case $cc_basename,$host_cpu in
11624 pgcc*) # Portland Group C compiler
11625 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11626 tmp_addflag=' $pic_flag'
11628 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11629 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11630 tmp_addflag=' $pic_flag -Mnomain' ;;
11631 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11632 tmp_addflag=' -i_dynamic' ;;
11633 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11634 tmp_addflag=' -i_dynamic -nofor_main' ;;
11635 ifc* | ifort*) # Intel Fortran compiler
11636 tmp_addflag=' -nofor_main' ;;
11637 esac
11638 case `$CC -V 2>&1 | sed 5q` in
11639 *Sun\ C*) # Sun C 5.9
11640 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11641 compiler_needs_object_FC=yes
11642 tmp_sharedflag='-G' ;;
11643 *Sun\ F*) # Sun Fortran 8.3
11644 tmp_sharedflag='-G' ;;
11646 tmp_sharedflag='-shared' ;;
11647 esac
11648 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11650 if test "x$supports_anon_versioning" = xyes; then
11651 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11652 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11653 echo "local: *; };" >> $output_objdir/$libname.ver~
11654 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11656 else
11657 ld_shlibs_FC=no
11661 netbsd*)
11662 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11663 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11664 wlarc=
11665 else
11666 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11667 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11671 solaris*)
11672 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11673 ld_shlibs_FC=no
11674 cat <<_LT_EOF 1>&2
11676 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11677 *** create shared libraries on Solaris systems. Therefore, libtool
11678 *** is disabling shared libraries support. We urge you to upgrade GNU
11679 *** binutils to release 2.9.1 or newer. Another option is to modify
11680 *** your PATH or compiler configuration so that the native linker is
11681 *** used, and then restart.
11683 _LT_EOF
11684 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11685 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11686 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11687 else
11688 ld_shlibs_FC=no
11692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11693 case `$LD -v 2>&1` in
11694 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11695 ld_shlibs_FC=no
11696 cat <<_LT_EOF 1>&2
11698 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11699 *** reliably create shared libraries on SCO systems. Therefore, libtool
11700 *** is disabling shared libraries support. We urge you to upgrade GNU
11701 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11702 *** your PATH or compiler configuration so that the native linker is
11703 *** used, and then restart.
11705 _LT_EOF
11708 # For security reasons, it is highly recommended that you always
11709 # use absolute paths for naming shared libraries, and exclude the
11710 # DT_RUNPATH tag from executables and libraries. But doing so
11711 # requires that you compile everything twice, which is a pain.
11712 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11713 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11714 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11715 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11716 else
11717 ld_shlibs_FC=no
11720 esac
11723 sunos4*)
11724 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11725 wlarc=
11726 hardcode_direct_FC=yes
11727 hardcode_shlibpath_var_FC=no
11731 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11732 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11734 else
11735 ld_shlibs_FC=no
11738 esac
11740 if test "$ld_shlibs_FC" = no; then
11741 runpath_var=
11742 hardcode_libdir_flag_spec_FC=
11743 export_dynamic_flag_spec_FC=
11744 whole_archive_flag_spec_FC=
11746 else
11747 # PORTME fill in a description of your system's linker (not GNU ld)
11748 case $host_os in
11749 aix3*)
11750 allow_undefined_flag_FC=unsupported
11751 always_export_symbols_FC=yes
11752 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11753 # Note: this linker hardcodes the directories in LIBPATH if there
11754 # are no directories specified by -L.
11755 hardcode_minus_L_FC=yes
11756 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11757 # Neither direct hardcoding nor static linking is supported with a
11758 # broken collect2.
11759 hardcode_direct_FC=unsupported
11763 aix4* | aix5*)
11764 if test "$host_cpu" = ia64; then
11765 # On IA64, the linker does run time linking by default, so we don't
11766 # have to do anything special.
11767 aix_use_runtimelinking=no
11768 exp_sym_flag='-Bexport'
11769 no_entry_flag=""
11770 else
11771 # If we're using GNU nm, then we don't want the "-C" option.
11772 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11773 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11774 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11775 else
11776 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11778 aix_use_runtimelinking=no
11780 # Test if we are trying to use run time linking or normal
11781 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11782 # need to do runtime linking.
11783 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11784 for ld_flag in $LDFLAGS; do
11785 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11786 aix_use_runtimelinking=yes
11787 break
11789 done
11791 esac
11793 exp_sym_flag='-bexport'
11794 no_entry_flag='-bnoentry'
11797 # When large executables or shared objects are built, AIX ld can
11798 # have problems creating the table of contents. If linking a library
11799 # or program results in "error TOC overflow" add -mminimal-toc to
11800 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11801 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11803 archive_cmds_FC=''
11804 hardcode_direct_FC=yes
11805 hardcode_direct_absolute_FC=yes
11806 hardcode_libdir_separator_FC=':'
11807 link_all_deplibs_FC=yes
11808 file_list_spec_FC='${wl}-f,'
11810 if test "$GCC" = yes; then
11811 case $host_os in aix4.[012]|aix4.[012].*)
11812 # We only want to do this on AIX 4.2 and lower, the check
11813 # below for broken collect2 doesn't work under 4.3+
11814 collect2name=`${CC} -print-prog-name=collect2`
11815 if test -f "$collect2name" &&
11816 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11817 then
11818 # We have reworked collect2
11820 else
11821 # We have old collect2
11822 hardcode_direct_FC=unsupported
11823 # It fails to find uninstalled libraries when the uninstalled
11824 # path is not listed in the libpath. Setting hardcode_minus_L
11825 # to unsupported forces relinking
11826 hardcode_minus_L_FC=yes
11827 hardcode_libdir_flag_spec_FC='-L$libdir'
11828 hardcode_libdir_separator_FC=
11831 esac
11832 shared_flag='-shared'
11833 if test "$aix_use_runtimelinking" = yes; then
11834 shared_flag="$shared_flag "'${wl}-G'
11836 else
11837 # not using gcc
11838 if test "$host_cpu" = ia64; then
11839 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11840 # chokes on -Wl,-G. The following line is correct:
11841 shared_flag='-G'
11842 else
11843 if test "$aix_use_runtimelinking" = yes; then
11844 shared_flag='${wl}-G'
11845 else
11846 shared_flag='${wl}-bM:SRE'
11851 # It seems that -bexpall does not export symbols beginning with
11852 # underscore (_), so it is better to generate a list of symbols to export.
11853 always_export_symbols_FC=yes
11854 if test "$aix_use_runtimelinking" = yes; then
11855 # Warning - without using the other runtime loading flags (-brtl),
11856 # -berok will link without error, but may produce a broken library.
11857 allow_undefined_flag_FC='-berok'
11858 # Determine the default libpath from the value encoded in an
11859 # empty executable.
11860 if test x$gcc_no_link = xyes; then
11861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11863 { (exit 1); exit 1; }; }
11865 cat >conftest.$ac_ext <<_ACEOF
11866 program main
11869 _ACEOF
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11872 (eval $ac_link) 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try='test -z "$ac_fc_werror_flag"
11880 || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try='test -s conftest$ac_exeext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11893 lt_aix_libpath_sed='
11894 /Import File Strings/,/^$/ {
11895 /^0/ {
11896 s/^0 *\(.*\)$/\1/
11900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11901 # Check for a 64-bit object if we didn't find anything.
11902 if test -z "$aix_libpath"; then
11903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11905 else
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11910 rm -f conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11914 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11915 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11916 else
11917 if test "$host_cpu" = ia64; then
11918 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11919 allow_undefined_flag_FC="-z nodefs"
11920 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11921 else
11922 # Determine the default libpath from the value encoded in an
11923 # empty executable.
11924 if test x$gcc_no_link = xyes; then
11925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11927 { (exit 1); exit 1; }; }
11929 cat >conftest.$ac_ext <<_ACEOF
11930 program main
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>conftest.er1
11937 ac_status=$?
11938 grep -v '^ *+' conftest.er1 >conftest.err
11939 rm -f conftest.er1
11940 cat conftest.err >&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try='test -z "$ac_fc_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest$ac_exeext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11957 lt_aix_libpath_sed='
11958 /Import File Strings/,/^$/ {
11959 /^0/ {
11960 s/^0 *\(.*\)$/\1/
11964 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11965 # Check for a 64-bit object if we didn't find anything.
11966 if test -z "$aix_libpath"; then
11967 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11969 else
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11974 rm -f conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11978 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11979 # Warning - without using the other run time loading flags,
11980 # -berok will link without error, but may produce a broken library.
11981 no_undefined_flag_FC=' ${wl}-bernotok'
11982 allow_undefined_flag_FC=' ${wl}-berok'
11983 # Exported symbols can be pulled into shared objects from archives
11984 whole_archive_flag_spec_FC='$convenience'
11985 archive_cmds_need_lc_FC=yes
11986 # This is similar to how AIX traditionally builds its shared libraries.
11987 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11992 amigaos*)
11993 if test "$host_cpu" = m68k; then
11994 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11995 hardcode_libdir_flag_spec_FC='-L$libdir'
11996 hardcode_minus_L_FC=yes
11998 # see comment about different semantics on the GNU ld section
11999 ld_shlibs_FC=no
12002 bsdi[45]*)
12003 export_dynamic_flag_spec_FC=-rdynamic
12006 cygwin* | mingw* | pw32*)
12007 # When not using gcc, we currently assume that we are using
12008 # Microsoft Visual C++.
12009 # hardcode_libdir_flag_spec is actually meaningless, as there is
12010 # no search path for DLLs.
12011 hardcode_libdir_flag_spec_FC=' '
12012 allow_undefined_flag_FC=unsupported
12013 # Tell ltmain to make .lib files, not .a files.
12014 libext=lib
12015 # Tell ltmain to make .dll files, not .so files.
12016 shrext_cmds=".dll"
12017 # FIXME: Setting linknames here is a bad hack.
12018 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12019 # The linker will automatically build a .lib file if we build a DLL.
12020 old_archive_from_new_cmds_FC='true'
12021 # FIXME: Should let the user specify the lib program.
12022 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12023 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12024 enable_shared_with_static_runtimes_FC=yes
12027 darwin* | rhapsody*)
12028 case $host_os in
12029 rhapsody* | darwin1.[012])
12030 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12032 *) # Darwin 1.3 on
12033 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12034 10.[012])
12035 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12037 10.*)
12038 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12040 esac
12042 esac
12043 archive_cmds_need_lc_FC=no
12044 hardcode_direct_FC=no
12045 hardcode_automatic_FC=yes
12046 hardcode_shlibpath_var_FC=unsupported
12047 whole_archive_flag_spec_FC=''
12048 link_all_deplibs_FC=yes
12049 if test "$GCC" = yes ; then
12050 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 else
12053 lt_cv_apple_cc_single_mod=no
12054 if test -z "${LT_MULTI_MODULE}"; then
12055 # By default we will add the -single_module flag. You can override
12056 # by either setting the environment variable LT_MULTI_MODULE
12057 # non-empty at configure time, or by adding -multi-module to the
12058 # link flags.
12059 echo "int foo(void){return 1;}" > conftest.c
12060 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12061 -dynamiclib ${wl}-single_module conftest.c
12062 if test -f libconftest.dylib; then
12063 lt_cv_apple_cc_single_mod=yes
12064 rm libconftest.dylib
12066 rm conftest.$ac_ext
12070 output_verbose_link_cmd=echo
12071 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12072 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12073 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12074 else
12075 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12076 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12078 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12079 module_expsym_cmds_FC='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12080 else
12081 case $cc_basename in
12082 xlc*)
12083 output_verbose_link_cmd=echo
12084 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12085 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12086 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12087 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12088 module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12091 ld_shlibs_FC=no
12093 esac
12097 dgux*)
12098 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12099 hardcode_libdir_flag_spec_FC='-L$libdir'
12100 hardcode_shlibpath_var_FC=no
12103 freebsd1*)
12104 ld_shlibs_FC=no
12107 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12108 # support. Future versions do this automatically, but an explicit c++rt0.o
12109 # does not break anything, and helps significantly (at the cost of a little
12110 # extra space).
12111 freebsd2.2*)
12112 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12113 hardcode_libdir_flag_spec_FC='-R$libdir'
12114 hardcode_direct_FC=yes
12115 hardcode_shlibpath_var_FC=no
12118 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12119 freebsd2*)
12120 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12121 hardcode_direct_FC=yes
12122 hardcode_minus_L_FC=yes
12123 hardcode_shlibpath_var_FC=no
12126 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12127 freebsd* | dragonfly*)
12128 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12129 hardcode_libdir_flag_spec_FC='-R$libdir'
12130 hardcode_direct_FC=yes
12131 hardcode_shlibpath_var_FC=no
12134 hpux9*)
12135 if test "$GCC" = yes; then
12136 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12137 else
12138 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12140 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12141 hardcode_libdir_separator_FC=:
12142 hardcode_direct_FC=yes
12144 # hardcode_minus_L: Not really in the search PATH,
12145 # but as the default location of the library.
12146 hardcode_minus_L_FC=yes
12147 export_dynamic_flag_spec_FC='${wl}-E'
12150 hpux10*)
12151 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12152 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12153 else
12154 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12156 if test "$with_gnu_ld" = no; then
12157 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12158 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12159 hardcode_libdir_separator_FC=:
12160 hardcode_direct_FC=yes
12161 hardcode_direct_absolute_FC=yes
12162 export_dynamic_flag_spec_FC='${wl}-E'
12163 # hardcode_minus_L: Not really in the search PATH,
12164 # but as the default location of the library.
12165 hardcode_minus_L_FC=yes
12169 hpux11*)
12170 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12171 case $host_cpu in
12172 hppa*64*)
12173 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12175 ia64*)
12176 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12179 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12181 esac
12182 else
12183 case $host_cpu in
12184 hppa*64*)
12185 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12187 ia64*)
12188 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12191 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12193 esac
12195 if test "$with_gnu_ld" = no; then
12196 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12197 hardcode_libdir_separator_FC=:
12199 case $host_cpu in
12200 hppa*64*|ia64*)
12201 hardcode_direct_FC=no
12202 hardcode_shlibpath_var_FC=no
12205 hardcode_direct_FC=yes
12206 hardcode_direct_absolute_FC=yes
12207 export_dynamic_flag_spec_FC='${wl}-E'
12209 # hardcode_minus_L: Not really in the search PATH,
12210 # but as the default location of the library.
12211 hardcode_minus_L_FC=yes
12213 esac
12217 irix5* | irix6* | nonstopux*)
12218 if test "$GCC" = yes; then
12219 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12220 # Try to use the -exported_symbol ld option, if it does not
12221 # work, assume that -exports_file does not work either and
12222 # implicitly export all symbols.
12223 save_LDFLAGS="$LDFLAGS"
12224 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12225 if test x$gcc_no_link = xyes; then
12226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12228 { (exit 1); exit 1; }; }
12230 cat >conftest.$ac_ext <<_ACEOF
12231 int foo(void) {}
12232 _ACEOF
12233 rm -f conftest.$ac_objext conftest$ac_exeext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12235 (eval $ac_link) 2>conftest.er1
12236 ac_status=$?
12237 grep -v '^ *+' conftest.er1 >conftest.err
12238 rm -f conftest.er1
12239 cat conftest.err >&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try='test -z "$ac_fc_werror_flag"
12243 || test ! -s conftest.err'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12246 ac_status=$?
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; } &&
12249 { ac_try='test -s conftest$ac_exeext'
12250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5
12252 ac_status=$?
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12255 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12257 else
12258 echo "$as_me: failed program was:" >&5
12259 sed 's/^/| /' conftest.$ac_ext >&5
12262 rm -f conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12264 LDFLAGS="$save_LDFLAGS"
12265 else
12266 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12267 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12269 archive_cmds_need_lc_FC='no'
12270 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12271 hardcode_libdir_separator_FC=:
12272 inherit_rpath_FC=yes
12273 link_all_deplibs_FC=yes
12276 netbsd*)
12277 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12278 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12279 else
12280 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12282 hardcode_libdir_flag_spec_FC='-R$libdir'
12283 hardcode_direct_FC=yes
12284 hardcode_shlibpath_var_FC=no
12287 newsos6)
12288 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12289 hardcode_direct_FC=yes
12290 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12291 hardcode_libdir_separator_FC=:
12292 hardcode_shlibpath_var_FC=no
12295 *nto* | *qnx*)
12298 openbsd*)
12299 hardcode_direct_FC=yes
12300 hardcode_shlibpath_var_FC=no
12301 hardcode_direct_absolute_FC=yes
12302 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12303 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12304 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12305 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12306 export_dynamic_flag_spec_FC='${wl}-E'
12307 else
12308 case $host_os in
12309 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12310 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12311 hardcode_libdir_flag_spec_FC='-R$libdir'
12314 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12315 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12317 esac
12321 os2*)
12322 hardcode_libdir_flag_spec_FC='-L$libdir'
12323 hardcode_minus_L_FC=yes
12324 allow_undefined_flag_FC=unsupported
12325 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12326 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12329 osf3*)
12330 if test "$GCC" = yes; then
12331 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12332 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12333 else
12334 allow_undefined_flag_FC=' -expect_unresolved \*'
12335 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12337 archive_cmds_need_lc_FC='no'
12338 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12339 hardcode_libdir_separator_FC=:
12342 osf4* | osf5*) # as osf3* with the addition of -msym flag
12343 if test "$GCC" = yes; then
12344 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12345 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12346 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12347 else
12348 allow_undefined_flag_FC=' -expect_unresolved \*'
12349 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12350 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12351 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12353 # Both c and cxx compiler support -rpath directly
12354 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12356 archive_cmds_need_lc_FC='no'
12357 hardcode_libdir_separator_FC=:
12360 solaris*)
12361 no_undefined_flag_FC=' -z defs'
12362 if test "$GCC" = yes; then
12363 wlarc='${wl}'
12364 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12365 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12366 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12367 else
12368 case `$CC -V 2>&1` in
12369 *"Compilers 5.0"*)
12370 wlarc=''
12371 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12372 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12373 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12376 wlarc='${wl}'
12377 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12378 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12379 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12381 esac
12383 hardcode_libdir_flag_spec_FC='-R$libdir'
12384 hardcode_shlibpath_var_FC=no
12385 case $host_os in
12386 solaris2.[0-5] | solaris2.[0-5].*) ;;
12388 # The compiler driver will combine and reorder linker options,
12389 # but understands `-z linker_flag'. GCC discards it without `$wl',
12390 # but is careful enough not to reorder.
12391 # Supported since Solaris 2.6 (maybe 2.5.1?)
12392 if test "$GCC" = yes; then
12393 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12394 else
12395 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12398 esac
12399 link_all_deplibs_FC=yes
12402 sunos4*)
12403 if test "x$host_vendor" = xsequent; then
12404 # Use $CC to link under sequent, because it throws in some extra .o
12405 # files that make .init and .fini sections work.
12406 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12407 else
12408 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12410 hardcode_libdir_flag_spec_FC='-L$libdir'
12411 hardcode_direct_FC=yes
12412 hardcode_minus_L_FC=yes
12413 hardcode_shlibpath_var_FC=no
12416 sysv4)
12417 case $host_vendor in
12418 sni)
12419 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12420 hardcode_direct_FC=yes # is this really true???
12422 siemens)
12423 ## LD is ld it makes a PLAMLIB
12424 ## CC just makes a GrossModule.
12425 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12426 reload_cmds_FC='$CC -r -o $output$reload_objs'
12427 hardcode_direct_FC=no
12429 motorola)
12430 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12431 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12433 esac
12434 runpath_var='LD_RUN_PATH'
12435 hardcode_shlibpath_var_FC=no
12438 sysv4.3*)
12439 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12440 hardcode_shlibpath_var_FC=no
12441 export_dynamic_flag_spec_FC='-Bexport'
12444 sysv4*MP*)
12445 if test -d /usr/nec; then
12446 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12447 hardcode_shlibpath_var_FC=no
12448 runpath_var=LD_RUN_PATH
12449 hardcode_runpath_var=yes
12450 ld_shlibs_FC=yes
12454 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12455 no_undefined_flag_FC='${wl}-z,text'
12456 archive_cmds_need_lc_FC=no
12457 hardcode_shlibpath_var_FC=no
12458 runpath_var='LD_RUN_PATH'
12460 if test "$GCC" = yes; then
12461 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12462 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 else
12464 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12465 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12469 sysv5* | sco3.2v5* | sco5v6*)
12470 # Note: We can NOT use -z defs as we might desire, because we do not
12471 # link with -lc, and that would cause any symbols used from libc to
12472 # always be unresolved, which means just about no library would
12473 # ever link correctly. If we're not using GNU ld we use -z text
12474 # though, which does catch some bad symbols but isn't as heavy-handed
12475 # as -z defs.
12476 no_undefined_flag_FC='${wl}-z,text'
12477 allow_undefined_flag_FC='${wl}-z,nodefs'
12478 archive_cmds_need_lc_FC=no
12479 hardcode_shlibpath_var_FC=no
12480 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12481 hardcode_libdir_separator_FC=':'
12482 link_all_deplibs_FC=yes
12483 export_dynamic_flag_spec_FC='${wl}-Bexport'
12484 runpath_var='LD_RUN_PATH'
12486 if test "$GCC" = yes; then
12487 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12488 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12489 else
12490 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12491 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12495 uts4*)
12496 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12497 hardcode_libdir_flag_spec_FC='-L$libdir'
12498 hardcode_shlibpath_var_FC=no
12502 ld_shlibs_FC=no
12504 esac
12506 if test x$host_vendor = xsni; then
12507 case $host in
12508 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12509 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12511 esac
12515 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12516 echo "${ECHO_T}$ld_shlibs_FC" >&6
12517 test "$ld_shlibs_FC" = no && can_build_shared=no
12519 with_gnu_ld_FC=$with_gnu_ld
12527 # Do we need to explicitly link libc?
12529 case "x$archive_cmds_need_lc_FC" in
12530 x|xyes)
12531 # Assume -lc should be added
12532 archive_cmds_need_lc_FC=yes
12534 if test "$enable_shared" = yes && test "$GCC" = yes; then
12535 case $archive_cmds_FC in
12536 *'~'*)
12537 # FIXME: we may have to deal with multi-command sequences.
12539 '$CC '*)
12540 # Test whether the compiler implicitly links with -lc since on some
12541 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12542 # to ld, don't add -lc before -lgcc.
12543 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12544 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12545 $RM conftest*
12546 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12549 (eval $ac_compile) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } 2>conftest.err; then
12553 soname=conftest
12554 lib=conftest
12555 libobjs=conftest.$ac_objext
12556 deplibs=
12557 wl=$lt_prog_compiler_wl_FC
12558 pic_flag=$lt_prog_compiler_pic_FC
12559 compiler_flags=-v
12560 linker_flags=-v
12561 verstring=
12562 output_objdir=.
12563 libname=conftest
12564 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12565 allow_undefined_flag_FC=
12566 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12567 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }
12571 then
12572 archive_cmds_need_lc_FC=no
12573 else
12574 archive_cmds_need_lc_FC=yes
12576 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12577 else
12578 cat conftest.err 1>&5
12580 $RM conftest*
12581 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12582 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12584 esac
12587 esac
12652 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12653 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12654 withGCC=$ac_cv_fc_compiler_gnu
12655 library_names_spec=
12656 libname_spec='lib$name'
12657 soname_spec=
12658 shrext_cmds=".so"
12659 postinstall_cmds=
12660 postuninstall_cmds=
12661 finish_cmds=
12662 finish_eval=
12663 shlibpath_var=
12664 shlibpath_overrides_runpath=unknown
12665 version_type=none
12666 dynamic_linker="$host_os ld.so"
12667 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12668 need_lib_prefix=unknown
12669 hardcode_into_libs=no
12671 # when you set need_version to no, make sure it does not cause -set_version
12672 # flags to be left without arguments
12673 need_version=unknown
12675 case $host_os in
12676 aix3*)
12677 version_type=linux
12678 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12679 shlibpath_var=LIBPATH
12681 # AIX 3 has no versioning support, so we append a major version to the name.
12682 soname_spec='${libname}${release}${shared_ext}$major'
12685 aix4* | aix5*)
12686 version_type=linux
12687 need_lib_prefix=no
12688 need_version=no
12689 hardcode_into_libs=yes
12690 if test "$host_cpu" = ia64; then
12691 # AIX 5 supports IA64
12692 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12693 shlibpath_var=LD_LIBRARY_PATH
12694 else
12695 # With GCC up to 2.95.x, collect2 would create an import file
12696 # for dependence libraries. The import file would start with
12697 # the line `#! .'. This would cause the generated library to
12698 # depend on `.', always an invalid library. This was fixed in
12699 # development snapshots of GCC prior to 3.0.
12700 case $host_os in
12701 aix4 | aix4.[01] | aix4.[01].*)
12702 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12703 echo ' yes '
12704 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12706 else
12707 can_build_shared=no
12710 esac
12711 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12712 # soname into executable. Probably we can add versioning support to
12713 # collect2, so additional links can be useful in future.
12714 if test "$aix_use_runtimelinking" = yes; then
12715 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12716 # instead of lib<name>.a to let people know that these are not
12717 # typical AIX shared libraries.
12718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12719 else
12720 # We preserve .a as extension for shared libraries through AIX4.2
12721 # and later when we are not doing run time linking.
12722 library_names_spec='${libname}${release}.a $libname.a'
12723 soname_spec='${libname}${release}${shared_ext}$major'
12725 shlibpath_var=LIBPATH
12729 amigaos*)
12730 if test "$host_cpu" = m68k; then
12731 library_names_spec='$libname.ixlibrary $libname.a'
12732 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12733 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12734 else
12735 dynamic_linker=no
12739 beos*)
12740 library_names_spec='${libname}${shared_ext}'
12741 dynamic_linker="$host_os ld.so"
12742 shlibpath_var=LIBRARY_PATH
12745 bsdi[45]*)
12746 version_type=linux
12747 need_version=no
12748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12749 soname_spec='${libname}${release}${shared_ext}$major'
12750 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12751 shlibpath_var=LD_LIBRARY_PATH
12752 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12753 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12754 # the default ld.so.conf also contains /usr/contrib/lib and
12755 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12756 # libtool to hard-code these into programs
12759 cygwin* | mingw* | pw32*)
12760 version_type=windows
12761 shrext_cmds=".dll"
12762 need_version=no
12763 need_lib_prefix=no
12765 case $withGCC,$host_os in
12766 yes,cygwin* | yes,mingw* | yes,pw32*)
12767 library_names_spec='$libname.dll.a'
12768 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12769 postinstall_cmds='base_file=`basename \${file}`~
12770 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12771 dldir=$destdir/`dirname \$dlpath`~
12772 test -d \$dldir || mkdir -p \$dldir~
12773 $install_prog $dir/$dlname \$dldir/$dlname~
12774 chmod a+x \$dldir/$dlname~
12775 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12776 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12778 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12779 dlpath=$dir/\$dldll~
12780 $RM \$dlpath'
12781 shlibpath_overrides_runpath=yes
12783 case $host_os in
12784 cygwin*)
12785 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12786 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12787 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12789 mingw*)
12790 # MinGW DLLs use traditional 'lib' prefix
12791 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12792 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12793 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12794 # It is most probably a Windows format PATH printed by
12795 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12796 # path with ; separators, and with drive letters. We can handle the
12797 # drive letters (cygwin fileutils understands them), so leave them,
12798 # especially as we might pass files found there to a mingw objdump,
12799 # which wouldn't understand a cygwinified path. Ahh.
12800 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12801 else
12802 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12805 pw32*)
12806 # pw32 DLLs use 'pw' prefix rather than 'lib'
12807 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12809 esac
12813 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12815 esac
12816 dynamic_linker='Win32 ld.exe'
12817 # FIXME: first we should search . and the directory the executable is in
12818 shlibpath_var=PATH
12821 darwin* | rhapsody*)
12822 dynamic_linker="$host_os dyld"
12823 version_type=darwin
12824 need_lib_prefix=no
12825 need_version=no
12826 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12827 soname_spec='${libname}${release}${major}$shared_ext'
12828 shlibpath_overrides_runpath=yes
12829 shlibpath_var=DYLD_LIBRARY_PATH
12830 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12832 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12835 dgux*)
12836 version_type=linux
12837 need_lib_prefix=no
12838 need_version=no
12839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12840 soname_spec='${libname}${release}${shared_ext}$major'
12841 shlibpath_var=LD_LIBRARY_PATH
12844 freebsd1*)
12845 dynamic_linker=no
12848 freebsd* | dragonfly*)
12849 # DragonFly does not have aout. When/if they implement a new
12850 # versioning mechanism, adjust this.
12851 if test -x /usr/bin/objformat; then
12852 objformat=`/usr/bin/objformat`
12853 else
12854 case $host_os in
12855 freebsd[123]*) objformat=aout ;;
12856 *) objformat=elf ;;
12857 esac
12859 version_type=freebsd-$objformat
12860 case $version_type in
12861 freebsd-elf*)
12862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12863 need_version=no
12864 need_lib_prefix=no
12866 freebsd-*)
12867 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12868 need_version=yes
12870 esac
12871 shlibpath_var=LD_LIBRARY_PATH
12872 case $host_os in
12873 freebsd2*)
12874 shlibpath_overrides_runpath=yes
12876 freebsd3.[01]* | freebsdelf3.[01]*)
12877 shlibpath_overrides_runpath=yes
12878 hardcode_into_libs=yes
12880 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12881 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12882 shlibpath_overrides_runpath=no
12883 hardcode_into_libs=yes
12885 *) # from 4.6 on, and DragonFly
12886 shlibpath_overrides_runpath=yes
12887 hardcode_into_libs=yes
12889 esac
12892 gnu*)
12893 version_type=linux
12894 need_lib_prefix=no
12895 need_version=no
12896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12897 soname_spec='${libname}${release}${shared_ext}$major'
12898 shlibpath_var=LD_LIBRARY_PATH
12899 hardcode_into_libs=yes
12902 hpux9* | hpux10* | hpux11*)
12903 # Give a soname corresponding to the major version so that dld.sl refuses to
12904 # link against other versions.
12905 version_type=sunos
12906 need_lib_prefix=no
12907 need_version=no
12908 case $host_cpu in
12909 ia64*)
12910 shrext_cmds='.so'
12911 hardcode_into_libs=yes
12912 dynamic_linker="$host_os dld.so"
12913 shlibpath_var=LD_LIBRARY_PATH
12914 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12916 soname_spec='${libname}${release}${shared_ext}$major'
12917 if test "X$HPUX_IA64_MODE" = X32; then
12918 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12919 else
12920 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12922 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12924 hppa*64*)
12925 shrext_cmds='.sl'
12926 hardcode_into_libs=yes
12927 dynamic_linker="$host_os dld.sl"
12928 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12929 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12931 soname_spec='${libname}${release}${shared_ext}$major'
12932 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12933 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12936 shrext_cmds='.sl'
12937 dynamic_linker="$host_os dld.sl"
12938 shlibpath_var=SHLIB_PATH
12939 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12941 soname_spec='${libname}${release}${shared_ext}$major'
12943 esac
12944 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12945 postinstall_cmds='chmod 555 $lib'
12948 interix[3-9]*)
12949 version_type=linux
12950 need_lib_prefix=no
12951 need_version=no
12952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12953 soname_spec='${libname}${release}${shared_ext}$major'
12954 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12955 shlibpath_var=LD_LIBRARY_PATH
12956 shlibpath_overrides_runpath=no
12957 hardcode_into_libs=yes
12960 irix5* | irix6* | nonstopux*)
12961 case $host_os in
12962 nonstopux*) version_type=nonstopux ;;
12964 if test "$lt_cv_prog_gnu_ld" = yes; then
12965 version_type=linux
12966 else
12967 version_type=irix
12968 fi ;;
12969 esac
12970 need_lib_prefix=no
12971 need_version=no
12972 soname_spec='${libname}${release}${shared_ext}$major'
12973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12974 case $host_os in
12975 irix5* | nonstopux*)
12976 libsuff= shlibsuff=
12979 case $LD in # libtool.m4 will add one of these switches to LD
12980 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12981 libsuff= shlibsuff= libmagic=32-bit;;
12982 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12983 libsuff=32 shlibsuff=N32 libmagic=N32;;
12984 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12985 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12986 *) libsuff= shlibsuff= libmagic=never-match;;
12987 esac
12989 esac
12990 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12991 shlibpath_overrides_runpath=no
12992 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12993 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12994 hardcode_into_libs=yes
12997 # No shared lib support for Linux oldld, aout, or coff.
12998 linux*oldld* | linux*aout* | linux*coff*)
12999 dynamic_linker=no
13002 # This must be Linux ELF.
13003 linux* | k*bsd*-gnu)
13004 version_type=linux
13005 need_lib_prefix=no
13006 need_version=no
13007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13008 soname_spec='${libname}${release}${shared_ext}$major'
13009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13010 shlibpath_var=LD_LIBRARY_PATH
13011 shlibpath_overrides_runpath=no
13012 # Some binutils ld are patched to set DT_RUNPATH
13013 save_LDFLAGS=$LDFLAGS
13014 save_libdir=$libdir
13015 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13016 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13017 if test x$gcc_no_link = xyes; then
13018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13020 { (exit 1); exit 1; }; }
13022 cat >conftest.$ac_ext <<_ACEOF
13023 program main
13026 _ACEOF
13027 rm -f conftest.$ac_objext conftest$ac_exeext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13029 (eval $ac_link) 2>conftest.er1
13030 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try='test -z "$ac_fc_werror_flag"
13037 || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try='test -s conftest$ac_exeext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13050 shlibpath_overrides_runpath=yes
13053 else
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13058 rm -f conftest.err conftest.$ac_objext \
13059 conftest$ac_exeext conftest.$ac_ext
13060 LDFLAGS=$save_LDFLAGS
13061 libdir=$save_libdir
13063 # This implies no fast_install, which is unacceptable.
13064 # Some rework will be needed to allow for fast_install
13065 # before this can be enabled.
13066 hardcode_into_libs=yes
13068 # Append ld.so.conf contents to the search path
13069 if test -f /etc/ld.so.conf; then
13070 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13071 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13074 # We used to test for /lib/ld.so.1 and disable shared libraries on
13075 # powerpc, because MkLinux only supported shared libraries with the
13076 # GNU dynamic linker. Since this was broken with cross compilers,
13077 # most powerpc-linux boxes support dynamic linking these days and
13078 # people can always --disable-shared, the test was removed, and we
13079 # assume the GNU/Linux dynamic linker is in use.
13080 dynamic_linker='GNU/Linux ld.so'
13083 netbsd*)
13084 version_type=sunos
13085 need_lib_prefix=no
13086 need_version=no
13087 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13089 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13090 dynamic_linker='NetBSD (a.out) ld.so'
13091 else
13092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13093 soname_spec='${libname}${release}${shared_ext}$major'
13094 dynamic_linker='NetBSD ld.elf_so'
13096 shlibpath_var=LD_LIBRARY_PATH
13097 shlibpath_overrides_runpath=yes
13098 hardcode_into_libs=yes
13101 newsos6)
13102 version_type=linux
13103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13104 shlibpath_var=LD_LIBRARY_PATH
13105 shlibpath_overrides_runpath=yes
13108 *nto* | *qnx*)
13109 version_type=qnx
13110 need_lib_prefix=no
13111 need_version=no
13112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13113 soname_spec='${libname}${release}${shared_ext}$major'
13114 shlibpath_var=LD_LIBRARY_PATH
13115 shlibpath_overrides_runpath=no
13116 hardcode_into_libs=yes
13117 dynamic_linker='ldqnx.so'
13120 openbsd*)
13121 version_type=sunos
13122 sys_lib_dlsearch_path_spec="/usr/lib"
13123 need_lib_prefix=no
13124 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13125 case $host_os in
13126 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13127 *) need_version=no ;;
13128 esac
13129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13130 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13131 shlibpath_var=LD_LIBRARY_PATH
13132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13133 case $host_os in
13134 openbsd2.[89] | openbsd2.[89].*)
13135 shlibpath_overrides_runpath=no
13138 shlibpath_overrides_runpath=yes
13140 esac
13141 else
13142 shlibpath_overrides_runpath=yes
13146 os2*)
13147 libname_spec='$name'
13148 shrext_cmds=".dll"
13149 need_lib_prefix=no
13150 library_names_spec='$libname${shared_ext} $libname.a'
13151 dynamic_linker='OS/2 ld.exe'
13152 shlibpath_var=LIBPATH
13155 osf3* | osf4* | osf5*)
13156 version_type=osf
13157 need_lib_prefix=no
13158 need_version=no
13159 soname_spec='${libname}${release}${shared_ext}$major'
13160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13161 shlibpath_var=LD_LIBRARY_PATH
13162 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13163 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13166 rdos*)
13167 dynamic_linker=no
13170 solaris*)
13171 version_type=linux
13172 need_lib_prefix=no
13173 need_version=no
13174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13175 soname_spec='${libname}${release}${shared_ext}$major'
13176 shlibpath_var=LD_LIBRARY_PATH
13177 shlibpath_overrides_runpath=yes
13178 hardcode_into_libs=yes
13179 # ldd complains unless libraries are executable
13180 postinstall_cmds='chmod +x $lib'
13183 sunos4*)
13184 version_type=sunos
13185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13186 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13187 shlibpath_var=LD_LIBRARY_PATH
13188 shlibpath_overrides_runpath=yes
13189 if test "$with_gnu_ld" = yes; then
13190 need_lib_prefix=no
13192 need_version=yes
13195 sysv4 | sysv4.3*)
13196 version_type=linux
13197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13198 soname_spec='${libname}${release}${shared_ext}$major'
13199 shlibpath_var=LD_LIBRARY_PATH
13200 case $host_vendor in
13201 sni)
13202 shlibpath_overrides_runpath=no
13203 need_lib_prefix=no
13204 runpath_var=LD_RUN_PATH
13206 siemens)
13207 need_lib_prefix=no
13209 motorola)
13210 need_lib_prefix=no
13211 need_version=no
13212 shlibpath_overrides_runpath=no
13213 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13215 esac
13218 sysv4*MP*)
13219 if test -d /usr/nec ;then
13220 version_type=linux
13221 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13222 soname_spec='$libname${shared_ext}.$major'
13223 shlibpath_var=LD_LIBRARY_PATH
13227 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13228 version_type=freebsd-elf
13229 need_lib_prefix=no
13230 need_version=no
13231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13232 soname_spec='${libname}${release}${shared_ext}$major'
13233 shlibpath_var=LD_LIBRARY_PATH
13234 shlibpath_overrides_runpath=yes
13235 hardcode_into_libs=yes
13236 if test "$with_gnu_ld" = yes; then
13237 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13238 else
13239 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13240 case $host_os in
13241 sco3.2v5*)
13242 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13244 esac
13246 sys_lib_dlsearch_path_spec='/usr/lib'
13249 tpf*)
13250 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13251 version_type=linux
13252 need_lib_prefix=no
13253 need_version=no
13254 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13255 shlibpath_var=LD_LIBRARY_PATH
13256 shlibpath_overrides_runpath=no
13257 hardcode_into_libs=yes
13260 uts4*)
13261 version_type=linux
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 shlibpath_var=LD_LIBRARY_PATH
13268 dynamic_linker=no
13270 esac
13271 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13272 echo "${ECHO_T}$dynamic_linker" >&6
13273 test "$dynamic_linker" = no && can_build_shared=no
13275 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13276 if test "$GCC" = yes; then
13277 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13315 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13316 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13317 hardcode_action_FC=
13318 if test -n "$hardcode_libdir_flag_spec_FC" ||
13319 test -n "$runpath_var_FC" ||
13320 test "X$hardcode_automatic_FC" = "Xyes" ; then
13322 # We can hardcode non-existent directories.
13323 if test "$hardcode_direct_FC" != no &&
13324 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13325 # have to relink, otherwise we might link with an installed library
13326 # when we should be linking with a yet-to-be-installed one
13327 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13328 test "$hardcode_minus_L_FC" != no; then
13329 # Linking always hardcodes the temporary library directory.
13330 hardcode_action_FC=relink
13331 else
13332 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13333 hardcode_action_FC=immediate
13335 else
13336 # We cannot hardcode anything, or else we can only hardcode existing
13337 # directories.
13338 hardcode_action_FC=unsupported
13340 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13341 echo "${ECHO_T}$hardcode_action_FC" >&6
13343 if test "$hardcode_action_FC" = relink ||
13344 test "$inherit_rpath_FC" = yes; then
13345 # Fast installation is not supported
13346 enable_fast_install=no
13347 elif test "$shlibpath_overrides_runpath" = yes ||
13348 test "$enable_shared" = no; then
13349 # Fast installation is not necessary
13350 enable_fast_install=needless
13359 fi # test -n "$compiler"
13361 CC="$lt_save_CC"
13362 fi # test "$_lt_disable_FC" != yes
13364 ac_ext=c
13365 ac_cpp='$CPP $CPPFLAGS'
13366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13372 # extra LD Flags which are required for targets
13373 case "${host}" in
13374 *-darwin*)
13375 # Darwin needs -single_module when linking libgfortran
13376 extra_ldflags_libgfortran=-Wl,-single_module
13378 esac
13381 # We need a working compiler at that point, otherwise give a clear
13382 # error message and bail out.
13384 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13385 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13386 ac_ext=${FC_SRCEXT-f}
13387 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13388 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13389 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13391 cat >conftest.$ac_ext <<_ACEOF
13393 program foo
13394 real, parameter :: bar = sin (12.34 / 2.5)
13395 end program foo
13396 _ACEOF
13397 rm -f conftest.$ac_objext
13398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13399 (eval $ac_compile) 2>conftest.er1
13400 ac_status=$?
13401 grep -v '^ *+' conftest.er1 >conftest.err
13402 rm -f conftest.er1
13403 cat conftest.err >&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } &&
13406 { ac_try='test -z "$ac_fc_werror_flag"
13407 || test ! -s conftest.err'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13410 ac_status=$?
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; } &&
13413 { ac_try='test -s conftest.$ac_objext'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5
13416 ac_status=$?
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); }; }; then
13419 echo "$as_me:$LINENO: result: yes" >&5
13420 echo "${ECHO_T}yes" >&6
13421 else
13422 echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.$ac_ext >&5
13425 echo "$as_me:$LINENO: result: no" >&5
13426 echo "${ECHO_T}no" >&6
13427 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
13428 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13429 { (exit 1); exit 1; }; }
13432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13433 ac_ext=c
13434 ac_cpp='$CPP $CPPFLAGS'
13435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13441 # Check whether --enable-largefile or --disable-largefile was given.
13442 if test "${enable_largefile+set}" = set; then
13443 enableval="$enable_largefile"
13446 if test "$enable_largefile" != no; then
13448 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13449 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13450 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13453 ac_cv_sys_largefile_CC=no
13454 if test "$GCC" != yes; then
13455 ac_save_CC=$CC
13456 while :; do
13457 # IRIX 6.2 and later do not support large files by default,
13458 # so use the C compiler's -n32 option if that helps.
13459 cat >conftest.$ac_ext <<_ACEOF
13460 /* confdefs.h. */
13461 _ACEOF
13462 cat confdefs.h >>conftest.$ac_ext
13463 cat >>conftest.$ac_ext <<_ACEOF
13464 /* end confdefs.h. */
13465 #include <sys/types.h>
13466 /* Check that off_t can represent 2**63 - 1 correctly.
13467 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13468 since some C++ compilers masquerading as C compilers
13469 incorrectly reject 9223372036854775807. */
13470 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13471 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13472 && LARGE_OFF_T % 2147483647 == 1)
13473 ? 1 : -1];
13475 main ()
13479 return 0;
13481 _ACEOF
13482 rm -f conftest.$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484 (eval $ac_compile) 2>conftest.er1
13485 ac_status=$?
13486 grep -v '^ *+' conftest.er1 >conftest.err
13487 rm -f conftest.er1
13488 cat conftest.err >&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } &&
13491 { ac_try='test -z "$ac_c_werror_flag"
13492 || test ! -s conftest.err'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13495 ac_status=$?
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; } &&
13498 { ac_try='test -s conftest.$ac_objext'
13499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13500 (eval $ac_try) 2>&5
13501 ac_status=$?
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); }; }; then
13504 break
13505 else
13506 echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13510 rm -f conftest.err conftest.$ac_objext
13511 CC="$CC -n32"
13512 rm -f conftest.$ac_objext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13514 (eval $ac_compile) 2>conftest.er1
13515 ac_status=$?
13516 grep -v '^ *+' conftest.er1 >conftest.err
13517 rm -f conftest.er1
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag"
13522 || test ! -s conftest.err'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; } &&
13528 { ac_try='test -s conftest.$ac_objext'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13531 ac_status=$?
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 ac_cv_sys_largefile_CC=' -n32'; break
13535 else
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13540 rm -f conftest.err conftest.$ac_objext
13541 break
13542 done
13543 CC=$ac_save_CC
13544 rm -f conftest.$ac_ext
13547 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13548 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13549 if test "$ac_cv_sys_largefile_CC" != no; then
13550 CC=$CC$ac_cv_sys_largefile_CC
13553 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13558 while :; do
13559 ac_cv_sys_file_offset_bits=no
13560 cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h. */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 #include <sys/types.h>
13567 /* Check that off_t can represent 2**63 - 1 correctly.
13568 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13569 since some C++ compilers masquerading as C compilers
13570 incorrectly reject 9223372036854775807. */
13571 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13572 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13573 && LARGE_OFF_T % 2147483647 == 1)
13574 ? 1 : -1];
13576 main ()
13580 return 0;
13582 _ACEOF
13583 rm -f conftest.$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>conftest.er1
13586 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try='test -z "$ac_c_werror_flag"
13593 || test ! -s conftest.err'
13594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595 (eval $ac_try) 2>&5
13596 ac_status=$?
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); }; } &&
13599 { ac_try='test -s conftest.$ac_objext'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13602 ac_status=$?
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; }; then
13605 break
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13612 cat >conftest.$ac_ext <<_ACEOF
13613 /* confdefs.h. */
13614 _ACEOF
13615 cat confdefs.h >>conftest.$ac_ext
13616 cat >>conftest.$ac_ext <<_ACEOF
13617 /* end confdefs.h. */
13618 #define _FILE_OFFSET_BITS 64
13619 #include <sys/types.h>
13620 /* Check that off_t can represent 2**63 - 1 correctly.
13621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13622 since some C++ compilers masquerading as C compilers
13623 incorrectly reject 9223372036854775807. */
13624 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13626 && LARGE_OFF_T % 2147483647 == 1)
13627 ? 1 : -1];
13629 main ()
13633 return 0;
13635 _ACEOF
13636 rm -f conftest.$ac_objext
13637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638 (eval $ac_compile) 2>conftest.er1
13639 ac_status=$?
13640 grep -v '^ *+' conftest.er1 >conftest.err
13641 rm -f conftest.er1
13642 cat conftest.err >&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); } &&
13645 { ac_try='test -z "$ac_c_werror_flag"
13646 || test ! -s conftest.err'
13647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13648 (eval $ac_try) 2>&5
13649 ac_status=$?
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); }; } &&
13652 { ac_try='test -s conftest.$ac_objext'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13655 ac_status=$?
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; }; then
13658 ac_cv_sys_file_offset_bits=64; break
13659 else
13660 echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13665 break
13666 done
13668 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13669 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13670 if test "$ac_cv_sys_file_offset_bits" != no; then
13672 cat >>confdefs.h <<_ACEOF
13673 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13674 _ACEOF
13677 rm -f conftest*
13678 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13679 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13680 if test "${ac_cv_sys_large_files+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 else
13683 while :; do
13684 ac_cv_sys_large_files=no
13685 cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h. */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #include <sys/types.h>
13692 /* Check that off_t can represent 2**63 - 1 correctly.
13693 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13694 since some C++ compilers masquerading as C compilers
13695 incorrectly reject 9223372036854775807. */
13696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13697 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13698 && LARGE_OFF_T % 2147483647 == 1)
13699 ? 1 : -1];
13701 main ()
13705 return 0;
13707 _ACEOF
13708 rm -f conftest.$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 (eval $ac_compile) 2>conftest.er1
13711 ac_status=$?
13712 grep -v '^ *+' conftest.er1 >conftest.err
13713 rm -f conftest.er1
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } &&
13717 { ac_try='test -z "$ac_c_werror_flag"
13718 || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 break
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13737 cat >conftest.$ac_ext <<_ACEOF
13738 /* confdefs.h. */
13739 _ACEOF
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13743 #define _LARGE_FILES 1
13744 #include <sys/types.h>
13745 /* Check that off_t can represent 2**63 - 1 correctly.
13746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13747 since some C++ compilers masquerading as C compilers
13748 incorrectly reject 9223372036854775807. */
13749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13751 && LARGE_OFF_T % 2147483647 == 1)
13752 ? 1 : -1];
13754 main ()
13758 return 0;
13760 _ACEOF
13761 rm -f conftest.$ac_objext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13763 (eval $ac_compile) 2>conftest.er1
13764 ac_status=$?
13765 grep -v '^ *+' conftest.er1 >conftest.err
13766 rm -f conftest.er1
13767 cat conftest.err >&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try='test -z "$ac_c_werror_flag"
13771 || test ! -s conftest.err'
13772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773 (eval $ac_try) 2>&5
13774 ac_status=$?
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); }; } &&
13777 { ac_try='test -s conftest.$ac_objext'
13778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779 (eval $ac_try) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }; }; then
13783 ac_cv_sys_large_files=1; break
13784 else
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13790 break
13791 done
13793 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13794 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13795 if test "$ac_cv_sys_large_files" != no; then
13797 cat >>confdefs.h <<_ACEOF
13798 #define _LARGE_FILES $ac_cv_sys_large_files
13799 _ACEOF
13802 rm -f conftest*
13805 echo "$as_me:$LINENO: checking for off_t" >&5
13806 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13807 if test "${ac_cv_type_off_t+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 else
13810 cat >conftest.$ac_ext <<_ACEOF
13811 /* confdefs.h. */
13812 _ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13816 $ac_includes_default
13818 main ()
13820 if ((off_t *) 0)
13821 return 0;
13822 if (sizeof (off_t))
13823 return 0;
13825 return 0;
13827 _ACEOF
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830 (eval $ac_compile) 2>conftest.er1
13831 ac_status=$?
13832 grep -v '^ *+' conftest.er1 >conftest.err
13833 rm -f conftest.er1
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_c_werror_flag"
13838 || test ! -s conftest.err'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; } &&
13844 { ac_try='test -s conftest.$ac_objext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 ac_cv_type_off_t=yes
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13855 ac_cv_type_off_t=no
13857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13859 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13860 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13861 if test $ac_cv_type_off_t = yes; then
13863 else
13865 cat >>confdefs.h <<_ACEOF
13866 #define off_t long
13867 _ACEOF
13872 # check header files
13873 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13874 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13875 if test "${ac_cv_header_stdc+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 else
13878 cat >conftest.$ac_ext <<_ACEOF
13879 /* confdefs.h. */
13880 _ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 #include <stdlib.h>
13885 #include <stdarg.h>
13886 #include <string.h>
13887 #include <float.h>
13890 main ()
13894 return 0;
13896 _ACEOF
13897 rm -f conftest.$ac_objext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13899 (eval $ac_compile) 2>conftest.er1
13900 ac_status=$?
13901 grep -v '^ *+' conftest.er1 >conftest.err
13902 rm -f conftest.er1
13903 cat conftest.err >&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try='test -z "$ac_c_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_cv_header_stdc=yes
13920 else
13921 echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.$ac_ext >&5
13924 ac_cv_header_stdc=no
13926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13928 if test $ac_cv_header_stdc = yes; then
13929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13930 cat >conftest.$ac_ext <<_ACEOF
13931 /* confdefs.h. */
13932 _ACEOF
13933 cat confdefs.h >>conftest.$ac_ext
13934 cat >>conftest.$ac_ext <<_ACEOF
13935 /* end confdefs.h. */
13936 #include <string.h>
13938 _ACEOF
13939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13940 $EGREP "memchr" >/dev/null 2>&1; then
13942 else
13943 ac_cv_header_stdc=no
13945 rm -f conftest*
13949 if test $ac_cv_header_stdc = yes; then
13950 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13951 cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h. */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 #include <stdlib.h>
13959 _ACEOF
13960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13961 $EGREP "free" >/dev/null 2>&1; then
13963 else
13964 ac_cv_header_stdc=no
13966 rm -f conftest*
13970 if test $ac_cv_header_stdc = yes; then
13971 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13972 if test "$cross_compiling" = yes; then
13974 else
13975 cat >conftest.$ac_ext <<_ACEOF
13976 /* confdefs.h. */
13977 _ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <ctype.h>
13982 #if ((' ' & 0x0FF) == 0x020)
13983 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13984 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13985 #else
13986 # define ISLOWER(c) \
13987 (('a' <= (c) && (c) <= 'i') \
13988 || ('j' <= (c) && (c) <= 'r') \
13989 || ('s' <= (c) && (c) <= 'z'))
13990 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13991 #endif
13993 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13995 main ()
13997 int i;
13998 for (i = 0; i < 256; i++)
13999 if (XOR (islower (i), ISLOWER (i))
14000 || toupper (i) != TOUPPER (i))
14001 exit(2);
14002 exit (0);
14004 _ACEOF
14005 rm -f conftest$ac_exeext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14007 (eval $ac_link) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14017 else
14018 echo "$as_me: program exited with status $ac_status" >&5
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.$ac_ext >&5
14022 ( exit $ac_status )
14023 ac_cv_header_stdc=no
14025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14029 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14030 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14031 if test $ac_cv_header_stdc = yes; then
14033 cat >>confdefs.h <<\_ACEOF
14034 #define STDC_HEADERS 1
14035 _ACEOF
14039 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14040 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14041 if test "${ac_cv_header_time+set}" = set; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044 cat >conftest.$ac_ext <<_ACEOF
14045 /* confdefs.h. */
14046 _ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #include <sys/types.h>
14051 #include <sys/time.h>
14052 #include <time.h>
14055 main ()
14057 if ((struct tm *) 0)
14058 return 0;
14060 return 0;
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>conftest.er1
14066 ac_status=$?
14067 grep -v '^ *+' conftest.er1 >conftest.err
14068 rm -f conftest.er1
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } &&
14072 { ac_try='test -z "$ac_c_werror_flag"
14073 || test ! -s conftest.err'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; } &&
14079 { ac_try='test -s conftest.$ac_objext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 ac_cv_header_time=yes
14086 else
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14090 ac_cv_header_time=no
14092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14094 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14095 echo "${ECHO_T}$ac_cv_header_time" >&6
14096 if test $ac_cv_header_time = yes; then
14098 cat >>confdefs.h <<\_ACEOF
14099 #define TIME_WITH_SYS_TIME 1
14100 _ACEOF
14110 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo "$as_me:$LINENO: checking for $ac_header" >&5
14115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14121 else
14122 # Is the header compilable?
14123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14125 cat >conftest.$ac_ext <<_ACEOF
14126 /* confdefs.h. */
14127 _ACEOF
14128 cat confdefs.h >>conftest.$ac_ext
14129 cat >>conftest.$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14131 $ac_includes_default
14132 #include <$ac_header>
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>conftest.er1
14137 ac_status=$?
14138 grep -v '^ *+' conftest.er1 >conftest.err
14139 rm -f conftest.er1
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try='test -z "$ac_c_werror_flag"
14144 || test ! -s conftest.err'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; } &&
14150 { ac_try='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14153 ac_status=$?
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 ac_header_compiler=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14161 ac_header_compiler=no
14163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14165 echo "${ECHO_T}$ac_header_compiler" >&6
14167 # Is the header present?
14168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14170 cat >conftest.$ac_ext <<_ACEOF
14171 /* confdefs.h. */
14172 _ACEOF
14173 cat confdefs.h >>conftest.$ac_ext
14174 cat >>conftest.$ac_ext <<_ACEOF
14175 /* end confdefs.h. */
14176 #include <$ac_header>
14177 _ACEOF
14178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14180 ac_status=$?
14181 grep -v '^ *+' conftest.er1 >conftest.err
14182 rm -f conftest.er1
14183 cat conftest.err >&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); } >/dev/null; then
14186 if test -s conftest.err; then
14187 ac_cpp_err=$ac_c_preproc_warn_flag
14188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14189 else
14190 ac_cpp_err=
14192 else
14193 ac_cpp_err=yes
14195 if test -z "$ac_cpp_err"; then
14196 ac_header_preproc=yes
14197 else
14198 echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14201 ac_header_preproc=no
14203 rm -f conftest.err conftest.$ac_ext
14204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14205 echo "${ECHO_T}$ac_header_preproc" >&6
14207 # So? What about this header?
14208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14209 yes:no: )
14210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14214 ac_header_preproc=yes
14216 no:yes:* )
14217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14230 cat <<\_ASBOX
14231 ## ------------------------------------------------------ ##
14232 ## Report this to the GNU Fortran Runtime Library lists. ##
14233 ## ------------------------------------------------------ ##
14234 _ASBOX
14236 sed "s/^/$as_me: WARNING: /" >&2
14238 esac
14239 echo "$as_me:$LINENO: checking for $ac_header" >&5
14240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244 eval "$as_ac_Header=\$ac_header_preproc"
14246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14251 cat >>confdefs.h <<_ACEOF
14252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14253 _ACEOF
14257 done
14263 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14267 echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 else
14275 # Is the header compilable?
14276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284 $ac_includes_default
14285 #include <$ac_header>
14286 _ACEOF
14287 rm -f conftest.$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289 (eval $ac_compile) 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try='test -z "$ac_c_werror_flag"
14297 || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14306 ac_status=$?
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14309 ac_header_compiler=yes
14310 else
14311 echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.$ac_ext >&5
14314 ac_header_compiler=no
14316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14318 echo "${ECHO_T}$ac_header_compiler" >&6
14320 # Is the header present?
14321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14323 cat >conftest.$ac_ext <<_ACEOF
14324 /* confdefs.h. */
14325 _ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329 #include <$ac_header>
14330 _ACEOF
14331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } >/dev/null; then
14339 if test -s conftest.err; then
14340 ac_cpp_err=$ac_c_preproc_warn_flag
14341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14342 else
14343 ac_cpp_err=
14345 else
14346 ac_cpp_err=yes
14348 if test -z "$ac_cpp_err"; then
14349 ac_header_preproc=yes
14350 else
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.$ac_ext >&5
14354 ac_header_preproc=no
14356 rm -f conftest.err conftest.$ac_ext
14357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14358 echo "${ECHO_T}$ac_header_preproc" >&6
14360 # So? What about this header?
14361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14362 yes:no: )
14363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14367 ac_header_preproc=yes
14369 no:yes:* )
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14383 cat <<\_ASBOX
14384 ## ------------------------------------------------------ ##
14385 ## Report this to the GNU Fortran Runtime Library lists. ##
14386 ## ------------------------------------------------------ ##
14387 _ASBOX
14389 sed "s/^/$as_me: WARNING: /" >&2
14391 esac
14392 echo "$as_me:$LINENO: checking for $ac_header" >&5
14393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397 eval "$as_ac_Header=\$ac_header_preproc"
14399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14404 cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14406 _ACEOF
14410 done
14417 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421 echo "$as_me:$LINENO: checking for $ac_header" >&5
14422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14428 else
14429 # Is the header compilable?
14430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14432 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h. */
14434 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438 $ac_includes_default
14439 #include <$ac_header>
14440 _ACEOF
14441 rm -f conftest.$ac_objext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14443 (eval $ac_compile) 2>conftest.er1
14444 ac_status=$?
14445 grep -v '^ *+' conftest.er1 >conftest.err
14446 rm -f conftest.er1
14447 cat conftest.err >&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try='test -z "$ac_c_werror_flag"
14451 || test ! -s conftest.err'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; } &&
14457 { ac_try='test -s conftest.$ac_objext'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14460 ac_status=$?
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; }; then
14463 ac_header_compiler=yes
14464 else
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.$ac_ext >&5
14468 ac_header_compiler=no
14470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14472 echo "${ECHO_T}$ac_header_compiler" >&6
14474 # Is the header present?
14475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14477 cat >conftest.$ac_ext <<_ACEOF
14478 /* confdefs.h. */
14479 _ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h. */
14483 #include <$ac_header>
14484 _ACEOF
14485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14487 ac_status=$?
14488 grep -v '^ *+' conftest.er1 >conftest.err
14489 rm -f conftest.er1
14490 cat conftest.err >&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } >/dev/null; then
14493 if test -s conftest.err; then
14494 ac_cpp_err=$ac_c_preproc_warn_flag
14495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14496 else
14497 ac_cpp_err=
14499 else
14500 ac_cpp_err=yes
14502 if test -z "$ac_cpp_err"; then
14503 ac_header_preproc=yes
14504 else
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14508 ac_header_preproc=no
14510 rm -f conftest.err conftest.$ac_ext
14511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14512 echo "${ECHO_T}$ac_header_preproc" >&6
14514 # So? What about this header?
14515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14516 yes:no: )
14517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14521 ac_header_preproc=yes
14523 no:yes:* )
14524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14537 cat <<\_ASBOX
14538 ## ------------------------------------------------------ ##
14539 ## Report this to the GNU Fortran Runtime Library lists. ##
14540 ## ------------------------------------------------------ ##
14541 _ASBOX
14543 sed "s/^/$as_me: WARNING: /" >&2
14545 esac
14546 echo "$as_me:$LINENO: checking for $ac_header" >&5
14547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 eval "$as_ac_Header=\$ac_header_preproc"
14553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14558 cat >>confdefs.h <<_ACEOF
14559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14560 _ACEOF
14564 done
14571 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14575 echo "$as_me:$LINENO: checking for $ac_header" >&5
14576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14582 else
14583 # Is the header compilable?
14584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h. */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 $ac_includes_default
14593 #include <$ac_header>
14594 _ACEOF
14595 rm -f conftest.$ac_objext
14596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14597 (eval $ac_compile) 2>conftest.er1
14598 ac_status=$?
14599 grep -v '^ *+' conftest.er1 >conftest.err
14600 rm -f conftest.er1
14601 cat conftest.err >&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); } &&
14604 { ac_try='test -z "$ac_c_werror_flag"
14605 || test ! -s conftest.err'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; } &&
14611 { ac_try='test -s conftest.$ac_objext'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14614 ac_status=$?
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; }; then
14617 ac_header_compiler=yes
14618 else
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14622 ac_header_compiler=no
14624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14626 echo "${ECHO_T}$ac_header_compiler" >&6
14628 # Is the header present?
14629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <$ac_header>
14638 _ACEOF
14639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14641 ac_status=$?
14642 grep -v '^ *+' conftest.er1 >conftest.err
14643 rm -f conftest.er1
14644 cat conftest.err >&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } >/dev/null; then
14647 if test -s conftest.err; then
14648 ac_cpp_err=$ac_c_preproc_warn_flag
14649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14650 else
14651 ac_cpp_err=
14653 else
14654 ac_cpp_err=yes
14656 if test -z "$ac_cpp_err"; then
14657 ac_header_preproc=yes
14658 else
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14662 ac_header_preproc=no
14664 rm -f conftest.err conftest.$ac_ext
14665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14666 echo "${ECHO_T}$ac_header_preproc" >&6
14668 # So? What about this header?
14669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14670 yes:no: )
14671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14675 ac_header_preproc=yes
14677 no:yes:* )
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14691 cat <<\_ASBOX
14692 ## ------------------------------------------------------ ##
14693 ## Report this to the GNU Fortran Runtime Library lists. ##
14694 ## ------------------------------------------------------ ##
14695 _ASBOX
14697 sed "s/^/$as_me: WARNING: /" >&2
14699 esac
14700 echo "$as_me:$LINENO: checking for $ac_header" >&5
14701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 else
14705 eval "$as_ac_Header=\$ac_header_preproc"
14707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14712 cat >>confdefs.h <<_ACEOF
14713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14714 _ACEOF
14718 done
14720 if test "${ac_cv_header_complex_h+set}" = set; then
14721 echo "$as_me:$LINENO: checking for complex.h" >&5
14722 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14723 if test "${ac_cv_header_complex_h+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14726 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14727 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14728 else
14729 # Is the header compilable?
14730 echo "$as_me:$LINENO: checking complex.h usability" >&5
14731 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14732 cat >conftest.$ac_ext <<_ACEOF
14733 /* confdefs.h. */
14734 _ACEOF
14735 cat confdefs.h >>conftest.$ac_ext
14736 cat >>conftest.$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14738 $ac_includes_default
14739 #include <complex.h>
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>conftest.er1
14744 ac_status=$?
14745 grep -v '^ *+' conftest.er1 >conftest.err
14746 rm -f conftest.er1
14747 cat conftest.err >&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); } &&
14750 { ac_try='test -z "$ac_c_werror_flag"
14751 || test ! -s conftest.err'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; } &&
14757 { ac_try='test -s conftest.$ac_objext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 ac_header_compiler=yes
14764 else
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14768 ac_header_compiler=no
14770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14772 echo "${ECHO_T}$ac_header_compiler" >&6
14774 # Is the header present?
14775 echo "$as_me:$LINENO: checking complex.h presence" >&5
14776 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14777 cat >conftest.$ac_ext <<_ACEOF
14778 /* confdefs.h. */
14779 _ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14783 #include <complex.h>
14784 _ACEOF
14785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14787 ac_status=$?
14788 grep -v '^ *+' conftest.er1 >conftest.err
14789 rm -f conftest.er1
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } >/dev/null; then
14793 if test -s conftest.err; then
14794 ac_cpp_err=$ac_c_preproc_warn_flag
14795 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14796 else
14797 ac_cpp_err=
14799 else
14800 ac_cpp_err=yes
14802 if test -z "$ac_cpp_err"; then
14803 ac_header_preproc=yes
14804 else
14805 echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.$ac_ext >&5
14808 ac_header_preproc=no
14810 rm -f conftest.err conftest.$ac_ext
14811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14812 echo "${ECHO_T}$ac_header_preproc" >&6
14814 # So? What about this header?
14815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14816 yes:no: )
14817 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14818 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14819 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14820 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14821 ac_header_preproc=yes
14823 no:yes:* )
14824 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14825 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14826 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14827 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14828 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14829 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14831 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14832 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14833 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14834 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14835 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14837 cat <<\_ASBOX
14838 ## ------------------------------------------------------ ##
14839 ## Report this to the GNU Fortran Runtime Library lists. ##
14840 ## ------------------------------------------------------ ##
14841 _ASBOX
14843 sed "s/^/$as_me: WARNING: /" >&2
14845 esac
14846 echo "$as_me:$LINENO: checking for complex.h" >&5
14847 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14848 if test "${ac_cv_header_complex_h+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851 ac_cv_header_complex_h=$ac_header_preproc
14853 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14854 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14857 if test $ac_cv_header_complex_h = yes; then
14859 cat >>confdefs.h <<\_ACEOF
14860 #define HAVE_COMPLEX_H 1
14861 _ACEOF
14868 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14870 acx_cv_header_stdint=stddef.h
14871 acx_cv_header_stdint_kind="(already complete)"
14872 for i in stdint.h $inttype_headers; do
14873 unset ac_cv_type_uintptr_t
14874 unset ac_cv_type_uintmax_t
14875 unset ac_cv_type_int_least32_t
14876 unset ac_cv_type_int_fast32_t
14877 unset ac_cv_type_uint64_t
14878 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14879 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14880 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14881 if test "${ac_cv_type_uintmax_t+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h. */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14890 #include <sys/types.h>
14891 #include <$i>
14894 main ()
14896 if ((uintmax_t *) 0)
14897 return 0;
14898 if (sizeof (uintmax_t))
14899 return 0;
14901 return 0;
14903 _ACEOF
14904 rm -f conftest.$ac_objext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14906 (eval $ac_compile) 2>conftest.er1
14907 ac_status=$?
14908 grep -v '^ *+' conftest.er1 >conftest.err
14909 rm -f conftest.er1
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } &&
14913 { ac_try='test -z "$ac_c_werror_flag"
14914 || test ! -s conftest.err'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; } &&
14920 { ac_try='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14926 ac_cv_type_uintmax_t=yes
14927 else
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14931 ac_cv_type_uintmax_t=no
14933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14935 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14936 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14937 if test $ac_cv_type_uintmax_t = yes; then
14938 acx_cv_header_stdint=$i
14939 else
14940 continue
14943 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14944 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14945 if test "${ac_cv_type_uintptr_t+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 #include <sys/types.h>
14955 #include <$i>
14958 main ()
14960 if ((uintptr_t *) 0)
14961 return 0;
14962 if (sizeof (uintptr_t))
14963 return 0;
14965 return 0;
14967 _ACEOF
14968 rm -f conftest.$ac_objext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>conftest.er1
14971 ac_status=$?
14972 grep -v '^ *+' conftest.er1 >conftest.err
14973 rm -f conftest.er1
14974 cat conftest.err >&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } &&
14977 { ac_try='test -z "$ac_c_werror_flag"
14978 || test ! -s conftest.err'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; } &&
14984 { ac_try='test -s conftest.$ac_objext'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14987 ac_status=$?
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; }; then
14990 ac_cv_type_uintptr_t=yes
14991 else
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.$ac_ext >&5
14995 ac_cv_type_uintptr_t=no
14997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14999 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15000 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15001 if test $ac_cv_type_uintptr_t = yes; then
15003 else
15004 acx_cv_header_stdint_kind="(mostly complete)"
15007 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15008 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15009 if test "${ac_cv_type_int_least32_t+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 #include <sys/types.h>
15019 #include <$i>
15022 main ()
15024 if ((int_least32_t *) 0)
15025 return 0;
15026 if (sizeof (int_least32_t))
15027 return 0;
15029 return 0;
15031 _ACEOF
15032 rm -f conftest.$ac_objext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034 (eval $ac_compile) 2>conftest.er1
15035 ac_status=$?
15036 grep -v '^ *+' conftest.er1 >conftest.err
15037 rm -f conftest.er1
15038 cat conftest.err >&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
15041 { ac_try='test -z "$ac_c_werror_flag"
15042 || test ! -s conftest.err'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try='test -s conftest.$ac_objext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_cv_type_int_least32_t=yes
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15059 ac_cv_type_int_least32_t=no
15061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15063 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15064 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15065 if test $ac_cv_type_int_least32_t = yes; then
15067 else
15068 acx_cv_header_stdint_kind="(mostly complete)"
15071 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15072 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15073 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076 cat >conftest.$ac_ext <<_ACEOF
15077 /* confdefs.h. */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 #include <sys/types.h>
15083 #include <$i>
15086 main ()
15088 if ((int_fast32_t *) 0)
15089 return 0;
15090 if (sizeof (int_fast32_t))
15091 return 0;
15093 return 0;
15095 _ACEOF
15096 rm -f conftest.$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098 (eval $ac_compile) 2>conftest.er1
15099 ac_status=$?
15100 grep -v '^ *+' conftest.er1 >conftest.err
15101 rm -f conftest.er1
15102 cat conftest.err >&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } &&
15105 { ac_try='test -z "$ac_c_werror_flag"
15106 || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 ac_cv_type_int_fast32_t=yes
15119 else
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15123 ac_cv_type_int_fast32_t=no
15125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15127 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15128 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15129 if test $ac_cv_type_int_fast32_t = yes; then
15131 else
15132 acx_cv_header_stdint_kind="(mostly complete)"
15135 echo "$as_me:$LINENO: checking for uint64_t" >&5
15136 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15137 if test "${ac_cv_type_uint64_t+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 cat >conftest.$ac_ext <<_ACEOF
15141 /* confdefs.h. */
15142 _ACEOF
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15146 #include <sys/types.h>
15147 #include <$i>
15150 main ()
15152 if ((uint64_t *) 0)
15153 return 0;
15154 if (sizeof (uint64_t))
15155 return 0;
15157 return 0;
15159 _ACEOF
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>conftest.er1
15163 ac_status=$?
15164 grep -v '^ *+' conftest.er1 >conftest.err
15165 rm -f conftest.er1
15166 cat conftest.err >&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } &&
15169 { ac_try='test -z "$ac_c_werror_flag"
15170 || test ! -s conftest.err'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; } &&
15176 { ac_try='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 ac_cv_type_uint64_t=yes
15183 else
15184 echo "$as_me: failed program was:" >&5
15185 sed 's/^/| /' conftest.$ac_ext >&5
15187 ac_cv_type_uint64_t=no
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15191 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15192 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15193 if test $ac_cv_type_uint64_t = yes; then
15195 else
15196 acx_cv_header_stdint_kind="(lacks uint64_t)"
15199 break
15200 done
15201 if test "$acx_cv_header_stdint" = stddef.h; then
15202 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15203 for i in stdint.h $inttype_headers; do
15204 unset ac_cv_type_uintptr_t
15205 unset ac_cv_type_uint32_t
15206 unset ac_cv_type_uint64_t
15207 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15208 echo "$as_me:$LINENO: checking for uint32_t" >&5
15209 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15210 if test "${ac_cv_type_uint32_t+set}" = set; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 else
15213 cat >conftest.$ac_ext <<_ACEOF
15214 /* confdefs.h. */
15215 _ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 #include <sys/types.h>
15220 #include <$i>
15223 main ()
15225 if ((uint32_t *) 0)
15226 return 0;
15227 if (sizeof (uint32_t))
15228 return 0;
15230 return 0;
15232 _ACEOF
15233 rm -f conftest.$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>conftest.er1
15236 ac_status=$?
15237 grep -v '^ *+' conftest.er1 >conftest.err
15238 rm -f conftest.er1
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try='test -s conftest.$ac_objext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15252 ac_status=$?
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15255 ac_cv_type_uint32_t=yes
15256 else
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15260 ac_cv_type_uint32_t=no
15262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15264 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15265 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15266 if test $ac_cv_type_uint32_t = yes; then
15267 acx_cv_header_stdint=$i
15268 else
15269 continue
15272 echo "$as_me:$LINENO: checking for uint64_t" >&5
15273 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15274 if test "${ac_cv_type_uint64_t+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 cat >conftest.$ac_ext <<_ACEOF
15278 /* confdefs.h. */
15279 _ACEOF
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 #include <sys/types.h>
15284 #include <$i>
15287 main ()
15289 if ((uint64_t *) 0)
15290 return 0;
15291 if (sizeof (uint64_t))
15292 return 0;
15294 return 0;
15296 _ACEOF
15297 rm -f conftest.$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299 (eval $ac_compile) 2>conftest.er1
15300 ac_status=$?
15301 grep -v '^ *+' conftest.er1 >conftest.err
15302 rm -f conftest.er1
15303 cat conftest.err >&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_cv_type_uint64_t=yes
15320 else
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15324 ac_cv_type_uint64_t=no
15326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15328 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15329 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15331 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15332 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15333 if test "${ac_cv_type_uintptr_t+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 #include <sys/types.h>
15343 #include <$i>
15346 main ()
15348 if ((uintptr_t *) 0)
15349 return 0;
15350 if (sizeof (uintptr_t))
15351 return 0;
15353 return 0;
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try='test -z "$ac_c_werror_flag"
15366 || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15369 ac_status=$?
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try='test -s conftest.$ac_objext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15378 ac_cv_type_uintptr_t=yes
15379 else
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15383 ac_cv_type_uintptr_t=no
15385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15388 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15390 break
15391 done
15393 if test "$acx_cv_header_stdint" = stddef.h; then
15394 acx_cv_header_stdint_kind="(u_intXX_t style)"
15395 for i in sys/types.h $inttype_headers; do
15396 unset ac_cv_type_u_int32_t
15397 unset ac_cv_type_u_int64_t
15398 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15399 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15400 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15401 if test "${ac_cv_type_u_int32_t+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 else
15404 cat >conftest.$ac_ext <<_ACEOF
15405 /* confdefs.h. */
15406 _ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410 #include <sys/types.h>
15411 #include <$i>
15414 main ()
15416 if ((u_int32_t *) 0)
15417 return 0;
15418 if (sizeof (u_int32_t))
15419 return 0;
15421 return 0;
15423 _ACEOF
15424 rm -f conftest.$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426 (eval $ac_compile) 2>conftest.er1
15427 ac_status=$?
15428 grep -v '^ *+' conftest.er1 >conftest.err
15429 rm -f conftest.er1
15430 cat conftest.err >&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } &&
15433 { ac_try='test -z "$ac_c_werror_flag"
15434 || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15437 ac_status=$?
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_type_u_int32_t=yes
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15451 ac_cv_type_u_int32_t=no
15453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15455 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15456 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15457 if test $ac_cv_type_u_int32_t = yes; then
15458 acx_cv_header_stdint=$i
15459 else
15460 continue
15463 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15464 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15465 if test "${ac_cv_type_u_int64_t+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468 cat >conftest.$ac_ext <<_ACEOF
15469 /* confdefs.h. */
15470 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 #include <sys/types.h>
15475 #include <$i>
15478 main ()
15480 if ((u_int64_t *) 0)
15481 return 0;
15482 if (sizeof (u_int64_t))
15483 return 0;
15485 return 0;
15487 _ACEOF
15488 rm -f conftest.$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>conftest.er1
15491 ac_status=$?
15492 grep -v '^ *+' conftest.er1 >conftest.err
15493 rm -f conftest.er1
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try='test -z "$ac_c_werror_flag"
15498 || test ! -s conftest.err'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; } &&
15504 { ac_try='test -s conftest.$ac_objext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_type_u_int64_t=yes
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15515 ac_cv_type_u_int64_t=no
15517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15519 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15520 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15522 break
15523 done
15525 if test "$acx_cv_header_stdint" = stddef.h; then
15526 acx_cv_header_stdint_kind="(using manual detection)"
15529 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15530 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15531 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15532 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15533 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15535 # ----------------- Summarize what we found so far
15537 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15538 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15540 case `$as_basename gstdint.h ||
15541 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15542 Xgstdint.h : 'X\(//\)$' \| \
15543 Xgstdint.h : 'X\(/\)$' \| \
15544 . : '\(.\)' 2>/dev/null ||
15545 echo X/gstdint.h |
15546 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15547 /^X\/\(\/\/\)$/{ s//\1/; q; }
15548 /^X\/\(\/\).*/{ s//\1/; q; }
15549 s/.*/./; q'` in
15550 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15551 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15552 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15553 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15554 *) ;;
15555 esac
15557 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15558 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15560 # ----------------- done included file, check C basic types --------
15562 # Lacking an uintptr_t? Test size of void *
15563 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15564 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15565 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15566 if test "${ac_cv_type_void_p+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15577 main ()
15579 if ((void * *) 0)
15580 return 0;
15581 if (sizeof (void *))
15582 return 0;
15584 return 0;
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_c_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15606 ac_status=$?
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_cv_type_void_p=yes
15610 else
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15614 ac_cv_type_void_p=no
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15618 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15619 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15621 echo "$as_me:$LINENO: checking size of void *" >&5
15622 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15623 if test "${ac_cv_sizeof_void_p+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 else
15626 if test "$ac_cv_type_void_p" = yes; then
15627 # The cast to unsigned long works around a bug in the HP C Compiler
15628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15630 # This bug is HP SR number 8606223364.
15631 if test "$cross_compiling" = yes; then
15632 # Depending upon the size, compute the lo and hi bounds.
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 $ac_includes_default
15641 main ()
15643 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15644 test_array [0] = 0
15647 return 0;
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15652 (eval $ac_compile) 2>conftest.er1
15653 ac_status=$?
15654 grep -v '^ *+' conftest.er1 >conftest.err
15655 rm -f conftest.er1
15656 cat conftest.err >&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try='test -z "$ac_c_werror_flag"
15660 || test ! -s conftest.err'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; } &&
15666 { ac_try='test -s conftest.$ac_objext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15669 ac_status=$?
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_lo=0 ac_mid=0
15673 while :; do
15674 cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h. */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680 $ac_includes_default
15682 main ()
15684 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15685 test_array [0] = 0
15688 return 0;
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>conftest.er1
15694 ac_status=$?
15695 grep -v '^ *+' conftest.er1 >conftest.err
15696 rm -f conftest.er1
15697 cat conftest.err >&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try='test -z "$ac_c_werror_flag"
15701 || test ! -s conftest.err'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; } &&
15707 { ac_try='test -s conftest.$ac_objext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15710 ac_status=$?
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15713 ac_hi=$ac_mid; break
15714 else
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15718 ac_lo=`expr $ac_mid + 1`
15719 if test $ac_lo -le $ac_mid; then
15720 ac_lo= ac_hi=
15721 break
15723 ac_mid=`expr 2 '*' $ac_mid + 1`
15725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726 done
15727 else
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15739 main ()
15741 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15742 test_array [0] = 0
15745 return 0;
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -z "$ac_c_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15770 ac_hi=-1 ac_mid=-1
15771 while :; do
15772 cat >conftest.$ac_ext <<_ACEOF
15773 /* confdefs.h. */
15774 _ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 $ac_includes_default
15780 main ()
15782 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15783 test_array [0] = 0
15786 return 0;
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_c_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try='test -s conftest.$ac_objext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15808 ac_status=$?
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_lo=$ac_mid; break
15812 else
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15816 ac_hi=`expr '(' $ac_mid ')' - 1`
15817 if test $ac_mid -le $ac_hi; then
15818 ac_lo= ac_hi=
15819 break
15821 ac_mid=`expr 2 '*' $ac_mid`
15823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15824 done
15825 else
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.$ac_ext >&5
15829 ac_lo= ac_hi=
15831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15834 # Binary search between lo and hi bounds.
15835 while test "x$ac_lo" != "x$ac_hi"; do
15836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15837 cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h. */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 $ac_includes_default
15845 main ()
15847 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15848 test_array [0] = 0
15851 return 0;
15853 _ACEOF
15854 rm -f conftest.$ac_objext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15856 (eval $ac_compile) 2>conftest.er1
15857 ac_status=$?
15858 grep -v '^ *+' conftest.er1 >conftest.err
15859 rm -f conftest.er1
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try='test -z "$ac_c_werror_flag"
15864 || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest.$ac_objext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_hi=$ac_mid
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15881 ac_lo=`expr '(' $ac_mid ')' + 1`
15883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15884 done
15885 case $ac_lo in
15886 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15888 See \`config.log' for more details." >&5
15889 echo "$as_me: error: cannot compute sizeof (void *), 77
15890 See \`config.log' for more details." >&2;}
15891 { (exit 1); exit 1; }; } ;;
15892 esac
15893 else
15894 if test "$cross_compiling" = yes; then
15895 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15896 See \`config.log' for more details." >&5
15897 echo "$as_me: error: cannot run test program while cross compiling
15898 See \`config.log' for more details." >&2;}
15899 { (exit 1); exit 1; }; }
15900 else
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 $ac_includes_default
15908 long longval () { return (long) (sizeof (void *)); }
15909 unsigned long ulongval () { return (long) (sizeof (void *)); }
15910 #include <stdio.h>
15911 #include <stdlib.h>
15913 main ()
15916 FILE *f = fopen ("conftest.val", "w");
15917 if (! f)
15918 exit (1);
15919 if (((long) (sizeof (void *))) < 0)
15921 long i = longval ();
15922 if (i != ((long) (sizeof (void *))))
15923 exit (1);
15924 fprintf (f, "%ld\n", i);
15926 else
15928 unsigned long i = ulongval ();
15929 if (i != ((long) (sizeof (void *))))
15930 exit (1);
15931 fprintf (f, "%lu\n", i);
15933 exit (ferror (f) || fclose (f) != 0);
15936 return 0;
15938 _ACEOF
15939 rm -f conftest$ac_exeext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15941 (eval $ac_link) 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_cv_sizeof_void_p=`cat conftest.val`
15951 else
15952 echo "$as_me: program exited with status $ac_status" >&5
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15956 ( exit $ac_status )
15957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (void *), 77
15960 See \`config.log' for more details." >&2;}
15961 { (exit 1); exit 1; }; }
15963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15966 rm -f conftest.val
15967 else
15968 ac_cv_sizeof_void_p=0
15971 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15972 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15973 cat >>confdefs.h <<_ACEOF
15974 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15975 _ACEOF
15978 esac
15980 # Lacking an uint64_t? Test size of long
15981 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15982 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15983 echo $ECHO_N "checking for long... $ECHO_C" >&6
15984 if test "${ac_cv_type_long+set}" = set; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15986 else
15987 cat >conftest.$ac_ext <<_ACEOF
15988 /* confdefs.h. */
15989 _ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15993 $ac_includes_default
15995 main ()
15997 if ((long *) 0)
15998 return 0;
15999 if (sizeof (long))
16000 return 0;
16002 return 0;
16004 _ACEOF
16005 rm -f conftest.$ac_objext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007 (eval $ac_compile) 2>conftest.er1
16008 ac_status=$?
16009 grep -v '^ *+' conftest.er1 >conftest.err
16010 rm -f conftest.er1
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try='test -z "$ac_c_werror_flag"
16015 || test ! -s conftest.err'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; } &&
16021 { ac_try='test -s conftest.$ac_objext'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16024 ac_status=$?
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_cv_type_long=yes
16028 else
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.$ac_ext >&5
16032 ac_cv_type_long=no
16034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16037 echo "${ECHO_T}$ac_cv_type_long" >&6
16039 echo "$as_me:$LINENO: checking size of long" >&5
16040 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16041 if test "${ac_cv_sizeof_long+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16043 else
16044 if test "$ac_cv_type_long" = yes; then
16045 # The cast to unsigned long works around a bug in the HP C Compiler
16046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16048 # This bug is HP SR number 8606223364.
16049 if test "$cross_compiling" = yes; then
16050 # Depending upon the size, compute the lo and hi bounds.
16051 cat >conftest.$ac_ext <<_ACEOF
16052 /* confdefs.h. */
16053 _ACEOF
16054 cat confdefs.h >>conftest.$ac_ext
16055 cat >>conftest.$ac_ext <<_ACEOF
16056 /* end confdefs.h. */
16057 $ac_includes_default
16059 main ()
16061 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16062 test_array [0] = 0
16065 return 0;
16067 _ACEOF
16068 rm -f conftest.$ac_objext
16069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16070 (eval $ac_compile) 2>conftest.er1
16071 ac_status=$?
16072 grep -v '^ *+' conftest.er1 >conftest.err
16073 rm -f conftest.er1
16074 cat conftest.err >&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -z "$ac_c_werror_flag"
16078 || test ! -s conftest.err'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16081 ac_status=$?
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; } &&
16084 { ac_try='test -s conftest.$ac_objext'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 ac_lo=0 ac_mid=0
16091 while :; do
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16100 main ()
16102 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16103 test_array [0] = 0
16106 return 0;
16108 _ACEOF
16109 rm -f conftest.$ac_objext
16110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111 (eval $ac_compile) 2>conftest.er1
16112 ac_status=$?
16113 grep -v '^ *+' conftest.er1 >conftest.err
16114 rm -f conftest.er1
16115 cat conftest.err >&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); } &&
16118 { ac_try='test -z "$ac_c_werror_flag"
16119 || test ! -s conftest.err'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; } &&
16125 { ac_try='test -s conftest.$ac_objext'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16128 ac_status=$?
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then
16131 ac_hi=$ac_mid; break
16132 else
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.$ac_ext >&5
16136 ac_lo=`expr $ac_mid + 1`
16137 if test $ac_lo -le $ac_mid; then
16138 ac_lo= ac_hi=
16139 break
16141 ac_mid=`expr 2 '*' $ac_mid + 1`
16143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16144 done
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h. */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 $ac_includes_default
16157 main ()
16159 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16160 test_array [0] = 0
16163 return 0;
16165 _ACEOF
16166 rm -f conftest.$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168 (eval $ac_compile) 2>conftest.er1
16169 ac_status=$?
16170 grep -v '^ *+' conftest.er1 >conftest.err
16171 rm -f conftest.er1
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try='test -z "$ac_c_werror_flag"
16176 || test ! -s conftest.err'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; } &&
16182 { ac_try='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_hi=-1 ac_mid=-1
16189 while :; do
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16198 main ()
16200 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16201 test_array [0] = 0
16204 return 0;
16206 _ACEOF
16207 rm -f conftest.$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try='test -z "$ac_c_werror_flag"
16217 || test ! -s conftest.err'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16220 ac_status=$?
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; } &&
16223 { ac_try='test -s conftest.$ac_objext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 ac_lo=$ac_mid; break
16230 else
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16234 ac_hi=`expr '(' $ac_mid ')' - 1`
16235 if test $ac_mid -le $ac_hi; then
16236 ac_lo= ac_hi=
16237 break
16239 ac_mid=`expr 2 '*' $ac_mid`
16241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16242 done
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16247 ac_lo= ac_hi=
16249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16252 # Binary search between lo and hi bounds.
16253 while test "x$ac_lo" != "x$ac_hi"; do
16254 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16255 cat >conftest.$ac_ext <<_ACEOF
16256 /* confdefs.h. */
16257 _ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 $ac_includes_default
16263 main ()
16265 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16266 test_array [0] = 0
16269 return 0;
16271 _ACEOF
16272 rm -f conftest.$ac_objext
16273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16274 (eval $ac_compile) 2>conftest.er1
16275 ac_status=$?
16276 grep -v '^ *+' conftest.er1 >conftest.err
16277 rm -f conftest.er1
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } &&
16281 { ac_try='test -z "$ac_c_werror_flag"
16282 || test ! -s conftest.err'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16285 ac_status=$?
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; } &&
16288 { ac_try='test -s conftest.$ac_objext'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16291 ac_status=$?
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; }; then
16294 ac_hi=$ac_mid
16295 else
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16299 ac_lo=`expr '(' $ac_mid ')' + 1`
16301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16302 done
16303 case $ac_lo in
16304 ?*) ac_cv_sizeof_long=$ac_lo;;
16305 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16306 See \`config.log' for more details." >&5
16307 echo "$as_me: error: cannot compute sizeof (long), 77
16308 See \`config.log' for more details." >&2;}
16309 { (exit 1); exit 1; }; } ;;
16310 esac
16311 else
16312 if test "$cross_compiling" = yes; then
16313 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: cannot run test program while cross compiling
16316 See \`config.log' for more details." >&2;}
16317 { (exit 1); exit 1; }; }
16318 else
16319 cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h. */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 $ac_includes_default
16326 long longval () { return (long) (sizeof (long)); }
16327 unsigned long ulongval () { return (long) (sizeof (long)); }
16328 #include <stdio.h>
16329 #include <stdlib.h>
16331 main ()
16334 FILE *f = fopen ("conftest.val", "w");
16335 if (! f)
16336 exit (1);
16337 if (((long) (sizeof (long))) < 0)
16339 long i = longval ();
16340 if (i != ((long) (sizeof (long))))
16341 exit (1);
16342 fprintf (f, "%ld\n", i);
16344 else
16346 unsigned long i = ulongval ();
16347 if (i != ((long) (sizeof (long))))
16348 exit (1);
16349 fprintf (f, "%lu\n", i);
16351 exit (ferror (f) || fclose (f) != 0);
16354 return 0;
16356 _ACEOF
16357 rm -f conftest$ac_exeext
16358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16359 (eval $ac_link) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16365 ac_status=$?
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_cv_sizeof_long=`cat conftest.val`
16369 else
16370 echo "$as_me: program exited with status $ac_status" >&5
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16374 ( exit $ac_status )
16375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16376 See \`config.log' for more details." >&5
16377 echo "$as_me: error: cannot compute sizeof (long), 77
16378 See \`config.log' for more details." >&2;}
16379 { (exit 1); exit 1; }; }
16381 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16384 rm -f conftest.val
16385 else
16386 ac_cv_sizeof_long=0
16389 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16390 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16391 cat >>confdefs.h <<_ACEOF
16392 #define SIZEOF_LONG $ac_cv_sizeof_long
16393 _ACEOF
16396 esac
16398 if test $acx_cv_header_stdint = stddef.h; then
16399 # Lacking a good header? Test size of everything and deduce all types.
16400 echo "$as_me:$LINENO: checking for int" >&5
16401 echo $ECHO_N "checking for int... $ECHO_C" >&6
16402 if test "${ac_cv_type_int+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 $ac_includes_default
16413 main ()
16415 if ((int *) 0)
16416 return 0;
16417 if (sizeof (int))
16418 return 0;
16420 return 0;
16422 _ACEOF
16423 rm -f conftest.$ac_objext
16424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16425 (eval $ac_compile) 2>conftest.er1
16426 ac_status=$?
16427 grep -v '^ *+' conftest.er1 >conftest.err
16428 rm -f conftest.er1
16429 cat conftest.err >&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try='test -z "$ac_c_werror_flag"
16433 || test ! -s conftest.err'
16434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16436 ac_status=$?
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); }; } &&
16439 { ac_try='test -s conftest.$ac_objext'
16440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16441 (eval $ac_try) 2>&5
16442 ac_status=$?
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); }; }; then
16445 ac_cv_type_int=yes
16446 else
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16450 ac_cv_type_int=no
16452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16454 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16455 echo "${ECHO_T}$ac_cv_type_int" >&6
16457 echo "$as_me:$LINENO: checking size of int" >&5
16458 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16459 if test "${ac_cv_sizeof_int+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16461 else
16462 if test "$ac_cv_type_int" = yes; then
16463 # The cast to unsigned long works around a bug in the HP C Compiler
16464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16466 # This bug is HP SR number 8606223364.
16467 if test "$cross_compiling" = yes; then
16468 # Depending upon the size, compute the lo and hi bounds.
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16477 main ()
16479 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16480 test_array [0] = 0
16483 return 0;
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>conftest.er1
16489 ac_status=$?
16490 grep -v '^ *+' conftest.er1 >conftest.err
16491 rm -f conftest.er1
16492 cat conftest.err >&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -z "$ac_c_werror_flag"
16496 || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 ac_lo=0 ac_mid=0
16509 while :; do
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 $ac_includes_default
16518 main ()
16520 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16521 test_array [0] = 0
16524 return 0;
16526 _ACEOF
16527 rm -f conftest.$ac_objext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16529 (eval $ac_compile) 2>conftest.er1
16530 ac_status=$?
16531 grep -v '^ *+' conftest.er1 >conftest.err
16532 rm -f conftest.er1
16533 cat conftest.err >&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); } &&
16536 { ac_try='test -z "$ac_c_werror_flag"
16537 || test ! -s conftest.err'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16540 ac_status=$?
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; } &&
16543 { ac_try='test -s conftest.$ac_objext'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16546 ac_status=$?
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16549 ac_hi=$ac_mid; break
16550 else
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16554 ac_lo=`expr $ac_mid + 1`
16555 if test $ac_lo -le $ac_mid; then
16556 ac_lo= ac_hi=
16557 break
16559 ac_mid=`expr 2 '*' $ac_mid + 1`
16561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16562 done
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 $ac_includes_default
16575 main ()
16577 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16578 test_array [0] = 0
16581 return 0;
16583 _ACEOF
16584 rm -f conftest.$ac_objext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16586 (eval $ac_compile) 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } &&
16593 { ac_try='test -z "$ac_c_werror_flag"
16594 || test ! -s conftest.err'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; } &&
16600 { ac_try='test -s conftest.$ac_objext'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; }; then
16606 ac_hi=-1 ac_mid=-1
16607 while :; do
16608 cat >conftest.$ac_ext <<_ACEOF
16609 /* confdefs.h. */
16610 _ACEOF
16611 cat confdefs.h >>conftest.$ac_ext
16612 cat >>conftest.$ac_ext <<_ACEOF
16613 /* end confdefs.h. */
16614 $ac_includes_default
16616 main ()
16618 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16619 test_array [0] = 0
16622 return 0;
16624 _ACEOF
16625 rm -f conftest.$ac_objext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>conftest.er1
16628 ac_status=$?
16629 grep -v '^ *+' conftest.er1 >conftest.err
16630 rm -f conftest.er1
16631 cat conftest.err >&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try='test -z "$ac_c_werror_flag"
16635 || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16638 ac_status=$?
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 ac_lo=$ac_mid; break
16648 else
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 ac_hi=`expr '(' $ac_mid ')' - 1`
16653 if test $ac_mid -le $ac_hi; then
16654 ac_lo= ac_hi=
16655 break
16657 ac_mid=`expr 2 '*' $ac_mid`
16659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16660 done
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16665 ac_lo= ac_hi=
16667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16670 # Binary search between lo and hi bounds.
16671 while test "x$ac_lo" != "x$ac_hi"; do
16672 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16673 cat >conftest.$ac_ext <<_ACEOF
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16681 main ()
16683 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16684 test_array [0] = 0
16687 return 0;
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>conftest.er1
16693 ac_status=$?
16694 grep -v '^ *+' conftest.er1 >conftest.err
16695 rm -f conftest.er1
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try='test -z "$ac_c_werror_flag"
16700 || test ! -s conftest.err'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16703 ac_status=$?
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; } &&
16706 { ac_try='test -s conftest.$ac_objext'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16709 ac_status=$?
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
16712 ac_hi=$ac_mid
16713 else
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16717 ac_lo=`expr '(' $ac_mid ')' + 1`
16719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16720 done
16721 case $ac_lo in
16722 ?*) ac_cv_sizeof_int=$ac_lo;;
16723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot compute sizeof (int), 77
16726 See \`config.log' for more details." >&2;}
16727 { (exit 1); exit 1; }; } ;;
16728 esac
16729 else
16730 if test "$cross_compiling" = yes; then
16731 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16732 See \`config.log' for more details." >&5
16733 echo "$as_me: error: cannot run test program while cross compiling
16734 See \`config.log' for more details." >&2;}
16735 { (exit 1); exit 1; }; }
16736 else
16737 cat >conftest.$ac_ext <<_ACEOF
16738 /* confdefs.h. */
16739 _ACEOF
16740 cat confdefs.h >>conftest.$ac_ext
16741 cat >>conftest.$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743 $ac_includes_default
16744 long longval () { return (long) (sizeof (int)); }
16745 unsigned long ulongval () { return (long) (sizeof (int)); }
16746 #include <stdio.h>
16747 #include <stdlib.h>
16749 main ()
16752 FILE *f = fopen ("conftest.val", "w");
16753 if (! f)
16754 exit (1);
16755 if (((long) (sizeof (int))) < 0)
16757 long i = longval ();
16758 if (i != ((long) (sizeof (int))))
16759 exit (1);
16760 fprintf (f, "%ld\n", i);
16762 else
16764 unsigned long i = ulongval ();
16765 if (i != ((long) (sizeof (int))))
16766 exit (1);
16767 fprintf (f, "%lu\n", i);
16769 exit (ferror (f) || fclose (f) != 0);
16772 return 0;
16774 _ACEOF
16775 rm -f conftest$ac_exeext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16777 (eval $ac_link) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16786 ac_cv_sizeof_int=`cat conftest.val`
16787 else
16788 echo "$as_me: program exited with status $ac_status" >&5
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16792 ( exit $ac_status )
16793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16794 See \`config.log' for more details." >&5
16795 echo "$as_me: error: cannot compute sizeof (int), 77
16796 See \`config.log' for more details." >&2;}
16797 { (exit 1); exit 1; }; }
16799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16802 rm -f conftest.val
16803 else
16804 ac_cv_sizeof_int=0
16807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16808 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16809 cat >>confdefs.h <<_ACEOF
16810 #define SIZEOF_INT $ac_cv_sizeof_int
16811 _ACEOF
16814 echo "$as_me:$LINENO: checking for short" >&5
16815 echo $ECHO_N "checking for short... $ECHO_C" >&6
16816 if test "${ac_cv_type_short+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h. */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16827 main ()
16829 if ((short *) 0)
16830 return 0;
16831 if (sizeof (short))
16832 return 0;
16834 return 0;
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 ac_cv_type_short=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 ac_cv_type_short=no
16866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16868 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16869 echo "${ECHO_T}$ac_cv_type_short" >&6
16871 echo "$as_me:$LINENO: checking size of short" >&5
16872 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16873 if test "${ac_cv_sizeof_short+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876 if test "$ac_cv_type_short" = yes; then
16877 # The cast to unsigned long works around a bug in the HP C Compiler
16878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880 # This bug is HP SR number 8606223364.
16881 if test "$cross_compiling" = yes; then
16882 # Depending upon the size, compute the lo and hi bounds.
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 $ac_includes_default
16891 main ()
16893 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16894 test_array [0] = 0
16897 return 0;
16899 _ACEOF
16900 rm -f conftest.$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902 (eval $ac_compile) 2>conftest.er1
16903 ac_status=$?
16904 grep -v '^ *+' conftest.er1 >conftest.err
16905 rm -f conftest.er1
16906 cat conftest.err >&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try='test -z "$ac_c_werror_flag"
16910 || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16913 ac_status=$?
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 ac_lo=0 ac_mid=0
16923 while :; do
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 $ac_includes_default
16932 main ()
16934 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16935 test_array [0] = 0
16938 return 0;
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943 (eval $ac_compile) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try='test -z "$ac_c_werror_flag"
16951 || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_hi=$ac_mid; break
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16968 ac_lo=`expr $ac_mid + 1`
16969 if test $ac_lo -le $ac_mid; then
16970 ac_lo= ac_hi=
16971 break
16973 ac_mid=`expr 2 '*' $ac_mid + 1`
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16976 done
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16981 cat >conftest.$ac_ext <<_ACEOF
16982 /* confdefs.h. */
16983 _ACEOF
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h. */
16987 $ac_includes_default
16989 main ()
16991 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16992 test_array [0] = 0
16995 return 0;
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17001 ac_status=$?
17002 grep -v '^ *+' conftest.er1 >conftest.err
17003 rm -f conftest.er1
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try='test -z "$ac_c_werror_flag"
17008 || test ! -s conftest.err'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; } &&
17014 { ac_try='test -s conftest.$ac_objext'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; }; then
17020 ac_hi=-1 ac_mid=-1
17021 while :; do
17022 cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h. */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 $ac_includes_default
17030 main ()
17032 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17033 test_array [0] = 0
17036 return 0;
17038 _ACEOF
17039 rm -f conftest.$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>conftest.er1
17042 ac_status=$?
17043 grep -v '^ *+' conftest.er1 >conftest.err
17044 rm -f conftest.er1
17045 cat conftest.err >&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); } &&
17048 { ac_try='test -z "$ac_c_werror_flag"
17049 || test ! -s conftest.err'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17052 ac_status=$?
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; } &&
17055 { ac_try='test -s conftest.$ac_objext'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_lo=$ac_mid; break
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_hi=`expr '(' $ac_mid ')' - 1`
17067 if test $ac_mid -le $ac_hi; then
17068 ac_lo= ac_hi=
17069 break
17071 ac_mid=`expr 2 '*' $ac_mid`
17073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074 done
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_lo= ac_hi=
17081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17084 # Binary search between lo and hi bounds.
17085 while test "x$ac_lo" != "x$ac_hi"; do
17086 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17087 cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h. */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17095 main ()
17097 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17098 test_array [0] = 0
17101 return 0;
17103 _ACEOF
17104 rm -f conftest.$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try='test -z "$ac_c_werror_flag"
17114 || test ! -s conftest.err'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17117 ac_status=$?
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; } &&
17120 { ac_try='test -s conftest.$ac_objext'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17126 ac_hi=$ac_mid
17127 else
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17131 ac_lo=`expr '(' $ac_mid ')' + 1`
17133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17134 done
17135 case $ac_lo in
17136 ?*) ac_cv_sizeof_short=$ac_lo;;
17137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: cannot compute sizeof (short), 77
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; } ;;
17142 esac
17143 else
17144 if test "$cross_compiling" = yes; then
17145 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17146 See \`config.log' for more details." >&5
17147 echo "$as_me: error: cannot run test program while cross compiling
17148 See \`config.log' for more details." >&2;}
17149 { (exit 1); exit 1; }; }
17150 else
17151 cat >conftest.$ac_ext <<_ACEOF
17152 /* confdefs.h. */
17153 _ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17157 $ac_includes_default
17158 long longval () { return (long) (sizeof (short)); }
17159 unsigned long ulongval () { return (long) (sizeof (short)); }
17160 #include <stdio.h>
17161 #include <stdlib.h>
17163 main ()
17166 FILE *f = fopen ("conftest.val", "w");
17167 if (! f)
17168 exit (1);
17169 if (((long) (sizeof (short))) < 0)
17171 long i = longval ();
17172 if (i != ((long) (sizeof (short))))
17173 exit (1);
17174 fprintf (f, "%ld\n", i);
17176 else
17178 unsigned long i = ulongval ();
17179 if (i != ((long) (sizeof (short))))
17180 exit (1);
17181 fprintf (f, "%lu\n", i);
17183 exit (ferror (f) || fclose (f) != 0);
17186 return 0;
17188 _ACEOF
17189 rm -f conftest$ac_exeext
17190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17191 (eval $ac_link) 2>&5
17192 ac_status=$?
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_sizeof_short=`cat conftest.val`
17201 else
17202 echo "$as_me: program exited with status $ac_status" >&5
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17206 ( exit $ac_status )
17207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot compute sizeof (short), 77
17210 See \`config.log' for more details." >&2;}
17211 { (exit 1); exit 1; }; }
17213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17216 rm -f conftest.val
17217 else
17218 ac_cv_sizeof_short=0
17221 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17222 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17223 cat >>confdefs.h <<_ACEOF
17224 #define SIZEOF_SHORT $ac_cv_sizeof_short
17225 _ACEOF
17228 echo "$as_me:$LINENO: checking for char" >&5
17229 echo $ECHO_N "checking for char... $ECHO_C" >&6
17230 if test "${ac_cv_type_char+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 else
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 $ac_includes_default
17241 main ()
17243 if ((char *) 0)
17244 return 0;
17245 if (sizeof (char))
17246 return 0;
17248 return 0;
17250 _ACEOF
17251 rm -f conftest.$ac_objext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17253 (eval $ac_compile) 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } &&
17260 { ac_try='test -z "$ac_c_werror_flag"
17261 || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try='test -s conftest.$ac_objext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 ac_cv_type_char=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 ac_cv_type_char=no
17280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17283 echo "${ECHO_T}$ac_cv_type_char" >&6
17285 echo "$as_me:$LINENO: checking size of char" >&5
17286 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17287 if test "${ac_cv_sizeof_char+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 if test "$ac_cv_type_char" = yes; then
17291 # The cast to unsigned long works around a bug in the HP C Compiler
17292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17294 # This bug is HP SR number 8606223364.
17295 if test "$cross_compiling" = yes; then
17296 # Depending upon the size, compute the lo and hi bounds.
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 $ac_includes_default
17305 main ()
17307 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17308 test_array [0] = 0
17311 return 0;
17313 _ACEOF
17314 rm -f conftest.$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>conftest.er1
17317 ac_status=$?
17318 grep -v '^ *+' conftest.er1 >conftest.err
17319 rm -f conftest.er1
17320 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try='test -z "$ac_c_werror_flag"
17324 || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17327 ac_status=$?
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17333 ac_status=$?
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17336 ac_lo=0 ac_mid=0
17337 while :; do
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 $ac_includes_default
17346 main ()
17348 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17349 test_array [0] = 0
17352 return 0;
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17358 ac_status=$?
17359 grep -v '^ *+' conftest.er1 >conftest.err
17360 rm -f conftest.er1
17361 cat conftest.err >&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try='test -z "$ac_c_werror_flag"
17365 || test ! -s conftest.err'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17368 ac_status=$?
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; } &&
17371 { ac_try='test -s conftest.$ac_objext'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; }; then
17377 ac_hi=$ac_mid; break
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17382 ac_lo=`expr $ac_mid + 1`
17383 if test $ac_lo -le $ac_mid; then
17384 ac_lo= ac_hi=
17385 break
17387 ac_mid=`expr 2 '*' $ac_mid + 1`
17389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17390 done
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 $ac_includes_default
17403 main ()
17405 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17406 test_array [0] = 0
17409 return 0;
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414 (eval $ac_compile) 2>conftest.er1
17415 ac_status=$?
17416 grep -v '^ *+' conftest.er1 >conftest.err
17417 rm -f conftest.er1
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } &&
17421 { ac_try='test -z "$ac_c_werror_flag"
17422 || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 ac_hi=-1 ac_mid=-1
17435 while :; do
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17444 main ()
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17447 test_array [0] = 0
17450 return 0;
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try='test -z "$ac_c_werror_flag"
17463 || test ! -s conftest.err'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; } &&
17469 { ac_try='test -s conftest.$ac_objext'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17472 ac_status=$?
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; }; then
17475 ac_lo=$ac_mid; break
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 ac_hi=`expr '(' $ac_mid ')' - 1`
17481 if test $ac_mid -le $ac_hi; then
17482 ac_lo= ac_hi=
17483 break
17485 ac_mid=`expr 2 '*' $ac_mid`
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488 done
17489 else
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17493 ac_lo= ac_hi=
17495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17498 # Binary search between lo and hi bounds.
17499 while test "x$ac_lo" != "x$ac_hi"; do
17500 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h. */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17509 main ()
17511 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17512 test_array [0] = 0
17515 return 0;
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try='test -z "$ac_c_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17540 ac_hi=$ac_mid
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17545 ac_lo=`expr '(' $ac_mid ')' + 1`
17547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17548 done
17549 case $ac_lo in
17550 ?*) ac_cv_sizeof_char=$ac_lo;;
17551 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17552 See \`config.log' for more details." >&5
17553 echo "$as_me: error: cannot compute sizeof (char), 77
17554 See \`config.log' for more details." >&2;}
17555 { (exit 1); exit 1; }; } ;;
17556 esac
17557 else
17558 if test "$cross_compiling" = yes; then
17559 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: cannot run test program while cross compiling
17562 See \`config.log' for more details." >&2;}
17563 { (exit 1); exit 1; }; }
17564 else
17565 cat >conftest.$ac_ext <<_ACEOF
17566 /* confdefs.h. */
17567 _ACEOF
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17571 $ac_includes_default
17572 long longval () { return (long) (sizeof (char)); }
17573 unsigned long ulongval () { return (long) (sizeof (char)); }
17574 #include <stdio.h>
17575 #include <stdlib.h>
17577 main ()
17580 FILE *f = fopen ("conftest.val", "w");
17581 if (! f)
17582 exit (1);
17583 if (((long) (sizeof (char))) < 0)
17585 long i = longval ();
17586 if (i != ((long) (sizeof (char))))
17587 exit (1);
17588 fprintf (f, "%ld\n", i);
17590 else
17592 unsigned long i = ulongval ();
17593 if (i != ((long) (sizeof (char))))
17594 exit (1);
17595 fprintf (f, "%lu\n", i);
17597 exit (ferror (f) || fclose (f) != 0);
17600 return 0;
17602 _ACEOF
17603 rm -f conftest$ac_exeext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17605 (eval $ac_link) 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_sizeof_char=`cat conftest.val`
17615 else
17616 echo "$as_me: program exited with status $ac_status" >&5
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ( exit $ac_status )
17621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17622 See \`config.log' for more details." >&5
17623 echo "$as_me: error: cannot compute sizeof (char), 77
17624 See \`config.log' for more details." >&2;}
17625 { (exit 1); exit 1; }; }
17627 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17630 rm -f conftest.val
17631 else
17632 ac_cv_sizeof_char=0
17635 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17636 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17637 cat >>confdefs.h <<_ACEOF
17638 #define SIZEOF_CHAR $ac_cv_sizeof_char
17639 _ACEOF
17643 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17644 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17645 case "$ac_cv_sizeof_char" in
17646 1) acx_cv_type_int8_t=char ;;
17647 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17648 echo "$as_me: error: no 8-bit type" >&2;}
17649 { (exit please report a bug); exit please report a bug; }; }
17650 esac
17651 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17652 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17654 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17655 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17656 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17657 2:*) acx_cv_type_int16_t=int ;;
17658 *:2) acx_cv_type_int16_t=short ;;
17659 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17660 echo "$as_me: error: no 16-bit type" >&2;}
17661 { (exit please report a bug); exit please report a bug; }; }
17662 esac
17663 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17664 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17666 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17667 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17668 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17669 4:*) acx_cv_type_int32_t=int ;;
17670 *:4) acx_cv_type_int32_t=long ;;
17671 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17672 echo "$as_me: error: no 32-bit type" >&2;}
17673 { (exit please report a bug); exit please report a bug; }; }
17674 esac
17675 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17676 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17679 # These tests are here to make the output prettier
17681 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17682 case "$ac_cv_sizeof_long" in
17683 8) acx_cv_type_int64_t=long ;;
17684 esac
17685 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17686 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17687 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17688 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17691 # Now we can use the above types
17693 if test "$ac_cv_type_uintptr_t" != yes; then
17694 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17695 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17696 case $ac_cv_sizeof_void_p in
17697 2) acx_cv_type_intptr_t=int16_t ;;
17698 4) acx_cv_type_intptr_t=int32_t ;;
17699 8) acx_cv_type_intptr_t=int64_t ;;
17700 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17701 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17702 { (exit please report a bug); exit please report a bug; }; }
17703 esac
17704 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17705 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17708 # ----------------- done all checks, emit header -------------
17709 ac_config_commands="$ac_config_commands gstdint.h"
17714 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17715 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17716 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 else
17719 cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h. */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17727 main ()
17729 static struct stat ac_aggr;
17730 if (ac_aggr.st_blksize)
17731 return 0;
17733 return 0;
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17738 (eval $ac_compile) 2>conftest.er1
17739 ac_status=$?
17740 grep -v '^ *+' conftest.er1 >conftest.err
17741 rm -f conftest.er1
17742 cat conftest.err >&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -z "$ac_c_werror_flag"
17746 || test ! -s conftest.err'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_member_struct_stat_st_blksize=yes
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 $ac_includes_default
17771 main ()
17773 static struct stat ac_aggr;
17774 if (sizeof ac_aggr.st_blksize)
17775 return 0;
17777 return 0;
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782 (eval $ac_compile) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_c_werror_flag"
17790 || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 ac_cv_member_struct_stat_st_blksize=yes
17803 else
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17807 ac_cv_member_struct_stat_st_blksize=no
17809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17813 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17814 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17815 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17819 _ACEOF
17824 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17825 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17826 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 else
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17837 main ()
17839 static struct stat ac_aggr;
17840 if (ac_aggr.st_blocks)
17841 return 0;
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_cv_member_struct_stat_st_blocks=yes
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 cat >conftest.$ac_ext <<_ACEOF
17874 /* confdefs.h. */
17875 _ACEOF
17876 cat confdefs.h >>conftest.$ac_ext
17877 cat >>conftest.$ac_ext <<_ACEOF
17878 /* end confdefs.h. */
17879 $ac_includes_default
17881 main ()
17883 static struct stat ac_aggr;
17884 if (sizeof ac_aggr.st_blocks)
17885 return 0;
17887 return 0;
17889 _ACEOF
17890 rm -f conftest.$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17893 ac_status=$?
17894 grep -v '^ *+' conftest.er1 >conftest.err
17895 rm -f conftest.er1
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_c_werror_flag"
17900 || test ! -s conftest.err'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try='test -s conftest.$ac_objext'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17909 ac_status=$?
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; }; then
17912 ac_cv_member_struct_stat_st_blocks=yes
17913 else
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.$ac_ext >&5
17917 ac_cv_member_struct_stat_st_blocks=no
17919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17923 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17924 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17925 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17927 cat >>confdefs.h <<_ACEOF
17928 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17929 _ACEOF
17934 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17935 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17936 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17947 main ()
17949 static struct stat ac_aggr;
17950 if (ac_aggr.st_rdev)
17951 return 0;
17953 return 0;
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958 (eval $ac_compile) 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } &&
17965 { ac_try='test -z "$ac_c_werror_flag"
17966 || test ! -s conftest.err'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; } &&
17972 { ac_try='test -s conftest.$ac_objext'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; }; then
17978 ac_cv_member_struct_stat_st_rdev=yes
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17991 main ()
17993 static struct stat ac_aggr;
17994 if (sizeof ac_aggr.st_rdev)
17995 return 0;
17997 return 0;
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002 (eval $ac_compile) 2>conftest.er1
18003 ac_status=$?
18004 grep -v '^ *+' conftest.er1 >conftest.err
18005 rm -f conftest.er1
18006 cat conftest.err >&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try='test -z "$ac_c_werror_flag"
18010 || test ! -s conftest.err'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18013 ac_status=$?
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } &&
18016 { ac_try='test -s conftest.$ac_objext'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 ac_cv_member_struct_stat_st_rdev=yes
18023 else
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18027 ac_cv_member_struct_stat_st_rdev=no
18029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18033 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18034 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18035 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18037 cat >>confdefs.h <<_ACEOF
18038 #define HAVE_STRUCT_STAT_ST_RDEV 1
18039 _ACEOF
18045 # Check for library functions.
18054 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18057 echo "$as_me:$LINENO: checking for $ac_func" >&5
18058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18059 if eval "test \"\${$as_ac_var+set}\" = set"; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 else
18062 if test x$gcc_no_link = xyes; then
18063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18065 { (exit 1); exit 1; }; }
18067 cat >conftest.$ac_ext <<_ACEOF
18068 /* confdefs.h. */
18069 _ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h. */
18073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18075 #define $ac_func innocuous_$ac_func
18077 /* System header to define __stub macros and hopefully few prototypes,
18078 which can conflict with char $ac_func (); below.
18079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18080 <limits.h> exists even on freestanding compilers. */
18082 #ifdef __STDC__
18083 # include <limits.h>
18084 #else
18085 # include <assert.h>
18086 #endif
18088 #undef $ac_func
18090 /* Override any gcc2 internal prototype to avoid an error. */
18091 #ifdef __cplusplus
18092 extern "C"
18094 #endif
18095 /* We use char because int might match the return type of a gcc2
18096 builtin and then its argument prototype would still apply. */
18097 char $ac_func ();
18098 /* The GNU C library defines this for functions which it implements
18099 to always fail with ENOSYS. Some functions are actually named
18100 something starting with __ and the normal name is an alias. */
18101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18102 choke me
18103 #else
18104 char (*f) () = $ac_func;
18105 #endif
18106 #ifdef __cplusplus
18108 #endif
18111 main ()
18113 return f != $ac_func;
18115 return 0;
18117 _ACEOF
18118 rm -f conftest.$ac_objext conftest$ac_exeext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18120 (eval $ac_link) 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try='test -z "$ac_c_werror_flag"
18128 || test ! -s conftest.err'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; } &&
18134 { ac_try='test -s conftest$ac_exeext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18140 eval "$as_ac_var=yes"
18141 else
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18145 eval "$as_ac_var=no"
18147 rm -f conftest.err conftest.$ac_objext \
18148 conftest$ac_exeext conftest.$ac_ext
18150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18152 if test `eval echo '${'$as_ac_var'}'` = yes; then
18153 cat >>confdefs.h <<_ACEOF
18154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18155 _ACEOF
18158 done
18168 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18171 echo "$as_me:$LINENO: checking for $ac_func" >&5
18172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18173 if eval "test \"\${$as_ac_var+set}\" = set"; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 else
18176 if test x$gcc_no_link = xyes; then
18177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18179 { (exit 1); exit 1; }; }
18181 cat >conftest.$ac_ext <<_ACEOF
18182 /* confdefs.h. */
18183 _ACEOF
18184 cat confdefs.h >>conftest.$ac_ext
18185 cat >>conftest.$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18189 #define $ac_func innocuous_$ac_func
18191 /* System header to define __stub macros and hopefully few prototypes,
18192 which can conflict with char $ac_func (); below.
18193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18194 <limits.h> exists even on freestanding compilers. */
18196 #ifdef __STDC__
18197 # include <limits.h>
18198 #else
18199 # include <assert.h>
18200 #endif
18202 #undef $ac_func
18204 /* Override any gcc2 internal prototype to avoid an error. */
18205 #ifdef __cplusplus
18206 extern "C"
18208 #endif
18209 /* We use char because int might match the return type of a gcc2
18210 builtin and then its argument prototype would still apply. */
18211 char $ac_func ();
18212 /* The GNU C library defines this for functions which it implements
18213 to always fail with ENOSYS. Some functions are actually named
18214 something starting with __ and the normal name is an alias. */
18215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18216 choke me
18217 #else
18218 char (*f) () = $ac_func;
18219 #endif
18220 #ifdef __cplusplus
18222 #endif
18225 main ()
18227 return f != $ac_func;
18229 return 0;
18231 _ACEOF
18232 rm -f conftest.$ac_objext conftest$ac_exeext
18233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18234 (eval $ac_link) 2>conftest.er1
18235 ac_status=$?
18236 grep -v '^ *+' conftest.er1 >conftest.err
18237 rm -f conftest.er1
18238 cat conftest.err >&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); } &&
18241 { ac_try='test -z "$ac_c_werror_flag"
18242 || test ! -s conftest.err'
18243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244 (eval $ac_try) 2>&5
18245 ac_status=$?
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); }; } &&
18248 { ac_try='test -s conftest$ac_exeext'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18251 ac_status=$?
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; }; then
18254 eval "$as_ac_var=yes"
18255 else
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18259 eval "$as_ac_var=no"
18261 rm -f conftest.err conftest.$ac_objext \
18262 conftest$ac_exeext conftest.$ac_ext
18264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18266 if test `eval echo '${'$as_ac_var'}'` = yes; then
18267 cat >>confdefs.h <<_ACEOF
18268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18269 _ACEOF
18272 done
18284 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18287 echo "$as_me:$LINENO: checking for $ac_func" >&5
18288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18289 if eval "test \"\${$as_ac_var+set}\" = set"; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 else
18292 if test x$gcc_no_link = xyes; then
18293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18295 { (exit 1); exit 1; }; }
18297 cat >conftest.$ac_ext <<_ACEOF
18298 /* confdefs.h. */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18305 #define $ac_func innocuous_$ac_func
18307 /* System header to define __stub macros and hopefully few prototypes,
18308 which can conflict with char $ac_func (); below.
18309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18310 <limits.h> exists even on freestanding compilers. */
18312 #ifdef __STDC__
18313 # include <limits.h>
18314 #else
18315 # include <assert.h>
18316 #endif
18318 #undef $ac_func
18320 /* Override any gcc2 internal prototype to avoid an error. */
18321 #ifdef __cplusplus
18322 extern "C"
18324 #endif
18325 /* We use char because int might match the return type of a gcc2
18326 builtin and then its argument prototype would still apply. */
18327 char $ac_func ();
18328 /* The GNU C library defines this for functions which it implements
18329 to always fail with ENOSYS. Some functions are actually named
18330 something starting with __ and the normal name is an alias. */
18331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18332 choke me
18333 #else
18334 char (*f) () = $ac_func;
18335 #endif
18336 #ifdef __cplusplus
18338 #endif
18341 main ()
18343 return f != $ac_func;
18345 return 0;
18347 _ACEOF
18348 rm -f conftest.$ac_objext conftest$ac_exeext
18349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18350 (eval $ac_link) 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } &&
18357 { ac_try='test -z "$ac_c_werror_flag"
18358 || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try='test -s conftest$ac_exeext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 eval "$as_ac_var=yes"
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18375 eval "$as_ac_var=no"
18377 rm -f conftest.err conftest.$ac_objext \
18378 conftest$ac_exeext conftest.$ac_ext
18380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18382 if test `eval echo '${'$as_ac_var'}'` = yes; then
18383 cat >>confdefs.h <<_ACEOF
18384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18385 _ACEOF
18388 done
18399 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18402 echo "$as_me:$LINENO: checking for $ac_func" >&5
18403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18404 if eval "test \"\${$as_ac_var+set}\" = set"; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18410 { (exit 1); exit 1; }; }
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18420 #define $ac_func innocuous_$ac_func
18422 /* System header to define __stub macros and hopefully few prototypes,
18423 which can conflict with char $ac_func (); below.
18424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18425 <limits.h> exists even on freestanding compilers. */
18427 #ifdef __STDC__
18428 # include <limits.h>
18429 #else
18430 # include <assert.h>
18431 #endif
18433 #undef $ac_func
18435 /* Override any gcc2 internal prototype to avoid an error. */
18436 #ifdef __cplusplus
18437 extern "C"
18439 #endif
18440 /* We use char because int might match the return type of a gcc2
18441 builtin and then its argument prototype would still apply. */
18442 char $ac_func ();
18443 /* The GNU C library defines this for functions which it implements
18444 to always fail with ENOSYS. Some functions are actually named
18445 something starting with __ and the normal name is an alias. */
18446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18447 choke me
18448 #else
18449 char (*f) () = $ac_func;
18450 #endif
18451 #ifdef __cplusplus
18453 #endif
18456 main ()
18458 return f != $ac_func;
18460 return 0;
18462 _ACEOF
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>conftest.er1
18466 ac_status=$?
18467 grep -v '^ *+' conftest.er1 >conftest.err
18468 rm -f conftest.er1
18469 cat conftest.err >&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); } &&
18472 { ac_try='test -z "$ac_c_werror_flag"
18473 || test ! -s conftest.err'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18476 ac_status=$?
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; } &&
18479 { ac_try='test -s conftest$ac_exeext'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18482 ac_status=$?
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; }; then
18485 eval "$as_ac_var=yes"
18486 else
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18490 eval "$as_ac_var=no"
18492 rm -f conftest.err conftest.$ac_objext \
18493 conftest$ac_exeext conftest.$ac_ext
18495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18497 if test `eval echo '${'$as_ac_var'}'` = yes; then
18498 cat >>confdefs.h <<_ACEOF
18499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18500 _ACEOF
18503 done
18513 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18516 echo "$as_me:$LINENO: checking for $ac_func" >&5
18517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18518 if eval "test \"\${$as_ac_var+set}\" = set"; then
18519 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 else
18521 if test x$gcc_no_link = xyes; then
18522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18524 { (exit 1); exit 1; }; }
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18534 #define $ac_func innocuous_$ac_func
18536 /* System header to define __stub macros and hopefully few prototypes,
18537 which can conflict with char $ac_func (); below.
18538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18539 <limits.h> exists even on freestanding compilers. */
18541 #ifdef __STDC__
18542 # include <limits.h>
18543 #else
18544 # include <assert.h>
18545 #endif
18547 #undef $ac_func
18549 /* Override any gcc2 internal prototype to avoid an error. */
18550 #ifdef __cplusplus
18551 extern "C"
18553 #endif
18554 /* We use char because int might match the return type of a gcc2
18555 builtin and then its argument prototype would still apply. */
18556 char $ac_func ();
18557 /* The GNU C library defines this for functions which it implements
18558 to always fail with ENOSYS. Some functions are actually named
18559 something starting with __ and the normal name is an alias. */
18560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18561 choke me
18562 #else
18563 char (*f) () = $ac_func;
18564 #endif
18565 #ifdef __cplusplus
18567 #endif
18570 main ()
18572 return f != $ac_func;
18574 return 0;
18576 _ACEOF
18577 rm -f conftest.$ac_objext conftest$ac_exeext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18579 (eval $ac_link) 2>conftest.er1
18580 ac_status=$?
18581 grep -v '^ *+' conftest.er1 >conftest.err
18582 rm -f conftest.er1
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try='test -z "$ac_c_werror_flag"
18587 || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try='test -s conftest$ac_exeext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 eval "$as_ac_var=yes"
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 eval "$as_ac_var=no"
18606 rm -f conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18611 if test `eval echo '${'$as_ac_var'}'` = yes; then
18612 cat >>confdefs.h <<_ACEOF
18613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18614 _ACEOF
18617 done
18620 # Check for glibc backtrace functions
18623 for ac_func in backtrace backtrace_symbols
18625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18626 echo "$as_me:$LINENO: checking for $ac_func" >&5
18627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18628 if eval "test \"\${$as_ac_var+set}\" = set"; then
18629 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 else
18631 if test x$gcc_no_link = xyes; then
18632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18634 { (exit 1); exit 1; }; }
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18644 #define $ac_func innocuous_$ac_func
18646 /* System header to define __stub macros and hopefully few prototypes,
18647 which can conflict with char $ac_func (); below.
18648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18649 <limits.h> exists even on freestanding compilers. */
18651 #ifdef __STDC__
18652 # include <limits.h>
18653 #else
18654 # include <assert.h>
18655 #endif
18657 #undef $ac_func
18659 /* Override any gcc2 internal prototype to avoid an error. */
18660 #ifdef __cplusplus
18661 extern "C"
18663 #endif
18664 /* We use char because int might match the return type of a gcc2
18665 builtin and then its argument prototype would still apply. */
18666 char $ac_func ();
18667 /* The GNU C library defines this for functions which it implements
18668 to always fail with ENOSYS. Some functions are actually named
18669 something starting with __ and the normal name is an alias. */
18670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18671 choke me
18672 #else
18673 char (*f) () = $ac_func;
18674 #endif
18675 #ifdef __cplusplus
18677 #endif
18680 main ()
18682 return f != $ac_func;
18684 return 0;
18686 _ACEOF
18687 rm -f conftest.$ac_objext conftest$ac_exeext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18689 (eval $ac_link) 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -z "$ac_c_werror_flag"
18697 || test ! -s conftest.err'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; } &&
18703 { ac_try='test -s conftest$ac_exeext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 eval "$as_ac_var=yes"
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18714 eval "$as_ac_var=no"
18716 rm -f conftest.err conftest.$ac_objext \
18717 conftest$ac_exeext conftest.$ac_ext
18719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18721 if test `eval echo '${'$as_ac_var'}'` = yes; then
18722 cat >>confdefs.h <<_ACEOF
18723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18724 _ACEOF
18727 done
18730 # Check for types
18731 echo "$as_me:$LINENO: checking for intptr_t" >&5
18732 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18733 if test "${ac_cv_type_intptr_t+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 $ac_includes_default
18744 main ()
18746 if ((intptr_t *) 0)
18747 return 0;
18748 if (sizeof (intptr_t))
18749 return 0;
18751 return 0;
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18757 ac_status=$?
18758 grep -v '^ *+' conftest.er1 >conftest.err
18759 rm -f conftest.er1
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -z "$ac_c_werror_flag"
18764 || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_cv_type_intptr_t=yes
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18781 ac_cv_type_intptr_t=no
18783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18785 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18786 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18787 if test $ac_cv_type_intptr_t = yes; then
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_INTPTR_T 1
18791 _ACEOF
18797 # Check libc for getgid, getpid, getuid
18798 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18799 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18800 if test "${ac_cv_lib_c_getgid+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 ac_check_lib_save_LIBS=$LIBS
18804 LIBS="-lc $LIBS"
18805 if test x$gcc_no_link = xyes; then
18806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808 { (exit 1); exit 1; }; }
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18817 /* Override any gcc2 internal prototype to avoid an error. */
18818 #ifdef __cplusplus
18819 extern "C"
18820 #endif
18821 /* We use char because int might match the return type of a gcc2
18822 builtin and then its argument prototype would still apply. */
18823 char getgid ();
18825 main ()
18827 getgid ();
18829 return 0;
18831 _ACEOF
18832 rm -f conftest.$ac_objext conftest$ac_exeext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18834 (eval $ac_link) 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try='test -z "$ac_c_werror_flag"
18842 || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18845 ac_status=$?
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try='test -s conftest$ac_exeext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_cv_lib_c_getgid=yes
18855 else
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18859 ac_cv_lib_c_getgid=no
18861 rm -f conftest.err conftest.$ac_objext \
18862 conftest$ac_exeext conftest.$ac_ext
18863 LIBS=$ac_check_lib_save_LIBS
18865 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18866 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18867 if test $ac_cv_lib_c_getgid = yes; then
18869 cat >>confdefs.h <<\_ACEOF
18870 #define HAVE_GETGID 1
18871 _ACEOF
18875 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18876 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18877 if test "${ac_cv_lib_c_getpid+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 ac_check_lib_save_LIBS=$LIBS
18881 LIBS="-lc $LIBS"
18882 if test x$gcc_no_link = xyes; then
18883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18885 { (exit 1); exit 1; }; }
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18894 /* Override any gcc2 internal prototype to avoid an error. */
18895 #ifdef __cplusplus
18896 extern "C"
18897 #endif
18898 /* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18900 char getpid ();
18902 main ()
18904 getpid ();
18906 return 0;
18908 _ACEOF
18909 rm -f conftest.$ac_objext conftest$ac_exeext
18910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>conftest.er1
18912 ac_status=$?
18913 grep -v '^ *+' conftest.er1 >conftest.err
18914 rm -f conftest.er1
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } &&
18918 { ac_try='test -z "$ac_c_werror_flag"
18919 || test ! -s conftest.err'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18922 ac_status=$?
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; } &&
18925 { ac_try='test -s conftest$ac_exeext'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18928 ac_status=$?
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; }; then
18931 ac_cv_lib_c_getpid=yes
18932 else
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_lib_c_getpid=no
18938 rm -f conftest.err conftest.$ac_objext \
18939 conftest$ac_exeext conftest.$ac_ext
18940 LIBS=$ac_check_lib_save_LIBS
18942 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18943 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18944 if test $ac_cv_lib_c_getpid = yes; then
18946 cat >>confdefs.h <<\_ACEOF
18947 #define HAVE_GETPID 1
18948 _ACEOF
18952 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18953 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18954 if test "${ac_cv_lib_c_getppid+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957 ac_check_lib_save_LIBS=$LIBS
18958 LIBS="-lc $LIBS"
18959 if test x$gcc_no_link = xyes; then
18960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18962 { (exit 1); exit 1; }; }
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18971 /* Override any gcc2 internal prototype to avoid an error. */
18972 #ifdef __cplusplus
18973 extern "C"
18974 #endif
18975 /* We use char because int might match the return type of a gcc2
18976 builtin and then its argument prototype would still apply. */
18977 char getppid ();
18979 main ()
18981 getppid ();
18983 return 0;
18985 _ACEOF
18986 rm -f conftest.$ac_objext conftest$ac_exeext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18988 (eval $ac_link) 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try='test -z "$ac_c_werror_flag"
18996 || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try='test -s conftest$ac_exeext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008 ac_cv_lib_c_getppid=yes
19009 else
19010 echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19013 ac_cv_lib_c_getppid=no
19015 rm -f conftest.err conftest.$ac_objext \
19016 conftest$ac_exeext conftest.$ac_ext
19017 LIBS=$ac_check_lib_save_LIBS
19019 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19020 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19021 if test $ac_cv_lib_c_getppid = yes; then
19023 cat >>confdefs.h <<\_ACEOF
19024 #define HAVE_GETPPID 1
19025 _ACEOF
19029 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19030 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19031 if test "${ac_cv_lib_c_getuid+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034 ac_check_lib_save_LIBS=$LIBS
19035 LIBS="-lc $LIBS"
19036 if test x$gcc_no_link = xyes; then
19037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19039 { (exit 1); exit 1; }; }
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19048 /* Override any gcc2 internal prototype to avoid an error. */
19049 #ifdef __cplusplus
19050 extern "C"
19051 #endif
19052 /* We use char because int might match the return type of a gcc2
19053 builtin and then its argument prototype would still apply. */
19054 char getuid ();
19056 main ()
19058 getuid ();
19060 return 0;
19062 _ACEOF
19063 rm -f conftest.$ac_objext conftest$ac_exeext
19064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19065 (eval $ac_link) 2>conftest.er1
19066 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } &&
19072 { ac_try='test -z "$ac_c_werror_flag"
19073 || test ! -s conftest.err'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try='test -s conftest$ac_exeext'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; }; then
19085 ac_cv_lib_c_getuid=yes
19086 else
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19090 ac_cv_lib_c_getuid=no
19092 rm -f conftest.err conftest.$ac_objext \
19093 conftest$ac_exeext conftest.$ac_ext
19094 LIBS=$ac_check_lib_save_LIBS
19096 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19097 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19098 if test $ac_cv_lib_c_getuid = yes; then
19100 cat >>confdefs.h <<\_ACEOF
19101 #define HAVE_GETUID 1
19102 _ACEOF
19106 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19107 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19108 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111 ac_check_lib_save_LIBS=$LIBS
19112 LIBS="-lc $LIBS"
19113 if test x$gcc_no_link = xyes; then
19114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19116 { (exit 1); exit 1; }; }
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19125 /* Override any gcc2 internal prototype to avoid an error. */
19126 #ifdef __cplusplus
19127 extern "C"
19128 #endif
19129 /* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
19131 char geteuid ();
19133 main ()
19135 geteuid ();
19137 return 0;
19139 _ACEOF
19140 rm -f conftest.$ac_objext conftest$ac_exeext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142 (eval $ac_link) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try='test -z "$ac_c_werror_flag"
19150 || test ! -s conftest.err'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; } &&
19156 { ac_try='test -s conftest$ac_exeext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19159 ac_status=$?
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_cv_lib_c_geteuid=yes
19163 else
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19167 ac_cv_lib_c_geteuid=no
19169 rm -f conftest.err conftest.$ac_objext \
19170 conftest$ac_exeext conftest.$ac_ext
19171 LIBS=$ac_check_lib_save_LIBS
19173 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19174 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19175 if test $ac_cv_lib_c_geteuid = yes; then
19177 cat >>confdefs.h <<\_ACEOF
19178 #define HAVE_GETEUID 1
19179 _ACEOF
19184 # Check for C99 (and other IEEE) math functions
19185 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19186 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19187 if test "${ac_cv_lib_m_acosf+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190 ac_check_lib_save_LIBS=$LIBS
19191 LIBS="-lm $LIBS"
19192 if test x$gcc_no_link = xyes; then
19193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19195 { (exit 1); exit 1; }; }
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19204 /* Override any gcc2 internal prototype to avoid an error. */
19205 #ifdef __cplusplus
19206 extern "C"
19207 #endif
19208 /* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19210 char acosf ();
19212 main ()
19214 acosf ();
19216 return 0;
19218 _ACEOF
19219 rm -f conftest.$ac_objext conftest$ac_exeext
19220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19221 (eval $ac_link) 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } &&
19228 { ac_try='test -z "$ac_c_werror_flag"
19229 || test ! -s conftest.err'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; } &&
19235 { ac_try='test -s conftest$ac_exeext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_cv_lib_m_acosf=yes
19242 else
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19246 ac_cv_lib_m_acosf=no
19248 rm -f conftest.err conftest.$ac_objext \
19249 conftest$ac_exeext conftest.$ac_ext
19250 LIBS=$ac_check_lib_save_LIBS
19252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19253 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19254 if test $ac_cv_lib_m_acosf = yes; then
19256 cat >>confdefs.h <<\_ACEOF
19257 #define HAVE_ACOSF 1
19258 _ACEOF
19262 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19263 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19264 if test "${ac_cv_lib_m_acos+set}" = set; then
19265 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 else
19267 ac_check_lib_save_LIBS=$LIBS
19268 LIBS="-lm $LIBS"
19269 if test x$gcc_no_link = xyes; then
19270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19272 { (exit 1); exit 1; }; }
19274 cat >conftest.$ac_ext <<_ACEOF
19275 /* confdefs.h. */
19276 _ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19281 /* Override any gcc2 internal prototype to avoid an error. */
19282 #ifdef __cplusplus
19283 extern "C"
19284 #endif
19285 /* We use char because int might match the return type of a gcc2
19286 builtin and then its argument prototype would still apply. */
19287 char acos ();
19289 main ()
19291 acos ();
19293 return 0;
19295 _ACEOF
19296 rm -f conftest.$ac_objext conftest$ac_exeext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19298 (eval $ac_link) 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try='test -z "$ac_c_werror_flag"
19306 || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest$ac_exeext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_lib_m_acos=yes
19319 else
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19323 ac_cv_lib_m_acos=no
19325 rm -f conftest.err conftest.$ac_objext \
19326 conftest$ac_exeext conftest.$ac_ext
19327 LIBS=$ac_check_lib_save_LIBS
19329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19330 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19331 if test $ac_cv_lib_m_acos = yes; then
19333 cat >>confdefs.h <<\_ACEOF
19334 #define HAVE_ACOS 1
19335 _ACEOF
19339 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19340 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19341 if test "${ac_cv_lib_m_acosl+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 else
19344 ac_check_lib_save_LIBS=$LIBS
19345 LIBS="-lm $LIBS"
19346 if test x$gcc_no_link = xyes; then
19347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19349 { (exit 1); exit 1; }; }
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19358 /* Override any gcc2 internal prototype to avoid an error. */
19359 #ifdef __cplusplus
19360 extern "C"
19361 #endif
19362 /* We use char because int might match the return type of a gcc2
19363 builtin and then its argument prototype would still apply. */
19364 char acosl ();
19366 main ()
19368 acosl ();
19370 return 0;
19372 _ACEOF
19373 rm -f conftest.$ac_objext conftest$ac_exeext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19375 (eval $ac_link) 2>conftest.er1
19376 ac_status=$?
19377 grep -v '^ *+' conftest.er1 >conftest.err
19378 rm -f conftest.er1
19379 cat conftest.err >&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try='test -z "$ac_c_werror_flag"
19383 || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try='test -s conftest$ac_exeext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 ac_cv_lib_m_acosl=yes
19396 else
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19400 ac_cv_lib_m_acosl=no
19402 rm -f conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext conftest.$ac_ext
19404 LIBS=$ac_check_lib_save_LIBS
19406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19407 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19408 if test $ac_cv_lib_m_acosl = yes; then
19410 cat >>confdefs.h <<\_ACEOF
19411 #define HAVE_ACOSL 1
19412 _ACEOF
19416 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19417 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19418 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19421 ac_check_lib_save_LIBS=$LIBS
19422 LIBS="-lm $LIBS"
19423 if test x$gcc_no_link = xyes; then
19424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19426 { (exit 1); exit 1; }; }
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19435 /* Override any gcc2 internal prototype to avoid an error. */
19436 #ifdef __cplusplus
19437 extern "C"
19438 #endif
19439 /* We use char because int might match the return type of a gcc2
19440 builtin and then its argument prototype would still apply. */
19441 char acoshf ();
19443 main ()
19445 acoshf ();
19447 return 0;
19449 _ACEOF
19450 rm -f conftest.$ac_objext conftest$ac_exeext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452 (eval $ac_link) 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } &&
19459 { ac_try='test -z "$ac_c_werror_flag"
19460 || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest$ac_exeext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_cv_lib_m_acoshf=yes
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19477 ac_cv_lib_m_acoshf=no
19479 rm -f conftest.err conftest.$ac_objext \
19480 conftest$ac_exeext conftest.$ac_ext
19481 LIBS=$ac_check_lib_save_LIBS
19483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19484 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19485 if test $ac_cv_lib_m_acoshf = yes; then
19487 cat >>confdefs.h <<\_ACEOF
19488 #define HAVE_ACOSHF 1
19489 _ACEOF
19493 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19494 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19495 if test "${ac_cv_lib_m_acosh+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19498 ac_check_lib_save_LIBS=$LIBS
19499 LIBS="-lm $LIBS"
19500 if test x$gcc_no_link = xyes; then
19501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19503 { (exit 1); exit 1; }; }
19505 cat >conftest.$ac_ext <<_ACEOF
19506 /* confdefs.h. */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19512 /* Override any gcc2 internal prototype to avoid an error. */
19513 #ifdef __cplusplus
19514 extern "C"
19515 #endif
19516 /* We use char because int might match the return type of a gcc2
19517 builtin and then its argument prototype would still apply. */
19518 char acosh ();
19520 main ()
19522 acosh ();
19524 return 0;
19526 _ACEOF
19527 rm -f conftest.$ac_objext conftest$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529 (eval $ac_link) 2>conftest.er1
19530 ac_status=$?
19531 grep -v '^ *+' conftest.er1 >conftest.err
19532 rm -f conftest.er1
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try='test -z "$ac_c_werror_flag"
19537 || test ! -s conftest.err'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19540 ac_status=$?
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; } &&
19543 { ac_try='test -s conftest$ac_exeext'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; }; then
19549 ac_cv_lib_m_acosh=yes
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 ac_cv_lib_m_acosh=no
19556 rm -f conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19558 LIBS=$ac_check_lib_save_LIBS
19560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19561 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19562 if test $ac_cv_lib_m_acosh = yes; then
19564 cat >>confdefs.h <<\_ACEOF
19565 #define HAVE_ACOSH 1
19566 _ACEOF
19570 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19571 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19572 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19574 else
19575 ac_check_lib_save_LIBS=$LIBS
19576 LIBS="-lm $LIBS"
19577 if test x$gcc_no_link = xyes; then
19578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19580 { (exit 1); exit 1; }; }
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h. */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19589 /* Override any gcc2 internal prototype to avoid an error. */
19590 #ifdef __cplusplus
19591 extern "C"
19592 #endif
19593 /* We use char because int might match the return type of a gcc2
19594 builtin and then its argument prototype would still apply. */
19595 char acoshl ();
19597 main ()
19599 acoshl ();
19601 return 0;
19603 _ACEOF
19604 rm -f conftest.$ac_objext conftest$ac_exeext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19606 (eval $ac_link) 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try='test -z "$ac_c_werror_flag"
19614 || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try='test -s conftest$ac_exeext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 ac_cv_lib_m_acoshl=yes
19627 else
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19631 ac_cv_lib_m_acoshl=no
19633 rm -f conftest.err conftest.$ac_objext \
19634 conftest$ac_exeext conftest.$ac_ext
19635 LIBS=$ac_check_lib_save_LIBS
19637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19638 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19639 if test $ac_cv_lib_m_acoshl = yes; then
19641 cat >>confdefs.h <<\_ACEOF
19642 #define HAVE_ACOSHL 1
19643 _ACEOF
19647 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19648 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19649 if test "${ac_cv_lib_m_asinf+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19652 ac_check_lib_save_LIBS=$LIBS
19653 LIBS="-lm $LIBS"
19654 if test x$gcc_no_link = xyes; then
19655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19657 { (exit 1); exit 1; }; }
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19666 /* Override any gcc2 internal prototype to avoid an error. */
19667 #ifdef __cplusplus
19668 extern "C"
19669 #endif
19670 /* We use char because int might match the return type of a gcc2
19671 builtin and then its argument prototype would still apply. */
19672 char asinf ();
19674 main ()
19676 asinf ();
19678 return 0;
19680 _ACEOF
19681 rm -f conftest.$ac_objext conftest$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683 (eval $ac_link) 2>conftest.er1
19684 ac_status=$?
19685 grep -v '^ *+' conftest.er1 >conftest.err
19686 rm -f conftest.er1
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try='test -z "$ac_c_werror_flag"
19691 || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try='test -s conftest$ac_exeext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_lib_m_asinf=yes
19704 else
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19708 ac_cv_lib_m_asinf=no
19710 rm -f conftest.err conftest.$ac_objext \
19711 conftest$ac_exeext conftest.$ac_ext
19712 LIBS=$ac_check_lib_save_LIBS
19714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19715 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19716 if test $ac_cv_lib_m_asinf = yes; then
19718 cat >>confdefs.h <<\_ACEOF
19719 #define HAVE_ASINF 1
19720 _ACEOF
19724 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19725 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19726 if test "${ac_cv_lib_m_asin+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 ac_check_lib_save_LIBS=$LIBS
19730 LIBS="-lm $LIBS"
19731 if test x$gcc_no_link = xyes; then
19732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19734 { (exit 1); exit 1; }; }
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19743 /* Override any gcc2 internal prototype to avoid an error. */
19744 #ifdef __cplusplus
19745 extern "C"
19746 #endif
19747 /* We use char because int might match the return type of a gcc2
19748 builtin and then its argument prototype would still apply. */
19749 char asin ();
19751 main ()
19753 asin ();
19755 return 0;
19757 _ACEOF
19758 rm -f conftest.$ac_objext conftest$ac_exeext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19760 (eval $ac_link) 2>conftest.er1
19761 ac_status=$?
19762 grep -v '^ *+' conftest.er1 >conftest.err
19763 rm -f conftest.er1
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try='test -z "$ac_c_werror_flag"
19768 || test ! -s conftest.err'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19771 ac_status=$?
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; } &&
19774 { ac_try='test -s conftest$ac_exeext'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19777 ac_status=$?
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; }; then
19780 ac_cv_lib_m_asin=yes
19781 else
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19785 ac_cv_lib_m_asin=no
19787 rm -f conftest.err conftest.$ac_objext \
19788 conftest$ac_exeext conftest.$ac_ext
19789 LIBS=$ac_check_lib_save_LIBS
19791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19792 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19793 if test $ac_cv_lib_m_asin = yes; then
19795 cat >>confdefs.h <<\_ACEOF
19796 #define HAVE_ASIN 1
19797 _ACEOF
19801 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19802 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19803 if test "${ac_cv_lib_m_asinl+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806 ac_check_lib_save_LIBS=$LIBS
19807 LIBS="-lm $LIBS"
19808 if test x$gcc_no_link = xyes; then
19809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19811 { (exit 1); exit 1; }; }
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19820 /* Override any gcc2 internal prototype to avoid an error. */
19821 #ifdef __cplusplus
19822 extern "C"
19823 #endif
19824 /* We use char because int might match the return type of a gcc2
19825 builtin and then its argument prototype would still apply. */
19826 char asinl ();
19828 main ()
19830 asinl ();
19832 return 0;
19834 _ACEOF
19835 rm -f conftest.$ac_objext conftest$ac_exeext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19837 (eval $ac_link) 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest$ac_exeext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_cv_lib_m_asinl=yes
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 ac_cv_lib_m_asinl=no
19864 rm -f conftest.err conftest.$ac_objext \
19865 conftest$ac_exeext conftest.$ac_ext
19866 LIBS=$ac_check_lib_save_LIBS
19868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19869 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19870 if test $ac_cv_lib_m_asinl = yes; then
19872 cat >>confdefs.h <<\_ACEOF
19873 #define HAVE_ASINL 1
19874 _ACEOF
19878 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19879 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19880 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else
19883 ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lm $LIBS"
19885 if test x$gcc_no_link = xyes; then
19886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19888 { (exit 1); exit 1; }; }
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19897 /* Override any gcc2 internal prototype to avoid an error. */
19898 #ifdef __cplusplus
19899 extern "C"
19900 #endif
19901 /* We use char because int might match the return type of a gcc2
19902 builtin and then its argument prototype would still apply. */
19903 char asinhf ();
19905 main ()
19907 asinhf ();
19909 return 0;
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19914 (eval $ac_link) 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } &&
19921 { ac_try='test -z "$ac_c_werror_flag"
19922 || test ! -s conftest.err'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; } &&
19928 { ac_try='test -s conftest$ac_exeext'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; }; then
19934 ac_cv_lib_m_asinhf=yes
19935 else
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19939 ac_cv_lib_m_asinhf=no
19941 rm -f conftest.err conftest.$ac_objext \
19942 conftest$ac_exeext conftest.$ac_ext
19943 LIBS=$ac_check_lib_save_LIBS
19945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19946 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19947 if test $ac_cv_lib_m_asinhf = yes; then
19949 cat >>confdefs.h <<\_ACEOF
19950 #define HAVE_ASINHF 1
19951 _ACEOF
19955 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19956 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19957 if test "${ac_cv_lib_m_asinh+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19960 ac_check_lib_save_LIBS=$LIBS
19961 LIBS="-lm $LIBS"
19962 if test x$gcc_no_link = xyes; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19974 /* Override any gcc2 internal prototype to avoid an error. */
19975 #ifdef __cplusplus
19976 extern "C"
19977 #endif
19978 /* We use char because int might match the return type of a gcc2
19979 builtin and then its argument prototype would still apply. */
19980 char asinh ();
19982 main ()
19984 asinh ();
19986 return 0;
19988 _ACEOF
19989 rm -f conftest.$ac_objext conftest$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>conftest.er1
19992 ac_status=$?
19993 grep -v '^ *+' conftest.er1 >conftest.err
19994 rm -f conftest.er1
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try='test -z "$ac_c_werror_flag"
19999 || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try='test -s conftest$ac_exeext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_lib_m_asinh=yes
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_lib_m_asinh=no
20018 rm -f conftest.err conftest.$ac_objext \
20019 conftest$ac_exeext conftest.$ac_ext
20020 LIBS=$ac_check_lib_save_LIBS
20022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20023 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20024 if test $ac_cv_lib_m_asinh = yes; then
20026 cat >>confdefs.h <<\_ACEOF
20027 #define HAVE_ASINH 1
20028 _ACEOF
20032 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20033 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20034 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 else
20037 ac_check_lib_save_LIBS=$LIBS
20038 LIBS="-lm $LIBS"
20039 if test x$gcc_no_link = xyes; then
20040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20042 { (exit 1); exit 1; }; }
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h. */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20051 /* Override any gcc2 internal prototype to avoid an error. */
20052 #ifdef __cplusplus
20053 extern "C"
20054 #endif
20055 /* We use char because int might match the return type of a gcc2
20056 builtin and then its argument prototype would still apply. */
20057 char asinhl ();
20059 main ()
20061 asinhl ();
20063 return 0;
20065 _ACEOF
20066 rm -f conftest.$ac_objext conftest$ac_exeext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20068 (eval $ac_link) 2>conftest.er1
20069 ac_status=$?
20070 grep -v '^ *+' conftest.er1 >conftest.err
20071 rm -f conftest.er1
20072 cat conftest.err >&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try='test -z "$ac_c_werror_flag"
20076 || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try='test -s conftest$ac_exeext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20085 ac_status=$?
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 ac_cv_lib_m_asinhl=yes
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 ac_cv_lib_m_asinhl=no
20095 rm -f conftest.err conftest.$ac_objext \
20096 conftest$ac_exeext conftest.$ac_ext
20097 LIBS=$ac_check_lib_save_LIBS
20099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20100 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20101 if test $ac_cv_lib_m_asinhl = yes; then
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_ASINHL 1
20105 _ACEOF
20109 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20110 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20111 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 ac_check_lib_save_LIBS=$LIBS
20115 LIBS="-lm $LIBS"
20116 if test x$gcc_no_link = xyes; then
20117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20119 { (exit 1); exit 1; }; }
20121 cat >conftest.$ac_ext <<_ACEOF
20122 /* confdefs.h. */
20123 _ACEOF
20124 cat confdefs.h >>conftest.$ac_ext
20125 cat >>conftest.$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20128 /* Override any gcc2 internal prototype to avoid an error. */
20129 #ifdef __cplusplus
20130 extern "C"
20131 #endif
20132 /* We use char because int might match the return type of a gcc2
20133 builtin and then its argument prototype would still apply. */
20134 char atan2f ();
20136 main ()
20138 atan2f ();
20140 return 0;
20142 _ACEOF
20143 rm -f conftest.$ac_objext conftest$ac_exeext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20145 (eval $ac_link) 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_c_werror_flag"
20153 || test ! -s conftest.err'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20156 ac_status=$?
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; } &&
20159 { ac_try='test -s conftest$ac_exeext'
20160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161 (eval $ac_try) 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; }; then
20165 ac_cv_lib_m_atan2f=yes
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 ac_cv_lib_m_atan2f=no
20172 rm -f conftest.err conftest.$ac_objext \
20173 conftest$ac_exeext conftest.$ac_ext
20174 LIBS=$ac_check_lib_save_LIBS
20176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20177 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20178 if test $ac_cv_lib_m_atan2f = yes; then
20180 cat >>confdefs.h <<\_ACEOF
20181 #define HAVE_ATAN2F 1
20182 _ACEOF
20186 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20187 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20188 if test "${ac_cv_lib_m_atan2+set}" = set; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 else
20191 ac_check_lib_save_LIBS=$LIBS
20192 LIBS="-lm $LIBS"
20193 if test x$gcc_no_link = xyes; then
20194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20196 { (exit 1); exit 1; }; }
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20205 /* Override any gcc2 internal prototype to avoid an error. */
20206 #ifdef __cplusplus
20207 extern "C"
20208 #endif
20209 /* We use char because int might match the return type of a gcc2
20210 builtin and then its argument prototype would still apply. */
20211 char atan2 ();
20213 main ()
20215 atan2 ();
20217 return 0;
20219 _ACEOF
20220 rm -f conftest.$ac_objext conftest$ac_exeext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20222 (eval $ac_link) 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_c_werror_flag"
20230 || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest$ac_exeext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 ac_cv_lib_m_atan2=yes
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 ac_cv_lib_m_atan2=no
20249 rm -f conftest.err conftest.$ac_objext \
20250 conftest$ac_exeext conftest.$ac_ext
20251 LIBS=$ac_check_lib_save_LIBS
20253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20254 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20255 if test $ac_cv_lib_m_atan2 = yes; then
20257 cat >>confdefs.h <<\_ACEOF
20258 #define HAVE_ATAN2 1
20259 _ACEOF
20263 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20264 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20265 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 else
20268 ac_check_lib_save_LIBS=$LIBS
20269 LIBS="-lm $LIBS"
20270 if test x$gcc_no_link = xyes; then
20271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20273 { (exit 1); exit 1; }; }
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20282 /* Override any gcc2 internal prototype to avoid an error. */
20283 #ifdef __cplusplus
20284 extern "C"
20285 #endif
20286 /* We use char because int might match the return type of a gcc2
20287 builtin and then its argument prototype would still apply. */
20288 char atan2l ();
20290 main ()
20292 atan2l ();
20294 return 0;
20296 _ACEOF
20297 rm -f conftest.$ac_objext conftest$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299 (eval $ac_link) 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try='test -z "$ac_c_werror_flag"
20307 || test ! -s conftest.err'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try='test -s conftest$ac_exeext'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; }; then
20319 ac_cv_lib_m_atan2l=yes
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20324 ac_cv_lib_m_atan2l=no
20326 rm -f conftest.err conftest.$ac_objext \
20327 conftest$ac_exeext conftest.$ac_ext
20328 LIBS=$ac_check_lib_save_LIBS
20330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20331 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20332 if test $ac_cv_lib_m_atan2l = yes; then
20334 cat >>confdefs.h <<\_ACEOF
20335 #define HAVE_ATAN2L 1
20336 _ACEOF
20340 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20341 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20342 if test "${ac_cv_lib_m_atanf+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345 ac_check_lib_save_LIBS=$LIBS
20346 LIBS="-lm $LIBS"
20347 if test x$gcc_no_link = xyes; then
20348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20350 { (exit 1); exit 1; }; }
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20359 /* Override any gcc2 internal prototype to avoid an error. */
20360 #ifdef __cplusplus
20361 extern "C"
20362 #endif
20363 /* We use char because int might match the return type of a gcc2
20364 builtin and then its argument prototype would still apply. */
20365 char atanf ();
20367 main ()
20369 atanf ();
20371 return 0;
20373 _ACEOF
20374 rm -f conftest.$ac_objext conftest$ac_exeext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20376 (eval $ac_link) 2>conftest.er1
20377 ac_status=$?
20378 grep -v '^ *+' conftest.er1 >conftest.err
20379 rm -f conftest.er1
20380 cat conftest.err >&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } &&
20383 { ac_try='test -z "$ac_c_werror_flag"
20384 || test ! -s conftest.err'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20387 ac_status=$?
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; } &&
20390 { ac_try='test -s conftest$ac_exeext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20393 ac_status=$?
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 ac_cv_lib_m_atanf=yes
20397 else
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20401 ac_cv_lib_m_atanf=no
20403 rm -f conftest.err conftest.$ac_objext \
20404 conftest$ac_exeext conftest.$ac_ext
20405 LIBS=$ac_check_lib_save_LIBS
20407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20408 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20409 if test $ac_cv_lib_m_atanf = yes; then
20411 cat >>confdefs.h <<\_ACEOF
20412 #define HAVE_ATANF 1
20413 _ACEOF
20417 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20418 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20419 if test "${ac_cv_lib_m_atan+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 else
20422 ac_check_lib_save_LIBS=$LIBS
20423 LIBS="-lm $LIBS"
20424 if test x$gcc_no_link = xyes; then
20425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20427 { (exit 1); exit 1; }; }
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20436 /* Override any gcc2 internal prototype to avoid an error. */
20437 #ifdef __cplusplus
20438 extern "C"
20439 #endif
20440 /* We use char because int might match the return type of a gcc2
20441 builtin and then its argument prototype would still apply. */
20442 char atan ();
20444 main ()
20446 atan ();
20448 return 0;
20450 _ACEOF
20451 rm -f conftest.$ac_objext conftest$ac_exeext
20452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20453 (eval $ac_link) 2>conftest.er1
20454 ac_status=$?
20455 grep -v '^ *+' conftest.er1 >conftest.err
20456 rm -f conftest.er1
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } &&
20460 { ac_try='test -z "$ac_c_werror_flag"
20461 || test ! -s conftest.err'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; } &&
20467 { ac_try='test -s conftest$ac_exeext'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; }; then
20473 ac_cv_lib_m_atan=yes
20474 else
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.$ac_ext >&5
20478 ac_cv_lib_m_atan=no
20480 rm -f conftest.err conftest.$ac_objext \
20481 conftest$ac_exeext conftest.$ac_ext
20482 LIBS=$ac_check_lib_save_LIBS
20484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20485 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20486 if test $ac_cv_lib_m_atan = yes; then
20488 cat >>confdefs.h <<\_ACEOF
20489 #define HAVE_ATAN 1
20490 _ACEOF
20494 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20495 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20496 if test "${ac_cv_lib_m_atanl+set}" = set; then
20497 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 else
20499 ac_check_lib_save_LIBS=$LIBS
20500 LIBS="-lm $LIBS"
20501 if test x$gcc_no_link = xyes; then
20502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20504 { (exit 1); exit 1; }; }
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20513 /* Override any gcc2 internal prototype to avoid an error. */
20514 #ifdef __cplusplus
20515 extern "C"
20516 #endif
20517 /* We use char because int might match the return type of a gcc2
20518 builtin and then its argument prototype would still apply. */
20519 char atanl ();
20521 main ()
20523 atanl ();
20525 return 0;
20527 _ACEOF
20528 rm -f conftest.$ac_objext conftest$ac_exeext
20529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20530 (eval $ac_link) 2>conftest.er1
20531 ac_status=$?
20532 grep -v '^ *+' conftest.er1 >conftest.err
20533 rm -f conftest.er1
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try='test -z "$ac_c_werror_flag"
20538 || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest$ac_exeext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_lib_m_atanl=yes
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20555 ac_cv_lib_m_atanl=no
20557 rm -f conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20559 LIBS=$ac_check_lib_save_LIBS
20561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20562 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20563 if test $ac_cv_lib_m_atanl = yes; then
20565 cat >>confdefs.h <<\_ACEOF
20566 #define HAVE_ATANL 1
20567 _ACEOF
20571 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20572 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20573 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576 ac_check_lib_save_LIBS=$LIBS
20577 LIBS="-lm $LIBS"
20578 if test x$gcc_no_link = xyes; then
20579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20581 { (exit 1); exit 1; }; }
20583 cat >conftest.$ac_ext <<_ACEOF
20584 /* confdefs.h. */
20585 _ACEOF
20586 cat confdefs.h >>conftest.$ac_ext
20587 cat >>conftest.$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20590 /* Override any gcc2 internal prototype to avoid an error. */
20591 #ifdef __cplusplus
20592 extern "C"
20593 #endif
20594 /* We use char because int might match the return type of a gcc2
20595 builtin and then its argument prototype would still apply. */
20596 char atanhf ();
20598 main ()
20600 atanhf ();
20602 return 0;
20604 _ACEOF
20605 rm -f conftest.$ac_objext conftest$ac_exeext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20607 (eval $ac_link) 2>conftest.er1
20608 ac_status=$?
20609 grep -v '^ *+' conftest.er1 >conftest.err
20610 rm -f conftest.er1
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try='test -z "$ac_c_werror_flag"
20615 || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try='test -s conftest$ac_exeext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_lib_m_atanhf=yes
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 ac_cv_lib_m_atanhf=no
20634 rm -f conftest.err conftest.$ac_objext \
20635 conftest$ac_exeext conftest.$ac_ext
20636 LIBS=$ac_check_lib_save_LIBS
20638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20639 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20640 if test $ac_cv_lib_m_atanhf = yes; then
20642 cat >>confdefs.h <<\_ACEOF
20643 #define HAVE_ATANHF 1
20644 _ACEOF
20648 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20649 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20650 if test "${ac_cv_lib_m_atanh+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 ac_check_lib_save_LIBS=$LIBS
20654 LIBS="-lm $LIBS"
20655 if test x$gcc_no_link = xyes; then
20656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20658 { (exit 1); exit 1; }; }
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20667 /* Override any gcc2 internal prototype to avoid an error. */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 /* We use char because int might match the return type of a gcc2
20672 builtin and then its argument prototype would still apply. */
20673 char atanh ();
20675 main ()
20677 atanh ();
20679 return 0;
20681 _ACEOF
20682 rm -f conftest.$ac_objext conftest$ac_exeext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20684 (eval $ac_link) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_c_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try='test -s conftest$ac_exeext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 ac_cv_lib_m_atanh=yes
20705 else
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20709 ac_cv_lib_m_atanh=no
20711 rm -f conftest.err conftest.$ac_objext \
20712 conftest$ac_exeext conftest.$ac_ext
20713 LIBS=$ac_check_lib_save_LIBS
20715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20716 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20717 if test $ac_cv_lib_m_atanh = yes; then
20719 cat >>confdefs.h <<\_ACEOF
20720 #define HAVE_ATANH 1
20721 _ACEOF
20725 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20726 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20727 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20728 echo $ECHO_N "(cached) $ECHO_C" >&6
20729 else
20730 ac_check_lib_save_LIBS=$LIBS
20731 LIBS="-lm $LIBS"
20732 if test x$gcc_no_link = xyes; then
20733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735 { (exit 1); exit 1; }; }
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20744 /* Override any gcc2 internal prototype to avoid an error. */
20745 #ifdef __cplusplus
20746 extern "C"
20747 #endif
20748 /* We use char because int might match the return type of a gcc2
20749 builtin and then its argument prototype would still apply. */
20750 char atanhl ();
20752 main ()
20754 atanhl ();
20756 return 0;
20758 _ACEOF
20759 rm -f conftest.$ac_objext conftest$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761 (eval $ac_link) 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try='test -z "$ac_c_werror_flag"
20769 || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20772 ac_status=$?
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try='test -s conftest$ac_exeext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781 ac_cv_lib_m_atanhl=yes
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20786 ac_cv_lib_m_atanhl=no
20788 rm -f conftest.err conftest.$ac_objext \
20789 conftest$ac_exeext conftest.$ac_ext
20790 LIBS=$ac_check_lib_save_LIBS
20792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20793 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20794 if test $ac_cv_lib_m_atanhl = yes; then
20796 cat >>confdefs.h <<\_ACEOF
20797 #define HAVE_ATANHL 1
20798 _ACEOF
20802 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20803 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20804 if test "${ac_cv_lib_m_cargf+set}" = set; then
20805 echo $ECHO_N "(cached) $ECHO_C" >&6
20806 else
20807 ac_check_lib_save_LIBS=$LIBS
20808 LIBS="-lm $LIBS"
20809 if test x$gcc_no_link = xyes; then
20810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20812 { (exit 1); exit 1; }; }
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20821 /* Override any gcc2 internal prototype to avoid an error. */
20822 #ifdef __cplusplus
20823 extern "C"
20824 #endif
20825 /* We use char because int might match the return type of a gcc2
20826 builtin and then its argument prototype would still apply. */
20827 char cargf ();
20829 main ()
20831 cargf ();
20833 return 0;
20835 _ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838 (eval $ac_link) 2>conftest.er1
20839 ac_status=$?
20840 grep -v '^ *+' conftest.er1 >conftest.err
20841 rm -f conftest.er1
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -z "$ac_c_werror_flag"
20846 || test ! -s conftest.err'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20849 ac_status=$?
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; } &&
20852 { ac_try='test -s conftest$ac_exeext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_cv_lib_m_cargf=yes
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 ac_cv_lib_m_cargf=no
20865 rm -f conftest.err conftest.$ac_objext \
20866 conftest$ac_exeext conftest.$ac_ext
20867 LIBS=$ac_check_lib_save_LIBS
20869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20870 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20871 if test $ac_cv_lib_m_cargf = yes; then
20873 cat >>confdefs.h <<\_ACEOF
20874 #define HAVE_CARGF 1
20875 _ACEOF
20879 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20880 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20881 if test "${ac_cv_lib_m_carg+set}" = set; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20884 ac_check_lib_save_LIBS=$LIBS
20885 LIBS="-lm $LIBS"
20886 if test x$gcc_no_link = xyes; then
20887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20889 { (exit 1); exit 1; }; }
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20898 /* Override any gcc2 internal prototype to avoid an error. */
20899 #ifdef __cplusplus
20900 extern "C"
20901 #endif
20902 /* We use char because int might match the return type of a gcc2
20903 builtin and then its argument prototype would still apply. */
20904 char carg ();
20906 main ()
20908 carg ();
20910 return 0;
20912 _ACEOF
20913 rm -f conftest.$ac_objext conftest$ac_exeext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20915 (eval $ac_link) 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try='test -z "$ac_c_werror_flag"
20923 || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try='test -s conftest$ac_exeext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20932 ac_status=$?
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 ac_cv_lib_m_carg=yes
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 ac_cv_lib_m_carg=no
20942 rm -f conftest.err conftest.$ac_objext \
20943 conftest$ac_exeext conftest.$ac_ext
20944 LIBS=$ac_check_lib_save_LIBS
20946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20947 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20948 if test $ac_cv_lib_m_carg = yes; then
20950 cat >>confdefs.h <<\_ACEOF
20951 #define HAVE_CARG 1
20952 _ACEOF
20956 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20957 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20958 if test "${ac_cv_lib_m_cargl+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961 ac_check_lib_save_LIBS=$LIBS
20962 LIBS="-lm $LIBS"
20963 if test x$gcc_no_link = xyes; then
20964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20966 { (exit 1); exit 1; }; }
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h. */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20975 /* Override any gcc2 internal prototype to avoid an error. */
20976 #ifdef __cplusplus
20977 extern "C"
20978 #endif
20979 /* We use char because int might match the return type of a gcc2
20980 builtin and then its argument prototype would still apply. */
20981 char cargl ();
20983 main ()
20985 cargl ();
20987 return 0;
20989 _ACEOF
20990 rm -f conftest.$ac_objext conftest$ac_exeext
20991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20992 (eval $ac_link) 2>conftest.er1
20993 ac_status=$?
20994 grep -v '^ *+' conftest.er1 >conftest.err
20995 rm -f conftest.er1
20996 cat conftest.err >&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } &&
20999 { ac_try='test -z "$ac_c_werror_flag"
21000 || test ! -s conftest.err'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21003 ac_status=$?
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; } &&
21006 { ac_try='test -s conftest$ac_exeext'
21007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008 (eval $ac_try) 2>&5
21009 ac_status=$?
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); }; }; then
21012 ac_cv_lib_m_cargl=yes
21013 else
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21017 ac_cv_lib_m_cargl=no
21019 rm -f conftest.err conftest.$ac_objext \
21020 conftest$ac_exeext conftest.$ac_ext
21021 LIBS=$ac_check_lib_save_LIBS
21023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21024 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21025 if test $ac_cv_lib_m_cargl = yes; then
21027 cat >>confdefs.h <<\_ACEOF
21028 #define HAVE_CARGL 1
21029 _ACEOF
21033 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21034 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21035 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21037 else
21038 ac_check_lib_save_LIBS=$LIBS
21039 LIBS="-lm $LIBS"
21040 if test x$gcc_no_link = xyes; then
21041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21043 { (exit 1); exit 1; }; }
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h. */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21052 /* Override any gcc2 internal prototype to avoid an error. */
21053 #ifdef __cplusplus
21054 extern "C"
21055 #endif
21056 /* We use char because int might match the return type of a gcc2
21057 builtin and then its argument prototype would still apply. */
21058 char ceilf ();
21060 main ()
21062 ceilf ();
21064 return 0;
21066 _ACEOF
21067 rm -f conftest.$ac_objext conftest$ac_exeext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21069 (eval $ac_link) 2>conftest.er1
21070 ac_status=$?
21071 grep -v '^ *+' conftest.er1 >conftest.err
21072 rm -f conftest.er1
21073 cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try='test -s conftest$ac_exeext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21086 ac_status=$?
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_cv_lib_m_ceilf=yes
21090 else
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21094 ac_cv_lib_m_ceilf=no
21096 rm -f conftest.err conftest.$ac_objext \
21097 conftest$ac_exeext conftest.$ac_ext
21098 LIBS=$ac_check_lib_save_LIBS
21100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21101 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21102 if test $ac_cv_lib_m_ceilf = yes; then
21104 cat >>confdefs.h <<\_ACEOF
21105 #define HAVE_CEILF 1
21106 _ACEOF
21110 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21111 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21112 if test "${ac_cv_lib_m_ceil+set}" = set; then
21113 echo $ECHO_N "(cached) $ECHO_C" >&6
21114 else
21115 ac_check_lib_save_LIBS=$LIBS
21116 LIBS="-lm $LIBS"
21117 if test x$gcc_no_link = xyes; then
21118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21120 { (exit 1); exit 1; }; }
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21129 /* Override any gcc2 internal prototype to avoid an error. */
21130 #ifdef __cplusplus
21131 extern "C"
21132 #endif
21133 /* We use char because int might match the return type of a gcc2
21134 builtin and then its argument prototype would still apply. */
21135 char ceil ();
21137 main ()
21139 ceil ();
21141 return 0;
21143 _ACEOF
21144 rm -f conftest.$ac_objext conftest$ac_exeext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21146 (eval $ac_link) 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } &&
21153 { ac_try='test -z "$ac_c_werror_flag"
21154 || test ! -s conftest.err'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21157 ac_status=$?
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; } &&
21160 { ac_try='test -s conftest$ac_exeext'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21163 ac_status=$?
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_lib_m_ceil=yes
21167 else
21168 echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21171 ac_cv_lib_m_ceil=no
21173 rm -f conftest.err conftest.$ac_objext \
21174 conftest$ac_exeext conftest.$ac_ext
21175 LIBS=$ac_check_lib_save_LIBS
21177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21178 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21179 if test $ac_cv_lib_m_ceil = yes; then
21181 cat >>confdefs.h <<\_ACEOF
21182 #define HAVE_CEIL 1
21183 _ACEOF
21187 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21188 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21189 if test "${ac_cv_lib_m_ceill+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 else
21192 ac_check_lib_save_LIBS=$LIBS
21193 LIBS="-lm $LIBS"
21194 if test x$gcc_no_link = xyes; then
21195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21197 { (exit 1); exit 1; }; }
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21206 /* Override any gcc2 internal prototype to avoid an error. */
21207 #ifdef __cplusplus
21208 extern "C"
21209 #endif
21210 /* We use char because int might match the return type of a gcc2
21211 builtin and then its argument prototype would still apply. */
21212 char ceill ();
21214 main ()
21216 ceill ();
21218 return 0;
21220 _ACEOF
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21223 (eval $ac_link) 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -z "$ac_c_werror_flag"
21231 || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21234 ac_status=$?
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try='test -s conftest$ac_exeext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21240 ac_status=$?
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_cv_lib_m_ceill=yes
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21248 ac_cv_lib_m_ceill=no
21250 rm -f conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21252 LIBS=$ac_check_lib_save_LIBS
21254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21255 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21256 if test $ac_cv_lib_m_ceill = yes; then
21258 cat >>confdefs.h <<\_ACEOF
21259 #define HAVE_CEILL 1
21260 _ACEOF
21264 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21265 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21266 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21267 echo $ECHO_N "(cached) $ECHO_C" >&6
21268 else
21269 ac_check_lib_save_LIBS=$LIBS
21270 LIBS="-lm $LIBS"
21271 if test x$gcc_no_link = xyes; then
21272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21274 { (exit 1); exit 1; }; }
21276 cat >conftest.$ac_ext <<_ACEOF
21277 /* confdefs.h. */
21278 _ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21283 /* Override any gcc2 internal prototype to avoid an error. */
21284 #ifdef __cplusplus
21285 extern "C"
21286 #endif
21287 /* We use char because int might match the return type of a gcc2
21288 builtin and then its argument prototype would still apply. */
21289 char copysignf ();
21291 main ()
21293 copysignf ();
21295 return 0;
21297 _ACEOF
21298 rm -f conftest.$ac_objext conftest$ac_exeext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21300 (eval $ac_link) 2>conftest.er1
21301 ac_status=$?
21302 grep -v '^ *+' conftest.er1 >conftest.err
21303 rm -f conftest.er1
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try='test -z "$ac_c_werror_flag"
21308 || test ! -s conftest.err'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21311 ac_status=$?
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try='test -s conftest$ac_exeext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21317 ac_status=$?
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21320 ac_cv_lib_m_copysignf=yes
21321 else
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.$ac_ext >&5
21325 ac_cv_lib_m_copysignf=no
21327 rm -f conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext conftest.$ac_ext
21329 LIBS=$ac_check_lib_save_LIBS
21331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21332 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21333 if test $ac_cv_lib_m_copysignf = yes; then
21335 cat >>confdefs.h <<\_ACEOF
21336 #define HAVE_COPYSIGNF 1
21337 _ACEOF
21341 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21342 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21343 if test "${ac_cv_lib_m_copysign+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 else
21346 ac_check_lib_save_LIBS=$LIBS
21347 LIBS="-lm $LIBS"
21348 if test x$gcc_no_link = xyes; then
21349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21351 { (exit 1); exit 1; }; }
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21360 /* Override any gcc2 internal prototype to avoid an error. */
21361 #ifdef __cplusplus
21362 extern "C"
21363 #endif
21364 /* We use char because int might match the return type of a gcc2
21365 builtin and then its argument prototype would still apply. */
21366 char copysign ();
21368 main ()
21370 copysign ();
21372 return 0;
21374 _ACEOF
21375 rm -f conftest.$ac_objext conftest$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>conftest.er1
21378 ac_status=$?
21379 grep -v '^ *+' conftest.er1 >conftest.err
21380 rm -f conftest.er1
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } &&
21384 { ac_try='test -z "$ac_c_werror_flag"
21385 || test ! -s conftest.err'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; } &&
21391 { ac_try='test -s conftest$ac_exeext'
21392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393 (eval $ac_try) 2>&5
21394 ac_status=$?
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); }; }; then
21397 ac_cv_lib_m_copysign=yes
21398 else
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21402 ac_cv_lib_m_copysign=no
21404 rm -f conftest.err conftest.$ac_objext \
21405 conftest$ac_exeext conftest.$ac_ext
21406 LIBS=$ac_check_lib_save_LIBS
21408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21409 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21410 if test $ac_cv_lib_m_copysign = yes; then
21412 cat >>confdefs.h <<\_ACEOF
21413 #define HAVE_COPYSIGN 1
21414 _ACEOF
21418 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21419 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21420 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 else
21423 ac_check_lib_save_LIBS=$LIBS
21424 LIBS="-lm $LIBS"
21425 if test x$gcc_no_link = xyes; then
21426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21428 { (exit 1); exit 1; }; }
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21437 /* Override any gcc2 internal prototype to avoid an error. */
21438 #ifdef __cplusplus
21439 extern "C"
21440 #endif
21441 /* We use char because int might match the return type of a gcc2
21442 builtin and then its argument prototype would still apply. */
21443 char copysignl ();
21445 main ()
21447 copysignl ();
21449 return 0;
21451 _ACEOF
21452 rm -f conftest.$ac_objext conftest$ac_exeext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21454 (eval $ac_link) 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try='test -z "$ac_c_werror_flag"
21462 || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try='test -s conftest$ac_exeext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_cv_lib_m_copysignl=yes
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21479 ac_cv_lib_m_copysignl=no
21481 rm -f conftest.err conftest.$ac_objext \
21482 conftest$ac_exeext conftest.$ac_ext
21483 LIBS=$ac_check_lib_save_LIBS
21485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21486 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21487 if test $ac_cv_lib_m_copysignl = yes; then
21489 cat >>confdefs.h <<\_ACEOF
21490 #define HAVE_COPYSIGNL 1
21491 _ACEOF
21495 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21496 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21497 if test "${ac_cv_lib_m_cosf+set}" = set; then
21498 echo $ECHO_N "(cached) $ECHO_C" >&6
21499 else
21500 ac_check_lib_save_LIBS=$LIBS
21501 LIBS="-lm $LIBS"
21502 if test x$gcc_no_link = xyes; then
21503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21505 { (exit 1); exit 1; }; }
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21514 /* Override any gcc2 internal prototype to avoid an error. */
21515 #ifdef __cplusplus
21516 extern "C"
21517 #endif
21518 /* We use char because int might match the return type of a gcc2
21519 builtin and then its argument prototype would still apply. */
21520 char cosf ();
21522 main ()
21524 cosf ();
21526 return 0;
21528 _ACEOF
21529 rm -f conftest.$ac_objext conftest$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531 (eval $ac_link) 2>conftest.er1
21532 ac_status=$?
21533 grep -v '^ *+' conftest.er1 >conftest.err
21534 rm -f conftest.er1
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } &&
21538 { ac_try='test -z "$ac_c_werror_flag"
21539 || test ! -s conftest.err'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21542 ac_status=$?
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; } &&
21545 { ac_try='test -s conftest$ac_exeext'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; }; then
21551 ac_cv_lib_m_cosf=yes
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21556 ac_cv_lib_m_cosf=no
21558 rm -f conftest.err conftest.$ac_objext \
21559 conftest$ac_exeext conftest.$ac_ext
21560 LIBS=$ac_check_lib_save_LIBS
21562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21563 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21564 if test $ac_cv_lib_m_cosf = yes; then
21566 cat >>confdefs.h <<\_ACEOF
21567 #define HAVE_COSF 1
21568 _ACEOF
21572 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21573 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21574 if test "${ac_cv_lib_m_cos+set}" = set; then
21575 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 else
21577 ac_check_lib_save_LIBS=$LIBS
21578 LIBS="-lm $LIBS"
21579 if test x$gcc_no_link = xyes; then
21580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21582 { (exit 1); exit 1; }; }
21584 cat >conftest.$ac_ext <<_ACEOF
21585 /* confdefs.h. */
21586 _ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21591 /* Override any gcc2 internal prototype to avoid an error. */
21592 #ifdef __cplusplus
21593 extern "C"
21594 #endif
21595 /* We use char because int might match the return type of a gcc2
21596 builtin and then its argument prototype would still apply. */
21597 char cos ();
21599 main ()
21601 cos ();
21603 return 0;
21605 _ACEOF
21606 rm -f conftest.$ac_objext conftest$ac_exeext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21608 (eval $ac_link) 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_c_werror_flag"
21616 || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try='test -s conftest$ac_exeext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21628 ac_cv_lib_m_cos=yes
21629 else
21630 echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.$ac_ext >&5
21633 ac_cv_lib_m_cos=no
21635 rm -f conftest.err conftest.$ac_objext \
21636 conftest$ac_exeext conftest.$ac_ext
21637 LIBS=$ac_check_lib_save_LIBS
21639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21640 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21641 if test $ac_cv_lib_m_cos = yes; then
21643 cat >>confdefs.h <<\_ACEOF
21644 #define HAVE_COS 1
21645 _ACEOF
21649 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21650 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21651 if test "${ac_cv_lib_m_cosl+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 else
21654 ac_check_lib_save_LIBS=$LIBS
21655 LIBS="-lm $LIBS"
21656 if test x$gcc_no_link = xyes; then
21657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21659 { (exit 1); exit 1; }; }
21661 cat >conftest.$ac_ext <<_ACEOF
21662 /* confdefs.h. */
21663 _ACEOF
21664 cat confdefs.h >>conftest.$ac_ext
21665 cat >>conftest.$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21668 /* Override any gcc2 internal prototype to avoid an error. */
21669 #ifdef __cplusplus
21670 extern "C"
21671 #endif
21672 /* We use char because int might match the return type of a gcc2
21673 builtin and then its argument prototype would still apply. */
21674 char cosl ();
21676 main ()
21678 cosl ();
21680 return 0;
21682 _ACEOF
21683 rm -f conftest.$ac_objext conftest$ac_exeext
21684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21685 (eval $ac_link) 2>conftest.er1
21686 ac_status=$?
21687 grep -v '^ *+' conftest.er1 >conftest.err
21688 rm -f conftest.er1
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } &&
21692 { ac_try='test -z "$ac_c_werror_flag"
21693 || test ! -s conftest.err'
21694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21695 (eval $ac_try) 2>&5
21696 ac_status=$?
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); }; } &&
21699 { ac_try='test -s conftest$ac_exeext'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21702 ac_status=$?
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_lib_m_cosl=yes
21706 else
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 ac_cv_lib_m_cosl=no
21712 rm -f conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 LIBS=$ac_check_lib_save_LIBS
21716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21717 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21718 if test $ac_cv_lib_m_cosl = yes; then
21720 cat >>confdefs.h <<\_ACEOF
21721 #define HAVE_COSL 1
21722 _ACEOF
21726 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21727 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21728 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 else
21731 ac_check_lib_save_LIBS=$LIBS
21732 LIBS="-lm $LIBS"
21733 if test x$gcc_no_link = xyes; then
21734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21736 { (exit 1); exit 1; }; }
21738 cat >conftest.$ac_ext <<_ACEOF
21739 /* confdefs.h. */
21740 _ACEOF
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21745 /* Override any gcc2 internal prototype to avoid an error. */
21746 #ifdef __cplusplus
21747 extern "C"
21748 #endif
21749 /* We use char because int might match the return type of a gcc2
21750 builtin and then its argument prototype would still apply. */
21751 char ccosf ();
21753 main ()
21755 ccosf ();
21757 return 0;
21759 _ACEOF
21760 rm -f conftest.$ac_objext conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>conftest.er1
21763 ac_status=$?
21764 grep -v '^ *+' conftest.er1 >conftest.err
21765 rm -f conftest.er1
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -z "$ac_c_werror_flag"
21770 || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest$ac_exeext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_cv_lib_m_ccosf=yes
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 ac_cv_lib_m_ccosf=no
21789 rm -f conftest.err conftest.$ac_objext \
21790 conftest$ac_exeext conftest.$ac_ext
21791 LIBS=$ac_check_lib_save_LIBS
21793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21794 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21795 if test $ac_cv_lib_m_ccosf = yes; then
21797 cat >>confdefs.h <<\_ACEOF
21798 #define HAVE_CCOSF 1
21799 _ACEOF
21803 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21804 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21805 if test "${ac_cv_lib_m_ccos+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808 ac_check_lib_save_LIBS=$LIBS
21809 LIBS="-lm $LIBS"
21810 if test x$gcc_no_link = xyes; then
21811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21813 { (exit 1); exit 1; }; }
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21825 #endif
21826 /* We use char because int might match the return type of a gcc2
21827 builtin and then its argument prototype would still apply. */
21828 char ccos ();
21830 main ()
21832 ccos ();
21834 return 0;
21836 _ACEOF
21837 rm -f conftest.$ac_objext conftest$ac_exeext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21839 (eval $ac_link) 2>conftest.er1
21840 ac_status=$?
21841 grep -v '^ *+' conftest.er1 >conftest.err
21842 rm -f conftest.er1
21843 cat conftest.err >&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try='test -z "$ac_c_werror_flag"
21847 || test ! -s conftest.err'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try='test -s conftest$ac_exeext'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21856 ac_status=$?
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; }; then
21859 ac_cv_lib_m_ccos=yes
21860 else
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21864 ac_cv_lib_m_ccos=no
21866 rm -f conftest.err conftest.$ac_objext \
21867 conftest$ac_exeext conftest.$ac_ext
21868 LIBS=$ac_check_lib_save_LIBS
21870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21871 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21872 if test $ac_cv_lib_m_ccos = yes; then
21874 cat >>confdefs.h <<\_ACEOF
21875 #define HAVE_CCOS 1
21876 _ACEOF
21880 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21881 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21882 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21883 echo $ECHO_N "(cached) $ECHO_C" >&6
21884 else
21885 ac_check_lib_save_LIBS=$LIBS
21886 LIBS="-lm $LIBS"
21887 if test x$gcc_no_link = xyes; then
21888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21890 { (exit 1); exit 1; }; }
21892 cat >conftest.$ac_ext <<_ACEOF
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21899 /* Override any gcc2 internal prototype to avoid an error. */
21900 #ifdef __cplusplus
21901 extern "C"
21902 #endif
21903 /* We use char because int might match the return type of a gcc2
21904 builtin and then its argument prototype would still apply. */
21905 char ccosl ();
21907 main ()
21909 ccosl ();
21911 return 0;
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>conftest.er1
21917 ac_status=$?
21918 grep -v '^ *+' conftest.er1 >conftest.err
21919 rm -f conftest.er1
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -z "$ac_c_werror_flag"
21924 || test ! -s conftest.err'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21927 ac_status=$?
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; } &&
21930 { ac_try='test -s conftest$ac_exeext'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_lib_m_ccosl=yes
21937 else
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ac_cv_lib_m_ccosl=no
21943 rm -f conftest.err conftest.$ac_objext \
21944 conftest$ac_exeext conftest.$ac_ext
21945 LIBS=$ac_check_lib_save_LIBS
21947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21948 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21949 if test $ac_cv_lib_m_ccosl = yes; then
21951 cat >>confdefs.h <<\_ACEOF
21952 #define HAVE_CCOSL 1
21953 _ACEOF
21957 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21958 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21959 if test "${ac_cv_lib_m_coshf+set}" = set; then
21960 echo $ECHO_N "(cached) $ECHO_C" >&6
21961 else
21962 ac_check_lib_save_LIBS=$LIBS
21963 LIBS="-lm $LIBS"
21964 if test x$gcc_no_link = xyes; then
21965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21967 { (exit 1); exit 1; }; }
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h. */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21976 /* Override any gcc2 internal prototype to avoid an error. */
21977 #ifdef __cplusplus
21978 extern "C"
21979 #endif
21980 /* We use char because int might match the return type of a gcc2
21981 builtin and then its argument prototype would still apply. */
21982 char coshf ();
21984 main ()
21986 coshf ();
21988 return 0;
21990 _ACEOF
21991 rm -f conftest.$ac_objext conftest$ac_exeext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21993 (eval $ac_link) 2>conftest.er1
21994 ac_status=$?
21995 grep -v '^ *+' conftest.er1 >conftest.err
21996 rm -f conftest.er1
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } &&
22000 { ac_try='test -z "$ac_c_werror_flag"
22001 || test ! -s conftest.err'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; } &&
22007 { ac_try='test -s conftest$ac_exeext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_lib_m_coshf=yes
22014 else
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22018 ac_cv_lib_m_coshf=no
22020 rm -f conftest.err conftest.$ac_objext \
22021 conftest$ac_exeext conftest.$ac_ext
22022 LIBS=$ac_check_lib_save_LIBS
22024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22025 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22026 if test $ac_cv_lib_m_coshf = yes; then
22028 cat >>confdefs.h <<\_ACEOF
22029 #define HAVE_COSHF 1
22030 _ACEOF
22034 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22035 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22036 if test "${ac_cv_lib_m_cosh+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039 ac_check_lib_save_LIBS=$LIBS
22040 LIBS="-lm $LIBS"
22041 if test x$gcc_no_link = xyes; then
22042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22044 { (exit 1); exit 1; }; }
22046 cat >conftest.$ac_ext <<_ACEOF
22047 /* confdefs.h. */
22048 _ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22053 /* Override any gcc2 internal prototype to avoid an error. */
22054 #ifdef __cplusplus
22055 extern "C"
22056 #endif
22057 /* We use char because int might match the return type of a gcc2
22058 builtin and then its argument prototype would still apply. */
22059 char cosh ();
22061 main ()
22063 cosh ();
22065 return 0;
22067 _ACEOF
22068 rm -f conftest.$ac_objext conftest$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070 (eval $ac_link) 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try='test -z "$ac_c_werror_flag"
22078 || test ! -s conftest.err'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22081 ac_status=$?
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; } &&
22084 { ac_try='test -s conftest$ac_exeext'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; }; then
22090 ac_cv_lib_m_cosh=yes
22091 else
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22095 ac_cv_lib_m_cosh=no
22097 rm -f conftest.err conftest.$ac_objext \
22098 conftest$ac_exeext conftest.$ac_ext
22099 LIBS=$ac_check_lib_save_LIBS
22101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22102 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22103 if test $ac_cv_lib_m_cosh = yes; then
22105 cat >>confdefs.h <<\_ACEOF
22106 #define HAVE_COSH 1
22107 _ACEOF
22111 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22112 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22113 if test "${ac_cv_lib_m_coshl+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 else
22116 ac_check_lib_save_LIBS=$LIBS
22117 LIBS="-lm $LIBS"
22118 if test x$gcc_no_link = xyes; then
22119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22121 { (exit 1); exit 1; }; }
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22130 /* Override any gcc2 internal prototype to avoid an error. */
22131 #ifdef __cplusplus
22132 extern "C"
22133 #endif
22134 /* We use char because int might match the return type of a gcc2
22135 builtin and then its argument prototype would still apply. */
22136 char coshl ();
22138 main ()
22140 coshl ();
22142 return 0;
22144 _ACEOF
22145 rm -f conftest.$ac_objext conftest$ac_exeext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22147 (eval $ac_link) 2>conftest.er1
22148 ac_status=$?
22149 grep -v '^ *+' conftest.er1 >conftest.err
22150 rm -f conftest.er1
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } &&
22154 { ac_try='test -z "$ac_c_werror_flag"
22155 || test ! -s conftest.err'
22156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22157 (eval $ac_try) 2>&5
22158 ac_status=$?
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); }; } &&
22161 { ac_try='test -s conftest$ac_exeext'
22162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163 (eval $ac_try) 2>&5
22164 ac_status=$?
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); }; }; then
22167 ac_cv_lib_m_coshl=yes
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22172 ac_cv_lib_m_coshl=no
22174 rm -f conftest.err conftest.$ac_objext \
22175 conftest$ac_exeext conftest.$ac_ext
22176 LIBS=$ac_check_lib_save_LIBS
22178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22179 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22180 if test $ac_cv_lib_m_coshl = yes; then
22182 cat >>confdefs.h <<\_ACEOF
22183 #define HAVE_COSHL 1
22184 _ACEOF
22188 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22189 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22190 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 else
22193 ac_check_lib_save_LIBS=$LIBS
22194 LIBS="-lm $LIBS"
22195 if test x$gcc_no_link = xyes; then
22196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22198 { (exit 1); exit 1; }; }
22200 cat >conftest.$ac_ext <<_ACEOF
22201 /* confdefs.h. */
22202 _ACEOF
22203 cat confdefs.h >>conftest.$ac_ext
22204 cat >>conftest.$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22207 /* Override any gcc2 internal prototype to avoid an error. */
22208 #ifdef __cplusplus
22209 extern "C"
22210 #endif
22211 /* We use char because int might match the return type of a gcc2
22212 builtin and then its argument prototype would still apply. */
22213 char ccoshf ();
22215 main ()
22217 ccoshf ();
22219 return 0;
22221 _ACEOF
22222 rm -f conftest.$ac_objext conftest$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224 (eval $ac_link) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag"
22232 || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest$ac_exeext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 ac_cv_lib_m_ccoshf=yes
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 ac_cv_lib_m_ccoshf=no
22251 rm -f conftest.err conftest.$ac_objext \
22252 conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22256 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22257 if test $ac_cv_lib_m_ccoshf = yes; then
22259 cat >>confdefs.h <<\_ACEOF
22260 #define HAVE_CCOSHF 1
22261 _ACEOF
22265 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22266 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22267 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22269 else
22270 ac_check_lib_save_LIBS=$LIBS
22271 LIBS="-lm $LIBS"
22272 if test x$gcc_no_link = xyes; then
22273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22275 { (exit 1); exit 1; }; }
22277 cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h. */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22284 /* Override any gcc2 internal prototype to avoid an error. */
22285 #ifdef __cplusplus
22286 extern "C"
22287 #endif
22288 /* We use char because int might match the return type of a gcc2
22289 builtin and then its argument prototype would still apply. */
22290 char ccosh ();
22292 main ()
22294 ccosh ();
22296 return 0;
22298 _ACEOF
22299 rm -f conftest.$ac_objext conftest$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301 (eval $ac_link) 2>conftest.er1
22302 ac_status=$?
22303 grep -v '^ *+' conftest.er1 >conftest.err
22304 rm -f conftest.er1
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } &&
22308 { ac_try='test -z "$ac_c_werror_flag"
22309 || test ! -s conftest.err'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22312 ac_status=$?
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; } &&
22315 { ac_try='test -s conftest$ac_exeext'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; }; then
22321 ac_cv_lib_m_ccosh=yes
22322 else
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22326 ac_cv_lib_m_ccosh=no
22328 rm -f conftest.err conftest.$ac_objext \
22329 conftest$ac_exeext conftest.$ac_ext
22330 LIBS=$ac_check_lib_save_LIBS
22332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22333 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22334 if test $ac_cv_lib_m_ccosh = yes; then
22336 cat >>confdefs.h <<\_ACEOF
22337 #define HAVE_CCOSH 1
22338 _ACEOF
22342 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22343 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22344 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22347 ac_check_lib_save_LIBS=$LIBS
22348 LIBS="-lm $LIBS"
22349 if test x$gcc_no_link = xyes; then
22350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22352 { (exit 1); exit 1; }; }
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22361 /* Override any gcc2 internal prototype to avoid an error. */
22362 #ifdef __cplusplus
22363 extern "C"
22364 #endif
22365 /* We use char because int might match the return type of a gcc2
22366 builtin and then its argument prototype would still apply. */
22367 char ccoshl ();
22369 main ()
22371 ccoshl ();
22373 return 0;
22375 _ACEOF
22376 rm -f conftest.$ac_objext conftest$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try='test -z "$ac_c_werror_flag"
22386 || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try='test -s conftest$ac_exeext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 ac_cv_lib_m_ccoshl=yes
22399 else
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 ac_cv_lib_m_ccoshl=no
22405 rm -f conftest.err conftest.$ac_objext \
22406 conftest$ac_exeext conftest.$ac_ext
22407 LIBS=$ac_check_lib_save_LIBS
22409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22410 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22411 if test $ac_cv_lib_m_ccoshl = yes; then
22413 cat >>confdefs.h <<\_ACEOF
22414 #define HAVE_CCOSHL 1
22415 _ACEOF
22419 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22420 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22421 if test "${ac_cv_lib_m_expf+set}" = set; then
22422 echo $ECHO_N "(cached) $ECHO_C" >&6
22423 else
22424 ac_check_lib_save_LIBS=$LIBS
22425 LIBS="-lm $LIBS"
22426 if test x$gcc_no_link = xyes; then
22427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22429 { (exit 1); exit 1; }; }
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h. */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22438 /* Override any gcc2 internal prototype to avoid an error. */
22439 #ifdef __cplusplus
22440 extern "C"
22441 #endif
22442 /* We use char because int might match the return type of a gcc2
22443 builtin and then its argument prototype would still apply. */
22444 char expf ();
22446 main ()
22448 expf ();
22450 return 0;
22452 _ACEOF
22453 rm -f conftest.$ac_objext conftest$ac_exeext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22455 (eval $ac_link) 2>conftest.er1
22456 ac_status=$?
22457 grep -v '^ *+' conftest.er1 >conftest.err
22458 rm -f conftest.er1
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try='test -z "$ac_c_werror_flag"
22463 || test ! -s conftest.err'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22466 ac_status=$?
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; } &&
22469 { ac_try='test -s conftest$ac_exeext'
22470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471 (eval $ac_try) 2>&5
22472 ac_status=$?
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); }; }; then
22475 ac_cv_lib_m_expf=yes
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22480 ac_cv_lib_m_expf=no
22482 rm -f conftest.err conftest.$ac_objext \
22483 conftest$ac_exeext conftest.$ac_ext
22484 LIBS=$ac_check_lib_save_LIBS
22486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22487 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22488 if test $ac_cv_lib_m_expf = yes; then
22490 cat >>confdefs.h <<\_ACEOF
22491 #define HAVE_EXPF 1
22492 _ACEOF
22496 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22497 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22498 if test "${ac_cv_lib_m_exp+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 else
22501 ac_check_lib_save_LIBS=$LIBS
22502 LIBS="-lm $LIBS"
22503 if test x$gcc_no_link = xyes; then
22504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22506 { (exit 1); exit 1; }; }
22508 cat >conftest.$ac_ext <<_ACEOF
22509 /* confdefs.h. */
22510 _ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22515 /* Override any gcc2 internal prototype to avoid an error. */
22516 #ifdef __cplusplus
22517 extern "C"
22518 #endif
22519 /* We use char because int might match the return type of a gcc2
22520 builtin and then its argument prototype would still apply. */
22521 char exp ();
22523 main ()
22525 exp ();
22527 return 0;
22529 _ACEOF
22530 rm -f conftest.$ac_objext conftest$ac_exeext
22531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22532 (eval $ac_link) 2>conftest.er1
22533 ac_status=$?
22534 grep -v '^ *+' conftest.er1 >conftest.err
22535 rm -f conftest.er1
22536 cat conftest.err >&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } &&
22539 { ac_try='test -z "$ac_c_werror_flag"
22540 || test ! -s conftest.err'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try='test -s conftest$ac_exeext'
22547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548 (eval $ac_try) 2>&5
22549 ac_status=$?
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); }; }; then
22552 ac_cv_lib_m_exp=yes
22553 else
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22557 ac_cv_lib_m_exp=no
22559 rm -f conftest.err conftest.$ac_objext \
22560 conftest$ac_exeext conftest.$ac_ext
22561 LIBS=$ac_check_lib_save_LIBS
22563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22564 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22565 if test $ac_cv_lib_m_exp = yes; then
22567 cat >>confdefs.h <<\_ACEOF
22568 #define HAVE_EXP 1
22569 _ACEOF
22573 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22574 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22575 if test "${ac_cv_lib_m_expl+set}" = set; then
22576 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 else
22578 ac_check_lib_save_LIBS=$LIBS
22579 LIBS="-lm $LIBS"
22580 if test x$gcc_no_link = xyes; then
22581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22583 { (exit 1); exit 1; }; }
22585 cat >conftest.$ac_ext <<_ACEOF
22586 /* confdefs.h. */
22587 _ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22592 /* Override any gcc2 internal prototype to avoid an error. */
22593 #ifdef __cplusplus
22594 extern "C"
22595 #endif
22596 /* We use char because int might match the return type of a gcc2
22597 builtin and then its argument prototype would still apply. */
22598 char expl ();
22600 main ()
22602 expl ();
22604 return 0;
22606 _ACEOF
22607 rm -f conftest.$ac_objext conftest$ac_exeext
22608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22609 (eval $ac_link) 2>conftest.er1
22610 ac_status=$?
22611 grep -v '^ *+' conftest.er1 >conftest.err
22612 rm -f conftest.er1
22613 cat conftest.err >&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } &&
22616 { ac_try='test -z "$ac_c_werror_flag"
22617 || test ! -s conftest.err'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22620 ac_status=$?
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; } &&
22623 { ac_try='test -s conftest$ac_exeext'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; }; then
22629 ac_cv_lib_m_expl=yes
22630 else
22631 echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.$ac_ext >&5
22634 ac_cv_lib_m_expl=no
22636 rm -f conftest.err conftest.$ac_objext \
22637 conftest$ac_exeext conftest.$ac_ext
22638 LIBS=$ac_check_lib_save_LIBS
22640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22641 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22642 if test $ac_cv_lib_m_expl = yes; then
22644 cat >>confdefs.h <<\_ACEOF
22645 #define HAVE_EXPL 1
22646 _ACEOF
22650 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22651 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22652 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22654 else
22655 ac_check_lib_save_LIBS=$LIBS
22656 LIBS="-lm $LIBS"
22657 if test x$gcc_no_link = xyes; then
22658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22660 { (exit 1); exit 1; }; }
22662 cat >conftest.$ac_ext <<_ACEOF
22663 /* confdefs.h. */
22664 _ACEOF
22665 cat confdefs.h >>conftest.$ac_ext
22666 cat >>conftest.$ac_ext <<_ACEOF
22667 /* end confdefs.h. */
22669 /* Override any gcc2 internal prototype to avoid an error. */
22670 #ifdef __cplusplus
22671 extern "C"
22672 #endif
22673 /* We use char because int might match the return type of a gcc2
22674 builtin and then its argument prototype would still apply. */
22675 char cexpf ();
22677 main ()
22679 cexpf ();
22681 return 0;
22683 _ACEOF
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686 (eval $ac_link) 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -z "$ac_c_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest$ac_exeext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_lib_m_cexpf=yes
22707 else
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22711 ac_cv_lib_m_cexpf=no
22713 rm -f conftest.err conftest.$ac_objext \
22714 conftest$ac_exeext conftest.$ac_ext
22715 LIBS=$ac_check_lib_save_LIBS
22717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22718 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22719 if test $ac_cv_lib_m_cexpf = yes; then
22721 cat >>confdefs.h <<\_ACEOF
22722 #define HAVE_CEXPF 1
22723 _ACEOF
22727 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22728 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22729 if test "${ac_cv_lib_m_cexp+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732 ac_check_lib_save_LIBS=$LIBS
22733 LIBS="-lm $LIBS"
22734 if test x$gcc_no_link = xyes; then
22735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22737 { (exit 1); exit 1; }; }
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22746 /* Override any gcc2 internal prototype to avoid an error. */
22747 #ifdef __cplusplus
22748 extern "C"
22749 #endif
22750 /* We use char because int might match the return type of a gcc2
22751 builtin and then its argument prototype would still apply. */
22752 char cexp ();
22754 main ()
22756 cexp ();
22758 return 0;
22760 _ACEOF
22761 rm -f conftest.$ac_objext conftest$ac_exeext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22763 (eval $ac_link) 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } &&
22770 { ac_try='test -z "$ac_c_werror_flag"
22771 || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_lib_m_cexp=yes
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 ac_cv_lib_m_cexp=no
22790 rm -f conftest.err conftest.$ac_objext \
22791 conftest$ac_exeext conftest.$ac_ext
22792 LIBS=$ac_check_lib_save_LIBS
22794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22795 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22796 if test $ac_cv_lib_m_cexp = yes; then
22798 cat >>confdefs.h <<\_ACEOF
22799 #define HAVE_CEXP 1
22800 _ACEOF
22804 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22805 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22806 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22807 echo $ECHO_N "(cached) $ECHO_C" >&6
22808 else
22809 ac_check_lib_save_LIBS=$LIBS
22810 LIBS="-lm $LIBS"
22811 if test x$gcc_no_link = xyes; then
22812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22814 { (exit 1); exit 1; }; }
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22823 /* Override any gcc2 internal prototype to avoid an error. */
22824 #ifdef __cplusplus
22825 extern "C"
22826 #endif
22827 /* We use char because int might match the return type of a gcc2
22828 builtin and then its argument prototype would still apply. */
22829 char cexpl ();
22831 main ()
22833 cexpl ();
22835 return 0;
22837 _ACEOF
22838 rm -f conftest.$ac_objext conftest$ac_exeext
22839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22840 (eval $ac_link) 2>conftest.er1
22841 ac_status=$?
22842 grep -v '^ *+' conftest.er1 >conftest.err
22843 rm -f conftest.er1
22844 cat conftest.err >&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); } &&
22847 { ac_try='test -z "$ac_c_werror_flag"
22848 || test ! -s conftest.err'
22849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22850 (eval $ac_try) 2>&5
22851 ac_status=$?
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); }; } &&
22854 { ac_try='test -s conftest$ac_exeext'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_lib_m_cexpl=yes
22861 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22865 ac_cv_lib_m_cexpl=no
22867 rm -f conftest.err conftest.$ac_objext \
22868 conftest$ac_exeext conftest.$ac_ext
22869 LIBS=$ac_check_lib_save_LIBS
22871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22872 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22873 if test $ac_cv_lib_m_cexpl = yes; then
22875 cat >>confdefs.h <<\_ACEOF
22876 #define HAVE_CEXPL 1
22877 _ACEOF
22881 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22882 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22883 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22884 echo $ECHO_N "(cached) $ECHO_C" >&6
22885 else
22886 ac_check_lib_save_LIBS=$LIBS
22887 LIBS="-lm $LIBS"
22888 if test x$gcc_no_link = xyes; then
22889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22891 { (exit 1); exit 1; }; }
22893 cat >conftest.$ac_ext <<_ACEOF
22894 /* confdefs.h. */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22900 /* Override any gcc2 internal prototype to avoid an error. */
22901 #ifdef __cplusplus
22902 extern "C"
22903 #endif
22904 /* We use char because int might match the return type of a gcc2
22905 builtin and then its argument prototype would still apply. */
22906 char fabsf ();
22908 main ()
22910 fabsf ();
22912 return 0;
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try='test -z "$ac_c_werror_flag"
22925 || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try='test -s conftest$ac_exeext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_lib_m_fabsf=yes
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22942 ac_cv_lib_m_fabsf=no
22944 rm -f conftest.err conftest.$ac_objext \
22945 conftest$ac_exeext conftest.$ac_ext
22946 LIBS=$ac_check_lib_save_LIBS
22948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22949 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22950 if test $ac_cv_lib_m_fabsf = yes; then
22952 cat >>confdefs.h <<\_ACEOF
22953 #define HAVE_FABSF 1
22954 _ACEOF
22958 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22959 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22960 if test "${ac_cv_lib_m_fabs+set}" = set; then
22961 echo $ECHO_N "(cached) $ECHO_C" >&6
22962 else
22963 ac_check_lib_save_LIBS=$LIBS
22964 LIBS="-lm $LIBS"
22965 if test x$gcc_no_link = xyes; then
22966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22968 { (exit 1); exit 1; }; }
22970 cat >conftest.$ac_ext <<_ACEOF
22971 /* confdefs.h. */
22972 _ACEOF
22973 cat confdefs.h >>conftest.$ac_ext
22974 cat >>conftest.$ac_ext <<_ACEOF
22975 /* end confdefs.h. */
22977 /* Override any gcc2 internal prototype to avoid an error. */
22978 #ifdef __cplusplus
22979 extern "C"
22980 #endif
22981 /* We use char because int might match the return type of a gcc2
22982 builtin and then its argument prototype would still apply. */
22983 char fabs ();
22985 main ()
22987 fabs ();
22989 return 0;
22991 _ACEOF
22992 rm -f conftest.$ac_objext conftest$ac_exeext
22993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22994 (eval $ac_link) 2>conftest.er1
22995 ac_status=$?
22996 grep -v '^ *+' conftest.er1 >conftest.err
22997 rm -f conftest.er1
22998 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); } &&
23001 { ac_try='test -z "$ac_c_werror_flag"
23002 || test ! -s conftest.err'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23005 ac_status=$?
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; } &&
23008 { ac_try='test -s conftest$ac_exeext'
23009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010 (eval $ac_try) 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); }; }; then
23014 ac_cv_lib_m_fabs=yes
23015 else
23016 echo "$as_me: failed program was:" >&5
23017 sed 's/^/| /' conftest.$ac_ext >&5
23019 ac_cv_lib_m_fabs=no
23021 rm -f conftest.err conftest.$ac_objext \
23022 conftest$ac_exeext conftest.$ac_ext
23023 LIBS=$ac_check_lib_save_LIBS
23025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23026 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23027 if test $ac_cv_lib_m_fabs = yes; then
23029 cat >>confdefs.h <<\_ACEOF
23030 #define HAVE_FABS 1
23031 _ACEOF
23035 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23036 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23037 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23038 echo $ECHO_N "(cached) $ECHO_C" >&6
23039 else
23040 ac_check_lib_save_LIBS=$LIBS
23041 LIBS="-lm $LIBS"
23042 if test x$gcc_no_link = xyes; then
23043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23045 { (exit 1); exit 1; }; }
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h. */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* Override any gcc2 internal prototype to avoid an error. */
23055 #ifdef __cplusplus
23056 extern "C"
23057 #endif
23058 /* We use char because int might match the return type of a gcc2
23059 builtin and then its argument prototype would still apply. */
23060 char fabsl ();
23062 main ()
23064 fabsl ();
23066 return 0;
23068 _ACEOF
23069 rm -f conftest.$ac_objext conftest$ac_exeext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071 (eval $ac_link) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_c_werror_flag"
23079 || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_lib_m_fabsl=yes
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23096 ac_cv_lib_m_fabsl=no
23098 rm -f conftest.err conftest.$ac_objext \
23099 conftest$ac_exeext conftest.$ac_ext
23100 LIBS=$ac_check_lib_save_LIBS
23102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23103 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23104 if test $ac_cv_lib_m_fabsl = yes; then
23106 cat >>confdefs.h <<\_ACEOF
23107 #define HAVE_FABSL 1
23108 _ACEOF
23112 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23113 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23114 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 else
23117 ac_check_lib_save_LIBS=$LIBS
23118 LIBS="-lm $LIBS"
23119 if test x$gcc_no_link = xyes; then
23120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23122 { (exit 1); exit 1; }; }
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23131 /* Override any gcc2 internal prototype to avoid an error. */
23132 #ifdef __cplusplus
23133 extern "C"
23134 #endif
23135 /* We use char because int might match the return type of a gcc2
23136 builtin and then its argument prototype would still apply. */
23137 char cabsf ();
23139 main ()
23141 cabsf ();
23143 return 0;
23145 _ACEOF
23146 rm -f conftest.$ac_objext conftest$ac_exeext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23148 (eval $ac_link) 2>conftest.er1
23149 ac_status=$?
23150 grep -v '^ *+' conftest.er1 >conftest.err
23151 rm -f conftest.er1
23152 cat conftest.err >&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try='test -z "$ac_c_werror_flag"
23156 || test ! -s conftest.err'
23157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158 (eval $ac_try) 2>&5
23159 ac_status=$?
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); }; } &&
23162 { ac_try='test -s conftest$ac_exeext'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 ac_cv_lib_m_cabsf=yes
23169 else
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23173 ac_cv_lib_m_cabsf=no
23175 rm -f conftest.err conftest.$ac_objext \
23176 conftest$ac_exeext conftest.$ac_ext
23177 LIBS=$ac_check_lib_save_LIBS
23179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23180 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23181 if test $ac_cv_lib_m_cabsf = yes; then
23183 cat >>confdefs.h <<\_ACEOF
23184 #define HAVE_CABSF 1
23185 _ACEOF
23189 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23190 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23191 if test "${ac_cv_lib_m_cabs+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194 ac_check_lib_save_LIBS=$LIBS
23195 LIBS="-lm $LIBS"
23196 if test x$gcc_no_link = xyes; then
23197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23199 { (exit 1); exit 1; }; }
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23208 /* Override any gcc2 internal prototype to avoid an error. */
23209 #ifdef __cplusplus
23210 extern "C"
23211 #endif
23212 /* We use char because int might match the return type of a gcc2
23213 builtin and then its argument prototype would still apply. */
23214 char cabs ();
23216 main ()
23218 cabs ();
23220 return 0;
23222 _ACEOF
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225 (eval $ac_link) 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag"
23233 || test ! -s conftest.err'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try='test -s conftest$ac_exeext'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23242 ac_status=$?
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; }; then
23245 ac_cv_lib_m_cabs=yes
23246 else
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23250 ac_cv_lib_m_cabs=no
23252 rm -f conftest.err conftest.$ac_objext \
23253 conftest$ac_exeext conftest.$ac_ext
23254 LIBS=$ac_check_lib_save_LIBS
23256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23257 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23258 if test $ac_cv_lib_m_cabs = yes; then
23260 cat >>confdefs.h <<\_ACEOF
23261 #define HAVE_CABS 1
23262 _ACEOF
23266 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23267 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23268 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23270 else
23271 ac_check_lib_save_LIBS=$LIBS
23272 LIBS="-lm $LIBS"
23273 if test x$gcc_no_link = xyes; then
23274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23276 { (exit 1); exit 1; }; }
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h. */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23285 /* Override any gcc2 internal prototype to avoid an error. */
23286 #ifdef __cplusplus
23287 extern "C"
23288 #endif
23289 /* We use char because int might match the return type of a gcc2
23290 builtin and then its argument prototype would still apply. */
23291 char cabsl ();
23293 main ()
23295 cabsl ();
23297 return 0;
23299 _ACEOF
23300 rm -f conftest.$ac_objext conftest$ac_exeext
23301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23302 (eval $ac_link) 2>conftest.er1
23303 ac_status=$?
23304 grep -v '^ *+' conftest.er1 >conftest.err
23305 rm -f conftest.er1
23306 cat conftest.err >&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); } &&
23309 { ac_try='test -z "$ac_c_werror_flag"
23310 || test ! -s conftest.err'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; } &&
23316 { ac_try='test -s conftest$ac_exeext'
23317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23318 (eval $ac_try) 2>&5
23319 ac_status=$?
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; }; then
23322 ac_cv_lib_m_cabsl=yes
23323 else
23324 echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.$ac_ext >&5
23327 ac_cv_lib_m_cabsl=no
23329 rm -f conftest.err conftest.$ac_objext \
23330 conftest$ac_exeext conftest.$ac_ext
23331 LIBS=$ac_check_lib_save_LIBS
23333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23334 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23335 if test $ac_cv_lib_m_cabsl = yes; then
23337 cat >>confdefs.h <<\_ACEOF
23338 #define HAVE_CABSL 1
23339 _ACEOF
23343 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23344 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23345 if test "${ac_cv_lib_m_floorf+set}" = set; then
23346 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 else
23348 ac_check_lib_save_LIBS=$LIBS
23349 LIBS="-lm $LIBS"
23350 if test x$gcc_no_link = xyes; then
23351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23353 { (exit 1); exit 1; }; }
23355 cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h. */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23362 /* Override any gcc2 internal prototype to avoid an error. */
23363 #ifdef __cplusplus
23364 extern "C"
23365 #endif
23366 /* We use char because int might match the return type of a gcc2
23367 builtin and then its argument prototype would still apply. */
23368 char floorf ();
23370 main ()
23372 floorf ();
23374 return 0;
23376 _ACEOF
23377 rm -f conftest.$ac_objext conftest$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>conftest.er1
23380 ac_status=$?
23381 grep -v '^ *+' conftest.er1 >conftest.err
23382 rm -f conftest.er1
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23396 ac_status=$?
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 ac_cv_lib_m_floorf=yes
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23404 ac_cv_lib_m_floorf=no
23406 rm -f conftest.err conftest.$ac_objext \
23407 conftest$ac_exeext conftest.$ac_ext
23408 LIBS=$ac_check_lib_save_LIBS
23410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23411 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23412 if test $ac_cv_lib_m_floorf = yes; then
23414 cat >>confdefs.h <<\_ACEOF
23415 #define HAVE_FLOORF 1
23416 _ACEOF
23420 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23421 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23422 if test "${ac_cv_lib_m_floor+set}" = set; then
23423 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 else
23425 ac_check_lib_save_LIBS=$LIBS
23426 LIBS="-lm $LIBS"
23427 if test x$gcc_no_link = xyes; then
23428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23430 { (exit 1); exit 1; }; }
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23439 /* Override any gcc2 internal prototype to avoid an error. */
23440 #ifdef __cplusplus
23441 extern "C"
23442 #endif
23443 /* We use char because int might match the return type of a gcc2
23444 builtin and then its argument prototype would still apply. */
23445 char floor ();
23447 main ()
23449 floor ();
23451 return 0;
23453 _ACEOF
23454 rm -f conftest.$ac_objext conftest$ac_exeext
23455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23456 (eval $ac_link) 2>conftest.er1
23457 ac_status=$?
23458 grep -v '^ *+' conftest.er1 >conftest.err
23459 rm -f conftest.er1
23460 cat conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } &&
23463 { ac_try='test -z "$ac_c_werror_flag"
23464 || test ! -s conftest.err'
23465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23466 (eval $ac_try) 2>&5
23467 ac_status=$?
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); }; } &&
23470 { ac_try='test -s conftest$ac_exeext'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); }; }; then
23476 ac_cv_lib_m_floor=yes
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23481 ac_cv_lib_m_floor=no
23483 rm -f conftest.err conftest.$ac_objext \
23484 conftest$ac_exeext conftest.$ac_ext
23485 LIBS=$ac_check_lib_save_LIBS
23487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23488 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23489 if test $ac_cv_lib_m_floor = yes; then
23491 cat >>confdefs.h <<\_ACEOF
23492 #define HAVE_FLOOR 1
23493 _ACEOF
23497 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23498 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23499 if test "${ac_cv_lib_m_floorl+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502 ac_check_lib_save_LIBS=$LIBS
23503 LIBS="-lm $LIBS"
23504 if test x$gcc_no_link = xyes; then
23505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507 { (exit 1); exit 1; }; }
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23516 /* Override any gcc2 internal prototype to avoid an error. */
23517 #ifdef __cplusplus
23518 extern "C"
23519 #endif
23520 /* We use char because int might match the return type of a gcc2
23521 builtin and then its argument prototype would still apply. */
23522 char floorl ();
23524 main ()
23526 floorl ();
23528 return 0;
23530 _ACEOF
23531 rm -f conftest.$ac_objext conftest$ac_exeext
23532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23533 (eval $ac_link) 2>conftest.er1
23534 ac_status=$?
23535 grep -v '^ *+' conftest.er1 >conftest.err
23536 rm -f conftest.er1
23537 cat conftest.err >&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); } &&
23540 { ac_try='test -z "$ac_c_werror_flag"
23541 || test ! -s conftest.err'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23544 ac_status=$?
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; } &&
23547 { ac_try='test -s conftest$ac_exeext'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23550 ac_status=$?
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; }; then
23553 ac_cv_lib_m_floorl=yes
23554 else
23555 echo "$as_me: failed program was:" >&5
23556 sed 's/^/| /' conftest.$ac_ext >&5
23558 ac_cv_lib_m_floorl=no
23560 rm -f conftest.err conftest.$ac_objext \
23561 conftest$ac_exeext conftest.$ac_ext
23562 LIBS=$ac_check_lib_save_LIBS
23564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23565 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23566 if test $ac_cv_lib_m_floorl = yes; then
23568 cat >>confdefs.h <<\_ACEOF
23569 #define HAVE_FLOORL 1
23570 _ACEOF
23574 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23575 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23576 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579 ac_check_lib_save_LIBS=$LIBS
23580 LIBS="-lm $LIBS"
23581 if test x$gcc_no_link = xyes; then
23582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23584 { (exit 1); exit 1; }; }
23586 cat >conftest.$ac_ext <<_ACEOF
23587 /* confdefs.h. */
23588 _ACEOF
23589 cat confdefs.h >>conftest.$ac_ext
23590 cat >>conftest.$ac_ext <<_ACEOF
23591 /* end confdefs.h. */
23593 /* Override any gcc2 internal prototype to avoid an error. */
23594 #ifdef __cplusplus
23595 extern "C"
23596 #endif
23597 /* We use char because int might match the return type of a gcc2
23598 builtin and then its argument prototype would still apply. */
23599 char fmodf ();
23601 main ()
23603 fmodf ();
23605 return 0;
23607 _ACEOF
23608 rm -f conftest.$ac_objext conftest$ac_exeext
23609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23610 (eval $ac_link) 2>conftest.er1
23611 ac_status=$?
23612 grep -v '^ *+' conftest.er1 >conftest.err
23613 rm -f conftest.er1
23614 cat conftest.err >&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } &&
23617 { ac_try='test -z "$ac_c_werror_flag"
23618 || test ! -s conftest.err'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23621 ac_status=$?
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; } &&
23624 { ac_try='test -s conftest$ac_exeext'
23625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626 (eval $ac_try) 2>&5
23627 ac_status=$?
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); }; }; then
23630 ac_cv_lib_m_fmodf=yes
23631 else
23632 echo "$as_me: failed program was:" >&5
23633 sed 's/^/| /' conftest.$ac_ext >&5
23635 ac_cv_lib_m_fmodf=no
23637 rm -f conftest.err conftest.$ac_objext \
23638 conftest$ac_exeext conftest.$ac_ext
23639 LIBS=$ac_check_lib_save_LIBS
23641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23642 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23643 if test $ac_cv_lib_m_fmodf = yes; then
23645 cat >>confdefs.h <<\_ACEOF
23646 #define HAVE_FMODF 1
23647 _ACEOF
23651 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23652 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23653 if test "${ac_cv_lib_m_fmod+set}" = set; then
23654 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 else
23656 ac_check_lib_save_LIBS=$LIBS
23657 LIBS="-lm $LIBS"
23658 if test x$gcc_no_link = xyes; then
23659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23661 { (exit 1); exit 1; }; }
23663 cat >conftest.$ac_ext <<_ACEOF
23664 /* confdefs.h. */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23670 /* Override any gcc2 internal prototype to avoid an error. */
23671 #ifdef __cplusplus
23672 extern "C"
23673 #endif
23674 /* We use char because int might match the return type of a gcc2
23675 builtin and then its argument prototype would still apply. */
23676 char fmod ();
23678 main ()
23680 fmod ();
23682 return 0;
23684 _ACEOF
23685 rm -f conftest.$ac_objext conftest$ac_exeext
23686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23687 (eval $ac_link) 2>conftest.er1
23688 ac_status=$?
23689 grep -v '^ *+' conftest.er1 >conftest.err
23690 rm -f conftest.er1
23691 cat conftest.err >&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try='test -z "$ac_c_werror_flag"
23695 || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try='test -s conftest$ac_exeext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23704 ac_status=$?
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 ac_cv_lib_m_fmod=yes
23708 else
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23712 ac_cv_lib_m_fmod=no
23714 rm -f conftest.err conftest.$ac_objext \
23715 conftest$ac_exeext conftest.$ac_ext
23716 LIBS=$ac_check_lib_save_LIBS
23718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23719 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23720 if test $ac_cv_lib_m_fmod = yes; then
23722 cat >>confdefs.h <<\_ACEOF
23723 #define HAVE_FMOD 1
23724 _ACEOF
23728 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23729 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23730 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 ac_check_lib_save_LIBS=$LIBS
23734 LIBS="-lm $LIBS"
23735 if test x$gcc_no_link = xyes; then
23736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23738 { (exit 1); exit 1; }; }
23740 cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h. */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23747 /* Override any gcc2 internal prototype to avoid an error. */
23748 #ifdef __cplusplus
23749 extern "C"
23750 #endif
23751 /* We use char because int might match the return type of a gcc2
23752 builtin and then its argument prototype would still apply. */
23753 char fmodl ();
23755 main ()
23757 fmodl ();
23759 return 0;
23761 _ACEOF
23762 rm -f conftest.$ac_objext conftest$ac_exeext
23763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23764 (eval $ac_link) 2>conftest.er1
23765 ac_status=$?
23766 grep -v '^ *+' conftest.er1 >conftest.err
23767 rm -f conftest.er1
23768 cat conftest.err >&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try='test -z "$ac_c_werror_flag"
23772 || test ! -s conftest.err'
23773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774 (eval $ac_try) 2>&5
23775 ac_status=$?
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); }; } &&
23778 { ac_try='test -s conftest$ac_exeext'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; }; then
23784 ac_cv_lib_m_fmodl=yes
23785 else
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.$ac_ext >&5
23789 ac_cv_lib_m_fmodl=no
23791 rm -f conftest.err conftest.$ac_objext \
23792 conftest$ac_exeext conftest.$ac_ext
23793 LIBS=$ac_check_lib_save_LIBS
23795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23796 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23797 if test $ac_cv_lib_m_fmodl = yes; then
23799 cat >>confdefs.h <<\_ACEOF
23800 #define HAVE_FMODL 1
23801 _ACEOF
23805 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23806 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23807 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810 ac_check_lib_save_LIBS=$LIBS
23811 LIBS="-lm $LIBS"
23812 if test x$gcc_no_link = xyes; then
23813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23815 { (exit 1); exit 1; }; }
23817 cat >conftest.$ac_ext <<_ACEOF
23818 /* confdefs.h. */
23819 _ACEOF
23820 cat confdefs.h >>conftest.$ac_ext
23821 cat >>conftest.$ac_ext <<_ACEOF
23822 /* end confdefs.h. */
23824 /* Override any gcc2 internal prototype to avoid an error. */
23825 #ifdef __cplusplus
23826 extern "C"
23827 #endif
23828 /* We use char because int might match the return type of a gcc2
23829 builtin and then its argument prototype would still apply. */
23830 char frexpf ();
23832 main ()
23834 frexpf ();
23836 return 0;
23838 _ACEOF
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841 (eval $ac_link) 2>conftest.er1
23842 ac_status=$?
23843 grep -v '^ *+' conftest.er1 >conftest.err
23844 rm -f conftest.er1
23845 cat conftest.err >&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try='test -z "$ac_c_werror_flag"
23849 || test ! -s conftest.err'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; } &&
23855 { ac_try='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23858 ac_status=$?
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23861 ac_cv_lib_m_frexpf=yes
23862 else
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23866 ac_cv_lib_m_frexpf=no
23868 rm -f conftest.err conftest.$ac_objext \
23869 conftest$ac_exeext conftest.$ac_ext
23870 LIBS=$ac_check_lib_save_LIBS
23872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23873 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23874 if test $ac_cv_lib_m_frexpf = yes; then
23876 cat >>confdefs.h <<\_ACEOF
23877 #define HAVE_FREXPF 1
23878 _ACEOF
23882 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23883 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23884 if test "${ac_cv_lib_m_frexp+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 else
23887 ac_check_lib_save_LIBS=$LIBS
23888 LIBS="-lm $LIBS"
23889 if test x$gcc_no_link = xyes; then
23890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23892 { (exit 1); exit 1; }; }
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23901 /* Override any gcc2 internal prototype to avoid an error. */
23902 #ifdef __cplusplus
23903 extern "C"
23904 #endif
23905 /* We use char because int might match the return type of a gcc2
23906 builtin and then its argument prototype would still apply. */
23907 char frexp ();
23909 main ()
23911 frexp ();
23913 return 0;
23915 _ACEOF
23916 rm -f conftest.$ac_objext conftest$ac_exeext
23917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23918 (eval $ac_link) 2>conftest.er1
23919 ac_status=$?
23920 grep -v '^ *+' conftest.er1 >conftest.err
23921 rm -f conftest.er1
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } &&
23925 { ac_try='test -z "$ac_c_werror_flag"
23926 || test ! -s conftest.err'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; } &&
23932 { ac_try='test -s conftest$ac_exeext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938 ac_cv_lib_m_frexp=yes
23939 else
23940 echo "$as_me: failed program was:" >&5
23941 sed 's/^/| /' conftest.$ac_ext >&5
23943 ac_cv_lib_m_frexp=no
23945 rm -f conftest.err conftest.$ac_objext \
23946 conftest$ac_exeext conftest.$ac_ext
23947 LIBS=$ac_check_lib_save_LIBS
23949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23950 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23951 if test $ac_cv_lib_m_frexp = yes; then
23953 cat >>confdefs.h <<\_ACEOF
23954 #define HAVE_FREXP 1
23955 _ACEOF
23959 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23960 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23961 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23962 echo $ECHO_N "(cached) $ECHO_C" >&6
23963 else
23964 ac_check_lib_save_LIBS=$LIBS
23965 LIBS="-lm $LIBS"
23966 if test x$gcc_no_link = xyes; then
23967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969 { (exit 1); exit 1; }; }
23971 cat >conftest.$ac_ext <<_ACEOF
23972 /* confdefs.h. */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23978 /* Override any gcc2 internal prototype to avoid an error. */
23979 #ifdef __cplusplus
23980 extern "C"
23981 #endif
23982 /* We use char because int might match the return type of a gcc2
23983 builtin and then its argument prototype would still apply. */
23984 char frexpl ();
23986 main ()
23988 frexpl ();
23990 return 0;
23992 _ACEOF
23993 rm -f conftest.$ac_objext conftest$ac_exeext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23995 (eval $ac_link) 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } &&
24002 { ac_try='test -z "$ac_c_werror_flag"
24003 || test ! -s conftest.err'
24004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24005 (eval $ac_try) 2>&5
24006 ac_status=$?
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); }; } &&
24009 { ac_try='test -s conftest$ac_exeext'
24010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011 (eval $ac_try) 2>&5
24012 ac_status=$?
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 ac_cv_lib_m_frexpl=yes
24016 else
24017 echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.$ac_ext >&5
24020 ac_cv_lib_m_frexpl=no
24022 rm -f conftest.err conftest.$ac_objext \
24023 conftest$ac_exeext conftest.$ac_ext
24024 LIBS=$ac_check_lib_save_LIBS
24026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24027 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24028 if test $ac_cv_lib_m_frexpl = yes; then
24030 cat >>confdefs.h <<\_ACEOF
24031 #define HAVE_FREXPL 1
24032 _ACEOF
24036 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24037 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24038 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 else
24041 ac_check_lib_save_LIBS=$LIBS
24042 LIBS="-lm $LIBS"
24043 if test x$gcc_no_link = xyes; then
24044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24046 { (exit 1); exit 1; }; }
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h. */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24055 /* Override any gcc2 internal prototype to avoid an error. */
24056 #ifdef __cplusplus
24057 extern "C"
24058 #endif
24059 /* We use char because int might match the return type of a gcc2
24060 builtin and then its argument prototype would still apply. */
24061 char hypotf ();
24063 main ()
24065 hypotf ();
24067 return 0;
24069 _ACEOF
24070 rm -f conftest.$ac_objext conftest$ac_exeext
24071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24072 (eval $ac_link) 2>conftest.er1
24073 ac_status=$?
24074 grep -v '^ *+' conftest.er1 >conftest.err
24075 rm -f conftest.er1
24076 cat conftest.err >&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } &&
24079 { ac_try='test -z "$ac_c_werror_flag"
24080 || test ! -s conftest.err'
24081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082 (eval $ac_try) 2>&5
24083 ac_status=$?
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); }; } &&
24086 { ac_try='test -s conftest$ac_exeext'
24087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24088 (eval $ac_try) 2>&5
24089 ac_status=$?
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); }; }; then
24092 ac_cv_lib_m_hypotf=yes
24093 else
24094 echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.$ac_ext >&5
24097 ac_cv_lib_m_hypotf=no
24099 rm -f conftest.err conftest.$ac_objext \
24100 conftest$ac_exeext conftest.$ac_ext
24101 LIBS=$ac_check_lib_save_LIBS
24103 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24104 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24105 if test $ac_cv_lib_m_hypotf = yes; then
24107 cat >>confdefs.h <<\_ACEOF
24108 #define HAVE_HYPOTF 1
24109 _ACEOF
24113 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24114 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24115 if test "${ac_cv_lib_m_hypot+set}" = set; then
24116 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 else
24118 ac_check_lib_save_LIBS=$LIBS
24119 LIBS="-lm $LIBS"
24120 if test x$gcc_no_link = xyes; then
24121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24123 { (exit 1); exit 1; }; }
24125 cat >conftest.$ac_ext <<_ACEOF
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24132 /* Override any gcc2 internal prototype to avoid an error. */
24133 #ifdef __cplusplus
24134 extern "C"
24135 #endif
24136 /* We use char because int might match the return type of a gcc2
24137 builtin and then its argument prototype would still apply. */
24138 char hypot ();
24140 main ()
24142 hypot ();
24144 return 0;
24146 _ACEOF
24147 rm -f conftest.$ac_objext conftest$ac_exeext
24148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24149 (eval $ac_link) 2>conftest.er1
24150 ac_status=$?
24151 grep -v '^ *+' conftest.er1 >conftest.err
24152 rm -f conftest.er1
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } &&
24156 { ac_try='test -z "$ac_c_werror_flag"
24157 || test ! -s conftest.err'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24160 ac_status=$?
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; } &&
24163 { ac_try='test -s conftest$ac_exeext'
24164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165 (eval $ac_try) 2>&5
24166 ac_status=$?
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 ac_cv_lib_m_hypot=yes
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24174 ac_cv_lib_m_hypot=no
24176 rm -f conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178 LIBS=$ac_check_lib_save_LIBS
24180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24181 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24182 if test $ac_cv_lib_m_hypot = yes; then
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_HYPOT 1
24186 _ACEOF
24190 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24191 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24192 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195 ac_check_lib_save_LIBS=$LIBS
24196 LIBS="-lm $LIBS"
24197 if test x$gcc_no_link = xyes; then
24198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24200 { (exit 1); exit 1; }; }
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h. */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24209 /* Override any gcc2 internal prototype to avoid an error. */
24210 #ifdef __cplusplus
24211 extern "C"
24212 #endif
24213 /* We use char because int might match the return type of a gcc2
24214 builtin and then its argument prototype would still apply. */
24215 char hypotl ();
24217 main ()
24219 hypotl ();
24221 return 0;
24223 _ACEOF
24224 rm -f conftest.$ac_objext conftest$ac_exeext
24225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24226 (eval $ac_link) 2>conftest.er1
24227 ac_status=$?
24228 grep -v '^ *+' conftest.er1 >conftest.err
24229 rm -f conftest.er1
24230 cat conftest.err >&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } &&
24233 { ac_try='test -z "$ac_c_werror_flag"
24234 || test ! -s conftest.err'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24237 ac_status=$?
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; } &&
24240 { ac_try='test -s conftest$ac_exeext'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24243 ac_status=$?
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; }; then
24246 ac_cv_lib_m_hypotl=yes
24247 else
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.$ac_ext >&5
24251 ac_cv_lib_m_hypotl=no
24253 rm -f conftest.err conftest.$ac_objext \
24254 conftest$ac_exeext conftest.$ac_ext
24255 LIBS=$ac_check_lib_save_LIBS
24257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24258 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24259 if test $ac_cv_lib_m_hypotl = yes; then
24261 cat >>confdefs.h <<\_ACEOF
24262 #define HAVE_HYPOTL 1
24263 _ACEOF
24267 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24268 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24269 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24270 echo $ECHO_N "(cached) $ECHO_C" >&6
24271 else
24272 ac_check_lib_save_LIBS=$LIBS
24273 LIBS="-lm $LIBS"
24274 if test x$gcc_no_link = xyes; then
24275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24277 { (exit 1); exit 1; }; }
24279 cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h. */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24286 /* Override any gcc2 internal prototype to avoid an error. */
24287 #ifdef __cplusplus
24288 extern "C"
24289 #endif
24290 /* We use char because int might match the return type of a gcc2
24291 builtin and then its argument prototype would still apply. */
24292 char ldexpf ();
24294 main ()
24296 ldexpf ();
24298 return 0;
24300 _ACEOF
24301 rm -f conftest.$ac_objext conftest$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>conftest.er1
24304 ac_status=$?
24305 grep -v '^ *+' conftest.er1 >conftest.err
24306 rm -f conftest.er1
24307 cat conftest.err >&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); } &&
24310 { ac_try='test -z "$ac_c_werror_flag"
24311 || test ! -s conftest.err'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24314 ac_status=$?
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; } &&
24317 { ac_try='test -s conftest$ac_exeext'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; }; then
24323 ac_cv_lib_m_ldexpf=yes
24324 else
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.$ac_ext >&5
24328 ac_cv_lib_m_ldexpf=no
24330 rm -f conftest.err conftest.$ac_objext \
24331 conftest$ac_exeext conftest.$ac_ext
24332 LIBS=$ac_check_lib_save_LIBS
24334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24335 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24336 if test $ac_cv_lib_m_ldexpf = yes; then
24338 cat >>confdefs.h <<\_ACEOF
24339 #define HAVE_LDEXPF 1
24340 _ACEOF
24344 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24345 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24346 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24347 echo $ECHO_N "(cached) $ECHO_C" >&6
24348 else
24349 ac_check_lib_save_LIBS=$LIBS
24350 LIBS="-lm $LIBS"
24351 if test x$gcc_no_link = xyes; then
24352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24354 { (exit 1); exit 1; }; }
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h. */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24363 /* Override any gcc2 internal prototype to avoid an error. */
24364 #ifdef __cplusplus
24365 extern "C"
24366 #endif
24367 /* We use char because int might match the return type of a gcc2
24368 builtin and then its argument prototype would still apply. */
24369 char ldexp ();
24371 main ()
24373 ldexp ();
24375 return 0;
24377 _ACEOF
24378 rm -f conftest.$ac_objext conftest$ac_exeext
24379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24380 (eval $ac_link) 2>conftest.er1
24381 ac_status=$?
24382 grep -v '^ *+' conftest.er1 >conftest.err
24383 rm -f conftest.er1
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } &&
24387 { ac_try='test -z "$ac_c_werror_flag"
24388 || test ! -s conftest.err'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24391 ac_status=$?
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; } &&
24394 { ac_try='test -s conftest$ac_exeext'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; }; then
24400 ac_cv_lib_m_ldexp=yes
24401 else
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24405 ac_cv_lib_m_ldexp=no
24407 rm -f conftest.err conftest.$ac_objext \
24408 conftest$ac_exeext conftest.$ac_ext
24409 LIBS=$ac_check_lib_save_LIBS
24411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24412 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24413 if test $ac_cv_lib_m_ldexp = yes; then
24415 cat >>confdefs.h <<\_ACEOF
24416 #define HAVE_LDEXP 1
24417 _ACEOF
24421 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24422 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24423 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 else
24426 ac_check_lib_save_LIBS=$LIBS
24427 LIBS="-lm $LIBS"
24428 if test x$gcc_no_link = xyes; then
24429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24431 { (exit 1); exit 1; }; }
24433 cat >conftest.$ac_ext <<_ACEOF
24434 /* confdefs.h. */
24435 _ACEOF
24436 cat confdefs.h >>conftest.$ac_ext
24437 cat >>conftest.$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24440 /* Override any gcc2 internal prototype to avoid an error. */
24441 #ifdef __cplusplus
24442 extern "C"
24443 #endif
24444 /* We use char because int might match the return type of a gcc2
24445 builtin and then its argument prototype would still apply. */
24446 char ldexpl ();
24448 main ()
24450 ldexpl ();
24452 return 0;
24454 _ACEOF
24455 rm -f conftest.$ac_objext conftest$ac_exeext
24456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24457 (eval $ac_link) 2>conftest.er1
24458 ac_status=$?
24459 grep -v '^ *+' conftest.er1 >conftest.err
24460 rm -f conftest.er1
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } &&
24464 { ac_try='test -z "$ac_c_werror_flag"
24465 || test ! -s conftest.err'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24468 ac_status=$?
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; } &&
24471 { ac_try='test -s conftest$ac_exeext'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; }; then
24477 ac_cv_lib_m_ldexpl=yes
24478 else
24479 echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.$ac_ext >&5
24482 ac_cv_lib_m_ldexpl=no
24484 rm -f conftest.err conftest.$ac_objext \
24485 conftest$ac_exeext conftest.$ac_ext
24486 LIBS=$ac_check_lib_save_LIBS
24488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24489 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24490 if test $ac_cv_lib_m_ldexpl = yes; then
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_LDEXPL 1
24494 _ACEOF
24498 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24499 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24500 if test "${ac_cv_lib_m_logf+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 else
24503 ac_check_lib_save_LIBS=$LIBS
24504 LIBS="-lm $LIBS"
24505 if test x$gcc_no_link = xyes; then
24506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24508 { (exit 1); exit 1; }; }
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24517 /* Override any gcc2 internal prototype to avoid an error. */
24518 #ifdef __cplusplus
24519 extern "C"
24520 #endif
24521 /* We use char because int might match the return type of a gcc2
24522 builtin and then its argument prototype would still apply. */
24523 char logf ();
24525 main ()
24527 logf ();
24529 return 0;
24531 _ACEOF
24532 rm -f conftest.$ac_objext conftest$ac_exeext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24534 (eval $ac_link) 2>conftest.er1
24535 ac_status=$?
24536 grep -v '^ *+' conftest.er1 >conftest.err
24537 rm -f conftest.er1
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try='test -z "$ac_c_werror_flag"
24542 || test ! -s conftest.err'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24545 ac_status=$?
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; } &&
24548 { ac_try='test -s conftest$ac_exeext'
24549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550 (eval $ac_try) 2>&5
24551 ac_status=$?
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); }; }; then
24554 ac_cv_lib_m_logf=yes
24555 else
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24559 ac_cv_lib_m_logf=no
24561 rm -f conftest.err conftest.$ac_objext \
24562 conftest$ac_exeext conftest.$ac_ext
24563 LIBS=$ac_check_lib_save_LIBS
24565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24566 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24567 if test $ac_cv_lib_m_logf = yes; then
24569 cat >>confdefs.h <<\_ACEOF
24570 #define HAVE_LOGF 1
24571 _ACEOF
24575 echo "$as_me:$LINENO: checking for log in -lm" >&5
24576 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24577 if test "${ac_cv_lib_m_log+set}" = set; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 else
24580 ac_check_lib_save_LIBS=$LIBS
24581 LIBS="-lm $LIBS"
24582 if test x$gcc_no_link = xyes; then
24583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24585 { (exit 1); exit 1; }; }
24587 cat >conftest.$ac_ext <<_ACEOF
24588 /* confdefs.h. */
24589 _ACEOF
24590 cat confdefs.h >>conftest.$ac_ext
24591 cat >>conftest.$ac_ext <<_ACEOF
24592 /* end confdefs.h. */
24594 /* Override any gcc2 internal prototype to avoid an error. */
24595 #ifdef __cplusplus
24596 extern "C"
24597 #endif
24598 /* We use char because int might match the return type of a gcc2
24599 builtin and then its argument prototype would still apply. */
24600 char log ();
24602 main ()
24604 log ();
24606 return 0;
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24628 ac_status=$?
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_cv_lib_m_log=yes
24632 else
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24636 ac_cv_lib_m_log=no
24638 rm -f conftest.err conftest.$ac_objext \
24639 conftest$ac_exeext conftest.$ac_ext
24640 LIBS=$ac_check_lib_save_LIBS
24642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24643 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24644 if test $ac_cv_lib_m_log = yes; then
24646 cat >>confdefs.h <<\_ACEOF
24647 #define HAVE_LOG 1
24648 _ACEOF
24652 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24653 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24654 if test "${ac_cv_lib_m_logl+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 else
24657 ac_check_lib_save_LIBS=$LIBS
24658 LIBS="-lm $LIBS"
24659 if test x$gcc_no_link = xyes; then
24660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24662 { (exit 1); exit 1; }; }
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24671 /* Override any gcc2 internal prototype to avoid an error. */
24672 #ifdef __cplusplus
24673 extern "C"
24674 #endif
24675 /* We use char because int might match the return type of a gcc2
24676 builtin and then its argument prototype would still apply. */
24677 char logl ();
24679 main ()
24681 logl ();
24683 return 0;
24685 _ACEOF
24686 rm -f conftest.$ac_objext conftest$ac_exeext
24687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24688 (eval $ac_link) 2>conftest.er1
24689 ac_status=$?
24690 grep -v '^ *+' conftest.er1 >conftest.err
24691 rm -f conftest.er1
24692 cat conftest.err >&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); } &&
24695 { ac_try='test -z "$ac_c_werror_flag"
24696 || test ! -s conftest.err'
24697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698 (eval $ac_try) 2>&5
24699 ac_status=$?
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); }; } &&
24702 { ac_try='test -s conftest$ac_exeext'
24703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704 (eval $ac_try) 2>&5
24705 ac_status=$?
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); }; }; then
24708 ac_cv_lib_m_logl=yes
24709 else
24710 echo "$as_me: failed program was:" >&5
24711 sed 's/^/| /' conftest.$ac_ext >&5
24713 ac_cv_lib_m_logl=no
24715 rm -f conftest.err conftest.$ac_objext \
24716 conftest$ac_exeext conftest.$ac_ext
24717 LIBS=$ac_check_lib_save_LIBS
24719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24720 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24721 if test $ac_cv_lib_m_logl = yes; then
24723 cat >>confdefs.h <<\_ACEOF
24724 #define HAVE_LOGL 1
24725 _ACEOF
24729 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24730 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24731 if test "${ac_cv_lib_m_clogf+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734 ac_check_lib_save_LIBS=$LIBS
24735 LIBS="-lm $LIBS"
24736 if test x$gcc_no_link = xyes; then
24737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24739 { (exit 1); exit 1; }; }
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24748 /* Override any gcc2 internal prototype to avoid an error. */
24749 #ifdef __cplusplus
24750 extern "C"
24751 #endif
24752 /* We use char because int might match the return type of a gcc2
24753 builtin and then its argument prototype would still apply. */
24754 char clogf ();
24756 main ()
24758 clogf ();
24760 return 0;
24762 _ACEOF
24763 rm -f conftest.$ac_objext conftest$ac_exeext
24764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24765 (eval $ac_link) 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } &&
24772 { ac_try='test -z "$ac_c_werror_flag"
24773 || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try='test -s conftest$ac_exeext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24782 ac_status=$?
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 ac_cv_lib_m_clogf=yes
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24790 ac_cv_lib_m_clogf=no
24792 rm -f conftest.err conftest.$ac_objext \
24793 conftest$ac_exeext conftest.$ac_ext
24794 LIBS=$ac_check_lib_save_LIBS
24796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24797 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24798 if test $ac_cv_lib_m_clogf = yes; then
24800 cat >>confdefs.h <<\_ACEOF
24801 #define HAVE_CLOGF 1
24802 _ACEOF
24806 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24807 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24808 if test "${ac_cv_lib_m_clog+set}" = set; then
24809 echo $ECHO_N "(cached) $ECHO_C" >&6
24810 else
24811 ac_check_lib_save_LIBS=$LIBS
24812 LIBS="-lm $LIBS"
24813 if test x$gcc_no_link = xyes; then
24814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24816 { (exit 1); exit 1; }; }
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24825 /* Override any gcc2 internal prototype to avoid an error. */
24826 #ifdef __cplusplus
24827 extern "C"
24828 #endif
24829 /* We use char because int might match the return type of a gcc2
24830 builtin and then its argument prototype would still apply. */
24831 char clog ();
24833 main ()
24835 clog ();
24837 return 0;
24839 _ACEOF
24840 rm -f conftest.$ac_objext conftest$ac_exeext
24841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24842 (eval $ac_link) 2>conftest.er1
24843 ac_status=$?
24844 grep -v '^ *+' conftest.er1 >conftest.err
24845 rm -f conftest.er1
24846 cat conftest.err >&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); } &&
24849 { ac_try='test -z "$ac_c_werror_flag"
24850 || test ! -s conftest.err'
24851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24852 (eval $ac_try) 2>&5
24853 ac_status=$?
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); }; } &&
24856 { ac_try='test -s conftest$ac_exeext'
24857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24858 (eval $ac_try) 2>&5
24859 ac_status=$?
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); }; }; then
24862 ac_cv_lib_m_clog=yes
24863 else
24864 echo "$as_me: failed program was:" >&5
24865 sed 's/^/| /' conftest.$ac_ext >&5
24867 ac_cv_lib_m_clog=no
24869 rm -f conftest.err conftest.$ac_objext \
24870 conftest$ac_exeext conftest.$ac_ext
24871 LIBS=$ac_check_lib_save_LIBS
24873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24874 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24875 if test $ac_cv_lib_m_clog = yes; then
24877 cat >>confdefs.h <<\_ACEOF
24878 #define HAVE_CLOG 1
24879 _ACEOF
24883 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24884 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24885 if test "${ac_cv_lib_m_clogl+set}" = set; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888 ac_check_lib_save_LIBS=$LIBS
24889 LIBS="-lm $LIBS"
24890 if test x$gcc_no_link = xyes; then
24891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24893 { (exit 1); exit 1; }; }
24895 cat >conftest.$ac_ext <<_ACEOF
24896 /* confdefs.h. */
24897 _ACEOF
24898 cat confdefs.h >>conftest.$ac_ext
24899 cat >>conftest.$ac_ext <<_ACEOF
24900 /* end confdefs.h. */
24902 /* Override any gcc2 internal prototype to avoid an error. */
24903 #ifdef __cplusplus
24904 extern "C"
24905 #endif
24906 /* We use char because int might match the return type of a gcc2
24907 builtin and then its argument prototype would still apply. */
24908 char clogl ();
24910 main ()
24912 clogl ();
24914 return 0;
24916 _ACEOF
24917 rm -f conftest.$ac_objext conftest$ac_exeext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24919 (eval $ac_link) 2>conftest.er1
24920 ac_status=$?
24921 grep -v '^ *+' conftest.er1 >conftest.err
24922 rm -f conftest.er1
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } &&
24926 { ac_try='test -z "$ac_c_werror_flag"
24927 || test ! -s conftest.err'
24928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 (eval $ac_try) 2>&5
24930 ac_status=$?
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; } &&
24933 { ac_try='test -s conftest$ac_exeext'
24934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24935 (eval $ac_try) 2>&5
24936 ac_status=$?
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); }; }; then
24939 ac_cv_lib_m_clogl=yes
24940 else
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24944 ac_cv_lib_m_clogl=no
24946 rm -f conftest.err conftest.$ac_objext \
24947 conftest$ac_exeext conftest.$ac_ext
24948 LIBS=$ac_check_lib_save_LIBS
24950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24951 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24952 if test $ac_cv_lib_m_clogl = yes; then
24954 cat >>confdefs.h <<\_ACEOF
24955 #define HAVE_CLOGL 1
24956 _ACEOF
24960 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24961 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24962 if test "${ac_cv_lib_m_log10f+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965 ac_check_lib_save_LIBS=$LIBS
24966 LIBS="-lm $LIBS"
24967 if test x$gcc_no_link = xyes; then
24968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24970 { (exit 1); exit 1; }; }
24972 cat >conftest.$ac_ext <<_ACEOF
24973 /* confdefs.h. */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24979 /* Override any gcc2 internal prototype to avoid an error. */
24980 #ifdef __cplusplus
24981 extern "C"
24982 #endif
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char log10f ();
24987 main ()
24989 log10f ();
24991 return 0;
24993 _ACEOF
24994 rm -f conftest.$ac_objext conftest$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996 (eval $ac_link) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_c_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try='test -s conftest$ac_exeext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 ac_cv_lib_m_log10f=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25021 ac_cv_lib_m_log10f=no
25023 rm -f conftest.err conftest.$ac_objext \
25024 conftest$ac_exeext conftest.$ac_ext
25025 LIBS=$ac_check_lib_save_LIBS
25027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25028 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25029 if test $ac_cv_lib_m_log10f = yes; then
25031 cat >>confdefs.h <<\_ACEOF
25032 #define HAVE_LOG10F 1
25033 _ACEOF
25037 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25038 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25039 if test "${ac_cv_lib_m_log10+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25041 else
25042 ac_check_lib_save_LIBS=$LIBS
25043 LIBS="-lm $LIBS"
25044 if test x$gcc_no_link = xyes; then
25045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25047 { (exit 1); exit 1; }; }
25049 cat >conftest.$ac_ext <<_ACEOF
25050 /* confdefs.h. */
25051 _ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h. */
25056 /* Override any gcc2 internal prototype to avoid an error. */
25057 #ifdef __cplusplus
25058 extern "C"
25059 #endif
25060 /* We use char because int might match the return type of a gcc2
25061 builtin and then its argument prototype would still apply. */
25062 char log10 ();
25064 main ()
25066 log10 ();
25068 return 0;
25070 _ACEOF
25071 rm -f conftest.$ac_objext conftest$ac_exeext
25072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25073 (eval $ac_link) 2>conftest.er1
25074 ac_status=$?
25075 grep -v '^ *+' conftest.er1 >conftest.err
25076 rm -f conftest.er1
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } &&
25080 { ac_try='test -z "$ac_c_werror_flag"
25081 || test ! -s conftest.err'
25082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25083 (eval $ac_try) 2>&5
25084 ac_status=$?
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); }; } &&
25087 { ac_try='test -s conftest$ac_exeext'
25088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25089 (eval $ac_try) 2>&5
25090 ac_status=$?
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); }; }; then
25093 ac_cv_lib_m_log10=yes
25094 else
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25098 ac_cv_lib_m_log10=no
25100 rm -f conftest.err conftest.$ac_objext \
25101 conftest$ac_exeext conftest.$ac_ext
25102 LIBS=$ac_check_lib_save_LIBS
25104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25105 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25106 if test $ac_cv_lib_m_log10 = yes; then
25108 cat >>confdefs.h <<\_ACEOF
25109 #define HAVE_LOG10 1
25110 _ACEOF
25114 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25115 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25116 if test "${ac_cv_lib_m_log10l+set}" = set; then
25117 echo $ECHO_N "(cached) $ECHO_C" >&6
25118 else
25119 ac_check_lib_save_LIBS=$LIBS
25120 LIBS="-lm $LIBS"
25121 if test x$gcc_no_link = xyes; then
25122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25124 { (exit 1); exit 1; }; }
25126 cat >conftest.$ac_ext <<_ACEOF
25127 /* confdefs.h. */
25128 _ACEOF
25129 cat confdefs.h >>conftest.$ac_ext
25130 cat >>conftest.$ac_ext <<_ACEOF
25131 /* end confdefs.h. */
25133 /* Override any gcc2 internal prototype to avoid an error. */
25134 #ifdef __cplusplus
25135 extern "C"
25136 #endif
25137 /* We use char because int might match the return type of a gcc2
25138 builtin and then its argument prototype would still apply. */
25139 char log10l ();
25141 main ()
25143 log10l ();
25145 return 0;
25147 _ACEOF
25148 rm -f conftest.$ac_objext conftest$ac_exeext
25149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25150 (eval $ac_link) 2>conftest.er1
25151 ac_status=$?
25152 grep -v '^ *+' conftest.er1 >conftest.err
25153 rm -f conftest.er1
25154 cat conftest.err >&5
25155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156 (exit $ac_status); } &&
25157 { ac_try='test -z "$ac_c_werror_flag"
25158 || test ! -s conftest.err'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25161 ac_status=$?
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; } &&
25164 { ac_try='test -s conftest$ac_exeext'
25165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25166 (eval $ac_try) 2>&5
25167 ac_status=$?
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); }; }; then
25170 ac_cv_lib_m_log10l=yes
25171 else
25172 echo "$as_me: failed program was:" >&5
25173 sed 's/^/| /' conftest.$ac_ext >&5
25175 ac_cv_lib_m_log10l=no
25177 rm -f conftest.err conftest.$ac_objext \
25178 conftest$ac_exeext conftest.$ac_ext
25179 LIBS=$ac_check_lib_save_LIBS
25181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25182 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25183 if test $ac_cv_lib_m_log10l = yes; then
25185 cat >>confdefs.h <<\_ACEOF
25186 #define HAVE_LOG10L 1
25187 _ACEOF
25191 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25192 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25193 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25194 echo $ECHO_N "(cached) $ECHO_C" >&6
25195 else
25196 ac_check_lib_save_LIBS=$LIBS
25197 LIBS="-lm $LIBS"
25198 if test x$gcc_no_link = xyes; then
25199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25201 { (exit 1); exit 1; }; }
25203 cat >conftest.$ac_ext <<_ACEOF
25204 /* confdefs.h. */
25205 _ACEOF
25206 cat confdefs.h >>conftest.$ac_ext
25207 cat >>conftest.$ac_ext <<_ACEOF
25208 /* end confdefs.h. */
25210 /* Override any gcc2 internal prototype to avoid an error. */
25211 #ifdef __cplusplus
25212 extern "C"
25213 #endif
25214 /* We use char because int might match the return type of a gcc2
25215 builtin and then its argument prototype would still apply. */
25216 char clog10f ();
25218 main ()
25220 clog10f ();
25222 return 0;
25224 _ACEOF
25225 rm -f conftest.$ac_objext conftest$ac_exeext
25226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25227 (eval $ac_link) 2>conftest.er1
25228 ac_status=$?
25229 grep -v '^ *+' conftest.er1 >conftest.err
25230 rm -f conftest.er1
25231 cat conftest.err >&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try='test -z "$ac_c_werror_flag"
25235 || test ! -s conftest.err'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25238 ac_status=$?
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; } &&
25241 { ac_try='test -s conftest$ac_exeext'
25242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25243 (eval $ac_try) 2>&5
25244 ac_status=$?
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); }; }; then
25247 ac_cv_lib_m_clog10f=yes
25248 else
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25252 ac_cv_lib_m_clog10f=no
25254 rm -f conftest.err conftest.$ac_objext \
25255 conftest$ac_exeext conftest.$ac_ext
25256 LIBS=$ac_check_lib_save_LIBS
25258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25259 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25260 if test $ac_cv_lib_m_clog10f = yes; then
25262 cat >>confdefs.h <<\_ACEOF
25263 #define HAVE_CLOG10F 1
25264 _ACEOF
25268 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25269 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25270 if test "${ac_cv_lib_m_clog10+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273 ac_check_lib_save_LIBS=$LIBS
25274 LIBS="-lm $LIBS"
25275 if test x$gcc_no_link = xyes; then
25276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25278 { (exit 1); exit 1; }; }
25280 cat >conftest.$ac_ext <<_ACEOF
25281 /* confdefs.h. */
25282 _ACEOF
25283 cat confdefs.h >>conftest.$ac_ext
25284 cat >>conftest.$ac_ext <<_ACEOF
25285 /* end confdefs.h. */
25287 /* Override any gcc2 internal prototype to avoid an error. */
25288 #ifdef __cplusplus
25289 extern "C"
25290 #endif
25291 /* We use char because int might match the return type of a gcc2
25292 builtin and then its argument prototype would still apply. */
25293 char clog10 ();
25295 main ()
25297 clog10 ();
25299 return 0;
25301 _ACEOF
25302 rm -f conftest.$ac_objext conftest$ac_exeext
25303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304 (eval $ac_link) 2>conftest.er1
25305 ac_status=$?
25306 grep -v '^ *+' conftest.er1 >conftest.err
25307 rm -f conftest.er1
25308 cat conftest.err >&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); } &&
25311 { ac_try='test -z "$ac_c_werror_flag"
25312 || test ! -s conftest.err'
25313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25314 (eval $ac_try) 2>&5
25315 ac_status=$?
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); }; } &&
25318 { ac_try='test -s conftest$ac_exeext'
25319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25320 (eval $ac_try) 2>&5
25321 ac_status=$?
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); }; }; then
25324 ac_cv_lib_m_clog10=yes
25325 else
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.$ac_ext >&5
25329 ac_cv_lib_m_clog10=no
25331 rm -f conftest.err conftest.$ac_objext \
25332 conftest$ac_exeext conftest.$ac_ext
25333 LIBS=$ac_check_lib_save_LIBS
25335 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25336 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25337 if test $ac_cv_lib_m_clog10 = yes; then
25339 cat >>confdefs.h <<\_ACEOF
25340 #define HAVE_CLOG10 1
25341 _ACEOF
25345 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25346 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25347 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350 ac_check_lib_save_LIBS=$LIBS
25351 LIBS="-lm $LIBS"
25352 if test x$gcc_no_link = xyes; then
25353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25355 { (exit 1); exit 1; }; }
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25364 /* Override any gcc2 internal prototype to avoid an error. */
25365 #ifdef __cplusplus
25366 extern "C"
25367 #endif
25368 /* We use char because int might match the return type of a gcc2
25369 builtin and then its argument prototype would still apply. */
25370 char clog10l ();
25372 main ()
25374 clog10l ();
25376 return 0;
25378 _ACEOF
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25381 (eval $ac_link) 2>conftest.er1
25382 ac_status=$?
25383 grep -v '^ *+' conftest.er1 >conftest.err
25384 rm -f conftest.er1
25385 cat conftest.err >&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); } &&
25388 { ac_try='test -z "$ac_c_werror_flag"
25389 || test ! -s conftest.err'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25392 ac_status=$?
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; } &&
25395 { ac_try='test -s conftest$ac_exeext'
25396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397 (eval $ac_try) 2>&5
25398 ac_status=$?
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; }; then
25401 ac_cv_lib_m_clog10l=yes
25402 else
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25406 ac_cv_lib_m_clog10l=no
25408 rm -f conftest.err conftest.$ac_objext \
25409 conftest$ac_exeext conftest.$ac_ext
25410 LIBS=$ac_check_lib_save_LIBS
25412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25413 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25414 if test $ac_cv_lib_m_clog10l = yes; then
25416 cat >>confdefs.h <<\_ACEOF
25417 #define HAVE_CLOG10L 1
25418 _ACEOF
25422 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25423 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25424 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427 ac_check_lib_save_LIBS=$LIBS
25428 LIBS="-lm $LIBS"
25429 if test x$gcc_no_link = xyes; then
25430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25432 { (exit 1); exit 1; }; }
25434 cat >conftest.$ac_ext <<_ACEOF
25435 /* confdefs.h. */
25436 _ACEOF
25437 cat confdefs.h >>conftest.$ac_ext
25438 cat >>conftest.$ac_ext <<_ACEOF
25439 /* end confdefs.h. */
25441 /* Override any gcc2 internal prototype to avoid an error. */
25442 #ifdef __cplusplus
25443 extern "C"
25444 #endif
25445 /* We use char because int might match the return type of a gcc2
25446 builtin and then its argument prototype would still apply. */
25447 char nextafterf ();
25449 main ()
25451 nextafterf ();
25453 return 0;
25455 _ACEOF
25456 rm -f conftest.$ac_objext conftest$ac_exeext
25457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25458 (eval $ac_link) 2>conftest.er1
25459 ac_status=$?
25460 grep -v '^ *+' conftest.er1 >conftest.err
25461 rm -f conftest.er1
25462 cat conftest.err >&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } &&
25465 { ac_try='test -z "$ac_c_werror_flag"
25466 || test ! -s conftest.err'
25467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468 (eval $ac_try) 2>&5
25469 ac_status=$?
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); }; } &&
25472 { ac_try='test -s conftest$ac_exeext'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25475 ac_status=$?
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; }; then
25478 ac_cv_lib_m_nextafterf=yes
25479 else
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25483 ac_cv_lib_m_nextafterf=no
25485 rm -f conftest.err conftest.$ac_objext \
25486 conftest$ac_exeext conftest.$ac_ext
25487 LIBS=$ac_check_lib_save_LIBS
25489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25490 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25491 if test $ac_cv_lib_m_nextafterf = yes; then
25493 cat >>confdefs.h <<\_ACEOF
25494 #define HAVE_NEXTAFTERF 1
25495 _ACEOF
25499 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25500 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25501 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25502 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 else
25504 ac_check_lib_save_LIBS=$LIBS
25505 LIBS="-lm $LIBS"
25506 if test x$gcc_no_link = xyes; then
25507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25509 { (exit 1); exit 1; }; }
25511 cat >conftest.$ac_ext <<_ACEOF
25512 /* confdefs.h. */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25518 /* Override any gcc2 internal prototype to avoid an error. */
25519 #ifdef __cplusplus
25520 extern "C"
25521 #endif
25522 /* We use char because int might match the return type of a gcc2
25523 builtin and then its argument prototype would still apply. */
25524 char nextafter ();
25526 main ()
25528 nextafter ();
25530 return 0;
25532 _ACEOF
25533 rm -f conftest.$ac_objext conftest$ac_exeext
25534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25535 (eval $ac_link) 2>conftest.er1
25536 ac_status=$?
25537 grep -v '^ *+' conftest.er1 >conftest.err
25538 rm -f conftest.er1
25539 cat conftest.err >&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } &&
25542 { ac_try='test -z "$ac_c_werror_flag"
25543 || test ! -s conftest.err'
25544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545 (eval $ac_try) 2>&5
25546 ac_status=$?
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); }; } &&
25549 { ac_try='test -s conftest$ac_exeext'
25550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551 (eval $ac_try) 2>&5
25552 ac_status=$?
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); }; }; then
25555 ac_cv_lib_m_nextafter=yes
25556 else
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25560 ac_cv_lib_m_nextafter=no
25562 rm -f conftest.err conftest.$ac_objext \
25563 conftest$ac_exeext conftest.$ac_ext
25564 LIBS=$ac_check_lib_save_LIBS
25566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25567 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25568 if test $ac_cv_lib_m_nextafter = yes; then
25570 cat >>confdefs.h <<\_ACEOF
25571 #define HAVE_NEXTAFTER 1
25572 _ACEOF
25576 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25577 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25578 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581 ac_check_lib_save_LIBS=$LIBS
25582 LIBS="-lm $LIBS"
25583 if test x$gcc_no_link = xyes; then
25584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25586 { (exit 1); exit 1; }; }
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h. */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25595 /* Override any gcc2 internal prototype to avoid an error. */
25596 #ifdef __cplusplus
25597 extern "C"
25598 #endif
25599 /* We use char because int might match the return type of a gcc2
25600 builtin and then its argument prototype would still apply. */
25601 char nextafterl ();
25603 main ()
25605 nextafterl ();
25607 return 0;
25609 _ACEOF
25610 rm -f conftest.$ac_objext conftest$ac_exeext
25611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25612 (eval $ac_link) 2>conftest.er1
25613 ac_status=$?
25614 grep -v '^ *+' conftest.er1 >conftest.err
25615 rm -f conftest.er1
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } &&
25619 { ac_try='test -z "$ac_c_werror_flag"
25620 || test ! -s conftest.err'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; } &&
25626 { ac_try='test -s conftest$ac_exeext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25629 ac_status=$?
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 ac_cv_lib_m_nextafterl=yes
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25637 ac_cv_lib_m_nextafterl=no
25639 rm -f conftest.err conftest.$ac_objext \
25640 conftest$ac_exeext conftest.$ac_ext
25641 LIBS=$ac_check_lib_save_LIBS
25643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25644 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25645 if test $ac_cv_lib_m_nextafterl = yes; then
25647 cat >>confdefs.h <<\_ACEOF
25648 #define HAVE_NEXTAFTERL 1
25649 _ACEOF
25653 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25654 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25655 if test "${ac_cv_lib_m_powf+set}" = set; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658 ac_check_lib_save_LIBS=$LIBS
25659 LIBS="-lm $LIBS"
25660 if test x$gcc_no_link = xyes; then
25661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25663 { (exit 1); exit 1; }; }
25665 cat >conftest.$ac_ext <<_ACEOF
25666 /* confdefs.h. */
25667 _ACEOF
25668 cat confdefs.h >>conftest.$ac_ext
25669 cat >>conftest.$ac_ext <<_ACEOF
25670 /* end confdefs.h. */
25672 /* Override any gcc2 internal prototype to avoid an error. */
25673 #ifdef __cplusplus
25674 extern "C"
25675 #endif
25676 /* We use char because int might match the return type of a gcc2
25677 builtin and then its argument prototype would still apply. */
25678 char powf ();
25680 main ()
25682 powf ();
25684 return 0;
25686 _ACEOF
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689 (eval $ac_link) 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try='test -z "$ac_c_werror_flag"
25697 || test ! -s conftest.err'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; } &&
25703 { ac_try='test -s conftest$ac_exeext'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 ac_cv_lib_m_powf=yes
25710 else
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25714 ac_cv_lib_m_powf=no
25716 rm -f conftest.err conftest.$ac_objext \
25717 conftest$ac_exeext conftest.$ac_ext
25718 LIBS=$ac_check_lib_save_LIBS
25720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25721 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25722 if test $ac_cv_lib_m_powf = yes; then
25724 cat >>confdefs.h <<\_ACEOF
25725 #define HAVE_POWF 1
25726 _ACEOF
25730 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25731 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25732 if test "${ac_cv_lib_m_pow+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735 ac_check_lib_save_LIBS=$LIBS
25736 LIBS="-lm $LIBS"
25737 if test x$gcc_no_link = xyes; then
25738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25740 { (exit 1); exit 1; }; }
25742 cat >conftest.$ac_ext <<_ACEOF
25743 /* confdefs.h. */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25749 /* Override any gcc2 internal prototype to avoid an error. */
25750 #ifdef __cplusplus
25751 extern "C"
25752 #endif
25753 /* We use char because int might match the return type of a gcc2
25754 builtin and then its argument prototype would still apply. */
25755 char pow ();
25757 main ()
25759 pow ();
25761 return 0;
25763 _ACEOF
25764 rm -f conftest.$ac_objext conftest$ac_exeext
25765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25766 (eval $ac_link) 2>conftest.er1
25767 ac_status=$?
25768 grep -v '^ *+' conftest.er1 >conftest.err
25769 rm -f conftest.er1
25770 cat conftest.err >&5
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); } &&
25773 { ac_try='test -z "$ac_c_werror_flag"
25774 || test ! -s conftest.err'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25777 ac_status=$?
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; } &&
25780 { ac_try='test -s conftest$ac_exeext'
25781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782 (eval $ac_try) 2>&5
25783 ac_status=$?
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); }; }; then
25786 ac_cv_lib_m_pow=yes
25787 else
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.$ac_ext >&5
25791 ac_cv_lib_m_pow=no
25793 rm -f conftest.err conftest.$ac_objext \
25794 conftest$ac_exeext conftest.$ac_ext
25795 LIBS=$ac_check_lib_save_LIBS
25797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25798 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25799 if test $ac_cv_lib_m_pow = yes; then
25801 cat >>confdefs.h <<\_ACEOF
25802 #define HAVE_POW 1
25803 _ACEOF
25807 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25808 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25809 if test "${ac_cv_lib_m_powl+set}" = set; then
25810 echo $ECHO_N "(cached) $ECHO_C" >&6
25811 else
25812 ac_check_lib_save_LIBS=$LIBS
25813 LIBS="-lm $LIBS"
25814 if test x$gcc_no_link = xyes; then
25815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25817 { (exit 1); exit 1; }; }
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h. */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25826 /* Override any gcc2 internal prototype to avoid an error. */
25827 #ifdef __cplusplus
25828 extern "C"
25829 #endif
25830 /* We use char because int might match the return type of a gcc2
25831 builtin and then its argument prototype would still apply. */
25832 char powl ();
25834 main ()
25836 powl ();
25838 return 0;
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25843 (eval $ac_link) 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } &&
25850 { ac_try='test -z "$ac_c_werror_flag"
25851 || test ! -s conftest.err'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; } &&
25857 { ac_try='test -s conftest$ac_exeext'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; }; then
25863 ac_cv_lib_m_powl=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25868 ac_cv_lib_m_powl=no
25870 rm -f conftest.err conftest.$ac_objext \
25871 conftest$ac_exeext conftest.$ac_ext
25872 LIBS=$ac_check_lib_save_LIBS
25874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25875 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25876 if test $ac_cv_lib_m_powl = yes; then
25878 cat >>confdefs.h <<\_ACEOF
25879 #define HAVE_POWL 1
25880 _ACEOF
25884 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25885 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25886 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25887 echo $ECHO_N "(cached) $ECHO_C" >&6
25888 else
25889 ac_check_lib_save_LIBS=$LIBS
25890 LIBS="-lm $LIBS"
25891 if test x$gcc_no_link = xyes; then
25892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25894 { (exit 1); exit 1; }; }
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25903 /* Override any gcc2 internal prototype to avoid an error. */
25904 #ifdef __cplusplus
25905 extern "C"
25906 #endif
25907 /* We use char because int might match the return type of a gcc2
25908 builtin and then its argument prototype would still apply. */
25909 char cpowf ();
25911 main ()
25913 cpowf ();
25915 return 0;
25917 _ACEOF
25918 rm -f conftest.$ac_objext conftest$ac_exeext
25919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25920 (eval $ac_link) 2>conftest.er1
25921 ac_status=$?
25922 grep -v '^ *+' conftest.er1 >conftest.err
25923 rm -f conftest.er1
25924 cat conftest.err >&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try='test -z "$ac_c_werror_flag"
25928 || test ! -s conftest.err'
25929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25930 (eval $ac_try) 2>&5
25931 ac_status=$?
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); }; } &&
25934 { ac_try='test -s conftest$ac_exeext'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; }; then
25940 ac_cv_lib_m_cpowf=yes
25941 else
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25945 ac_cv_lib_m_cpowf=no
25947 rm -f conftest.err conftest.$ac_objext \
25948 conftest$ac_exeext conftest.$ac_ext
25949 LIBS=$ac_check_lib_save_LIBS
25951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25952 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25953 if test $ac_cv_lib_m_cpowf = yes; then
25955 cat >>confdefs.h <<\_ACEOF
25956 #define HAVE_CPOWF 1
25957 _ACEOF
25961 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25962 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25963 if test "${ac_cv_lib_m_cpow+set}" = set; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 else
25966 ac_check_lib_save_LIBS=$LIBS
25967 LIBS="-lm $LIBS"
25968 if test x$gcc_no_link = xyes; then
25969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25971 { (exit 1); exit 1; }; }
25973 cat >conftest.$ac_ext <<_ACEOF
25974 /* confdefs.h. */
25975 _ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h. */
25980 /* Override any gcc2 internal prototype to avoid an error. */
25981 #ifdef __cplusplus
25982 extern "C"
25983 #endif
25984 /* We use char because int might match the return type of a gcc2
25985 builtin and then its argument prototype would still apply. */
25986 char cpow ();
25988 main ()
25990 cpow ();
25992 return 0;
25994 _ACEOF
25995 rm -f conftest.$ac_objext conftest$ac_exeext
25996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25997 (eval $ac_link) 2>conftest.er1
25998 ac_status=$?
25999 grep -v '^ *+' conftest.er1 >conftest.err
26000 rm -f conftest.er1
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } &&
26004 { ac_try='test -z "$ac_c_werror_flag"
26005 || test ! -s conftest.err'
26006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007 (eval $ac_try) 2>&5
26008 ac_status=$?
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); }; } &&
26011 { ac_try='test -s conftest$ac_exeext'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; }; then
26017 ac_cv_lib_m_cpow=yes
26018 else
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26022 ac_cv_lib_m_cpow=no
26024 rm -f conftest.err conftest.$ac_objext \
26025 conftest$ac_exeext conftest.$ac_ext
26026 LIBS=$ac_check_lib_save_LIBS
26028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26029 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26030 if test $ac_cv_lib_m_cpow = yes; then
26032 cat >>confdefs.h <<\_ACEOF
26033 #define HAVE_CPOW 1
26034 _ACEOF
26038 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26039 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26040 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042 else
26043 ac_check_lib_save_LIBS=$LIBS
26044 LIBS="-lm $LIBS"
26045 if test x$gcc_no_link = xyes; then
26046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26048 { (exit 1); exit 1; }; }
26050 cat >conftest.$ac_ext <<_ACEOF
26051 /* confdefs.h. */
26052 _ACEOF
26053 cat confdefs.h >>conftest.$ac_ext
26054 cat >>conftest.$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26057 /* Override any gcc2 internal prototype to avoid an error. */
26058 #ifdef __cplusplus
26059 extern "C"
26060 #endif
26061 /* We use char because int might match the return type of a gcc2
26062 builtin and then its argument prototype would still apply. */
26063 char cpowl ();
26065 main ()
26067 cpowl ();
26069 return 0;
26071 _ACEOF
26072 rm -f conftest.$ac_objext conftest$ac_exeext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074 (eval $ac_link) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_c_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_lib_m_cpowl=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26099 ac_cv_lib_m_cpowl=no
26101 rm -f conftest.err conftest.$ac_objext \
26102 conftest$ac_exeext conftest.$ac_ext
26103 LIBS=$ac_check_lib_save_LIBS
26105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26106 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26107 if test $ac_cv_lib_m_cpowl = yes; then
26109 cat >>confdefs.h <<\_ACEOF
26110 #define HAVE_CPOWL 1
26111 _ACEOF
26115 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26116 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26117 if test "${ac_cv_lib_m_roundf+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 else
26120 ac_check_lib_save_LIBS=$LIBS
26121 LIBS="-lm $LIBS"
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26134 /* Override any gcc2 internal prototype to avoid an error. */
26135 #ifdef __cplusplus
26136 extern "C"
26137 #endif
26138 /* We use char because int might match the return type of a gcc2
26139 builtin and then its argument prototype would still apply. */
26140 char roundf ();
26142 main ()
26144 roundf ();
26146 return 0;
26148 _ACEOF
26149 rm -f conftest.$ac_objext conftest$ac_exeext
26150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26151 (eval $ac_link) 2>conftest.er1
26152 ac_status=$?
26153 grep -v '^ *+' conftest.er1 >conftest.err
26154 rm -f conftest.er1
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try='test -z "$ac_c_werror_flag"
26159 || test ! -s conftest.err'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26162 ac_status=$?
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; } &&
26165 { ac_try='test -s conftest$ac_exeext'
26166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26167 (eval $ac_try) 2>&5
26168 ac_status=$?
26169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170 (exit $ac_status); }; }; then
26171 ac_cv_lib_m_roundf=yes
26172 else
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26176 ac_cv_lib_m_roundf=no
26178 rm -f conftest.err conftest.$ac_objext \
26179 conftest$ac_exeext conftest.$ac_ext
26180 LIBS=$ac_check_lib_save_LIBS
26182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26183 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26184 if test $ac_cv_lib_m_roundf = yes; then
26186 cat >>confdefs.h <<\_ACEOF
26187 #define HAVE_ROUNDF 1
26188 _ACEOF
26192 echo "$as_me:$LINENO: checking for round in -lm" >&5
26193 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26194 if test "${ac_cv_lib_m_round+set}" = set; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 else
26197 ac_check_lib_save_LIBS=$LIBS
26198 LIBS="-lm $LIBS"
26199 if test x$gcc_no_link = xyes; then
26200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26202 { (exit 1); exit 1; }; }
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26211 /* Override any gcc2 internal prototype to avoid an error. */
26212 #ifdef __cplusplus
26213 extern "C"
26214 #endif
26215 /* We use char because int might match the return type of a gcc2
26216 builtin and then its argument prototype would still apply. */
26217 char round ();
26219 main ()
26221 round ();
26223 return 0;
26225 _ACEOF
26226 rm -f conftest.$ac_objext conftest$ac_exeext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26228 (eval $ac_link) 2>conftest.er1
26229 ac_status=$?
26230 grep -v '^ *+' conftest.er1 >conftest.err
26231 rm -f conftest.er1
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_c_werror_flag"
26236 || test ! -s conftest.err'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; } &&
26242 { ac_try='test -s conftest$ac_exeext'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; }; then
26248 ac_cv_lib_m_round=yes
26249 else
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26253 ac_cv_lib_m_round=no
26255 rm -f conftest.err conftest.$ac_objext \
26256 conftest$ac_exeext conftest.$ac_ext
26257 LIBS=$ac_check_lib_save_LIBS
26259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26260 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26261 if test $ac_cv_lib_m_round = yes; then
26263 cat >>confdefs.h <<\_ACEOF
26264 #define HAVE_ROUND 1
26265 _ACEOF
26269 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26270 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26271 if test "${ac_cv_lib_m_roundl+set}" = set; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 else
26274 ac_check_lib_save_LIBS=$LIBS
26275 LIBS="-lm $LIBS"
26276 if test x$gcc_no_link = xyes; then
26277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26279 { (exit 1); exit 1; }; }
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h. */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26288 /* Override any gcc2 internal prototype to avoid an error. */
26289 #ifdef __cplusplus
26290 extern "C"
26291 #endif
26292 /* We use char because int might match the return type of a gcc2
26293 builtin and then its argument prototype would still apply. */
26294 char roundl ();
26296 main ()
26298 roundl ();
26300 return 0;
26302 _ACEOF
26303 rm -f conftest.$ac_objext conftest$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305 (eval $ac_link) 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try='test -z "$ac_c_werror_flag"
26313 || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try='test -s conftest$ac_exeext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_cv_lib_m_roundl=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26330 ac_cv_lib_m_roundl=no
26332 rm -f conftest.err conftest.$ac_objext \
26333 conftest$ac_exeext conftest.$ac_ext
26334 LIBS=$ac_check_lib_save_LIBS
26336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26337 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26338 if test $ac_cv_lib_m_roundl = yes; then
26340 cat >>confdefs.h <<\_ACEOF
26341 #define HAVE_ROUNDL 1
26342 _ACEOF
26346 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26347 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26348 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351 ac_check_lib_save_LIBS=$LIBS
26352 LIBS="-lm $LIBS"
26353 if test x$gcc_no_link = xyes; then
26354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26356 { (exit 1); exit 1; }; }
26358 cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h. */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26365 /* Override any gcc2 internal prototype to avoid an error. */
26366 #ifdef __cplusplus
26367 extern "C"
26368 #endif
26369 /* We use char because int might match the return type of a gcc2
26370 builtin and then its argument prototype would still apply. */
26371 char lroundf ();
26373 main ()
26375 lroundf ();
26377 return 0;
26379 _ACEOF
26380 rm -f conftest.$ac_objext conftest$ac_exeext
26381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26382 (eval $ac_link) 2>conftest.er1
26383 ac_status=$?
26384 grep -v '^ *+' conftest.er1 >conftest.err
26385 rm -f conftest.er1
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } &&
26389 { ac_try='test -z "$ac_c_werror_flag"
26390 || test ! -s conftest.err'
26391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26392 (eval $ac_try) 2>&5
26393 ac_status=$?
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); }; } &&
26396 { ac_try='test -s conftest$ac_exeext'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 ac_cv_lib_m_lroundf=yes
26403 else
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26407 ac_cv_lib_m_lroundf=no
26409 rm -f conftest.err conftest.$ac_objext \
26410 conftest$ac_exeext conftest.$ac_ext
26411 LIBS=$ac_check_lib_save_LIBS
26413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26414 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26415 if test $ac_cv_lib_m_lroundf = yes; then
26417 cat >>confdefs.h <<\_ACEOF
26418 #define HAVE_LROUNDF 1
26419 _ACEOF
26423 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26424 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26425 if test "${ac_cv_lib_m_lround+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26427 else
26428 ac_check_lib_save_LIBS=$LIBS
26429 LIBS="-lm $LIBS"
26430 if test x$gcc_no_link = xyes; then
26431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26433 { (exit 1); exit 1; }; }
26435 cat >conftest.$ac_ext <<_ACEOF
26436 /* confdefs.h. */
26437 _ACEOF
26438 cat confdefs.h >>conftest.$ac_ext
26439 cat >>conftest.$ac_ext <<_ACEOF
26440 /* end confdefs.h. */
26442 /* Override any gcc2 internal prototype to avoid an error. */
26443 #ifdef __cplusplus
26444 extern "C"
26445 #endif
26446 /* We use char because int might match the return type of a gcc2
26447 builtin and then its argument prototype would still apply. */
26448 char lround ();
26450 main ()
26452 lround ();
26454 return 0;
26456 _ACEOF
26457 rm -f conftest.$ac_objext conftest$ac_exeext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26459 (eval $ac_link) 2>conftest.er1
26460 ac_status=$?
26461 grep -v '^ *+' conftest.er1 >conftest.err
26462 rm -f conftest.er1
26463 cat conftest.err >&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try='test -z "$ac_c_werror_flag"
26467 || test ! -s conftest.err'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26470 ac_status=$?
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; } &&
26473 { ac_try='test -s conftest$ac_exeext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26476 ac_status=$?
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 ac_cv_lib_m_lround=yes
26480 else
26481 echo "$as_me: failed program was:" >&5
26482 sed 's/^/| /' conftest.$ac_ext >&5
26484 ac_cv_lib_m_lround=no
26486 rm -f conftest.err conftest.$ac_objext \
26487 conftest$ac_exeext conftest.$ac_ext
26488 LIBS=$ac_check_lib_save_LIBS
26490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26491 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26492 if test $ac_cv_lib_m_lround = yes; then
26494 cat >>confdefs.h <<\_ACEOF
26495 #define HAVE_LROUND 1
26496 _ACEOF
26500 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26501 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26502 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505 ac_check_lib_save_LIBS=$LIBS
26506 LIBS="-lm $LIBS"
26507 if test x$gcc_no_link = xyes; then
26508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26510 { (exit 1); exit 1; }; }
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26519 /* Override any gcc2 internal prototype to avoid an error. */
26520 #ifdef __cplusplus
26521 extern "C"
26522 #endif
26523 /* We use char because int might match the return type of a gcc2
26524 builtin and then its argument prototype would still apply. */
26525 char lroundl ();
26527 main ()
26529 lroundl ();
26531 return 0;
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try='test -z "$ac_c_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_cv_lib_m_lroundl=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26561 ac_cv_lib_m_lroundl=no
26563 rm -f conftest.err conftest.$ac_objext \
26564 conftest$ac_exeext conftest.$ac_ext
26565 LIBS=$ac_check_lib_save_LIBS
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26568 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26569 if test $ac_cv_lib_m_lroundl = yes; then
26571 cat >>confdefs.h <<\_ACEOF
26572 #define HAVE_LROUNDL 1
26573 _ACEOF
26577 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26578 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26579 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26580 echo $ECHO_N "(cached) $ECHO_C" >&6
26581 else
26582 ac_check_lib_save_LIBS=$LIBS
26583 LIBS="-lm $LIBS"
26584 if test x$gcc_no_link = xyes; then
26585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26587 { (exit 1); exit 1; }; }
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26596 /* Override any gcc2 internal prototype to avoid an error. */
26597 #ifdef __cplusplus
26598 extern "C"
26599 #endif
26600 /* We use char because int might match the return type of a gcc2
26601 builtin and then its argument prototype would still apply. */
26602 char llroundf ();
26604 main ()
26606 llroundf ();
26608 return 0;
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26613 (eval $ac_link) 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } &&
26620 { ac_try='test -z "$ac_c_werror_flag"
26621 || test ! -s conftest.err'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26624 ac_status=$?
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; } &&
26627 { ac_try='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26630 ac_status=$?
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 ac_cv_lib_m_llroundf=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_cv_lib_m_llroundf=no
26640 rm -f conftest.err conftest.$ac_objext \
26641 conftest$ac_exeext conftest.$ac_ext
26642 LIBS=$ac_check_lib_save_LIBS
26644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26645 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26646 if test $ac_cv_lib_m_llroundf = yes; then
26648 cat >>confdefs.h <<\_ACEOF
26649 #define HAVE_LLROUNDF 1
26650 _ACEOF
26654 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26655 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26656 if test "${ac_cv_lib_m_llround+set}" = set; then
26657 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 else
26659 ac_check_lib_save_LIBS=$LIBS
26660 LIBS="-lm $LIBS"
26661 if test x$gcc_no_link = xyes; then
26662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26664 { (exit 1); exit 1; }; }
26666 cat >conftest.$ac_ext <<_ACEOF
26667 /* confdefs.h. */
26668 _ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26673 /* Override any gcc2 internal prototype to avoid an error. */
26674 #ifdef __cplusplus
26675 extern "C"
26676 #endif
26677 /* We use char because int might match the return type of a gcc2
26678 builtin and then its argument prototype would still apply. */
26679 char llround ();
26681 main ()
26683 llround ();
26685 return 0;
26687 _ACEOF
26688 rm -f conftest.$ac_objext conftest$ac_exeext
26689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26690 (eval $ac_link) 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } &&
26697 { ac_try='test -z "$ac_c_werror_flag"
26698 || test ! -s conftest.err'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; } &&
26704 { ac_try='test -s conftest$ac_exeext'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 ac_cv_lib_m_llround=yes
26711 else
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26715 ac_cv_lib_m_llround=no
26717 rm -f conftest.err conftest.$ac_objext \
26718 conftest$ac_exeext conftest.$ac_ext
26719 LIBS=$ac_check_lib_save_LIBS
26721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26722 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26723 if test $ac_cv_lib_m_llround = yes; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_LLROUND 1
26727 _ACEOF
26731 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26732 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26733 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26736 ac_check_lib_save_LIBS=$LIBS
26737 LIBS="-lm $LIBS"
26738 if test x$gcc_no_link = xyes; then
26739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26741 { (exit 1); exit 1; }; }
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h. */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26750 /* Override any gcc2 internal prototype to avoid an error. */
26751 #ifdef __cplusplus
26752 extern "C"
26753 #endif
26754 /* We use char because int might match the return type of a gcc2
26755 builtin and then its argument prototype would still apply. */
26756 char llroundl ();
26758 main ()
26760 llroundl ();
26762 return 0;
26764 _ACEOF
26765 rm -f conftest.$ac_objext conftest$ac_exeext
26766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26767 (eval $ac_link) 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } &&
26774 { ac_try='test -z "$ac_c_werror_flag"
26775 || test ! -s conftest.err'
26776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777 (eval $ac_try) 2>&5
26778 ac_status=$?
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try='test -s conftest$ac_exeext'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26784 ac_status=$?
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; }; then
26787 ac_cv_lib_m_llroundl=yes
26788 else
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26792 ac_cv_lib_m_llroundl=no
26794 rm -f conftest.err conftest.$ac_objext \
26795 conftest$ac_exeext conftest.$ac_ext
26796 LIBS=$ac_check_lib_save_LIBS
26798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26799 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26800 if test $ac_cv_lib_m_llroundl = yes; then
26802 cat >>confdefs.h <<\_ACEOF
26803 #define HAVE_LLROUNDL 1
26804 _ACEOF
26808 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26809 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26810 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26813 ac_check_lib_save_LIBS=$LIBS
26814 LIBS="-lm $LIBS"
26815 if test x$gcc_no_link = xyes; then
26816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26818 { (exit 1); exit 1; }; }
26820 cat >conftest.$ac_ext <<_ACEOF
26821 /* confdefs.h. */
26822 _ACEOF
26823 cat confdefs.h >>conftest.$ac_ext
26824 cat >>conftest.$ac_ext <<_ACEOF
26825 /* end confdefs.h. */
26827 /* Override any gcc2 internal prototype to avoid an error. */
26828 #ifdef __cplusplus
26829 extern "C"
26830 #endif
26831 /* We use char because int might match the return type of a gcc2
26832 builtin and then its argument prototype would still apply. */
26833 char scalbnf ();
26835 main ()
26837 scalbnf ();
26839 return 0;
26841 _ACEOF
26842 rm -f conftest.$ac_objext conftest$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844 (eval $ac_link) 2>conftest.er1
26845 ac_status=$?
26846 grep -v '^ *+' conftest.er1 >conftest.err
26847 rm -f conftest.er1
26848 cat conftest.err >&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } &&
26851 { ac_try='test -z "$ac_c_werror_flag"
26852 || test ! -s conftest.err'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; } &&
26858 { ac_try='test -s conftest$ac_exeext'
26859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860 (eval $ac_try) 2>&5
26861 ac_status=$?
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); }; }; then
26864 ac_cv_lib_m_scalbnf=yes
26865 else
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.$ac_ext >&5
26869 ac_cv_lib_m_scalbnf=no
26871 rm -f conftest.err conftest.$ac_objext \
26872 conftest$ac_exeext conftest.$ac_ext
26873 LIBS=$ac_check_lib_save_LIBS
26875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26876 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26877 if test $ac_cv_lib_m_scalbnf = yes; then
26879 cat >>confdefs.h <<\_ACEOF
26880 #define HAVE_SCALBNF 1
26881 _ACEOF
26885 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26886 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26887 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890 ac_check_lib_save_LIBS=$LIBS
26891 LIBS="-lm $LIBS"
26892 if test x$gcc_no_link = xyes; then
26893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26895 { (exit 1); exit 1; }; }
26897 cat >conftest.$ac_ext <<_ACEOF
26898 /* confdefs.h. */
26899 _ACEOF
26900 cat confdefs.h >>conftest.$ac_ext
26901 cat >>conftest.$ac_ext <<_ACEOF
26902 /* end confdefs.h. */
26904 /* Override any gcc2 internal prototype to avoid an error. */
26905 #ifdef __cplusplus
26906 extern "C"
26907 #endif
26908 /* We use char because int might match the return type of a gcc2
26909 builtin and then its argument prototype would still apply. */
26910 char scalbn ();
26912 main ()
26914 scalbn ();
26916 return 0;
26918 _ACEOF
26919 rm -f conftest.$ac_objext conftest$ac_exeext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26921 (eval $ac_link) 2>conftest.er1
26922 ac_status=$?
26923 grep -v '^ *+' conftest.er1 >conftest.err
26924 rm -f conftest.er1
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -z "$ac_c_werror_flag"
26929 || test ! -s conftest.err'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; } &&
26935 { ac_try='test -s conftest$ac_exeext'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; }; then
26941 ac_cv_lib_m_scalbn=yes
26942 else
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26946 ac_cv_lib_m_scalbn=no
26948 rm -f conftest.err conftest.$ac_objext \
26949 conftest$ac_exeext conftest.$ac_ext
26950 LIBS=$ac_check_lib_save_LIBS
26952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26953 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26954 if test $ac_cv_lib_m_scalbn = yes; then
26956 cat >>confdefs.h <<\_ACEOF
26957 #define HAVE_SCALBN 1
26958 _ACEOF
26962 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26963 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26964 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26965 echo $ECHO_N "(cached) $ECHO_C" >&6
26966 else
26967 ac_check_lib_save_LIBS=$LIBS
26968 LIBS="-lm $LIBS"
26969 if test x$gcc_no_link = xyes; then
26970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26972 { (exit 1); exit 1; }; }
26974 cat >conftest.$ac_ext <<_ACEOF
26975 /* confdefs.h. */
26976 _ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26981 /* Override any gcc2 internal prototype to avoid an error. */
26982 #ifdef __cplusplus
26983 extern "C"
26984 #endif
26985 /* We use char because int might match the return type of a gcc2
26986 builtin and then its argument prototype would still apply. */
26987 char scalbnl ();
26989 main ()
26991 scalbnl ();
26993 return 0;
26995 _ACEOF
26996 rm -f conftest.$ac_objext conftest$ac_exeext
26997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26998 (eval $ac_link) 2>conftest.er1
26999 ac_status=$?
27000 grep -v '^ *+' conftest.er1 >conftest.err
27001 rm -f conftest.er1
27002 cat conftest.err >&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); } &&
27005 { ac_try='test -z "$ac_c_werror_flag"
27006 || test ! -s conftest.err'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27009 ac_status=$?
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; } &&
27012 { ac_try='test -s conftest$ac_exeext'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27015 ac_status=$?
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; }; then
27018 ac_cv_lib_m_scalbnl=yes
27019 else
27020 echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.$ac_ext >&5
27023 ac_cv_lib_m_scalbnl=no
27025 rm -f conftest.err conftest.$ac_objext \
27026 conftest$ac_exeext conftest.$ac_ext
27027 LIBS=$ac_check_lib_save_LIBS
27029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27030 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27031 if test $ac_cv_lib_m_scalbnl = yes; then
27033 cat >>confdefs.h <<\_ACEOF
27034 #define HAVE_SCALBNL 1
27035 _ACEOF
27039 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27040 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27041 if test "${ac_cv_lib_m_sinf+set}" = set; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 else
27044 ac_check_lib_save_LIBS=$LIBS
27045 LIBS="-lm $LIBS"
27046 if test x$gcc_no_link = xyes; then
27047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27049 { (exit 1); exit 1; }; }
27051 cat >conftest.$ac_ext <<_ACEOF
27052 /* confdefs.h. */
27053 _ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27058 /* Override any gcc2 internal prototype to avoid an error. */
27059 #ifdef __cplusplus
27060 extern "C"
27061 #endif
27062 /* We use char because int might match the return type of a gcc2
27063 builtin and then its argument prototype would still apply. */
27064 char sinf ();
27066 main ()
27068 sinf ();
27070 return 0;
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075 (eval $ac_link) 2>conftest.er1
27076 ac_status=$?
27077 grep -v '^ *+' conftest.er1 >conftest.err
27078 rm -f conftest.er1
27079 cat conftest.err >&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } &&
27082 { ac_try='test -z "$ac_c_werror_flag"
27083 || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest$ac_exeext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27092 ac_status=$?
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 ac_cv_lib_m_sinf=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27100 ac_cv_lib_m_sinf=no
27102 rm -f conftest.err conftest.$ac_objext \
27103 conftest$ac_exeext conftest.$ac_ext
27104 LIBS=$ac_check_lib_save_LIBS
27106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27107 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27108 if test $ac_cv_lib_m_sinf = yes; then
27110 cat >>confdefs.h <<\_ACEOF
27111 #define HAVE_SINF 1
27112 _ACEOF
27116 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27117 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27118 if test "${ac_cv_lib_m_sin+set}" = set; then
27119 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 else
27121 ac_check_lib_save_LIBS=$LIBS
27122 LIBS="-lm $LIBS"
27123 if test x$gcc_no_link = xyes; then
27124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27126 { (exit 1); exit 1; }; }
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 /* Override any gcc2 internal prototype to avoid an error. */
27136 #ifdef __cplusplus
27137 extern "C"
27138 #endif
27139 /* We use char because int might match the return type of a gcc2
27140 builtin and then its argument prototype would still apply. */
27141 char sin ();
27143 main ()
27145 sin ();
27147 return 0;
27149 _ACEOF
27150 rm -f conftest.$ac_objext conftest$ac_exeext
27151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27152 (eval $ac_link) 2>conftest.er1
27153 ac_status=$?
27154 grep -v '^ *+' conftest.er1 >conftest.err
27155 rm -f conftest.er1
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } &&
27159 { ac_try='test -z "$ac_c_werror_flag"
27160 || test ! -s conftest.err'
27161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27162 (eval $ac_try) 2>&5
27163 ac_status=$?
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); }; } &&
27166 { ac_try='test -s conftest$ac_exeext'
27167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27168 (eval $ac_try) 2>&5
27169 ac_status=$?
27170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171 (exit $ac_status); }; }; then
27172 ac_cv_lib_m_sin=yes
27173 else
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27177 ac_cv_lib_m_sin=no
27179 rm -f conftest.err conftest.$ac_objext \
27180 conftest$ac_exeext conftest.$ac_ext
27181 LIBS=$ac_check_lib_save_LIBS
27183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27184 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27185 if test $ac_cv_lib_m_sin = yes; then
27187 cat >>confdefs.h <<\_ACEOF
27188 #define HAVE_SIN 1
27189 _ACEOF
27193 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27194 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27195 if test "${ac_cv_lib_m_sinl+set}" = set; then
27196 echo $ECHO_N "(cached) $ECHO_C" >&6
27197 else
27198 ac_check_lib_save_LIBS=$LIBS
27199 LIBS="-lm $LIBS"
27200 if test x$gcc_no_link = xyes; then
27201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27203 { (exit 1); exit 1; }; }
27205 cat >conftest.$ac_ext <<_ACEOF
27206 /* confdefs.h. */
27207 _ACEOF
27208 cat confdefs.h >>conftest.$ac_ext
27209 cat >>conftest.$ac_ext <<_ACEOF
27210 /* end confdefs.h. */
27212 /* Override any gcc2 internal prototype to avoid an error. */
27213 #ifdef __cplusplus
27214 extern "C"
27215 #endif
27216 /* We use char because int might match the return type of a gcc2
27217 builtin and then its argument prototype would still apply. */
27218 char sinl ();
27220 main ()
27222 sinl ();
27224 return 0;
27226 _ACEOF
27227 rm -f conftest.$ac_objext conftest$ac_exeext
27228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27229 (eval $ac_link) 2>conftest.er1
27230 ac_status=$?
27231 grep -v '^ *+' conftest.er1 >conftest.err
27232 rm -f conftest.er1
27233 cat conftest.err >&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } &&
27236 { ac_try='test -z "$ac_c_werror_flag"
27237 || test ! -s conftest.err'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27240 ac_status=$?
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; } &&
27243 { ac_try='test -s conftest$ac_exeext'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27246 ac_status=$?
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; }; then
27249 ac_cv_lib_m_sinl=yes
27250 else
27251 echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.$ac_ext >&5
27254 ac_cv_lib_m_sinl=no
27256 rm -f conftest.err conftest.$ac_objext \
27257 conftest$ac_exeext conftest.$ac_ext
27258 LIBS=$ac_check_lib_save_LIBS
27260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27261 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27262 if test $ac_cv_lib_m_sinl = yes; then
27264 cat >>confdefs.h <<\_ACEOF
27265 #define HAVE_SINL 1
27266 _ACEOF
27270 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27271 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27272 if test "${ac_cv_lib_m_csinf+set}" = set; then
27273 echo $ECHO_N "(cached) $ECHO_C" >&6
27274 else
27275 ac_check_lib_save_LIBS=$LIBS
27276 LIBS="-lm $LIBS"
27277 if test x$gcc_no_link = xyes; then
27278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27280 { (exit 1); exit 1; }; }
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27289 /* Override any gcc2 internal prototype to avoid an error. */
27290 #ifdef __cplusplus
27291 extern "C"
27292 #endif
27293 /* We use char because int might match the return type of a gcc2
27294 builtin and then its argument prototype would still apply. */
27295 char csinf ();
27297 main ()
27299 csinf ();
27301 return 0;
27303 _ACEOF
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306 (eval $ac_link) 2>conftest.er1
27307 ac_status=$?
27308 grep -v '^ *+' conftest.er1 >conftest.err
27309 rm -f conftest.er1
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } &&
27313 { ac_try='test -z "$ac_c_werror_flag"
27314 || test ! -s conftest.err'
27315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316 (eval $ac_try) 2>&5
27317 ac_status=$?
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); }; } &&
27320 { ac_try='test -s conftest$ac_exeext'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27323 ac_status=$?
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; }; then
27326 ac_cv_lib_m_csinf=yes
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27331 ac_cv_lib_m_csinf=no
27333 rm -f conftest.err conftest.$ac_objext \
27334 conftest$ac_exeext conftest.$ac_ext
27335 LIBS=$ac_check_lib_save_LIBS
27337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27338 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27339 if test $ac_cv_lib_m_csinf = yes; then
27341 cat >>confdefs.h <<\_ACEOF
27342 #define HAVE_CSINF 1
27343 _ACEOF
27347 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27348 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27349 if test "${ac_cv_lib_m_csin+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27351 else
27352 ac_check_lib_save_LIBS=$LIBS
27353 LIBS="-lm $LIBS"
27354 if test x$gcc_no_link = xyes; then
27355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27357 { (exit 1); exit 1; }; }
27359 cat >conftest.$ac_ext <<_ACEOF
27360 /* confdefs.h. */
27361 _ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27366 /* Override any gcc2 internal prototype to avoid an error. */
27367 #ifdef __cplusplus
27368 extern "C"
27369 #endif
27370 /* We use char because int might match the return type of a gcc2
27371 builtin and then its argument prototype would still apply. */
27372 char csin ();
27374 main ()
27376 csin ();
27378 return 0;
27380 _ACEOF
27381 rm -f conftest.$ac_objext conftest$ac_exeext
27382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27383 (eval $ac_link) 2>conftest.er1
27384 ac_status=$?
27385 grep -v '^ *+' conftest.er1 >conftest.err
27386 rm -f conftest.er1
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } &&
27390 { ac_try='test -z "$ac_c_werror_flag"
27391 || test ! -s conftest.err'
27392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27393 (eval $ac_try) 2>&5
27394 ac_status=$?
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); }; } &&
27397 { ac_try='test -s conftest$ac_exeext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27400 ac_status=$?
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 ac_cv_lib_m_csin=yes
27404 else
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.$ac_ext >&5
27408 ac_cv_lib_m_csin=no
27410 rm -f conftest.err conftest.$ac_objext \
27411 conftest$ac_exeext conftest.$ac_ext
27412 LIBS=$ac_check_lib_save_LIBS
27414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27415 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27416 if test $ac_cv_lib_m_csin = yes; then
27418 cat >>confdefs.h <<\_ACEOF
27419 #define HAVE_CSIN 1
27420 _ACEOF
27424 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27425 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27426 if test "${ac_cv_lib_m_csinl+set}" = set; then
27427 echo $ECHO_N "(cached) $ECHO_C" >&6
27428 else
27429 ac_check_lib_save_LIBS=$LIBS
27430 LIBS="-lm $LIBS"
27431 if test x$gcc_no_link = xyes; then
27432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27434 { (exit 1); exit 1; }; }
27436 cat >conftest.$ac_ext <<_ACEOF
27437 /* confdefs.h. */
27438 _ACEOF
27439 cat confdefs.h >>conftest.$ac_ext
27440 cat >>conftest.$ac_ext <<_ACEOF
27441 /* end confdefs.h. */
27443 /* Override any gcc2 internal prototype to avoid an error. */
27444 #ifdef __cplusplus
27445 extern "C"
27446 #endif
27447 /* We use char because int might match the return type of a gcc2
27448 builtin and then its argument prototype would still apply. */
27449 char csinl ();
27451 main ()
27453 csinl ();
27455 return 0;
27457 _ACEOF
27458 rm -f conftest.$ac_objext conftest$ac_exeext
27459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27460 (eval $ac_link) 2>conftest.er1
27461 ac_status=$?
27462 grep -v '^ *+' conftest.er1 >conftest.err
27463 rm -f conftest.er1
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } &&
27467 { ac_try='test -z "$ac_c_werror_flag"
27468 || test ! -s conftest.err'
27469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27470 (eval $ac_try) 2>&5
27471 ac_status=$?
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); }; } &&
27474 { ac_try='test -s conftest$ac_exeext'
27475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27476 (eval $ac_try) 2>&5
27477 ac_status=$?
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); }; }; then
27480 ac_cv_lib_m_csinl=yes
27481 else
27482 echo "$as_me: failed program was:" >&5
27483 sed 's/^/| /' conftest.$ac_ext >&5
27485 ac_cv_lib_m_csinl=no
27487 rm -f conftest.err conftest.$ac_objext \
27488 conftest$ac_exeext conftest.$ac_ext
27489 LIBS=$ac_check_lib_save_LIBS
27491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27492 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27493 if test $ac_cv_lib_m_csinl = yes; then
27495 cat >>confdefs.h <<\_ACEOF
27496 #define HAVE_CSINL 1
27497 _ACEOF
27501 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27502 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27503 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27504 echo $ECHO_N "(cached) $ECHO_C" >&6
27505 else
27506 ac_check_lib_save_LIBS=$LIBS
27507 LIBS="-lm $LIBS"
27508 if test x$gcc_no_link = xyes; then
27509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27511 { (exit 1); exit 1; }; }
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27520 /* Override any gcc2 internal prototype to avoid an error. */
27521 #ifdef __cplusplus
27522 extern "C"
27523 #endif
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526 char sinhf ();
27528 main ()
27530 sinhf ();
27532 return 0;
27534 _ACEOF
27535 rm -f conftest.$ac_objext conftest$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537 (eval $ac_link) 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try='test -z "$ac_c_werror_flag"
27545 || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_lib_m_sinhf=yes
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27562 ac_cv_lib_m_sinhf=no
27564 rm -f conftest.err conftest.$ac_objext \
27565 conftest$ac_exeext conftest.$ac_ext
27566 LIBS=$ac_check_lib_save_LIBS
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27569 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27570 if test $ac_cv_lib_m_sinhf = yes; then
27572 cat >>confdefs.h <<\_ACEOF
27573 #define HAVE_SINHF 1
27574 _ACEOF
27578 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27579 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27580 if test "${ac_cv_lib_m_sinh+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 ac_check_lib_save_LIBS=$LIBS
27584 LIBS="-lm $LIBS"
27585 if test x$gcc_no_link = xyes; then
27586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27588 { (exit 1); exit 1; }; }
27590 cat >conftest.$ac_ext <<_ACEOF
27591 /* confdefs.h. */
27592 _ACEOF
27593 cat confdefs.h >>conftest.$ac_ext
27594 cat >>conftest.$ac_ext <<_ACEOF
27595 /* end confdefs.h. */
27597 /* Override any gcc2 internal prototype to avoid an error. */
27598 #ifdef __cplusplus
27599 extern "C"
27600 #endif
27601 /* We use char because int might match the return type of a gcc2
27602 builtin and then its argument prototype would still apply. */
27603 char sinh ();
27605 main ()
27607 sinh ();
27609 return 0;
27611 _ACEOF
27612 rm -f conftest.$ac_objext conftest$ac_exeext
27613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27614 (eval $ac_link) 2>conftest.er1
27615 ac_status=$?
27616 grep -v '^ *+' conftest.er1 >conftest.err
27617 rm -f conftest.er1
27618 cat conftest.err >&5
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); } &&
27621 { ac_try='test -z "$ac_c_werror_flag"
27622 || test ! -s conftest.err'
27623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624 (eval $ac_try) 2>&5
27625 ac_status=$?
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); }; } &&
27628 { ac_try='test -s conftest$ac_exeext'
27629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27630 (eval $ac_try) 2>&5
27631 ac_status=$?
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); }; }; then
27634 ac_cv_lib_m_sinh=yes
27635 else
27636 echo "$as_me: failed program was:" >&5
27637 sed 's/^/| /' conftest.$ac_ext >&5
27639 ac_cv_lib_m_sinh=no
27641 rm -f conftest.err conftest.$ac_objext \
27642 conftest$ac_exeext conftest.$ac_ext
27643 LIBS=$ac_check_lib_save_LIBS
27645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27646 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27647 if test $ac_cv_lib_m_sinh = yes; then
27649 cat >>confdefs.h <<\_ACEOF
27650 #define HAVE_SINH 1
27651 _ACEOF
27655 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27656 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27657 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27659 else
27660 ac_check_lib_save_LIBS=$LIBS
27661 LIBS="-lm $LIBS"
27662 if test x$gcc_no_link = xyes; then
27663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27665 { (exit 1); exit 1; }; }
27667 cat >conftest.$ac_ext <<_ACEOF
27668 /* confdefs.h. */
27669 _ACEOF
27670 cat confdefs.h >>conftest.$ac_ext
27671 cat >>conftest.$ac_ext <<_ACEOF
27672 /* end confdefs.h. */
27674 /* Override any gcc2 internal prototype to avoid an error. */
27675 #ifdef __cplusplus
27676 extern "C"
27677 #endif
27678 /* We use char because int might match the return type of a gcc2
27679 builtin and then its argument prototype would still apply. */
27680 char sinhl ();
27682 main ()
27684 sinhl ();
27686 return 0;
27688 _ACEOF
27689 rm -f conftest.$ac_objext conftest$ac_exeext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27691 (eval $ac_link) 2>conftest.er1
27692 ac_status=$?
27693 grep -v '^ *+' conftest.er1 >conftest.err
27694 rm -f conftest.er1
27695 cat conftest.err >&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); } &&
27698 { ac_try='test -z "$ac_c_werror_flag"
27699 || test ! -s conftest.err'
27700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701 (eval $ac_try) 2>&5
27702 ac_status=$?
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); }; } &&
27705 { ac_try='test -s conftest$ac_exeext'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 ac_cv_lib_m_sinhl=yes
27712 else
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27716 ac_cv_lib_m_sinhl=no
27718 rm -f conftest.err conftest.$ac_objext \
27719 conftest$ac_exeext conftest.$ac_ext
27720 LIBS=$ac_check_lib_save_LIBS
27722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27723 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27724 if test $ac_cv_lib_m_sinhl = yes; then
27726 cat >>confdefs.h <<\_ACEOF
27727 #define HAVE_SINHL 1
27728 _ACEOF
27732 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27733 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27734 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27735 echo $ECHO_N "(cached) $ECHO_C" >&6
27736 else
27737 ac_check_lib_save_LIBS=$LIBS
27738 LIBS="-lm $LIBS"
27739 if test x$gcc_no_link = xyes; then
27740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27742 { (exit 1); exit 1; }; }
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h. */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27751 /* Override any gcc2 internal prototype to avoid an error. */
27752 #ifdef __cplusplus
27753 extern "C"
27754 #endif
27755 /* We use char because int might match the return type of a gcc2
27756 builtin and then its argument prototype would still apply. */
27757 char csinhf ();
27759 main ()
27761 csinhf ();
27763 return 0;
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>conftest.er1
27769 ac_status=$?
27770 grep -v '^ *+' conftest.er1 >conftest.err
27771 rm -f conftest.er1
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try='test -z "$ac_c_werror_flag"
27776 || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 ac_cv_lib_m_csinhf=yes
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 ac_cv_lib_m_csinhf=no
27795 rm -f conftest.err conftest.$ac_objext \
27796 conftest$ac_exeext conftest.$ac_ext
27797 LIBS=$ac_check_lib_save_LIBS
27799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27800 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27801 if test $ac_cv_lib_m_csinhf = yes; then
27803 cat >>confdefs.h <<\_ACEOF
27804 #define HAVE_CSINHF 1
27805 _ACEOF
27809 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27810 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27811 if test "${ac_cv_lib_m_csinh+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 ac_check_lib_save_LIBS=$LIBS
27815 LIBS="-lm $LIBS"
27816 if test x$gcc_no_link = xyes; then
27817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27819 { (exit 1); exit 1; }; }
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h. */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27828 /* Override any gcc2 internal prototype to avoid an error. */
27829 #ifdef __cplusplus
27830 extern "C"
27831 #endif
27832 /* We use char because int might match the return type of a gcc2
27833 builtin and then its argument prototype would still apply. */
27834 char csinh ();
27836 main ()
27838 csinh ();
27840 return 0;
27842 _ACEOF
27843 rm -f conftest.$ac_objext conftest$ac_exeext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27845 (eval $ac_link) 2>conftest.er1
27846 ac_status=$?
27847 grep -v '^ *+' conftest.er1 >conftest.err
27848 rm -f conftest.er1
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try='test -z "$ac_c_werror_flag"
27853 || test ! -s conftest.err'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27856 ac_status=$?
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try='test -s conftest$ac_exeext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 ac_cv_lib_m_csinh=yes
27866 else
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27870 ac_cv_lib_m_csinh=no
27872 rm -f conftest.err conftest.$ac_objext \
27873 conftest$ac_exeext conftest.$ac_ext
27874 LIBS=$ac_check_lib_save_LIBS
27876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27877 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27878 if test $ac_cv_lib_m_csinh = yes; then
27880 cat >>confdefs.h <<\_ACEOF
27881 #define HAVE_CSINH 1
27882 _ACEOF
27886 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27887 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27888 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27890 else
27891 ac_check_lib_save_LIBS=$LIBS
27892 LIBS="-lm $LIBS"
27893 if test x$gcc_no_link = xyes; then
27894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27896 { (exit 1); exit 1; }; }
27898 cat >conftest.$ac_ext <<_ACEOF
27899 /* confdefs.h. */
27900 _ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27905 /* Override any gcc2 internal prototype to avoid an error. */
27906 #ifdef __cplusplus
27907 extern "C"
27908 #endif
27909 /* We use char because int might match the return type of a gcc2
27910 builtin and then its argument prototype would still apply. */
27911 char csinhl ();
27913 main ()
27915 csinhl ();
27917 return 0;
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27922 (eval $ac_link) 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag"
27930 || test ! -s conftest.err'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; } &&
27936 { ac_try='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27939 ac_status=$?
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942 ac_cv_lib_m_csinhl=yes
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27947 ac_cv_lib_m_csinhl=no
27949 rm -f conftest.err conftest.$ac_objext \
27950 conftest$ac_exeext conftest.$ac_ext
27951 LIBS=$ac_check_lib_save_LIBS
27953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27954 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27955 if test $ac_cv_lib_m_csinhl = yes; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define HAVE_CSINHL 1
27959 _ACEOF
27963 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27964 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27965 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27966 echo $ECHO_N "(cached) $ECHO_C" >&6
27967 else
27968 ac_check_lib_save_LIBS=$LIBS
27969 LIBS="-lm $LIBS"
27970 if test x$gcc_no_link = xyes; then
27971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27973 { (exit 1); exit 1; }; }
27975 cat >conftest.$ac_ext <<_ACEOF
27976 /* confdefs.h. */
27977 _ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27982 /* Override any gcc2 internal prototype to avoid an error. */
27983 #ifdef __cplusplus
27984 extern "C"
27985 #endif
27986 /* We use char because int might match the return type of a gcc2
27987 builtin and then its argument prototype would still apply. */
27988 char sqrtf ();
27990 main ()
27992 sqrtf ();
27994 return 0;
27996 _ACEOF
27997 rm -f conftest.$ac_objext conftest$ac_exeext
27998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27999 (eval $ac_link) 2>conftest.er1
28000 ac_status=$?
28001 grep -v '^ *+' conftest.er1 >conftest.err
28002 rm -f conftest.er1
28003 cat conftest.err >&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -z "$ac_c_werror_flag"
28007 || test ! -s conftest.err'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28010 ac_status=$?
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; } &&
28013 { ac_try='test -s conftest$ac_exeext'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28016 ac_status=$?
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; }; then
28019 ac_cv_lib_m_sqrtf=yes
28020 else
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 ac_cv_lib_m_sqrtf=no
28026 rm -f conftest.err conftest.$ac_objext \
28027 conftest$ac_exeext conftest.$ac_ext
28028 LIBS=$ac_check_lib_save_LIBS
28030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28031 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28032 if test $ac_cv_lib_m_sqrtf = yes; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define HAVE_SQRTF 1
28036 _ACEOF
28040 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28041 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28042 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28043 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 else
28045 ac_check_lib_save_LIBS=$LIBS
28046 LIBS="-lm $LIBS"
28047 if test x$gcc_no_link = xyes; then
28048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28050 { (exit 1); exit 1; }; }
28052 cat >conftest.$ac_ext <<_ACEOF
28053 /* confdefs.h. */
28054 _ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28059 /* Override any gcc2 internal prototype to avoid an error. */
28060 #ifdef __cplusplus
28061 extern "C"
28062 #endif
28063 /* We use char because int might match the return type of a gcc2
28064 builtin and then its argument prototype would still apply. */
28065 char sqrt ();
28067 main ()
28069 sqrt ();
28071 return 0;
28073 _ACEOF
28074 rm -f conftest.$ac_objext conftest$ac_exeext
28075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28076 (eval $ac_link) 2>conftest.er1
28077 ac_status=$?
28078 grep -v '^ *+' conftest.er1 >conftest.err
28079 rm -f conftest.er1
28080 cat conftest.err >&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } &&
28083 { ac_try='test -z "$ac_c_werror_flag"
28084 || test ! -s conftest.err'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28087 ac_status=$?
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; } &&
28090 { ac_try='test -s conftest$ac_exeext'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28093 ac_status=$?
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; }; then
28096 ac_cv_lib_m_sqrt=yes
28097 else
28098 echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.$ac_ext >&5
28101 ac_cv_lib_m_sqrt=no
28103 rm -f conftest.err conftest.$ac_objext \
28104 conftest$ac_exeext conftest.$ac_ext
28105 LIBS=$ac_check_lib_save_LIBS
28107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28108 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28109 if test $ac_cv_lib_m_sqrt = yes; then
28111 cat >>confdefs.h <<\_ACEOF
28112 #define HAVE_SQRT 1
28113 _ACEOF
28117 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28118 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28119 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28120 echo $ECHO_N "(cached) $ECHO_C" >&6
28121 else
28122 ac_check_lib_save_LIBS=$LIBS
28123 LIBS="-lm $LIBS"
28124 if test x$gcc_no_link = xyes; then
28125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28127 { (exit 1); exit 1; }; }
28129 cat >conftest.$ac_ext <<_ACEOF
28130 /* confdefs.h. */
28131 _ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h. */
28136 /* Override any gcc2 internal prototype to avoid an error. */
28137 #ifdef __cplusplus
28138 extern "C"
28139 #endif
28140 /* We use char because int might match the return type of a gcc2
28141 builtin and then its argument prototype would still apply. */
28142 char sqrtl ();
28144 main ()
28146 sqrtl ();
28148 return 0;
28150 _ACEOF
28151 rm -f conftest.$ac_objext conftest$ac_exeext
28152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28153 (eval $ac_link) 2>conftest.er1
28154 ac_status=$?
28155 grep -v '^ *+' conftest.er1 >conftest.err
28156 rm -f conftest.er1
28157 cat conftest.err >&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } &&
28160 { ac_try='test -z "$ac_c_werror_flag"
28161 || test ! -s conftest.err'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; } &&
28167 { ac_try='test -s conftest$ac_exeext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28170 ac_status=$?
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 ac_cv_lib_m_sqrtl=yes
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28178 ac_cv_lib_m_sqrtl=no
28180 rm -f conftest.err conftest.$ac_objext \
28181 conftest$ac_exeext conftest.$ac_ext
28182 LIBS=$ac_check_lib_save_LIBS
28184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28185 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28186 if test $ac_cv_lib_m_sqrtl = yes; then
28188 cat >>confdefs.h <<\_ACEOF
28189 #define HAVE_SQRTL 1
28190 _ACEOF
28194 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28195 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28196 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28199 ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lm $LIBS"
28201 if test x$gcc_no_link = xyes; then
28202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28204 { (exit 1); exit 1; }; }
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28213 /* Override any gcc2 internal prototype to avoid an error. */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 /* We use char because int might match the return type of a gcc2
28218 builtin and then its argument prototype would still apply. */
28219 char csqrtf ();
28221 main ()
28223 csqrtf ();
28225 return 0;
28227 _ACEOF
28228 rm -f conftest.$ac_objext conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>conftest.er1
28231 ac_status=$?
28232 grep -v '^ *+' conftest.er1 >conftest.err
28233 rm -f conftest.er1
28234 cat conftest.err >&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); } &&
28237 { ac_try='test -z "$ac_c_werror_flag"
28238 || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try='test -s conftest$ac_exeext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_cv_lib_m_csqrtf=yes
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28255 ac_cv_lib_m_csqrtf=no
28257 rm -f conftest.err conftest.$ac_objext \
28258 conftest$ac_exeext conftest.$ac_ext
28259 LIBS=$ac_check_lib_save_LIBS
28261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28262 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28263 if test $ac_cv_lib_m_csqrtf = yes; then
28265 cat >>confdefs.h <<\_ACEOF
28266 #define HAVE_CSQRTF 1
28267 _ACEOF
28271 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28272 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28273 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276 ac_check_lib_save_LIBS=$LIBS
28277 LIBS="-lm $LIBS"
28278 if test x$gcc_no_link = xyes; then
28279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28281 { (exit 1); exit 1; }; }
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28290 /* Override any gcc2 internal prototype to avoid an error. */
28291 #ifdef __cplusplus
28292 extern "C"
28293 #endif
28294 /* We use char because int might match the return type of a gcc2
28295 builtin and then its argument prototype would still apply. */
28296 char csqrt ();
28298 main ()
28300 csqrt ();
28302 return 0;
28304 _ACEOF
28305 rm -f conftest.$ac_objext conftest$ac_exeext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28307 (eval $ac_link) 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -z "$ac_c_werror_flag"
28315 || test ! -s conftest.err'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28318 ac_status=$?
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; } &&
28321 { ac_try='test -s conftest$ac_exeext'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28324 ac_status=$?
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; }; then
28327 ac_cv_lib_m_csqrt=yes
28328 else
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.$ac_ext >&5
28332 ac_cv_lib_m_csqrt=no
28334 rm -f conftest.err conftest.$ac_objext \
28335 conftest$ac_exeext conftest.$ac_ext
28336 LIBS=$ac_check_lib_save_LIBS
28338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28339 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28340 if test $ac_cv_lib_m_csqrt = yes; then
28342 cat >>confdefs.h <<\_ACEOF
28343 #define HAVE_CSQRT 1
28344 _ACEOF
28348 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28349 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28350 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28352 else
28353 ac_check_lib_save_LIBS=$LIBS
28354 LIBS="-lm $LIBS"
28355 if test x$gcc_no_link = xyes; then
28356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28358 { (exit 1); exit 1; }; }
28360 cat >conftest.$ac_ext <<_ACEOF
28361 /* confdefs.h. */
28362 _ACEOF
28363 cat confdefs.h >>conftest.$ac_ext
28364 cat >>conftest.$ac_ext <<_ACEOF
28365 /* end confdefs.h. */
28367 /* Override any gcc2 internal prototype to avoid an error. */
28368 #ifdef __cplusplus
28369 extern "C"
28370 #endif
28371 /* We use char because int might match the return type of a gcc2
28372 builtin and then its argument prototype would still apply. */
28373 char csqrtl ();
28375 main ()
28377 csqrtl ();
28379 return 0;
28381 _ACEOF
28382 rm -f conftest.$ac_objext conftest$ac_exeext
28383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28384 (eval $ac_link) 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try='test -z "$ac_c_werror_flag"
28392 || test ! -s conftest.err'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28395 ac_status=$?
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; } &&
28398 { ac_try='test -s conftest$ac_exeext'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; }; then
28404 ac_cv_lib_m_csqrtl=yes
28405 else
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28409 ac_cv_lib_m_csqrtl=no
28411 rm -f conftest.err conftest.$ac_objext \
28412 conftest$ac_exeext conftest.$ac_ext
28413 LIBS=$ac_check_lib_save_LIBS
28415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28416 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28417 if test $ac_cv_lib_m_csqrtl = yes; then
28419 cat >>confdefs.h <<\_ACEOF
28420 #define HAVE_CSQRTL 1
28421 _ACEOF
28425 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28426 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28427 if test "${ac_cv_lib_m_tanf+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 else
28430 ac_check_lib_save_LIBS=$LIBS
28431 LIBS="-lm $LIBS"
28432 if test x$gcc_no_link = xyes; then
28433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28435 { (exit 1); exit 1; }; }
28437 cat >conftest.$ac_ext <<_ACEOF
28438 /* confdefs.h. */
28439 _ACEOF
28440 cat confdefs.h >>conftest.$ac_ext
28441 cat >>conftest.$ac_ext <<_ACEOF
28442 /* end confdefs.h. */
28444 /* Override any gcc2 internal prototype to avoid an error. */
28445 #ifdef __cplusplus
28446 extern "C"
28447 #endif
28448 /* We use char because int might match the return type of a gcc2
28449 builtin and then its argument prototype would still apply. */
28450 char tanf ();
28452 main ()
28454 tanf ();
28456 return 0;
28458 _ACEOF
28459 rm -f conftest.$ac_objext conftest$ac_exeext
28460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28461 (eval $ac_link) 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } &&
28468 { ac_try='test -z "$ac_c_werror_flag"
28469 || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try='test -s conftest$ac_exeext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_cv_lib_m_tanf=yes
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 ac_cv_lib_m_tanf=no
28488 rm -f conftest.err conftest.$ac_objext \
28489 conftest$ac_exeext conftest.$ac_ext
28490 LIBS=$ac_check_lib_save_LIBS
28492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28493 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28494 if test $ac_cv_lib_m_tanf = yes; then
28496 cat >>confdefs.h <<\_ACEOF
28497 #define HAVE_TANF 1
28498 _ACEOF
28502 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28503 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28504 if test "${ac_cv_lib_m_tan+set}" = set; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28506 else
28507 ac_check_lib_save_LIBS=$LIBS
28508 LIBS="-lm $LIBS"
28509 if test x$gcc_no_link = xyes; then
28510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28512 { (exit 1); exit 1; }; }
28514 cat >conftest.$ac_ext <<_ACEOF
28515 /* confdefs.h. */
28516 _ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28521 /* Override any gcc2 internal prototype to avoid an error. */
28522 #ifdef __cplusplus
28523 extern "C"
28524 #endif
28525 /* We use char because int might match the return type of a gcc2
28526 builtin and then its argument prototype would still apply. */
28527 char tan ();
28529 main ()
28531 tan ();
28533 return 0;
28535 _ACEOF
28536 rm -f conftest.$ac_objext conftest$ac_exeext
28537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538 (eval $ac_link) 2>conftest.er1
28539 ac_status=$?
28540 grep -v '^ *+' conftest.er1 >conftest.err
28541 rm -f conftest.er1
28542 cat conftest.err >&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } &&
28545 { ac_try='test -z "$ac_c_werror_flag"
28546 || test ! -s conftest.err'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; } &&
28552 { ac_try='test -s conftest$ac_exeext'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28555 ac_status=$?
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; }; then
28558 ac_cv_lib_m_tan=yes
28559 else
28560 echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.$ac_ext >&5
28563 ac_cv_lib_m_tan=no
28565 rm -f conftest.err conftest.$ac_objext \
28566 conftest$ac_exeext conftest.$ac_ext
28567 LIBS=$ac_check_lib_save_LIBS
28569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28570 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28571 if test $ac_cv_lib_m_tan = yes; then
28573 cat >>confdefs.h <<\_ACEOF
28574 #define HAVE_TAN 1
28575 _ACEOF
28579 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28580 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28581 if test "${ac_cv_lib_m_tanl+set}" = set; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 else
28584 ac_check_lib_save_LIBS=$LIBS
28585 LIBS="-lm $LIBS"
28586 if test x$gcc_no_link = xyes; then
28587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28589 { (exit 1); exit 1; }; }
28591 cat >conftest.$ac_ext <<_ACEOF
28592 /* confdefs.h. */
28593 _ACEOF
28594 cat confdefs.h >>conftest.$ac_ext
28595 cat >>conftest.$ac_ext <<_ACEOF
28596 /* end confdefs.h. */
28598 /* Override any gcc2 internal prototype to avoid an error. */
28599 #ifdef __cplusplus
28600 extern "C"
28601 #endif
28602 /* We use char because int might match the return type of a gcc2
28603 builtin and then its argument prototype would still apply. */
28604 char tanl ();
28606 main ()
28608 tanl ();
28610 return 0;
28612 _ACEOF
28613 rm -f conftest.$ac_objext conftest$ac_exeext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28615 (eval $ac_link) 2>conftest.er1
28616 ac_status=$?
28617 grep -v '^ *+' conftest.er1 >conftest.err
28618 rm -f conftest.er1
28619 cat conftest.err >&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try='test -z "$ac_c_werror_flag"
28623 || test ! -s conftest.err'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28626 ac_status=$?
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; } &&
28629 { ac_try='test -s conftest$ac_exeext'
28630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28631 (eval $ac_try) 2>&5
28632 ac_status=$?
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); }; }; then
28635 ac_cv_lib_m_tanl=yes
28636 else
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28640 ac_cv_lib_m_tanl=no
28642 rm -f conftest.err conftest.$ac_objext \
28643 conftest$ac_exeext conftest.$ac_ext
28644 LIBS=$ac_check_lib_save_LIBS
28646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28647 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28648 if test $ac_cv_lib_m_tanl = yes; then
28650 cat >>confdefs.h <<\_ACEOF
28651 #define HAVE_TANL 1
28652 _ACEOF
28656 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28657 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28658 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 else
28661 ac_check_lib_save_LIBS=$LIBS
28662 LIBS="-lm $LIBS"
28663 if test x$gcc_no_link = xyes; then
28664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28666 { (exit 1); exit 1; }; }
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28675 /* Override any gcc2 internal prototype to avoid an error. */
28676 #ifdef __cplusplus
28677 extern "C"
28678 #endif
28679 /* We use char because int might match the return type of a gcc2
28680 builtin and then its argument prototype would still apply. */
28681 char ctanf ();
28683 main ()
28685 ctanf ();
28687 return 0;
28689 _ACEOF
28690 rm -f conftest.$ac_objext conftest$ac_exeext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28692 (eval $ac_link) 2>conftest.er1
28693 ac_status=$?
28694 grep -v '^ *+' conftest.er1 >conftest.err
28695 rm -f conftest.er1
28696 cat conftest.err >&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try='test -z "$ac_c_werror_flag"
28700 || test ! -s conftest.err'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28703 ac_status=$?
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; } &&
28706 { ac_try='test -s conftest$ac_exeext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28709 ac_status=$?
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28712 ac_cv_lib_m_ctanf=yes
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28717 ac_cv_lib_m_ctanf=no
28719 rm -f conftest.err conftest.$ac_objext \
28720 conftest$ac_exeext conftest.$ac_ext
28721 LIBS=$ac_check_lib_save_LIBS
28723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28724 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28725 if test $ac_cv_lib_m_ctanf = yes; then
28727 cat >>confdefs.h <<\_ACEOF
28728 #define HAVE_CTANF 1
28729 _ACEOF
28733 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28734 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28735 if test "${ac_cv_lib_m_ctan+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 else
28738 ac_check_lib_save_LIBS=$LIBS
28739 LIBS="-lm $LIBS"
28740 if test x$gcc_no_link = xyes; then
28741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28743 { (exit 1); exit 1; }; }
28745 cat >conftest.$ac_ext <<_ACEOF
28746 /* confdefs.h. */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h. */
28752 /* Override any gcc2 internal prototype to avoid an error. */
28753 #ifdef __cplusplus
28754 extern "C"
28755 #endif
28756 /* We use char because int might match the return type of a gcc2
28757 builtin and then its argument prototype would still apply. */
28758 char ctan ();
28760 main ()
28762 ctan ();
28764 return 0;
28766 _ACEOF
28767 rm -f conftest.$ac_objext conftest$ac_exeext
28768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28769 (eval $ac_link) 2>conftest.er1
28770 ac_status=$?
28771 grep -v '^ *+' conftest.er1 >conftest.err
28772 rm -f conftest.er1
28773 cat conftest.err >&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try='test -z "$ac_c_werror_flag"
28777 || test ! -s conftest.err'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28780 ac_status=$?
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; } &&
28783 { ac_try='test -s conftest$ac_exeext'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; }; then
28789 ac_cv_lib_m_ctan=yes
28790 else
28791 echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.$ac_ext >&5
28794 ac_cv_lib_m_ctan=no
28796 rm -f conftest.err conftest.$ac_objext \
28797 conftest$ac_exeext conftest.$ac_ext
28798 LIBS=$ac_check_lib_save_LIBS
28800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28801 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28802 if test $ac_cv_lib_m_ctan = yes; then
28804 cat >>confdefs.h <<\_ACEOF
28805 #define HAVE_CTAN 1
28806 _ACEOF
28810 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28811 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28812 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815 ac_check_lib_save_LIBS=$LIBS
28816 LIBS="-lm $LIBS"
28817 if test x$gcc_no_link = xyes; then
28818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28820 { (exit 1); exit 1; }; }
28822 cat >conftest.$ac_ext <<_ACEOF
28823 /* confdefs.h. */
28824 _ACEOF
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28829 /* Override any gcc2 internal prototype to avoid an error. */
28830 #ifdef __cplusplus
28831 extern "C"
28832 #endif
28833 /* We use char because int might match the return type of a gcc2
28834 builtin and then its argument prototype would still apply. */
28835 char ctanl ();
28837 main ()
28839 ctanl ();
28841 return 0;
28843 _ACEOF
28844 rm -f conftest.$ac_objext conftest$ac_exeext
28845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28846 (eval $ac_link) 2>conftest.er1
28847 ac_status=$?
28848 grep -v '^ *+' conftest.er1 >conftest.err
28849 rm -f conftest.er1
28850 cat conftest.err >&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } &&
28853 { ac_try='test -z "$ac_c_werror_flag"
28854 || test ! -s conftest.err'
28855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856 (eval $ac_try) 2>&5
28857 ac_status=$?
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); }; } &&
28860 { ac_try='test -s conftest$ac_exeext'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28866 ac_cv_lib_m_ctanl=yes
28867 else
28868 echo "$as_me: failed program was:" >&5
28869 sed 's/^/| /' conftest.$ac_ext >&5
28871 ac_cv_lib_m_ctanl=no
28873 rm -f conftest.err conftest.$ac_objext \
28874 conftest$ac_exeext conftest.$ac_ext
28875 LIBS=$ac_check_lib_save_LIBS
28877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28878 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28879 if test $ac_cv_lib_m_ctanl = yes; then
28881 cat >>confdefs.h <<\_ACEOF
28882 #define HAVE_CTANL 1
28883 _ACEOF
28887 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28888 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28889 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28890 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 else
28892 ac_check_lib_save_LIBS=$LIBS
28893 LIBS="-lm $LIBS"
28894 if test x$gcc_no_link = xyes; then
28895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28897 { (exit 1); exit 1; }; }
28899 cat >conftest.$ac_ext <<_ACEOF
28900 /* confdefs.h. */
28901 _ACEOF
28902 cat confdefs.h >>conftest.$ac_ext
28903 cat >>conftest.$ac_ext <<_ACEOF
28904 /* end confdefs.h. */
28906 /* Override any gcc2 internal prototype to avoid an error. */
28907 #ifdef __cplusplus
28908 extern "C"
28909 #endif
28910 /* We use char because int might match the return type of a gcc2
28911 builtin and then its argument prototype would still apply. */
28912 char tanhf ();
28914 main ()
28916 tanhf ();
28918 return 0;
28920 _ACEOF
28921 rm -f conftest.$ac_objext conftest$ac_exeext
28922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28923 (eval $ac_link) 2>conftest.er1
28924 ac_status=$?
28925 grep -v '^ *+' conftest.er1 >conftest.err
28926 rm -f conftest.er1
28927 cat conftest.err >&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); } &&
28930 { ac_try='test -z "$ac_c_werror_flag"
28931 || test ! -s conftest.err'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28934 ac_status=$?
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; } &&
28937 { ac_try='test -s conftest$ac_exeext'
28938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28939 (eval $ac_try) 2>&5
28940 ac_status=$?
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); }; }; then
28943 ac_cv_lib_m_tanhf=yes
28944 else
28945 echo "$as_me: failed program was:" >&5
28946 sed 's/^/| /' conftest.$ac_ext >&5
28948 ac_cv_lib_m_tanhf=no
28950 rm -f conftest.err conftest.$ac_objext \
28951 conftest$ac_exeext conftest.$ac_ext
28952 LIBS=$ac_check_lib_save_LIBS
28954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28955 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28956 if test $ac_cv_lib_m_tanhf = yes; then
28958 cat >>confdefs.h <<\_ACEOF
28959 #define HAVE_TANHF 1
28960 _ACEOF
28964 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28965 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28966 if test "${ac_cv_lib_m_tanh+set}" = set; then
28967 echo $ECHO_N "(cached) $ECHO_C" >&6
28968 else
28969 ac_check_lib_save_LIBS=$LIBS
28970 LIBS="-lm $LIBS"
28971 if test x$gcc_no_link = xyes; then
28972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28974 { (exit 1); exit 1; }; }
28976 cat >conftest.$ac_ext <<_ACEOF
28977 /* confdefs.h. */
28978 _ACEOF
28979 cat confdefs.h >>conftest.$ac_ext
28980 cat >>conftest.$ac_ext <<_ACEOF
28981 /* end confdefs.h. */
28983 /* Override any gcc2 internal prototype to avoid an error. */
28984 #ifdef __cplusplus
28985 extern "C"
28986 #endif
28987 /* We use char because int might match the return type of a gcc2
28988 builtin and then its argument prototype would still apply. */
28989 char tanh ();
28991 main ()
28993 tanh ();
28995 return 0;
28997 _ACEOF
28998 rm -f conftest.$ac_objext conftest$ac_exeext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29000 (eval $ac_link) 2>conftest.er1
29001 ac_status=$?
29002 grep -v '^ *+' conftest.er1 >conftest.err
29003 rm -f conftest.er1
29004 cat conftest.err >&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } &&
29007 { ac_try='test -z "$ac_c_werror_flag"
29008 || test ! -s conftest.err'
29009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010 (eval $ac_try) 2>&5
29011 ac_status=$?
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; } &&
29014 { ac_try='test -s conftest$ac_exeext'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29017 ac_status=$?
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 ac_cv_lib_m_tanh=yes
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29025 ac_cv_lib_m_tanh=no
29027 rm -f conftest.err conftest.$ac_objext \
29028 conftest$ac_exeext conftest.$ac_ext
29029 LIBS=$ac_check_lib_save_LIBS
29031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29032 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29033 if test $ac_cv_lib_m_tanh = yes; then
29035 cat >>confdefs.h <<\_ACEOF
29036 #define HAVE_TANH 1
29037 _ACEOF
29041 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29042 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29043 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29044 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046 ac_check_lib_save_LIBS=$LIBS
29047 LIBS="-lm $LIBS"
29048 if test x$gcc_no_link = xyes; then
29049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29051 { (exit 1); exit 1; }; }
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29060 /* Override any gcc2 internal prototype to avoid an error. */
29061 #ifdef __cplusplus
29062 extern "C"
29063 #endif
29064 /* We use char because int might match the return type of a gcc2
29065 builtin and then its argument prototype would still apply. */
29066 char tanhl ();
29068 main ()
29070 tanhl ();
29072 return 0;
29074 _ACEOF
29075 rm -f conftest.$ac_objext conftest$ac_exeext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29077 (eval $ac_link) 2>conftest.er1
29078 ac_status=$?
29079 grep -v '^ *+' conftest.er1 >conftest.err
29080 rm -f conftest.er1
29081 cat conftest.err >&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } &&
29084 { ac_try='test -z "$ac_c_werror_flag"
29085 || test ! -s conftest.err'
29086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087 (eval $ac_try) 2>&5
29088 ac_status=$?
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); }; } &&
29091 { ac_try='test -s conftest$ac_exeext'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; }; then
29097 ac_cv_lib_m_tanhl=yes
29098 else
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29102 ac_cv_lib_m_tanhl=no
29104 rm -f conftest.err conftest.$ac_objext \
29105 conftest$ac_exeext conftest.$ac_ext
29106 LIBS=$ac_check_lib_save_LIBS
29108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29109 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29110 if test $ac_cv_lib_m_tanhl = yes; then
29112 cat >>confdefs.h <<\_ACEOF
29113 #define HAVE_TANHL 1
29114 _ACEOF
29118 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29119 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29120 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29121 echo $ECHO_N "(cached) $ECHO_C" >&6
29122 else
29123 ac_check_lib_save_LIBS=$LIBS
29124 LIBS="-lm $LIBS"
29125 if test x$gcc_no_link = xyes; then
29126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29128 { (exit 1); exit 1; }; }
29130 cat >conftest.$ac_ext <<_ACEOF
29131 /* confdefs.h. */
29132 _ACEOF
29133 cat confdefs.h >>conftest.$ac_ext
29134 cat >>conftest.$ac_ext <<_ACEOF
29135 /* end confdefs.h. */
29137 /* Override any gcc2 internal prototype to avoid an error. */
29138 #ifdef __cplusplus
29139 extern "C"
29140 #endif
29141 /* We use char because int might match the return type of a gcc2
29142 builtin and then its argument prototype would still apply. */
29143 char ctanhf ();
29145 main ()
29147 ctanhf ();
29149 return 0;
29151 _ACEOF
29152 rm -f conftest.$ac_objext conftest$ac_exeext
29153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29154 (eval $ac_link) 2>conftest.er1
29155 ac_status=$?
29156 grep -v '^ *+' conftest.er1 >conftest.err
29157 rm -f conftest.er1
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } &&
29161 { ac_try='test -z "$ac_c_werror_flag"
29162 || test ! -s conftest.err'
29163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164 (eval $ac_try) 2>&5
29165 ac_status=$?
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; } &&
29168 { ac_try='test -s conftest$ac_exeext'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29171 ac_status=$?
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; }; then
29174 ac_cv_lib_m_ctanhf=yes
29175 else
29176 echo "$as_me: failed program was:" >&5
29177 sed 's/^/| /' conftest.$ac_ext >&5
29179 ac_cv_lib_m_ctanhf=no
29181 rm -f conftest.err conftest.$ac_objext \
29182 conftest$ac_exeext conftest.$ac_ext
29183 LIBS=$ac_check_lib_save_LIBS
29185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29186 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29187 if test $ac_cv_lib_m_ctanhf = yes; then
29189 cat >>confdefs.h <<\_ACEOF
29190 #define HAVE_CTANHF 1
29191 _ACEOF
29195 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29196 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29197 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29198 echo $ECHO_N "(cached) $ECHO_C" >&6
29199 else
29200 ac_check_lib_save_LIBS=$LIBS
29201 LIBS="-lm $LIBS"
29202 if test x$gcc_no_link = xyes; then
29203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29205 { (exit 1); exit 1; }; }
29207 cat >conftest.$ac_ext <<_ACEOF
29208 /* confdefs.h. */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29214 /* Override any gcc2 internal prototype to avoid an error. */
29215 #ifdef __cplusplus
29216 extern "C"
29217 #endif
29218 /* We use char because int might match the return type of a gcc2
29219 builtin and then its argument prototype would still apply. */
29220 char ctanh ();
29222 main ()
29224 ctanh ();
29226 return 0;
29228 _ACEOF
29229 rm -f conftest.$ac_objext conftest$ac_exeext
29230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29231 (eval $ac_link) 2>conftest.er1
29232 ac_status=$?
29233 grep -v '^ *+' conftest.er1 >conftest.err
29234 rm -f conftest.er1
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } &&
29238 { ac_try='test -z "$ac_c_werror_flag"
29239 || test ! -s conftest.err'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29242 ac_status=$?
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; } &&
29245 { ac_try='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29248 ac_status=$?
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251 ac_cv_lib_m_ctanh=yes
29252 else
29253 echo "$as_me: failed program was:" >&5
29254 sed 's/^/| /' conftest.$ac_ext >&5
29256 ac_cv_lib_m_ctanh=no
29258 rm -f conftest.err conftest.$ac_objext \
29259 conftest$ac_exeext conftest.$ac_ext
29260 LIBS=$ac_check_lib_save_LIBS
29262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29263 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29264 if test $ac_cv_lib_m_ctanh = yes; then
29266 cat >>confdefs.h <<\_ACEOF
29267 #define HAVE_CTANH 1
29268 _ACEOF
29272 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29273 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29274 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29276 else
29277 ac_check_lib_save_LIBS=$LIBS
29278 LIBS="-lm $LIBS"
29279 if test x$gcc_no_link = xyes; then
29280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29282 { (exit 1); exit 1; }; }
29284 cat >conftest.$ac_ext <<_ACEOF
29285 /* confdefs.h. */
29286 _ACEOF
29287 cat confdefs.h >>conftest.$ac_ext
29288 cat >>conftest.$ac_ext <<_ACEOF
29289 /* end confdefs.h. */
29291 /* Override any gcc2 internal prototype to avoid an error. */
29292 #ifdef __cplusplus
29293 extern "C"
29294 #endif
29295 /* We use char because int might match the return type of a gcc2
29296 builtin and then its argument prototype would still apply. */
29297 char ctanhl ();
29299 main ()
29301 ctanhl ();
29303 return 0;
29305 _ACEOF
29306 rm -f conftest.$ac_objext conftest$ac_exeext
29307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29308 (eval $ac_link) 2>conftest.er1
29309 ac_status=$?
29310 grep -v '^ *+' conftest.er1 >conftest.err
29311 rm -f conftest.er1
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try='test -z "$ac_c_werror_flag"
29316 || test ! -s conftest.err'
29317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318 (eval $ac_try) 2>&5
29319 ac_status=$?
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); }; } &&
29322 { ac_try='test -s conftest$ac_exeext'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; }; then
29328 ac_cv_lib_m_ctanhl=yes
29329 else
29330 echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29333 ac_cv_lib_m_ctanhl=no
29335 rm -f conftest.err conftest.$ac_objext \
29336 conftest$ac_exeext conftest.$ac_ext
29337 LIBS=$ac_check_lib_save_LIBS
29339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29340 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29341 if test $ac_cv_lib_m_ctanhl = yes; then
29343 cat >>confdefs.h <<\_ACEOF
29344 #define HAVE_CTANHL 1
29345 _ACEOF
29349 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29350 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29351 if test "${ac_cv_lib_m_truncf+set}" = set; then
29352 echo $ECHO_N "(cached) $ECHO_C" >&6
29353 else
29354 ac_check_lib_save_LIBS=$LIBS
29355 LIBS="-lm $LIBS"
29356 if test x$gcc_no_link = xyes; then
29357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29359 { (exit 1); exit 1; }; }
29361 cat >conftest.$ac_ext <<_ACEOF
29362 /* confdefs.h. */
29363 _ACEOF
29364 cat confdefs.h >>conftest.$ac_ext
29365 cat >>conftest.$ac_ext <<_ACEOF
29366 /* end confdefs.h. */
29368 /* Override any gcc2 internal prototype to avoid an error. */
29369 #ifdef __cplusplus
29370 extern "C"
29371 #endif
29372 /* We use char because int might match the return type of a gcc2
29373 builtin and then its argument prototype would still apply. */
29374 char truncf ();
29376 main ()
29378 truncf ();
29380 return 0;
29382 _ACEOF
29383 rm -f conftest.$ac_objext conftest$ac_exeext
29384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29385 (eval $ac_link) 2>conftest.er1
29386 ac_status=$?
29387 grep -v '^ *+' conftest.er1 >conftest.err
29388 rm -f conftest.er1
29389 cat conftest.err >&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } &&
29392 { ac_try='test -z "$ac_c_werror_flag"
29393 || test ! -s conftest.err'
29394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395 (eval $ac_try) 2>&5
29396 ac_status=$?
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); }; } &&
29399 { ac_try='test -s conftest$ac_exeext'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29402 ac_status=$?
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; }; then
29405 ac_cv_lib_m_truncf=yes
29406 else
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29410 ac_cv_lib_m_truncf=no
29412 rm -f conftest.err conftest.$ac_objext \
29413 conftest$ac_exeext conftest.$ac_ext
29414 LIBS=$ac_check_lib_save_LIBS
29416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29417 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29418 if test $ac_cv_lib_m_truncf = yes; then
29420 cat >>confdefs.h <<\_ACEOF
29421 #define HAVE_TRUNCF 1
29422 _ACEOF
29426 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29427 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29428 if test "${ac_cv_lib_m_trunc+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 else
29431 ac_check_lib_save_LIBS=$LIBS
29432 LIBS="-lm $LIBS"
29433 if test x$gcc_no_link = xyes; then
29434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29436 { (exit 1); exit 1; }; }
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h. */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29445 /* Override any gcc2 internal prototype to avoid an error. */
29446 #ifdef __cplusplus
29447 extern "C"
29448 #endif
29449 /* We use char because int might match the return type of a gcc2
29450 builtin and then its argument prototype would still apply. */
29451 char trunc ();
29453 main ()
29455 trunc ();
29457 return 0;
29459 _ACEOF
29460 rm -f conftest.$ac_objext conftest$ac_exeext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29462 (eval $ac_link) 2>conftest.er1
29463 ac_status=$?
29464 grep -v '^ *+' conftest.er1 >conftest.err
29465 rm -f conftest.er1
29466 cat conftest.err >&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); } &&
29469 { ac_try='test -z "$ac_c_werror_flag"
29470 || test ! -s conftest.err'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29473 ac_status=$?
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; } &&
29476 { ac_try='test -s conftest$ac_exeext'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29479 ac_status=$?
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; }; then
29482 ac_cv_lib_m_trunc=yes
29483 else
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29487 ac_cv_lib_m_trunc=no
29489 rm -f conftest.err conftest.$ac_objext \
29490 conftest$ac_exeext conftest.$ac_ext
29491 LIBS=$ac_check_lib_save_LIBS
29493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29494 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29495 if test $ac_cv_lib_m_trunc = yes; then
29497 cat >>confdefs.h <<\_ACEOF
29498 #define HAVE_TRUNC 1
29499 _ACEOF
29503 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29504 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29505 if test "${ac_cv_lib_m_truncl+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29507 else
29508 ac_check_lib_save_LIBS=$LIBS
29509 LIBS="-lm $LIBS"
29510 if test x$gcc_no_link = xyes; then
29511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29513 { (exit 1); exit 1; }; }
29515 cat >conftest.$ac_ext <<_ACEOF
29516 /* confdefs.h. */
29517 _ACEOF
29518 cat confdefs.h >>conftest.$ac_ext
29519 cat >>conftest.$ac_ext <<_ACEOF
29520 /* end confdefs.h. */
29522 /* Override any gcc2 internal prototype to avoid an error. */
29523 #ifdef __cplusplus
29524 extern "C"
29525 #endif
29526 /* We use char because int might match the return type of a gcc2
29527 builtin and then its argument prototype would still apply. */
29528 char truncl ();
29530 main ()
29532 truncl ();
29534 return 0;
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29539 (eval $ac_link) 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } &&
29546 { ac_try='test -z "$ac_c_werror_flag"
29547 || test ! -s conftest.err'
29548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29549 (eval $ac_try) 2>&5
29550 ac_status=$?
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); }; } &&
29553 { ac_try='test -s conftest$ac_exeext'
29554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 (eval $ac_try) 2>&5
29556 ac_status=$?
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; }; then
29559 ac_cv_lib_m_truncl=yes
29560 else
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.$ac_ext >&5
29564 ac_cv_lib_m_truncl=no
29566 rm -f conftest.err conftest.$ac_objext \
29567 conftest$ac_exeext conftest.$ac_ext
29568 LIBS=$ac_check_lib_save_LIBS
29570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29571 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29572 if test $ac_cv_lib_m_truncl = yes; then
29574 cat >>confdefs.h <<\_ACEOF
29575 #define HAVE_TRUNCL 1
29576 _ACEOF
29580 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29581 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29582 if test "${ac_cv_lib_m_erff+set}" = set; then
29583 echo $ECHO_N "(cached) $ECHO_C" >&6
29584 else
29585 ac_check_lib_save_LIBS=$LIBS
29586 LIBS="-lm $LIBS"
29587 if test x$gcc_no_link = xyes; then
29588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29590 { (exit 1); exit 1; }; }
29592 cat >conftest.$ac_ext <<_ACEOF
29593 /* confdefs.h. */
29594 _ACEOF
29595 cat confdefs.h >>conftest.$ac_ext
29596 cat >>conftest.$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29599 /* Override any gcc2 internal prototype to avoid an error. */
29600 #ifdef __cplusplus
29601 extern "C"
29602 #endif
29603 /* We use char because int might match the return type of a gcc2
29604 builtin and then its argument prototype would still apply. */
29605 char erff ();
29607 main ()
29609 erff ();
29611 return 0;
29613 _ACEOF
29614 rm -f conftest.$ac_objext conftest$ac_exeext
29615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29616 (eval $ac_link) 2>conftest.er1
29617 ac_status=$?
29618 grep -v '^ *+' conftest.er1 >conftest.err
29619 rm -f conftest.er1
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } &&
29623 { ac_try='test -z "$ac_c_werror_flag"
29624 || test ! -s conftest.err'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29627 ac_status=$?
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; } &&
29630 { ac_try='test -s conftest$ac_exeext'
29631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632 (eval $ac_try) 2>&5
29633 ac_status=$?
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; }; then
29636 ac_cv_lib_m_erff=yes
29637 else
29638 echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29641 ac_cv_lib_m_erff=no
29643 rm -f conftest.err conftest.$ac_objext \
29644 conftest$ac_exeext conftest.$ac_ext
29645 LIBS=$ac_check_lib_save_LIBS
29647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29648 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29649 if test $ac_cv_lib_m_erff = yes; then
29651 cat >>confdefs.h <<\_ACEOF
29652 #define HAVE_ERFF 1
29653 _ACEOF
29657 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29658 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29659 if test "${ac_cv_lib_m_erf+set}" = set; then
29660 echo $ECHO_N "(cached) $ECHO_C" >&6
29661 else
29662 ac_check_lib_save_LIBS=$LIBS
29663 LIBS="-lm $LIBS"
29664 if test x$gcc_no_link = xyes; then
29665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29667 { (exit 1); exit 1; }; }
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29676 /* Override any gcc2 internal prototype to avoid an error. */
29677 #ifdef __cplusplus
29678 extern "C"
29679 #endif
29680 /* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682 char erf ();
29684 main ()
29686 erf ();
29688 return 0;
29690 _ACEOF
29691 rm -f conftest.$ac_objext conftest$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>conftest.er1
29694 ac_status=$?
29695 grep -v '^ *+' conftest.er1 >conftest.err
29696 rm -f conftest.er1
29697 cat conftest.err >&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try='test -z "$ac_c_werror_flag"
29701 || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 ac_cv_lib_m_erf=yes
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29718 ac_cv_lib_m_erf=no
29720 rm -f conftest.err conftest.$ac_objext \
29721 conftest$ac_exeext conftest.$ac_ext
29722 LIBS=$ac_check_lib_save_LIBS
29724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29725 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29726 if test $ac_cv_lib_m_erf = yes; then
29728 cat >>confdefs.h <<\_ACEOF
29729 #define HAVE_ERF 1
29730 _ACEOF
29734 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29735 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29736 if test "${ac_cv_lib_m_erfl+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29739 ac_check_lib_save_LIBS=$LIBS
29740 LIBS="-lm $LIBS"
29741 if test x$gcc_no_link = xyes; then
29742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29744 { (exit 1); exit 1; }; }
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h. */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29753 /* Override any gcc2 internal prototype to avoid an error. */
29754 #ifdef __cplusplus
29755 extern "C"
29756 #endif
29757 /* We use char because int might match the return type of a gcc2
29758 builtin and then its argument prototype would still apply. */
29759 char erfl ();
29761 main ()
29763 erfl ();
29765 return 0;
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770 (eval $ac_link) 2>conftest.er1
29771 ac_status=$?
29772 grep -v '^ *+' conftest.er1 >conftest.err
29773 rm -f conftest.er1
29774 cat conftest.err >&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } &&
29777 { ac_try='test -z "$ac_c_werror_flag"
29778 || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 ac_cv_lib_m_erfl=yes
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29795 ac_cv_lib_m_erfl=no
29797 rm -f conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29799 LIBS=$ac_check_lib_save_LIBS
29801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29802 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29803 if test $ac_cv_lib_m_erfl = yes; then
29805 cat >>confdefs.h <<\_ACEOF
29806 #define HAVE_ERFL 1
29807 _ACEOF
29811 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29812 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29813 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29814 echo $ECHO_N "(cached) $ECHO_C" >&6
29815 else
29816 ac_check_lib_save_LIBS=$LIBS
29817 LIBS="-lm $LIBS"
29818 if test x$gcc_no_link = xyes; then
29819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29821 { (exit 1); exit 1; }; }
29823 cat >conftest.$ac_ext <<_ACEOF
29824 /* confdefs.h. */
29825 _ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29830 /* Override any gcc2 internal prototype to avoid an error. */
29831 #ifdef __cplusplus
29832 extern "C"
29833 #endif
29834 /* We use char because int might match the return type of a gcc2
29835 builtin and then its argument prototype would still apply. */
29836 char erfcf ();
29838 main ()
29840 erfcf ();
29842 return 0;
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847 (eval $ac_link) 2>conftest.er1
29848 ac_status=$?
29849 grep -v '^ *+' conftest.er1 >conftest.err
29850 rm -f conftest.er1
29851 cat conftest.err >&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); } &&
29854 { ac_try='test -z "$ac_c_werror_flag"
29855 || test ! -s conftest.err'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try='test -s conftest$ac_exeext'
29862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863 (eval $ac_try) 2>&5
29864 ac_status=$?
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); }; }; then
29867 ac_cv_lib_m_erfcf=yes
29868 else
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 ac_cv_lib_m_erfcf=no
29874 rm -f conftest.err conftest.$ac_objext \
29875 conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29879 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29880 if test $ac_cv_lib_m_erfcf = yes; then
29882 cat >>confdefs.h <<\_ACEOF
29883 #define HAVE_ERFCF 1
29884 _ACEOF
29888 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29889 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29890 if test "${ac_cv_lib_m_erfc+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893 ac_check_lib_save_LIBS=$LIBS
29894 LIBS="-lm $LIBS"
29895 if test x$gcc_no_link = xyes; then
29896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29898 { (exit 1); exit 1; }; }
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29907 /* Override any gcc2 internal prototype to avoid an error. */
29908 #ifdef __cplusplus
29909 extern "C"
29910 #endif
29911 /* We use char because int might match the return type of a gcc2
29912 builtin and then its argument prototype would still apply. */
29913 char erfc ();
29915 main ()
29917 erfc ();
29919 return 0;
29921 _ACEOF
29922 rm -f conftest.$ac_objext conftest$ac_exeext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29924 (eval $ac_link) 2>conftest.er1
29925 ac_status=$?
29926 grep -v '^ *+' conftest.er1 >conftest.err
29927 rm -f conftest.er1
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try='test -z "$ac_c_werror_flag"
29932 || test ! -s conftest.err'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; } &&
29938 { ac_try='test -s conftest$ac_exeext'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29941 ac_status=$?
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; }; then
29944 ac_cv_lib_m_erfc=yes
29945 else
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29949 ac_cv_lib_m_erfc=no
29951 rm -f conftest.err conftest.$ac_objext \
29952 conftest$ac_exeext conftest.$ac_ext
29953 LIBS=$ac_check_lib_save_LIBS
29955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29956 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29957 if test $ac_cv_lib_m_erfc = yes; then
29959 cat >>confdefs.h <<\_ACEOF
29960 #define HAVE_ERFC 1
29961 _ACEOF
29965 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29966 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29967 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970 ac_check_lib_save_LIBS=$LIBS
29971 LIBS="-lm $LIBS"
29972 if test x$gcc_no_link = xyes; then
29973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29975 { (exit 1); exit 1; }; }
29977 cat >conftest.$ac_ext <<_ACEOF
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29984 /* Override any gcc2 internal prototype to avoid an error. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char erfcl ();
29992 main ()
29994 erfcl ();
29996 return 0;
29998 _ACEOF
29999 rm -f conftest.$ac_objext conftest$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>conftest.er1
30002 ac_status=$?
30003 grep -v '^ *+' conftest.er1 >conftest.err
30004 rm -f conftest.er1
30005 cat conftest.err >&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try='test -z "$ac_c_werror_flag"
30009 || test ! -s conftest.err'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30012 ac_status=$?
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try='test -s conftest$ac_exeext'
30016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017 (eval $ac_try) 2>&5
30018 ac_status=$?
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); }; }; then
30021 ac_cv_lib_m_erfcl=yes
30022 else
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30026 ac_cv_lib_m_erfcl=no
30028 rm -f conftest.err conftest.$ac_objext \
30029 conftest$ac_exeext conftest.$ac_ext
30030 LIBS=$ac_check_lib_save_LIBS
30032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30033 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30034 if test $ac_cv_lib_m_erfcl = yes; then
30036 cat >>confdefs.h <<\_ACEOF
30037 #define HAVE_ERFCL 1
30038 _ACEOF
30042 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30043 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30044 if test "${ac_cv_lib_m_j0f+set}" = set; then
30045 echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047 ac_check_lib_save_LIBS=$LIBS
30048 LIBS="-lm $LIBS"
30049 if test x$gcc_no_link = xyes; then
30050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30052 { (exit 1); exit 1; }; }
30054 cat >conftest.$ac_ext <<_ACEOF
30055 /* confdefs.h. */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30061 /* Override any gcc2 internal prototype to avoid an error. */
30062 #ifdef __cplusplus
30063 extern "C"
30064 #endif
30065 /* We use char because int might match the return type of a gcc2
30066 builtin and then its argument prototype would still apply. */
30067 char j0f ();
30069 main ()
30071 j0f ();
30073 return 0;
30075 _ACEOF
30076 rm -f conftest.$ac_objext conftest$ac_exeext
30077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30078 (eval $ac_link) 2>conftest.er1
30079 ac_status=$?
30080 grep -v '^ *+' conftest.er1 >conftest.err
30081 rm -f conftest.er1
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } &&
30085 { ac_try='test -z "$ac_c_werror_flag"
30086 || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30095 ac_status=$?
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_cv_lib_m_j0f=yes
30099 else
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30103 ac_cv_lib_m_j0f=no
30105 rm -f conftest.err conftest.$ac_objext \
30106 conftest$ac_exeext conftest.$ac_ext
30107 LIBS=$ac_check_lib_save_LIBS
30109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30110 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30111 if test $ac_cv_lib_m_j0f = yes; then
30113 cat >>confdefs.h <<\_ACEOF
30114 #define HAVE_J0F 1
30115 _ACEOF
30119 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30120 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30121 if test "${ac_cv_lib_m_j0+set}" = set; then
30122 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 else
30124 ac_check_lib_save_LIBS=$LIBS
30125 LIBS="-lm $LIBS"
30126 if test x$gcc_no_link = xyes; then
30127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30129 { (exit 1); exit 1; }; }
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h. */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h. */
30138 /* Override any gcc2 internal prototype to avoid an error. */
30139 #ifdef __cplusplus
30140 extern "C"
30141 #endif
30142 /* We use char because int might match the return type of a gcc2
30143 builtin and then its argument prototype would still apply. */
30144 char j0 ();
30146 main ()
30148 j0 ();
30150 return 0;
30152 _ACEOF
30153 rm -f conftest.$ac_objext conftest$ac_exeext
30154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30155 (eval $ac_link) 2>conftest.er1
30156 ac_status=$?
30157 grep -v '^ *+' conftest.er1 >conftest.err
30158 rm -f conftest.er1
30159 cat conftest.err >&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); } &&
30162 { ac_try='test -z "$ac_c_werror_flag"
30163 || test ! -s conftest.err'
30164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165 (eval $ac_try) 2>&5
30166 ac_status=$?
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); }; } &&
30169 { ac_try='test -s conftest$ac_exeext'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; }; then
30175 ac_cv_lib_m_j0=yes
30176 else
30177 echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30180 ac_cv_lib_m_j0=no
30182 rm -f conftest.err conftest.$ac_objext \
30183 conftest$ac_exeext conftest.$ac_ext
30184 LIBS=$ac_check_lib_save_LIBS
30186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30187 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30188 if test $ac_cv_lib_m_j0 = yes; then
30190 cat >>confdefs.h <<\_ACEOF
30191 #define HAVE_J0 1
30192 _ACEOF
30196 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30197 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30198 if test "${ac_cv_lib_m_j0l+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 else
30201 ac_check_lib_save_LIBS=$LIBS
30202 LIBS="-lm $LIBS"
30203 if test x$gcc_no_link = xyes; then
30204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30206 { (exit 1); exit 1; }; }
30208 cat >conftest.$ac_ext <<_ACEOF
30209 /* confdefs.h. */
30210 _ACEOF
30211 cat confdefs.h >>conftest.$ac_ext
30212 cat >>conftest.$ac_ext <<_ACEOF
30213 /* end confdefs.h. */
30215 /* Override any gcc2 internal prototype to avoid an error. */
30216 #ifdef __cplusplus
30217 extern "C"
30218 #endif
30219 /* We use char because int might match the return type of a gcc2
30220 builtin and then its argument prototype would still apply. */
30221 char j0l ();
30223 main ()
30225 j0l ();
30227 return 0;
30229 _ACEOF
30230 rm -f conftest.$ac_objext conftest$ac_exeext
30231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30232 (eval $ac_link) 2>conftest.er1
30233 ac_status=$?
30234 grep -v '^ *+' conftest.er1 >conftest.err
30235 rm -f conftest.er1
30236 cat conftest.err >&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); } &&
30239 { ac_try='test -z "$ac_c_werror_flag"
30240 || test ! -s conftest.err'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30243 ac_status=$?
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; } &&
30246 { ac_try='test -s conftest$ac_exeext'
30247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30248 (eval $ac_try) 2>&5
30249 ac_status=$?
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); }; }; then
30252 ac_cv_lib_m_j0l=yes
30253 else
30254 echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.$ac_ext >&5
30257 ac_cv_lib_m_j0l=no
30259 rm -f conftest.err conftest.$ac_objext \
30260 conftest$ac_exeext conftest.$ac_ext
30261 LIBS=$ac_check_lib_save_LIBS
30263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30264 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30265 if test $ac_cv_lib_m_j0l = yes; then
30267 cat >>confdefs.h <<\_ACEOF
30268 #define HAVE_J0L 1
30269 _ACEOF
30273 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30274 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30275 if test "${ac_cv_lib_m_j1f+set}" = set; then
30276 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 else
30278 ac_check_lib_save_LIBS=$LIBS
30279 LIBS="-lm $LIBS"
30280 if test x$gcc_no_link = xyes; then
30281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30283 { (exit 1); exit 1; }; }
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h. */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30292 /* Override any gcc2 internal prototype to avoid an error. */
30293 #ifdef __cplusplus
30294 extern "C"
30295 #endif
30296 /* We use char because int might match the return type of a gcc2
30297 builtin and then its argument prototype would still apply. */
30298 char j1f ();
30300 main ()
30302 j1f ();
30304 return 0;
30306 _ACEOF
30307 rm -f conftest.$ac_objext conftest$ac_exeext
30308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30309 (eval $ac_link) 2>conftest.er1
30310 ac_status=$?
30311 grep -v '^ *+' conftest.er1 >conftest.err
30312 rm -f conftest.er1
30313 cat conftest.err >&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } &&
30316 { ac_try='test -z "$ac_c_werror_flag"
30317 || test ! -s conftest.err'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30320 ac_status=$?
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; } &&
30323 { ac_try='test -s conftest$ac_exeext'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30326 ac_status=$?
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; }; then
30329 ac_cv_lib_m_j1f=yes
30330 else
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.$ac_ext >&5
30334 ac_cv_lib_m_j1f=no
30336 rm -f conftest.err conftest.$ac_objext \
30337 conftest$ac_exeext conftest.$ac_ext
30338 LIBS=$ac_check_lib_save_LIBS
30340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30341 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30342 if test $ac_cv_lib_m_j1f = yes; then
30344 cat >>confdefs.h <<\_ACEOF
30345 #define HAVE_J1F 1
30346 _ACEOF
30350 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30351 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30352 if test "${ac_cv_lib_m_j1+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355 ac_check_lib_save_LIBS=$LIBS
30356 LIBS="-lm $LIBS"
30357 if test x$gcc_no_link = xyes; then
30358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30360 { (exit 1); exit 1; }; }
30362 cat >conftest.$ac_ext <<_ACEOF
30363 /* confdefs.h. */
30364 _ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30369 /* Override any gcc2 internal prototype to avoid an error. */
30370 #ifdef __cplusplus
30371 extern "C"
30372 #endif
30373 /* We use char because int might match the return type of a gcc2
30374 builtin and then its argument prototype would still apply. */
30375 char j1 ();
30377 main ()
30379 j1 ();
30381 return 0;
30383 _ACEOF
30384 rm -f conftest.$ac_objext conftest$ac_exeext
30385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30386 (eval $ac_link) 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } &&
30393 { ac_try='test -z "$ac_c_werror_flag"
30394 || test ! -s conftest.err'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; } &&
30400 { ac_try='test -s conftest$ac_exeext'
30401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30402 (eval $ac_try) 2>&5
30403 ac_status=$?
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); }; }; then
30406 ac_cv_lib_m_j1=yes
30407 else
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30411 ac_cv_lib_m_j1=no
30413 rm -f conftest.err conftest.$ac_objext \
30414 conftest$ac_exeext conftest.$ac_ext
30415 LIBS=$ac_check_lib_save_LIBS
30417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30418 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30419 if test $ac_cv_lib_m_j1 = yes; then
30421 cat >>confdefs.h <<\_ACEOF
30422 #define HAVE_J1 1
30423 _ACEOF
30427 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30428 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30429 if test "${ac_cv_lib_m_j1l+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 ac_check_lib_save_LIBS=$LIBS
30433 LIBS="-lm $LIBS"
30434 if test x$gcc_no_link = xyes; then
30435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30437 { (exit 1); exit 1; }; }
30439 cat >conftest.$ac_ext <<_ACEOF
30440 /* confdefs.h. */
30441 _ACEOF
30442 cat confdefs.h >>conftest.$ac_ext
30443 cat >>conftest.$ac_ext <<_ACEOF
30444 /* end confdefs.h. */
30446 /* Override any gcc2 internal prototype to avoid an error. */
30447 #ifdef __cplusplus
30448 extern "C"
30449 #endif
30450 /* We use char because int might match the return type of a gcc2
30451 builtin and then its argument prototype would still apply. */
30452 char j1l ();
30454 main ()
30456 j1l ();
30458 return 0;
30460 _ACEOF
30461 rm -f conftest.$ac_objext conftest$ac_exeext
30462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30463 (eval $ac_link) 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try='test -z "$ac_c_werror_flag"
30471 || test ! -s conftest.err'
30472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473 (eval $ac_try) 2>&5
30474 ac_status=$?
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; } &&
30477 { ac_try='test -s conftest$ac_exeext'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30480 ac_status=$?
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; }; then
30483 ac_cv_lib_m_j1l=yes
30484 else
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30488 ac_cv_lib_m_j1l=no
30490 rm -f conftest.err conftest.$ac_objext \
30491 conftest$ac_exeext conftest.$ac_ext
30492 LIBS=$ac_check_lib_save_LIBS
30494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30495 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30496 if test $ac_cv_lib_m_j1l = yes; then
30498 cat >>confdefs.h <<\_ACEOF
30499 #define HAVE_J1L 1
30500 _ACEOF
30504 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30505 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30506 if test "${ac_cv_lib_m_jnf+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 else
30509 ac_check_lib_save_LIBS=$LIBS
30510 LIBS="-lm $LIBS"
30511 if test x$gcc_no_link = xyes; then
30512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30514 { (exit 1); exit 1; }; }
30516 cat >conftest.$ac_ext <<_ACEOF
30517 /* confdefs.h. */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30523 /* Override any gcc2 internal prototype to avoid an error. */
30524 #ifdef __cplusplus
30525 extern "C"
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30529 char jnf ();
30531 main ()
30533 jnf ();
30535 return 0;
30537 _ACEOF
30538 rm -f conftest.$ac_objext conftest$ac_exeext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30540 (eval $ac_link) 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } &&
30547 { ac_try='test -z "$ac_c_werror_flag"
30548 || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30551 ac_status=$?
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try='test -s conftest$ac_exeext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 ac_cv_lib_m_jnf=yes
30561 else
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30565 ac_cv_lib_m_jnf=no
30567 rm -f conftest.err conftest.$ac_objext \
30568 conftest$ac_exeext conftest.$ac_ext
30569 LIBS=$ac_check_lib_save_LIBS
30571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30572 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30573 if test $ac_cv_lib_m_jnf = yes; then
30575 cat >>confdefs.h <<\_ACEOF
30576 #define HAVE_JNF 1
30577 _ACEOF
30581 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30582 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30583 if test "${ac_cv_lib_m_jn+set}" = set; then
30584 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 else
30586 ac_check_lib_save_LIBS=$LIBS
30587 LIBS="-lm $LIBS"
30588 if test x$gcc_no_link = xyes; then
30589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30591 { (exit 1); exit 1; }; }
30593 cat >conftest.$ac_ext <<_ACEOF
30594 /* confdefs.h. */
30595 _ACEOF
30596 cat confdefs.h >>conftest.$ac_ext
30597 cat >>conftest.$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30600 /* Override any gcc2 internal prototype to avoid an error. */
30601 #ifdef __cplusplus
30602 extern "C"
30603 #endif
30604 /* We use char because int might match the return type of a gcc2
30605 builtin and then its argument prototype would still apply. */
30606 char jn ();
30608 main ()
30610 jn ();
30612 return 0;
30614 _ACEOF
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30617 (eval $ac_link) 2>conftest.er1
30618 ac_status=$?
30619 grep -v '^ *+' conftest.er1 >conftest.err
30620 rm -f conftest.er1
30621 cat conftest.err >&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try='test -z "$ac_c_werror_flag"
30625 || test ! -s conftest.err'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30628 ac_status=$?
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try='test -s conftest$ac_exeext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30634 ac_status=$?
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 ac_cv_lib_m_jn=yes
30638 else
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30642 ac_cv_lib_m_jn=no
30644 rm -f conftest.err conftest.$ac_objext \
30645 conftest$ac_exeext conftest.$ac_ext
30646 LIBS=$ac_check_lib_save_LIBS
30648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30649 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30650 if test $ac_cv_lib_m_jn = yes; then
30652 cat >>confdefs.h <<\_ACEOF
30653 #define HAVE_JN 1
30654 _ACEOF
30658 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30659 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30660 if test "${ac_cv_lib_m_jnl+set}" = set; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 else
30663 ac_check_lib_save_LIBS=$LIBS
30664 LIBS="-lm $LIBS"
30665 if test x$gcc_no_link = xyes; then
30666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30668 { (exit 1); exit 1; }; }
30670 cat >conftest.$ac_ext <<_ACEOF
30671 /* confdefs.h. */
30672 _ACEOF
30673 cat confdefs.h >>conftest.$ac_ext
30674 cat >>conftest.$ac_ext <<_ACEOF
30675 /* end confdefs.h. */
30677 /* Override any gcc2 internal prototype to avoid an error. */
30678 #ifdef __cplusplus
30679 extern "C"
30680 #endif
30681 /* We use char because int might match the return type of a gcc2
30682 builtin and then its argument prototype would still apply. */
30683 char jnl ();
30685 main ()
30687 jnl ();
30689 return 0;
30691 _ACEOF
30692 rm -f conftest.$ac_objext conftest$ac_exeext
30693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30694 (eval $ac_link) 2>conftest.er1
30695 ac_status=$?
30696 grep -v '^ *+' conftest.er1 >conftest.err
30697 rm -f conftest.er1
30698 cat conftest.err >&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } &&
30701 { ac_try='test -z "$ac_c_werror_flag"
30702 || test ! -s conftest.err'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; } &&
30708 { ac_try='test -s conftest$ac_exeext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 ac_cv_lib_m_jnl=yes
30715 else
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30719 ac_cv_lib_m_jnl=no
30721 rm -f conftest.err conftest.$ac_objext \
30722 conftest$ac_exeext conftest.$ac_ext
30723 LIBS=$ac_check_lib_save_LIBS
30725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30726 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30727 if test $ac_cv_lib_m_jnl = yes; then
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_JNL 1
30731 _ACEOF
30735 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30736 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30737 if test "${ac_cv_lib_m_y0f+set}" = set; then
30738 echo $ECHO_N "(cached) $ECHO_C" >&6
30739 else
30740 ac_check_lib_save_LIBS=$LIBS
30741 LIBS="-lm $LIBS"
30742 if test x$gcc_no_link = xyes; then
30743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30745 { (exit 1); exit 1; }; }
30747 cat >conftest.$ac_ext <<_ACEOF
30748 /* confdefs.h. */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30754 /* Override any gcc2 internal prototype to avoid an error. */
30755 #ifdef __cplusplus
30756 extern "C"
30757 #endif
30758 /* We use char because int might match the return type of a gcc2
30759 builtin and then its argument prototype would still apply. */
30760 char y0f ();
30762 main ()
30764 y0f ();
30766 return 0;
30768 _ACEOF
30769 rm -f conftest.$ac_objext conftest$ac_exeext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30771 (eval $ac_link) 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -z "$ac_c_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try='test -s conftest$ac_exeext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791 ac_cv_lib_m_y0f=yes
30792 else
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30796 ac_cv_lib_m_y0f=no
30798 rm -f conftest.err conftest.$ac_objext \
30799 conftest$ac_exeext conftest.$ac_ext
30800 LIBS=$ac_check_lib_save_LIBS
30802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30803 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30804 if test $ac_cv_lib_m_y0f = yes; then
30806 cat >>confdefs.h <<\_ACEOF
30807 #define HAVE_Y0F 1
30808 _ACEOF
30812 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30813 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30814 if test "${ac_cv_lib_m_y0+set}" = set; then
30815 echo $ECHO_N "(cached) $ECHO_C" >&6
30816 else
30817 ac_check_lib_save_LIBS=$LIBS
30818 LIBS="-lm $LIBS"
30819 if test x$gcc_no_link = xyes; then
30820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30822 { (exit 1); exit 1; }; }
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30831 /* Override any gcc2 internal prototype to avoid an error. */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 /* We use char because int might match the return type of a gcc2
30836 builtin and then its argument prototype would still apply. */
30837 char y0 ();
30839 main ()
30841 y0 ();
30843 return 0;
30845 _ACEOF
30846 rm -f conftest.$ac_objext conftest$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try='test -z "$ac_c_werror_flag"
30856 || test ! -s conftest.err'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; } &&
30862 { ac_try='test -s conftest$ac_exeext'
30863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30864 (eval $ac_try) 2>&5
30865 ac_status=$?
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); }; }; then
30868 ac_cv_lib_m_y0=yes
30869 else
30870 echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.$ac_ext >&5
30873 ac_cv_lib_m_y0=no
30875 rm -f conftest.err conftest.$ac_objext \
30876 conftest$ac_exeext conftest.$ac_ext
30877 LIBS=$ac_check_lib_save_LIBS
30879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30880 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30881 if test $ac_cv_lib_m_y0 = yes; then
30883 cat >>confdefs.h <<\_ACEOF
30884 #define HAVE_Y0 1
30885 _ACEOF
30889 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30890 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30891 if test "${ac_cv_lib_m_y0l+set}" = set; then
30892 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 else
30894 ac_check_lib_save_LIBS=$LIBS
30895 LIBS="-lm $LIBS"
30896 if test x$gcc_no_link = xyes; then
30897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30899 { (exit 1); exit 1; }; }
30901 cat >conftest.$ac_ext <<_ACEOF
30902 /* confdefs.h. */
30903 _ACEOF
30904 cat confdefs.h >>conftest.$ac_ext
30905 cat >>conftest.$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30908 /* Override any gcc2 internal prototype to avoid an error. */
30909 #ifdef __cplusplus
30910 extern "C"
30911 #endif
30912 /* We use char because int might match the return type of a gcc2
30913 builtin and then its argument prototype would still apply. */
30914 char y0l ();
30916 main ()
30918 y0l ();
30920 return 0;
30922 _ACEOF
30923 rm -f conftest.$ac_objext conftest$ac_exeext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925 (eval $ac_link) 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -z "$ac_c_werror_flag"
30933 || test ! -s conftest.err'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; } &&
30939 { ac_try='test -s conftest$ac_exeext'
30940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941 (eval $ac_try) 2>&5
30942 ac_status=$?
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; }; then
30945 ac_cv_lib_m_y0l=yes
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30950 ac_cv_lib_m_y0l=no
30952 rm -f conftest.err conftest.$ac_objext \
30953 conftest$ac_exeext conftest.$ac_ext
30954 LIBS=$ac_check_lib_save_LIBS
30956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30957 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30958 if test $ac_cv_lib_m_y0l = yes; then
30960 cat >>confdefs.h <<\_ACEOF
30961 #define HAVE_Y0L 1
30962 _ACEOF
30966 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30967 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30968 if test "${ac_cv_lib_m_y1f+set}" = set; then
30969 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 else
30971 ac_check_lib_save_LIBS=$LIBS
30972 LIBS="-lm $LIBS"
30973 if test x$gcc_no_link = xyes; then
30974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30976 { (exit 1); exit 1; }; }
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30985 /* Override any gcc2 internal prototype to avoid an error. */
30986 #ifdef __cplusplus
30987 extern "C"
30988 #endif
30989 /* We use char because int might match the return type of a gcc2
30990 builtin and then its argument prototype would still apply. */
30991 char y1f ();
30993 main ()
30995 y1f ();
30997 return 0;
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31002 (eval $ac_link) 2>conftest.er1
31003 ac_status=$?
31004 grep -v '^ *+' conftest.er1 >conftest.err
31005 rm -f conftest.er1
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
31009 { ac_try='test -z "$ac_c_werror_flag"
31010 || test ! -s conftest.err'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31013 ac_status=$?
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; } &&
31016 { ac_try='test -s conftest$ac_exeext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31019 ac_status=$?
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 ac_cv_lib_m_y1f=yes
31023 else
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 ac_cv_lib_m_y1f=no
31029 rm -f conftest.err conftest.$ac_objext \
31030 conftest$ac_exeext conftest.$ac_ext
31031 LIBS=$ac_check_lib_save_LIBS
31033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31034 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31035 if test $ac_cv_lib_m_y1f = yes; then
31037 cat >>confdefs.h <<\_ACEOF
31038 #define HAVE_Y1F 1
31039 _ACEOF
31043 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31044 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31045 if test "${ac_cv_lib_m_y1+set}" = set; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 else
31048 ac_check_lib_save_LIBS=$LIBS
31049 LIBS="-lm $LIBS"
31050 if test x$gcc_no_link = xyes; then
31051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31053 { (exit 1); exit 1; }; }
31055 cat >conftest.$ac_ext <<_ACEOF
31056 /* confdefs.h. */
31057 _ACEOF
31058 cat confdefs.h >>conftest.$ac_ext
31059 cat >>conftest.$ac_ext <<_ACEOF
31060 /* end confdefs.h. */
31062 /* Override any gcc2 internal prototype to avoid an error. */
31063 #ifdef __cplusplus
31064 extern "C"
31065 #endif
31066 /* We use char because int might match the return type of a gcc2
31067 builtin and then its argument prototype would still apply. */
31068 char y1 ();
31070 main ()
31072 y1 ();
31074 return 0;
31076 _ACEOF
31077 rm -f conftest.$ac_objext conftest$ac_exeext
31078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31079 (eval $ac_link) 2>conftest.er1
31080 ac_status=$?
31081 grep -v '^ *+' conftest.er1 >conftest.err
31082 rm -f conftest.er1
31083 cat conftest.err >&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); } &&
31086 { ac_try='test -z "$ac_c_werror_flag"
31087 || test ! -s conftest.err'
31088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31089 (eval $ac_try) 2>&5
31090 ac_status=$?
31091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092 (exit $ac_status); }; } &&
31093 { ac_try='test -s conftest$ac_exeext'
31094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31095 (eval $ac_try) 2>&5
31096 ac_status=$?
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); }; }; then
31099 ac_cv_lib_m_y1=yes
31100 else
31101 echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.$ac_ext >&5
31104 ac_cv_lib_m_y1=no
31106 rm -f conftest.err conftest.$ac_objext \
31107 conftest$ac_exeext conftest.$ac_ext
31108 LIBS=$ac_check_lib_save_LIBS
31110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31111 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31112 if test $ac_cv_lib_m_y1 = yes; then
31114 cat >>confdefs.h <<\_ACEOF
31115 #define HAVE_Y1 1
31116 _ACEOF
31120 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31121 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31122 if test "${ac_cv_lib_m_y1l+set}" = set; then
31123 echo $ECHO_N "(cached) $ECHO_C" >&6
31124 else
31125 ac_check_lib_save_LIBS=$LIBS
31126 LIBS="-lm $LIBS"
31127 if test x$gcc_no_link = xyes; then
31128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31130 { (exit 1); exit 1; }; }
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h. */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31139 /* Override any gcc2 internal prototype to avoid an error. */
31140 #ifdef __cplusplus
31141 extern "C"
31142 #endif
31143 /* We use char because int might match the return type of a gcc2
31144 builtin and then its argument prototype would still apply. */
31145 char y1l ();
31147 main ()
31149 y1l ();
31151 return 0;
31153 _ACEOF
31154 rm -f conftest.$ac_objext conftest$ac_exeext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31156 (eval $ac_link) 2>conftest.er1
31157 ac_status=$?
31158 grep -v '^ *+' conftest.er1 >conftest.err
31159 rm -f conftest.er1
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } &&
31163 { ac_try='test -z "$ac_c_werror_flag"
31164 || test ! -s conftest.err'
31165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31166 (eval $ac_try) 2>&5
31167 ac_status=$?
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; } &&
31170 { ac_try='test -s conftest$ac_exeext'
31171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31172 (eval $ac_try) 2>&5
31173 ac_status=$?
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); }; }; then
31176 ac_cv_lib_m_y1l=yes
31177 else
31178 echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.$ac_ext >&5
31181 ac_cv_lib_m_y1l=no
31183 rm -f conftest.err conftest.$ac_objext \
31184 conftest$ac_exeext conftest.$ac_ext
31185 LIBS=$ac_check_lib_save_LIBS
31187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31188 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31189 if test $ac_cv_lib_m_y1l = yes; then
31191 cat >>confdefs.h <<\_ACEOF
31192 #define HAVE_Y1L 1
31193 _ACEOF
31197 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31198 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31199 if test "${ac_cv_lib_m_ynf+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31202 ac_check_lib_save_LIBS=$LIBS
31203 LIBS="-lm $LIBS"
31204 if test x$gcc_no_link = xyes; then
31205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31207 { (exit 1); exit 1; }; }
31209 cat >conftest.$ac_ext <<_ACEOF
31210 /* confdefs.h. */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31216 /* Override any gcc2 internal prototype to avoid an error. */
31217 #ifdef __cplusplus
31218 extern "C"
31219 #endif
31220 /* We use char because int might match the return type of a gcc2
31221 builtin and then its argument prototype would still apply. */
31222 char ynf ();
31224 main ()
31226 ynf ();
31228 return 0;
31230 _ACEOF
31231 rm -f conftest.$ac_objext conftest$ac_exeext
31232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31233 (eval $ac_link) 2>conftest.er1
31234 ac_status=$?
31235 grep -v '^ *+' conftest.er1 >conftest.err
31236 rm -f conftest.er1
31237 cat conftest.err >&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); } &&
31240 { ac_try='test -z "$ac_c_werror_flag"
31241 || test ! -s conftest.err'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; } &&
31247 { ac_try='test -s conftest$ac_exeext'
31248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31249 (eval $ac_try) 2>&5
31250 ac_status=$?
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); }; }; then
31253 ac_cv_lib_m_ynf=yes
31254 else
31255 echo "$as_me: failed program was:" >&5
31256 sed 's/^/| /' conftest.$ac_ext >&5
31258 ac_cv_lib_m_ynf=no
31260 rm -f conftest.err conftest.$ac_objext \
31261 conftest$ac_exeext conftest.$ac_ext
31262 LIBS=$ac_check_lib_save_LIBS
31264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31265 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31266 if test $ac_cv_lib_m_ynf = yes; then
31268 cat >>confdefs.h <<\_ACEOF
31269 #define HAVE_YNF 1
31270 _ACEOF
31274 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31275 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31276 if test "${ac_cv_lib_m_yn+set}" = set; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 else
31279 ac_check_lib_save_LIBS=$LIBS
31280 LIBS="-lm $LIBS"
31281 if test x$gcc_no_link = xyes; then
31282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31284 { (exit 1); exit 1; }; }
31286 cat >conftest.$ac_ext <<_ACEOF
31287 /* confdefs.h. */
31288 _ACEOF
31289 cat confdefs.h >>conftest.$ac_ext
31290 cat >>conftest.$ac_ext <<_ACEOF
31291 /* end confdefs.h. */
31293 /* Override any gcc2 internal prototype to avoid an error. */
31294 #ifdef __cplusplus
31295 extern "C"
31296 #endif
31297 /* We use char because int might match the return type of a gcc2
31298 builtin and then its argument prototype would still apply. */
31299 char yn ();
31301 main ()
31303 yn ();
31305 return 0;
31307 _ACEOF
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31311 ac_status=$?
31312 grep -v '^ *+' conftest.er1 >conftest.err
31313 rm -f conftest.er1
31314 cat conftest.err >&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try='test -z "$ac_c_werror_flag"
31318 || test ! -s conftest.err'
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; } &&
31324 { ac_try='test -s conftest$ac_exeext'
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; }; then
31330 ac_cv_lib_m_yn=yes
31331 else
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31335 ac_cv_lib_m_yn=no
31337 rm -f conftest.err conftest.$ac_objext \
31338 conftest$ac_exeext conftest.$ac_ext
31339 LIBS=$ac_check_lib_save_LIBS
31341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31342 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31343 if test $ac_cv_lib_m_yn = yes; then
31345 cat >>confdefs.h <<\_ACEOF
31346 #define HAVE_YN 1
31347 _ACEOF
31351 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31352 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31353 if test "${ac_cv_lib_m_ynl+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356 ac_check_lib_save_LIBS=$LIBS
31357 LIBS="-lm $LIBS"
31358 if test x$gcc_no_link = xyes; then
31359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31361 { (exit 1); exit 1; }; }
31363 cat >conftest.$ac_ext <<_ACEOF
31364 /* confdefs.h. */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31370 /* Override any gcc2 internal prototype to avoid an error. */
31371 #ifdef __cplusplus
31372 extern "C"
31373 #endif
31374 /* We use char because int might match the return type of a gcc2
31375 builtin and then its argument prototype would still apply. */
31376 char ynl ();
31378 main ()
31380 ynl ();
31382 return 0;
31384 _ACEOF
31385 rm -f conftest.$ac_objext conftest$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387 (eval $ac_link) 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_c_werror_flag"
31395 || test ! -s conftest.err'
31396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397 (eval $ac_try) 2>&5
31398 ac_status=$?
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); }; } &&
31401 { ac_try='test -s conftest$ac_exeext'
31402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 (eval $ac_try) 2>&5
31404 ac_status=$?
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; }; then
31407 ac_cv_lib_m_ynl=yes
31408 else
31409 echo "$as_me: failed program was:" >&5
31410 sed 's/^/| /' conftest.$ac_ext >&5
31412 ac_cv_lib_m_ynl=no
31414 rm -f conftest.err conftest.$ac_objext \
31415 conftest$ac_exeext conftest.$ac_ext
31416 LIBS=$ac_check_lib_save_LIBS
31418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31419 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31420 if test $ac_cv_lib_m_ynl = yes; then
31422 cat >>confdefs.h <<\_ACEOF
31423 #define HAVE_YNL 1
31424 _ACEOF
31428 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31429 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31430 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433 ac_check_lib_save_LIBS=$LIBS
31434 LIBS="-lm $LIBS"
31435 if test x$gcc_no_link = xyes; then
31436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31438 { (exit 1); exit 1; }; }
31440 cat >conftest.$ac_ext <<_ACEOF
31441 /* confdefs.h. */
31442 _ACEOF
31443 cat confdefs.h >>conftest.$ac_ext
31444 cat >>conftest.$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31447 /* Override any gcc2 internal prototype to avoid an error. */
31448 #ifdef __cplusplus
31449 extern "C"
31450 #endif
31451 /* We use char because int might match the return type of a gcc2
31452 builtin and then its argument prototype would still apply. */
31453 char tgamma ();
31455 main ()
31457 tgamma ();
31459 return 0;
31461 _ACEOF
31462 rm -f conftest.$ac_objext conftest$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>conftest.er1
31465 ac_status=$?
31466 grep -v '^ *+' conftest.er1 >conftest.err
31467 rm -f conftest.er1
31468 cat conftest.err >&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } &&
31471 { ac_try='test -z "$ac_c_werror_flag"
31472 || test ! -s conftest.err'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; } &&
31478 { ac_try='test -s conftest$ac_exeext'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; }; then
31484 ac_cv_lib_m_tgamma=yes
31485 else
31486 echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.$ac_ext >&5
31489 ac_cv_lib_m_tgamma=no
31491 rm -f conftest.err conftest.$ac_objext \
31492 conftest$ac_exeext conftest.$ac_ext
31493 LIBS=$ac_check_lib_save_LIBS
31495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31496 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31497 if test $ac_cv_lib_m_tgamma = yes; then
31499 cat >>confdefs.h <<\_ACEOF
31500 #define HAVE_TGAMMA 1
31501 _ACEOF
31505 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31506 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31507 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 else
31510 ac_check_lib_save_LIBS=$LIBS
31511 LIBS="-lm $LIBS"
31512 if test x$gcc_no_link = xyes; then
31513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31515 { (exit 1); exit 1; }; }
31517 cat >conftest.$ac_ext <<_ACEOF
31518 /* confdefs.h. */
31519 _ACEOF
31520 cat confdefs.h >>conftest.$ac_ext
31521 cat >>conftest.$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31524 /* Override any gcc2 internal prototype to avoid an error. */
31525 #ifdef __cplusplus
31526 extern "C"
31527 #endif
31528 /* We use char because int might match the return type of a gcc2
31529 builtin and then its argument prototype would still apply. */
31530 char tgammaf ();
31532 main ()
31534 tgammaf ();
31536 return 0;
31538 _ACEOF
31539 rm -f conftest.$ac_objext conftest$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541 (eval $ac_link) 2>conftest.er1
31542 ac_status=$?
31543 grep -v '^ *+' conftest.er1 >conftest.err
31544 rm -f conftest.er1
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } &&
31548 { ac_try='test -z "$ac_c_werror_flag"
31549 || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 ac_cv_lib_m_tgammaf=yes
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31566 ac_cv_lib_m_tgammaf=no
31568 rm -f conftest.err conftest.$ac_objext \
31569 conftest$ac_exeext conftest.$ac_ext
31570 LIBS=$ac_check_lib_save_LIBS
31572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31573 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31574 if test $ac_cv_lib_m_tgammaf = yes; then
31576 cat >>confdefs.h <<\_ACEOF
31577 #define HAVE_TGAMMAF 1
31578 _ACEOF
31582 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31583 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31584 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31585 echo $ECHO_N "(cached) $ECHO_C" >&6
31586 else
31587 ac_check_lib_save_LIBS=$LIBS
31588 LIBS="-lm $LIBS"
31589 if test x$gcc_no_link = xyes; then
31590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31592 { (exit 1); exit 1; }; }
31594 cat >conftest.$ac_ext <<_ACEOF
31595 /* confdefs.h. */
31596 _ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31601 /* Override any gcc2 internal prototype to avoid an error. */
31602 #ifdef __cplusplus
31603 extern "C"
31604 #endif
31605 /* We use char because int might match the return type of a gcc2
31606 builtin and then its argument prototype would still apply. */
31607 char tgammal ();
31609 main ()
31611 tgammal ();
31613 return 0;
31615 _ACEOF
31616 rm -f conftest.$ac_objext conftest$ac_exeext
31617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31618 (eval $ac_link) 2>conftest.er1
31619 ac_status=$?
31620 grep -v '^ *+' conftest.er1 >conftest.err
31621 rm -f conftest.er1
31622 cat conftest.err >&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } &&
31625 { ac_try='test -z "$ac_c_werror_flag"
31626 || test ! -s conftest.err'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31629 ac_status=$?
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; } &&
31632 { ac_try='test -s conftest$ac_exeext'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31635 ac_status=$?
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; }; then
31638 ac_cv_lib_m_tgammal=yes
31639 else
31640 echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.$ac_ext >&5
31643 ac_cv_lib_m_tgammal=no
31645 rm -f conftest.err conftest.$ac_objext \
31646 conftest$ac_exeext conftest.$ac_ext
31647 LIBS=$ac_check_lib_save_LIBS
31649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31650 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31651 if test $ac_cv_lib_m_tgammal = yes; then
31653 cat >>confdefs.h <<\_ACEOF
31654 #define HAVE_TGAMMAL 1
31655 _ACEOF
31659 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31660 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31661 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31663 else
31664 ac_check_lib_save_LIBS=$LIBS
31665 LIBS="-lm $LIBS"
31666 if test x$gcc_no_link = xyes; then
31667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31669 { (exit 1); exit 1; }; }
31671 cat >conftest.$ac_ext <<_ACEOF
31672 /* confdefs.h. */
31673 _ACEOF
31674 cat confdefs.h >>conftest.$ac_ext
31675 cat >>conftest.$ac_ext <<_ACEOF
31676 /* end confdefs.h. */
31678 /* Override any gcc2 internal prototype to avoid an error. */
31679 #ifdef __cplusplus
31680 extern "C"
31681 #endif
31682 /* We use char because int might match the return type of a gcc2
31683 builtin and then its argument prototype would still apply. */
31684 char lgamma ();
31686 main ()
31688 lgamma ();
31690 return 0;
31692 _ACEOF
31693 rm -f conftest.$ac_objext conftest$ac_exeext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31695 (eval $ac_link) 2>conftest.er1
31696 ac_status=$?
31697 grep -v '^ *+' conftest.er1 >conftest.err
31698 rm -f conftest.er1
31699 cat conftest.err >&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); } &&
31702 { ac_try='test -z "$ac_c_werror_flag"
31703 || test ! -s conftest.err'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; } &&
31709 { ac_try='test -s conftest$ac_exeext'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31712 ac_status=$?
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; }; then
31715 ac_cv_lib_m_lgamma=yes
31716 else
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31720 ac_cv_lib_m_lgamma=no
31722 rm -f conftest.err conftest.$ac_objext \
31723 conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31727 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31728 if test $ac_cv_lib_m_lgamma = yes; then
31730 cat >>confdefs.h <<\_ACEOF
31731 #define HAVE_LGAMMA 1
31732 _ACEOF
31736 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31737 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31738 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31740 else
31741 ac_check_lib_save_LIBS=$LIBS
31742 LIBS="-lm $LIBS"
31743 if test x$gcc_no_link = xyes; then
31744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31746 { (exit 1); exit 1; }; }
31748 cat >conftest.$ac_ext <<_ACEOF
31749 /* confdefs.h. */
31750 _ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31755 /* Override any gcc2 internal prototype to avoid an error. */
31756 #ifdef __cplusplus
31757 extern "C"
31758 #endif
31759 /* We use char because int might match the return type of a gcc2
31760 builtin and then its argument prototype would still apply. */
31761 char lgammaf ();
31763 main ()
31765 lgammaf ();
31767 return 0;
31769 _ACEOF
31770 rm -f conftest.$ac_objext conftest$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772 (eval $ac_link) 2>conftest.er1
31773 ac_status=$?
31774 grep -v '^ *+' conftest.er1 >conftest.err
31775 rm -f conftest.er1
31776 cat conftest.err >&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -z "$ac_c_werror_flag"
31780 || test ! -s conftest.err'
31781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782 (eval $ac_try) 2>&5
31783 ac_status=$?
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; } &&
31786 { ac_try='test -s conftest$ac_exeext'
31787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31788 (eval $ac_try) 2>&5
31789 ac_status=$?
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); }; }; then
31792 ac_cv_lib_m_lgammaf=yes
31793 else
31794 echo "$as_me: failed program was:" >&5
31795 sed 's/^/| /' conftest.$ac_ext >&5
31797 ac_cv_lib_m_lgammaf=no
31799 rm -f conftest.err conftest.$ac_objext \
31800 conftest$ac_exeext conftest.$ac_ext
31801 LIBS=$ac_check_lib_save_LIBS
31803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31804 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31805 if test $ac_cv_lib_m_lgammaf = yes; then
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_LGAMMAF 1
31809 _ACEOF
31813 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31814 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31815 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31816 echo $ECHO_N "(cached) $ECHO_C" >&6
31817 else
31818 ac_check_lib_save_LIBS=$LIBS
31819 LIBS="-lm $LIBS"
31820 if test x$gcc_no_link = xyes; then
31821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31823 { (exit 1); exit 1; }; }
31825 cat >conftest.$ac_ext <<_ACEOF
31826 /* confdefs.h. */
31827 _ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31832 /* Override any gcc2 internal prototype to avoid an error. */
31833 #ifdef __cplusplus
31834 extern "C"
31835 #endif
31836 /* We use char because int might match the return type of a gcc2
31837 builtin and then its argument prototype would still apply. */
31838 char lgammal ();
31840 main ()
31842 lgammal ();
31844 return 0;
31846 _ACEOF
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31849 (eval $ac_link) 2>conftest.er1
31850 ac_status=$?
31851 grep -v '^ *+' conftest.er1 >conftest.err
31852 rm -f conftest.er1
31853 cat conftest.err >&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } &&
31856 { ac_try='test -z "$ac_c_werror_flag"
31857 || test ! -s conftest.err'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31860 ac_status=$?
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; } &&
31863 { ac_try='test -s conftest$ac_exeext'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; }; then
31869 ac_cv_lib_m_lgammal=yes
31870 else
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31874 ac_cv_lib_m_lgammal=no
31876 rm -f conftest.err conftest.$ac_objext \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
31881 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
31882 if test $ac_cv_lib_m_lgammal = yes; then
31884 cat >>confdefs.h <<\_ACEOF
31885 #define HAVE_LGAMMAL 1
31886 _ACEOF
31891 # On AIX, clog is present in libm as __clog
31892 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31893 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31894 if test "${ac_cv_lib_m___clog+set}" = set; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 else
31897 ac_check_lib_save_LIBS=$LIBS
31898 LIBS="-lm $LIBS"
31899 if test x$gcc_no_link = xyes; then
31900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31902 { (exit 1); exit 1; }; }
31904 cat >conftest.$ac_ext <<_ACEOF
31905 /* confdefs.h. */
31906 _ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31911 /* Override any gcc2 internal prototype to avoid an error. */
31912 #ifdef __cplusplus
31913 extern "C"
31914 #endif
31915 /* We use char because int might match the return type of a gcc2
31916 builtin and then its argument prototype would still apply. */
31917 char __clog ();
31919 main ()
31921 __clog ();
31923 return 0;
31925 _ACEOF
31926 rm -f conftest.$ac_objext conftest$ac_exeext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31928 (eval $ac_link) 2>conftest.er1
31929 ac_status=$?
31930 grep -v '^ *+' conftest.er1 >conftest.err
31931 rm -f conftest.er1
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } &&
31935 { ac_try='test -z "$ac_c_werror_flag"
31936 || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31939 ac_status=$?
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31945 ac_status=$?
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_cv_lib_m___clog=yes
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31953 ac_cv_lib_m___clog=no
31955 rm -f conftest.err conftest.$ac_objext \
31956 conftest$ac_exeext conftest.$ac_ext
31957 LIBS=$ac_check_lib_save_LIBS
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31960 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31961 if test $ac_cv_lib_m___clog = yes; then
31963 cat >>confdefs.h <<\_ACEOF
31964 #define HAVE_CLOG 1
31965 _ACEOF
31970 # Check for a isfinite macro that works on long doubles.
31972 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31973 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31974 if test "${have_broken_isfinite+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31978 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31979 LIBS="$LIBS -lm"
31980 if test "$cross_compiling" = yes; then
31982 case "${target}" in
31983 hppa*-*-hpux*) have_broken_isfinite=yes ;;
31984 *) have_broken_isfinite=no ;;
31985 esac
31986 else
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31994 #ifdef HAVE_MATH_H
31995 #include <math.h>
31996 #endif
31997 #include <float.h>
31998 int main ()
32000 #ifdef isfinite
32001 #ifdef LDBL_MAX
32002 if (!isfinite(LDBL_MAX)) return 1;
32003 #endif
32004 #ifdef DBL_MAX
32005 if (!isfinite(DBL_MAX)) return 1;
32006 #endif
32007 #endif
32008 return 0;
32010 _ACEOF
32011 rm -f conftest$ac_exeext
32012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32013 (eval $ac_link) 2>&5
32014 ac_status=$?
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32018 (eval $ac_try) 2>&5
32019 ac_status=$?
32020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021 (exit $ac_status); }; }; then
32022 have_broken_isfinite=no
32023 else
32024 echo "$as_me: program exited with status $ac_status" >&5
32025 echo "$as_me: failed program was:" >&5
32026 sed 's/^/| /' conftest.$ac_ext >&5
32028 ( exit $ac_status )
32029 have_broken_isfinite=yes
32031 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32033 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32035 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32036 echo "${ECHO_T}$have_broken_isfinite" >&6
32037 if test x"$have_broken_isfinite" = xyes; then
32039 cat >>confdefs.h <<\_ACEOF
32040 #define HAVE_BROKEN_ISFINITE 1
32041 _ACEOF
32045 # Check for a isnan macro that works on long doubles.
32047 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32048 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32049 if test "${have_broken_isnan+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 else
32053 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32054 LIBS="$LIBS -lm"
32055 if test "$cross_compiling" = yes; then
32057 case "${target}" in
32058 hppa*-*-hpux*) have_broken_isnan=yes ;;
32059 *) have_broken_isnan=no ;;
32060 esac
32061 else
32062 cat >conftest.$ac_ext <<_ACEOF
32063 /* confdefs.h. */
32064 _ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32069 #ifdef HAVE_MATH_H
32070 #include <math.h>
32071 #endif
32072 #include <float.h>
32073 int main ()
32075 #ifdef isnan
32076 #ifdef LDBL_MAX
32078 long double x;
32079 x = __builtin_nanl ("");
32080 if (!isnan(x)) return 1;
32081 if (isnan(LDBL_MAX)) return 1;
32082 #ifdef NAN
32083 x = (long double) NAN;
32084 if (!isnan(x)) return 1;
32085 #endif
32087 #endif
32088 #ifdef DBL_MAX
32090 double y;
32091 y = __builtin_nan ("");
32092 if (!isnan(y)) return 1;
32093 if (isnan(DBL_MAX)) return 1;
32094 #ifdef NAN
32095 y = (double) NAN;
32096 if (!isnan(y)) return 1;
32097 #endif
32099 #endif
32100 #endif
32101 return 0;
32103 _ACEOF
32104 rm -f conftest$ac_exeext
32105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32106 (eval $ac_link) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32112 ac_status=$?
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; }; then
32115 have_broken_isnan=no
32116 else
32117 echo "$as_me: program exited with status $ac_status" >&5
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32121 ( exit $ac_status )
32122 have_broken_isnan=yes
32124 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32126 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32128 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32129 echo "${ECHO_T}$have_broken_isnan" >&6
32130 if test x"$have_broken_isnan" = xyes; then
32132 cat >>confdefs.h <<\_ACEOF
32133 #define HAVE_BROKEN_ISNAN 1
32134 _ACEOF
32138 # Check for a fpclassify macro that works on long doubles.
32140 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32141 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32142 if test "${have_broken_fpclassify+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 else
32146 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32147 LIBS="$LIBS -lm"
32148 if test "$cross_compiling" = yes; then
32150 case "${target}" in
32151 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32152 *) have_broken_fpclassify=no ;;
32153 esac
32154 else
32155 cat >conftest.$ac_ext <<_ACEOF
32156 /* confdefs.h. */
32157 _ACEOF
32158 cat confdefs.h >>conftest.$ac_ext
32159 cat >>conftest.$ac_ext <<_ACEOF
32160 /* end confdefs.h. */
32162 #ifdef HAVE_MATH_H
32163 #include <math.h>
32164 #endif
32165 #include <float.h>
32166 int main ()
32168 #ifdef fpclassify
32169 #ifdef LDBL_MAX
32170 if (fpclassify(LDBL_MAX) == FP_NAN
32171 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32172 #endif
32173 #ifdef DBL_MAX
32174 if (fpclassify(DBL_MAX) == FP_NAN
32175 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32176 #endif
32177 #endif
32178 return 0;
32180 _ACEOF
32181 rm -f conftest$ac_exeext
32182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32183 (eval $ac_link) 2>&5
32184 ac_status=$?
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; }; then
32192 have_broken_fpclassify=no
32193 else
32194 echo "$as_me: program exited with status $ac_status" >&5
32195 echo "$as_me: failed program was:" >&5
32196 sed 's/^/| /' conftest.$ac_ext >&5
32198 ( exit $ac_status )
32199 have_broken_fpclassify=yes
32201 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32203 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32205 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32206 echo "${ECHO_T}$have_broken_fpclassify" >&6
32207 if test x"$have_broken_fpclassify" = xyes; then
32209 cat >>confdefs.h <<\_ACEOF
32210 #define HAVE_BROKEN_FPCLASSIFY 1
32211 _ACEOF
32215 # Check whether the system has a working stat()
32217 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32218 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32219 if test "${have_working_stat+set}" = set; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 else
32223 if test "$cross_compiling" = yes; then
32225 case "${target}" in
32226 *mingw*) have_working_stat=no ;;
32227 *) have_working_stat=yes;;
32228 esac
32229 else
32230 cat >conftest.$ac_ext <<_ACEOF
32231 /* confdefs.h. */
32232 _ACEOF
32233 cat confdefs.h >>conftest.$ac_ext
32234 cat >>conftest.$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32237 #include <stdio.h>
32238 #include <sys/types.h>
32239 #include <sys/stat.h>
32240 #include <unistd.h>
32242 int main ()
32244 FILE *f, *g;
32245 struct stat st1, st2;
32247 f = fopen ("foo", "w");
32248 g = fopen ("bar", "w");
32249 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32250 return 1;
32251 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32252 return 1;
32253 fclose(f);
32254 fclose(g);
32255 return 0;
32257 _ACEOF
32258 rm -f conftest$ac_exeext
32259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32260 (eval $ac_link) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32265 (eval $ac_try) 2>&5
32266 ac_status=$?
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); }; }; then
32269 have_working_stat=yes
32270 else
32271 echo "$as_me: program exited with status $ac_status" >&5
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.$ac_ext >&5
32275 ( exit $ac_status )
32276 have_working_stat=no
32278 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32281 echo "$as_me:$LINENO: result: $have_working_stat" >&5
32282 echo "${ECHO_T}$have_working_stat" >&6
32283 if test x"$have_working_stat" = xyes; then
32285 cat >>confdefs.h <<\_ACEOF
32286 #define HAVE_WORKING_STAT 1
32287 _ACEOF
32291 # Check whether __mingw_snprintf() is present
32293 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32294 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32295 if test "${have_mingw_snprintf+set}" = set; then
32296 echo $ECHO_N "(cached) $ECHO_C" >&6
32297 else
32299 if test x$gcc_no_link = xyes; then
32300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32302 { (exit 1); exit 1; }; }
32304 cat >conftest.$ac_ext <<_ACEOF
32305 /* confdefs.h. */
32306 _ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32311 #include <stdio.h>
32312 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32315 main ()
32318 __mingw_snprintf (NULL, 0, "%d\n", 1);
32321 return 0;
32323 _ACEOF
32324 rm -f conftest.$ac_objext conftest$ac_exeext
32325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32326 (eval $ac_link) 2>conftest.er1
32327 ac_status=$?
32328 grep -v '^ *+' conftest.er1 >conftest.err
32329 rm -f conftest.er1
32330 cat conftest.err >&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); } &&
32333 { ac_try='test -z "$ac_c_werror_flag"
32334 || test ! -s conftest.err'
32335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336 (eval $ac_try) 2>&5
32337 ac_status=$?
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); }; } &&
32340 { ac_try='test -s conftest$ac_exeext'
32341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342 (eval $ac_try) 2>&5
32343 ac_status=$?
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 eval "have_mingw_snprintf=yes"
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32351 eval "have_mingw_snprintf=no"
32353 rm -f conftest.err conftest.$ac_objext \
32354 conftest$ac_exeext conftest.$ac_ext
32357 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32358 echo "${ECHO_T}$have_mingw_snprintf" >&6
32359 if test x"$have_mingw_snprintf" = xyes; then
32361 cat >>confdefs.h <<\_ACEOF
32362 #define HAVE_MINGW_SNPRINTF 1
32363 _ACEOF
32368 # Check for GNU libc feenableexcept
32369 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32370 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32371 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 else
32374 ac_check_lib_save_LIBS=$LIBS
32375 LIBS="-lm $LIBS"
32376 if test x$gcc_no_link = xyes; then
32377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32379 { (exit 1); exit 1; }; }
32381 cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h. */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32388 /* Override any gcc2 internal prototype to avoid an error. */
32389 #ifdef __cplusplus
32390 extern "C"
32391 #endif
32392 /* We use char because int might match the return type of a gcc2
32393 builtin and then its argument prototype would still apply. */
32394 char feenableexcept ();
32396 main ()
32398 feenableexcept ();
32400 return 0;
32402 _ACEOF
32403 rm -f conftest.$ac_objext conftest$ac_exeext
32404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32405 (eval $ac_link) 2>conftest.er1
32406 ac_status=$?
32407 grep -v '^ *+' conftest.er1 >conftest.err
32408 rm -f conftest.er1
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } &&
32412 { ac_try='test -z "$ac_c_werror_flag"
32413 || test ! -s conftest.err'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32416 ac_status=$?
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; } &&
32419 { ac_try='test -s conftest$ac_exeext'
32420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421 (eval $ac_try) 2>&5
32422 ac_status=$?
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); }; }; then
32425 ac_cv_lib_m_feenableexcept=yes
32426 else
32427 echo "$as_me: failed program was:" >&5
32428 sed 's/^/| /' conftest.$ac_ext >&5
32430 ac_cv_lib_m_feenableexcept=no
32432 rm -f conftest.err conftest.$ac_objext \
32433 conftest$ac_exeext conftest.$ac_ext
32434 LIBS=$ac_check_lib_save_LIBS
32436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32437 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32438 if test $ac_cv_lib_m_feenableexcept = yes; then
32439 have_feenableexcept=yes
32440 cat >>confdefs.h <<\_ACEOF
32441 #define HAVE_FEENABLEEXCEPT 1
32442 _ACEOF
32447 # Check for SysV fpsetmask
32449 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32450 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32451 if test "${have_fpsetmask+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 else
32455 if test x$gcc_no_link = xyes; then
32456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32458 { (exit 1); exit 1; }; }
32460 cat >conftest.$ac_ext <<_ACEOF
32461 /* confdefs.h. */
32462 _ACEOF
32463 cat confdefs.h >>conftest.$ac_ext
32464 cat >>conftest.$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32467 #if HAVE_FLOATINGPOINT_H
32468 # include <floatingpoint.h>
32469 #endif /* HAVE_FLOATINGPOINT_H */
32470 #if HAVE_IEEEFP_H
32471 # include <ieeefp.h>
32472 #endif /* HAVE_IEEEFP_H */
32474 main ()
32476 fpsetmask(0);
32478 return 0;
32480 _ACEOF
32481 rm -f conftest.$ac_objext conftest$ac_exeext
32482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32483 (eval $ac_link) 2>conftest.er1
32484 ac_status=$?
32485 grep -v '^ *+' conftest.er1 >conftest.err
32486 rm -f conftest.er1
32487 cat conftest.err >&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } &&
32490 { ac_try='test -z "$ac_c_werror_flag"
32491 || test ! -s conftest.err'
32492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32493 (eval $ac_try) 2>&5
32494 ac_status=$?
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); }; } &&
32497 { ac_try='test -s conftest$ac_exeext'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32500 ac_status=$?
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; }; then
32503 eval "have_fpsetmask=yes"
32504 else
32505 echo "$as_me: failed program was:" >&5
32506 sed 's/^/| /' conftest.$ac_ext >&5
32508 eval "have_fpsetmask=no"
32510 rm -f conftest.err conftest.$ac_objext \
32511 conftest$ac_exeext conftest.$ac_ext
32514 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32515 echo "${ECHO_T}$have_fpsetmask" >&6
32516 if test x"$have_fpsetmask" = xyes; then
32518 cat >>confdefs.h <<\_ACEOF
32519 #define HAVE_FPSETMASK 1
32520 _ACEOF
32525 # Check for AIX fp_trap and fp_enable
32526 echo "$as_me:$LINENO: checking for fp_trap" >&5
32527 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32528 if test "${ac_cv_func_fp_trap+set}" = set; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32530 else
32531 if test x$gcc_no_link = xyes; then
32532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32534 { (exit 1); exit 1; }; }
32536 cat >conftest.$ac_ext <<_ACEOF
32537 /* confdefs.h. */
32538 _ACEOF
32539 cat confdefs.h >>conftest.$ac_ext
32540 cat >>conftest.$ac_ext <<_ACEOF
32541 /* end confdefs.h. */
32542 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32544 #define fp_trap innocuous_fp_trap
32546 /* System header to define __stub macros and hopefully few prototypes,
32547 which can conflict with char fp_trap (); below.
32548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32549 <limits.h> exists even on freestanding compilers. */
32551 #ifdef __STDC__
32552 # include <limits.h>
32553 #else
32554 # include <assert.h>
32555 #endif
32557 #undef fp_trap
32559 /* Override any gcc2 internal prototype to avoid an error. */
32560 #ifdef __cplusplus
32561 extern "C"
32563 #endif
32564 /* We use char because int might match the return type of a gcc2
32565 builtin and then its argument prototype would still apply. */
32566 char fp_trap ();
32567 /* The GNU C library defines this for functions which it implements
32568 to always fail with ENOSYS. Some functions are actually named
32569 something starting with __ and the normal name is an alias. */
32570 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32571 choke me
32572 #else
32573 char (*f) () = fp_trap;
32574 #endif
32575 #ifdef __cplusplus
32577 #endif
32580 main ()
32582 return f != fp_trap;
32584 return 0;
32586 _ACEOF
32587 rm -f conftest.$ac_objext conftest$ac_exeext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32589 (eval $ac_link) 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } &&
32596 { ac_try='test -z "$ac_c_werror_flag"
32597 || test ! -s conftest.err'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32600 ac_status=$?
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; } &&
32603 { ac_try='test -s conftest$ac_exeext'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32606 ac_status=$?
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; }; then
32609 ac_cv_func_fp_trap=yes
32610 else
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32614 ac_cv_func_fp_trap=no
32616 rm -f conftest.err conftest.$ac_objext \
32617 conftest$ac_exeext conftest.$ac_ext
32619 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32620 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32621 if test $ac_cv_func_fp_trap = yes; then
32622 have_fp_trap=yes
32623 cat >>confdefs.h <<\_ACEOF
32624 #define HAVE_FP_TRAP 1
32625 _ACEOF
32629 echo "$as_me:$LINENO: checking for fp_enable" >&5
32630 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32631 if test "${ac_cv_func_fp_enable+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32633 else
32634 if test x$gcc_no_link = xyes; then
32635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32637 { (exit 1); exit 1; }; }
32639 cat >conftest.$ac_ext <<_ACEOF
32640 /* confdefs.h. */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32647 #define fp_enable innocuous_fp_enable
32649 /* System header to define __stub macros and hopefully few prototypes,
32650 which can conflict with char fp_enable (); below.
32651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32652 <limits.h> exists even on freestanding compilers. */
32654 #ifdef __STDC__
32655 # include <limits.h>
32656 #else
32657 # include <assert.h>
32658 #endif
32660 #undef fp_enable
32662 /* Override any gcc2 internal prototype to avoid an error. */
32663 #ifdef __cplusplus
32664 extern "C"
32666 #endif
32667 /* We use char because int might match the return type of a gcc2
32668 builtin and then its argument prototype would still apply. */
32669 char fp_enable ();
32670 /* The GNU C library defines this for functions which it implements
32671 to always fail with ENOSYS. Some functions are actually named
32672 something starting with __ and the normal name is an alias. */
32673 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32674 choke me
32675 #else
32676 char (*f) () = fp_enable;
32677 #endif
32678 #ifdef __cplusplus
32680 #endif
32683 main ()
32685 return f != fp_enable;
32687 return 0;
32689 _ACEOF
32690 rm -f conftest.$ac_objext conftest$ac_exeext
32691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32692 (eval $ac_link) 2>conftest.er1
32693 ac_status=$?
32694 grep -v '^ *+' conftest.er1 >conftest.err
32695 rm -f conftest.er1
32696 cat conftest.err >&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); } &&
32699 { ac_try='test -z "$ac_c_werror_flag"
32700 || test ! -s conftest.err'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32703 ac_status=$?
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; } &&
32706 { ac_try='test -s conftest$ac_exeext'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; }; then
32712 ac_cv_func_fp_enable=yes
32713 else
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.$ac_ext >&5
32717 ac_cv_func_fp_enable=no
32719 rm -f conftest.err conftest.$ac_objext \
32720 conftest$ac_exeext conftest.$ac_ext
32722 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32723 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32724 if test $ac_cv_func_fp_enable = yes; then
32725 have_fp_enable=yes
32726 cat >>confdefs.h <<\_ACEOF
32727 #define HAVE_FP_ENABLE 1
32728 _ACEOF
32733 # Runs configure.host to set up necessary host-dependent shell variables.
32734 # We then display a message about it, and propagate them through the
32735 # build chain.
32736 . ${srcdir}/configure.host
32737 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32738 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32739 FPU_HOST_HEADER=config/${fpu_host}.h
32742 # Check out attribute support.
32744 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32745 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32746 if test "${have_attribute_visibility+set}" = set; then
32747 echo $ECHO_N "(cached) $ECHO_C" >&6
32748 else
32750 save_CFLAGS="$CFLAGS"
32751 CFLAGS="$CFLAGS -Werror"
32752 cat >conftest.$ac_ext <<_ACEOF
32753 /* confdefs.h. */
32754 _ACEOF
32755 cat confdefs.h >>conftest.$ac_ext
32756 cat >>conftest.$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758 void __attribute__((visibility("hidden"))) foo(void) { }
32760 main ()
32764 return 0;
32766 _ACEOF
32767 rm -f conftest.$ac_objext
32768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32769 (eval $ac_compile) 2>conftest.er1
32770 ac_status=$?
32771 grep -v '^ *+' conftest.er1 >conftest.err
32772 rm -f conftest.er1
32773 cat conftest.err >&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); } &&
32776 { ac_try='test -z "$ac_c_werror_flag"
32777 || test ! -s conftest.err'
32778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779 (eval $ac_try) 2>&5
32780 ac_status=$?
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); }; } &&
32783 { ac_try='test -s conftest.$ac_objext'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; }; then
32789 have_attribute_visibility=yes
32790 else
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.$ac_ext >&5
32794 have_attribute_visibility=no
32796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32797 CFLAGS="$save_CFLAGS"
32799 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32800 echo "${ECHO_T}$have_attribute_visibility" >&6
32801 if test $have_attribute_visibility = yes; then
32803 cat >>confdefs.h <<\_ACEOF
32804 #define HAVE_ATTRIBUTE_VISIBILITY 1
32805 _ACEOF
32809 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32810 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32811 if test "${have_attribute_dllexport+set}" = set; then
32812 echo $ECHO_N "(cached) $ECHO_C" >&6
32813 else
32815 save_CFLAGS="$CFLAGS"
32816 CFLAGS="$CFLAGS -Werror"
32817 cat >conftest.$ac_ext <<_ACEOF
32818 /* confdefs.h. */
32819 _ACEOF
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32823 void __attribute__((dllexport)) foo(void) { }
32825 main ()
32829 return 0;
32831 _ACEOF
32832 rm -f conftest.$ac_objext
32833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32834 (eval $ac_compile) 2>conftest.er1
32835 ac_status=$?
32836 grep -v '^ *+' conftest.er1 >conftest.err
32837 rm -f conftest.er1
32838 cat conftest.err >&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } &&
32841 { ac_try='test -z "$ac_c_werror_flag"
32842 || test ! -s conftest.err'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; } &&
32848 { ac_try='test -s conftest.$ac_objext'
32849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32850 (eval $ac_try) 2>&5
32851 ac_status=$?
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); }; }; then
32854 have_attribute_dllexport=yes
32855 else
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32859 have_attribute_dllexport=no
32861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32862 CFLAGS="$save_CFLAGS"
32864 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32865 echo "${ECHO_T}$have_attribute_dllexport" >&6
32866 if test $have_attribute_dllexport = yes; then
32868 cat >>confdefs.h <<\_ACEOF
32869 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32870 _ACEOF
32874 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32875 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32876 if test "${have_attribute_alias+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32880 if test x$gcc_no_link = xyes; then
32881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32883 { (exit 1); exit 1; }; }
32885 cat >conftest.$ac_ext <<_ACEOF
32886 /* confdefs.h. */
32887 _ACEOF
32888 cat confdefs.h >>conftest.$ac_ext
32889 cat >>conftest.$ac_ext <<_ACEOF
32890 /* end confdefs.h. */
32892 void foo(void) { }
32893 extern void bar(void) __attribute__((alias("foo")));
32895 main ()
32897 bar();
32899 return 0;
32901 _ACEOF
32902 rm -f conftest.$ac_objext conftest$ac_exeext
32903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32904 (eval $ac_link) 2>conftest.er1
32905 ac_status=$?
32906 grep -v '^ *+' conftest.er1 >conftest.err
32907 rm -f conftest.er1
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } &&
32911 { ac_try='test -z "$ac_c_werror_flag"
32912 || test ! -s conftest.err'
32913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914 (eval $ac_try) 2>&5
32915 ac_status=$?
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); }; } &&
32918 { ac_try='test -s conftest$ac_exeext'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32921 ac_status=$?
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; }; then
32924 have_attribute_alias=yes
32925 else
32926 echo "$as_me: failed program was:" >&5
32927 sed 's/^/| /' conftest.$ac_ext >&5
32929 have_attribute_alias=no
32931 rm -f conftest.err conftest.$ac_objext \
32932 conftest$ac_exeext conftest.$ac_ext
32934 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32935 echo "${ECHO_T}$have_attribute_alias" >&6
32936 if test $have_attribute_alias = yes; then
32938 cat >>confdefs.h <<\_ACEOF
32939 #define HAVE_ATTRIBUTE_ALIAS 1
32940 _ACEOF
32944 # Check out sync builtins support.
32946 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32947 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32948 if test "${have_sync_fetch_and_add+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32952 if test x$gcc_no_link = xyes; then
32953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32955 { (exit 1); exit 1; }; }
32957 cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h. */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 int foovar = 0;
32965 main ()
32968 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32969 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32971 return 0;
32973 _ACEOF
32974 rm -f conftest.$ac_objext conftest$ac_exeext
32975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32976 (eval $ac_link) 2>conftest.er1
32977 ac_status=$?
32978 grep -v '^ *+' conftest.er1 >conftest.err
32979 rm -f conftest.er1
32980 cat conftest.err >&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } &&
32983 { ac_try='test -z "$ac_c_werror_flag"
32984 || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32987 ac_status=$?
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try='test -s conftest$ac_exeext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32993 ac_status=$?
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32996 have_sync_fetch_and_add=yes
32997 else
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33001 have_sync_fetch_and_add=no
33003 rm -f conftest.err conftest.$ac_objext \
33004 conftest$ac_exeext conftest.$ac_ext
33006 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33007 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
33008 if test $have_sync_fetch_and_add = yes; then
33010 cat >>confdefs.h <<\_ACEOF
33011 #define HAVE_SYNC_FETCH_AND_ADD 1
33012 _ACEOF
33016 # Check out thread support.
33018 echo "$as_me:$LINENO: checking configured target thread model" >&5
33019 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33020 if test "${target_thread_file+set}" = set; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 else
33024 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33026 echo "$as_me:$LINENO: result: $target_thread_file" >&5
33027 echo "${ECHO_T}$target_thread_file" >&6
33029 if test $target_thread_file != single; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define HAVE_GTHR_DEFAULT 1
33033 _ACEOF
33037 # Check out #pragma weak.
33039 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33040 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33041 if test "${have_pragma_weak+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 else
33045 gfor_save_CFLAGS="$CFLAGS"
33046 CFLAGS="$CFLAGS -Wunknown-pragmas"
33047 cat >conftest.$ac_ext <<_ACEOF
33048 /* confdefs.h. */
33049 _ACEOF
33050 cat confdefs.h >>conftest.$ac_ext
33051 cat >>conftest.$ac_ext <<_ACEOF
33052 /* end confdefs.h. */
33053 void foo (void);
33054 #pragma weak foo
33056 main ()
33058 if (foo) foo ();
33060 return 0;
33062 _ACEOF
33063 rm -f conftest.$ac_objext
33064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33065 (eval $ac_compile) 2>conftest.er1
33066 ac_status=$?
33067 grep -v '^ *+' conftest.er1 >conftest.err
33068 rm -f conftest.er1
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } &&
33072 { ac_try='test -z "$ac_c_werror_flag"
33073 || test ! -s conftest.err'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; } &&
33079 { ac_try='test -s conftest.$ac_objext'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33082 ac_status=$?
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }; then
33085 have_pragma_weak=yes
33086 else
33087 echo "$as_me: failed program was:" >&5
33088 sed 's/^/| /' conftest.$ac_ext >&5
33090 have_pragma_weak=no
33092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33094 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33095 echo "${ECHO_T}$have_pragma_weak" >&6
33096 if test $have_pragma_weak = yes; then
33098 cat >>confdefs.h <<\_ACEOF
33099 #define SUPPORTS_WEAK 1
33100 _ACEOF
33103 case "$host" in
33104 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33106 cat >>confdefs.h <<\_ACEOF
33107 #define GTHREAD_USE_WEAK 0
33108 _ACEOF
33111 esac
33113 # Various other checks on target
33115 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33116 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33117 if test "${have_unlink_open_file+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33121 if test "$cross_compiling" = yes; then
33123 case "${target}" in
33124 *mingw*) have_unlink_open_file=no ;;
33125 *) have_unlink_open_file=yes;;
33126 esac
33127 else
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33135 #include <errno.h>
33136 #include <fcntl.h>
33137 #include <unistd.h>
33138 #include <sys/stat.h>
33140 int main ()
33142 int fd;
33144 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33145 if (fd <= 0)
33146 return 0;
33147 if (unlink ("testfile") == -1)
33148 return 1;
33149 write (fd, "This is a test\n", 15);
33150 close (fd);
33152 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33153 return 0;
33154 else
33155 return 1;
33157 _ACEOF
33158 rm -f conftest$ac_exeext
33159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33160 (eval $ac_link) 2>&5
33161 ac_status=$?
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 have_unlink_open_file=yes
33170 else
33171 echo "$as_me: program exited with status $ac_status" >&5
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33175 ( exit $ac_status )
33176 have_unlink_open_file=no
33178 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33181 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33182 echo "${ECHO_T}$have_unlink_open_file" >&6
33183 if test x"$have_unlink_open_file" = xyes; then
33185 cat >>confdefs.h <<\_ACEOF
33186 #define HAVE_UNLINK_OPEN_FILE 1
33187 _ACEOF
33191 # Check whether line terminator is LF or CRLF
33193 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33194 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33195 if test "${have_crlf+set}" = set; then
33196 echo $ECHO_N "(cached) $ECHO_C" >&6
33197 else
33199 if test "$cross_compiling" = yes; then
33201 case "${target}" in
33202 *mingw*) have_crlf=yes ;;
33203 *) have_crlf=no;;
33204 esac
33205 else
33206 cat >conftest.$ac_ext <<_ACEOF
33207 /* confdefs.h. */
33208 _ACEOF
33209 cat confdefs.h >>conftest.$ac_ext
33210 cat >>conftest.$ac_ext <<_ACEOF
33211 /* end confdefs.h. */
33213 /* This test program should exit with status 0 if system uses a CRLF as
33214 line terminator, and status 1 otherwise.
33215 Since it is used to check for mingw systems, and should return 0 in any
33216 other case, in case of a failure we will not use CRLF. */
33217 #include <sys/stat.h>
33218 #include <stdlib.h>
33219 #include <fcntl.h>
33220 #include <stdio.h>
33222 int main ()
33224 #ifndef O_BINARY
33225 exit(1);
33226 #else
33227 int fd, bytes;
33228 char buff[5];
33230 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33231 if (fd < 0)
33232 exit(1);
33233 if (write (fd, "\n", 1) < 0)
33234 perror ("write");
33236 close (fd);
33238 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33239 exit(1);
33240 bytes = read (fd, buff, 5);
33241 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33242 exit(0);
33243 else
33244 exit(1);
33245 #endif
33247 _ACEOF
33248 rm -f conftest$ac_exeext
33249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33250 (eval $ac_link) 2>&5
33251 ac_status=$?
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33256 ac_status=$?
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 have_crlf=yes
33260 else
33261 echo "$as_me: program exited with status $ac_status" >&5
33262 echo "$as_me: failed program was:" >&5
33263 sed 's/^/| /' conftest.$ac_ext >&5
33265 ( exit $ac_status )
33266 have_crlf=no
33268 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33271 echo "$as_me:$LINENO: result: $have_crlf" >&5
33272 echo "${ECHO_T}$have_crlf" >&6
33273 if test x"$have_crlf" = xyes; then
33275 cat >>confdefs.h <<\_ACEOF
33276 #define HAVE_CRLF 1
33277 _ACEOF
33281 cat >confcache <<\_ACEOF
33282 # This file is a shell script that caches the results of configure
33283 # tests run on this system so they can be shared between configure
33284 # scripts and configure runs, see configure's option --config-cache.
33285 # It is not useful on other systems. If it contains results you don't
33286 # want to keep, you may remove or edit it.
33288 # config.status only pays attention to the cache file if you give it
33289 # the --recheck option to rerun configure.
33291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33293 # following values.
33295 _ACEOF
33297 # The following way of writing the cache mishandles newlines in values,
33298 # but we know of no workaround that is simple, portable, and efficient.
33299 # So, don't put newlines in cache variables' values.
33300 # Ultrix sh set writes to stderr and can't be redirected directly,
33301 # and sets the high bit in the cache file unless we assign to the vars.
33303 (set) 2>&1 |
33304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33305 *ac_space=\ *)
33306 # `set' does not quote correctly, so add quotes (double-quote
33307 # substitution turns \\\\ into \\, and sed turns \\ into \).
33308 sed -n \
33309 "s/'/'\\\\''/g;
33310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33313 # `set' quotes correctly as required by POSIX, so do not add quotes.
33314 sed -n \
33315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33317 esac;
33319 sed '
33320 t clear
33321 : clear
33322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33323 t end
33324 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33325 : end' >>confcache
33326 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33327 if test -w $cache_file; then
33328 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33329 cat confcache >$cache_file
33330 else
33331 echo "not updating unwritable cache $cache_file"
33334 rm -f confcache
33336 if test ${multilib} = yes; then
33337 multilib_arg="--enable-multilib"
33338 else
33339 multilib_arg=
33342 # Write our Makefile.
33343 ac_config_files="$ac_config_files Makefile"
33345 cat >confcache <<\_ACEOF
33346 # This file is a shell script that caches the results of configure
33347 # tests run on this system so they can be shared between configure
33348 # scripts and configure runs, see configure's option --config-cache.
33349 # It is not useful on other systems. If it contains results you don't
33350 # want to keep, you may remove or edit it.
33352 # config.status only pays attention to the cache file if you give it
33353 # the --recheck option to rerun configure.
33355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33357 # following values.
33359 _ACEOF
33361 # The following way of writing the cache mishandles newlines in values,
33362 # but we know of no workaround that is simple, portable, and efficient.
33363 # So, don't put newlines in cache variables' values.
33364 # Ultrix sh set writes to stderr and can't be redirected directly,
33365 # and sets the high bit in the cache file unless we assign to the vars.
33367 (set) 2>&1 |
33368 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33369 *ac_space=\ *)
33370 # `set' does not quote correctly, so add quotes (double-quote
33371 # substitution turns \\\\ into \\, and sed turns \\ into \).
33372 sed -n \
33373 "s/'/'\\\\''/g;
33374 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33377 # `set' quotes correctly as required by POSIX, so do not add quotes.
33378 sed -n \
33379 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33381 esac;
33383 sed '
33384 t clear
33385 : clear
33386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33387 t end
33388 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33389 : end' >>confcache
33390 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33391 if test -w $cache_file; then
33392 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33393 cat confcache >$cache_file
33394 else
33395 echo "not updating unwritable cache $cache_file"
33398 rm -f confcache
33400 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33401 # Let make expand exec_prefix.
33402 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33406 # trailing colons and then remove the whole line if VPATH becomes empty
33407 # (actually we leave an empty line to preserve line numbers).
33408 if test "x$srcdir" = x.; then
33409 ac_vpsub='/^[ ]*VPATH[ ]*=/{
33410 s/:*\$(srcdir):*/:/;
33411 s/:*\${srcdir}:*/:/;
33412 s/:*@srcdir@:*/:/;
33413 s/^\([^=]*=[ ]*\):*/\1/;
33414 s/:*$//;
33415 s/^[^=]*=[ ]*$//;
33419 DEFS=-DHAVE_CONFIG_H
33421 ac_libobjs=
33422 ac_ltlibobjs=
33423 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33424 # 1. Remove the extension, and $U if already installed.
33425 ac_i=`echo "$ac_i" |
33426 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33427 # 2. Add them.
33428 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33429 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33430 done
33431 LIBOBJS=$ac_libobjs
33433 LTLIBOBJS=$ac_ltlibobjs
33436 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33437 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33438 Usually this means the macro was only invoked conditionally." >&5
33439 echo "$as_me: error: conditional \"onestep\" was never defined.
33440 Usually this means the macro was only invoked conditionally." >&2;}
33441 { (exit 1); exit 1; }; }
33443 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33444 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33445 Usually this means the macro was only invoked conditionally." >&5
33446 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33447 Usually this means the macro was only invoked conditionally." >&2;}
33448 { (exit 1); exit 1; }; }
33450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33451 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33452 Usually this means the macro was only invoked conditionally." >&5
33453 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33454 Usually this means the macro was only invoked conditionally." >&2;}
33455 { (exit 1); exit 1; }; }
33457 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33458 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33459 Usually this means the macro was only invoked conditionally." >&5
33460 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33461 Usually this means the macro was only invoked conditionally." >&2;}
33462 { (exit 1); exit 1; }; }
33464 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33465 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33466 Usually this means the macro was only invoked conditionally." >&5
33467 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33468 Usually this means the macro was only invoked conditionally." >&2;}
33469 { (exit 1); exit 1; }; }
33472 : ${CONFIG_STATUS=./config.status}
33473 ac_clean_files_save=$ac_clean_files
33474 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33475 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33476 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33477 cat >$CONFIG_STATUS <<_ACEOF
33478 #! $SHELL
33479 # Generated by $as_me.
33480 # Run this file to recreate the current configuration.
33481 # Compiler output produced by configure, useful for debugging
33482 # configure, is in config.log if it exists.
33484 debug=false
33485 ac_cs_recheck=false
33486 ac_cs_silent=false
33487 SHELL=\${CONFIG_SHELL-$SHELL}
33488 _ACEOF
33490 cat >>$CONFIG_STATUS <<\_ACEOF
33491 ## --------------------- ##
33492 ## M4sh Initialization. ##
33493 ## --------------------- ##
33495 # Be Bourne compatible
33496 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33497 emulate sh
33498 NULLCMD=:
33499 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33500 # is contrary to our usage. Disable this feature.
33501 alias -g '${1+"$@"}'='"$@"'
33502 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33503 set -o posix
33505 DUALCASE=1; export DUALCASE # for MKS sh
33507 # Support unset when possible.
33508 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33509 as_unset=unset
33510 else
33511 as_unset=false
33515 # Work around bugs in pre-3.0 UWIN ksh.
33516 $as_unset ENV MAIL MAILPATH
33517 PS1='$ '
33518 PS2='> '
33519 PS4='+ '
33521 # NLS nuisances.
33522 for as_var in \
33523 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33524 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33525 LC_TELEPHONE LC_TIME
33527 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33528 eval $as_var=C; export $as_var
33529 else
33530 $as_unset $as_var
33532 done
33534 # Required to use basename.
33535 if expr a : '\(a\)' >/dev/null 2>&1; then
33536 as_expr=expr
33537 else
33538 as_expr=false
33541 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33542 as_basename=basename
33543 else
33544 as_basename=false
33548 # Name of the executable.
33549 as_me=`$as_basename "$0" ||
33550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33551 X"$0" : 'X\(//\)$' \| \
33552 X"$0" : 'X\(/\)$' \| \
33553 . : '\(.\)' 2>/dev/null ||
33554 echo X/"$0" |
33555 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33556 /^X\/\(\/\/\)$/{ s//\1/; q; }
33557 /^X\/\(\/\).*/{ s//\1/; q; }
33558 s/.*/./; q'`
33561 # PATH needs CR, and LINENO needs CR and PATH.
33562 # Avoid depending upon Character Ranges.
33563 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33564 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33565 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33566 as_cr_digits='0123456789'
33567 as_cr_alnum=$as_cr_Letters$as_cr_digits
33569 # The user is always right.
33570 if test "${PATH_SEPARATOR+set}" != set; then
33571 echo "#! /bin/sh" >conf$$.sh
33572 echo "exit 0" >>conf$$.sh
33573 chmod +x conf$$.sh
33574 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33575 PATH_SEPARATOR=';'
33576 else
33577 PATH_SEPARATOR=:
33579 rm -f conf$$.sh
33583 as_lineno_1=$LINENO
33584 as_lineno_2=$LINENO
33585 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33586 test "x$as_lineno_1" != "x$as_lineno_2" &&
33587 test "x$as_lineno_3" = "x$as_lineno_2" || {
33588 # Find who we are. Look in the path if we contain no path at all
33589 # relative or not.
33590 case $0 in
33591 *[\\/]* ) as_myself=$0 ;;
33592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33593 for as_dir in $PATH
33595 IFS=$as_save_IFS
33596 test -z "$as_dir" && as_dir=.
33597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33598 done
33601 esac
33602 # We did not find ourselves, most probably we were run as `sh COMMAND'
33603 # in which case we are not to be found in the path.
33604 if test "x$as_myself" = x; then
33605 as_myself=$0
33607 if test ! -f "$as_myself"; then
33608 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33609 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33610 { (exit 1); exit 1; }; }
33612 case $CONFIG_SHELL in
33614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33615 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33617 IFS=$as_save_IFS
33618 test -z "$as_dir" && as_dir=.
33619 for as_base in sh bash ksh sh5; do
33620 case $as_dir in
33622 if ("$as_dir/$as_base" -c '
33623 as_lineno_1=$LINENO
33624 as_lineno_2=$LINENO
33625 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33626 test "x$as_lineno_1" != "x$as_lineno_2" &&
33627 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33628 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33629 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33630 CONFIG_SHELL=$as_dir/$as_base
33631 export CONFIG_SHELL
33632 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33633 fi;;
33634 esac
33635 done
33636 done
33638 esac
33640 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33641 # uniformly replaced by the line number. The first 'sed' inserts a
33642 # line-number line before each line; the second 'sed' does the real
33643 # work. The second script uses 'N' to pair each line-number line
33644 # with the numbered line, and appends trailing '-' during
33645 # substitution so that $LINENO is not a special case at line end.
33646 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33647 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33648 sed '=' <$as_myself |
33649 sed '
33651 s,$,-,
33652 : loop
33653 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33654 t loop
33655 s,-$,,
33656 s,^['$as_cr_digits']*\n,,
33657 ' >$as_me.lineno &&
33658 chmod +x $as_me.lineno ||
33659 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33660 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33661 { (exit 1); exit 1; }; }
33663 # Don't try to exec as it changes $[0], causing all sort of problems
33664 # (the dirname of $[0] is not the place where we might find the
33665 # original and so on. Autoconf is especially sensible to this).
33666 . ./$as_me.lineno
33667 # Exit status is that of the last command.
33668 exit
33672 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33673 *c*,-n*) ECHO_N= ECHO_C='
33674 ' ECHO_T=' ' ;;
33675 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33676 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33677 esac
33679 if expr a : '\(a\)' >/dev/null 2>&1; then
33680 as_expr=expr
33681 else
33682 as_expr=false
33685 rm -f conf$$ conf$$.exe conf$$.file
33686 echo >conf$$.file
33687 if ln -s conf$$.file conf$$ 2>/dev/null; then
33688 # We could just check for DJGPP; but this test a) works b) is more generic
33689 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33690 if test -f conf$$.exe; then
33691 # Don't use ln at all; we don't have any links
33692 as_ln_s='cp -p'
33693 else
33694 as_ln_s='ln -s'
33696 elif ln conf$$.file conf$$ 2>/dev/null; then
33697 as_ln_s=ln
33698 else
33699 as_ln_s='cp -p'
33701 rm -f conf$$ conf$$.exe conf$$.file
33703 if mkdir -p . 2>/dev/null; then
33704 as_mkdir_p=:
33705 else
33706 test -d ./-p && rmdir ./-p
33707 as_mkdir_p=false
33710 as_executable_p="test -f"
33712 # Sed expression to map a string onto a valid CPP name.
33713 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33715 # Sed expression to map a string onto a valid variable name.
33716 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33719 # IFS
33720 # We need space, tab and new line, in precisely that order.
33721 as_nl='
33723 IFS=" $as_nl"
33725 # CDPATH.
33726 $as_unset CDPATH
33728 exec 6>&1
33730 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33731 # report actual input values of CONFIG_FILES etc. instead of their
33732 # values after options handling. Logging --version etc. is OK.
33733 exec 5>>config.log
33735 echo
33736 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33737 ## Running $as_me. ##
33738 _ASBOX
33739 } >&5
33740 cat >&5 <<_CSEOF
33742 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33743 generated by GNU Autoconf 2.59. Invocation command line was
33745 CONFIG_FILES = $CONFIG_FILES
33746 CONFIG_HEADERS = $CONFIG_HEADERS
33747 CONFIG_LINKS = $CONFIG_LINKS
33748 CONFIG_COMMANDS = $CONFIG_COMMANDS
33749 $ $0 $@
33751 _CSEOF
33752 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33753 echo >&5
33754 _ACEOF
33756 # Files that config.status was made for.
33757 if test -n "$ac_config_files"; then
33758 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33761 if test -n "$ac_config_headers"; then
33762 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33765 if test -n "$ac_config_links"; then
33766 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33769 if test -n "$ac_config_commands"; then
33770 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33773 cat >>$CONFIG_STATUS <<\_ACEOF
33775 ac_cs_usage="\
33776 \`$as_me' instantiates files from templates according to the
33777 current configuration.
33779 Usage: $0 [OPTIONS] [FILE]...
33781 -h, --help print this help, then exit
33782 -V, --version print version number, then exit
33783 -q, --quiet do not print progress messages
33784 -d, --debug don't remove temporary files
33785 --recheck update $as_me by reconfiguring in the same conditions
33786 --file=FILE[:TEMPLATE]
33787 instantiate the configuration file FILE
33788 --header=FILE[:TEMPLATE]
33789 instantiate the configuration header FILE
33791 Configuration files:
33792 $config_files
33794 Configuration headers:
33795 $config_headers
33797 Configuration commands:
33798 $config_commands
33800 Report bugs to <bug-autoconf@gnu.org>."
33801 _ACEOF
33803 cat >>$CONFIG_STATUS <<_ACEOF
33804 ac_cs_version="\\
33805 GNU Fortran Runtime Library config.status 0.3
33806 configured by $0, generated by GNU Autoconf 2.59,
33807 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33809 Copyright (C) 2003 Free Software Foundation, Inc.
33810 This config.status script is free software; the Free Software Foundation
33811 gives unlimited permission to copy, distribute and modify it."
33812 srcdir=$srcdir
33813 INSTALL="$INSTALL"
33814 _ACEOF
33816 cat >>$CONFIG_STATUS <<\_ACEOF
33817 # If no file are specified by the user, then we need to provide default
33818 # value. By we need to know if files were specified by the user.
33819 ac_need_defaults=:
33820 while test $# != 0
33822 case $1 in
33823 --*=*)
33824 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33825 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33826 ac_shift=:
33829 ac_option=$1
33830 ac_optarg=$2
33831 ac_shift=shift
33833 *) # This is not an option, so the user has probably given explicit
33834 # arguments.
33835 ac_option=$1
33836 ac_need_defaults=false;;
33837 esac
33839 case $ac_option in
33840 # Handling of the options.
33841 _ACEOF
33842 cat >>$CONFIG_STATUS <<\_ACEOF
33843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33844 ac_cs_recheck=: ;;
33845 --version | --vers* | -V )
33846 echo "$ac_cs_version"; exit 0 ;;
33847 --he | --h)
33848 # Conflict between --help and --header
33849 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33850 Try \`$0 --help' for more information." >&5
33851 echo "$as_me: error: ambiguous option: $1
33852 Try \`$0 --help' for more information." >&2;}
33853 { (exit 1); exit 1; }; };;
33854 --help | --hel | -h )
33855 echo "$ac_cs_usage"; exit 0 ;;
33856 --debug | --d* | -d )
33857 debug=: ;;
33858 --file | --fil | --fi | --f )
33859 $ac_shift
33860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33861 ac_need_defaults=false;;
33862 --header | --heade | --head | --hea )
33863 $ac_shift
33864 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33865 ac_need_defaults=false;;
33866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33867 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33868 ac_cs_silent=: ;;
33870 # This is an error.
33871 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33872 Try \`$0 --help' for more information." >&5
33873 echo "$as_me: error: unrecognized option: $1
33874 Try \`$0 --help' for more information." >&2;}
33875 { (exit 1); exit 1; }; } ;;
33877 *) ac_config_targets="$ac_config_targets $1" ;;
33879 esac
33880 shift
33881 done
33883 ac_configure_extra_args=
33885 if $ac_cs_silent; then
33886 exec 6>/dev/null
33887 ac_configure_extra_args="$ac_configure_extra_args --silent"
33890 _ACEOF
33891 cat >>$CONFIG_STATUS <<_ACEOF
33892 if \$ac_cs_recheck; then
33893 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33894 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33897 _ACEOF
33899 cat >>$CONFIG_STATUS <<_ACEOF
33901 # INIT-COMMANDS section.
33905 srcdir="$srcdir"
33906 host="$host"
33907 target="$target"
33908 with_multisubdir="$with_multisubdir"
33909 with_multisrctop="$with_multisrctop"
33910 with_target_subdir="$with_target_subdir"
33911 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33912 multi_basedir="$multi_basedir"
33913 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33914 CC="$CC"
33915 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33918 # The HP-UX ksh and POSIX shell print the target directory to stdout
33919 # if CDPATH is set.
33920 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33922 sed_quote_subst='$sed_quote_subst'
33923 double_quote_subst='$double_quote_subst'
33924 delay_variable_subst='$delay_variable_subst'
33925 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33926 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33927 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33928 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33929 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33930 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33931 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33932 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33933 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33934 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33935 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33936 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33937 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33938 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33939 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33940 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33941 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33942 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33943 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33944 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33945 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33946 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33947 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33948 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33949 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33950 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33951 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33952 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33953 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33954 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33955 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33956 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33957 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33958 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33959 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33960 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33961 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33962 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33963 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33964 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33965 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33966 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33967 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33968 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"`'
33969 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33970 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33971 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33972 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33973 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33974 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33975 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33976 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33977 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33978 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33979 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33980 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33981 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33982 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33983 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33984 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33985 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33986 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33987 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33988 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33989 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33990 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33991 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33992 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33993 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33994 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33995 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33996 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33997 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33998 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33999 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34000 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34001 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34002 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34003 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34004 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34005 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34006 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34007 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34008 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34009 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34010 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34011 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34012 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34013 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34014 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34015 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34016 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34017 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34018 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34019 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34020 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34021 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34022 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34023 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34024 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34025 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34026 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34027 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34028 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34029 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34030 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34031 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34032 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34033 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34034 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34035 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34036 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34037 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34038 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34039 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34040 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34041 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34042 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34043 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34044 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34045 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34046 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34047 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34048 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34049 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34050 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34051 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34052 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34053 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34054 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34055 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34056 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34057 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34058 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34059 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34060 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34061 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34062 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34063 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34064 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34065 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34066 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34067 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34068 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34069 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34070 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34071 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34072 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34073 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34074 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34075 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34076 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34077 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34078 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34079 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34080 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34081 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34082 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34083 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34084 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34085 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34086 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34088 LTCC='$LTCC'
34089 LTCFLAGS='$LTCFLAGS'
34090 compiler='$compiler_DEFAULT'
34092 # Quote evaled strings.
34093 for var in SED \
34094 GREP \
34095 EGREP \
34096 FGREP \
34097 LD \
34098 NM \
34099 LN_S \
34100 lt_SP2NL \
34101 lt_NL2SP \
34102 reload_flag \
34103 deplibs_check_method \
34104 file_magic_cmd \
34105 AR \
34106 AR_FLAGS \
34107 STRIP \
34108 RANLIB \
34109 CC \
34110 CFLAGS \
34111 compiler \
34112 lt_cv_sys_global_symbol_pipe \
34113 lt_cv_sys_global_symbol_to_cdecl \
34114 lt_cv_sys_global_symbol_to_c_name_address \
34115 SHELL \
34116 ECHO \
34117 lt_prog_compiler_no_builtin_flag \
34118 lt_prog_compiler_wl \
34119 lt_prog_compiler_pic \
34120 lt_prog_compiler_static \
34121 lt_cv_prog_compiler_c_o \
34122 need_locks \
34123 shrext_cmds \
34124 export_dynamic_flag_spec \
34125 whole_archive_flag_spec \
34126 compiler_needs_object \
34127 with_gnu_ld \
34128 allow_undefined_flag \
34129 no_undefined_flag \
34130 hardcode_libdir_flag_spec \
34131 hardcode_libdir_flag_spec_ld \
34132 hardcode_libdir_separator \
34133 fix_srcfile_path \
34134 exclude_expsyms \
34135 include_expsyms \
34136 file_list_spec \
34137 variables_saved_for_relink \
34138 libname_spec \
34139 library_names_spec \
34140 soname_spec \
34141 finish_eval \
34142 old_striplib \
34143 striplib \
34144 predep_objects \
34145 postdep_objects \
34146 predeps \
34147 postdeps \
34148 compiler_lib_search_path \
34149 LD_FC \
34150 compiler_FC \
34151 lt_prog_compiler_no_builtin_flag_FC \
34152 lt_prog_compiler_wl_FC \
34153 lt_prog_compiler_pic_FC \
34154 lt_prog_compiler_static_FC \
34155 lt_cv_prog_compiler_c_o_FC \
34156 export_dynamic_flag_spec_FC \
34157 whole_archive_flag_spec_FC \
34158 compiler_needs_object_FC \
34159 with_gnu_ld_FC \
34160 allow_undefined_flag_FC \
34161 no_undefined_flag_FC \
34162 hardcode_libdir_flag_spec_FC \
34163 hardcode_libdir_flag_spec_ld_FC \
34164 hardcode_libdir_separator_FC \
34165 fix_srcfile_path_FC \
34166 exclude_expsyms_FC \
34167 include_expsyms_FC \
34168 file_list_spec_FC \
34169 predep_objects_FC \
34170 postdep_objects_FC \
34171 predeps_FC \
34172 postdeps_FC \
34173 compiler_lib_search_path_FC; do
34174 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34175 *[\\\\\\\`\\"\\\$]*)
34176 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34179 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34181 esac
34182 done
34184 # Double-quote double-evaled strings.
34185 for var in reload_cmds \
34186 old_postinstall_cmds \
34187 old_postuninstall_cmds \
34188 old_archive_cmds \
34189 extract_expsyms_cmds \
34190 old_archive_from_new_cmds \
34191 old_archive_from_expsyms_cmds \
34192 archive_cmds \
34193 archive_expsym_cmds \
34194 module_cmds \
34195 module_expsym_cmds \
34196 export_symbols_cmds \
34197 prelink_cmds \
34198 postinstall_cmds \
34199 postuninstall_cmds \
34200 finish_cmds \
34201 sys_lib_search_path_spec \
34202 sys_lib_dlsearch_path_spec \
34203 old_archive_cmds_FC \
34204 old_archive_from_new_cmds_FC \
34205 old_archive_from_expsyms_cmds_FC \
34206 archive_cmds_FC \
34207 archive_expsym_cmds_FC \
34208 module_cmds_FC \
34209 module_expsym_cmds_FC \
34210 export_symbols_cmds_FC \
34211 prelink_cmds_FC; do
34212 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34213 *[\\\\\\\`\\"\\\$]*)
34214 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34217 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34219 esac
34220 done
34222 # Fix-up fallback echo if it was mangled by the above quoting rules.
34223 case \$lt_ECHO in
34224 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34226 esac
34228 ac_aux_dir='$ac_aux_dir'
34229 xsi_shell='$xsi_shell'
34230 lt_shell_append='$lt_shell_append'
34232 # See if we are running on zsh, and set the options which allow our
34233 # commands through without removal of \ escapes INIT.
34234 if test -n "\${ZSH_VERSION+set}" ; then
34235 setopt NO_GLOB_SUBST
34239 PACKAGE='$PACKAGE'
34240 VERSION='$VERSION'
34241 TIMESTAMP='$TIMESTAMP'
34242 RM='$RM'
34243 ofile='$ofile'
34250 GCC="$GCC"
34251 CC="$CC"
34252 acx_cv_header_stdint="$acx_cv_header_stdint"
34253 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34254 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34255 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34256 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34257 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34258 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34259 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34260 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34261 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34262 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34263 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34264 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34265 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34268 _ACEOF
34272 cat >>$CONFIG_STATUS <<\_ACEOF
34273 for ac_config_target in $ac_config_targets
34275 case "$ac_config_target" in
34276 # Handling of arguments.
34277 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34278 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34279 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34280 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34281 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34282 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34283 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34284 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34285 { (exit 1); exit 1; }; };;
34286 esac
34287 done
34289 # If the user did not use the arguments to specify the items to instantiate,
34290 # then the envvar interface is used. Set only those that are not.
34291 # We use the long form for the default assignment because of an extremely
34292 # bizarre bug on SunOS 4.1.3.
34293 if $ac_need_defaults; then
34294 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34295 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34296 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34299 # Have a temporary directory for convenience. Make it in the build tree
34300 # simply because there is no reason to put it here, and in addition,
34301 # creating and moving files from /tmp can sometimes cause problems.
34302 # Create a temporary directory, and hook for its removal unless debugging.
34303 $debug ||
34305 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34306 trap '{ (exit 1); exit 1; }' 1 2 13 15
34309 # Create a (secure) tmp directory for tmp files.
34312 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34313 test -n "$tmp" && test -d "$tmp"
34314 } ||
34316 tmp=./confstat$$-$RANDOM
34317 (umask 077 && mkdir $tmp)
34318 } ||
34320 echo "$me: cannot create a temporary directory in ." >&2
34321 { (exit 1); exit 1; }
34324 _ACEOF
34326 cat >>$CONFIG_STATUS <<_ACEOF
34329 # CONFIG_FILES section.
34332 # No need to generate the scripts if there are no CONFIG_FILES.
34333 # This happens for instance when ./config.status config.h
34334 if test -n "\$CONFIG_FILES"; then
34335 # Protect against being on the right side of a sed subst in config.status.
34336 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34337 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34338 s,@SHELL@,$SHELL,;t t
34339 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34340 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34341 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34342 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34343 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34344 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34345 s,@exec_prefix@,$exec_prefix,;t t
34346 s,@prefix@,$prefix,;t t
34347 s,@program_transform_name@,$program_transform_name,;t t
34348 s,@bindir@,$bindir,;t t
34349 s,@sbindir@,$sbindir,;t t
34350 s,@libexecdir@,$libexecdir,;t t
34351 s,@datadir@,$datadir,;t t
34352 s,@sysconfdir@,$sysconfdir,;t t
34353 s,@sharedstatedir@,$sharedstatedir,;t t
34354 s,@localstatedir@,$localstatedir,;t t
34355 s,@libdir@,$libdir,;t t
34356 s,@includedir@,$includedir,;t t
34357 s,@oldincludedir@,$oldincludedir,;t t
34358 s,@infodir@,$infodir,;t t
34359 s,@mandir@,$mandir,;t t
34360 s,@build_alias@,$build_alias,;t t
34361 s,@host_alias@,$host_alias,;t t
34362 s,@target_alias@,$target_alias,;t t
34363 s,@DEFS@,$DEFS,;t t
34364 s,@ECHO_C@,$ECHO_C,;t t
34365 s,@ECHO_N@,$ECHO_N,;t t
34366 s,@ECHO_T@,$ECHO_T,;t t
34367 s,@LIBS@,$LIBS,;t t
34368 s,@build@,$build,;t t
34369 s,@build_cpu@,$build_cpu,;t t
34370 s,@build_vendor@,$build_vendor,;t t
34371 s,@build_os@,$build_os,;t t
34372 s,@build_libsubdir@,$build_libsubdir,;t t
34373 s,@build_subdir@,$build_subdir,;t t
34374 s,@host_subdir@,$host_subdir,;t t
34375 s,@target_subdir@,$target_subdir,;t t
34376 s,@onestep_TRUE@,$onestep_TRUE,;t t
34377 s,@onestep_FALSE@,$onestep_FALSE,;t t
34378 s,@onestep@,$onestep,;t t
34379 s,@host@,$host,;t t
34380 s,@host_cpu@,$host_cpu,;t t
34381 s,@host_vendor@,$host_vendor,;t t
34382 s,@host_os@,$host_os,;t t
34383 s,@target@,$target,;t t
34384 s,@target_cpu@,$target_cpu,;t t
34385 s,@target_vendor@,$target_vendor,;t t
34386 s,@target_os@,$target_os,;t t
34387 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34388 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34389 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34390 s,@CYGPATH_W@,$CYGPATH_W,;t t
34391 s,@PACKAGE@,$PACKAGE,;t t
34392 s,@VERSION@,$VERSION,;t t
34393 s,@ACLOCAL@,$ACLOCAL,;t t
34394 s,@AUTOCONF@,$AUTOCONF,;t t
34395 s,@AUTOMAKE@,$AUTOMAKE,;t t
34396 s,@AUTOHEADER@,$AUTOHEADER,;t t
34397 s,@MAKEINFO@,$MAKEINFO,;t t
34398 s,@install_sh@,$install_sh,;t t
34399 s,@STRIP@,$STRIP,;t t
34400 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34401 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34402 s,@mkdir_p@,$mkdir_p,;t t
34403 s,@AWK@,$AWK,;t t
34404 s,@SET_MAKE@,$SET_MAKE,;t t
34405 s,@am__leading_dot@,$am__leading_dot,;t t
34406 s,@AMTAR@,$AMTAR,;t t
34407 s,@am__tar@,$am__tar,;t t
34408 s,@am__untar@,$am__untar,;t t
34409 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34410 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34411 s,@MAINT@,$MAINT,;t t
34412 s,@multi_basedir@,$multi_basedir,;t t
34413 s,@toolexecdir@,$toolexecdir,;t t
34414 s,@toolexeclibdir@,$toolexeclibdir,;t t
34415 s,@CC@,$CC,;t t
34416 s,@ac_ct_CC@,$ac_ct_CC,;t t
34417 s,@EXEEXT@,$EXEEXT,;t t
34418 s,@OBJEXT@,$OBJEXT,;t t
34419 s,@DEPDIR@,$DEPDIR,;t t
34420 s,@am__include@,$am__include,;t t
34421 s,@am__quote@,$am__quote,;t t
34422 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34423 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34424 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34425 s,@CCDEPMODE@,$CCDEPMODE,;t t
34426 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34427 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34428 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34429 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34430 s,@CFLAGS@,$CFLAGS,;t t
34431 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34432 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34433 s,@AS@,$AS,;t t
34434 s,@ac_ct_AS@,$ac_ct_AS,;t t
34435 s,@AR@,$AR,;t t
34436 s,@ac_ct_AR@,$ac_ct_AR,;t t
34437 s,@RANLIB@,$RANLIB,;t t
34438 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34439 s,@LIBTOOL@,$LIBTOOL,;t t
34440 s,@SED@,$SED,;t t
34441 s,@EGREP@,$EGREP,;t t
34442 s,@FGREP@,$FGREP,;t t
34443 s,@GREP@,$GREP,;t t
34444 s,@LD@,$LD,;t t
34445 s,@DUMPBIN@,$DUMPBIN,;t t
34446 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34447 s,@NM@,$NM,;t t
34448 s,@LN_S@,$LN_S,;t t
34449 s,@lt_ECHO@,$lt_ECHO,;t t
34450 s,@CPP@,$CPP,;t t
34451 s,@CPPFLAGS@,$CPPFLAGS,;t t
34452 s,@enable_shared@,$enable_shared,;t t
34453 s,@enable_static@,$enable_static,;t t
34454 s,@FC@,$FC,;t t
34455 s,@FCFLAGS@,$FCFLAGS,;t t
34456 s,@LDFLAGS@,$LDFLAGS,;t t
34457 s,@ac_ct_FC@,$ac_ct_FC,;t t
34458 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34459 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34460 s,@LIBOBJS@,$LIBOBJS,;t t
34461 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34462 CEOF
34464 _ACEOF
34466 cat >>$CONFIG_STATUS <<\_ACEOF
34467 # Split the substitutions into bite-sized pieces for seds with
34468 # small command number limits, like on Digital OSF/1 and HP-UX.
34469 ac_max_sed_lines=48
34470 ac_sed_frag=1 # Number of current file.
34471 ac_beg=1 # First line for current file.
34472 ac_end=$ac_max_sed_lines # Line after last line for current file.
34473 ac_more_lines=:
34474 ac_sed_cmds=
34475 while $ac_more_lines; do
34476 if test $ac_beg -gt 1; then
34477 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34478 else
34479 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34481 if test ! -s $tmp/subs.frag; then
34482 ac_more_lines=false
34483 else
34484 # The purpose of the label and of the branching condition is to
34485 # speed up the sed processing (if there are no `@' at all, there
34486 # is no need to browse any of the substitutions).
34487 # These are the two extra sed commands mentioned above.
34488 (echo ':t
34489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34490 if test -z "$ac_sed_cmds"; then
34491 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34492 else
34493 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34495 ac_sed_frag=`expr $ac_sed_frag + 1`
34496 ac_beg=$ac_end
34497 ac_end=`expr $ac_end + $ac_max_sed_lines`
34499 done
34500 if test -z "$ac_sed_cmds"; then
34501 ac_sed_cmds=cat
34503 fi # test -n "$CONFIG_FILES"
34505 _ACEOF
34506 cat >>$CONFIG_STATUS <<\_ACEOF
34507 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34509 case $ac_file in
34510 - | *:- | *:-:* ) # input from stdin
34511 cat >$tmp/stdin
34512 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34513 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34514 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34515 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34516 * ) ac_file_in=$ac_file.in ;;
34517 esac
34519 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34520 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34522 X"$ac_file" : 'X\(//\)[^/]' \| \
34523 X"$ac_file" : 'X\(//\)$' \| \
34524 X"$ac_file" : 'X\(/\)' \| \
34525 . : '\(.\)' 2>/dev/null ||
34526 echo X"$ac_file" |
34527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34529 /^X\(\/\/\)$/{ s//\1/; q; }
34530 /^X\(\/\).*/{ s//\1/; q; }
34531 s/.*/./; q'`
34532 { if $as_mkdir_p; then
34533 mkdir -p "$ac_dir"
34534 else
34535 as_dir="$ac_dir"
34536 as_dirs=
34537 while test ! -d "$as_dir"; do
34538 as_dirs="$as_dir $as_dirs"
34539 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34541 X"$as_dir" : 'X\(//\)[^/]' \| \
34542 X"$as_dir" : 'X\(//\)$' \| \
34543 X"$as_dir" : 'X\(/\)' \| \
34544 . : '\(.\)' 2>/dev/null ||
34545 echo X"$as_dir" |
34546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34548 /^X\(\/\/\)$/{ s//\1/; q; }
34549 /^X\(\/\).*/{ s//\1/; q; }
34550 s/.*/./; q'`
34551 done
34552 test ! -n "$as_dirs" || mkdir $as_dirs
34553 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34554 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34555 { (exit 1); exit 1; }; }; }
34557 ac_builddir=.
34559 if test "$ac_dir" != .; then
34560 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34561 # A "../" for each directory in $ac_dir_suffix.
34562 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34563 else
34564 ac_dir_suffix= ac_top_builddir=
34567 case $srcdir in
34568 .) # No --srcdir option. We are building in place.
34569 ac_srcdir=.
34570 if test -z "$ac_top_builddir"; then
34571 ac_top_srcdir=.
34572 else
34573 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34574 fi ;;
34575 [\\/]* | ?:[\\/]* ) # Absolute path.
34576 ac_srcdir=$srcdir$ac_dir_suffix;
34577 ac_top_srcdir=$srcdir ;;
34578 *) # Relative path.
34579 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34580 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34581 esac
34583 # Do not use `cd foo && pwd` to compute absolute paths, because
34584 # the directories may not exist.
34585 case `pwd` in
34586 .) ac_abs_builddir="$ac_dir";;
34588 case "$ac_dir" in
34589 .) ac_abs_builddir=`pwd`;;
34590 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34591 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34592 esac;;
34593 esac
34594 case $ac_abs_builddir in
34595 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34597 case ${ac_top_builddir}. in
34598 .) ac_abs_top_builddir=$ac_abs_builddir;;
34599 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34600 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34601 esac;;
34602 esac
34603 case $ac_abs_builddir in
34604 .) ac_abs_srcdir=$ac_srcdir;;
34606 case $ac_srcdir in
34607 .) ac_abs_srcdir=$ac_abs_builddir;;
34608 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34609 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34610 esac;;
34611 esac
34612 case $ac_abs_builddir in
34613 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34615 case $ac_top_srcdir in
34616 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34617 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34618 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34619 esac;;
34620 esac
34623 case $INSTALL in
34624 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34625 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34626 esac
34628 if test x"$ac_file" != x-; then
34629 { echo "$as_me:$LINENO: creating $ac_file" >&5
34630 echo "$as_me: creating $ac_file" >&6;}
34631 rm -f "$ac_file"
34633 # Let's still pretend it is `configure' which instantiates (i.e., don't
34634 # use $as_me), people would be surprised to read:
34635 # /* config.h. Generated by config.status. */
34636 if test x"$ac_file" = x-; then
34637 configure_input=
34638 else
34639 configure_input="$ac_file. "
34641 configure_input=$configure_input"Generated from `echo $ac_file_in |
34642 sed 's,.*/,,'` by configure."
34644 # First look for the input files in the build tree, otherwise in the
34645 # src tree.
34646 ac_file_inputs=`IFS=:
34647 for f in $ac_file_in; do
34648 case $f in
34649 -) echo $tmp/stdin ;;
34650 [\\/$]*)
34651 # Absolute (can't be DOS-style, as IFS=:)
34652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34653 echo "$as_me: error: cannot find input file: $f" >&2;}
34654 { (exit 1); exit 1; }; }
34655 echo "$f";;
34656 *) # Relative
34657 if test -f "$f"; then
34658 # Build tree
34659 echo "$f"
34660 elif test -f "$srcdir/$f"; then
34661 # Source tree
34662 echo "$srcdir/$f"
34663 else
34664 # /dev/null tree
34665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34666 echo "$as_me: error: cannot find input file: $f" >&2;}
34667 { (exit 1); exit 1; }; }
34668 fi;;
34669 esac
34670 done` || { (exit 1); exit 1; }
34671 _ACEOF
34672 cat >>$CONFIG_STATUS <<_ACEOF
34673 sed "$ac_vpsub
34674 $extrasub
34675 _ACEOF
34676 cat >>$CONFIG_STATUS <<\_ACEOF
34678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34679 s,@configure_input@,$configure_input,;t t
34680 s,@srcdir@,$ac_srcdir,;t t
34681 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34682 s,@top_srcdir@,$ac_top_srcdir,;t t
34683 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34684 s,@builddir@,$ac_builddir,;t t
34685 s,@abs_builddir@,$ac_abs_builddir,;t t
34686 s,@top_builddir@,$ac_top_builddir,;t t
34687 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34688 s,@INSTALL@,$ac_INSTALL,;t t
34689 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34690 rm -f $tmp/stdin
34691 if test x"$ac_file" != x-; then
34692 mv $tmp/out $ac_file
34693 else
34694 cat $tmp/out
34695 rm -f $tmp/out
34698 done
34699 _ACEOF
34700 cat >>$CONFIG_STATUS <<\_ACEOF
34703 # CONFIG_HEADER section.
34706 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34707 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34709 # ac_d sets the value in "#define NAME VALUE" lines.
34710 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34711 ac_dB='[ ].*$,\1#\2'
34712 ac_dC=' '
34713 ac_dD=',;t'
34714 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34715 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34716 ac_uB='$,\1#\2define\3'
34717 ac_uC=' '
34718 ac_uD=',;t'
34720 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34721 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34722 case $ac_file in
34723 - | *:- | *:-:* ) # input from stdin
34724 cat >$tmp/stdin
34725 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34726 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34727 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34729 * ) ac_file_in=$ac_file.in ;;
34730 esac
34732 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34733 echo "$as_me: creating $ac_file" >&6;}
34735 # First look for the input files in the build tree, otherwise in the
34736 # src tree.
34737 ac_file_inputs=`IFS=:
34738 for f in $ac_file_in; do
34739 case $f in
34740 -) echo $tmp/stdin ;;
34741 [\\/$]*)
34742 # Absolute (can't be DOS-style, as IFS=:)
34743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34744 echo "$as_me: error: cannot find input file: $f" >&2;}
34745 { (exit 1); exit 1; }; }
34746 # Do quote $f, to prevent DOS paths from being IFS'd.
34747 echo "$f";;
34748 *) # Relative
34749 if test -f "$f"; then
34750 # Build tree
34751 echo "$f"
34752 elif test -f "$srcdir/$f"; then
34753 # Source tree
34754 echo "$srcdir/$f"
34755 else
34756 # /dev/null tree
34757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34758 echo "$as_me: error: cannot find input file: $f" >&2;}
34759 { (exit 1); exit 1; }; }
34760 fi;;
34761 esac
34762 done` || { (exit 1); exit 1; }
34763 # Remove the trailing spaces.
34764 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34766 _ACEOF
34768 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34769 # `conftest.undefs', that substitutes the proper values into
34770 # config.h.in to produce config.h. The first handles `#define'
34771 # templates, and the second `#undef' templates.
34772 # And first: Protect against being on the right side of a sed subst in
34773 # config.status. Protect against being in an unquoted here document
34774 # in config.status.
34775 rm -f conftest.defines conftest.undefs
34776 # Using a here document instead of a string reduces the quoting nightmare.
34777 # Putting comments in sed scripts is not portable.
34779 # `end' is used to avoid that the second main sed command (meant for
34780 # 0-ary CPP macros) applies to n-ary macro definitions.
34781 # See the Autoconf documentation for `clear'.
34782 cat >confdef2sed.sed <<\_ACEOF
34783 s/[\\&,]/\\&/g
34784 s,[\\$`],\\&,g
34785 t clear
34786 : clear
34787 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34788 t end
34789 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34790 : end
34791 _ACEOF
34792 # If some macros were called several times there might be several times
34793 # the same #defines, which is useless. Nevertheless, we may not want to
34794 # sort them, since we want the *last* AC-DEFINE to be honored.
34795 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34796 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34797 rm -f confdef2sed.sed
34799 # This sed command replaces #undef with comments. This is necessary, for
34800 # example, in the case of _POSIX_SOURCE, which is predefined and required
34801 # on some systems where configure will not decide to define it.
34802 cat >>conftest.undefs <<\_ACEOF
34803 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34804 _ACEOF
34806 # Break up conftest.defines because some shells have a limit on the size
34807 # of here documents, and old seds have small limits too (100 cmds).
34808 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34809 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34810 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34811 echo ' :' >>$CONFIG_STATUS
34812 rm -f conftest.tail
34813 while grep . conftest.defines >/dev/null
34815 # Write a limited-size here document to $tmp/defines.sed.
34816 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34817 # Speed up: don't consider the non `#define' lines.
34818 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34819 # Work around the forget-to-reset-the-flag bug.
34820 echo 't clr' >>$CONFIG_STATUS
34821 echo ': clr' >>$CONFIG_STATUS
34822 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34823 echo 'CEOF
34824 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34825 rm -f $tmp/in
34826 mv $tmp/out $tmp/in
34827 ' >>$CONFIG_STATUS
34828 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34829 rm -f conftest.defines
34830 mv conftest.tail conftest.defines
34831 done
34832 rm -f conftest.defines
34833 echo ' fi # grep' >>$CONFIG_STATUS
34834 echo >>$CONFIG_STATUS
34836 # Break up conftest.undefs because some shells have a limit on the size
34837 # of here documents, and old seds have small limits too (100 cmds).
34838 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34839 rm -f conftest.tail
34840 while grep . conftest.undefs >/dev/null
34842 # Write a limited-size here document to $tmp/undefs.sed.
34843 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34844 # Speed up: don't consider the non `#undef'
34845 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34846 # Work around the forget-to-reset-the-flag bug.
34847 echo 't clr' >>$CONFIG_STATUS
34848 echo ': clr' >>$CONFIG_STATUS
34849 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34850 echo 'CEOF
34851 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34852 rm -f $tmp/in
34853 mv $tmp/out $tmp/in
34854 ' >>$CONFIG_STATUS
34855 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34856 rm -f conftest.undefs
34857 mv conftest.tail conftest.undefs
34858 done
34859 rm -f conftest.undefs
34861 cat >>$CONFIG_STATUS <<\_ACEOF
34862 # Let's still pretend it is `configure' which instantiates (i.e., don't
34863 # use $as_me), people would be surprised to read:
34864 # /* config.h. Generated by config.status. */
34865 if test x"$ac_file" = x-; then
34866 echo "/* Generated by configure. */" >$tmp/config.h
34867 else
34868 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34870 cat $tmp/in >>$tmp/config.h
34871 rm -f $tmp/in
34872 if test x"$ac_file" != x-; then
34873 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34875 echo "$as_me: $ac_file is unchanged" >&6;}
34876 else
34877 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34879 X"$ac_file" : 'X\(//\)[^/]' \| \
34880 X"$ac_file" : 'X\(//\)$' \| \
34881 X"$ac_file" : 'X\(/\)' \| \
34882 . : '\(.\)' 2>/dev/null ||
34883 echo X"$ac_file" |
34884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34886 /^X\(\/\/\)$/{ s//\1/; q; }
34887 /^X\(\/\).*/{ s//\1/; q; }
34888 s/.*/./; q'`
34889 { if $as_mkdir_p; then
34890 mkdir -p "$ac_dir"
34891 else
34892 as_dir="$ac_dir"
34893 as_dirs=
34894 while test ! -d "$as_dir"; do
34895 as_dirs="$as_dir $as_dirs"
34896 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34898 X"$as_dir" : 'X\(//\)[^/]' \| \
34899 X"$as_dir" : 'X\(//\)$' \| \
34900 X"$as_dir" : 'X\(/\)' \| \
34901 . : '\(.\)' 2>/dev/null ||
34902 echo X"$as_dir" |
34903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34905 /^X\(\/\/\)$/{ s//\1/; q; }
34906 /^X\(\/\).*/{ s//\1/; q; }
34907 s/.*/./; q'`
34908 done
34909 test ! -n "$as_dirs" || mkdir $as_dirs
34910 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34912 { (exit 1); exit 1; }; }; }
34914 rm -f $ac_file
34915 mv $tmp/config.h $ac_file
34917 else
34918 cat $tmp/config.h
34919 rm -f $tmp/config.h
34921 # Compute $ac_file's index in $config_headers.
34922 _am_stamp_count=1
34923 for _am_header in $config_headers :; do
34924 case $_am_header in
34925 $ac_file | $ac_file:* )
34926 break ;;
34928 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34929 esac
34930 done
34931 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34932 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34933 X$ac_file : 'X\(//\)[^/]' \| \
34934 X$ac_file : 'X\(//\)$' \| \
34935 X$ac_file : 'X\(/\)' \| \
34936 . : '\(.\)' 2>/dev/null ||
34937 echo X$ac_file |
34938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34940 /^X\(\/\/\)$/{ s//\1/; q; }
34941 /^X\(\/\).*/{ s//\1/; q; }
34942 s/.*/./; q'`/stamp-h$_am_stamp_count
34943 done
34944 _ACEOF
34945 cat >>$CONFIG_STATUS <<\_ACEOF
34948 # CONFIG_COMMANDS section.
34950 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34951 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34952 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34953 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34954 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34955 X"$ac_dest" : 'X\(//\)[^/]' \| \
34956 X"$ac_dest" : 'X\(//\)$' \| \
34957 X"$ac_dest" : 'X\(/\)' \| \
34958 . : '\(.\)' 2>/dev/null ||
34959 echo X"$ac_dest" |
34960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34962 /^X\(\/\/\)$/{ s//\1/; q; }
34963 /^X\(\/\).*/{ s//\1/; q; }
34964 s/.*/./; q'`
34965 { if $as_mkdir_p; then
34966 mkdir -p "$ac_dir"
34967 else
34968 as_dir="$ac_dir"
34969 as_dirs=
34970 while test ! -d "$as_dir"; do
34971 as_dirs="$as_dir $as_dirs"
34972 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34974 X"$as_dir" : 'X\(//\)[^/]' \| \
34975 X"$as_dir" : 'X\(//\)$' \| \
34976 X"$as_dir" : 'X\(/\)' \| \
34977 . : '\(.\)' 2>/dev/null ||
34978 echo X"$as_dir" |
34979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34981 /^X\(\/\/\)$/{ s//\1/; q; }
34982 /^X\(\/\).*/{ s//\1/; q; }
34983 s/.*/./; q'`
34984 done
34985 test ! -n "$as_dirs" || mkdir $as_dirs
34986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34988 { (exit 1); exit 1; }; }; }
34990 ac_builddir=.
34992 if test "$ac_dir" != .; then
34993 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34994 # A "../" for each directory in $ac_dir_suffix.
34995 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34996 else
34997 ac_dir_suffix= ac_top_builddir=
35000 case $srcdir in
35001 .) # No --srcdir option. We are building in place.
35002 ac_srcdir=.
35003 if test -z "$ac_top_builddir"; then
35004 ac_top_srcdir=.
35005 else
35006 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35007 fi ;;
35008 [\\/]* | ?:[\\/]* ) # Absolute path.
35009 ac_srcdir=$srcdir$ac_dir_suffix;
35010 ac_top_srcdir=$srcdir ;;
35011 *) # Relative path.
35012 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35013 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35014 esac
35016 # Do not use `cd foo && pwd` to compute absolute paths, because
35017 # the directories may not exist.
35018 case `pwd` in
35019 .) ac_abs_builddir="$ac_dir";;
35021 case "$ac_dir" in
35022 .) ac_abs_builddir=`pwd`;;
35023 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35024 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35025 esac;;
35026 esac
35027 case $ac_abs_builddir in
35028 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35030 case ${ac_top_builddir}. in
35031 .) ac_abs_top_builddir=$ac_abs_builddir;;
35032 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35033 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35034 esac;;
35035 esac
35036 case $ac_abs_builddir in
35037 .) ac_abs_srcdir=$ac_srcdir;;
35039 case $ac_srcdir in
35040 .) ac_abs_srcdir=$ac_abs_builddir;;
35041 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35042 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35043 esac;;
35044 esac
35045 case $ac_abs_builddir in
35046 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35048 case $ac_top_srcdir in
35049 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35050 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35051 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35052 esac;;
35053 esac
35056 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35057 echo "$as_me: executing $ac_dest commands" >&6;}
35058 case $ac_dest in
35059 default-1 )
35060 # Only add multilib support code if we just rebuilt the top-level
35061 # Makefile.
35062 case " $CONFIG_FILES " in
35063 *" Makefile "*)
35064 ac_file=Makefile . ${multi_basedir}/config-ml.in
35066 esac ;;
35067 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35068 # Strip MF so we end up with the name of the file.
35069 mf=`echo "$mf" | sed -e 's/:.*$//'`
35070 # Check whether this is an Automake generated Makefile or not.
35071 # We used to match only the files named `Makefile.in', but
35072 # some people rename them; so instead we look at the file content.
35073 # Grep'ing the first line is not enough: some people post-process
35074 # each Makefile.in and add a new line on top of each file to say so.
35075 # So let's grep whole file.
35076 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35077 dirpart=`(dirname "$mf") 2>/dev/null ||
35078 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35079 X"$mf" : 'X\(//\)[^/]' \| \
35080 X"$mf" : 'X\(//\)$' \| \
35081 X"$mf" : 'X\(/\)' \| \
35082 . : '\(.\)' 2>/dev/null ||
35083 echo X"$mf" |
35084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35086 /^X\(\/\/\)$/{ s//\1/; q; }
35087 /^X\(\/\).*/{ s//\1/; q; }
35088 s/.*/./; q'`
35089 else
35090 continue
35092 # Extract the definition of DEPDIR, am__include, and am__quote
35093 # from the Makefile without running `make'.
35094 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35095 test -z "$DEPDIR" && continue
35096 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35097 test -z "am__include" && continue
35098 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35099 # When using ansi2knr, U may be empty or an underscore; expand it
35100 U=`sed -n 's/^U = //p' < "$mf"`
35101 # Find all dependency output files, they are included files with
35102 # $(DEPDIR) in their names. We invoke sed twice because it is the
35103 # simplest approach to changing $(DEPDIR) to its actual value in the
35104 # expansion.
35105 for file in `sed -n "
35106 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35107 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35108 # Make sure the directory exists.
35109 test -f "$dirpart/$file" && continue
35110 fdir=`(dirname "$file") 2>/dev/null ||
35111 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35112 X"$file" : 'X\(//\)[^/]' \| \
35113 X"$file" : 'X\(//\)$' \| \
35114 X"$file" : 'X\(/\)' \| \
35115 . : '\(.\)' 2>/dev/null ||
35116 echo X"$file" |
35117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35119 /^X\(\/\/\)$/{ s//\1/; q; }
35120 /^X\(\/\).*/{ s//\1/; q; }
35121 s/.*/./; q'`
35122 { if $as_mkdir_p; then
35123 mkdir -p $dirpart/$fdir
35124 else
35125 as_dir=$dirpart/$fdir
35126 as_dirs=
35127 while test ! -d "$as_dir"; do
35128 as_dirs="$as_dir $as_dirs"
35129 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35131 X"$as_dir" : 'X\(//\)[^/]' \| \
35132 X"$as_dir" : 'X\(//\)$' \| \
35133 X"$as_dir" : 'X\(/\)' \| \
35134 . : '\(.\)' 2>/dev/null ||
35135 echo X"$as_dir" |
35136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35137 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35138 /^X\(\/\/\)$/{ s//\1/; q; }
35139 /^X\(\/\).*/{ s//\1/; q; }
35140 s/.*/./; q'`
35141 done
35142 test ! -n "$as_dirs" || mkdir $as_dirs
35143 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35144 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35145 { (exit 1); exit 1; }; }; }
35147 # echo "creating $dirpart/$file"
35148 echo '# dummy' > "$dirpart/$file"
35149 done
35150 done
35152 libtool )
35154 # See if we are running on zsh, and set the options which allow our
35155 # commands through without removal of \ escapes.
35156 if test -n "${ZSH_VERSION+set}" ; then
35157 setopt NO_GLOB_SUBST
35160 cfgfile="${ofile}T"
35161 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35162 $RM "$cfgfile"
35164 cat <<_LT_EOF >> "$cfgfile"
35165 #! $SHELL
35167 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35168 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35169 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35170 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35172 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35173 # 2006, 2007 Free Software Foundation, Inc.
35175 # This file is part of GNU Libtool:
35176 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35178 # This program is free software; you can redistribute it and/or modify
35179 # it under the terms of the GNU General Public License as published by
35180 # the Free Software Foundation; either version 2 of the License, or
35181 # (at your option) any later version.
35183 # This program is distributed in the hope that it will be useful, but
35184 # WITHOUT ANY WARRANTY; without even the implied warranty of
35185 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35186 # General Public License for more details.
35188 # You should have received a copy of the GNU General Public License
35189 # along with this program; if not, a copy can be downloaded from
35190 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35191 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35192 # MA 02110-1301, USA.
35194 # As a special exception to the GNU General Public License, if you
35195 # distribute this file as part of a program that contains a
35196 # configuration script generated by Autoconf, you may include it under
35197 # the same distribution terms that you use for the rest of that program.
35200 # The names of the tagged configurations supported by this script.
35201 available_tags="FC "
35203 # ### BEGIN LIBTOOL CONFIG
35205 # Which release of libtool.m4 was used?
35206 macro_version=$macro_version
35207 macro_revision=$macro_revision
35209 # Whether or not to build shared libraries.
35210 build_libtool_libs=$enable_shared
35212 # Whether or not to build static libraries.
35213 build_old_libs=$enable_static
35215 # What type of objects to build.
35216 pic_mode=$pic_mode
35218 # Whether or not to optimize for fast installation.
35219 fast_install=$enable_fast_install
35221 # The host system.
35222 host_alias=$host_alias
35223 host=$host
35224 host_os=$host_os
35226 # The build system.
35227 build_alias=$build_alias
35228 build=$build
35229 build_os=$build_os
35231 # A sed program that does not truncate output.
35232 SED=$lt_SED
35234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35235 Xsed="\$SED -e 1s/^X//"
35237 # A grep program that handles long lines.
35238 GREP=$lt_GREP
35240 # An ERE matcher.
35241 EGREP=$lt_EGREP
35243 # A literal string matcher.
35244 FGREP=$lt_FGREP
35246 # A BSD- or MS-compatible name lister.
35247 NM=$lt_NM
35249 # Whether we need soft or hard links.
35250 LN_S=$lt_LN_S
35252 # What is the maximum length of a command?
35253 max_cmd_len=$max_cmd_len
35255 # Object file suffix (normally "o").
35256 objext=$ac_objext
35258 # Executable file suffix (normally "").
35259 exeext=$exeext
35261 # whether the shell understands "unset".
35262 lt_unset=$lt_unset
35264 # turn spaces into newlines.
35265 SP2NL=$lt_lt_SP2NL
35267 # turn newlines into spaces.
35268 NL2SP=$lt_lt_NL2SP
35270 # How to create reloadable object files.
35271 reload_flag=$lt_reload_flag
35272 reload_cmds=$lt_reload_cmds
35274 # Method to check whether dependent libraries are shared objects.
35275 deplibs_check_method=$lt_deplibs_check_method
35277 # Command to use when deplibs_check_method == "file_magic".
35278 file_magic_cmd=$lt_file_magic_cmd
35280 # The archiver.
35281 AR=$lt_AR
35282 AR_FLAGS=$lt_AR_FLAGS
35284 # A symbol stripping program.
35285 STRIP=$lt_STRIP
35287 # Commands used to install an old-style archive.
35288 RANLIB=$lt_RANLIB
35289 old_postinstall_cmds=$lt_old_postinstall_cmds
35290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35292 # A C compiler.
35293 LTCC=$lt_CC
35295 # LTCC compiler flags.
35296 LTCFLAGS=$lt_CFLAGS
35298 # Take the output of nm and produce a listing of raw symbols and C names.
35299 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35301 # Transform the output of nm in a proper C declaration.
35302 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35304 # Transform the output of nm in a C name address pair.
35305 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35307 # The name of the directory that contains temporary libtool files.
35308 objdir=$objdir
35310 # Shell to use when invoking shell scripts.
35311 SHELL=$lt_SHELL
35313 # An echo program that does not interpret backslashes.
35314 ECHO=$lt_ECHO
35316 # Used to examine libraries when file_magic_cmd begins with "file".
35317 MAGIC_CMD=$MAGIC_CMD
35319 # Must we lock files when doing compilation?
35320 need_locks=$lt_need_locks
35322 # Old archive suffix (normally "a").
35323 libext=$libext
35325 # Shared library suffix (normally ".so").
35326 shrext_cmds=$lt_shrext_cmds
35328 # The commands to extract the exported symbol list from a shared archive.
35329 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35331 # Variables whose values should be saved in libtool wrapper scripts and
35332 # restored at link time.
35333 variables_saved_for_relink=$lt_variables_saved_for_relink
35335 # Do we need the "lib" prefix for modules?
35336 need_lib_prefix=$need_lib_prefix
35338 # Do we need a version for libraries?
35339 need_version=$need_version
35341 # Library versioning type.
35342 version_type=$version_type
35344 # Shared library runtime path variable.
35345 runpath_var=$runpath_var
35347 # Shared library path variable.
35348 shlibpath_var=$shlibpath_var
35350 # Is shlibpath searched before the hard-coded library search path?
35351 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35353 # Format of library name prefix.
35354 libname_spec=$lt_libname_spec
35356 # List of archive names. First name is the real one, the rest are links.
35357 # The last name is the one that the linker finds with -lNAME
35358 library_names_spec=$lt_library_names_spec
35360 # The coded name of the library, if different from the real name.
35361 soname_spec=$lt_soname_spec
35363 # Command to use after installation of a shared archive.
35364 postinstall_cmds=$lt_postinstall_cmds
35366 # Command to use after uninstallation of a shared archive.
35367 postuninstall_cmds=$lt_postuninstall_cmds
35369 # Commands used to finish a libtool library installation in a directory.
35370 finish_cmds=$lt_finish_cmds
35372 # As "finish_cmds", except a single script fragment to be evaled but
35373 # not shown.
35374 finish_eval=$lt_finish_eval
35376 # Whether we should hardcode library paths into libraries.
35377 hardcode_into_libs=$hardcode_into_libs
35379 # Compile-time system search path for libraries.
35380 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35382 # Run-time system search path for libraries.
35383 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35385 # Whether dlopen is supported.
35386 dlopen_support=$enable_dlopen
35388 # Whether dlopen of programs is supported.
35389 dlopen_self=$enable_dlopen_self
35391 # Whether dlopen of statically linked programs is supported.
35392 dlopen_self_static=$enable_dlopen_self_static
35394 # Commands to strip libraries.
35395 old_striplib=$lt_old_striplib
35396 striplib=$lt_striplib
35399 # The linker used to build libraries.
35400 LD=$lt_LD
35402 # Commands used to build an old-style archive.
35403 old_archive_cmds=$lt_old_archive_cmds
35405 # A language specific compiler.
35406 CC=$lt_compiler
35408 # Is the compiler the GNU compiler?
35409 with_gcc=$GCC
35411 # Compiler flag to turn off builtin functions.
35412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35414 # How to pass a linker flag through the compiler.
35415 wl=$lt_lt_prog_compiler_wl
35417 # Additional compiler flags for building library objects.
35418 pic_flag=$lt_lt_prog_compiler_pic
35420 # Compiler flag to prevent dynamic linking.
35421 link_static_flag=$lt_lt_prog_compiler_static
35423 # Does compiler simultaneously support -c and -o options?
35424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35426 # Whether or not to add -lc for building shared libraries.
35427 build_libtool_need_lc=$archive_cmds_need_lc
35429 # Whether or not to disallow shared libs when runtime libs are static.
35430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35432 # Compiler flag to allow reflexive dlopens.
35433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35435 # Compiler flag to generate shared objects directly from archives.
35436 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35438 # Whether the compiler copes with passing no objects directly.
35439 compiler_needs_object=$lt_compiler_needs_object
35441 # Create an old-style archive from a shared archive.
35442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35444 # Create a temporary old-style archive to link instead of a shared archive.
35445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35447 # Commands used to build a shared archive.
35448 archive_cmds=$lt_archive_cmds
35449 archive_expsym_cmds=$lt_archive_expsym_cmds
35451 # Commands used to build a loadable module if different from building
35452 # a shared archive.
35453 module_cmds=$lt_module_cmds
35454 module_expsym_cmds=$lt_module_expsym_cmds
35456 # Whether we are building with GNU ld or not.
35457 with_gnu_ld=$lt_with_gnu_ld
35459 # Flag that allows shared libraries with undefined symbols to be built.
35460 allow_undefined_flag=$lt_allow_undefined_flag
35462 # Flag that enforces no undefined symbols.
35463 no_undefined_flag=$lt_no_undefined_flag
35465 # Flag to hardcode \$libdir into a binary during linking.
35466 # This must work even if \$libdir does not exist
35467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35469 # If ld is used when linking, flag to hardcode \$libdir into a binary
35470 # during linking. This must work even if \$libdir does not exist.
35471 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35473 # Whether we need a single "-rpath" flag with a separated argument.
35474 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35477 # DIR into the resulting binary.
35478 hardcode_direct=$hardcode_direct
35480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35481 # DIR into the resulting binary and the resulting library dependency is
35482 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35483 # library is relocated.
35484 hardcode_direct_absolute=$hardcode_direct_absolute
35486 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35487 # into the resulting binary.
35488 hardcode_minus_L=$hardcode_minus_L
35490 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35491 # into the resulting binary.
35492 hardcode_shlibpath_var=$hardcode_shlibpath_var
35494 # Set to "yes" if building a shared library automatically hardcodes DIR
35495 # into the library and all subsequent libraries and executables linked
35496 # against it.
35497 hardcode_automatic=$hardcode_automatic
35499 # Set to yes if linker adds runtime paths of dependent libraries
35500 # to runtime path list.
35501 inherit_rpath=$inherit_rpath
35503 # Whether libtool must link a program against all its dependency libraries.
35504 link_all_deplibs=$link_all_deplibs
35506 # Fix the shell variable \$srcfile for the compiler.
35507 fix_srcfile_path=$lt_fix_srcfile_path
35509 # Set to "yes" if exported symbols are required.
35510 always_export_symbols=$always_export_symbols
35512 # The commands to list exported symbols.
35513 export_symbols_cmds=$lt_export_symbols_cmds
35515 # Symbols that should not be listed in the preloaded symbols.
35516 exclude_expsyms=$lt_exclude_expsyms
35518 # Symbols that must always be exported.
35519 include_expsyms=$lt_include_expsyms
35521 # Commands necessary for linking programs (against libraries) with templates.
35522 prelink_cmds=$lt_prelink_cmds
35524 # Specify filename containing input files.
35525 file_list_spec=$lt_file_list_spec
35527 # How to hardcode a shared library path into an executable.
35528 hardcode_action=$hardcode_action
35530 # Dependencies to place before and after the objects being linked to
35531 # create a shared library.
35532 predep_objects=$lt_predep_objects
35533 postdep_objects=$lt_postdep_objects
35534 predeps=$lt_predeps
35535 postdeps=$lt_postdeps
35537 # The library search path used internally by the compiler when linking
35538 # a shared library.
35539 compiler_lib_search_path=$lt_compiler_lib_search_path
35541 # ### END LIBTOOL CONFIG
35543 _LT_EOF
35545 case $host_os in
35546 aix3*)
35547 cat <<\_LT_EOF >> "$cfgfile"
35548 # AIX sometimes has problems with the GCC collect2 program. For some
35549 # reason, if we set the COLLECT_NAMES environment variable, the problems
35550 # vanish in a puff of smoke.
35551 if test "X${COLLECT_NAMES+set}" != Xset; then
35552 COLLECT_NAMES=
35553 export COLLECT_NAMES
35555 _LT_EOF
35557 esac
35560 ltmain="$ac_aux_dir/ltmain.sh"
35563 # We use sed instead of cat because bash on DJGPP gets confused if
35564 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35565 # text mode, it properly converts lines to CR/LF. This bash problem
35566 # is reportedly fixed, but why not run on old versions too?
35567 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35568 || (rm -f "$cfgfile"; exit 1)
35570 case $xsi_shell in
35571 yes)
35572 cat << \_LT_EOF >> "$cfgfile"
35573 # func_dirname file append nondir_replacement
35574 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35575 # otherwise set result to NONDIR_REPLACEMENT.
35576 func_dirname ()
35578 case ${1} in
35579 */*) func_dirname_result="${1%/*}${2}" ;;
35580 * ) func_dirname_result="${3}" ;;
35581 esac
35584 # func_basename file
35585 func_basename ()
35587 func_basename_result="${1##*/}"
35590 # func_stripname prefix suffix name
35591 # strip PREFIX and SUFFIX off of NAME.
35592 # PREFIX and SUFFIX must not contain globbing or regex special
35593 # characters, hashes, percent signs, but SUFFIX may contain a leading
35594 # dot (in which case that matches only a dot).
35595 func_stripname ()
35597 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35598 # positional parameters, so assign one to ordinary parameter first.
35599 func_stripname_result=${3}
35600 func_stripname_result=${func_stripname_result#"${1}"}
35601 func_stripname_result=${func_stripname_result%"${2}"}
35604 # func_opt_split
35605 func_opt_split ()
35607 func_opt_split_opt=${1%%=*}
35608 func_opt_split_arg=${1#*=}
35611 # func_lo2o object
35612 func_lo2o ()
35614 case ${1} in
35615 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35616 *) func_lo2o_result=${1} ;;
35617 esac
35619 _LT_EOF
35621 *) # Bourne compatible functions.
35622 cat << \_LT_EOF >> "$cfgfile"
35623 # func_dirname file append nondir_replacement
35624 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35625 # otherwise set result to NONDIR_REPLACEMENT.
35626 func_dirname ()
35628 # Extract subdirectory from the argument.
35629 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35630 if test "X$func_dirname_result" = "X${1}"; then
35631 func_dirname_result="${3}"
35632 else
35633 func_dirname_result="$func_dirname_result${2}"
35637 # func_basename file
35638 func_basename ()
35640 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35643 # func_stripname prefix suffix name
35644 # strip PREFIX and SUFFIX off of NAME.
35645 # PREFIX and SUFFIX must not contain globbing or regex special
35646 # characters, hashes, percent signs, but SUFFIX may contain a leading
35647 # dot (in which case that matches only a dot).
35648 # func_strip_suffix prefix name
35649 func_stripname ()
35651 case ${2} in
35652 .*) func_stripname_result=`$ECHO "X${3}" \
35653 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35654 *) func_stripname_result=`$ECHO "X${3}" \
35655 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35656 esac
35659 # sed scripts:
35660 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35661 my_sed_long_arg='1s/^-[^=]*=//'
35663 # func_opt_split
35664 func_opt_split ()
35666 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35667 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35670 # func_lo2o object
35671 func_lo2o ()
35673 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35675 _LT_EOF
35676 esac
35678 case $lt_shell_append in
35679 yes)
35680 cat << \_LT_EOF >> "$cfgfile"
35682 # func_append var value
35683 # Append VALUE to the end of shell variable VAR.
35684 func_append ()
35686 eval "$1+=\$2"
35688 _LT_EOF
35691 cat << \_LT_EOF >> "$cfgfile"
35693 # func_append var value
35694 # Append VALUE to the end of shell variable VAR.
35695 func_append ()
35697 eval "$1=\$$1\$2"
35699 _LT_EOF
35701 esac
35704 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35705 || (rm -f "$cfgfile"; exit 1)
35707 mv -f "$cfgfile" "$ofile" ||
35708 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35709 chmod +x "$ofile"
35712 cat <<_LT_EOF >> "$ofile"
35714 # ### BEGIN LIBTOOL TAG CONFIG: FC
35716 # The linker used to build libraries.
35717 LD=$lt_LD_FC
35719 # Commands used to build an old-style archive.
35720 old_archive_cmds=$lt_old_archive_cmds_FC
35722 # A language specific compiler.
35723 CC=$lt_compiler_FC
35725 # Is the compiler the GNU compiler?
35726 with_gcc=$GCC_FC
35728 # Compiler flag to turn off builtin functions.
35729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35731 # How to pass a linker flag through the compiler.
35732 wl=$lt_lt_prog_compiler_wl_FC
35734 # Additional compiler flags for building library objects.
35735 pic_flag=$lt_lt_prog_compiler_pic_FC
35737 # Compiler flag to prevent dynamic linking.
35738 link_static_flag=$lt_lt_prog_compiler_static_FC
35740 # Does compiler simultaneously support -c and -o options?
35741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35743 # Whether or not to add -lc for building shared libraries.
35744 build_libtool_need_lc=$archive_cmds_need_lc_FC
35746 # Whether or not to disallow shared libs when runtime libs are static.
35747 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35749 # Compiler flag to allow reflexive dlopens.
35750 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35752 # Compiler flag to generate shared objects directly from archives.
35753 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35755 # Whether the compiler copes with passing no objects directly.
35756 compiler_needs_object=$lt_compiler_needs_object_FC
35758 # Create an old-style archive from a shared archive.
35759 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35761 # Create a temporary old-style archive to link instead of a shared archive.
35762 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35764 # Commands used to build a shared archive.
35765 archive_cmds=$lt_archive_cmds_FC
35766 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35768 # Commands used to build a loadable module if different from building
35769 # a shared archive.
35770 module_cmds=$lt_module_cmds_FC
35771 module_expsym_cmds=$lt_module_expsym_cmds_FC
35773 # Whether we are building with GNU ld or not.
35774 with_gnu_ld=$lt_with_gnu_ld_FC
35776 # Flag that allows shared libraries with undefined symbols to be built.
35777 allow_undefined_flag=$lt_allow_undefined_flag_FC
35779 # Flag that enforces no undefined symbols.
35780 no_undefined_flag=$lt_no_undefined_flag_FC
35782 # Flag to hardcode \$libdir into a binary during linking.
35783 # This must work even if \$libdir does not exist
35784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35786 # If ld is used when linking, flag to hardcode \$libdir into a binary
35787 # during linking. This must work even if \$libdir does not exist.
35788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35790 # Whether we need a single "-rpath" flag with a separated argument.
35791 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35794 # DIR into the resulting binary.
35795 hardcode_direct=$hardcode_direct_FC
35797 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35798 # DIR into the resulting binary and the resulting library dependency is
35799 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35800 # library is relocated.
35801 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35803 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35804 # into the resulting binary.
35805 hardcode_minus_L=$hardcode_minus_L_FC
35807 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35808 # into the resulting binary.
35809 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35811 # Set to "yes" if building a shared library automatically hardcodes DIR
35812 # into the library and all subsequent libraries and executables linked
35813 # against it.
35814 hardcode_automatic=$hardcode_automatic_FC
35816 # Set to yes if linker adds runtime paths of dependent libraries
35817 # to runtime path list.
35818 inherit_rpath=$inherit_rpath_FC
35820 # Whether libtool must link a program against all its dependency libraries.
35821 link_all_deplibs=$link_all_deplibs_FC
35823 # Fix the shell variable \$srcfile for the compiler.
35824 fix_srcfile_path=$lt_fix_srcfile_path_FC
35826 # Set to "yes" if exported symbols are required.
35827 always_export_symbols=$always_export_symbols_FC
35829 # The commands to list exported symbols.
35830 export_symbols_cmds=$lt_export_symbols_cmds_FC
35832 # Symbols that should not be listed in the preloaded symbols.
35833 exclude_expsyms=$lt_exclude_expsyms_FC
35835 # Symbols that must always be exported.
35836 include_expsyms=$lt_include_expsyms_FC
35838 # Commands necessary for linking programs (against libraries) with templates.
35839 prelink_cmds=$lt_prelink_cmds_FC
35841 # Specify filename containing input files.
35842 file_list_spec=$lt_file_list_spec_FC
35844 # How to hardcode a shared library path into an executable.
35845 hardcode_action=$hardcode_action_FC
35847 # Dependencies to place before and after the objects being linked to
35848 # create a shared library.
35849 predep_objects=$lt_predep_objects_FC
35850 postdep_objects=$lt_postdep_objects_FC
35851 predeps=$lt_predeps_FC
35852 postdeps=$lt_postdeps_FC
35854 # The library search path used internally by the compiler when linking
35855 # a shared library.
35856 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35858 # ### END LIBTOOL TAG CONFIG: FC
35859 _LT_EOF
35862 gstdint.h )
35863 if test "$GCC" = yes; then
35864 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35865 else
35866 echo "/* generated for $CC */" > tmp-stdint.h
35869 sed 's/^ *//' >> tmp-stdint.h <<EOF
35871 #ifndef GCC_GENERATED_STDINT_H
35872 #define GCC_GENERATED_STDINT_H 1
35874 #include <sys/types.h>
35877 if test "$acx_cv_header_stdint" != stdint.h; then
35878 echo "#include <stddef.h>" >> tmp-stdint.h
35880 if test "$acx_cv_header_stdint" != stddef.h; then
35881 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35884 sed 's/^ *//' >> tmp-stdint.h <<EOF
35885 /* glibc uses these symbols as guards to prevent redefinitions. */
35886 #ifdef __int8_t_defined
35887 #define _INT8_T
35888 #define _INT16_T
35889 #define _INT32_T
35890 #endif
35891 #ifdef __uint32_t_defined
35892 #define _UINT32_T
35893 #endif
35897 # ----------------- done header, emit basic int types -------------
35898 if test "$acx_cv_header_stdint" = stddef.h; then
35899 sed 's/^ *//' >> tmp-stdint.h <<EOF
35901 #ifndef _UINT8_T
35902 #define _UINT8_T
35903 #ifndef __uint8_t_defined
35904 #define __uint8_t_defined
35905 typedef unsigned $acx_cv_type_int8_t uint8_t;
35906 #endif
35907 #endif
35909 #ifndef _UINT16_T
35910 #define _UINT16_T
35911 #ifndef __uint16_t_defined
35912 #define __uint16_t_defined
35913 typedef unsigned $acx_cv_type_int16_t uint16_t;
35914 #endif
35915 #endif
35917 #ifndef _UINT32_T
35918 #define _UINT32_T
35919 #ifndef __uint32_t_defined
35920 #define __uint32_t_defined
35921 typedef unsigned $acx_cv_type_int32_t uint32_t;
35922 #endif
35923 #endif
35925 #ifndef _INT8_T
35926 #define _INT8_T
35927 #ifndef __int8_t_defined
35928 #define __int8_t_defined
35929 typedef $acx_cv_type_int8_t int8_t;
35930 #endif
35931 #endif
35933 #ifndef _INT16_T
35934 #define _INT16_T
35935 #ifndef __int16_t_defined
35936 #define __int16_t_defined
35937 typedef $acx_cv_type_int16_t int16_t;
35938 #endif
35939 #endif
35941 #ifndef _INT32_T
35942 #define _INT32_T
35943 #ifndef __int32_t_defined
35944 #define __int32_t_defined
35945 typedef $acx_cv_type_int32_t int32_t;
35946 #endif
35947 #endif
35949 elif test "$ac_cv_type_u_int32_t" = yes; then
35950 sed 's/^ *//' >> tmp-stdint.h <<EOF
35952 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35953 #ifndef _INT8_T
35954 #define _INT8_T
35955 #endif
35956 #ifndef _INT16_T
35957 #define _INT16_T
35958 #endif
35959 #ifndef _INT32_T
35960 #define _INT32_T
35961 #endif
35963 #ifndef _UINT8_T
35964 #define _UINT8_T
35965 #ifndef __uint8_t_defined
35966 #define __uint8_t_defined
35967 typedef u_int8_t uint8_t;
35968 #endif
35969 #endif
35971 #ifndef _UINT16_T
35972 #define _UINT16_T
35973 #ifndef __uint16_t_defined
35974 #define __uint16_t_defined
35975 typedef u_int16_t uint16_t;
35976 #endif
35977 #endif
35979 #ifndef _UINT32_T
35980 #define _UINT32_T
35981 #ifndef __uint32_t_defined
35982 #define __uint32_t_defined
35983 typedef u_int32_t uint32_t;
35984 #endif
35985 #endif
35987 else
35988 sed 's/^ *//' >> tmp-stdint.h <<EOF
35990 /* Some systems have guard macros to prevent redefinitions, define them. */
35991 #ifndef _INT8_T
35992 #define _INT8_T
35993 #endif
35994 #ifndef _INT16_T
35995 #define _INT16_T
35996 #endif
35997 #ifndef _INT32_T
35998 #define _INT32_T
35999 #endif
36000 #ifndef _UINT8_T
36001 #define _UINT8_T
36002 #endif
36003 #ifndef _UINT16_T
36004 #define _UINT16_T
36005 #endif
36006 #ifndef _UINT32_T
36007 #define _UINT32_T
36008 #endif
36012 # ------------- done basic int types, emit int64_t types ------------
36013 if test "$ac_cv_type_uint64_t" = yes; then
36014 sed 's/^ *//' >> tmp-stdint.h <<EOF
36016 /* system headers have good uint64_t and int64_t */
36017 #ifndef _INT64_T
36018 #define _INT64_T
36019 #endif
36020 #ifndef _UINT64_T
36021 #define _UINT64_T
36022 #endif
36024 elif test "$ac_cv_type_u_int64_t" = yes; then
36025 sed 's/^ *//' >> tmp-stdint.h <<EOF
36027 /* system headers have an u_int64_t (and int64_t) */
36028 #ifndef _INT64_T
36029 #define _INT64_T
36030 #endif
36031 #ifndef _UINT64_T
36032 #define _UINT64_T
36033 #ifndef __uint64_t_defined
36034 #define __uint64_t_defined
36035 typedef u_int64_t uint64_t;
36036 #endif
36037 #endif
36039 elif test -n "$acx_cv_type_int64_t"; then
36040 sed 's/^ *//' >> tmp-stdint.h <<EOF
36042 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36043 #ifndef _INT64_T
36044 #define _INT64_T
36045 typedef $acx_cv_type_int64_t int64_t;
36046 #endif
36047 #ifndef _UINT64_T
36048 #define _UINT64_T
36049 #ifndef __uint64_t_defined
36050 #define __uint64_t_defined
36051 typedef unsigned $acx_cv_type_int64_t uint64_t;
36052 #endif
36053 #endif
36055 else
36056 sed 's/^ *//' >> tmp-stdint.h <<EOF
36058 /* some common heuristics for int64_t, using compiler-specific tests */
36059 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36060 #ifndef _INT64_T
36061 #define _INT64_T
36062 #ifndef __int64_t_defined
36063 typedef long long int64_t;
36064 #endif
36065 #endif
36066 #ifndef _UINT64_T
36067 #define _UINT64_T
36068 typedef unsigned long long uint64_t;
36069 #endif
36071 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36072 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36073 does not implement __extension__. But that compiler doesn't define
36074 __GNUC_MINOR__. */
36075 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36076 # define __extension__
36077 # endif
36079 # ifndef _INT64_T
36080 # define _INT64_T
36081 __extension__ typedef long long int64_t;
36082 # endif
36083 # ifndef _UINT64_T
36084 # define _UINT64_T
36085 __extension__ typedef unsigned long long uint64_t;
36086 # endif
36088 #elif !defined __STRICT_ANSI__
36089 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36091 # ifndef _INT64_T
36092 # define _INT64_T
36093 typedef __int64 int64_t;
36094 # endif
36095 # ifndef _UINT64_T
36096 # define _UINT64_T
36097 typedef unsigned __int64 uint64_t;
36098 # endif
36099 # endif /* compiler */
36101 #endif /* ANSI version */
36105 # ------------- done int64_t types, emit intptr types ------------
36106 if test "$ac_cv_type_uintptr_t" != yes; then
36107 sed 's/^ *//' >> tmp-stdint.h <<EOF
36109 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36110 #ifndef __uintptr_t_defined
36111 typedef u$acx_cv_type_intptr_t uintptr_t;
36112 #endif
36113 #ifndef __intptr_t_defined
36114 typedef $acx_cv_type_intptr_t intptr_t;
36115 #endif
36119 # ------------- done intptr types, emit int_least types ------------
36120 if test "$ac_cv_type_int_least32_t" != yes; then
36121 sed 's/^ *//' >> tmp-stdint.h <<EOF
36123 /* Define int_least types */
36124 typedef int8_t int_least8_t;
36125 typedef int16_t int_least16_t;
36126 typedef int32_t int_least32_t;
36127 #ifdef _INT64_T
36128 typedef int64_t int_least64_t;
36129 #endif
36131 typedef uint8_t uint_least8_t;
36132 typedef uint16_t uint_least16_t;
36133 typedef uint32_t uint_least32_t;
36134 #ifdef _UINT64_T
36135 typedef uint64_t uint_least64_t;
36136 #endif
36140 # ------------- done intptr types, emit int_fast types ------------
36141 if test "$ac_cv_type_int_fast32_t" != yes; then
36142 sed 's/^ *//' >> tmp-stdint.h <<EOF
36144 /* Define int_fast types. short is often slow */
36145 typedef int8_t int_fast8_t;
36146 typedef int int_fast16_t;
36147 typedef int32_t int_fast32_t;
36148 #ifdef _INT64_T
36149 typedef int64_t int_fast64_t;
36150 #endif
36152 typedef uint8_t uint_fast8_t;
36153 typedef unsigned int uint_fast16_t;
36154 typedef uint32_t uint_fast32_t;
36155 #ifdef _UINT64_T
36156 typedef uint64_t uint_fast64_t;
36157 #endif
36161 if test "$ac_cv_type_uintmax_t" != yes; then
36162 sed 's/^ *//' >> tmp-stdint.h <<EOF
36164 /* Define intmax based on what we found */
36165 #ifdef _INT64_T
36166 typedef int64_t intmax_t;
36167 #else
36168 typedef long intmax_t;
36169 #endif
36170 #ifdef _UINT64_T
36171 typedef uint64_t uintmax_t;
36172 #else
36173 typedef unsigned long uintmax_t;
36174 #endif
36178 sed 's/^ *//' >> tmp-stdint.h <<EOF
36180 #endif /* GCC_GENERATED_STDINT_H */
36183 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36184 rm -f tmp-stdint.h
36185 else
36186 mv -f tmp-stdint.h gstdint.h
36190 esac
36191 done
36192 _ACEOF
36194 cat >>$CONFIG_STATUS <<\_ACEOF
36196 { (exit 0); exit 0; }
36197 _ACEOF
36198 chmod +x $CONFIG_STATUS
36199 ac_clean_files=$ac_clean_files_save
36202 # configure is writing to config.log, and then calls config.status.
36203 # config.status does its own redirection, appending to config.log.
36204 # Unfortunately, on DOS this fails, as config.log is still kept open
36205 # by configure, so config.status won't be able to write to it; its
36206 # output is simply discarded. So we exec the FD to /dev/null,
36207 # effectively closing config.log, so it can be properly (re)opened and
36208 # appended to by config.status. When coming back to configure, we
36209 # need to make the FD available again.
36210 if test "$no_create" != yes; then
36211 ac_cs_success=:
36212 ac_config_status_args=
36213 test "$silent" = yes &&
36214 ac_config_status_args="$ac_config_status_args --quiet"
36215 exec 5>/dev/null
36216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36217 exec 5>>config.log
36218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36219 # would make configure fail if this is the last instruction.
36220 $ac_cs_success || { (exit 1); exit 1; }