* config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP,
[official-gcc.git] / libgfortran / configure
blob9091071e0112518e3947ad5ab1262a81445a3a3e
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 SECTION_FLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER IEEE_FLAGS LIBOBJS LTLIBOBJS'
461 ac_subst_files=''
462 ac_pwd=`pwd`
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_FC_set=${FC+set}
911 ac_env_FC_value=$FC
912 ac_cv_env_FC_set=${FC+set}
913 ac_cv_env_FC_value=$FC
914 ac_env_FCFLAGS_set=${FCFLAGS+set}
915 ac_env_FCFLAGS_value=$FCFLAGS
916 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value=$FCFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
929 cat <<_ACEOF
930 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
939 Configuration:
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
950 _ACEOF
952 cat <<_ACEOF
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
955 [$ac_default_prefix]
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
957 [PREFIX]
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
979 _ACEOF
981 cat <<\_ACEOF
983 Program names:
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
988 System types:
989 --build=BUILD configure for building on BUILD [guessed]
990 --host=HOST cross-compile to build programs to run on HOST [BUILD]
991 --target=TARGET configure for building compilers for TARGET [HOST]
992 _ACEOF
995 if test -n "$ac_init_help"; then
996 case $ac_init_help in
997 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
998 esac
999 cat <<\_ACEOF
1001 Optional Features:
1002 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1003 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1004 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1005 --enable-intermodule build the library in one step
1006 --enable-maintainer-mode enable make rules and dependencies not useful
1007 (and sometimes confusing) to the casual installer
1008 --enable-multilib build many library versions (default)
1009 --disable-dependency-tracking speeds up one-time build
1010 --enable-dependency-tracking do not reject slow dependency extractors
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-largefile omit support for large files
1020 Optional Packages:
1021 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1022 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1023 --with-build-libsubdir=DIR Directory where to find libraries for build system
1024 --with-pic try to use only PIC/non-PIC objects [default=use
1025 both]
1026 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1028 Some influential environment variables:
1029 CC C compiler command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1032 nonstandard directory <lib dir>
1033 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1034 headers in a nonstandard directory <include dir>
1035 CPP C preprocessor
1036 FC Fortran compiler command
1037 FCFLAGS Fortran compiler flags
1039 Use these variables to override the choices made by `configure' or to help
1040 it to find libraries and programs with nonstandard names/locations.
1042 _ACEOF
1045 if test "$ac_init_help" = "recursive"; then
1046 # If there are subdirs, report their specific --help.
1047 ac_popdir=`pwd`
1048 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1049 test -d $ac_dir || continue
1050 ac_builddir=.
1052 if test "$ac_dir" != .; then
1053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1054 # A "../" for each directory in $ac_dir_suffix.
1055 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1056 else
1057 ac_dir_suffix= ac_top_builddir=
1060 case $srcdir in
1061 .) # No --srcdir option. We are building in place.
1062 ac_srcdir=.
1063 if test -z "$ac_top_builddir"; then
1064 ac_top_srcdir=.
1065 else
1066 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1067 fi ;;
1068 [\\/]* | ?:[\\/]* ) # Absolute path.
1069 ac_srcdir=$srcdir$ac_dir_suffix;
1070 ac_top_srcdir=$srcdir ;;
1071 *) # Relative path.
1072 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1073 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 esac
1076 # Do not use `cd foo && pwd` to compute absolute paths, because
1077 # the directories may not exist.
1078 case `pwd` in
1079 .) ac_abs_builddir="$ac_dir";;
1081 case "$ac_dir" in
1082 .) ac_abs_builddir=`pwd`;;
1083 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1084 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085 esac;;
1086 esac
1087 case $ac_abs_builddir in
1088 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1090 case ${ac_top_builddir}. in
1091 .) ac_abs_top_builddir=$ac_abs_builddir;;
1092 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1093 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094 esac;;
1095 esac
1096 case $ac_abs_builddir in
1097 .) ac_abs_srcdir=$ac_srcdir;;
1099 case $ac_srcdir in
1100 .) ac_abs_srcdir=$ac_abs_builddir;;
1101 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1102 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103 esac;;
1104 esac
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1108 case $ac_top_srcdir in
1109 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1111 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1112 esac;;
1113 esac
1115 cd $ac_dir
1116 # Check for guested configure; otherwise get Cygnus style configure.
1117 if test -f $ac_srcdir/configure.gnu; then
1118 echo
1119 $SHELL $ac_srcdir/configure.gnu --help=recursive
1120 elif test -f $ac_srcdir/configure; then
1121 echo
1122 $SHELL $ac_srcdir/configure --help=recursive
1123 elif test -f $ac_srcdir/configure.ac ||
1124 test -f $ac_srcdir/configure.in; then
1125 echo
1126 $ac_configure --help
1127 else
1128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 cd $ac_popdir
1131 done
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1136 cat <<\_ACEOF
1137 GNU Fortran Runtime Library configure 0.3
1138 generated by GNU Autoconf 2.59
1140 Copyright (C) 2003 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1143 _ACEOF
1144 exit 0
1146 exec 5>config.log
1147 cat >&5 <<_ACEOF
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1152 generated by GNU Autoconf 2.59. Invocation command line was
1154 $ $0 $@
1156 _ACEOF
1158 cat <<_ASUNAME
1159 ## --------- ##
1160 ## Platform. ##
1161 ## --------- ##
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 _ASUNAME
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1183 for as_dir in $PATH
1185 IFS=$as_save_IFS
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1188 done
1190 } >&5
1192 cat >&5 <<_ACEOF
1195 ## ----------- ##
1196 ## Core tests. ##
1197 ## ----------- ##
1199 _ACEOF
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_configure_args=
1208 ac_configure_args0=
1209 ac_configure_args1=
1210 ac_sep=
1211 ac_must_keep_next=false
1212 for ac_pass in 1 2
1214 for ac_arg
1216 case $ac_arg in
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1220 continue ;;
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 esac
1224 case $ac_pass in
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1230 else
1231 case $ac_arg in
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 esac
1240 -* ) ac_must_keep_next=true ;;
1241 esac
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1245 ac_sep=" "
1247 esac
1248 done
1249 done
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1261 echo
1263 cat <<\_ASBOX
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1267 _ASBOX
1268 echo
1269 # The following way of writing the cache mishandles newlines in values,
1271 (set) 2>&1 |
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 *ac_space=\ *)
1274 sed -n \
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 sed -n \
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1282 esac;
1284 echo
1286 cat <<\_ASBOX
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1290 _ASBOX
1291 echo
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1296 done | sort
1297 echo
1299 if test -n "$ac_subst_files"; then
1300 cat <<\_ASBOX
1301 ## ------------- ##
1302 ## Output files. ##
1303 ## ------------- ##
1304 _ASBOX
1305 echo
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1310 done | sort
1311 echo
1314 if test -s confdefs.h; then
1315 cat <<\_ASBOX
1316 ## ----------- ##
1317 ## confdefs.h. ##
1318 ## ----------- ##
1319 _ASBOX
1320 echo
1321 sed "/^$/d" confdefs.h | sort
1322 echo
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1327 } >&5
1328 rm -f core *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 exit $exit_status
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1334 done
1335 ac_signal=0
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 echo >confdefs.h
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1346 _ACEOF
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1351 _ACEOF
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1356 _ACEOF
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1361 _ACEOF
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1366 _ACEOF
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1374 else
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1383 . "$ac_site_file"
1385 done
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1393 case $cache_file in
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1396 esac
1398 else
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1401 >$cache_file
1404 # Check that the precious variables saved in the cache have kept the same
1405 # value.
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1414 set,)
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1418 ,set)
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1422 ,);;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 # differences in whitespace do not lead to failure.
1426 ac_old_val_w=`echo x $ac_old_val`
1427 ac_new_val_w=`echo x $ac_new_val`
1428 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 ac_cache_corrupted=:
1432 else
1433 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1435 eval $ac_var=\$ac_old_val
1437 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1438 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1439 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1440 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1441 fi;;
1442 esac
1443 # Pass precious variables to config.status.
1444 if test "$ac_new_set" = set; then
1445 case $ac_new_val in
1446 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1448 *) ac_arg=$ac_var=$ac_new_val ;;
1449 esac
1450 case " $ac_configure_args " in
1451 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1452 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453 esac
1455 done
1456 if $ac_cache_corrupted; then
1457 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1466 ac_ext=c
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501 ac_config_headers="$ac_config_headers config.h"
1503 ac_aux_dir=
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505 if test -f $ac_dir/install-sh; then
1506 ac_aux_dir=$ac_dir
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1508 break
1509 elif test -f $ac_dir/install.sh; then
1510 ac_aux_dir=$ac_dir
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1512 break
1513 elif test -f $ac_dir/shtool; then
1514 ac_aux_dir=$ac_dir
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1516 break
1518 done
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539 ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541 ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545 { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1554 build=$ac_cv_build
1555 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1560 case ${build_alias} in
1561 "") build_noncanonical=${build} ;;
1562 *) build_noncanonical=${build_alias} ;;
1563 esac
1565 case ${host_alias} in
1566 "") host_noncanonical=${build_noncanonical} ;;
1567 *) host_noncanonical=${host_alias} ;;
1568 esac
1570 case ${target_alias} in
1571 "") target_noncanonical=${host_noncanonical} ;;
1572 *) target_noncanonical=${target_alias} ;;
1573 esac
1576 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1577 # have matching libraries, they should use host libraries: Makefile.tpl
1578 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1579 # However, they still use the build modules, because the corresponding
1580 # host modules (e.g. bison) are only built for the host when bootstrap
1581 # finishes. So:
1582 # - build_subdir is where we find build modules, and never changes.
1583 # - build_libsubdir is where we find build libraries, and can be overridden.
1585 # Prefix 'build-' so this never conflicts with target_subdir.
1586 build_subdir="build-${build_noncanonical}"
1588 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1589 if test "${with_build_libsubdir+set}" = set; then
1590 withval="$with_build_libsubdir"
1591 build_libsubdir="$withval"
1592 else
1593 build_libsubdir="$build_subdir"
1595 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1596 if ( test $srcdir = . && test -d gcc ) \
1597 || test -d $srcdir/../host-${host_noncanonical}; then
1598 host_subdir="host-${host_noncanonical}"
1599 else
1600 host_subdir=.
1602 # No prefix.
1603 target_subdir=${target_noncanonical}
1606 # -------
1607 # Options
1608 # -------
1610 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1611 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1612 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1613 if test "${enable_version_specific_runtime_libs+set}" = set; then
1614 enableval="$enable_version_specific_runtime_libs"
1615 case "$enableval" in
1616 yes) version_specific_libs=yes ;;
1617 no) version_specific_libs=no ;;
1618 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1619 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1620 { (exit 1); exit 1; }; };;
1621 esac
1622 else
1623 version_specific_libs=no
1625 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1626 echo "${ECHO_T}$version_specific_libs" >&6
1628 # Build with intermodule optimisations
1629 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1630 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1631 # Check whether --enable-intermodule or --disable-intermodule was given.
1632 if test "${enable_intermodule+set}" = set; then
1633 enableval="$enable_intermodule"
1634 case "$enable_intermodule" in
1635 yes) onestep="-onestep";;
1636 *) onestep="";;
1637 esac
1638 else
1639 onestep=""
1641 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1642 echo "${ECHO_T}$enable_intermodule" >&6
1645 if test x$onestep = x-onestep; then
1646 onestep_TRUE=
1647 onestep_FALSE='#'
1648 else
1649 onestep_TRUE='#'
1650 onestep_FALSE=
1655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1657 # You will slowly go insane if you do not grok the following fact: when
1658 # building this library, the top-level /target/ becomes the library's /host/.
1660 # configure then causes --target to default to --host, exactly like any
1661 # other package using autoconf. Therefore, 'target' and 'host' will
1662 # always be the same. This makes sense both for native and cross compilers
1663 # just think about it for a little while. :-)
1665 # Also, if this library is being configured as part of a cross compiler, the
1666 # top-level configure script will pass the "real" host as $with_cross_host.
1668 # Do not delete or change the following two lines. For why, see
1669 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1670 echo "$as_me:$LINENO: checking host system type" >&5
1671 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1672 if test "${ac_cv_host+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 else
1675 ac_cv_host_alias=$host_alias
1676 test -z "$ac_cv_host_alias" &&
1677 ac_cv_host_alias=$ac_cv_build_alias
1678 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1679 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1681 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1685 echo "${ECHO_T}$ac_cv_host" >&6
1686 host=$ac_cv_host
1687 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1692 echo "$as_me:$LINENO: checking target system type" >&5
1693 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1694 if test "${ac_cv_target+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697 ac_cv_target_alias=$target_alias
1698 test "x$ac_cv_target_alias" = "x" &&
1699 ac_cv_target_alias=$ac_cv_host_alias
1700 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1701 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1703 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1707 echo "${ECHO_T}$ac_cv_target" >&6
1708 target=$ac_cv_target
1709 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714 # The aliases save the names the user supplied, while $host etc.
1715 # will get canonicalized.
1716 test -n "$target_alias" &&
1717 test "$program_prefix$program_suffix$program_transform_name" = \
1718 NONENONEs,x,x, &&
1719 program_prefix=${target_alias}-
1720 target_alias=${target_alias-$host_alias}
1722 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1723 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1724 # 1.9.6: minimum required version
1725 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1726 # of other PACKAGE_* variables will, however, and there's nothing
1727 # we can do about that; they come from AC_INIT).
1728 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1729 # file in the top srcdir, etc, etc), so stop complaining.
1730 # -Wall: turns on all automake warnings...
1731 # -Wno-portability: ...except this one, since GNU make is required.
1732 am__api_version="1.9"
1733 # Find a good install program. We prefer a C program (faster),
1734 # so one script is as good as another. But avoid the broken or
1735 # incompatible versions:
1736 # SysV /etc/install, /usr/sbin/install
1737 # SunOS /usr/etc/install
1738 # IRIX /sbin/install
1739 # AIX /bin/install
1740 # AmigaOS /C/install, which installs bootblocks on floppy discs
1741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1744 # OS/2's system install, which has a completely different semantic
1745 # ./install, which can be erroneously created by make from ./install.sh.
1746 # Reject install programs that cannot install multiple files.
1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1749 if test -z "$INSTALL"; then
1750 if test "${ac_cv_path_install+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 else
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1756 IFS=$as_save_IFS
1757 test -z "$as_dir" && as_dir=.
1758 # Account for people who put trailing slashes in PATH elements.
1759 case $as_dir/ in
1760 ./ | .// | /cC/* | \
1761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1763 /usr/ucb/* ) ;;
1765 # OSF1 and SCO ODT 3.0 have their own names for install.
1766 # Don't use installbsd from OSF since it installs stuff as root
1767 # by default.
1768 for ac_prog in ginstall scoinst install; do
1769 for ac_exec_ext in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1771 if test $ac_prog = install &&
1772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1773 # AIX install. It has an incompatible calling convention.
1775 elif test $ac_prog = install &&
1776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1777 # program-specific install script used by HP pwplus--don't use.
1779 else
1780 rm -rf conftest.one conftest.two conftest.dir
1781 echo one > conftest.one
1782 echo two > conftest.two
1783 mkdir conftest.dir
1784 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1785 test -s conftest.one && test -s conftest.two &&
1786 test -s conftest.dir/conftest.one &&
1787 test -s conftest.dir/conftest.two
1788 then
1789 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1790 break 3
1794 done
1795 done
1797 esac
1798 done
1800 rm -rf conftest.one conftest.two conftest.dir
1803 if test "${ac_cv_path_install+set}" = set; then
1804 INSTALL=$ac_cv_path_install
1805 else
1806 # As a last resort, use the slow shell script. Don't cache a
1807 # value for INSTALL within a source directory, because that will
1808 # break other packages using the cache if that directory is
1809 # removed, or if the value is a relative name.
1810 INSTALL=$ac_install_sh
1813 echo "$as_me:$LINENO: result: $INSTALL" >&5
1814 echo "${ECHO_T}$INSTALL" >&6
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1824 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1825 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1826 # Just in case
1827 sleep 1
1828 echo timestamp > conftest.file
1829 # Do `set' in a subshell so we don't clobber the current shell's
1830 # arguments. Must try -L first in case configure is actually a
1831 # symlink; some systems play weird games with the mod time of symlinks
1832 # (eg FreeBSD returns the mod time of the symlink's containing
1833 # directory).
1834 if (
1835 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1836 if test "$*" = "X"; then
1837 # -L didn't work.
1838 set X `ls -t $srcdir/configure conftest.file`
1840 rm -f conftest.file
1841 if test "$*" != "X $srcdir/configure conftest.file" \
1842 && test "$*" != "X conftest.file $srcdir/configure"; then
1844 # If neither matched, then we have a broken ls. This can happen
1845 # if, for instance, CONFIG_SHELL is bash and it inherits a
1846 # broken ls alias from the environment. This has actually
1847 # happened. Such a system could not be considered "sane".
1848 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1849 alias in your environment" >&5
1850 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1851 alias in your environment" >&2;}
1852 { (exit 1); exit 1; }; }
1855 test "$2" = conftest.file
1857 then
1858 # Ok.
1860 else
1861 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1862 Check your system clock" >&5
1863 echo "$as_me: error: newly created file is older than distributed files!
1864 Check your system clock" >&2;}
1865 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1869 test "$program_prefix" != NONE &&
1870 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1871 # Use a double $ so make ignores it.
1872 test "$program_suffix" != NONE &&
1873 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1874 # Double any \ or $. echo might interpret backslashes.
1875 # By default was `s,x,x', remove it if useless.
1876 cat <<\_ACEOF >conftest.sed
1877 s/[\\$]/&&/g;s/;s,x,x,$//
1878 _ACEOF
1879 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1880 rm conftest.sed
1882 # expand $ac_aux_dir to an absolute path
1883 am_aux_dir=`cd $ac_aux_dir && pwd`
1885 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1886 # Use eval to expand $SHELL
1887 if eval "$MISSING --run true"; then
1888 am_missing_run="$MISSING --run "
1889 else
1890 am_missing_run=
1891 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1892 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1895 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1896 # We used to keeping the `.' as first argument, in order to
1897 # allow $(mkdir_p) to be used without argument. As in
1898 # $(mkdir_p) $(somedir)
1899 # where $(somedir) is conditionally defined. However this is wrong
1900 # for two reasons:
1901 # 1. if the package is installed by a user who cannot write `.'
1902 # make install will fail,
1903 # 2. the above comment should most certainly read
1904 # $(mkdir_p) $(DESTDIR)$(somedir)
1905 # so it does not work when $(somedir) is undefined and
1906 # $(DESTDIR) is not.
1907 # To support the latter case, we have to write
1908 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1909 # so the `.' trick is pointless.
1910 mkdir_p='mkdir -p --'
1911 else
1912 # On NextStep and OpenStep, the `mkdir' command does not
1913 # recognize any option. It will interpret all options as
1914 # directories to create, and then abort because `.' already
1915 # exists.
1916 for d in ./-p ./--version;
1918 test -d $d && rmdir $d
1919 done
1920 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1921 if test -f "$ac_aux_dir/mkinstalldirs"; then
1922 mkdir_p='$(mkinstalldirs)'
1923 else
1924 mkdir_p='$(install_sh) -d'
1928 for ac_prog in gawk mawk nawk awk
1930 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy $ac_prog; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937 if test -n "$AWK"; then
1938 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_AWK="$ac_prog"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 break 2
1951 done
1952 done
1956 AWK=$ac_cv_prog_AWK
1957 if test -n "$AWK"; then
1958 echo "$as_me:$LINENO: result: $AWK" >&5
1959 echo "${ECHO_T}$AWK" >&6
1960 else
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1965 test -n "$AWK" && break
1966 done
1968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1970 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974 cat >conftest.make <<\_ACEOF
1975 all:
1976 @echo 'ac_maketemp="$(MAKE)"'
1977 _ACEOF
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1980 if test -n "$ac_maketemp"; then
1981 eval ac_cv_prog_make_${ac_make}_set=yes
1982 else
1983 eval ac_cv_prog_make_${ac_make}_set=no
1985 rm -f conftest.make
1987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1988 echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1990 SET_MAKE=
1991 else
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994 SET_MAKE="MAKE=${MAKE-make}"
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2000 am__leading_dot=.
2001 else
2002 am__leading_dot=_
2004 rmdir .tst 2>/dev/null
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011 { (exit 1); exit 1; }; }
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016 if (cygpath --version) >/dev/null 2>/dev/null; then
2017 CYGPATH_W='cygpath -w'
2018 else
2019 CYGPATH_W=echo
2024 # Define the identity of the package.
2025 PACKAGE='libgfortran'
2026 VERSION='0.3'
2029 # Some tools Automake needs.
2031 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2034 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2037 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2040 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2043 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2045 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2047 # Installed binaries are usually stripped using `strip' when the user
2048 # run `make install-strip'. However `strip' might not be the right
2049 # tool to use in cross-compilation environments, therefore Automake
2050 # will honor the `STRIP' environment variable to overrule this program.
2051 if test "$cross_compiling" != no; then
2052 if test -n "$ac_tool_prefix"; then
2053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}strip; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_STRIP+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 else
2060 if test -n "$STRIP"; then
2061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2062 else
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 break 2
2074 done
2075 done
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6
2083 else
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$ac_cv_prog_STRIP"; then
2090 ac_ct_STRIP=$STRIP
2091 # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_ac_ct_STRIP="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2112 done
2113 done
2115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6
2122 else
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2127 STRIP=$ac_ct_STRIP
2128 else
2129 STRIP="$ac_cv_prog_STRIP"
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2135 # We need awk for the "check" target. The system "awk" is bad on
2136 # some platforms.
2137 # Always define AMTAR for backward compatibility.
2139 AMTAR=${AMTAR-"${am_missing_run}tar"}
2141 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2148 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2149 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2150 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2151 if test "${enable_maintainer_mode+set}" = set; then
2152 enableval="$enable_maintainer_mode"
2153 USE_MAINTAINER_MODE=$enableval
2154 else
2155 USE_MAINTAINER_MODE=no
2157 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2158 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2161 if test $USE_MAINTAINER_MODE = yes; then
2162 MAINTAINER_MODE_TRUE=
2163 MAINTAINER_MODE_FALSE='#'
2164 else
2165 MAINTAINER_MODE_TRUE='#'
2166 MAINTAINER_MODE_FALSE=
2169 MAINT=$MAINTAINER_MODE_TRUE
2172 # Default to --enable-multilib
2173 # Check whether --enable-multilib or --disable-multilib was given.
2174 if test "${enable_multilib+set}" = set; then
2175 enableval="$enable_multilib"
2176 case "$enableval" in
2177 yes) multilib=yes ;;
2178 no) multilib=no ;;
2179 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2180 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2181 { (exit 1); exit 1; }; } ;;
2182 esac
2183 else
2184 multilib=yes
2187 # We may get other options which we leave undocumented:
2188 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2189 # See config-ml.in if you want the gory details.
2191 if test "$srcdir" = "."; then
2192 if test "$with_target_subdir" != "."; then
2193 multi_basedir="$srcdir/$with_multisrctop../.."
2194 else
2195 multi_basedir="$srcdir/$with_multisrctop.."
2197 else
2198 multi_basedir="$srcdir/.."
2202 # Even if the default multilib is not a cross compilation,
2203 # it may be that some of the other multilibs are.
2204 if test $cross_compiling = no && test $multilib = yes \
2205 && test "x${with_multisubdir}" != x ; then
2206 cross_compiling=maybe
2209 ac_config_commands="$ac_config_commands default-1"
2212 # Handy for debugging:
2213 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2215 # Are we being configured with some form of cross compiler?
2216 # NB: We don't actually need to know this just now, but when, say, a test
2217 # suite is included, we'll have to know.
2218 if test "$build" != "$host"; then
2219 LIBGFOR_IS_NATIVE=false
2221 else
2222 LIBGFOR_IS_NATIVE=true
2225 # Calculate toolexeclibdir
2226 # Also toolexecdir, though it's only used in toolexeclibdir
2227 case ${version_specific_libs} in
2228 yes)
2229 # Need the gcc compiler version to know where to install libraries
2230 # and header files if --enable-version-specific-runtime-libs option
2231 # is selected.
2232 toolexecdir='$(libdir)/gcc/$(target_alias)'
2233 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2236 if test -n "$with_cross_host" &&
2237 test x"$with_cross_host" != x"no"; then
2238 # Install a library built with a cross compiler in tooldir, not libdir.
2239 toolexecdir='$(exec_prefix)/$(target_alias)'
2240 toolexeclibdir='$(toolexecdir)/lib'
2241 else
2242 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2243 toolexeclibdir='$(libdir)'
2245 multi_os_directory=`$CC -print-multi-os-directory`
2246 case $multi_os_directory in
2247 .) ;; # Avoid trailing /.
2248 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2249 esac
2251 esac
2255 # Check the compiler.
2256 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2257 # We must force CC to /not/ be precious variables; otherwise
2258 # the wrong, non-multilib-adjusted value will be used in multilibs.
2259 # As a side effect, we have to subst CFLAGS ourselves.
2263 ac_ext=c
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC="$CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 break 2
2290 done
2291 done
2295 CC=$ac_cv_prog_CC
2296 if test -n "$CC"; then
2297 echo "$as_me:$LINENO: result: $CC" >&5
2298 echo "${ECHO_T}$CC" >&6
2299 else
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2305 if test -z "$ac_cv_prog_CC"; then
2306 ac_ct_CC=$CC
2307 # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 else
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 for as_dir in $PATH
2320 IFS=$as_save_IFS
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_CC="gcc"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 break 2
2328 done
2329 done
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2337 else
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2342 CC=$ac_ct_CC
2343 else
2344 CC="$ac_cv_prog_CC"
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC="${ac_tool_prefix}cc"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2370 done
2371 done
2375 CC=$ac_cv_prog_CC
2376 if test -n "$CC"; then
2377 echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2385 if test -z "$ac_cv_prog_CC"; then
2386 ac_ct_CC=$CC
2387 # Extract the first word of "cc", so it can be a program name with args.
2388 set dummy cc; ac_word=$2
2389 echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394 if test -n "$ac_ct_CC"; then
2395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2400 IFS=$as_save_IFS
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404 ac_cv_prog_ac_ct_CC="cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2
2408 done
2409 done
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6
2417 else
2418 echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2422 CC=$ac_ct_CC
2423 else
2424 CC="$ac_cv_prog_CC"
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439 ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected=yes
2449 continue
2451 ac_cv_prog_CC="cc"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 break 2
2455 done
2456 done
2458 if test $ac_prog_rejected = yes; then
2459 # We found a bogon in the path, so make sure we never use it.
2460 set dummy $ac_cv_prog_CC
2461 shift
2462 if test $# != 0; then
2463 # We chose a different compiler from the bogus one.
2464 # However, it has the same basename, so the bogon will be chosen
2465 # first if we set CC to just the basename; use the full file name.
2466 shift
2467 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2472 CC=$ac_cv_prog_CC
2473 if test -n "$CC"; then
2474 echo "$as_me:$LINENO: result: $CC" >&5
2475 echo "${ECHO_T}$CC" >&6
2476 else
2477 echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog in cl
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2499 IFS=$as_save_IFS
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2507 done
2508 done
2512 CC=$ac_cv_prog_CC
2513 if test -n "$CC"; then
2514 echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6
2516 else
2517 echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2521 test -n "$CC" && break
2522 done
2524 if test -z "$CC"; then
2525 ac_ct_CC=$CC
2526 for ac_prog in cl
2528 # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy $ac_prog; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535 if test -n "$ac_ct_CC"; then
2536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2541 IFS=$as_save_IFS
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_ac_ct_CC="$ac_prog"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 break 2
2549 done
2550 done
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2563 test -n "$ac_ct_CC" && break
2564 done
2566 CC=$ac_ct_CC
2572 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }; }
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO:" \
2582 "checking for C compiler version" >&5
2583 ac_compiler=`set X $ac_compile; echo $2`
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2585 (eval $ac_compiler --version </dev/null >&5) 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2590 (eval $ac_compiler -v </dev/null >&5) 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2595 (eval $ac_compiler -V </dev/null >&5) 2>&5
2596 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }
2600 cat >conftest.$ac_ext <<_ACEOF
2601 /* confdefs.h. */
2602 _ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2608 main ()
2612 return 0;
2614 _ACEOF
2615 # FIXME: Cleanup?
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>&5
2618 ac_status=$?
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; then
2621 gcc_no_link=no
2622 else
2623 gcc_no_link=yes
2626 if test x$gcc_no_link = xyes; then
2627 # Setting cross_compile will disable run tests; it will
2628 # also disable AC_CHECK_FILE but that's generally
2629 # correct if we can't link.
2630 cross_compiling=yes
2631 EXEEXT=
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2645 return 0;
2647 _ACEOF
2648 ac_clean_files_save=$ac_clean_files
2649 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2650 # Try to create an executable without -o first, disregard a.out.
2651 # It will help us diagnose broken compilers, and finding out an intuition
2652 # of exeext.
2653 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2654 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2655 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2657 (eval $ac_link_default) 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Find the output, starting from the most likely. This scheme is
2662 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2663 # resort.
2665 # Be careful to initialize this variable, since it used to be cached.
2666 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2667 ac_cv_exeext=
2668 # b.out is created by i960 compilers.
2669 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2671 test -f "$ac_file" || continue
2672 case $ac_file in
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2675 conftest.$ac_ext )
2676 # This is the source file.
2678 [ab].out )
2679 # We found the default executable, but exeext='' is most
2680 # certainly right.
2681 break;;
2682 *.* )
2683 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684 # FIXME: I believe we export ac_cv_exeext for Libtool,
2685 # but it would be cool to find out if it's true. Does anybody
2686 # maintain Libtool? --akim.
2687 export ac_cv_exeext
2688 break;;
2690 break;;
2691 esac
2692 done
2693 else
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2697 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2700 See \`config.log' for more details." >&5
2701 echo "$as_me: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&2;}
2703 { (exit 77); exit 77; }; }; }
2706 ac_exeext=$ac_cv_exeext
2707 echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6
2710 # Check the compiler produces executables we can run. If not, either
2711 # the compiler is broken, or we cross compile.
2712 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717 if { ac_try='./$ac_file'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2723 cross_compiling=no
2724 else
2725 if test "$cross_compiling" = maybe; then
2726 cross_compiling=yes
2727 else
2728 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2731 If you meant to cross compile, use \`--host'.
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot run C compiled programs.
2734 If you meant to cross compile, use \`--host'.
2735 See \`config.log' for more details." >&2;}
2736 { (exit 1); exit 1; }; }; }
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2743 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2744 ac_clean_files=$ac_clean_files_save
2745 # Check the compiler produces executables we can run. If not, either
2746 # the compiler is broken, or we cross compile.
2747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2750 echo "${ECHO_T}$cross_compiling" >&6
2752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755 (eval $ac_link) 2>&5
2756 ac_status=$?
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; then
2759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2762 # `rm'.
2763 for ac_file in conftest.exe conftest conftest.*; do
2764 test -f "$ac_file" || continue
2765 case $ac_file in
2766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2767 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2768 export ac_cv_exeext
2769 break;;
2770 * ) break;;
2771 esac
2772 done
2773 else
2774 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2775 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }; }
2783 rm -f conftest$ac_cv_exeext
2784 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 echo "${ECHO_T}$ac_cv_exeext" >&6
2787 rm -f conftest.$ac_ext
2788 EXEEXT=$ac_cv_exeext
2789 ac_exeext=$EXEEXT
2791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2793 if test "${ac_cv_objext+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 else
2796 cat >conftest.$ac_ext <<_ACEOF
2797 /* confdefs.h. */
2798 _ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2804 main ()
2808 return 0;
2810 _ACEOF
2811 rm -f conftest.o conftest.obj
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; then
2817 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2818 case $ac_file in
2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821 break;;
2822 esac
2823 done
2824 else
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&5
2832 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833 See \`config.log' for more details." >&2;}
2834 { (exit 1); exit 1; }; }; }
2837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2839 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840 echo "${ECHO_T}$ac_cv_objext" >&6
2841 OBJEXT=$ac_cv_objext
2842 ac_objext=$OBJEXT
2843 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 cat >conftest.$ac_ext <<_ACEOF
2849 /* confdefs.h. */
2850 _ACEOF
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2856 main ()
2858 #ifndef __GNUC__
2859 choke me
2860 #endif
2863 return 0;
2865 _ACEOF
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2869 ac_status=$?
2870 grep -v '^ *+' conftest.er1 >conftest.err
2871 rm -f conftest.er1
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try='test -z "$ac_c_werror_flag"
2876 || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 (eval $ac_try) 2>&5
2879 ac_status=$?
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2888 ac_compiler_gnu=yes
2889 else
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 ac_compiler_gnu=no
2895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2899 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2900 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2901 GCC=`test $ac_compiler_gnu = yes && echo yes`
2902 ac_test_CFLAGS=${CFLAGS+set}
2903 ac_save_CFLAGS=$CFLAGS
2904 CFLAGS="-g"
2905 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2906 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2907 if test "${ac_cv_prog_cc_g+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 else
2910 cat >conftest.$ac_ext <<_ACEOF
2911 /* confdefs.h. */
2912 _ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2918 main ()
2922 return 0;
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 ac_cv_prog_cc_g=yes
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 ac_cv_prog_cc_g=no
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2958 if test "$ac_test_CFLAGS" = set; then
2959 CFLAGS=$ac_save_CFLAGS
2960 elif test $ac_cv_prog_cc_g = yes; then
2961 if test "$GCC" = yes; then
2962 CFLAGS="-g -O2"
2963 else
2964 CFLAGS="-g"
2966 else
2967 if test "$GCC" = yes; then
2968 CFLAGS="-O2"
2969 else
2970 CFLAGS=
2973 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2974 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978 ac_cv_prog_cc_stdc=no
2979 ac_save_CC=$CC
2980 cat >conftest.$ac_ext <<_ACEOF
2981 /* confdefs.h. */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <stdarg.h>
2987 #include <stdio.h>
2988 #include <sys/types.h>
2989 #include <sys/stat.h>
2990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2991 struct buf { int x; };
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2993 static char *e (p, i)
2994 char **p;
2995 int i;
2997 return p[i];
2999 static char *f (char * (*g) (char **, int), char **p, ...)
3001 char *s;
3002 va_list v;
3003 va_start (v,p);
3004 s = g (p, va_arg (v,int));
3005 va_end (v);
3006 return s;
3009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3010 function prototypes and stuff, but not '\xHH' hex character constants.
3011 These don't provoke an error unfortunately, instead are silently treated
3012 as 'x'. The following induces an error, until -std1 is added to get
3013 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3014 array size at least. It's necessary to write '\x00'==0 to get something
3015 that's true only with -std1. */
3016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3018 int test (int i, double x);
3019 struct s1 {int (*f) (int a);};
3020 struct s2 {int (*f) (double a);};
3021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3022 int argc;
3023 char **argv;
3025 main ()
3027 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3029 return 0;
3031 _ACEOF
3032 # Don't try gcc -ansi; that turns off useful extensions and
3033 # breaks some systems' header files.
3034 # AIX -qlanglvl=ansi
3035 # Ultrix and OSF/1 -std1
3036 # HP-UX 10.20 and later -Ae
3037 # HP-UX older versions -Aa -D_HPUX_SOURCE
3038 # SVR4 -Xc -D__EXTENSIONS__
3039 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3041 CC="$ac_save_CC $ac_arg"
3042 rm -f conftest.$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044 (eval $ac_compile) 2>conftest.er1
3045 ac_status=$?
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_c_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 (eval $ac_try) 2>&5
3055 ac_status=$?
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 (eval $ac_try) 2>&5
3061 ac_status=$?
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_prog_cc_stdc=$ac_arg
3065 break
3066 else
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3071 rm -f conftest.err conftest.$ac_objext
3072 done
3073 rm -f conftest.$ac_ext conftest.$ac_objext
3074 CC=$ac_save_CC
3078 case "x$ac_cv_prog_cc_stdc" in
3079 x|xno)
3080 echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085 CC="$CC $ac_cv_prog_cc_stdc" ;;
3086 esac
3088 # Some people use a C++ compiler to compile C. Since we use `exit',
3089 # in C++ we need to declare it. In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.$ac_ext <<_ACEOF
3093 #ifndef __cplusplus
3094 choke me
3095 #endif
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try='test -z "$ac_c_werror_flag"
3107 || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 (eval $ac_try) 2>&5
3110 ac_status=$?
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 (eval $ac_try) 2>&5
3116 ac_status=$?
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 for ac_declaration in \
3120 '' \
3121 'extern "C" void std::exit (int) throw (); using std::exit;' \
3122 'extern "C" void std::exit (int); using std::exit;' \
3123 'extern "C" void exit (int) throw ();' \
3124 'extern "C" void exit (int);' \
3125 'void exit (int);'
3127 cat >conftest.$ac_ext <<_ACEOF
3128 /* confdefs.h. */
3129 _ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3133 $ac_declaration
3134 #include <stdlib.h>
3136 main ()
3138 exit (42);
3140 return 0;
3142 _ACEOF
3143 rm -f conftest.$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>conftest.er1
3146 ac_status=$?
3147 grep -v '^ *+' conftest.er1 >conftest.err
3148 rm -f conftest.er1
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try='test -z "$ac_c_werror_flag"
3153 || test ! -s conftest.err'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 (eval $ac_try) 2>&5
3156 ac_status=$?
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; } &&
3159 { ac_try='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 (eval $ac_try) 2>&5
3162 ac_status=$?
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3166 else
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3170 continue
3172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3179 $ac_declaration
3181 main ()
3183 exit (42);
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3191 ac_status=$?
3192 grep -v '^ *+' conftest.er1 >conftest.err
3193 rm -f conftest.er1
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_c_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 (eval $ac_try) 2>&5
3201 ac_status=$?
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 (eval $ac_try) 2>&5
3207 ac_status=$?
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3210 break
3211 else
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3217 done
3218 rm -f conftest*
3219 if test -n "$ac_declaration"; then
3220 echo '#ifdef __cplusplus' >>confdefs.h
3221 echo $ac_declaration >>confdefs.h
3222 echo '#endif' >>confdefs.h
3225 else
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_ext=c
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3238 ac_config_commands="$ac_config_commands depfiles"
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3243 am__doit:
3244 @echo done
3245 .PHONY: am__doit
3247 # If we don't find an include directive, just comment out the code.
3248 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3249 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3250 am__include="#"
3251 am__quote=
3252 _am_result=none
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # We grep out `Entering directory' and `Leaving directory'
3256 # messages which can occur if `w' ends up in MAKEFLAGS.
3257 # In particular we don't look at `^make:' because GNU make might
3258 # be invoked under some other name (usually "gmake"), in which
3259 # case it prints its new name instead of `make'.
3260 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3261 am__include=include
3262 am__quote=
3263 _am_result=GNU
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267 echo '.include "confinc"' > confmf
3268 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3269 am__include=.include
3270 am__quote="\""
3271 _am_result=BSD
3276 echo "$as_me:$LINENO: result: $_am_result" >&5
3277 echo "${ECHO_T}$_am_result" >&6
3278 rm -f confinc confmf
3280 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282 enableval="$enable_dependency_tracking"
3285 if test "x$enable_dependency_tracking" != xno; then
3286 am_depcomp="$ac_aux_dir/depcomp"
3287 AMDEPBACKSLASH='\'
3291 if test "x$enable_dependency_tracking" != xno; then
3292 AMDEP_TRUE=
3293 AMDEP_FALSE='#'
3294 else
3295 AMDEP_TRUE='#'
3296 AMDEP_FALSE=
3302 depcc="$CC" am_compiler_list=
3304 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3306 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 else
3309 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310 # We make a subdir and do the tests there. Otherwise we can end up
3311 # making bogus files that we don't know about and never remove. For
3312 # instance it was reported that on HP-UX the gcc test will end up
3313 # making a dummy file named `D' -- because `-MD' means `put the output
3314 # in D'.
3315 mkdir conftest.dir
3316 # Copy depcomp to subdir because otherwise we won't find it if we're
3317 # using a relative directory.
3318 cp "$am_depcomp" conftest.dir
3319 cd conftest.dir
3320 # We will build objects and dependencies in a subdirectory because
3321 # it helps to detect inapplicable dependency modes. For instance
3322 # both Tru64's cc and ICC support -MD to output dependencies as a
3323 # side effect of compilation, but ICC will put the dependencies in
3324 # the current directory while Tru64 will put them in the object
3325 # directory.
3326 mkdir sub
3328 am_cv_CC_dependencies_compiler_type=none
3329 if test "$am_compiler_list" = ""; then
3330 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3332 for depmode in $am_compiler_list; do
3333 # Setup a source with many dependencies, because some compilers
3334 # like to wrap large dependency lists on column 80 (with \), and
3335 # we should not choose a depcomp mode which is confused by this.
3337 # We need to recreate these files for each test, as the compiler may
3338 # overwrite some of them when testing with obscure command lines.
3339 # This happens at least with the AIX C compiler.
3340 : > sub/conftest.c
3341 for i in 1 2 3 4 5 6; do
3342 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344 # Solaris 8's {/usr,}/bin/sh.
3345 touch sub/conftst$i.h
3346 done
3347 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3349 case $depmode in
3350 nosideeffect)
3351 # after this tag, mechanisms are not by side-effect, so they'll
3352 # only be used when explicitly requested
3353 if test "x$enable_dependency_tracking" = xyes; then
3354 continue
3355 else
3356 break
3359 none) break ;;
3360 esac
3361 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362 # mode. It turns out that the SunPro C++ compiler does not properly
3363 # handle `-M -o', and we need to detect this.
3364 if depmode=$depmode \
3365 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3366 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3367 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3368 >/dev/null 2>conftest.err &&
3369 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3370 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3371 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3372 # icc doesn't choke on unknown options, it will just issue warnings
3373 # or remarks (even with -Werror). So we grep stderr for any message
3374 # that says an option was ignored or not supported.
3375 # When given -MP, icc 7.0 and 7.1 complain thusly:
3376 # icc: Command line warning: ignoring option '-M'; no argument required
3377 # The diagnosis changed in icc 8.0:
3378 # icc: Command line remark: option '-MP' not supported
3379 if (grep 'ignoring option' conftest.err ||
3380 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3381 am_cv_CC_dependencies_compiler_type=$depmode
3382 break
3385 done
3387 cd ..
3388 rm -rf conftest.dir
3389 else
3390 am_cv_CC_dependencies_compiler_type=none
3394 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3395 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3396 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3401 test "x$enable_dependency_tracking" != xno \
3402 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3403 am__fastdepCC_TRUE=
3404 am__fastdepCC_FALSE='#'
3405 else
3406 am__fastdepCC_TRUE='#'
3407 am__fastdepCC_FALSE=
3413 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3414 if test "x$GCC" = "xyes"; then
3415 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3416 ## We like to use C99 routines when available. This makes sure that
3417 ## __STDC_VERSION__ is set such that libc includes make them available.
3418 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3419 ## Compile the following tests with the same system header contents
3420 ## that we'll encounter when compiling our own source files.
3421 CFLAGS="-std=gnu99 $CFLAGS"
3427 # Check for symbol versioning (copied from libssp).
3428 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3429 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3430 cat > conftest.map <<EOF
3431 FOO_1.0 {
3432 global: *foo*; bar; local: *;
3435 save_LDFLAGS="$LDFLAGS"
3436 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3438 if test x$gcc_no_link = xyes; then
3439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3441 { (exit 1); exit 1; }; }
3443 cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h. */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3449 int foo;
3451 main ()
3455 return 0;
3457 _ACEOF
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>conftest.er1
3461 ac_status=$?
3462 grep -v '^ *+' conftest.er1 >conftest.err
3463 rm -f conftest.er1
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 (eval $ac_try) 2>&5
3471 ac_status=$?
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 (eval $ac_try) 2>&5
3477 ac_status=$?
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 gfortran_use_symver=yes
3481 else
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 gfortran_use_symver=no
3487 rm -f conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3489 LDFLAGS="$save_LDFLAGS"
3490 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3491 echo "${ECHO_T}$gfortran_use_symver" >&6
3494 if test "x$gfortran_use_symver" = xyes; then
3495 LIBGFOR_USE_SYMVER_TRUE=
3496 LIBGFOR_USE_SYMVER_FALSE='#'
3497 else
3498 LIBGFOR_USE_SYMVER_TRUE='#'
3499 LIBGFOR_USE_SYMVER_FALSE=
3503 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
3504 # similarly to how libstdc++ does it
3505 ac_test_CFLAGS="${CFLAGS+set}"
3506 ac_save_CFLAGS="$CFLAGS"
3508 # Check for -ffunction-sections -fdata-sections
3509 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
3510 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
3511 CFLAGS='-Werror -ffunction-sections -fdata-sections'
3512 cat >conftest.$ac_ext <<_ACEOF
3513 /* confdefs.h. */
3514 _ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3520 main ()
3522 int foo;
3524 return 0;
3526 _ACEOF
3527 rm -f conftest.$ac_objext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3529 (eval $ac_compile) 2>conftest.er1
3530 ac_status=$?
3531 grep -v '^ *+' conftest.er1 >conftest.err
3532 rm -f conftest.er1
3533 cat conftest.err >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 (eval $ac_try) 2>&5
3540 ac_status=$?
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 (eval $ac_try) 2>&5
3546 ac_status=$?
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_fdsections=yes
3550 else
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 ac_fdsections=no
3556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3557 if test "$ac_test_CFLAGS" = set; then
3558 CFLAGS="$ac_save_CFLAGS"
3559 else
3560 # this is the suspicious part
3561 CFLAGS=""
3563 if test x"$ac_fdsections" = x"yes"; then
3564 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3566 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
3567 echo "${ECHO_T}$ac_fdsections" >&6
3570 # Find other programs we need.
3571 if test -n "$ac_tool_prefix"; then
3572 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3573 set dummy ${ac_tool_prefix}as; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_AS+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579 if test -n "$AS"; then
3580 ac_cv_prog_AS="$AS" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3585 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_AS="${ac_tool_prefix}as"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 break 2
3593 done
3594 done
3598 AS=$ac_cv_prog_AS
3599 if test -n "$AS"; then
3600 echo "$as_me:$LINENO: result: $AS" >&5
3601 echo "${ECHO_T}$AS" >&6
3602 else
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3608 if test -z "$ac_cv_prog_AS"; then
3609 ac_ct_AS=$AS
3610 # Extract the first word of "as", so it can be a program name with args.
3611 set dummy as; ac_word=$2
3612 echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3614 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else
3617 if test -n "$ac_ct_AS"; then
3618 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_AS="as"
3628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3636 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3637 if test -n "$ac_ct_AS"; then
3638 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3639 echo "${ECHO_T}$ac_ct_AS" >&6
3640 else
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3645 AS=$ac_ct_AS
3646 else
3647 AS="$ac_cv_prog_AS"
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}ar; ac_word=$2
3653 echo "$as_me:$LINENO: checking for $ac_word" >&5
3654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3655 if test "${ac_cv_prog_AR+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 else
3658 if test -n "$AR"; then
3659 ac_cv_prog_AR="$AR" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_AR="${ac_tool_prefix}ar"
3669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3677 AR=$ac_cv_prog_AR
3678 if test -n "$AR"; then
3679 echo "$as_me:$LINENO: result: $AR" >&5
3680 echo "${ECHO_T}$AR" >&6
3681 else
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3687 if test -z "$ac_cv_prog_AR"; then
3688 ac_ct_AR=$AR
3689 # Extract the first word of "ar", so it can be a program name with args.
3690 set dummy ar; ac_word=$2
3691 echo "$as_me:$LINENO: checking for $ac_word" >&5
3692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 else
3696 if test -n "$ac_ct_AR"; then
3697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3698 else
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3702 IFS=$as_save_IFS
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_ac_ct_AR="ar"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3710 done
3711 done
3715 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3716 if test -n "$ac_ct_AR"; then
3717 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3718 echo "${ECHO_T}$ac_ct_AR" >&6
3719 else
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3724 AR=$ac_ct_AR
3725 else
3726 AR="$ac_cv_prog_AR"
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3732 echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3734 if test "${ac_cv_prog_RANLIB+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 else
3737 if test -n "$RANLIB"; then
3738 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 break 2
3751 done
3752 done
3756 RANLIB=$ac_cv_prog_RANLIB
3757 if test -n "$RANLIB"; then
3758 echo "$as_me:$LINENO: result: $RANLIB" >&5
3759 echo "${ECHO_T}$RANLIB" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3766 if test -z "$ac_cv_prog_RANLIB"; then
3767 ac_ct_RANLIB=$RANLIB
3768 # Extract the first word of "ranlib", so it can be a program name with args.
3769 set dummy ranlib; ac_word=$2
3770 echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 else
3775 if test -n "$ac_ct_RANLIB"; then
3776 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_RANLIB="ranlib"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3792 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3795 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3796 if test -n "$ac_ct_RANLIB"; then
3797 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3798 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3804 RANLIB=$ac_ct_RANLIB
3805 else
3806 RANLIB="$ac_cv_prog_RANLIB"
3809 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3810 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3811 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3812 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 else
3815 cat >conftest.make <<\_ACEOF
3816 all:
3817 @echo 'ac_maketemp="$(MAKE)"'
3818 _ACEOF
3819 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3820 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3821 if test -n "$ac_maketemp"; then
3822 eval ac_cv_prog_make_${ac_make}_set=yes
3823 else
3824 eval ac_cv_prog_make_${ac_make}_set=no
3826 rm -f conftest.make
3828 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3829 echo "$as_me:$LINENO: result: yes" >&5
3830 echo "${ECHO_T}yes" >&6
3831 SET_MAKE=
3832 else
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 SET_MAKE="MAKE=${MAKE-make}"
3838 # Find a good install program. We prefer a C program (faster),
3839 # so one script is as good as another. But avoid the broken or
3840 # incompatible versions:
3841 # SysV /etc/install, /usr/sbin/install
3842 # SunOS /usr/etc/install
3843 # IRIX /sbin/install
3844 # AIX /bin/install
3845 # AmigaOS /C/install, which installs bootblocks on floppy discs
3846 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3847 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3848 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3849 # OS/2's system install, which has a completely different semantic
3850 # ./install, which can be erroneously created by make from ./install.sh.
3851 # Reject install programs that cannot install multiple files.
3852 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3853 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3854 if test -z "$INSTALL"; then
3855 if test "${ac_cv_path_install+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3861 IFS=$as_save_IFS
3862 test -z "$as_dir" && as_dir=.
3863 # Account for people who put trailing slashes in PATH elements.
3864 case $as_dir/ in
3865 ./ | .// | /cC/* | \
3866 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3867 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3868 /usr/ucb/* ) ;;
3870 # OSF1 and SCO ODT 3.0 have their own names for install.
3871 # Don't use installbsd from OSF since it installs stuff as root
3872 # by default.
3873 for ac_prog in ginstall scoinst install; do
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3876 if test $ac_prog = install &&
3877 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3878 # AIX install. It has an incompatible calling convention.
3880 elif test $ac_prog = install &&
3881 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3882 # program-specific install script used by HP pwplus--don't use.
3884 else
3885 rm -rf conftest.one conftest.two conftest.dir
3886 echo one > conftest.one
3887 echo two > conftest.two
3888 mkdir conftest.dir
3889 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3890 test -s conftest.one && test -s conftest.two &&
3891 test -s conftest.dir/conftest.one &&
3892 test -s conftest.dir/conftest.two
3893 then
3894 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3895 break 3
3899 done
3900 done
3902 esac
3903 done
3905 rm -rf conftest.one conftest.two conftest.dir
3908 if test "${ac_cv_path_install+set}" = set; then
3909 INSTALL=$ac_cv_path_install
3910 else
3911 # As a last resort, use the slow shell script. Don't cache a
3912 # value for INSTALL within a source directory, because that will
3913 # break other packages using the cache if that directory is
3914 # removed, or if the value is a relative name.
3915 INSTALL=$ac_install_sh
3918 echo "$as_me:$LINENO: result: $INSTALL" >&5
3919 echo "${ECHO_T}$INSTALL" >&6
3921 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3922 # It thinks the first close brace ends the variable substitution.
3923 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3925 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3927 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3930 # Configure libtool
3931 #AC_MSG_NOTICE([====== Starting libtool configuration])
3932 enable_dlopen=yes
3936 case `pwd` in
3937 *\ * | *\ *)
3938 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3939 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3940 esac
3944 macro_version='2.2.6'
3945 macro_revision='1.3012'
3959 ltmain="$ac_aux_dir/ltmain.sh"
3961 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3962 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3963 if test "${lt_cv_path_SED+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 else
3966 # Loop through the user's path and test for sed and gsed.
3967 # Then use that list of sed's as ones to test for truncation.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 for as_dir in $PATH
3971 IFS=$as_save_IFS
3972 test -z "$as_dir" && as_dir=.
3973 for lt_ac_prog in sed gsed; do
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3976 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3978 done
3979 done
3980 done
3981 IFS=$as_save_IFS
3982 lt_ac_max=0
3983 lt_ac_count=0
3984 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3985 # along with /bin/sed that truncates output.
3986 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3987 test ! -f $lt_ac_sed && continue
3988 cat /dev/null > conftest.in
3989 lt_ac_count=0
3990 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3991 # Check for GNU sed and select it if it is found.
3992 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3993 lt_cv_path_SED=$lt_ac_sed
3994 break
3996 while true; do
3997 cat conftest.in conftest.in >conftest.tmp
3998 mv conftest.tmp conftest.in
3999 cp conftest.in conftest.nl
4000 echo >>conftest.nl
4001 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4002 cmp -s conftest.out conftest.nl || break
4003 # 10000 chars as input seems more than enough
4004 test $lt_ac_count -gt 10 && break
4005 lt_ac_count=`expr $lt_ac_count + 1`
4006 if test $lt_ac_count -gt $lt_ac_max; then
4007 lt_ac_max=$lt_ac_count
4008 lt_cv_path_SED=$lt_ac_sed
4010 done
4011 done
4015 SED=$lt_cv_path_SED
4017 echo "$as_me:$LINENO: result: $SED" >&5
4018 echo "${ECHO_T}$SED" >&6
4020 test -z "$SED" && SED=sed
4021 Xsed="$SED -e 1s/^X//"
4033 echo "$as_me:$LINENO: checking for egrep" >&5
4034 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4035 if test "${ac_cv_prog_egrep+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 else
4038 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4039 then ac_cv_prog_egrep='grep -E'
4040 else ac_cv_prog_egrep='egrep'
4043 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4044 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4045 EGREP=$ac_cv_prog_egrep
4048 echo "$as_me:$LINENO: checking for fgrep" >&5
4049 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4050 if test "${ac_cv_prog_fgrep+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 else
4053 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4054 then ac_cv_prog_fgrep='grep -F'
4055 else ac_cv_prog_fgrep='fgrep'
4058 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4059 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4060 FGREP=$ac_cv_prog_fgrep
4063 test -z "$GREP" && GREP=grep
4083 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4084 if test "${with_gnu_ld+set}" = set; then
4085 withval="$with_gnu_ld"
4086 test "$withval" = no || with_gnu_ld=yes
4087 else
4088 with_gnu_ld=no
4090 ac_prog=ld
4091 if test "$GCC" = yes; then
4092 # Check if gcc -print-prog-name=ld gives a path.
4093 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4094 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4095 case $host in
4096 *-*-mingw*)
4097 # gcc leaves a trailing carriage return which upsets mingw
4098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4101 esac
4102 case $ac_prog in
4103 # Accept absolute paths.
4104 [\\/]* | ?:[\\/]*)
4105 re_direlt='/[^/][^/]*/\.\./'
4106 # Canonicalize the pathname of ld
4107 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4109 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4110 done
4111 test -z "$LD" && LD="$ac_prog"
4114 # If it fails, then pretend we aren't using GCC.
4115 ac_prog=ld
4118 # If it is relative, then search for the first ld in PATH.
4119 with_gnu_ld=unknown
4121 esac
4122 elif test "$with_gnu_ld" = yes; then
4123 echo "$as_me:$LINENO: checking for GNU ld" >&5
4124 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4125 else
4126 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4127 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4129 if test "${lt_cv_path_LD+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 else
4132 if test -z "$LD"; then
4133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4134 for ac_dir in $PATH; do
4135 IFS="$lt_save_ifs"
4136 test -z "$ac_dir" && ac_dir=.
4137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4138 lt_cv_path_LD="$ac_dir/$ac_prog"
4139 # Check to see if the program is GNU ld. I'd rather use --version,
4140 # but apparently some variants of GNU ld only accept -v.
4141 # Break only if it was the GNU/non-GNU ld that we prefer.
4142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4143 *GNU* | *'with BFD'*)
4144 test "$with_gnu_ld" != no && break
4147 test "$with_gnu_ld" != yes && break
4149 esac
4151 done
4152 IFS="$lt_save_ifs"
4153 else
4154 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4158 LD="$lt_cv_path_LD"
4159 if test -n "$LD"; then
4160 echo "$as_me:$LINENO: result: $LD" >&5
4161 echo "${ECHO_T}$LD" >&6
4162 else
4163 echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6
4166 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4167 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4168 { (exit 1); exit 1; }; }
4169 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4170 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4171 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 else
4174 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4175 case `$LD -v 2>&1 </dev/null` in
4176 *GNU* | *'with BFD'*)
4177 lt_cv_prog_gnu_ld=yes
4180 lt_cv_prog_gnu_ld=no
4182 esac
4184 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4185 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4186 with_gnu_ld=$lt_cv_prog_gnu_ld
4196 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4197 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4198 if test "${lt_cv_path_NM+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201 if test -n "$NM"; then
4202 # Let the user override the test.
4203 lt_cv_path_NM="$NM"
4204 else
4205 lt_nm_to_check="${ac_tool_prefix}nm"
4206 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4207 lt_nm_to_check="$lt_nm_to_check nm"
4209 for lt_tmp_nm in $lt_nm_to_check; do
4210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4211 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4212 IFS="$lt_save_ifs"
4213 test -z "$ac_dir" && ac_dir=.
4214 tmp_nm="$ac_dir/$lt_tmp_nm"
4215 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4216 # Check to see if the nm accepts a BSD-compat flag.
4217 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4218 # nm: unknown option "B" ignored
4219 # Tru64's nm complains that /dev/null is an invalid object file
4220 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4221 */dev/null* | *'Invalid file or object type'*)
4222 lt_cv_path_NM="$tmp_nm -B"
4223 break
4226 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4227 */dev/null*)
4228 lt_cv_path_NM="$tmp_nm -p"
4229 break
4232 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4233 continue # so that we can try to find one that supports BSD flags
4235 esac
4237 esac
4239 done
4240 IFS="$lt_save_ifs"
4241 done
4242 : ${lt_cv_path_NM=no}
4245 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4246 echo "${ECHO_T}$lt_cv_path_NM" >&6
4247 if test "$lt_cv_path_NM" != "no"; then
4248 NM="$lt_cv_path_NM"
4249 else
4250 # Didn't find any BSD compatible name lister, look for dumpbin.
4251 if test -n "$ac_tool_prefix"; then
4252 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4256 echo "$as_me:$LINENO: checking for $ac_word" >&5
4257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4258 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 else
4261 if test -n "$DUMPBIN"; then
4262 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4263 else
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH
4267 IFS=$as_save_IFS
4268 test -z "$as_dir" && as_dir=.
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 break 2
4275 done
4276 done
4280 DUMPBIN=$ac_cv_prog_DUMPBIN
4281 if test -n "$DUMPBIN"; then
4282 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4283 echo "${ECHO_T}$DUMPBIN" >&6
4284 else
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4289 test -n "$DUMPBIN" && break
4290 done
4292 if test -z "$DUMPBIN"; then
4293 ac_ct_DUMPBIN=$DUMPBIN
4294 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4296 # Extract the first word of "$ac_prog", so it can be a program name with args.
4297 set dummy $ac_prog; ac_word=$2
4298 echo "$as_me:$LINENO: checking for $ac_word" >&5
4299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4300 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 else
4303 if test -n "$ac_ct_DUMPBIN"; then
4304 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4305 else
4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307 for as_dir in $PATH
4309 IFS=$as_save_IFS
4310 test -z "$as_dir" && as_dir=.
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 break 2
4317 done
4318 done
4322 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4323 if test -n "$ac_ct_DUMPBIN"; then
4324 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4325 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4326 else
4327 echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6
4331 test -n "$ac_ct_DUMPBIN" && break
4332 done
4333 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4335 DUMPBIN=$ac_ct_DUMPBIN
4339 if test "$DUMPBIN" != ":"; then
4340 NM="$DUMPBIN"
4343 test -z "$NM" && NM=nm
4350 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4351 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4352 if test "${lt_cv_nm_interface+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 lt_cv_nm_interface="BSD nm"
4356 echo "int some_variable = 0;" > conftest.$ac_ext
4357 (eval echo "\"\$as_me:4357: $ac_compile\"" >&5)
4358 (eval "$ac_compile" 2>conftest.err)
4359 cat conftest.err >&5
4360 (eval echo "\"\$as_me:4360: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4361 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4362 cat conftest.err >&5
4363 (eval echo "\"\$as_me:4363: output\"" >&5)
4364 cat conftest.out >&5
4365 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4366 lt_cv_nm_interface="MS dumpbin"
4368 rm -f conftest*
4370 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4371 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4375 LN_S=$as_ln_s
4376 if test "$LN_S" = "ln -s"; then
4377 echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6
4379 else
4380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4381 echo "${ECHO_T}no, using $LN_S" >&6
4384 # find the maximum length of command line arguments
4385 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4386 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4387 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4391 teststring="ABCD"
4393 case $build_os in
4394 msdosdjgpp*)
4395 # On DJGPP, this test can blow up pretty badly due to problems in libc
4396 # (any single argument exceeding 2000 bytes causes a buffer overrun
4397 # during glob expansion). Even if it were fixed, the result of this
4398 # check would be larger than it should be.
4399 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4402 gnu*)
4403 # Under GNU Hurd, this test is not required because there is
4404 # no limit to the length of command line arguments.
4405 # Libtool will interpret -1 as no limit whatsoever
4406 lt_cv_sys_max_cmd_len=-1;
4409 cygwin* | mingw* | cegcc*)
4410 # On Win9x/ME, this test blows up -- it succeeds, but takes
4411 # about 5 minutes as the teststring grows exponentially.
4412 # Worse, since 9x/ME are not pre-emptively multitasking,
4413 # you end up with a "frozen" computer, even though with patience
4414 # the test eventually succeeds (with a max line length of 256k).
4415 # Instead, let's just punt: use the minimum linelength reported by
4416 # all of the supported platforms: 8192 (on NT/2K/XP).
4417 lt_cv_sys_max_cmd_len=8192;
4420 amigaos*)
4421 # On AmigaOS with pdksh, this test takes hours, literally.
4422 # So we just punt and use a minimum line length of 8192.
4423 lt_cv_sys_max_cmd_len=8192;
4426 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4427 # This has been around since 386BSD, at least. Likely further.
4428 if test -x /sbin/sysctl; then
4429 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4430 elif test -x /usr/sbin/sysctl; then
4431 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4432 else
4433 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4435 # And add a safety zone
4436 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4437 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4440 interix*)
4441 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4442 lt_cv_sys_max_cmd_len=196608
4445 osf*)
4446 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4447 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4448 # nice to cause kernel panics so lets avoid the loop below.
4449 # First set a reasonable default.
4450 lt_cv_sys_max_cmd_len=16384
4452 if test -x /sbin/sysconfig; then
4453 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4454 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4455 esac
4458 sco3.2v5*)
4459 lt_cv_sys_max_cmd_len=102400
4461 sysv5* | sco5v6* | sysv4.2uw2*)
4462 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4463 if test -n "$kargmax"; then
4464 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4465 else
4466 lt_cv_sys_max_cmd_len=32768
4470 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4471 if test -n "$lt_cv_sys_max_cmd_len"; then
4472 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4473 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4474 else
4475 # Make teststring a little bigger before we do anything with it.
4476 # a 1K string should be a reasonable start.
4477 for i in 1 2 3 4 5 6 7 8 ; do
4478 teststring=$teststring$teststring
4479 done
4480 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4481 # If test is not a shell built-in, we'll probably end up computing a
4482 # maximum length that is only half of the actual maximum length, but
4483 # we can't tell.
4484 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4485 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4486 test $i != 17 # 1/2 MB should be enough
4488 i=`expr $i + 1`
4489 teststring=$teststring$teststring
4490 done
4491 # Only check the string length outside the loop.
4492 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4493 teststring=
4494 # Add a significant safety factor because C++ compilers can tack on
4495 # massive amounts of additional arguments before passing them to the
4496 # linker. It appears as though 1/2 is a usable value.
4497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4500 esac
4504 if test -n $lt_cv_sys_max_cmd_len ; then
4505 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4506 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4507 else
4508 echo "$as_me:$LINENO: result: none" >&5
4509 echo "${ECHO_T}none" >&6
4511 max_cmd_len=$lt_cv_sys_max_cmd_len
4518 : ${CP="cp -f"}
4519 : ${MV="mv -f"}
4520 : ${RM="rm -f"}
4522 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4523 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4524 # Try some XSI features
4525 xsi_shell=no
4526 ( _lt_dummy="a/b/c"
4527 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4528 = c,a/b,, \
4529 && eval 'test $(( 1 + 1 )) -eq 2 \
4530 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4531 && xsi_shell=yes
4532 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4533 echo "${ECHO_T}$xsi_shell" >&6
4536 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4537 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4538 lt_shell_append=no
4539 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4540 >/dev/null 2>&1 \
4541 && lt_shell_append=yes
4542 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4543 echo "${ECHO_T}$lt_shell_append" >&6
4546 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4547 lt_unset=unset
4548 else
4549 lt_unset=false
4556 # test EBCDIC or ASCII
4557 case `echo X|tr X '\101'` in
4558 A) # ASCII based system
4559 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4560 lt_SP2NL='tr \040 \012'
4561 lt_NL2SP='tr \015\012 \040\040'
4563 *) # EBCDIC based system
4564 lt_SP2NL='tr \100 \n'
4565 lt_NL2SP='tr \r\n \100\100'
4567 esac
4577 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4578 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4579 if test "${lt_cv_ld_reload_flag+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 else
4582 lt_cv_ld_reload_flag='-r'
4584 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4585 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4586 reload_flag=$lt_cv_ld_reload_flag
4587 case $reload_flag in
4588 "" | " "*) ;;
4589 *) reload_flag=" $reload_flag" ;;
4590 esac
4591 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4592 case $host_os in
4593 darwin*)
4594 if test "$GCC" = yes; then
4595 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4596 else
4597 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4600 esac
4610 if test -n "$ac_tool_prefix"; then
4611 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4612 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4613 echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4615 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 if test -n "$OBJDUMP"; then
4619 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4620 else
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH
4624 IFS=$as_save_IFS
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 break 2
4632 done
4633 done
4637 OBJDUMP=$ac_cv_prog_OBJDUMP
4638 if test -n "$OBJDUMP"; then
4639 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4640 echo "${ECHO_T}$OBJDUMP" >&6
4641 else
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4647 if test -z "$ac_cv_prog_OBJDUMP"; then
4648 ac_ct_OBJDUMP=$OBJDUMP
4649 # Extract the first word of "objdump", so it can be a program name with args.
4650 set dummy objdump; ac_word=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 else
4656 if test -n "$ac_ct_OBJDUMP"; then
4657 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4673 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4676 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4677 if test -n "$ac_ct_OBJDUMP"; then
4678 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4679 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4680 else
4681 echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6
4685 OBJDUMP=$ac_ct_OBJDUMP
4686 else
4687 OBJDUMP="$ac_cv_prog_OBJDUMP"
4690 test -z "$OBJDUMP" && OBJDUMP=objdump
4700 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4701 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4702 if test "${lt_cv_deplibs_check_method+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 else
4705 lt_cv_file_magic_cmd='$MAGIC_CMD'
4706 lt_cv_file_magic_test_file=
4707 lt_cv_deplibs_check_method='unknown'
4708 # Need to set the preceding variable on all platforms that support
4709 # interlibrary dependencies.
4710 # 'none' -- dependencies not supported.
4711 # `unknown' -- same as none, but documents that we really don't know.
4712 # 'pass_all' -- all dependencies passed with no checks.
4713 # 'test_compile' -- check by making test program.
4714 # 'file_magic [[regex]]' -- check by looking for files in library path
4715 # which responds to the $file_magic_cmd with a given extended regex.
4716 # If you have `file' or equivalent on your system and you're not sure
4717 # whether `pass_all' will *always* work, you probably want this one.
4719 case $host_os in
4720 aix[4-9]*)
4721 lt_cv_deplibs_check_method=pass_all
4724 beos*)
4725 lt_cv_deplibs_check_method=pass_all
4728 bsdi[45]*)
4729 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4730 lt_cv_file_magic_cmd='/usr/bin/file -L'
4731 lt_cv_file_magic_test_file=/shlib/libc.so
4734 cygwin*)
4735 # func_win32_libid is a shell function defined in ltmain.sh
4736 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4737 lt_cv_file_magic_cmd='func_win32_libid'
4740 mingw* | pw32*)
4741 # Base MSYS/MinGW do not provide the 'file' command needed by
4742 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4743 # unless we find 'file', for example because we are cross-compiling.
4744 if ( file / ) >/dev/null 2>&1; then
4745 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4746 lt_cv_file_magic_cmd='func_win32_libid'
4747 else
4748 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4749 lt_cv_file_magic_cmd='$OBJDUMP -f'
4753 cegcc)
4754 # use the weaker test based on 'objdump'. See mingw*.
4755 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4756 lt_cv_file_magic_cmd='$OBJDUMP -f'
4759 darwin* | rhapsody*)
4760 lt_cv_deplibs_check_method=pass_all
4763 freebsd* | dragonfly*)
4764 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4765 case $host_cpu in
4766 i*86 )
4767 # Not sure whether the presence of OpenBSD here was a mistake.
4768 # Let's accept both of them until this is cleared up.
4769 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4770 lt_cv_file_magic_cmd=/usr/bin/file
4771 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4773 esac
4774 else
4775 lt_cv_deplibs_check_method=pass_all
4779 gnu*)
4780 lt_cv_deplibs_check_method=pass_all
4783 hpux10.20* | hpux11*)
4784 lt_cv_file_magic_cmd=/usr/bin/file
4785 case $host_cpu in
4786 ia64*)
4787 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4788 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4790 hppa*64*)
4791 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]'
4792 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4795 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4796 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4798 esac
4801 interix[3-9]*)
4802 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4803 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4806 irix5* | irix6* | nonstopux*)
4807 case $LD in
4808 *-32|*"-32 ") libmagic=32-bit;;
4809 *-n32|*"-n32 ") libmagic=N32;;
4810 *-64|*"-64 ") libmagic=64-bit;;
4811 *) libmagic=never-match;;
4812 esac
4813 lt_cv_deplibs_check_method=pass_all
4816 # This must be Linux ELF.
4817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4818 lt_cv_deplibs_check_method=pass_all
4821 netbsd*)
4822 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4824 else
4825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4829 newos6*)
4830 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4831 lt_cv_file_magic_cmd=/usr/bin/file
4832 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4835 *nto* | *qnx*)
4836 lt_cv_deplibs_check_method=pass_all
4839 openbsd*)
4840 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4841 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4842 else
4843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4847 osf3* | osf4* | osf5*)
4848 lt_cv_deplibs_check_method=pass_all
4851 rdos*)
4852 lt_cv_deplibs_check_method=pass_all
4855 solaris*)
4856 lt_cv_deplibs_check_method=pass_all
4859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4860 lt_cv_deplibs_check_method=pass_all
4863 sysv4 | sysv4.3*)
4864 case $host_vendor in
4865 motorola)
4866 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]'
4867 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4869 ncr)
4870 lt_cv_deplibs_check_method=pass_all
4872 sequent)
4873 lt_cv_file_magic_cmd='/bin/file'
4874 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4876 sni)
4877 lt_cv_file_magic_cmd='/bin/file'
4878 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4879 lt_cv_file_magic_test_file=/lib/libc.so
4881 siemens)
4882 lt_cv_deplibs_check_method=pass_all
4885 lt_cv_deplibs_check_method=pass_all
4887 esac
4890 tpf*)
4891 lt_cv_deplibs_check_method=pass_all
4893 esac
4896 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4897 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4898 file_magic_cmd=$lt_cv_file_magic_cmd
4899 deplibs_check_method=$lt_cv_deplibs_check_method
4900 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4915 set dummy ${ac_tool_prefix}ar; ac_word=$2
4916 echo "$as_me:$LINENO: checking for $ac_word" >&5
4917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4918 if test "${ac_cv_prog_AR+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 else
4921 if test -n "$AR"; then
4922 ac_cv_prog_AR="$AR" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_AR="${ac_tool_prefix}ar"
4932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4940 AR=$ac_cv_prog_AR
4941 if test -n "$AR"; then
4942 echo "$as_me:$LINENO: result: $AR" >&5
4943 echo "${ECHO_T}$AR" >&6
4944 else
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6
4950 if test -z "$ac_cv_prog_AR"; then
4951 ac_ct_AR=$AR
4952 # Extract the first word of "ar", so it can be a program name with args.
4953 set dummy ar; ac_word=$2
4954 echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959 if test -n "$ac_ct_AR"; then
4960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_AR="ar"
4970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4976 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4980 if test -n "$ac_ct_AR"; then
4981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4982 echo "${ECHO_T}$ac_ct_AR" >&6
4983 else
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4988 AR=$ac_ct_AR
4989 else
4990 AR="$ac_cv_prog_AR"
4993 test -z "$AR" && AR=ar
4994 test -z "$AR_FLAGS" && AR_FLAGS=cru
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}strip; ac_word=$2
5009 echo "$as_me:$LINENO: checking for $ac_word" >&5
5010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5011 if test "${ac_cv_prog_STRIP+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 else
5014 if test -n "$STRIP"; then
5015 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5016 else
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 break 2
5028 done
5029 done
5033 STRIP=$ac_cv_prog_STRIP
5034 if test -n "$STRIP"; then
5035 echo "$as_me:$LINENO: result: $STRIP" >&5
5036 echo "${ECHO_T}$STRIP" >&6
5037 else
5038 echo "$as_me:$LINENO: result: no" >&5
5039 echo "${ECHO_T}no" >&6
5043 if test -z "$ac_cv_prog_STRIP"; then
5044 ac_ct_STRIP=$STRIP
5045 # Extract the first word of "strip", so it can be a program name with args.
5046 set dummy strip; ac_word=$2
5047 echo "$as_me:$LINENO: checking for $ac_word" >&5
5048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5051 else
5052 if test -n "$ac_ct_STRIP"; then
5053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5054 else
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH
5058 IFS=$as_save_IFS
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5062 ac_cv_prog_ac_ct_STRIP="strip"
5063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 break 2
5066 done
5067 done
5069 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5073 if test -n "$ac_ct_STRIP"; then
5074 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5075 echo "${ECHO_T}$ac_ct_STRIP" >&6
5076 else
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5081 STRIP=$ac_ct_STRIP
5082 else
5083 STRIP="$ac_cv_prog_STRIP"
5086 test -z "$STRIP" && STRIP=:
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5096 echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5098 if test "${ac_cv_prog_RANLIB+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 else
5101 if test -n "$RANLIB"; then
5102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5120 RANLIB=$ac_cv_prog_RANLIB
5121 if test -n "$RANLIB"; then
5122 echo "$as_me:$LINENO: result: $RANLIB" >&5
5123 echo "${ECHO_T}$RANLIB" >&6
5124 else
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5130 if test -z "$ac_cv_prog_RANLIB"; then
5131 ac_ct_RANLIB=$RANLIB
5132 # Extract the first word of "ranlib", so it can be a program name with args.
5133 set dummy ranlib; ac_word=$2
5134 echo "$as_me:$LINENO: checking for $ac_word" >&5
5135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5136 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 else
5139 if test -n "$ac_ct_RANLIB"; then
5140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_ac_ct_RANLIB="ranlib"
5150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5156 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5159 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5160 if test -n "$ac_ct_RANLIB"; then
5161 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5162 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5168 RANLIB=$ac_ct_RANLIB
5169 else
5170 RANLIB="$ac_cv_prog_RANLIB"
5173 test -z "$RANLIB" && RANLIB=:
5180 # Determine commands to create old-style static archives.
5181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5182 old_postinstall_cmds='chmod 644 $oldlib'
5183 old_postuninstall_cmds=
5185 if test -n "$RANLIB"; then
5186 case $host_os in
5187 openbsd*)
5188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5193 esac
5194 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5230 # If no C compiler was specified, use CC.
5231 LTCC=${LTCC-"$CC"}
5233 # If no C compiler flags were specified, use CFLAGS.
5234 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5236 # Allow CC to be a program name with arguments.
5237 compiler=$CC
5240 # Check for command to grab the raw symbol name followed by C symbol from nm.
5241 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5242 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5243 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5247 # These are sane defaults that work on at least a few old systems.
5248 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5250 # Character class describing NM global symbol codes.
5251 symcode='[BCDEGRST]'
5253 # Regexp to match symbols that can be accessed directly from C.
5254 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5256 # Define system-specific variables.
5257 case $host_os in
5258 aix*)
5259 symcode='[BCDT]'
5261 cygwin* | mingw* | pw32* | cegcc*)
5262 symcode='[ABCDGISTW]'
5264 hpux*)
5265 if test "$host_cpu" = ia64; then
5266 symcode='[ABCDEGRST]'
5269 irix* | nonstopux*)
5270 symcode='[BCDEGRST]'
5272 osf*)
5273 symcode='[BCDEGQRST]'
5275 solaris*)
5276 symcode='[BDRT]'
5278 sco3.2v5*)
5279 symcode='[DT]'
5281 sysv4.2uw2*)
5282 symcode='[DT]'
5284 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5285 symcode='[ABDT]'
5287 sysv4)
5288 symcode='[DFNSTU]'
5290 esac
5292 # If we're using GNU nm, then use its standard symbol codes.
5293 case `$NM -V 2>&1` in
5294 *GNU* | *'with BFD'*)
5295 symcode='[ABCDGIRSTW]' ;;
5296 esac
5298 # Transform an extracted symbol line into a proper C declaration.
5299 # Some systems (esp. on ia64) link data and code symbols differently,
5300 # so use this general approach.
5301 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5303 # Transform an extracted symbol line into symbol name and symbol address
5304 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5305 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5307 # Handle CRLF in mingw tool chain
5308 opt_cr=
5309 case $build_os in
5310 mingw*)
5311 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5313 esac
5315 # Try without a prefix underscore, then with it.
5316 for ac_symprfx in "" "_"; do
5318 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5319 symxfrm="\\1 $ac_symprfx\\2 \\2"
5321 # Write the raw and C identifiers.
5322 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5323 # Fake it for dumpbin and say T for any non-static function
5324 # and D for any global variable.
5325 # Also find C++ and __fastcall symbols from MSVC++,
5326 # which start with @ or ?.
5327 lt_cv_sys_global_symbol_pipe="$AWK '"\
5328 " {last_section=section; section=\$ 3};"\
5329 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5330 " \$ 0!~/External *\|/{next};"\
5331 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5332 " {if(hide[section]) next};"\
5333 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5334 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5335 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5336 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5337 " ' prfx=^$ac_symprfx"
5338 else
5339 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5342 # Check to see that the pipe works correctly.
5343 pipe_works=no
5345 rm -f conftest*
5346 cat > conftest.$ac_ext <<_LT_EOF
5347 #ifdef __cplusplus
5348 extern "C" {
5349 #endif
5350 char nm_test_var;
5351 void nm_test_func(void);
5352 void nm_test_func(void){}
5353 #ifdef __cplusplus
5355 #endif
5356 int main(){nm_test_var='a';nm_test_func();return(0);}
5357 _LT_EOF
5359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5360 (eval $ac_compile) 2>&5
5361 ac_status=$?
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; then
5364 # Now try to grab the symbols.
5365 nlist=conftest.nm
5366 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5367 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5368 ac_status=$?
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } && test -s "$nlist"; then
5371 # Try sorting and uniquifying the output.
5372 if sort "$nlist" | uniq > "$nlist"T; then
5373 mv -f "$nlist"T "$nlist"
5374 else
5375 rm -f "$nlist"T
5378 # Make sure that we snagged all the symbols we need.
5379 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5380 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5381 cat <<_LT_EOF > conftest.$ac_ext
5382 #ifdef __cplusplus
5383 extern "C" {
5384 #endif
5386 _LT_EOF
5387 # Now generate the symbol file.
5388 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5390 cat <<_LT_EOF >> conftest.$ac_ext
5392 /* The mapping between symbol names and symbols. */
5393 const struct {
5394 const char *name;
5395 void *address;
5397 lt__PROGRAM__LTX_preloaded_symbols[] =
5399 { "@PROGRAM@", (void *) 0 },
5400 _LT_EOF
5401 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5402 cat <<\_LT_EOF >> conftest.$ac_ext
5403 {0, (void *) 0}
5406 /* This works around a problem in FreeBSD linker */
5407 #ifdef FREEBSD_WORKAROUND
5408 static const void *lt_preloaded_setup() {
5409 return lt__PROGRAM__LTX_preloaded_symbols;
5411 #endif
5413 #ifdef __cplusplus
5415 #endif
5416 _LT_EOF
5417 # Now try linking the two files.
5418 mv conftest.$ac_objext conftstm.$ac_objext
5419 lt_save_LIBS="$LIBS"
5420 lt_save_CFLAGS="$CFLAGS"
5421 LIBS="conftstm.$ac_objext"
5422 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424 (eval $ac_link) 2>&5
5425 ac_status=$?
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5428 pipe_works=yes
5430 LIBS="$lt_save_LIBS"
5431 CFLAGS="$lt_save_CFLAGS"
5432 else
5433 echo "cannot find nm_test_func in $nlist" >&5
5435 else
5436 echo "cannot find nm_test_var in $nlist" >&5
5438 else
5439 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5441 else
5442 echo "$progname: failed program was:" >&5
5443 cat conftest.$ac_ext >&5
5445 rm -rf conftest* conftst*
5447 # Do not use the global_symbol_pipe unless it works.
5448 if test "$pipe_works" = yes; then
5449 break
5450 else
5451 lt_cv_sys_global_symbol_pipe=
5453 done
5457 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5458 lt_cv_sys_global_symbol_to_cdecl=
5460 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5461 echo "$as_me:$LINENO: result: failed" >&5
5462 echo "${ECHO_T}failed" >&6
5463 else
5464 echo "$as_me:$LINENO: result: ok" >&5
5465 echo "${ECHO_T}ok" >&6
5489 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5490 if test "${enable_libtool_lock+set}" = set; then
5491 enableval="$enable_libtool_lock"
5494 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5496 # Some flags need to be propagated to the compiler or linker for good
5497 # libtool support.
5498 case $host in
5499 ia64-*-hpux*)
5500 # Find out which ABI we are using.
5501 echo 'int i;' > conftest.$ac_ext
5502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503 (eval $ac_compile) 2>&5
5504 ac_status=$?
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; then
5507 case `/usr/bin/file conftest.$ac_objext` in
5508 *ELF-32*)
5509 HPUX_IA64_MODE="32"
5511 *ELF-64*)
5512 HPUX_IA64_MODE="64"
5514 esac
5516 rm -rf conftest*
5518 *-*-irix6*)
5519 # Find out which ABI we are using.
5520 echo '#line 5520 "configure"' > conftest.$ac_ext
5521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5522 (eval $ac_compile) 2>&5
5523 ac_status=$?
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; then
5526 if test "$lt_cv_prog_gnu_ld" = yes; then
5527 case `/usr/bin/file conftest.$ac_objext` in
5528 *32-bit*)
5529 LD="${LD-ld} -melf32bsmip"
5531 *N32*)
5532 LD="${LD-ld} -melf32bmipn32"
5534 *64-bit*)
5535 LD="${LD-ld} -melf64bmip"
5537 esac
5538 else
5539 case `/usr/bin/file conftest.$ac_objext` in
5540 *32-bit*)
5541 LD="${LD-ld} -32"
5543 *N32*)
5544 LD="${LD-ld} -n32"
5546 *64-bit*)
5547 LD="${LD-ld} -64"
5549 esac
5552 rm -rf conftest*
5555 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5556 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5557 # Find out which ABI we are using.
5558 echo 'int i;' > conftest.$ac_ext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5561 ac_status=$?
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; then
5564 case `/usr/bin/file conftest.o` in
5565 *32-bit*)
5566 case $host in
5567 x86_64-*kfreebsd*-gnu)
5568 LD="${LD-ld} -m elf_i386_fbsd"
5570 x86_64-*linux*)
5571 LD="${LD-ld} -m elf_i386"
5573 ppc64-*linux*|powerpc64-*linux*)
5574 LD="${LD-ld} -m elf32ppclinux"
5576 s390x-*linux*)
5577 LD="${LD-ld} -m elf_s390"
5579 sparc64-*linux*)
5580 LD="${LD-ld} -m elf32_sparc"
5582 esac
5584 *64-bit*)
5585 case $host in
5586 x86_64-*kfreebsd*-gnu)
5587 LD="${LD-ld} -m elf_x86_64_fbsd"
5589 x86_64-*linux*)
5590 LD="${LD-ld} -m elf_x86_64"
5592 ppc*-*linux*|powerpc*-*linux*)
5593 LD="${LD-ld} -m elf64ppc"
5595 s390*-*linux*|s390*-*tpf*)
5596 LD="${LD-ld} -m elf64_s390"
5598 sparc*-*linux*)
5599 LD="${LD-ld} -m elf64_sparc"
5601 esac
5603 esac
5605 rm -rf conftest*
5608 *-*-sco3.2v5*)
5609 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5610 SAVE_CFLAGS="$CFLAGS"
5611 CFLAGS="$CFLAGS -belf"
5612 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5613 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5614 if test "${lt_cv_cc_needs_belf+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 else
5617 ac_ext=c
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5623 if test x$gcc_no_link = xyes; then
5624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5626 { (exit 1); exit 1; }; }
5628 cat >conftest.$ac_ext <<_ACEOF
5629 /* confdefs.h. */
5630 _ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5636 main ()
5640 return 0;
5642 _ACEOF
5643 rm -f conftest.$ac_objext conftest$ac_exeext
5644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5645 (eval $ac_link) 2>conftest.er1
5646 ac_status=$?
5647 grep -v '^ *+' conftest.er1 >conftest.err
5648 rm -f conftest.er1
5649 cat conftest.err >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } &&
5652 { ac_try='test -z "$ac_c_werror_flag"
5653 || test ! -s conftest.err'
5654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 (eval $ac_try) 2>&5
5656 ac_status=$?
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try='test -s conftest$ac_exeext'
5660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 (eval $ac_try) 2>&5
5662 ac_status=$?
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; }; then
5665 lt_cv_cc_needs_belf=yes
5666 else
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 lt_cv_cc_needs_belf=no
5672 rm -f conftest.err conftest.$ac_objext \
5673 conftest$ac_exeext conftest.$ac_ext
5674 ac_ext=c
5675 ac_cpp='$CPP $CPPFLAGS'
5676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5681 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5682 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5683 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5684 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5685 CFLAGS="$SAVE_CFLAGS"
5688 sparc*-*solaris*)
5689 # Find out which ABI we are using.
5690 echo 'int i;' > conftest.$ac_ext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>&5
5693 ac_status=$?
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; then
5696 case `/usr/bin/file conftest.o` in
5697 *64-bit*)
5698 case $lt_cv_prog_gnu_ld in
5699 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5701 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5702 LD="${LD-ld} -64"
5705 esac
5707 esac
5709 rm -rf conftest*
5711 esac
5713 need_locks="$enable_libtool_lock"
5716 case $host_os in
5717 rhapsody* | darwin*)
5718 if test -n "$ac_tool_prefix"; then
5719 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5721 echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5723 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 else
5726 if test -n "$DSYMUTIL"; then
5727 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5745 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5746 if test -n "$DSYMUTIL"; then
5747 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5748 echo "${ECHO_T}$DSYMUTIL" >&6
5749 else
5750 echo "$as_me:$LINENO: result: no" >&5
5751 echo "${ECHO_T}no" >&6
5755 if test -z "$ac_cv_prog_DSYMUTIL"; then
5756 ac_ct_DSYMUTIL=$DSYMUTIL
5757 # Extract the first word of "dsymutil", so it can be a program name with args.
5758 set dummy dsymutil; ac_word=$2
5759 echo "$as_me:$LINENO: checking for $ac_word" >&5
5760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5761 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 else
5764 if test -n "$ac_ct_DSYMUTIL"; then
5765 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5770 IFS=$as_save_IFS
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 break 2
5778 done
5779 done
5781 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5784 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5785 if test -n "$ac_ct_DSYMUTIL"; then
5786 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5787 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5788 else
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 DSYMUTIL=$ac_ct_DSYMUTIL
5794 else
5795 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5801 echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5803 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 if test -n "$NMEDIT"; then
5807 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5820 done
5821 done
5825 NMEDIT=$ac_cv_prog_NMEDIT
5826 if test -n "$NMEDIT"; then
5827 echo "$as_me:$LINENO: result: $NMEDIT" >&5
5828 echo "${ECHO_T}$NMEDIT" >&6
5829 else
5830 echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6
5835 if test -z "$ac_cv_prog_NMEDIT"; then
5836 ac_ct_NMEDIT=$NMEDIT
5837 # Extract the first word of "nmedit", so it can be a program name with args.
5838 set dummy nmedit; ac_word=$2
5839 echo "$as_me:$LINENO: checking for $ac_word" >&5
5840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5841 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 else
5844 if test -n "$ac_ct_NMEDIT"; then
5845 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5861 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5864 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5865 if test -n "$ac_ct_NMEDIT"; then
5866 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5867 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5868 else
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5873 NMEDIT=$ac_ct_NMEDIT
5874 else
5875 NMEDIT="$ac_cv_prog_NMEDIT"
5878 if test -n "$ac_tool_prefix"; then
5879 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5880 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5881 echo "$as_me:$LINENO: checking for $ac_word" >&5
5882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5883 if test "${ac_cv_prog_LIPO+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 else
5886 if test -n "$LIPO"; then
5887 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5888 else
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 break 2
5900 done
5901 done
5905 LIPO=$ac_cv_prog_LIPO
5906 if test -n "$LIPO"; then
5907 echo "$as_me:$LINENO: result: $LIPO" >&5
5908 echo "${ECHO_T}$LIPO" >&6
5909 else
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5915 if test -z "$ac_cv_prog_LIPO"; then
5916 ac_ct_LIPO=$LIPO
5917 # Extract the first word of "lipo", so it can be a program name with args.
5918 set dummy lipo; ac_word=$2
5919 echo "$as_me:$LINENO: checking for $ac_word" >&5
5920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5921 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 else
5924 if test -n "$ac_ct_LIPO"; then
5925 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_ac_ct_LIPO="lipo"
5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 break 2
5938 done
5939 done
5941 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5944 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5945 if test -n "$ac_ct_LIPO"; then
5946 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5947 echo "${ECHO_T}$ac_ct_LIPO" >&6
5948 else
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5953 LIPO=$ac_ct_LIPO
5954 else
5955 LIPO="$ac_cv_prog_LIPO"
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}otool; ac_word=$2
5961 echo "$as_me:$LINENO: checking for $ac_word" >&5
5962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5963 if test "${ac_cv_prog_OTOOL+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 else
5966 if test -n "$OTOOL"; then
5967 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 break 2
5980 done
5981 done
5985 OTOOL=$ac_cv_prog_OTOOL
5986 if test -n "$OTOOL"; then
5987 echo "$as_me:$LINENO: result: $OTOOL" >&5
5988 echo "${ECHO_T}$OTOOL" >&6
5989 else
5990 echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6
5995 if test -z "$ac_cv_prog_OTOOL"; then
5996 ac_ct_OTOOL=$OTOOL
5997 # Extract the first word of "otool", so it can be a program name with args.
5998 set dummy otool; ac_word=$2
5999 echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6001 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 else
6004 if test -n "$ac_ct_OTOOL"; then
6005 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_ac_ct_OTOOL="otool"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6021 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6024 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6025 if test -n "$ac_ct_OTOOL"; then
6026 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6027 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6028 else
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6033 OTOOL=$ac_ct_OTOOL
6034 else
6035 OTOOL="$ac_cv_prog_OTOOL"
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6041 echo "$as_me:$LINENO: checking for $ac_word" >&5
6042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6043 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 else
6046 if test -n "$OTOOL64"; then
6047 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6048 else
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6050 for as_dir in $PATH
6052 IFS=$as_save_IFS
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 break 2
6060 done
6061 done
6065 OTOOL64=$ac_cv_prog_OTOOL64
6066 if test -n "$OTOOL64"; then
6067 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6068 echo "${ECHO_T}$OTOOL64" >&6
6069 else
6070 echo "$as_me:$LINENO: result: no" >&5
6071 echo "${ECHO_T}no" >&6
6075 if test -z "$ac_cv_prog_OTOOL64"; then
6076 ac_ct_OTOOL64=$OTOOL64
6077 # Extract the first word of "otool64", so it can be a program name with args.
6078 set dummy otool64; ac_word=$2
6079 echo "$as_me:$LINENO: checking for $ac_word" >&5
6080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6081 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 else
6084 if test -n "$ac_ct_OTOOL64"; then
6085 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_ac_ct_OTOOL64="otool64"
6095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6101 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6104 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6105 if test -n "$ac_ct_OTOOL64"; then
6106 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6107 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6108 else
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6113 OTOOL64=$ac_ct_OTOOL64
6114 else
6115 OTOOL64="$ac_cv_prog_OTOOL64"
6144 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6145 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6146 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 else
6149 lt_cv_apple_cc_single_mod=no
6150 if test -z "${LT_MULTI_MODULE}"; then
6151 # By default we will add the -single_module flag. You can override
6152 # by either setting the environment variable LT_MULTI_MODULE
6153 # non-empty at configure time, or by adding -multi_module to the
6154 # link flags.
6155 rm -rf libconftest.dylib*
6156 echo "int foo(void){return 1;}" > conftest.c
6157 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6158 -dynamiclib -Wl,-single_module conftest.c" >&5
6159 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6160 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6161 _lt_result=$?
6162 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6163 lt_cv_apple_cc_single_mod=yes
6164 else
6165 cat conftest.err >&5
6167 rm -rf libconftest.dylib*
6168 rm -f conftest.*
6171 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6172 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6173 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6174 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6175 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 else
6178 lt_cv_ld_exported_symbols_list=no
6179 save_LDFLAGS=$LDFLAGS
6180 echo "_main" > conftest.sym
6181 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6182 if test x$gcc_no_link = xyes; then
6183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6185 { (exit 1); exit 1; }; }
6187 cat >conftest.$ac_ext <<_ACEOF
6188 /* confdefs.h. */
6189 _ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6195 main ()
6199 return 0;
6201 _ACEOF
6202 rm -f conftest.$ac_objext conftest$ac_exeext
6203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6204 (eval $ac_link) 2>conftest.er1
6205 ac_status=$?
6206 grep -v '^ *+' conftest.er1 >conftest.err
6207 rm -f conftest.er1
6208 cat conftest.err >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } &&
6211 { ac_try='test -z "$ac_c_werror_flag"
6212 || test ! -s conftest.err'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 (eval $ac_try) 2>&5
6215 ac_status=$?
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; } &&
6218 { ac_try='test -s conftest$ac_exeext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 (eval $ac_try) 2>&5
6221 ac_status=$?
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6224 lt_cv_ld_exported_symbols_list=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 lt_cv_ld_exported_symbols_list=no
6231 rm -f conftest.err conftest.$ac_objext \
6232 conftest$ac_exeext conftest.$ac_ext
6233 LDFLAGS="$save_LDFLAGS"
6236 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6237 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6238 case $host_os in
6239 rhapsody* | darwin1.[012])
6240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6241 darwin1.*)
6242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6243 darwin*) # darwin 5.x on
6244 # if running on 10.5 or later, the deployment target defaults
6245 # to the OS version, if on x86, and 10.4, the deployment
6246 # target defaults to 10.4. Don't you love it?
6247 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6248 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6249 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6250 10.[012]*)
6251 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6252 10.*)
6253 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6254 esac
6256 esac
6257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6258 _lt_dar_single_mod='$single_module'
6260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6262 else
6263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6265 if test "$DSYMUTIL" != ":"; then
6266 _lt_dsymutil='~$DSYMUTIL $lib || :'
6267 else
6268 _lt_dsymutil=
6271 esac
6273 ac_ext=c
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6278 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6279 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6280 # On Suns, sometimes $CPP names a directory.
6281 if test -n "$CPP" && test -d "$CPP"; then
6282 CPP=
6284 if test -z "$CPP"; then
6285 if test "${ac_cv_prog_CPP+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 # Double quotes because CPP needs to be expanded
6289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6291 ac_preproc_ok=false
6292 for ac_c_preproc_warn_flag in '' yes
6294 # Use a header file that comes with gcc, so configuring glibc
6295 # with a fresh cross-compiler works.
6296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6297 # <limits.h> exists even on freestanding compilers.
6298 # On the NeXT, cc -E runs the code through the compiler's parser,
6299 # not just through cpp. "Syntax error" is here to catch this case.
6300 cat >conftest.$ac_ext <<_ACEOF
6301 /* confdefs.h. */
6302 _ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6306 #ifdef __STDC__
6307 # include <limits.h>
6308 #else
6309 # include <assert.h>
6310 #endif
6311 Syntax error
6312 _ACEOF
6313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6315 ac_status=$?
6316 grep -v '^ *+' conftest.er1 >conftest.err
6317 rm -f conftest.er1
6318 cat conftest.err >&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); } >/dev/null; then
6321 if test -s conftest.err; then
6322 ac_cpp_err=$ac_c_preproc_warn_flag
6323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6324 else
6325 ac_cpp_err=
6327 else
6328 ac_cpp_err=yes
6330 if test -z "$ac_cpp_err"; then
6332 else
6333 echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.$ac_ext >&5
6336 # Broken: fails on valid input.
6337 continue
6339 rm -f conftest.err conftest.$ac_ext
6341 # OK, works on sane cases. Now check whether non-existent headers
6342 # can be detected and how.
6343 cat >conftest.$ac_ext <<_ACEOF
6344 /* confdefs.h. */
6345 _ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6349 #include <ac_nonexistent.h>
6350 _ACEOF
6351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6353 ac_status=$?
6354 grep -v '^ *+' conftest.er1 >conftest.err
6355 rm -f conftest.er1
6356 cat conftest.err >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } >/dev/null; then
6359 if test -s conftest.err; then
6360 ac_cpp_err=$ac_c_preproc_warn_flag
6361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6362 else
6363 ac_cpp_err=
6365 else
6366 ac_cpp_err=yes
6368 if test -z "$ac_cpp_err"; then
6369 # Broken: success on invalid input.
6370 continue
6371 else
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 # Passes both tests.
6376 ac_preproc_ok=:
6377 break
6379 rm -f conftest.err conftest.$ac_ext
6381 done
6382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6383 rm -f conftest.err conftest.$ac_ext
6384 if $ac_preproc_ok; then
6385 break
6388 done
6389 ac_cv_prog_CPP=$CPP
6392 CPP=$ac_cv_prog_CPP
6393 else
6394 ac_cv_prog_CPP=$CPP
6396 echo "$as_me:$LINENO: result: $CPP" >&5
6397 echo "${ECHO_T}$CPP" >&6
6398 ac_preproc_ok=false
6399 for ac_c_preproc_warn_flag in '' yes
6401 # Use a header file that comes with gcc, so configuring glibc
6402 # with a fresh cross-compiler works.
6403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6404 # <limits.h> exists even on freestanding compilers.
6405 # On the NeXT, cc -E runs the code through the compiler's parser,
6406 # not just through cpp. "Syntax error" is here to catch this case.
6407 cat >conftest.$ac_ext <<_ACEOF
6408 /* confdefs.h. */
6409 _ACEOF
6410 cat confdefs.h >>conftest.$ac_ext
6411 cat >>conftest.$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6413 #ifdef __STDC__
6414 # include <limits.h>
6415 #else
6416 # include <assert.h>
6417 #endif
6418 Syntax error
6419 _ACEOF
6420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6422 ac_status=$?
6423 grep -v '^ *+' conftest.er1 >conftest.err
6424 rm -f conftest.er1
6425 cat conftest.err >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); } >/dev/null; then
6428 if test -s conftest.err; then
6429 ac_cpp_err=$ac_c_preproc_warn_flag
6430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6431 else
6432 ac_cpp_err=
6434 else
6435 ac_cpp_err=yes
6437 if test -z "$ac_cpp_err"; then
6439 else
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6443 # Broken: fails on valid input.
6444 continue
6446 rm -f conftest.err conftest.$ac_ext
6448 # OK, works on sane cases. Now check whether non-existent headers
6449 # can be detected and how.
6450 cat >conftest.$ac_ext <<_ACEOF
6451 /* confdefs.h. */
6452 _ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 #include <ac_nonexistent.h>
6457 _ACEOF
6458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6460 ac_status=$?
6461 grep -v '^ *+' conftest.er1 >conftest.err
6462 rm -f conftest.er1
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } >/dev/null; then
6466 if test -s conftest.err; then
6467 ac_cpp_err=$ac_c_preproc_warn_flag
6468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6469 else
6470 ac_cpp_err=
6472 else
6473 ac_cpp_err=yes
6475 if test -z "$ac_cpp_err"; then
6476 # Broken: success on invalid input.
6477 continue
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 # Passes both tests.
6483 ac_preproc_ok=:
6484 break
6486 rm -f conftest.err conftest.$ac_ext
6488 done
6489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6490 rm -f conftest.err conftest.$ac_ext
6491 if $ac_preproc_ok; then
6493 else
6494 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6495 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6496 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6497 See \`config.log' for more details." >&5
6498 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6499 See \`config.log' for more details." >&2;}
6500 { (exit 1); exit 1; }; }; }
6503 ac_ext=c
6504 ac_cpp='$CPP $CPPFLAGS'
6505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6510 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6511 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6512 if test "${ac_cv_header_stdc+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6514 else
6515 cat >conftest.$ac_ext <<_ACEOF
6516 /* confdefs.h. */
6517 _ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6521 #include <stdlib.h>
6522 #include <stdarg.h>
6523 #include <string.h>
6524 #include <float.h>
6527 main ()
6531 return 0;
6533 _ACEOF
6534 rm -f conftest.$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536 (eval $ac_compile) 2>conftest.er1
6537 ac_status=$?
6538 grep -v '^ *+' conftest.er1 >conftest.err
6539 rm -f conftest.er1
6540 cat conftest.err >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try='test -z "$ac_c_werror_flag"
6544 || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 (eval $ac_try) 2>&5
6547 ac_status=$?
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try='test -s conftest.$ac_objext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 (eval $ac_try) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6556 ac_cv_header_stdc=yes
6557 else
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.$ac_ext >&5
6561 ac_cv_header_stdc=no
6563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6565 if test $ac_cv_header_stdc = yes; then
6566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6567 cat >conftest.$ac_ext <<_ACEOF
6568 /* confdefs.h. */
6569 _ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6573 #include <string.h>
6575 _ACEOF
6576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6577 $EGREP "memchr" >/dev/null 2>&1; then
6579 else
6580 ac_cv_header_stdc=no
6582 rm -f conftest*
6586 if test $ac_cv_header_stdc = yes; then
6587 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6588 cat >conftest.$ac_ext <<_ACEOF
6589 /* confdefs.h. */
6590 _ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 #include <stdlib.h>
6596 _ACEOF
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "free" >/dev/null 2>&1; then
6600 else
6601 ac_cv_header_stdc=no
6603 rm -f conftest*
6607 if test $ac_cv_header_stdc = yes; then
6608 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6609 if test "$cross_compiling" = yes; then
6611 else
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ctype.h>
6619 #if ((' ' & 0x0FF) == 0x020)
6620 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6621 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6622 #else
6623 # define ISLOWER(c) \
6624 (('a' <= (c) && (c) <= 'i') \
6625 || ('j' <= (c) && (c) <= 'r') \
6626 || ('s' <= (c) && (c) <= 'z'))
6627 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6628 #endif
6630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6632 main ()
6634 int i;
6635 for (i = 0; i < 256; i++)
6636 if (XOR (islower (i), ISLOWER (i))
6637 || toupper (i) != TOUPPER (i))
6638 exit(2);
6639 exit (0);
6641 _ACEOF
6642 rm -f conftest$ac_exeext
6643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6644 (eval $ac_link) 2>&5
6645 ac_status=$?
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6649 (eval $ac_try) 2>&5
6650 ac_status=$?
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6654 else
6655 echo "$as_me: program exited with status $ac_status" >&5
6656 echo "$as_me: failed program was:" >&5
6657 sed 's/^/| /' conftest.$ac_ext >&5
6659 ( exit $ac_status )
6660 ac_cv_header_stdc=no
6662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6666 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6667 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6668 if test $ac_cv_header_stdc = yes; then
6670 cat >>confdefs.h <<\_ACEOF
6671 #define STDC_HEADERS 1
6672 _ACEOF
6676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6687 inttypes.h stdint.h unistd.h
6689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6690 echo "$as_me:$LINENO: checking for $ac_header" >&5
6691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 else
6695 cat >conftest.$ac_ext <<_ACEOF
6696 /* confdefs.h. */
6697 _ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 $ac_includes_default
6703 #include <$ac_header>
6704 _ACEOF
6705 rm -f conftest.$ac_objext
6706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6707 (eval $ac_compile) 2>conftest.er1
6708 ac_status=$?
6709 grep -v '^ *+' conftest.er1 >conftest.err
6710 rm -f conftest.er1
6711 cat conftest.err >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); } &&
6714 { ac_try='test -z "$ac_c_werror_flag"
6715 || test ! -s conftest.err'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 (eval $ac_try) 2>&5
6718 ac_status=$?
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 (eval $ac_try) 2>&5
6724 ac_status=$?
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727 eval "$as_ac_Header=yes"
6728 else
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.$ac_ext >&5
6732 eval "$as_ac_Header=no"
6734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6739 cat >>confdefs.h <<_ACEOF
6740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 _ACEOF
6745 done
6749 for ac_header in dlfcn.h
6751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 echo "$as_me:$LINENO: checking for $ac_header" >&5
6753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 else
6757 cat >conftest.$ac_ext <<_ACEOF
6758 /* confdefs.h. */
6759 _ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 $ac_includes_default
6765 #include <$ac_header>
6766 _ACEOF
6767 rm -f conftest.$ac_objext
6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>conftest.er1
6770 ac_status=$?
6771 grep -v '^ *+' conftest.er1 >conftest.err
6772 rm -f conftest.er1
6773 cat conftest.err >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } &&
6776 { ac_try='test -z "$ac_c_werror_flag"
6777 || test ! -s conftest.err'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 (eval $ac_try) 2>&5
6780 ac_status=$?
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; } &&
6783 { ac_try='test -s conftest.$ac_objext'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6785 (eval $ac_try) 2>&5
6786 ac_status=$?
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; }; then
6789 eval "$as_ac_Header=yes"
6790 else
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 eval "$as_ac_Header=no"
6796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6801 cat >>confdefs.h <<_ACEOF
6802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6803 _ACEOF
6807 done
6811 # Set options
6816 enable_win32_dll=no
6819 # Check whether --enable-shared or --disable-shared was given.
6820 if test "${enable_shared+set}" = set; then
6821 enableval="$enable_shared"
6822 p=${PACKAGE-default}
6823 case $enableval in
6824 yes) enable_shared=yes ;;
6825 no) enable_shared=no ;;
6827 enable_shared=no
6828 # Look at the argument we got. We use all the common list separators.
6829 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6830 for pkg in $enableval; do
6831 IFS="$lt_save_ifs"
6832 if test "X$pkg" = "X$p"; then
6833 enable_shared=yes
6835 done
6836 IFS="$lt_save_ifs"
6838 esac
6839 else
6840 enable_shared=yes
6850 # Check whether --enable-static or --disable-static was given.
6851 if test "${enable_static+set}" = set; then
6852 enableval="$enable_static"
6853 p=${PACKAGE-default}
6854 case $enableval in
6855 yes) enable_static=yes ;;
6856 no) enable_static=no ;;
6858 enable_static=no
6859 # Look at the argument we got. We use all the common list separators.
6860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6861 for pkg in $enableval; do
6862 IFS="$lt_save_ifs"
6863 if test "X$pkg" = "X$p"; then
6864 enable_static=yes
6866 done
6867 IFS="$lt_save_ifs"
6869 esac
6870 else
6871 enable_static=yes
6882 # Check whether --with-pic or --without-pic was given.
6883 if test "${with_pic+set}" = set; then
6884 withval="$with_pic"
6885 pic_mode="$withval"
6886 else
6887 pic_mode=default
6890 test -z "$pic_mode" && pic_mode=default
6898 # Check whether --enable-fast-install or --disable-fast-install was given.
6899 if test "${enable_fast_install+set}" = set; then
6900 enableval="$enable_fast_install"
6901 p=${PACKAGE-default}
6902 case $enableval in
6903 yes) enable_fast_install=yes ;;
6904 no) enable_fast_install=no ;;
6906 enable_fast_install=no
6907 # Look at the argument we got. We use all the common list separators.
6908 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6909 for pkg in $enableval; do
6910 IFS="$lt_save_ifs"
6911 if test "X$pkg" = "X$p"; then
6912 enable_fast_install=yes
6914 done
6915 IFS="$lt_save_ifs"
6917 esac
6918 else
6919 enable_fast_install=yes
6931 # This can be used to rebuild libtool when needed
6932 LIBTOOL_DEPS="$ltmain"
6934 # Always use our own libtool.
6935 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6961 test -z "$LN_S" && LN_S="ln -s"
6976 if test -n "${ZSH_VERSION+set}" ; then
6977 setopt NO_GLOB_SUBST
6980 echo "$as_me:$LINENO: checking for objdir" >&5
6981 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6982 if test "${lt_cv_objdir+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6984 else
6985 rm -f .libs 2>/dev/null
6986 mkdir .libs 2>/dev/null
6987 if test -d .libs; then
6988 lt_cv_objdir=.libs
6989 else
6990 # MS-DOS does not allow filenames that begin with a dot.
6991 lt_cv_objdir=_libs
6993 rmdir .libs 2>/dev/null
6995 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6996 echo "${ECHO_T}$lt_cv_objdir" >&6
6997 objdir=$lt_cv_objdir
7003 cat >>confdefs.h <<_ACEOF
7004 #define LT_OBJDIR "$lt_cv_objdir/"
7005 _ACEOF
7023 case $host_os in
7024 aix3*)
7025 # AIX sometimes has problems with the GCC collect2 program. For some
7026 # reason, if we set the COLLECT_NAMES environment variable, the problems
7027 # vanish in a puff of smoke.
7028 if test "X${COLLECT_NAMES+set}" != Xset; then
7029 COLLECT_NAMES=
7030 export COLLECT_NAMES
7033 esac
7035 # Sed substitution that helps us do robust quoting. It backslashifies
7036 # metacharacters that are still active within double-quoted strings.
7037 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7039 # Same as above, but do not quote variable references.
7040 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7042 # Sed substitution to delay expansion of an escaped shell variable in a
7043 # double_quote_subst'ed string.
7044 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7046 # Sed substitution to delay expansion of an escaped single quote.
7047 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7049 # Sed substitution to avoid accidental globbing in evaled expressions
7050 no_glob_subst='s/\*/\\\*/g'
7052 # Global variables:
7053 ofile=libtool
7054 can_build_shared=yes
7056 # All known linkers require a `.a' archive for static linking (except MSVC,
7057 # which needs '.lib').
7058 libext=a
7060 with_gnu_ld="$lt_cv_prog_gnu_ld"
7062 old_CC="$CC"
7063 old_CFLAGS="$CFLAGS"
7065 # Set sane defaults for various variables
7066 test -z "$CC" && CC=cc
7067 test -z "$LTCC" && LTCC=$CC
7068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7069 test -z "$LD" && LD=ld
7070 test -z "$ac_objext" && ac_objext=o
7072 for cc_temp in $compiler""; do
7073 case $cc_temp in
7074 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7075 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7076 \-*) ;;
7077 *) break;;
7078 esac
7079 done
7080 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7083 # Only perform the check for file, if the check method requires it
7084 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7085 case $deplibs_check_method in
7086 file_magic*)
7087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7088 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7089 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7090 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 else
7093 case $MAGIC_CMD in
7094 [\\/*] | ?:[\\/]*)
7095 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7098 lt_save_MAGIC_CMD="$MAGIC_CMD"
7099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7100 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7101 for ac_dir in $ac_dummy; do
7102 IFS="$lt_save_ifs"
7103 test -z "$ac_dir" && ac_dir=.
7104 if test -f $ac_dir/${ac_tool_prefix}file; then
7105 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7106 if test -n "$file_magic_test_file"; then
7107 case $deplibs_check_method in
7108 "file_magic "*)
7109 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7111 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7112 $EGREP "$file_magic_regex" > /dev/null; then
7114 else
7115 cat <<_LT_EOF 1>&2
7117 *** Warning: the command libtool uses to detect shared libraries,
7118 *** $file_magic_cmd, produces output that libtool cannot recognize.
7119 *** The result is that libtool may fail to recognize shared libraries
7120 *** as such. This will affect the creation of libtool libraries that
7121 *** depend on shared libraries, but programs linked with such libtool
7122 *** libraries will work regardless of this problem. Nevertheless, you
7123 *** may want to report the problem to your system manager and/or to
7124 *** bug-libtool@gnu.org
7126 _LT_EOF
7127 fi ;;
7128 esac
7130 break
7132 done
7133 IFS="$lt_save_ifs"
7134 MAGIC_CMD="$lt_save_MAGIC_CMD"
7136 esac
7139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7140 if test -n "$MAGIC_CMD"; then
7141 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7142 echo "${ECHO_T}$MAGIC_CMD" >&6
7143 else
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7152 if test -z "$lt_cv_path_MAGIC_CMD"; then
7153 if test -n "$ac_tool_prefix"; then
7154 echo "$as_me:$LINENO: checking for file" >&5
7155 echo $ECHO_N "checking for file... $ECHO_C" >&6
7156 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 case $MAGIC_CMD in
7160 [\\/*] | ?:[\\/]*)
7161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7164 lt_save_MAGIC_CMD="$MAGIC_CMD"
7165 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7166 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7167 for ac_dir in $ac_dummy; do
7168 IFS="$lt_save_ifs"
7169 test -z "$ac_dir" && ac_dir=.
7170 if test -f $ac_dir/file; then
7171 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7172 if test -n "$file_magic_test_file"; then
7173 case $deplibs_check_method in
7174 "file_magic "*)
7175 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7177 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7178 $EGREP "$file_magic_regex" > /dev/null; then
7180 else
7181 cat <<_LT_EOF 1>&2
7183 *** Warning: the command libtool uses to detect shared libraries,
7184 *** $file_magic_cmd, produces output that libtool cannot recognize.
7185 *** The result is that libtool may fail to recognize shared libraries
7186 *** as such. This will affect the creation of libtool libraries that
7187 *** depend on shared libraries, but programs linked with such libtool
7188 *** libraries will work regardless of this problem. Nevertheless, you
7189 *** may want to report the problem to your system manager and/or to
7190 *** bug-libtool@gnu.org
7192 _LT_EOF
7193 fi ;;
7194 esac
7196 break
7198 done
7199 IFS="$lt_save_ifs"
7200 MAGIC_CMD="$lt_save_MAGIC_CMD"
7202 esac
7205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7206 if test -n "$MAGIC_CMD"; then
7207 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7208 echo "${ECHO_T}$MAGIC_CMD" >&6
7209 else
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7215 else
7216 MAGIC_CMD=:
7222 esac
7224 # Use C for the default configuration in the libtool script
7226 lt_save_CC="$CC"
7227 ac_ext=c
7228 ac_cpp='$CPP $CPPFLAGS'
7229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7234 # Source file extension for C test sources.
7235 ac_ext=c
7237 # Object file extension for compiled C test sources.
7238 objext=o
7239 objext=$objext
7241 # Code to be used in simple compile tests
7242 lt_simple_compile_test_code="int some_variable = 0;"
7244 # Code to be used in simple link tests
7245 lt_simple_link_test_code='int main(){return(0);}'
7253 # If no C compiler was specified, use CC.
7254 LTCC=${LTCC-"$CC"}
7256 # If no C compiler flags were specified, use CFLAGS.
7257 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7259 # Allow CC to be a program name with arguments.
7260 compiler=$CC
7262 # Save the default compiler, since it gets overwritten when the other
7263 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7264 compiler_DEFAULT=$CC
7266 # save warnings/boilerplate of simple test code
7267 ac_outfile=conftest.$ac_objext
7268 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7269 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7270 _lt_compiler_boilerplate=`cat conftest.err`
7271 $RM conftest*
7273 ac_outfile=conftest.$ac_objext
7274 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7275 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7276 _lt_linker_boilerplate=`cat conftest.err`
7277 $RM -r conftest*
7280 ## CAVEAT EMPTOR:
7281 ## There is no encapsulation within the following macros, do not change
7282 ## the running order or otherwise move them around unless you know exactly
7283 ## what you are doing...
7284 if test -n "$compiler"; then
7286 lt_prog_compiler_no_builtin_flag=
7288 if test "$GCC" = yes; then
7289 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7291 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7292 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7293 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296 lt_cv_prog_compiler_rtti_exceptions=no
7297 ac_outfile=conftest.$ac_objext
7298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7299 lt_compiler_flag="-fno-rtti -fno-exceptions"
7300 # Insert the option either (1) after the last *FLAGS variable, or
7301 # (2) before a word containing "conftest.", or (3) at the end.
7302 # Note that $ac_compile itself does not contain backslashes and begins
7303 # with a dollar sign (not a hyphen), so the echo should work correctly.
7304 # The option is referenced via a variable to avoid confusing sed.
7305 lt_compile=`echo "$ac_compile" | $SED \
7306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7308 -e 's:$: $lt_compiler_flag:'`
7309 (eval echo "\"\$as_me:7309: $lt_compile\"" >&5)
7310 (eval "$lt_compile" 2>conftest.err)
7311 ac_status=$?
7312 cat conftest.err >&5
7313 echo "$as_me:7313: \$? = $ac_status" >&5
7314 if (exit $ac_status) && test -s "$ac_outfile"; then
7315 # The compiler can only warn and ignore the option if not recognized
7316 # So say no if there are warnings other than the usual output.
7317 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7318 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7319 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7320 lt_cv_prog_compiler_rtti_exceptions=yes
7323 $RM conftest*
7326 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7327 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7329 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7330 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7331 else
7342 lt_prog_compiler_wl=
7343 lt_prog_compiler_pic=
7344 lt_prog_compiler_static=
7346 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7347 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7349 if test "$GCC" = yes; then
7350 lt_prog_compiler_wl='-Wl,'
7351 lt_prog_compiler_static='-static'
7353 case $host_os in
7354 aix*)
7355 # All AIX code is PIC.
7356 if test "$host_cpu" = ia64; then
7357 # AIX 5 now supports IA64 processor
7358 lt_prog_compiler_static='-Bstatic'
7362 amigaos*)
7363 case $host_cpu in
7364 powerpc)
7365 # see comment about AmigaOS4 .so support
7366 lt_prog_compiler_pic='-fPIC'
7368 m68k)
7369 # FIXME: we need at least 68020 code to build shared libraries, but
7370 # adding the `-m68020' flag to GCC prevents building anything better,
7371 # like `-m68040'.
7372 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7374 esac
7377 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7378 # PIC is the default for these OSes.
7381 mingw* | cygwin* | pw32* | os2* | cegcc*)
7382 # This hack is so that the source file can tell whether it is being
7383 # built for inclusion in a dll (and should export symbols for example).
7384 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7385 # (--disable-auto-import) libraries
7386 lt_prog_compiler_pic='-DDLL_EXPORT'
7389 darwin* | rhapsody*)
7390 # PIC is the default on this platform
7391 # Common symbols not allowed in MH_DYLIB files
7392 lt_prog_compiler_pic='-fno-common'
7395 hpux*)
7396 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7397 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7398 # sets the default TLS model and affects inlining.
7399 case $host_cpu in
7400 hppa*64*)
7401 # +Z the default
7404 lt_prog_compiler_pic='-fPIC'
7406 esac
7409 interix[3-9]*)
7410 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7411 # Instead, we relocate shared libraries at runtime.
7414 msdosdjgpp*)
7415 # Just because we use GCC doesn't mean we suddenly get shared libraries
7416 # on systems that don't support them.
7417 lt_prog_compiler_can_build_shared=no
7418 enable_shared=no
7421 *nto* | *qnx*)
7422 # QNX uses GNU C++, but need to define -shared option too, otherwise
7423 # it will coredump.
7424 lt_prog_compiler_pic='-fPIC -shared'
7427 sysv4*MP*)
7428 if test -d /usr/nec; then
7429 lt_prog_compiler_pic=-Kconform_pic
7434 lt_prog_compiler_pic='-fPIC'
7436 esac
7437 else
7438 # PORTME Check for flag to pass linker flags through the system compiler.
7439 case $host_os in
7440 aix*)
7441 lt_prog_compiler_wl='-Wl,'
7442 if test "$host_cpu" = ia64; then
7443 # AIX 5 now supports IA64 processor
7444 lt_prog_compiler_static='-Bstatic'
7445 else
7446 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7450 mingw* | cygwin* | pw32* | os2* | cegcc*)
7451 # This hack is so that the source file can tell whether it is being
7452 # built for inclusion in a dll (and should export symbols for example).
7453 lt_prog_compiler_pic='-DDLL_EXPORT'
7456 hpux9* | hpux10* | hpux11*)
7457 lt_prog_compiler_wl='-Wl,'
7458 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7459 # not for PA HP-UX.
7460 case $host_cpu in
7461 hppa*64*|ia64*)
7462 # +Z the default
7465 lt_prog_compiler_pic='+Z'
7467 esac
7468 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7469 lt_prog_compiler_static='${wl}-a ${wl}archive'
7472 irix5* | irix6* | nonstopux*)
7473 lt_prog_compiler_wl='-Wl,'
7474 # PIC (with -KPIC) is the default.
7475 lt_prog_compiler_static='-non_shared'
7478 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7479 case $cc_basename in
7480 # old Intel for x86_64 which still supported -KPIC.
7481 ecc*)
7482 lt_prog_compiler_wl='-Wl,'
7483 lt_prog_compiler_pic='-KPIC'
7484 lt_prog_compiler_static='-static'
7486 # icc used to be incompatible with GCC.
7487 # ICC 10 doesn't accept -KPIC any more.
7488 icc* | ifort*)
7489 lt_prog_compiler_wl='-Wl,'
7490 lt_prog_compiler_pic='-fPIC'
7491 lt_prog_compiler_static='-static'
7493 # Lahey Fortran 8.1.
7494 lf95*)
7495 lt_prog_compiler_wl='-Wl,'
7496 lt_prog_compiler_pic='--shared'
7497 lt_prog_compiler_static='--static'
7499 pgcc* | pgf77* | pgf90* | pgf95*)
7500 # Portland Group compilers (*not* the Pentium gcc compiler,
7501 # which looks to be a dead project)
7502 lt_prog_compiler_wl='-Wl,'
7503 lt_prog_compiler_pic='-fpic'
7504 lt_prog_compiler_static='-Bstatic'
7506 ccc*)
7507 lt_prog_compiler_wl='-Wl,'
7508 # All Alpha code is PIC.
7509 lt_prog_compiler_static='-non_shared'
7511 xl*)
7512 # IBM XL C 8.0/Fortran 10.1 on PPC
7513 lt_prog_compiler_wl='-Wl,'
7514 lt_prog_compiler_pic='-qpic'
7515 lt_prog_compiler_static='-qstaticlink'
7518 case `$CC -V 2>&1 | sed 5q` in
7519 *Sun\ C*)
7520 # Sun C 5.9
7521 lt_prog_compiler_pic='-KPIC'
7522 lt_prog_compiler_static='-Bstatic'
7523 lt_prog_compiler_wl='-Wl,'
7525 *Sun\ F*)
7526 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7527 lt_prog_compiler_pic='-KPIC'
7528 lt_prog_compiler_static='-Bstatic'
7529 lt_prog_compiler_wl=''
7531 esac
7533 esac
7536 newsos6)
7537 lt_prog_compiler_pic='-KPIC'
7538 lt_prog_compiler_static='-Bstatic'
7541 *nto* | *qnx*)
7542 # QNX uses GNU C++, but need to define -shared option too, otherwise
7543 # it will coredump.
7544 lt_prog_compiler_pic='-fPIC -shared'
7547 osf3* | osf4* | osf5*)
7548 lt_prog_compiler_wl='-Wl,'
7549 # All OSF/1 code is PIC.
7550 lt_prog_compiler_static='-non_shared'
7553 rdos*)
7554 lt_prog_compiler_static='-non_shared'
7557 solaris*)
7558 lt_prog_compiler_pic='-KPIC'
7559 lt_prog_compiler_static='-Bstatic'
7560 case $cc_basename in
7561 f77* | f90* | f95*)
7562 lt_prog_compiler_wl='-Qoption ld ';;
7564 lt_prog_compiler_wl='-Wl,';;
7565 esac
7568 sunos4*)
7569 lt_prog_compiler_wl='-Qoption ld '
7570 lt_prog_compiler_pic='-PIC'
7571 lt_prog_compiler_static='-Bstatic'
7574 sysv4 | sysv4.2uw2* | sysv4.3*)
7575 lt_prog_compiler_wl='-Wl,'
7576 lt_prog_compiler_pic='-KPIC'
7577 lt_prog_compiler_static='-Bstatic'
7580 sysv4*MP*)
7581 if test -d /usr/nec ;then
7582 lt_prog_compiler_pic='-Kconform_pic'
7583 lt_prog_compiler_static='-Bstatic'
7587 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7588 lt_prog_compiler_wl='-Wl,'
7589 lt_prog_compiler_pic='-KPIC'
7590 lt_prog_compiler_static='-Bstatic'
7593 unicos*)
7594 lt_prog_compiler_wl='-Wl,'
7595 lt_prog_compiler_can_build_shared=no
7598 uts4*)
7599 lt_prog_compiler_pic='-pic'
7600 lt_prog_compiler_static='-Bstatic'
7604 lt_prog_compiler_can_build_shared=no
7606 esac
7609 case $host_os in
7610 # For platforms which do not support PIC, -DPIC is meaningless:
7611 *djgpp*)
7612 lt_prog_compiler_pic=
7615 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7617 esac
7618 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7619 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7627 # Check to make sure the PIC flag actually works.
7629 if test -n "$lt_prog_compiler_pic"; then
7630 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7631 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7632 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 else
7635 lt_cv_prog_compiler_pic_works=no
7636 ac_outfile=conftest.$ac_objext
7637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7638 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7639 # Insert the option either (1) after the last *FLAGS variable, or
7640 # (2) before a word containing "conftest.", or (3) at the end.
7641 # Note that $ac_compile itself does not contain backslashes and begins
7642 # with a dollar sign (not a hyphen), so the echo should work correctly.
7643 # The option is referenced via a variable to avoid confusing sed.
7644 lt_compile=`echo "$ac_compile" | $SED \
7645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7647 -e 's:$: $lt_compiler_flag:'`
7648 (eval echo "\"\$as_me:7648: $lt_compile\"" >&5)
7649 (eval "$lt_compile" 2>conftest.err)
7650 ac_status=$?
7651 cat conftest.err >&5
7652 echo "$as_me:7652: \$? = $ac_status" >&5
7653 if (exit $ac_status) && test -s "$ac_outfile"; then
7654 # The compiler can only warn and ignore the option if not recognized
7655 # So say no if there are warnings other than the usual output.
7656 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7659 lt_cv_prog_compiler_pic_works=yes
7662 $RM conftest*
7665 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7666 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7668 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7669 case $lt_prog_compiler_pic in
7670 "" | " "*) ;;
7671 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7672 esac
7673 else
7674 lt_prog_compiler_pic=
7675 lt_prog_compiler_can_build_shared=no
7686 # Check to make sure the static flag actually works.
7688 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7689 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7690 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7691 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7692 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 else
7694 lt_cv_prog_compiler_static_works=no
7695 save_LDFLAGS="$LDFLAGS"
7696 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7697 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7698 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7699 # The linker can only warn and ignore the option if not recognized
7700 # So say no if there are warnings
7701 if test -s conftest.err; then
7702 # Append any errors to the config.log.
7703 cat conftest.err 1>&5
7704 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7706 if diff conftest.exp conftest.er2 >/dev/null; then
7707 lt_cv_prog_compiler_static_works=yes
7709 else
7710 lt_cv_prog_compiler_static_works=yes
7713 $RM -r conftest*
7714 LDFLAGS="$save_LDFLAGS"
7717 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7718 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7720 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7722 else
7723 lt_prog_compiler_static=
7732 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7733 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7734 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 else
7737 lt_cv_prog_compiler_c_o=no
7738 $RM -r conftest 2>/dev/null
7739 mkdir conftest
7740 cd conftest
7741 mkdir out
7742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7744 lt_compiler_flag="-o out/conftest2.$ac_objext"
7745 # Insert the option either (1) after the last *FLAGS variable, or
7746 # (2) before a word containing "conftest.", or (3) at the end.
7747 # Note that $ac_compile itself does not contain backslashes and begins
7748 # with a dollar sign (not a hyphen), so the echo should work correctly.
7749 lt_compile=`echo "$ac_compile" | $SED \
7750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7752 -e 's:$: $lt_compiler_flag:'`
7753 (eval echo "\"\$as_me:7753: $lt_compile\"" >&5)
7754 (eval "$lt_compile" 2>out/conftest.err)
7755 ac_status=$?
7756 cat out/conftest.err >&5
7757 echo "$as_me:7757: \$? = $ac_status" >&5
7758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7759 then
7760 # The compiler can only warn and ignore the option if not recognized
7761 # So say no if there are warnings
7762 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7763 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7764 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7765 lt_cv_prog_compiler_c_o=yes
7768 chmod u+w . 2>&5
7769 $RM conftest*
7770 # SGI C++ compiler will create directory out/ii_files/ for
7771 # template instantiation
7772 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7773 $RM out/* && rmdir out
7774 cd ..
7775 $RM -r conftest
7776 $RM conftest*
7779 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7780 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7787 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7788 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7789 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 else
7792 lt_cv_prog_compiler_c_o=no
7793 $RM -r conftest 2>/dev/null
7794 mkdir conftest
7795 cd conftest
7796 mkdir out
7797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7799 lt_compiler_flag="-o out/conftest2.$ac_objext"
7800 # Insert the option either (1) after the last *FLAGS variable, or
7801 # (2) before a word containing "conftest.", or (3) at the end.
7802 # Note that $ac_compile itself does not contain backslashes and begins
7803 # with a dollar sign (not a hyphen), so the echo should work correctly.
7804 lt_compile=`echo "$ac_compile" | $SED \
7805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7807 -e 's:$: $lt_compiler_flag:'`
7808 (eval echo "\"\$as_me:7808: $lt_compile\"" >&5)
7809 (eval "$lt_compile" 2>out/conftest.err)
7810 ac_status=$?
7811 cat out/conftest.err >&5
7812 echo "$as_me:7812: \$? = $ac_status" >&5
7813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7814 then
7815 # The compiler can only warn and ignore the option if not recognized
7816 # So say no if there are warnings
7817 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7818 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7819 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7820 lt_cv_prog_compiler_c_o=yes
7823 chmod u+w . 2>&5
7824 $RM conftest*
7825 # SGI C++ compiler will create directory out/ii_files/ for
7826 # template instantiation
7827 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7828 $RM out/* && rmdir out
7829 cd ..
7830 $RM -r conftest
7831 $RM conftest*
7834 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7835 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7840 hard_links="nottested"
7841 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7842 # do not overwrite the value of need_locks provided by the user
7843 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7844 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7845 hard_links=yes
7846 $RM conftest*
7847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7848 touch conftest.a
7849 ln conftest.a conftest.b 2>&5 || hard_links=no
7850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7851 echo "$as_me:$LINENO: result: $hard_links" >&5
7852 echo "${ECHO_T}$hard_links" >&6
7853 if test "$hard_links" = no; then
7854 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7855 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7856 need_locks=warn
7858 else
7859 need_locks=no
7867 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7868 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7870 runpath_var=
7871 allow_undefined_flag=
7872 always_export_symbols=no
7873 archive_cmds=
7874 archive_expsym_cmds=
7875 compiler_needs_object=no
7876 enable_shared_with_static_runtimes=no
7877 export_dynamic_flag_spec=
7878 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7879 hardcode_automatic=no
7880 hardcode_direct=no
7881 hardcode_direct_absolute=no
7882 hardcode_libdir_flag_spec=
7883 hardcode_libdir_flag_spec_ld=
7884 hardcode_libdir_separator=
7885 hardcode_minus_L=no
7886 hardcode_shlibpath_var=unsupported
7887 inherit_rpath=no
7888 link_all_deplibs=unknown
7889 module_cmds=
7890 module_expsym_cmds=
7891 old_archive_from_new_cmds=
7892 old_archive_from_expsyms_cmds=
7893 thread_safe_flag_spec=
7894 whole_archive_flag_spec=
7895 # include_expsyms should be a list of space-separated symbols to be *always*
7896 # included in the symbol list
7897 include_expsyms=
7898 # exclude_expsyms can be an extended regexp of symbols to exclude
7899 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7900 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7901 # as well as any symbol that contains `d'.
7902 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7903 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7904 # platforms (ab)use it in PIC code, but their linkers get confused if
7905 # the symbol is explicitly referenced. Since portable code cannot
7906 # rely on this symbol name, it's probably fine to never include it in
7907 # preloaded symbol tables.
7908 # Exclude shared library initialization/finalization symbols.
7909 extract_expsyms_cmds=
7911 case $host_os in
7912 cygwin* | mingw* | pw32* | cegcc*)
7913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7914 # When not using gcc, we currently assume that we are using
7915 # Microsoft Visual C++.
7916 if test "$GCC" != yes; then
7917 with_gnu_ld=no
7920 interix*)
7921 # we just hope/assume this is gcc and not c89 (= MSVC++)
7922 with_gnu_ld=yes
7924 openbsd*)
7925 with_gnu_ld=no
7927 esac
7929 ld_shlibs=yes
7930 if test "$with_gnu_ld" = yes; then
7931 # If archive_cmds runs LD, not CC, wlarc should be empty
7932 wlarc='${wl}'
7934 # Set some defaults for GNU ld with shared library support. These
7935 # are reset later if shared libraries are not supported. Putting them
7936 # here allows them to be overridden if necessary.
7937 runpath_var=LD_RUN_PATH
7938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7939 export_dynamic_flag_spec='${wl}--export-dynamic'
7940 # ancient GNU ld didn't support --whole-archive et. al.
7941 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7942 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7943 else
7944 whole_archive_flag_spec=
7946 supports_anon_versioning=no
7947 case `$LD -v 2>&1` in
7948 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7949 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7950 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7951 *\ 2.11.*) ;; # other 2.11 versions
7952 *) supports_anon_versioning=yes ;;
7953 esac
7955 # See if GNU ld supports shared libraries.
7956 case $host_os in
7957 aix[3-9]*)
7958 # On AIX/PPC, the GNU linker is very broken
7959 if test "$host_cpu" != ia64; then
7960 ld_shlibs=no
7961 cat <<_LT_EOF 1>&2
7963 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7964 *** to be unable to reliably create shared libraries on AIX.
7965 *** Therefore, libtool is disabling shared libraries support. If you
7966 *** really care for shared libraries, you may want to modify your PATH
7967 *** so that a non-GNU linker is found, and then restart.
7969 _LT_EOF
7973 amigaos*)
7974 case $host_cpu in
7975 powerpc)
7976 # see comment about AmigaOS4 .so support
7977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7978 archive_expsym_cmds=''
7980 m68k)
7981 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)'
7982 hardcode_libdir_flag_spec='-L$libdir'
7983 hardcode_minus_L=yes
7985 esac
7988 beos*)
7989 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7990 allow_undefined_flag=unsupported
7991 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7992 # support --undefined. This deserves some investigation. FIXME
7993 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7994 else
7995 ld_shlibs=no
7999 cygwin* | mingw* | pw32* | cegcc*)
8000 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8001 # as there is no search path for DLLs.
8002 hardcode_libdir_flag_spec='-L$libdir'
8003 allow_undefined_flag=unsupported
8004 always_export_symbols=no
8005 enable_shared_with_static_runtimes=yes
8006 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8008 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8010 # If the export-symbols file already is a .def file (1st line
8011 # is EXPORTS), use it as is; otherwise, prepend...
8012 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8013 cp $export_symbols $output_objdir/$soname.def;
8014 else
8015 echo EXPORTS > $output_objdir/$soname.def;
8016 cat $export_symbols >> $output_objdir/$soname.def;
8018 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8019 else
8020 ld_shlibs=no
8024 interix[3-9]*)
8025 hardcode_direct=no
8026 hardcode_shlibpath_var=no
8027 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8028 export_dynamic_flag_spec='${wl}-E'
8029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8030 # Instead, shared libraries are loaded at an image base (0x10000000 by
8031 # default) and relocated if they conflict, which is a slow very memory
8032 # consuming and fragmenting process. To avoid this, we pick a random,
8033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8035 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8036 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'
8039 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8040 tmp_diet=no
8041 if test "$host_os" = linux-dietlibc; then
8042 case $cc_basename in
8043 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8044 esac
8046 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8047 && test "$tmp_diet" = no
8048 then
8049 tmp_addflag=
8050 tmp_sharedflag='-shared'
8051 case $cc_basename,$host_cpu in
8052 pgcc*) # Portland Group C compiler
8053 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'
8054 tmp_addflag=' $pic_flag'
8056 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8057 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'
8058 tmp_addflag=' $pic_flag -Mnomain' ;;
8059 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8060 tmp_addflag=' -i_dynamic' ;;
8061 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8062 tmp_addflag=' -i_dynamic -nofor_main' ;;
8063 ifc* | ifort*) # Intel Fortran compiler
8064 tmp_addflag=' -nofor_main' ;;
8065 lf95*) # Lahey Fortran 8.1
8066 whole_archive_flag_spec=
8067 tmp_sharedflag='--shared' ;;
8068 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8069 tmp_sharedflag='-qmkshrobj'
8070 tmp_addflag= ;;
8071 esac
8072 case `$CC -V 2>&1 | sed 5q` in
8073 *Sun\ C*) # Sun C 5.9
8074 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'
8075 compiler_needs_object=yes
8076 tmp_sharedflag='-G' ;;
8077 *Sun\ F*) # Sun Fortran 8.3
8078 tmp_sharedflag='-G' ;;
8079 esac
8080 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8082 if test "x$supports_anon_versioning" = xyes; then
8083 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8085 echo "local: *; };" >> $output_objdir/$libname.ver~
8086 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8089 case $cc_basename in
8090 xlf*)
8091 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8092 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8093 hardcode_libdir_flag_spec=
8094 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8095 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8096 if test "x$supports_anon_versioning" = xyes; then
8097 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8098 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8099 echo "local: *; };" >> $output_objdir/$libname.ver~
8100 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8103 esac
8104 else
8105 ld_shlibs=no
8109 netbsd*)
8110 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8111 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8112 wlarc=
8113 else
8114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8115 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8119 solaris*)
8120 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8121 ld_shlibs=no
8122 cat <<_LT_EOF 1>&2
8124 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8125 *** create shared libraries on Solaris systems. Therefore, libtool
8126 *** is disabling shared libraries support. We urge you to upgrade GNU
8127 *** binutils to release 2.9.1 or newer. Another option is to modify
8128 *** your PATH or compiler configuration so that the native linker is
8129 *** used, and then restart.
8131 _LT_EOF
8132 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8133 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8134 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8135 else
8136 ld_shlibs=no
8140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8141 case `$LD -v 2>&1` in
8142 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8143 ld_shlibs=no
8144 cat <<_LT_EOF 1>&2
8146 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8147 *** reliably create shared libraries on SCO systems. Therefore, libtool
8148 *** is disabling shared libraries support. We urge you to upgrade GNU
8149 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8150 *** your PATH or compiler configuration so that the native linker is
8151 *** used, and then restart.
8153 _LT_EOF
8156 # For security reasons, it is highly recommended that you always
8157 # use absolute paths for naming shared libraries, and exclude the
8158 # DT_RUNPATH tag from executables and libraries. But doing so
8159 # requires that you compile everything twice, which is a pain.
8160 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8162 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8163 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8164 else
8165 ld_shlibs=no
8168 esac
8171 sunos4*)
8172 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8173 wlarc=
8174 hardcode_direct=yes
8175 hardcode_shlibpath_var=no
8179 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8182 else
8183 ld_shlibs=no
8186 esac
8188 if test "$ld_shlibs" = no; then
8189 runpath_var=
8190 hardcode_libdir_flag_spec=
8191 export_dynamic_flag_spec=
8192 whole_archive_flag_spec=
8194 else
8195 # PORTME fill in a description of your system's linker (not GNU ld)
8196 case $host_os in
8197 aix3*)
8198 allow_undefined_flag=unsupported
8199 always_export_symbols=yes
8200 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'
8201 # Note: this linker hardcodes the directories in LIBPATH if there
8202 # are no directories specified by -L.
8203 hardcode_minus_L=yes
8204 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8205 # Neither direct hardcoding nor static linking is supported with a
8206 # broken collect2.
8207 hardcode_direct=unsupported
8211 aix[4-9]*)
8212 if test "$host_cpu" = ia64; then
8213 # On IA64, the linker does run time linking by default, so we don't
8214 # have to do anything special.
8215 aix_use_runtimelinking=no
8216 exp_sym_flag='-Bexport'
8217 no_entry_flag=""
8218 else
8219 # If we're using GNU nm, then we don't want the "-C" option.
8220 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8221 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8222 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'
8223 else
8224 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'
8226 aix_use_runtimelinking=no
8228 # Test if we are trying to use run time linking or normal
8229 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8230 # need to do runtime linking.
8231 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8232 for ld_flag in $LDFLAGS; do
8233 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8234 aix_use_runtimelinking=yes
8235 break
8237 done
8239 esac
8241 exp_sym_flag='-bexport'
8242 no_entry_flag='-bnoentry'
8245 # When large executables or shared objects are built, AIX ld can
8246 # have problems creating the table of contents. If linking a library
8247 # or program results in "error TOC overflow" add -mminimal-toc to
8248 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8249 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8251 archive_cmds=''
8252 hardcode_direct=yes
8253 hardcode_direct_absolute=yes
8254 hardcode_libdir_separator=':'
8255 link_all_deplibs=yes
8256 file_list_spec='${wl}-f,'
8258 if test "$GCC" = yes; then
8259 case $host_os in aix4.[012]|aix4.[012].*)
8260 # We only want to do this on AIX 4.2 and lower, the check
8261 # below for broken collect2 doesn't work under 4.3+
8262 collect2name=`${CC} -print-prog-name=collect2`
8263 if test -f "$collect2name" &&
8264 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8265 then
8266 # We have reworked collect2
8268 else
8269 # We have old collect2
8270 hardcode_direct=unsupported
8271 # It fails to find uninstalled libraries when the uninstalled
8272 # path is not listed in the libpath. Setting hardcode_minus_L
8273 # to unsupported forces relinking
8274 hardcode_minus_L=yes
8275 hardcode_libdir_flag_spec='-L$libdir'
8276 hardcode_libdir_separator=
8279 esac
8280 shared_flag='-shared'
8281 if test "$aix_use_runtimelinking" = yes; then
8282 shared_flag="$shared_flag "'${wl}-G'
8284 else
8285 # not using gcc
8286 if test "$host_cpu" = ia64; then
8287 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8288 # chokes on -Wl,-G. The following line is correct:
8289 shared_flag='-G'
8290 else
8291 if test "$aix_use_runtimelinking" = yes; then
8292 shared_flag='${wl}-G'
8293 else
8294 shared_flag='${wl}-bM:SRE'
8299 export_dynamic_flag_spec='${wl}-bexpall'
8300 # It seems that -bexpall does not export symbols beginning with
8301 # underscore (_), so it is better to generate a list of symbols to export.
8302 always_export_symbols=yes
8303 if test "$aix_use_runtimelinking" = yes; then
8304 # Warning - without using the other runtime loading flags (-brtl),
8305 # -berok will link without error, but may produce a broken library.
8306 allow_undefined_flag='-berok'
8307 # Determine the default libpath from the value encoded in an
8308 # empty executable.
8309 if test x$gcc_no_link = xyes; then
8310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8312 { (exit 1); exit 1; }; }
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8322 main ()
8326 return 0;
8328 _ACEOF
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8331 (eval $ac_link) 2>conftest.er1
8332 ac_status=$?
8333 grep -v '^ *+' conftest.er1 >conftest.err
8334 rm -f conftest.er1
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } &&
8338 { ac_try='test -z "$ac_c_werror_flag"
8339 || test ! -s conftest.err'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 (eval $ac_try) 2>&5
8342 ac_status=$?
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; } &&
8345 { ac_try='test -s conftest$ac_exeext'
8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 (eval $ac_try) 2>&5
8348 ac_status=$?
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; }; then
8352 lt_aix_libpath_sed='
8353 /Import File Strings/,/^$/ {
8354 /^0/ {
8355 s/^0 *\(.*\)$/\1/
8359 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8360 # Check for a 64-bit object if we didn't find anything.
8361 if test -z "$aix_libpath"; then
8362 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8364 else
8365 echo "$as_me: failed program was:" >&5
8366 sed 's/^/| /' conftest.$ac_ext >&5
8369 rm -f conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8373 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8374 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"
8375 else
8376 if test "$host_cpu" = ia64; then
8377 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8378 allow_undefined_flag="-z nodefs"
8379 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"
8380 else
8381 # Determine the default libpath from the value encoded in an
8382 # empty executable.
8383 if test x$gcc_no_link = xyes; then
8384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8386 { (exit 1); exit 1; }; }
8388 cat >conftest.$ac_ext <<_ACEOF
8389 /* confdefs.h. */
8390 _ACEOF
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8396 main ()
8400 return 0;
8402 _ACEOF
8403 rm -f conftest.$ac_objext conftest$ac_exeext
8404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8405 (eval $ac_link) 2>conftest.er1
8406 ac_status=$?
8407 grep -v '^ *+' conftest.er1 >conftest.err
8408 rm -f conftest.er1
8409 cat conftest.err >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); } &&
8412 { ac_try='test -z "$ac_c_werror_flag"
8413 || test ! -s conftest.err'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 (eval $ac_try) 2>&5
8416 ac_status=$?
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; } &&
8419 { ac_try='test -s conftest$ac_exeext'
8420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421 (eval $ac_try) 2>&5
8422 ac_status=$?
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); }; }; then
8426 lt_aix_libpath_sed='
8427 /Import File Strings/,/^$/ {
8428 /^0/ {
8429 s/^0 *\(.*\)$/\1/
8433 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8434 # Check for a 64-bit object if we didn't find anything.
8435 if test -z "$aix_libpath"; then
8436 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8438 else
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8443 rm -f conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8447 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8448 # Warning - without using the other run time loading flags,
8449 # -berok will link without error, but may produce a broken library.
8450 no_undefined_flag=' ${wl}-bernotok'
8451 allow_undefined_flag=' ${wl}-berok'
8452 # Exported symbols can be pulled into shared objects from archives
8453 whole_archive_flag_spec='$convenience'
8454 archive_cmds_need_lc=yes
8455 # This is similar to how AIX traditionally builds its shared libraries.
8456 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'
8461 amigaos*)
8462 case $host_cpu in
8463 powerpc)
8464 # see comment about AmigaOS4 .so support
8465 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8466 archive_expsym_cmds=''
8468 m68k)
8469 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)'
8470 hardcode_libdir_flag_spec='-L$libdir'
8471 hardcode_minus_L=yes
8473 esac
8476 bsdi[45]*)
8477 export_dynamic_flag_spec=-rdynamic
8480 cygwin* | mingw* | pw32* | cegcc*)
8481 # When not using gcc, we currently assume that we are using
8482 # Microsoft Visual C++.
8483 # hardcode_libdir_flag_spec is actually meaningless, as there is
8484 # no search path for DLLs.
8485 hardcode_libdir_flag_spec=' '
8486 allow_undefined_flag=unsupported
8487 # Tell ltmain to make .lib files, not .a files.
8488 libext=lib
8489 # Tell ltmain to make .dll files, not .so files.
8490 shrext_cmds=".dll"
8491 # FIXME: Setting linknames here is a bad hack.
8492 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8493 # The linker will automatically build a .lib file if we build a DLL.
8494 old_archive_from_new_cmds='true'
8495 # FIXME: Should let the user specify the lib program.
8496 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8497 fix_srcfile_path='`cygpath -w "$srcfile"`'
8498 enable_shared_with_static_runtimes=yes
8501 darwin* | rhapsody*)
8504 archive_cmds_need_lc=no
8505 hardcode_direct=no
8506 hardcode_automatic=yes
8507 hardcode_shlibpath_var=unsupported
8508 whole_archive_flag_spec=''
8509 link_all_deplibs=yes
8510 allow_undefined_flag="$_lt_dar_allow_undefined"
8511 case $cc_basename in
8512 ifort*) _lt_dar_can_shared=yes ;;
8513 *) _lt_dar_can_shared=$GCC ;;
8514 esac
8515 if test "$_lt_dar_can_shared" = "yes"; then
8516 output_verbose_link_cmd=echo
8517 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8518 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8519 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8520 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8522 else
8523 ld_shlibs=no
8528 dgux*)
8529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8530 hardcode_libdir_flag_spec='-L$libdir'
8531 hardcode_shlibpath_var=no
8534 freebsd1*)
8535 ld_shlibs=no
8538 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8539 # support. Future versions do this automatically, but an explicit c++rt0.o
8540 # does not break anything, and helps significantly (at the cost of a little
8541 # extra space).
8542 freebsd2.2*)
8543 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8544 hardcode_libdir_flag_spec='-R$libdir'
8545 hardcode_direct=yes
8546 hardcode_shlibpath_var=no
8549 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8550 freebsd2*)
8551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8552 hardcode_direct=yes
8553 hardcode_minus_L=yes
8554 hardcode_shlibpath_var=no
8557 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8558 freebsd* | dragonfly*)
8559 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8560 hardcode_libdir_flag_spec='-R$libdir'
8561 hardcode_direct=yes
8562 hardcode_shlibpath_var=no
8565 hpux9*)
8566 if test "$GCC" = yes; then
8567 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'
8568 else
8569 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'
8571 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8572 hardcode_libdir_separator=:
8573 hardcode_direct=yes
8575 # hardcode_minus_L: Not really in the search PATH,
8576 # but as the default location of the library.
8577 hardcode_minus_L=yes
8578 export_dynamic_flag_spec='${wl}-E'
8581 hpux10*)
8582 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8583 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8584 else
8585 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8587 if test "$with_gnu_ld" = no; then
8588 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8589 hardcode_libdir_flag_spec_ld='+b $libdir'
8590 hardcode_libdir_separator=:
8591 hardcode_direct=yes
8592 hardcode_direct_absolute=yes
8593 export_dynamic_flag_spec='${wl}-E'
8594 # hardcode_minus_L: Not really in the search PATH,
8595 # but as the default location of the library.
8596 hardcode_minus_L=yes
8600 hpux11*)
8601 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8602 case $host_cpu in
8603 hppa*64*)
8604 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8606 ia64*)
8607 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8610 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8612 esac
8613 else
8614 case $host_cpu in
8615 hppa*64*)
8616 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8618 ia64*)
8619 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8622 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8624 esac
8626 if test "$with_gnu_ld" = no; then
8627 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8628 hardcode_libdir_separator=:
8630 case $host_cpu in
8631 hppa*64*|ia64*)
8632 hardcode_direct=no
8633 hardcode_shlibpath_var=no
8636 hardcode_direct=yes
8637 hardcode_direct_absolute=yes
8638 export_dynamic_flag_spec='${wl}-E'
8640 # hardcode_minus_L: Not really in the search PATH,
8641 # but as the default location of the library.
8642 hardcode_minus_L=yes
8644 esac
8648 irix5* | irix6* | nonstopux*)
8649 if test "$GCC" = yes; then
8650 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'
8651 # Try to use the -exported_symbol ld option, if it does not
8652 # work, assume that -exports_file does not work either and
8653 # implicitly export all symbols.
8654 save_LDFLAGS="$LDFLAGS"
8655 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8656 if test x$gcc_no_link = xyes; then
8657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8659 { (exit 1); exit 1; }; }
8661 cat >conftest.$ac_ext <<_ACEOF
8662 int foo(void) {}
8663 _ACEOF
8664 rm -f conftest.$ac_objext conftest$ac_exeext
8665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666 (eval $ac_link) 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try='test -z "$ac_c_werror_flag"
8674 || test ! -s conftest.err'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 (eval $ac_try) 2>&5
8677 ac_status=$?
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 (eval $ac_try) 2>&5
8683 ac_status=$?
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 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'
8688 else
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8693 rm -f conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 LDFLAGS="$save_LDFLAGS"
8696 else
8697 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'
8698 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'
8700 archive_cmds_need_lc='no'
8701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8702 hardcode_libdir_separator=:
8703 inherit_rpath=yes
8704 link_all_deplibs=yes
8707 netbsd*)
8708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8709 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8710 else
8711 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8713 hardcode_libdir_flag_spec='-R$libdir'
8714 hardcode_direct=yes
8715 hardcode_shlibpath_var=no
8718 newsos6)
8719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8720 hardcode_direct=yes
8721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8722 hardcode_libdir_separator=:
8723 hardcode_shlibpath_var=no
8726 *nto* | *qnx*)
8729 openbsd*)
8730 if test -f /usr/libexec/ld.so; then
8731 hardcode_direct=yes
8732 hardcode_shlibpath_var=no
8733 hardcode_direct_absolute=yes
8734 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8735 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8736 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8737 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8738 export_dynamic_flag_spec='${wl}-E'
8739 else
8740 case $host_os in
8741 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8742 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 hardcode_libdir_flag_spec='-R$libdir'
8746 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8747 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8749 esac
8751 else
8752 ld_shlibs=no
8756 os2*)
8757 hardcode_libdir_flag_spec='-L$libdir'
8758 hardcode_minus_L=yes
8759 allow_undefined_flag=unsupported
8760 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'
8761 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8764 osf3*)
8765 if test "$GCC" = yes; then
8766 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8767 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'
8768 else
8769 allow_undefined_flag=' -expect_unresolved \*'
8770 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'
8772 archive_cmds_need_lc='no'
8773 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8774 hardcode_libdir_separator=:
8777 osf4* | osf5*) # as osf3* with the addition of -msym flag
8778 if test "$GCC" = yes; then
8779 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8780 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'
8781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8782 else
8783 allow_undefined_flag=' -expect_unresolved \*'
8784 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'
8785 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~
8786 $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'
8788 # Both c and cxx compiler support -rpath directly
8789 hardcode_libdir_flag_spec='-rpath $libdir'
8791 archive_cmds_need_lc='no'
8792 hardcode_libdir_separator=:
8795 solaris*)
8796 no_undefined_flag=' -z defs'
8797 if test "$GCC" = yes; then
8798 wlarc='${wl}'
8799 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8800 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8801 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8802 else
8803 case `$CC -V 2>&1` in
8804 *"Compilers 5.0"*)
8805 wlarc=''
8806 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8808 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8811 wlarc='${wl}'
8812 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8814 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8816 esac
8818 hardcode_libdir_flag_spec='-R$libdir'
8819 hardcode_shlibpath_var=no
8820 case $host_os in
8821 solaris2.[0-5] | solaris2.[0-5].*) ;;
8823 # The compiler driver will combine and reorder linker options,
8824 # but understands `-z linker_flag'. GCC discards it without `$wl',
8825 # but is careful enough not to reorder.
8826 # Supported since Solaris 2.6 (maybe 2.5.1?)
8827 if test "$GCC" = yes; then
8828 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8829 else
8830 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8833 esac
8834 link_all_deplibs=yes
8837 sunos4*)
8838 if test "x$host_vendor" = xsequent; then
8839 # Use $CC to link under sequent, because it throws in some extra .o
8840 # files that make .init and .fini sections work.
8841 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8842 else
8843 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_direct=yes
8847 hardcode_minus_L=yes
8848 hardcode_shlibpath_var=no
8851 sysv4)
8852 case $host_vendor in
8853 sni)
8854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855 hardcode_direct=yes # is this really true???
8857 siemens)
8858 ## LD is ld it makes a PLAMLIB
8859 ## CC just makes a GrossModule.
8860 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8861 reload_cmds='$CC -r -o $output$reload_objs'
8862 hardcode_direct=no
8864 motorola)
8865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8866 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8868 esac
8869 runpath_var='LD_RUN_PATH'
8870 hardcode_shlibpath_var=no
8873 sysv4.3*)
8874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8875 hardcode_shlibpath_var=no
8876 export_dynamic_flag_spec='-Bexport'
8879 sysv4*MP*)
8880 if test -d /usr/nec; then
8881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8882 hardcode_shlibpath_var=no
8883 runpath_var=LD_RUN_PATH
8884 hardcode_runpath_var=yes
8885 ld_shlibs=yes
8889 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8890 no_undefined_flag='${wl}-z,text'
8891 archive_cmds_need_lc=no
8892 hardcode_shlibpath_var=no
8893 runpath_var='LD_RUN_PATH'
8895 if test "$GCC" = yes; then
8896 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8897 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8898 else
8899 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8900 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8904 sysv5* | sco3.2v5* | sco5v6*)
8905 # Note: We can NOT use -z defs as we might desire, because we do not
8906 # link with -lc, and that would cause any symbols used from libc to
8907 # always be unresolved, which means just about no library would
8908 # ever link correctly. If we're not using GNU ld we use -z text
8909 # though, which does catch some bad symbols but isn't as heavy-handed
8910 # as -z defs.
8911 no_undefined_flag='${wl}-z,text'
8912 allow_undefined_flag='${wl}-z,nodefs'
8913 archive_cmds_need_lc=no
8914 hardcode_shlibpath_var=no
8915 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8916 hardcode_libdir_separator=':'
8917 link_all_deplibs=yes
8918 export_dynamic_flag_spec='${wl}-Bexport'
8919 runpath_var='LD_RUN_PATH'
8921 if test "$GCC" = yes; then
8922 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8923 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8924 else
8925 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8926 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8930 uts4*)
8931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8932 hardcode_libdir_flag_spec='-L$libdir'
8933 hardcode_shlibpath_var=no
8937 ld_shlibs=no
8939 esac
8941 if test x$host_vendor = xsni; then
8942 case $host in
8943 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8944 export_dynamic_flag_spec='${wl}-Blargedynsym'
8946 esac
8950 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8951 echo "${ECHO_T}$ld_shlibs" >&6
8952 test "$ld_shlibs" = no && can_build_shared=no
8954 with_gnu_ld=$with_gnu_ld
8971 # Do we need to explicitly link libc?
8973 case "x$archive_cmds_need_lc" in
8974 x|xyes)
8975 # Assume -lc should be added
8976 archive_cmds_need_lc=yes
8978 if test "$enable_shared" = yes && test "$GCC" = yes; then
8979 case $archive_cmds in
8980 *'~'*)
8981 # FIXME: we may have to deal with multi-command sequences.
8983 '$CC '*)
8984 # Test whether the compiler implicitly links with -lc since on some
8985 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8986 # to ld, don't add -lc before -lgcc.
8987 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8988 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8989 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 else
8992 $RM conftest*
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8996 (eval $ac_compile) 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); } 2>conftest.err; then
9000 soname=conftest
9001 lib=conftest
9002 libobjs=conftest.$ac_objext
9003 deplibs=
9004 wl=$lt_prog_compiler_wl
9005 pic_flag=$lt_prog_compiler_pic
9006 compiler_flags=-v
9007 linker_flags=-v
9008 verstring=
9009 output_objdir=.
9010 libname=conftest
9011 lt_save_allow_undefined_flag=$allow_undefined_flag
9012 allow_undefined_flag=
9013 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9014 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9015 ac_status=$?
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }
9018 then
9019 lt_cv_archive_cmds_need_lc=no
9020 else
9021 lt_cv_archive_cmds_need_lc=yes
9023 allow_undefined_flag=$lt_save_allow_undefined_flag
9024 else
9025 cat conftest.err 1>&5
9027 $RM conftest*
9030 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9031 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9032 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9034 esac
9037 esac
9195 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9196 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9198 if test "$GCC" = yes; then
9199 case $host_os in
9200 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9201 *) lt_awk_arg="/^libraries:/" ;;
9202 esac
9203 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9204 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9205 # if the path contains ";" then we assume it to be the separator
9206 # otherwise default to the standard path separator (i.e. ":") - it is
9207 # assumed that no part of a normal pathname contains ";" but that should
9208 # okay in the real world where ";" in dirpaths is itself problematic.
9209 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9210 else
9211 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9213 # Ok, now we have the path, separated by spaces, we can step through it
9214 # and add multilib dir if necessary.
9215 lt_tmp_lt_search_path_spec=
9216 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9217 for lt_sys_path in $lt_search_path_spec; do
9218 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9219 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9220 else
9221 test -d "$lt_sys_path" && \
9222 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9224 done
9225 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9226 BEGIN {RS=" "; FS="/|\n";} {
9227 lt_foo="";
9228 lt_count=0;
9229 for (lt_i = NF; lt_i > 0; lt_i--) {
9230 if ($lt_i != "" && $lt_i != ".") {
9231 if ($lt_i == "..") {
9232 lt_count++;
9233 } else {
9234 if (lt_count == 0) {
9235 lt_foo="/" $lt_i lt_foo;
9236 } else {
9237 lt_count--;
9242 if (lt_foo != "") { lt_freq[lt_foo]++; }
9243 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9245 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9246 else
9247 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9249 library_names_spec=
9250 libname_spec='lib$name'
9251 soname_spec=
9252 shrext_cmds=".so"
9253 postinstall_cmds=
9254 postuninstall_cmds=
9255 finish_cmds=
9256 finish_eval=
9257 shlibpath_var=
9258 shlibpath_overrides_runpath=unknown
9259 version_type=none
9260 dynamic_linker="$host_os ld.so"
9261 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9262 need_lib_prefix=unknown
9263 hardcode_into_libs=no
9265 # when you set need_version to no, make sure it does not cause -set_version
9266 # flags to be left without arguments
9267 need_version=unknown
9269 case $host_os in
9270 aix3*)
9271 version_type=linux
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9273 shlibpath_var=LIBPATH
9275 # AIX 3 has no versioning support, so we append a major version to the name.
9276 soname_spec='${libname}${release}${shared_ext}$major'
9279 aix[4-9]*)
9280 version_type=linux
9281 need_lib_prefix=no
9282 need_version=no
9283 hardcode_into_libs=yes
9284 if test "$host_cpu" = ia64; then
9285 # AIX 5 supports IA64
9286 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9287 shlibpath_var=LD_LIBRARY_PATH
9288 else
9289 # With GCC up to 2.95.x, collect2 would create an import file
9290 # for dependence libraries. The import file would start with
9291 # the line `#! .'. This would cause the generated library to
9292 # depend on `.', always an invalid library. This was fixed in
9293 # development snapshots of GCC prior to 3.0.
9294 case $host_os in
9295 aix4 | aix4.[01] | aix4.[01].*)
9296 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9297 echo ' yes '
9298 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9300 else
9301 can_build_shared=no
9304 esac
9305 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9306 # soname into executable. Probably we can add versioning support to
9307 # collect2, so additional links can be useful in future.
9308 if test "$aix_use_runtimelinking" = yes; then
9309 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9310 # instead of lib<name>.a to let people know that these are not
9311 # typical AIX shared libraries.
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9313 else
9314 # We preserve .a as extension for shared libraries through AIX4.2
9315 # and later when we are not doing run time linking.
9316 library_names_spec='${libname}${release}.a $libname.a'
9317 soname_spec='${libname}${release}${shared_ext}$major'
9319 shlibpath_var=LIBPATH
9323 amigaos*)
9324 case $host_cpu in
9325 powerpc)
9326 # Since July 2007 AmigaOS4 officially supports .so libraries.
9327 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9330 m68k)
9331 library_names_spec='$libname.ixlibrary $libname.a'
9332 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9333 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'
9335 esac
9338 beos*)
9339 library_names_spec='${libname}${shared_ext}'
9340 dynamic_linker="$host_os ld.so"
9341 shlibpath_var=LIBRARY_PATH
9344 bsdi[45]*)
9345 version_type=linux
9346 need_version=no
9347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9348 soname_spec='${libname}${release}${shared_ext}$major'
9349 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9350 shlibpath_var=LD_LIBRARY_PATH
9351 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9352 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9353 # the default ld.so.conf also contains /usr/contrib/lib and
9354 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9355 # libtool to hard-code these into programs
9358 cygwin* | mingw* | pw32* | cegcc*)
9359 version_type=windows
9360 shrext_cmds=".dll"
9361 need_version=no
9362 need_lib_prefix=no
9364 case $GCC,$host_os in
9365 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9366 library_names_spec='$libname.dll.a'
9367 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9368 postinstall_cmds='base_file=`basename \${file}`~
9369 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9370 dldir=$destdir/`dirname \$dlpath`~
9371 test -d \$dldir || mkdir -p \$dldir~
9372 $install_prog $dir/$dlname \$dldir/$dlname~
9373 chmod a+x \$dldir/$dlname~
9374 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9375 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9377 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9378 dlpath=$dir/\$dldll~
9379 $RM \$dlpath'
9380 shlibpath_overrides_runpath=yes
9382 case $host_os in
9383 cygwin*)
9384 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9385 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9386 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9388 mingw* | cegcc*)
9389 # MinGW DLLs use traditional 'lib' prefix
9390 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9391 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9392 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9393 # It is most probably a Windows format PATH printed by
9394 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9395 # path with ; separators, and with drive letters. We can handle the
9396 # drive letters (cygwin fileutils understands them), so leave them,
9397 # especially as we might pass files found there to a mingw objdump,
9398 # which wouldn't understand a cygwinified path. Ahh.
9399 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9400 else
9401 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9404 pw32*)
9405 # pw32 DLLs use 'pw' prefix rather than 'lib'
9406 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9408 esac
9412 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9414 esac
9415 dynamic_linker='Win32 ld.exe'
9416 # FIXME: first we should search . and the directory the executable is in
9417 shlibpath_var=PATH
9420 darwin* | rhapsody*)
9421 dynamic_linker="$host_os dyld"
9422 version_type=darwin
9423 need_lib_prefix=no
9424 need_version=no
9425 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9426 soname_spec='${libname}${release}${major}$shared_ext'
9427 shlibpath_overrides_runpath=yes
9428 shlibpath_var=DYLD_LIBRARY_PATH
9429 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9431 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9432 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9435 dgux*)
9436 version_type=linux
9437 need_lib_prefix=no
9438 need_version=no
9439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9440 soname_spec='${libname}${release}${shared_ext}$major'
9441 shlibpath_var=LD_LIBRARY_PATH
9444 freebsd1*)
9445 dynamic_linker=no
9448 freebsd* | dragonfly*)
9449 # DragonFly does not have aout. When/if they implement a new
9450 # versioning mechanism, adjust this.
9451 if test -x /usr/bin/objformat; then
9452 objformat=`/usr/bin/objformat`
9453 else
9454 case $host_os in
9455 freebsd[123]*) objformat=aout ;;
9456 *) objformat=elf ;;
9457 esac
9459 version_type=freebsd-$objformat
9460 case $version_type in
9461 freebsd-elf*)
9462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9463 need_version=no
9464 need_lib_prefix=no
9466 freebsd-*)
9467 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9468 need_version=yes
9470 esac
9471 shlibpath_var=LD_LIBRARY_PATH
9472 case $host_os in
9473 freebsd2*)
9474 shlibpath_overrides_runpath=yes
9476 freebsd3.[01]* | freebsdelf3.[01]*)
9477 shlibpath_overrides_runpath=yes
9478 hardcode_into_libs=yes
9480 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9481 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9482 shlibpath_overrides_runpath=no
9483 hardcode_into_libs=yes
9485 *) # from 4.6 on, and DragonFly
9486 shlibpath_overrides_runpath=yes
9487 hardcode_into_libs=yes
9489 esac
9492 gnu*)
9493 version_type=linux
9494 need_lib_prefix=no
9495 need_version=no
9496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9497 soname_spec='${libname}${release}${shared_ext}$major'
9498 shlibpath_var=LD_LIBRARY_PATH
9499 hardcode_into_libs=yes
9502 hpux9* | hpux10* | hpux11*)
9503 # Give a soname corresponding to the major version so that dld.sl refuses to
9504 # link against other versions.
9505 version_type=sunos
9506 need_lib_prefix=no
9507 need_version=no
9508 case $host_cpu in
9509 ia64*)
9510 shrext_cmds='.so'
9511 hardcode_into_libs=yes
9512 dynamic_linker="$host_os dld.so"
9513 shlibpath_var=LD_LIBRARY_PATH
9514 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9516 soname_spec='${libname}${release}${shared_ext}$major'
9517 if test "X$HPUX_IA64_MODE" = X32; then
9518 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9519 else
9520 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9524 hppa*64*)
9525 shrext_cmds='.sl'
9526 hardcode_into_libs=yes
9527 dynamic_linker="$host_os dld.sl"
9528 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9529 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9531 soname_spec='${libname}${release}${shared_ext}$major'
9532 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9536 shrext_cmds='.sl'
9537 dynamic_linker="$host_os dld.sl"
9538 shlibpath_var=SHLIB_PATH
9539 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 soname_spec='${libname}${release}${shared_ext}$major'
9543 esac
9544 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9545 postinstall_cmds='chmod 555 $lib'
9548 interix[3-9]*)
9549 version_type=linux
9550 need_lib_prefix=no
9551 need_version=no
9552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9553 soname_spec='${libname}${release}${shared_ext}$major'
9554 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9555 shlibpath_var=LD_LIBRARY_PATH
9556 shlibpath_overrides_runpath=no
9557 hardcode_into_libs=yes
9560 irix5* | irix6* | nonstopux*)
9561 case $host_os in
9562 nonstopux*) version_type=nonstopux ;;
9564 if test "$lt_cv_prog_gnu_ld" = yes; then
9565 version_type=linux
9566 else
9567 version_type=irix
9568 fi ;;
9569 esac
9570 need_lib_prefix=no
9571 need_version=no
9572 soname_spec='${libname}${release}${shared_ext}$major'
9573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9574 case $host_os in
9575 irix5* | nonstopux*)
9576 libsuff= shlibsuff=
9579 case $LD in # libtool.m4 will add one of these switches to LD
9580 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9581 libsuff= shlibsuff= libmagic=32-bit;;
9582 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9583 libsuff=32 shlibsuff=N32 libmagic=N32;;
9584 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9585 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9586 *) libsuff= shlibsuff= libmagic=never-match;;
9587 esac
9589 esac
9590 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9591 shlibpath_overrides_runpath=no
9592 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9593 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9594 hardcode_into_libs=yes
9597 # No shared lib support for Linux oldld, aout, or coff.
9598 linux*oldld* | linux*aout* | linux*coff*)
9599 dynamic_linker=no
9602 # This must be Linux ELF.
9603 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9604 version_type=linux
9605 need_lib_prefix=no
9606 need_version=no
9607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9608 soname_spec='${libname}${release}${shared_ext}$major'
9609 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9610 shlibpath_var=LD_LIBRARY_PATH
9611 shlibpath_overrides_runpath=no
9613 # Some binutils ld are patched to set DT_RUNPATH
9614 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617 lt_cv_shlibpath_overrides_runpath=no
9618 save_LDFLAGS=$LDFLAGS
9619 save_libdir=$libdir
9620 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9621 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9622 if test x$gcc_no_link = xyes; then
9623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9625 { (exit 1); exit 1; }; }
9627 cat >conftest.$ac_ext <<_ACEOF
9628 /* confdefs.h. */
9629 _ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9635 main ()
9639 return 0;
9641 _ACEOF
9642 rm -f conftest.$ac_objext conftest$ac_exeext
9643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9644 (eval $ac_link) 2>conftest.er1
9645 ac_status=$?
9646 grep -v '^ *+' conftest.er1 >conftest.err
9647 rm -f conftest.er1
9648 cat conftest.err >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); } &&
9651 { ac_try='test -z "$ac_c_werror_flag"
9652 || test ! -s conftest.err'
9653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 (eval $ac_try) 2>&5
9655 ac_status=$?
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; } &&
9658 { ac_try='test -s conftest$ac_exeext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9660 (eval $ac_try) 2>&5
9661 ac_status=$?
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9665 lt_cv_shlibpath_overrides_runpath=yes
9668 else
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9673 rm -f conftest.err conftest.$ac_objext \
9674 conftest$ac_exeext conftest.$ac_ext
9675 LDFLAGS=$save_LDFLAGS
9676 libdir=$save_libdir
9680 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9682 # This implies no fast_install, which is unacceptable.
9683 # Some rework will be needed to allow for fast_install
9684 # before this can be enabled.
9685 hardcode_into_libs=yes
9687 # Append ld.so.conf contents to the search path
9688 if test -f /etc/ld.so.conf; then
9689 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9690 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9693 # We used to test for /lib/ld.so.1 and disable shared libraries on
9694 # powerpc, because MkLinux only supported shared libraries with the
9695 # GNU dynamic linker. Since this was broken with cross compilers,
9696 # most powerpc-linux boxes support dynamic linking these days and
9697 # people can always --disable-shared, the test was removed, and we
9698 # assume the GNU/Linux dynamic linker is in use.
9699 dynamic_linker='GNU/Linux ld.so'
9702 netbsd*)
9703 version_type=sunos
9704 need_lib_prefix=no
9705 need_version=no
9706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9709 dynamic_linker='NetBSD (a.out) ld.so'
9710 else
9711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9712 soname_spec='${libname}${release}${shared_ext}$major'
9713 dynamic_linker='NetBSD ld.elf_so'
9715 shlibpath_var=LD_LIBRARY_PATH
9716 shlibpath_overrides_runpath=yes
9717 hardcode_into_libs=yes
9720 newsos6)
9721 version_type=linux
9722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath=yes
9727 *nto* | *qnx*)
9728 version_type=qnx
9729 need_lib_prefix=no
9730 need_version=no
9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 soname_spec='${libname}${release}${shared_ext}$major'
9733 shlibpath_var=LD_LIBRARY_PATH
9734 shlibpath_overrides_runpath=no
9735 hardcode_into_libs=yes
9736 dynamic_linker='ldqnx.so'
9739 openbsd*)
9740 version_type=sunos
9741 sys_lib_dlsearch_path_spec="/usr/lib"
9742 need_lib_prefix=no
9743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9744 case $host_os in
9745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9746 *) need_version=no ;;
9747 esac
9748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9750 shlibpath_var=LD_LIBRARY_PATH
9751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9752 case $host_os in
9753 openbsd2.[89] | openbsd2.[89].*)
9754 shlibpath_overrides_runpath=no
9757 shlibpath_overrides_runpath=yes
9759 esac
9760 else
9761 shlibpath_overrides_runpath=yes
9765 os2*)
9766 libname_spec='$name'
9767 shrext_cmds=".dll"
9768 need_lib_prefix=no
9769 library_names_spec='$libname${shared_ext} $libname.a'
9770 dynamic_linker='OS/2 ld.exe'
9771 shlibpath_var=LIBPATH
9774 osf3* | osf4* | osf5*)
9775 version_type=osf
9776 need_lib_prefix=no
9777 need_version=no
9778 soname_spec='${libname}${release}${shared_ext}$major'
9779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 shlibpath_var=LD_LIBRARY_PATH
9781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9785 rdos*)
9786 dynamic_linker=no
9789 solaris*)
9790 version_type=linux
9791 need_lib_prefix=no
9792 need_version=no
9793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec='${libname}${release}${shared_ext}$major'
9795 shlibpath_var=LD_LIBRARY_PATH
9796 shlibpath_overrides_runpath=yes
9797 hardcode_into_libs=yes
9798 # ldd complains unless libraries are executable
9799 postinstall_cmds='chmod +x $lib'
9802 sunos4*)
9803 version_type=sunos
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9806 shlibpath_var=LD_LIBRARY_PATH
9807 shlibpath_overrides_runpath=yes
9808 if test "$with_gnu_ld" = yes; then
9809 need_lib_prefix=no
9811 need_version=yes
9814 sysv4 | sysv4.3*)
9815 version_type=linux
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9818 shlibpath_var=LD_LIBRARY_PATH
9819 case $host_vendor in
9820 sni)
9821 shlibpath_overrides_runpath=no
9822 need_lib_prefix=no
9823 runpath_var=LD_RUN_PATH
9825 siemens)
9826 need_lib_prefix=no
9828 motorola)
9829 need_lib_prefix=no
9830 need_version=no
9831 shlibpath_overrides_runpath=no
9832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9834 esac
9837 sysv4*MP*)
9838 if test -d /usr/nec ;then
9839 version_type=linux
9840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9841 soname_spec='$libname${shared_ext}.$major'
9842 shlibpath_var=LD_LIBRARY_PATH
9846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9847 version_type=freebsd-elf
9848 need_lib_prefix=no
9849 need_version=no
9850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9851 soname_spec='${libname}${release}${shared_ext}$major'
9852 shlibpath_var=LD_LIBRARY_PATH
9853 shlibpath_overrides_runpath=yes
9854 hardcode_into_libs=yes
9855 if test "$with_gnu_ld" = yes; then
9856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9857 else
9858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9859 case $host_os in
9860 sco3.2v5*)
9861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9863 esac
9865 sys_lib_dlsearch_path_spec='/usr/lib'
9868 tpf*)
9869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9870 version_type=linux
9871 need_lib_prefix=no
9872 need_version=no
9873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9874 shlibpath_var=LD_LIBRARY_PATH
9875 shlibpath_overrides_runpath=no
9876 hardcode_into_libs=yes
9879 uts4*)
9880 version_type=linux
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9882 soname_spec='${libname}${release}${shared_ext}$major'
9883 shlibpath_var=LD_LIBRARY_PATH
9887 dynamic_linker=no
9889 esac
9890 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9891 echo "${ECHO_T}$dynamic_linker" >&6
9892 test "$dynamic_linker" = no && can_build_shared=no
9894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9895 if test "$GCC" = yes; then
9896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9992 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9993 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9994 hardcode_action=
9995 if test -n "$hardcode_libdir_flag_spec" ||
9996 test -n "$runpath_var" ||
9997 test "X$hardcode_automatic" = "Xyes" ; then
9999 # We can hardcode non-existent directories.
10000 if test "$hardcode_direct" != no &&
10001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10002 # have to relink, otherwise we might link with an installed library
10003 # when we should be linking with a yet-to-be-installed one
10004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10005 test "$hardcode_minus_L" != no; then
10006 # Linking always hardcodes the temporary library directory.
10007 hardcode_action=relink
10008 else
10009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10010 hardcode_action=immediate
10012 else
10013 # We cannot hardcode anything, or else we can only hardcode existing
10014 # directories.
10015 hardcode_action=unsupported
10017 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10018 echo "${ECHO_T}$hardcode_action" >&6
10020 if test "$hardcode_action" = relink ||
10021 test "$inherit_rpath" = yes; then
10022 # Fast installation is not supported
10023 enable_fast_install=no
10024 elif test "$shlibpath_overrides_runpath" = yes ||
10025 test "$enable_shared" = no; then
10026 # Fast installation is not necessary
10027 enable_fast_install=needless
10035 if test "x$enable_dlopen" != xyes; then
10036 enable_dlopen=unknown
10037 enable_dlopen_self=unknown
10038 enable_dlopen_self_static=unknown
10039 else
10040 lt_cv_dlopen=no
10041 lt_cv_dlopen_libs=
10043 case $host_os in
10044 beos*)
10045 lt_cv_dlopen="load_add_on"
10046 lt_cv_dlopen_libs=
10047 lt_cv_dlopen_self=yes
10050 mingw* | pw32* | cegcc*)
10051 lt_cv_dlopen="LoadLibrary"
10052 lt_cv_dlopen_libs=
10055 cygwin*)
10056 lt_cv_dlopen="dlopen"
10057 lt_cv_dlopen_libs=
10060 darwin*)
10061 # if libdl is installed we need to link against it
10062 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10063 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-ldl $LIBS"
10069 if test x$gcc_no_link = xyes; then
10070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10072 { (exit 1); exit 1; }; }
10074 cat >conftest.$ac_ext <<_ACEOF
10075 /* confdefs.h. */
10076 _ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10081 /* Override any gcc2 internal prototype to avoid an error. */
10082 #ifdef __cplusplus
10083 extern "C"
10084 #endif
10085 /* We use char because int might match the return type of a gcc2
10086 builtin and then its argument prototype would still apply. */
10087 char dlopen ();
10089 main ()
10091 dlopen ();
10093 return 0;
10095 _ACEOF
10096 rm -f conftest.$ac_objext conftest$ac_exeext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10098 (eval $ac_link) 2>conftest.er1
10099 ac_status=$?
10100 grep -v '^ *+' conftest.er1 >conftest.err
10101 rm -f conftest.er1
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try='test -z "$ac_c_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10109 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try='test -s conftest$ac_exeext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10115 ac_status=$?
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 ac_cv_lib_dl_dlopen=yes
10119 else
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.$ac_ext >&5
10123 ac_cv_lib_dl_dlopen=no
10125 rm -f conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10127 LIBS=$ac_check_lib_save_LIBS
10129 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10130 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10131 if test $ac_cv_lib_dl_dlopen = yes; then
10132 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10133 else
10135 lt_cv_dlopen="dyld"
10136 lt_cv_dlopen_libs=
10137 lt_cv_dlopen_self=yes
10144 echo "$as_me:$LINENO: checking for shl_load" >&5
10145 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10146 if test "${ac_cv_func_shl_load+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 else
10149 if test x$gcc_no_link = xyes; then
10150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10152 { (exit 1); exit 1; }; }
10154 cat >conftest.$ac_ext <<_ACEOF
10155 /* confdefs.h. */
10156 _ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10162 #define shl_load innocuous_shl_load
10164 /* System header to define __stub macros and hopefully few prototypes,
10165 which can conflict with char shl_load (); below.
10166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10167 <limits.h> exists even on freestanding compilers. */
10169 #ifdef __STDC__
10170 # include <limits.h>
10171 #else
10172 # include <assert.h>
10173 #endif
10175 #undef shl_load
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 #ifdef __cplusplus
10179 extern "C"
10181 #endif
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10184 char shl_load ();
10185 /* The GNU C library defines this for functions which it implements
10186 to always fail with ENOSYS. Some functions are actually named
10187 something starting with __ and the normal name is an alias. */
10188 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10189 choke me
10190 #else
10191 char (*f) () = shl_load;
10192 #endif
10193 #ifdef __cplusplus
10195 #endif
10198 main ()
10200 return f != shl_load;
10202 return 0;
10204 _ACEOF
10205 rm -f conftest.$ac_objext conftest$ac_exeext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10207 (eval $ac_link) 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -z "$ac_c_werror_flag"
10215 || test ! -s conftest.err'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10218 ac_status=$?
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; } &&
10221 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10224 ac_status=$?
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 ac_cv_func_shl_load=yes
10228 else
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10232 ac_cv_func_shl_load=no
10234 rm -f conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10237 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10238 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10239 if test $ac_cv_func_shl_load = yes; then
10240 lt_cv_dlopen="shl_load"
10241 else
10242 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10243 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10244 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10245 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 else
10247 ac_check_lib_save_LIBS=$LIBS
10248 LIBS="-ldld $LIBS"
10249 if test x$gcc_no_link = xyes; then
10250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10252 { (exit 1); exit 1; }; }
10254 cat >conftest.$ac_ext <<_ACEOF
10255 /* confdefs.h. */
10256 _ACEOF
10257 cat confdefs.h >>conftest.$ac_ext
10258 cat >>conftest.$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10261 /* Override any gcc2 internal prototype to avoid an error. */
10262 #ifdef __cplusplus
10263 extern "C"
10264 #endif
10265 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10267 char shl_load ();
10269 main ()
10271 shl_load ();
10273 return 0;
10275 _ACEOF
10276 rm -f conftest.$ac_objext conftest$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278 (eval $ac_link) 2>conftest.er1
10279 ac_status=$?
10280 grep -v '^ *+' conftest.er1 >conftest.err
10281 rm -f conftest.er1
10282 cat conftest.err >&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); } &&
10285 { ac_try='test -z "$ac_c_werror_flag"
10286 || test ! -s conftest.err'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10289 ac_status=$?
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; } &&
10292 { ac_try='test -s conftest$ac_exeext'
10293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5
10295 ac_status=$?
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then
10298 ac_cv_lib_dld_shl_load=yes
10299 else
10300 echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.$ac_ext >&5
10303 ac_cv_lib_dld_shl_load=no
10305 rm -f conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10310 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10311 if test $ac_cv_lib_dld_shl_load = yes; then
10312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10313 else
10314 echo "$as_me:$LINENO: checking for dlopen" >&5
10315 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10316 if test "${ac_cv_func_dlopen+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 else
10319 if test x$gcc_no_link = xyes; then
10320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10322 { (exit 1); exit 1; }; }
10324 cat >conftest.$ac_ext <<_ACEOF
10325 /* confdefs.h. */
10326 _ACEOF
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h. */
10330 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10332 #define dlopen innocuous_dlopen
10334 /* System header to define __stub macros and hopefully few prototypes,
10335 which can conflict with char dlopen (); below.
10336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10337 <limits.h> exists even on freestanding compilers. */
10339 #ifdef __STDC__
10340 # include <limits.h>
10341 #else
10342 # include <assert.h>
10343 #endif
10345 #undef dlopen
10347 /* Override any gcc2 internal prototype to avoid an error. */
10348 #ifdef __cplusplus
10349 extern "C"
10351 #endif
10352 /* We use char because int might match the return type of a gcc2
10353 builtin and then its argument prototype would still apply. */
10354 char dlopen ();
10355 /* The GNU C library defines this for functions which it implements
10356 to always fail with ENOSYS. Some functions are actually named
10357 something starting with __ and the normal name is an alias. */
10358 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10359 choke me
10360 #else
10361 char (*f) () = dlopen;
10362 #endif
10363 #ifdef __cplusplus
10365 #endif
10368 main ()
10370 return f != dlopen;
10372 return 0;
10374 _ACEOF
10375 rm -f conftest.$ac_objext conftest$ac_exeext
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>conftest.er1
10378 ac_status=$?
10379 grep -v '^ *+' conftest.er1 >conftest.err
10380 rm -f conftest.er1
10381 cat conftest.err >&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } &&
10384 { ac_try='test -z "$ac_c_werror_flag"
10385 || test ! -s conftest.err'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10388 ac_status=$?
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; } &&
10391 { ac_try='test -s conftest$ac_exeext'
10392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393 (eval $ac_try) 2>&5
10394 ac_status=$?
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); }; }; then
10397 ac_cv_func_dlopen=yes
10398 else
10399 echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10402 ac_cv_func_dlopen=no
10404 rm -f conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10407 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10408 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10409 if test $ac_cv_func_dlopen = yes; then
10410 lt_cv_dlopen="dlopen"
10411 else
10412 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 else
10417 ac_check_lib_save_LIBS=$LIBS
10418 LIBS="-ldl $LIBS"
10419 if test x$gcc_no_link = xyes; then
10420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10422 { (exit 1); exit 1; }; }
10424 cat >conftest.$ac_ext <<_ACEOF
10425 /* confdefs.h. */
10426 _ACEOF
10427 cat confdefs.h >>conftest.$ac_ext
10428 cat >>conftest.$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any gcc2 internal prototype to avoid an error. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 /* We use char because int might match the return type of a gcc2
10436 builtin and then its argument prototype would still apply. */
10437 char dlopen ();
10439 main ()
10441 dlopen ();
10443 return 0;
10445 _ACEOF
10446 rm -f conftest.$ac_objext conftest$ac_exeext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10448 (eval $ac_link) 2>conftest.er1
10449 ac_status=$?
10450 grep -v '^ *+' conftest.er1 >conftest.err
10451 rm -f conftest.er1
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10459 ac_status=$?
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try='test -s conftest$ac_exeext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 ac_cv_lib_dl_dlopen=yes
10469 else
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.$ac_ext >&5
10473 ac_cv_lib_dl_dlopen=no
10475 rm -f conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_lib_save_LIBS
10479 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10480 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10481 if test $ac_cv_lib_dl_dlopen = yes; then
10482 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10483 else
10484 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10485 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10486 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 else
10489 ac_check_lib_save_LIBS=$LIBS
10490 LIBS="-lsvld $LIBS"
10491 if test x$gcc_no_link = xyes; then
10492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10494 { (exit 1); exit 1; }; }
10496 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h. */
10498 _ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10503 /* Override any gcc2 internal prototype to avoid an error. */
10504 #ifdef __cplusplus
10505 extern "C"
10506 #endif
10507 /* We use char because int might match the return type of a gcc2
10508 builtin and then its argument prototype would still apply. */
10509 char dlopen ();
10511 main ()
10513 dlopen ();
10515 return 0;
10517 _ACEOF
10518 rm -f conftest.$ac_objext conftest$ac_exeext
10519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10520 (eval $ac_link) 2>conftest.er1
10521 ac_status=$?
10522 grep -v '^ *+' conftest.er1 >conftest.err
10523 rm -f conftest.er1
10524 cat conftest.err >&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } &&
10527 { ac_try='test -z "$ac_c_werror_flag"
10528 || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try='test -s conftest$ac_exeext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_lib_svld_dlopen=yes
10541 else
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 ac_cv_lib_svld_dlopen=no
10547 rm -f conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10552 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10553 if test $ac_cv_lib_svld_dlopen = yes; then
10554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10555 else
10556 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10557 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10558 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10559 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 else
10561 ac_check_lib_save_LIBS=$LIBS
10562 LIBS="-ldld $LIBS"
10563 if test x$gcc_no_link = xyes; then
10564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10566 { (exit 1); exit 1; }; }
10568 cat >conftest.$ac_ext <<_ACEOF
10569 /* confdefs.h. */
10570 _ACEOF
10571 cat confdefs.h >>conftest.$ac_ext
10572 cat >>conftest.$ac_ext <<_ACEOF
10573 /* end confdefs.h. */
10575 /* Override any gcc2 internal prototype to avoid an error. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */
10581 char dld_link ();
10583 main ()
10585 dld_link ();
10587 return 0;
10589 _ACEOF
10590 rm -f conftest.$ac_objext conftest$ac_exeext
10591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10592 (eval $ac_link) 2>conftest.er1
10593 ac_status=$?
10594 grep -v '^ *+' conftest.er1 >conftest.err
10595 rm -f conftest.er1
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag"
10600 || test ! -s conftest.err'
10601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602 (eval $ac_try) 2>&5
10603 ac_status=$?
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); }; } &&
10606 { ac_try='test -s conftest$ac_exeext'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10609 ac_status=$?
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then
10612 ac_cv_lib_dld_dld_link=yes
10613 else
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10617 ac_cv_lib_dld_dld_link=no
10619 rm -f conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_lib_save_LIBS
10623 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10624 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10625 if test $ac_cv_lib_dld_dld_link = yes; then
10626 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10645 esac
10647 if test "x$lt_cv_dlopen" != xno; then
10648 enable_dlopen=yes
10649 else
10650 enable_dlopen=no
10653 case $lt_cv_dlopen in
10654 dlopen)
10655 save_CPPFLAGS="$CPPFLAGS"
10656 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10658 save_LDFLAGS="$LDFLAGS"
10659 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10661 save_LIBS="$LIBS"
10662 LIBS="$lt_cv_dlopen_libs $LIBS"
10664 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10665 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10666 if test "${lt_cv_dlopen_self+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 else
10669 if test "$cross_compiling" = yes; then :
10670 lt_cv_dlopen_self=cross
10671 else
10672 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10673 lt_status=$lt_dlunknown
10674 cat > conftest.$ac_ext <<_LT_EOF
10675 #line 10675 "configure"
10676 #include "confdefs.h"
10678 #if HAVE_DLFCN_H
10679 #include <dlfcn.h>
10680 #endif
10682 #include <stdio.h>
10684 #ifdef RTLD_GLOBAL
10685 # define LT_DLGLOBAL RTLD_GLOBAL
10686 #else
10687 # ifdef DL_GLOBAL
10688 # define LT_DLGLOBAL DL_GLOBAL
10689 # else
10690 # define LT_DLGLOBAL 0
10691 # endif
10692 #endif
10694 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10695 find out it does not work in some platform. */
10696 #ifndef LT_DLLAZY_OR_NOW
10697 # ifdef RTLD_LAZY
10698 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10699 # else
10700 # ifdef DL_LAZY
10701 # define LT_DLLAZY_OR_NOW DL_LAZY
10702 # else
10703 # ifdef RTLD_NOW
10704 # define LT_DLLAZY_OR_NOW RTLD_NOW
10705 # else
10706 # ifdef DL_NOW
10707 # define LT_DLLAZY_OR_NOW DL_NOW
10708 # else
10709 # define LT_DLLAZY_OR_NOW 0
10710 # endif
10711 # endif
10712 # endif
10713 # endif
10714 #endif
10716 void fnord() { int i=42;}
10717 int main ()
10719 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10720 int status = $lt_dlunknown;
10722 if (self)
10724 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10725 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10726 /* dlclose (self); */
10728 else
10729 puts (dlerror ());
10731 return status;
10733 _LT_EOF
10734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10735 (eval $ac_link) 2>&5
10736 ac_status=$?
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10739 (./conftest; exit; ) >&5 2>/dev/null
10740 lt_status=$?
10741 case x$lt_status in
10742 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10743 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10744 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10745 esac
10746 else :
10747 # compilation failed
10748 lt_cv_dlopen_self=no
10751 rm -fr conftest*
10755 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10756 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10758 if test "x$lt_cv_dlopen_self" = xyes; then
10759 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10760 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10761 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10762 if test "${lt_cv_dlopen_self_static+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10764 else
10765 if test "$cross_compiling" = yes; then :
10766 lt_cv_dlopen_self_static=cross
10767 else
10768 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10769 lt_status=$lt_dlunknown
10770 cat > conftest.$ac_ext <<_LT_EOF
10771 #line 10771 "configure"
10772 #include "confdefs.h"
10774 #if HAVE_DLFCN_H
10775 #include <dlfcn.h>
10776 #endif
10778 #include <stdio.h>
10780 #ifdef RTLD_GLOBAL
10781 # define LT_DLGLOBAL RTLD_GLOBAL
10782 #else
10783 # ifdef DL_GLOBAL
10784 # define LT_DLGLOBAL DL_GLOBAL
10785 # else
10786 # define LT_DLGLOBAL 0
10787 # endif
10788 #endif
10790 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10791 find out it does not work in some platform. */
10792 #ifndef LT_DLLAZY_OR_NOW
10793 # ifdef RTLD_LAZY
10794 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10795 # else
10796 # ifdef DL_LAZY
10797 # define LT_DLLAZY_OR_NOW DL_LAZY
10798 # else
10799 # ifdef RTLD_NOW
10800 # define LT_DLLAZY_OR_NOW RTLD_NOW
10801 # else
10802 # ifdef DL_NOW
10803 # define LT_DLLAZY_OR_NOW DL_NOW
10804 # else
10805 # define LT_DLLAZY_OR_NOW 0
10806 # endif
10807 # endif
10808 # endif
10809 # endif
10810 #endif
10812 void fnord() { int i=42;}
10813 int main ()
10815 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10816 int status = $lt_dlunknown;
10818 if (self)
10820 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10821 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10822 /* dlclose (self); */
10824 else
10825 puts (dlerror ());
10827 return status;
10829 _LT_EOF
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>&5
10832 ac_status=$?
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10835 (./conftest; exit; ) >&5 2>/dev/null
10836 lt_status=$?
10837 case x$lt_status in
10838 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10839 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10840 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10841 esac
10842 else :
10843 # compilation failed
10844 lt_cv_dlopen_self_static=no
10847 rm -fr conftest*
10851 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10852 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10855 CPPFLAGS="$save_CPPFLAGS"
10856 LDFLAGS="$save_LDFLAGS"
10857 LIBS="$save_LIBS"
10859 esac
10861 case $lt_cv_dlopen_self in
10862 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10863 *) enable_dlopen_self=unknown ;;
10864 esac
10866 case $lt_cv_dlopen_self_static in
10867 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10868 *) enable_dlopen_self_static=unknown ;;
10869 esac
10888 striplib=
10889 old_striplib=
10890 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10891 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10892 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10893 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10894 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 # FIXME - insert some real tests, host_os isn't really good enough
10899 case $host_os in
10900 darwin*)
10901 if test -n "$STRIP" ; then
10902 striplib="$STRIP -x"
10903 old_striplib="$STRIP -S"
10904 echo "$as_me:$LINENO: result: yes" >&5
10905 echo "${ECHO_T}yes" >&6
10906 else
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10912 echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6
10915 esac
10929 # Report which library types will actually be built
10930 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10931 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10932 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10933 echo "${ECHO_T}$can_build_shared" >&6
10935 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10936 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10937 test "$can_build_shared" = "no" && enable_shared=no
10939 # On AIX, shared libraries and static libraries use the same namespace, and
10940 # are all built from PIC.
10941 case $host_os in
10942 aix3*)
10943 test "$enable_shared" = yes && enable_static=no
10944 if test -n "$RANLIB"; then
10945 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10946 postinstall_cmds='$RANLIB $lib'
10950 aix[4-9]*)
10951 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10952 test "$enable_shared" = yes && enable_static=no
10955 esac
10956 echo "$as_me:$LINENO: result: $enable_shared" >&5
10957 echo "${ECHO_T}$enable_shared" >&6
10959 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10960 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10961 # Make sure either enable_shared or enable_static is yes.
10962 test "$enable_shared" = yes || enable_static=yes
10963 echo "$as_me:$LINENO: result: $enable_static" >&5
10964 echo "${ECHO_T}$enable_static" >&6
10970 ac_ext=c
10971 ac_cpp='$CPP $CPPFLAGS'
10972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10976 CC="$lt_save_CC"
10990 ac_config_commands="$ac_config_commands libtool"
10995 # Only expand once:
11000 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11002 # We need gfortran to compile parts of the library
11003 #AC_PROG_FC(gfortran)
11004 FC="$GFORTRAN"
11005 ac_ext=${FC_SRCEXT-f}
11006 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11007 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11008 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11009 if test -n "$ac_tool_prefix"; then
11010 for ac_prog in gfortran
11012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11014 echo "$as_me:$LINENO: checking for $ac_word" >&5
11015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11016 if test "${ac_cv_prog_FC+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 if test -n "$FC"; then
11020 ac_cv_prog_FC="$FC" # Let the user override the test.
11021 else
11022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11023 for as_dir in $PATH
11025 IFS=$as_save_IFS
11026 test -z "$as_dir" && as_dir=.
11027 for ac_exec_ext in '' $ac_executable_extensions; do
11028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11029 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11031 break 2
11033 done
11034 done
11038 FC=$ac_cv_prog_FC
11039 if test -n "$FC"; then
11040 echo "$as_me:$LINENO: result: $FC" >&5
11041 echo "${ECHO_T}$FC" >&6
11042 else
11043 echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6
11047 test -n "$FC" && break
11048 done
11050 if test -z "$FC"; then
11051 ac_ct_FC=$FC
11052 for ac_prog in gfortran
11054 # Extract the first word of "$ac_prog", so it can be a program name with args.
11055 set dummy $ac_prog; ac_word=$2
11056 echo "$as_me:$LINENO: checking for $ac_word" >&5
11057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11058 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 else
11061 if test -n "$ac_ct_FC"; then
11062 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11063 else
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11067 IFS=$as_save_IFS
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_prog_ac_ct_FC="$ac_prog"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11073 break 2
11075 done
11076 done
11080 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11081 if test -n "$ac_ct_FC"; then
11082 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11083 echo "${ECHO_T}$ac_ct_FC" >&6
11084 else
11085 echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6
11089 test -n "$ac_ct_FC" && break
11090 done
11092 FC=$ac_ct_FC
11096 # Provide some information about the compiler.
11097 echo "$as_me:11097:" \
11098 "checking for Fortran compiler version" >&5
11099 ac_compiler=`set X $ac_compile; echo $2`
11100 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11101 (eval $ac_compiler --version </dev/null >&5) 2>&5
11102 ac_status=$?
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }
11105 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11106 (eval $ac_compiler -v </dev/null >&5) 2>&5
11107 ac_status=$?
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }
11110 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11111 (eval $ac_compiler -V </dev/null >&5) 2>&5
11112 ac_status=$?
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }
11115 rm -f a.out
11117 # If we don't use `.F' as extension, the preprocessor is not run on the
11118 # input file. (Note that this only needs to work for GNU compilers.)
11119 ac_save_ext=$ac_ext
11120 ac_ext=F
11121 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11122 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11123 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 program main
11128 #ifndef __GNUC__
11129 choke me
11130 #endif
11133 _ACEOF
11134 rm -f conftest.$ac_objext
11135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11136 (eval $ac_compile) 2>conftest.er1
11137 ac_status=$?
11138 grep -v '^ *+' conftest.er1 >conftest.err
11139 rm -f conftest.er1
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -z "$ac_fc_werror_flag"
11144 || test ! -s conftest.err'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; } &&
11150 { ac_try='test -s conftest.$ac_objext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11153 ac_status=$?
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_compiler_gnu=yes
11157 else
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11161 ac_compiler_gnu=no
11163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11164 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11167 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11168 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11169 ac_ext=$ac_save_ext
11170 ac_test_FFLAGS=${FCFLAGS+set}
11171 ac_save_FFLAGS=$FCFLAGS
11172 FCFLAGS=
11173 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11174 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11175 if test "${ac_cv_prog_fc_g+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 else
11178 FCFLAGS=-g
11179 cat >conftest.$ac_ext <<_ACEOF
11180 program main
11183 _ACEOF
11184 rm -f conftest.$ac_objext
11185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11186 (eval $ac_compile) 2>conftest.er1
11187 ac_status=$?
11188 grep -v '^ *+' conftest.er1 >conftest.err
11189 rm -f conftest.er1
11190 cat conftest.err >&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try='test -z "$ac_fc_werror_flag"
11194 || test ! -s conftest.err'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; } &&
11200 { ac_try='test -s conftest.$ac_objext'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5
11203 ac_status=$?
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; }; then
11206 ac_cv_prog_fc_g=yes
11207 else
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11211 ac_cv_prog_fc_g=no
11213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11216 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11217 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11218 if test "$ac_test_FFLAGS" = set; then
11219 FCFLAGS=$ac_save_FFLAGS
11220 elif test $ac_cv_prog_fc_g = yes; then
11221 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11222 FCFLAGS="-g -O2"
11223 else
11224 FCFLAGS="-g"
11226 else
11227 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11228 FCFLAGS="-O2"
11229 else
11230 FCFLAGS=
11234 ac_ext=c
11235 ac_cpp='$CPP $CPPFLAGS'
11236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11241 ac_ext=${FC_SRCEXT-f}
11242 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11243 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11244 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11245 if test -n "$ac_tool_prefix"; then
11246 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_prog_FC+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 else
11255 if test -n "$FC"; then
11256 ac_cv_prog_FC="$FC" # Let the user override the test.
11257 else
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11261 IFS=$as_save_IFS
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11267 break 2
11269 done
11270 done
11274 FC=$ac_cv_prog_FC
11275 if test -n "$FC"; then
11276 echo "$as_me:$LINENO: result: $FC" >&5
11277 echo "${ECHO_T}$FC" >&6
11278 else
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11283 test -n "$FC" && break
11284 done
11286 if test -z "$FC"; then
11287 ac_ct_FC=$FC
11288 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11290 # Extract the first word of "$ac_prog", so it can be a program name with args.
11291 set dummy $ac_prog; ac_word=$2
11292 echo "$as_me:$LINENO: checking for $ac_word" >&5
11293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11294 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 else
11297 if test -n "$ac_ct_FC"; then
11298 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11299 else
11300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11301 for as_dir in $PATH
11303 IFS=$as_save_IFS
11304 test -z "$as_dir" && as_dir=.
11305 for ac_exec_ext in '' $ac_executable_extensions; do
11306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11307 ac_cv_prog_ac_ct_FC="$ac_prog"
11308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11309 break 2
11311 done
11312 done
11316 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11317 if test -n "$ac_ct_FC"; then
11318 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11319 echo "${ECHO_T}$ac_ct_FC" >&6
11320 else
11321 echo "$as_me:$LINENO: result: no" >&5
11322 echo "${ECHO_T}no" >&6
11325 test -n "$ac_ct_FC" && break
11326 done
11328 FC=$ac_ct_FC
11332 # Provide some information about the compiler.
11333 echo "$as_me:11333:" \
11334 "checking for Fortran compiler version" >&5
11335 ac_compiler=`set X $ac_compile; echo $2`
11336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11337 (eval $ac_compiler --version </dev/null >&5) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }
11341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11342 (eval $ac_compiler -v </dev/null >&5) 2>&5
11343 ac_status=$?
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }
11346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11347 (eval $ac_compiler -V </dev/null >&5) 2>&5
11348 ac_status=$?
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }
11351 rm -f a.out
11353 # If we don't use `.F' as extension, the preprocessor is not run on the
11354 # input file. (Note that this only needs to work for GNU compilers.)
11355 ac_save_ext=$ac_ext
11356 ac_ext=F
11357 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11358 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11359 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 else
11362 cat >conftest.$ac_ext <<_ACEOF
11363 program main
11364 #ifndef __GNUC__
11365 choke me
11366 #endif
11369 _ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11373 ac_status=$?
11374 grep -v '^ *+' conftest.er1 >conftest.err
11375 rm -f conftest.er1
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_fc_werror_flag"
11380 || test ! -s conftest.err'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; } &&
11386 { ac_try='test -s conftest.$ac_objext'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11389 ac_status=$?
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; }; then
11392 ac_compiler_gnu=yes
11393 else
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11397 ac_compiler_gnu=no
11399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11400 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11403 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11404 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11405 ac_ext=$ac_save_ext
11406 ac_test_FFLAGS=${FCFLAGS+set}
11407 ac_save_FFLAGS=$FCFLAGS
11408 FCFLAGS=
11409 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11410 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11411 if test "${ac_cv_prog_fc_g+set}" = set; then
11412 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 else
11414 FCFLAGS=-g
11415 cat >conftest.$ac_ext <<_ACEOF
11416 program main
11419 _ACEOF
11420 rm -f conftest.$ac_objext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11422 (eval $ac_compile) 2>conftest.er1
11423 ac_status=$?
11424 grep -v '^ *+' conftest.er1 >conftest.err
11425 rm -f conftest.er1
11426 cat conftest.err >&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } &&
11429 { ac_try='test -z "$ac_fc_werror_flag"
11430 || test ! -s conftest.err'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11433 ac_status=$?
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; } &&
11436 { ac_try='test -s conftest.$ac_objext'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11439 ac_status=$?
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; }; then
11442 ac_cv_prog_fc_g=yes
11443 else
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.$ac_ext >&5
11447 ac_cv_prog_fc_g=no
11449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11452 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11453 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11454 if test "$ac_test_FFLAGS" = set; then
11455 FCFLAGS=$ac_save_FFLAGS
11456 elif test $ac_cv_prog_fc_g = yes; then
11457 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11458 FCFLAGS="-g -O2"
11459 else
11460 FCFLAGS="-g"
11462 else
11463 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11464 FCFLAGS="-O2"
11465 else
11466 FCFLAGS=
11470 ac_ext=c
11471 ac_cpp='$CPP $CPPFLAGS'
11472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11476 if test -z "$FC" || test "X$FC" = "Xno"; then
11477 _lt_disable_FC=yes
11482 ac_ext=${FC_SRCEXT-f}
11483 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11484 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11485 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11488 archive_cmds_need_lc_FC=no
11489 allow_undefined_flag_FC=
11490 always_export_symbols_FC=no
11491 archive_expsym_cmds_FC=
11492 export_dynamic_flag_spec_FC=
11493 hardcode_direct_FC=no
11494 hardcode_direct_absolute_FC=no
11495 hardcode_libdir_flag_spec_FC=
11496 hardcode_libdir_flag_spec_ld_FC=
11497 hardcode_libdir_separator_FC=
11498 hardcode_minus_L_FC=no
11499 hardcode_automatic_FC=no
11500 inherit_rpath_FC=no
11501 module_cmds_FC=
11502 module_expsym_cmds_FC=
11503 link_all_deplibs_FC=unknown
11504 old_archive_cmds_FC=$old_archive_cmds
11505 no_undefined_flag_FC=
11506 whole_archive_flag_spec_FC=
11507 enable_shared_with_static_runtimes_FC=no
11509 # Source file extension for fc test sources.
11510 ac_ext=${ac_fc_srcext-f}
11512 # Object file extension for compiled fc test sources.
11513 objext=o
11514 objext_FC=$objext
11516 # No sense in running all these tests if we already determined that
11517 # the FC compiler isn't working. Some variables (like enable_shared)
11518 # are currently assumed to apply to all compilers on this platform,
11519 # and will be corrupted by setting them based on a non-working compiler.
11520 if test "$_lt_disable_FC" != yes; then
11521 # Code to be used in simple compile tests
11522 lt_simple_compile_test_code="\
11523 subroutine t
11524 return
11528 # Code to be used in simple link tests
11529 lt_simple_link_test_code="\
11530 program t
11534 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11541 # If no C compiler was specified, use CC.
11542 LTCC=${LTCC-"$CC"}
11544 # If no C compiler flags were specified, use CFLAGS.
11545 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11547 # Allow CC to be a program name with arguments.
11548 compiler=$CC
11551 # save warnings/boilerplate of simple test code
11552 ac_outfile=conftest.$ac_objext
11553 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11554 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11555 _lt_compiler_boilerplate=`cat conftest.err`
11556 $RM conftest*
11558 ac_outfile=conftest.$ac_objext
11559 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11560 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11561 _lt_linker_boilerplate=`cat conftest.err`
11562 $RM -r conftest*
11565 # Allow CC to be a program name with arguments.
11566 lt_save_CC="$CC"
11567 lt_save_GCC=$GCC
11568 CC=${FC-"f95"}
11569 compiler=$CC
11570 GCC=$ac_cv_fc_compiler_gnu
11572 compiler_FC=$CC
11573 for cc_temp in $compiler""; do
11574 case $cc_temp in
11575 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11576 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11577 \-*) ;;
11578 *) break;;
11579 esac
11580 done
11581 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11584 if test -n "$compiler"; then
11585 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11586 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11588 echo "${ECHO_T}$can_build_shared" >&6
11590 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11591 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11592 test "$can_build_shared" = "no" && enable_shared=no
11594 # On AIX, shared libraries and static libraries use the same namespace, and
11595 # are all built from PIC.
11596 case $host_os in
11597 aix3*)
11598 test "$enable_shared" = yes && enable_static=no
11599 if test -n "$RANLIB"; then
11600 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11601 postinstall_cmds='$RANLIB $lib'
11604 aix[4-9]*)
11605 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11606 test "$enable_shared" = yes && enable_static=no
11609 esac
11610 echo "$as_me:$LINENO: result: $enable_shared" >&5
11611 echo "${ECHO_T}$enable_shared" >&6
11613 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11614 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11615 # Make sure either enable_shared or enable_static is yes.
11616 test "$enable_shared" = yes || enable_static=yes
11617 echo "$as_me:$LINENO: result: $enable_static" >&5
11618 echo "${ECHO_T}$enable_static" >&6
11620 GCC_FC="$ac_cv_fc_compiler_gnu"
11621 LD_FC="$LD"
11623 ## CAVEAT EMPTOR:
11624 ## There is no encapsulation within the following macros, do not change
11625 ## the running order or otherwise move them around unless you know exactly
11626 ## what you are doing...
11627 # Dependencies to place before and after the object being linked:
11628 predep_objects_FC=
11629 postdep_objects_FC=
11630 predeps_FC=
11631 postdeps_FC=
11632 compiler_lib_search_path_FC=
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 subroutine foo
11636 implicit none
11637 integer a
11639 return
11641 _LT_EOF
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>&5
11645 ac_status=$?
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; then
11648 # Parse the compiler output and extract the necessary
11649 # objects, libraries and library flags.
11651 # Sentinel used to keep track of whether or not we are before
11652 # the conftest object file.
11653 pre_test_object_deps_done=no
11655 for p in `eval "$output_verbose_link_cmd"`; do
11656 case $p in
11658 -L* | -R* | -l*)
11659 # Some compilers place space between "-{L,R}" and the path.
11660 # Remove the space.
11661 if test $p = "-L" ||
11662 test $p = "-R"; then
11663 prev=$p
11664 continue
11665 else
11666 prev=
11669 if test "$pre_test_object_deps_done" = no; then
11670 case $p in
11671 -L* | -R*)
11672 # Internal compiler library paths should come after those
11673 # provided the user. The postdeps already come after the
11674 # user supplied libs so there is no need to process them.
11675 if test -z "$compiler_lib_search_path_FC"; then
11676 compiler_lib_search_path_FC="${prev}${p}"
11677 else
11678 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11681 # The "-l" case would never come before the object being
11682 # linked, so don't bother handling this case.
11683 esac
11684 else
11685 if test -z "$postdeps_FC"; then
11686 postdeps_FC="${prev}${p}"
11687 else
11688 postdeps_FC="${postdeps_FC} ${prev}${p}"
11693 *.$objext)
11694 # This assumes that the test object file only shows up
11695 # once in the compiler output.
11696 if test "$p" = "conftest.$objext"; then
11697 pre_test_object_deps_done=yes
11698 continue
11701 if test "$pre_test_object_deps_done" = no; then
11702 if test -z "$predep_objects_FC"; then
11703 predep_objects_FC="$p"
11704 else
11705 predep_objects_FC="$predep_objects_FC $p"
11707 else
11708 if test -z "$postdep_objects_FC"; then
11709 postdep_objects_FC="$p"
11710 else
11711 postdep_objects_FC="$postdep_objects_FC $p"
11716 *) ;; # Ignore the rest.
11718 esac
11719 done
11721 # Clean up.
11722 rm -f a.out a.exe
11723 else
11724 echo "libtool.m4: error: problem compiling FC test program"
11727 $RM -f confest.$objext
11729 # PORTME: override above test on systems where it is broken
11732 case " $postdeps_FC " in
11733 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11734 esac
11735 compiler_lib_search_dirs_FC=
11736 if test -n "${compiler_lib_search_path_FC}"; then
11737 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11770 lt_prog_compiler_wl_FC=
11771 lt_prog_compiler_pic_FC=
11772 lt_prog_compiler_static_FC=
11774 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11775 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11777 if test "$GCC" = yes; then
11778 lt_prog_compiler_wl_FC='-Wl,'
11779 lt_prog_compiler_static_FC='-static'
11781 case $host_os in
11782 aix*)
11783 # All AIX code is PIC.
11784 if test "$host_cpu" = ia64; then
11785 # AIX 5 now supports IA64 processor
11786 lt_prog_compiler_static_FC='-Bstatic'
11790 amigaos*)
11791 case $host_cpu in
11792 powerpc)
11793 # see comment about AmigaOS4 .so support
11794 lt_prog_compiler_pic_FC='-fPIC'
11796 m68k)
11797 # FIXME: we need at least 68020 code to build shared libraries, but
11798 # adding the `-m68020' flag to GCC prevents building anything better,
11799 # like `-m68040'.
11800 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11802 esac
11805 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11806 # PIC is the default for these OSes.
11809 mingw* | cygwin* | pw32* | os2* | cegcc*)
11810 # This hack is so that the source file can tell whether it is being
11811 # built for inclusion in a dll (and should export symbols for example).
11812 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11813 # (--disable-auto-import) libraries
11814 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11817 darwin* | rhapsody*)
11818 # PIC is the default on this platform
11819 # Common symbols not allowed in MH_DYLIB files
11820 lt_prog_compiler_pic_FC='-fno-common'
11823 hpux*)
11824 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11825 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11826 # sets the default TLS model and affects inlining.
11827 case $host_cpu in
11828 hppa*64*)
11829 # +Z the default
11832 lt_prog_compiler_pic_FC='-fPIC'
11834 esac
11837 interix[3-9]*)
11838 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11839 # Instead, we relocate shared libraries at runtime.
11842 msdosdjgpp*)
11843 # Just because we use GCC doesn't mean we suddenly get shared libraries
11844 # on systems that don't support them.
11845 lt_prog_compiler_can_build_shared_FC=no
11846 enable_shared=no
11849 *nto* | *qnx*)
11850 # QNX uses GNU C++, but need to define -shared option too, otherwise
11851 # it will coredump.
11852 lt_prog_compiler_pic_FC='-fPIC -shared'
11855 sysv4*MP*)
11856 if test -d /usr/nec; then
11857 lt_prog_compiler_pic_FC=-Kconform_pic
11862 lt_prog_compiler_pic_FC='-fPIC'
11864 esac
11865 else
11866 # PORTME Check for flag to pass linker flags through the system compiler.
11867 case $host_os in
11868 aix*)
11869 lt_prog_compiler_wl_FC='-Wl,'
11870 if test "$host_cpu" = ia64; then
11871 # AIX 5 now supports IA64 processor
11872 lt_prog_compiler_static_FC='-Bstatic'
11873 else
11874 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11878 mingw* | cygwin* | pw32* | os2* | cegcc*)
11879 # This hack is so that the source file can tell whether it is being
11880 # built for inclusion in a dll (and should export symbols for example).
11881 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11884 hpux9* | hpux10* | hpux11*)
11885 lt_prog_compiler_wl_FC='-Wl,'
11886 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11887 # not for PA HP-UX.
11888 case $host_cpu in
11889 hppa*64*|ia64*)
11890 # +Z the default
11893 lt_prog_compiler_pic_FC='+Z'
11895 esac
11896 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11897 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11900 irix5* | irix6* | nonstopux*)
11901 lt_prog_compiler_wl_FC='-Wl,'
11902 # PIC (with -KPIC) is the default.
11903 lt_prog_compiler_static_FC='-non_shared'
11906 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11907 case $cc_basename in
11908 # old Intel for x86_64 which still supported -KPIC.
11909 ecc*)
11910 lt_prog_compiler_wl_FC='-Wl,'
11911 lt_prog_compiler_pic_FC='-KPIC'
11912 lt_prog_compiler_static_FC='-static'
11914 # icc used to be incompatible with GCC.
11915 # ICC 10 doesn't accept -KPIC any more.
11916 icc* | ifort*)
11917 lt_prog_compiler_wl_FC='-Wl,'
11918 lt_prog_compiler_pic_FC='-fPIC'
11919 lt_prog_compiler_static_FC='-static'
11921 # Lahey Fortran 8.1.
11922 lf95*)
11923 lt_prog_compiler_wl_FC='-Wl,'
11924 lt_prog_compiler_pic_FC='--shared'
11925 lt_prog_compiler_static_FC='--static'
11927 pgcc* | pgf77* | pgf90* | pgf95*)
11928 # Portland Group compilers (*not* the Pentium gcc compiler,
11929 # which looks to be a dead project)
11930 lt_prog_compiler_wl_FC='-Wl,'
11931 lt_prog_compiler_pic_FC='-fpic'
11932 lt_prog_compiler_static_FC='-Bstatic'
11934 ccc*)
11935 lt_prog_compiler_wl_FC='-Wl,'
11936 # All Alpha code is PIC.
11937 lt_prog_compiler_static_FC='-non_shared'
11939 xl*)
11940 # IBM XL C 8.0/Fortran 10.1 on PPC
11941 lt_prog_compiler_wl_FC='-Wl,'
11942 lt_prog_compiler_pic_FC='-qpic'
11943 lt_prog_compiler_static_FC='-qstaticlink'
11946 case `$CC -V 2>&1 | sed 5q` in
11947 *Sun\ C*)
11948 # Sun C 5.9
11949 lt_prog_compiler_pic_FC='-KPIC'
11950 lt_prog_compiler_static_FC='-Bstatic'
11951 lt_prog_compiler_wl_FC='-Wl,'
11953 *Sun\ F*)
11954 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11955 lt_prog_compiler_pic_FC='-KPIC'
11956 lt_prog_compiler_static_FC='-Bstatic'
11957 lt_prog_compiler_wl_FC=''
11959 esac
11961 esac
11964 newsos6)
11965 lt_prog_compiler_pic_FC='-KPIC'
11966 lt_prog_compiler_static_FC='-Bstatic'
11969 *nto* | *qnx*)
11970 # QNX uses GNU C++, but need to define -shared option too, otherwise
11971 # it will coredump.
11972 lt_prog_compiler_pic_FC='-fPIC -shared'
11975 osf3* | osf4* | osf5*)
11976 lt_prog_compiler_wl_FC='-Wl,'
11977 # All OSF/1 code is PIC.
11978 lt_prog_compiler_static_FC='-non_shared'
11981 rdos*)
11982 lt_prog_compiler_static_FC='-non_shared'
11985 solaris*)
11986 lt_prog_compiler_pic_FC='-KPIC'
11987 lt_prog_compiler_static_FC='-Bstatic'
11988 case $cc_basename in
11989 f77* | f90* | f95*)
11990 lt_prog_compiler_wl_FC='-Qoption ld ';;
11992 lt_prog_compiler_wl_FC='-Wl,';;
11993 esac
11996 sunos4*)
11997 lt_prog_compiler_wl_FC='-Qoption ld '
11998 lt_prog_compiler_pic_FC='-PIC'
11999 lt_prog_compiler_static_FC='-Bstatic'
12002 sysv4 | sysv4.2uw2* | sysv4.3*)
12003 lt_prog_compiler_wl_FC='-Wl,'
12004 lt_prog_compiler_pic_FC='-KPIC'
12005 lt_prog_compiler_static_FC='-Bstatic'
12008 sysv4*MP*)
12009 if test -d /usr/nec ;then
12010 lt_prog_compiler_pic_FC='-Kconform_pic'
12011 lt_prog_compiler_static_FC='-Bstatic'
12015 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12016 lt_prog_compiler_wl_FC='-Wl,'
12017 lt_prog_compiler_pic_FC='-KPIC'
12018 lt_prog_compiler_static_FC='-Bstatic'
12021 unicos*)
12022 lt_prog_compiler_wl_FC='-Wl,'
12023 lt_prog_compiler_can_build_shared_FC=no
12026 uts4*)
12027 lt_prog_compiler_pic_FC='-pic'
12028 lt_prog_compiler_static_FC='-Bstatic'
12032 lt_prog_compiler_can_build_shared_FC=no
12034 esac
12037 case $host_os in
12038 # For platforms which do not support PIC, -DPIC is meaningless:
12039 *djgpp*)
12040 lt_prog_compiler_pic_FC=
12043 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12045 esac
12046 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
12047 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
12052 # Check to make sure the PIC flag actually works.
12054 if test -n "$lt_prog_compiler_pic_FC"; then
12055 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12056 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
12057 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 lt_cv_prog_compiler_pic_works_FC=no
12061 ac_outfile=conftest.$ac_objext
12062 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12063 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12064 # Insert the option either (1) after the last *FLAGS variable, or
12065 # (2) before a word containing "conftest.", or (3) at the end.
12066 # Note that $ac_compile itself does not contain backslashes and begins
12067 # with a dollar sign (not a hyphen), so the echo should work correctly.
12068 # The option is referenced via a variable to avoid confusing sed.
12069 lt_compile=`echo "$ac_compile" | $SED \
12070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12072 -e 's:$: $lt_compiler_flag:'`
12073 (eval echo "\"\$as_me:12073: $lt_compile\"" >&5)
12074 (eval "$lt_compile" 2>conftest.err)
12075 ac_status=$?
12076 cat conftest.err >&5
12077 echo "$as_me:12077: \$? = $ac_status" >&5
12078 if (exit $ac_status) && test -s "$ac_outfile"; then
12079 # The compiler can only warn and ignore the option if not recognized
12080 # So say no if there are warnings other than the usual output.
12081 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12082 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12083 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12084 lt_cv_prog_compiler_pic_works_FC=yes
12087 $RM conftest*
12090 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12091 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12093 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12094 case $lt_prog_compiler_pic_FC in
12095 "" | " "*) ;;
12096 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12097 esac
12098 else
12099 lt_prog_compiler_pic_FC=
12100 lt_prog_compiler_can_build_shared_FC=no
12108 # Check to make sure the static flag actually works.
12110 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12111 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12112 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12113 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 else
12116 lt_cv_prog_compiler_static_works_FC=no
12117 save_LDFLAGS="$LDFLAGS"
12118 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12119 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12120 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12121 # The linker can only warn and ignore the option if not recognized
12122 # So say no if there are warnings
12123 if test -s conftest.err; then
12124 # Append any errors to the config.log.
12125 cat conftest.err 1>&5
12126 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12128 if diff conftest.exp conftest.er2 >/dev/null; then
12129 lt_cv_prog_compiler_static_works_FC=yes
12131 else
12132 lt_cv_prog_compiler_static_works_FC=yes
12135 $RM -r conftest*
12136 LDFLAGS="$save_LDFLAGS"
12139 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12140 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12142 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12144 else
12145 lt_prog_compiler_static_FC=
12151 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12152 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12153 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 lt_cv_prog_compiler_c_o_FC=no
12157 $RM -r conftest 2>/dev/null
12158 mkdir conftest
12159 cd conftest
12160 mkdir out
12161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12163 lt_compiler_flag="-o out/conftest2.$ac_objext"
12164 # Insert the option either (1) after the last *FLAGS variable, or
12165 # (2) before a word containing "conftest.", or (3) at the end.
12166 # Note that $ac_compile itself does not contain backslashes and begins
12167 # with a dollar sign (not a hyphen), so the echo should work correctly.
12168 lt_compile=`echo "$ac_compile" | $SED \
12169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12171 -e 's:$: $lt_compiler_flag:'`
12172 (eval echo "\"\$as_me:12172: $lt_compile\"" >&5)
12173 (eval "$lt_compile" 2>out/conftest.err)
12174 ac_status=$?
12175 cat out/conftest.err >&5
12176 echo "$as_me:12176: \$? = $ac_status" >&5
12177 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12178 then
12179 # The compiler can only warn and ignore the option if not recognized
12180 # So say no if there are warnings
12181 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12182 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12183 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12184 lt_cv_prog_compiler_c_o_FC=yes
12187 chmod u+w . 2>&5
12188 $RM conftest*
12189 # SGI C++ compiler will create directory out/ii_files/ for
12190 # template instantiation
12191 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12192 $RM out/* && rmdir out
12193 cd ..
12194 $RM -r conftest
12195 $RM conftest*
12198 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12199 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12203 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12204 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12205 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 else
12208 lt_cv_prog_compiler_c_o_FC=no
12209 $RM -r conftest 2>/dev/null
12210 mkdir conftest
12211 cd conftest
12212 mkdir out
12213 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12215 lt_compiler_flag="-o out/conftest2.$ac_objext"
12216 # Insert the option either (1) after the last *FLAGS variable, or
12217 # (2) before a word containing "conftest.", or (3) at the end.
12218 # Note that $ac_compile itself does not contain backslashes and begins
12219 # with a dollar sign (not a hyphen), so the echo should work correctly.
12220 lt_compile=`echo "$ac_compile" | $SED \
12221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12223 -e 's:$: $lt_compiler_flag:'`
12224 (eval echo "\"\$as_me:12224: $lt_compile\"" >&5)
12225 (eval "$lt_compile" 2>out/conftest.err)
12226 ac_status=$?
12227 cat out/conftest.err >&5
12228 echo "$as_me:12228: \$? = $ac_status" >&5
12229 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12230 then
12231 # The compiler can only warn and ignore the option if not recognized
12232 # So say no if there are warnings
12233 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12234 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12235 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12236 lt_cv_prog_compiler_c_o_FC=yes
12239 chmod u+w . 2>&5
12240 $RM conftest*
12241 # SGI C++ compiler will create directory out/ii_files/ for
12242 # template instantiation
12243 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12244 $RM out/* && rmdir out
12245 cd ..
12246 $RM -r conftest
12247 $RM conftest*
12250 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12251 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12256 hard_links="nottested"
12257 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12258 # do not overwrite the value of need_locks provided by the user
12259 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12260 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12261 hard_links=yes
12262 $RM conftest*
12263 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12264 touch conftest.a
12265 ln conftest.a conftest.b 2>&5 || hard_links=no
12266 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12267 echo "$as_me:$LINENO: result: $hard_links" >&5
12268 echo "${ECHO_T}$hard_links" >&6
12269 if test "$hard_links" = no; then
12270 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12271 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12272 need_locks=warn
12274 else
12275 need_locks=no
12280 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12281 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12283 runpath_var=
12284 allow_undefined_flag_FC=
12285 always_export_symbols_FC=no
12286 archive_cmds_FC=
12287 archive_expsym_cmds_FC=
12288 compiler_needs_object_FC=no
12289 enable_shared_with_static_runtimes_FC=no
12290 export_dynamic_flag_spec_FC=
12291 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12292 hardcode_automatic_FC=no
12293 hardcode_direct_FC=no
12294 hardcode_direct_absolute_FC=no
12295 hardcode_libdir_flag_spec_FC=
12296 hardcode_libdir_flag_spec_ld_FC=
12297 hardcode_libdir_separator_FC=
12298 hardcode_minus_L_FC=no
12299 hardcode_shlibpath_var_FC=unsupported
12300 inherit_rpath_FC=no
12301 link_all_deplibs_FC=unknown
12302 module_cmds_FC=
12303 module_expsym_cmds_FC=
12304 old_archive_from_new_cmds_FC=
12305 old_archive_from_expsyms_cmds_FC=
12306 thread_safe_flag_spec_FC=
12307 whole_archive_flag_spec_FC=
12308 # include_expsyms should be a list of space-separated symbols to be *always*
12309 # included in the symbol list
12310 include_expsyms_FC=
12311 # exclude_expsyms can be an extended regexp of symbols to exclude
12312 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12313 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12314 # as well as any symbol that contains `d'.
12315 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12316 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12317 # platforms (ab)use it in PIC code, but their linkers get confused if
12318 # the symbol is explicitly referenced. Since portable code cannot
12319 # rely on this symbol name, it's probably fine to never include it in
12320 # preloaded symbol tables.
12321 # Exclude shared library initialization/finalization symbols.
12322 extract_expsyms_cmds=
12324 case $host_os in
12325 cygwin* | mingw* | pw32* | cegcc*)
12326 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12327 # When not using gcc, we currently assume that we are using
12328 # Microsoft Visual C++.
12329 if test "$GCC" != yes; then
12330 with_gnu_ld=no
12333 interix*)
12334 # we just hope/assume this is gcc and not c89 (= MSVC++)
12335 with_gnu_ld=yes
12337 openbsd*)
12338 with_gnu_ld=no
12340 esac
12342 ld_shlibs_FC=yes
12343 if test "$with_gnu_ld" = yes; then
12344 # If archive_cmds runs LD, not CC, wlarc should be empty
12345 wlarc='${wl}'
12347 # Set some defaults for GNU ld with shared library support. These
12348 # are reset later if shared libraries are not supported. Putting them
12349 # here allows them to be overridden if necessary.
12350 runpath_var=LD_RUN_PATH
12351 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12352 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12353 # ancient GNU ld didn't support --whole-archive et. al.
12354 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12355 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12356 else
12357 whole_archive_flag_spec_FC=
12359 supports_anon_versioning=no
12360 case `$LD -v 2>&1` in
12361 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12362 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12363 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12364 *\ 2.11.*) ;; # other 2.11 versions
12365 *) supports_anon_versioning=yes ;;
12366 esac
12368 # See if GNU ld supports shared libraries.
12369 case $host_os in
12370 aix[3-9]*)
12371 # On AIX/PPC, the GNU linker is very broken
12372 if test "$host_cpu" != ia64; then
12373 ld_shlibs_FC=no
12374 cat <<_LT_EOF 1>&2
12376 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12377 *** to be unable to reliably create shared libraries on AIX.
12378 *** Therefore, libtool is disabling shared libraries support. If you
12379 *** really care for shared libraries, you may want to modify your PATH
12380 *** so that a non-GNU linker is found, and then restart.
12382 _LT_EOF
12386 amigaos*)
12387 case $host_cpu in
12388 powerpc)
12389 # see comment about AmigaOS4 .so support
12390 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12391 archive_expsym_cmds_FC=''
12393 m68k)
12394 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)'
12395 hardcode_libdir_flag_spec_FC='-L$libdir'
12396 hardcode_minus_L_FC=yes
12398 esac
12401 beos*)
12402 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12403 allow_undefined_flag_FC=unsupported
12404 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12405 # support --undefined. This deserves some investigation. FIXME
12406 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12407 else
12408 ld_shlibs_FC=no
12412 cygwin* | mingw* | pw32* | cegcc*)
12413 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12414 # as there is no search path for DLLs.
12415 hardcode_libdir_flag_spec_FC='-L$libdir'
12416 allow_undefined_flag_FC=unsupported
12417 always_export_symbols_FC=no
12418 enable_shared_with_static_runtimes_FC=yes
12419 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12421 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12422 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12423 # If the export-symbols file already is a .def file (1st line
12424 # is EXPORTS), use it as is; otherwise, prepend...
12425 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12426 cp $export_symbols $output_objdir/$soname.def;
12427 else
12428 echo EXPORTS > $output_objdir/$soname.def;
12429 cat $export_symbols >> $output_objdir/$soname.def;
12431 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12432 else
12433 ld_shlibs_FC=no
12437 interix[3-9]*)
12438 hardcode_direct_FC=no
12439 hardcode_shlibpath_var_FC=no
12440 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12441 export_dynamic_flag_spec_FC='${wl}-E'
12442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12443 # Instead, shared libraries are loaded at an image base (0x10000000 by
12444 # default) and relocated if they conflict, which is a slow very memory
12445 # consuming and fragmenting process. To avoid this, we pick a random,
12446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12447 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12448 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'
12449 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'
12452 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12453 tmp_diet=no
12454 if test "$host_os" = linux-dietlibc; then
12455 case $cc_basename in
12456 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12457 esac
12459 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12460 && test "$tmp_diet" = no
12461 then
12462 tmp_addflag=
12463 tmp_sharedflag='-shared'
12464 case $cc_basename,$host_cpu in
12465 pgcc*) # Portland Group C compiler
12466 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'
12467 tmp_addflag=' $pic_flag'
12469 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12470 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'
12471 tmp_addflag=' $pic_flag -Mnomain' ;;
12472 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12473 tmp_addflag=' -i_dynamic' ;;
12474 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12475 tmp_addflag=' -i_dynamic -nofor_main' ;;
12476 ifc* | ifort*) # Intel Fortran compiler
12477 tmp_addflag=' -nofor_main' ;;
12478 lf95*) # Lahey Fortran 8.1
12479 whole_archive_flag_spec_FC=
12480 tmp_sharedflag='--shared' ;;
12481 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12482 tmp_sharedflag='-qmkshrobj'
12483 tmp_addflag= ;;
12484 esac
12485 case `$CC -V 2>&1 | sed 5q` in
12486 *Sun\ C*) # Sun C 5.9
12487 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'
12488 compiler_needs_object_FC=yes
12489 tmp_sharedflag='-G' ;;
12490 *Sun\ F*) # Sun Fortran 8.3
12491 tmp_sharedflag='-G' ;;
12492 esac
12493 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12495 if test "x$supports_anon_versioning" = xyes; then
12496 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12497 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12498 echo "local: *; };" >> $output_objdir/$libname.ver~
12499 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12502 case $cc_basename in
12503 xlf*)
12504 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12505 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12506 hardcode_libdir_flag_spec_FC=
12507 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12508 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12509 if test "x$supports_anon_versioning" = xyes; then
12510 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12511 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12512 echo "local: *; };" >> $output_objdir/$libname.ver~
12513 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12516 esac
12517 else
12518 ld_shlibs_FC=no
12522 netbsd*)
12523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12524 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12525 wlarc=
12526 else
12527 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12528 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12532 solaris*)
12533 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12534 ld_shlibs_FC=no
12535 cat <<_LT_EOF 1>&2
12537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12538 *** create shared libraries on Solaris systems. Therefore, libtool
12539 *** is disabling shared libraries support. We urge you to upgrade GNU
12540 *** binutils to release 2.9.1 or newer. Another option is to modify
12541 *** your PATH or compiler configuration so that the native linker is
12542 *** used, and then restart.
12544 _LT_EOF
12545 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12546 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12548 else
12549 ld_shlibs_FC=no
12553 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12554 case `$LD -v 2>&1` in
12555 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12556 ld_shlibs_FC=no
12557 cat <<_LT_EOF 1>&2
12559 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12560 *** reliably create shared libraries on SCO systems. Therefore, libtool
12561 *** is disabling shared libraries support. We urge you to upgrade GNU
12562 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12563 *** your PATH or compiler configuration so that the native linker is
12564 *** used, and then restart.
12566 _LT_EOF
12569 # For security reasons, it is highly recommended that you always
12570 # use absolute paths for naming shared libraries, and exclude the
12571 # DT_RUNPATH tag from executables and libraries. But doing so
12572 # requires that you compile everything twice, which is a pain.
12573 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12574 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12575 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12576 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12577 else
12578 ld_shlibs_FC=no
12581 esac
12584 sunos4*)
12585 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12586 wlarc=
12587 hardcode_direct_FC=yes
12588 hardcode_shlibpath_var_FC=no
12592 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12593 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12594 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12595 else
12596 ld_shlibs_FC=no
12599 esac
12601 if test "$ld_shlibs_FC" = no; then
12602 runpath_var=
12603 hardcode_libdir_flag_spec_FC=
12604 export_dynamic_flag_spec_FC=
12605 whole_archive_flag_spec_FC=
12607 else
12608 # PORTME fill in a description of your system's linker (not GNU ld)
12609 case $host_os in
12610 aix3*)
12611 allow_undefined_flag_FC=unsupported
12612 always_export_symbols_FC=yes
12613 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'
12614 # Note: this linker hardcodes the directories in LIBPATH if there
12615 # are no directories specified by -L.
12616 hardcode_minus_L_FC=yes
12617 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12618 # Neither direct hardcoding nor static linking is supported with a
12619 # broken collect2.
12620 hardcode_direct_FC=unsupported
12624 aix[4-9]*)
12625 if test "$host_cpu" = ia64; then
12626 # On IA64, the linker does run time linking by default, so we don't
12627 # have to do anything special.
12628 aix_use_runtimelinking=no
12629 exp_sym_flag='-Bexport'
12630 no_entry_flag=""
12631 else
12632 # If we're using GNU nm, then we don't want the "-C" option.
12633 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12634 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12635 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'
12636 else
12637 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'
12639 aix_use_runtimelinking=no
12641 # Test if we are trying to use run time linking or normal
12642 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12643 # need to do runtime linking.
12644 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12645 for ld_flag in $LDFLAGS; do
12646 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12647 aix_use_runtimelinking=yes
12648 break
12650 done
12652 esac
12654 exp_sym_flag='-bexport'
12655 no_entry_flag='-bnoentry'
12658 # When large executables or shared objects are built, AIX ld can
12659 # have problems creating the table of contents. If linking a library
12660 # or program results in "error TOC overflow" add -mminimal-toc to
12661 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12662 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12664 archive_cmds_FC=''
12665 hardcode_direct_FC=yes
12666 hardcode_direct_absolute_FC=yes
12667 hardcode_libdir_separator_FC=':'
12668 link_all_deplibs_FC=yes
12669 file_list_spec_FC='${wl}-f,'
12671 if test "$GCC" = yes; then
12672 case $host_os in aix4.[012]|aix4.[012].*)
12673 # We only want to do this on AIX 4.2 and lower, the check
12674 # below for broken collect2 doesn't work under 4.3+
12675 collect2name=`${CC} -print-prog-name=collect2`
12676 if test -f "$collect2name" &&
12677 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12678 then
12679 # We have reworked collect2
12681 else
12682 # We have old collect2
12683 hardcode_direct_FC=unsupported
12684 # It fails to find uninstalled libraries when the uninstalled
12685 # path is not listed in the libpath. Setting hardcode_minus_L
12686 # to unsupported forces relinking
12687 hardcode_minus_L_FC=yes
12688 hardcode_libdir_flag_spec_FC='-L$libdir'
12689 hardcode_libdir_separator_FC=
12692 esac
12693 shared_flag='-shared'
12694 if test "$aix_use_runtimelinking" = yes; then
12695 shared_flag="$shared_flag "'${wl}-G'
12697 else
12698 # not using gcc
12699 if test "$host_cpu" = ia64; then
12700 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12701 # chokes on -Wl,-G. The following line is correct:
12702 shared_flag='-G'
12703 else
12704 if test "$aix_use_runtimelinking" = yes; then
12705 shared_flag='${wl}-G'
12706 else
12707 shared_flag='${wl}-bM:SRE'
12712 export_dynamic_flag_spec_FC='${wl}-bexpall'
12713 # It seems that -bexpall does not export symbols beginning with
12714 # underscore (_), so it is better to generate a list of symbols to export.
12715 always_export_symbols_FC=yes
12716 if test "$aix_use_runtimelinking" = yes; then
12717 # Warning - without using the other runtime loading flags (-brtl),
12718 # -berok will link without error, but may produce a broken library.
12719 allow_undefined_flag_FC='-berok'
12720 # Determine the default libpath from the value encoded in an
12721 # empty executable.
12722 if test x$gcc_no_link = xyes; then
12723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12725 { (exit 1); exit 1; }; }
12727 cat >conftest.$ac_ext <<_ACEOF
12728 program main
12731 _ACEOF
12732 rm -f conftest.$ac_objext conftest$ac_exeext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12734 (eval $ac_link) 2>conftest.er1
12735 ac_status=$?
12736 grep -v '^ *+' conftest.er1 >conftest.err
12737 rm -f conftest.er1
12738 cat conftest.err >&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } &&
12741 { ac_try='test -z "$ac_fc_werror_flag"
12742 || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12745 ac_status=$?
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try='test -s conftest$ac_exeext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12751 ac_status=$?
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12755 lt_aix_libpath_sed='
12756 /Import File Strings/,/^$/ {
12757 /^0/ {
12758 s/^0 *\(.*\)$/\1/
12762 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12763 # Check for a 64-bit object if we didn't find anything.
12764 if test -z "$aix_libpath"; then
12765 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12767 else
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12772 rm -f conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12776 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12777 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"
12778 else
12779 if test "$host_cpu" = ia64; then
12780 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12781 allow_undefined_flag_FC="-z nodefs"
12782 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"
12783 else
12784 # Determine the default libpath from the value encoded in an
12785 # empty executable.
12786 if test x$gcc_no_link = xyes; then
12787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12789 { (exit 1); exit 1; }; }
12791 cat >conftest.$ac_ext <<_ACEOF
12792 program main
12795 _ACEOF
12796 rm -f conftest.$ac_objext conftest$ac_exeext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12798 (eval $ac_link) 2>conftest.er1
12799 ac_status=$?
12800 grep -v '^ *+' conftest.er1 >conftest.err
12801 rm -f conftest.er1
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
12805 { ac_try='test -z "$ac_fc_werror_flag"
12806 || test ! -s conftest.err'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12809 ac_status=$?
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; } &&
12812 { ac_try='test -s conftest$ac_exeext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12819 lt_aix_libpath_sed='
12820 /Import File Strings/,/^$/ {
12821 /^0/ {
12822 s/^0 *\(.*\)$/\1/
12826 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12827 # Check for a 64-bit object if we didn't find anything.
12828 if test -z "$aix_libpath"; then
12829 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12831 else
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12836 rm -f conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12840 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12841 # Warning - without using the other run time loading flags,
12842 # -berok will link without error, but may produce a broken library.
12843 no_undefined_flag_FC=' ${wl}-bernotok'
12844 allow_undefined_flag_FC=' ${wl}-berok'
12845 # Exported symbols can be pulled into shared objects from archives
12846 whole_archive_flag_spec_FC='$convenience'
12847 archive_cmds_need_lc_FC=yes
12848 # This is similar to how AIX traditionally builds its shared libraries.
12849 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'
12854 amigaos*)
12855 case $host_cpu in
12856 powerpc)
12857 # see comment about AmigaOS4 .so support
12858 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 archive_expsym_cmds_FC=''
12861 m68k)
12862 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)'
12863 hardcode_libdir_flag_spec_FC='-L$libdir'
12864 hardcode_minus_L_FC=yes
12866 esac
12869 bsdi[45]*)
12870 export_dynamic_flag_spec_FC=-rdynamic
12873 cygwin* | mingw* | pw32* | cegcc*)
12874 # When not using gcc, we currently assume that we are using
12875 # Microsoft Visual C++.
12876 # hardcode_libdir_flag_spec is actually meaningless, as there is
12877 # no search path for DLLs.
12878 hardcode_libdir_flag_spec_FC=' '
12879 allow_undefined_flag_FC=unsupported
12880 # Tell ltmain to make .lib files, not .a files.
12881 libext=lib
12882 # Tell ltmain to make .dll files, not .so files.
12883 shrext_cmds=".dll"
12884 # FIXME: Setting linknames here is a bad hack.
12885 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12886 # The linker will automatically build a .lib file if we build a DLL.
12887 old_archive_from_new_cmds_FC='true'
12888 # FIXME: Should let the user specify the lib program.
12889 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12890 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12891 enable_shared_with_static_runtimes_FC=yes
12894 darwin* | rhapsody*)
12897 archive_cmds_need_lc_FC=no
12898 hardcode_direct_FC=no
12899 hardcode_automatic_FC=yes
12900 hardcode_shlibpath_var_FC=unsupported
12901 whole_archive_flag_spec_FC=''
12902 link_all_deplibs_FC=yes
12903 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12904 case $cc_basename in
12905 ifort*) _lt_dar_can_shared=yes ;;
12906 *) _lt_dar_can_shared=$GCC ;;
12907 esac
12908 if test "$_lt_dar_can_shared" = "yes"; then
12909 output_verbose_link_cmd=echo
12910 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12911 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12912 archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12913 module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12915 else
12916 ld_shlibs_FC=no
12921 dgux*)
12922 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12923 hardcode_libdir_flag_spec_FC='-L$libdir'
12924 hardcode_shlibpath_var_FC=no
12927 freebsd1*)
12928 ld_shlibs_FC=no
12931 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12932 # support. Future versions do this automatically, but an explicit c++rt0.o
12933 # does not break anything, and helps significantly (at the cost of a little
12934 # extra space).
12935 freebsd2.2*)
12936 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12937 hardcode_libdir_flag_spec_FC='-R$libdir'
12938 hardcode_direct_FC=yes
12939 hardcode_shlibpath_var_FC=no
12942 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12943 freebsd2*)
12944 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12945 hardcode_direct_FC=yes
12946 hardcode_minus_L_FC=yes
12947 hardcode_shlibpath_var_FC=no
12950 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12951 freebsd* | dragonfly*)
12952 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12953 hardcode_libdir_flag_spec_FC='-R$libdir'
12954 hardcode_direct_FC=yes
12955 hardcode_shlibpath_var_FC=no
12958 hpux9*)
12959 if test "$GCC" = yes; then
12960 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'
12961 else
12962 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'
12964 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12965 hardcode_libdir_separator_FC=:
12966 hardcode_direct_FC=yes
12968 # hardcode_minus_L: Not really in the search PATH,
12969 # but as the default location of the library.
12970 hardcode_minus_L_FC=yes
12971 export_dynamic_flag_spec_FC='${wl}-E'
12974 hpux10*)
12975 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12976 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12977 else
12978 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12980 if test "$with_gnu_ld" = no; then
12981 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12982 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12983 hardcode_libdir_separator_FC=:
12984 hardcode_direct_FC=yes
12985 hardcode_direct_absolute_FC=yes
12986 export_dynamic_flag_spec_FC='${wl}-E'
12987 # hardcode_minus_L: Not really in the search PATH,
12988 # but as the default location of the library.
12989 hardcode_minus_L_FC=yes
12993 hpux11*)
12994 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12995 case $host_cpu in
12996 hppa*64*)
12997 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12999 ia64*)
13000 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13003 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13005 esac
13006 else
13007 case $host_cpu in
13008 hppa*64*)
13009 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13011 ia64*)
13012 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13015 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13017 esac
13019 if test "$with_gnu_ld" = no; then
13020 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13021 hardcode_libdir_separator_FC=:
13023 case $host_cpu in
13024 hppa*64*|ia64*)
13025 hardcode_direct_FC=no
13026 hardcode_shlibpath_var_FC=no
13029 hardcode_direct_FC=yes
13030 hardcode_direct_absolute_FC=yes
13031 export_dynamic_flag_spec_FC='${wl}-E'
13033 # hardcode_minus_L: Not really in the search PATH,
13034 # but as the default location of the library.
13035 hardcode_minus_L_FC=yes
13037 esac
13041 irix5* | irix6* | nonstopux*)
13042 if test "$GCC" = yes; then
13043 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'
13044 # Try to use the -exported_symbol ld option, if it does not
13045 # work, assume that -exports_file does not work either and
13046 # implicitly export all symbols.
13047 save_LDFLAGS="$LDFLAGS"
13048 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13049 if test x$gcc_no_link = xyes; then
13050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13052 { (exit 1); exit 1; }; }
13054 cat >conftest.$ac_ext <<_ACEOF
13055 int foo(void) {}
13056 _ACEOF
13057 rm -f conftest.$ac_objext conftest$ac_exeext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13059 (eval $ac_link) 2>conftest.er1
13060 ac_status=$?
13061 grep -v '^ *+' conftest.er1 >conftest.err
13062 rm -f conftest.er1
13063 cat conftest.err >&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -z "$ac_fc_werror_flag"
13067 || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try='test -s conftest$ac_exeext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13076 ac_status=$?
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 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'
13081 else
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13086 rm -f conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LDFLAGS="$save_LDFLAGS"
13089 else
13090 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'
13091 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'
13093 archive_cmds_need_lc_FC='no'
13094 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13095 hardcode_libdir_separator_FC=:
13096 inherit_rpath_FC=yes
13097 link_all_deplibs_FC=yes
13100 netbsd*)
13101 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13102 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13103 else
13104 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13106 hardcode_libdir_flag_spec_FC='-R$libdir'
13107 hardcode_direct_FC=yes
13108 hardcode_shlibpath_var_FC=no
13111 newsos6)
13112 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13113 hardcode_direct_FC=yes
13114 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13115 hardcode_libdir_separator_FC=:
13116 hardcode_shlibpath_var_FC=no
13119 *nto* | *qnx*)
13122 openbsd*)
13123 if test -f /usr/libexec/ld.so; then
13124 hardcode_direct_FC=yes
13125 hardcode_shlibpath_var_FC=no
13126 hardcode_direct_absolute_FC=yes
13127 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13128 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13129 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13130 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13131 export_dynamic_flag_spec_FC='${wl}-E'
13132 else
13133 case $host_os in
13134 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13135 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13136 hardcode_libdir_flag_spec_FC='-R$libdir'
13139 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13140 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13142 esac
13144 else
13145 ld_shlibs_FC=no
13149 os2*)
13150 hardcode_libdir_flag_spec_FC='-L$libdir'
13151 hardcode_minus_L_FC=yes
13152 allow_undefined_flag_FC=unsupported
13153 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'
13154 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13157 osf3*)
13158 if test "$GCC" = yes; then
13159 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13160 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'
13161 else
13162 allow_undefined_flag_FC=' -expect_unresolved \*'
13163 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'
13165 archive_cmds_need_lc_FC='no'
13166 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13167 hardcode_libdir_separator_FC=:
13170 osf4* | osf5*) # as osf3* with the addition of -msym flag
13171 if test "$GCC" = yes; then
13172 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13173 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'
13174 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13175 else
13176 allow_undefined_flag_FC=' -expect_unresolved \*'
13177 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'
13178 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~
13179 $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'
13181 # Both c and cxx compiler support -rpath directly
13182 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13184 archive_cmds_need_lc_FC='no'
13185 hardcode_libdir_separator_FC=:
13188 solaris*)
13189 no_undefined_flag_FC=' -z defs'
13190 if test "$GCC" = yes; then
13191 wlarc='${wl}'
13192 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13194 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13195 else
13196 case `$CC -V 2>&1` in
13197 *"Compilers 5.0"*)
13198 wlarc=''
13199 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13200 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13201 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13204 wlarc='${wl}'
13205 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13206 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13207 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13209 esac
13211 hardcode_libdir_flag_spec_FC='-R$libdir'
13212 hardcode_shlibpath_var_FC=no
13213 case $host_os in
13214 solaris2.[0-5] | solaris2.[0-5].*) ;;
13216 # The compiler driver will combine and reorder linker options,
13217 # but understands `-z linker_flag'. GCC discards it without `$wl',
13218 # but is careful enough not to reorder.
13219 # Supported since Solaris 2.6 (maybe 2.5.1?)
13220 if test "$GCC" = yes; then
13221 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13222 else
13223 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13226 esac
13227 link_all_deplibs_FC=yes
13230 sunos4*)
13231 if test "x$host_vendor" = xsequent; then
13232 # Use $CC to link under sequent, because it throws in some extra .o
13233 # files that make .init and .fini sections work.
13234 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13235 else
13236 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13238 hardcode_libdir_flag_spec_FC='-L$libdir'
13239 hardcode_direct_FC=yes
13240 hardcode_minus_L_FC=yes
13241 hardcode_shlibpath_var_FC=no
13244 sysv4)
13245 case $host_vendor in
13246 sni)
13247 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13248 hardcode_direct_FC=yes # is this really true???
13250 siemens)
13251 ## LD is ld it makes a PLAMLIB
13252 ## CC just makes a GrossModule.
13253 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13254 reload_cmds_FC='$CC -r -o $output$reload_objs'
13255 hardcode_direct_FC=no
13257 motorola)
13258 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13259 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13261 esac
13262 runpath_var='LD_RUN_PATH'
13263 hardcode_shlibpath_var_FC=no
13266 sysv4.3*)
13267 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13268 hardcode_shlibpath_var_FC=no
13269 export_dynamic_flag_spec_FC='-Bexport'
13272 sysv4*MP*)
13273 if test -d /usr/nec; then
13274 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13275 hardcode_shlibpath_var_FC=no
13276 runpath_var=LD_RUN_PATH
13277 hardcode_runpath_var=yes
13278 ld_shlibs_FC=yes
13282 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13283 no_undefined_flag_FC='${wl}-z,text'
13284 archive_cmds_need_lc_FC=no
13285 hardcode_shlibpath_var_FC=no
13286 runpath_var='LD_RUN_PATH'
13288 if test "$GCC" = yes; then
13289 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13290 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13291 else
13292 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13293 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297 sysv5* | sco3.2v5* | sco5v6*)
13298 # Note: We can NOT use -z defs as we might desire, because we do not
13299 # link with -lc, and that would cause any symbols used from libc to
13300 # always be unresolved, which means just about no library would
13301 # ever link correctly. If we're not using GNU ld we use -z text
13302 # though, which does catch some bad symbols but isn't as heavy-handed
13303 # as -z defs.
13304 no_undefined_flag_FC='${wl}-z,text'
13305 allow_undefined_flag_FC='${wl}-z,nodefs'
13306 archive_cmds_need_lc_FC=no
13307 hardcode_shlibpath_var_FC=no
13308 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13309 hardcode_libdir_separator_FC=':'
13310 link_all_deplibs_FC=yes
13311 export_dynamic_flag_spec_FC='${wl}-Bexport'
13312 runpath_var='LD_RUN_PATH'
13314 if test "$GCC" = yes; then
13315 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13316 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13317 else
13318 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13319 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13323 uts4*)
13324 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13325 hardcode_libdir_flag_spec_FC='-L$libdir'
13326 hardcode_shlibpath_var_FC=no
13330 ld_shlibs_FC=no
13332 esac
13334 if test x$host_vendor = xsni; then
13335 case $host in
13336 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13337 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13339 esac
13343 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13344 echo "${ECHO_T}$ld_shlibs_FC" >&6
13345 test "$ld_shlibs_FC" = no && can_build_shared=no
13347 with_gnu_ld_FC=$with_gnu_ld
13355 # Do we need to explicitly link libc?
13357 case "x$archive_cmds_need_lc_FC" in
13358 x|xyes)
13359 # Assume -lc should be added
13360 archive_cmds_need_lc_FC=yes
13362 if test "$enable_shared" = yes && test "$GCC" = yes; then
13363 case $archive_cmds_FC in
13364 *'~'*)
13365 # FIXME: we may have to deal with multi-command sequences.
13367 '$CC '*)
13368 # Test whether the compiler implicitly links with -lc since on some
13369 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13370 # to ld, don't add -lc before -lgcc.
13371 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13372 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13373 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 else
13376 $RM conftest*
13377 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>&5
13381 ac_status=$?
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } 2>conftest.err; then
13384 soname=conftest
13385 lib=conftest
13386 libobjs=conftest.$ac_objext
13387 deplibs=
13388 wl=$lt_prog_compiler_wl_FC
13389 pic_flag=$lt_prog_compiler_pic_FC
13390 compiler_flags=-v
13391 linker_flags=-v
13392 verstring=
13393 output_objdir=.
13394 libname=conftest
13395 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13396 allow_undefined_flag_FC=
13397 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13398 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }
13402 then
13403 lt_cv_archive_cmds_need_lc_FC=no
13404 else
13405 lt_cv_archive_cmds_need_lc_FC=yes
13407 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13408 else
13409 cat conftest.err 1>&5
13411 $RM conftest*
13414 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13415 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13416 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13418 esac
13421 esac
13486 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13487 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13489 library_names_spec=
13490 libname_spec='lib$name'
13491 soname_spec=
13492 shrext_cmds=".so"
13493 postinstall_cmds=
13494 postuninstall_cmds=
13495 finish_cmds=
13496 finish_eval=
13497 shlibpath_var=
13498 shlibpath_overrides_runpath=unknown
13499 version_type=none
13500 dynamic_linker="$host_os ld.so"
13501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13502 need_lib_prefix=unknown
13503 hardcode_into_libs=no
13505 # when you set need_version to no, make sure it does not cause -set_version
13506 # flags to be left without arguments
13507 need_version=unknown
13509 case $host_os in
13510 aix3*)
13511 version_type=linux
13512 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13513 shlibpath_var=LIBPATH
13515 # AIX 3 has no versioning support, so we append a major version to the name.
13516 soname_spec='${libname}${release}${shared_ext}$major'
13519 aix[4-9]*)
13520 version_type=linux
13521 need_lib_prefix=no
13522 need_version=no
13523 hardcode_into_libs=yes
13524 if test "$host_cpu" = ia64; then
13525 # AIX 5 supports IA64
13526 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13527 shlibpath_var=LD_LIBRARY_PATH
13528 else
13529 # With GCC up to 2.95.x, collect2 would create an import file
13530 # for dependence libraries. The import file would start with
13531 # the line `#! .'. This would cause the generated library to
13532 # depend on `.', always an invalid library. This was fixed in
13533 # development snapshots of GCC prior to 3.0.
13534 case $host_os in
13535 aix4 | aix4.[01] | aix4.[01].*)
13536 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13537 echo ' yes '
13538 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13540 else
13541 can_build_shared=no
13544 esac
13545 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13546 # soname into executable. Probably we can add versioning support to
13547 # collect2, so additional links can be useful in future.
13548 if test "$aix_use_runtimelinking" = yes; then
13549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13550 # instead of lib<name>.a to let people know that these are not
13551 # typical AIX shared libraries.
13552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13553 else
13554 # We preserve .a as extension for shared libraries through AIX4.2
13555 # and later when we are not doing run time linking.
13556 library_names_spec='${libname}${release}.a $libname.a'
13557 soname_spec='${libname}${release}${shared_ext}$major'
13559 shlibpath_var=LIBPATH
13563 amigaos*)
13564 case $host_cpu in
13565 powerpc)
13566 # Since July 2007 AmigaOS4 officially supports .so libraries.
13567 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13570 m68k)
13571 library_names_spec='$libname.ixlibrary $libname.a'
13572 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13573 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'
13575 esac
13578 beos*)
13579 library_names_spec='${libname}${shared_ext}'
13580 dynamic_linker="$host_os ld.so"
13581 shlibpath_var=LIBRARY_PATH
13584 bsdi[45]*)
13585 version_type=linux
13586 need_version=no
13587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13588 soname_spec='${libname}${release}${shared_ext}$major'
13589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13593 # the default ld.so.conf also contains /usr/contrib/lib and
13594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13595 # libtool to hard-code these into programs
13598 cygwin* | mingw* | pw32* | cegcc*)
13599 version_type=windows
13600 shrext_cmds=".dll"
13601 need_version=no
13602 need_lib_prefix=no
13604 case $GCC,$host_os in
13605 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13606 library_names_spec='$libname.dll.a'
13607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13608 postinstall_cmds='base_file=`basename \${file}`~
13609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13610 dldir=$destdir/`dirname \$dlpath`~
13611 test -d \$dldir || mkdir -p \$dldir~
13612 $install_prog $dir/$dlname \$dldir/$dlname~
13613 chmod a+x \$dldir/$dlname~
13614 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13615 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13618 dlpath=$dir/\$dldll~
13619 $RM \$dlpath'
13620 shlibpath_overrides_runpath=yes
13622 case $host_os in
13623 cygwin*)
13624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13625 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13626 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13628 mingw* | cegcc*)
13629 # MinGW DLLs use traditional 'lib' prefix
13630 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13631 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13632 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13633 # It is most probably a Windows format PATH printed by
13634 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13635 # path with ; separators, and with drive letters. We can handle the
13636 # drive letters (cygwin fileutils understands them), so leave them,
13637 # especially as we might pass files found there to a mingw objdump,
13638 # which wouldn't understand a cygwinified path. Ahh.
13639 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13640 else
13641 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13644 pw32*)
13645 # pw32 DLLs use 'pw' prefix rather than 'lib'
13646 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13648 esac
13652 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13654 esac
13655 dynamic_linker='Win32 ld.exe'
13656 # FIXME: first we should search . and the directory the executable is in
13657 shlibpath_var=PATH
13660 darwin* | rhapsody*)
13661 dynamic_linker="$host_os dyld"
13662 version_type=darwin
13663 need_lib_prefix=no
13664 need_version=no
13665 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13666 soname_spec='${libname}${release}${major}$shared_ext'
13667 shlibpath_overrides_runpath=yes
13668 shlibpath_var=DYLD_LIBRARY_PATH
13669 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13671 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13674 dgux*)
13675 version_type=linux
13676 need_lib_prefix=no
13677 need_version=no
13678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13679 soname_spec='${libname}${release}${shared_ext}$major'
13680 shlibpath_var=LD_LIBRARY_PATH
13683 freebsd1*)
13684 dynamic_linker=no
13687 freebsd* | dragonfly*)
13688 # DragonFly does not have aout. When/if they implement a new
13689 # versioning mechanism, adjust this.
13690 if test -x /usr/bin/objformat; then
13691 objformat=`/usr/bin/objformat`
13692 else
13693 case $host_os in
13694 freebsd[123]*) objformat=aout ;;
13695 *) objformat=elf ;;
13696 esac
13698 version_type=freebsd-$objformat
13699 case $version_type in
13700 freebsd-elf*)
13701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13702 need_version=no
13703 need_lib_prefix=no
13705 freebsd-*)
13706 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13707 need_version=yes
13709 esac
13710 shlibpath_var=LD_LIBRARY_PATH
13711 case $host_os in
13712 freebsd2*)
13713 shlibpath_overrides_runpath=yes
13715 freebsd3.[01]* | freebsdelf3.[01]*)
13716 shlibpath_overrides_runpath=yes
13717 hardcode_into_libs=yes
13719 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13720 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13721 shlibpath_overrides_runpath=no
13722 hardcode_into_libs=yes
13724 *) # from 4.6 on, and DragonFly
13725 shlibpath_overrides_runpath=yes
13726 hardcode_into_libs=yes
13728 esac
13731 gnu*)
13732 version_type=linux
13733 need_lib_prefix=no
13734 need_version=no
13735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13736 soname_spec='${libname}${release}${shared_ext}$major'
13737 shlibpath_var=LD_LIBRARY_PATH
13738 hardcode_into_libs=yes
13741 hpux9* | hpux10* | hpux11*)
13742 # Give a soname corresponding to the major version so that dld.sl refuses to
13743 # link against other versions.
13744 version_type=sunos
13745 need_lib_prefix=no
13746 need_version=no
13747 case $host_cpu in
13748 ia64*)
13749 shrext_cmds='.so'
13750 hardcode_into_libs=yes
13751 dynamic_linker="$host_os dld.so"
13752 shlibpath_var=LD_LIBRARY_PATH
13753 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13755 soname_spec='${libname}${release}${shared_ext}$major'
13756 if test "X$HPUX_IA64_MODE" = X32; then
13757 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13758 else
13759 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13763 hppa*64*)
13764 shrext_cmds='.sl'
13765 hardcode_into_libs=yes
13766 dynamic_linker="$host_os dld.sl"
13767 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13768 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13770 soname_spec='${libname}${release}${shared_ext}$major'
13771 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13775 shrext_cmds='.sl'
13776 dynamic_linker="$host_os dld.sl"
13777 shlibpath_var=SHLIB_PATH
13778 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780 soname_spec='${libname}${release}${shared_ext}$major'
13782 esac
13783 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13784 postinstall_cmds='chmod 555 $lib'
13787 interix[3-9]*)
13788 version_type=linux
13789 need_lib_prefix=no
13790 need_version=no
13791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13792 soname_spec='${libname}${release}${shared_ext}$major'
13793 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13794 shlibpath_var=LD_LIBRARY_PATH
13795 shlibpath_overrides_runpath=no
13796 hardcode_into_libs=yes
13799 irix5* | irix6* | nonstopux*)
13800 case $host_os in
13801 nonstopux*) version_type=nonstopux ;;
13803 if test "$lt_cv_prog_gnu_ld" = yes; then
13804 version_type=linux
13805 else
13806 version_type=irix
13807 fi ;;
13808 esac
13809 need_lib_prefix=no
13810 need_version=no
13811 soname_spec='${libname}${release}${shared_ext}$major'
13812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13813 case $host_os in
13814 irix5* | nonstopux*)
13815 libsuff= shlibsuff=
13818 case $LD in # libtool.m4 will add one of these switches to LD
13819 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13820 libsuff= shlibsuff= libmagic=32-bit;;
13821 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13822 libsuff=32 shlibsuff=N32 libmagic=N32;;
13823 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13824 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13825 *) libsuff= shlibsuff= libmagic=never-match;;
13826 esac
13828 esac
13829 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13830 shlibpath_overrides_runpath=no
13831 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13832 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13833 hardcode_into_libs=yes
13836 # No shared lib support for Linux oldld, aout, or coff.
13837 linux*oldld* | linux*aout* | linux*coff*)
13838 dynamic_linker=no
13841 # This must be Linux ELF.
13842 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13843 version_type=linux
13844 need_lib_prefix=no
13845 need_version=no
13846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13847 soname_spec='${libname}${release}${shared_ext}$major'
13848 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13849 shlibpath_var=LD_LIBRARY_PATH
13850 shlibpath_overrides_runpath=no
13852 # Some binutils ld are patched to set DT_RUNPATH
13853 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13856 lt_cv_shlibpath_overrides_runpath=no
13857 save_LDFLAGS=$LDFLAGS
13858 save_libdir=$libdir
13859 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13860 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13861 if test x$gcc_no_link = xyes; then
13862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13864 { (exit 1); exit 1; }; }
13866 cat >conftest.$ac_ext <<_ACEOF
13867 program main
13870 _ACEOF
13871 rm -f conftest.$ac_objext conftest$ac_exeext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13873 (eval $ac_link) 2>conftest.er1
13874 ac_status=$?
13875 grep -v '^ *+' conftest.er1 >conftest.err
13876 rm -f conftest.er1
13877 cat conftest.err >&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try='test -z "$ac_fc_werror_flag"
13881 || test ! -s conftest.err'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13884 ac_status=$?
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; } &&
13887 { ac_try='test -s conftest$ac_exeext'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13890 ac_status=$?
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; }; then
13893 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13894 lt_cv_shlibpath_overrides_runpath=yes
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13902 rm -f conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LDFLAGS=$save_LDFLAGS
13905 libdir=$save_libdir
13909 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13911 # This implies no fast_install, which is unacceptable.
13912 # Some rework will be needed to allow for fast_install
13913 # before this can be enabled.
13914 hardcode_into_libs=yes
13916 # Append ld.so.conf contents to the search path
13917 if test -f /etc/ld.so.conf; then
13918 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13919 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13922 # We used to test for /lib/ld.so.1 and disable shared libraries on
13923 # powerpc, because MkLinux only supported shared libraries with the
13924 # GNU dynamic linker. Since this was broken with cross compilers,
13925 # most powerpc-linux boxes support dynamic linking these days and
13926 # people can always --disable-shared, the test was removed, and we
13927 # assume the GNU/Linux dynamic linker is in use.
13928 dynamic_linker='GNU/Linux ld.so'
13931 netbsd*)
13932 version_type=sunos
13933 need_lib_prefix=no
13934 need_version=no
13935 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13938 dynamic_linker='NetBSD (a.out) ld.so'
13939 else
13940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13941 soname_spec='${libname}${release}${shared_ext}$major'
13942 dynamic_linker='NetBSD ld.elf_so'
13944 shlibpath_var=LD_LIBRARY_PATH
13945 shlibpath_overrides_runpath=yes
13946 hardcode_into_libs=yes
13949 newsos6)
13950 version_type=linux
13951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13952 shlibpath_var=LD_LIBRARY_PATH
13953 shlibpath_overrides_runpath=yes
13956 *nto* | *qnx*)
13957 version_type=qnx
13958 need_lib_prefix=no
13959 need_version=no
13960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13961 soname_spec='${libname}${release}${shared_ext}$major'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=no
13964 hardcode_into_libs=yes
13965 dynamic_linker='ldqnx.so'
13968 openbsd*)
13969 version_type=sunos
13970 sys_lib_dlsearch_path_spec="/usr/lib"
13971 need_lib_prefix=no
13972 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13973 case $host_os in
13974 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13975 *) need_version=no ;;
13976 esac
13977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13978 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13979 shlibpath_var=LD_LIBRARY_PATH
13980 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13981 case $host_os in
13982 openbsd2.[89] | openbsd2.[89].*)
13983 shlibpath_overrides_runpath=no
13986 shlibpath_overrides_runpath=yes
13988 esac
13989 else
13990 shlibpath_overrides_runpath=yes
13994 os2*)
13995 libname_spec='$name'
13996 shrext_cmds=".dll"
13997 need_lib_prefix=no
13998 library_names_spec='$libname${shared_ext} $libname.a'
13999 dynamic_linker='OS/2 ld.exe'
14000 shlibpath_var=LIBPATH
14003 osf3* | osf4* | osf5*)
14004 version_type=osf
14005 need_lib_prefix=no
14006 need_version=no
14007 soname_spec='${libname}${release}${shared_ext}$major'
14008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14009 shlibpath_var=LD_LIBRARY_PATH
14010 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14011 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14014 rdos*)
14015 dynamic_linker=no
14018 solaris*)
14019 version_type=linux
14020 need_lib_prefix=no
14021 need_version=no
14022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14023 soname_spec='${libname}${release}${shared_ext}$major'
14024 shlibpath_var=LD_LIBRARY_PATH
14025 shlibpath_overrides_runpath=yes
14026 hardcode_into_libs=yes
14027 # ldd complains unless libraries are executable
14028 postinstall_cmds='chmod +x $lib'
14031 sunos4*)
14032 version_type=sunos
14033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14034 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14035 shlibpath_var=LD_LIBRARY_PATH
14036 shlibpath_overrides_runpath=yes
14037 if test "$with_gnu_ld" = yes; then
14038 need_lib_prefix=no
14040 need_version=yes
14043 sysv4 | sysv4.3*)
14044 version_type=linux
14045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14046 soname_spec='${libname}${release}${shared_ext}$major'
14047 shlibpath_var=LD_LIBRARY_PATH
14048 case $host_vendor in
14049 sni)
14050 shlibpath_overrides_runpath=no
14051 need_lib_prefix=no
14052 runpath_var=LD_RUN_PATH
14054 siemens)
14055 need_lib_prefix=no
14057 motorola)
14058 need_lib_prefix=no
14059 need_version=no
14060 shlibpath_overrides_runpath=no
14061 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14063 esac
14066 sysv4*MP*)
14067 if test -d /usr/nec ;then
14068 version_type=linux
14069 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14070 soname_spec='$libname${shared_ext}.$major'
14071 shlibpath_var=LD_LIBRARY_PATH
14075 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14076 version_type=freebsd-elf
14077 need_lib_prefix=no
14078 need_version=no
14079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14080 soname_spec='${libname}${release}${shared_ext}$major'
14081 shlibpath_var=LD_LIBRARY_PATH
14082 shlibpath_overrides_runpath=yes
14083 hardcode_into_libs=yes
14084 if test "$with_gnu_ld" = yes; then
14085 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14086 else
14087 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14088 case $host_os in
14089 sco3.2v5*)
14090 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14092 esac
14094 sys_lib_dlsearch_path_spec='/usr/lib'
14097 tpf*)
14098 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14099 version_type=linux
14100 need_lib_prefix=no
14101 need_version=no
14102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103 shlibpath_var=LD_LIBRARY_PATH
14104 shlibpath_overrides_runpath=no
14105 hardcode_into_libs=yes
14108 uts4*)
14109 version_type=linux
14110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14111 soname_spec='${libname}${release}${shared_ext}$major'
14112 shlibpath_var=LD_LIBRARY_PATH
14116 dynamic_linker=no
14118 esac
14119 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14120 echo "${ECHO_T}$dynamic_linker" >&6
14121 test "$dynamic_linker" = no && can_build_shared=no
14123 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14124 if test "$GCC" = yes; then
14125 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14128 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14129 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14131 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14132 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14170 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14171 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14172 hardcode_action_FC=
14173 if test -n "$hardcode_libdir_flag_spec_FC" ||
14174 test -n "$runpath_var_FC" ||
14175 test "X$hardcode_automatic_FC" = "Xyes" ; then
14177 # We can hardcode non-existent directories.
14178 if test "$hardcode_direct_FC" != no &&
14179 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14180 # have to relink, otherwise we might link with an installed library
14181 # when we should be linking with a yet-to-be-installed one
14182 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14183 test "$hardcode_minus_L_FC" != no; then
14184 # Linking always hardcodes the temporary library directory.
14185 hardcode_action_FC=relink
14186 else
14187 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14188 hardcode_action_FC=immediate
14190 else
14191 # We cannot hardcode anything, or else we can only hardcode existing
14192 # directories.
14193 hardcode_action_FC=unsupported
14195 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14196 echo "${ECHO_T}$hardcode_action_FC" >&6
14198 if test "$hardcode_action_FC" = relink ||
14199 test "$inherit_rpath_FC" = yes; then
14200 # Fast installation is not supported
14201 enable_fast_install=no
14202 elif test "$shlibpath_overrides_runpath" = yes ||
14203 test "$enable_shared" = no; then
14204 # Fast installation is not necessary
14205 enable_fast_install=needless
14214 fi # test -n "$compiler"
14216 GCC=$lt_save_GCC
14217 CC="$lt_save_CC"
14218 fi # test "$_lt_disable_FC" != yes
14220 ac_ext=c
14221 ac_cpp='$CPP $CPPFLAGS'
14222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14228 # extra LD Flags which are required for targets
14229 case "${host}" in
14230 *-darwin*)
14231 # Darwin needs -single_module when linking libgfortran
14232 extra_ldflags_libgfortran=-Wl,-single_module
14234 esac
14237 # We need a working compiler at that point, otherwise give a clear
14238 # error message and bail out.
14240 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14241 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14242 ac_ext=${FC_SRCEXT-f}
14243 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14244 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14247 cat >conftest.$ac_ext <<_ACEOF
14249 program foo
14250 real, parameter :: bar = sin (12.34 / 2.5)
14251 end program foo
14252 _ACEOF
14253 rm -f conftest.$ac_objext
14254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14255 (eval $ac_compile) 2>conftest.er1
14256 ac_status=$?
14257 grep -v '^ *+' conftest.er1 >conftest.err
14258 rm -f conftest.er1
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } &&
14262 { ac_try='test -z "$ac_fc_werror_flag"
14263 || test ! -s conftest.err'
14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265 (eval $ac_try) 2>&5
14266 ac_status=$?
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 echo "$as_me:$LINENO: result: yes" >&5
14276 echo "${ECHO_T}yes" >&6
14277 else
14278 echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14281 echo "$as_me:$LINENO: result: no" >&5
14282 echo "${ECHO_T}no" >&6
14283 { { 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
14284 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14285 { (exit 1); exit 1; }; }
14288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14289 ac_ext=c
14290 ac_cpp='$CPP $CPPFLAGS'
14291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14297 # Check whether --enable-largefile or --disable-largefile was given.
14298 if test "${enable_largefile+set}" = set; then
14299 enableval="$enable_largefile"
14302 if test "$enable_largefile" != no; then
14304 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14305 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14306 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 else
14309 ac_cv_sys_largefile_CC=no
14310 if test "$GCC" != yes; then
14311 ac_save_CC=$CC
14312 while :; do
14313 # IRIX 6.2 and later do not support large files by default,
14314 # so use the C compiler's -n32 option if that helps.
14315 cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321 #include <sys/types.h>
14322 /* Check that off_t can represent 2**63 - 1 correctly.
14323 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14324 since some C++ compilers masquerading as C compilers
14325 incorrectly reject 9223372036854775807. */
14326 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14327 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14328 && LARGE_OFF_T % 2147483647 == 1)
14329 ? 1 : -1];
14331 main ()
14335 return 0;
14337 _ACEOF
14338 rm -f conftest.$ac_objext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14340 (eval $ac_compile) 2>conftest.er1
14341 ac_status=$?
14342 grep -v '^ *+' conftest.er1 >conftest.err
14343 rm -f conftest.er1
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -z "$ac_c_werror_flag"
14348 || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14357 ac_status=$?
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 break
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14366 rm -f conftest.err conftest.$ac_objext
14367 CC="$CC -n32"
14368 rm -f conftest.$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>conftest.er1
14371 ac_status=$?
14372 grep -v '^ *+' conftest.er1 >conftest.err
14373 rm -f conftest.er1
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try='test -z "$ac_c_werror_flag"
14378 || test ! -s conftest.err'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14381 ac_status=$?
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; } &&
14384 { ac_try='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_sys_largefile_CC=' -n32'; break
14391 else
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14396 rm -f conftest.err conftest.$ac_objext
14397 break
14398 done
14399 CC=$ac_save_CC
14400 rm -f conftest.$ac_ext
14403 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14404 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14405 if test "$ac_cv_sys_largefile_CC" != no; then
14406 CC=$CC$ac_cv_sys_largefile_CC
14409 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14410 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14411 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 else
14414 while :; do
14415 ac_cv_sys_file_offset_bits=no
14416 cat >conftest.$ac_ext <<_ACEOF
14417 /* confdefs.h. */
14418 _ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 #include <sys/types.h>
14423 /* Check that off_t can represent 2**63 - 1 correctly.
14424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14425 since some C++ compilers masquerading as C compilers
14426 incorrectly reject 9223372036854775807. */
14427 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14429 && LARGE_OFF_T % 2147483647 == 1)
14430 ? 1 : -1];
14432 main ()
14436 return 0;
14438 _ACEOF
14439 rm -f conftest.$ac_objext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441 (eval $ac_compile) 2>conftest.er1
14442 ac_status=$?
14443 grep -v '^ *+' conftest.er1 >conftest.err
14444 rm -f conftest.er1
14445 cat conftest.err >&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } &&
14448 { ac_try='test -z "$ac_c_werror_flag"
14449 || test ! -s conftest.err'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest.$ac_objext'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14458 ac_status=$?
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; }; then
14461 break
14462 else
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14468 cat >conftest.$ac_ext <<_ACEOF
14469 /* confdefs.h. */
14470 _ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14474 #define _FILE_OFFSET_BITS 64
14475 #include <sys/types.h>
14476 /* Check that off_t can represent 2**63 - 1 correctly.
14477 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14478 since some C++ compilers masquerading as C compilers
14479 incorrectly reject 9223372036854775807. */
14480 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14481 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14482 && LARGE_OFF_T % 2147483647 == 1)
14483 ? 1 : -1];
14485 main ()
14489 return 0;
14491 _ACEOF
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>conftest.er1
14495 ac_status=$?
14496 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag"
14502 || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14505 ac_status=$?
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14511 ac_status=$?
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_sys_file_offset_bits=64; break
14515 else
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14521 break
14522 done
14524 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14525 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14526 if test "$ac_cv_sys_file_offset_bits" != no; then
14528 cat >>confdefs.h <<_ACEOF
14529 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14530 _ACEOF
14533 rm -f conftest*
14534 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14535 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14536 if test "${ac_cv_sys_large_files+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 else
14539 while :; do
14540 ac_cv_sys_large_files=no
14541 cat >conftest.$ac_ext <<_ACEOF
14542 /* confdefs.h. */
14543 _ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 #include <sys/types.h>
14548 /* Check that off_t can represent 2**63 - 1 correctly.
14549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14550 since some C++ compilers masquerading as C compilers
14551 incorrectly reject 9223372036854775807. */
14552 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14554 && LARGE_OFF_T % 2147483647 == 1)
14555 ? 1 : -1];
14557 main ()
14561 return 0;
14563 _ACEOF
14564 rm -f conftest.$ac_objext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14566 (eval $ac_compile) 2>conftest.er1
14567 ac_status=$?
14568 grep -v '^ *+' conftest.er1 >conftest.err
14569 rm -f conftest.er1
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } &&
14573 { ac_try='test -z "$ac_c_werror_flag"
14574 || test ! -s conftest.err'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try='test -s conftest.$ac_objext'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14586 break
14587 else
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.$ac_ext >&5
14592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 #define _LARGE_FILES 1
14600 #include <sys/types.h>
14601 /* Check that off_t can represent 2**63 - 1 correctly.
14602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14603 since some C++ compilers masquerading as C compilers
14604 incorrectly reject 9223372036854775807. */
14605 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14607 && LARGE_OFF_T % 2147483647 == 1)
14608 ? 1 : -1];
14610 main ()
14614 return 0;
14616 _ACEOF
14617 rm -f conftest.$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try='test -z "$ac_c_werror_flag"
14627 || test ! -s conftest.err'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14630 ac_status=$?
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; } &&
14633 { ac_try='test -s conftest.$ac_objext'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14636 ac_status=$?
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; }; then
14639 ac_cv_sys_large_files=1; break
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14646 break
14647 done
14649 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14650 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14651 if test "$ac_cv_sys_large_files" != no; then
14653 cat >>confdefs.h <<_ACEOF
14654 #define _LARGE_FILES $ac_cv_sys_large_files
14655 _ACEOF
14658 rm -f conftest*
14661 echo "$as_me:$LINENO: checking for off_t" >&5
14662 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14663 if test "${ac_cv_type_off_t+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14674 main ()
14676 if ((off_t *) 0)
14677 return 0;
14678 if (sizeof (off_t))
14679 return 0;
14681 return 0;
14683 _ACEOF
14684 rm -f conftest.$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try='test -z "$ac_c_werror_flag"
14694 || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try='test -s conftest.$ac_objext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14703 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_type_off_t=yes
14707 else
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 ac_cv_type_off_t=no
14713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14715 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14716 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14717 if test $ac_cv_type_off_t = yes; then
14719 else
14721 cat >>confdefs.h <<_ACEOF
14722 #define off_t long
14723 _ACEOF
14728 # check header files
14729 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14730 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14731 if test "${ac_cv_header_stdc+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 else
14734 cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h. */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 #include <stdlib.h>
14741 #include <stdarg.h>
14742 #include <string.h>
14743 #include <float.h>
14746 main ()
14750 return 0;
14752 _ACEOF
14753 rm -f conftest.$ac_objext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14755 (eval $ac_compile) 2>conftest.er1
14756 ac_status=$?
14757 grep -v '^ *+' conftest.er1 >conftest.err
14758 rm -f conftest.er1
14759 cat conftest.err >&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -z "$ac_c_werror_flag"
14763 || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14766 ac_status=$?
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try='test -s conftest.$ac_objext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_header_stdc=yes
14776 else
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.$ac_ext >&5
14780 ac_cv_header_stdc=no
14782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14784 if test $ac_cv_header_stdc = yes; then
14785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 #include <string.h>
14794 _ACEOF
14795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14796 $EGREP "memchr" >/dev/null 2>&1; then
14798 else
14799 ac_cv_header_stdc=no
14801 rm -f conftest*
14805 if test $ac_cv_header_stdc = yes; then
14806 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14813 #include <stdlib.h>
14815 _ACEOF
14816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14817 $EGREP "free" >/dev/null 2>&1; then
14819 else
14820 ac_cv_header_stdc=no
14822 rm -f conftest*
14826 if test $ac_cv_header_stdc = yes; then
14827 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14828 if test "$cross_compiling" = yes; then
14830 else
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837 #include <ctype.h>
14838 #if ((' ' & 0x0FF) == 0x020)
14839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14841 #else
14842 # define ISLOWER(c) \
14843 (('a' <= (c) && (c) <= 'i') \
14844 || ('j' <= (c) && (c) <= 'r') \
14845 || ('s' <= (c) && (c) <= 'z'))
14846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14847 #endif
14849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14851 main ()
14853 int i;
14854 for (i = 0; i < 256; i++)
14855 if (XOR (islower (i), ISLOWER (i))
14856 || toupper (i) != TOUPPER (i))
14857 exit(2);
14858 exit (0);
14860 _ACEOF
14861 rm -f conftest$ac_exeext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14863 (eval $ac_link) 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14873 else
14874 echo "$as_me: program exited with status $ac_status" >&5
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14878 ( exit $ac_status )
14879 ac_cv_header_stdc=no
14881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14885 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14886 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14887 if test $ac_cv_header_stdc = yes; then
14889 cat >>confdefs.h <<\_ACEOF
14890 #define STDC_HEADERS 1
14891 _ACEOF
14895 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14896 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14897 if test "${ac_cv_header_time+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14900 cat >conftest.$ac_ext <<_ACEOF
14901 /* confdefs.h. */
14902 _ACEOF
14903 cat confdefs.h >>conftest.$ac_ext
14904 cat >>conftest.$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 #include <sys/types.h>
14907 #include <sys/time.h>
14908 #include <time.h>
14911 main ()
14913 if ((struct tm *) 0)
14914 return 0;
14916 return 0;
14918 _ACEOF
14919 rm -f conftest.$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14922 ac_status=$?
14923 grep -v '^ *+' conftest.er1 >conftest.err
14924 rm -f conftest.er1
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -z "$ac_c_werror_flag"
14929 || test ! -s conftest.err'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_cv_header_time=yes
14942 else
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14946 ac_cv_header_time=no
14948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14950 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14951 echo "${ECHO_T}$ac_cv_header_time" >&6
14952 if test $ac_cv_header_time = yes; then
14954 cat >>confdefs.h <<\_ACEOF
14955 #define TIME_WITH_SYS_TIME 1
14956 _ACEOF
14966 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14977 else
14978 # Is the header compilable?
14979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14981 cat >conftest.$ac_ext <<_ACEOF
14982 /* confdefs.h. */
14983 _ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 $ac_includes_default
14988 #include <$ac_header>
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_header_compiler=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15017 ac_header_compiler=no
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15021 echo "${ECHO_T}$ac_header_compiler" >&6
15023 # Is the header present?
15024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 #include <$ac_header>
15033 _ACEOF
15034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15036 ac_status=$?
15037 grep -v '^ *+' conftest.er1 >conftest.err
15038 rm -f conftest.er1
15039 cat conftest.err >&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } >/dev/null; then
15042 if test -s conftest.err; then
15043 ac_cpp_err=$ac_c_preproc_warn_flag
15044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15045 else
15046 ac_cpp_err=
15048 else
15049 ac_cpp_err=yes
15051 if test -z "$ac_cpp_err"; then
15052 ac_header_preproc=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 ac_header_preproc=no
15059 rm -f conftest.err conftest.$ac_ext
15060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15061 echo "${ECHO_T}$ac_header_preproc" >&6
15063 # So? What about this header?
15064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15065 yes:no: )
15066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15070 ac_header_preproc=yes
15072 no:yes:* )
15073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15086 cat <<\_ASBOX
15087 ## ------------------------------------------------------ ##
15088 ## Report this to the GNU Fortran Runtime Library lists. ##
15089 ## ------------------------------------------------------ ##
15090 _ASBOX
15092 sed "s/^/$as_me: WARNING: /" >&2
15094 esac
15095 echo "$as_me:$LINENO: checking for $ac_header" >&5
15096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 else
15100 eval "$as_ac_Header=\$ac_header_preproc"
15102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15107 cat >>confdefs.h <<_ACEOF
15108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15109 _ACEOF
15113 done
15119 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15123 echo "$as_me:$LINENO: checking for $ac_header" >&5
15124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15126 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15130 else
15131 # Is the header compilable?
15132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15134 cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h. */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 #include <$ac_header>
15142 _ACEOF
15143 rm -f conftest.$ac_objext
15144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15145 (eval $ac_compile) 2>conftest.er1
15146 ac_status=$?
15147 grep -v '^ *+' conftest.er1 >conftest.err
15148 rm -f conftest.er1
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -z "$ac_c_werror_flag"
15153 || test ! -s conftest.err'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; } &&
15159 { ac_try='test -s conftest.$ac_objext'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; }; then
15165 ac_header_compiler=yes
15166 else
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15170 ac_header_compiler=no
15172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15174 echo "${ECHO_T}$ac_header_compiler" >&6
15176 # Is the header present?
15177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15179 cat >conftest.$ac_ext <<_ACEOF
15180 /* confdefs.h. */
15181 _ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15185 #include <$ac_header>
15186 _ACEOF
15187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } >/dev/null; then
15195 if test -s conftest.err; then
15196 ac_cpp_err=$ac_c_preproc_warn_flag
15197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15198 else
15199 ac_cpp_err=
15201 else
15202 ac_cpp_err=yes
15204 if test -z "$ac_cpp_err"; then
15205 ac_header_preproc=yes
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 ac_header_preproc=no
15212 rm -f conftest.err conftest.$ac_ext
15213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15214 echo "${ECHO_T}$ac_header_preproc" >&6
15216 # So? What about this header?
15217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15218 yes:no: )
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15223 ac_header_preproc=yes
15225 no:yes:* )
15226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15239 cat <<\_ASBOX
15240 ## ------------------------------------------------------ ##
15241 ## Report this to the GNU Fortran Runtime Library lists. ##
15242 ## ------------------------------------------------------ ##
15243 _ASBOX
15245 sed "s/^/$as_me: WARNING: /" >&2
15247 esac
15248 echo "$as_me:$LINENO: checking for $ac_header" >&5
15249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253 eval "$as_ac_Header=\$ac_header_preproc"
15255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15260 cat >>confdefs.h <<_ACEOF
15261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15262 _ACEOF
15266 done
15273 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15277 echo "$as_me:$LINENO: checking for $ac_header" >&5
15278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15284 else
15285 # Is the header compilable?
15286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15288 cat >conftest.$ac_ext <<_ACEOF
15289 /* confdefs.h. */
15290 _ACEOF
15291 cat confdefs.h >>conftest.$ac_ext
15292 cat >>conftest.$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15294 $ac_includes_default
15295 #include <$ac_header>
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_header_compiler=yes
15320 else
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15324 ac_header_compiler=no
15326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15328 echo "${ECHO_T}$ac_header_compiler" >&6
15330 # Is the header present?
15331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15333 cat >conftest.$ac_ext <<_ACEOF
15334 /* confdefs.h. */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 #include <$ac_header>
15340 _ACEOF
15341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } >/dev/null; then
15349 if test -s conftest.err; then
15350 ac_cpp_err=$ac_c_preproc_warn_flag
15351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15352 else
15353 ac_cpp_err=
15355 else
15356 ac_cpp_err=yes
15358 if test -z "$ac_cpp_err"; then
15359 ac_header_preproc=yes
15360 else
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.$ac_ext >&5
15364 ac_header_preproc=no
15366 rm -f conftest.err conftest.$ac_ext
15367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15368 echo "${ECHO_T}$ac_header_preproc" >&6
15370 # So? What about this header?
15371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15372 yes:no: )
15373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15377 ac_header_preproc=yes
15379 no:yes:* )
15380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15393 cat <<\_ASBOX
15394 ## ------------------------------------------------------ ##
15395 ## Report this to the GNU Fortran Runtime Library lists. ##
15396 ## ------------------------------------------------------ ##
15397 _ASBOX
15399 sed "s/^/$as_me: WARNING: /" >&2
15401 esac
15402 echo "$as_me:$LINENO: checking for $ac_header" >&5
15403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 eval "$as_ac_Header=\$ac_header_preproc"
15409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15414 cat >>confdefs.h <<_ACEOF
15415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15416 _ACEOF
15420 done
15427 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15431 echo "$as_me:$LINENO: checking for $ac_header" >&5
15432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15438 else
15439 # Is the header compilable?
15440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15442 cat >conftest.$ac_ext <<_ACEOF
15443 /* confdefs.h. */
15444 _ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15448 $ac_includes_default
15449 #include <$ac_header>
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15454 ac_status=$?
15455 grep -v '^ *+' conftest.er1 >conftest.err
15456 rm -f conftest.er1
15457 cat conftest.err >&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try='test -z "$ac_c_werror_flag"
15461 || test ! -s conftest.err'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15470 ac_status=$?
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15473 ac_header_compiler=yes
15474 else
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 ac_header_compiler=no
15480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15482 echo "${ECHO_T}$ac_header_compiler" >&6
15484 # Is the header present?
15485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15487 cat >conftest.$ac_ext <<_ACEOF
15488 /* confdefs.h. */
15489 _ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 #include <$ac_header>
15494 _ACEOF
15495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15497 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } >/dev/null; then
15503 if test -s conftest.err; then
15504 ac_cpp_err=$ac_c_preproc_warn_flag
15505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15506 else
15507 ac_cpp_err=
15509 else
15510 ac_cpp_err=yes
15512 if test -z "$ac_cpp_err"; then
15513 ac_header_preproc=yes
15514 else
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.$ac_ext >&5
15518 ac_header_preproc=no
15520 rm -f conftest.err conftest.$ac_ext
15521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15522 echo "${ECHO_T}$ac_header_preproc" >&6
15524 # So? What about this header?
15525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15526 yes:no: )
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15531 ac_header_preproc=yes
15533 no:yes:* )
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15547 cat <<\_ASBOX
15548 ## ------------------------------------------------------ ##
15549 ## Report this to the GNU Fortran Runtime Library lists. ##
15550 ## ------------------------------------------------------ ##
15551 _ASBOX
15553 sed "s/^/$as_me: WARNING: /" >&2
15555 esac
15556 echo "$as_me:$LINENO: checking for $ac_header" >&5
15557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15561 eval "$as_ac_Header=\$ac_header_preproc"
15563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15568 cat >>confdefs.h <<_ACEOF
15569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15570 _ACEOF
15574 done
15576 if test "${ac_cv_header_complex_h+set}" = set; then
15577 echo "$as_me:$LINENO: checking for complex.h" >&5
15578 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15579 if test "${ac_cv_header_complex_h+set}" = set; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15583 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15584 else
15585 # Is the header compilable?
15586 echo "$as_me:$LINENO: checking complex.h usability" >&5
15587 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15588 cat >conftest.$ac_ext <<_ACEOF
15589 /* confdefs.h. */
15590 _ACEOF
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15595 #include <complex.h>
15596 _ACEOF
15597 rm -f conftest.$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15600 ac_status=$?
15601 grep -v '^ *+' conftest.er1 >conftest.err
15602 rm -f conftest.er1
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag"
15607 || test ! -s conftest.err'
15608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 (eval $ac_try) 2>&5
15610 ac_status=$?
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); }; } &&
15613 { ac_try='test -s conftest.$ac_objext'
15614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15615 (eval $ac_try) 2>&5
15616 ac_status=$?
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); }; }; then
15619 ac_header_compiler=yes
15620 else
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15624 ac_header_compiler=no
15626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15628 echo "${ECHO_T}$ac_header_compiler" >&6
15630 # Is the header present?
15631 echo "$as_me:$LINENO: checking complex.h presence" >&5
15632 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
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 #include <complex.h>
15640 _ACEOF
15641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15643 ac_status=$?
15644 grep -v '^ *+' conftest.er1 >conftest.err
15645 rm -f conftest.er1
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } >/dev/null; then
15649 if test -s conftest.err; then
15650 ac_cpp_err=$ac_c_preproc_warn_flag
15651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15652 else
15653 ac_cpp_err=
15655 else
15656 ac_cpp_err=yes
15658 if test -z "$ac_cpp_err"; then
15659 ac_header_preproc=yes
15660 else
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.$ac_ext >&5
15664 ac_header_preproc=no
15666 rm -f conftest.err conftest.$ac_ext
15667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15668 echo "${ECHO_T}$ac_header_preproc" >&6
15670 # So? What about this header?
15671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15672 yes:no: )
15673 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15674 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15675 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15676 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15677 ac_header_preproc=yes
15679 no:yes:* )
15680 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15681 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15682 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15683 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15684 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15685 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15686 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15687 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15688 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15689 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15690 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15691 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15693 cat <<\_ASBOX
15694 ## ------------------------------------------------------ ##
15695 ## Report this to the GNU Fortran Runtime Library lists. ##
15696 ## ------------------------------------------------------ ##
15697 _ASBOX
15699 sed "s/^/$as_me: WARNING: /" >&2
15701 esac
15702 echo "$as_me:$LINENO: checking for complex.h" >&5
15703 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15704 if test "${ac_cv_header_complex_h+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 ac_cv_header_complex_h=$ac_header_preproc
15709 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15710 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15713 if test $ac_cv_header_complex_h = yes; then
15715 cat >>confdefs.h <<\_ACEOF
15716 #define HAVE_COMPLEX_H 1
15717 _ACEOF
15724 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15726 acx_cv_header_stdint=stddef.h
15727 acx_cv_header_stdint_kind="(already complete)"
15728 for i in stdint.h $inttype_headers; do
15729 unset ac_cv_type_uintptr_t
15730 unset ac_cv_type_uintmax_t
15731 unset ac_cv_type_int_least32_t
15732 unset ac_cv_type_int_fast32_t
15733 unset ac_cv_type_uint64_t
15734 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15735 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15736 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15737 if test "${ac_cv_type_uintmax_t+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740 cat >conftest.$ac_ext <<_ACEOF
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 #include <sys/types.h>
15747 #include <$i>
15750 main ()
15752 if ((uintmax_t *) 0)
15753 return 0;
15754 if (sizeof (uintmax_t))
15755 return 0;
15757 return 0;
15759 _ACEOF
15760 rm -f conftest.$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15763 ac_status=$?
15764 grep -v '^ *+' conftest.er1 >conftest.err
15765 rm -f conftest.er1
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_c_werror_flag"
15770 || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_type_uintmax_t=yes
15783 else
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15787 ac_cv_type_uintmax_t=no
15789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15791 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15792 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15793 if test $ac_cv_type_uintmax_t = yes; then
15794 acx_cv_header_stdint=$i
15795 else
15796 continue
15799 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15800 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15801 if test "${ac_cv_type_uintptr_t+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 cat >conftest.$ac_ext <<_ACEOF
15805 /* confdefs.h. */
15806 _ACEOF
15807 cat confdefs.h >>conftest.$ac_ext
15808 cat >>conftest.$ac_ext <<_ACEOF
15809 /* end confdefs.h. */
15810 #include <sys/types.h>
15811 #include <$i>
15814 main ()
15816 if ((uintptr_t *) 0)
15817 return 0;
15818 if (sizeof (uintptr_t))
15819 return 0;
15821 return 0;
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_c_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_type_uintptr_t=yes
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_cv_type_uintptr_t=no
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15855 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15856 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15857 if test $ac_cv_type_uintptr_t = yes; then
15859 else
15860 acx_cv_header_stdint_kind="(mostly complete)"
15863 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15864 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15865 if test "${ac_cv_type_int_least32_t+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 else
15868 cat >conftest.$ac_ext <<_ACEOF
15869 /* confdefs.h. */
15870 _ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 #include <sys/types.h>
15875 #include <$i>
15878 main ()
15880 if ((int_least32_t *) 0)
15881 return 0;
15882 if (sizeof (int_least32_t))
15883 return 0;
15885 return 0;
15887 _ACEOF
15888 rm -f conftest.$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>conftest.er1
15891 ac_status=$?
15892 grep -v '^ *+' conftest.er1 >conftest.err
15893 rm -f conftest.er1
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } &&
15897 { ac_try='test -z "$ac_c_werror_flag"
15898 || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_type_int_least32_t=yes
15911 else
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15915 ac_cv_type_int_least32_t=no
15917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15919 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15920 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15921 if test $ac_cv_type_int_least32_t = yes; then
15923 else
15924 acx_cv_header_stdint_kind="(mostly complete)"
15927 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15928 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15929 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15932 cat >conftest.$ac_ext <<_ACEOF
15933 /* confdefs.h. */
15934 _ACEOF
15935 cat confdefs.h >>conftest.$ac_ext
15936 cat >>conftest.$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15938 #include <sys/types.h>
15939 #include <$i>
15942 main ()
15944 if ((int_fast32_t *) 0)
15945 return 0;
15946 if (sizeof (int_fast32_t))
15947 return 0;
15949 return 0;
15951 _ACEOF
15952 rm -f conftest.$ac_objext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15954 (eval $ac_compile) 2>conftest.er1
15955 ac_status=$?
15956 grep -v '^ *+' conftest.er1 >conftest.err
15957 rm -f conftest.er1
15958 cat conftest.err >&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try='test -z "$ac_c_werror_flag"
15962 || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try='test -s conftest.$ac_objext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_cv_type_int_fast32_t=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15979 ac_cv_type_int_fast32_t=no
15981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15983 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15984 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15985 if test $ac_cv_type_int_fast32_t = yes; then
15987 else
15988 acx_cv_header_stdint_kind="(mostly complete)"
15991 echo "$as_me:$LINENO: checking for uint64_t" >&5
15992 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15993 if test "${ac_cv_type_uint64_t+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 else
15996 cat >conftest.$ac_ext <<_ACEOF
15997 /* confdefs.h. */
15998 _ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 #include <sys/types.h>
16003 #include <$i>
16006 main ()
16008 if ((uint64_t *) 0)
16009 return 0;
16010 if (sizeof (uint64_t))
16011 return 0;
16013 return 0;
16015 _ACEOF
16016 rm -f conftest.$ac_objext
16017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16018 (eval $ac_compile) 2>conftest.er1
16019 ac_status=$?
16020 grep -v '^ *+' conftest.er1 >conftest.err
16021 rm -f conftest.er1
16022 cat conftest.err >&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); } &&
16025 { ac_try='test -z "$ac_c_werror_flag"
16026 || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest.$ac_objext'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; }; then
16038 ac_cv_type_uint64_t=yes
16039 else
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16043 ac_cv_type_uint64_t=no
16045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16047 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16048 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16049 if test $ac_cv_type_uint64_t = yes; then
16051 else
16052 acx_cv_header_stdint_kind="(lacks uint64_t)"
16055 break
16056 done
16057 if test "$acx_cv_header_stdint" = stddef.h; then
16058 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16059 for i in stdint.h $inttype_headers; do
16060 unset ac_cv_type_uintptr_t
16061 unset ac_cv_type_uint32_t
16062 unset ac_cv_type_uint64_t
16063 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
16064 echo "$as_me:$LINENO: checking for uint32_t" >&5
16065 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16066 if test "${ac_cv_type_uint32_t+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069 cat >conftest.$ac_ext <<_ACEOF
16070 /* confdefs.h. */
16071 _ACEOF
16072 cat confdefs.h >>conftest.$ac_ext
16073 cat >>conftest.$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 #include <sys/types.h>
16076 #include <$i>
16079 main ()
16081 if ((uint32_t *) 0)
16082 return 0;
16083 if (sizeof (uint32_t))
16084 return 0;
16086 return 0;
16088 _ACEOF
16089 rm -f conftest.$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_c_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16102 ac_status=$?
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try='test -s conftest.$ac_objext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 ac_cv_type_uint32_t=yes
16112 else
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 ac_cv_type_uint32_t=no
16118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16120 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16121 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16122 if test $ac_cv_type_uint32_t = yes; then
16123 acx_cv_header_stdint=$i
16124 else
16125 continue
16128 echo "$as_me:$LINENO: checking for uint64_t" >&5
16129 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16130 if test "${ac_cv_type_uint64_t+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 #include <sys/types.h>
16140 #include <$i>
16143 main ()
16145 if ((uint64_t *) 0)
16146 return 0;
16147 if (sizeof (uint64_t))
16148 return 0;
16150 return 0;
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16156 ac_status=$?
16157 grep -v '^ *+' conftest.er1 >conftest.err
16158 rm -f conftest.er1
16159 cat conftest.err >&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try='test -z "$ac_c_werror_flag"
16163 || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 ac_cv_type_uint64_t=yes
16176 else
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ac_cv_type_uint64_t=no
16182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16184 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16185 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16187 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16188 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16189 if test "${ac_cv_type_uintptr_t+set}" = set; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 else
16192 cat >conftest.$ac_ext <<_ACEOF
16193 /* confdefs.h. */
16194 _ACEOF
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 #include <sys/types.h>
16199 #include <$i>
16202 main ()
16204 if ((uintptr_t *) 0)
16205 return 0;
16206 if (sizeof (uintptr_t))
16207 return 0;
16209 return 0;
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag"
16222 || test ! -s conftest.err'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; } &&
16228 { ac_try='test -s conftest.$ac_objext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16231 ac_status=$?
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16234 ac_cv_type_uintptr_t=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16239 ac_cv_type_uintptr_t=no
16241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16243 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16244 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16246 break
16247 done
16249 if test "$acx_cv_header_stdint" = stddef.h; then
16250 acx_cv_header_stdint_kind="(u_intXX_t style)"
16251 for i in sys/types.h $inttype_headers; do
16252 unset ac_cv_type_u_int32_t
16253 unset ac_cv_type_u_int64_t
16254 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16255 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16256 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16257 if test "${ac_cv_type_u_int32_t+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16259 else
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <sys/types.h>
16267 #include <$i>
16270 main ()
16272 if ((u_int32_t *) 0)
16273 return 0;
16274 if (sizeof (u_int32_t))
16275 return 0;
16277 return 0;
16279 _ACEOF
16280 rm -f conftest.$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16283 ac_status=$?
16284 grep -v '^ *+' conftest.er1 >conftest.err
16285 rm -f conftest.er1
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16293 ac_status=$?
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16299 ac_status=$?
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 ac_cv_type_u_int32_t=yes
16303 else
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16307 ac_cv_type_u_int32_t=no
16309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16311 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16312 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16313 if test $ac_cv_type_u_int32_t = yes; then
16314 acx_cv_header_stdint=$i
16315 else
16316 continue
16319 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16320 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16321 if test "${ac_cv_type_u_int64_t+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 else
16324 cat >conftest.$ac_ext <<_ACEOF
16325 /* confdefs.h. */
16326 _ACEOF
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 #include <sys/types.h>
16331 #include <$i>
16334 main ()
16336 if ((u_int64_t *) 0)
16337 return 0;
16338 if (sizeof (u_int64_t))
16339 return 0;
16341 return 0;
16343 _ACEOF
16344 rm -f conftest.$ac_objext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try='test -z "$ac_c_werror_flag"
16354 || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try='test -s conftest.$ac_objext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_type_u_int64_t=yes
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 ac_cv_type_u_int64_t=no
16373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16376 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16378 break
16379 done
16381 if test "$acx_cv_header_stdint" = stddef.h; then
16382 acx_cv_header_stdint_kind="(using manual detection)"
16385 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16386 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16387 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16388 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16389 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16391 # ----------------- Summarize what we found so far
16393 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16394 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16396 case `$as_basename gstdint.h ||
16397 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16398 Xgstdint.h : 'X\(//\)$' \| \
16399 Xgstdint.h : 'X\(/\)$' \| \
16400 . : '\(.\)' 2>/dev/null ||
16401 echo X/gstdint.h |
16402 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16403 /^X\/\(\/\/\)$/{ s//\1/; q; }
16404 /^X\/\(\/\).*/{ s//\1/; q; }
16405 s/.*/./; q'` in
16406 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16407 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16408 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16409 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16410 *) ;;
16411 esac
16413 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16414 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16416 # ----------------- done included file, check C basic types --------
16418 # Lacking an uintptr_t? Test size of void *
16419 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16420 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16421 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16422 if test "${ac_cv_type_void_p+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 $ac_includes_default
16433 main ()
16435 if ((void * *) 0)
16436 return 0;
16437 if (sizeof (void *))
16438 return 0;
16440 return 0;
16442 _ACEOF
16443 rm -f conftest.$ac_objext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>conftest.er1
16446 ac_status=$?
16447 grep -v '^ *+' conftest.er1 >conftest.err
16448 rm -f conftest.er1
16449 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try='test -z "$ac_c_werror_flag"
16453 || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest.$ac_objext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_type_void_p=yes
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 ac_cv_type_void_p=no
16472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16475 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16477 echo "$as_me:$LINENO: checking size of void *" >&5
16478 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16479 if test "${ac_cv_sizeof_void_p+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 else
16482 if test "$ac_cv_type_void_p" = yes; then
16483 # The cast to unsigned long works around a bug in the HP C Compiler
16484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16486 # This bug is HP SR number 8606223364.
16487 if test "$cross_compiling" = yes; then
16488 # Depending upon the size, compute the lo and hi bounds.
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 $ac_includes_default
16497 main ()
16499 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16500 test_array [0] = 0
16503 return 0;
16505 _ACEOF
16506 rm -f conftest.$ac_objext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508 (eval $ac_compile) 2>conftest.er1
16509 ac_status=$?
16510 grep -v '^ *+' conftest.er1 >conftest.err
16511 rm -f conftest.er1
16512 cat conftest.err >&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_lo=0 ac_mid=0
16529 while :; do
16530 cat >conftest.$ac_ext <<_ACEOF
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16538 main ()
16540 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16541 test_array [0] = 0
16544 return 0;
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_c_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_hi=$ac_mid; break
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 ac_lo=`expr $ac_mid + 1`
16575 if test $ac_lo -le $ac_mid; then
16576 ac_lo= ac_hi=
16577 break
16579 ac_mid=`expr 2 '*' $ac_mid + 1`
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582 done
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 $ac_includes_default
16595 main ()
16597 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16598 test_array [0] = 0
16601 return 0;
16603 _ACEOF
16604 rm -f conftest.$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16607 ac_status=$?
16608 grep -v '^ *+' conftest.er1 >conftest.err
16609 rm -f conftest.er1
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try='test -z "$ac_c_werror_flag"
16614 || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 ac_hi=-1 ac_mid=-1
16627 while :; do
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16636 main ()
16638 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16639 test_array [0] = 0
16642 return 0;
16644 _ACEOF
16645 rm -f conftest.$ac_objext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 (eval $ac_compile) 2>conftest.er1
16648 ac_status=$?
16649 grep -v '^ *+' conftest.er1 >conftest.err
16650 rm -f conftest.er1
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -z "$ac_c_werror_flag"
16655 || test ! -s conftest.err'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; } &&
16661 { ac_try='test -s conftest.$ac_objext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_lo=$ac_mid; break
16668 else
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_hi=`expr '(' $ac_mid ')' - 1`
16673 if test $ac_mid -le $ac_hi; then
16674 ac_lo= ac_hi=
16675 break
16677 ac_mid=`expr 2 '*' $ac_mid`
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16680 done
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 ac_lo= ac_hi=
16687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16690 # Binary search between lo and hi bounds.
16691 while test "x$ac_lo" != "x$ac_hi"; do
16692 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 $ac_includes_default
16701 main ()
16703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16704 test_array [0] = 0
16707 return 0;
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16712 (eval $ac_compile) 2>conftest.er1
16713 ac_status=$?
16714 grep -v '^ *+' conftest.er1 >conftest.err
16715 rm -f conftest.er1
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } &&
16719 { ac_try='test -z "$ac_c_werror_flag"
16720 || test ! -s conftest.err'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; } &&
16726 { ac_try='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16732 ac_hi=$ac_mid
16733 else
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16737 ac_lo=`expr '(' $ac_mid ')' + 1`
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16740 done
16741 case $ac_lo in
16742 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16743 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16744 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16745 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot compute sizeof (void *), 77
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }; } ;;
16750 esac
16751 else
16752 if test "$cross_compiling" = yes; then
16753 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16754 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16756 See \`config.log' for more details." >&5
16757 echo "$as_me: error: cannot run test program while cross compiling
16758 See \`config.log' for more details." >&2;}
16759 { (exit 1); exit 1; }; }; }
16760 else
16761 cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h. */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (void *)); }
16769 unsigned long ulongval () { return (long) (sizeof (void *)); }
16770 #include <stdio.h>
16771 #include <stdlib.h>
16773 main ()
16776 FILE *f = fopen ("conftest.val", "w");
16777 if (! f)
16778 exit (1);
16779 if (((long) (sizeof (void *))) < 0)
16781 long i = longval ();
16782 if (i != ((long) (sizeof (void *))))
16783 exit (1);
16784 fprintf (f, "%ld\n", i);
16786 else
16788 unsigned long i = ulongval ();
16789 if (i != ((long) (sizeof (void *))))
16790 exit (1);
16791 fprintf (f, "%lu\n", i);
16793 exit (ferror (f) || fclose (f) != 0);
16796 return 0;
16798 _ACEOF
16799 rm -f conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>&5
16802 ac_status=$?
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_sizeof_void_p=`cat conftest.val`
16811 else
16812 echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16818 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16820 See \`config.log' for more details." >&5
16821 echo "$as_me: error: cannot compute sizeof (void *), 77
16822 See \`config.log' for more details." >&2;}
16823 { (exit 1); exit 1; }; }; }
16825 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16828 rm -f conftest.val
16829 else
16830 ac_cv_sizeof_void_p=0
16833 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16834 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16835 cat >>confdefs.h <<_ACEOF
16836 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16837 _ACEOF
16840 esac
16842 # Lacking an uint64_t? Test size of long
16843 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16844 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16845 echo $ECHO_N "checking for long... $ECHO_C" >&6
16846 if test "${ac_cv_type_long+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 else
16849 cat >conftest.$ac_ext <<_ACEOF
16850 /* confdefs.h. */
16851 _ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16857 main ()
16859 if ((long *) 0)
16860 return 0;
16861 if (sizeof (long))
16862 return 0;
16864 return 0;
16866 _ACEOF
16867 rm -f conftest.$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16870 ac_status=$?
16871 grep -v '^ *+' conftest.er1 >conftest.err
16872 rm -f conftest.er1
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try='test -z "$ac_c_werror_flag"
16877 || test ! -s conftest.err'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16880 ac_status=$?
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; } &&
16883 { ac_try='test -s conftest.$ac_objext'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16886 ac_status=$?
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; }; then
16889 ac_cv_type_long=yes
16890 else
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16894 ac_cv_type_long=no
16896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16899 echo "${ECHO_T}$ac_cv_type_long" >&6
16901 echo "$as_me:$LINENO: checking size of long" >&5
16902 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16903 if test "${ac_cv_sizeof_long+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16905 else
16906 if test "$ac_cv_type_long" = yes; then
16907 # The cast to unsigned long works around a bug in the HP C Compiler
16908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16910 # This bug is HP SR number 8606223364.
16911 if test "$cross_compiling" = yes; then
16912 # Depending upon the size, compute the lo and hi bounds.
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h. */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 $ac_includes_default
16921 main ()
16923 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16924 test_array [0] = 0
16927 return 0;
16929 _ACEOF
16930 rm -f conftest.$ac_objext
16931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16932 (eval $ac_compile) 2>conftest.er1
16933 ac_status=$?
16934 grep -v '^ *+' conftest.er1 >conftest.err
16935 rm -f conftest.er1
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } &&
16939 { ac_try='test -z "$ac_c_werror_flag"
16940 || test ! -s conftest.err'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16943 ac_status=$?
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; } &&
16946 { ac_try='test -s conftest.$ac_objext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_lo=0 ac_mid=0
16953 while :; do
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 $ac_includes_default
16962 main ()
16964 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16965 test_array [0] = 0
16968 return 0;
16970 _ACEOF
16971 rm -f conftest.$ac_objext
16972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16973 (eval $ac_compile) 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try='test -z "$ac_c_werror_flag"
16981 || test ! -s conftest.err'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; } &&
16987 { ac_try='test -s conftest.$ac_objext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16993 ac_hi=$ac_mid; break
16994 else
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16998 ac_lo=`expr $ac_mid + 1`
16999 if test $ac_lo -le $ac_mid; then
17000 ac_lo= ac_hi=
17001 break
17003 ac_mid=`expr 2 '*' $ac_mid + 1`
17005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17006 done
17007 else
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17019 main ()
17021 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17022 test_array [0] = 0
17025 return 0;
17027 _ACEOF
17028 rm -f conftest.$ac_objext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17030 (eval $ac_compile) 2>conftest.er1
17031 ac_status=$?
17032 grep -v '^ *+' conftest.er1 >conftest.err
17033 rm -f conftest.er1
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } &&
17037 { ac_try='test -z "$ac_c_werror_flag"
17038 || test ! -s conftest.err'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17041 ac_status=$?
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; } &&
17044 { ac_try='test -s conftest.$ac_objext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17050 ac_hi=-1 ac_mid=-1
17051 while :; do
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17060 main ()
17062 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17063 test_array [0] = 0
17066 return 0;
17068 _ACEOF
17069 rm -f conftest.$ac_objext
17070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17071 (eval $ac_compile) 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } &&
17078 { ac_try='test -z "$ac_c_werror_flag"
17079 || test ! -s conftest.err'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; } &&
17085 { ac_try='test -s conftest.$ac_objext'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 ac_lo=$ac_mid; break
17092 else
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 ac_hi=`expr '(' $ac_mid ')' - 1`
17097 if test $ac_mid -le $ac_hi; then
17098 ac_lo= ac_hi=
17099 break
17101 ac_mid=`expr 2 '*' $ac_mid`
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104 done
17105 else
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 ac_lo= ac_hi=
17111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 # Binary search between lo and hi bounds.
17115 while test "x$ac_lo" != "x$ac_hi"; do
17116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17117 cat >conftest.$ac_ext <<_ACEOF
17118 /* confdefs.h. */
17119 _ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17123 $ac_includes_default
17125 main ()
17127 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17128 test_array [0] = 0
17131 return 0;
17133 _ACEOF
17134 rm -f conftest.$ac_objext
17135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17136 (eval $ac_compile) 2>conftest.er1
17137 ac_status=$?
17138 grep -v '^ *+' conftest.er1 >conftest.err
17139 rm -f conftest.er1
17140 cat conftest.err >&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try='test -z "$ac_c_werror_flag"
17144 || test ! -s conftest.err'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17147 ac_status=$?
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; } &&
17150 { ac_try='test -s conftest.$ac_objext'
17151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17152 (eval $ac_try) 2>&5
17153 ac_status=$?
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; }; then
17156 ac_hi=$ac_mid
17157 else
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17161 ac_lo=`expr '(' $ac_mid ')' + 1`
17163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17164 done
17165 case $ac_lo in
17166 ?*) ac_cv_sizeof_long=$ac_lo;;
17167 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17168 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot compute sizeof (long), 77
17172 See \`config.log' for more details." >&2;}
17173 { (exit 1); exit 1; }; }; } ;;
17174 esac
17175 else
17176 if test "$cross_compiling" = yes; then
17177 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17178 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17179 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17180 See \`config.log' for more details." >&5
17181 echo "$as_me: error: cannot run test program while cross compiling
17182 See \`config.log' for more details." >&2;}
17183 { (exit 1); exit 1; }; }; }
17184 else
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h. */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 long longval () { return (long) (sizeof (long)); }
17193 unsigned long ulongval () { return (long) (sizeof (long)); }
17194 #include <stdio.h>
17195 #include <stdlib.h>
17197 main ()
17200 FILE *f = fopen ("conftest.val", "w");
17201 if (! f)
17202 exit (1);
17203 if (((long) (sizeof (long))) < 0)
17205 long i = longval ();
17206 if (i != ((long) (sizeof (long))))
17207 exit (1);
17208 fprintf (f, "%ld\n", i);
17210 else
17212 unsigned long i = ulongval ();
17213 if (i != ((long) (sizeof (long))))
17214 exit (1);
17215 fprintf (f, "%lu\n", i);
17217 exit (ferror (f) || fclose (f) != 0);
17220 return 0;
17222 _ACEOF
17223 rm -f conftest$ac_exeext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17225 (eval $ac_link) 2>&5
17226 ac_status=$?
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_sizeof_long=`cat conftest.val`
17235 else
17236 echo "$as_me: program exited with status $ac_status" >&5
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 ( exit $ac_status )
17241 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17242 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17244 See \`config.log' for more details." >&5
17245 echo "$as_me: error: cannot compute sizeof (long), 77
17246 See \`config.log' for more details." >&2;}
17247 { (exit 1); exit 1; }; }; }
17249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17252 rm -f conftest.val
17253 else
17254 ac_cv_sizeof_long=0
17257 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17258 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17259 cat >>confdefs.h <<_ACEOF
17260 #define SIZEOF_LONG $ac_cv_sizeof_long
17261 _ACEOF
17264 esac
17266 if test $acx_cv_header_stdint = stddef.h; then
17267 # Lacking a good header? Test size of everything and deduce all types.
17268 echo "$as_me:$LINENO: checking for int" >&5
17269 echo $ECHO_N "checking for int... $ECHO_C" >&6
17270 if test "${ac_cv_type_int+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 else
17273 cat >conftest.$ac_ext <<_ACEOF
17274 /* confdefs.h. */
17275 _ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 $ac_includes_default
17281 main ()
17283 if ((int *) 0)
17284 return 0;
17285 if (sizeof (int))
17286 return 0;
17288 return 0;
17290 _ACEOF
17291 rm -f conftest.$ac_objext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17293 (eval $ac_compile) 2>conftest.er1
17294 ac_status=$?
17295 grep -v '^ *+' conftest.er1 >conftest.err
17296 rm -f conftest.er1
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_c_werror_flag"
17301 || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try='test -s conftest.$ac_objext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17313 ac_cv_type_int=yes
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 ac_cv_type_int=no
17320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17323 echo "${ECHO_T}$ac_cv_type_int" >&6
17325 echo "$as_me:$LINENO: checking size of int" >&5
17326 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17327 if test "${ac_cv_sizeof_int+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 else
17330 if test "$ac_cv_type_int" = yes; then
17331 # The cast to unsigned long works around a bug in the HP C Compiler
17332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17334 # This bug is HP SR number 8606223364.
17335 if test "$cross_compiling" = yes; then
17336 # Depending upon the size, compute the lo and hi bounds.
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17345 main ()
17347 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17348 test_array [0] = 0
17351 return 0;
17353 _ACEOF
17354 rm -f conftest.$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>conftest.er1
17357 ac_status=$?
17358 grep -v '^ *+' conftest.er1 >conftest.err
17359 rm -f conftest.er1
17360 cat conftest.err >&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } &&
17363 { ac_try='test -z "$ac_c_werror_flag"
17364 || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17367 ac_status=$?
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17373 ac_status=$?
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17376 ac_lo=0 ac_mid=0
17377 while :; do
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 $ac_includes_default
17386 main ()
17388 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17389 test_array [0] = 0
17392 return 0;
17394 _ACEOF
17395 rm -f conftest.$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try='test -z "$ac_c_werror_flag"
17405 || test ! -s conftest.err'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17408 ac_status=$?
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; } &&
17411 { ac_try='test -s conftest.$ac_objext'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17414 ac_status=$?
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; }; then
17417 ac_hi=$ac_mid; break
17418 else
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17422 ac_lo=`expr $ac_mid + 1`
17423 if test $ac_lo -le $ac_mid; then
17424 ac_lo= ac_hi=
17425 break
17427 ac_mid=`expr 2 '*' $ac_mid + 1`
17429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17430 done
17431 else
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17443 main ()
17445 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17446 test_array [0] = 0
17449 return 0;
17451 _ACEOF
17452 rm -f conftest.$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17455 ac_status=$?
17456 grep -v '^ *+' conftest.er1 >conftest.err
17457 rm -f conftest.er1
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_hi=-1 ac_mid=-1
17475 while :; do
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17484 main ()
17486 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17487 test_array [0] = 0
17490 return 0;
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_c_werror_flag"
17503 || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_lo=$ac_mid; break
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_hi=`expr '(' $ac_mid ')' - 1`
17521 if test $ac_mid -le $ac_hi; then
17522 ac_lo= ac_hi=
17523 break
17525 ac_mid=`expr 2 '*' $ac_mid`
17527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17528 done
17529 else
17530 echo "$as_me: failed program was:" >&5
17531 sed 's/^/| /' conftest.$ac_ext >&5
17533 ac_lo= ac_hi=
17535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17538 # Binary search between lo and hi bounds.
17539 while test "x$ac_lo" != "x$ac_hi"; do
17540 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17541 cat >conftest.$ac_ext <<_ACEOF
17542 /* confdefs.h. */
17543 _ACEOF
17544 cat confdefs.h >>conftest.$ac_ext
17545 cat >>conftest.$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17547 $ac_includes_default
17549 main ()
17551 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17552 test_array [0] = 0
17555 return 0;
17557 _ACEOF
17558 rm -f conftest.$ac_objext
17559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17560 (eval $ac_compile) 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -z "$ac_c_werror_flag"
17568 || test ! -s conftest.err'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; } &&
17574 { ac_try='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17580 ac_hi=$ac_mid
17581 else
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17585 ac_lo=`expr '(' $ac_mid ')' + 1`
17587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17588 done
17589 case $ac_lo in
17590 ?*) ac_cv_sizeof_int=$ac_lo;;
17591 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17592 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17594 See \`config.log' for more details." >&5
17595 echo "$as_me: error: cannot compute sizeof (int), 77
17596 See \`config.log' for more details." >&2;}
17597 { (exit 1); exit 1; }; }; } ;;
17598 esac
17599 else
17600 if test "$cross_compiling" = yes; then
17601 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17602 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17603 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17604 See \`config.log' for more details." >&5
17605 echo "$as_me: error: cannot run test program while cross compiling
17606 See \`config.log' for more details." >&2;}
17607 { (exit 1); exit 1; }; }; }
17608 else
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615 $ac_includes_default
17616 long longval () { return (long) (sizeof (int)); }
17617 unsigned long ulongval () { return (long) (sizeof (int)); }
17618 #include <stdio.h>
17619 #include <stdlib.h>
17621 main ()
17624 FILE *f = fopen ("conftest.val", "w");
17625 if (! f)
17626 exit (1);
17627 if (((long) (sizeof (int))) < 0)
17629 long i = longval ();
17630 if (i != ((long) (sizeof (int))))
17631 exit (1);
17632 fprintf (f, "%ld\n", i);
17634 else
17636 unsigned long i = ulongval ();
17637 if (i != ((long) (sizeof (int))))
17638 exit (1);
17639 fprintf (f, "%lu\n", i);
17641 exit (ferror (f) || fclose (f) != 0);
17644 return 0;
17646 _ACEOF
17647 rm -f conftest$ac_exeext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17649 (eval $ac_link) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_sizeof_int=`cat conftest.val`
17659 else
17660 echo "$as_me: program exited with status $ac_status" >&5
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 ( exit $ac_status )
17665 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17666 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17668 See \`config.log' for more details." >&5
17669 echo "$as_me: error: cannot compute sizeof (int), 77
17670 See \`config.log' for more details." >&2;}
17671 { (exit 1); exit 1; }; }; }
17673 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17676 rm -f conftest.val
17677 else
17678 ac_cv_sizeof_int=0
17681 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17682 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17683 cat >>confdefs.h <<_ACEOF
17684 #define SIZEOF_INT $ac_cv_sizeof_int
17685 _ACEOF
17688 echo "$as_me:$LINENO: checking for short" >&5
17689 echo $ECHO_N "checking for short... $ECHO_C" >&6
17690 if test "${ac_cv_type_short+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 $ac_includes_default
17701 main ()
17703 if ((short *) 0)
17704 return 0;
17705 if (sizeof (short))
17706 return 0;
17708 return 0;
17710 _ACEOF
17711 rm -f conftest.$ac_objext
17712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17713 (eval $ac_compile) 2>conftest.er1
17714 ac_status=$?
17715 grep -v '^ *+' conftest.er1 >conftest.err
17716 rm -f conftest.er1
17717 cat conftest.err >&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } &&
17720 { ac_try='test -z "$ac_c_werror_flag"
17721 || test ! -s conftest.err'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17724 ac_status=$?
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; } &&
17727 { ac_try='test -s conftest.$ac_objext'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17730 ac_status=$?
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; }; then
17733 ac_cv_type_short=yes
17734 else
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17738 ac_cv_type_short=no
17740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17742 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17743 echo "${ECHO_T}$ac_cv_type_short" >&6
17745 echo "$as_me:$LINENO: checking size of short" >&5
17746 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17747 if test "${ac_cv_sizeof_short+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750 if test "$ac_cv_type_short" = yes; then
17751 # The cast to unsigned long works around a bug in the HP C Compiler
17752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17754 # This bug is HP SR number 8606223364.
17755 if test "$cross_compiling" = yes; then
17756 # Depending upon the size, compute the lo and hi bounds.
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17765 main ()
17767 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17768 test_array [0] = 0
17771 return 0;
17773 _ACEOF
17774 rm -f conftest.$ac_objext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17776 (eval $ac_compile) 2>conftest.er1
17777 ac_status=$?
17778 grep -v '^ *+' conftest.er1 >conftest.err
17779 rm -f conftest.er1
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -z "$ac_c_werror_flag"
17784 || test ! -s conftest.err'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17787 ac_status=$?
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; } &&
17790 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17796 ac_lo=0 ac_mid=0
17797 while :; do
17798 cat >conftest.$ac_ext <<_ACEOF
17799 /* confdefs.h. */
17800 _ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17806 main ()
17808 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17809 test_array [0] = 0
17812 return 0;
17814 _ACEOF
17815 rm -f conftest.$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try='test -z "$ac_c_werror_flag"
17825 || test ! -s conftest.err'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17828 ac_status=$?
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; } &&
17831 { ac_try='test -s conftest.$ac_objext'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17834 ac_status=$?
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; }; then
17837 ac_hi=$ac_mid; break
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17842 ac_lo=`expr $ac_mid + 1`
17843 if test $ac_lo -le $ac_mid; then
17844 ac_lo= ac_hi=
17845 break
17847 ac_mid=`expr 2 '*' $ac_mid + 1`
17849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17850 done
17851 else
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17855 cat >conftest.$ac_ext <<_ACEOF
17856 /* confdefs.h. */
17857 _ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 $ac_includes_default
17863 main ()
17865 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17866 test_array [0] = 0
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17874 (eval $ac_compile) 2>conftest.er1
17875 ac_status=$?
17876 grep -v '^ *+' conftest.er1 >conftest.err
17877 rm -f conftest.er1
17878 cat conftest.err >&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } &&
17881 { ac_try='test -z "$ac_c_werror_flag"
17882 || test ! -s conftest.err'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; } &&
17888 { ac_try='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17891 ac_status=$?
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 ac_hi=-1 ac_mid=-1
17895 while :; do
17896 cat >conftest.$ac_ext <<_ACEOF
17897 /* confdefs.h. */
17898 _ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 $ac_includes_default
17904 main ()
17906 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17907 test_array [0] = 0
17910 return 0;
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try='test -z "$ac_c_werror_flag"
17923 || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17926 ac_status=$?
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_lo=$ac_mid; break
17936 else
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17940 ac_hi=`expr '(' $ac_mid ')' - 1`
17941 if test $ac_mid -le $ac_hi; then
17942 ac_lo= ac_hi=
17943 break
17945 ac_mid=`expr 2 '*' $ac_mid`
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17948 done
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17953 ac_lo= ac_hi=
17955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17958 # Binary search between lo and hi bounds.
17959 while test "x$ac_lo" != "x$ac_hi"; do
17960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17961 cat >conftest.$ac_ext <<_ACEOF
17962 /* confdefs.h. */
17963 _ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17969 main ()
17971 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17972 test_array [0] = 0
17975 return 0;
17977 _ACEOF
17978 rm -f conftest.$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17997 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_hi=$ac_mid
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18005 ac_lo=`expr '(' $ac_mid ')' + 1`
18007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18008 done
18009 case $ac_lo in
18010 ?*) ac_cv_sizeof_short=$ac_lo;;
18011 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18012 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18014 See \`config.log' for more details." >&5
18015 echo "$as_me: error: cannot compute sizeof (short), 77
18016 See \`config.log' for more details." >&2;}
18017 { (exit 1); exit 1; }; }; } ;;
18018 esac
18019 else
18020 if test "$cross_compiling" = yes; then
18021 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18022 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18023 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18024 See \`config.log' for more details." >&5
18025 echo "$as_me: error: cannot run test program while cross compiling
18026 See \`config.log' for more details." >&2;}
18027 { (exit 1); exit 1; }; }; }
18028 else
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 $ac_includes_default
18036 long longval () { return (long) (sizeof (short)); }
18037 unsigned long ulongval () { return (long) (sizeof (short)); }
18038 #include <stdio.h>
18039 #include <stdlib.h>
18041 main ()
18044 FILE *f = fopen ("conftest.val", "w");
18045 if (! f)
18046 exit (1);
18047 if (((long) (sizeof (short))) < 0)
18049 long i = longval ();
18050 if (i != ((long) (sizeof (short))))
18051 exit (1);
18052 fprintf (f, "%ld\n", i);
18054 else
18056 unsigned long i = ulongval ();
18057 if (i != ((long) (sizeof (short))))
18058 exit (1);
18059 fprintf (f, "%lu\n", i);
18061 exit (ferror (f) || fclose (f) != 0);
18064 return 0;
18066 _ACEOF
18067 rm -f conftest$ac_exeext
18068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18069 (eval $ac_link) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18075 ac_status=$?
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; }; then
18078 ac_cv_sizeof_short=`cat conftest.val`
18079 else
18080 echo "$as_me: program exited with status $ac_status" >&5
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ( exit $ac_status )
18085 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18086 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: cannot compute sizeof (short), 77
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; }; }
18093 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18096 rm -f conftest.val
18097 else
18098 ac_cv_sizeof_short=0
18101 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18102 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18103 cat >>confdefs.h <<_ACEOF
18104 #define SIZEOF_SHORT $ac_cv_sizeof_short
18105 _ACEOF
18108 echo "$as_me:$LINENO: checking for char" >&5
18109 echo $ECHO_N "checking for char... $ECHO_C" >&6
18110 if test "${ac_cv_type_char+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 else
18113 cat >conftest.$ac_ext <<_ACEOF
18114 /* confdefs.h. */
18115 _ACEOF
18116 cat confdefs.h >>conftest.$ac_ext
18117 cat >>conftest.$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 $ac_includes_default
18121 main ()
18123 if ((char *) 0)
18124 return 0;
18125 if (sizeof (char))
18126 return 0;
18128 return 0;
18130 _ACEOF
18131 rm -f conftest.$ac_objext
18132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18133 (eval $ac_compile) 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } &&
18140 { ac_try='test -z "$ac_c_werror_flag"
18141 || test ! -s conftest.err'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18144 ac_status=$?
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } &&
18147 { ac_try='test -s conftest.$ac_objext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_type_char=yes
18154 else
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ac_cv_type_char=no
18160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18162 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18163 echo "${ECHO_T}$ac_cv_type_char" >&6
18165 echo "$as_me:$LINENO: checking size of char" >&5
18166 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18167 if test "${ac_cv_sizeof_char+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 if test "$ac_cv_type_char" = yes; then
18171 # The cast to unsigned long works around a bug in the HP C Compiler
18172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18174 # This bug is HP SR number 8606223364.
18175 if test "$cross_compiling" = yes; then
18176 # Depending upon the size, compute the lo and hi bounds.
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18185 main ()
18187 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18188 test_array [0] = 0
18191 return 0;
18193 _ACEOF
18194 rm -f conftest.$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18197 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_lo=0 ac_mid=0
18217 while :; do
18218 cat >conftest.$ac_ext <<_ACEOF
18219 /* confdefs.h. */
18220 _ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 $ac_includes_default
18226 main ()
18228 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18229 test_array [0] = 0
18232 return 0;
18234 _ACEOF
18235 rm -f conftest.$ac_objext
18236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18237 (eval $ac_compile) 2>conftest.er1
18238 ac_status=$?
18239 grep -v '^ *+' conftest.er1 >conftest.err
18240 rm -f conftest.er1
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } &&
18244 { ac_try='test -z "$ac_c_werror_flag"
18245 || test ! -s conftest.err'
18246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18247 (eval $ac_try) 2>&5
18248 ac_status=$?
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); }; } &&
18251 { ac_try='test -s conftest.$ac_objext'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18254 ac_status=$?
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; }; then
18257 ac_hi=$ac_mid; break
18258 else
18259 echo "$as_me: failed program was:" >&5
18260 sed 's/^/| /' conftest.$ac_ext >&5
18262 ac_lo=`expr $ac_mid + 1`
18263 if test $ac_lo -le $ac_mid; then
18264 ac_lo= ac_hi=
18265 break
18267 ac_mid=`expr 2 '*' $ac_mid + 1`
18269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18270 done
18271 else
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18275 cat >conftest.$ac_ext <<_ACEOF
18276 /* confdefs.h. */
18277 _ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 $ac_includes_default
18283 main ()
18285 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18286 test_array [0] = 0
18289 return 0;
18291 _ACEOF
18292 rm -f conftest.$ac_objext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18294 (eval $ac_compile) 2>conftest.er1
18295 ac_status=$?
18296 grep -v '^ *+' conftest.er1 >conftest.err
18297 rm -f conftest.er1
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18305 ac_status=$?
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try='test -s conftest.$ac_objext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18314 ac_hi=-1 ac_mid=-1
18315 while :; do
18316 cat >conftest.$ac_ext <<_ACEOF
18317 /* confdefs.h. */
18318 _ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 $ac_includes_default
18324 main ()
18326 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18327 test_array [0] = 0
18330 return 0;
18332 _ACEOF
18333 rm -f conftest.$ac_objext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18335 (eval $ac_compile) 2>conftest.er1
18336 ac_status=$?
18337 grep -v '^ *+' conftest.er1 >conftest.err
18338 rm -f conftest.er1
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try='test -z "$ac_c_werror_flag"
18343 || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_lo=$ac_mid; break
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 ac_hi=`expr '(' $ac_mid ')' - 1`
18361 if test $ac_mid -le $ac_hi; then
18362 ac_lo= ac_hi=
18363 break
18365 ac_mid=`expr 2 '*' $ac_mid`
18367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18368 done
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_lo= ac_hi=
18375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18378 # Binary search between lo and hi bounds.
18379 while test "x$ac_lo" != "x$ac_hi"; do
18380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18381 cat >conftest.$ac_ext <<_ACEOF
18382 /* confdefs.h. */
18383 _ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387 $ac_includes_default
18389 main ()
18391 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18392 test_array [0] = 0
18395 return 0;
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18400 (eval $ac_compile) 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try='test -z "$ac_c_werror_flag"
18408 || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18411 ac_status=$?
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try='test -s conftest.$ac_objext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18417 ac_status=$?
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18420 ac_hi=$ac_mid
18421 else
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18425 ac_lo=`expr '(' $ac_mid ')' + 1`
18427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18428 done
18429 case $ac_lo in
18430 ?*) ac_cv_sizeof_char=$ac_lo;;
18431 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18432 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18434 See \`config.log' for more details." >&5
18435 echo "$as_me: error: cannot compute sizeof (char), 77
18436 See \`config.log' for more details." >&2;}
18437 { (exit 1); exit 1; }; }; } ;;
18438 esac
18439 else
18440 if test "$cross_compiling" = yes; then
18441 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18442 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18443 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18444 See \`config.log' for more details." >&5
18445 echo "$as_me: error: cannot run test program while cross compiling
18446 See \`config.log' for more details." >&2;}
18447 { (exit 1); exit 1; }; }; }
18448 else
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18456 long longval () { return (long) (sizeof (char)); }
18457 unsigned long ulongval () { return (long) (sizeof (char)); }
18458 #include <stdio.h>
18459 #include <stdlib.h>
18461 main ()
18464 FILE *f = fopen ("conftest.val", "w");
18465 if (! f)
18466 exit (1);
18467 if (((long) (sizeof (char))) < 0)
18469 long i = longval ();
18470 if (i != ((long) (sizeof (char))))
18471 exit (1);
18472 fprintf (f, "%ld\n", i);
18474 else
18476 unsigned long i = ulongval ();
18477 if (i != ((long) (sizeof (char))))
18478 exit (1);
18479 fprintf (f, "%lu\n", i);
18481 exit (ferror (f) || fclose (f) != 0);
18484 return 0;
18486 _ACEOF
18487 rm -f conftest$ac_exeext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18489 (eval $ac_link) 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18495 ac_status=$?
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 ac_cv_sizeof_char=`cat conftest.val`
18499 else
18500 echo "$as_me: program exited with status $ac_status" >&5
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ( exit $ac_status )
18505 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18506 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18507 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18508 See \`config.log' for more details." >&5
18509 echo "$as_me: error: cannot compute sizeof (char), 77
18510 See \`config.log' for more details." >&2;}
18511 { (exit 1); exit 1; }; }; }
18513 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18516 rm -f conftest.val
18517 else
18518 ac_cv_sizeof_char=0
18521 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18522 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18523 cat >>confdefs.h <<_ACEOF
18524 #define SIZEOF_CHAR $ac_cv_sizeof_char
18525 _ACEOF
18529 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18530 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18531 case "$ac_cv_sizeof_char" in
18532 1) acx_cv_type_int8_t=char ;;
18533 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18534 echo "$as_me: error: no 8-bit type" >&2;}
18535 { (exit please report a bug); exit please report a bug; }; }
18536 esac
18537 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18538 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18540 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18541 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18542 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18543 2:*) acx_cv_type_int16_t=int ;;
18544 *:2) acx_cv_type_int16_t=short ;;
18545 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18546 echo "$as_me: error: no 16-bit type" >&2;}
18547 { (exit please report a bug); exit please report a bug; }; }
18548 esac
18549 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18550 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18552 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18553 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18554 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18555 4:*) acx_cv_type_int32_t=int ;;
18556 *:4) acx_cv_type_int32_t=long ;;
18557 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18558 echo "$as_me: error: no 32-bit type" >&2;}
18559 { (exit please report a bug); exit please report a bug; }; }
18560 esac
18561 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18562 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18565 # These tests are here to make the output prettier
18567 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18568 case "$ac_cv_sizeof_long" in
18569 8) acx_cv_type_int64_t=long ;;
18570 esac
18571 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18572 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18573 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18574 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18577 # Now we can use the above types
18579 if test "$ac_cv_type_uintptr_t" != yes; then
18580 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18581 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18582 case $ac_cv_sizeof_void_p in
18583 2) acx_cv_type_intptr_t=int16_t ;;
18584 4) acx_cv_type_intptr_t=int32_t ;;
18585 8) acx_cv_type_intptr_t=int64_t ;;
18586 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18587 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18588 { (exit please report a bug); exit please report a bug; }; }
18589 esac
18590 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18591 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18594 # ----------------- done all checks, emit header -------------
18595 ac_config_commands="$ac_config_commands gstdint.h"
18600 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18601 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18602 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 else
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18613 main ()
18615 static struct stat ac_aggr;
18616 if (ac_aggr.st_blksize)
18617 return 0;
18619 return 0;
18621 _ACEOF
18622 rm -f conftest.$ac_objext
18623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18624 (eval $ac_compile) 2>conftest.er1
18625 ac_status=$?
18626 grep -v '^ *+' conftest.er1 >conftest.err
18627 rm -f conftest.er1
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try='test -z "$ac_c_werror_flag"
18632 || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_member_struct_stat_st_blksize=yes
18645 else
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 $ac_includes_default
18657 main ()
18659 static struct stat ac_aggr;
18660 if (sizeof ac_aggr.st_blksize)
18661 return 0;
18663 return 0;
18665 _ACEOF
18666 rm -f conftest.$ac_objext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_c_werror_flag"
18676 || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_cv_member_struct_stat_st_blksize=yes
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_member_struct_stat_st_blksize=no
18695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18699 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18700 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18701 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18705 _ACEOF
18710 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18711 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18712 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18723 main ()
18725 static struct stat ac_aggr;
18726 if (ac_aggr.st_blocks)
18727 return 0;
18729 return 0;
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18735 ac_status=$?
18736 grep -v '^ *+' conftest.er1 >conftest.err
18737 rm -f conftest.er1
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try='test -z "$ac_c_werror_flag"
18742 || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18745 ac_status=$?
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18751 ac_status=$?
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 ac_cv_member_struct_stat_st_blocks=yes
18755 else
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18767 main ()
18769 static struct stat ac_aggr;
18770 if (sizeof ac_aggr.st_blocks)
18771 return 0;
18773 return 0;
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_member_struct_stat_st_blocks=yes
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 ac_cv_member_struct_stat_st_blocks=no
18805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18809 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18810 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18811 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18815 _ACEOF
18820 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18821 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18822 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 cat >conftest.$ac_ext <<_ACEOF
18826 /* confdefs.h. */
18827 _ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831 $ac_includes_default
18833 main ()
18835 static struct stat ac_aggr;
18836 if (ac_aggr.st_rdev)
18837 return 0;
18839 return 0;
18841 _ACEOF
18842 rm -f conftest.$ac_objext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18844 (eval $ac_compile) 2>conftest.er1
18845 ac_status=$?
18846 grep -v '^ *+' conftest.er1 >conftest.err
18847 rm -f conftest.er1
18848 cat conftest.err >&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -z "$ac_c_werror_flag"
18852 || test ! -s conftest.err'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; } &&
18858 { ac_try='test -s conftest.$ac_objext'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_member_struct_stat_st_rdev=yes
18865 else
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18869 cat >conftest.$ac_ext <<_ACEOF
18870 /* confdefs.h. */
18871 _ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 $ac_includes_default
18877 main ()
18879 static struct stat ac_aggr;
18880 if (sizeof ac_aggr.st_rdev)
18881 return 0;
18883 return 0;
18885 _ACEOF
18886 rm -f conftest.$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try='test -z "$ac_c_werror_flag"
18896 || test ! -s conftest.err'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18899 ac_status=$?
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; } &&
18902 { ac_try='test -s conftest.$ac_objext'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18905 ac_status=$?
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; }; then
18908 ac_cv_member_struct_stat_st_rdev=yes
18909 else
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18913 ac_cv_member_struct_stat_st_rdev=no
18915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18919 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18920 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18921 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_STAT_ST_RDEV 1
18925 _ACEOF
18931 # Check for library functions.
18940 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18943 echo "$as_me:$LINENO: checking for $ac_func" >&5
18944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18945 if eval "test \"\${$as_ac_var+set}\" = set"; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948 if test x$gcc_no_link = xyes; then
18949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18951 { (exit 1); exit 1; }; }
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18961 #define $ac_func innocuous_$ac_func
18963 /* System header to define __stub macros and hopefully few prototypes,
18964 which can conflict with char $ac_func (); below.
18965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18966 <limits.h> exists even on freestanding compilers. */
18968 #ifdef __STDC__
18969 # include <limits.h>
18970 #else
18971 # include <assert.h>
18972 #endif
18974 #undef $ac_func
18976 /* Override any gcc2 internal prototype to avoid an error. */
18977 #ifdef __cplusplus
18978 extern "C"
18980 #endif
18981 /* We use char because int might match the return type of a gcc2
18982 builtin and then its argument prototype would still apply. */
18983 char $ac_func ();
18984 /* The GNU C library defines this for functions which it implements
18985 to always fail with ENOSYS. Some functions are actually named
18986 something starting with __ and the normal name is an alias. */
18987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18988 choke me
18989 #else
18990 char (*f) () = $ac_func;
18991 #endif
18992 #ifdef __cplusplus
18994 #endif
18997 main ()
18999 return f != $ac_func;
19001 return 0;
19003 _ACEOF
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006 (eval $ac_link) 2>conftest.er1
19007 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -z "$ac_c_werror_flag"
19014 || test ! -s conftest.err'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 eval "$as_ac_var=yes"
19027 else
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 eval "$as_ac_var=no"
19033 rm -f conftest.err conftest.$ac_objext \
19034 conftest$ac_exeext conftest.$ac_ext
19036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19038 if test `eval echo '${'$as_ac_var'}'` = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19041 _ACEOF
19044 done
19054 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
19056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19057 echo "$as_me:$LINENO: checking for $ac_func" >&5
19058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19059 if eval "test \"\${$as_ac_var+set}\" = set"; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062 if test x$gcc_no_link = xyes; then
19063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19065 { (exit 1); exit 1; }; }
19067 cat >conftest.$ac_ext <<_ACEOF
19068 /* confdefs.h. */
19069 _ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19075 #define $ac_func innocuous_$ac_func
19077 /* System header to define __stub macros and hopefully few prototypes,
19078 which can conflict with char $ac_func (); below.
19079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19080 <limits.h> exists even on freestanding compilers. */
19082 #ifdef __STDC__
19083 # include <limits.h>
19084 #else
19085 # include <assert.h>
19086 #endif
19088 #undef $ac_func
19090 /* Override any gcc2 internal prototype to avoid an error. */
19091 #ifdef __cplusplus
19092 extern "C"
19094 #endif
19095 /* We use char because int might match the return type of a gcc2
19096 builtin and then its argument prototype would still apply. */
19097 char $ac_func ();
19098 /* The GNU C library defines this for functions which it implements
19099 to always fail with ENOSYS. Some functions are actually named
19100 something starting with __ and the normal name is an alias. */
19101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19102 choke me
19103 #else
19104 char (*f) () = $ac_func;
19105 #endif
19106 #ifdef __cplusplus
19108 #endif
19111 main ()
19113 return f != $ac_func;
19115 return 0;
19117 _ACEOF
19118 rm -f conftest.$ac_objext conftest$ac_exeext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19120 (eval $ac_link) 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -z "$ac_c_werror_flag"
19128 || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19131 ac_status=$?
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try='test -s conftest$ac_exeext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 eval "$as_ac_var=yes"
19141 else
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19145 eval "$as_ac_var=no"
19147 rm -f conftest.err conftest.$ac_objext \
19148 conftest$ac_exeext conftest.$ac_ext
19150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19152 if test `eval echo '${'$as_ac_var'}'` = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19155 _ACEOF
19158 done
19170 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19173 echo "$as_me:$LINENO: checking for $ac_func" >&5
19174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19175 if eval "test \"\${$as_ac_var+set}\" = set"; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 else
19178 if test x$gcc_no_link = xyes; then
19179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19181 { (exit 1); exit 1; }; }
19183 cat >conftest.$ac_ext <<_ACEOF
19184 /* confdefs.h. */
19185 _ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19191 #define $ac_func innocuous_$ac_func
19193 /* System header to define __stub macros and hopefully few prototypes,
19194 which can conflict with char $ac_func (); below.
19195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19196 <limits.h> exists even on freestanding compilers. */
19198 #ifdef __STDC__
19199 # include <limits.h>
19200 #else
19201 # include <assert.h>
19202 #endif
19204 #undef $ac_func
19206 /* Override any gcc2 internal prototype to avoid an error. */
19207 #ifdef __cplusplus
19208 extern "C"
19210 #endif
19211 /* We use char because int might match the return type of a gcc2
19212 builtin and then its argument prototype would still apply. */
19213 char $ac_func ();
19214 /* The GNU C library defines this for functions which it implements
19215 to always fail with ENOSYS. Some functions are actually named
19216 something starting with __ and the normal name is an alias. */
19217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19218 choke me
19219 #else
19220 char (*f) () = $ac_func;
19221 #endif
19222 #ifdef __cplusplus
19224 #endif
19227 main ()
19229 return f != $ac_func;
19231 return 0;
19233 _ACEOF
19234 rm -f conftest.$ac_objext conftest$ac_exeext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19236 (eval $ac_link) 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -z "$ac_c_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try='test -s conftest$ac_exeext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 eval "$as_ac_var=yes"
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19261 eval "$as_ac_var=no"
19263 rm -f conftest.err conftest.$ac_objext \
19264 conftest$ac_exeext conftest.$ac_ext
19266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19268 if test `eval echo '${'$as_ac_var'}'` = yes; then
19269 cat >>confdefs.h <<_ACEOF
19270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19271 _ACEOF
19274 done
19285 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 echo "$as_me:$LINENO: checking for $ac_func" >&5
19289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19290 if eval "test \"\${$as_ac_var+set}\" = set"; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293 if test x$gcc_no_link = xyes; then
19294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296 { (exit 1); exit 1; }; }
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19306 #define $ac_func innocuous_$ac_func
19308 /* System header to define __stub macros and hopefully few prototypes,
19309 which can conflict with char $ac_func (); below.
19310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19311 <limits.h> exists even on freestanding compilers. */
19313 #ifdef __STDC__
19314 # include <limits.h>
19315 #else
19316 # include <assert.h>
19317 #endif
19319 #undef $ac_func
19321 /* Override any gcc2 internal prototype to avoid an error. */
19322 #ifdef __cplusplus
19323 extern "C"
19325 #endif
19326 /* We use char because int might match the return type of a gcc2
19327 builtin and then its argument prototype would still apply. */
19328 char $ac_func ();
19329 /* The GNU C library defines this for functions which it implements
19330 to always fail with ENOSYS. Some functions are actually named
19331 something starting with __ and the normal name is an alias. */
19332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19333 choke me
19334 #else
19335 char (*f) () = $ac_func;
19336 #endif
19337 #ifdef __cplusplus
19339 #endif
19342 main ()
19344 return f != $ac_func;
19346 return 0;
19348 _ACEOF
19349 rm -f conftest.$ac_objext conftest$ac_exeext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19351 (eval $ac_link) 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -z "$ac_c_werror_flag"
19359 || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest$ac_exeext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 eval "$as_ac_var=yes"
19372 else
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 eval "$as_ac_var=no"
19378 rm -f conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19383 if test `eval echo '${'$as_ac_var'}'` = yes; then
19384 cat >>confdefs.h <<_ACEOF
19385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19386 _ACEOF
19389 done
19399 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19402 echo "$as_me:$LINENO: checking for $ac_func" >&5
19403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19404 if eval "test \"\${$as_ac_var+set}\" = set"; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 if test x$gcc_no_link = xyes; then
19408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19410 { (exit 1); exit 1; }; }
19412 cat >conftest.$ac_ext <<_ACEOF
19413 /* confdefs.h. */
19414 _ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19420 #define $ac_func innocuous_$ac_func
19422 /* System header to define __stub macros and hopefully few prototypes,
19423 which can conflict with char $ac_func (); below.
19424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19425 <limits.h> exists even on freestanding compilers. */
19427 #ifdef __STDC__
19428 # include <limits.h>
19429 #else
19430 # include <assert.h>
19431 #endif
19433 #undef $ac_func
19435 /* Override any gcc2 internal prototype to avoid an error. */
19436 #ifdef __cplusplus
19437 extern "C"
19439 #endif
19440 /* We use char because int might match the return type of a gcc2
19441 builtin and then its argument prototype would still apply. */
19442 char $ac_func ();
19443 /* The GNU C library defines this for functions which it implements
19444 to always fail with ENOSYS. Some functions are actually named
19445 something starting with __ and the normal name is an alias. */
19446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19447 choke me
19448 #else
19449 char (*f) () = $ac_func;
19450 #endif
19451 #ifdef __cplusplus
19453 #endif
19456 main ()
19458 return f != $ac_func;
19460 return 0;
19462 _ACEOF
19463 rm -f conftest.$ac_objext conftest$ac_exeext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19465 (eval $ac_link) 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag"
19473 || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest$ac_exeext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 eval "$as_ac_var=yes"
19486 else
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 eval "$as_ac_var=no"
19492 rm -f conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext conftest.$ac_ext
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19497 if test `eval echo '${'$as_ac_var'}'` = yes; then
19498 cat >>confdefs.h <<_ACEOF
19499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19500 _ACEOF
19503 done
19507 for ac_func in localtime_r gmtime_r
19509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19510 echo "$as_me:$LINENO: checking for $ac_func" >&5
19511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19512 if eval "test \"\${$as_ac_var+set}\" = set"; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515 if test x$gcc_no_link = xyes; then
19516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19518 { (exit 1); exit 1; }; }
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19528 #define $ac_func innocuous_$ac_func
19530 /* System header to define __stub macros and hopefully few prototypes,
19531 which can conflict with char $ac_func (); below.
19532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19533 <limits.h> exists even on freestanding compilers. */
19535 #ifdef __STDC__
19536 # include <limits.h>
19537 #else
19538 # include <assert.h>
19539 #endif
19541 #undef $ac_func
19543 /* Override any gcc2 internal prototype to avoid an error. */
19544 #ifdef __cplusplus
19545 extern "C"
19547 #endif
19548 /* We use char because int might match the return type of a gcc2
19549 builtin and then its argument prototype would still apply. */
19550 char $ac_func ();
19551 /* The GNU C library defines this for functions which it implements
19552 to always fail with ENOSYS. Some functions are actually named
19553 something starting with __ and the normal name is an alias. */
19554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19555 choke me
19556 #else
19557 char (*f) () = $ac_func;
19558 #endif
19559 #ifdef __cplusplus
19561 #endif
19564 main ()
19566 return f != $ac_func;
19568 return 0;
19570 _ACEOF
19571 rm -f conftest.$ac_objext conftest$ac_exeext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573 (eval $ac_link) 2>conftest.er1
19574 ac_status=$?
19575 grep -v '^ *+' conftest.er1 >conftest.err
19576 rm -f conftest.er1
19577 cat conftest.err >&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -z "$ac_c_werror_flag"
19581 || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest$ac_exeext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19590 ac_status=$?
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 eval "$as_ac_var=yes"
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 eval "$as_ac_var=no"
19600 rm -f conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19605 if test `eval echo '${'$as_ac_var'}'` = yes; then
19606 cat >>confdefs.h <<_ACEOF
19607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19608 _ACEOF
19611 done
19614 # Check for glibc backtrace functions
19617 for ac_func in backtrace backtrace_symbols
19619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19620 echo "$as_me:$LINENO: checking for $ac_func" >&5
19621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19622 if eval "test \"\${$as_ac_var+set}\" = set"; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19624 else
19625 if test x$gcc_no_link = xyes; then
19626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19628 { (exit 1); exit 1; }; }
19630 cat >conftest.$ac_ext <<_ACEOF
19631 /* confdefs.h. */
19632 _ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19638 #define $ac_func innocuous_$ac_func
19640 /* System header to define __stub macros and hopefully few prototypes,
19641 which can conflict with char $ac_func (); below.
19642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19643 <limits.h> exists even on freestanding compilers. */
19645 #ifdef __STDC__
19646 # include <limits.h>
19647 #else
19648 # include <assert.h>
19649 #endif
19651 #undef $ac_func
19653 /* Override any gcc2 internal prototype to avoid an error. */
19654 #ifdef __cplusplus
19655 extern "C"
19657 #endif
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19660 char $ac_func ();
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19665 choke me
19666 #else
19667 char (*f) () = $ac_func;
19668 #endif
19669 #ifdef __cplusplus
19671 #endif
19674 main ()
19676 return f != $ac_func;
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 eval "$as_ac_var=yes"
19704 else
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19708 eval "$as_ac_var=no"
19710 rm -f conftest.err conftest.$ac_objext \
19711 conftest$ac_exeext conftest.$ac_ext
19713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19715 if test `eval echo '${'$as_ac_var'}'` = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19718 _ACEOF
19721 done
19724 # Check for types
19725 echo "$as_me:$LINENO: checking for intptr_t" >&5
19726 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19727 if test "${ac_cv_type_intptr_t+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 else
19730 cat >conftest.$ac_ext <<_ACEOF
19731 /* confdefs.h. */
19732 _ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19738 main ()
19740 if ((intptr_t *) 0)
19741 return 0;
19742 if (sizeof (intptr_t))
19743 return 0;
19745 return 0;
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19750 (eval $ac_compile) 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try='test -z "$ac_c_werror_flag"
19758 || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19767 ac_status=$?
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_cv_type_intptr_t=yes
19771 else
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 ac_cv_type_intptr_t=no
19777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19779 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19780 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19781 if test $ac_cv_type_intptr_t = yes; then
19783 cat >>confdefs.h <<_ACEOF
19784 #define HAVE_INTPTR_T 1
19785 _ACEOF
19790 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19791 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19792 if test "${ac_cv_type_uintptr_t+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19803 main ()
19805 if ((uintptr_t *) 0)
19806 return 0;
19807 if (sizeof (uintptr_t))
19808 return 0;
19810 return 0;
19812 _ACEOF
19813 rm -f conftest.$ac_objext
19814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19815 (eval $ac_compile) 2>conftest.er1
19816 ac_status=$?
19817 grep -v '^ *+' conftest.er1 >conftest.err
19818 rm -f conftest.er1
19819 cat conftest.err >&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); } &&
19822 { ac_try='test -z "$ac_c_werror_flag"
19823 || test ! -s conftest.err'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; } &&
19829 { ac_try='test -s conftest.$ac_objext'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19832 ac_status=$?
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; }; then
19835 ac_cv_type_uintptr_t=yes
19836 else
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19840 ac_cv_type_uintptr_t=no
19842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19844 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19845 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19846 if test $ac_cv_type_uintptr_t = yes; then
19848 cat >>confdefs.h <<_ACEOF
19849 #define HAVE_UINTPTR_T 1
19850 _ACEOF
19856 # Check libc for getgid, getpid, getuid
19857 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19858 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19859 if test "${ac_cv_lib_c_getgid+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 else
19862 ac_check_lib_save_LIBS=$LIBS
19863 LIBS="-lc $LIBS"
19864 if test x$gcc_no_link = xyes; then
19865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19867 { (exit 1); exit 1; }; }
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19876 /* Override any gcc2 internal prototype to avoid an error. */
19877 #ifdef __cplusplus
19878 extern "C"
19879 #endif
19880 /* We use char because int might match the return type of a gcc2
19881 builtin and then its argument prototype would still apply. */
19882 char getgid ();
19884 main ()
19886 getgid ();
19888 return 0;
19890 _ACEOF
19891 rm -f conftest.$ac_objext conftest$ac_exeext
19892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19893 (eval $ac_link) 2>conftest.er1
19894 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } &&
19900 { ac_try='test -z "$ac_c_werror_flag"
19901 || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try='test -s conftest$ac_exeext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 ac_cv_lib_c_getgid=yes
19914 else
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19918 ac_cv_lib_c_getgid=no
19920 rm -f conftest.err conftest.$ac_objext \
19921 conftest$ac_exeext conftest.$ac_ext
19922 LIBS=$ac_check_lib_save_LIBS
19924 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19925 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19926 if test $ac_cv_lib_c_getgid = yes; then
19928 cat >>confdefs.h <<\_ACEOF
19929 #define HAVE_GETGID 1
19930 _ACEOF
19934 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19935 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19936 if test "${ac_cv_lib_c_getpid+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 ac_check_lib_save_LIBS=$LIBS
19940 LIBS="-lc $LIBS"
19941 if test x$gcc_no_link = xyes; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19953 /* Override any gcc2 internal prototype to avoid an error. */
19954 #ifdef __cplusplus
19955 extern "C"
19956 #endif
19957 /* We use char because int might match the return type of a gcc2
19958 builtin and then its argument prototype would still apply. */
19959 char getpid ();
19961 main ()
19963 getpid ();
19965 return 0;
19967 _ACEOF
19968 rm -f conftest.$ac_objext conftest$ac_exeext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19970 (eval $ac_link) 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try='test -z "$ac_c_werror_flag"
19978 || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try='test -s conftest$ac_exeext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 ac_cv_lib_c_getpid=yes
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 ac_cv_lib_c_getpid=no
19997 rm -f conftest.err conftest.$ac_objext \
19998 conftest$ac_exeext conftest.$ac_ext
19999 LIBS=$ac_check_lib_save_LIBS
20001 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
20002 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
20003 if test $ac_cv_lib_c_getpid = yes; then
20005 cat >>confdefs.h <<\_ACEOF
20006 #define HAVE_GETPID 1
20007 _ACEOF
20011 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
20012 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
20013 if test "${ac_cv_lib_c_getppid+set}" = set; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 else
20016 ac_check_lib_save_LIBS=$LIBS
20017 LIBS="-lc $LIBS"
20018 if test x$gcc_no_link = xyes; then
20019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20021 { (exit 1); exit 1; }; }
20023 cat >conftest.$ac_ext <<_ACEOF
20024 /* confdefs.h. */
20025 _ACEOF
20026 cat confdefs.h >>conftest.$ac_ext
20027 cat >>conftest.$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20030 /* Override any gcc2 internal prototype to avoid an error. */
20031 #ifdef __cplusplus
20032 extern "C"
20033 #endif
20034 /* We use char because int might match the return type of a gcc2
20035 builtin and then its argument prototype would still apply. */
20036 char getppid ();
20038 main ()
20040 getppid ();
20042 return 0;
20044 _ACEOF
20045 rm -f conftest.$ac_objext conftest$ac_exeext
20046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20047 (eval $ac_link) 2>conftest.er1
20048 ac_status=$?
20049 grep -v '^ *+' conftest.er1 >conftest.err
20050 rm -f conftest.er1
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } &&
20054 { ac_try='test -z "$ac_c_werror_flag"
20055 || test ! -s conftest.err'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20058 ac_status=$?
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; } &&
20061 { ac_try='test -s conftest$ac_exeext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20064 ac_status=$?
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 ac_cv_lib_c_getppid=yes
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20072 ac_cv_lib_c_getppid=no
20074 rm -f conftest.err conftest.$ac_objext \
20075 conftest$ac_exeext conftest.$ac_ext
20076 LIBS=$ac_check_lib_save_LIBS
20078 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
20079 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
20080 if test $ac_cv_lib_c_getppid = yes; then
20082 cat >>confdefs.h <<\_ACEOF
20083 #define HAVE_GETPPID 1
20084 _ACEOF
20088 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
20089 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
20090 if test "${ac_cv_lib_c_getuid+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 else
20093 ac_check_lib_save_LIBS=$LIBS
20094 LIBS="-lc $LIBS"
20095 if test x$gcc_no_link = xyes; then
20096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20098 { (exit 1); exit 1; }; }
20100 cat >conftest.$ac_ext <<_ACEOF
20101 /* confdefs.h. */
20102 _ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20107 /* Override any gcc2 internal prototype to avoid an error. */
20108 #ifdef __cplusplus
20109 extern "C"
20110 #endif
20111 /* We use char because int might match the return type of a gcc2
20112 builtin and then its argument prototype would still apply. */
20113 char getuid ();
20115 main ()
20117 getuid ();
20119 return 0;
20121 _ACEOF
20122 rm -f conftest.$ac_objext conftest$ac_exeext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20124 (eval $ac_link) 2>conftest.er1
20125 ac_status=$?
20126 grep -v '^ *+' conftest.er1 >conftest.err
20127 rm -f conftest.er1
20128 cat conftest.err >&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } &&
20131 { ac_try='test -z "$ac_c_werror_flag"
20132 || test ! -s conftest.err'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20135 ac_status=$?
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; } &&
20138 { ac_try='test -s conftest$ac_exeext'
20139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20140 (eval $ac_try) 2>&5
20141 ac_status=$?
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); }; }; then
20144 ac_cv_lib_c_getuid=yes
20145 else
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5
20149 ac_cv_lib_c_getuid=no
20151 rm -f conftest.err conftest.$ac_objext \
20152 conftest$ac_exeext conftest.$ac_ext
20153 LIBS=$ac_check_lib_save_LIBS
20155 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
20156 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
20157 if test $ac_cv_lib_c_getuid = yes; then
20159 cat >>confdefs.h <<\_ACEOF
20160 #define HAVE_GETUID 1
20161 _ACEOF
20165 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
20166 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
20167 if test "${ac_cv_lib_c_geteuid+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 ac_check_lib_save_LIBS=$LIBS
20171 LIBS="-lc $LIBS"
20172 if test x$gcc_no_link = xyes; then
20173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20175 { (exit 1); exit 1; }; }
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20184 /* Override any gcc2 internal prototype to avoid an error. */
20185 #ifdef __cplusplus
20186 extern "C"
20187 #endif
20188 /* We use char because int might match the return type of a gcc2
20189 builtin and then its argument prototype would still apply. */
20190 char geteuid ();
20192 main ()
20194 geteuid ();
20196 return 0;
20198 _ACEOF
20199 rm -f conftest.$ac_objext conftest$ac_exeext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20201 (eval $ac_link) 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try='test -z "$ac_c_werror_flag"
20209 || test ! -s conftest.err'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20212 ac_status=$?
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; } &&
20215 { ac_try='test -s conftest$ac_exeext'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; }; then
20221 ac_cv_lib_c_geteuid=yes
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20226 ac_cv_lib_c_geteuid=no
20228 rm -f conftest.err conftest.$ac_objext \
20229 conftest$ac_exeext conftest.$ac_ext
20230 LIBS=$ac_check_lib_save_LIBS
20232 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20233 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20234 if test $ac_cv_lib_c_geteuid = yes; then
20236 cat >>confdefs.h <<\_ACEOF
20237 #define HAVE_GETEUID 1
20238 _ACEOF
20243 # Check for C99 (and other IEEE) math functions
20244 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20245 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20246 if test "${ac_cv_lib_m_acosf+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 else
20249 ac_check_lib_save_LIBS=$LIBS
20250 LIBS="-lm $LIBS"
20251 if test x$gcc_no_link = xyes; then
20252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20254 { (exit 1); exit 1; }; }
20256 cat >conftest.$ac_ext <<_ACEOF
20257 /* confdefs.h. */
20258 _ACEOF
20259 cat confdefs.h >>conftest.$ac_ext
20260 cat >>conftest.$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20263 /* Override any gcc2 internal prototype to avoid an error. */
20264 #ifdef __cplusplus
20265 extern "C"
20266 #endif
20267 /* We use char because int might match the return type of a gcc2
20268 builtin and then its argument prototype would still apply. */
20269 char acosf ();
20271 main ()
20273 acosf ();
20275 return 0;
20277 _ACEOF
20278 rm -f conftest.$ac_objext conftest$ac_exeext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20280 (eval $ac_link) 2>conftest.er1
20281 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try='test -z "$ac_c_werror_flag"
20288 || test ! -s conftest.err'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try='test -s conftest$ac_exeext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_cv_lib_m_acosf=yes
20301 else
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 ac_cv_lib_m_acosf=no
20307 rm -f conftest.err conftest.$ac_objext \
20308 conftest$ac_exeext conftest.$ac_ext
20309 LIBS=$ac_check_lib_save_LIBS
20311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20312 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20313 if test $ac_cv_lib_m_acosf = yes; then
20315 cat >>confdefs.h <<\_ACEOF
20316 #define HAVE_ACOSF 1
20317 _ACEOF
20321 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20322 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20323 if test "${ac_cv_lib_m_acos+set}" = set; then
20324 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 else
20326 ac_check_lib_save_LIBS=$LIBS
20327 LIBS="-lm $LIBS"
20328 if test x$gcc_no_link = xyes; then
20329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20331 { (exit 1); exit 1; }; }
20333 cat >conftest.$ac_ext <<_ACEOF
20334 /* confdefs.h. */
20335 _ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20340 /* Override any gcc2 internal prototype to avoid an error. */
20341 #ifdef __cplusplus
20342 extern "C"
20343 #endif
20344 /* We use char because int might match the return type of a gcc2
20345 builtin and then its argument prototype would still apply. */
20346 char acos ();
20348 main ()
20350 acos ();
20352 return 0;
20354 _ACEOF
20355 rm -f conftest.$ac_objext conftest$ac_exeext
20356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20357 (eval $ac_link) 2>conftest.er1
20358 ac_status=$?
20359 grep -v '^ *+' conftest.er1 >conftest.err
20360 rm -f conftest.er1
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } &&
20364 { ac_try='test -z "$ac_c_werror_flag"
20365 || test ! -s conftest.err'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5
20368 ac_status=$?
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; } &&
20371 { ac_try='test -s conftest$ac_exeext'
20372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373 (eval $ac_try) 2>&5
20374 ac_status=$?
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); }; }; then
20377 ac_cv_lib_m_acos=yes
20378 else
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.$ac_ext >&5
20382 ac_cv_lib_m_acos=no
20384 rm -f conftest.err conftest.$ac_objext \
20385 conftest$ac_exeext conftest.$ac_ext
20386 LIBS=$ac_check_lib_save_LIBS
20388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20389 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20390 if test $ac_cv_lib_m_acos = yes; then
20392 cat >>confdefs.h <<\_ACEOF
20393 #define HAVE_ACOS 1
20394 _ACEOF
20398 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20399 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20400 if test "${ac_cv_lib_m_acosl+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 else
20403 ac_check_lib_save_LIBS=$LIBS
20404 LIBS="-lm $LIBS"
20405 if test x$gcc_no_link = xyes; then
20406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20408 { (exit 1); exit 1; }; }
20410 cat >conftest.$ac_ext <<_ACEOF
20411 /* confdefs.h. */
20412 _ACEOF
20413 cat confdefs.h >>conftest.$ac_ext
20414 cat >>conftest.$ac_ext <<_ACEOF
20415 /* end confdefs.h. */
20417 /* Override any gcc2 internal prototype to avoid an error. */
20418 #ifdef __cplusplus
20419 extern "C"
20420 #endif
20421 /* We use char because int might match the return type of a gcc2
20422 builtin and then its argument prototype would still apply. */
20423 char acosl ();
20425 main ()
20427 acosl ();
20429 return 0;
20431 _ACEOF
20432 rm -f conftest.$ac_objext conftest$ac_exeext
20433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20434 (eval $ac_link) 2>conftest.er1
20435 ac_status=$?
20436 grep -v '^ *+' conftest.er1 >conftest.err
20437 rm -f conftest.er1
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } &&
20441 { ac_try='test -z "$ac_c_werror_flag"
20442 || test ! -s conftest.err'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; } &&
20448 { ac_try='test -s conftest$ac_exeext'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20451 ac_status=$?
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; }; then
20454 ac_cv_lib_m_acosl=yes
20455 else
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 ac_cv_lib_m_acosl=no
20461 rm -f conftest.err conftest.$ac_objext \
20462 conftest$ac_exeext conftest.$ac_ext
20463 LIBS=$ac_check_lib_save_LIBS
20465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20466 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20467 if test $ac_cv_lib_m_acosl = yes; then
20469 cat >>confdefs.h <<\_ACEOF
20470 #define HAVE_ACOSL 1
20471 _ACEOF
20475 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20476 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20477 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 ac_check_lib_save_LIBS=$LIBS
20481 LIBS="-lm $LIBS"
20482 if test x$gcc_no_link = xyes; then
20483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20485 { (exit 1); exit 1; }; }
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20494 /* Override any gcc2 internal prototype to avoid an error. */
20495 #ifdef __cplusplus
20496 extern "C"
20497 #endif
20498 /* We use char because int might match the return type of a gcc2
20499 builtin and then its argument prototype would still apply. */
20500 char acoshf ();
20502 main ()
20504 acoshf ();
20506 return 0;
20508 _ACEOF
20509 rm -f conftest.$ac_objext conftest$ac_exeext
20510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20511 (eval $ac_link) 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } &&
20518 { ac_try='test -z "$ac_c_werror_flag"
20519 || test ! -s conftest.err'
20520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521 (eval $ac_try) 2>&5
20522 ac_status=$?
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); }; } &&
20525 { ac_try='test -s conftest$ac_exeext'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20528 ac_status=$?
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; }; then
20531 ac_cv_lib_m_acoshf=yes
20532 else
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20536 ac_cv_lib_m_acoshf=no
20538 rm -f conftest.err conftest.$ac_objext \
20539 conftest$ac_exeext conftest.$ac_ext
20540 LIBS=$ac_check_lib_save_LIBS
20542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20543 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20544 if test $ac_cv_lib_m_acoshf = yes; then
20546 cat >>confdefs.h <<\_ACEOF
20547 #define HAVE_ACOSHF 1
20548 _ACEOF
20552 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20553 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20554 if test "${ac_cv_lib_m_acosh+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 else
20557 ac_check_lib_save_LIBS=$LIBS
20558 LIBS="-lm $LIBS"
20559 if test x$gcc_no_link = xyes; then
20560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20562 { (exit 1); exit 1; }; }
20564 cat >conftest.$ac_ext <<_ACEOF
20565 /* confdefs.h. */
20566 _ACEOF
20567 cat confdefs.h >>conftest.$ac_ext
20568 cat >>conftest.$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20571 /* Override any gcc2 internal prototype to avoid an error. */
20572 #ifdef __cplusplus
20573 extern "C"
20574 #endif
20575 /* We use char because int might match the return type of a gcc2
20576 builtin and then its argument prototype would still apply. */
20577 char acosh ();
20579 main ()
20581 acosh ();
20583 return 0;
20585 _ACEOF
20586 rm -f conftest.$ac_objext conftest$ac_exeext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20588 (eval $ac_link) 2>conftest.er1
20589 ac_status=$?
20590 grep -v '^ *+' conftest.er1 >conftest.err
20591 rm -f conftest.er1
20592 cat conftest.err >&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try='test -z "$ac_c_werror_flag"
20596 || test ! -s conftest.err'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; } &&
20602 { ac_try='test -s conftest$ac_exeext'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20605 ac_status=$?
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; }; then
20608 ac_cv_lib_m_acosh=yes
20609 else
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20613 ac_cv_lib_m_acosh=no
20615 rm -f conftest.err conftest.$ac_objext \
20616 conftest$ac_exeext conftest.$ac_ext
20617 LIBS=$ac_check_lib_save_LIBS
20619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20620 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20621 if test $ac_cv_lib_m_acosh = yes; then
20623 cat >>confdefs.h <<\_ACEOF
20624 #define HAVE_ACOSH 1
20625 _ACEOF
20629 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20630 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20631 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20632 echo $ECHO_N "(cached) $ECHO_C" >&6
20633 else
20634 ac_check_lib_save_LIBS=$LIBS
20635 LIBS="-lm $LIBS"
20636 if test x$gcc_no_link = xyes; then
20637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20639 { (exit 1); exit 1; }; }
20641 cat >conftest.$ac_ext <<_ACEOF
20642 /* confdefs.h. */
20643 _ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 /* Override any gcc2 internal prototype to avoid an error. */
20649 #ifdef __cplusplus
20650 extern "C"
20651 #endif
20652 /* We use char because int might match the return type of a gcc2
20653 builtin and then its argument prototype would still apply. */
20654 char acoshl ();
20656 main ()
20658 acoshl ();
20660 return 0;
20662 _ACEOF
20663 rm -f conftest.$ac_objext conftest$ac_exeext
20664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20665 (eval $ac_link) 2>conftest.er1
20666 ac_status=$?
20667 grep -v '^ *+' conftest.er1 >conftest.err
20668 rm -f conftest.er1
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } &&
20672 { ac_try='test -z "$ac_c_werror_flag"
20673 || test ! -s conftest.err'
20674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675 (eval $ac_try) 2>&5
20676 ac_status=$?
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); }; } &&
20679 { ac_try='test -s conftest$ac_exeext'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20682 ac_status=$?
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; }; then
20685 ac_cv_lib_m_acoshl=yes
20686 else
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 ac_cv_lib_m_acoshl=no
20692 rm -f conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext conftest.$ac_ext
20694 LIBS=$ac_check_lib_save_LIBS
20696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20697 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20698 if test $ac_cv_lib_m_acoshl = yes; then
20700 cat >>confdefs.h <<\_ACEOF
20701 #define HAVE_ACOSHL 1
20702 _ACEOF
20706 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20707 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20708 if test "${ac_cv_lib_m_asinf+set}" = set; then
20709 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 else
20711 ac_check_lib_save_LIBS=$LIBS
20712 LIBS="-lm $LIBS"
20713 if test x$gcc_no_link = xyes; then
20714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20716 { (exit 1); exit 1; }; }
20718 cat >conftest.$ac_ext <<_ACEOF
20719 /* confdefs.h. */
20720 _ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20725 /* Override any gcc2 internal prototype to avoid an error. */
20726 #ifdef __cplusplus
20727 extern "C"
20728 #endif
20729 /* We use char because int might match the return type of a gcc2
20730 builtin and then its argument prototype would still apply. */
20731 char asinf ();
20733 main ()
20735 asinf ();
20737 return 0;
20739 _ACEOF
20740 rm -f conftest.$ac_objext conftest$ac_exeext
20741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20742 (eval $ac_link) 2>conftest.er1
20743 ac_status=$?
20744 grep -v '^ *+' conftest.er1 >conftest.err
20745 rm -f conftest.er1
20746 cat conftest.err >&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } &&
20749 { ac_try='test -z "$ac_c_werror_flag"
20750 || test ! -s conftest.err'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; } &&
20756 { ac_try='test -s conftest$ac_exeext'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; }; then
20762 ac_cv_lib_m_asinf=yes
20763 else
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20767 ac_cv_lib_m_asinf=no
20769 rm -f conftest.err conftest.$ac_objext \
20770 conftest$ac_exeext conftest.$ac_ext
20771 LIBS=$ac_check_lib_save_LIBS
20773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20774 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20775 if test $ac_cv_lib_m_asinf = yes; then
20777 cat >>confdefs.h <<\_ACEOF
20778 #define HAVE_ASINF 1
20779 _ACEOF
20783 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20784 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20785 if test "${ac_cv_lib_m_asin+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else
20788 ac_check_lib_save_LIBS=$LIBS
20789 LIBS="-lm $LIBS"
20790 if test x$gcc_no_link = xyes; then
20791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20793 { (exit 1); exit 1; }; }
20795 cat >conftest.$ac_ext <<_ACEOF
20796 /* confdefs.h. */
20797 _ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20802 /* Override any gcc2 internal prototype to avoid an error. */
20803 #ifdef __cplusplus
20804 extern "C"
20805 #endif
20806 /* We use char because int might match the return type of a gcc2
20807 builtin and then its argument prototype would still apply. */
20808 char asin ();
20810 main ()
20812 asin ();
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag"
20827 || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 ac_cv_lib_m_asin=yes
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 ac_cv_lib_m_asin=no
20846 rm -f conftest.err conftest.$ac_objext \
20847 conftest$ac_exeext conftest.$ac_ext
20848 LIBS=$ac_check_lib_save_LIBS
20850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20851 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20852 if test $ac_cv_lib_m_asin = yes; then
20854 cat >>confdefs.h <<\_ACEOF
20855 #define HAVE_ASIN 1
20856 _ACEOF
20860 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20861 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20862 if test "${ac_cv_lib_m_asinl+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 else
20865 ac_check_lib_save_LIBS=$LIBS
20866 LIBS="-lm $LIBS"
20867 if test x$gcc_no_link = xyes; then
20868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20870 { (exit 1); exit 1; }; }
20872 cat >conftest.$ac_ext <<_ACEOF
20873 /* confdefs.h. */
20874 _ACEOF
20875 cat confdefs.h >>conftest.$ac_ext
20876 cat >>conftest.$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20879 /* Override any gcc2 internal prototype to avoid an error. */
20880 #ifdef __cplusplus
20881 extern "C"
20882 #endif
20883 /* We use char because int might match the return type of a gcc2
20884 builtin and then its argument prototype would still apply. */
20885 char asinl ();
20887 main ()
20889 asinl ();
20891 return 0;
20893 _ACEOF
20894 rm -f conftest.$ac_objext conftest$ac_exeext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20896 (eval $ac_link) 2>conftest.er1
20897 ac_status=$?
20898 grep -v '^ *+' conftest.er1 >conftest.err
20899 rm -f conftest.er1
20900 cat conftest.err >&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -z "$ac_c_werror_flag"
20904 || test ! -s conftest.err'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20907 ac_status=$?
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; } &&
20910 { ac_try='test -s conftest$ac_exeext'
20911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20912 (eval $ac_try) 2>&5
20913 ac_status=$?
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; }; then
20916 ac_cv_lib_m_asinl=yes
20917 else
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.$ac_ext >&5
20921 ac_cv_lib_m_asinl=no
20923 rm -f conftest.err conftest.$ac_objext \
20924 conftest$ac_exeext conftest.$ac_ext
20925 LIBS=$ac_check_lib_save_LIBS
20927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20928 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20929 if test $ac_cv_lib_m_asinl = yes; then
20931 cat >>confdefs.h <<\_ACEOF
20932 #define HAVE_ASINL 1
20933 _ACEOF
20937 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20938 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20939 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 else
20942 ac_check_lib_save_LIBS=$LIBS
20943 LIBS="-lm $LIBS"
20944 if test x$gcc_no_link = xyes; then
20945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20947 { (exit 1); exit 1; }; }
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20956 /* Override any gcc2 internal prototype to avoid an error. */
20957 #ifdef __cplusplus
20958 extern "C"
20959 #endif
20960 /* We use char because int might match the return type of a gcc2
20961 builtin and then its argument prototype would still apply. */
20962 char asinhf ();
20964 main ()
20966 asinhf ();
20968 return 0;
20970 _ACEOF
20971 rm -f conftest.$ac_objext conftest$ac_exeext
20972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20973 (eval $ac_link) 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try='test -z "$ac_c_werror_flag"
20981 || test ! -s conftest.err'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20984 ac_status=$?
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try='test -s conftest$ac_exeext'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20993 ac_cv_lib_m_asinhf=yes
20994 else
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.$ac_ext >&5
20998 ac_cv_lib_m_asinhf=no
21000 rm -f conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21002 LIBS=$ac_check_lib_save_LIBS
21004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
21005 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
21006 if test $ac_cv_lib_m_asinhf = yes; then
21008 cat >>confdefs.h <<\_ACEOF
21009 #define HAVE_ASINHF 1
21010 _ACEOF
21014 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
21015 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
21016 if test "${ac_cv_lib_m_asinh+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21019 ac_check_lib_save_LIBS=$LIBS
21020 LIBS="-lm $LIBS"
21021 if test x$gcc_no_link = xyes; then
21022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21024 { (exit 1); exit 1; }; }
21026 cat >conftest.$ac_ext <<_ACEOF
21027 /* confdefs.h. */
21028 _ACEOF
21029 cat confdefs.h >>conftest.$ac_ext
21030 cat >>conftest.$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21033 /* Override any gcc2 internal prototype to avoid an error. */
21034 #ifdef __cplusplus
21035 extern "C"
21036 #endif
21037 /* We use char because int might match the return type of a gcc2
21038 builtin and then its argument prototype would still apply. */
21039 char asinh ();
21041 main ()
21043 asinh ();
21045 return 0;
21047 _ACEOF
21048 rm -f conftest.$ac_objext conftest$ac_exeext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21050 (eval $ac_link) 2>conftest.er1
21051 ac_status=$?
21052 grep -v '^ *+' conftest.er1 >conftest.err
21053 rm -f conftest.er1
21054 cat conftest.err >&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } &&
21057 { ac_try='test -z "$ac_c_werror_flag"
21058 || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 ac_cv_lib_m_asinh=yes
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21075 ac_cv_lib_m_asinh=no
21077 rm -f conftest.err conftest.$ac_objext \
21078 conftest$ac_exeext conftest.$ac_ext
21079 LIBS=$ac_check_lib_save_LIBS
21081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
21082 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
21083 if test $ac_cv_lib_m_asinh = yes; then
21085 cat >>confdefs.h <<\_ACEOF
21086 #define HAVE_ASINH 1
21087 _ACEOF
21091 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
21092 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
21093 if test "${ac_cv_lib_m_asinhl+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 else
21096 ac_check_lib_save_LIBS=$LIBS
21097 LIBS="-lm $LIBS"
21098 if test x$gcc_no_link = xyes; then
21099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21101 { (exit 1); exit 1; }; }
21103 cat >conftest.$ac_ext <<_ACEOF
21104 /* confdefs.h. */
21105 _ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21110 /* Override any gcc2 internal prototype to avoid an error. */
21111 #ifdef __cplusplus
21112 extern "C"
21113 #endif
21114 /* We use char because int might match the return type of a gcc2
21115 builtin and then its argument prototype would still apply. */
21116 char asinhl ();
21118 main ()
21120 asinhl ();
21122 return 0;
21124 _ACEOF
21125 rm -f conftest.$ac_objext conftest$ac_exeext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21127 (eval $ac_link) 2>conftest.er1
21128 ac_status=$?
21129 grep -v '^ *+' conftest.er1 >conftest.err
21130 rm -f conftest.er1
21131 cat conftest.err >&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try='test -z "$ac_c_werror_flag"
21135 || test ! -s conftest.err'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; } &&
21141 { ac_try='test -s conftest$ac_exeext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21144 ac_status=$?
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 ac_cv_lib_m_asinhl=yes
21148 else
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21152 ac_cv_lib_m_asinhl=no
21154 rm -f conftest.err conftest.$ac_objext \
21155 conftest$ac_exeext conftest.$ac_ext
21156 LIBS=$ac_check_lib_save_LIBS
21158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
21159 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
21160 if test $ac_cv_lib_m_asinhl = yes; then
21162 cat >>confdefs.h <<\_ACEOF
21163 #define HAVE_ASINHL 1
21164 _ACEOF
21168 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
21169 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
21170 if test "${ac_cv_lib_m_atan2f+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 else
21173 ac_check_lib_save_LIBS=$LIBS
21174 LIBS="-lm $LIBS"
21175 if test x$gcc_no_link = xyes; then
21176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21178 { (exit 1); exit 1; }; }
21180 cat >conftest.$ac_ext <<_ACEOF
21181 /* confdefs.h. */
21182 _ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21187 /* Override any gcc2 internal prototype to avoid an error. */
21188 #ifdef __cplusplus
21189 extern "C"
21190 #endif
21191 /* We use char because int might match the return type of a gcc2
21192 builtin and then its argument prototype would still apply. */
21193 char atan2f ();
21195 main ()
21197 atan2f ();
21199 return 0;
21201 _ACEOF
21202 rm -f conftest.$ac_objext conftest$ac_exeext
21203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21204 (eval $ac_link) 2>conftest.er1
21205 ac_status=$?
21206 grep -v '^ *+' conftest.er1 >conftest.err
21207 rm -f conftest.er1
21208 cat conftest.err >&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); } &&
21211 { ac_try='test -z "$ac_c_werror_flag"
21212 || test ! -s conftest.err'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21215 ac_status=$?
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; } &&
21218 { ac_try='test -s conftest$ac_exeext'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21221 ac_status=$?
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21224 ac_cv_lib_m_atan2f=yes
21225 else
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.$ac_ext >&5
21229 ac_cv_lib_m_atan2f=no
21231 rm -f conftest.err conftest.$ac_objext \
21232 conftest$ac_exeext conftest.$ac_ext
21233 LIBS=$ac_check_lib_save_LIBS
21235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21236 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21237 if test $ac_cv_lib_m_atan2f = yes; then
21239 cat >>confdefs.h <<\_ACEOF
21240 #define HAVE_ATAN2F 1
21241 _ACEOF
21245 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21246 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21247 if test "${ac_cv_lib_m_atan2+set}" = set; then
21248 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 else
21250 ac_check_lib_save_LIBS=$LIBS
21251 LIBS="-lm $LIBS"
21252 if test x$gcc_no_link = xyes; then
21253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21255 { (exit 1); exit 1; }; }
21257 cat >conftest.$ac_ext <<_ACEOF
21258 /* confdefs.h. */
21259 _ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21264 /* Override any gcc2 internal prototype to avoid an error. */
21265 #ifdef __cplusplus
21266 extern "C"
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char atan2 ();
21272 main ()
21274 atan2 ();
21276 return 0;
21278 _ACEOF
21279 rm -f conftest.$ac_objext conftest$ac_exeext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>conftest.er1
21282 ac_status=$?
21283 grep -v '^ *+' conftest.er1 >conftest.err
21284 rm -f conftest.er1
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } &&
21288 { ac_try='test -z "$ac_c_werror_flag"
21289 || test ! -s conftest.err'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; } &&
21295 { ac_try='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_lib_m_atan2=yes
21302 else
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21306 ac_cv_lib_m_atan2=no
21308 rm -f conftest.err conftest.$ac_objext \
21309 conftest$ac_exeext conftest.$ac_ext
21310 LIBS=$ac_check_lib_save_LIBS
21312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21313 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21314 if test $ac_cv_lib_m_atan2 = yes; then
21316 cat >>confdefs.h <<\_ACEOF
21317 #define HAVE_ATAN2 1
21318 _ACEOF
21322 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21323 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21324 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 else
21327 ac_check_lib_save_LIBS=$LIBS
21328 LIBS="-lm $LIBS"
21329 if test x$gcc_no_link = xyes; then
21330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21332 { (exit 1); exit 1; }; }
21334 cat >conftest.$ac_ext <<_ACEOF
21335 /* confdefs.h. */
21336 _ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21341 /* Override any gcc2 internal prototype to avoid an error. */
21342 #ifdef __cplusplus
21343 extern "C"
21344 #endif
21345 /* We use char because int might match the return type of a gcc2
21346 builtin and then its argument prototype would still apply. */
21347 char atan2l ();
21349 main ()
21351 atan2l ();
21353 return 0;
21355 _ACEOF
21356 rm -f conftest.$ac_objext conftest$ac_exeext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21358 (eval $ac_link) 2>conftest.er1
21359 ac_status=$?
21360 grep -v '^ *+' conftest.er1 >conftest.err
21361 rm -f conftest.er1
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try='test -z "$ac_c_werror_flag"
21366 || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try='test -s conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_lib_m_atan2l=yes
21379 else
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21383 ac_cv_lib_m_atan2l=no
21385 rm -f conftest.err conftest.$ac_objext \
21386 conftest$ac_exeext conftest.$ac_ext
21387 LIBS=$ac_check_lib_save_LIBS
21389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21390 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21391 if test $ac_cv_lib_m_atan2l = yes; then
21393 cat >>confdefs.h <<\_ACEOF
21394 #define HAVE_ATAN2L 1
21395 _ACEOF
21399 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21400 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21401 if test "${ac_cv_lib_m_atanf+set}" = set; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 else
21404 ac_check_lib_save_LIBS=$LIBS
21405 LIBS="-lm $LIBS"
21406 if test x$gcc_no_link = xyes; then
21407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21409 { (exit 1); exit 1; }; }
21411 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */
21413 _ACEOF
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21418 /* Override any gcc2 internal prototype to avoid an error. */
21419 #ifdef __cplusplus
21420 extern "C"
21421 #endif
21422 /* We use char because int might match the return type of a gcc2
21423 builtin and then its argument prototype would still apply. */
21424 char atanf ();
21426 main ()
21428 atanf ();
21430 return 0;
21432 _ACEOF
21433 rm -f conftest.$ac_objext conftest$ac_exeext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21435 (eval $ac_link) 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try='test -z "$ac_c_werror_flag"
21443 || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_lib_m_atanf=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 ac_cv_lib_m_atanf=no
21462 rm -f conftest.err conftest.$ac_objext \
21463 conftest$ac_exeext conftest.$ac_ext
21464 LIBS=$ac_check_lib_save_LIBS
21466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21467 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21468 if test $ac_cv_lib_m_atanf = yes; then
21470 cat >>confdefs.h <<\_ACEOF
21471 #define HAVE_ATANF 1
21472 _ACEOF
21476 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21477 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21478 if test "${ac_cv_lib_m_atan+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21480 else
21481 ac_check_lib_save_LIBS=$LIBS
21482 LIBS="-lm $LIBS"
21483 if test x$gcc_no_link = xyes; then
21484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21486 { (exit 1); exit 1; }; }
21488 cat >conftest.$ac_ext <<_ACEOF
21489 /* confdefs.h. */
21490 _ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21495 /* Override any gcc2 internal prototype to avoid an error. */
21496 #ifdef __cplusplus
21497 extern "C"
21498 #endif
21499 /* We use char because int might match the return type of a gcc2
21500 builtin and then its argument prototype would still apply. */
21501 char atan ();
21503 main ()
21505 atan ();
21507 return 0;
21509 _ACEOF
21510 rm -f conftest.$ac_objext conftest$ac_exeext
21511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21512 (eval $ac_link) 2>conftest.er1
21513 ac_status=$?
21514 grep -v '^ *+' conftest.er1 >conftest.err
21515 rm -f conftest.er1
21516 cat conftest.err >&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } &&
21519 { ac_try='test -z "$ac_c_werror_flag"
21520 || test ! -s conftest.err'
21521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21522 (eval $ac_try) 2>&5
21523 ac_status=$?
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; } &&
21526 { ac_try='test -s conftest$ac_exeext'
21527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21528 (eval $ac_try) 2>&5
21529 ac_status=$?
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; }; then
21532 ac_cv_lib_m_atan=yes
21533 else
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.$ac_ext >&5
21537 ac_cv_lib_m_atan=no
21539 rm -f conftest.err conftest.$ac_objext \
21540 conftest$ac_exeext conftest.$ac_ext
21541 LIBS=$ac_check_lib_save_LIBS
21543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21544 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21545 if test $ac_cv_lib_m_atan = yes; then
21547 cat >>confdefs.h <<\_ACEOF
21548 #define HAVE_ATAN 1
21549 _ACEOF
21553 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21554 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21555 if test "${ac_cv_lib_m_atanl+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 else
21558 ac_check_lib_save_LIBS=$LIBS
21559 LIBS="-lm $LIBS"
21560 if test x$gcc_no_link = xyes; then
21561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21563 { (exit 1); exit 1; }; }
21565 cat >conftest.$ac_ext <<_ACEOF
21566 /* confdefs.h. */
21567 _ACEOF
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21572 /* Override any gcc2 internal prototype to avoid an error. */
21573 #ifdef __cplusplus
21574 extern "C"
21575 #endif
21576 /* We use char because int might match the return type of a gcc2
21577 builtin and then its argument prototype would still apply. */
21578 char atanl ();
21580 main ()
21582 atanl ();
21584 return 0;
21586 _ACEOF
21587 rm -f conftest.$ac_objext conftest$ac_exeext
21588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21589 (eval $ac_link) 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } &&
21596 { ac_try='test -z "$ac_c_werror_flag"
21597 || test ! -s conftest.err'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest$ac_exeext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 ac_cv_lib_m_atanl=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 ac_cv_lib_m_atanl=no
21616 rm -f conftest.err conftest.$ac_objext \
21617 conftest$ac_exeext conftest.$ac_ext
21618 LIBS=$ac_check_lib_save_LIBS
21620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21621 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21622 if test $ac_cv_lib_m_atanl = yes; then
21624 cat >>confdefs.h <<\_ACEOF
21625 #define HAVE_ATANL 1
21626 _ACEOF
21630 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21631 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21632 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21635 ac_check_lib_save_LIBS=$LIBS
21636 LIBS="-lm $LIBS"
21637 if test x$gcc_no_link = xyes; then
21638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21640 { (exit 1); exit 1; }; }
21642 cat >conftest.$ac_ext <<_ACEOF
21643 /* confdefs.h. */
21644 _ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21649 /* Override any gcc2 internal prototype to avoid an error. */
21650 #ifdef __cplusplus
21651 extern "C"
21652 #endif
21653 /* We use char because int might match the return type of a gcc2
21654 builtin and then its argument prototype would still apply. */
21655 char atanhf ();
21657 main ()
21659 atanhf ();
21661 return 0;
21663 _ACEOF
21664 rm -f conftest.$ac_objext conftest$ac_exeext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21666 (eval $ac_link) 2>conftest.er1
21667 ac_status=$?
21668 grep -v '^ *+' conftest.er1 >conftest.err
21669 rm -f conftest.er1
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } &&
21673 { ac_try='test -z "$ac_c_werror_flag"
21674 || test ! -s conftest.err'
21675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676 (eval $ac_try) 2>&5
21677 ac_status=$?
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; } &&
21680 { ac_try='test -s conftest$ac_exeext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21683 ac_status=$?
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 ac_cv_lib_m_atanhf=yes
21687 else
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.$ac_ext >&5
21691 ac_cv_lib_m_atanhf=no
21693 rm -f conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21695 LIBS=$ac_check_lib_save_LIBS
21697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21698 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21699 if test $ac_cv_lib_m_atanhf = yes; then
21701 cat >>confdefs.h <<\_ACEOF
21702 #define HAVE_ATANHF 1
21703 _ACEOF
21707 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21708 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21709 if test "${ac_cv_lib_m_atanh+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 else
21712 ac_check_lib_save_LIBS=$LIBS
21713 LIBS="-lm $LIBS"
21714 if test x$gcc_no_link = xyes; then
21715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21717 { (exit 1); exit 1; }; }
21719 cat >conftest.$ac_ext <<_ACEOF
21720 /* confdefs.h. */
21721 _ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21726 /* Override any gcc2 internal prototype to avoid an error. */
21727 #ifdef __cplusplus
21728 extern "C"
21729 #endif
21730 /* We use char because int might match the return type of a gcc2
21731 builtin and then its argument prototype would still apply. */
21732 char atanh ();
21734 main ()
21736 atanh ();
21738 return 0;
21740 _ACEOF
21741 rm -f conftest.$ac_objext conftest$ac_exeext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21743 (eval $ac_link) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_c_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest$ac_exeext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 ac_cv_lib_m_atanh=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 ac_cv_lib_m_atanh=no
21770 rm -f conftest.err conftest.$ac_objext \
21771 conftest$ac_exeext conftest.$ac_ext
21772 LIBS=$ac_check_lib_save_LIBS
21774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21775 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21776 if test $ac_cv_lib_m_atanh = yes; then
21778 cat >>confdefs.h <<\_ACEOF
21779 #define HAVE_ATANH 1
21780 _ACEOF
21784 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21785 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21786 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21788 else
21789 ac_check_lib_save_LIBS=$LIBS
21790 LIBS="-lm $LIBS"
21791 if test x$gcc_no_link = xyes; then
21792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21794 { (exit 1); exit 1; }; }
21796 cat >conftest.$ac_ext <<_ACEOF
21797 /* confdefs.h. */
21798 _ACEOF
21799 cat confdefs.h >>conftest.$ac_ext
21800 cat >>conftest.$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21803 /* Override any gcc2 internal prototype to avoid an error. */
21804 #ifdef __cplusplus
21805 extern "C"
21806 #endif
21807 /* We use char because int might match the return type of a gcc2
21808 builtin and then its argument prototype would still apply. */
21809 char atanhl ();
21811 main ()
21813 atanhl ();
21815 return 0;
21817 _ACEOF
21818 rm -f conftest.$ac_objext conftest$ac_exeext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21820 (eval $ac_link) 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try='test -z "$ac_c_werror_flag"
21828 || test ! -s conftest.err'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21831 ac_status=$?
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; } &&
21834 { ac_try='test -s conftest$ac_exeext'
21835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21836 (eval $ac_try) 2>&5
21837 ac_status=$?
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); }; }; then
21840 ac_cv_lib_m_atanhl=yes
21841 else
21842 echo "$as_me: failed program was:" >&5
21843 sed 's/^/| /' conftest.$ac_ext >&5
21845 ac_cv_lib_m_atanhl=no
21847 rm -f conftest.err conftest.$ac_objext \
21848 conftest$ac_exeext conftest.$ac_ext
21849 LIBS=$ac_check_lib_save_LIBS
21851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21852 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21853 if test $ac_cv_lib_m_atanhl = yes; then
21855 cat >>confdefs.h <<\_ACEOF
21856 #define HAVE_ATANHL 1
21857 _ACEOF
21861 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21862 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21863 if test "${ac_cv_lib_m_cargf+set}" = set; then
21864 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 else
21866 ac_check_lib_save_LIBS=$LIBS
21867 LIBS="-lm $LIBS"
21868 if test x$gcc_no_link = xyes; then
21869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21871 { (exit 1); exit 1; }; }
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21880 /* Override any gcc2 internal prototype to avoid an error. */
21881 #ifdef __cplusplus
21882 extern "C"
21883 #endif
21884 /* We use char because int might match the return type of a gcc2
21885 builtin and then its argument prototype would still apply. */
21886 char cargf ();
21888 main ()
21890 cargf ();
21892 return 0;
21894 _ACEOF
21895 rm -f conftest.$ac_objext conftest$ac_exeext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21897 (eval $ac_link) 2>conftest.er1
21898 ac_status=$?
21899 grep -v '^ *+' conftest.er1 >conftest.err
21900 rm -f conftest.er1
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try='test -z "$ac_c_werror_flag"
21905 || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21908 ac_status=$?
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try='test -s conftest$ac_exeext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_lib_m_cargf=yes
21918 else
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21922 ac_cv_lib_m_cargf=no
21924 rm -f conftest.err conftest.$ac_objext \
21925 conftest$ac_exeext conftest.$ac_ext
21926 LIBS=$ac_check_lib_save_LIBS
21928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21929 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21930 if test $ac_cv_lib_m_cargf = yes; then
21932 cat >>confdefs.h <<\_ACEOF
21933 #define HAVE_CARGF 1
21934 _ACEOF
21938 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21939 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21940 if test "${ac_cv_lib_m_carg+set}" = set; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 else
21943 ac_check_lib_save_LIBS=$LIBS
21944 LIBS="-lm $LIBS"
21945 if test x$gcc_no_link = xyes; then
21946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21948 { (exit 1); exit 1; }; }
21950 cat >conftest.$ac_ext <<_ACEOF
21951 /* confdefs.h. */
21952 _ACEOF
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21957 /* Override any gcc2 internal prototype to avoid an error. */
21958 #ifdef __cplusplus
21959 extern "C"
21960 #endif
21961 /* We use char because int might match the return type of a gcc2
21962 builtin and then its argument prototype would still apply. */
21963 char carg ();
21965 main ()
21967 carg ();
21969 return 0;
21971 _ACEOF
21972 rm -f conftest.$ac_objext conftest$ac_exeext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21974 (eval $ac_link) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_c_werror_flag"
21982 || test ! -s conftest.err'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; } &&
21988 { ac_try='test -s conftest$ac_exeext'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 ac_cv_lib_m_carg=yes
21995 else
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21999 ac_cv_lib_m_carg=no
22001 rm -f conftest.err conftest.$ac_objext \
22002 conftest$ac_exeext conftest.$ac_ext
22003 LIBS=$ac_check_lib_save_LIBS
22005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
22006 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
22007 if test $ac_cv_lib_m_carg = yes; then
22009 cat >>confdefs.h <<\_ACEOF
22010 #define HAVE_CARG 1
22011 _ACEOF
22015 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
22016 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
22017 if test "${ac_cv_lib_m_cargl+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 else
22020 ac_check_lib_save_LIBS=$LIBS
22021 LIBS="-lm $LIBS"
22022 if test x$gcc_no_link = xyes; then
22023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22025 { (exit 1); exit 1; }; }
22027 cat >conftest.$ac_ext <<_ACEOF
22028 /* confdefs.h. */
22029 _ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22034 /* Override any gcc2 internal prototype to avoid an error. */
22035 #ifdef __cplusplus
22036 extern "C"
22037 #endif
22038 /* We use char because int might match the return type of a gcc2
22039 builtin and then its argument prototype would still apply. */
22040 char cargl ();
22042 main ()
22044 cargl ();
22046 return 0;
22048 _ACEOF
22049 rm -f conftest.$ac_objext conftest$ac_exeext
22050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22051 (eval $ac_link) 2>conftest.er1
22052 ac_status=$?
22053 grep -v '^ *+' conftest.er1 >conftest.err
22054 rm -f conftest.er1
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } &&
22058 { ac_try='test -z "$ac_c_werror_flag"
22059 || test ! -s conftest.err'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; } &&
22065 { ac_try='test -s conftest$ac_exeext'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22068 ac_status=$?
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; }; then
22071 ac_cv_lib_m_cargl=yes
22072 else
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22076 ac_cv_lib_m_cargl=no
22078 rm -f conftest.err conftest.$ac_objext \
22079 conftest$ac_exeext conftest.$ac_ext
22080 LIBS=$ac_check_lib_save_LIBS
22082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
22083 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
22084 if test $ac_cv_lib_m_cargl = yes; then
22086 cat >>confdefs.h <<\_ACEOF
22087 #define HAVE_CARGL 1
22088 _ACEOF
22092 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
22093 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
22094 if test "${ac_cv_lib_m_ceilf+set}" = set; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 else
22097 ac_check_lib_save_LIBS=$LIBS
22098 LIBS="-lm $LIBS"
22099 if test x$gcc_no_link = xyes; then
22100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22102 { (exit 1); exit 1; }; }
22104 cat >conftest.$ac_ext <<_ACEOF
22105 /* confdefs.h. */
22106 _ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22111 /* Override any gcc2 internal prototype to avoid an error. */
22112 #ifdef __cplusplus
22113 extern "C"
22114 #endif
22115 /* We use char because int might match the return type of a gcc2
22116 builtin and then its argument prototype would still apply. */
22117 char ceilf ();
22119 main ()
22121 ceilf ();
22123 return 0;
22125 _ACEOF
22126 rm -f conftest.$ac_objext conftest$ac_exeext
22127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22128 (eval $ac_link) 2>conftest.er1
22129 ac_status=$?
22130 grep -v '^ *+' conftest.er1 >conftest.err
22131 rm -f conftest.er1
22132 cat conftest.err >&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } &&
22135 { ac_try='test -z "$ac_c_werror_flag"
22136 || test ! -s conftest.err'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; } &&
22142 { ac_try='test -s conftest$ac_exeext'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22145 ac_status=$?
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; }; then
22148 ac_cv_lib_m_ceilf=yes
22149 else
22150 echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.$ac_ext >&5
22153 ac_cv_lib_m_ceilf=no
22155 rm -f conftest.err conftest.$ac_objext \
22156 conftest$ac_exeext conftest.$ac_ext
22157 LIBS=$ac_check_lib_save_LIBS
22159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
22160 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
22161 if test $ac_cv_lib_m_ceilf = yes; then
22163 cat >>confdefs.h <<\_ACEOF
22164 #define HAVE_CEILF 1
22165 _ACEOF
22169 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
22170 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
22171 if test "${ac_cv_lib_m_ceil+set}" = set; then
22172 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 else
22174 ac_check_lib_save_LIBS=$LIBS
22175 LIBS="-lm $LIBS"
22176 if test x$gcc_no_link = xyes; then
22177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22179 { (exit 1); exit 1; }; }
22181 cat >conftest.$ac_ext <<_ACEOF
22182 /* confdefs.h. */
22183 _ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22188 /* Override any gcc2 internal prototype to avoid an error. */
22189 #ifdef __cplusplus
22190 extern "C"
22191 #endif
22192 /* We use char because int might match the return type of a gcc2
22193 builtin and then its argument prototype would still apply. */
22194 char ceil ();
22196 main ()
22198 ceil ();
22200 return 0;
22202 _ACEOF
22203 rm -f conftest.$ac_objext conftest$ac_exeext
22204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22205 (eval $ac_link) 2>conftest.er1
22206 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } &&
22212 { ac_try='test -z "$ac_c_werror_flag"
22213 || test ! -s conftest.err'
22214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22215 (eval $ac_try) 2>&5
22216 ac_status=$?
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; } &&
22219 { ac_try='test -s conftest$ac_exeext'
22220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22221 (eval $ac_try) 2>&5
22222 ac_status=$?
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); }; }; then
22225 ac_cv_lib_m_ceil=yes
22226 else
22227 echo "$as_me: failed program was:" >&5
22228 sed 's/^/| /' conftest.$ac_ext >&5
22230 ac_cv_lib_m_ceil=no
22232 rm -f conftest.err conftest.$ac_objext \
22233 conftest$ac_exeext conftest.$ac_ext
22234 LIBS=$ac_check_lib_save_LIBS
22236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22237 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22238 if test $ac_cv_lib_m_ceil = yes; then
22240 cat >>confdefs.h <<\_ACEOF
22241 #define HAVE_CEIL 1
22242 _ACEOF
22246 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22247 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22248 if test "${ac_cv_lib_m_ceill+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 else
22251 ac_check_lib_save_LIBS=$LIBS
22252 LIBS="-lm $LIBS"
22253 if test x$gcc_no_link = xyes; then
22254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22256 { (exit 1); exit 1; }; }
22258 cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h. */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22265 /* Override any gcc2 internal prototype to avoid an error. */
22266 #ifdef __cplusplus
22267 extern "C"
22268 #endif
22269 /* We use char because int might match the return type of a gcc2
22270 builtin and then its argument prototype would still apply. */
22271 char ceill ();
22273 main ()
22275 ceill ();
22277 return 0;
22279 _ACEOF
22280 rm -f conftest.$ac_objext conftest$ac_exeext
22281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22282 (eval $ac_link) 2>conftest.er1
22283 ac_status=$?
22284 grep -v '^ *+' conftest.er1 >conftest.err
22285 rm -f conftest.er1
22286 cat conftest.err >&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); } &&
22289 { ac_try='test -z "$ac_c_werror_flag"
22290 || test ! -s conftest.err'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22293 ac_status=$?
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; } &&
22296 { ac_try='test -s conftest$ac_exeext'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22299 ac_status=$?
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; }; then
22302 ac_cv_lib_m_ceill=yes
22303 else
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.$ac_ext >&5
22307 ac_cv_lib_m_ceill=no
22309 rm -f conftest.err conftest.$ac_objext \
22310 conftest$ac_exeext conftest.$ac_ext
22311 LIBS=$ac_check_lib_save_LIBS
22313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22314 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22315 if test $ac_cv_lib_m_ceill = yes; then
22317 cat >>confdefs.h <<\_ACEOF
22318 #define HAVE_CEILL 1
22319 _ACEOF
22323 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22324 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22325 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22327 else
22328 ac_check_lib_save_LIBS=$LIBS
22329 LIBS="-lm $LIBS"
22330 if test x$gcc_no_link = xyes; then
22331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22333 { (exit 1); exit 1; }; }
22335 cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h. */
22337 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22342 /* Override any gcc2 internal prototype to avoid an error. */
22343 #ifdef __cplusplus
22344 extern "C"
22345 #endif
22346 /* We use char because int might match the return type of a gcc2
22347 builtin and then its argument prototype would still apply. */
22348 char copysignf ();
22350 main ()
22352 copysignf ();
22354 return 0;
22356 _ACEOF
22357 rm -f conftest.$ac_objext conftest$ac_exeext
22358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22359 (eval $ac_link) 2>conftest.er1
22360 ac_status=$?
22361 grep -v '^ *+' conftest.er1 >conftest.err
22362 rm -f conftest.er1
22363 cat conftest.err >&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } &&
22366 { ac_try='test -z "$ac_c_werror_flag"
22367 || test ! -s conftest.err'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; } &&
22373 { ac_try='test -s conftest$ac_exeext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22379 ac_cv_lib_m_copysignf=yes
22380 else
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22384 ac_cv_lib_m_copysignf=no
22386 rm -f conftest.err conftest.$ac_objext \
22387 conftest$ac_exeext conftest.$ac_ext
22388 LIBS=$ac_check_lib_save_LIBS
22390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22391 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22392 if test $ac_cv_lib_m_copysignf = yes; then
22394 cat >>confdefs.h <<\_ACEOF
22395 #define HAVE_COPYSIGNF 1
22396 _ACEOF
22400 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22401 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22402 if test "${ac_cv_lib_m_copysign+set}" = set; then
22403 echo $ECHO_N "(cached) $ECHO_C" >&6
22404 else
22405 ac_check_lib_save_LIBS=$LIBS
22406 LIBS="-lm $LIBS"
22407 if test x$gcc_no_link = xyes; then
22408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22410 { (exit 1); exit 1; }; }
22412 cat >conftest.$ac_ext <<_ACEOF
22413 /* confdefs.h. */
22414 _ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22419 /* Override any gcc2 internal prototype to avoid an error. */
22420 #ifdef __cplusplus
22421 extern "C"
22422 #endif
22423 /* We use char because int might match the return type of a gcc2
22424 builtin and then its argument prototype would still apply. */
22425 char copysign ();
22427 main ()
22429 copysign ();
22431 return 0;
22433 _ACEOF
22434 rm -f conftest.$ac_objext conftest$ac_exeext
22435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22436 (eval $ac_link) 2>conftest.er1
22437 ac_status=$?
22438 grep -v '^ *+' conftest.er1 >conftest.err
22439 rm -f conftest.er1
22440 cat conftest.err >&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try='test -z "$ac_c_werror_flag"
22444 || test ! -s conftest.err'
22445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22446 (eval $ac_try) 2>&5
22447 ac_status=$?
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; } &&
22450 { ac_try='test -s conftest$ac_exeext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 ac_cv_lib_m_copysign=yes
22457 else
22458 echo "$as_me: failed program was:" >&5
22459 sed 's/^/| /' conftest.$ac_ext >&5
22461 ac_cv_lib_m_copysign=no
22463 rm -f conftest.err conftest.$ac_objext \
22464 conftest$ac_exeext conftest.$ac_ext
22465 LIBS=$ac_check_lib_save_LIBS
22467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22468 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22469 if test $ac_cv_lib_m_copysign = yes; then
22471 cat >>confdefs.h <<\_ACEOF
22472 #define HAVE_COPYSIGN 1
22473 _ACEOF
22477 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22478 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22479 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22480 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 else
22482 ac_check_lib_save_LIBS=$LIBS
22483 LIBS="-lm $LIBS"
22484 if test x$gcc_no_link = xyes; then
22485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22487 { (exit 1); exit 1; }; }
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22496 /* Override any gcc2 internal prototype to avoid an error. */
22497 #ifdef __cplusplus
22498 extern "C"
22499 #endif
22500 /* We use char because int might match the return type of a gcc2
22501 builtin and then its argument prototype would still apply. */
22502 char copysignl ();
22504 main ()
22506 copysignl ();
22508 return 0;
22510 _ACEOF
22511 rm -f conftest.$ac_objext conftest$ac_exeext
22512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22513 (eval $ac_link) 2>conftest.er1
22514 ac_status=$?
22515 grep -v '^ *+' conftest.er1 >conftest.err
22516 rm -f conftest.er1
22517 cat conftest.err >&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } &&
22520 { ac_try='test -z "$ac_c_werror_flag"
22521 || test ! -s conftest.err'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22524 ac_status=$?
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; } &&
22527 { ac_try='test -s conftest$ac_exeext'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_lib_m_copysignl=yes
22534 else
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.$ac_ext >&5
22538 ac_cv_lib_m_copysignl=no
22540 rm -f conftest.err conftest.$ac_objext \
22541 conftest$ac_exeext conftest.$ac_ext
22542 LIBS=$ac_check_lib_save_LIBS
22544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22545 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22546 if test $ac_cv_lib_m_copysignl = yes; then
22548 cat >>confdefs.h <<\_ACEOF
22549 #define HAVE_COPYSIGNL 1
22550 _ACEOF
22554 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22555 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22556 if test "${ac_cv_lib_m_cosf+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 else
22559 ac_check_lib_save_LIBS=$LIBS
22560 LIBS="-lm $LIBS"
22561 if test x$gcc_no_link = xyes; then
22562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22564 { (exit 1); exit 1; }; }
22566 cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22573 /* Override any gcc2 internal prototype to avoid an error. */
22574 #ifdef __cplusplus
22575 extern "C"
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char cosf ();
22581 main ()
22583 cosf ();
22585 return 0;
22587 _ACEOF
22588 rm -f conftest.$ac_objext conftest$ac_exeext
22589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22590 (eval $ac_link) 2>conftest.er1
22591 ac_status=$?
22592 grep -v '^ *+' conftest.er1 >conftest.err
22593 rm -f conftest.er1
22594 cat conftest.err >&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try='test -z "$ac_c_werror_flag"
22598 || test ! -s conftest.err'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22601 ac_status=$?
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; } &&
22604 { ac_try='test -s conftest$ac_exeext'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; }; then
22610 ac_cv_lib_m_cosf=yes
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22615 ac_cv_lib_m_cosf=no
22617 rm -f conftest.err conftest.$ac_objext \
22618 conftest$ac_exeext conftest.$ac_ext
22619 LIBS=$ac_check_lib_save_LIBS
22621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22622 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22623 if test $ac_cv_lib_m_cosf = yes; then
22625 cat >>confdefs.h <<\_ACEOF
22626 #define HAVE_COSF 1
22627 _ACEOF
22631 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22632 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22633 if test "${ac_cv_lib_m_cos+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 else
22636 ac_check_lib_save_LIBS=$LIBS
22637 LIBS="-lm $LIBS"
22638 if test x$gcc_no_link = xyes; then
22639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22641 { (exit 1); exit 1; }; }
22643 cat >conftest.$ac_ext <<_ACEOF
22644 /* confdefs.h. */
22645 _ACEOF
22646 cat confdefs.h >>conftest.$ac_ext
22647 cat >>conftest.$ac_ext <<_ACEOF
22648 /* end confdefs.h. */
22650 /* Override any gcc2 internal prototype to avoid an error. */
22651 #ifdef __cplusplus
22652 extern "C"
22653 #endif
22654 /* We use char because int might match the return type of a gcc2
22655 builtin and then its argument prototype would still apply. */
22656 char cos ();
22658 main ()
22660 cos ();
22662 return 0;
22664 _ACEOF
22665 rm -f conftest.$ac_objext conftest$ac_exeext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22667 (eval $ac_link) 2>conftest.er1
22668 ac_status=$?
22669 grep -v '^ *+' conftest.er1 >conftest.err
22670 rm -f conftest.er1
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } &&
22674 { ac_try='test -z "$ac_c_werror_flag"
22675 || test ! -s conftest.err'
22676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677 (eval $ac_try) 2>&5
22678 ac_status=$?
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); }; } &&
22681 { ac_try='test -s conftest$ac_exeext'
22682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683 (eval $ac_try) 2>&5
22684 ac_status=$?
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 ac_cv_lib_m_cos=yes
22688 else
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22692 ac_cv_lib_m_cos=no
22694 rm -f conftest.err conftest.$ac_objext \
22695 conftest$ac_exeext conftest.$ac_ext
22696 LIBS=$ac_check_lib_save_LIBS
22698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22699 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22700 if test $ac_cv_lib_m_cos = yes; then
22702 cat >>confdefs.h <<\_ACEOF
22703 #define HAVE_COS 1
22704 _ACEOF
22708 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22709 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22710 if test "${ac_cv_lib_m_cosl+set}" = set; then
22711 echo $ECHO_N "(cached) $ECHO_C" >&6
22712 else
22713 ac_check_lib_save_LIBS=$LIBS
22714 LIBS="-lm $LIBS"
22715 if test x$gcc_no_link = xyes; then
22716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22718 { (exit 1); exit 1; }; }
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22727 /* Override any gcc2 internal prototype to avoid an error. */
22728 #ifdef __cplusplus
22729 extern "C"
22730 #endif
22731 /* We use char because int might match the return type of a gcc2
22732 builtin and then its argument prototype would still apply. */
22733 char cosl ();
22735 main ()
22737 cosl ();
22739 return 0;
22741 _ACEOF
22742 rm -f conftest.$ac_objext conftest$ac_exeext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22744 (eval $ac_link) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_c_werror_flag"
22752 || test ! -s conftest.err'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; } &&
22758 { ac_try='test -s conftest$ac_exeext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 ac_cv_lib_m_cosl=yes
22765 else
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22769 ac_cv_lib_m_cosl=no
22771 rm -f conftest.err conftest.$ac_objext \
22772 conftest$ac_exeext conftest.$ac_ext
22773 LIBS=$ac_check_lib_save_LIBS
22775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22776 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22777 if test $ac_cv_lib_m_cosl = yes; then
22779 cat >>confdefs.h <<\_ACEOF
22780 #define HAVE_COSL 1
22781 _ACEOF
22785 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22786 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22787 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790 ac_check_lib_save_LIBS=$LIBS
22791 LIBS="-lm $LIBS"
22792 if test x$gcc_no_link = xyes; then
22793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22795 { (exit 1); exit 1; }; }
22797 cat >conftest.$ac_ext <<_ACEOF
22798 /* confdefs.h. */
22799 _ACEOF
22800 cat confdefs.h >>conftest.$ac_ext
22801 cat >>conftest.$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22804 /* Override any gcc2 internal prototype to avoid an error. */
22805 #ifdef __cplusplus
22806 extern "C"
22807 #endif
22808 /* We use char because int might match the return type of a gcc2
22809 builtin and then its argument prototype would still apply. */
22810 char ccosf ();
22812 main ()
22814 ccosf ();
22816 return 0;
22818 _ACEOF
22819 rm -f conftest.$ac_objext conftest$ac_exeext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22821 (eval $ac_link) 2>conftest.er1
22822 ac_status=$?
22823 grep -v '^ *+' conftest.er1 >conftest.err
22824 rm -f conftest.er1
22825 cat conftest.err >&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try='test -z "$ac_c_werror_flag"
22829 || test ! -s conftest.err'
22830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22831 (eval $ac_try) 2>&5
22832 ac_status=$?
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); }; } &&
22835 { ac_try='test -s conftest$ac_exeext'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; }; then
22841 ac_cv_lib_m_ccosf=yes
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22846 ac_cv_lib_m_ccosf=no
22848 rm -f conftest.err conftest.$ac_objext \
22849 conftest$ac_exeext conftest.$ac_ext
22850 LIBS=$ac_check_lib_save_LIBS
22852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22853 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22854 if test $ac_cv_lib_m_ccosf = yes; then
22856 cat >>confdefs.h <<\_ACEOF
22857 #define HAVE_CCOSF 1
22858 _ACEOF
22862 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22863 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22864 if test "${ac_cv_lib_m_ccos+set}" = set; then
22865 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 else
22867 ac_check_lib_save_LIBS=$LIBS
22868 LIBS="-lm $LIBS"
22869 if test x$gcc_no_link = xyes; then
22870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22872 { (exit 1); exit 1; }; }
22874 cat >conftest.$ac_ext <<_ACEOF
22875 /* confdefs.h. */
22876 _ACEOF
22877 cat confdefs.h >>conftest.$ac_ext
22878 cat >>conftest.$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22881 /* Override any gcc2 internal prototype to avoid an error. */
22882 #ifdef __cplusplus
22883 extern "C"
22884 #endif
22885 /* We use char because int might match the return type of a gcc2
22886 builtin and then its argument prototype would still apply. */
22887 char ccos ();
22889 main ()
22891 ccos ();
22893 return 0;
22895 _ACEOF
22896 rm -f conftest.$ac_objext conftest$ac_exeext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22898 (eval $ac_link) 2>conftest.er1
22899 ac_status=$?
22900 grep -v '^ *+' conftest.er1 >conftest.err
22901 rm -f conftest.er1
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } &&
22905 { ac_try='test -z "$ac_c_werror_flag"
22906 || test ! -s conftest.err'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try='test -s conftest$ac_exeext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_lib_m_ccos=yes
22919 else
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22923 ac_cv_lib_m_ccos=no
22925 rm -f conftest.err conftest.$ac_objext \
22926 conftest$ac_exeext conftest.$ac_ext
22927 LIBS=$ac_check_lib_save_LIBS
22929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22930 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22931 if test $ac_cv_lib_m_ccos = yes; then
22933 cat >>confdefs.h <<\_ACEOF
22934 #define HAVE_CCOS 1
22935 _ACEOF
22939 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22940 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22941 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22942 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 else
22944 ac_check_lib_save_LIBS=$LIBS
22945 LIBS="-lm $LIBS"
22946 if test x$gcc_no_link = xyes; then
22947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22949 { (exit 1); exit 1; }; }
22951 cat >conftest.$ac_ext <<_ACEOF
22952 /* confdefs.h. */
22953 _ACEOF
22954 cat confdefs.h >>conftest.$ac_ext
22955 cat >>conftest.$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22958 /* Override any gcc2 internal prototype to avoid an error. */
22959 #ifdef __cplusplus
22960 extern "C"
22961 #endif
22962 /* We use char because int might match the return type of a gcc2
22963 builtin and then its argument prototype would still apply. */
22964 char ccosl ();
22966 main ()
22968 ccosl ();
22970 return 0;
22972 _ACEOF
22973 rm -f conftest.$ac_objext conftest$ac_exeext
22974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22975 (eval $ac_link) 2>conftest.er1
22976 ac_status=$?
22977 grep -v '^ *+' conftest.er1 >conftest.err
22978 rm -f conftest.er1
22979 cat conftest.err >&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } &&
22982 { ac_try='test -z "$ac_c_werror_flag"
22983 || test ! -s conftest.err'
22984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22985 (eval $ac_try) 2>&5
22986 ac_status=$?
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; } &&
22989 { ac_try='test -s conftest$ac_exeext'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; }; then
22995 ac_cv_lib_m_ccosl=yes
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
23000 ac_cv_lib_m_ccosl=no
23002 rm -f conftest.err conftest.$ac_objext \
23003 conftest$ac_exeext conftest.$ac_ext
23004 LIBS=$ac_check_lib_save_LIBS
23006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
23007 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
23008 if test $ac_cv_lib_m_ccosl = yes; then
23010 cat >>confdefs.h <<\_ACEOF
23011 #define HAVE_CCOSL 1
23012 _ACEOF
23016 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
23017 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
23018 if test "${ac_cv_lib_m_coshf+set}" = set; then
23019 echo $ECHO_N "(cached) $ECHO_C" >&6
23020 else
23021 ac_check_lib_save_LIBS=$LIBS
23022 LIBS="-lm $LIBS"
23023 if test x$gcc_no_link = xyes; then
23024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23026 { (exit 1); exit 1; }; }
23028 cat >conftest.$ac_ext <<_ACEOF
23029 /* confdefs.h. */
23030 _ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23035 /* Override any gcc2 internal prototype to avoid an error. */
23036 #ifdef __cplusplus
23037 extern "C"
23038 #endif
23039 /* We use char because int might match the return type of a gcc2
23040 builtin and then its argument prototype would still apply. */
23041 char coshf ();
23043 main ()
23045 coshf ();
23047 return 0;
23049 _ACEOF
23050 rm -f conftest.$ac_objext conftest$ac_exeext
23051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23052 (eval $ac_link) 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } &&
23059 { ac_try='test -z "$ac_c_werror_flag"
23060 || test ! -s conftest.err'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23063 ac_status=$?
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; } &&
23066 { ac_try='test -s conftest$ac_exeext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 ac_cv_lib_m_coshf=yes
23073 else
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 ac_cv_lib_m_coshf=no
23079 rm -f conftest.err conftest.$ac_objext \
23080 conftest$ac_exeext conftest.$ac_ext
23081 LIBS=$ac_check_lib_save_LIBS
23083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
23084 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
23085 if test $ac_cv_lib_m_coshf = yes; then
23087 cat >>confdefs.h <<\_ACEOF
23088 #define HAVE_COSHF 1
23089 _ACEOF
23093 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
23094 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
23095 if test "${ac_cv_lib_m_cosh+set}" = set; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 else
23098 ac_check_lib_save_LIBS=$LIBS
23099 LIBS="-lm $LIBS"
23100 if test x$gcc_no_link = xyes; then
23101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23103 { (exit 1); exit 1; }; }
23105 cat >conftest.$ac_ext <<_ACEOF
23106 /* confdefs.h. */
23107 _ACEOF
23108 cat confdefs.h >>conftest.$ac_ext
23109 cat >>conftest.$ac_ext <<_ACEOF
23110 /* end confdefs.h. */
23112 /* Override any gcc2 internal prototype to avoid an error. */
23113 #ifdef __cplusplus
23114 extern "C"
23115 #endif
23116 /* We use char because int might match the return type of a gcc2
23117 builtin and then its argument prototype would still apply. */
23118 char cosh ();
23120 main ()
23122 cosh ();
23124 return 0;
23126 _ACEOF
23127 rm -f conftest.$ac_objext conftest$ac_exeext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23129 (eval $ac_link) 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try='test -z "$ac_c_werror_flag"
23137 || test ! -s conftest.err'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; } &&
23143 { ac_try='test -s conftest$ac_exeext'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 ac_cv_lib_m_cosh=yes
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23154 ac_cv_lib_m_cosh=no
23156 rm -f conftest.err conftest.$ac_objext \
23157 conftest$ac_exeext conftest.$ac_ext
23158 LIBS=$ac_check_lib_save_LIBS
23160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
23161 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
23162 if test $ac_cv_lib_m_cosh = yes; then
23164 cat >>confdefs.h <<\_ACEOF
23165 #define HAVE_COSH 1
23166 _ACEOF
23170 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
23171 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
23172 if test "${ac_cv_lib_m_coshl+set}" = set; then
23173 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 else
23175 ac_check_lib_save_LIBS=$LIBS
23176 LIBS="-lm $LIBS"
23177 if test x$gcc_no_link = xyes; then
23178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23180 { (exit 1); exit 1; }; }
23182 cat >conftest.$ac_ext <<_ACEOF
23183 /* confdefs.h. */
23184 _ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23189 /* Override any gcc2 internal prototype to avoid an error. */
23190 #ifdef __cplusplus
23191 extern "C"
23192 #endif
23193 /* We use char because int might match the return type of a gcc2
23194 builtin and then its argument prototype would still apply. */
23195 char coshl ();
23197 main ()
23199 coshl ();
23201 return 0;
23203 _ACEOF
23204 rm -f conftest.$ac_objext conftest$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>conftest.er1
23207 ac_status=$?
23208 grep -v '^ *+' conftest.er1 >conftest.err
23209 rm -f conftest.er1
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_c_werror_flag"
23214 || test ! -s conftest.err'
23215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 (eval $ac_try) 2>&5
23217 ac_status=$?
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; } &&
23220 { ac_try='test -s conftest$ac_exeext'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; }; then
23226 ac_cv_lib_m_coshl=yes
23227 else
23228 echo "$as_me: failed program was:" >&5
23229 sed 's/^/| /' conftest.$ac_ext >&5
23231 ac_cv_lib_m_coshl=no
23233 rm -f conftest.err conftest.$ac_objext \
23234 conftest$ac_exeext conftest.$ac_ext
23235 LIBS=$ac_check_lib_save_LIBS
23237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23238 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23239 if test $ac_cv_lib_m_coshl = yes; then
23241 cat >>confdefs.h <<\_ACEOF
23242 #define HAVE_COSHL 1
23243 _ACEOF
23247 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23248 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23249 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23252 ac_check_lib_save_LIBS=$LIBS
23253 LIBS="-lm $LIBS"
23254 if test x$gcc_no_link = xyes; then
23255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23257 { (exit 1); exit 1; }; }
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23266 /* Override any gcc2 internal prototype to avoid an error. */
23267 #ifdef __cplusplus
23268 extern "C"
23269 #endif
23270 /* We use char because int might match the return type of a gcc2
23271 builtin and then its argument prototype would still apply. */
23272 char ccoshf ();
23274 main ()
23276 ccoshf ();
23278 return 0;
23280 _ACEOF
23281 rm -f conftest.$ac_objext conftest$ac_exeext
23282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23283 (eval $ac_link) 2>conftest.er1
23284 ac_status=$?
23285 grep -v '^ *+' conftest.er1 >conftest.err
23286 rm -f conftest.er1
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } &&
23290 { ac_try='test -z "$ac_c_werror_flag"
23291 || test ! -s conftest.err'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23294 ac_status=$?
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; } &&
23297 { ac_try='test -s conftest$ac_exeext'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; }; then
23303 ac_cv_lib_m_ccoshf=yes
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23308 ac_cv_lib_m_ccoshf=no
23310 rm -f conftest.err conftest.$ac_objext \
23311 conftest$ac_exeext conftest.$ac_ext
23312 LIBS=$ac_check_lib_save_LIBS
23314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23315 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23316 if test $ac_cv_lib_m_ccoshf = yes; then
23318 cat >>confdefs.h <<\_ACEOF
23319 #define HAVE_CCOSHF 1
23320 _ACEOF
23324 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23325 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23326 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23327 echo $ECHO_N "(cached) $ECHO_C" >&6
23328 else
23329 ac_check_lib_save_LIBS=$LIBS
23330 LIBS="-lm $LIBS"
23331 if test x$gcc_no_link = xyes; then
23332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23334 { (exit 1); exit 1; }; }
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23343 /* Override any gcc2 internal prototype to avoid an error. */
23344 #ifdef __cplusplus
23345 extern "C"
23346 #endif
23347 /* We use char because int might match the return type of a gcc2
23348 builtin and then its argument prototype would still apply. */
23349 char ccosh ();
23351 main ()
23353 ccosh ();
23355 return 0;
23357 _ACEOF
23358 rm -f conftest.$ac_objext conftest$ac_exeext
23359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23360 (eval $ac_link) 2>conftest.er1
23361 ac_status=$?
23362 grep -v '^ *+' conftest.er1 >conftest.err
23363 rm -f conftest.er1
23364 cat conftest.err >&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } &&
23367 { ac_try='test -z "$ac_c_werror_flag"
23368 || test ! -s conftest.err'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23371 ac_status=$?
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; } &&
23374 { ac_try='test -s conftest$ac_exeext'
23375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23376 (eval $ac_try) 2>&5
23377 ac_status=$?
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); }; }; then
23380 ac_cv_lib_m_ccosh=yes
23381 else
23382 echo "$as_me: failed program was:" >&5
23383 sed 's/^/| /' conftest.$ac_ext >&5
23385 ac_cv_lib_m_ccosh=no
23387 rm -f conftest.err conftest.$ac_objext \
23388 conftest$ac_exeext conftest.$ac_ext
23389 LIBS=$ac_check_lib_save_LIBS
23391 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23392 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23393 if test $ac_cv_lib_m_ccosh = yes; then
23395 cat >>confdefs.h <<\_ACEOF
23396 #define HAVE_CCOSH 1
23397 _ACEOF
23401 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23402 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23403 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 else
23406 ac_check_lib_save_LIBS=$LIBS
23407 LIBS="-lm $LIBS"
23408 if test x$gcc_no_link = xyes; then
23409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23411 { (exit 1); exit 1; }; }
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23420 /* Override any gcc2 internal prototype to avoid an error. */
23421 #ifdef __cplusplus
23422 extern "C"
23423 #endif
23424 /* We use char because int might match the return type of a gcc2
23425 builtin and then its argument prototype would still apply. */
23426 char ccoshl ();
23428 main ()
23430 ccoshl ();
23432 return 0;
23434 _ACEOF
23435 rm -f conftest.$ac_objext conftest$ac_exeext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23437 (eval $ac_link) 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -z "$ac_c_werror_flag"
23445 || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_lib_m_ccoshl=yes
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 ac_cv_lib_m_ccoshl=no
23464 rm -f conftest.err conftest.$ac_objext \
23465 conftest$ac_exeext conftest.$ac_ext
23466 LIBS=$ac_check_lib_save_LIBS
23468 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23469 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23470 if test $ac_cv_lib_m_ccoshl = yes; then
23472 cat >>confdefs.h <<\_ACEOF
23473 #define HAVE_CCOSHL 1
23474 _ACEOF
23478 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23479 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23480 if test "${ac_cv_lib_m_expf+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 ac_check_lib_save_LIBS=$LIBS
23484 LIBS="-lm $LIBS"
23485 if test x$gcc_no_link = xyes; then
23486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23488 { (exit 1); exit 1; }; }
23490 cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h. */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h. */
23497 /* Override any gcc2 internal prototype to avoid an error. */
23498 #ifdef __cplusplus
23499 extern "C"
23500 #endif
23501 /* We use char because int might match the return type of a gcc2
23502 builtin and then its argument prototype would still apply. */
23503 char expf ();
23505 main ()
23507 expf ();
23509 return 0;
23511 _ACEOF
23512 rm -f conftest.$ac_objext conftest$ac_exeext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23514 (eval $ac_link) 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try='test -z "$ac_c_werror_flag"
23522 || test ! -s conftest.err'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 ac_cv_lib_m_expf=yes
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 ac_cv_lib_m_expf=no
23541 rm -f conftest.err conftest.$ac_objext \
23542 conftest$ac_exeext conftest.$ac_ext
23543 LIBS=$ac_check_lib_save_LIBS
23545 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23546 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23547 if test $ac_cv_lib_m_expf = yes; then
23549 cat >>confdefs.h <<\_ACEOF
23550 #define HAVE_EXPF 1
23551 _ACEOF
23555 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23556 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23557 if test "${ac_cv_lib_m_exp+set}" = set; then
23558 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 else
23560 ac_check_lib_save_LIBS=$LIBS
23561 LIBS="-lm $LIBS"
23562 if test x$gcc_no_link = xyes; then
23563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23565 { (exit 1); exit 1; }; }
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23574 /* Override any gcc2 internal prototype to avoid an error. */
23575 #ifdef __cplusplus
23576 extern "C"
23577 #endif
23578 /* We use char because int might match the return type of a gcc2
23579 builtin and then its argument prototype would still apply. */
23580 char exp ();
23582 main ()
23584 exp ();
23586 return 0;
23588 _ACEOF
23589 rm -f conftest.$ac_objext conftest$ac_exeext
23590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23591 (eval $ac_link) 2>conftest.er1
23592 ac_status=$?
23593 grep -v '^ *+' conftest.er1 >conftest.err
23594 rm -f conftest.er1
23595 cat conftest.err >&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } &&
23598 { ac_try='test -z "$ac_c_werror_flag"
23599 || test ! -s conftest.err'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; } &&
23605 { ac_try='test -s conftest$ac_exeext'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_lib_m_exp=yes
23612 else
23613 echo "$as_me: failed program was:" >&5
23614 sed 's/^/| /' conftest.$ac_ext >&5
23616 ac_cv_lib_m_exp=no
23618 rm -f conftest.err conftest.$ac_objext \
23619 conftest$ac_exeext conftest.$ac_ext
23620 LIBS=$ac_check_lib_save_LIBS
23622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23623 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23624 if test $ac_cv_lib_m_exp = yes; then
23626 cat >>confdefs.h <<\_ACEOF
23627 #define HAVE_EXP 1
23628 _ACEOF
23632 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23633 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23634 if test "${ac_cv_lib_m_expl+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lm $LIBS"
23639 if test x$gcc_no_link = xyes; then
23640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23642 { (exit 1); exit 1; }; }
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23651 /* Override any gcc2 internal prototype to avoid an error. */
23652 #ifdef __cplusplus
23653 extern "C"
23654 #endif
23655 /* We use char because int might match the return type of a gcc2
23656 builtin and then its argument prototype would still apply. */
23657 char expl ();
23659 main ()
23661 expl ();
23663 return 0;
23665 _ACEOF
23666 rm -f conftest.$ac_objext conftest$ac_exeext
23667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23668 (eval $ac_link) 2>conftest.er1
23669 ac_status=$?
23670 grep -v '^ *+' conftest.er1 >conftest.err
23671 rm -f conftest.er1
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } &&
23675 { ac_try='test -z "$ac_c_werror_flag"
23676 || test ! -s conftest.err'
23677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678 (eval $ac_try) 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; } &&
23682 { ac_try='test -s conftest$ac_exeext'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; }; then
23688 ac_cv_lib_m_expl=yes
23689 else
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23693 ac_cv_lib_m_expl=no
23695 rm -f conftest.err conftest.$ac_objext \
23696 conftest$ac_exeext conftest.$ac_ext
23697 LIBS=$ac_check_lib_save_LIBS
23699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23700 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23701 if test $ac_cv_lib_m_expl = yes; then
23703 cat >>confdefs.h <<\_ACEOF
23704 #define HAVE_EXPL 1
23705 _ACEOF
23709 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23710 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23711 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23712 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 else
23714 ac_check_lib_save_LIBS=$LIBS
23715 LIBS="-lm $LIBS"
23716 if test x$gcc_no_link = xyes; then
23717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23719 { (exit 1); exit 1; }; }
23721 cat >conftest.$ac_ext <<_ACEOF
23722 /* confdefs.h. */
23723 _ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23728 /* Override any gcc2 internal prototype to avoid an error. */
23729 #ifdef __cplusplus
23730 extern "C"
23731 #endif
23732 /* We use char because int might match the return type of a gcc2
23733 builtin and then its argument prototype would still apply. */
23734 char cexpf ();
23736 main ()
23738 cexpf ();
23740 return 0;
23742 _ACEOF
23743 rm -f conftest.$ac_objext conftest$ac_exeext
23744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23745 (eval $ac_link) 2>conftest.er1
23746 ac_status=$?
23747 grep -v '^ *+' conftest.er1 >conftest.err
23748 rm -f conftest.er1
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } &&
23752 { ac_try='test -z "$ac_c_werror_flag"
23753 || test ! -s conftest.err'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23756 ac_status=$?
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; } &&
23759 { ac_try='test -s conftest$ac_exeext'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23762 ac_status=$?
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; }; then
23765 ac_cv_lib_m_cexpf=yes
23766 else
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.$ac_ext >&5
23770 ac_cv_lib_m_cexpf=no
23772 rm -f conftest.err conftest.$ac_objext \
23773 conftest$ac_exeext conftest.$ac_ext
23774 LIBS=$ac_check_lib_save_LIBS
23776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23777 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23778 if test $ac_cv_lib_m_cexpf = yes; then
23780 cat >>confdefs.h <<\_ACEOF
23781 #define HAVE_CEXPF 1
23782 _ACEOF
23786 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23787 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23788 if test "${ac_cv_lib_m_cexp+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23790 else
23791 ac_check_lib_save_LIBS=$LIBS
23792 LIBS="-lm $LIBS"
23793 if test x$gcc_no_link = xyes; then
23794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23796 { (exit 1); exit 1; }; }
23798 cat >conftest.$ac_ext <<_ACEOF
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23805 /* Override any gcc2 internal prototype to avoid an error. */
23806 #ifdef __cplusplus
23807 extern "C"
23808 #endif
23809 /* We use char because int might match the return type of a gcc2
23810 builtin and then its argument prototype would still apply. */
23811 char cexp ();
23813 main ()
23815 cexp ();
23817 return 0;
23819 _ACEOF
23820 rm -f conftest.$ac_objext conftest$ac_exeext
23821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23822 (eval $ac_link) 2>conftest.er1
23823 ac_status=$?
23824 grep -v '^ *+' conftest.er1 >conftest.err
23825 rm -f conftest.er1
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try='test -z "$ac_c_werror_flag"
23830 || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest$ac_exeext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 ac_cv_lib_m_cexp=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23847 ac_cv_lib_m_cexp=no
23849 rm -f conftest.err conftest.$ac_objext \
23850 conftest$ac_exeext conftest.$ac_ext
23851 LIBS=$ac_check_lib_save_LIBS
23853 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23854 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23855 if test $ac_cv_lib_m_cexp = yes; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_CEXP 1
23859 _ACEOF
23863 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23864 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23865 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 else
23868 ac_check_lib_save_LIBS=$LIBS
23869 LIBS="-lm $LIBS"
23870 if test x$gcc_no_link = xyes; then
23871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23873 { (exit 1); exit 1; }; }
23875 cat >conftest.$ac_ext <<_ACEOF
23876 /* confdefs.h. */
23877 _ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23882 /* Override any gcc2 internal prototype to avoid an error. */
23883 #ifdef __cplusplus
23884 extern "C"
23885 #endif
23886 /* We use char because int might match the return type of a gcc2
23887 builtin and then its argument prototype would still apply. */
23888 char cexpl ();
23890 main ()
23892 cexpl ();
23894 return 0;
23896 _ACEOF
23897 rm -f conftest.$ac_objext conftest$ac_exeext
23898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23899 (eval $ac_link) 2>conftest.er1
23900 ac_status=$?
23901 grep -v '^ *+' conftest.er1 >conftest.err
23902 rm -f conftest.er1
23903 cat conftest.err >&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } &&
23906 { ac_try='test -z "$ac_c_werror_flag"
23907 || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 ac_cv_lib_m_cexpl=yes
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23924 ac_cv_lib_m_cexpl=no
23926 rm -f conftest.err conftest.$ac_objext \
23927 conftest$ac_exeext conftest.$ac_ext
23928 LIBS=$ac_check_lib_save_LIBS
23930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23931 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23932 if test $ac_cv_lib_m_cexpl = yes; then
23934 cat >>confdefs.h <<\_ACEOF
23935 #define HAVE_CEXPL 1
23936 _ACEOF
23940 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23941 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23942 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23944 else
23945 ac_check_lib_save_LIBS=$LIBS
23946 LIBS="-lm $LIBS"
23947 if test x$gcc_no_link = xyes; then
23948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23950 { (exit 1); exit 1; }; }
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23959 /* Override any gcc2 internal prototype to avoid an error. */
23960 #ifdef __cplusplus
23961 extern "C"
23962 #endif
23963 /* We use char because int might match the return type of a gcc2
23964 builtin and then its argument prototype would still apply. */
23965 char fabsf ();
23967 main ()
23969 fabsf ();
23971 return 0;
23973 _ACEOF
23974 rm -f conftest.$ac_objext conftest$ac_exeext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23976 (eval $ac_link) 2>conftest.er1
23977 ac_status=$?
23978 grep -v '^ *+' conftest.er1 >conftest.err
23979 rm -f conftest.er1
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } &&
23983 { ac_try='test -z "$ac_c_werror_flag"
23984 || test ! -s conftest.err'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23987 ac_status=$?
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; } &&
23990 { ac_try='test -s conftest$ac_exeext'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; }; then
23996 ac_cv_lib_m_fabsf=yes
23997 else
23998 echo "$as_me: failed program was:" >&5
23999 sed 's/^/| /' conftest.$ac_ext >&5
24001 ac_cv_lib_m_fabsf=no
24003 rm -f conftest.err conftest.$ac_objext \
24004 conftest$ac_exeext conftest.$ac_ext
24005 LIBS=$ac_check_lib_save_LIBS
24007 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
24008 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
24009 if test $ac_cv_lib_m_fabsf = yes; then
24011 cat >>confdefs.h <<\_ACEOF
24012 #define HAVE_FABSF 1
24013 _ACEOF
24017 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
24018 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
24019 if test "${ac_cv_lib_m_fabs+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 else
24022 ac_check_lib_save_LIBS=$LIBS
24023 LIBS="-lm $LIBS"
24024 if test x$gcc_no_link = xyes; then
24025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24027 { (exit 1); exit 1; }; }
24029 cat >conftest.$ac_ext <<_ACEOF
24030 /* confdefs.h. */
24031 _ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24036 /* Override any gcc2 internal prototype to avoid an error. */
24037 #ifdef __cplusplus
24038 extern "C"
24039 #endif
24040 /* We use char because int might match the return type of a gcc2
24041 builtin and then its argument prototype would still apply. */
24042 char fabs ();
24044 main ()
24046 fabs ();
24048 return 0;
24050 _ACEOF
24051 rm -f conftest.$ac_objext conftest$ac_exeext
24052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24053 (eval $ac_link) 2>conftest.er1
24054 ac_status=$?
24055 grep -v '^ *+' conftest.er1 >conftest.err
24056 rm -f conftest.er1
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } &&
24060 { ac_try='test -z "$ac_c_werror_flag"
24061 || test ! -s conftest.err'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24064 ac_status=$?
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; } &&
24067 { ac_try='test -s conftest$ac_exeext'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; }; then
24073 ac_cv_lib_m_fabs=yes
24074 else
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24078 ac_cv_lib_m_fabs=no
24080 rm -f conftest.err conftest.$ac_objext \
24081 conftest$ac_exeext conftest.$ac_ext
24082 LIBS=$ac_check_lib_save_LIBS
24084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
24085 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
24086 if test $ac_cv_lib_m_fabs = yes; then
24088 cat >>confdefs.h <<\_ACEOF
24089 #define HAVE_FABS 1
24090 _ACEOF
24094 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
24095 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
24096 if test "${ac_cv_lib_m_fabsl+set}" = set; then
24097 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 else
24099 ac_check_lib_save_LIBS=$LIBS
24100 LIBS="-lm $LIBS"
24101 if test x$gcc_no_link = xyes; then
24102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24104 { (exit 1); exit 1; }; }
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24113 /* Override any gcc2 internal prototype to avoid an error. */
24114 #ifdef __cplusplus
24115 extern "C"
24116 #endif
24117 /* We use char because int might match the return type of a gcc2
24118 builtin and then its argument prototype would still apply. */
24119 char fabsl ();
24121 main ()
24123 fabsl ();
24125 return 0;
24127 _ACEOF
24128 rm -f conftest.$ac_objext conftest$ac_exeext
24129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24130 (eval $ac_link) 2>conftest.er1
24131 ac_status=$?
24132 grep -v '^ *+' conftest.er1 >conftest.err
24133 rm -f conftest.er1
24134 cat conftest.err >&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } &&
24137 { ac_try='test -z "$ac_c_werror_flag"
24138 || test ! -s conftest.err'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24141 ac_status=$?
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; } &&
24144 { ac_try='test -s conftest$ac_exeext'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 ac_cv_lib_m_fabsl=yes
24151 else
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24155 ac_cv_lib_m_fabsl=no
24157 rm -f conftest.err conftest.$ac_objext \
24158 conftest$ac_exeext conftest.$ac_ext
24159 LIBS=$ac_check_lib_save_LIBS
24161 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
24162 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
24163 if test $ac_cv_lib_m_fabsl = yes; then
24165 cat >>confdefs.h <<\_ACEOF
24166 #define HAVE_FABSL 1
24167 _ACEOF
24171 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
24172 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
24173 if test "${ac_cv_lib_m_cabsf+set}" = set; then
24174 echo $ECHO_N "(cached) $ECHO_C" >&6
24175 else
24176 ac_check_lib_save_LIBS=$LIBS
24177 LIBS="-lm $LIBS"
24178 if test x$gcc_no_link = xyes; then
24179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24181 { (exit 1); exit 1; }; }
24183 cat >conftest.$ac_ext <<_ACEOF
24184 /* confdefs.h. */
24185 _ACEOF
24186 cat confdefs.h >>conftest.$ac_ext
24187 cat >>conftest.$ac_ext <<_ACEOF
24188 /* end confdefs.h. */
24190 /* Override any gcc2 internal prototype to avoid an error. */
24191 #ifdef __cplusplus
24192 extern "C"
24193 #endif
24194 /* We use char because int might match the return type of a gcc2
24195 builtin and then its argument prototype would still apply. */
24196 char cabsf ();
24198 main ()
24200 cabsf ();
24202 return 0;
24204 _ACEOF
24205 rm -f conftest.$ac_objext conftest$ac_exeext
24206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24207 (eval $ac_link) 2>conftest.er1
24208 ac_status=$?
24209 grep -v '^ *+' conftest.er1 >conftest.err
24210 rm -f conftest.er1
24211 cat conftest.err >&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); } &&
24214 { ac_try='test -z "$ac_c_werror_flag"
24215 || test ! -s conftest.err'
24216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24217 (eval $ac_try) 2>&5
24218 ac_status=$?
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; } &&
24221 { ac_try='test -s conftest$ac_exeext'
24222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24223 (eval $ac_try) 2>&5
24224 ac_status=$?
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); }; }; then
24227 ac_cv_lib_m_cabsf=yes
24228 else
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.$ac_ext >&5
24232 ac_cv_lib_m_cabsf=no
24234 rm -f conftest.err conftest.$ac_objext \
24235 conftest$ac_exeext conftest.$ac_ext
24236 LIBS=$ac_check_lib_save_LIBS
24238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24239 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24240 if test $ac_cv_lib_m_cabsf = yes; then
24242 cat >>confdefs.h <<\_ACEOF
24243 #define HAVE_CABSF 1
24244 _ACEOF
24248 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24249 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24250 if test "${ac_cv_lib_m_cabs+set}" = set; then
24251 echo $ECHO_N "(cached) $ECHO_C" >&6
24252 else
24253 ac_check_lib_save_LIBS=$LIBS
24254 LIBS="-lm $LIBS"
24255 if test x$gcc_no_link = xyes; then
24256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24258 { (exit 1); exit 1; }; }
24260 cat >conftest.$ac_ext <<_ACEOF
24261 /* confdefs.h. */
24262 _ACEOF
24263 cat confdefs.h >>conftest.$ac_ext
24264 cat >>conftest.$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24267 /* Override any gcc2 internal prototype to avoid an error. */
24268 #ifdef __cplusplus
24269 extern "C"
24270 #endif
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24273 char cabs ();
24275 main ()
24277 cabs ();
24279 return 0;
24281 _ACEOF
24282 rm -f conftest.$ac_objext conftest$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>conftest.er1
24285 ac_status=$?
24286 grep -v '^ *+' conftest.er1 >conftest.err
24287 rm -f conftest.er1
24288 cat conftest.err >&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try='test -z "$ac_c_werror_flag"
24292 || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24295 ac_status=$?
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try='test -s conftest$ac_exeext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24301 ac_status=$?
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 ac_cv_lib_m_cabs=yes
24305 else
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24309 ac_cv_lib_m_cabs=no
24311 rm -f conftest.err conftest.$ac_objext \
24312 conftest$ac_exeext conftest.$ac_ext
24313 LIBS=$ac_check_lib_save_LIBS
24315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24316 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24317 if test $ac_cv_lib_m_cabs = yes; then
24319 cat >>confdefs.h <<\_ACEOF
24320 #define HAVE_CABS 1
24321 _ACEOF
24325 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24326 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24327 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24328 echo $ECHO_N "(cached) $ECHO_C" >&6
24329 else
24330 ac_check_lib_save_LIBS=$LIBS
24331 LIBS="-lm $LIBS"
24332 if test x$gcc_no_link = xyes; then
24333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24335 { (exit 1); exit 1; }; }
24337 cat >conftest.$ac_ext <<_ACEOF
24338 /* confdefs.h. */
24339 _ACEOF
24340 cat confdefs.h >>conftest.$ac_ext
24341 cat >>conftest.$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24344 /* Override any gcc2 internal prototype to avoid an error. */
24345 #ifdef __cplusplus
24346 extern "C"
24347 #endif
24348 /* We use char because int might match the return type of a gcc2
24349 builtin and then its argument prototype would still apply. */
24350 char cabsl ();
24352 main ()
24354 cabsl ();
24356 return 0;
24358 _ACEOF
24359 rm -f conftest.$ac_objext conftest$ac_exeext
24360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24361 (eval $ac_link) 2>conftest.er1
24362 ac_status=$?
24363 grep -v '^ *+' conftest.er1 >conftest.err
24364 rm -f conftest.er1
24365 cat conftest.err >&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } &&
24368 { ac_try='test -z "$ac_c_werror_flag"
24369 || test ! -s conftest.err'
24370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371 (eval $ac_try) 2>&5
24372 ac_status=$?
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); }; } &&
24375 { ac_try='test -s conftest$ac_exeext'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24378 ac_status=$?
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; }; then
24381 ac_cv_lib_m_cabsl=yes
24382 else
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.$ac_ext >&5
24386 ac_cv_lib_m_cabsl=no
24388 rm -f conftest.err conftest.$ac_objext \
24389 conftest$ac_exeext conftest.$ac_ext
24390 LIBS=$ac_check_lib_save_LIBS
24392 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24393 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24394 if test $ac_cv_lib_m_cabsl = yes; then
24396 cat >>confdefs.h <<\_ACEOF
24397 #define HAVE_CABSL 1
24398 _ACEOF
24402 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24403 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24404 if test "${ac_cv_lib_m_floorf+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407 ac_check_lib_save_LIBS=$LIBS
24408 LIBS="-lm $LIBS"
24409 if test x$gcc_no_link = xyes; then
24410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24412 { (exit 1); exit 1; }; }
24414 cat >conftest.$ac_ext <<_ACEOF
24415 /* confdefs.h. */
24416 _ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24421 /* Override any gcc2 internal prototype to avoid an error. */
24422 #ifdef __cplusplus
24423 extern "C"
24424 #endif
24425 /* We use char because int might match the return type of a gcc2
24426 builtin and then its argument prototype would still apply. */
24427 char floorf ();
24429 main ()
24431 floorf ();
24433 return 0;
24435 _ACEOF
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24438 (eval $ac_link) 2>conftest.er1
24439 ac_status=$?
24440 grep -v '^ *+' conftest.er1 >conftest.err
24441 rm -f conftest.er1
24442 cat conftest.err >&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } &&
24445 { ac_try='test -z "$ac_c_werror_flag"
24446 || test ! -s conftest.err'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24449 ac_status=$?
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; } &&
24452 { ac_try='test -s conftest$ac_exeext'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24455 ac_status=$?
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; }; then
24458 ac_cv_lib_m_floorf=yes
24459 else
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24463 ac_cv_lib_m_floorf=no
24465 rm -f conftest.err conftest.$ac_objext \
24466 conftest$ac_exeext conftest.$ac_ext
24467 LIBS=$ac_check_lib_save_LIBS
24469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24470 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24471 if test $ac_cv_lib_m_floorf = yes; then
24473 cat >>confdefs.h <<\_ACEOF
24474 #define HAVE_FLOORF 1
24475 _ACEOF
24479 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24480 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24481 if test "${ac_cv_lib_m_floor+set}" = set; then
24482 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 else
24484 ac_check_lib_save_LIBS=$LIBS
24485 LIBS="-lm $LIBS"
24486 if test x$gcc_no_link = xyes; then
24487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24489 { (exit 1); exit 1; }; }
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24498 /* Override any gcc2 internal prototype to avoid an error. */
24499 #ifdef __cplusplus
24500 extern "C"
24501 #endif
24502 /* We use char because int might match the return type of a gcc2
24503 builtin and then its argument prototype would still apply. */
24504 char floor ();
24506 main ()
24508 floor ();
24510 return 0;
24512 _ACEOF
24513 rm -f conftest.$ac_objext conftest$ac_exeext
24514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24515 (eval $ac_link) 2>conftest.er1
24516 ac_status=$?
24517 grep -v '^ *+' conftest.er1 >conftest.err
24518 rm -f conftest.er1
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } &&
24522 { ac_try='test -z "$ac_c_werror_flag"
24523 || test ! -s conftest.err'
24524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24525 (eval $ac_try) 2>&5
24526 ac_status=$?
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); }; } &&
24529 { ac_try='test -s conftest$ac_exeext'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; }; then
24535 ac_cv_lib_m_floor=yes
24536 else
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24540 ac_cv_lib_m_floor=no
24542 rm -f conftest.err conftest.$ac_objext \
24543 conftest$ac_exeext conftest.$ac_ext
24544 LIBS=$ac_check_lib_save_LIBS
24546 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24547 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24548 if test $ac_cv_lib_m_floor = yes; then
24550 cat >>confdefs.h <<\_ACEOF
24551 #define HAVE_FLOOR 1
24552 _ACEOF
24556 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24557 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24558 if test "${ac_cv_lib_m_floorl+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 else
24561 ac_check_lib_save_LIBS=$LIBS
24562 LIBS="-lm $LIBS"
24563 if test x$gcc_no_link = xyes; then
24564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24566 { (exit 1); exit 1; }; }
24568 cat >conftest.$ac_ext <<_ACEOF
24569 /* confdefs.h. */
24570 _ACEOF
24571 cat confdefs.h >>conftest.$ac_ext
24572 cat >>conftest.$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24575 /* Override any gcc2 internal prototype to avoid an error. */
24576 #ifdef __cplusplus
24577 extern "C"
24578 #endif
24579 /* We use char because int might match the return type of a gcc2
24580 builtin and then its argument prototype would still apply. */
24581 char floorl ();
24583 main ()
24585 floorl ();
24587 return 0;
24589 _ACEOF
24590 rm -f conftest.$ac_objext conftest$ac_exeext
24591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24592 (eval $ac_link) 2>conftest.er1
24593 ac_status=$?
24594 grep -v '^ *+' conftest.er1 >conftest.err
24595 rm -f conftest.er1
24596 cat conftest.err >&5
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); } &&
24599 { ac_try='test -z "$ac_c_werror_flag"
24600 || test ! -s conftest.err'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24603 ac_status=$?
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; } &&
24606 { ac_try='test -s conftest$ac_exeext'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24609 ac_status=$?
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24612 ac_cv_lib_m_floorl=yes
24613 else
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24617 ac_cv_lib_m_floorl=no
24619 rm -f conftest.err conftest.$ac_objext \
24620 conftest$ac_exeext conftest.$ac_ext
24621 LIBS=$ac_check_lib_save_LIBS
24623 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24624 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24625 if test $ac_cv_lib_m_floorl = yes; then
24627 cat >>confdefs.h <<\_ACEOF
24628 #define HAVE_FLOORL 1
24629 _ACEOF
24633 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24634 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24635 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24636 echo $ECHO_N "(cached) $ECHO_C" >&6
24637 else
24638 ac_check_lib_save_LIBS=$LIBS
24639 LIBS="-lm $LIBS"
24640 if test x$gcc_no_link = xyes; then
24641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24643 { (exit 1); exit 1; }; }
24645 cat >conftest.$ac_ext <<_ACEOF
24646 /* confdefs.h. */
24647 _ACEOF
24648 cat confdefs.h >>conftest.$ac_ext
24649 cat >>conftest.$ac_ext <<_ACEOF
24650 /* end confdefs.h. */
24652 /* Override any gcc2 internal prototype to avoid an error. */
24653 #ifdef __cplusplus
24654 extern "C"
24655 #endif
24656 /* We use char because int might match the return type of a gcc2
24657 builtin and then its argument prototype would still apply. */
24658 char fmodf ();
24660 main ()
24662 fmodf ();
24664 return 0;
24666 _ACEOF
24667 rm -f conftest.$ac_objext conftest$ac_exeext
24668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24669 (eval $ac_link) 2>conftest.er1
24670 ac_status=$?
24671 grep -v '^ *+' conftest.er1 >conftest.err
24672 rm -f conftest.er1
24673 cat conftest.err >&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } &&
24676 { ac_try='test -z "$ac_c_werror_flag"
24677 || test ! -s conftest.err'
24678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24679 (eval $ac_try) 2>&5
24680 ac_status=$?
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); }; } &&
24683 { ac_try='test -s conftest$ac_exeext'
24684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24685 (eval $ac_try) 2>&5
24686 ac_status=$?
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; }; then
24689 ac_cv_lib_m_fmodf=yes
24690 else
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24694 ac_cv_lib_m_fmodf=no
24696 rm -f conftest.err conftest.$ac_objext \
24697 conftest$ac_exeext conftest.$ac_ext
24698 LIBS=$ac_check_lib_save_LIBS
24700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24701 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24702 if test $ac_cv_lib_m_fmodf = yes; then
24704 cat >>confdefs.h <<\_ACEOF
24705 #define HAVE_FMODF 1
24706 _ACEOF
24710 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24711 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24712 if test "${ac_cv_lib_m_fmod+set}" = set; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24715 ac_check_lib_save_LIBS=$LIBS
24716 LIBS="-lm $LIBS"
24717 if test x$gcc_no_link = xyes; then
24718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24720 { (exit 1); exit 1; }; }
24722 cat >conftest.$ac_ext <<_ACEOF
24723 /* confdefs.h. */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24729 /* Override any gcc2 internal prototype to avoid an error. */
24730 #ifdef __cplusplus
24731 extern "C"
24732 #endif
24733 /* We use char because int might match the return type of a gcc2
24734 builtin and then its argument prototype would still apply. */
24735 char fmod ();
24737 main ()
24739 fmod ();
24741 return 0;
24743 _ACEOF
24744 rm -f conftest.$ac_objext conftest$ac_exeext
24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24746 (eval $ac_link) 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } &&
24753 { ac_try='test -z "$ac_c_werror_flag"
24754 || test ! -s conftest.err'
24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24756 (eval $ac_try) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); }; } &&
24760 { ac_try='test -s conftest$ac_exeext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 ac_cv_lib_m_fmod=yes
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24771 ac_cv_lib_m_fmod=no
24773 rm -f conftest.err conftest.$ac_objext \
24774 conftest$ac_exeext conftest.$ac_ext
24775 LIBS=$ac_check_lib_save_LIBS
24777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24778 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24779 if test $ac_cv_lib_m_fmod = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_FMOD 1
24783 _ACEOF
24787 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24788 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24789 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792 ac_check_lib_save_LIBS=$LIBS
24793 LIBS="-lm $LIBS"
24794 if test x$gcc_no_link = xyes; then
24795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24797 { (exit 1); exit 1; }; }
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24806 /* Override any gcc2 internal prototype to avoid an error. */
24807 #ifdef __cplusplus
24808 extern "C"
24809 #endif
24810 /* We use char because int might match the return type of a gcc2
24811 builtin and then its argument prototype would still apply. */
24812 char fmodl ();
24814 main ()
24816 fmodl ();
24818 return 0;
24820 _ACEOF
24821 rm -f conftest.$ac_objext conftest$ac_exeext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24823 (eval $ac_link) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_c_werror_flag"
24831 || test ! -s conftest.err'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; } &&
24837 { ac_try='test -s conftest$ac_exeext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843 ac_cv_lib_m_fmodl=yes
24844 else
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24848 ac_cv_lib_m_fmodl=no
24850 rm -f conftest.err conftest.$ac_objext \
24851 conftest$ac_exeext conftest.$ac_ext
24852 LIBS=$ac_check_lib_save_LIBS
24854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24855 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24856 if test $ac_cv_lib_m_fmodl = yes; then
24858 cat >>confdefs.h <<\_ACEOF
24859 #define HAVE_FMODL 1
24860 _ACEOF
24864 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24865 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24866 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24867 echo $ECHO_N "(cached) $ECHO_C" >&6
24868 else
24869 ac_check_lib_save_LIBS=$LIBS
24870 LIBS="-lm $LIBS"
24871 if test x$gcc_no_link = xyes; then
24872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24874 { (exit 1); exit 1; }; }
24876 cat >conftest.$ac_ext <<_ACEOF
24877 /* confdefs.h. */
24878 _ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24883 /* Override any gcc2 internal prototype to avoid an error. */
24884 #ifdef __cplusplus
24885 extern "C"
24886 #endif
24887 /* We use char because int might match the return type of a gcc2
24888 builtin and then its argument prototype would still apply. */
24889 char frexpf ();
24891 main ()
24893 frexpf ();
24895 return 0;
24897 _ACEOF
24898 rm -f conftest.$ac_objext conftest$ac_exeext
24899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24900 (eval $ac_link) 2>conftest.er1
24901 ac_status=$?
24902 grep -v '^ *+' conftest.er1 >conftest.err
24903 rm -f conftest.er1
24904 cat conftest.err >&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); } &&
24907 { ac_try='test -z "$ac_c_werror_flag"
24908 || test ! -s conftest.err'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; } &&
24914 { ac_try='test -s conftest$ac_exeext'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24917 ac_status=$?
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; }; then
24920 ac_cv_lib_m_frexpf=yes
24921 else
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24925 ac_cv_lib_m_frexpf=no
24927 rm -f conftest.err conftest.$ac_objext \
24928 conftest$ac_exeext conftest.$ac_ext
24929 LIBS=$ac_check_lib_save_LIBS
24931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24932 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24933 if test $ac_cv_lib_m_frexpf = yes; then
24935 cat >>confdefs.h <<\_ACEOF
24936 #define HAVE_FREXPF 1
24937 _ACEOF
24941 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24942 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24943 if test "${ac_cv_lib_m_frexp+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24945 else
24946 ac_check_lib_save_LIBS=$LIBS
24947 LIBS="-lm $LIBS"
24948 if test x$gcc_no_link = xyes; then
24949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24951 { (exit 1); exit 1; }; }
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24960 /* Override any gcc2 internal prototype to avoid an error. */
24961 #ifdef __cplusplus
24962 extern "C"
24963 #endif
24964 /* We use char because int might match the return type of a gcc2
24965 builtin and then its argument prototype would still apply. */
24966 char frexp ();
24968 main ()
24970 frexp ();
24972 return 0;
24974 _ACEOF
24975 rm -f conftest.$ac_objext conftest$ac_exeext
24976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24977 (eval $ac_link) 2>conftest.er1
24978 ac_status=$?
24979 grep -v '^ *+' conftest.er1 >conftest.err
24980 rm -f conftest.er1
24981 cat conftest.err >&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try='test -z "$ac_c_werror_flag"
24985 || test ! -s conftest.err'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24988 ac_status=$?
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; } &&
24991 { ac_try='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24994 ac_status=$?
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24997 ac_cv_lib_m_frexp=yes
24998 else
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.$ac_ext >&5
25002 ac_cv_lib_m_frexp=no
25004 rm -f conftest.err conftest.$ac_objext \
25005 conftest$ac_exeext conftest.$ac_ext
25006 LIBS=$ac_check_lib_save_LIBS
25008 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
25009 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
25010 if test $ac_cv_lib_m_frexp = yes; then
25012 cat >>confdefs.h <<\_ACEOF
25013 #define HAVE_FREXP 1
25014 _ACEOF
25018 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
25019 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
25020 if test "${ac_cv_lib_m_frexpl+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25022 else
25023 ac_check_lib_save_LIBS=$LIBS
25024 LIBS="-lm $LIBS"
25025 if test x$gcc_no_link = xyes; then
25026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25028 { (exit 1); exit 1; }; }
25030 cat >conftest.$ac_ext <<_ACEOF
25031 /* confdefs.h. */
25032 _ACEOF
25033 cat confdefs.h >>conftest.$ac_ext
25034 cat >>conftest.$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25037 /* Override any gcc2 internal prototype to avoid an error. */
25038 #ifdef __cplusplus
25039 extern "C"
25040 #endif
25041 /* We use char because int might match the return type of a gcc2
25042 builtin and then its argument prototype would still apply. */
25043 char frexpl ();
25045 main ()
25047 frexpl ();
25049 return 0;
25051 _ACEOF
25052 rm -f conftest.$ac_objext conftest$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>conftest.er1
25055 ac_status=$?
25056 grep -v '^ *+' conftest.er1 >conftest.err
25057 rm -f conftest.er1
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try='test -z "$ac_c_werror_flag"
25062 || test ! -s conftest.err'
25063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25064 (eval $ac_try) 2>&5
25065 ac_status=$?
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); }; } &&
25068 { ac_try='test -s conftest$ac_exeext'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; }; then
25074 ac_cv_lib_m_frexpl=yes
25075 else
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.$ac_ext >&5
25079 ac_cv_lib_m_frexpl=no
25081 rm -f conftest.err conftest.$ac_objext \
25082 conftest$ac_exeext conftest.$ac_ext
25083 LIBS=$ac_check_lib_save_LIBS
25085 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
25086 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
25087 if test $ac_cv_lib_m_frexpl = yes; then
25089 cat >>confdefs.h <<\_ACEOF
25090 #define HAVE_FREXPL 1
25091 _ACEOF
25095 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
25096 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
25097 if test "${ac_cv_lib_m_hypotf+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 else
25100 ac_check_lib_save_LIBS=$LIBS
25101 LIBS="-lm $LIBS"
25102 if test x$gcc_no_link = xyes; then
25103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25105 { (exit 1); exit 1; }; }
25107 cat >conftest.$ac_ext <<_ACEOF
25108 /* confdefs.h. */
25109 _ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25114 /* Override any gcc2 internal prototype to avoid an error. */
25115 #ifdef __cplusplus
25116 extern "C"
25117 #endif
25118 /* We use char because int might match the return type of a gcc2
25119 builtin and then its argument prototype would still apply. */
25120 char hypotf ();
25122 main ()
25124 hypotf ();
25126 return 0;
25128 _ACEOF
25129 rm -f conftest.$ac_objext conftest$ac_exeext
25130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25131 (eval $ac_link) 2>conftest.er1
25132 ac_status=$?
25133 grep -v '^ *+' conftest.er1 >conftest.err
25134 rm -f conftest.er1
25135 cat conftest.err >&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } &&
25138 { ac_try='test -z "$ac_c_werror_flag"
25139 || test ! -s conftest.err'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; } &&
25145 { ac_try='test -s conftest$ac_exeext'
25146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25147 (eval $ac_try) 2>&5
25148 ac_status=$?
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); }; }; then
25151 ac_cv_lib_m_hypotf=yes
25152 else
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25156 ac_cv_lib_m_hypotf=no
25158 rm -f conftest.err conftest.$ac_objext \
25159 conftest$ac_exeext conftest.$ac_ext
25160 LIBS=$ac_check_lib_save_LIBS
25162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
25163 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
25164 if test $ac_cv_lib_m_hypotf = yes; then
25166 cat >>confdefs.h <<\_ACEOF
25167 #define HAVE_HYPOTF 1
25168 _ACEOF
25172 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
25173 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
25174 if test "${ac_cv_lib_m_hypot+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25176 else
25177 ac_check_lib_save_LIBS=$LIBS
25178 LIBS="-lm $LIBS"
25179 if test x$gcc_no_link = xyes; then
25180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25182 { (exit 1); exit 1; }; }
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25191 /* Override any gcc2 internal prototype to avoid an error. */
25192 #ifdef __cplusplus
25193 extern "C"
25194 #endif
25195 /* We use char because int might match the return type of a gcc2
25196 builtin and then its argument prototype would still apply. */
25197 char hypot ();
25199 main ()
25201 hypot ();
25203 return 0;
25205 _ACEOF
25206 rm -f conftest.$ac_objext conftest$ac_exeext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25208 (eval $ac_link) 2>conftest.er1
25209 ac_status=$?
25210 grep -v '^ *+' conftest.er1 >conftest.err
25211 rm -f conftest.er1
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } &&
25215 { ac_try='test -z "$ac_c_werror_flag"
25216 || test ! -s conftest.err'
25217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218 (eval $ac_try) 2>&5
25219 ac_status=$?
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); }; } &&
25222 { ac_try='test -s conftest$ac_exeext'
25223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224 (eval $ac_try) 2>&5
25225 ac_status=$?
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); }; }; then
25228 ac_cv_lib_m_hypot=yes
25229 else
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25233 ac_cv_lib_m_hypot=no
25235 rm -f conftest.err conftest.$ac_objext \
25236 conftest$ac_exeext conftest.$ac_ext
25237 LIBS=$ac_check_lib_save_LIBS
25239 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25240 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25241 if test $ac_cv_lib_m_hypot = yes; then
25243 cat >>confdefs.h <<\_ACEOF
25244 #define HAVE_HYPOT 1
25245 _ACEOF
25249 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25250 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25251 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25254 ac_check_lib_save_LIBS=$LIBS
25255 LIBS="-lm $LIBS"
25256 if test x$gcc_no_link = xyes; then
25257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25259 { (exit 1); exit 1; }; }
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25268 /* Override any gcc2 internal prototype to avoid an error. */
25269 #ifdef __cplusplus
25270 extern "C"
25271 #endif
25272 /* We use char because int might match the return type of a gcc2
25273 builtin and then its argument prototype would still apply. */
25274 char hypotl ();
25276 main ()
25278 hypotl ();
25280 return 0;
25282 _ACEOF
25283 rm -f conftest.$ac_objext conftest$ac_exeext
25284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25285 (eval $ac_link) 2>conftest.er1
25286 ac_status=$?
25287 grep -v '^ *+' conftest.er1 >conftest.err
25288 rm -f conftest.er1
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } &&
25292 { ac_try='test -z "$ac_c_werror_flag"
25293 || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25296 ac_status=$?
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 ac_cv_lib_m_hypotl=yes
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25310 ac_cv_lib_m_hypotl=no
25312 rm -f conftest.err conftest.$ac_objext \
25313 conftest$ac_exeext conftest.$ac_ext
25314 LIBS=$ac_check_lib_save_LIBS
25316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25317 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25318 if test $ac_cv_lib_m_hypotl = yes; then
25320 cat >>confdefs.h <<\_ACEOF
25321 #define HAVE_HYPOTL 1
25322 _ACEOF
25326 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25327 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25328 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25331 ac_check_lib_save_LIBS=$LIBS
25332 LIBS="-lm $LIBS"
25333 if test x$gcc_no_link = xyes; then
25334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25336 { (exit 1); exit 1; }; }
25338 cat >conftest.$ac_ext <<_ACEOF
25339 /* confdefs.h. */
25340 _ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h. */
25345 /* Override any gcc2 internal prototype to avoid an error. */
25346 #ifdef __cplusplus
25347 extern "C"
25348 #endif
25349 /* We use char because int might match the return type of a gcc2
25350 builtin and then its argument prototype would still apply. */
25351 char ldexpf ();
25353 main ()
25355 ldexpf ();
25357 return 0;
25359 _ACEOF
25360 rm -f conftest.$ac_objext conftest$ac_exeext
25361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25362 (eval $ac_link) 2>conftest.er1
25363 ac_status=$?
25364 grep -v '^ *+' conftest.er1 >conftest.err
25365 rm -f conftest.er1
25366 cat conftest.err >&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); } &&
25369 { ac_try='test -z "$ac_c_werror_flag"
25370 || test ! -s conftest.err'
25371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25372 (eval $ac_try) 2>&5
25373 ac_status=$?
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); }; } &&
25376 { ac_try='test -s conftest$ac_exeext'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25379 ac_status=$?
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; }; then
25382 ac_cv_lib_m_ldexpf=yes
25383 else
25384 echo "$as_me: failed program was:" >&5
25385 sed 's/^/| /' conftest.$ac_ext >&5
25387 ac_cv_lib_m_ldexpf=no
25389 rm -f conftest.err conftest.$ac_objext \
25390 conftest$ac_exeext conftest.$ac_ext
25391 LIBS=$ac_check_lib_save_LIBS
25393 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25394 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25395 if test $ac_cv_lib_m_ldexpf = yes; then
25397 cat >>confdefs.h <<\_ACEOF
25398 #define HAVE_LDEXPF 1
25399 _ACEOF
25403 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25404 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25405 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25406 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 else
25408 ac_check_lib_save_LIBS=$LIBS
25409 LIBS="-lm $LIBS"
25410 if test x$gcc_no_link = xyes; then
25411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25413 { (exit 1); exit 1; }; }
25415 cat >conftest.$ac_ext <<_ACEOF
25416 /* confdefs.h. */
25417 _ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h. */
25422 /* Override any gcc2 internal prototype to avoid an error. */
25423 #ifdef __cplusplus
25424 extern "C"
25425 #endif
25426 /* We use char because int might match the return type of a gcc2
25427 builtin and then its argument prototype would still apply. */
25428 char ldexp ();
25430 main ()
25432 ldexp ();
25434 return 0;
25436 _ACEOF
25437 rm -f conftest.$ac_objext conftest$ac_exeext
25438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25439 (eval $ac_link) 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } &&
25446 { ac_try='test -z "$ac_c_werror_flag"
25447 || test ! -s conftest.err'
25448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25449 (eval $ac_try) 2>&5
25450 ac_status=$?
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); }; } &&
25453 { ac_try='test -s conftest$ac_exeext'
25454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25455 (eval $ac_try) 2>&5
25456 ac_status=$?
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); }; }; then
25459 ac_cv_lib_m_ldexp=yes
25460 else
25461 echo "$as_me: failed program was:" >&5
25462 sed 's/^/| /' conftest.$ac_ext >&5
25464 ac_cv_lib_m_ldexp=no
25466 rm -f conftest.err conftest.$ac_objext \
25467 conftest$ac_exeext conftest.$ac_ext
25468 LIBS=$ac_check_lib_save_LIBS
25470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25471 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25472 if test $ac_cv_lib_m_ldexp = yes; then
25474 cat >>confdefs.h <<\_ACEOF
25475 #define HAVE_LDEXP 1
25476 _ACEOF
25480 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25481 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25482 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25484 else
25485 ac_check_lib_save_LIBS=$LIBS
25486 LIBS="-lm $LIBS"
25487 if test x$gcc_no_link = xyes; then
25488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25490 { (exit 1); exit 1; }; }
25492 cat >conftest.$ac_ext <<_ACEOF
25493 /* confdefs.h. */
25494 _ACEOF
25495 cat confdefs.h >>conftest.$ac_ext
25496 cat >>conftest.$ac_ext <<_ACEOF
25497 /* end confdefs.h. */
25499 /* Override any gcc2 internal prototype to avoid an error. */
25500 #ifdef __cplusplus
25501 extern "C"
25502 #endif
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25505 char ldexpl ();
25507 main ()
25509 ldexpl ();
25511 return 0;
25513 _ACEOF
25514 rm -f conftest.$ac_objext conftest$ac_exeext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25516 (eval $ac_link) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try='test -s conftest$ac_exeext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 ac_cv_lib_m_ldexpl=yes
25537 else
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25541 ac_cv_lib_m_ldexpl=no
25543 rm -f conftest.err conftest.$ac_objext \
25544 conftest$ac_exeext conftest.$ac_ext
25545 LIBS=$ac_check_lib_save_LIBS
25547 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25548 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25549 if test $ac_cv_lib_m_ldexpl = yes; then
25551 cat >>confdefs.h <<\_ACEOF
25552 #define HAVE_LDEXPL 1
25553 _ACEOF
25557 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25558 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25559 if test "${ac_cv_lib_m_logf+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 else
25562 ac_check_lib_save_LIBS=$LIBS
25563 LIBS="-lm $LIBS"
25564 if test x$gcc_no_link = xyes; then
25565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25567 { (exit 1); exit 1; }; }
25569 cat >conftest.$ac_ext <<_ACEOF
25570 /* confdefs.h. */
25571 _ACEOF
25572 cat confdefs.h >>conftest.$ac_ext
25573 cat >>conftest.$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25576 /* Override any gcc2 internal prototype to avoid an error. */
25577 #ifdef __cplusplus
25578 extern "C"
25579 #endif
25580 /* We use char because int might match the return type of a gcc2
25581 builtin and then its argument prototype would still apply. */
25582 char logf ();
25584 main ()
25586 logf ();
25588 return 0;
25590 _ACEOF
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25593 (eval $ac_link) 2>conftest.er1
25594 ac_status=$?
25595 grep -v '^ *+' conftest.er1 >conftest.err
25596 rm -f conftest.er1
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } &&
25600 { ac_try='test -z "$ac_c_werror_flag"
25601 || test ! -s conftest.err'
25602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25603 (eval $ac_try) 2>&5
25604 ac_status=$?
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); }; } &&
25607 { ac_try='test -s conftest$ac_exeext'
25608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25609 (eval $ac_try) 2>&5
25610 ac_status=$?
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); }; }; then
25613 ac_cv_lib_m_logf=yes
25614 else
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25618 ac_cv_lib_m_logf=no
25620 rm -f conftest.err conftest.$ac_objext \
25621 conftest$ac_exeext conftest.$ac_ext
25622 LIBS=$ac_check_lib_save_LIBS
25624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25625 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25626 if test $ac_cv_lib_m_logf = yes; then
25628 cat >>confdefs.h <<\_ACEOF
25629 #define HAVE_LOGF 1
25630 _ACEOF
25634 echo "$as_me:$LINENO: checking for log in -lm" >&5
25635 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25636 if test "${ac_cv_lib_m_log+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 ac_check_lib_save_LIBS=$LIBS
25640 LIBS="-lm $LIBS"
25641 if test x$gcc_no_link = xyes; then
25642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25644 { (exit 1); exit 1; }; }
25646 cat >conftest.$ac_ext <<_ACEOF
25647 /* confdefs.h. */
25648 _ACEOF
25649 cat confdefs.h >>conftest.$ac_ext
25650 cat >>conftest.$ac_ext <<_ACEOF
25651 /* end confdefs.h. */
25653 /* Override any gcc2 internal prototype to avoid an error. */
25654 #ifdef __cplusplus
25655 extern "C"
25656 #endif
25657 /* We use char because int might match the return type of a gcc2
25658 builtin and then its argument prototype would still apply. */
25659 char log ();
25661 main ()
25663 log ();
25665 return 0;
25667 _ACEOF
25668 rm -f conftest.$ac_objext conftest$ac_exeext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25670 (eval $ac_link) 2>conftest.er1
25671 ac_status=$?
25672 grep -v '^ *+' conftest.er1 >conftest.err
25673 rm -f conftest.er1
25674 cat conftest.err >&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try='test -z "$ac_c_werror_flag"
25678 || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25681 ac_status=$?
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try='test -s conftest$ac_exeext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25687 ac_status=$?
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 ac_cv_lib_m_log=yes
25691 else
25692 echo "$as_me: failed program was:" >&5
25693 sed 's/^/| /' conftest.$ac_ext >&5
25695 ac_cv_lib_m_log=no
25697 rm -f conftest.err conftest.$ac_objext \
25698 conftest$ac_exeext conftest.$ac_ext
25699 LIBS=$ac_check_lib_save_LIBS
25701 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25702 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25703 if test $ac_cv_lib_m_log = yes; then
25705 cat >>confdefs.h <<\_ACEOF
25706 #define HAVE_LOG 1
25707 _ACEOF
25711 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25712 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25713 if test "${ac_cv_lib_m_logl+set}" = set; then
25714 echo $ECHO_N "(cached) $ECHO_C" >&6
25715 else
25716 ac_check_lib_save_LIBS=$LIBS
25717 LIBS="-lm $LIBS"
25718 if test x$gcc_no_link = xyes; then
25719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25721 { (exit 1); exit 1; }; }
25723 cat >conftest.$ac_ext <<_ACEOF
25724 /* confdefs.h. */
25725 _ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25730 /* Override any gcc2 internal prototype to avoid an error. */
25731 #ifdef __cplusplus
25732 extern "C"
25733 #endif
25734 /* We use char because int might match the return type of a gcc2
25735 builtin and then its argument prototype would still apply. */
25736 char logl ();
25738 main ()
25740 logl ();
25742 return 0;
25744 _ACEOF
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25748 ac_status=$?
25749 grep -v '^ *+' conftest.er1 >conftest.err
25750 rm -f conftest.er1
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 ac_cv_lib_m_logl=yes
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 ac_cv_lib_m_logl=no
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25776 LIBS=$ac_check_lib_save_LIBS
25778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25779 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25780 if test $ac_cv_lib_m_logl = yes; then
25782 cat >>confdefs.h <<\_ACEOF
25783 #define HAVE_LOGL 1
25784 _ACEOF
25788 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25789 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25790 if test "${ac_cv_lib_m_clogf+set}" = set; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 else
25793 ac_check_lib_save_LIBS=$LIBS
25794 LIBS="-lm $LIBS"
25795 if test x$gcc_no_link = xyes; then
25796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25798 { (exit 1); exit 1; }; }
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25807 /* Override any gcc2 internal prototype to avoid an error. */
25808 #ifdef __cplusplus
25809 extern "C"
25810 #endif
25811 /* We use char because int might match the return type of a gcc2
25812 builtin and then its argument prototype would still apply. */
25813 char clogf ();
25815 main ()
25817 clogf ();
25819 return 0;
25821 _ACEOF
25822 rm -f conftest.$ac_objext conftest$ac_exeext
25823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25824 (eval $ac_link) 2>conftest.er1
25825 ac_status=$?
25826 grep -v '^ *+' conftest.er1 >conftest.err
25827 rm -f conftest.er1
25828 cat conftest.err >&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try='test -z "$ac_c_werror_flag"
25832 || test ! -s conftest.err'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25835 ac_status=$?
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; } &&
25838 { ac_try='test -s conftest$ac_exeext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25841 ac_status=$?
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_cv_lib_m_clogf=yes
25845 else
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.$ac_ext >&5
25849 ac_cv_lib_m_clogf=no
25851 rm -f conftest.err conftest.$ac_objext \
25852 conftest$ac_exeext conftest.$ac_ext
25853 LIBS=$ac_check_lib_save_LIBS
25855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25856 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25857 if test $ac_cv_lib_m_clogf = yes; then
25859 cat >>confdefs.h <<\_ACEOF
25860 #define HAVE_CLOGF 1
25861 _ACEOF
25865 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25866 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25867 if test "${ac_cv_lib_m_clog+set}" = set; then
25868 echo $ECHO_N "(cached) $ECHO_C" >&6
25869 else
25870 ac_check_lib_save_LIBS=$LIBS
25871 LIBS="-lm $LIBS"
25872 if test x$gcc_no_link = xyes; then
25873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25875 { (exit 1); exit 1; }; }
25877 cat >conftest.$ac_ext <<_ACEOF
25878 /* confdefs.h. */
25879 _ACEOF
25880 cat confdefs.h >>conftest.$ac_ext
25881 cat >>conftest.$ac_ext <<_ACEOF
25882 /* end confdefs.h. */
25884 /* Override any gcc2 internal prototype to avoid an error. */
25885 #ifdef __cplusplus
25886 extern "C"
25887 #endif
25888 /* We use char because int might match the return type of a gcc2
25889 builtin and then its argument prototype would still apply. */
25890 char clog ();
25892 main ()
25894 clog ();
25896 return 0;
25898 _ACEOF
25899 rm -f conftest.$ac_objext conftest$ac_exeext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25901 (eval $ac_link) 2>conftest.er1
25902 ac_status=$?
25903 grep -v '^ *+' conftest.er1 >conftest.err
25904 rm -f conftest.er1
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try='test -z "$ac_c_werror_flag"
25909 || test ! -s conftest.err'
25910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911 (eval $ac_try) 2>&5
25912 ac_status=$?
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); }; } &&
25915 { ac_try='test -s conftest$ac_exeext'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; }; then
25921 ac_cv_lib_m_clog=yes
25922 else
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.$ac_ext >&5
25926 ac_cv_lib_m_clog=no
25928 rm -f conftest.err conftest.$ac_objext \
25929 conftest$ac_exeext conftest.$ac_ext
25930 LIBS=$ac_check_lib_save_LIBS
25932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25933 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25934 if test $ac_cv_lib_m_clog = yes; then
25936 cat >>confdefs.h <<\_ACEOF
25937 #define HAVE_CLOG 1
25938 _ACEOF
25942 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25943 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25944 if test "${ac_cv_lib_m_clogl+set}" = set; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 else
25947 ac_check_lib_save_LIBS=$LIBS
25948 LIBS="-lm $LIBS"
25949 if test x$gcc_no_link = xyes; then
25950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25952 { (exit 1); exit 1; }; }
25954 cat >conftest.$ac_ext <<_ACEOF
25955 /* confdefs.h. */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25961 /* Override any gcc2 internal prototype to avoid an error. */
25962 #ifdef __cplusplus
25963 extern "C"
25964 #endif
25965 /* We use char because int might match the return type of a gcc2
25966 builtin and then its argument prototype would still apply. */
25967 char clogl ();
25969 main ()
25971 clogl ();
25973 return 0;
25975 _ACEOF
25976 rm -f conftest.$ac_objext conftest$ac_exeext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25978 (eval $ac_link) 2>conftest.er1
25979 ac_status=$?
25980 grep -v '^ *+' conftest.er1 >conftest.err
25981 rm -f conftest.er1
25982 cat conftest.err >&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); } &&
25985 { ac_try='test -z "$ac_c_werror_flag"
25986 || test ! -s conftest.err'
25987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25988 (eval $ac_try) 2>&5
25989 ac_status=$?
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); }; } &&
25992 { ac_try='test -s conftest$ac_exeext'
25993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25994 (eval $ac_try) 2>&5
25995 ac_status=$?
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); }; }; then
25998 ac_cv_lib_m_clogl=yes
25999 else
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26003 ac_cv_lib_m_clogl=no
26005 rm -f conftest.err conftest.$ac_objext \
26006 conftest$ac_exeext conftest.$ac_ext
26007 LIBS=$ac_check_lib_save_LIBS
26009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
26010 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
26011 if test $ac_cv_lib_m_clogl = yes; then
26013 cat >>confdefs.h <<\_ACEOF
26014 #define HAVE_CLOGL 1
26015 _ACEOF
26019 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
26020 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
26021 if test "${ac_cv_lib_m_log10f+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024 ac_check_lib_save_LIBS=$LIBS
26025 LIBS="-lm $LIBS"
26026 if test x$gcc_no_link = xyes; then
26027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26029 { (exit 1); exit 1; }; }
26031 cat >conftest.$ac_ext <<_ACEOF
26032 /* confdefs.h. */
26033 _ACEOF
26034 cat confdefs.h >>conftest.$ac_ext
26035 cat >>conftest.$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26038 /* Override any gcc2 internal prototype to avoid an error. */
26039 #ifdef __cplusplus
26040 extern "C"
26041 #endif
26042 /* We use char because int might match the return type of a gcc2
26043 builtin and then its argument prototype would still apply. */
26044 char log10f ();
26046 main ()
26048 log10f ();
26050 return 0;
26052 _ACEOF
26053 rm -f conftest.$ac_objext conftest$ac_exeext
26054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26055 (eval $ac_link) 2>conftest.er1
26056 ac_status=$?
26057 grep -v '^ *+' conftest.er1 >conftest.err
26058 rm -f conftest.er1
26059 cat conftest.err >&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } &&
26062 { ac_try='test -z "$ac_c_werror_flag"
26063 || test ! -s conftest.err'
26064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26065 (eval $ac_try) 2>&5
26066 ac_status=$?
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); }; } &&
26069 { ac_try='test -s conftest$ac_exeext'
26070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071 (eval $ac_try) 2>&5
26072 ac_status=$?
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); }; }; then
26075 ac_cv_lib_m_log10f=yes
26076 else
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.$ac_ext >&5
26080 ac_cv_lib_m_log10f=no
26082 rm -f conftest.err conftest.$ac_objext \
26083 conftest$ac_exeext conftest.$ac_ext
26084 LIBS=$ac_check_lib_save_LIBS
26086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
26087 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
26088 if test $ac_cv_lib_m_log10f = yes; then
26090 cat >>confdefs.h <<\_ACEOF
26091 #define HAVE_LOG10F 1
26092 _ACEOF
26096 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
26097 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
26098 if test "${ac_cv_lib_m_log10+set}" = set; then
26099 echo $ECHO_N "(cached) $ECHO_C" >&6
26100 else
26101 ac_check_lib_save_LIBS=$LIBS
26102 LIBS="-lm $LIBS"
26103 if test x$gcc_no_link = xyes; then
26104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26106 { (exit 1); exit 1; }; }
26108 cat >conftest.$ac_ext <<_ACEOF
26109 /* confdefs.h. */
26110 _ACEOF
26111 cat confdefs.h >>conftest.$ac_ext
26112 cat >>conftest.$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26115 /* Override any gcc2 internal prototype to avoid an error. */
26116 #ifdef __cplusplus
26117 extern "C"
26118 #endif
26119 /* We use char because int might match the return type of a gcc2
26120 builtin and then its argument prototype would still apply. */
26121 char log10 ();
26123 main ()
26125 log10 ();
26127 return 0;
26129 _ACEOF
26130 rm -f conftest.$ac_objext conftest$ac_exeext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26132 (eval $ac_link) 2>conftest.er1
26133 ac_status=$?
26134 grep -v '^ *+' conftest.er1 >conftest.err
26135 rm -f conftest.er1
26136 cat conftest.err >&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } &&
26139 { ac_try='test -z "$ac_c_werror_flag"
26140 || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try='test -s conftest$ac_exeext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_lib_m_log10=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26157 ac_cv_lib_m_log10=no
26159 rm -f conftest.err conftest.$ac_objext \
26160 conftest$ac_exeext conftest.$ac_ext
26161 LIBS=$ac_check_lib_save_LIBS
26163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
26164 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
26165 if test $ac_cv_lib_m_log10 = yes; then
26167 cat >>confdefs.h <<\_ACEOF
26168 #define HAVE_LOG10 1
26169 _ACEOF
26173 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
26174 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
26175 if test "${ac_cv_lib_m_log10l+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 else
26178 ac_check_lib_save_LIBS=$LIBS
26179 LIBS="-lm $LIBS"
26180 if test x$gcc_no_link = xyes; then
26181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26183 { (exit 1); exit 1; }; }
26185 cat >conftest.$ac_ext <<_ACEOF
26186 /* confdefs.h. */
26187 _ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26192 /* Override any gcc2 internal prototype to avoid an error. */
26193 #ifdef __cplusplus
26194 extern "C"
26195 #endif
26196 /* We use char because int might match the return type of a gcc2
26197 builtin and then its argument prototype would still apply. */
26198 char log10l ();
26200 main ()
26202 log10l ();
26204 return 0;
26206 _ACEOF
26207 rm -f conftest.$ac_objext conftest$ac_exeext
26208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26209 (eval $ac_link) 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } &&
26216 { ac_try='test -z "$ac_c_werror_flag"
26217 || test ! -s conftest.err'
26218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219 (eval $ac_try) 2>&5
26220 ac_status=$?
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); }; } &&
26223 { ac_try='test -s conftest$ac_exeext'
26224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26225 (eval $ac_try) 2>&5
26226 ac_status=$?
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); }; }; then
26229 ac_cv_lib_m_log10l=yes
26230 else
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.$ac_ext >&5
26234 ac_cv_lib_m_log10l=no
26236 rm -f conftest.err conftest.$ac_objext \
26237 conftest$ac_exeext conftest.$ac_ext
26238 LIBS=$ac_check_lib_save_LIBS
26240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26241 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26242 if test $ac_cv_lib_m_log10l = yes; then
26244 cat >>confdefs.h <<\_ACEOF
26245 #define HAVE_LOG10L 1
26246 _ACEOF
26250 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26251 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26252 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 else
26255 ac_check_lib_save_LIBS=$LIBS
26256 LIBS="-lm $LIBS"
26257 if test x$gcc_no_link = xyes; then
26258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26260 { (exit 1); exit 1; }; }
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26269 /* Override any gcc2 internal prototype to avoid an error. */
26270 #ifdef __cplusplus
26271 extern "C"
26272 #endif
26273 /* We use char because int might match the return type of a gcc2
26274 builtin and then its argument prototype would still apply. */
26275 char clog10f ();
26277 main ()
26279 clog10f ();
26281 return 0;
26283 _ACEOF
26284 rm -f conftest.$ac_objext conftest$ac_exeext
26285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26286 (eval $ac_link) 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } &&
26293 { ac_try='test -z "$ac_c_werror_flag"
26294 || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try='test -s conftest$ac_exeext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 ac_cv_lib_m_clog10f=yes
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26311 ac_cv_lib_m_clog10f=no
26313 rm -f conftest.err conftest.$ac_objext \
26314 conftest$ac_exeext conftest.$ac_ext
26315 LIBS=$ac_check_lib_save_LIBS
26317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26318 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26319 if test $ac_cv_lib_m_clog10f = yes; then
26321 cat >>confdefs.h <<\_ACEOF
26322 #define HAVE_CLOG10F 1
26323 _ACEOF
26327 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26328 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26329 if test "${ac_cv_lib_m_clog10+set}" = set; then
26330 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 else
26332 ac_check_lib_save_LIBS=$LIBS
26333 LIBS="-lm $LIBS"
26334 if test x$gcc_no_link = xyes; then
26335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26337 { (exit 1); exit 1; }; }
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h. */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26346 /* Override any gcc2 internal prototype to avoid an error. */
26347 #ifdef __cplusplus
26348 extern "C"
26349 #endif
26350 /* We use char because int might match the return type of a gcc2
26351 builtin and then its argument prototype would still apply. */
26352 char clog10 ();
26354 main ()
26356 clog10 ();
26358 return 0;
26360 _ACEOF
26361 rm -f conftest.$ac_objext conftest$ac_exeext
26362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26363 (eval $ac_link) 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } &&
26370 { ac_try='test -z "$ac_c_werror_flag"
26371 || test ! -s conftest.err'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26374 ac_status=$?
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; } &&
26377 { ac_try='test -s conftest$ac_exeext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 ac_cv_lib_m_clog10=yes
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26388 ac_cv_lib_m_clog10=no
26390 rm -f conftest.err conftest.$ac_objext \
26391 conftest$ac_exeext conftest.$ac_ext
26392 LIBS=$ac_check_lib_save_LIBS
26394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26395 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26396 if test $ac_cv_lib_m_clog10 = yes; then
26398 cat >>confdefs.h <<\_ACEOF
26399 #define HAVE_CLOG10 1
26400 _ACEOF
26404 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26405 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26406 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26408 else
26409 ac_check_lib_save_LIBS=$LIBS
26410 LIBS="-lm $LIBS"
26411 if test x$gcc_no_link = xyes; then
26412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26414 { (exit 1); exit 1; }; }
26416 cat >conftest.$ac_ext <<_ACEOF
26417 /* confdefs.h. */
26418 _ACEOF
26419 cat confdefs.h >>conftest.$ac_ext
26420 cat >>conftest.$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26423 /* Override any gcc2 internal prototype to avoid an error. */
26424 #ifdef __cplusplus
26425 extern "C"
26426 #endif
26427 /* We use char because int might match the return type of a gcc2
26428 builtin and then its argument prototype would still apply. */
26429 char clog10l ();
26431 main ()
26433 clog10l ();
26435 return 0;
26437 _ACEOF
26438 rm -f conftest.$ac_objext conftest$ac_exeext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26440 (eval $ac_link) 2>conftest.er1
26441 ac_status=$?
26442 grep -v '^ *+' conftest.er1 >conftest.err
26443 rm -f conftest.er1
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try='test -z "$ac_c_werror_flag"
26448 || test ! -s conftest.err'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; } &&
26454 { ac_try='test -s conftest$ac_exeext'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 ac_cv_lib_m_clog10l=yes
26461 else
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.$ac_ext >&5
26465 ac_cv_lib_m_clog10l=no
26467 rm -f conftest.err conftest.$ac_objext \
26468 conftest$ac_exeext conftest.$ac_ext
26469 LIBS=$ac_check_lib_save_LIBS
26471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26472 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26473 if test $ac_cv_lib_m_clog10l = yes; then
26475 cat >>confdefs.h <<\_ACEOF
26476 #define HAVE_CLOG10L 1
26477 _ACEOF
26481 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26482 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26483 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 else
26486 ac_check_lib_save_LIBS=$LIBS
26487 LIBS="-lm $LIBS"
26488 if test x$gcc_no_link = xyes; then
26489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26491 { (exit 1); exit 1; }; }
26493 cat >conftest.$ac_ext <<_ACEOF
26494 /* confdefs.h. */
26495 _ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26500 /* Override any gcc2 internal prototype to avoid an error. */
26501 #ifdef __cplusplus
26502 extern "C"
26503 #endif
26504 /* We use char because int might match the return type of a gcc2
26505 builtin and then its argument prototype would still apply. */
26506 char nextafterf ();
26508 main ()
26510 nextafterf ();
26512 return 0;
26514 _ACEOF
26515 rm -f conftest.$ac_objext conftest$ac_exeext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26517 (eval $ac_link) 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -z "$ac_c_werror_flag"
26525 || test ! -s conftest.err'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; } &&
26531 { ac_try='test -s conftest$ac_exeext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26537 ac_cv_lib_m_nextafterf=yes
26538 else
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26542 ac_cv_lib_m_nextafterf=no
26544 rm -f conftest.err conftest.$ac_objext \
26545 conftest$ac_exeext conftest.$ac_ext
26546 LIBS=$ac_check_lib_save_LIBS
26548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26549 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26550 if test $ac_cv_lib_m_nextafterf = yes; then
26552 cat >>confdefs.h <<\_ACEOF
26553 #define HAVE_NEXTAFTERF 1
26554 _ACEOF
26558 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26559 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26560 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563 ac_check_lib_save_LIBS=$LIBS
26564 LIBS="-lm $LIBS"
26565 if test x$gcc_no_link = xyes; then
26566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26568 { (exit 1); exit 1; }; }
26570 cat >conftest.$ac_ext <<_ACEOF
26571 /* confdefs.h. */
26572 _ACEOF
26573 cat confdefs.h >>conftest.$ac_ext
26574 cat >>conftest.$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26577 /* Override any gcc2 internal prototype to avoid an error. */
26578 #ifdef __cplusplus
26579 extern "C"
26580 #endif
26581 /* We use char because int might match the return type of a gcc2
26582 builtin and then its argument prototype would still apply. */
26583 char nextafter ();
26585 main ()
26587 nextafter ();
26589 return 0;
26591 _ACEOF
26592 rm -f conftest.$ac_objext conftest$ac_exeext
26593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26594 (eval $ac_link) 2>conftest.er1
26595 ac_status=$?
26596 grep -v '^ *+' conftest.er1 >conftest.err
26597 rm -f conftest.er1
26598 cat conftest.err >&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try='test -z "$ac_c_werror_flag"
26602 || test ! -s conftest.err'
26603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604 (eval $ac_try) 2>&5
26605 ac_status=$?
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); }; } &&
26608 { ac_try='test -s conftest$ac_exeext'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26611 ac_status=$?
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; }; then
26614 ac_cv_lib_m_nextafter=yes
26615 else
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26619 ac_cv_lib_m_nextafter=no
26621 rm -f conftest.err conftest.$ac_objext \
26622 conftest$ac_exeext conftest.$ac_ext
26623 LIBS=$ac_check_lib_save_LIBS
26625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26626 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26627 if test $ac_cv_lib_m_nextafter = yes; then
26629 cat >>confdefs.h <<\_ACEOF
26630 #define HAVE_NEXTAFTER 1
26631 _ACEOF
26635 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26636 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26637 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26640 ac_check_lib_save_LIBS=$LIBS
26641 LIBS="-lm $LIBS"
26642 if test x$gcc_no_link = xyes; then
26643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26645 { (exit 1); exit 1; }; }
26647 cat >conftest.$ac_ext <<_ACEOF
26648 /* confdefs.h. */
26649 _ACEOF
26650 cat confdefs.h >>conftest.$ac_ext
26651 cat >>conftest.$ac_ext <<_ACEOF
26652 /* end confdefs.h. */
26654 /* Override any gcc2 internal prototype to avoid an error. */
26655 #ifdef __cplusplus
26656 extern "C"
26657 #endif
26658 /* We use char because int might match the return type of a gcc2
26659 builtin and then its argument prototype would still apply. */
26660 char nextafterl ();
26662 main ()
26664 nextafterl ();
26666 return 0;
26668 _ACEOF
26669 rm -f conftest.$ac_objext conftest$ac_exeext
26670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26671 (eval $ac_link) 2>conftest.er1
26672 ac_status=$?
26673 grep -v '^ *+' conftest.er1 >conftest.err
26674 rm -f conftest.er1
26675 cat conftest.err >&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } &&
26678 { ac_try='test -z "$ac_c_werror_flag"
26679 || test ! -s conftest.err'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; } &&
26685 { ac_try='test -s conftest$ac_exeext'
26686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687 (eval $ac_try) 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; }; then
26691 ac_cv_lib_m_nextafterl=yes
26692 else
26693 echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26696 ac_cv_lib_m_nextafterl=no
26698 rm -f conftest.err conftest.$ac_objext \
26699 conftest$ac_exeext conftest.$ac_ext
26700 LIBS=$ac_check_lib_save_LIBS
26702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26703 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26704 if test $ac_cv_lib_m_nextafterl = yes; then
26706 cat >>confdefs.h <<\_ACEOF
26707 #define HAVE_NEXTAFTERL 1
26708 _ACEOF
26712 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26713 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26714 if test "${ac_cv_lib_m_powf+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26717 ac_check_lib_save_LIBS=$LIBS
26718 LIBS="-lm $LIBS"
26719 if test x$gcc_no_link = xyes; then
26720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26722 { (exit 1); exit 1; }; }
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26731 /* Override any gcc2 internal prototype to avoid an error. */
26732 #ifdef __cplusplus
26733 extern "C"
26734 #endif
26735 /* We use char because int might match the return type of a gcc2
26736 builtin and then its argument prototype would still apply. */
26737 char powf ();
26739 main ()
26741 powf ();
26743 return 0;
26745 _ACEOF
26746 rm -f conftest.$ac_objext conftest$ac_exeext
26747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 (eval $ac_link) 2>conftest.er1
26749 ac_status=$?
26750 grep -v '^ *+' conftest.er1 >conftest.err
26751 rm -f conftest.er1
26752 cat conftest.err >&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } &&
26755 { ac_try='test -z "$ac_c_werror_flag"
26756 || test ! -s conftest.err'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26759 ac_status=$?
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; } &&
26762 { ac_try='test -s conftest$ac_exeext'
26763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26764 (eval $ac_try) 2>&5
26765 ac_status=$?
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); }; }; then
26768 ac_cv_lib_m_powf=yes
26769 else
26770 echo "$as_me: failed program was:" >&5
26771 sed 's/^/| /' conftest.$ac_ext >&5
26773 ac_cv_lib_m_powf=no
26775 rm -f conftest.err conftest.$ac_objext \
26776 conftest$ac_exeext conftest.$ac_ext
26777 LIBS=$ac_check_lib_save_LIBS
26779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26780 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26781 if test $ac_cv_lib_m_powf = yes; then
26783 cat >>confdefs.h <<\_ACEOF
26784 #define HAVE_POWF 1
26785 _ACEOF
26789 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26790 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26791 if test "${ac_cv_lib_m_pow+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 else
26794 ac_check_lib_save_LIBS=$LIBS
26795 LIBS="-lm $LIBS"
26796 if test x$gcc_no_link = xyes; then
26797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26799 { (exit 1); exit 1; }; }
26801 cat >conftest.$ac_ext <<_ACEOF
26802 /* confdefs.h. */
26803 _ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26808 /* Override any gcc2 internal prototype to avoid an error. */
26809 #ifdef __cplusplus
26810 extern "C"
26811 #endif
26812 /* We use char because int might match the return type of a gcc2
26813 builtin and then its argument prototype would still apply. */
26814 char pow ();
26816 main ()
26818 pow ();
26820 return 0;
26822 _ACEOF
26823 rm -f conftest.$ac_objext conftest$ac_exeext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26825 (eval $ac_link) 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try='test -z "$ac_c_werror_flag"
26833 || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try='test -s conftest$ac_exeext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 ac_cv_lib_m_pow=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26850 ac_cv_lib_m_pow=no
26852 rm -f conftest.err conftest.$ac_objext \
26853 conftest$ac_exeext conftest.$ac_ext
26854 LIBS=$ac_check_lib_save_LIBS
26856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26857 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26858 if test $ac_cv_lib_m_pow = yes; then
26860 cat >>confdefs.h <<\_ACEOF
26861 #define HAVE_POW 1
26862 _ACEOF
26866 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26867 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26868 if test "${ac_cv_lib_m_powl+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871 ac_check_lib_save_LIBS=$LIBS
26872 LIBS="-lm $LIBS"
26873 if test x$gcc_no_link = xyes; then
26874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26876 { (exit 1); exit 1; }; }
26878 cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h. */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26885 /* Override any gcc2 internal prototype to avoid an error. */
26886 #ifdef __cplusplus
26887 extern "C"
26888 #endif
26889 /* We use char because int might match the return type of a gcc2
26890 builtin and then its argument prototype would still apply. */
26891 char powl ();
26893 main ()
26895 powl ();
26897 return 0;
26899 _ACEOF
26900 rm -f conftest.$ac_objext conftest$ac_exeext
26901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26902 (eval $ac_link) 2>conftest.er1
26903 ac_status=$?
26904 grep -v '^ *+' conftest.er1 >conftest.err
26905 rm -f conftest.er1
26906 cat conftest.err >&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); } &&
26909 { ac_try='test -z "$ac_c_werror_flag"
26910 || test ! -s conftest.err'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26913 ac_status=$?
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; } &&
26916 { ac_try='test -s conftest$ac_exeext'
26917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918 (eval $ac_try) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); }; }; then
26922 ac_cv_lib_m_powl=yes
26923 else
26924 echo "$as_me: failed program was:" >&5
26925 sed 's/^/| /' conftest.$ac_ext >&5
26927 ac_cv_lib_m_powl=no
26929 rm -f conftest.err conftest.$ac_objext \
26930 conftest$ac_exeext conftest.$ac_ext
26931 LIBS=$ac_check_lib_save_LIBS
26933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26934 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26935 if test $ac_cv_lib_m_powl = yes; then
26937 cat >>confdefs.h <<\_ACEOF
26938 #define HAVE_POWL 1
26939 _ACEOF
26943 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26944 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26945 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948 ac_check_lib_save_LIBS=$LIBS
26949 LIBS="-lm $LIBS"
26950 if test x$gcc_no_link = xyes; then
26951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26953 { (exit 1); exit 1; }; }
26955 cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h. */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26962 /* Override any gcc2 internal prototype to avoid an error. */
26963 #ifdef __cplusplus
26964 extern "C"
26965 #endif
26966 /* We use char because int might match the return type of a gcc2
26967 builtin and then its argument prototype would still apply. */
26968 char cpowf ();
26970 main ()
26972 cpowf ();
26974 return 0;
26976 _ACEOF
26977 rm -f conftest.$ac_objext conftest$ac_exeext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26979 (eval $ac_link) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_lib_m_cpowf=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27004 ac_cv_lib_m_cpowf=no
27006 rm -f conftest.err conftest.$ac_objext \
27007 conftest$ac_exeext conftest.$ac_ext
27008 LIBS=$ac_check_lib_save_LIBS
27010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
27011 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
27012 if test $ac_cv_lib_m_cpowf = yes; then
27014 cat >>confdefs.h <<\_ACEOF
27015 #define HAVE_CPOWF 1
27016 _ACEOF
27020 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
27021 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
27022 if test "${ac_cv_lib_m_cpow+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27024 else
27025 ac_check_lib_save_LIBS=$LIBS
27026 LIBS="-lm $LIBS"
27027 if test x$gcc_no_link = xyes; then
27028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27030 { (exit 1); exit 1; }; }
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27039 /* Override any gcc2 internal prototype to avoid an error. */
27040 #ifdef __cplusplus
27041 extern "C"
27042 #endif
27043 /* We use char because int might match the return type of a gcc2
27044 builtin and then its argument prototype would still apply. */
27045 char cpow ();
27047 main ()
27049 cpow ();
27051 return 0;
27053 _ACEOF
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27056 (eval $ac_link) 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try='test -z "$ac_c_werror_flag"
27064 || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try='test -s conftest$ac_exeext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 ac_cv_lib_m_cpow=yes
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27081 ac_cv_lib_m_cpow=no
27083 rm -f conftest.err conftest.$ac_objext \
27084 conftest$ac_exeext conftest.$ac_ext
27085 LIBS=$ac_check_lib_save_LIBS
27087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
27088 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
27089 if test $ac_cv_lib_m_cpow = yes; then
27091 cat >>confdefs.h <<\_ACEOF
27092 #define HAVE_CPOW 1
27093 _ACEOF
27097 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
27098 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
27099 if test "${ac_cv_lib_m_cpowl+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102 ac_check_lib_save_LIBS=$LIBS
27103 LIBS="-lm $LIBS"
27104 if test x$gcc_no_link = xyes; then
27105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27107 { (exit 1); exit 1; }; }
27109 cat >conftest.$ac_ext <<_ACEOF
27110 /* confdefs.h. */
27111 _ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27116 /* Override any gcc2 internal prototype to avoid an error. */
27117 #ifdef __cplusplus
27118 extern "C"
27119 #endif
27120 /* We use char because int might match the return type of a gcc2
27121 builtin and then its argument prototype would still apply. */
27122 char cpowl ();
27124 main ()
27126 cpowl ();
27128 return 0;
27130 _ACEOF
27131 rm -f conftest.$ac_objext conftest$ac_exeext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27133 (eval $ac_link) 2>conftest.er1
27134 ac_status=$?
27135 grep -v '^ *+' conftest.er1 >conftest.err
27136 rm -f conftest.er1
27137 cat conftest.err >&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -z "$ac_c_werror_flag"
27141 || test ! -s conftest.err'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27144 ac_status=$?
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; } &&
27147 { ac_try='test -s conftest$ac_exeext'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27150 ac_status=$?
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; }; then
27153 ac_cv_lib_m_cpowl=yes
27154 else
27155 echo "$as_me: failed program was:" >&5
27156 sed 's/^/| /' conftest.$ac_ext >&5
27158 ac_cv_lib_m_cpowl=no
27160 rm -f conftest.err conftest.$ac_objext \
27161 conftest$ac_exeext conftest.$ac_ext
27162 LIBS=$ac_check_lib_save_LIBS
27164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
27165 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
27166 if test $ac_cv_lib_m_cpowl = yes; then
27168 cat >>confdefs.h <<\_ACEOF
27169 #define HAVE_CPOWL 1
27170 _ACEOF
27174 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
27175 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
27176 if test "${ac_cv_lib_m_roundf+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 ac_check_lib_save_LIBS=$LIBS
27180 LIBS="-lm $LIBS"
27181 if test x$gcc_no_link = xyes; then
27182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27184 { (exit 1); exit 1; }; }
27186 cat >conftest.$ac_ext <<_ACEOF
27187 /* confdefs.h. */
27188 _ACEOF
27189 cat confdefs.h >>conftest.$ac_ext
27190 cat >>conftest.$ac_ext <<_ACEOF
27191 /* end confdefs.h. */
27193 /* Override any gcc2 internal prototype to avoid an error. */
27194 #ifdef __cplusplus
27195 extern "C"
27196 #endif
27197 /* We use char because int might match the return type of a gcc2
27198 builtin and then its argument prototype would still apply. */
27199 char roundf ();
27201 main ()
27203 roundf ();
27205 return 0;
27207 _ACEOF
27208 rm -f conftest.$ac_objext conftest$ac_exeext
27209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27210 (eval $ac_link) 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } &&
27217 { ac_try='test -z "$ac_c_werror_flag"
27218 || test ! -s conftest.err'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27221 ac_status=$?
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; } &&
27224 { ac_try='test -s conftest$ac_exeext'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27227 ac_status=$?
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; }; then
27230 ac_cv_lib_m_roundf=yes
27231 else
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27235 ac_cv_lib_m_roundf=no
27237 rm -f conftest.err conftest.$ac_objext \
27238 conftest$ac_exeext conftest.$ac_ext
27239 LIBS=$ac_check_lib_save_LIBS
27241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27242 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27243 if test $ac_cv_lib_m_roundf = yes; then
27245 cat >>confdefs.h <<\_ACEOF
27246 #define HAVE_ROUNDF 1
27247 _ACEOF
27251 echo "$as_me:$LINENO: checking for round in -lm" >&5
27252 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27253 if test "${ac_cv_lib_m_round+set}" = set; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 else
27256 ac_check_lib_save_LIBS=$LIBS
27257 LIBS="-lm $LIBS"
27258 if test x$gcc_no_link = xyes; then
27259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27261 { (exit 1); exit 1; }; }
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27270 /* Override any gcc2 internal prototype to avoid an error. */
27271 #ifdef __cplusplus
27272 extern "C"
27273 #endif
27274 /* We use char because int might match the return type of a gcc2
27275 builtin and then its argument prototype would still apply. */
27276 char round ();
27278 main ()
27280 round ();
27282 return 0;
27284 _ACEOF
27285 rm -f conftest.$ac_objext conftest$ac_exeext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27287 (eval $ac_link) 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try='test -z "$ac_c_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27298 ac_status=$?
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try='test -s conftest$ac_exeext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 ac_cv_lib_m_round=yes
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27312 ac_cv_lib_m_round=no
27314 rm -f conftest.err conftest.$ac_objext \
27315 conftest$ac_exeext conftest.$ac_ext
27316 LIBS=$ac_check_lib_save_LIBS
27318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27319 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27320 if test $ac_cv_lib_m_round = yes; then
27322 cat >>confdefs.h <<\_ACEOF
27323 #define HAVE_ROUND 1
27324 _ACEOF
27328 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27329 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27330 if test "${ac_cv_lib_m_roundl+set}" = set; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 else
27333 ac_check_lib_save_LIBS=$LIBS
27334 LIBS="-lm $LIBS"
27335 if test x$gcc_no_link = xyes; then
27336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27338 { (exit 1); exit 1; }; }
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h. */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 /* Override any gcc2 internal prototype to avoid an error. */
27348 #ifdef __cplusplus
27349 extern "C"
27350 #endif
27351 /* We use char because int might match the return type of a gcc2
27352 builtin and then its argument prototype would still apply. */
27353 char roundl ();
27355 main ()
27357 roundl ();
27359 return 0;
27361 _ACEOF
27362 rm -f conftest.$ac_objext conftest$ac_exeext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27364 (eval $ac_link) 2>conftest.er1
27365 ac_status=$?
27366 grep -v '^ *+' conftest.er1 >conftest.err
27367 rm -f conftest.er1
27368 cat conftest.err >&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try='test -z "$ac_c_werror_flag"
27372 || test ! -s conftest.err'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27375 ac_status=$?
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; } &&
27378 { ac_try='test -s conftest$ac_exeext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_cv_lib_m_roundl=yes
27385 else
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.$ac_ext >&5
27389 ac_cv_lib_m_roundl=no
27391 rm -f conftest.err conftest.$ac_objext \
27392 conftest$ac_exeext conftest.$ac_ext
27393 LIBS=$ac_check_lib_save_LIBS
27395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27396 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27397 if test $ac_cv_lib_m_roundl = yes; then
27399 cat >>confdefs.h <<\_ACEOF
27400 #define HAVE_ROUNDL 1
27401 _ACEOF
27405 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27406 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27407 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 else
27410 ac_check_lib_save_LIBS=$LIBS
27411 LIBS="-lm $LIBS"
27412 if test x$gcc_no_link = xyes; then
27413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27415 { (exit 1); exit 1; }; }
27417 cat >conftest.$ac_ext <<_ACEOF
27418 /* confdefs.h. */
27419 _ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27424 /* Override any gcc2 internal prototype to avoid an error. */
27425 #ifdef __cplusplus
27426 extern "C"
27427 #endif
27428 /* We use char because int might match the return type of a gcc2
27429 builtin and then its argument prototype would still apply. */
27430 char lroundf ();
27432 main ()
27434 lroundf ();
27436 return 0;
27438 _ACEOF
27439 rm -f conftest.$ac_objext conftest$ac_exeext
27440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27441 (eval $ac_link) 2>conftest.er1
27442 ac_status=$?
27443 grep -v '^ *+' conftest.er1 >conftest.err
27444 rm -f conftest.er1
27445 cat conftest.err >&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); } &&
27448 { ac_try='test -z "$ac_c_werror_flag"
27449 || test ! -s conftest.err'
27450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27451 (eval $ac_try) 2>&5
27452 ac_status=$?
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); }; } &&
27455 { ac_try='test -s conftest$ac_exeext'
27456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27457 (eval $ac_try) 2>&5
27458 ac_status=$?
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); }; }; then
27461 ac_cv_lib_m_lroundf=yes
27462 else
27463 echo "$as_me: failed program was:" >&5
27464 sed 's/^/| /' conftest.$ac_ext >&5
27466 ac_cv_lib_m_lroundf=no
27468 rm -f conftest.err conftest.$ac_objext \
27469 conftest$ac_exeext conftest.$ac_ext
27470 LIBS=$ac_check_lib_save_LIBS
27472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27473 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27474 if test $ac_cv_lib_m_lroundf = yes; then
27476 cat >>confdefs.h <<\_ACEOF
27477 #define HAVE_LROUNDF 1
27478 _ACEOF
27482 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27483 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27484 if test "${ac_cv_lib_m_lround+set}" = set; then
27485 echo $ECHO_N "(cached) $ECHO_C" >&6
27486 else
27487 ac_check_lib_save_LIBS=$LIBS
27488 LIBS="-lm $LIBS"
27489 if test x$gcc_no_link = xyes; then
27490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27492 { (exit 1); exit 1; }; }
27494 cat >conftest.$ac_ext <<_ACEOF
27495 /* confdefs.h. */
27496 _ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27501 /* Override any gcc2 internal prototype to avoid an error. */
27502 #ifdef __cplusplus
27503 extern "C"
27504 #endif
27505 /* We use char because int might match the return type of a gcc2
27506 builtin and then its argument prototype would still apply. */
27507 char lround ();
27509 main ()
27511 lround ();
27513 return 0;
27515 _ACEOF
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27518 (eval $ac_link) 2>conftest.er1
27519 ac_status=$?
27520 grep -v '^ *+' conftest.er1 >conftest.err
27521 rm -f conftest.er1
27522 cat conftest.err >&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } &&
27525 { ac_try='test -z "$ac_c_werror_flag"
27526 || test ! -s conftest.err'
27527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27528 (eval $ac_try) 2>&5
27529 ac_status=$?
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); }; } &&
27532 { ac_try='test -s conftest$ac_exeext'
27533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27534 (eval $ac_try) 2>&5
27535 ac_status=$?
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; }; then
27538 ac_cv_lib_m_lround=yes
27539 else
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.$ac_ext >&5
27543 ac_cv_lib_m_lround=no
27545 rm -f conftest.err conftest.$ac_objext \
27546 conftest$ac_exeext conftest.$ac_ext
27547 LIBS=$ac_check_lib_save_LIBS
27549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27550 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27551 if test $ac_cv_lib_m_lround = yes; then
27553 cat >>confdefs.h <<\_ACEOF
27554 #define HAVE_LROUND 1
27555 _ACEOF
27559 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27560 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27561 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27562 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 else
27564 ac_check_lib_save_LIBS=$LIBS
27565 LIBS="-lm $LIBS"
27566 if test x$gcc_no_link = xyes; then
27567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27569 { (exit 1); exit 1; }; }
27571 cat >conftest.$ac_ext <<_ACEOF
27572 /* confdefs.h. */
27573 _ACEOF
27574 cat confdefs.h >>conftest.$ac_ext
27575 cat >>conftest.$ac_ext <<_ACEOF
27576 /* end confdefs.h. */
27578 /* Override any gcc2 internal prototype to avoid an error. */
27579 #ifdef __cplusplus
27580 extern "C"
27581 #endif
27582 /* We use char because int might match the return type of a gcc2
27583 builtin and then its argument prototype would still apply. */
27584 char lroundl ();
27586 main ()
27588 lroundl ();
27590 return 0;
27592 _ACEOF
27593 rm -f conftest.$ac_objext conftest$ac_exeext
27594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27595 (eval $ac_link) 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } &&
27602 { ac_try='test -z "$ac_c_werror_flag"
27603 || test ! -s conftest.err'
27604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27605 (eval $ac_try) 2>&5
27606 ac_status=$?
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); }; } &&
27609 { ac_try='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27612 ac_status=$?
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 ac_cv_lib_m_lroundl=yes
27616 else
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.$ac_ext >&5
27620 ac_cv_lib_m_lroundl=no
27622 rm -f conftest.err conftest.$ac_objext \
27623 conftest$ac_exeext conftest.$ac_ext
27624 LIBS=$ac_check_lib_save_LIBS
27626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27627 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27628 if test $ac_cv_lib_m_lroundl = yes; then
27630 cat >>confdefs.h <<\_ACEOF
27631 #define HAVE_LROUNDL 1
27632 _ACEOF
27636 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27637 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27638 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27639 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 else
27641 ac_check_lib_save_LIBS=$LIBS
27642 LIBS="-lm $LIBS"
27643 if test x$gcc_no_link = xyes; then
27644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27646 { (exit 1); exit 1; }; }
27648 cat >conftest.$ac_ext <<_ACEOF
27649 /* confdefs.h. */
27650 _ACEOF
27651 cat confdefs.h >>conftest.$ac_ext
27652 cat >>conftest.$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27655 /* Override any gcc2 internal prototype to avoid an error. */
27656 #ifdef __cplusplus
27657 extern "C"
27658 #endif
27659 /* We use char because int might match the return type of a gcc2
27660 builtin and then its argument prototype would still apply. */
27661 char llroundf ();
27663 main ()
27665 llroundf ();
27667 return 0;
27669 _ACEOF
27670 rm -f conftest.$ac_objext conftest$ac_exeext
27671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27672 (eval $ac_link) 2>conftest.er1
27673 ac_status=$?
27674 grep -v '^ *+' conftest.er1 >conftest.err
27675 rm -f conftest.er1
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } &&
27679 { ac_try='test -z "$ac_c_werror_flag"
27680 || test ! -s conftest.err'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27683 ac_status=$?
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; } &&
27686 { ac_try='test -s conftest$ac_exeext'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27689 ac_status=$?
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; }; then
27692 ac_cv_lib_m_llroundf=yes
27693 else
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.$ac_ext >&5
27697 ac_cv_lib_m_llroundf=no
27699 rm -f conftest.err conftest.$ac_objext \
27700 conftest$ac_exeext conftest.$ac_ext
27701 LIBS=$ac_check_lib_save_LIBS
27703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27704 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27705 if test $ac_cv_lib_m_llroundf = yes; then
27707 cat >>confdefs.h <<\_ACEOF
27708 #define HAVE_LLROUNDF 1
27709 _ACEOF
27713 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27714 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27715 if test "${ac_cv_lib_m_llround+set}" = set; then
27716 echo $ECHO_N "(cached) $ECHO_C" >&6
27717 else
27718 ac_check_lib_save_LIBS=$LIBS
27719 LIBS="-lm $LIBS"
27720 if test x$gcc_no_link = xyes; then
27721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27723 { (exit 1); exit 1; }; }
27725 cat >conftest.$ac_ext <<_ACEOF
27726 /* confdefs.h. */
27727 _ACEOF
27728 cat confdefs.h >>conftest.$ac_ext
27729 cat >>conftest.$ac_ext <<_ACEOF
27730 /* end confdefs.h. */
27732 /* Override any gcc2 internal prototype to avoid an error. */
27733 #ifdef __cplusplus
27734 extern "C"
27735 #endif
27736 /* We use char because int might match the return type of a gcc2
27737 builtin and then its argument prototype would still apply. */
27738 char llround ();
27740 main ()
27742 llround ();
27744 return 0;
27746 _ACEOF
27747 rm -f conftest.$ac_objext conftest$ac_exeext
27748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27749 (eval $ac_link) 2>conftest.er1
27750 ac_status=$?
27751 grep -v '^ *+' conftest.er1 >conftest.err
27752 rm -f conftest.er1
27753 cat conftest.err >&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -z "$ac_c_werror_flag"
27757 || test ! -s conftest.err'
27758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27759 (eval $ac_try) 2>&5
27760 ac_status=$?
27761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27762 (exit $ac_status); }; } &&
27763 { ac_try='test -s conftest$ac_exeext'
27764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27765 (eval $ac_try) 2>&5
27766 ac_status=$?
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); }; }; then
27769 ac_cv_lib_m_llround=yes
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27774 ac_cv_lib_m_llround=no
27776 rm -f conftest.err conftest.$ac_objext \
27777 conftest$ac_exeext conftest.$ac_ext
27778 LIBS=$ac_check_lib_save_LIBS
27780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27781 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27782 if test $ac_cv_lib_m_llround = yes; then
27784 cat >>confdefs.h <<\_ACEOF
27785 #define HAVE_LLROUND 1
27786 _ACEOF
27790 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27791 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27792 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27794 else
27795 ac_check_lib_save_LIBS=$LIBS
27796 LIBS="-lm $LIBS"
27797 if test x$gcc_no_link = xyes; then
27798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27800 { (exit 1); exit 1; }; }
27802 cat >conftest.$ac_ext <<_ACEOF
27803 /* confdefs.h. */
27804 _ACEOF
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27809 /* Override any gcc2 internal prototype to avoid an error. */
27810 #ifdef __cplusplus
27811 extern "C"
27812 #endif
27813 /* We use char because int might match the return type of a gcc2
27814 builtin and then its argument prototype would still apply. */
27815 char llroundl ();
27817 main ()
27819 llroundl ();
27821 return 0;
27823 _ACEOF
27824 rm -f conftest.$ac_objext conftest$ac_exeext
27825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27826 (eval $ac_link) 2>conftest.er1
27827 ac_status=$?
27828 grep -v '^ *+' conftest.er1 >conftest.err
27829 rm -f conftest.er1
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try='test -z "$ac_c_werror_flag"
27834 || test ! -s conftest.err'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27837 ac_status=$?
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; } &&
27840 { ac_try='test -s conftest$ac_exeext'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27843 ac_status=$?
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; }; then
27846 ac_cv_lib_m_llroundl=yes
27847 else
27848 echo "$as_me: failed program was:" >&5
27849 sed 's/^/| /' conftest.$ac_ext >&5
27851 ac_cv_lib_m_llroundl=no
27853 rm -f conftest.err conftest.$ac_objext \
27854 conftest$ac_exeext conftest.$ac_ext
27855 LIBS=$ac_check_lib_save_LIBS
27857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27858 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27859 if test $ac_cv_lib_m_llroundl = yes; then
27861 cat >>confdefs.h <<\_ACEOF
27862 #define HAVE_LLROUNDL 1
27863 _ACEOF
27867 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27868 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27869 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872 ac_check_lib_save_LIBS=$LIBS
27873 LIBS="-lm $LIBS"
27874 if test x$gcc_no_link = xyes; then
27875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27877 { (exit 1); exit 1; }; }
27879 cat >conftest.$ac_ext <<_ACEOF
27880 /* confdefs.h. */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27886 /* Override any gcc2 internal prototype to avoid an error. */
27887 #ifdef __cplusplus
27888 extern "C"
27889 #endif
27890 /* We use char because int might match the return type of a gcc2
27891 builtin and then its argument prototype would still apply. */
27892 char scalbnf ();
27894 main ()
27896 scalbnf ();
27898 return 0;
27900 _ACEOF
27901 rm -f conftest.$ac_objext conftest$ac_exeext
27902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27903 (eval $ac_link) 2>conftest.er1
27904 ac_status=$?
27905 grep -v '^ *+' conftest.er1 >conftest.err
27906 rm -f conftest.er1
27907 cat conftest.err >&5
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); } &&
27910 { ac_try='test -z "$ac_c_werror_flag"
27911 || test ! -s conftest.err'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27914 ac_status=$?
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; } &&
27917 { ac_try='test -s conftest$ac_exeext'
27918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27919 (eval $ac_try) 2>&5
27920 ac_status=$?
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); }; }; then
27923 ac_cv_lib_m_scalbnf=yes
27924 else
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27928 ac_cv_lib_m_scalbnf=no
27930 rm -f conftest.err conftest.$ac_objext \
27931 conftest$ac_exeext conftest.$ac_ext
27932 LIBS=$ac_check_lib_save_LIBS
27934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27935 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27936 if test $ac_cv_lib_m_scalbnf = yes; then
27938 cat >>confdefs.h <<\_ACEOF
27939 #define HAVE_SCALBNF 1
27940 _ACEOF
27944 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27945 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27946 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 else
27949 ac_check_lib_save_LIBS=$LIBS
27950 LIBS="-lm $LIBS"
27951 if test x$gcc_no_link = xyes; then
27952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27954 { (exit 1); exit 1; }; }
27956 cat >conftest.$ac_ext <<_ACEOF
27957 /* confdefs.h. */
27958 _ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27963 /* Override any gcc2 internal prototype to avoid an error. */
27964 #ifdef __cplusplus
27965 extern "C"
27966 #endif
27967 /* We use char because int might match the return type of a gcc2
27968 builtin and then its argument prototype would still apply. */
27969 char scalbn ();
27971 main ()
27973 scalbn ();
27975 return 0;
27977 _ACEOF
27978 rm -f conftest.$ac_objext conftest$ac_exeext
27979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27980 (eval $ac_link) 2>conftest.er1
27981 ac_status=$?
27982 grep -v '^ *+' conftest.er1 >conftest.err
27983 rm -f conftest.er1
27984 cat conftest.err >&5
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); } &&
27987 { ac_try='test -z "$ac_c_werror_flag"
27988 || test ! -s conftest.err'
27989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27990 (eval $ac_try) 2>&5
27991 ac_status=$?
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); }; } &&
27994 { ac_try='test -s conftest$ac_exeext'
27995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27996 (eval $ac_try) 2>&5
27997 ac_status=$?
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); }; }; then
28000 ac_cv_lib_m_scalbn=yes
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28005 ac_cv_lib_m_scalbn=no
28007 rm -f conftest.err conftest.$ac_objext \
28008 conftest$ac_exeext conftest.$ac_ext
28009 LIBS=$ac_check_lib_save_LIBS
28011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
28012 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
28013 if test $ac_cv_lib_m_scalbn = yes; then
28015 cat >>confdefs.h <<\_ACEOF
28016 #define HAVE_SCALBN 1
28017 _ACEOF
28021 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
28022 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
28023 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
28024 echo $ECHO_N "(cached) $ECHO_C" >&6
28025 else
28026 ac_check_lib_save_LIBS=$LIBS
28027 LIBS="-lm $LIBS"
28028 if test x$gcc_no_link = xyes; then
28029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28031 { (exit 1); exit 1; }; }
28033 cat >conftest.$ac_ext <<_ACEOF
28034 /* confdefs.h. */
28035 _ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28040 /* Override any gcc2 internal prototype to avoid an error. */
28041 #ifdef __cplusplus
28042 extern "C"
28043 #endif
28044 /* We use char because int might match the return type of a gcc2
28045 builtin and then its argument prototype would still apply. */
28046 char scalbnl ();
28048 main ()
28050 scalbnl ();
28052 return 0;
28054 _ACEOF
28055 rm -f conftest.$ac_objext conftest$ac_exeext
28056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28057 (eval $ac_link) 2>conftest.er1
28058 ac_status=$?
28059 grep -v '^ *+' conftest.er1 >conftest.err
28060 rm -f conftest.er1
28061 cat conftest.err >&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } &&
28064 { ac_try='test -z "$ac_c_werror_flag"
28065 || test ! -s conftest.err'
28066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28067 (eval $ac_try) 2>&5
28068 ac_status=$?
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); }; } &&
28071 { ac_try='test -s conftest$ac_exeext'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28074 ac_status=$?
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; }; then
28077 ac_cv_lib_m_scalbnl=yes
28078 else
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.$ac_ext >&5
28082 ac_cv_lib_m_scalbnl=no
28084 rm -f conftest.err conftest.$ac_objext \
28085 conftest$ac_exeext conftest.$ac_ext
28086 LIBS=$ac_check_lib_save_LIBS
28088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
28089 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
28090 if test $ac_cv_lib_m_scalbnl = yes; then
28092 cat >>confdefs.h <<\_ACEOF
28093 #define HAVE_SCALBNL 1
28094 _ACEOF
28098 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
28099 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
28100 if test "${ac_cv_lib_m_sinf+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 else
28103 ac_check_lib_save_LIBS=$LIBS
28104 LIBS="-lm $LIBS"
28105 if test x$gcc_no_link = xyes; then
28106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28108 { (exit 1); exit 1; }; }
28110 cat >conftest.$ac_ext <<_ACEOF
28111 /* confdefs.h. */
28112 _ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28117 /* Override any gcc2 internal prototype to avoid an error. */
28118 #ifdef __cplusplus
28119 extern "C"
28120 #endif
28121 /* We use char because int might match the return type of a gcc2
28122 builtin and then its argument prototype would still apply. */
28123 char sinf ();
28125 main ()
28127 sinf ();
28129 return 0;
28131 _ACEOF
28132 rm -f conftest.$ac_objext conftest$ac_exeext
28133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28134 (eval $ac_link) 2>conftest.er1
28135 ac_status=$?
28136 grep -v '^ *+' conftest.er1 >conftest.err
28137 rm -f conftest.er1
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } &&
28141 { ac_try='test -z "$ac_c_werror_flag"
28142 || test ! -s conftest.err'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; } &&
28148 { ac_try='test -s conftest$ac_exeext'
28149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28150 (eval $ac_try) 2>&5
28151 ac_status=$?
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); }; }; then
28154 ac_cv_lib_m_sinf=yes
28155 else
28156 echo "$as_me: failed program was:" >&5
28157 sed 's/^/| /' conftest.$ac_ext >&5
28159 ac_cv_lib_m_sinf=no
28161 rm -f conftest.err conftest.$ac_objext \
28162 conftest$ac_exeext conftest.$ac_ext
28163 LIBS=$ac_check_lib_save_LIBS
28165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
28166 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
28167 if test $ac_cv_lib_m_sinf = yes; then
28169 cat >>confdefs.h <<\_ACEOF
28170 #define HAVE_SINF 1
28171 _ACEOF
28175 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28176 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28177 if test "${ac_cv_lib_m_sin+set}" = set; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180 ac_check_lib_save_LIBS=$LIBS
28181 LIBS="-lm $LIBS"
28182 if test x$gcc_no_link = xyes; then
28183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28185 { (exit 1); exit 1; }; }
28187 cat >conftest.$ac_ext <<_ACEOF
28188 /* confdefs.h. */
28189 _ACEOF
28190 cat confdefs.h >>conftest.$ac_ext
28191 cat >>conftest.$ac_ext <<_ACEOF
28192 /* end confdefs.h. */
28194 /* Override any gcc2 internal prototype to avoid an error. */
28195 #ifdef __cplusplus
28196 extern "C"
28197 #endif
28198 /* We use char because int might match the return type of a gcc2
28199 builtin and then its argument prototype would still apply. */
28200 char sin ();
28202 main ()
28204 sin ();
28206 return 0;
28208 _ACEOF
28209 rm -f conftest.$ac_objext conftest$ac_exeext
28210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28211 (eval $ac_link) 2>conftest.er1
28212 ac_status=$?
28213 grep -v '^ *+' conftest.er1 >conftest.err
28214 rm -f conftest.er1
28215 cat conftest.err >&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try='test -z "$ac_c_werror_flag"
28219 || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try='test -s conftest$ac_exeext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 ac_cv_lib_m_sin=yes
28232 else
28233 echo "$as_me: failed program was:" >&5
28234 sed 's/^/| /' conftest.$ac_ext >&5
28236 ac_cv_lib_m_sin=no
28238 rm -f conftest.err conftest.$ac_objext \
28239 conftest$ac_exeext conftest.$ac_ext
28240 LIBS=$ac_check_lib_save_LIBS
28242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28243 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28244 if test $ac_cv_lib_m_sin = yes; then
28246 cat >>confdefs.h <<\_ACEOF
28247 #define HAVE_SIN 1
28248 _ACEOF
28252 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28253 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28254 if test "${ac_cv_lib_m_sinl+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257 ac_check_lib_save_LIBS=$LIBS
28258 LIBS="-lm $LIBS"
28259 if test x$gcc_no_link = xyes; then
28260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28262 { (exit 1); exit 1; }; }
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28271 /* Override any gcc2 internal prototype to avoid an error. */
28272 #ifdef __cplusplus
28273 extern "C"
28274 #endif
28275 /* We use char because int might match the return type of a gcc2
28276 builtin and then its argument prototype would still apply. */
28277 char sinl ();
28279 main ()
28281 sinl ();
28283 return 0;
28285 _ACEOF
28286 rm -f conftest.$ac_objext conftest$ac_exeext
28287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28288 (eval $ac_link) 2>conftest.er1
28289 ac_status=$?
28290 grep -v '^ *+' conftest.er1 >conftest.err
28291 rm -f conftest.er1
28292 cat conftest.err >&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } &&
28295 { ac_try='test -z "$ac_c_werror_flag"
28296 || test ! -s conftest.err'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28299 ac_status=$?
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; } &&
28302 { ac_try='test -s conftest$ac_exeext'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28308 ac_cv_lib_m_sinl=yes
28309 else
28310 echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.$ac_ext >&5
28313 ac_cv_lib_m_sinl=no
28315 rm -f conftest.err conftest.$ac_objext \
28316 conftest$ac_exeext conftest.$ac_ext
28317 LIBS=$ac_check_lib_save_LIBS
28319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28320 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28321 if test $ac_cv_lib_m_sinl = yes; then
28323 cat >>confdefs.h <<\_ACEOF
28324 #define HAVE_SINL 1
28325 _ACEOF
28329 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28330 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28331 if test "${ac_cv_lib_m_csinf+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334 ac_check_lib_save_LIBS=$LIBS
28335 LIBS="-lm $LIBS"
28336 if test x$gcc_no_link = xyes; then
28337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28339 { (exit 1); exit 1; }; }
28341 cat >conftest.$ac_ext <<_ACEOF
28342 /* confdefs.h. */
28343 _ACEOF
28344 cat confdefs.h >>conftest.$ac_ext
28345 cat >>conftest.$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28348 /* Override any gcc2 internal prototype to avoid an error. */
28349 #ifdef __cplusplus
28350 extern "C"
28351 #endif
28352 /* We use char because int might match the return type of a gcc2
28353 builtin and then its argument prototype would still apply. */
28354 char csinf ();
28356 main ()
28358 csinf ();
28360 return 0;
28362 _ACEOF
28363 rm -f conftest.$ac_objext conftest$ac_exeext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28365 (eval $ac_link) 2>conftest.er1
28366 ac_status=$?
28367 grep -v '^ *+' conftest.er1 >conftest.err
28368 rm -f conftest.er1
28369 cat conftest.err >&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try='test -z "$ac_c_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28376 ac_status=$?
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try='test -s conftest$ac_exeext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28385 ac_cv_lib_m_csinf=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28390 ac_cv_lib_m_csinf=no
28392 rm -f conftest.err conftest.$ac_objext \
28393 conftest$ac_exeext conftest.$ac_ext
28394 LIBS=$ac_check_lib_save_LIBS
28396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28397 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28398 if test $ac_cv_lib_m_csinf = yes; then
28400 cat >>confdefs.h <<\_ACEOF
28401 #define HAVE_CSINF 1
28402 _ACEOF
28406 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28407 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28408 if test "${ac_cv_lib_m_csin+set}" = set; then
28409 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 else
28411 ac_check_lib_save_LIBS=$LIBS
28412 LIBS="-lm $LIBS"
28413 if test x$gcc_no_link = xyes; then
28414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28416 { (exit 1); exit 1; }; }
28418 cat >conftest.$ac_ext <<_ACEOF
28419 /* confdefs.h. */
28420 _ACEOF
28421 cat confdefs.h >>conftest.$ac_ext
28422 cat >>conftest.$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28425 /* Override any gcc2 internal prototype to avoid an error. */
28426 #ifdef __cplusplus
28427 extern "C"
28428 #endif
28429 /* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28431 char csin ();
28433 main ()
28435 csin ();
28437 return 0;
28439 _ACEOF
28440 rm -f conftest.$ac_objext conftest$ac_exeext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28442 (eval $ac_link) 2>conftest.er1
28443 ac_status=$?
28444 grep -v '^ *+' conftest.er1 >conftest.err
28445 rm -f conftest.er1
28446 cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try='test -z "$ac_c_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28453 ac_status=$?
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try='test -s conftest$ac_exeext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28459 ac_status=$?
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28462 ac_cv_lib_m_csin=yes
28463 else
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.$ac_ext >&5
28467 ac_cv_lib_m_csin=no
28469 rm -f conftest.err conftest.$ac_objext \
28470 conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28474 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28475 if test $ac_cv_lib_m_csin = yes; then
28477 cat >>confdefs.h <<\_ACEOF
28478 #define HAVE_CSIN 1
28479 _ACEOF
28483 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28484 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28485 if test "${ac_cv_lib_m_csinl+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488 ac_check_lib_save_LIBS=$LIBS
28489 LIBS="-lm $LIBS"
28490 if test x$gcc_no_link = xyes; then
28491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28493 { (exit 1); exit 1; }; }
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28502 /* Override any gcc2 internal prototype to avoid an error. */
28503 #ifdef __cplusplus
28504 extern "C"
28505 #endif
28506 /* We use char because int might match the return type of a gcc2
28507 builtin and then its argument prototype would still apply. */
28508 char csinl ();
28510 main ()
28512 csinl ();
28514 return 0;
28516 _ACEOF
28517 rm -f conftest.$ac_objext conftest$ac_exeext
28518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28519 (eval $ac_link) 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try='test -z "$ac_c_werror_flag"
28527 || test ! -s conftest.err'
28528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28529 (eval $ac_try) 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); }; } &&
28533 { ac_try='test -s conftest$ac_exeext'
28534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28535 (eval $ac_try) 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; }; then
28539 ac_cv_lib_m_csinl=yes
28540 else
28541 echo "$as_me: failed program was:" >&5
28542 sed 's/^/| /' conftest.$ac_ext >&5
28544 ac_cv_lib_m_csinl=no
28546 rm -f conftest.err conftest.$ac_objext \
28547 conftest$ac_exeext conftest.$ac_ext
28548 LIBS=$ac_check_lib_save_LIBS
28550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28551 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28552 if test $ac_cv_lib_m_csinl = yes; then
28554 cat >>confdefs.h <<\_ACEOF
28555 #define HAVE_CSINL 1
28556 _ACEOF
28560 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28561 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28562 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28564 else
28565 ac_check_lib_save_LIBS=$LIBS
28566 LIBS="-lm $LIBS"
28567 if test x$gcc_no_link = xyes; then
28568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28570 { (exit 1); exit 1; }; }
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28579 /* Override any gcc2 internal prototype to avoid an error. */
28580 #ifdef __cplusplus
28581 extern "C"
28582 #endif
28583 /* We use char because int might match the return type of a gcc2
28584 builtin and then its argument prototype would still apply. */
28585 char sinhf ();
28587 main ()
28589 sinhf ();
28591 return 0;
28593 _ACEOF
28594 rm -f conftest.$ac_objext conftest$ac_exeext
28595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28596 (eval $ac_link) 2>conftest.er1
28597 ac_status=$?
28598 grep -v '^ *+' conftest.er1 >conftest.err
28599 rm -f conftest.er1
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } &&
28603 { ac_try='test -z "$ac_c_werror_flag"
28604 || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28607 ac_status=$?
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try='test -s conftest$ac_exeext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28613 ac_status=$?
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616 ac_cv_lib_m_sinhf=yes
28617 else
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.$ac_ext >&5
28621 ac_cv_lib_m_sinhf=no
28623 rm -f conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 LIBS=$ac_check_lib_save_LIBS
28627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28628 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28629 if test $ac_cv_lib_m_sinhf = yes; then
28631 cat >>confdefs.h <<\_ACEOF
28632 #define HAVE_SINHF 1
28633 _ACEOF
28637 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28638 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28639 if test "${ac_cv_lib_m_sinh+set}" = set; then
28640 echo $ECHO_N "(cached) $ECHO_C" >&6
28641 else
28642 ac_check_lib_save_LIBS=$LIBS
28643 LIBS="-lm $LIBS"
28644 if test x$gcc_no_link = xyes; then
28645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28647 { (exit 1); exit 1; }; }
28649 cat >conftest.$ac_ext <<_ACEOF
28650 /* confdefs.h. */
28651 _ACEOF
28652 cat confdefs.h >>conftest.$ac_ext
28653 cat >>conftest.$ac_ext <<_ACEOF
28654 /* end confdefs.h. */
28656 /* Override any gcc2 internal prototype to avoid an error. */
28657 #ifdef __cplusplus
28658 extern "C"
28659 #endif
28660 /* We use char because int might match the return type of a gcc2
28661 builtin and then its argument prototype would still apply. */
28662 char sinh ();
28664 main ()
28666 sinh ();
28668 return 0;
28670 _ACEOF
28671 rm -f conftest.$ac_objext conftest$ac_exeext
28672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28673 (eval $ac_link) 2>conftest.er1
28674 ac_status=$?
28675 grep -v '^ *+' conftest.er1 >conftest.err
28676 rm -f conftest.er1
28677 cat conftest.err >&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try='test -z "$ac_c_werror_flag"
28681 || test ! -s conftest.err'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28684 ac_status=$?
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; } &&
28687 { ac_try='test -s conftest$ac_exeext'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; }; then
28693 ac_cv_lib_m_sinh=yes
28694 else
28695 echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28698 ac_cv_lib_m_sinh=no
28700 rm -f conftest.err conftest.$ac_objext \
28701 conftest$ac_exeext conftest.$ac_ext
28702 LIBS=$ac_check_lib_save_LIBS
28704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28705 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28706 if test $ac_cv_lib_m_sinh = yes; then
28708 cat >>confdefs.h <<\_ACEOF
28709 #define HAVE_SINH 1
28710 _ACEOF
28714 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28715 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28716 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 else
28719 ac_check_lib_save_LIBS=$LIBS
28720 LIBS="-lm $LIBS"
28721 if test x$gcc_no_link = xyes; then
28722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28724 { (exit 1); exit 1; }; }
28726 cat >conftest.$ac_ext <<_ACEOF
28727 /* confdefs.h. */
28728 _ACEOF
28729 cat confdefs.h >>conftest.$ac_ext
28730 cat >>conftest.$ac_ext <<_ACEOF
28731 /* end confdefs.h. */
28733 /* Override any gcc2 internal prototype to avoid an error. */
28734 #ifdef __cplusplus
28735 extern "C"
28736 #endif
28737 /* We use char because int might match the return type of a gcc2
28738 builtin and then its argument prototype would still apply. */
28739 char sinhl ();
28741 main ()
28743 sinhl ();
28745 return 0;
28747 _ACEOF
28748 rm -f conftest.$ac_objext conftest$ac_exeext
28749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28750 (eval $ac_link) 2>conftest.er1
28751 ac_status=$?
28752 grep -v '^ *+' conftest.er1 >conftest.err
28753 rm -f conftest.er1
28754 cat conftest.err >&5
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); } &&
28757 { ac_try='test -z "$ac_c_werror_flag"
28758 || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28761 ac_status=$?
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try='test -s conftest$ac_exeext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_lib_m_sinhl=yes
28771 else
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28775 ac_cv_lib_m_sinhl=no
28777 rm -f conftest.err conftest.$ac_objext \
28778 conftest$ac_exeext conftest.$ac_ext
28779 LIBS=$ac_check_lib_save_LIBS
28781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28782 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28783 if test $ac_cv_lib_m_sinhl = yes; then
28785 cat >>confdefs.h <<\_ACEOF
28786 #define HAVE_SINHL 1
28787 _ACEOF
28791 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28792 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28793 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 else
28796 ac_check_lib_save_LIBS=$LIBS
28797 LIBS="-lm $LIBS"
28798 if test x$gcc_no_link = xyes; then
28799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28801 { (exit 1); exit 1; }; }
28803 cat >conftest.$ac_ext <<_ACEOF
28804 /* confdefs.h. */
28805 _ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28810 /* Override any gcc2 internal prototype to avoid an error. */
28811 #ifdef __cplusplus
28812 extern "C"
28813 #endif
28814 /* We use char because int might match the return type of a gcc2
28815 builtin and then its argument prototype would still apply. */
28816 char csinhf ();
28818 main ()
28820 csinhf ();
28822 return 0;
28824 _ACEOF
28825 rm -f conftest.$ac_objext conftest$ac_exeext
28826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28827 (eval $ac_link) 2>conftest.er1
28828 ac_status=$?
28829 grep -v '^ *+' conftest.er1 >conftest.err
28830 rm -f conftest.er1
28831 cat conftest.err >&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } &&
28834 { ac_try='test -z "$ac_c_werror_flag"
28835 || test ! -s conftest.err'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try='test -s conftest$ac_exeext'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28847 ac_cv_lib_m_csinhf=yes
28848 else
28849 echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.$ac_ext >&5
28852 ac_cv_lib_m_csinhf=no
28854 rm -f conftest.err conftest.$ac_objext \
28855 conftest$ac_exeext conftest.$ac_ext
28856 LIBS=$ac_check_lib_save_LIBS
28858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28859 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28860 if test $ac_cv_lib_m_csinhf = yes; then
28862 cat >>confdefs.h <<\_ACEOF
28863 #define HAVE_CSINHF 1
28864 _ACEOF
28868 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28869 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28870 if test "${ac_cv_lib_m_csinh+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 else
28873 ac_check_lib_save_LIBS=$LIBS
28874 LIBS="-lm $LIBS"
28875 if test x$gcc_no_link = xyes; then
28876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28878 { (exit 1); exit 1; }; }
28880 cat >conftest.$ac_ext <<_ACEOF
28881 /* confdefs.h. */
28882 _ACEOF
28883 cat confdefs.h >>conftest.$ac_ext
28884 cat >>conftest.$ac_ext <<_ACEOF
28885 /* end confdefs.h. */
28887 /* Override any gcc2 internal prototype to avoid an error. */
28888 #ifdef __cplusplus
28889 extern "C"
28890 #endif
28891 /* We use char because int might match the return type of a gcc2
28892 builtin and then its argument prototype would still apply. */
28893 char csinh ();
28895 main ()
28897 csinh ();
28899 return 0;
28901 _ACEOF
28902 rm -f conftest.$ac_objext conftest$ac_exeext
28903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28904 (eval $ac_link) 2>conftest.er1
28905 ac_status=$?
28906 grep -v '^ *+' conftest.er1 >conftest.err
28907 rm -f conftest.er1
28908 cat conftest.err >&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } &&
28911 { ac_try='test -z "$ac_c_werror_flag"
28912 || test ! -s conftest.err'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28915 ac_status=$?
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; } &&
28918 { ac_try='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28921 ac_status=$?
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 ac_cv_lib_m_csinh=yes
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28929 ac_cv_lib_m_csinh=no
28931 rm -f conftest.err conftest.$ac_objext \
28932 conftest$ac_exeext conftest.$ac_ext
28933 LIBS=$ac_check_lib_save_LIBS
28935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28936 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28937 if test $ac_cv_lib_m_csinh = yes; then
28939 cat >>confdefs.h <<\_ACEOF
28940 #define HAVE_CSINH 1
28941 _ACEOF
28945 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28946 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28947 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28950 ac_check_lib_save_LIBS=$LIBS
28951 LIBS="-lm $LIBS"
28952 if test x$gcc_no_link = xyes; then
28953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28955 { (exit 1); exit 1; }; }
28957 cat >conftest.$ac_ext <<_ACEOF
28958 /* confdefs.h. */
28959 _ACEOF
28960 cat confdefs.h >>conftest.$ac_ext
28961 cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28964 /* Override any gcc2 internal prototype to avoid an error. */
28965 #ifdef __cplusplus
28966 extern "C"
28967 #endif
28968 /* We use char because int might match the return type of a gcc2
28969 builtin and then its argument prototype would still apply. */
28970 char csinhl ();
28972 main ()
28974 csinhl ();
28976 return 0;
28978 _ACEOF
28979 rm -f conftest.$ac_objext conftest$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28982 ac_status=$?
28983 grep -v '^ *+' conftest.er1 >conftest.err
28984 rm -f conftest.er1
28985 cat conftest.err >&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try='test -z "$ac_c_werror_flag"
28989 || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try='test -s conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28998 ac_status=$?
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_lib_m_csinhl=yes
29002 else
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.$ac_ext >&5
29006 ac_cv_lib_m_csinhl=no
29008 rm -f conftest.err conftest.$ac_objext \
29009 conftest$ac_exeext conftest.$ac_ext
29010 LIBS=$ac_check_lib_save_LIBS
29012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
29013 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
29014 if test $ac_cv_lib_m_csinhl = yes; then
29016 cat >>confdefs.h <<\_ACEOF
29017 #define HAVE_CSINHL 1
29018 _ACEOF
29022 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
29023 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
29024 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
29025 echo $ECHO_N "(cached) $ECHO_C" >&6
29026 else
29027 ac_check_lib_save_LIBS=$LIBS
29028 LIBS="-lm $LIBS"
29029 if test x$gcc_no_link = xyes; then
29030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29032 { (exit 1); exit 1; }; }
29034 cat >conftest.$ac_ext <<_ACEOF
29035 /* confdefs.h. */
29036 _ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29041 /* Override any gcc2 internal prototype to avoid an error. */
29042 #ifdef __cplusplus
29043 extern "C"
29044 #endif
29045 /* We use char because int might match the return type of a gcc2
29046 builtin and then its argument prototype would still apply. */
29047 char sqrtf ();
29049 main ()
29051 sqrtf ();
29053 return 0;
29055 _ACEOF
29056 rm -f conftest.$ac_objext conftest$ac_exeext
29057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29058 (eval $ac_link) 2>conftest.er1
29059 ac_status=$?
29060 grep -v '^ *+' conftest.er1 >conftest.err
29061 rm -f conftest.er1
29062 cat conftest.err >&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try='test -z "$ac_c_werror_flag"
29066 || test ! -s conftest.err'
29067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29068 (eval $ac_try) 2>&5
29069 ac_status=$?
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); }; } &&
29072 { ac_try='test -s conftest$ac_exeext'
29073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29074 (eval $ac_try) 2>&5
29075 ac_status=$?
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_cv_lib_m_sqrtf=yes
29079 else
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.$ac_ext >&5
29083 ac_cv_lib_m_sqrtf=no
29085 rm -f conftest.err conftest.$ac_objext \
29086 conftest$ac_exeext conftest.$ac_ext
29087 LIBS=$ac_check_lib_save_LIBS
29089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
29090 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
29091 if test $ac_cv_lib_m_sqrtf = yes; then
29093 cat >>confdefs.h <<\_ACEOF
29094 #define HAVE_SQRTF 1
29095 _ACEOF
29099 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
29100 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
29101 if test "${ac_cv_lib_m_sqrt+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29103 else
29104 ac_check_lib_save_LIBS=$LIBS
29105 LIBS="-lm $LIBS"
29106 if test x$gcc_no_link = xyes; then
29107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29109 { (exit 1); exit 1; }; }
29111 cat >conftest.$ac_ext <<_ACEOF
29112 /* confdefs.h. */
29113 _ACEOF
29114 cat confdefs.h >>conftest.$ac_ext
29115 cat >>conftest.$ac_ext <<_ACEOF
29116 /* end confdefs.h. */
29118 /* Override any gcc2 internal prototype to avoid an error. */
29119 #ifdef __cplusplus
29120 extern "C"
29121 #endif
29122 /* We use char because int might match the return type of a gcc2
29123 builtin and then its argument prototype would still apply. */
29124 char sqrt ();
29126 main ()
29128 sqrt ();
29130 return 0;
29132 _ACEOF
29133 rm -f conftest.$ac_objext conftest$ac_exeext
29134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29135 (eval $ac_link) 2>conftest.er1
29136 ac_status=$?
29137 grep -v '^ *+' conftest.er1 >conftest.err
29138 rm -f conftest.er1
29139 cat conftest.err >&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } &&
29142 { ac_try='test -z "$ac_c_werror_flag"
29143 || test ! -s conftest.err'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; } &&
29149 { ac_try='test -s conftest$ac_exeext'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; }; then
29155 ac_cv_lib_m_sqrt=yes
29156 else
29157 echo "$as_me: failed program was:" >&5
29158 sed 's/^/| /' conftest.$ac_ext >&5
29160 ac_cv_lib_m_sqrt=no
29162 rm -f conftest.err conftest.$ac_objext \
29163 conftest$ac_exeext conftest.$ac_ext
29164 LIBS=$ac_check_lib_save_LIBS
29166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
29167 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
29168 if test $ac_cv_lib_m_sqrt = yes; then
29170 cat >>confdefs.h <<\_ACEOF
29171 #define HAVE_SQRT 1
29172 _ACEOF
29176 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
29177 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
29178 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29181 ac_check_lib_save_LIBS=$LIBS
29182 LIBS="-lm $LIBS"
29183 if test x$gcc_no_link = xyes; then
29184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29186 { (exit 1); exit 1; }; }
29188 cat >conftest.$ac_ext <<_ACEOF
29189 /* confdefs.h. */
29190 _ACEOF
29191 cat confdefs.h >>conftest.$ac_ext
29192 cat >>conftest.$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29195 /* Override any gcc2 internal prototype to avoid an error. */
29196 #ifdef __cplusplus
29197 extern "C"
29198 #endif
29199 /* We use char because int might match the return type of a gcc2
29200 builtin and then its argument prototype would still apply. */
29201 char sqrtl ();
29203 main ()
29205 sqrtl ();
29207 return 0;
29209 _ACEOF
29210 rm -f conftest.$ac_objext conftest$ac_exeext
29211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29212 (eval $ac_link) 2>conftest.er1
29213 ac_status=$?
29214 grep -v '^ *+' conftest.er1 >conftest.err
29215 rm -f conftest.er1
29216 cat conftest.err >&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); } &&
29219 { ac_try='test -z "$ac_c_werror_flag"
29220 || test ! -s conftest.err'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29223 ac_status=$?
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; } &&
29226 { ac_try='test -s conftest$ac_exeext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29229 ac_status=$?
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 ac_cv_lib_m_sqrtl=yes
29233 else
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.$ac_ext >&5
29237 ac_cv_lib_m_sqrtl=no
29239 rm -f conftest.err conftest.$ac_objext \
29240 conftest$ac_exeext conftest.$ac_ext
29241 LIBS=$ac_check_lib_save_LIBS
29243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29244 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29245 if test $ac_cv_lib_m_sqrtl = yes; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define HAVE_SQRTL 1
29249 _ACEOF
29253 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29254 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29255 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 else
29258 ac_check_lib_save_LIBS=$LIBS
29259 LIBS="-lm $LIBS"
29260 if test x$gcc_no_link = xyes; then
29261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29263 { (exit 1); exit 1; }; }
29265 cat >conftest.$ac_ext <<_ACEOF
29266 /* confdefs.h. */
29267 _ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29272 /* Override any gcc2 internal prototype to avoid an error. */
29273 #ifdef __cplusplus
29274 extern "C"
29275 #endif
29276 /* We use char because int might match the return type of a gcc2
29277 builtin and then its argument prototype would still apply. */
29278 char csqrtf ();
29280 main ()
29282 csqrtf ();
29284 return 0;
29286 _ACEOF
29287 rm -f conftest.$ac_objext conftest$ac_exeext
29288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29289 (eval $ac_link) 2>conftest.er1
29290 ac_status=$?
29291 grep -v '^ *+' conftest.er1 >conftest.err
29292 rm -f conftest.er1
29293 cat conftest.err >&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); } &&
29296 { ac_try='test -z "$ac_c_werror_flag"
29297 || test ! -s conftest.err'
29298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29299 (eval $ac_try) 2>&5
29300 ac_status=$?
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); }; } &&
29303 { ac_try='test -s conftest$ac_exeext'
29304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29305 (eval $ac_try) 2>&5
29306 ac_status=$?
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); }; }; then
29309 ac_cv_lib_m_csqrtf=yes
29310 else
29311 echo "$as_me: failed program was:" >&5
29312 sed 's/^/| /' conftest.$ac_ext >&5
29314 ac_cv_lib_m_csqrtf=no
29316 rm -f conftest.err conftest.$ac_objext \
29317 conftest$ac_exeext conftest.$ac_ext
29318 LIBS=$ac_check_lib_save_LIBS
29320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29321 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29322 if test $ac_cv_lib_m_csqrtf = yes; then
29324 cat >>confdefs.h <<\_ACEOF
29325 #define HAVE_CSQRTF 1
29326 _ACEOF
29330 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29331 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29332 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29335 ac_check_lib_save_LIBS=$LIBS
29336 LIBS="-lm $LIBS"
29337 if test x$gcc_no_link = xyes; then
29338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29340 { (exit 1); exit 1; }; }
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29349 /* Override any gcc2 internal prototype to avoid an error. */
29350 #ifdef __cplusplus
29351 extern "C"
29352 #endif
29353 /* We use char because int might match the return type of a gcc2
29354 builtin and then its argument prototype would still apply. */
29355 char csqrt ();
29357 main ()
29359 csqrt ();
29361 return 0;
29363 _ACEOF
29364 rm -f conftest.$ac_objext conftest$ac_exeext
29365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29366 (eval $ac_link) 2>conftest.er1
29367 ac_status=$?
29368 grep -v '^ *+' conftest.er1 >conftest.err
29369 rm -f conftest.er1
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } &&
29373 { ac_try='test -z "$ac_c_werror_flag"
29374 || test ! -s conftest.err'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; } &&
29380 { ac_try='test -s conftest$ac_exeext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29383 ac_status=$?
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 ac_cv_lib_m_csqrt=yes
29387 else
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29391 ac_cv_lib_m_csqrt=no
29393 rm -f conftest.err conftest.$ac_objext \
29394 conftest$ac_exeext conftest.$ac_ext
29395 LIBS=$ac_check_lib_save_LIBS
29397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29398 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29399 if test $ac_cv_lib_m_csqrt = yes; then
29401 cat >>confdefs.h <<\_ACEOF
29402 #define HAVE_CSQRT 1
29403 _ACEOF
29407 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29408 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29409 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 ac_check_lib_save_LIBS=$LIBS
29413 LIBS="-lm $LIBS"
29414 if test x$gcc_no_link = xyes; then
29415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29417 { (exit 1); exit 1; }; }
29419 cat >conftest.$ac_ext <<_ACEOF
29420 /* confdefs.h. */
29421 _ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29426 /* Override any gcc2 internal prototype to avoid an error. */
29427 #ifdef __cplusplus
29428 extern "C"
29429 #endif
29430 /* We use char because int might match the return type of a gcc2
29431 builtin and then its argument prototype would still apply. */
29432 char csqrtl ();
29434 main ()
29436 csqrtl ();
29438 return 0;
29440 _ACEOF
29441 rm -f conftest.$ac_objext conftest$ac_exeext
29442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29443 (eval $ac_link) 2>conftest.er1
29444 ac_status=$?
29445 grep -v '^ *+' conftest.er1 >conftest.err
29446 rm -f conftest.er1
29447 cat conftest.err >&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); } &&
29450 { ac_try='test -z "$ac_c_werror_flag"
29451 || test ! -s conftest.err'
29452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453 (eval $ac_try) 2>&5
29454 ac_status=$?
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; } &&
29457 { ac_try='test -s conftest$ac_exeext'
29458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29459 (eval $ac_try) 2>&5
29460 ac_status=$?
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); }; }; then
29463 ac_cv_lib_m_csqrtl=yes
29464 else
29465 echo "$as_me: failed program was:" >&5
29466 sed 's/^/| /' conftest.$ac_ext >&5
29468 ac_cv_lib_m_csqrtl=no
29470 rm -f conftest.err conftest.$ac_objext \
29471 conftest$ac_exeext conftest.$ac_ext
29472 LIBS=$ac_check_lib_save_LIBS
29474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29475 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29476 if test $ac_cv_lib_m_csqrtl = yes; then
29478 cat >>confdefs.h <<\_ACEOF
29479 #define HAVE_CSQRTL 1
29480 _ACEOF
29484 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29485 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29486 if test "${ac_cv_lib_m_tanf+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 ac_check_lib_save_LIBS=$LIBS
29490 LIBS="-lm $LIBS"
29491 if test x$gcc_no_link = xyes; then
29492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29494 { (exit 1); exit 1; }; }
29496 cat >conftest.$ac_ext <<_ACEOF
29497 /* confdefs.h. */
29498 _ACEOF
29499 cat confdefs.h >>conftest.$ac_ext
29500 cat >>conftest.$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29503 /* Override any gcc2 internal prototype to avoid an error. */
29504 #ifdef __cplusplus
29505 extern "C"
29506 #endif
29507 /* We use char because int might match the return type of a gcc2
29508 builtin and then its argument prototype would still apply. */
29509 char tanf ();
29511 main ()
29513 tanf ();
29515 return 0;
29517 _ACEOF
29518 rm -f conftest.$ac_objext conftest$ac_exeext
29519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29520 (eval $ac_link) 2>conftest.er1
29521 ac_status=$?
29522 grep -v '^ *+' conftest.er1 >conftest.err
29523 rm -f conftest.er1
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } &&
29527 { ac_try='test -z "$ac_c_werror_flag"
29528 || test ! -s conftest.err'
29529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29530 (eval $ac_try) 2>&5
29531 ac_status=$?
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); }; } &&
29534 { ac_try='test -s conftest$ac_exeext'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; }; then
29540 ac_cv_lib_m_tanf=yes
29541 else
29542 echo "$as_me: failed program was:" >&5
29543 sed 's/^/| /' conftest.$ac_ext >&5
29545 ac_cv_lib_m_tanf=no
29547 rm -f conftest.err conftest.$ac_objext \
29548 conftest$ac_exeext conftest.$ac_ext
29549 LIBS=$ac_check_lib_save_LIBS
29551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29552 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29553 if test $ac_cv_lib_m_tanf = yes; then
29555 cat >>confdefs.h <<\_ACEOF
29556 #define HAVE_TANF 1
29557 _ACEOF
29561 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29562 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29563 if test "${ac_cv_lib_m_tan+set}" = set; then
29564 echo $ECHO_N "(cached) $ECHO_C" >&6
29565 else
29566 ac_check_lib_save_LIBS=$LIBS
29567 LIBS="-lm $LIBS"
29568 if test x$gcc_no_link = xyes; then
29569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29571 { (exit 1); exit 1; }; }
29573 cat >conftest.$ac_ext <<_ACEOF
29574 /* confdefs.h. */
29575 _ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29580 /* Override any gcc2 internal prototype to avoid an error. */
29581 #ifdef __cplusplus
29582 extern "C"
29583 #endif
29584 /* We use char because int might match the return type of a gcc2
29585 builtin and then its argument prototype would still apply. */
29586 char tan ();
29588 main ()
29590 tan ();
29592 return 0;
29594 _ACEOF
29595 rm -f conftest.$ac_objext conftest$ac_exeext
29596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29597 (eval $ac_link) 2>conftest.er1
29598 ac_status=$?
29599 grep -v '^ *+' conftest.er1 >conftest.err
29600 rm -f conftest.er1
29601 cat conftest.err >&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } &&
29604 { ac_try='test -z "$ac_c_werror_flag"
29605 || test ! -s conftest.err'
29606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29607 (eval $ac_try) 2>&5
29608 ac_status=$?
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); }; } &&
29611 { ac_try='test -s conftest$ac_exeext'
29612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29613 (eval $ac_try) 2>&5
29614 ac_status=$?
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; }; then
29617 ac_cv_lib_m_tan=yes
29618 else
29619 echo "$as_me: failed program was:" >&5
29620 sed 's/^/| /' conftest.$ac_ext >&5
29622 ac_cv_lib_m_tan=no
29624 rm -f conftest.err conftest.$ac_objext \
29625 conftest$ac_exeext conftest.$ac_ext
29626 LIBS=$ac_check_lib_save_LIBS
29628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29629 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29630 if test $ac_cv_lib_m_tan = yes; then
29632 cat >>confdefs.h <<\_ACEOF
29633 #define HAVE_TAN 1
29634 _ACEOF
29638 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29639 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29640 if test "${ac_cv_lib_m_tanl+set}" = set; then
29641 echo $ECHO_N "(cached) $ECHO_C" >&6
29642 else
29643 ac_check_lib_save_LIBS=$LIBS
29644 LIBS="-lm $LIBS"
29645 if test x$gcc_no_link = xyes; then
29646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29648 { (exit 1); exit 1; }; }
29650 cat >conftest.$ac_ext <<_ACEOF
29651 /* confdefs.h. */
29652 _ACEOF
29653 cat confdefs.h >>conftest.$ac_ext
29654 cat >>conftest.$ac_ext <<_ACEOF
29655 /* end confdefs.h. */
29657 /* Override any gcc2 internal prototype to avoid an error. */
29658 #ifdef __cplusplus
29659 extern "C"
29660 #endif
29661 /* We use char because int might match the return type of a gcc2
29662 builtin and then its argument prototype would still apply. */
29663 char tanl ();
29665 main ()
29667 tanl ();
29669 return 0;
29671 _ACEOF
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29674 (eval $ac_link) 2>conftest.er1
29675 ac_status=$?
29676 grep -v '^ *+' conftest.er1 >conftest.err
29677 rm -f conftest.er1
29678 cat conftest.err >&5
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); } &&
29681 { ac_try='test -z "$ac_c_werror_flag"
29682 || test ! -s conftest.err'
29683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29684 (eval $ac_try) 2>&5
29685 ac_status=$?
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); }; } &&
29688 { ac_try='test -s conftest$ac_exeext'
29689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29690 (eval $ac_try) 2>&5
29691 ac_status=$?
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); }; }; then
29694 ac_cv_lib_m_tanl=yes
29695 else
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29699 ac_cv_lib_m_tanl=no
29701 rm -f conftest.err conftest.$ac_objext \
29702 conftest$ac_exeext conftest.$ac_ext
29703 LIBS=$ac_check_lib_save_LIBS
29705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29706 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29707 if test $ac_cv_lib_m_tanl = yes; then
29709 cat >>confdefs.h <<\_ACEOF
29710 #define HAVE_TANL 1
29711 _ACEOF
29715 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29716 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29717 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29718 echo $ECHO_N "(cached) $ECHO_C" >&6
29719 else
29720 ac_check_lib_save_LIBS=$LIBS
29721 LIBS="-lm $LIBS"
29722 if test x$gcc_no_link = xyes; then
29723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29725 { (exit 1); exit 1; }; }
29727 cat >conftest.$ac_ext <<_ACEOF
29728 /* confdefs.h. */
29729 _ACEOF
29730 cat confdefs.h >>conftest.$ac_ext
29731 cat >>conftest.$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29734 /* Override any gcc2 internal prototype to avoid an error. */
29735 #ifdef __cplusplus
29736 extern "C"
29737 #endif
29738 /* We use char because int might match the return type of a gcc2
29739 builtin and then its argument prototype would still apply. */
29740 char ctanf ();
29742 main ()
29744 ctanf ();
29746 return 0;
29748 _ACEOF
29749 rm -f conftest.$ac_objext conftest$ac_exeext
29750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29751 (eval $ac_link) 2>conftest.er1
29752 ac_status=$?
29753 grep -v '^ *+' conftest.er1 >conftest.err
29754 rm -f conftest.er1
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } &&
29758 { ac_try='test -z "$ac_c_werror_flag"
29759 || test ! -s conftest.err'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29762 ac_status=$?
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29765 { ac_try='test -s conftest$ac_exeext'
29766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29767 (eval $ac_try) 2>&5
29768 ac_status=$?
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); }; }; then
29771 ac_cv_lib_m_ctanf=yes
29772 else
29773 echo "$as_me: failed program was:" >&5
29774 sed 's/^/| /' conftest.$ac_ext >&5
29776 ac_cv_lib_m_ctanf=no
29778 rm -f conftest.err conftest.$ac_objext \
29779 conftest$ac_exeext conftest.$ac_ext
29780 LIBS=$ac_check_lib_save_LIBS
29782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29783 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29784 if test $ac_cv_lib_m_ctanf = yes; then
29786 cat >>confdefs.h <<\_ACEOF
29787 #define HAVE_CTANF 1
29788 _ACEOF
29792 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29793 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29794 if test "${ac_cv_lib_m_ctan+set}" = set; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29797 ac_check_lib_save_LIBS=$LIBS
29798 LIBS="-lm $LIBS"
29799 if test x$gcc_no_link = xyes; then
29800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29802 { (exit 1); exit 1; }; }
29804 cat >conftest.$ac_ext <<_ACEOF
29805 /* confdefs.h. */
29806 _ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 /* Override any gcc2 internal prototype to avoid an error. */
29812 #ifdef __cplusplus
29813 extern "C"
29814 #endif
29815 /* We use char because int might match the return type of a gcc2
29816 builtin and then its argument prototype would still apply. */
29817 char ctan ();
29819 main ()
29821 ctan ();
29823 return 0;
29825 _ACEOF
29826 rm -f conftest.$ac_objext conftest$ac_exeext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29828 (eval $ac_link) 2>conftest.er1
29829 ac_status=$?
29830 grep -v '^ *+' conftest.er1 >conftest.err
29831 rm -f conftest.er1
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } &&
29835 { ac_try='test -z "$ac_c_werror_flag"
29836 || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try='test -s conftest$ac_exeext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848 ac_cv_lib_m_ctan=yes
29849 else
29850 echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29853 ac_cv_lib_m_ctan=no
29855 rm -f conftest.err conftest.$ac_objext \
29856 conftest$ac_exeext conftest.$ac_ext
29857 LIBS=$ac_check_lib_save_LIBS
29859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29860 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29861 if test $ac_cv_lib_m_ctan = yes; then
29863 cat >>confdefs.h <<\_ACEOF
29864 #define HAVE_CTAN 1
29865 _ACEOF
29869 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29870 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29871 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29873 else
29874 ac_check_lib_save_LIBS=$LIBS
29875 LIBS="-lm $LIBS"
29876 if test x$gcc_no_link = xyes; then
29877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29879 { (exit 1); exit 1; }; }
29881 cat >conftest.$ac_ext <<_ACEOF
29882 /* confdefs.h. */
29883 _ACEOF
29884 cat confdefs.h >>conftest.$ac_ext
29885 cat >>conftest.$ac_ext <<_ACEOF
29886 /* end confdefs.h. */
29888 /* Override any gcc2 internal prototype to avoid an error. */
29889 #ifdef __cplusplus
29890 extern "C"
29891 #endif
29892 /* We use char because int might match the return type of a gcc2
29893 builtin and then its argument prototype would still apply. */
29894 char ctanl ();
29896 main ()
29898 ctanl ();
29900 return 0;
29902 _ACEOF
29903 rm -f conftest.$ac_objext conftest$ac_exeext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29905 (eval $ac_link) 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try='test -z "$ac_c_werror_flag"
29913 || test ! -s conftest.err'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; } &&
29919 { ac_try='test -s conftest$ac_exeext'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29922 ac_status=$?
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; }; then
29925 ac_cv_lib_m_ctanl=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29930 ac_cv_lib_m_ctanl=no
29932 rm -f conftest.err conftest.$ac_objext \
29933 conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29937 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29938 if test $ac_cv_lib_m_ctanl = yes; then
29940 cat >>confdefs.h <<\_ACEOF
29941 #define HAVE_CTANL 1
29942 _ACEOF
29946 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29947 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29948 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 else
29951 ac_check_lib_save_LIBS=$LIBS
29952 LIBS="-lm $LIBS"
29953 if test x$gcc_no_link = xyes; then
29954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29956 { (exit 1); exit 1; }; }
29958 cat >conftest.$ac_ext <<_ACEOF
29959 /* confdefs.h. */
29960 _ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29965 /* Override any gcc2 internal prototype to avoid an error. */
29966 #ifdef __cplusplus
29967 extern "C"
29968 #endif
29969 /* We use char because int might match the return type of a gcc2
29970 builtin and then its argument prototype would still apply. */
29971 char tanhf ();
29973 main ()
29975 tanhf ();
29977 return 0;
29979 _ACEOF
29980 rm -f conftest.$ac_objext conftest$ac_exeext
29981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29982 (eval $ac_link) 2>conftest.er1
29983 ac_status=$?
29984 grep -v '^ *+' conftest.er1 >conftest.err
29985 rm -f conftest.er1
29986 cat conftest.err >&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } &&
29989 { ac_try='test -z "$ac_c_werror_flag"
29990 || test ! -s conftest.err'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29993 ac_status=$?
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; } &&
29996 { ac_try='test -s conftest$ac_exeext'
29997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29998 (eval $ac_try) 2>&5
29999 ac_status=$?
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); }; }; then
30002 ac_cv_lib_m_tanhf=yes
30003 else
30004 echo "$as_me: failed program was:" >&5
30005 sed 's/^/| /' conftest.$ac_ext >&5
30007 ac_cv_lib_m_tanhf=no
30009 rm -f conftest.err conftest.$ac_objext \
30010 conftest$ac_exeext conftest.$ac_ext
30011 LIBS=$ac_check_lib_save_LIBS
30013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
30014 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
30015 if test $ac_cv_lib_m_tanhf = yes; then
30017 cat >>confdefs.h <<\_ACEOF
30018 #define HAVE_TANHF 1
30019 _ACEOF
30023 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
30024 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
30025 if test "${ac_cv_lib_m_tanh+set}" = set; then
30026 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 else
30028 ac_check_lib_save_LIBS=$LIBS
30029 LIBS="-lm $LIBS"
30030 if test x$gcc_no_link = xyes; then
30031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30033 { (exit 1); exit 1; }; }
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30042 /* Override any gcc2 internal prototype to avoid an error. */
30043 #ifdef __cplusplus
30044 extern "C"
30045 #endif
30046 /* We use char because int might match the return type of a gcc2
30047 builtin and then its argument prototype would still apply. */
30048 char tanh ();
30050 main ()
30052 tanh ();
30054 return 0;
30056 _ACEOF
30057 rm -f conftest.$ac_objext conftest$ac_exeext
30058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30059 (eval $ac_link) 2>conftest.er1
30060 ac_status=$?
30061 grep -v '^ *+' conftest.er1 >conftest.err
30062 rm -f conftest.er1
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try='test -z "$ac_c_werror_flag"
30067 || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30070 ac_status=$?
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try='test -s conftest$ac_exeext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 ac_cv_lib_m_tanh=yes
30080 else
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.$ac_ext >&5
30084 ac_cv_lib_m_tanh=no
30086 rm -f conftest.err conftest.$ac_objext \
30087 conftest$ac_exeext conftest.$ac_ext
30088 LIBS=$ac_check_lib_save_LIBS
30090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
30091 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
30092 if test $ac_cv_lib_m_tanh = yes; then
30094 cat >>confdefs.h <<\_ACEOF
30095 #define HAVE_TANH 1
30096 _ACEOF
30100 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
30101 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
30102 if test "${ac_cv_lib_m_tanhl+set}" = set; then
30103 echo $ECHO_N "(cached) $ECHO_C" >&6
30104 else
30105 ac_check_lib_save_LIBS=$LIBS
30106 LIBS="-lm $LIBS"
30107 if test x$gcc_no_link = xyes; then
30108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30110 { (exit 1); exit 1; }; }
30112 cat >conftest.$ac_ext <<_ACEOF
30113 /* confdefs.h. */
30114 _ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30119 /* Override any gcc2 internal prototype to avoid an error. */
30120 #ifdef __cplusplus
30121 extern "C"
30122 #endif
30123 /* We use char because int might match the return type of a gcc2
30124 builtin and then its argument prototype would still apply. */
30125 char tanhl ();
30127 main ()
30129 tanhl ();
30131 return 0;
30133 _ACEOF
30134 rm -f conftest.$ac_objext conftest$ac_exeext
30135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30136 (eval $ac_link) 2>conftest.er1
30137 ac_status=$?
30138 grep -v '^ *+' conftest.er1 >conftest.err
30139 rm -f conftest.er1
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } &&
30143 { ac_try='test -z "$ac_c_werror_flag"
30144 || test ! -s conftest.err'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; } &&
30150 { ac_try='test -s conftest$ac_exeext'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30153 ac_status=$?
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; }; then
30156 ac_cv_lib_m_tanhl=yes
30157 else
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30161 ac_cv_lib_m_tanhl=no
30163 rm -f conftest.err conftest.$ac_objext \
30164 conftest$ac_exeext conftest.$ac_ext
30165 LIBS=$ac_check_lib_save_LIBS
30167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
30168 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
30169 if test $ac_cv_lib_m_tanhl = yes; then
30171 cat >>confdefs.h <<\_ACEOF
30172 #define HAVE_TANHL 1
30173 _ACEOF
30177 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
30178 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
30179 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
30180 echo $ECHO_N "(cached) $ECHO_C" >&6
30181 else
30182 ac_check_lib_save_LIBS=$LIBS
30183 LIBS="-lm $LIBS"
30184 if test x$gcc_no_link = xyes; then
30185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30187 { (exit 1); exit 1; }; }
30189 cat >conftest.$ac_ext <<_ACEOF
30190 /* confdefs.h. */
30191 _ACEOF
30192 cat confdefs.h >>conftest.$ac_ext
30193 cat >>conftest.$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30196 /* Override any gcc2 internal prototype to avoid an error. */
30197 #ifdef __cplusplus
30198 extern "C"
30199 #endif
30200 /* We use char because int might match the return type of a gcc2
30201 builtin and then its argument prototype would still apply. */
30202 char ctanhf ();
30204 main ()
30206 ctanhf ();
30208 return 0;
30210 _ACEOF
30211 rm -f conftest.$ac_objext conftest$ac_exeext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30213 (eval $ac_link) 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } &&
30220 { ac_try='test -z "$ac_c_werror_flag"
30221 || test ! -s conftest.err'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30224 ac_status=$?
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try='test -s conftest$ac_exeext'
30228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30229 (eval $ac_try) 2>&5
30230 ac_status=$?
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); }; }; then
30233 ac_cv_lib_m_ctanhf=yes
30234 else
30235 echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.$ac_ext >&5
30238 ac_cv_lib_m_ctanhf=no
30240 rm -f conftest.err conftest.$ac_objext \
30241 conftest$ac_exeext conftest.$ac_ext
30242 LIBS=$ac_check_lib_save_LIBS
30244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30245 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30246 if test $ac_cv_lib_m_ctanhf = yes; then
30248 cat >>confdefs.h <<\_ACEOF
30249 #define HAVE_CTANHF 1
30250 _ACEOF
30254 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30255 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30256 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30257 echo $ECHO_N "(cached) $ECHO_C" >&6
30258 else
30259 ac_check_lib_save_LIBS=$LIBS
30260 LIBS="-lm $LIBS"
30261 if test x$gcc_no_link = xyes; then
30262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30264 { (exit 1); exit 1; }; }
30266 cat >conftest.$ac_ext <<_ACEOF
30267 /* confdefs.h. */
30268 _ACEOF
30269 cat confdefs.h >>conftest.$ac_ext
30270 cat >>conftest.$ac_ext <<_ACEOF
30271 /* end confdefs.h. */
30273 /* Override any gcc2 internal prototype to avoid an error. */
30274 #ifdef __cplusplus
30275 extern "C"
30276 #endif
30277 /* We use char because int might match the return type of a gcc2
30278 builtin and then its argument prototype would still apply. */
30279 char ctanh ();
30281 main ()
30283 ctanh ();
30285 return 0;
30287 _ACEOF
30288 rm -f conftest.$ac_objext conftest$ac_exeext
30289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30290 (eval $ac_link) 2>conftest.er1
30291 ac_status=$?
30292 grep -v '^ *+' conftest.er1 >conftest.err
30293 rm -f conftest.er1
30294 cat conftest.err >&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try='test -z "$ac_c_werror_flag"
30298 || test ! -s conftest.err'
30299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 (eval $ac_try) 2>&5
30301 ac_status=$?
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); }; } &&
30304 { ac_try='test -s conftest$ac_exeext'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30307 ac_status=$?
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; }; then
30310 ac_cv_lib_m_ctanh=yes
30311 else
30312 echo "$as_me: failed program was:" >&5
30313 sed 's/^/| /' conftest.$ac_ext >&5
30315 ac_cv_lib_m_ctanh=no
30317 rm -f conftest.err conftest.$ac_objext \
30318 conftest$ac_exeext conftest.$ac_ext
30319 LIBS=$ac_check_lib_save_LIBS
30321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30322 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30323 if test $ac_cv_lib_m_ctanh = yes; then
30325 cat >>confdefs.h <<\_ACEOF
30326 #define HAVE_CTANH 1
30327 _ACEOF
30331 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30332 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30333 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30334 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 else
30336 ac_check_lib_save_LIBS=$LIBS
30337 LIBS="-lm $LIBS"
30338 if test x$gcc_no_link = xyes; then
30339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30341 { (exit 1); exit 1; }; }
30343 cat >conftest.$ac_ext <<_ACEOF
30344 /* confdefs.h. */
30345 _ACEOF
30346 cat confdefs.h >>conftest.$ac_ext
30347 cat >>conftest.$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30350 /* Override any gcc2 internal prototype to avoid an error. */
30351 #ifdef __cplusplus
30352 extern "C"
30353 #endif
30354 /* We use char because int might match the return type of a gcc2
30355 builtin and then its argument prototype would still apply. */
30356 char ctanhl ();
30358 main ()
30360 ctanhl ();
30362 return 0;
30364 _ACEOF
30365 rm -f conftest.$ac_objext conftest$ac_exeext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30367 (eval $ac_link) 2>conftest.er1
30368 ac_status=$?
30369 grep -v '^ *+' conftest.er1 >conftest.err
30370 rm -f conftest.er1
30371 cat conftest.err >&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try='test -z "$ac_c_werror_flag"
30375 || test ! -s conftest.err'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30378 ac_status=$?
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; } &&
30381 { ac_try='test -s conftest$ac_exeext'
30382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30383 (eval $ac_try) 2>&5
30384 ac_status=$?
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); }; }; then
30387 ac_cv_lib_m_ctanhl=yes
30388 else
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.$ac_ext >&5
30392 ac_cv_lib_m_ctanhl=no
30394 rm -f conftest.err conftest.$ac_objext \
30395 conftest$ac_exeext conftest.$ac_ext
30396 LIBS=$ac_check_lib_save_LIBS
30398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30399 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30400 if test $ac_cv_lib_m_ctanhl = yes; then
30402 cat >>confdefs.h <<\_ACEOF
30403 #define HAVE_CTANHL 1
30404 _ACEOF
30408 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30409 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30410 if test "${ac_cv_lib_m_truncf+set}" = set; then
30411 echo $ECHO_N "(cached) $ECHO_C" >&6
30412 else
30413 ac_check_lib_save_LIBS=$LIBS
30414 LIBS="-lm $LIBS"
30415 if test x$gcc_no_link = xyes; then
30416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30418 { (exit 1); exit 1; }; }
30420 cat >conftest.$ac_ext <<_ACEOF
30421 /* confdefs.h. */
30422 _ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30427 /* Override any gcc2 internal prototype to avoid an error. */
30428 #ifdef __cplusplus
30429 extern "C"
30430 #endif
30431 /* We use char because int might match the return type of a gcc2
30432 builtin and then its argument prototype would still apply. */
30433 char truncf ();
30435 main ()
30437 truncf ();
30439 return 0;
30441 _ACEOF
30442 rm -f conftest.$ac_objext conftest$ac_exeext
30443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30444 (eval $ac_link) 2>conftest.er1
30445 ac_status=$?
30446 grep -v '^ *+' conftest.er1 >conftest.err
30447 rm -f conftest.er1
30448 cat conftest.err >&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); } &&
30451 { ac_try='test -z "$ac_c_werror_flag"
30452 || test ! -s conftest.err'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30455 ac_status=$?
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; } &&
30458 { ac_try='test -s conftest$ac_exeext'
30459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30460 (eval $ac_try) 2>&5
30461 ac_status=$?
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); }; }; then
30464 ac_cv_lib_m_truncf=yes
30465 else
30466 echo "$as_me: failed program was:" >&5
30467 sed 's/^/| /' conftest.$ac_ext >&5
30469 ac_cv_lib_m_truncf=no
30471 rm -f conftest.err conftest.$ac_objext \
30472 conftest$ac_exeext conftest.$ac_ext
30473 LIBS=$ac_check_lib_save_LIBS
30475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30476 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30477 if test $ac_cv_lib_m_truncf = yes; then
30479 cat >>confdefs.h <<\_ACEOF
30480 #define HAVE_TRUNCF 1
30481 _ACEOF
30485 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30486 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30487 if test "${ac_cv_lib_m_trunc+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 else
30490 ac_check_lib_save_LIBS=$LIBS
30491 LIBS="-lm $LIBS"
30492 if test x$gcc_no_link = xyes; then
30493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30495 { (exit 1); exit 1; }; }
30497 cat >conftest.$ac_ext <<_ACEOF
30498 /* confdefs.h. */
30499 _ACEOF
30500 cat confdefs.h >>conftest.$ac_ext
30501 cat >>conftest.$ac_ext <<_ACEOF
30502 /* end confdefs.h. */
30504 /* Override any gcc2 internal prototype to avoid an error. */
30505 #ifdef __cplusplus
30506 extern "C"
30507 #endif
30508 /* We use char because int might match the return type of a gcc2
30509 builtin and then its argument prototype would still apply. */
30510 char trunc ();
30512 main ()
30514 trunc ();
30516 return 0;
30518 _ACEOF
30519 rm -f conftest.$ac_objext conftest$ac_exeext
30520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30521 (eval $ac_link) 2>conftest.er1
30522 ac_status=$?
30523 grep -v '^ *+' conftest.er1 >conftest.err
30524 rm -f conftest.er1
30525 cat conftest.err >&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); } &&
30528 { ac_try='test -z "$ac_c_werror_flag"
30529 || test ! -s conftest.err'
30530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30531 (eval $ac_try) 2>&5
30532 ac_status=$?
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; } &&
30535 { ac_try='test -s conftest$ac_exeext'
30536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30537 (eval $ac_try) 2>&5
30538 ac_status=$?
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); }; }; then
30541 ac_cv_lib_m_trunc=yes
30542 else
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.$ac_ext >&5
30546 ac_cv_lib_m_trunc=no
30548 rm -f conftest.err conftest.$ac_objext \
30549 conftest$ac_exeext conftest.$ac_ext
30550 LIBS=$ac_check_lib_save_LIBS
30552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30553 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30554 if test $ac_cv_lib_m_trunc = yes; then
30556 cat >>confdefs.h <<\_ACEOF
30557 #define HAVE_TRUNC 1
30558 _ACEOF
30562 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30563 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30564 if test "${ac_cv_lib_m_truncl+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30566 else
30567 ac_check_lib_save_LIBS=$LIBS
30568 LIBS="-lm $LIBS"
30569 if test x$gcc_no_link = xyes; then
30570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30572 { (exit 1); exit 1; }; }
30574 cat >conftest.$ac_ext <<_ACEOF
30575 /* confdefs.h. */
30576 _ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30581 /* Override any gcc2 internal prototype to avoid an error. */
30582 #ifdef __cplusplus
30583 extern "C"
30584 #endif
30585 /* We use char because int might match the return type of a gcc2
30586 builtin and then its argument prototype would still apply. */
30587 char truncl ();
30589 main ()
30591 truncl ();
30593 return 0;
30595 _ACEOF
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30598 (eval $ac_link) 2>conftest.er1
30599 ac_status=$?
30600 grep -v '^ *+' conftest.er1 >conftest.err
30601 rm -f conftest.er1
30602 cat conftest.err >&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try='test -z "$ac_c_werror_flag"
30606 || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30609 ac_status=$?
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30615 ac_status=$?
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 ac_cv_lib_m_truncl=yes
30619 else
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.$ac_ext >&5
30623 ac_cv_lib_m_truncl=no
30625 rm -f conftest.err conftest.$ac_objext \
30626 conftest$ac_exeext conftest.$ac_ext
30627 LIBS=$ac_check_lib_save_LIBS
30629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30630 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30631 if test $ac_cv_lib_m_truncl = yes; then
30633 cat >>confdefs.h <<\_ACEOF
30634 #define HAVE_TRUNCL 1
30635 _ACEOF
30639 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30640 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30641 if test "${ac_cv_lib_m_erff+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 ac_check_lib_save_LIBS=$LIBS
30645 LIBS="-lm $LIBS"
30646 if test x$gcc_no_link = xyes; then
30647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30649 { (exit 1); exit 1; }; }
30651 cat >conftest.$ac_ext <<_ACEOF
30652 /* confdefs.h. */
30653 _ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30658 /* Override any gcc2 internal prototype to avoid an error. */
30659 #ifdef __cplusplus
30660 extern "C"
30661 #endif
30662 /* We use char because int might match the return type of a gcc2
30663 builtin and then its argument prototype would still apply. */
30664 char erff ();
30666 main ()
30668 erff ();
30670 return 0;
30672 _ACEOF
30673 rm -f conftest.$ac_objext conftest$ac_exeext
30674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30675 (eval $ac_link) 2>conftest.er1
30676 ac_status=$?
30677 grep -v '^ *+' conftest.er1 >conftest.err
30678 rm -f conftest.er1
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } &&
30682 { ac_try='test -z "$ac_c_werror_flag"
30683 || test ! -s conftest.err'
30684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30685 (eval $ac_try) 2>&5
30686 ac_status=$?
30687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30688 (exit $ac_status); }; } &&
30689 { ac_try='test -s conftest$ac_exeext'
30690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30691 (eval $ac_try) 2>&5
30692 ac_status=$?
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); }; }; then
30695 ac_cv_lib_m_erff=yes
30696 else
30697 echo "$as_me: failed program was:" >&5
30698 sed 's/^/| /' conftest.$ac_ext >&5
30700 ac_cv_lib_m_erff=no
30702 rm -f conftest.err conftest.$ac_objext \
30703 conftest$ac_exeext conftest.$ac_ext
30704 LIBS=$ac_check_lib_save_LIBS
30706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30707 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30708 if test $ac_cv_lib_m_erff = yes; then
30710 cat >>confdefs.h <<\_ACEOF
30711 #define HAVE_ERFF 1
30712 _ACEOF
30716 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30717 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30718 if test "${ac_cv_lib_m_erf+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 else
30721 ac_check_lib_save_LIBS=$LIBS
30722 LIBS="-lm $LIBS"
30723 if test x$gcc_no_link = xyes; then
30724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30726 { (exit 1); exit 1; }; }
30728 cat >conftest.$ac_ext <<_ACEOF
30729 /* confdefs.h. */
30730 _ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30735 /* Override any gcc2 internal prototype to avoid an error. */
30736 #ifdef __cplusplus
30737 extern "C"
30738 #endif
30739 /* We use char because int might match the return type of a gcc2
30740 builtin and then its argument prototype would still apply. */
30741 char erf ();
30743 main ()
30745 erf ();
30747 return 0;
30749 _ACEOF
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 ac_cv_lib_m_erf=yes
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30777 ac_cv_lib_m_erf=no
30779 rm -f conftest.err conftest.$ac_objext \
30780 conftest$ac_exeext conftest.$ac_ext
30781 LIBS=$ac_check_lib_save_LIBS
30783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30784 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30785 if test $ac_cv_lib_m_erf = yes; then
30787 cat >>confdefs.h <<\_ACEOF
30788 #define HAVE_ERF 1
30789 _ACEOF
30793 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30794 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30795 if test "${ac_cv_lib_m_erfl+set}" = set; then
30796 echo $ECHO_N "(cached) $ECHO_C" >&6
30797 else
30798 ac_check_lib_save_LIBS=$LIBS
30799 LIBS="-lm $LIBS"
30800 if test x$gcc_no_link = xyes; then
30801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30803 { (exit 1); exit 1; }; }
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30812 /* Override any gcc2 internal prototype to avoid an error. */
30813 #ifdef __cplusplus
30814 extern "C"
30815 #endif
30816 /* We use char because int might match the return type of a gcc2
30817 builtin and then its argument prototype would still apply. */
30818 char erfl ();
30820 main ()
30822 erfl ();
30824 return 0;
30826 _ACEOF
30827 rm -f conftest.$ac_objext conftest$ac_exeext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30829 (eval $ac_link) 2>conftest.er1
30830 ac_status=$?
30831 grep -v '^ *+' conftest.er1 >conftest.err
30832 rm -f conftest.er1
30833 cat conftest.err >&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -z "$ac_c_werror_flag"
30837 || test ! -s conftest.err'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; } &&
30843 { ac_try='test -s conftest$ac_exeext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849 ac_cv_lib_m_erfl=yes
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30854 ac_cv_lib_m_erfl=no
30856 rm -f conftest.err conftest.$ac_objext \
30857 conftest$ac_exeext conftest.$ac_ext
30858 LIBS=$ac_check_lib_save_LIBS
30860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30861 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30862 if test $ac_cv_lib_m_erfl = yes; then
30864 cat >>confdefs.h <<\_ACEOF
30865 #define HAVE_ERFL 1
30866 _ACEOF
30870 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30871 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30872 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30873 echo $ECHO_N "(cached) $ECHO_C" >&6
30874 else
30875 ac_check_lib_save_LIBS=$LIBS
30876 LIBS="-lm $LIBS"
30877 if test x$gcc_no_link = xyes; then
30878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30880 { (exit 1); exit 1; }; }
30882 cat >conftest.$ac_ext <<_ACEOF
30883 /* confdefs.h. */
30884 _ACEOF
30885 cat confdefs.h >>conftest.$ac_ext
30886 cat >>conftest.$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30889 /* Override any gcc2 internal prototype to avoid an error. */
30890 #ifdef __cplusplus
30891 extern "C"
30892 #endif
30893 /* We use char because int might match the return type of a gcc2
30894 builtin and then its argument prototype would still apply. */
30895 char erfcf ();
30897 main ()
30899 erfcf ();
30901 return 0;
30903 _ACEOF
30904 rm -f conftest.$ac_objext conftest$ac_exeext
30905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30906 (eval $ac_link) 2>conftest.er1
30907 ac_status=$?
30908 grep -v '^ *+' conftest.er1 >conftest.err
30909 rm -f conftest.er1
30910 cat conftest.err >&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); } &&
30913 { ac_try='test -z "$ac_c_werror_flag"
30914 || test ! -s conftest.err'
30915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30916 (eval $ac_try) 2>&5
30917 ac_status=$?
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; } &&
30920 { ac_try='test -s conftest$ac_exeext'
30921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30922 (eval $ac_try) 2>&5
30923 ac_status=$?
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); }; }; then
30926 ac_cv_lib_m_erfcf=yes
30927 else
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.$ac_ext >&5
30931 ac_cv_lib_m_erfcf=no
30933 rm -f conftest.err conftest.$ac_objext \
30934 conftest$ac_exeext conftest.$ac_ext
30935 LIBS=$ac_check_lib_save_LIBS
30937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30938 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30939 if test $ac_cv_lib_m_erfcf = yes; then
30941 cat >>confdefs.h <<\_ACEOF
30942 #define HAVE_ERFCF 1
30943 _ACEOF
30947 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30948 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30949 if test "${ac_cv_lib_m_erfc+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 else
30952 ac_check_lib_save_LIBS=$LIBS
30953 LIBS="-lm $LIBS"
30954 if test x$gcc_no_link = xyes; then
30955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30957 { (exit 1); exit 1; }; }
30959 cat >conftest.$ac_ext <<_ACEOF
30960 /* confdefs.h. */
30961 _ACEOF
30962 cat confdefs.h >>conftest.$ac_ext
30963 cat >>conftest.$ac_ext <<_ACEOF
30964 /* end confdefs.h. */
30966 /* Override any gcc2 internal prototype to avoid an error. */
30967 #ifdef __cplusplus
30968 extern "C"
30969 #endif
30970 /* We use char because int might match the return type of a gcc2
30971 builtin and then its argument prototype would still apply. */
30972 char erfc ();
30974 main ()
30976 erfc ();
30978 return 0;
30980 _ACEOF
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>conftest.er1
30984 ac_status=$?
30985 grep -v '^ *+' conftest.er1 >conftest.err
30986 rm -f conftest.er1
30987 cat conftest.err >&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try='test -z "$ac_c_werror_flag"
30991 || test ! -s conftest.err'
30992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30993 (eval $ac_try) 2>&5
30994 ac_status=$?
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; } &&
30997 { ac_try='test -s conftest$ac_exeext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 ac_cv_lib_m_erfc=yes
31004 else
31005 echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.$ac_ext >&5
31008 ac_cv_lib_m_erfc=no
31010 rm -f conftest.err conftest.$ac_objext \
31011 conftest$ac_exeext conftest.$ac_ext
31012 LIBS=$ac_check_lib_save_LIBS
31014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
31015 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
31016 if test $ac_cv_lib_m_erfc = yes; then
31018 cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_ERFC 1
31020 _ACEOF
31024 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
31025 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
31026 if test "${ac_cv_lib_m_erfcl+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 else
31029 ac_check_lib_save_LIBS=$LIBS
31030 LIBS="-lm $LIBS"
31031 if test x$gcc_no_link = xyes; then
31032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31034 { (exit 1); exit 1; }; }
31036 cat >conftest.$ac_ext <<_ACEOF
31037 /* confdefs.h. */
31038 _ACEOF
31039 cat confdefs.h >>conftest.$ac_ext
31040 cat >>conftest.$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31043 /* Override any gcc2 internal prototype to avoid an error. */
31044 #ifdef __cplusplus
31045 extern "C"
31046 #endif
31047 /* We use char because int might match the return type of a gcc2
31048 builtin and then its argument prototype would still apply. */
31049 char erfcl ();
31051 main ()
31053 erfcl ();
31055 return 0;
31057 _ACEOF
31058 rm -f conftest.$ac_objext conftest$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31061 ac_status=$?
31062 grep -v '^ *+' conftest.er1 >conftest.err
31063 rm -f conftest.er1
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try='test -z "$ac_c_werror_flag"
31068 || test ! -s conftest.err'
31069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31070 (eval $ac_try) 2>&5
31071 ac_status=$?
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); }; } &&
31074 { ac_try='test -s conftest$ac_exeext'
31075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31076 (eval $ac_try) 2>&5
31077 ac_status=$?
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; }; then
31080 ac_cv_lib_m_erfcl=yes
31081 else
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.$ac_ext >&5
31085 ac_cv_lib_m_erfcl=no
31087 rm -f conftest.err conftest.$ac_objext \
31088 conftest$ac_exeext conftest.$ac_ext
31089 LIBS=$ac_check_lib_save_LIBS
31091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
31092 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
31093 if test $ac_cv_lib_m_erfcl = yes; then
31095 cat >>confdefs.h <<\_ACEOF
31096 #define HAVE_ERFCL 1
31097 _ACEOF
31101 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
31102 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
31103 if test "${ac_cv_lib_m_j0f+set}" = set; then
31104 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 else
31106 ac_check_lib_save_LIBS=$LIBS
31107 LIBS="-lm $LIBS"
31108 if test x$gcc_no_link = xyes; then
31109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31111 { (exit 1); exit 1; }; }
31113 cat >conftest.$ac_ext <<_ACEOF
31114 /* confdefs.h. */
31115 _ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31120 /* Override any gcc2 internal prototype to avoid an error. */
31121 #ifdef __cplusplus
31122 extern "C"
31123 #endif
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31126 char j0f ();
31128 main ()
31130 j0f ();
31132 return 0;
31134 _ACEOF
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31138 ac_status=$?
31139 grep -v '^ *+' conftest.er1 >conftest.err
31140 rm -f conftest.er1
31141 cat conftest.err >&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -z "$ac_c_werror_flag"
31145 || test ! -s conftest.err'
31146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31147 (eval $ac_try) 2>&5
31148 ac_status=$?
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; } &&
31151 { ac_try='test -s conftest$ac_exeext'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; }; then
31157 ac_cv_lib_m_j0f=yes
31158 else
31159 echo "$as_me: failed program was:" >&5
31160 sed 's/^/| /' conftest.$ac_ext >&5
31162 ac_cv_lib_m_j0f=no
31164 rm -f conftest.err conftest.$ac_objext \
31165 conftest$ac_exeext conftest.$ac_ext
31166 LIBS=$ac_check_lib_save_LIBS
31168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
31169 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
31170 if test $ac_cv_lib_m_j0f = yes; then
31172 cat >>confdefs.h <<\_ACEOF
31173 #define HAVE_J0F 1
31174 _ACEOF
31178 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
31179 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
31180 if test "${ac_cv_lib_m_j0+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 else
31183 ac_check_lib_save_LIBS=$LIBS
31184 LIBS="-lm $LIBS"
31185 if test x$gcc_no_link = xyes; then
31186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31188 { (exit 1); exit 1; }; }
31190 cat >conftest.$ac_ext <<_ACEOF
31191 /* confdefs.h. */
31192 _ACEOF
31193 cat confdefs.h >>conftest.$ac_ext
31194 cat >>conftest.$ac_ext <<_ACEOF
31195 /* end confdefs.h. */
31197 /* Override any gcc2 internal prototype to avoid an error. */
31198 #ifdef __cplusplus
31199 extern "C"
31200 #endif
31201 /* We use char because int might match the return type of a gcc2
31202 builtin and then its argument prototype would still apply. */
31203 char j0 ();
31205 main ()
31207 j0 ();
31209 return 0;
31211 _ACEOF
31212 rm -f conftest.$ac_objext conftest$ac_exeext
31213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31214 (eval $ac_link) 2>conftest.er1
31215 ac_status=$?
31216 grep -v '^ *+' conftest.er1 >conftest.err
31217 rm -f conftest.er1
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } &&
31221 { ac_try='test -z "$ac_c_werror_flag"
31222 || test ! -s conftest.err'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; } &&
31228 { ac_try='test -s conftest$ac_exeext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 ac_cv_lib_m_j0=yes
31235 else
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.$ac_ext >&5
31239 ac_cv_lib_m_j0=no
31241 rm -f conftest.err conftest.$ac_objext \
31242 conftest$ac_exeext conftest.$ac_ext
31243 LIBS=$ac_check_lib_save_LIBS
31245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31246 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31247 if test $ac_cv_lib_m_j0 = yes; then
31249 cat >>confdefs.h <<\_ACEOF
31250 #define HAVE_J0 1
31251 _ACEOF
31255 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31256 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31257 if test "${ac_cv_lib_m_j0l+set}" = set; then
31258 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 else
31260 ac_check_lib_save_LIBS=$LIBS
31261 LIBS="-lm $LIBS"
31262 if test x$gcc_no_link = xyes; then
31263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31265 { (exit 1); exit 1; }; }
31267 cat >conftest.$ac_ext <<_ACEOF
31268 /* confdefs.h. */
31269 _ACEOF
31270 cat confdefs.h >>conftest.$ac_ext
31271 cat >>conftest.$ac_ext <<_ACEOF
31272 /* end confdefs.h. */
31274 /* Override any gcc2 internal prototype to avoid an error. */
31275 #ifdef __cplusplus
31276 extern "C"
31277 #endif
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31280 char j0l ();
31282 main ()
31284 j0l ();
31286 return 0;
31288 _ACEOF
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31291 (eval $ac_link) 2>conftest.er1
31292 ac_status=$?
31293 grep -v '^ *+' conftest.er1 >conftest.err
31294 rm -f conftest.er1
31295 cat conftest.err >&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try='test -z "$ac_c_werror_flag"
31299 || test ! -s conftest.err'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; } &&
31305 { ac_try='test -s conftest$ac_exeext'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31308 ac_status=$?
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; }; then
31311 ac_cv_lib_m_j0l=yes
31312 else
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31316 ac_cv_lib_m_j0l=no
31318 rm -f conftest.err conftest.$ac_objext \
31319 conftest$ac_exeext conftest.$ac_ext
31320 LIBS=$ac_check_lib_save_LIBS
31322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31323 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31324 if test $ac_cv_lib_m_j0l = yes; then
31326 cat >>confdefs.h <<\_ACEOF
31327 #define HAVE_J0L 1
31328 _ACEOF
31332 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31333 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31334 if test "${ac_cv_lib_m_j1f+set}" = set; then
31335 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 else
31337 ac_check_lib_save_LIBS=$LIBS
31338 LIBS="-lm $LIBS"
31339 if test x$gcc_no_link = xyes; then
31340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31342 { (exit 1); exit 1; }; }
31344 cat >conftest.$ac_ext <<_ACEOF
31345 /* confdefs.h. */
31346 _ACEOF
31347 cat confdefs.h >>conftest.$ac_ext
31348 cat >>conftest.$ac_ext <<_ACEOF
31349 /* end confdefs.h. */
31351 /* Override any gcc2 internal prototype to avoid an error. */
31352 #ifdef __cplusplus
31353 extern "C"
31354 #endif
31355 /* We use char because int might match the return type of a gcc2
31356 builtin and then its argument prototype would still apply. */
31357 char j1f ();
31359 main ()
31361 j1f ();
31363 return 0;
31365 _ACEOF
31366 rm -f conftest.$ac_objext conftest$ac_exeext
31367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31368 (eval $ac_link) 2>conftest.er1
31369 ac_status=$?
31370 grep -v '^ *+' conftest.er1 >conftest.err
31371 rm -f conftest.er1
31372 cat conftest.err >&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); } &&
31375 { ac_try='test -z "$ac_c_werror_flag"
31376 || test ! -s conftest.err'
31377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31378 (eval $ac_try) 2>&5
31379 ac_status=$?
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); }; } &&
31382 { ac_try='test -s conftest$ac_exeext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 ac_cv_lib_m_j1f=yes
31389 else
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.$ac_ext >&5
31393 ac_cv_lib_m_j1f=no
31395 rm -f conftest.err conftest.$ac_objext \
31396 conftest$ac_exeext conftest.$ac_ext
31397 LIBS=$ac_check_lib_save_LIBS
31399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31400 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31401 if test $ac_cv_lib_m_j1f = yes; then
31403 cat >>confdefs.h <<\_ACEOF
31404 #define HAVE_J1F 1
31405 _ACEOF
31409 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31410 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31411 if test "${ac_cv_lib_m_j1+set}" = set; then
31412 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 else
31414 ac_check_lib_save_LIBS=$LIBS
31415 LIBS="-lm $LIBS"
31416 if test x$gcc_no_link = xyes; then
31417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31419 { (exit 1); exit 1; }; }
31421 cat >conftest.$ac_ext <<_ACEOF
31422 /* confdefs.h. */
31423 _ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31428 /* Override any gcc2 internal prototype to avoid an error. */
31429 #ifdef __cplusplus
31430 extern "C"
31431 #endif
31432 /* We use char because int might match the return type of a gcc2
31433 builtin and then its argument prototype would still apply. */
31434 char j1 ();
31436 main ()
31438 j1 ();
31440 return 0;
31442 _ACEOF
31443 rm -f conftest.$ac_objext conftest$ac_exeext
31444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31445 (eval $ac_link) 2>conftest.er1
31446 ac_status=$?
31447 grep -v '^ *+' conftest.er1 >conftest.err
31448 rm -f conftest.er1
31449 cat conftest.err >&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); } &&
31452 { ac_try='test -z "$ac_c_werror_flag"
31453 || test ! -s conftest.err'
31454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31455 (eval $ac_try) 2>&5
31456 ac_status=$?
31457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458 (exit $ac_status); }; } &&
31459 { ac_try='test -s conftest$ac_exeext'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; }; then
31465 ac_cv_lib_m_j1=yes
31466 else
31467 echo "$as_me: failed program was:" >&5
31468 sed 's/^/| /' conftest.$ac_ext >&5
31470 ac_cv_lib_m_j1=no
31472 rm -f conftest.err conftest.$ac_objext \
31473 conftest$ac_exeext conftest.$ac_ext
31474 LIBS=$ac_check_lib_save_LIBS
31476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31477 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31478 if test $ac_cv_lib_m_j1 = yes; then
31480 cat >>confdefs.h <<\_ACEOF
31481 #define HAVE_J1 1
31482 _ACEOF
31486 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31487 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31488 if test "${ac_cv_lib_m_j1l+set}" = set; then
31489 echo $ECHO_N "(cached) $ECHO_C" >&6
31490 else
31491 ac_check_lib_save_LIBS=$LIBS
31492 LIBS="-lm $LIBS"
31493 if test x$gcc_no_link = xyes; then
31494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31496 { (exit 1); exit 1; }; }
31498 cat >conftest.$ac_ext <<_ACEOF
31499 /* confdefs.h. */
31500 _ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31505 /* Override any gcc2 internal prototype to avoid an error. */
31506 #ifdef __cplusplus
31507 extern "C"
31508 #endif
31509 /* We use char because int might match the return type of a gcc2
31510 builtin and then its argument prototype would still apply. */
31511 char j1l ();
31513 main ()
31515 j1l ();
31517 return 0;
31519 _ACEOF
31520 rm -f conftest.$ac_objext conftest$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try='test -z "$ac_c_werror_flag"
31530 || test ! -s conftest.err'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31533 ac_status=$?
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; } &&
31536 { ac_try='test -s conftest$ac_exeext'
31537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538 (eval $ac_try) 2>&5
31539 ac_status=$?
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; }; then
31542 ac_cv_lib_m_j1l=yes
31543 else
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.$ac_ext >&5
31547 ac_cv_lib_m_j1l=no
31549 rm -f conftest.err conftest.$ac_objext \
31550 conftest$ac_exeext conftest.$ac_ext
31551 LIBS=$ac_check_lib_save_LIBS
31553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31554 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31555 if test $ac_cv_lib_m_j1l = yes; then
31557 cat >>confdefs.h <<\_ACEOF
31558 #define HAVE_J1L 1
31559 _ACEOF
31563 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31564 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31565 if test "${ac_cv_lib_m_jnf+set}" = set; then
31566 echo $ECHO_N "(cached) $ECHO_C" >&6
31567 else
31568 ac_check_lib_save_LIBS=$LIBS
31569 LIBS="-lm $LIBS"
31570 if test x$gcc_no_link = xyes; then
31571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31573 { (exit 1); exit 1; }; }
31575 cat >conftest.$ac_ext <<_ACEOF
31576 /* confdefs.h. */
31577 _ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31582 /* Override any gcc2 internal prototype to avoid an error. */
31583 #ifdef __cplusplus
31584 extern "C"
31585 #endif
31586 /* We use char because int might match the return type of a gcc2
31587 builtin and then its argument prototype would still apply. */
31588 char jnf ();
31590 main ()
31592 jnf ();
31594 return 0;
31596 _ACEOF
31597 rm -f conftest.$ac_objext conftest$ac_exeext
31598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31599 (eval $ac_link) 2>conftest.er1
31600 ac_status=$?
31601 grep -v '^ *+' conftest.er1 >conftest.err
31602 rm -f conftest.er1
31603 cat conftest.err >&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); } &&
31606 { ac_try='test -z "$ac_c_werror_flag"
31607 || test ! -s conftest.err'
31608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31609 (eval $ac_try) 2>&5
31610 ac_status=$?
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; } &&
31613 { ac_try='test -s conftest$ac_exeext'
31614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31615 (eval $ac_try) 2>&5
31616 ac_status=$?
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); }; }; then
31619 ac_cv_lib_m_jnf=yes
31620 else
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31624 ac_cv_lib_m_jnf=no
31626 rm -f conftest.err conftest.$ac_objext \
31627 conftest$ac_exeext conftest.$ac_ext
31628 LIBS=$ac_check_lib_save_LIBS
31630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31631 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31632 if test $ac_cv_lib_m_jnf = yes; then
31634 cat >>confdefs.h <<\_ACEOF
31635 #define HAVE_JNF 1
31636 _ACEOF
31640 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31641 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31642 if test "${ac_cv_lib_m_jn+set}" = set; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 else
31645 ac_check_lib_save_LIBS=$LIBS
31646 LIBS="-lm $LIBS"
31647 if test x$gcc_no_link = xyes; then
31648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31650 { (exit 1); exit 1; }; }
31652 cat >conftest.$ac_ext <<_ACEOF
31653 /* confdefs.h. */
31654 _ACEOF
31655 cat confdefs.h >>conftest.$ac_ext
31656 cat >>conftest.$ac_ext <<_ACEOF
31657 /* end confdefs.h. */
31659 /* Override any gcc2 internal prototype to avoid an error. */
31660 #ifdef __cplusplus
31661 extern "C"
31662 #endif
31663 /* We use char because int might match the return type of a gcc2
31664 builtin and then its argument prototype would still apply. */
31665 char jn ();
31667 main ()
31669 jn ();
31671 return 0;
31673 _ACEOF
31674 rm -f conftest.$ac_objext conftest$ac_exeext
31675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676 (eval $ac_link) 2>conftest.er1
31677 ac_status=$?
31678 grep -v '^ *+' conftest.er1 >conftest.err
31679 rm -f conftest.er1
31680 cat conftest.err >&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } &&
31683 { ac_try='test -z "$ac_c_werror_flag"
31684 || test ! -s conftest.err'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; } &&
31690 { ac_try='test -s conftest$ac_exeext'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; }; then
31696 ac_cv_lib_m_jn=yes
31697 else
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31701 ac_cv_lib_m_jn=no
31703 rm -f conftest.err conftest.$ac_objext \
31704 conftest$ac_exeext conftest.$ac_ext
31705 LIBS=$ac_check_lib_save_LIBS
31707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31708 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31709 if test $ac_cv_lib_m_jn = yes; then
31711 cat >>confdefs.h <<\_ACEOF
31712 #define HAVE_JN 1
31713 _ACEOF
31717 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31718 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31719 if test "${ac_cv_lib_m_jnl+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 else
31722 ac_check_lib_save_LIBS=$LIBS
31723 LIBS="-lm $LIBS"
31724 if test x$gcc_no_link = xyes; then
31725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31727 { (exit 1); exit 1; }; }
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31736 /* Override any gcc2 internal prototype to avoid an error. */
31737 #ifdef __cplusplus
31738 extern "C"
31739 #endif
31740 /* We use char because int might match the return type of a gcc2
31741 builtin and then its argument prototype would still apply. */
31742 char jnl ();
31744 main ()
31746 jnl ();
31748 return 0;
31750 _ACEOF
31751 rm -f conftest.$ac_objext conftest$ac_exeext
31752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31753 (eval $ac_link) 2>conftest.er1
31754 ac_status=$?
31755 grep -v '^ *+' conftest.er1 >conftest.err
31756 rm -f conftest.er1
31757 cat conftest.err >&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); } &&
31760 { ac_try='test -z "$ac_c_werror_flag"
31761 || test ! -s conftest.err'
31762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31763 (eval $ac_try) 2>&5
31764 ac_status=$?
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); }; } &&
31767 { ac_try='test -s conftest$ac_exeext'
31768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31769 (eval $ac_try) 2>&5
31770 ac_status=$?
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); }; }; then
31773 ac_cv_lib_m_jnl=yes
31774 else
31775 echo "$as_me: failed program was:" >&5
31776 sed 's/^/| /' conftest.$ac_ext >&5
31778 ac_cv_lib_m_jnl=no
31780 rm -f conftest.err conftest.$ac_objext \
31781 conftest$ac_exeext conftest.$ac_ext
31782 LIBS=$ac_check_lib_save_LIBS
31784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31785 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31786 if test $ac_cv_lib_m_jnl = yes; then
31788 cat >>confdefs.h <<\_ACEOF
31789 #define HAVE_JNL 1
31790 _ACEOF
31794 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31795 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31796 if test "${ac_cv_lib_m_y0f+set}" = set; then
31797 echo $ECHO_N "(cached) $ECHO_C" >&6
31798 else
31799 ac_check_lib_save_LIBS=$LIBS
31800 LIBS="-lm $LIBS"
31801 if test x$gcc_no_link = xyes; then
31802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31804 { (exit 1); exit 1; }; }
31806 cat >conftest.$ac_ext <<_ACEOF
31807 /* confdefs.h. */
31808 _ACEOF
31809 cat confdefs.h >>conftest.$ac_ext
31810 cat >>conftest.$ac_ext <<_ACEOF
31811 /* end confdefs.h. */
31813 /* Override any gcc2 internal prototype to avoid an error. */
31814 #ifdef __cplusplus
31815 extern "C"
31816 #endif
31817 /* We use char because int might match the return type of a gcc2
31818 builtin and then its argument prototype would still apply. */
31819 char y0f ();
31821 main ()
31823 y0f ();
31825 return 0;
31827 _ACEOF
31828 rm -f conftest.$ac_objext conftest$ac_exeext
31829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31830 (eval $ac_link) 2>conftest.er1
31831 ac_status=$?
31832 grep -v '^ *+' conftest.er1 >conftest.err
31833 rm -f conftest.er1
31834 cat conftest.err >&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); } &&
31837 { ac_try='test -z "$ac_c_werror_flag"
31838 || test ! -s conftest.err'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31841 ac_status=$?
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; } &&
31844 { ac_try='test -s conftest$ac_exeext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31847 ac_status=$?
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 ac_cv_lib_m_y0f=yes
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31855 ac_cv_lib_m_y0f=no
31857 rm -f conftest.err conftest.$ac_objext \
31858 conftest$ac_exeext conftest.$ac_ext
31859 LIBS=$ac_check_lib_save_LIBS
31861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31862 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31863 if test $ac_cv_lib_m_y0f = yes; then
31865 cat >>confdefs.h <<\_ACEOF
31866 #define HAVE_Y0F 1
31867 _ACEOF
31871 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31872 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31873 if test "${ac_cv_lib_m_y0+set}" = set; then
31874 echo $ECHO_N "(cached) $ECHO_C" >&6
31875 else
31876 ac_check_lib_save_LIBS=$LIBS
31877 LIBS="-lm $LIBS"
31878 if test x$gcc_no_link = xyes; then
31879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31881 { (exit 1); exit 1; }; }
31883 cat >conftest.$ac_ext <<_ACEOF
31884 /* confdefs.h. */
31885 _ACEOF
31886 cat confdefs.h >>conftest.$ac_ext
31887 cat >>conftest.$ac_ext <<_ACEOF
31888 /* end confdefs.h. */
31890 /* Override any gcc2 internal prototype to avoid an error. */
31891 #ifdef __cplusplus
31892 extern "C"
31893 #endif
31894 /* We use char because int might match the return type of a gcc2
31895 builtin and then its argument prototype would still apply. */
31896 char y0 ();
31898 main ()
31900 y0 ();
31902 return 0;
31904 _ACEOF
31905 rm -f conftest.$ac_objext conftest$ac_exeext
31906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31907 (eval $ac_link) 2>conftest.er1
31908 ac_status=$?
31909 grep -v '^ *+' conftest.er1 >conftest.err
31910 rm -f conftest.er1
31911 cat conftest.err >&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } &&
31914 { ac_try='test -z "$ac_c_werror_flag"
31915 || test ! -s conftest.err'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; } &&
31921 { ac_try='test -s conftest$ac_exeext'
31922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31923 (eval $ac_try) 2>&5
31924 ac_status=$?
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 ac_cv_lib_m_y0=yes
31928 else
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.$ac_ext >&5
31932 ac_cv_lib_m_y0=no
31934 rm -f conftest.err conftest.$ac_objext \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31939 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31940 if test $ac_cv_lib_m_y0 = yes; then
31942 cat >>confdefs.h <<\_ACEOF
31943 #define HAVE_Y0 1
31944 _ACEOF
31948 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31949 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31950 if test "${ac_cv_lib_m_y0l+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 else
31953 ac_check_lib_save_LIBS=$LIBS
31954 LIBS="-lm $LIBS"
31955 if test x$gcc_no_link = xyes; then
31956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31958 { (exit 1); exit 1; }; }
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31967 /* Override any gcc2 internal prototype to avoid an error. */
31968 #ifdef __cplusplus
31969 extern "C"
31970 #endif
31971 /* We use char because int might match the return type of a gcc2
31972 builtin and then its argument prototype would still apply. */
31973 char y0l ();
31975 main ()
31977 y0l ();
31979 return 0;
31981 _ACEOF
31982 rm -f conftest.$ac_objext conftest$ac_exeext
31983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31984 (eval $ac_link) 2>conftest.er1
31985 ac_status=$?
31986 grep -v '^ *+' conftest.er1 >conftest.err
31987 rm -f conftest.er1
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } &&
31991 { ac_try='test -z "$ac_c_werror_flag"
31992 || test ! -s conftest.err'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; } &&
31998 { ac_try='test -s conftest$ac_exeext'
31999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000 (eval $ac_try) 2>&5
32001 ac_status=$?
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); }; }; then
32004 ac_cv_lib_m_y0l=yes
32005 else
32006 echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.$ac_ext >&5
32009 ac_cv_lib_m_y0l=no
32011 rm -f conftest.err conftest.$ac_objext \
32012 conftest$ac_exeext conftest.$ac_ext
32013 LIBS=$ac_check_lib_save_LIBS
32015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
32016 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
32017 if test $ac_cv_lib_m_y0l = yes; then
32019 cat >>confdefs.h <<\_ACEOF
32020 #define HAVE_Y0L 1
32021 _ACEOF
32025 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
32026 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
32027 if test "${ac_cv_lib_m_y1f+set}" = set; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 else
32030 ac_check_lib_save_LIBS=$LIBS
32031 LIBS="-lm $LIBS"
32032 if test x$gcc_no_link = xyes; then
32033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32035 { (exit 1); exit 1; }; }
32037 cat >conftest.$ac_ext <<_ACEOF
32038 /* confdefs.h. */
32039 _ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32044 /* Override any gcc2 internal prototype to avoid an error. */
32045 #ifdef __cplusplus
32046 extern "C"
32047 #endif
32048 /* We use char because int might match the return type of a gcc2
32049 builtin and then its argument prototype would still apply. */
32050 char y1f ();
32052 main ()
32054 y1f ();
32056 return 0;
32058 _ACEOF
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>conftest.er1
32062 ac_status=$?
32063 grep -v '^ *+' conftest.er1 >conftest.err
32064 rm -f conftest.er1
32065 cat conftest.err >&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); } &&
32068 { ac_try='test -z "$ac_c_werror_flag"
32069 || test ! -s conftest.err'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32072 ac_status=$?
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; } &&
32075 { ac_try='test -s conftest$ac_exeext'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32078 ac_status=$?
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 ac_cv_lib_m_y1f=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32086 ac_cv_lib_m_y1f=no
32088 rm -f conftest.err conftest.$ac_objext \
32089 conftest$ac_exeext conftest.$ac_ext
32090 LIBS=$ac_check_lib_save_LIBS
32092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
32093 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
32094 if test $ac_cv_lib_m_y1f = yes; then
32096 cat >>confdefs.h <<\_ACEOF
32097 #define HAVE_Y1F 1
32098 _ACEOF
32102 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
32103 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
32104 if test "${ac_cv_lib_m_y1+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 else
32107 ac_check_lib_save_LIBS=$LIBS
32108 LIBS="-lm $LIBS"
32109 if test x$gcc_no_link = xyes; then
32110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32112 { (exit 1); exit 1; }; }
32114 cat >conftest.$ac_ext <<_ACEOF
32115 /* confdefs.h. */
32116 _ACEOF
32117 cat confdefs.h >>conftest.$ac_ext
32118 cat >>conftest.$ac_ext <<_ACEOF
32119 /* end confdefs.h. */
32121 /* Override any gcc2 internal prototype to avoid an error. */
32122 #ifdef __cplusplus
32123 extern "C"
32124 #endif
32125 /* We use char because int might match the return type of a gcc2
32126 builtin and then its argument prototype would still apply. */
32127 char y1 ();
32129 main ()
32131 y1 ();
32133 return 0;
32135 _ACEOF
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32138 (eval $ac_link) 2>conftest.er1
32139 ac_status=$?
32140 grep -v '^ *+' conftest.er1 >conftest.err
32141 rm -f conftest.er1
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } &&
32145 { ac_try='test -z "$ac_c_werror_flag"
32146 || test ! -s conftest.err'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32149 ac_status=$?
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; } &&
32152 { ac_try='test -s conftest$ac_exeext'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32155 ac_status=$?
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; }; then
32158 ac_cv_lib_m_y1=yes
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32163 ac_cv_lib_m_y1=no
32165 rm -f conftest.err conftest.$ac_objext \
32166 conftest$ac_exeext conftest.$ac_ext
32167 LIBS=$ac_check_lib_save_LIBS
32169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
32170 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
32171 if test $ac_cv_lib_m_y1 = yes; then
32173 cat >>confdefs.h <<\_ACEOF
32174 #define HAVE_Y1 1
32175 _ACEOF
32179 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
32180 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
32181 if test "${ac_cv_lib_m_y1l+set}" = set; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 else
32184 ac_check_lib_save_LIBS=$LIBS
32185 LIBS="-lm $LIBS"
32186 if test x$gcc_no_link = xyes; then
32187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32189 { (exit 1); exit 1; }; }
32191 cat >conftest.$ac_ext <<_ACEOF
32192 /* confdefs.h. */
32193 _ACEOF
32194 cat confdefs.h >>conftest.$ac_ext
32195 cat >>conftest.$ac_ext <<_ACEOF
32196 /* end confdefs.h. */
32198 /* Override any gcc2 internal prototype to avoid an error. */
32199 #ifdef __cplusplus
32200 extern "C"
32201 #endif
32202 /* We use char because int might match the return type of a gcc2
32203 builtin and then its argument prototype would still apply. */
32204 char y1l ();
32206 main ()
32208 y1l ();
32210 return 0;
32212 _ACEOF
32213 rm -f conftest.$ac_objext conftest$ac_exeext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32215 (eval $ac_link) 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } &&
32222 { ac_try='test -z "$ac_c_werror_flag"
32223 || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try='test -s conftest$ac_exeext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_cv_lib_m_y1l=yes
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32240 ac_cv_lib_m_y1l=no
32242 rm -f conftest.err conftest.$ac_objext \
32243 conftest$ac_exeext conftest.$ac_ext
32244 LIBS=$ac_check_lib_save_LIBS
32246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32247 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32248 if test $ac_cv_lib_m_y1l = yes; then
32250 cat >>confdefs.h <<\_ACEOF
32251 #define HAVE_Y1L 1
32252 _ACEOF
32256 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32257 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32258 if test "${ac_cv_lib_m_ynf+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 ac_check_lib_save_LIBS=$LIBS
32262 LIBS="-lm $LIBS"
32263 if test x$gcc_no_link = xyes; then
32264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32266 { (exit 1); exit 1; }; }
32268 cat >conftest.$ac_ext <<_ACEOF
32269 /* confdefs.h. */
32270 _ACEOF
32271 cat confdefs.h >>conftest.$ac_ext
32272 cat >>conftest.$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32275 /* Override any gcc2 internal prototype to avoid an error. */
32276 #ifdef __cplusplus
32277 extern "C"
32278 #endif
32279 /* We use char because int might match the return type of a gcc2
32280 builtin and then its argument prototype would still apply. */
32281 char ynf ();
32283 main ()
32285 ynf ();
32287 return 0;
32289 _ACEOF
32290 rm -f conftest.$ac_objext conftest$ac_exeext
32291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32292 (eval $ac_link) 2>conftest.er1
32293 ac_status=$?
32294 grep -v '^ *+' conftest.er1 >conftest.err
32295 rm -f conftest.er1
32296 cat conftest.err >&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } &&
32299 { ac_try='test -z "$ac_c_werror_flag"
32300 || test ! -s conftest.err'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32303 ac_status=$?
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; } &&
32306 { ac_try='test -s conftest$ac_exeext'
32307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32308 (eval $ac_try) 2>&5
32309 ac_status=$?
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); }; }; then
32312 ac_cv_lib_m_ynf=yes
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32317 ac_cv_lib_m_ynf=no
32319 rm -f conftest.err conftest.$ac_objext \
32320 conftest$ac_exeext conftest.$ac_ext
32321 LIBS=$ac_check_lib_save_LIBS
32323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32324 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32325 if test $ac_cv_lib_m_ynf = yes; then
32327 cat >>confdefs.h <<\_ACEOF
32328 #define HAVE_YNF 1
32329 _ACEOF
32333 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32334 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32335 if test "${ac_cv_lib_m_yn+set}" = set; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32337 else
32338 ac_check_lib_save_LIBS=$LIBS
32339 LIBS="-lm $LIBS"
32340 if test x$gcc_no_link = xyes; then
32341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32343 { (exit 1); exit 1; }; }
32345 cat >conftest.$ac_ext <<_ACEOF
32346 /* confdefs.h. */
32347 _ACEOF
32348 cat confdefs.h >>conftest.$ac_ext
32349 cat >>conftest.$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32352 /* Override any gcc2 internal prototype to avoid an error. */
32353 #ifdef __cplusplus
32354 extern "C"
32355 #endif
32356 /* We use char because int might match the return type of a gcc2
32357 builtin and then its argument prototype would still apply. */
32358 char yn ();
32360 main ()
32362 yn ();
32364 return 0;
32366 _ACEOF
32367 rm -f conftest.$ac_objext conftest$ac_exeext
32368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32369 (eval $ac_link) 2>conftest.er1
32370 ac_status=$?
32371 grep -v '^ *+' conftest.er1 >conftest.err
32372 rm -f conftest.er1
32373 cat conftest.err >&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try='test -z "$ac_c_werror_flag"
32377 || test ! -s conftest.err'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32380 ac_status=$?
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; } &&
32383 { ac_try='test -s conftest$ac_exeext'
32384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32385 (eval $ac_try) 2>&5
32386 ac_status=$?
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); }; }; then
32389 ac_cv_lib_m_yn=yes
32390 else
32391 echo "$as_me: failed program was:" >&5
32392 sed 's/^/| /' conftest.$ac_ext >&5
32394 ac_cv_lib_m_yn=no
32396 rm -f conftest.err conftest.$ac_objext \
32397 conftest$ac_exeext conftest.$ac_ext
32398 LIBS=$ac_check_lib_save_LIBS
32400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32401 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32402 if test $ac_cv_lib_m_yn = yes; then
32404 cat >>confdefs.h <<\_ACEOF
32405 #define HAVE_YN 1
32406 _ACEOF
32410 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32411 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32412 if test "${ac_cv_lib_m_ynl+set}" = set; then
32413 echo $ECHO_N "(cached) $ECHO_C" >&6
32414 else
32415 ac_check_lib_save_LIBS=$LIBS
32416 LIBS="-lm $LIBS"
32417 if test x$gcc_no_link = xyes; then
32418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32420 { (exit 1); exit 1; }; }
32422 cat >conftest.$ac_ext <<_ACEOF
32423 /* confdefs.h. */
32424 _ACEOF
32425 cat confdefs.h >>conftest.$ac_ext
32426 cat >>conftest.$ac_ext <<_ACEOF
32427 /* end confdefs.h. */
32429 /* Override any gcc2 internal prototype to avoid an error. */
32430 #ifdef __cplusplus
32431 extern "C"
32432 #endif
32433 /* We use char because int might match the return type of a gcc2
32434 builtin and then its argument prototype would still apply. */
32435 char ynl ();
32437 main ()
32439 ynl ();
32441 return 0;
32443 _ACEOF
32444 rm -f conftest.$ac_objext conftest$ac_exeext
32445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32446 (eval $ac_link) 2>conftest.er1
32447 ac_status=$?
32448 grep -v '^ *+' conftest.er1 >conftest.err
32449 rm -f conftest.er1
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try='test -z "$ac_c_werror_flag"
32454 || test ! -s conftest.err'
32455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32456 (eval $ac_try) 2>&5
32457 ac_status=$?
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); }; } &&
32460 { ac_try='test -s conftest$ac_exeext'
32461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32462 (eval $ac_try) 2>&5
32463 ac_status=$?
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); }; }; then
32466 ac_cv_lib_m_ynl=yes
32467 else
32468 echo "$as_me: failed program was:" >&5
32469 sed 's/^/| /' conftest.$ac_ext >&5
32471 ac_cv_lib_m_ynl=no
32473 rm -f conftest.err conftest.$ac_objext \
32474 conftest$ac_exeext conftest.$ac_ext
32475 LIBS=$ac_check_lib_save_LIBS
32477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32478 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32479 if test $ac_cv_lib_m_ynl = yes; then
32481 cat >>confdefs.h <<\_ACEOF
32482 #define HAVE_YNL 1
32483 _ACEOF
32487 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32488 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32489 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32492 ac_check_lib_save_LIBS=$LIBS
32493 LIBS="-lm $LIBS"
32494 if test x$gcc_no_link = xyes; then
32495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32497 { (exit 1); exit 1; }; }
32499 cat >conftest.$ac_ext <<_ACEOF
32500 /* confdefs.h. */
32501 _ACEOF
32502 cat confdefs.h >>conftest.$ac_ext
32503 cat >>conftest.$ac_ext <<_ACEOF
32504 /* end confdefs.h. */
32506 /* Override any gcc2 internal prototype to avoid an error. */
32507 #ifdef __cplusplus
32508 extern "C"
32509 #endif
32510 /* We use char because int might match the return type of a gcc2
32511 builtin and then its argument prototype would still apply. */
32512 char tgamma ();
32514 main ()
32516 tgamma ();
32518 return 0;
32520 _ACEOF
32521 rm -f conftest.$ac_objext conftest$ac_exeext
32522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32523 (eval $ac_link) 2>conftest.er1
32524 ac_status=$?
32525 grep -v '^ *+' conftest.er1 >conftest.err
32526 rm -f conftest.er1
32527 cat conftest.err >&5
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); } &&
32530 { ac_try='test -z "$ac_c_werror_flag"
32531 || test ! -s conftest.err'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32534 ac_status=$?
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; } &&
32537 { ac_try='test -s conftest$ac_exeext'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32540 ac_status=$?
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; }; then
32543 ac_cv_lib_m_tgamma=yes
32544 else
32545 echo "$as_me: failed program was:" >&5
32546 sed 's/^/| /' conftest.$ac_ext >&5
32548 ac_cv_lib_m_tgamma=no
32550 rm -f conftest.err conftest.$ac_objext \
32551 conftest$ac_exeext conftest.$ac_ext
32552 LIBS=$ac_check_lib_save_LIBS
32554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32555 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32556 if test $ac_cv_lib_m_tgamma = yes; then
32558 cat >>confdefs.h <<\_ACEOF
32559 #define HAVE_TGAMMA 1
32560 _ACEOF
32564 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32565 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32566 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32567 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 else
32569 ac_check_lib_save_LIBS=$LIBS
32570 LIBS="-lm $LIBS"
32571 if test x$gcc_no_link = xyes; then
32572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32574 { (exit 1); exit 1; }; }
32576 cat >conftest.$ac_ext <<_ACEOF
32577 /* confdefs.h. */
32578 _ACEOF
32579 cat confdefs.h >>conftest.$ac_ext
32580 cat >>conftest.$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32583 /* Override any gcc2 internal prototype to avoid an error. */
32584 #ifdef __cplusplus
32585 extern "C"
32586 #endif
32587 /* We use char because int might match the return type of a gcc2
32588 builtin and then its argument prototype would still apply. */
32589 char tgammaf ();
32591 main ()
32593 tgammaf ();
32595 return 0;
32597 _ACEOF
32598 rm -f conftest.$ac_objext conftest$ac_exeext
32599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32600 (eval $ac_link) 2>conftest.er1
32601 ac_status=$?
32602 grep -v '^ *+' conftest.er1 >conftest.err
32603 rm -f conftest.er1
32604 cat conftest.err >&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); } &&
32607 { ac_try='test -z "$ac_c_werror_flag"
32608 || test ! -s conftest.err'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32611 ac_status=$?
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; } &&
32614 { ac_try='test -s conftest$ac_exeext'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32617 ac_status=$?
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; }; then
32620 ac_cv_lib_m_tgammaf=yes
32621 else
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32625 ac_cv_lib_m_tgammaf=no
32627 rm -f conftest.err conftest.$ac_objext \
32628 conftest$ac_exeext conftest.$ac_ext
32629 LIBS=$ac_check_lib_save_LIBS
32631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32632 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32633 if test $ac_cv_lib_m_tgammaf = yes; then
32635 cat >>confdefs.h <<\_ACEOF
32636 #define HAVE_TGAMMAF 1
32637 _ACEOF
32641 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32642 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32643 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32644 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 else
32646 ac_check_lib_save_LIBS=$LIBS
32647 LIBS="-lm $LIBS"
32648 if test x$gcc_no_link = xyes; then
32649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32651 { (exit 1); exit 1; }; }
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32660 /* Override any gcc2 internal prototype to avoid an error. */
32661 #ifdef __cplusplus
32662 extern "C"
32663 #endif
32664 /* We use char because int might match the return type of a gcc2
32665 builtin and then its argument prototype would still apply. */
32666 char tgammal ();
32668 main ()
32670 tgammal ();
32672 return 0;
32674 _ACEOF
32675 rm -f conftest.$ac_objext conftest$ac_exeext
32676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32677 (eval $ac_link) 2>conftest.er1
32678 ac_status=$?
32679 grep -v '^ *+' conftest.er1 >conftest.err
32680 rm -f conftest.er1
32681 cat conftest.err >&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } &&
32684 { ac_try='test -z "$ac_c_werror_flag"
32685 || test ! -s conftest.err'
32686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32687 (eval $ac_try) 2>&5
32688 ac_status=$?
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); }; } &&
32691 { ac_try='test -s conftest$ac_exeext'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32694 ac_status=$?
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; }; then
32697 ac_cv_lib_m_tgammal=yes
32698 else
32699 echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.$ac_ext >&5
32702 ac_cv_lib_m_tgammal=no
32704 rm -f conftest.err conftest.$ac_objext \
32705 conftest$ac_exeext conftest.$ac_ext
32706 LIBS=$ac_check_lib_save_LIBS
32708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32709 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32710 if test $ac_cv_lib_m_tgammal = yes; then
32712 cat >>confdefs.h <<\_ACEOF
32713 #define HAVE_TGAMMAL 1
32714 _ACEOF
32718 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32719 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32720 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 else
32723 ac_check_lib_save_LIBS=$LIBS
32724 LIBS="-lm $LIBS"
32725 if test x$gcc_no_link = xyes; then
32726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32728 { (exit 1); exit 1; }; }
32730 cat >conftest.$ac_ext <<_ACEOF
32731 /* confdefs.h. */
32732 _ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32737 /* Override any gcc2 internal prototype to avoid an error. */
32738 #ifdef __cplusplus
32739 extern "C"
32740 #endif
32741 /* We use char because int might match the return type of a gcc2
32742 builtin and then its argument prototype would still apply. */
32743 char lgamma ();
32745 main ()
32747 lgamma ();
32749 return 0;
32751 _ACEOF
32752 rm -f conftest.$ac_objext conftest$ac_exeext
32753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32754 (eval $ac_link) 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } &&
32761 { ac_try='test -z "$ac_c_werror_flag"
32762 || test ! -s conftest.err'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32765 ac_status=$?
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; } &&
32768 { ac_try='test -s conftest$ac_exeext'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; }; then
32774 ac_cv_lib_m_lgamma=yes
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 ac_cv_lib_m_lgamma=no
32781 rm -f conftest.err conftest.$ac_objext \
32782 conftest$ac_exeext conftest.$ac_ext
32783 LIBS=$ac_check_lib_save_LIBS
32785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32786 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32787 if test $ac_cv_lib_m_lgamma = yes; then
32789 cat >>confdefs.h <<\_ACEOF
32790 #define HAVE_LGAMMA 1
32791 _ACEOF
32795 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32796 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32797 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32798 echo $ECHO_N "(cached) $ECHO_C" >&6
32799 else
32800 ac_check_lib_save_LIBS=$LIBS
32801 LIBS="-lm $LIBS"
32802 if test x$gcc_no_link = xyes; then
32803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32805 { (exit 1); exit 1; }; }
32807 cat >conftest.$ac_ext <<_ACEOF
32808 /* confdefs.h. */
32809 _ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32814 /* Override any gcc2 internal prototype to avoid an error. */
32815 #ifdef __cplusplus
32816 extern "C"
32817 #endif
32818 /* We use char because int might match the return type of a gcc2
32819 builtin and then its argument prototype would still apply. */
32820 char lgammaf ();
32822 main ()
32824 lgammaf ();
32826 return 0;
32828 _ACEOF
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32831 (eval $ac_link) 2>conftest.er1
32832 ac_status=$?
32833 grep -v '^ *+' conftest.er1 >conftest.err
32834 rm -f conftest.er1
32835 cat conftest.err >&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); } &&
32838 { ac_try='test -z "$ac_c_werror_flag"
32839 || test ! -s conftest.err'
32840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841 (eval $ac_try) 2>&5
32842 ac_status=$?
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); }; } &&
32845 { ac_try='test -s conftest$ac_exeext'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32848 ac_status=$?
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; }; then
32851 ac_cv_lib_m_lgammaf=yes
32852 else
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32856 ac_cv_lib_m_lgammaf=no
32858 rm -f conftest.err conftest.$ac_objext \
32859 conftest$ac_exeext conftest.$ac_ext
32860 LIBS=$ac_check_lib_save_LIBS
32862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32863 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32864 if test $ac_cv_lib_m_lgammaf = yes; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_LGAMMAF 1
32868 _ACEOF
32872 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32873 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32874 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32875 echo $ECHO_N "(cached) $ECHO_C" >&6
32876 else
32877 ac_check_lib_save_LIBS=$LIBS
32878 LIBS="-lm $LIBS"
32879 if test x$gcc_no_link = xyes; then
32880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32882 { (exit 1); exit 1; }; }
32884 cat >conftest.$ac_ext <<_ACEOF
32885 /* confdefs.h. */
32886 _ACEOF
32887 cat confdefs.h >>conftest.$ac_ext
32888 cat >>conftest.$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32891 /* Override any gcc2 internal prototype to avoid an error. */
32892 #ifdef __cplusplus
32893 extern "C"
32894 #endif
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32897 char lgammal ();
32899 main ()
32901 lgammal ();
32903 return 0;
32905 _ACEOF
32906 rm -f conftest.$ac_objext conftest$ac_exeext
32907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32908 (eval $ac_link) 2>conftest.er1
32909 ac_status=$?
32910 grep -v '^ *+' conftest.er1 >conftest.err
32911 rm -f conftest.er1
32912 cat conftest.err >&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } &&
32915 { ac_try='test -z "$ac_c_werror_flag"
32916 || test ! -s conftest.err'
32917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 (eval $ac_try) 2>&5
32919 ac_status=$?
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); }; } &&
32922 { ac_try='test -s conftest$ac_exeext'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32925 ac_status=$?
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; }; then
32928 ac_cv_lib_m_lgammal=yes
32929 else
32930 echo "$as_me: failed program was:" >&5
32931 sed 's/^/| /' conftest.$ac_ext >&5
32933 ac_cv_lib_m_lgammal=no
32935 rm -f conftest.err conftest.$ac_objext \
32936 conftest$ac_exeext conftest.$ac_ext
32937 LIBS=$ac_check_lib_save_LIBS
32939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32940 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32941 if test $ac_cv_lib_m_lgammal = yes; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define HAVE_LGAMMAL 1
32945 _ACEOF
32950 # On AIX, clog is present in libm as __clog
32951 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32952 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32953 if test "${ac_cv_lib_m___clog+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 ac_check_lib_save_LIBS=$LIBS
32957 LIBS="-lm $LIBS"
32958 if test x$gcc_no_link = xyes; then
32959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32961 { (exit 1); exit 1; }; }
32963 cat >conftest.$ac_ext <<_ACEOF
32964 /* confdefs.h. */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32970 /* Override any gcc2 internal prototype to avoid an error. */
32971 #ifdef __cplusplus
32972 extern "C"
32973 #endif
32974 /* We use char because int might match the return type of a gcc2
32975 builtin and then its argument prototype would still apply. */
32976 char __clog ();
32978 main ()
32980 __clog ();
32982 return 0;
32984 _ACEOF
32985 rm -f conftest.$ac_objext conftest$ac_exeext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32987 (eval $ac_link) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_c_werror_flag"
32995 || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try='test -s conftest$ac_exeext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 ac_cv_lib_m___clog=yes
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33012 ac_cv_lib_m___clog=no
33014 rm -f conftest.err conftest.$ac_objext \
33015 conftest$ac_exeext conftest.$ac_ext
33016 LIBS=$ac_check_lib_save_LIBS
33018 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
33019 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
33020 if test $ac_cv_lib_m___clog = yes; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define HAVE_CLOG 1
33024 _ACEOF
33029 # Check for a isfinite macro that works on long doubles.
33031 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
33032 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
33033 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 else
33037 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
33038 LIBS="$LIBS -lm"
33039 if test "$cross_compiling" = yes; then
33041 case "${target}" in
33042 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
33043 *) libgfor_cv_have_broken_isfinite=no ;;
33044 esac
33045 else
33046 cat >conftest.$ac_ext <<_ACEOF
33047 /* confdefs.h. */
33048 _ACEOF
33049 cat confdefs.h >>conftest.$ac_ext
33050 cat >>conftest.$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33053 #include <math.h>
33054 #include <float.h>
33055 int main ()
33057 #ifdef isfinite
33058 #ifdef LDBL_MAX
33059 if (!isfinite(LDBL_MAX)) return 1;
33060 #endif
33061 #ifdef DBL_MAX
33062 if (!isfinite(DBL_MAX)) return 1;
33063 #endif
33064 #endif
33065 return 0;
33067 _ACEOF
33068 rm -f conftest$ac_exeext
33069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33070 (eval $ac_link) 2>&5
33071 ac_status=$?
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }; then
33079 libgfor_cv_have_broken_isfinite=no
33080 else
33081 echo "$as_me: program exited with status $ac_status" >&5
33082 echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.$ac_ext >&5
33085 ( exit $ac_status )
33086 libgfor_cv_have_broken_isfinite=yes
33088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33090 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
33092 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
33093 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
33094 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
33096 cat >>confdefs.h <<\_ACEOF
33097 #define HAVE_BROKEN_ISFINITE 1
33098 _ACEOF
33102 # Check for a isnan macro that works on long doubles.
33104 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
33105 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
33106 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
33107 echo $ECHO_N "(cached) $ECHO_C" >&6
33108 else
33110 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
33111 LIBS="$LIBS -lm"
33112 if test "$cross_compiling" = yes; then
33114 case "${target}" in
33115 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
33116 *) libgfor_cv_have_broken_isnan=no ;;
33117 esac
33118 else
33119 cat >conftest.$ac_ext <<_ACEOF
33120 /* confdefs.h. */
33121 _ACEOF
33122 cat confdefs.h >>conftest.$ac_ext
33123 cat >>conftest.$ac_ext <<_ACEOF
33124 /* end confdefs.h. */
33126 #include <math.h>
33127 #include <float.h>
33128 int main ()
33130 #ifdef isnan
33131 #ifdef LDBL_MAX
33133 long double x;
33134 x = __builtin_nanl ("");
33135 if (!isnan(x)) return 1;
33136 if (isnan(LDBL_MAX)) return 1;
33137 #ifdef NAN
33138 x = (long double) NAN;
33139 if (!isnan(x)) return 1;
33140 #endif
33142 #endif
33143 #ifdef DBL_MAX
33145 double y;
33146 y = __builtin_nan ("");
33147 if (!isnan(y)) return 1;
33148 if (isnan(DBL_MAX)) return 1;
33149 #ifdef NAN
33150 y = (double) NAN;
33151 if (!isnan(y)) return 1;
33152 #endif
33154 #endif
33155 #endif
33156 return 0;
33158 _ACEOF
33159 rm -f conftest$ac_exeext
33160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33161 (eval $ac_link) 2>&5
33162 ac_status=$?
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166 (eval $ac_try) 2>&5
33167 ac_status=$?
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); }; }; then
33170 libgfor_cv_have_broken_isnan=no
33171 else
33172 echo "$as_me: program exited with status $ac_status" >&5
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.$ac_ext >&5
33176 ( exit $ac_status )
33177 libgfor_cv_have_broken_isnan=yes
33179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33181 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
33183 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
33184 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
33185 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
33187 cat >>confdefs.h <<\_ACEOF
33188 #define HAVE_BROKEN_ISNAN 1
33189 _ACEOF
33193 # Check for a fpclassify macro that works on long doubles.
33195 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
33196 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
33197 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
33198 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 else
33201 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
33202 LIBS="$LIBS -lm"
33203 if test "$cross_compiling" = yes; then
33205 case "${target}" in
33206 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33207 *) libgfor_cv_have_broken_fpclassify=no ;;
33208 esac
33209 else
33210 cat >conftest.$ac_ext <<_ACEOF
33211 /* confdefs.h. */
33212 _ACEOF
33213 cat confdefs.h >>conftest.$ac_ext
33214 cat >>conftest.$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33217 #include <math.h>
33218 #include <float.h>
33219 int main ()
33221 #ifdef fpclassify
33222 #ifdef LDBL_MAX
33223 if (fpclassify(LDBL_MAX) == FP_NAN
33224 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33225 #endif
33226 #ifdef DBL_MAX
33227 if (fpclassify(DBL_MAX) == FP_NAN
33228 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33229 #endif
33230 #endif
33231 return 0;
33233 _ACEOF
33234 rm -f conftest$ac_exeext
33235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33236 (eval $ac_link) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33242 ac_status=$?
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; }; then
33245 libgfor_cv_have_broken_fpclassify=no
33246 else
33247 echo "$as_me: program exited with status $ac_status" >&5
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.$ac_ext >&5
33251 ( exit $ac_status )
33252 libgfor_cv_have_broken_fpclassify=yes
33254 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33256 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33258 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33259 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33260 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33262 cat >>confdefs.h <<\_ACEOF
33263 #define HAVE_BROKEN_FPCLASSIFY 1
33264 _ACEOF
33268 # Check whether the system has a working stat()
33270 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33271 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33272 if test "${libgfor_cv_have_working_stat+set}" = set; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33274 else
33276 if test "$cross_compiling" = yes; then
33278 case "${target}" in
33279 *mingw*) libgfor_cv_have_working_stat=no ;;
33280 *) libgfor_cv_have_working_stat=yes;;
33281 esac
33282 else
33283 cat >conftest.$ac_ext <<_ACEOF
33284 /* confdefs.h. */
33285 _ACEOF
33286 cat confdefs.h >>conftest.$ac_ext
33287 cat >>conftest.$ac_ext <<_ACEOF
33288 /* end confdefs.h. */
33290 #include <stdio.h>
33291 #include <sys/types.h>
33292 #include <sys/stat.h>
33293 #include <unistd.h>
33295 int main ()
33297 FILE *f, *g;
33298 struct stat st1, st2;
33300 f = fopen ("foo", "w");
33301 g = fopen ("bar", "w");
33302 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33303 return 1;
33304 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33305 return 1;
33306 fclose(f);
33307 fclose(g);
33308 return 0;
33310 _ACEOF
33311 rm -f conftest$ac_exeext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33313 (eval $ac_link) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33318 (eval $ac_try) 2>&5
33319 ac_status=$?
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); }; }; then
33322 libgfor_cv_have_working_stat=yes
33323 else
33324 echo "$as_me: program exited with status $ac_status" >&5
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33328 ( exit $ac_status )
33329 libgfor_cv_have_working_stat=no
33331 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33334 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33335 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33336 if test x"$libgfor_cv_have_working_stat" = xyes; then
33338 cat >>confdefs.h <<\_ACEOF
33339 #define HAVE_WORKING_STAT 1
33340 _ACEOF
33344 # Check whether __mingw_snprintf() is present
33346 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33347 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33348 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33349 echo $ECHO_N "(cached) $ECHO_C" >&6
33350 else
33352 if test x$gcc_no_link = xyes; then
33353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33355 { (exit 1); exit 1; }; }
33357 cat >conftest.$ac_ext <<_ACEOF
33358 /* confdefs.h. */
33359 _ACEOF
33360 cat confdefs.h >>conftest.$ac_ext
33361 cat >>conftest.$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33364 #include <stdio.h>
33365 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33368 main ()
33371 __mingw_snprintf (NULL, 0, "%d\n", 1);
33374 return 0;
33376 _ACEOF
33377 rm -f conftest.$ac_objext conftest$ac_exeext
33378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33379 (eval $ac_link) 2>conftest.er1
33380 ac_status=$?
33381 grep -v '^ *+' conftest.er1 >conftest.err
33382 rm -f conftest.er1
33383 cat conftest.err >&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } &&
33386 { ac_try='test -z "$ac_c_werror_flag"
33387 || test ! -s conftest.err'
33388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33389 (eval $ac_try) 2>&5
33390 ac_status=$?
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); }; } &&
33393 { ac_try='test -s conftest$ac_exeext'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33396 ac_status=$?
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; }; then
33399 eval "libgfor_cv_have_mingw_snprintf=yes"
33400 else
33401 echo "$as_me: failed program was:" >&5
33402 sed 's/^/| /' conftest.$ac_ext >&5
33404 eval "libgfor_cv_have_mingw_snprintf=no"
33406 rm -f conftest.err conftest.$ac_objext \
33407 conftest$ac_exeext conftest.$ac_ext
33410 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33411 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33412 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33414 cat >>confdefs.h <<\_ACEOF
33415 #define HAVE_MINGW_SNPRINTF 1
33416 _ACEOF
33421 # Check for a broken powf implementation
33423 echo "$as_me:$LINENO: checking whether powf is broken" >&5
33424 echo $ECHO_N "checking whether powf is broken... $ECHO_C" >&6
33425 if test "${libgfor_cv_have_broken_powf+set}" = set; then
33426 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 else
33429 case "${target}" in
33430 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
33431 *) libgfor_cv_have_broken_powf=no;;
33432 esac
33434 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_powf" >&5
33435 echo "${ECHO_T}$libgfor_cv_have_broken_powf" >&6
33436 if test x"$libgfor_cv_have_broken_powf" = xyes; then
33438 cat >>confdefs.h <<\_ACEOF
33439 #define HAVE_BROKEN_POWF 1
33440 _ACEOF
33445 # Check for GNU libc feenableexcept
33446 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33447 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33448 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33449 echo $ECHO_N "(cached) $ECHO_C" >&6
33450 else
33451 ac_check_lib_save_LIBS=$LIBS
33452 LIBS="-lm $LIBS"
33453 if test x$gcc_no_link = xyes; then
33454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33456 { (exit 1); exit 1; }; }
33458 cat >conftest.$ac_ext <<_ACEOF
33459 /* confdefs.h. */
33460 _ACEOF
33461 cat confdefs.h >>conftest.$ac_ext
33462 cat >>conftest.$ac_ext <<_ACEOF
33463 /* end confdefs.h. */
33465 /* Override any gcc2 internal prototype to avoid an error. */
33466 #ifdef __cplusplus
33467 extern "C"
33468 #endif
33469 /* We use char because int might match the return type of a gcc2
33470 builtin and then its argument prototype would still apply. */
33471 char feenableexcept ();
33473 main ()
33475 feenableexcept ();
33477 return 0;
33479 _ACEOF
33480 rm -f conftest.$ac_objext conftest$ac_exeext
33481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33482 (eval $ac_link) 2>conftest.er1
33483 ac_status=$?
33484 grep -v '^ *+' conftest.er1 >conftest.err
33485 rm -f conftest.er1
33486 cat conftest.err >&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); } &&
33489 { ac_try='test -z "$ac_c_werror_flag"
33490 || test ! -s conftest.err'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33493 ac_status=$?
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; } &&
33496 { ac_try='test -s conftest$ac_exeext'
33497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33498 (eval $ac_try) 2>&5
33499 ac_status=$?
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); }; }; then
33502 ac_cv_lib_m_feenableexcept=yes
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33507 ac_cv_lib_m_feenableexcept=no
33509 rm -f conftest.err conftest.$ac_objext \
33510 conftest$ac_exeext conftest.$ac_ext
33511 LIBS=$ac_check_lib_save_LIBS
33513 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33514 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33515 if test $ac_cv_lib_m_feenableexcept = yes; then
33516 have_feenableexcept=yes
33517 cat >>confdefs.h <<\_ACEOF
33518 #define HAVE_FEENABLEEXCEPT 1
33519 _ACEOF
33524 # Check for SysV fpsetmask
33526 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33527 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33528 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33529 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 else
33532 if test x$gcc_no_link = xyes; then
33533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33535 { (exit 1); exit 1; }; }
33537 cat >conftest.$ac_ext <<_ACEOF
33538 /* confdefs.h. */
33539 _ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33544 #if HAVE_FLOATINGPOINT_H
33545 # include <floatingpoint.h>
33546 #endif /* HAVE_FLOATINGPOINT_H */
33547 #if HAVE_IEEEFP_H
33548 # include <ieeefp.h>
33549 #endif /* HAVE_IEEEFP_H */
33551 main ()
33553 fpsetmask(0);
33555 return 0;
33557 _ACEOF
33558 rm -f conftest.$ac_objext conftest$ac_exeext
33559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33560 (eval $ac_link) 2>conftest.er1
33561 ac_status=$?
33562 grep -v '^ *+' conftest.er1 >conftest.err
33563 rm -f conftest.er1
33564 cat conftest.err >&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } &&
33567 { ac_try='test -z "$ac_c_werror_flag"
33568 || test ! -s conftest.err'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; } &&
33574 { ac_try='test -s conftest$ac_exeext'
33575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33576 (eval $ac_try) 2>&5
33577 ac_status=$?
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); }; }; then
33580 eval "libgfor_cv_have_fpsetmask=yes"
33581 else
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33585 eval "libgfor_cv_have_fpsetmask=no"
33587 rm -f conftest.err conftest.$ac_objext \
33588 conftest$ac_exeext conftest.$ac_ext
33591 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33592 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33593 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33595 cat >>confdefs.h <<\_ACEOF
33596 #define HAVE_FPSETMASK 1
33597 _ACEOF
33602 # Check for AIX fp_trap and fp_enable
33603 echo "$as_me:$LINENO: checking for fp_trap" >&5
33604 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33605 if test "${ac_cv_func_fp_trap+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 else
33608 if test x$gcc_no_link = xyes; then
33609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33611 { (exit 1); exit 1; }; }
33613 cat >conftest.$ac_ext <<_ACEOF
33614 /* confdefs.h. */
33615 _ACEOF
33616 cat confdefs.h >>conftest.$ac_ext
33617 cat >>conftest.$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33619 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33621 #define fp_trap innocuous_fp_trap
33623 /* System header to define __stub macros and hopefully few prototypes,
33624 which can conflict with char fp_trap (); below.
33625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33626 <limits.h> exists even on freestanding compilers. */
33628 #ifdef __STDC__
33629 # include <limits.h>
33630 #else
33631 # include <assert.h>
33632 #endif
33634 #undef fp_trap
33636 /* Override any gcc2 internal prototype to avoid an error. */
33637 #ifdef __cplusplus
33638 extern "C"
33640 #endif
33641 /* We use char because int might match the return type of a gcc2
33642 builtin and then its argument prototype would still apply. */
33643 char fp_trap ();
33644 /* The GNU C library defines this for functions which it implements
33645 to always fail with ENOSYS. Some functions are actually named
33646 something starting with __ and the normal name is an alias. */
33647 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33648 choke me
33649 #else
33650 char (*f) () = fp_trap;
33651 #endif
33652 #ifdef __cplusplus
33654 #endif
33657 main ()
33659 return f != fp_trap;
33661 return 0;
33663 _ACEOF
33664 rm -f conftest.$ac_objext conftest$ac_exeext
33665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33666 (eval $ac_link) 2>conftest.er1
33667 ac_status=$?
33668 grep -v '^ *+' conftest.er1 >conftest.err
33669 rm -f conftest.er1
33670 cat conftest.err >&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); } &&
33673 { ac_try='test -z "$ac_c_werror_flag"
33674 || test ! -s conftest.err'
33675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33676 (eval $ac_try) 2>&5
33677 ac_status=$?
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); }; } &&
33680 { ac_try='test -s conftest$ac_exeext'
33681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33682 (eval $ac_try) 2>&5
33683 ac_status=$?
33684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685 (exit $ac_status); }; }; then
33686 ac_cv_func_fp_trap=yes
33687 else
33688 echo "$as_me: failed program was:" >&5
33689 sed 's/^/| /' conftest.$ac_ext >&5
33691 ac_cv_func_fp_trap=no
33693 rm -f conftest.err conftest.$ac_objext \
33694 conftest$ac_exeext conftest.$ac_ext
33696 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33697 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33698 if test $ac_cv_func_fp_trap = yes; then
33699 have_fp_trap=yes
33700 cat >>confdefs.h <<\_ACEOF
33701 #define HAVE_FP_TRAP 1
33702 _ACEOF
33706 echo "$as_me:$LINENO: checking for fp_enable" >&5
33707 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33708 if test "${ac_cv_func_fp_enable+set}" = set; then
33709 echo $ECHO_N "(cached) $ECHO_C" >&6
33710 else
33711 if test x$gcc_no_link = xyes; then
33712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33714 { (exit 1); exit 1; }; }
33716 cat >conftest.$ac_ext <<_ACEOF
33717 /* confdefs.h. */
33718 _ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33722 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33724 #define fp_enable innocuous_fp_enable
33726 /* System header to define __stub macros and hopefully few prototypes,
33727 which can conflict with char fp_enable (); below.
33728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33729 <limits.h> exists even on freestanding compilers. */
33731 #ifdef __STDC__
33732 # include <limits.h>
33733 #else
33734 # include <assert.h>
33735 #endif
33737 #undef fp_enable
33739 /* Override any gcc2 internal prototype to avoid an error. */
33740 #ifdef __cplusplus
33741 extern "C"
33743 #endif
33744 /* We use char because int might match the return type of a gcc2
33745 builtin and then its argument prototype would still apply. */
33746 char fp_enable ();
33747 /* The GNU C library defines this for functions which it implements
33748 to always fail with ENOSYS. Some functions are actually named
33749 something starting with __ and the normal name is an alias. */
33750 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33751 choke me
33752 #else
33753 char (*f) () = fp_enable;
33754 #endif
33755 #ifdef __cplusplus
33757 #endif
33760 main ()
33762 return f != fp_enable;
33764 return 0;
33766 _ACEOF
33767 rm -f conftest.$ac_objext conftest$ac_exeext
33768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33769 (eval $ac_link) 2>conftest.er1
33770 ac_status=$?
33771 grep -v '^ *+' conftest.er1 >conftest.err
33772 rm -f conftest.er1
33773 cat conftest.err >&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } &&
33776 { ac_try='test -z "$ac_c_werror_flag"
33777 || test ! -s conftest.err'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33780 ac_status=$?
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; } &&
33783 { ac_try='test -s conftest$ac_exeext'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33786 ac_status=$?
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; }; then
33789 ac_cv_func_fp_enable=yes
33790 else
33791 echo "$as_me: failed program was:" >&5
33792 sed 's/^/| /' conftest.$ac_ext >&5
33794 ac_cv_func_fp_enable=no
33796 rm -f conftest.err conftest.$ac_objext \
33797 conftest$ac_exeext conftest.$ac_ext
33799 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33800 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33801 if test $ac_cv_func_fp_enable = yes; then
33802 have_fp_enable=yes
33803 cat >>confdefs.h <<\_ACEOF
33804 #define HAVE_FP_ENABLE 1
33805 _ACEOF
33810 # Runs configure.host to set up necessary host-dependent shell variables.
33811 # We then display a message about it, and propagate them through the
33812 # build chain.
33813 . ${srcdir}/configure.host
33814 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33815 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33816 FPU_HOST_HEADER=config/${fpu_host}.h
33819 # Some targets require additional compiler options for IEEE compatibility.
33820 IEEE_FLAGS="${ieee_flags}"
33823 # Check out attribute support.
33825 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33826 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33827 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33831 save_CFLAGS="$CFLAGS"
33832 CFLAGS="$CFLAGS -Werror"
33833 cat >conftest.$ac_ext <<_ACEOF
33834 /* confdefs.h. */
33835 _ACEOF
33836 cat confdefs.h >>conftest.$ac_ext
33837 cat >>conftest.$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839 void __attribute__((visibility("hidden"))) foo(void) { }
33841 main ()
33845 return 0;
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850 (eval $ac_compile) 2>conftest.er1
33851 ac_status=$?
33852 grep -v '^ *+' conftest.er1 >conftest.err
33853 rm -f conftest.er1
33854 cat conftest.err >&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } &&
33857 { ac_try='test -z "$ac_c_werror_flag"
33858 || test ! -s conftest.err'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; } &&
33864 { ac_try='test -s conftest.$ac_objext'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; }; then
33870 libgfor_cv_have_attribute_visibility=yes
33871 else
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33875 libgfor_cv_have_attribute_visibility=no
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878 CFLAGS="$save_CFLAGS"
33880 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33881 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33882 if test $libgfor_cv_have_attribute_visibility = yes; then
33884 cat >>confdefs.h <<\_ACEOF
33885 #define HAVE_ATTRIBUTE_VISIBILITY 1
33886 _ACEOF
33890 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33891 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33892 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33893 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 else
33896 save_CFLAGS="$CFLAGS"
33897 CFLAGS="$CFLAGS -Werror"
33898 cat >conftest.$ac_ext <<_ACEOF
33899 /* confdefs.h. */
33900 _ACEOF
33901 cat confdefs.h >>conftest.$ac_ext
33902 cat >>conftest.$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33904 void __attribute__((dllexport)) foo(void) { }
33906 main ()
33910 return 0;
33912 _ACEOF
33913 rm -f conftest.$ac_objext
33914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33915 (eval $ac_compile) 2>conftest.er1
33916 ac_status=$?
33917 grep -v '^ *+' conftest.er1 >conftest.err
33918 rm -f conftest.er1
33919 cat conftest.err >&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); } &&
33922 { ac_try='test -z "$ac_c_werror_flag"
33923 || test ! -s conftest.err'
33924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33925 (eval $ac_try) 2>&5
33926 ac_status=$?
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); }; } &&
33929 { ac_try='test -s conftest.$ac_objext'
33930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33931 (eval $ac_try) 2>&5
33932 ac_status=$?
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); }; }; then
33935 libgfor_cv_have_attribute_dllexport=yes
33936 else
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33940 libgfor_cv_have_attribute_dllexport=no
33942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33943 CFLAGS="$save_CFLAGS"
33945 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33946 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33947 if test $libgfor_cv_have_attribute_dllexport = yes; then
33949 cat >>confdefs.h <<\_ACEOF
33950 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33951 _ACEOF
33955 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33956 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33957 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 else
33961 if test x$gcc_no_link = xyes; then
33962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33964 { (exit 1); exit 1; }; }
33966 cat >conftest.$ac_ext <<_ACEOF
33967 /* confdefs.h. */
33968 _ACEOF
33969 cat confdefs.h >>conftest.$ac_ext
33970 cat >>conftest.$ac_ext <<_ACEOF
33971 /* end confdefs.h. */
33973 void foo(void) { }
33974 extern void bar(void) __attribute__((alias("foo")));
33976 main ()
33978 bar();
33980 return 0;
33982 _ACEOF
33983 rm -f conftest.$ac_objext conftest$ac_exeext
33984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>conftest.er1
33986 ac_status=$?
33987 grep -v '^ *+' conftest.er1 >conftest.err
33988 rm -f conftest.er1
33989 cat conftest.err >&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); } &&
33992 { ac_try='test -z "$ac_c_werror_flag"
33993 || test ! -s conftest.err'
33994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33995 (eval $ac_try) 2>&5
33996 ac_status=$?
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); }; } &&
33999 { ac_try='test -s conftest$ac_exeext'
34000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34001 (eval $ac_try) 2>&5
34002 ac_status=$?
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); }; }; then
34005 libgfor_cv_have_attribute_alias=yes
34006 else
34007 echo "$as_me: failed program was:" >&5
34008 sed 's/^/| /' conftest.$ac_ext >&5
34010 libgfor_cv_have_attribute_alias=no
34012 rm -f conftest.err conftest.$ac_objext \
34013 conftest$ac_exeext conftest.$ac_ext
34015 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
34016 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
34017 if test $libgfor_cv_have_attribute_alias = yes; then
34019 cat >>confdefs.h <<\_ACEOF
34020 #define HAVE_ATTRIBUTE_ALIAS 1
34021 _ACEOF
34025 # Check out sync builtins support.
34027 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
34028 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
34029 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
34030 echo $ECHO_N "(cached) $ECHO_C" >&6
34031 else
34033 if test x$gcc_no_link = xyes; then
34034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34036 { (exit 1); exit 1; }; }
34038 cat >conftest.$ac_ext <<_ACEOF
34039 /* confdefs.h. */
34040 _ACEOF
34041 cat confdefs.h >>conftest.$ac_ext
34042 cat >>conftest.$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044 int foovar = 0;
34046 main ()
34049 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
34050 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
34052 return 0;
34054 _ACEOF
34055 rm -f conftest.$ac_objext conftest$ac_exeext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34057 (eval $ac_link) 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try='test -z "$ac_c_werror_flag"
34065 || test ! -s conftest.err'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; } &&
34071 { ac_try='test -s conftest$ac_exeext'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; }; then
34077 libgfor_cv_have_sync_fetch_and_add=yes
34078 else
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34082 libgfor_cv_have_sync_fetch_and_add=no
34084 rm -f conftest.err conftest.$ac_objext \
34085 conftest$ac_exeext conftest.$ac_ext
34087 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
34088 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
34089 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
34091 cat >>confdefs.h <<\_ACEOF
34092 #define HAVE_SYNC_FETCH_AND_ADD 1
34093 _ACEOF
34097 # Check out thread support.
34099 echo "$as_me:$LINENO: checking configured target thread model" >&5
34100 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
34101 if test "${libgfor_cv_target_thread_file+set}" = set; then
34102 echo $ECHO_N "(cached) $ECHO_C" >&6
34103 else
34105 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
34107 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
34108 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
34110 if test $libgfor_cv_target_thread_file != single; then
34112 cat >>confdefs.h <<\_ACEOF
34113 #define HAVE_GTHR_DEFAULT 1
34114 _ACEOF
34118 # Check out #pragma weak.
34120 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
34121 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
34122 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34124 else
34126 gfor_save_CFLAGS="$CFLAGS"
34127 CFLAGS="$CFLAGS -Wunknown-pragmas"
34128 cat >conftest.$ac_ext <<_ACEOF
34129 /* confdefs.h. */
34130 _ACEOF
34131 cat confdefs.h >>conftest.$ac_ext
34132 cat >>conftest.$ac_ext <<_ACEOF
34133 /* end confdefs.h. */
34134 void foo (void);
34135 #pragma weak foo
34137 main ()
34139 if (foo) foo ();
34141 return 0;
34143 _ACEOF
34144 rm -f conftest.$ac_objext
34145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34146 (eval $ac_compile) 2>conftest.er1
34147 ac_status=$?
34148 grep -v '^ *+' conftest.er1 >conftest.err
34149 rm -f conftest.er1
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } &&
34153 { ac_try='test -z "$ac_c_werror_flag"
34154 || test ! -s conftest.err'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34157 ac_status=$?
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; } &&
34160 { ac_try='test -s conftest.$ac_objext'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; }; then
34166 libgfor_cv_have_pragma_weak=yes
34167 else
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34171 libgfor_cv_have_pragma_weak=no
34173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34175 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
34176 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
34177 if test $libgfor_cv_have_pragma_weak = yes; then
34179 cat >>confdefs.h <<\_ACEOF
34180 #define SUPPORTS_WEAK 1
34181 _ACEOF
34184 case "$host" in
34185 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
34187 cat >>confdefs.h <<\_ACEOF
34188 #define GTHREAD_USE_WEAK 0
34189 _ACEOF
34192 esac
34194 # Various other checks on target
34196 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
34197 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
34198 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
34199 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 else
34202 if test "$cross_compiling" = yes; then
34204 case "${target}" in
34205 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
34206 *) libgfor_cv_have_unlink_open_file=yes;;
34207 esac
34208 else
34209 cat >conftest.$ac_ext <<_ACEOF
34210 /* confdefs.h. */
34211 _ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34216 #include <errno.h>
34217 #include <fcntl.h>
34218 #include <unistd.h>
34219 #include <sys/stat.h>
34221 int main ()
34223 int fd;
34225 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
34226 if (fd <= 0)
34227 return 0;
34228 if (unlink ("testfile") == -1)
34229 return 1;
34230 write (fd, "This is a test\n", 15);
34231 close (fd);
34233 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34234 return 0;
34235 else
34236 return 1;
34238 _ACEOF
34239 rm -f conftest$ac_exeext
34240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34241 (eval $ac_link) 2>&5
34242 ac_status=$?
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34246 (eval $ac_try) 2>&5
34247 ac_status=$?
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); }; }; then
34250 libgfor_cv_have_unlink_open_file=yes
34251 else
34252 echo "$as_me: program exited with status $ac_status" >&5
34253 echo "$as_me: failed program was:" >&5
34254 sed 's/^/| /' conftest.$ac_ext >&5
34256 ( exit $ac_status )
34257 libgfor_cv_have_unlink_open_file=no
34259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34262 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34263 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34264 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34266 cat >>confdefs.h <<\_ACEOF
34267 #define HAVE_UNLINK_OPEN_FILE 1
34268 _ACEOF
34272 # Check whether line terminator is LF or CRLF
34274 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34275 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34276 if test "${libgfor_cv_have_crlf+set}" = set; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 else
34280 if test "$cross_compiling" = yes; then
34282 case "${target}" in
34283 *mingw*) libgfor_cv_have_crlf=yes ;;
34284 *) libgfor_cv_have_crlf=no;;
34285 esac
34286 else
34287 cat >conftest.$ac_ext <<_ACEOF
34288 /* confdefs.h. */
34289 _ACEOF
34290 cat confdefs.h >>conftest.$ac_ext
34291 cat >>conftest.$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34294 /* This test program should exit with status 0 if system uses a CRLF as
34295 line terminator, and status 1 otherwise.
34296 Since it is used to check for mingw systems, and should return 0 in any
34297 other case, in case of a failure we will not use CRLF. */
34298 #include <sys/stat.h>
34299 #include <stdlib.h>
34300 #include <fcntl.h>
34301 #include <stdio.h>
34303 int main ()
34305 #ifndef O_BINARY
34306 exit(1);
34307 #else
34308 int fd, bytes;
34309 char buff[5];
34311 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34312 if (fd < 0)
34313 exit(1);
34314 if (write (fd, "\n", 1) < 0)
34315 perror ("write");
34317 close (fd);
34319 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34320 exit(1);
34321 bytes = read (fd, buff, 5);
34322 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34323 exit(0);
34324 else
34325 exit(1);
34326 #endif
34328 _ACEOF
34329 rm -f conftest$ac_exeext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34331 (eval $ac_link) 2>&5
34332 ac_status=$?
34333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34336 (eval $ac_try) 2>&5
34337 ac_status=$?
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); }; }; then
34340 libgfor_cv_have_crlf=yes
34341 else
34342 echo "$as_me: program exited with status $ac_status" >&5
34343 echo "$as_me: failed program was:" >&5
34344 sed 's/^/| /' conftest.$ac_ext >&5
34346 ( exit $ac_status )
34347 libgfor_cv_have_crlf=no
34349 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34352 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34353 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34354 if test x"$libgfor_cv_have_crlf" = xyes; then
34356 cat >>confdefs.h <<\_ACEOF
34357 #define HAVE_CRLF 1
34358 _ACEOF
34362 cat >confcache <<\_ACEOF
34363 # This file is a shell script that caches the results of configure
34364 # tests run on this system so they can be shared between configure
34365 # scripts and configure runs, see configure's option --config-cache.
34366 # It is not useful on other systems. If it contains results you don't
34367 # want to keep, you may remove or edit it.
34369 # config.status only pays attention to the cache file if you give it
34370 # the --recheck option to rerun configure.
34372 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34373 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34374 # following values.
34376 _ACEOF
34378 # The following way of writing the cache mishandles newlines in values,
34379 # but we know of no workaround that is simple, portable, and efficient.
34380 # So, don't put newlines in cache variables' values.
34381 # Ultrix sh set writes to stderr and can't be redirected directly,
34382 # and sets the high bit in the cache file unless we assign to the vars.
34384 (set) 2>&1 |
34385 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34386 *ac_space=\ *)
34387 # `set' does not quote correctly, so add quotes (double-quote
34388 # substitution turns \\\\ into \\, and sed turns \\ into \).
34389 sed -n \
34390 "s/'/'\\\\''/g;
34391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34394 # `set' quotes correctly as required by POSIX, so do not add quotes.
34395 sed -n \
34396 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34398 esac;
34400 sed '
34401 t clear
34402 : clear
34403 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34404 t end
34405 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34406 : end' >>confcache
34407 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34408 if test -w $cache_file; then
34409 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34410 cat confcache >$cache_file
34411 else
34412 echo "not updating unwritable cache $cache_file"
34415 rm -f confcache
34417 if test ${multilib} = yes; then
34418 multilib_arg="--enable-multilib"
34419 else
34420 multilib_arg=
34423 # Write our Makefile.
34424 ac_config_files="$ac_config_files Makefile"
34426 cat >confcache <<\_ACEOF
34427 # This file is a shell script that caches the results of configure
34428 # tests run on this system so they can be shared between configure
34429 # scripts and configure runs, see configure's option --config-cache.
34430 # It is not useful on other systems. If it contains results you don't
34431 # want to keep, you may remove or edit it.
34433 # config.status only pays attention to the cache file if you give it
34434 # the --recheck option to rerun configure.
34436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34438 # following values.
34440 _ACEOF
34442 # The following way of writing the cache mishandles newlines in values,
34443 # but we know of no workaround that is simple, portable, and efficient.
34444 # So, don't put newlines in cache variables' values.
34445 # Ultrix sh set writes to stderr and can't be redirected directly,
34446 # and sets the high bit in the cache file unless we assign to the vars.
34448 (set) 2>&1 |
34449 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34450 *ac_space=\ *)
34451 # `set' does not quote correctly, so add quotes (double-quote
34452 # substitution turns \\\\ into \\, and sed turns \\ into \).
34453 sed -n \
34454 "s/'/'\\\\''/g;
34455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34458 # `set' quotes correctly as required by POSIX, so do not add quotes.
34459 sed -n \
34460 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34462 esac;
34464 sed '
34465 t clear
34466 : clear
34467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34468 t end
34469 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34470 : end' >>confcache
34471 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34472 if test -w $cache_file; then
34473 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34474 cat confcache >$cache_file
34475 else
34476 echo "not updating unwritable cache $cache_file"
34479 rm -f confcache
34481 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34482 # Let make expand exec_prefix.
34483 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34487 # trailing colons and then remove the whole line if VPATH becomes empty
34488 # (actually we leave an empty line to preserve line numbers).
34489 if test "x$srcdir" = x.; then
34490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34491 s/:*\$(srcdir):*/:/;
34492 s/:*\${srcdir}:*/:/;
34493 s/:*@srcdir@:*/:/;
34494 s/^\([^=]*=[ ]*\):*/\1/;
34495 s/:*$//;
34496 s/^[^=]*=[ ]*$//;
34500 DEFS=-DHAVE_CONFIG_H
34502 ac_libobjs=
34503 ac_ltlibobjs=
34504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34505 # 1. Remove the extension, and $U if already installed.
34506 ac_i=`echo "$ac_i" |
34507 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34508 # 2. Add them.
34509 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34510 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34511 done
34512 LIBOBJS=$ac_libobjs
34514 LTLIBOBJS=$ac_ltlibobjs
34517 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34518 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34519 Usually this means the macro was only invoked conditionally." >&5
34520 echo "$as_me: error: conditional \"onestep\" was never defined.
34521 Usually this means the macro was only invoked conditionally." >&2;}
34522 { (exit 1); exit 1; }; }
34524 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34525 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34526 Usually this means the macro was only invoked conditionally." >&5
34527 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34528 Usually this means the macro was only invoked conditionally." >&2;}
34529 { (exit 1); exit 1; }; }
34531 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34532 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34533 Usually this means the macro was only invoked conditionally." >&5
34534 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34535 Usually this means the macro was only invoked conditionally." >&2;}
34536 { (exit 1); exit 1; }; }
34538 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34539 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34540 Usually this means the macro was only invoked conditionally." >&5
34541 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34542 Usually this means the macro was only invoked conditionally." >&2;}
34543 { (exit 1); exit 1; }; }
34545 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34546 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34547 Usually this means the macro was only invoked conditionally." >&5
34548 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34549 Usually this means the macro was only invoked conditionally." >&2;}
34550 { (exit 1); exit 1; }; }
34553 : ${CONFIG_STATUS=./config.status}
34554 ac_clean_files_save=$ac_clean_files
34555 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34556 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34557 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34558 cat >$CONFIG_STATUS <<_ACEOF
34559 #! $SHELL
34560 # Generated by $as_me.
34561 # Run this file to recreate the current configuration.
34562 # Compiler output produced by configure, useful for debugging
34563 # configure, is in config.log if it exists.
34565 debug=false
34566 ac_cs_recheck=false
34567 ac_cs_silent=false
34568 SHELL=\${CONFIG_SHELL-$SHELL}
34569 _ACEOF
34571 cat >>$CONFIG_STATUS <<\_ACEOF
34572 ## --------------------- ##
34573 ## M4sh Initialization. ##
34574 ## --------------------- ##
34576 # Be Bourne compatible
34577 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34578 emulate sh
34579 NULLCMD=:
34580 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34581 # is contrary to our usage. Disable this feature.
34582 alias -g '${1+"$@"}'='"$@"'
34583 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34584 set -o posix
34586 DUALCASE=1; export DUALCASE # for MKS sh
34588 # Support unset when possible.
34589 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34590 as_unset=unset
34591 else
34592 as_unset=false
34596 # Work around bugs in pre-3.0 UWIN ksh.
34597 $as_unset ENV MAIL MAILPATH
34598 PS1='$ '
34599 PS2='> '
34600 PS4='+ '
34602 # NLS nuisances.
34603 for as_var in \
34604 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34605 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34606 LC_TELEPHONE LC_TIME
34608 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34609 eval $as_var=C; export $as_var
34610 else
34611 $as_unset $as_var
34613 done
34615 # Required to use basename.
34616 if expr a : '\(a\)' >/dev/null 2>&1; then
34617 as_expr=expr
34618 else
34619 as_expr=false
34622 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34623 as_basename=basename
34624 else
34625 as_basename=false
34629 # Name of the executable.
34630 as_me=`$as_basename "$0" ||
34631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34632 X"$0" : 'X\(//\)$' \| \
34633 X"$0" : 'X\(/\)$' \| \
34634 . : '\(.\)' 2>/dev/null ||
34635 echo X/"$0" |
34636 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34637 /^X\/\(\/\/\)$/{ s//\1/; q; }
34638 /^X\/\(\/\).*/{ s//\1/; q; }
34639 s/.*/./; q'`
34642 # PATH needs CR, and LINENO needs CR and PATH.
34643 # Avoid depending upon Character Ranges.
34644 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34647 as_cr_digits='0123456789'
34648 as_cr_alnum=$as_cr_Letters$as_cr_digits
34650 # The user is always right.
34651 if test "${PATH_SEPARATOR+set}" != set; then
34652 echo "#! /bin/sh" >conf$$.sh
34653 echo "exit 0" >>conf$$.sh
34654 chmod +x conf$$.sh
34655 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34656 PATH_SEPARATOR=';'
34657 else
34658 PATH_SEPARATOR=:
34660 rm -f conf$$.sh
34664 as_lineno_1=$LINENO
34665 as_lineno_2=$LINENO
34666 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34667 test "x$as_lineno_1" != "x$as_lineno_2" &&
34668 test "x$as_lineno_3" = "x$as_lineno_2" || {
34669 # Find who we are. Look in the path if we contain no path at all
34670 # relative or not.
34671 case $0 in
34672 *[\\/]* ) as_myself=$0 ;;
34673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34674 for as_dir in $PATH
34676 IFS=$as_save_IFS
34677 test -z "$as_dir" && as_dir=.
34678 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34679 done
34682 esac
34683 # We did not find ourselves, most probably we were run as `sh COMMAND'
34684 # in which case we are not to be found in the path.
34685 if test "x$as_myself" = x; then
34686 as_myself=$0
34688 if test ! -f "$as_myself"; then
34689 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34690 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34691 { (exit 1); exit 1; }; }
34693 case $CONFIG_SHELL in
34695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34696 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34698 IFS=$as_save_IFS
34699 test -z "$as_dir" && as_dir=.
34700 for as_base in sh bash ksh sh5; do
34701 case $as_dir in
34703 if ("$as_dir/$as_base" -c '
34704 as_lineno_1=$LINENO
34705 as_lineno_2=$LINENO
34706 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34707 test "x$as_lineno_1" != "x$as_lineno_2" &&
34708 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34709 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34710 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34711 CONFIG_SHELL=$as_dir/$as_base
34712 export CONFIG_SHELL
34713 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34714 fi;;
34715 esac
34716 done
34717 done
34719 esac
34721 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34722 # uniformly replaced by the line number. The first 'sed' inserts a
34723 # line-number line before each line; the second 'sed' does the real
34724 # work. The second script uses 'N' to pair each line-number line
34725 # with the numbered line, and appends trailing '-' during
34726 # substitution so that $LINENO is not a special case at line end.
34727 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34728 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34729 sed '=' <$as_myself |
34730 sed '
34732 s,$,-,
34733 : loop
34734 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34735 t loop
34736 s,-$,,
34737 s,^['$as_cr_digits']*\n,,
34738 ' >$as_me.lineno &&
34739 chmod +x $as_me.lineno ||
34740 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34741 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34742 { (exit 1); exit 1; }; }
34744 # Don't try to exec as it changes $[0], causing all sort of problems
34745 # (the dirname of $[0] is not the place where we might find the
34746 # original and so on. Autoconf is especially sensible to this).
34747 . ./$as_me.lineno
34748 # Exit status is that of the last command.
34749 exit
34753 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34754 *c*,-n*) ECHO_N= ECHO_C='
34755 ' ECHO_T=' ' ;;
34756 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34757 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34758 esac
34760 if expr a : '\(a\)' >/dev/null 2>&1; then
34761 as_expr=expr
34762 else
34763 as_expr=false
34766 rm -f conf$$ conf$$.exe conf$$.file
34767 echo >conf$$.file
34768 if ln -s conf$$.file conf$$ 2>/dev/null; then
34769 # We could just check for DJGPP; but this test a) works b) is more generic
34770 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34771 if test -f conf$$.exe; then
34772 # Don't use ln at all; we don't have any links
34773 as_ln_s='cp -p'
34774 else
34775 as_ln_s='ln -s'
34777 elif ln conf$$.file conf$$ 2>/dev/null; then
34778 as_ln_s=ln
34779 else
34780 as_ln_s='cp -p'
34782 rm -f conf$$ conf$$.exe conf$$.file
34784 if mkdir -p . 2>/dev/null; then
34785 as_mkdir_p=:
34786 else
34787 test -d ./-p && rmdir ./-p
34788 as_mkdir_p=false
34791 as_executable_p="test -f"
34793 # Sed expression to map a string onto a valid CPP name.
34794 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34796 # Sed expression to map a string onto a valid variable name.
34797 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34800 # IFS
34801 # We need space, tab and new line, in precisely that order.
34802 as_nl='
34804 IFS=" $as_nl"
34806 # CDPATH.
34807 $as_unset CDPATH
34809 exec 6>&1
34811 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34812 # report actual input values of CONFIG_FILES etc. instead of their
34813 # values after options handling. Logging --version etc. is OK.
34814 exec 5>>config.log
34816 echo
34817 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34818 ## Running $as_me. ##
34819 _ASBOX
34820 } >&5
34821 cat >&5 <<_CSEOF
34823 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34824 generated by GNU Autoconf 2.59. Invocation command line was
34826 CONFIG_FILES = $CONFIG_FILES
34827 CONFIG_HEADERS = $CONFIG_HEADERS
34828 CONFIG_LINKS = $CONFIG_LINKS
34829 CONFIG_COMMANDS = $CONFIG_COMMANDS
34830 $ $0 $@
34832 _CSEOF
34833 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34834 echo >&5
34835 _ACEOF
34837 # Files that config.status was made for.
34838 if test -n "$ac_config_files"; then
34839 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34842 if test -n "$ac_config_headers"; then
34843 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34846 if test -n "$ac_config_links"; then
34847 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34850 if test -n "$ac_config_commands"; then
34851 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34854 cat >>$CONFIG_STATUS <<\_ACEOF
34856 ac_cs_usage="\
34857 \`$as_me' instantiates files from templates according to the
34858 current configuration.
34860 Usage: $0 [OPTIONS] [FILE]...
34862 -h, --help print this help, then exit
34863 -V, --version print version number, then exit
34864 -q, --quiet do not print progress messages
34865 -d, --debug don't remove temporary files
34866 --recheck update $as_me by reconfiguring in the same conditions
34867 --file=FILE[:TEMPLATE]
34868 instantiate the configuration file FILE
34869 --header=FILE[:TEMPLATE]
34870 instantiate the configuration header FILE
34872 Configuration files:
34873 $config_files
34875 Configuration headers:
34876 $config_headers
34878 Configuration commands:
34879 $config_commands
34881 Report bugs to <bug-autoconf@gnu.org>."
34882 _ACEOF
34884 cat >>$CONFIG_STATUS <<_ACEOF
34885 ac_cs_version="\\
34886 GNU Fortran Runtime Library config.status 0.3
34887 configured by $0, generated by GNU Autoconf 2.59,
34888 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34890 Copyright (C) 2003 Free Software Foundation, Inc.
34891 This config.status script is free software; the Free Software Foundation
34892 gives unlimited permission to copy, distribute and modify it."
34893 srcdir=$srcdir
34894 INSTALL="$INSTALL"
34895 _ACEOF
34897 cat >>$CONFIG_STATUS <<\_ACEOF
34898 # If no file are specified by the user, then we need to provide default
34899 # value. By we need to know if files were specified by the user.
34900 ac_need_defaults=:
34901 while test $# != 0
34903 case $1 in
34904 --*=*)
34905 ac_option=`expr "x$1" : 'x\([^=]*\)='`
34906 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34907 ac_shift=:
34910 ac_option=$1
34911 ac_optarg=$2
34912 ac_shift=shift
34914 *) # This is not an option, so the user has probably given explicit
34915 # arguments.
34916 ac_option=$1
34917 ac_need_defaults=false;;
34918 esac
34920 case $ac_option in
34921 # Handling of the options.
34922 _ACEOF
34923 cat >>$CONFIG_STATUS <<\_ACEOF
34924 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34925 ac_cs_recheck=: ;;
34926 --version | --vers* | -V )
34927 echo "$ac_cs_version"; exit 0 ;;
34928 --he | --h)
34929 # Conflict between --help and --header
34930 { { echo "$as_me:$LINENO: error: ambiguous option: $1
34931 Try \`$0 --help' for more information." >&5
34932 echo "$as_me: error: ambiguous option: $1
34933 Try \`$0 --help' for more information." >&2;}
34934 { (exit 1); exit 1; }; };;
34935 --help | --hel | -h )
34936 echo "$ac_cs_usage"; exit 0 ;;
34937 --debug | --d* | -d )
34938 debug=: ;;
34939 --file | --fil | --fi | --f )
34940 $ac_shift
34941 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34942 ac_need_defaults=false;;
34943 --header | --heade | --head | --hea )
34944 $ac_shift
34945 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34946 ac_need_defaults=false;;
34947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34948 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34949 ac_cs_silent=: ;;
34951 # This is an error.
34952 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34953 Try \`$0 --help' for more information." >&5
34954 echo "$as_me: error: unrecognized option: $1
34955 Try \`$0 --help' for more information." >&2;}
34956 { (exit 1); exit 1; }; } ;;
34958 *) ac_config_targets="$ac_config_targets $1" ;;
34960 esac
34961 shift
34962 done
34964 ac_configure_extra_args=
34966 if $ac_cs_silent; then
34967 exec 6>/dev/null
34968 ac_configure_extra_args="$ac_configure_extra_args --silent"
34971 _ACEOF
34972 cat >>$CONFIG_STATUS <<_ACEOF
34973 if \$ac_cs_recheck; then
34974 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34975 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34978 _ACEOF
34980 cat >>$CONFIG_STATUS <<_ACEOF
34982 # INIT-COMMANDS section.
34986 srcdir="$srcdir"
34987 host="$host"
34988 target="$target"
34989 with_multisubdir="$with_multisubdir"
34990 with_multisrctop="$with_multisrctop"
34991 with_target_subdir="$with_target_subdir"
34992 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34993 multi_basedir="$multi_basedir"
34994 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34995 CC="$CC"
34996 CXX="$CXX"
34997 GFORTRAN="$GFORTRAN"
34998 GCJ="$GCJ"
34999 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
35002 # The HP-UX ksh and POSIX shell print the target directory to stdout
35003 # if CDPATH is set.
35004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35006 sed_quote_subst='$sed_quote_subst'
35007 double_quote_subst='$double_quote_subst'
35008 delay_variable_subst='$delay_variable_subst'
35009 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
35010 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
35011 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
35012 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
35013 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
35014 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
35015 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
35016 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
35017 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
35018 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
35019 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
35020 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
35021 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
35022 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
35023 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
35024 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
35025 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
35026 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
35027 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
35028 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
35029 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
35030 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
35031 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
35032 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
35033 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
35034 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
35035 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
35036 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35037 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
35038 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
35039 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
35040 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
35041 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35042 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
35043 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
35044 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35045 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35046 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35047 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
35048 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35049 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
35050 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
35051 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
35052 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
35053 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"`'
35054 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
35055 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
35056 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
35057 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
35058 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
35059 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
35060 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
35061 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
35062 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
35063 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
35064 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
35065 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
35066 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
35067 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
35068 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
35069 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
35070 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
35071 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35072 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35073 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
35074 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
35075 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35076 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35077 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
35078 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35079 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35080 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35081 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35082 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35083 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35084 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
35085 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35086 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35087 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35088 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
35089 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
35090 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
35091 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
35092 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
35093 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35094 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
35095 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
35096 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
35097 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
35098 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
35099 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35100 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35101 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35102 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35103 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
35104 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
35105 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
35106 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
35107 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
35108 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35109 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35110 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
35111 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35112 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
35113 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35114 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35115 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35116 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35117 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
35118 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
35119 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35120 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35121 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
35122 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
35123 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
35124 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
35125 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
35126 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
35127 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
35128 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35129 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35130 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
35131 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
35132 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
35133 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
35134 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35135 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
35136 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
35137 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35138 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
35139 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
35140 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
35141 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
35142 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
35143 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
35144 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35145 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35146 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
35147 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35148 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35149 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35150 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35151 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35152 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35153 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
35154 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35155 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35156 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35157 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
35158 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
35159 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
35160 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
35161 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
35162 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
35163 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
35164 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
35165 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
35166 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
35167 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
35168 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35169 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
35170 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
35171 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35172 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35173 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
35174 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
35175 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
35176 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
35177 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
35178 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
35179 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
35181 LTCC='$LTCC'
35182 LTCFLAGS='$LTCFLAGS'
35183 compiler='$compiler_DEFAULT'
35185 # Quote evaled strings.
35186 for var in SED \
35187 GREP \
35188 EGREP \
35189 FGREP \
35190 LD \
35191 NM \
35192 LN_S \
35193 lt_SP2NL \
35194 lt_NL2SP \
35195 reload_flag \
35196 OBJDUMP \
35197 deplibs_check_method \
35198 file_magic_cmd \
35199 AR \
35200 AR_FLAGS \
35201 STRIP \
35202 RANLIB \
35203 CC \
35204 CFLAGS \
35205 compiler \
35206 lt_cv_sys_global_symbol_pipe \
35207 lt_cv_sys_global_symbol_to_cdecl \
35208 lt_cv_sys_global_symbol_to_c_name_address \
35209 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35210 SHELL \
35211 ECHO \
35212 lt_prog_compiler_no_builtin_flag \
35213 lt_prog_compiler_wl \
35214 lt_prog_compiler_pic \
35215 lt_prog_compiler_static \
35216 lt_cv_prog_compiler_c_o \
35217 need_locks \
35218 DSYMUTIL \
35219 NMEDIT \
35220 LIPO \
35221 OTOOL \
35222 OTOOL64 \
35223 shrext_cmds \
35224 export_dynamic_flag_spec \
35225 whole_archive_flag_spec \
35226 compiler_needs_object \
35227 with_gnu_ld \
35228 allow_undefined_flag \
35229 no_undefined_flag \
35230 hardcode_libdir_flag_spec \
35231 hardcode_libdir_flag_spec_ld \
35232 hardcode_libdir_separator \
35233 fix_srcfile_path \
35234 exclude_expsyms \
35235 include_expsyms \
35236 file_list_spec \
35237 variables_saved_for_relink \
35238 libname_spec \
35239 library_names_spec \
35240 soname_spec \
35241 finish_eval \
35242 old_striplib \
35243 striplib \
35244 compiler_lib_search_dirs \
35245 predep_objects \
35246 postdep_objects \
35247 predeps \
35248 postdeps \
35249 compiler_lib_search_path \
35250 LD_FC \
35251 compiler_FC \
35252 lt_prog_compiler_no_builtin_flag_FC \
35253 lt_prog_compiler_wl_FC \
35254 lt_prog_compiler_pic_FC \
35255 lt_prog_compiler_static_FC \
35256 lt_cv_prog_compiler_c_o_FC \
35257 export_dynamic_flag_spec_FC \
35258 whole_archive_flag_spec_FC \
35259 compiler_needs_object_FC \
35260 with_gnu_ld_FC \
35261 allow_undefined_flag_FC \
35262 no_undefined_flag_FC \
35263 hardcode_libdir_flag_spec_FC \
35264 hardcode_libdir_flag_spec_ld_FC \
35265 hardcode_libdir_separator_FC \
35266 fix_srcfile_path_FC \
35267 exclude_expsyms_FC \
35268 include_expsyms_FC \
35269 file_list_spec_FC \
35270 compiler_lib_search_dirs_FC \
35271 predep_objects_FC \
35272 postdep_objects_FC \
35273 predeps_FC \
35274 postdeps_FC \
35275 compiler_lib_search_path_FC; do
35276 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35277 *[\\\\\\\`\\"\\\$]*)
35278 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35281 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35283 esac
35284 done
35286 # Double-quote double-evaled strings.
35287 for var in reload_cmds \
35288 old_postinstall_cmds \
35289 old_postuninstall_cmds \
35290 old_archive_cmds \
35291 extract_expsyms_cmds \
35292 old_archive_from_new_cmds \
35293 old_archive_from_expsyms_cmds \
35294 archive_cmds \
35295 archive_expsym_cmds \
35296 module_cmds \
35297 module_expsym_cmds \
35298 export_symbols_cmds \
35299 prelink_cmds \
35300 postinstall_cmds \
35301 postuninstall_cmds \
35302 finish_cmds \
35303 sys_lib_search_path_spec \
35304 sys_lib_dlsearch_path_spec \
35305 old_archive_cmds_FC \
35306 old_archive_from_new_cmds_FC \
35307 old_archive_from_expsyms_cmds_FC \
35308 archive_cmds_FC \
35309 archive_expsym_cmds_FC \
35310 module_cmds_FC \
35311 module_expsym_cmds_FC \
35312 export_symbols_cmds_FC \
35313 prelink_cmds_FC; do
35314 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35315 *[\\\\\\\`\\"\\\$]*)
35316 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35319 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35321 esac
35322 done
35324 # Fix-up fallback echo if it was mangled by the above quoting rules.
35325 case \$lt_ECHO in
35326 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35328 esac
35330 ac_aux_dir='$ac_aux_dir'
35331 xsi_shell='$xsi_shell'
35332 lt_shell_append='$lt_shell_append'
35334 # See if we are running on zsh, and set the options which allow our
35335 # commands through without removal of \ escapes INIT.
35336 if test -n "\${ZSH_VERSION+set}" ; then
35337 setopt NO_GLOB_SUBST
35341 PACKAGE='$PACKAGE'
35342 VERSION='$VERSION'
35343 TIMESTAMP='$TIMESTAMP'
35344 RM='$RM'
35345 ofile='$ofile'
35352 GCC="$GCC"
35353 CC="$CC"
35354 acx_cv_header_stdint="$acx_cv_header_stdint"
35355 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35356 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35357 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35358 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35359 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35360 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35361 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35362 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35363 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35364 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35365 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35366 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35367 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35370 _ACEOF
35374 cat >>$CONFIG_STATUS <<\_ACEOF
35375 for ac_config_target in $ac_config_targets
35377 case "$ac_config_target" in
35378 # Handling of arguments.
35379 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35380 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35381 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35382 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35383 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35384 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35385 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35386 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35387 { (exit 1); exit 1; }; };;
35388 esac
35389 done
35391 # If the user did not use the arguments to specify the items to instantiate,
35392 # then the envvar interface is used. Set only those that are not.
35393 # We use the long form for the default assignment because of an extremely
35394 # bizarre bug on SunOS 4.1.3.
35395 if $ac_need_defaults; then
35396 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35397 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35398 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35401 # Have a temporary directory for convenience. Make it in the build tree
35402 # simply because there is no reason to put it here, and in addition,
35403 # creating and moving files from /tmp can sometimes cause problems.
35404 # Create a temporary directory, and hook for its removal unless debugging.
35405 $debug ||
35407 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35408 trap '{ (exit 1); exit 1; }' 1 2 13 15
35411 # Create a (secure) tmp directory for tmp files.
35414 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35415 test -n "$tmp" && test -d "$tmp"
35416 } ||
35418 tmp=./confstat$$-$RANDOM
35419 (umask 077 && mkdir $tmp)
35420 } ||
35422 echo "$me: cannot create a temporary directory in ." >&2
35423 { (exit 1); exit 1; }
35426 _ACEOF
35428 cat >>$CONFIG_STATUS <<_ACEOF
35431 # CONFIG_FILES section.
35434 # No need to generate the scripts if there are no CONFIG_FILES.
35435 # This happens for instance when ./config.status config.h
35436 if test -n "\$CONFIG_FILES"; then
35437 # Protect against being on the right side of a sed subst in config.status.
35438 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35439 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35440 s,@SHELL@,$SHELL,;t t
35441 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35442 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35443 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35444 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35445 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35446 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35447 s,@exec_prefix@,$exec_prefix,;t t
35448 s,@prefix@,$prefix,;t t
35449 s,@program_transform_name@,$program_transform_name,;t t
35450 s,@bindir@,$bindir,;t t
35451 s,@sbindir@,$sbindir,;t t
35452 s,@libexecdir@,$libexecdir,;t t
35453 s,@datadir@,$datadir,;t t
35454 s,@sysconfdir@,$sysconfdir,;t t
35455 s,@sharedstatedir@,$sharedstatedir,;t t
35456 s,@localstatedir@,$localstatedir,;t t
35457 s,@libdir@,$libdir,;t t
35458 s,@includedir@,$includedir,;t t
35459 s,@oldincludedir@,$oldincludedir,;t t
35460 s,@infodir@,$infodir,;t t
35461 s,@mandir@,$mandir,;t t
35462 s,@build_alias@,$build_alias,;t t
35463 s,@host_alias@,$host_alias,;t t
35464 s,@target_alias@,$target_alias,;t t
35465 s,@DEFS@,$DEFS,;t t
35466 s,@ECHO_C@,$ECHO_C,;t t
35467 s,@ECHO_N@,$ECHO_N,;t t
35468 s,@ECHO_T@,$ECHO_T,;t t
35469 s,@LIBS@,$LIBS,;t t
35470 s,@build@,$build,;t t
35471 s,@build_cpu@,$build_cpu,;t t
35472 s,@build_vendor@,$build_vendor,;t t
35473 s,@build_os@,$build_os,;t t
35474 s,@build_libsubdir@,$build_libsubdir,;t t
35475 s,@build_subdir@,$build_subdir,;t t
35476 s,@host_subdir@,$host_subdir,;t t
35477 s,@target_subdir@,$target_subdir,;t t
35478 s,@onestep_TRUE@,$onestep_TRUE,;t t
35479 s,@onestep_FALSE@,$onestep_FALSE,;t t
35480 s,@onestep@,$onestep,;t t
35481 s,@host@,$host,;t t
35482 s,@host_cpu@,$host_cpu,;t t
35483 s,@host_vendor@,$host_vendor,;t t
35484 s,@host_os@,$host_os,;t t
35485 s,@target@,$target,;t t
35486 s,@target_cpu@,$target_cpu,;t t
35487 s,@target_vendor@,$target_vendor,;t t
35488 s,@target_os@,$target_os,;t t
35489 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35490 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35491 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35492 s,@CYGPATH_W@,$CYGPATH_W,;t t
35493 s,@PACKAGE@,$PACKAGE,;t t
35494 s,@VERSION@,$VERSION,;t t
35495 s,@ACLOCAL@,$ACLOCAL,;t t
35496 s,@AUTOCONF@,$AUTOCONF,;t t
35497 s,@AUTOMAKE@,$AUTOMAKE,;t t
35498 s,@AUTOHEADER@,$AUTOHEADER,;t t
35499 s,@MAKEINFO@,$MAKEINFO,;t t
35500 s,@install_sh@,$install_sh,;t t
35501 s,@STRIP@,$STRIP,;t t
35502 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35503 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35504 s,@mkdir_p@,$mkdir_p,;t t
35505 s,@AWK@,$AWK,;t t
35506 s,@SET_MAKE@,$SET_MAKE,;t t
35507 s,@am__leading_dot@,$am__leading_dot,;t t
35508 s,@AMTAR@,$AMTAR,;t t
35509 s,@am__tar@,$am__tar,;t t
35510 s,@am__untar@,$am__untar,;t t
35511 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35512 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35513 s,@MAINT@,$MAINT,;t t
35514 s,@multi_basedir@,$multi_basedir,;t t
35515 s,@toolexecdir@,$toolexecdir,;t t
35516 s,@toolexeclibdir@,$toolexeclibdir,;t t
35517 s,@CC@,$CC,;t t
35518 s,@ac_ct_CC@,$ac_ct_CC,;t t
35519 s,@EXEEXT@,$EXEEXT,;t t
35520 s,@OBJEXT@,$OBJEXT,;t t
35521 s,@DEPDIR@,$DEPDIR,;t t
35522 s,@am__include@,$am__include,;t t
35523 s,@am__quote@,$am__quote,;t t
35524 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35525 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35526 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35527 s,@CCDEPMODE@,$CCDEPMODE,;t t
35528 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35529 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35530 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35531 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35532 s,@CFLAGS@,$CFLAGS,;t t
35533 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35534 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35535 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
35536 s,@AS@,$AS,;t t
35537 s,@ac_ct_AS@,$ac_ct_AS,;t t
35538 s,@AR@,$AR,;t t
35539 s,@ac_ct_AR@,$ac_ct_AR,;t t
35540 s,@RANLIB@,$RANLIB,;t t
35541 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35542 s,@LIBTOOL@,$LIBTOOL,;t t
35543 s,@SED@,$SED,;t t
35544 s,@EGREP@,$EGREP,;t t
35545 s,@FGREP@,$FGREP,;t t
35546 s,@GREP@,$GREP,;t t
35547 s,@LD@,$LD,;t t
35548 s,@DUMPBIN@,$DUMPBIN,;t t
35549 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35550 s,@NM@,$NM,;t t
35551 s,@LN_S@,$LN_S,;t t
35552 s,@OBJDUMP@,$OBJDUMP,;t t
35553 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35554 s,@lt_ECHO@,$lt_ECHO,;t t
35555 s,@DSYMUTIL@,$DSYMUTIL,;t t
35556 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35557 s,@NMEDIT@,$NMEDIT,;t t
35558 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35559 s,@LIPO@,$LIPO,;t t
35560 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35561 s,@OTOOL@,$OTOOL,;t t
35562 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35563 s,@OTOOL64@,$OTOOL64,;t t
35564 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35565 s,@CPP@,$CPP,;t t
35566 s,@CPPFLAGS@,$CPPFLAGS,;t t
35567 s,@enable_shared@,$enable_shared,;t t
35568 s,@enable_static@,$enable_static,;t t
35569 s,@FC@,$FC,;t t
35570 s,@FCFLAGS@,$FCFLAGS,;t t
35571 s,@LDFLAGS@,$LDFLAGS,;t t
35572 s,@ac_ct_FC@,$ac_ct_FC,;t t
35573 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35574 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35575 s,@IEEE_FLAGS@,$IEEE_FLAGS,;t t
35576 s,@LIBOBJS@,$LIBOBJS,;t t
35577 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35578 CEOF
35580 _ACEOF
35582 cat >>$CONFIG_STATUS <<\_ACEOF
35583 # Split the substitutions into bite-sized pieces for seds with
35584 # small command number limits, like on Digital OSF/1 and HP-UX.
35585 ac_max_sed_lines=48
35586 ac_sed_frag=1 # Number of current file.
35587 ac_beg=1 # First line for current file.
35588 ac_end=$ac_max_sed_lines # Line after last line for current file.
35589 ac_more_lines=:
35590 ac_sed_cmds=
35591 while $ac_more_lines; do
35592 if test $ac_beg -gt 1; then
35593 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35594 else
35595 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35597 if test ! -s $tmp/subs.frag; then
35598 ac_more_lines=false
35599 else
35600 # The purpose of the label and of the branching condition is to
35601 # speed up the sed processing (if there are no `@' at all, there
35602 # is no need to browse any of the substitutions).
35603 # These are the two extra sed commands mentioned above.
35604 (echo ':t
35605 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35606 if test -z "$ac_sed_cmds"; then
35607 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35608 else
35609 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35611 ac_sed_frag=`expr $ac_sed_frag + 1`
35612 ac_beg=$ac_end
35613 ac_end=`expr $ac_end + $ac_max_sed_lines`
35615 done
35616 if test -z "$ac_sed_cmds"; then
35617 ac_sed_cmds=cat
35619 fi # test -n "$CONFIG_FILES"
35621 _ACEOF
35622 cat >>$CONFIG_STATUS <<\_ACEOF
35623 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35624 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35625 case $ac_file in
35626 - | *:- | *:-:* ) # input from stdin
35627 cat >$tmp/stdin
35628 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35629 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35630 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35632 * ) ac_file_in=$ac_file.in ;;
35633 esac
35635 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35636 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35638 X"$ac_file" : 'X\(//\)[^/]' \| \
35639 X"$ac_file" : 'X\(//\)$' \| \
35640 X"$ac_file" : 'X\(/\)' \| \
35641 . : '\(.\)' 2>/dev/null ||
35642 echo X"$ac_file" |
35643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35645 /^X\(\/\/\)$/{ s//\1/; q; }
35646 /^X\(\/\).*/{ s//\1/; q; }
35647 s/.*/./; q'`
35648 { if $as_mkdir_p; then
35649 mkdir -p "$ac_dir"
35650 else
35651 as_dir="$ac_dir"
35652 as_dirs=
35653 while test ! -d "$as_dir"; do
35654 as_dirs="$as_dir $as_dirs"
35655 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35657 X"$as_dir" : 'X\(//\)[^/]' \| \
35658 X"$as_dir" : 'X\(//\)$' \| \
35659 X"$as_dir" : 'X\(/\)' \| \
35660 . : '\(.\)' 2>/dev/null ||
35661 echo X"$as_dir" |
35662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35664 /^X\(\/\/\)$/{ s//\1/; q; }
35665 /^X\(\/\).*/{ s//\1/; q; }
35666 s/.*/./; q'`
35667 done
35668 test ! -n "$as_dirs" || mkdir $as_dirs
35669 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35670 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35671 { (exit 1); exit 1; }; }; }
35673 ac_builddir=.
35675 if test "$ac_dir" != .; then
35676 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35677 # A "../" for each directory in $ac_dir_suffix.
35678 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35679 else
35680 ac_dir_suffix= ac_top_builddir=
35683 case $srcdir in
35684 .) # No --srcdir option. We are building in place.
35685 ac_srcdir=.
35686 if test -z "$ac_top_builddir"; then
35687 ac_top_srcdir=.
35688 else
35689 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35690 fi ;;
35691 [\\/]* | ?:[\\/]* ) # Absolute path.
35692 ac_srcdir=$srcdir$ac_dir_suffix;
35693 ac_top_srcdir=$srcdir ;;
35694 *) # Relative path.
35695 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35696 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35697 esac
35699 # Do not use `cd foo && pwd` to compute absolute paths, because
35700 # the directories may not exist.
35701 case `pwd` in
35702 .) ac_abs_builddir="$ac_dir";;
35704 case "$ac_dir" in
35705 .) ac_abs_builddir=`pwd`;;
35706 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35707 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35708 esac;;
35709 esac
35710 case $ac_abs_builddir in
35711 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35713 case ${ac_top_builddir}. in
35714 .) ac_abs_top_builddir=$ac_abs_builddir;;
35715 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35716 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35717 esac;;
35718 esac
35719 case $ac_abs_builddir in
35720 .) ac_abs_srcdir=$ac_srcdir;;
35722 case $ac_srcdir in
35723 .) ac_abs_srcdir=$ac_abs_builddir;;
35724 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35725 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35726 esac;;
35727 esac
35728 case $ac_abs_builddir in
35729 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35731 case $ac_top_srcdir in
35732 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35733 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35734 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35735 esac;;
35736 esac
35739 case $INSTALL in
35740 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35741 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35742 esac
35744 if test x"$ac_file" != x-; then
35745 { echo "$as_me:$LINENO: creating $ac_file" >&5
35746 echo "$as_me: creating $ac_file" >&6;}
35747 rm -f "$ac_file"
35749 # Let's still pretend it is `configure' which instantiates (i.e., don't
35750 # use $as_me), people would be surprised to read:
35751 # /* config.h. Generated by config.status. */
35752 if test x"$ac_file" = x-; then
35753 configure_input=
35754 else
35755 configure_input="$ac_file. "
35757 configure_input=$configure_input"Generated from `echo $ac_file_in |
35758 sed 's,.*/,,'` by configure."
35760 # First look for the input files in the build tree, otherwise in the
35761 # src tree.
35762 ac_file_inputs=`IFS=:
35763 for f in $ac_file_in; do
35764 case $f in
35765 -) echo $tmp/stdin ;;
35766 [\\/$]*)
35767 # Absolute (can't be DOS-style, as IFS=:)
35768 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35769 echo "$as_me: error: cannot find input file: $f" >&2;}
35770 { (exit 1); exit 1; }; }
35771 echo "$f";;
35772 *) # Relative
35773 if test -f "$f"; then
35774 # Build tree
35775 echo "$f"
35776 elif test -f "$srcdir/$f"; then
35777 # Source tree
35778 echo "$srcdir/$f"
35779 else
35780 # /dev/null tree
35781 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35782 echo "$as_me: error: cannot find input file: $f" >&2;}
35783 { (exit 1); exit 1; }; }
35784 fi;;
35785 esac
35786 done` || { (exit 1); exit 1; }
35787 _ACEOF
35788 cat >>$CONFIG_STATUS <<_ACEOF
35789 sed "$ac_vpsub
35790 $extrasub
35791 _ACEOF
35792 cat >>$CONFIG_STATUS <<\_ACEOF
35794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35795 s,@configure_input@,$configure_input,;t t
35796 s,@srcdir@,$ac_srcdir,;t t
35797 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35798 s,@top_srcdir@,$ac_top_srcdir,;t t
35799 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35800 s,@builddir@,$ac_builddir,;t t
35801 s,@abs_builddir@,$ac_abs_builddir,;t t
35802 s,@top_builddir@,$ac_top_builddir,;t t
35803 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35804 s,@INSTALL@,$ac_INSTALL,;t t
35805 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35806 rm -f $tmp/stdin
35807 if test x"$ac_file" != x-; then
35808 mv $tmp/out $ac_file
35809 else
35810 cat $tmp/out
35811 rm -f $tmp/out
35814 done
35815 _ACEOF
35816 cat >>$CONFIG_STATUS <<\_ACEOF
35819 # CONFIG_HEADER section.
35822 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35823 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35825 # ac_d sets the value in "#define NAME VALUE" lines.
35826 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35827 ac_dB='[ ].*$,\1#\2'
35828 ac_dC=' '
35829 ac_dD=',;t'
35830 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35831 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35832 ac_uB='$,\1#\2define\3'
35833 ac_uC=' '
35834 ac_uD=',;t'
35836 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35838 case $ac_file in
35839 - | *:- | *:-:* ) # input from stdin
35840 cat >$tmp/stdin
35841 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35842 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35843 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35845 * ) ac_file_in=$ac_file.in ;;
35846 esac
35848 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35849 echo "$as_me: creating $ac_file" >&6;}
35851 # First look for the input files in the build tree, otherwise in the
35852 # src tree.
35853 ac_file_inputs=`IFS=:
35854 for f in $ac_file_in; do
35855 case $f in
35856 -) echo $tmp/stdin ;;
35857 [\\/$]*)
35858 # Absolute (can't be DOS-style, as IFS=:)
35859 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35860 echo "$as_me: error: cannot find input file: $f" >&2;}
35861 { (exit 1); exit 1; }; }
35862 # Do quote $f, to prevent DOS paths from being IFS'd.
35863 echo "$f";;
35864 *) # Relative
35865 if test -f "$f"; then
35866 # Build tree
35867 echo "$f"
35868 elif test -f "$srcdir/$f"; then
35869 # Source tree
35870 echo "$srcdir/$f"
35871 else
35872 # /dev/null tree
35873 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35874 echo "$as_me: error: cannot find input file: $f" >&2;}
35875 { (exit 1); exit 1; }; }
35876 fi;;
35877 esac
35878 done` || { (exit 1); exit 1; }
35879 # Remove the trailing spaces.
35880 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35882 _ACEOF
35884 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35885 # `conftest.undefs', that substitutes the proper values into
35886 # config.h.in to produce config.h. The first handles `#define'
35887 # templates, and the second `#undef' templates.
35888 # And first: Protect against being on the right side of a sed subst in
35889 # config.status. Protect against being in an unquoted here document
35890 # in config.status.
35891 rm -f conftest.defines conftest.undefs
35892 # Using a here document instead of a string reduces the quoting nightmare.
35893 # Putting comments in sed scripts is not portable.
35895 # `end' is used to avoid that the second main sed command (meant for
35896 # 0-ary CPP macros) applies to n-ary macro definitions.
35897 # See the Autoconf documentation for `clear'.
35898 cat >confdef2sed.sed <<\_ACEOF
35899 s/[\\&,]/\\&/g
35900 s,[\\$`],\\&,g
35901 t clear
35902 : clear
35903 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35904 t end
35905 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35906 : end
35907 _ACEOF
35908 # If some macros were called several times there might be several times
35909 # the same #defines, which is useless. Nevertheless, we may not want to
35910 # sort them, since we want the *last* AC-DEFINE to be honored.
35911 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35912 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35913 rm -f confdef2sed.sed
35915 # This sed command replaces #undef with comments. This is necessary, for
35916 # example, in the case of _POSIX_SOURCE, which is predefined and required
35917 # on some systems where configure will not decide to define it.
35918 cat >>conftest.undefs <<\_ACEOF
35919 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35920 _ACEOF
35922 # Break up conftest.defines because some shells have a limit on the size
35923 # of here documents, and old seds have small limits too (100 cmds).
35924 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35925 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35926 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35927 echo ' :' >>$CONFIG_STATUS
35928 rm -f conftest.tail
35929 while grep . conftest.defines >/dev/null
35931 # Write a limited-size here document to $tmp/defines.sed.
35932 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35933 # Speed up: don't consider the non `#define' lines.
35934 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35935 # Work around the forget-to-reset-the-flag bug.
35936 echo 't clr' >>$CONFIG_STATUS
35937 echo ': clr' >>$CONFIG_STATUS
35938 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35939 echo 'CEOF
35940 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35941 rm -f $tmp/in
35942 mv $tmp/out $tmp/in
35943 ' >>$CONFIG_STATUS
35944 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35945 rm -f conftest.defines
35946 mv conftest.tail conftest.defines
35947 done
35948 rm -f conftest.defines
35949 echo ' fi # grep' >>$CONFIG_STATUS
35950 echo >>$CONFIG_STATUS
35952 # Break up conftest.undefs because some shells have a limit on the size
35953 # of here documents, and old seds have small limits too (100 cmds).
35954 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35955 rm -f conftest.tail
35956 while grep . conftest.undefs >/dev/null
35958 # Write a limited-size here document to $tmp/undefs.sed.
35959 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35960 # Speed up: don't consider the non `#undef'
35961 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35962 # Work around the forget-to-reset-the-flag bug.
35963 echo 't clr' >>$CONFIG_STATUS
35964 echo ': clr' >>$CONFIG_STATUS
35965 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35966 echo 'CEOF
35967 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35968 rm -f $tmp/in
35969 mv $tmp/out $tmp/in
35970 ' >>$CONFIG_STATUS
35971 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35972 rm -f conftest.undefs
35973 mv conftest.tail conftest.undefs
35974 done
35975 rm -f conftest.undefs
35977 cat >>$CONFIG_STATUS <<\_ACEOF
35978 # Let's still pretend it is `configure' which instantiates (i.e., don't
35979 # use $as_me), people would be surprised to read:
35980 # /* config.h. Generated by config.status. */
35981 if test x"$ac_file" = x-; then
35982 echo "/* Generated by configure. */" >$tmp/config.h
35983 else
35984 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35986 cat $tmp/in >>$tmp/config.h
35987 rm -f $tmp/in
35988 if test x"$ac_file" != x-; then
35989 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35990 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35991 echo "$as_me: $ac_file is unchanged" >&6;}
35992 else
35993 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35995 X"$ac_file" : 'X\(//\)[^/]' \| \
35996 X"$ac_file" : 'X\(//\)$' \| \
35997 X"$ac_file" : 'X\(/\)' \| \
35998 . : '\(.\)' 2>/dev/null ||
35999 echo X"$ac_file" |
36000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36001 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36002 /^X\(\/\/\)$/{ s//\1/; q; }
36003 /^X\(\/\).*/{ s//\1/; q; }
36004 s/.*/./; q'`
36005 { if $as_mkdir_p; then
36006 mkdir -p "$ac_dir"
36007 else
36008 as_dir="$ac_dir"
36009 as_dirs=
36010 while test ! -d "$as_dir"; do
36011 as_dirs="$as_dir $as_dirs"
36012 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36014 X"$as_dir" : 'X\(//\)[^/]' \| \
36015 X"$as_dir" : 'X\(//\)$' \| \
36016 X"$as_dir" : 'X\(/\)' \| \
36017 . : '\(.\)' 2>/dev/null ||
36018 echo X"$as_dir" |
36019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36021 /^X\(\/\/\)$/{ s//\1/; q; }
36022 /^X\(\/\).*/{ s//\1/; q; }
36023 s/.*/./; q'`
36024 done
36025 test ! -n "$as_dirs" || mkdir $as_dirs
36026 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36027 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36028 { (exit 1); exit 1; }; }; }
36030 rm -f $ac_file
36031 mv $tmp/config.h $ac_file
36033 else
36034 cat $tmp/config.h
36035 rm -f $tmp/config.h
36037 # Compute $ac_file's index in $config_headers.
36038 _am_stamp_count=1
36039 for _am_header in $config_headers :; do
36040 case $_am_header in
36041 $ac_file | $ac_file:* )
36042 break ;;
36044 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
36045 esac
36046 done
36047 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
36048 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36049 X$ac_file : 'X\(//\)[^/]' \| \
36050 X$ac_file : 'X\(//\)$' \| \
36051 X$ac_file : 'X\(/\)' \| \
36052 . : '\(.\)' 2>/dev/null ||
36053 echo X$ac_file |
36054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36056 /^X\(\/\/\)$/{ s//\1/; q; }
36057 /^X\(\/\).*/{ s//\1/; q; }
36058 s/.*/./; q'`/stamp-h$_am_stamp_count
36059 done
36060 _ACEOF
36061 cat >>$CONFIG_STATUS <<\_ACEOF
36064 # CONFIG_COMMANDS section.
36066 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36067 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36068 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36069 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36070 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36071 X"$ac_dest" : 'X\(//\)[^/]' \| \
36072 X"$ac_dest" : 'X\(//\)$' \| \
36073 X"$ac_dest" : 'X\(/\)' \| \
36074 . : '\(.\)' 2>/dev/null ||
36075 echo X"$ac_dest" |
36076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36078 /^X\(\/\/\)$/{ s//\1/; q; }
36079 /^X\(\/\).*/{ s//\1/; q; }
36080 s/.*/./; q'`
36081 { if $as_mkdir_p; then
36082 mkdir -p "$ac_dir"
36083 else
36084 as_dir="$ac_dir"
36085 as_dirs=
36086 while test ! -d "$as_dir"; do
36087 as_dirs="$as_dir $as_dirs"
36088 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36090 X"$as_dir" : 'X\(//\)[^/]' \| \
36091 X"$as_dir" : 'X\(//\)$' \| \
36092 X"$as_dir" : 'X\(/\)' \| \
36093 . : '\(.\)' 2>/dev/null ||
36094 echo X"$as_dir" |
36095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36097 /^X\(\/\/\)$/{ s//\1/; q; }
36098 /^X\(\/\).*/{ s//\1/; q; }
36099 s/.*/./; q'`
36100 done
36101 test ! -n "$as_dirs" || mkdir $as_dirs
36102 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36103 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36104 { (exit 1); exit 1; }; }; }
36106 ac_builddir=.
36108 if test "$ac_dir" != .; then
36109 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36110 # A "../" for each directory in $ac_dir_suffix.
36111 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36112 else
36113 ac_dir_suffix= ac_top_builddir=
36116 case $srcdir in
36117 .) # No --srcdir option. We are building in place.
36118 ac_srcdir=.
36119 if test -z "$ac_top_builddir"; then
36120 ac_top_srcdir=.
36121 else
36122 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36123 fi ;;
36124 [\\/]* | ?:[\\/]* ) # Absolute path.
36125 ac_srcdir=$srcdir$ac_dir_suffix;
36126 ac_top_srcdir=$srcdir ;;
36127 *) # Relative path.
36128 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36129 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36130 esac
36132 # Do not use `cd foo && pwd` to compute absolute paths, because
36133 # the directories may not exist.
36134 case `pwd` in
36135 .) ac_abs_builddir="$ac_dir";;
36137 case "$ac_dir" in
36138 .) ac_abs_builddir=`pwd`;;
36139 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
36140 *) ac_abs_builddir=`pwd`/"$ac_dir";;
36141 esac;;
36142 esac
36143 case $ac_abs_builddir in
36144 .) ac_abs_top_builddir=${ac_top_builddir}.;;
36146 case ${ac_top_builddir}. in
36147 .) ac_abs_top_builddir=$ac_abs_builddir;;
36148 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
36149 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
36150 esac;;
36151 esac
36152 case $ac_abs_builddir in
36153 .) ac_abs_srcdir=$ac_srcdir;;
36155 case $ac_srcdir in
36156 .) ac_abs_srcdir=$ac_abs_builddir;;
36157 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
36158 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
36159 esac;;
36160 esac
36161 case $ac_abs_builddir in
36162 .) ac_abs_top_srcdir=$ac_top_srcdir;;
36164 case $ac_top_srcdir in
36165 .) ac_abs_top_srcdir=$ac_abs_builddir;;
36166 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
36167 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
36168 esac;;
36169 esac
36172 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36173 echo "$as_me: executing $ac_dest commands" >&6;}
36174 case $ac_dest in
36175 default-1 )
36176 # Only add multilib support code if we just rebuilt the top-level
36177 # Makefile.
36178 case " $CONFIG_FILES " in
36179 *" Makefile "*)
36180 ac_file=Makefile . ${multi_basedir}/config-ml.in
36182 esac ;;
36183 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
36184 # Strip MF so we end up with the name of the file.
36185 mf=`echo "$mf" | sed -e 's/:.*$//'`
36186 # Check whether this is an Automake generated Makefile or not.
36187 # We used to match only the files named `Makefile.in', but
36188 # some people rename them; so instead we look at the file content.
36189 # Grep'ing the first line is not enough: some people post-process
36190 # each Makefile.in and add a new line on top of each file to say so.
36191 # So let's grep whole file.
36192 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
36193 dirpart=`(dirname "$mf") 2>/dev/null ||
36194 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36195 X"$mf" : 'X\(//\)[^/]' \| \
36196 X"$mf" : 'X\(//\)$' \| \
36197 X"$mf" : 'X\(/\)' \| \
36198 . : '\(.\)' 2>/dev/null ||
36199 echo X"$mf" |
36200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36202 /^X\(\/\/\)$/{ s//\1/; q; }
36203 /^X\(\/\).*/{ s//\1/; q; }
36204 s/.*/./; q'`
36205 else
36206 continue
36208 # Extract the definition of DEPDIR, am__include, and am__quote
36209 # from the Makefile without running `make'.
36210 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36211 test -z "$DEPDIR" && continue
36212 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36213 test -z "am__include" && continue
36214 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36215 # When using ansi2knr, U may be empty or an underscore; expand it
36216 U=`sed -n 's/^U = //p' < "$mf"`
36217 # Find all dependency output files, they are included files with
36218 # $(DEPDIR) in their names. We invoke sed twice because it is the
36219 # simplest approach to changing $(DEPDIR) to its actual value in the
36220 # expansion.
36221 for file in `sed -n "
36222 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36223 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36224 # Make sure the directory exists.
36225 test -f "$dirpart/$file" && continue
36226 fdir=`(dirname "$file") 2>/dev/null ||
36227 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36228 X"$file" : 'X\(//\)[^/]' \| \
36229 X"$file" : 'X\(//\)$' \| \
36230 X"$file" : 'X\(/\)' \| \
36231 . : '\(.\)' 2>/dev/null ||
36232 echo X"$file" |
36233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36235 /^X\(\/\/\)$/{ s//\1/; q; }
36236 /^X\(\/\).*/{ s//\1/; q; }
36237 s/.*/./; q'`
36238 { if $as_mkdir_p; then
36239 mkdir -p $dirpart/$fdir
36240 else
36241 as_dir=$dirpart/$fdir
36242 as_dirs=
36243 while test ! -d "$as_dir"; do
36244 as_dirs="$as_dir $as_dirs"
36245 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36247 X"$as_dir" : 'X\(//\)[^/]' \| \
36248 X"$as_dir" : 'X\(//\)$' \| \
36249 X"$as_dir" : 'X\(/\)' \| \
36250 . : '\(.\)' 2>/dev/null ||
36251 echo X"$as_dir" |
36252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36254 /^X\(\/\/\)$/{ s//\1/; q; }
36255 /^X\(\/\).*/{ s//\1/; q; }
36256 s/.*/./; q'`
36257 done
36258 test ! -n "$as_dirs" || mkdir $as_dirs
36259 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36260 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36261 { (exit 1); exit 1; }; }; }
36263 # echo "creating $dirpart/$file"
36264 echo '# dummy' > "$dirpart/$file"
36265 done
36266 done
36268 libtool )
36270 # See if we are running on zsh, and set the options which allow our
36271 # commands through without removal of \ escapes.
36272 if test -n "${ZSH_VERSION+set}" ; then
36273 setopt NO_GLOB_SUBST
36276 cfgfile="${ofile}T"
36277 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36278 $RM "$cfgfile"
36280 cat <<_LT_EOF >> "$cfgfile"
36281 #! $SHELL
36283 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36284 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36285 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36286 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36288 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36289 # 2006, 2007, 2008 Free Software Foundation, Inc.
36290 # Written by Gordon Matzigkeit, 1996
36292 # This file is part of GNU Libtool.
36294 # GNU Libtool is free software; you can redistribute it and/or
36295 # modify it under the terms of the GNU General Public License as
36296 # published by the Free Software Foundation; either version 2 of
36297 # the License, or (at your option) any later version.
36299 # As a special exception to the GNU General Public License,
36300 # if you distribute this file as part of a program or library that
36301 # is built using GNU Libtool, you may include this file under the
36302 # same distribution terms that you use for the rest of that program.
36304 # GNU Libtool is distributed in the hope that it will be useful,
36305 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36306 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36307 # GNU General Public License for more details.
36309 # You should have received a copy of the GNU General Public License
36310 # along with GNU Libtool; see the file COPYING. If not, a copy
36311 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36312 # obtained by writing to the Free Software Foundation, Inc.,
36313 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36316 # The names of the tagged configurations supported by this script.
36317 available_tags="FC "
36319 # ### BEGIN LIBTOOL CONFIG
36321 # Which release of libtool.m4 was used?
36322 macro_version=$macro_version
36323 macro_revision=$macro_revision
36325 # Whether or not to build shared libraries.
36326 build_libtool_libs=$enable_shared
36328 # Whether or not to build static libraries.
36329 build_old_libs=$enable_static
36331 # What type of objects to build.
36332 pic_mode=$pic_mode
36334 # Whether or not to optimize for fast installation.
36335 fast_install=$enable_fast_install
36337 # The host system.
36338 host_alias=$host_alias
36339 host=$host
36340 host_os=$host_os
36342 # The build system.
36343 build_alias=$build_alias
36344 build=$build
36345 build_os=$build_os
36347 # A sed program that does not truncate output.
36348 SED=$lt_SED
36350 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36351 Xsed="\$SED -e 1s/^X//"
36353 # A grep program that handles long lines.
36354 GREP=$lt_GREP
36356 # An ERE matcher.
36357 EGREP=$lt_EGREP
36359 # A literal string matcher.
36360 FGREP=$lt_FGREP
36362 # A BSD- or MS-compatible name lister.
36363 NM=$lt_NM
36365 # Whether we need soft or hard links.
36366 LN_S=$lt_LN_S
36368 # What is the maximum length of a command?
36369 max_cmd_len=$max_cmd_len
36371 # Object file suffix (normally "o").
36372 objext=$ac_objext
36374 # Executable file suffix (normally "").
36375 exeext=$exeext
36377 # whether the shell understands "unset".
36378 lt_unset=$lt_unset
36380 # turn spaces into newlines.
36381 SP2NL=$lt_lt_SP2NL
36383 # turn newlines into spaces.
36384 NL2SP=$lt_lt_NL2SP
36386 # How to create reloadable object files.
36387 reload_flag=$lt_reload_flag
36388 reload_cmds=$lt_reload_cmds
36390 # An object symbol dumper.
36391 OBJDUMP=$lt_OBJDUMP
36393 # Method to check whether dependent libraries are shared objects.
36394 deplibs_check_method=$lt_deplibs_check_method
36396 # Command to use when deplibs_check_method == "file_magic".
36397 file_magic_cmd=$lt_file_magic_cmd
36399 # The archiver.
36400 AR=$lt_AR
36401 AR_FLAGS=$lt_AR_FLAGS
36403 # A symbol stripping program.
36404 STRIP=$lt_STRIP
36406 # Commands used to install an old-style archive.
36407 RANLIB=$lt_RANLIB
36408 old_postinstall_cmds=$lt_old_postinstall_cmds
36409 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36411 # A C compiler.
36412 LTCC=$lt_CC
36414 # LTCC compiler flags.
36415 LTCFLAGS=$lt_CFLAGS
36417 # Take the output of nm and produce a listing of raw symbols and C names.
36418 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36420 # Transform the output of nm in a proper C declaration.
36421 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36423 # Transform the output of nm in a C name address pair.
36424 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36426 # Transform the output of nm in a C name address pair when lib prefix is needed.
36427 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36429 # The name of the directory that contains temporary libtool files.
36430 objdir=$objdir
36432 # Shell to use when invoking shell scripts.
36433 SHELL=$lt_SHELL
36435 # An echo program that does not interpret backslashes.
36436 ECHO=$lt_ECHO
36438 # Used to examine libraries when file_magic_cmd begins with "file".
36439 MAGIC_CMD=$MAGIC_CMD
36441 # Must we lock files when doing compilation?
36442 need_locks=$lt_need_locks
36444 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36445 DSYMUTIL=$lt_DSYMUTIL
36447 # Tool to change global to local symbols on Mac OS X.
36448 NMEDIT=$lt_NMEDIT
36450 # Tool to manipulate fat objects and archives on Mac OS X.
36451 LIPO=$lt_LIPO
36453 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36454 OTOOL=$lt_OTOOL
36456 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36457 OTOOL64=$lt_OTOOL64
36459 # Old archive suffix (normally "a").
36460 libext=$libext
36462 # Shared library suffix (normally ".so").
36463 shrext_cmds=$lt_shrext_cmds
36465 # The commands to extract the exported symbol list from a shared archive.
36466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36468 # Variables whose values should be saved in libtool wrapper scripts and
36469 # restored at link time.
36470 variables_saved_for_relink=$lt_variables_saved_for_relink
36472 # Do we need the "lib" prefix for modules?
36473 need_lib_prefix=$need_lib_prefix
36475 # Do we need a version for libraries?
36476 need_version=$need_version
36478 # Library versioning type.
36479 version_type=$version_type
36481 # Shared library runtime path variable.
36482 runpath_var=$runpath_var
36484 # Shared library path variable.
36485 shlibpath_var=$shlibpath_var
36487 # Is shlibpath searched before the hard-coded library search path?
36488 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36490 # Format of library name prefix.
36491 libname_spec=$lt_libname_spec
36493 # List of archive names. First name is the real one, the rest are links.
36494 # The last name is the one that the linker finds with -lNAME
36495 library_names_spec=$lt_library_names_spec
36497 # The coded name of the library, if different from the real name.
36498 soname_spec=$lt_soname_spec
36500 # Command to use after installation of a shared archive.
36501 postinstall_cmds=$lt_postinstall_cmds
36503 # Command to use after uninstallation of a shared archive.
36504 postuninstall_cmds=$lt_postuninstall_cmds
36506 # Commands used to finish a libtool library installation in a directory.
36507 finish_cmds=$lt_finish_cmds
36509 # As "finish_cmds", except a single script fragment to be evaled but
36510 # not shown.
36511 finish_eval=$lt_finish_eval
36513 # Whether we should hardcode library paths into libraries.
36514 hardcode_into_libs=$hardcode_into_libs
36516 # Compile-time system search path for libraries.
36517 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36519 # Run-time system search path for libraries.
36520 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36522 # Whether dlopen is supported.
36523 dlopen_support=$enable_dlopen
36525 # Whether dlopen of programs is supported.
36526 dlopen_self=$enable_dlopen_self
36528 # Whether dlopen of statically linked programs is supported.
36529 dlopen_self_static=$enable_dlopen_self_static
36531 # Commands to strip libraries.
36532 old_striplib=$lt_old_striplib
36533 striplib=$lt_striplib
36536 # The linker used to build libraries.
36537 LD=$lt_LD
36539 # Commands used to build an old-style archive.
36540 old_archive_cmds=$lt_old_archive_cmds
36542 # A language specific compiler.
36543 CC=$lt_compiler
36545 # Is the compiler the GNU compiler?
36546 with_gcc=$GCC
36548 # Compiler flag to turn off builtin functions.
36549 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36551 # How to pass a linker flag through the compiler.
36552 wl=$lt_lt_prog_compiler_wl
36554 # Additional compiler flags for building library objects.
36555 pic_flag=$lt_lt_prog_compiler_pic
36557 # Compiler flag to prevent dynamic linking.
36558 link_static_flag=$lt_lt_prog_compiler_static
36560 # Does compiler simultaneously support -c and -o options?
36561 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36563 # Whether or not to add -lc for building shared libraries.
36564 build_libtool_need_lc=$archive_cmds_need_lc
36566 # Whether or not to disallow shared libs when runtime libs are static.
36567 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36569 # Compiler flag to allow reflexive dlopens.
36570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36572 # Compiler flag to generate shared objects directly from archives.
36573 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36575 # Whether the compiler copes with passing no objects directly.
36576 compiler_needs_object=$lt_compiler_needs_object
36578 # Create an old-style archive from a shared archive.
36579 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36581 # Create a temporary old-style archive to link instead of a shared archive.
36582 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36584 # Commands used to build a shared archive.
36585 archive_cmds=$lt_archive_cmds
36586 archive_expsym_cmds=$lt_archive_expsym_cmds
36588 # Commands used to build a loadable module if different from building
36589 # a shared archive.
36590 module_cmds=$lt_module_cmds
36591 module_expsym_cmds=$lt_module_expsym_cmds
36593 # Whether we are building with GNU ld or not.
36594 with_gnu_ld=$lt_with_gnu_ld
36596 # Flag that allows shared libraries with undefined symbols to be built.
36597 allow_undefined_flag=$lt_allow_undefined_flag
36599 # Flag that enforces no undefined symbols.
36600 no_undefined_flag=$lt_no_undefined_flag
36602 # Flag to hardcode \$libdir into a binary during linking.
36603 # This must work even if \$libdir does not exist
36604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36606 # If ld is used when linking, flag to hardcode \$libdir into a binary
36607 # during linking. This must work even if \$libdir does not exist.
36608 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36610 # Whether we need a single "-rpath" flag with a separated argument.
36611 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36614 # DIR into the resulting binary.
36615 hardcode_direct=$hardcode_direct
36617 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36618 # DIR into the resulting binary and the resulting library dependency is
36619 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36620 # library is relocated.
36621 hardcode_direct_absolute=$hardcode_direct_absolute
36623 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36624 # into the resulting binary.
36625 hardcode_minus_L=$hardcode_minus_L
36627 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36628 # into the resulting binary.
36629 hardcode_shlibpath_var=$hardcode_shlibpath_var
36631 # Set to "yes" if building a shared library automatically hardcodes DIR
36632 # into the library and all subsequent libraries and executables linked
36633 # against it.
36634 hardcode_automatic=$hardcode_automatic
36636 # Set to yes if linker adds runtime paths of dependent libraries
36637 # to runtime path list.
36638 inherit_rpath=$inherit_rpath
36640 # Whether libtool must link a program against all its dependency libraries.
36641 link_all_deplibs=$link_all_deplibs
36643 # Fix the shell variable \$srcfile for the compiler.
36644 fix_srcfile_path=$lt_fix_srcfile_path
36646 # Set to "yes" if exported symbols are required.
36647 always_export_symbols=$always_export_symbols
36649 # The commands to list exported symbols.
36650 export_symbols_cmds=$lt_export_symbols_cmds
36652 # Symbols that should not be listed in the preloaded symbols.
36653 exclude_expsyms=$lt_exclude_expsyms
36655 # Symbols that must always be exported.
36656 include_expsyms=$lt_include_expsyms
36658 # Commands necessary for linking programs (against libraries) with templates.
36659 prelink_cmds=$lt_prelink_cmds
36661 # Specify filename containing input files.
36662 file_list_spec=$lt_file_list_spec
36664 # How to hardcode a shared library path into an executable.
36665 hardcode_action=$hardcode_action
36667 # The directories searched by this compiler when creating a shared library.
36668 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36670 # Dependencies to place before and after the objects being linked to
36671 # create a shared library.
36672 predep_objects=$lt_predep_objects
36673 postdep_objects=$lt_postdep_objects
36674 predeps=$lt_predeps
36675 postdeps=$lt_postdeps
36677 # The library search path used internally by the compiler when linking
36678 # a shared library.
36679 compiler_lib_search_path=$lt_compiler_lib_search_path
36681 # ### END LIBTOOL CONFIG
36683 _LT_EOF
36685 case $host_os in
36686 aix3*)
36687 cat <<\_LT_EOF >> "$cfgfile"
36688 # AIX sometimes has problems with the GCC collect2 program. For some
36689 # reason, if we set the COLLECT_NAMES environment variable, the problems
36690 # vanish in a puff of smoke.
36691 if test "X${COLLECT_NAMES+set}" != Xset; then
36692 COLLECT_NAMES=
36693 export COLLECT_NAMES
36695 _LT_EOF
36697 esac
36700 ltmain="$ac_aux_dir/ltmain.sh"
36703 # We use sed instead of cat because bash on DJGPP gets confused if
36704 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36705 # text mode, it properly converts lines to CR/LF. This bash problem
36706 # is reportedly fixed, but why not run on old versions too?
36707 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36708 || (rm -f "$cfgfile"; exit 1)
36710 case $xsi_shell in
36711 yes)
36712 cat << \_LT_EOF >> "$cfgfile"
36714 # func_dirname file append nondir_replacement
36715 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36716 # otherwise set result to NONDIR_REPLACEMENT.
36717 func_dirname ()
36719 case ${1} in
36720 */*) func_dirname_result="${1%/*}${2}" ;;
36721 * ) func_dirname_result="${3}" ;;
36722 esac
36725 # func_basename file
36726 func_basename ()
36728 func_basename_result="${1##*/}"
36731 # func_dirname_and_basename file append nondir_replacement
36732 # perform func_basename and func_dirname in a single function
36733 # call:
36734 # dirname: Compute the dirname of FILE. If nonempty,
36735 # add APPEND to the result, otherwise set result
36736 # to NONDIR_REPLACEMENT.
36737 # value returned in "$func_dirname_result"
36738 # basename: Compute filename of FILE.
36739 # value retuned in "$func_basename_result"
36740 # Implementation must be kept synchronized with func_dirname
36741 # and func_basename. For efficiency, we do not delegate to
36742 # those functions but instead duplicate the functionality here.
36743 func_dirname_and_basename ()
36745 case ${1} in
36746 */*) func_dirname_result="${1%/*}${2}" ;;
36747 * ) func_dirname_result="${3}" ;;
36748 esac
36749 func_basename_result="${1##*/}"
36752 # func_stripname prefix suffix name
36753 # strip PREFIX and SUFFIX off of NAME.
36754 # PREFIX and SUFFIX must not contain globbing or regex special
36755 # characters, hashes, percent signs, but SUFFIX may contain a leading
36756 # dot (in which case that matches only a dot).
36757 func_stripname ()
36759 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36760 # positional parameters, so assign one to ordinary parameter first.
36761 func_stripname_result=${3}
36762 func_stripname_result=${func_stripname_result#"${1}"}
36763 func_stripname_result=${func_stripname_result%"${2}"}
36766 # func_opt_split
36767 func_opt_split ()
36769 func_opt_split_opt=${1%%=*}
36770 func_opt_split_arg=${1#*=}
36773 # func_lo2o object
36774 func_lo2o ()
36776 case ${1} in
36777 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36778 *) func_lo2o_result=${1} ;;
36779 esac
36782 # func_xform libobj-or-source
36783 func_xform ()
36785 func_xform_result=${1%.*}.lo
36788 # func_arith arithmetic-term...
36789 func_arith ()
36791 func_arith_result=$(( $* ))
36794 # func_len string
36795 # STRING may not start with a hyphen.
36796 func_len ()
36798 func_len_result=${#1}
36801 _LT_EOF
36803 *) # Bourne compatible functions.
36804 cat << \_LT_EOF >> "$cfgfile"
36806 # func_dirname file append nondir_replacement
36807 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36808 # otherwise set result to NONDIR_REPLACEMENT.
36809 func_dirname ()
36811 # Extract subdirectory from the argument.
36812 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36813 if test "X$func_dirname_result" = "X${1}"; then
36814 func_dirname_result="${3}"
36815 else
36816 func_dirname_result="$func_dirname_result${2}"
36820 # func_basename file
36821 func_basename ()
36823 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36827 # func_stripname prefix suffix name
36828 # strip PREFIX and SUFFIX off of NAME.
36829 # PREFIX and SUFFIX must not contain globbing or regex special
36830 # characters, hashes, percent signs, but SUFFIX may contain a leading
36831 # dot (in which case that matches only a dot).
36832 # func_strip_suffix prefix name
36833 func_stripname ()
36835 case ${2} in
36836 .*) func_stripname_result=`$ECHO "X${3}" \
36837 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36838 *) func_stripname_result=`$ECHO "X${3}" \
36839 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36840 esac
36843 # sed scripts:
36844 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36845 my_sed_long_arg='1s/^-[^=]*=//'
36847 # func_opt_split
36848 func_opt_split ()
36850 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36851 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36854 # func_lo2o object
36855 func_lo2o ()
36857 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36860 # func_xform libobj-or-source
36861 func_xform ()
36863 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36866 # func_arith arithmetic-term...
36867 func_arith ()
36869 func_arith_result=`expr "$@"`
36872 # func_len string
36873 # STRING may not start with a hyphen.
36874 func_len ()
36876 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36879 _LT_EOF
36880 esac
36882 case $lt_shell_append in
36883 yes)
36884 cat << \_LT_EOF >> "$cfgfile"
36886 # func_append var value
36887 # Append VALUE to the end of shell variable VAR.
36888 func_append ()
36890 eval "$1+=\$2"
36892 _LT_EOF
36895 cat << \_LT_EOF >> "$cfgfile"
36897 # func_append var value
36898 # Append VALUE to the end of shell variable VAR.
36899 func_append ()
36901 eval "$1=\$$1\$2"
36904 _LT_EOF
36906 esac
36909 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36910 || (rm -f "$cfgfile"; exit 1)
36912 mv -f "$cfgfile" "$ofile" ||
36913 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36914 chmod +x "$ofile"
36917 cat <<_LT_EOF >> "$ofile"
36919 # ### BEGIN LIBTOOL TAG CONFIG: FC
36921 # The linker used to build libraries.
36922 LD=$lt_LD_FC
36924 # Commands used to build an old-style archive.
36925 old_archive_cmds=$lt_old_archive_cmds_FC
36927 # A language specific compiler.
36928 CC=$lt_compiler_FC
36930 # Is the compiler the GNU compiler?
36931 with_gcc=$GCC_FC
36933 # Compiler flag to turn off builtin functions.
36934 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36936 # How to pass a linker flag through the compiler.
36937 wl=$lt_lt_prog_compiler_wl_FC
36939 # Additional compiler flags for building library objects.
36940 pic_flag=$lt_lt_prog_compiler_pic_FC
36942 # Compiler flag to prevent dynamic linking.
36943 link_static_flag=$lt_lt_prog_compiler_static_FC
36945 # Does compiler simultaneously support -c and -o options?
36946 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36948 # Whether or not to add -lc for building shared libraries.
36949 build_libtool_need_lc=$archive_cmds_need_lc_FC
36951 # Whether or not to disallow shared libs when runtime libs are static.
36952 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36954 # Compiler flag to allow reflexive dlopens.
36955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36957 # Compiler flag to generate shared objects directly from archives.
36958 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36960 # Whether the compiler copes with passing no objects directly.
36961 compiler_needs_object=$lt_compiler_needs_object_FC
36963 # Create an old-style archive from a shared archive.
36964 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36966 # Create a temporary old-style archive to link instead of a shared archive.
36967 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36969 # Commands used to build a shared archive.
36970 archive_cmds=$lt_archive_cmds_FC
36971 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36973 # Commands used to build a loadable module if different from building
36974 # a shared archive.
36975 module_cmds=$lt_module_cmds_FC
36976 module_expsym_cmds=$lt_module_expsym_cmds_FC
36978 # Whether we are building with GNU ld or not.
36979 with_gnu_ld=$lt_with_gnu_ld_FC
36981 # Flag that allows shared libraries with undefined symbols to be built.
36982 allow_undefined_flag=$lt_allow_undefined_flag_FC
36984 # Flag that enforces no undefined symbols.
36985 no_undefined_flag=$lt_no_undefined_flag_FC
36987 # Flag to hardcode \$libdir into a binary during linking.
36988 # This must work even if \$libdir does not exist
36989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36991 # If ld is used when linking, flag to hardcode \$libdir into a binary
36992 # during linking. This must work even if \$libdir does not exist.
36993 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36995 # Whether we need a single "-rpath" flag with a separated argument.
36996 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36998 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36999 # DIR into the resulting binary.
37000 hardcode_direct=$hardcode_direct_FC
37002 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37003 # DIR into the resulting binary and the resulting library dependency is
37004 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37005 # library is relocated.
37006 hardcode_direct_absolute=$hardcode_direct_absolute_FC
37008 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37009 # into the resulting binary.
37010 hardcode_minus_L=$hardcode_minus_L_FC
37012 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37013 # into the resulting binary.
37014 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
37016 # Set to "yes" if building a shared library automatically hardcodes DIR
37017 # into the library and all subsequent libraries and executables linked
37018 # against it.
37019 hardcode_automatic=$hardcode_automatic_FC
37021 # Set to yes if linker adds runtime paths of dependent libraries
37022 # to runtime path list.
37023 inherit_rpath=$inherit_rpath_FC
37025 # Whether libtool must link a program against all its dependency libraries.
37026 link_all_deplibs=$link_all_deplibs_FC
37028 # Fix the shell variable \$srcfile for the compiler.
37029 fix_srcfile_path=$lt_fix_srcfile_path_FC
37031 # Set to "yes" if exported symbols are required.
37032 always_export_symbols=$always_export_symbols_FC
37034 # The commands to list exported symbols.
37035 export_symbols_cmds=$lt_export_symbols_cmds_FC
37037 # Symbols that should not be listed in the preloaded symbols.
37038 exclude_expsyms=$lt_exclude_expsyms_FC
37040 # Symbols that must always be exported.
37041 include_expsyms=$lt_include_expsyms_FC
37043 # Commands necessary for linking programs (against libraries) with templates.
37044 prelink_cmds=$lt_prelink_cmds_FC
37046 # Specify filename containing input files.
37047 file_list_spec=$lt_file_list_spec_FC
37049 # How to hardcode a shared library path into an executable.
37050 hardcode_action=$hardcode_action_FC
37052 # The directories searched by this compiler when creating a shared library.
37053 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
37055 # Dependencies to place before and after the objects being linked to
37056 # create a shared library.
37057 predep_objects=$lt_predep_objects_FC
37058 postdep_objects=$lt_postdep_objects_FC
37059 predeps=$lt_predeps_FC
37060 postdeps=$lt_postdeps_FC
37062 # The library search path used internally by the compiler when linking
37063 # a shared library.
37064 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
37066 # ### END LIBTOOL TAG CONFIG: FC
37067 _LT_EOF
37070 gstdint.h )
37071 if test "$GCC" = yes; then
37072 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
37073 else
37074 echo "/* generated for $CC */" > tmp-stdint.h
37077 sed 's/^ *//' >> tmp-stdint.h <<EOF
37079 #ifndef GCC_GENERATED_STDINT_H
37080 #define GCC_GENERATED_STDINT_H 1
37082 #include <sys/types.h>
37085 if test "$acx_cv_header_stdint" != stdint.h; then
37086 echo "#include <stddef.h>" >> tmp-stdint.h
37088 if test "$acx_cv_header_stdint" != stddef.h; then
37089 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
37092 sed 's/^ *//' >> tmp-stdint.h <<EOF
37093 /* glibc uses these symbols as guards to prevent redefinitions. */
37094 #ifdef __int8_t_defined
37095 #define _INT8_T
37096 #define _INT16_T
37097 #define _INT32_T
37098 #endif
37099 #ifdef __uint32_t_defined
37100 #define _UINT32_T
37101 #endif
37105 # ----------------- done header, emit basic int types -------------
37106 if test "$acx_cv_header_stdint" = stddef.h; then
37107 sed 's/^ *//' >> tmp-stdint.h <<EOF
37109 #ifndef _UINT8_T
37110 #define _UINT8_T
37111 #ifndef __uint8_t_defined
37112 #define __uint8_t_defined
37113 typedef unsigned $acx_cv_type_int8_t uint8_t;
37114 #endif
37115 #endif
37117 #ifndef _UINT16_T
37118 #define _UINT16_T
37119 #ifndef __uint16_t_defined
37120 #define __uint16_t_defined
37121 typedef unsigned $acx_cv_type_int16_t uint16_t;
37122 #endif
37123 #endif
37125 #ifndef _UINT32_T
37126 #define _UINT32_T
37127 #ifndef __uint32_t_defined
37128 #define __uint32_t_defined
37129 typedef unsigned $acx_cv_type_int32_t uint32_t;
37130 #endif
37131 #endif
37133 #ifndef _INT8_T
37134 #define _INT8_T
37135 #ifndef __int8_t_defined
37136 #define __int8_t_defined
37137 typedef $acx_cv_type_int8_t int8_t;
37138 #endif
37139 #endif
37141 #ifndef _INT16_T
37142 #define _INT16_T
37143 #ifndef __int16_t_defined
37144 #define __int16_t_defined
37145 typedef $acx_cv_type_int16_t int16_t;
37146 #endif
37147 #endif
37149 #ifndef _INT32_T
37150 #define _INT32_T
37151 #ifndef __int32_t_defined
37152 #define __int32_t_defined
37153 typedef $acx_cv_type_int32_t int32_t;
37154 #endif
37155 #endif
37157 elif test "$ac_cv_type_u_int32_t" = yes; then
37158 sed 's/^ *//' >> tmp-stdint.h <<EOF
37160 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
37161 #ifndef _INT8_T
37162 #define _INT8_T
37163 #endif
37164 #ifndef _INT16_T
37165 #define _INT16_T
37166 #endif
37167 #ifndef _INT32_T
37168 #define _INT32_T
37169 #endif
37171 #ifndef _UINT8_T
37172 #define _UINT8_T
37173 #ifndef __uint8_t_defined
37174 #define __uint8_t_defined
37175 typedef u_int8_t uint8_t;
37176 #endif
37177 #endif
37179 #ifndef _UINT16_T
37180 #define _UINT16_T
37181 #ifndef __uint16_t_defined
37182 #define __uint16_t_defined
37183 typedef u_int16_t uint16_t;
37184 #endif
37185 #endif
37187 #ifndef _UINT32_T
37188 #define _UINT32_T
37189 #ifndef __uint32_t_defined
37190 #define __uint32_t_defined
37191 typedef u_int32_t uint32_t;
37192 #endif
37193 #endif
37195 else
37196 sed 's/^ *//' >> tmp-stdint.h <<EOF
37198 /* Some systems have guard macros to prevent redefinitions, define them. */
37199 #ifndef _INT8_T
37200 #define _INT8_T
37201 #endif
37202 #ifndef _INT16_T
37203 #define _INT16_T
37204 #endif
37205 #ifndef _INT32_T
37206 #define _INT32_T
37207 #endif
37208 #ifndef _UINT8_T
37209 #define _UINT8_T
37210 #endif
37211 #ifndef _UINT16_T
37212 #define _UINT16_T
37213 #endif
37214 #ifndef _UINT32_T
37215 #define _UINT32_T
37216 #endif
37220 # ------------- done basic int types, emit int64_t types ------------
37221 if test "$ac_cv_type_uint64_t" = yes; then
37222 sed 's/^ *//' >> tmp-stdint.h <<EOF
37224 /* system headers have good uint64_t and int64_t */
37225 #ifndef _INT64_T
37226 #define _INT64_T
37227 #endif
37228 #ifndef _UINT64_T
37229 #define _UINT64_T
37230 #endif
37232 elif test "$ac_cv_type_u_int64_t" = yes; then
37233 sed 's/^ *//' >> tmp-stdint.h <<EOF
37235 /* system headers have an u_int64_t (and int64_t) */
37236 #ifndef _INT64_T
37237 #define _INT64_T
37238 #endif
37239 #ifndef _UINT64_T
37240 #define _UINT64_T
37241 #ifndef __uint64_t_defined
37242 #define __uint64_t_defined
37243 typedef u_int64_t uint64_t;
37244 #endif
37245 #endif
37247 elif test -n "$acx_cv_type_int64_t"; then
37248 sed 's/^ *//' >> tmp-stdint.h <<EOF
37250 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37251 #ifndef _INT64_T
37252 #define _INT64_T
37253 typedef $acx_cv_type_int64_t int64_t;
37254 #endif
37255 #ifndef _UINT64_T
37256 #define _UINT64_T
37257 #ifndef __uint64_t_defined
37258 #define __uint64_t_defined
37259 typedef unsigned $acx_cv_type_int64_t uint64_t;
37260 #endif
37261 #endif
37263 else
37264 sed 's/^ *//' >> tmp-stdint.h <<EOF
37266 /* some common heuristics for int64_t, using compiler-specific tests */
37267 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37268 #ifndef _INT64_T
37269 #define _INT64_T
37270 #ifndef __int64_t_defined
37271 typedef long long int64_t;
37272 #endif
37273 #endif
37274 #ifndef _UINT64_T
37275 #define _UINT64_T
37276 typedef unsigned long long uint64_t;
37277 #endif
37279 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37280 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37281 does not implement __extension__. But that compiler doesn't define
37282 __GNUC_MINOR__. */
37283 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37284 # define __extension__
37285 # endif
37287 # ifndef _INT64_T
37288 # define _INT64_T
37289 __extension__ typedef long long int64_t;
37290 # endif
37291 # ifndef _UINT64_T
37292 # define _UINT64_T
37293 __extension__ typedef unsigned long long uint64_t;
37294 # endif
37296 #elif !defined __STRICT_ANSI__
37297 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37299 # ifndef _INT64_T
37300 # define _INT64_T
37301 typedef __int64 int64_t;
37302 # endif
37303 # ifndef _UINT64_T
37304 # define _UINT64_T
37305 typedef unsigned __int64 uint64_t;
37306 # endif
37307 # endif /* compiler */
37309 #endif /* ANSI version */
37313 # ------------- done int64_t types, emit intptr types ------------
37314 if test "$ac_cv_type_uintptr_t" != yes; then
37315 sed 's/^ *//' >> tmp-stdint.h <<EOF
37317 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37318 #ifndef __uintptr_t_defined
37319 typedef u$acx_cv_type_intptr_t uintptr_t;
37320 #endif
37321 #ifndef __intptr_t_defined
37322 typedef $acx_cv_type_intptr_t intptr_t;
37323 #endif
37327 # ------------- done intptr types, emit int_least types ------------
37328 if test "$ac_cv_type_int_least32_t" != yes; then
37329 sed 's/^ *//' >> tmp-stdint.h <<EOF
37331 /* Define int_least types */
37332 typedef int8_t int_least8_t;
37333 typedef int16_t int_least16_t;
37334 typedef int32_t int_least32_t;
37335 #ifdef _INT64_T
37336 typedef int64_t int_least64_t;
37337 #endif
37339 typedef uint8_t uint_least8_t;
37340 typedef uint16_t uint_least16_t;
37341 typedef uint32_t uint_least32_t;
37342 #ifdef _UINT64_T
37343 typedef uint64_t uint_least64_t;
37344 #endif
37348 # ------------- done intptr types, emit int_fast types ------------
37349 if test "$ac_cv_type_int_fast32_t" != yes; then
37350 sed 's/^ *//' >> tmp-stdint.h <<EOF
37352 /* Define int_fast types. short is often slow */
37353 typedef int8_t int_fast8_t;
37354 typedef int int_fast16_t;
37355 typedef int32_t int_fast32_t;
37356 #ifdef _INT64_T
37357 typedef int64_t int_fast64_t;
37358 #endif
37360 typedef uint8_t uint_fast8_t;
37361 typedef unsigned int uint_fast16_t;
37362 typedef uint32_t uint_fast32_t;
37363 #ifdef _UINT64_T
37364 typedef uint64_t uint_fast64_t;
37365 #endif
37369 if test "$ac_cv_type_uintmax_t" != yes; then
37370 sed 's/^ *//' >> tmp-stdint.h <<EOF
37372 /* Define intmax based on what we found */
37373 #ifdef _INT64_T
37374 typedef int64_t intmax_t;
37375 #else
37376 typedef long intmax_t;
37377 #endif
37378 #ifdef _UINT64_T
37379 typedef uint64_t uintmax_t;
37380 #else
37381 typedef unsigned long uintmax_t;
37382 #endif
37386 sed 's/^ *//' >> tmp-stdint.h <<EOF
37388 #endif /* GCC_GENERATED_STDINT_H */
37391 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37392 rm -f tmp-stdint.h
37393 else
37394 mv -f tmp-stdint.h gstdint.h
37398 esac
37399 done
37400 _ACEOF
37402 cat >>$CONFIG_STATUS <<\_ACEOF
37404 { (exit 0); exit 0; }
37405 _ACEOF
37406 chmod +x $CONFIG_STATUS
37407 ac_clean_files=$ac_clean_files_save
37410 # configure is writing to config.log, and then calls config.status.
37411 # config.status does its own redirection, appending to config.log.
37412 # Unfortunately, on DOS this fails, as config.log is still kept open
37413 # by configure, so config.status won't be able to write to it; its
37414 # output is simply discarded. So we exec the FD to /dev/null,
37415 # effectively closing config.log, so it can be properly (re)opened and
37416 # appended to by config.status. When coming back to configure, we
37417 # need to make the FD available again.
37418 if test "$no_create" != yes; then
37419 ac_cs_success=:
37420 ac_config_status_args=
37421 test "$silent" = yes &&
37422 ac_config_status_args="$ac_config_status_args --quiet"
37423 exec 5>/dev/null
37424 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37425 exec 5>>config.log
37426 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37427 # would make configure fail if this is the last instruction.
37428 $ac_cs_success || { (exit 1); exit 1; }